﻿/* =========================================
   LARGE SCREENS
========================================= */

@media (max-width: 1199.98px) {
    .hero-slide-title {
        font-size: 4rem;
    }

    .hero-slider-circle {
        width: 410px;
        height: 410px;
    }

    .hero-slider-info-card {
        left: 0;
        width: 260px;
    }
}


/* =========================================
   TABLET / SMALL LAPTOP
========================================= */

@media (max-width: 991.98px) {
    .main-navbar {
        min-height: auto;
        padding: 10px 0;
    }

    .navbar-nav .nav-link {
        margin: 0;
        padding: 10px 5px;
    }

    .header-search {
        width: 100%;
        margin-top: 8px;
    }

    .section-space {
        padding: 65px 0;
    }

    /* Hero */

    .hero-slide,
    .hero-slider-row {
        min-height: auto;
    }

    .hero-slider-image-wrapper {
        min-height: 430px;
        margin-top: 20px;
    }

    .hero-slider-image {
        max-height: 390px;
    }

    .hero-slider-circle {
        width: 350px;
        height: 350px;
    }

    .hero-slide-content {
        padding: 20px 0 85px;
        text-align: center;
    }

    .hero-slide-description {
        margin-right: auto;
        margin-left: auto;
    }

    .hero-slide-content .d-flex,
    .hero-slider-benefits {
        justify-content: center;
    }

    .hero-slider-info-card {
        top: 60px;
        left: 30px;
    }

    /* Services */

    .service-highlight-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Featured products heading */

    .section-heading-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .view-all-button {
        min-width: auto;
    }

    /* Product cards */

    .product-image-area {
        height: 290px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767.98px) {
    .section-space {
        padding: 55px 0;
    }

    /* Categories */

    .category-card {
        min-height: 315px;
        padding: 32px 20px;
    }

    .category-icon {
        width: 82px;
        height: 82px;
    }

        .category-icon i {
            font-size: 34px !important;
        }

    .category-card h5 {
        font-size: 1.4rem;
    }

    /* Hero */

    .hero-slider-image-wrapper {
        min-height: 360px;
    }

    .hero-slider-circle {
        width: 285px;
        height: 285px;
    }

    .hero-slider-image {
        max-height: 310px;
    }

    .hero-slide-title {
        font-size: 2.9rem;
        letter-spacing: -1.5px;
    }

    .hero-slider-benefits {
        gap: 12px;
        flex-direction: column;
        align-items: center;
    }

    .hero-slider-info-card {
        top: 20px;
        left: 50%;
        width: min(280px, 90%);
        min-height: 96px;
        padding: 15px;
        gap: 13px;
        border-radius: 17px;
        transform: translateX(-50%);
    }

    /* Services */

    .service-highlight-wrapper {
        grid-template-columns: 1fr;
    }

    /* Featured products */

    .section-heading-row {
        margin-bottom: 30px;
    }

        .section-heading-row h2 {
            font-size: 2.2rem;
        }

    .product-image-area {
        height: 270px;
    }

    .product-card-body {
        min-height: 285px;
        padding: 22px;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 575.98px) {
    .top-bar {
        display: none;
    }

    .site-logo {
        height: 45px;
        max-width: 155px;
    }

    /* Categories */

    .category-card {
        min-height: 285px;
        padding: 26px 16px;
    }

    .category-icon {
        width: 72px;
        height: 72px;
        margin-bottom: 18px;
    }

        .category-icon i {
            font-size: 30px !important;
        }

    .category-card h5 {
        font-size: 1.2rem;
    }

    .category-card p {
        min-height: 45px;
        margin-bottom: 20px;
        font-size: 0.9rem;
    }

    .category-explore {
        font-size: 0.9rem;
    }

    /* Hero */

    .hero-slider-image-wrapper {
        min-height: 280px;
    }

    .hero-slider-circle {
        width: 240px;
        height: 240px;
    }

    .hero-slider-image {
        max-height: 255px;
    }

    .hero-slide-title {
        font-size: 2.35rem;
        letter-spacing: -1px;
    }

    .hero-slider-button {
        width: 100%;
    }

    .hero-slider-section .carousel-control-prev,
    .hero-slider-section .carousel-control-next {
        display: none;
    }

    /* Featured products */

    .view-all-button {
        width: 100%;
    }

    .product-image-area {
        height: 240px;
    }

    .product-badge {
        top: 12px;
        left: 12px;
        min-height: 31px;
        padding: 7px 12px;
        font-size: 0.72rem;
    }

    .product-card-body {
        min-height: auto;
        padding: 20px;
    }

    .current-price {
        font-size: 1.25rem;
    }
}

@media (max-width: 767.98px) {
    .size-card {
        min-height: 195px;
        padding: 26px 15px;
    }

    .size-icon {
        width: 68px;
        height: 68px;
        margin-bottom: 18px;
    }

        .size-icon i {
            font-size: 30px;
        }
}

@media (max-width: 575.98px) {
    .size-card {
        min-height: 180px;
        padding: 22px 12px;
    }

    .size-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }

        .size-icon i {
            font-size: 27px;
        }

    .size-card strong {
        font-size: 1rem;
    }

    .size-card small {
        font-size: 0.82rem;
    }
}

@media (max-width: 991.98px) {
    .promotion-banner {
        padding: 45px 40px;
        text-align: center;
    }

        .promotion-banner .row {
            min-height: auto;
        }

        .promotion-banner h2,
        .promotion-banner p {
            margin-right: auto;
            margin-left: auto;
        }

    .promotion-image {
        max-width: 460px;
        max-height: 290px;
        margin-top: 25px;
    }
}

@media (max-width: 575.98px) {
    .promotion-banner {
        padding: 35px 22px;
        border-radius: 20px;
    }

        .promotion-banner h2 {
            font-size: 2rem;
            letter-spacing: -0.5px;
        }

        .promotion-banner p {
            font-size: 0.95rem;
        }

        .promotion-banner .btn {
            width: 100%;
        }

    .promotion-image {
        max-width: 320px;
        max-height: 220px;
    }
}

@media (max-width: 1199.98px) {
    .why-image {
        height: 570px;
    }

    .why-experience-card {
        right: -12px;
        bottom: 30px;
    }

    .why-title {
        font-size: 3rem;
    }
}

@media (max-width: 991.98px) {
    .why-image {
        height: 520px;
    }

    .why-experience-card {
        right: 24px;
        bottom: 24px;
    }

    .why-title {
        margin-top: 15px;
    }
}

@media (max-width: 767.98px) {
    .why-image {
        height: 440px;
    }

    .why-experience-card {
        right: 18px;
        bottom: 18px;
        min-width: 205px;
        padding: 24px;
    }

        .why-experience-card strong {
            font-size: 1.5rem;
        }

    .why-title {
        font-size: 2.4rem;
    }

    .why-feature-icon {
        width: 58px;
        height: 58px;
        min-width: 58px;
        font-size: 23px;
    }
}

@media (max-width: 575.98px) {
    .why-image {
        height: 350px;
    }

    .why-experience-card {
        right: 12px;
        bottom: 12px;
        min-width: 175px;
        padding: 19px;
        border-radius: 16px;
    }

        .why-experience-card strong {
            font-size: 1.3rem;
        }

        .why-experience-card span {
            font-size: 0.82rem;
        }

    .why-title {
        font-size: 2rem;
        letter-spacing: -0.5px;
    }

    .why-feature {
        gap: 15px;
    }

    .why-feature-icon {
        width: 52px;
        height: 52px;
        min-width: 52px;
        font-size: 21px;
    }
}

@media (max-width:991.98px) {

    .review-card {
        padding: 30px;
    }
}

@media (max-width:575.98px) {

    .review-card {
        padding: 24px;
    }

    .review-quote {
        font-size: 1rem;
    }

    .review-avatar {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
}