/* =========================================================
   BELOVED SKINCARE
   CART PAGE
========================================================= */


/* =========================================================
   CART PAGE VARIABLES
========================================================= */

.cart-page {

    --cart-cream: #f8eee3;
    --cart-cream-dark: #f3e4d3;
    --cart-card: rgba(255, 249, 241, 0.78);
    --cart-border: rgba(166, 121, 61, 0.38);
    --cart-gold: #b07a24;
    --cart-gold-light: #d6a04c;
    --cart-olive: #4b4d1c;
    --cart-olive-dark: #363812;
    --cart-text: #211d15;
    --cart-muted: #594d3e;

}


/* =========================================================
   MAIN CART BACKGROUND
========================================================= */

.cart-main {

    min-height: 100vh;

    background:
        linear-gradient(180deg,
            #f8eee4 0%,
            #f5e8da 100%);

    color: var(--cart-text);

    overflow: hidden;

}


/* =========================================================
   CART HEADING SECTION
========================================================= */

.cart-heading-section {

    position: relative;

    min-height: 188px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding:
        42px 20px 25px;

    overflow: hidden;

}


/* =========================================================
   DECORATIVE LEAVES
========================================================= */

.cart-decoration {

    position: absolute;

    top: -10px;

    width: 185px;

    height: 175px;

    background-repeat: no-repeat;

    background-position: center;

    background-size: contain;

    pointer-events: none;

    opacity: 0.92;

    z-index: 0;

}


.cart-decoration-left {

    left: -4px;

    background-image:
        url("../assets/images/decorative-leaves-left.png");

}


.cart-decoration-right {

    right: -4px;

    background-image:
        url("../assets/images/decorative-leaves-right.png");

}


/* =========================================================
   CART HEADING CONTENT
========================================================= */

.cart-heading-content {

    position: relative;

    z-index: 2;

    width: 100%;

    text-align: center;

}


/* =========================================================
   TITLE ORNAMENT
========================================================= */

.cart-title-ornament {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    margin-bottom: 3px;

}


.cart-title-ornament span {

    display: block;

    width: 72px;

    height: 1px;

    background: var(--cart-gold);

}


.cart-title-symbol {

    width: 31px;

    height: 31px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--cart-gold);

    font-size: 22px;

}


/* =========================================================
   YOUR CART TITLE
========================================================= */

.cart-heading-content h1 {

    margin: 0;

    color: #30291d;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size:
        clamp(42px, 5vw, 58px);

    font-weight: 600;

    letter-spacing: 2px;

    line-height: 0.95;

}


.cart-item-count {

    margin-top: 5px;

    color: #17140f;

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 16px;

    font-weight: 500;

}


/* =========================================================
   HEADING BOTTOM ORNAMENT
========================================================= */

.cart-heading-line {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 5px;

    margin-top: 10px;

}


.cart-heading-line span {

    width: 70px;

    height: 1px;

    background: var(--cart-gold);

}


.cart-heading-line i {

    color: var(--cart-gold);

    font-size: 13px;

}


/* =========================================================
   CART ITEMS SECTION
========================================================= */

.cart-items-section {

    width:
        min(calc(100% - 70px),
            990px);

    margin: 0 auto;

}


/* =========================================================
   CART ITEMS CONTAINER
========================================================= */

.cart-items {

    border:
        1.5px solid var(--cart-border);

    border-radius: 16px;

    overflow: hidden;

    background:
        rgba(255,
            249,
            241,
            0.48);

    box-shadow:
        0 4px 14px rgba(76,
            49,
            24,
            0.045);

}


/* =========================================================
   CART ITEM
========================================================= */

.cart-item {

    position: relative;

    min-height: 158px;

    display: grid;

    grid-template-columns:
        135px minmax(260px, 1fr) 155px 145px 50px;

    align-items: center;

    column-gap: 24px;

    padding:
        12px 24px 12px 20px;

    background:
        rgba(255,
            250,
            244,
            0.58);

}


.cart-item+.cart-item {

    border-top:
        1px solid rgba(166,
            121,
            61,
            0.32);

}


/* =========================================================
   PRODUCT IMAGE
========================================================= */

.cart-item-image {

    position: relative;

    width: 135px;

    height: 135px;

    border-radius: 12px;

    overflow: hidden;

    background: #eee0cf;

    border:
        1px solid rgba(166,
            121,
            61,
            0.15);

}


.cart-item-image img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

}


/* =========================================================
   BESTSELLER RIBBON
========================================================= */

