/* Small devices (tablets, 576px and up) */
@media (max-width: 767.98px) {
    :root {
        --font-size-title: 2.8rem;
        --font-size-bodyLarger: 2.4rem;
        --font-size-body: 2.2rem;
        --font-size-small: 1.6rem;
    }


    .container {
        padding-right: calc(var(--bs-gutter-x) * 1.5);
        padding-left: calc(var(--bs-gutter-x) * 1.5);
    }

    html {
        font-size: 8px;
    }

    .title {
        line-height: 24px;
    }

    .text {
        line-height: 20px !important;
    }

    .row-flex-responsive {
        flex-direction: row;
    }

    .p-responsive {
        padding: 0;
    }

    .mobile-nav {
        display: flex !important;
    }

    .desktop-nav {
        display: none;
    }

    .cart-badge {
        bottom: -1px;
        right: -3px;
    }

    #lang {
        margin-top: 1.5rem;
    }

    /* Product Sections */
    #products {
        padding: 6rem 0 !important;
    }


    .title.products {
        font-size: 4rem;
        line-height: 4.5rem !important;
        padding: 0 3rem;
        margin-top: 3rem !important;
    }

    .text.products {
        line-height: 3rem !important;
        font-size: 3rem;
        padding: 0 8rem 0 3rem;
        margin-top: 3rem !important;
    }

    .product-img img {
        aspect-ratio: 2/3;
    }

    /* Product Sections */

    .main-banner-bg {
        padding: 6rem 0;

        .larger {
            line-height: 5rem;
            font-size: 5rem;
        }
    }

    .company-page {
        padding: 1rem 0;
    }

    .product-bg {
        padding: 3.5rem;
    }

    .company-banner-bg {
        background: #f8f8f8;
        padding: 4rem 2rem !important;
    }

    #mission-commitment,
    #formula {
        padding: 0 !important;
    }

    #mission-commitment img,
    #formula img {
        margin-bottom: 1rem !important;
    }

    /* #mission-commitment .col-lg-8 {
        padding-right: calc(var(--bs-gutter-x) * 0.5) !important;
        padding-left: calc(var(--bs-gutter-x) * 0.5) !important;
    } */

    #formula .col-lg-4 {
        padding-right: calc(var(--bs-gutter-x) * 0.5) !important;
        padding-left: calc(var(--bs-gutter-x) * 0.5) !important;
    }

    .photo {
        width: 100% !important;
    }

    .photo-hover {
        left: 0 !important;
        width: 100% !important;
    }

    .no-margin {
        margin: 1rem 0 0 0 !important;
    }

    #community {
        padding: 4rem 2rem !important;
    }

    .formula {
        display: none !important;
    }

    .mobile-slider {
        display: block !important;
    }

    #productDetailHeader {
        padding: 0 0 4rem 0 !important;

        .button-main {
            width: 40% !important;
        }
    }

    .ingredients {
        table {
            .text {
                font-size: 0.8rem;
            }
        }

        th {
            border: 2px solid var(--color-primary-light);
            padding: 10px;
            text-align: center;
        }

        td {
            border: 2px solid var(--color-primary-light);
            padding: 0.5rem 1rem;
        }

        img {
            margin-top: 0;
            width: 100%;
        }
    }

    #stay-update {
        /* margin-top: 1.5rem !important; */
    }

    #footer-contact-info {
        margin-top: 2rem !important;
    }

    .overlay-tnc-content,
    .overlay-privpol-content {
        width: 50rem !important;
        max-height: 90% !important;
    }

    #features img {
        aspect-ratio: 5/4;
    }

    .feature-text {
        padding: 3rem 2rem !important;
    }

    .tab {
        width: 100%;
        padding: 0 6rem;
        margin-top: .5rem;
    }

    .text-ingredients {
        height: auto;
        text-align: left;
    }

    .gallerySwiper img {
        /* aspect-ratio: 3/4; */
        aspect-ratio: 2/3;
    }

    section {
        padding: 4rem 0;
    }

    .justified-d {
        text-align: left;
    }

    .mobile-pt-3 {
        padding-top: 3rem;
    }

    .desktop-px-4 {
        padding: 0;
    }

    .step-flex,
    .routines {
        margin-top: 1.5rem !important;
    }

    #routineSteps .title-section {
        margin-top: 4rem !important;
    }

    #cartPage {
        padding: 10rem 0 15rem;
    }

    .empty-cart-padding {
        padding: 27rem 0 !important;
    }

    .qtyBox {
        padding: .2rem 0;
    }

    .checkoutLeft {
        padding: 3rem 2rem !important;
    }

    .breakdown-content {
        grid-template-columns: repeat(2, 75%) !important;
    }

    .checkoutRight {
        padding: 0rem 2rem !important;
    }

    .mbl-mt-0 {
        margin-top: 0 !important;
    }

    .mbl-p-0 {
        padding: 0 !important;
    }

    .mbl-ps-1 {
        padding: 0 0 0 1rem !important;
    }

    .mbl-px-1 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    #country-code-dropdown {
        .code-size {
            font-size: 8px;
        }
    }

    /* Footer */
    #subscribeEmail {
        margin-bottom: 2rem !important;
    }

    /* Footer */
}

/* Medium devices (small laptops, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .product-bg {
        padding: 4.5rem;
    }

    .no-margin {
        margin: 1rem 0 0 0 !important;
    }

    #stay-update {
        margin-top: 1.5rem !important;
    }

    .formula {
        display: none !important;
    }

    .mobile-slider {
        display: block !important;
    }

    .breakdown-content {
        grid-template-columns: repeat(2, 78%) !important;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .product-bg {
        padding: 5.5rem;
    }
}

@media (max-width: 991.98px) {
    .desktop-view {
        display: none !important;
    }

    .mobile-view {
        display: block !important;
    }
}

/* @media (min-width: 992px) {
    .desktop-view {
        display: block !important;
    }

    .mobile-view {
        display: none !important;
    }

    .product-swipper {
        justify-content: center;
    }
} */

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 992px) {
    .desktop-view {
        display: block !important;
    }

    .mobile-view {
        display: none !important;
    }

    .product-swipper {
        justify-content: center;
    }

    .bg-step-seq {
        aspect-ratio: 1/1;
        width: 75%;
        margin: 1.25rem 0;
    }

    .lang {
        margin-left: 6rem;
    }

    .step-how-to-use {
        padding: 0 6rem;
    }

    #about {
        padding: 8rem 20rem !important;
    }

    #aboutQlux {
        margin-top: 6rem !important;
    }
}

@media (min-width: 1500px) {
    .empty-cart-padding {
        padding: 19rem !important;
    }

    #country-code-select-trigger {
        img {
            width: 20% !important;
        }
    }
}