.cart-bestseller {

    position: absolute;

    top: -1px;

    left: 8px;

    z-index: 3;

    width: 53px;

    min-height: 69px;

    padding:
        8px 4px 7px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: flex-start;

    background:
        linear-gradient(180deg,
            #e5bd65,
            #c58e30);

    color: #34240d;

    text-align: center;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 10px;

    font-weight: 700;

    line-height: 0.95;

    clip-path:
        polygon(0 0,
            100% 0,
            100% 100%,
            50% 88%,
            0 100%);

}


.cart-bestseller i {

    margin-top: 5px;

    font-size: 10px;

}


/* =========================================================
   PRODUCT DETAILS
========================================================= */

.cart-item-details {

    min-width: 0;

    align-self: center;

}


.cart-item-name {

    margin: 0;

    color: #211d15;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 26px;

    font-weight: 600;

    line-height: 1.05;

}


.cart-item-category {

    display: flex;

    align-items: center;

    gap: 7px;

    margin-top: 8px;

    color: #3d3d22;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 17px;

    font-weight: 500;

}


.cart-item-category i {

    color: #596029;

    font-size: 13px;

}


.cart-item-price {

    margin-top: 24px;

    color: #15140e;

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 23px;

    font-weight: 600;

}


/* =========================================================
   QUANTITY CONTROL
========================================================= */

.cart-quantity {

    display: flex;

    align-items: center;

    justify-content: center;

}


.quantity-control {

    width: 145px;

    height: 48px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border:
        1px solid rgba(176,
            122,
            36,
            0.48);

    border-radius: 28px;

    background:
        rgba(255,
            250,
            244,
            0.42);

}


.quantity-button {

    width: 45px;

    height: 46px;

    border: 0;

    outline: 0;

    background: transparent;

    color: #594820;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 25px;

    font-weight: 400;

    transition:
        background 0.2s ease,
        color 0.2s ease;

}


.quantity-button:hover {

    color: #9b6b20;

}


.quantity-value {

    min-width: 28px;

    text-align: center;

    color: #211d15;

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 21px;

    font-weight: 500;

}


/* =========================================================
   ITEM TOTAL
========================================================= */

.cart-item-total {

    text-align: right;

    color: #15140e;

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 22px;

    font-weight: 600;

    white-space: nowrap;

}


/* =========================================================
   DELETE BUTTON
========================================================= */

.cart-delete-button {

    width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 0;

    outline: 0;

    background: transparent;

    color: #65552b;

    cursor: pointer;

    font-size: 20px;

    transition:
        color 0.2s ease,
        transform 0.2s ease;

}


.cart-delete-button:hover {

    color: #9a6a1e;

    transform: scale(1.08);

}


/* =========================================================
   SUMMARY
========================================================= */

.cart-summary-section {

    width:
        min(calc(100% - 70px),
            990px);

    margin:
        13px auto 0;

    padding:
        21px 38px 20px;

    border:
        1.5px solid var(--cart-border);

    border-radius: 16px;

    background:
        rgba(255,
            249,
            241,
            0.58);

    box-shadow:
        0 4px 14px rgba(76,
            49,
            24,
            0.045);

}


/* =========================================================
   SUMMARY ROW
========================================================= */

.summary-row {

    display: grid;

    grid-template-columns: 1fr auto;

    align-items: center;

    min-height: 34px;

    font-family:
        "Montserrat",
        sans-serif;

}


.summary-row span {

    color: #191713;

    font-size: 17px;

    font-weight: 500;

}


.summary-row strong {

    color: #171510;

    font-size: 17px;

    font-weight: 600;

}

/* =========================================================
   SHIPPING COUNTRY SELECTOR
   Separate from the header product-country selector
========================================================= */

.shipping-summary-row {
    position: relative;
}


/* SHIPPING LABEL */

.shipping-label {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}


/* SHIPPING TEXT */

.shipping-text {
    white-space: nowrap;
}


/* SHIPPING COUNTRY SELECTOR */

.shipping-country-selector {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
}


/* SHIPPING COUNTRY BUTTON */

.shipping-country-button {
    min-height: 30px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 6px;

    padding:
        4px 9px;

    border:
        1px solid rgba(176, 122, 36, 0.42);

    border-radius:
        18px;

    outline: none;

    background:
        rgba(255, 250, 244, 0.72);

    color:
        #30291d;

    cursor: pointer;

    font-family:
        "Montserrat",
        sans-serif;

    font-size:
        12px;

    font-weight:
        600;

    line-height:
        1;

    white-space:
        nowrap;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.shipping-country-button:hover {
    background:
        rgba(255, 250, 244, 0.95);

    border-color:
        rgba(176, 122, 36, 0.68);

    box-shadow:
        0 2px 8px rgba(76, 49, 24, 0.08);
}


.shipping-country-button:focus-visible {
    box-shadow:
        0 0 0 3px rgba(176, 122, 36, 0.15);
}


/* FLAG */

.shipping-country-flag {
    font-size:
        15px;

    line-height:
        1;
}


/* COUNTRY NAME */

.shipping-country-name {
    max-width:
        105px;

    overflow:
        hidden;

    text-overflow:
        ellipsis;
}


/* ARROW */

.shipping-country-button i {
    color:
        #765622;

    font-size:
        9px;

    transition:
        transform 0.2s ease;
}


.shipping-country-button[aria-expanded="true"] i {
    transform:
        rotate(180deg);
}


/* SHIPPING COUNTRY DROPDOWN */

.shipping-country-dropdown {
    position:
        absolute;

    left:
        0;

    top:
        calc(100% + 7px);

    z-index:
        100;

    width:
        190px;

    max-height:
        300px;

    overflow-y:
        auto;

    padding:
        6px;

    border:
        1px solid rgba(176, 122, 36, 0.35);

    border-radius:
        12px;

    background:
        rgba(255, 250, 244, 0.98);

    box-shadow:
        0 8px 22px rgba(76, 49, 24, 0.14);

    backdrop-filter:
        blur(10px);

    -webkit-backdrop-filter:
        blur(10px);
}


/* DROPDOWN OPTIONS */

.shipping-country-option {
    width:
        100%;

    min-height:
        34px;

    display:
        flex;

    align-items:
        center;

    gap:
        8px;

    padding:
        7px 9px;

    border:
        0;

    border-radius:
        8px;

    background:
        transparent;

    color:
        #30291d;

    cursor:
        pointer;

    text-align:
        left;

    font-family:
        "Montserrat",
        sans-serif;

    font-size:
        12px;

    font-weight:
        500;
}


.shipping-country-option:hover {
    background:
        rgba(176, 122, 36, 0.10);
}


.shipping-country-option.active {
    background:
        rgba(176, 122, 36, 0.14);

    font-weight:
        700;
}


.shipping-country-option-flag {
    width:
        20px;

    flex-shrink:
        0;

    font-size:
        16px;

    text-align:
        center;
}


.shipping-country-option-name {
    flex:
        1;
}


/* MOBILE */

@media (max-width: 700px) {

    .shipping-label {
        gap:
            7px;
    }

    .shipping-country-button {
        min-height:
            29px;

        padding:
            4px 7px;

        gap:
            5px;

        font-size:
            11px;
    }

    .shipping-country-name {
        max-width:
            82px;
    }

    .shipping-country-dropdown {
        width:
            175px;
    }

}


/* VERY SMALL MOBILE */

@media (max-width: 380px) {

    .shipping-country-button {
        padding:
            4px 6px;
    }

    .shipping-country-name {
        max-width:
            68px;
    }

    .shipping-text {
        font-size:
            15px;
    }

}

.discount-row strong {

    color: #a62925;

}


/* =========================================================
   SUMMARY DIVIDER
========================================================= */

.summary-divider {

    width: 100%;

    margin:
        8px 0 9px;

    border-top:
        1px dashed rgba(176,
            122,
            36,
            0.42);

}


/* =========================================================
   GRAND TOTAL
========================================================= */

.grand-total-row {

    display: grid;

    grid-template-columns: 1fr auto;

    align-items: center;

}


.grand-total-row span {

    color: #211d15;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 27px;

    font-weight: 600;

}


.grand-total-row strong {

    color: #a06b1b;

    font-family:
        "Montserrat",
        serif;

    font-size: 31px;

    font-weight: 600;

}


/* =========================================================
   CHECKOUT BUTTON
========================================================= */

.checkout-button {

    position: relative;

    width: calc(100% - 70px);

    min-height: 56px;

    margin:
        10px auto 0;

    border:
        2px solid #c79337;

    border-radius: 30px;

    outline: 0;

    background:
        linear-gradient(180deg,
            #4c4e1c 0%,
            #353711 100%);

    color: #fff;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 16px;

    cursor: pointer;

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 16px;

    font-weight: 600;

    letter-spacing: 0.7px;

    box-shadow:
        inset 0 1px 0 rgba(255,
            255,
            255,
            0.18),
        0 4px 10px rgba(60,
            44,
            15,
            0.16);

    transition:
        transform 0.25s ease,
        filter 0.25s ease;

}


.checkout-button:hover {

    filter: brightness(1.08);

    transform: translateY(-2px);

}


.checkout-button>i {

    color: #e7b84f;

    font-size: 22px;

}


.checkout-decoration {

    position: absolute;

    top: 50%;

    width: 30px;

    height: 30px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #d7a244;

    font-size: 19px;

    transform:
        translateY(-50%);

}


.checkout-decoration.left {

    left: -18px;

}


.checkout-decoration.right {

    right: -18px;

    transform:
        translateY(-50%) rotate(180deg);

}


/* =========================================================
   SCAN & PAY
========================================================= */

.scan-pay-section {
    width: min(990px, calc(100% - 30px));
    margin: 14px auto 35px;
    padding: 13px 18px 18px;

    border: 1.5px solid rgba(166, 121, 61, 0.24);
    border-radius: 16px;

    background: rgba(255, 249, 241, 0.52);

    box-sizing: border-box;
}


/* =========================================================
   SCAN PAY HEADING
========================================================= */

.scan-pay-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    width: 100%;
    margin-bottom: 10px;

    box-sizing: border-box;
}

.scan-pay-heading span {
    width: clamp(25px, 7vw, 56px);
    height: 1px;

    flex: 0 1 auto;

    background: var(--cart-gold);
}

.scan-pay-heading i {
    flex: 0 0 auto;

    color: var(--cart-gold);
    font-size: 12px;
}

.scan-pay-heading h2 {
    margin: 0 4px;

    color: #30291d;

    font-family: "Cormorant Garamond", serif;
    font-size: clamp(21px, 4vw, 25px);
    font-weight: 600;
    letter-spacing: 1px;

    white-space: nowrap;
}


/* =========================================================
   PAYMENT CARD
========================================================= */

.payment-card {
    width: 100%;
    min-height: 340px;

    display: grid;

    /*
       minmax(0, 1fr) prevents grid children
       from forcing the card wider than the viewport.
    */
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);

    border: 1px solid rgba(166, 121, 61, 0.35);
    border-radius: 16px;

    overflow: hidden;

    background: rgba(255, 250, 244, 0.42);

    box-sizing: border-box;
}


/* =========================================================
   PAYMENT INFORMATION
========================================================= */

.payment-information {
    position: relative;

    min-width: 0;

    padding: clamp(20px, 3vw, 26px) clamp(18px, 3.5vw, 34px);

    border-right: 1px solid rgba(166, 121, 61, 0.30);

    box-sizing: border-box;
}

.payment-label {
    margin: 0;

    color: #171510;

    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 600;
}

.payment-total {
    margin-top: 4px;

    color: #a06b1b;

    font-family: "Montserrat", serif;
    font-size: clamp(30px, 4vw, 37px);
    font-weight: 600;

    /*
       Prevent a long amount from breaking
       the layout.
    */
    overflow-wrap: anywhere;
}

.scan-description {
    margin-top: 13px;

    color: #25211b;

    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    line-height: 1.55;
}


/* =========================================================
   UPI PAYMENT LOGOS
========================================================= */

.upi-logos {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;

    gap: 12px 18px;

    margin-top: 14px;
    min-height: 32px;

    box-sizing: border-box;
}

.upi-logo {
    display: block;

    width: auto;
    max-width: 100%;
    height: 40px;

    object-fit: contain;
}

.gpay-logo {
    height: 40px;
}

.phonepe-logo {
    height: 25px;
}

.paytm-logo {
    height: 40px;
}

.bhim-logo {
    height: 40px;
}


/* =========================================================
   UPI ID
========================================================= */

.upi-label {
    margin-top: 22px;
    margin-bottom: 5px;

    color: #171510;

    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 600;
}

.upi-id-row {
    width: 100%;

    display: flex;
    align-items: center;

    gap: 8px;

    box-sizing: border-box;
}

.upi-id-row span {
    min-width: 0;

    color: #28231c;

    font-family: "Montserrat", sans-serif;
    font-size: 13px;

    /*
       Allows the UPI ID to wrap instead of
       pushing the button/card outside.
    */
    overflow-wrap: anywhere;
    word-break: break-word;
}

.upi-id-row button {
    width: 30px;
    height: 30px;

    flex: 0 0 30px;

    border: 0;
    outline: 0;

    background: transparent;
    color: #413a2b;

    cursor: pointer;

    font-size: 17px;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* =========================================================
   PAYMENT NOTE
========================================================= */

.payment-note {
    width: 100%;
    max-width: 240px;

    margin-top: 24px;

    color: #51483c;

    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    line-height: 1.5;
}


/* =========================================================
   QR PAYMENT AREA
========================================================= */

.qr-payment-area {
    min-width: 0;

    width: 100%;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    padding: clamp(18px, 3vw, 30px);

    box-sizing: border-box;
}


/* =========================================================
   PAYMENT TYPE SELECTOR
========================================================= */

.payment-type-selector {
    width: 100%;
    max-width: 430px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    margin-bottom: 13px;

    box-sizing: border-box;
}


/* =========================================================
   PAYMENT TYPE LABEL
========================================================= */

.payment-type-label {
    margin: 0 0 8px;

    color: #30291d;

    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 600;

    text-align: center;
}


/* =========================================================
   PAYMENT TYPE OPTIONS
========================================================= */

.payment-type-options {
    width: 100%;

    display: flex;
    align-items: stretch;
    justify-content: center;

    gap: 8px;

    box-sizing: border-box;
}


/* =========================================================
   PAYMENT TYPE BUTTON
========================================================= */

.payment-type-option {
    /*
       No fixed 125px width.
       Buttons share the available width.
    */
    flex: 1 1 0;

    min-width: 0;
    min-height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    padding: 8px 10px;

    border: 1px solid rgba(166, 121, 61, 0.35);
    border-radius: 8px;

    background: rgba(255, 250, 244, 0.70);
    color: #51483c;

    cursor: pointer;

    font-family: "Montserrat", sans-serif;
    font-size: clamp(9px, 1.2vw, 11px);
    font-weight: 600;

    white-space: nowrap;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;

    box-sizing: border-box;
}

.payment-type-option i {
    flex: 0 0 auto;
    font-size: 14px;
}


/* =========================================================
   HOVER
========================================================= */

.payment-type-option:hover {
    border-color: rgba(166, 121, 61, 0.65);
    transform: translateY(-1px);
}


/* =========================================================
   ACTIVE PAYMENT TYPE
========================================================= */

.payment-type-option.active {
    background: linear-gradient(180deg,
            #595b24,
            #414317);

    border-color: #414317;
    color: #ffffff;
}


/* =========================================================
   QR WRAPPER
========================================================= */

.qr-wrapper {
    /*
       Fluid QR size.
       It can shrink all the way down on narrow devices
       without overflowing the card.
    */
    width: min(310px, 100%);

    aspect-ratio: 1 / 1;

    height: auto;

    padding: clamp(8px, 2vw, 12px);

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(166, 121, 61, 0.35);
    border-radius: 13px;

    background: #fffaf3;

    box-sizing: border-box;
}

.qr-wrapper img {
    width: 100%;
    height: 100%;

    max-width: 100%;
    max-height: 100%;

    object-fit: contain;

    display: block;
}


/* =========================================================
   PAYMENT COMPLETED BUTTON
========================================================= */

.payment-completed-button {
    width: 100%;
    max-width: 370px;

    min-height: 46px;

    margin-top: 13px;

    border: 0;
    outline: 0;

    border-radius: 9px;

    background: linear-gradient(180deg,
            #595b24,
            #414317);

    color: #fff;

    cursor: pointer;

    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;

    transition:
        transform 0.2s ease,
        filter 0.2s ease;

    box-sizing: border-box;
}

.payment-completed-button:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}


/* =========================================================
   SECURE PAYMENT
========================================================= */

.secure-payment {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    margin-top: 13px;

    color: #292820;

    font-family: "Montserrat", sans-serif;
    font-size: 13px;

    text-align: center;
}

.secure-payment i {
    flex: 0 0 auto;

    color: #62652a;
    font-size: 17px;
}


/* =========================================================
   TABLET / SMALL LAPTOP
========================================================= */

@media (max-width: 800px) {

    .scan-pay-section {
        width: calc(100% - 24px);
        padding: 12px 14px 16px;
    }

    .payment-card {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .payment-information {
        padding: 22px 20px;
    }

    .qr-payment-area {
        padding: 20px 18px;
    }

    .qr-wrapper {
        width: min(280px, 100%);
    }

}


/* =========================================================
   MOBILE
   IMPORTANT:
   We STACK the card instead of hiding anything.
========================================================= */

@media (max-width: 650px) {

    .scan-pay-section {
        width: calc(100% - 20px);

        margin-top: 12px;
        margin-bottom: 25px;

        padding: 11px 10px 14px;

        border-radius: 14px;
    }

    .scan-pay-heading {
        gap: 6px;
        margin-bottom: 9px;
    }

    .scan-pay-heading span {
        width: clamp(22px, 10vw, 45px);
    }

    .scan-pay-heading h2 {
        margin: 0 2px;
        font-size: 22px;
    }

    .payment-card {
        /*
           Stack both areas.
           Nothing is hidden.
        */
        grid-template-columns: 1fr;

        min-height: 0;

        border-radius: 14px;
    }

    .payment-information {
        width: 100%;

        padding: 20px 18px;

        border-right: 0;
        border-bottom: 1px solid rgba(166, 121, 61, 0.30);
    }

    .payment-total {
        font-size: 32px;
    }

    .scan-description {
        font-size: 12px;
    }

    .upi-logos {
        justify-content: center;
        gap: 10px 15px;
    }

    .upi-label {
        margin-top: 18px;
    }

    .payment-note {
        max-width: none;
        margin-top: 18px;
    }

    .qr-payment-area {
        width: 100%;

        padding: 20px 14px 22px;
    }

    .payment-type-selector {
        width: 100%;
        max-width: 430px;
    }

    .payment-type-options {
        width: 100%;
        gap: 6px;
    }

    .payment-type-option {
        min-height: 40px;
        padding: 8px 7px;

        font-size: 10px;
    }

    .payment-type-option i {
        font-size: 13px;
    }

    .qr-wrapper {
        /*
           QR automatically becomes smaller than the
           available mobile card width.
        */
        width: min(280px, 100%);
    }

    .payment-completed-button {
        width: min(370px, 100%);
    }

}


/* =========================================================
   VERY SMALL PHONES
   iPhone SE / 320px - 375px class devices
========================================================= */

@media (max-width: 380px) {

    .scan-pay-section {
        width: calc(100% - 12px);

        padding-left: 7px;
        padding-right: 7px;

        border-radius: 12px;
    }

    .scan-pay-heading {
        gap: 4px;
    }

    .scan-pay-heading span {
        width: 20px;
    }

    .scan-pay-heading h2 {
        font-size: 20px;
        letter-spacing: 0.7px;
    }

    .payment-information {
        padding: 18px 14px;
    }

    .payment-label {
        font-size: 14px;
    }

    .payment-total {
        font-size: 29px;
    }

    .scan-description {
        font-size: 11.5px;
        line-height: 1.5;
    }

    .upi-logos {
        gap: 9px 11px;
    }

    .gpay-logo,
    .paytm-logo,
    .bhim-logo {
        height: 34px;
    }

    .phonepe-logo {
        height: 22px;
    }

    .upi-id-row {
        gap: 5px;
    }

    .upi-id-row span {
        font-size: 11.5px;
    }

    .upi-id-row button {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
        font-size: 15px;
    }

    .qr-payment-area {
        padding: 18px 10px 20px;
    }

    /*
       Three payment buttons remain visible,
       but become compact enough for a 320px screen.
    */
    .payment-type-options {
        gap: 4px;
    }

    .payment-type-option {
        min-height: 38px;

        padding: 7px 4px;

        gap: 4px;

        font-size: 8.5px;
    }

    .payment-type-option i {
        font-size: 11px;
    }

    .qr-wrapper {
        /*
           Available width on an iPhone SE is used
           automatically without horizontal overflow.
        */
        width: min(250px, 100%);

        padding: 8px;

        border-radius: 11px;
    }

    .payment-completed-button {
        min-height: 44px;

        margin-top: 12px;

        font-size: 12px;
    }

    .secure-payment {
        gap: 6px;
        font-size: 11px;
    }

    .secure-payment i {
        font-size: 15px;
    }

}


/* =========================================================
   EXTRA NARROW DEVICES
   280px - 320px
========================================================= */

@media (max-width: 320px) {

    .scan-pay-section {
        width: calc(100% - 8px);

        padding-left: 5px;
        padding-right: 5px;
    }

    .scan-pay-heading h2 {
        font-size: 18px;
    }

    .payment-information {
        padding-left: 12px;
        padding-right: 12px;
    }

    .payment-total {
        font-size: 27px;
    }

    .upi-logos {
        gap: 8px;
    }

    .payment-type-option {
        font-size: 7.5px;
        padding-left: 3px;
        padding-right: 3px;
    }

    .payment-type-option i {
        font-size: 10px;
    }

    .qr-payment-area {
        padding-left: 7px;
        padding-right: 7px;
    }

    .qr-wrapper {
        width: min(230px, 100%);
    }

}


/* =========================================================
   LANDSCAPE MOBILE
========================================================= */

@media (max-width: 800px) and (orientation: landscape) {

    .payment-card {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .payment-information {
        border-right: 1px solid rgba(166, 121, 61, 0.30);
        border-bottom: 0;
    }

    .qr-wrapper {
        width: min(230px, 70vw);
    }

}


/* =========================================================
   ACCESSIBILITY / TOUCH DEVICES
========================================================= */

@media (hover: none) {

    .payment-type-option:hover,
    .payment-completed-button:hover {
        transform: none;
        filter: none;
    }

}


/* =========================================================
   BOX SIZING SAFETY
========================================================= */

.scan-pay-section *,
.scan-pay-section *::before,
.scan-pay-section *::after {
    box-sizing: border-box;
}

/* =========================================================
   EMPTY CART
========================================================= */

.empty-cart {

    width:
        min(calc(100% - 40px),
            600px);

    margin:
        30px auto 80px;

    padding:
        55px 25px;

    text-align: center;

    border:
        1.5px solid var(--cart-border);

    border-radius: 18px;

    background:
        rgba(255,
            249,
            241,
            0.65);

}


.empty-cart-icon {

    width: 70px;

    height: 70px;

    margin:
        0 auto 15px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    color: var(--cart-gold);

    background:
        rgba(176,
            122,
            36,
            0.09);

    font-size: 30px;

}


.empty-cart h2 {

    margin: 0;

    color: #30291d;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 30px;

    font-weight: 600;

}


.empty-cart p {

    margin-top: 8px;

    color: #5b5042;

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 13px;

}


.continue-shopping-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    min-height: 44px;

    margin-top: 20px;

    padding:
        0 24px;

    border-radius: 24px;

    background:
        linear-gradient(180deg,
            #4c4e1c,
            #353711);

    color: #fff;

    text-decoration: none;

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 12px;

    font-weight: 600;

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

    .cart-items-section,
    .cart-summary-section,
    .scan-pay-section {

        width:
            calc(100% - 40px);

    }


    .cart-item {

        grid-template-columns:
            110px minmax(180px, 1fr) 125px 110px 35px;

        column-gap: 14px;

        padding:
            10px 16px;

    }


    .cart-item-image {

        width: 110px;

        height: 110px;

    }


    .cart-item-name {

        font-size: 22px;

    }


    .cart-item-category {

        font-size: 15px;

    }


    .cart-item-price {

        margin-top: 15px;

        font-size: 19px;

    }


    .quantity-control {

        width: 120px;

    }


    .cart-item-total {

        font-size: 18px;

    }


    .checkout-button {

        width:
            calc(100% - 45px);

    }


    .payment-card {

        grid-template-columns:
            1fr 1fr;

    }


}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .cart-decoration {

        width: 120px;

        height: 120px;

        top: -5px;

    }


    .cart-decoration-left {

        left: -18px;

    }


    .cart-decoration-right {

        right: -18px;

    }


    .cart-title-ornament span {

        width: 48px;

    }


    .cart-title-symbol {

        width: 26px;

        height: 26px;

        font-size: 18px;

    }


    .cart-heading-content h1 {

        font-size: 39px;

        letter-spacing: 1px;

    }


    .cart-item-count {

        font-size: 12px;

    }


    .cart-heading-line {

        margin-top: 8px;

    }


    .cart-heading-line span {

        width: 48px;

    }


    .cart-items-section,
    .cart-summary-section,
    .scan-pay-section {

        width:
            calc(100% - 24px);

    }


    /* =============================================
       CART ITEM
    ============================================= */

    .cart-items {

        border-radius: 12px;

    }


    .cart-item {

        min-height: 0;

        display: grid;

        grid-template-columns:
            92px minmax(0, 1fr);

        grid-template-rows:
            auto auto;

        column-gap: 13px;

        row-gap: 10px;

        padding: 12px;

    }


    .cart-item-image {

        width: 92px;

        height: 92px;

        grid-row:
            1 / 3;

        border-radius: 9px;

    }


    .cart-bestseller {

        width: 37px;

        min-height: 51px;

        left: 4px;

        padding:
            5px 2px;

        font-size: 7px;

    }


    .cart-bestseller i {

        font-size: 7px;

        margin-top: 4px;

    }


    .cart-item-details {

        align-self: start;

    }


    .cart-item-name {

        font-size: 18px;

        line-height: 1.05;

    }


    .cart-item-category {

        margin-top: 5px;

        font-size: 12px;

    }


    .cart-item-category i {

        font-size: 9px;

    }


    .cart-item-price {

        margin-top: 7px;

        font-size: 16px;

    }


    .cart-quantity {

        grid-column: 2;

        justify-content: flex-start;

    }


    .quantity-control {

        width: 105px;

        height: 34px;

    }


    .quantity-button {

        width: 32px;

        height: 32px;

        font-size: 19px;

    }


    .quantity-value {

        font-size: 14px;

    }


    .cart-item-total {

        position: absolute;

        right: 46px;

        bottom: 17px;

        font-size: 15px;

    }


    .cart-delete-button {

        position: absolute;

        right: 7px;

        bottom: 10px;

        width: 32px;

        height: 32px;

        font-size: 15px;

    }


    /* =============================================
       SUMMARY
    ============================================= */

    .cart-summary-section {

        margin-top: 10px;

        padding:
            16px 14px 15px;

        border-radius: 12px;

    }


    .summary-row {

        min-height: 28px;

    }


    .summary-row span,
    .summary-row strong {

        font-size: 12px;

    }


    .summary-divider {

        margin:
            5px 0 7px;

    }


    .grand-total-row span {

        font-size: 21px;

    }


    .grand-total-row strong {

        font-size: 25px;

    }


    .checkout-button {

        width:
            calc(100% - 30px);

        min-height: 45px;

        margin-top: 9px;

        gap: 8px;

        font-size: 10px;

        letter-spacing: 0.35px;

    }


    .checkout-button>i {

        font-size: 15px;

    }


    .checkout-decoration {

        font-size: 14px;

    }


    /* =============================================
       SCAN PAY
    ============================================= */

    .scan-pay-section {

        margin-top: 10px;

        padding:
            11px 9px 12px;

        border-radius: 12px;

    }


    .scan-pay-heading {

        gap: 5px;

        margin-bottom: 8px;

    }


    .scan-pay-heading span {

        width: 30px;

    }


    .scan-pay-heading h2 {

        font-size: 18px;

        margin: 0 2px;

    }


    .scan-pay-heading i {

        font-size: 9px;

    }


    .payment-card {

        display: grid;

        grid-template-columns:
            1fr;

        border-radius: 11px;

    }


    .payment-information {

        padding:
            18px 18px 20px;

        border-right: 0;

        border-bottom:
            1px solid rgba(166,
                121,
                61,
                0.30);

    }


    .payment-label {

        font-size: 12px;

    }


    .payment-total {

        font-size: 31px;

    }


    .scan-description {

        margin-top: 9px;

        font-size: 11px;

    }


    .upi-logos {

        gap: 11px;

        margin-top: 10px;

    }


    .upi-label {

        margin-top: 16px;

        font-size: 11px;

    }


    .upi-id-row span {

        font-size: 11px;

    }


    .upi-id-row button {

        width: 26px;

        height: 26px;

        font-size: 14px;

    }


    .payment-note {

        margin-top: 15px;

        font-size: 9px;

    }


    .qr-payment-area {

        padding:
            17px 16px 18px;

    }


    .payment-completed-button {

        min-height: 42px;

        margin-top: 10px;

        font-size: 10px;

    }


    .secure-payment {

        margin-top: 10px;

        font-size: 10px;

    }


    .secure-payment i {

        font-size: 14px;

    }


    .empty-cart {

        padding:
            40px 18px;

    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .cart-decoration {

        width: 95px;

        height: 100px;

    }


    .cart-heading-content h1 {

        font-size: 34px;

    }


    .cart-item {

        grid-template-columns:
            78px minmax(0, 1fr);

        column-gap: 10px;

        padding: 9px;

    }


    .cart-item-image {

        width: 78px;

        height: 78px;

    }


    .cart-item-name {

        font-size: 16px;

    }


    .cart-item-category {

        font-size: 10px;

    }


    .cart-item-price {

        font-size: 14px;

    }


    .quantity-control {

        width: 94px;

        height: 31px;

    }


    .quantity-button {

        width: 29px;

        height: 29px;

        font-size: 17px;

    }


    .quantity-value {

        font-size: 13px;

    }


    .cart-item-total {

        right: 40px;

        bottom: 14px;

        font-size: 13px;

    }


    .cart-delete-button {

        right: 4px;

        bottom: 7px;

    }


    .grand-total-row span {

        font-size: 19px;

    }


    .grand-total-row strong {

        font-size: 22px;

    }


    .checkout-button {

        width:
            calc(100% - 18px);

        font-size: 8.5px;

    }

}


/* =========================================================
   FINAL MOBILE CART TITLE FIX
   ---------------------------------------------------------
   IMPORTANT:
   This section intentionally comes LAST.
   It overrides only the cart heading on mobile.
   No cart item/payment/summary layout is changed.
========================================================= */

@media (max-width: 700px) {

    /*
     * Create an independent stacking context.
     * This prevents decorative elements, parent
     * stacking contexts or other page elements
     * from covering the title.
     */
    .cart-heading-section {

        position: relative;

        display: flex;

        align-items: center;

        justify-content: center;

        min-height: 180px;

        height: 180px;

        padding:
            42px 10px 24px;

        overflow: hidden;

        isolation: isolate;

    }


    /*
     * Decorative leaves stay behind the heading.
     */
    .cart-decoration {

        position: absolute;

        z-index: -1;

        pointer-events: none;

    }


    /*
     * Independent heading layer.
     */
    .cart-heading-content {

        position: relative;

        z-index: 5;

        display: flex;

        flex-direction: column;

        align-items: center;

        justify-content: center;

        width: 100%;

        height: auto;

        min-height: 1px;

        text-align: center;

        visibility: visible;

        opacity: 1;

    }


    /*
     * Top ornament.
     */
    .cart-title-ornament {

        position: relative;

        z-index: 6;

        display: flex;

        flex-shrink: 0;

        align-items: center;

        justify-content: center;

        width: 100%;

        height: 27px;

        margin: 0 0 4px;

        visibility: visible;

        opacity: 1;

    }


    .cart-title-ornament span {

        display: block;

        flex-shrink: 0;

        width: 42px;

        height: 1px;

        visibility: visible;

        opacity: 1;

    }


    .cart-title-symbol {

        position: relative;

        z-index: 7;

        display: flex;

        flex-shrink: 0;

        align-items: center;

        justify-content: center;

        width: 25px;

        height: 25px;

        color: var(--cart-gold);

        font-size: 17px;

        visibility: visible;

        opacity: 1;

    }


    /*
     * FINAL TITLE FIX.
     *
     * The title is deliberately given its own
     * independent rendering box.
     */
    .cart-heading-content h1 {

        position: relative;

        z-index: 20;

        display: block;

        flex: 0 0 auto;

        width: 100%;

        height: auto;

        min-height: 42px;

        max-height: none;

        margin: 0;

        padding: 0;

        overflow: visible;

        color: #30291d;

        font-family:
            "Cormorant Garamond",
            serif;

        font-size: 39px;

        font-weight: 600;

        line-height: 1.08;

        letter-spacing: 1px;

        text-align: center;

        white-space: nowrap;

        text-indent: 0;

        transform: none;

        clip: auto;

        clip-path: none;

        visibility: visible;

        opacity: 1;

        -webkit-text-fill-color: #30291d;

    }


    /*
     * Item count remains directly underneath.
     */
    .cart-item-count {

        position: relative;

        z-index: 20;

        display: block;

        flex: 0 0 auto;

        width: auto;

        height: auto;

        margin:
            5px 0 0;

        padding: 0;

        color: #17140f;

        font-family:
            "Montserrat",
            sans-serif;

        font-size: 12px;

        font-weight: 500;

        line-height: 1.3;

        text-align: center;

        white-space: nowrap;

        visibility: visible;

        opacity: 1;

    }


    /*
     * Bottom ornament.
     */
    .cart-heading-line {

        position: relative;

        z-index: 20;

        display: flex;

        flex: 0 0 auto;

        align-items: center;

        justify-content: center;

        width: 100%;

        height: 15px;

        margin:
            7px 0 0;

        padding: 0;

        visibility: visible;

        opacity: 1;

    }


    .cart-heading-line span {

        display: block;

        flex-shrink: 0;

        width: 45px;

        height: 1px;

        visibility: visible;

        opacity: 1;

    }


    .cart-heading-line i {

        position: relative;

        z-index: 21;

        display: block;

        color: var(--cart-gold);

        font-size: 11px;

        visibility: visible;

        opacity: 1;

    }

}


/* =========================================================
   FINAL SMALL IPHONE TITLE FIX
========================================================= */

@media (max-width: 380px) {

    .cart-heading-section {

        min-height: 165px;

        height: 165px;

        padding:
            38px 8px 22px;

    }


    .cart-heading-content h1 {

        width: 100%;

        min-height: 37px;

        font-size: 34px;

        line-height: 1.08;

        letter-spacing: 0.5px;

    }


    .cart-title-ornament {

        height: 24px;

        margin-bottom: 3px;

    }


    .cart-title-ornament span {

        width: 34px;

    }


    .cart-title-symbol {

        width: 23px;

        height: 23px;

        font-size: 15px;

    }


    .cart-item-count {

        margin-top: 4px;

        font-size: 11px;

    }


    .cart-heading-line {

        height: 13px;

        margin-top: 6px;

    }


    .cart-heading-line span {

        width: 36px;

    }

}

/* =========================================================
   EMPTY CART - CLEAN STATE
========================================================= */

.empty-cart {
    width: min(calc(100% - 40px), 600px);
    min-height: 55vh;
    margin: 0 auto;
    padding: 80px 25px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    border: 0;
    background: transparent;
    box-shadow: none;
}

.empty-cart h2 {
    margin: 0;
    color: #30291d;

    font-family: "Cormorant Garamond", serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 600;
    letter-spacing: 1px;
}

.empty-cart .continue-shopping-button {
    margin-top: 25px;
}

/* =========================================================
   FINAL CART PAGE HEADER SPACING FIX
   ---------------------------------------------------------
   Purpose:
   Prevent the fixed/sticky site header from covering
   the YOUR CART heading.

   IMPORTANT:
   Only vertical top spacing is changed.
   Cart items, summary, payment and empty-cart layouts
   are NOT changed.
========================================================= */

.cart-main {
    padding-top: 90px;
}


/* =========================================================
   MOBILE CART HEADER SPACING
========================================================= */

@media (max-width: 700px) {

    .cart-main {
        padding-top: 105px;
    }

}


/* =========================================================
   SMALL MOBILE / IPHONE
========================================================= */

@media (max-width: 380px) {

    .cart-main {
        padding-top: 100px;
    }

}


/* =========================================================
   COUNTRY SELECTOR
   ========================================================= */

.country-selector {
    position: relative;
    flex-shrink: 0;
    z-index: 1200;
}

.country-selector-button {
    appearance: none;
    -webkit-appearance: none;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    min-height: 34px;
    padding: 5px 8px;

    border: 1px solid rgba(142, 100, 31, 0.22);
    border-radius: 20px;

    background: rgba(255, 250, 243, 0.72);
    color: var(--black);

    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.7px;

    cursor: pointer;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.country-selector-button:hover {
    background: rgba(255, 250, 243, 0.95);
    border-color: rgba(176, 122, 36, 0.45);
    transform: translateY(-1px);
}

.country-selector-button i {
    font-size: 8px;
    transition: transform 0.25s ease;
}

.country-selector.open .country-selector-button i {
    transform: rotate(180deg);
}

.country-flag {
    width: 22px;
    height: 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;

    background: #fff;
    box-shadow:
        0 1px 4px rgba(60, 40, 20, 0.12);

    font-size: 14px;
    line-height: 1;
}

.country-name {
    white-space: nowrap;
}

.country-dropdown {
    position: absolute;

    top: calc(100% + 9px);
    right: 0;

    width: 190px;

    padding: 7px;

    border: 1px solid rgba(166, 121, 61, 0.28);
    border-radius: 13px;

    background: rgba(255, 250, 243, 0.98);

    box-shadow:
        0 15px 35px rgba(45, 32, 16, 0.16);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    opacity: 1;
    visibility: visible;

    transform: translateY(0);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;
}

.country-dropdown[hidden] {
    display: block;

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transform: translateY(-6px);
}

.country-option {
    width: 100%;

    display: flex;
    align-items: center;

    gap: 10px;

    padding: 9px 10px;

    border: 0;
    border-radius: 9px;

    background: transparent;
    color: #292816;

    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    font-weight: 500;

    text-align: left;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.country-option:hover,
.country-option.active {
    background: rgba(176, 122, 36, 0.10);
    color: var(--olive);
}

.country-option .country-flag {
    width: 24px;
    height: 24px;

    font-size: 15px;
}

/* =========================================================
   DESKTOP COUNTRY SELECTOR
   ========================================================= */

.country-selector-desktop {
    display: block;
}

.country-selector-mobile {
    display: none;
}

/* =========================================================
   COUNTRY PRICE UPDATE OVERLAY
   ========================================================= */

.country-price-overlay {
    position: fixed;

    inset: 0;

    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(42, 34, 22, 0.32);

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.country-price-overlay.active {
    opacity: 1;
    visibility: visible;
}

.country-price-loader {
    width: min(330px, 100%);

    padding: 30px 25px;

    border: 1px solid rgba(176, 122, 36, 0.25);
    border-radius: 22px;

    background: rgba(255, 250, 243, 0.98);

    box-shadow:
        0 20px 55px rgba(45, 32, 16, 0.18);

    text-align: center;

    transform: translateY(10px) scale(0.97);

    transition: transform 0.3s ease;
}

.country-price-overlay.active .country-price-loader {
    transform: translateY(0) scale(1);
}

.country-price-loader-icon {
    width: 52px;
    height: 52px;

    margin: 0 auto 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid rgba(176, 122, 36, 0.18);
    border-top-color: var(--gold);

    border-radius: 50%;

    animation: belovedCountrySpin 0.9s linear infinite;
}

.country-price-loader-icon i {
    color: var(--gold);
    font-size: 19px;
}

.country-price-loader h3 {
    margin: 0;

    color: #30291d;

    font-family: "Cormorant Garamond", serif;
    font-size: 28px;
    font-weight: 600;
}

.country-price-loader p {
    margin: 7px 0 0;

    color: #655547;

    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    line-height: 1.5;
}

.country-price-progress {
    width: 100%;
    height: 3px;

    margin-top: 18px;

    overflow: hidden;

    border-radius: 5px;

    background: rgba(176, 122, 36, 0.12);
}

.country-price-progress span {
    display: block;

    width: 35%;
    height: 100%;

    border-radius: inherit;

    background: var(--gold);

    animation: belovedCountryProgress 1.2s ease-in-out infinite;
}

@keyframes belovedCountrySpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes belovedCountryProgress {
    0% {
        transform: translateX(-120%);
    }

    100% {
        transform: translateX(350%);
    }
}

/* =========================================================
   COUNTRY SELECTION PROMPT
   ========================================================= */

.country-selection-modal {
    position: fixed;

    inset: 0;

    z-index: 9998;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(42, 34, 22, 0.30);

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.country-selection-modal.active {
    opacity: 1;
    visibility: visible;
}

.country-selection-card {
    width: min(440px, 100%);

    max-height: min(650px, 90vh);

    overflow-y: auto;

    padding: 28px 24px 24px;

    border: 1px solid rgba(166, 121, 61, 0.28);
    border-radius: 24px;

    background:
        linear-gradient(180deg,
            rgba(255, 250, 243, 0.99),
            rgba(248, 238, 224, 0.99));

    box-shadow:
        0 25px 70px rgba(45, 32, 16, 0.20);

    text-align: center;

    transform: translateY(15px) scale(0.97);

    transition: transform 0.3s ease;
}

.country-selection-modal.active .country-selection-card {
    transform: translateY(0) scale(1);
}

.country-selection-ornament {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    margin-bottom: 10px;
}

.country-selection-ornament span {
    width: 42px;
    height: 1px;

    background: var(--gold);
}

.country-selection-ornament i {
    color: var(--gold);
    font-size: 14px;
}

.country-selection-card h2 {
    margin: 0;

    color: #30291d;

    font-family: "Cormorant Garamond", serif;
    font-size: 34px;
    font-weight: 600;
}

.country-selection-card>p {
    margin: 7px 0 20px;

    color: #655547;

    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    line-height: 1.5;
}

.country-selection-options {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 9px;

    text-align: left;
}

.country-selection-option {
    min-height: 58px;

    display: flex;
    align-items: center;

    gap: 8px;

    padding: 8px;

    border: 1px solid rgba(166, 121, 61, 0.20);
    border-radius: 11px;

    background: rgba(255, 255, 255, 0.55);

    color: #30291d;

    font-family: "Montserrat", sans-serif;
    font-size: 9px;
    font-weight: 500;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.country-selection-option:hover {
    transform: translateY(-2px);

    background: rgba(255, 255, 255, 0.9);

    border-color: rgba(176, 122, 36, 0.42);
}

.country-selection-option .country-flag {
    width: 27px;
    height: 27px;

    font-size: 16px;
}

.country-selection-option span:last-child {
    line-height: 1.2;
}

/* =========================================================
   COUNTRY PRICE CHANGE HIGHLIGHT
   ========================================================= */

.product-price.country-price-changing {
    animation: belovedPriceChange 0.8s ease;
}

@keyframes belovedPriceChange {
    0% {
        opacity: 0.35;
        transform: translateY(4px);
    }

    55% {
        opacity: 1;
        transform: translateY(-2px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   MOBILE COUNTRY SELECTOR
   ========================================================= */

@media (max-width: 700px) {

    .country-selector-desktop {
        display: none;
    }

    .country-selector-mobile {
        display: block;
    }

    .country-selector-mobile .country-selector-button {
        width: 34px;
        height: 34px;

        min-height: 34px;

        padding: 4px;

        gap: 0;

        border-radius: 50%;
    }

    .country-selector-mobile .country-name,
    .country-selector-mobile .country-selector-button i {
        display: none;
    }

    .country-selector-mobile .country-flag {
        width: 25px;
        height: 25px;

        font-size: 16px;
    }

    .country-selector-mobile .country-dropdown {
        right: -5px;
        width: 185px;
    }

    .country-selection-options {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 380px) {

    .country-selector-mobile .country-selector-button {
        width: 32px;
        height: 32px;
    }

    .country-selector-mobile .country-flag {
        width: 23px;
        height: 23px;
        font-size: 15px;
    }

    .country-selection-card {
        padding: 24px 17px 19px;
    }

    .country-selection-card h2 {
        font-size: 30px;
    }

    .country-selection-option {
        min-height: 54px;
        font-size: 8px;
    }

}

/* =========================================================
   REDUCE MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .country-price-loader-icon,
    .country-price-progress span {
        animation: none;
    }

    .country-selector-button,
    .country-option,
    .country-selection-option,
    .country-price-overlay,
    .country-selection-modal,
    .country-price-loader {
        transition: none;
    }

}

/* =========================================================
   COUNTRY OPTION
========================================================= */

.country-option {
    display: flex;
    align-items: center;
    gap: 10px;
}

.country-option-name {
    flex: 1;
}

.country-option-check {
    width: 20px;
    text-align: center;
    font-weight: 700;
    opacity: 0;
}

.country-option.active .country-option-check {
    opacity: 1;
}

.country-option.active {
    font-weight: 600;
}

/* =========================================================
   CUSTOMER DETAILS POPOVER
   PAYMENT → CUSTOMER DETAILS → WHATSAPP
========================================================= */

.customer-details-popover {

    position: fixed;

    inset: 0;

    z-index: 99999;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 20px;

    font-family:
        "Montserrat",
        sans-serif;

}


.customer-details-backdrop {

    position: absolute;

    inset: 0;

    background:
        rgba(35, 27, 18, 0.52);

    backdrop-filter:
        blur(5px);

    -webkit-backdrop-filter:
        blur(5px);

    animation:
        customerPopoverFadeIn
        0.18s ease
        forwards;

}


.customer-details-card {

    position: relative;

    z-index: 2;

    width: min(
        100%,
        520px
    );

    max-height:
        calc(100vh - 40px);

    overflow-y:
        auto;

    padding:
        30px 30px 28px;

    border:
        1.5px solid
        rgba(176, 122, 36, 0.45);

    border-radius:
        20px;

    background:
        linear-gradient(
            180deg,
            rgba(255, 250, 244, 0.99),
            rgba(248, 238, 227, 0.99)
        );

    box-shadow:
        0 20px 60px
        rgba(54, 38, 18, 0.25);

    animation:
        customerPopoverSlideIn
        0.2s ease
        forwards;

}


.customer-details-popover.is-closing
.customer-details-card {

    animation:
        customerPopoverSlideOut
        0.18s ease
        forwards;

}


.customer-details-header {

    text-align:
        center;

    margin-bottom:
        22px;

}


.customer-details-heading {

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        8px;

    margin-bottom:
        7px;

}


.customer-details-heading-line {

    width:
        55px;

    height:
        1px;

    background:
        #b07a24;

}


.customer-details-heading i {

    color:
        #b07a24;

    font-size:
        15px;

}


.customer-details-header h2 {

    margin:
        0;

    color:
        #30291d;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size:
        30px;

    font-weight:
        600;

    letter-spacing:
        1px;

}


.customer-details-header p {

    margin:
        6px 0 0;

    color:
        #65584a;

    font-size:
        12px;

    line-height:
        1.55;

}


/* =========================================================
   FORM
========================================================= */

.customer-details-form {

    display:
        flex;

    flex-direction:
        column;

    gap:
        16px;

}


.customer-details-field {

    display:
        flex;

    flex-direction:
        column;

    gap:
        7px;

}


.customer-details-field label {

    color:
        #30291d;

    font-size:
        12px;

    font-weight:
        700;

    letter-spacing:
        0.35px;

}


.customer-details-input-wrap {

    min-height:
        48px;

    display:
        flex;

    align-items:
        center;

    gap:
        10px;

    padding:
        0 14px;

    border:
        1px solid
        rgba(176, 122, 36, 0.35);

    border-radius:
        12px;

    background:
        rgba(255, 250, 244, 0.82);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;

}


.customer-details-input-wrap:focus-within {

    border-color:
        rgba(176, 122, 36, 0.75);

    background:
        #fffaf4;

    box-shadow:
        0 0 0 3px
        rgba(176, 122, 36, 0.10);

}


.customer-details-input-wrap > i {

    flex:
        0 0 auto;

    width:
        17px;

    text-align:
        center;

    color:
        #a06b1b;

    font-size:
        14px;

}


.customer-details-input-wrap input,
.customer-details-input-wrap textarea {

    width:
        100%;

    min-width:
        0;

    border:
        0;

    outline:
        0;

    background:
        transparent;

    color:
        #211d15;

    font-family:
        "Montserrat",
        sans-serif;

    font-size:
        13px;

}


.customer-details-input-wrap input {

    height:
        46px;

}


.customer-details-input-wrap textarea {

    min-height:
        100px;

    padding:
        13px 0;

    resize:
        vertical;

    line-height:
        1.5;

}


.customer-details-input-wrap input::placeholder,
.customer-details-input-wrap textarea::placeholder {

    color:
        #998b7c;

}


/* =========================================================
   PHONE
========================================================= */

.customer-phone-row {

    display:
        grid;

    grid-template-columns:
        minmax(145px, 0.9fr)
        minmax(0, 1.4fr);

    gap:
        9px;

}


.customer-country-code-wrap,
.customer-phone-number-wrap {

    min-width:
        0;

    min-height:
        48px;

    display:
        flex;

    align-items:
        center;

    gap:
        8px;

    padding:
        0 11px;

    border:
        1px solid
        rgba(176, 122, 36, 0.35);

    border-radius:
        12px;

    background:
        rgba(255, 250, 244, 0.82);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;

}


.customer-country-code-wrap:focus-within,
.customer-phone-number-wrap:focus-within {

    border-color:
        rgba(176, 122, 36, 0.75);

    box-shadow:
        0 0 0 3px
        rgba(176, 122, 36, 0.10);

}


.customer-country-code-wrap > i,
.customer-phone-number-wrap > i {

    flex:
        0 0 auto;

    color:
        #a06b1b;

    font-size:
        13px;

}


.customer-country-code-wrap select {

    width:
        100%;

    min-width:
        0;

    height:
        44px;

    border:
        0;

    outline:
        0;

    background:
        transparent;

    color:
        #30291d;

    font-family:
        "Montserrat",
        sans-serif;

    font-size:
        11px;

    font-weight:
        600;

    cursor:
        pointer;

}


.customer-phone-number-wrap input {

    width:
        100%;

    min-width:
        0;

    height:
        44px;

    border:
        0;

    outline:
        0;

    background:
        transparent;

    color:
        #211d15;

    font-family:
        "Montserrat",
        sans-serif;

    font-size:
        13px;

}


.customer-phone-number-wrap input::placeholder {

    color:
        #998b7c;

}


.customer-phone-help {

    display:
        block;

    margin-top:
        5px;

    color:
        #827365;

    font-size:
        10px;

    line-height:
        1.4;

}


/* =========================================================
   ACTION BUTTONS
========================================================= */

.customer-details-actions {

    display:
        grid;

    grid-template-columns:
        1fr 1fr;

    gap:
        10px;

    margin-top:
        5px;

}


.customer-details-cancel,
.customer-details-send {

    min-height:
        48px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        9px;

    border-radius:
        25px;

    cursor:
        pointer;

    font-family:
        "Montserrat",
        sans-serif;

    font-size:
        12px;

    font-weight:
        700;

    letter-spacing:
        0.5px;

    transition:
        transform 0.2s ease,
        filter 0.2s ease,
        background 0.2s ease;

}


.customer-details-cancel {

    border:
        1px solid
        rgba(120, 93, 59, 0.45);

    background:
        rgba(255, 250, 244, 0.8);

    color:
        #594d3e;

}


.customer-details-cancel:hover {

    background:
        #fff;

    transform:
        translateY(-1px);

}


.customer-details-send {

    border:
        1px solid
        #b07a24;

    background:
        linear-gradient(
            180deg,
            #4c4e1c 0%,
            #353711 100%
        );

    color:
        #fff;

    box-shadow:
        0 4px 10px
        rgba(60, 44, 15, 0.15);

}


.customer-details-send:hover {

    filter:
        brightness(1.08);

    transform:
        translateY(-1px);

}


.customer-details-send:disabled {

    cursor:
        wait;

    opacity:
        0.75;

    transform:
        none;

}


.customer-details-send.is-sending {

    pointer-events:
        none;

}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes customerPopoverFadeIn {

    from {

        opacity:
            0;

    }

    to {

        opacity:
            1;

    }

}


@keyframes customerPopoverSlideIn {

    from {

        opacity:
            0;

        transform:
            translateY(12px)
            scale(0.98);

    }

    to {

        opacity:
            1;

        transform:
            translateY(0)
            scale(1);

    }

}


@keyframes customerPopoverSlideOut {

    from {

        opacity:
            1;

        transform:
            translateY(0)
            scale(1);

    }

    to {

        opacity:
            0;

        transform:
            translateY(10px)
            scale(0.98);

    }

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 600px) {

    .customer-details-popover {

        align-items:
            flex-end;

        padding:
            0;

    }


    .customer-details-card {

        width:
            100%;

        max-height:
            calc(100vh - 15px);

        padding:
            25px 18px 20px;

        border-radius:
            20px 20px 0 0;

        border-bottom:
            0;

    }


    .customer-details-header {

        margin-bottom:
            18px;

    }


    .customer-details-header h2 {

        font-size:
            27px;

    }


    .customer-details-heading-line {

        width:
            40px;

    }


    .customer-details-form {

        gap:
            13px;

    }


    .customer-details-input-wrap {

        min-height:
            46px;

        padding:
            0 12px;

    }


    .customer-details-input-wrap input {

        height:
            44px;

    }


    .customer-phone-row {

        grid-template-columns:
            minmax(125px, 0.85fr)
            minmax(0, 1.5fr);

        gap:
            7px;

    }


    .customer-country-code-wrap,
    .customer-phone-number-wrap {

        min-height:
            46px;

        padding:
            0 9px;

    }


    .customer-country-code-wrap select {

        font-size:
            10px;

    }


    .customer-details-actions {

        position:
            sticky;

        bottom:
            0;

        padding-top:
            4px;

        background:
            linear-gradient(
                180deg,
                rgba(248, 238, 227, 0),
                rgba(248, 238, 227, 1) 25%
            );

    }

}


@media (max-width: 380px) {

    .customer-details-card {

        padding:
            22px 14px 17px;

    }


    .customer-phone-row {

        grid-template-columns:
            1fr;

    }


    .customer-details-actions {

        grid-template-columns:
            1fr;

    }


    .customer-details-cancel,
    .customer-details-send {

        min-height:
            45px;

    }

}