﻿:root {
    --primary: #129800;
    --secondary: #e88c3b;
    --black: #272526;
    --green: var(--primary);
    --green-dark: #129800;
    --green-soft: #e8efe7;
    --yellow: var(--secondary);
    --yellow-dark: #d4782a;
    --coral: var(--secondary);
    --coral-dark: #d4782a;
    --white: #ffffff;
    --ink: var(--black);
    --muted: #6b746e;
    --line: #e4e4e4;
    --shadow: 0 8px 24px rgba(39, 37, 38, 0.08);
    --green-glow: 0 0 0 3px rgba(18, 152, 0, 0.18);
    --radius: 12px;
    --control-h: 46px;
    --site-gutter: clamp(1.25rem, 3vw, 2rem);
    --site-max-width: 1900px;
    --sidebar-w: clamp(230px, 14vw, 220px);
    --site-top-h: 118px;
    --product-media-h: 132px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow-x: clip;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    background: var(--white);
}

body {
    font-family: "Poppins", system-ui, sans-serif;
    color: var(--ink);
    background: var(--white);
    min-height: 100vh;
    overflow-x: clip;
    overflow-anchor: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: geometricPrecision;
}

    body.fee-info-open {
        overflow: hidden;
    }

html.zip-open,
html.login-open,
html.cart-open,
html.scroll-locked,
html.is-sidebar-open,
html.order-detail-open,
html.body-scroll-locked,
html.zip-open body,
html.login-open body,
html.cart-open body,
html.scroll-locked body,
html.is-sidebar-open body,
html.order-detail-open body,
html.body-scroll-locked body {
    overflow: hidden !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    overscroll-behavior: none !important;
    scrollbar-width: none;
}

    html.zip-open::-webkit-scrollbar,
    html.login-open::-webkit-scrollbar,
    html.cart-open::-webkit-scrollbar,
    html.scroll-locked::-webkit-scrollbar,
    html.is-sidebar-open::-webkit-scrollbar,
    html.order-detail-open::-webkit-scrollbar,
    html.body-scroll-locked::-webkit-scrollbar,
    html.zip-open body::-webkit-scrollbar,
    html.body-scroll-locked body::-webkit-scrollbar {
        width: 0 !important;
        height: 0 !important;
        display: none !important;
    }

    html.body-scroll-locked .site-sidebar,
    html.body-scroll-locked .page-shell,
    html.body-scroll-locked .page-main,
    html.body-scroll-locked .account-container,
    html.body-scroll-locked .account-layout {
        overflow: hidden !important;
        overscroll-behavior: none;
    }

    html.body-scroll-locked .zip-backdrop,
    html.body-scroll-locked .login-backdrop,
    html.body-scroll-locked .cart-backdrop,
    html.body-scroll-locked .order-detail-backdrop,
    html.body-scroll-locked .shop-filter-backdrop,
    html.body-scroll-locked .sidebar-backdrop,
    html.body-scroll-locked .fee-info-overlay {
        overscroll-behavior: none;
        touch-action: none;
    }

    html.body-scroll-locked .zip-modal,
    html.body-scroll-locked .login-modal,
    html.body-scroll-locked .login-modal-right,
    html.body-scroll-locked .cart-drawer,
    html.body-scroll-locked .cart-items,
    html.body-scroll-locked .site-sidebar.open,
    html.body-scroll-locked .shop-filters,
    html.body-scroll-locked .order-detail-modal,
    html.body-scroll-locked .checkout-success,
    html.body-scroll-locked .fee-info-panel {
        overscroll-behavior: contain;
        touch-action: pan-y;
    }

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.announce-bar {
    background: var(--green);
    color: var(--white);
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.01em;
    padding: 0.45rem 1rem;
    width: 100%;
}

.site-top {
    position: sticky;
    top: 0;
    z-index: 1040;
    width: 100%;
    background: var(--white);
    overflow: visible;
}

.site-header {
    position: relative;
    background: var(--white);
    box-shadow: 0 1px 0 var(--line), var(--shadow);
    width: 100%;
}

    .site-header .container-fluid {
        max-width: none;
        width: 100%;
        padding-inline: var(--site-gutter);
    }

body.has-sidebar .site-header .container-fluid {
    width: min(100%, var(--site-max-width));
    max-width: var(--site-max-width);
    margin-inline: auto;
    padding-inline: var(--site-gutter);
}

body.has-sidebar .header-left {
    width: auto;
    padding-left: 0;
    padding-right: 0;
    position: relative;
    z-index: 2;
}

.header-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.1rem;
}

body.has-sidebar .header-row {
    grid-template-columns: auto minmax(0, 1fr) auto;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    justify-self: start;
}

.sidebar-open {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    color: var(--ink);
    place-items: center;
    font-size: 1.2rem;
}

.brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.brand-logo {
    height: 56px;
    width: auto;
}

.location-wrap {
    position: relative;
    flex-shrink: 0;
    padding-right: 0.65rem;
    margin-right: 0.15rem;
    border-right: 1px solid var(--line);
}

.location-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: transparent;
    border: 0;
    border-radius: var(--radius);
    color: var(--ink);
    text-align: left;
    width: auto;
    min-width: 0;
    height: var(--control-h);
    padding: 0 0.7rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

    .location-btn:hover {
        background: var(--green-soft);
    }

    .location-btn:focus,
    .location-btn:focus-visible,
    .location-btn[aria-expanded="true"] {
        outline: none;
        background: var(--green-soft);
    }

.header-actions .location-btn > .bi-geo-alt-fill,
.header-actions .login-btn > i.bi {
    width: 1.55rem;
    height: 1.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--green-soft);
    color: var(--green);
    font-size: 0.92rem;
    line-height: 1;
}

.location-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    flex: 1;
}

.cart-checkout-sec {
    display: none;
}

    .location-text small {
        font-size: 0.68rem;
        color: var(--muted);
        font-weight: 500;
    }

    .location-text strong {
        font-size: 0.86rem;
        font-weight: 600;
        max-width: 220px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.location-btn .bi-chevron-down {
    font-size: 0.8rem;
    color: var(--muted);
}

.location-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 0.4rem;
    z-index: 20;
}

    .location-menu.open {
        display: block;
    }

    .location-menu button {
        width: 100%;
        border: 0;
        background: transparent;
        text-align: left;
        padding: 0.6rem 0.75rem;
        border-radius: 8px;
        font-size: 0.9rem;
        color: var(--ink);
    }

        .location-menu button:hover {
            background: var(--green-soft);
            color: var(--green-dark);
        }

.search-wrap {
    position: relative;
    width: 100%;
    min-width: 0;
    z-index: 1;
}

    .search-wrap.is-search-open {
        z-index: 80;
    }

.search-box {
    display: flex;
    align-items: stretch;
    width: 100%;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: visible;
    height: 40px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, height 0.15s ease, border-radius 0.15s ease;
}

    .search-box:focus-within {
        border-color: var(--green);
        box-shadow: var(--green-glow);
    }

.search-wrap.is-search-open .search-box {
    border-color: var(--green-dark);
    box-shadow: var(--green-glow);
}

.search-box-row {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 40px;
    flex: 1;
    min-width: 0;
}

    .search-box-row input {
        flex: 1;
        min-width: 0;
    }

.search-popular {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    z-index: 60;
    padding: 0.75rem 1rem 1rem;
    text-align: left;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(39, 37, 38, 0.16);
}

.search-wrap.is-search-open .search-popular:not([hidden]) {
    display: block;
}

.search-popular-label {
    margin: 0 0 0.65rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #5c6560;
}

.search-popular-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.search-popular-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    height: 32px;
    padding: 0 0.85rem;
    border: 1px solid #d9ded9;
    border-radius: 999px;
    background: var(--white);
    color: var(--ink);
    font-family: inherit;
    font-size: 0.84rem;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
}

    .search-popular-tag:hover,
    .search-popular-tag:focus-visible {
        border-color: var(--green);
        background: var(--green-soft);
        color: var(--green-dark);
        outline: none;
    }

    .search-popular-tag .search-hot {
        color: #e85d04;
        font-size: 0.78rem;
        line-height: 1;
    }

.search-cat {
    display: none;
}

.search-cat-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    width: 100%;
    height: 100%;
    border: 0;
    border-right: 1px solid var(--line);
    background: var(--white);
    padding: 0 0.85rem;
    color: #555;
    font-size: 0.88rem;
    font-weight: 500;
    white-space: nowrap;
    border-radius: var(--radius) 0 0 var(--radius);
}

    .search-cat-btn span {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .search-cat-btn .bi-chevron-down {
        font-size: 0.75rem;
        color: #888;
        flex-shrink: 0;
    }

.search-cat-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 220px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 0.35rem;
    z-index: 30;
}

    .search-cat-menu.open {
        display: block;
    }

    .search-cat-menu button {
        width: 100%;
        border: 0;
        background: transparent;
        text-align: left;
        padding: 0.55rem 0.75rem;
        border-radius: 6px;
        font-size: 0.88rem;
        color: var(--ink);
    }

        .search-cat-menu button:hover {
            background: var(--green-soft);
            color: var(--green-dark);
        }

.search-box input {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 0 0.8rem;
    font-size: 0.86rem;
    color: var(--ink);
    outline: none;
    min-width: 0;
}

    .search-box input::placeholder {
        color: #b0b0b0;
    }

.search-submit {
    border: 0;
    background: var(--green);
    color: var(--white);
    width: 44px;
    display: grid;
    place-items: center;
    font-size: 0.95rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    transition: background 0.2s ease;
}

    .search-submit:hover {
        background: var(--green-dark);
    }

.search-suggest {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(39, 37, 38, 0.16);
    padding: 0.7rem 0.75rem 0.6rem;
    z-index: 60;
    max-height: min(70vh, 540px);
    overflow: auto;
}

.search-wrap.is-search-open .search-suggest {
    top: calc(100% + 6px);
}

.search-suggest[hidden] {
    display: none;
}

.search-suggest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 84px);
    justify-content: start;
    gap: 0.35rem 0.4rem;
}

.search-suggest-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.28rem;
    width: 84px;
    padding: 0.25rem 0.15rem;
    border-radius: 12px;
    color: var(--ink);
}

    .search-suggest-item:hover,
    .search-suggest-item:focus-visible {
        background: var(--green-soft);
        outline: none;
    }

    .search-suggest-item img {
        width: 64px;
        height: 64px;
        object-fit: contain;
        background: #f4f5f4;
        border-radius: 50%;
        padding: 7px;
    }

    .search-suggest-item span {
        font-size: 0.78rem;
        font-weight: 500;
        line-height: 1.25;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

.search-suggest-empty {
    margin: 0;
    text-align: center;
    color: var(--muted);
    padding: 1.1rem 0.5rem 0.35rem;
    font-size: 0.9rem;
}

.search-suggest-all {
    display: block;
    margin-top: 0.55rem;
    padding-top: 0.55rem;
    border-top: 1px solid var(--line);
    text-align: center;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--green);
}

    .search-suggest-all:hover {
        color: var(--green-dark);
    }

.header-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-self: end;
    gap: 0.25rem;
    flex-shrink: 0;
}

.header-actions-top {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.header-zip-date {
    font-size: 0.7rem;
    color: var(--muted);
    font-weight: 500;
    white-space: nowrap;
}

.login-btn,
.cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 0;
    border-radius: var(--radius);
    font-family: inherit;
    font-weight: 600;
    font-size: 0.9rem;
    height: var(--control-h);
    padding: 0 1.05rem;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.login-btn {
    background: transparent;
    color: var(--ink);
    padding: 0 0.65rem;
}

    .login-btn:hover {
        background: var(--green-soft);
        color: var(--green-dark);
    }

.cart-btn {
    position: relative;
    background: var(--green);
    color: var(--white);
}

    .cart-btn:hover {
        background: var(--green-dark);
        color: var(--white);
    }

.cart-count {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--white);
    color: var(--green);
    font-size: 0.72rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.page-shell {
    display: flex;
    align-items: flex-start;
    width: min(100%, var(--site-max-width));
    max-width: var(--site-max-width);
    margin-inline: auto;
    padding-inline: var(--site-gutter);
    min-width: 0;
    min-height: 0;
    height: auto;
}

@media (min-width: 992px) {
    :root {
        --sidebar-w: 230px;
    }
}

.page-main {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    min-height: 0;
}

@media (min-width: 992px) {
    body.has-sidebar .page-shell .page-main .subnav,
    body.has-sidebar .page-shell .page-main .hero-container,
    body.has-sidebar .page-shell .page-main .promo-tiles,
    body.has-sidebar .page-shell .page-main .category-container,
    body.has-sidebar .page-shell .page-main .banner-container,
    body.has-sidebar .page-shell .page-main .aisle-container,
    body.has-sidebar .page-shell .page-main .shop-container,
    body.has-sidebar .page-shell .page-main .account-container,
    body.has-sidebar .page-shell .page-main .cart-page-container,
    body.has-sidebar .page-shell .page-main .detail-container {
        width: 100%;
        max-width: none;
        margin-inline: 0;
        padding-inline: 0;
    }

    /* Footer sits below page-shell so sticky sidebar releases and footer scrolls up */
    body.has-sidebar > .site-footer {
        width: 100%;
        max-width: none;
        margin-inline: 0;
    }

        body.has-sidebar > .site-footer .footer-wrap {
            width: 100%;
            max-width: var(--site-max-width);
            margin-inline: auto;
            padding-inline: var(--site-gutter);
        }
}

.sidebar-backdrop {
    display: none;
}

.site-sidebar {
    position: sticky;
    top: var(--site-top-h);
    width: var(--sidebar-w);
    flex: 0 0 var(--sidebar-w);
    flex-shrink: 0;
    align-self: flex-start;
    height: auto;
    max-height: calc(100vh - var(--site-top-h));
    overflow-y: auto;
    overflow-x: hidden;
    background: var(--white);
    border-right: 1px solid var(--line);
    padding: 0.7rem 0.65rem 1.4rem;
    margin-right: var(--site-gutter);
    scrollbar-width: thin;
}

    .site-sidebar::-webkit-scrollbar {
        width: 6px;
    }

    .site-sidebar::-webkit-scrollbar-thumb {
        background: #d8d8d8;
        border-radius: 99px;
    }

.sidebar-close {
    display: none;
    margin: 0 0 0.6rem auto;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 8px;
    background: #f3f6f3;
    color: var(--ink);
    place-items: center;
}

.sidebar-group {
    margin-bottom: 0.85rem;
}

.sidebar-label {
    display: block;
    padding: 0.35rem 0.7rem 0.45rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #9aa19c;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    width: 100%;
    padding: 0.52rem 0.75rem;
    border-radius: 10px;
    color: var(--ink);
    font-size: 0.84rem;
    font-weight: 500;
    line-height: 1.2;
}

    .sidebar-link:hover,
    .sidebar-link:focus,
    .sidebar-link:focus-visible,
    .sidebar-link.active {
        background: transparent;
        color: #037E06;
    }

.sidebar-icon {
    flex-shrink: 0;
    width: 1.15rem;
    height: 1.15rem;
    display: grid;
    place-items: center;
    background: none;
    color: #037E06;
    font-size: 1.25rem;
}

.sidebar-link:hover .sidebar-icon,
.sidebar-link.active .sidebar-icon {
    background: none;
    color: #037E06;
}

.sidebar-accordion-item {
    margin-bottom: 0.05rem;
}

.sidebar-accordion-trigger {
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

    .sidebar-accordion-trigger .sidebar-link-text {
        flex: 1;
        min-width: 0;
    }

.sidebar-chevron {
    flex-shrink: 0;
    margin-left: auto;
    font-size: 0.72rem;
    color: #9aa19c;
    transition: transform 0.2s ease;
}

.sidebar-accordion-item.open .sidebar-chevron {
    transform: rotate(180deg);
    color: #037E06;
}

.sidebar-accordion-panel {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.25s ease, opacity 0.2s ease;
}

.sidebar-accordion-item.open .sidebar-accordion-panel {
    max-height: 320px;
    opacity: 1;
}

.sidebar-sub-link {
    display: block;
    padding: 0.42rem 0.75rem 0.42rem 2.45rem;
    margin: 0.12rem 0.45rem 0.12rem 0.55rem;
    border-radius: 0 10px 10px 0;
    border-left: 3px solid transparent;
    color: #5c6360;
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.25;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

    .sidebar-sub-link:hover,
    .sidebar-sub-link:focus,
    .sidebar-sub-link:focus-visible {
        color: #037E06;
        background: transparent;
    }

    .sidebar-sub-link.active {
        color: #037E06;
        font-weight: 600;
        background: #e8f5e9;
        border-left-color: #037E06;
    }

.subnav {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #c5d0c5 transparent;
    border-bottom: 1px solid var(--line);
}

    .subnav::-webkit-scrollbar {
        height: 4px;
    }

    .subnav::-webkit-scrollbar-thumb {
        background: #c5d0c5;
        border-radius: 999px;
    }

    .subnav a {
        position: relative;
        flex: 0 0 auto;
        padding: 0.72rem 0.9rem 0.62rem;
        font-size: 14px;
        font-weight: 500;
        color: var(--ink);
        white-space: nowrap;
    }

        .subnav a::after {
            content: "";
            position: absolute;
            left: 0.7rem;
            right: 0.7rem;
            bottom: 0;
            height: 2px;
            border-radius: 2px 2px 0 0;
            background: transparent;
        }

        .subnav a:hover,
        .subnav a.active {
            color: var(--green);
        }

            .subnav a:hover::after,
            .subnav a.active::after {
                background: var(--green);
            }

.subnav-refer {
    color: var(--coral) !important;
}

    .subnav-refer:hover::after,
    .subnav-refer.active::after {
        background: var(--coral);
    }

.hero-section {
    padding: 0.7rem 0 0.35rem;
}

.hero-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.hero-swiper {
    height: auto;
    aspect-ratio: 1561 / 200;
    overflow: clip;
    border-radius: 18px;
    touch-action: pan-y;
}

    .hero-swiper .swiper-wrapper,
    .hero-swiper .swiper-slide {
        height: 100%;
    }

.hero-banner {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    min-height: 100%;
    padding: 0.85rem 1.5rem;
    overflow: hidden;
    isolation: isolate;
    background: #1c241e;
    border-radius: 18px;
}

/* Used for full-bleed promo artwork (the banner images already contain their own text). */
.hero-banner--image-only {
    padding: 0;
    background: transparent;
}

    .hero-banner--image-only::after {
        background: none;
    }

    .hero-banner--image-only .hero-bg {
        object-fit: contain;
        object-position: center;
    }

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 72% center;
}

.hero-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    /* background: linear-gradient(
    100deg,
    rgba(12, 20, 16, 0.86) 0%,
    rgba(12, 20, 16, 0.62) 34%,
    rgba(12, 20, 16, 0.22) 62%,
    rgba(12, 20, 16, 0.04) 100%
  ); */
}

.hero-banner--mango::after {
    background: linear-gradient( 100deg, rgba(62, 28, 8, 0.86) 0%, rgba(92, 42, 10, 0.6) 36%, rgba(92, 42, 10, 0.18) 64%, rgba(92, 42, 10, 0.04) 100% );
}

.hero-banner--veggies::after {
    background: linear-gradient( 100deg, rgba(10, 36, 20, 0.86) 0%, rgba(12, 48, 26, 0.6) 36%, rgba(12, 48, 26, 0.18) 64%, rgba(12, 48, 26, 0.04) 100% );
}

.hero-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.2rem;
    max-width: min(58rem, 72%);
}

    .hero-copy h1 {
        margin: 0;
        font-family: "Poppins", sans-serif;
        font-size: clamp(1.5rem, 2.5vw, 2.15rem);
        font-weight: 400;
        line-height: 1.15;
        letter-spacing: 0.01em;
        color: var(--white);
        text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
    }

    .hero-copy p {
        margin: 0;
        font-family: "Poppins", sans-serif;
        font-size: 0.96rem;
        font-weight: 300;
        line-height: 1.3;
        letter-spacing: 0.02em;
        color: rgba(255, 255, 255, 0.95);
        max-width: 48rem;
        text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
    }

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    height: 36px;
    margin-top: 0.25rem;
    padding: 0 1.2rem;
    border-radius: 999px;
    background: var(--green);
    color: var(--white);
    font-family: "Poppins", sans-serif;
    font-size: 0.86rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    box-shadow: 0 8px 20px rgba(20, 156, 72, 0.35);
}

    .hero-cta:hover {
        background: var(--green-dark);
        color: var(--white);
    }

.hero-badge {
    position: absolute;
    z-index: 2;
    right: 1.2rem;
    top: 0.85rem;
    left: auto;
    bottom: auto;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--coral);
    color: var(--white);
    display: grid;
    place-items: center;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.15;
    box-shadow: 0 8px 18px rgba(233, 105, 80, 0.35);
}

.promo-tiles-section {
    padding: 0.85rem 0 1rem;
}

.promo-tiles {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.promo-tile {
    position: relative;
    min-height: 196px;
    padding: 0.95rem 0.95rem 0.75rem 1rem;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    isolation: isolate;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.promo-tile--image {
    padding: 0;
    background: transparent;
    min-height: auto;
    aspect-ratio: 1024 / 559;
}

.promo-tile-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: inherit;
}

.promo-tile:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.promo-tile-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 58%;
    flex: 1;
    min-height: 100%;
}

.promo-badge {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    font-size: clamp(0.42rem, 0.82vw, 0.52rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.2;
    white-space: nowrap;
}

.promo-badge--pink {
    background: #e31c79;
    color: #fff;
}

.promo-badge--purple {
    background: #6b2fa0;
    color: #fff;
}

.promo-badge--red {
    background: #d42b2b;
    color: #fff;
}

.promo-badge--orange {
    background: #ffb347;
    color: #1a1a1a;
}

.promo-badge-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.1rem;
}

.promo-date {
    font-size: clamp(0.42rem, 0.82vw, 0.52rem);
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
}

.promo-tile h3 {
    margin: 0.42rem 0 0.18rem;
    font-size: clamp(1.15rem, 1.45vw, 1.55rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.03em;
}

.promo-tile p {
    margin: 0 0 0.45rem;
    font-size: 0.74rem;
    font-weight: 500;
    line-height: 1.25;
}

.promo-sub--red {
    color: #e31c79;
    opacity: 1;
}

.promo-go {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 0.82rem;
    margin-top: 0.1rem;
}

.promo-go--navy {
    background: var(--black);
    color: #fff;
}

.promo-go--white {
    background: #fff;
    color: #f07820;
}

.promo-go--maroon {
    background: #7a1f1f;
    color: #fff;
}

.promo-go--festive {
    background: #ffb347;
    color: #c62828;
}

.promo-note {
    display: block;
    margin-top: auto;
    padding-top: 0.35rem;
    font-size: 0.56rem;
    font-weight: 400;
    line-height: 1.3;
    color: #8b9199;
}

.promo-tile-art {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* Card 1 — Free delivery */
.promo-tile--delivery {
    background: radial-gradient(ellipse 90% 80% at 8% 100%, rgba(168, 214, 255, 0.55) 0%, transparent 58%), radial-gradient(ellipse 70% 70% at 92% 8%, rgba(255, 176, 214, 0.42) 0%, transparent 52%), #f5f6f8;
    color: #1b2a6b;
}

    .promo-tile--delivery h3 {
        color: #1b2a6b;
    }

    .promo-tile--delivery .promo-tile-copy {
        max-width: 52%;
    }

    .promo-tile--delivery img.promo-pack {
        position: absolute;
        width: 44px;
        height: auto;
        object-fit: contain;
        border-radius: 4px;
        box-shadow: 0 8px 16px rgba(27, 42, 107, 0.16);
    }

    .promo-tile--delivery img.promo-pack-a {
        top: 10px;
        right: 22px;
        transform: rotate(14deg);
        z-index: 2;
    }

    .promo-tile--delivery img.promo-pack-b {
        top: 24px;
        right: 58px;
        width: 40px;
        transform: rotate(-12deg);
        z-index: 1;
    }

    .promo-tile--delivery img.promo-van {
        position: absolute;
        right: -10px;
        bottom: 4px;
        width: 88%;
        max-width: 220px;
        height: auto;
        object-fit: contain;
        object-position: right bottom;
        filter: drop-shadow(0 8px 12px rgba(27, 42, 107, 0.14));
        z-index: 3;
    }

/* Card 2 — Weekly sale */
.promo-tile--sale {
    background: radial-gradient(circle at 88% 18%, rgba(255, 196, 120, 0.55) 0%, transparent 42%), radial-gradient(circle at 72% 88%, rgba(255, 160, 60, 0.35) 0%, transparent 38%), linear-gradient(135deg, var(--yellow-dark) 0%, var(--secondary) 100%);
    color: #fff;
}

    .promo-tile--sale h3,
    .promo-tile--sale p {
        color: #fff;
        opacity: 1;
    }

.promo-tile-art--sale {
    display: block;
}

    .promo-tile-art--sale .promo-product {
        position: absolute;
        display: block;
    }

        .promo-tile-art--sale .promo-product img {
            display: block;
            width: 52px;
            height: 52px;
            object-fit: contain;
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.95);
            box-shadow: 0 6px 14px rgba(120, 40, 0, 0.22);
        }

.promo-price {
    position: absolute;
    left: 50%;
    bottom: -8px;
    transform: translateX(-50%);
    padding: 0.12rem 0.38rem;
    border-radius: 999px;
    background: #d42b2b;
    color: #fff;
    font-size: 0.58rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 8px rgba(120, 20, 0, 0.25);
}

.promo-tile-art--sale .promo-product:nth-child(1) {
    right: 18px;
    bottom: 18px;
    transform: rotate(-6deg);
}

.promo-tile-art--sale .promo-product:nth-child(2) {
    right: 68px;
    bottom: 42px;
    transform: rotate(8deg);
}

.promo-tile-art--sale .promo-product:nth-child(3) {
    right: 8px;
    top: 16px;
    transform: rotate(12deg);
}

    .promo-tile-art--sale .promo-product:nth-child(3) img {
        width: 46px;
        height: 46px;
    }

.promo-tile-art--sale .promo-product:nth-child(4) {
    right: 58px;
    top: 8px;
    transform: rotate(-10deg);
}

    .promo-tile-art--sale .promo-product:nth-child(4) img {
        width: 48px;
        height: 48px;
    }

/* Card 3 — New user special */
.promo-tile--special {
    background: radial-gradient(circle at 78% 42%, rgba(255, 255, 255, 0.12) 0%, transparent 48%), linear-gradient(135deg, #8f9440 0%, #a4a852 100%);
    color: #fff;
}

    .promo-tile--special::before {
        content: "S";
        position: absolute;
        right: 8%;
        top: 50%;
        font-size: 7rem;
        font-weight: 800;
        line-height: 1;
        color: rgba(255, 255, 255, 0.08);
        transform: translateY(-50%) rotate(-12deg);
        z-index: 0;
        pointer-events: none;
    }

    .promo-tile--special h3,
    .promo-tile--special p {
        color: #fff;
        opacity: 1;
    }

    .promo-tile--special .promo-tile-copy {
        max-width: 54%;
    }

.promo-hero-product {
    position: absolute;
    right: -8px;
    bottom: -6px;
    width: 58%;
    max-width: 150px;
    height: auto;
    object-fit: contain;
    transform: rotate(-8deg);
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(40, 44, 10, 0.28);
}

/* Card 4 — Festival */
.promo-tile--festive {
    background: radial-gradient(circle at 88% 12%, rgba(42, 90, 38, 0.22) 0%, transparent 36%), linear-gradient(135deg, #c8e635 0%, #d8f04a 100%);
    color: #4a1a6b;
}

    .promo-tile--festive::before {
        content: "";
        position: absolute;
        right: -18px;
        top: -18px;
        width: 110px;
        height: 110px;
        border-radius: 50%;
        background: repeating-conic-gradient(from 0deg, rgba(42, 90, 38, 0.14) 0deg 12deg, transparent 12deg 24deg);
        mask: radial-gradient(circle, #000 38%, transparent 72%);
        z-index: 0;
        pointer-events: none;
    }

    .promo-tile--festive h3 {
        color: #4a1a6b;
    }

    .promo-tile--festive p {
        color: #fff;
        opacity: 1;
        text-shadow: 0 1px 2px rgba(74, 26, 107, 0.18);
    }

    .promo-tile--festive .promo-tile-copy {
        max-width: 52%;
    }

.promo-festive-food {
    position: absolute;
    right: -6px;
    bottom: -4px;
    width: 62%;
    max-width: 160px;
    height: auto;
    object-fit: cover;
    border-radius: 14px 14px 18px 0;
    box-shadow: 0 10px 20px rgba(60, 80, 10, 0.22);
}

.promo-diya {
    position: absolute;
    left: 52%;
    bottom: 18px;
    width: 22px;
    height: 22px;
    border-radius: 50% 50% 45% 45%;
    background: linear-gradient(180deg, #ffd54f 0%, #ff8f00 100%);
    box-shadow: 0 0 12px rgba(255, 160, 0, 0.65);
}

    .promo-diya::before {
        content: "";
        position: absolute;
        left: 50%;
        top: -6px;
        width: 4px;
        height: 8px;
        margin-left: -2px;
        border-radius: 2px;
        background: linear-gradient(180deg, #ffeb3b 0%, #ff9800 100%);
        box-shadow: 0 0 6px rgba(255, 193, 7, 0.8);
    }

.category-section {
    padding: 1.35rem 0 0.35rem;
    overflow-anchor: none;
}

.category-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.category-swiper {
    flex: 1;
    min-width: 0;
    overflow: clip;
    padding: 0 0 0.15rem;
    touch-action: pan-y;
}

    .category-swiper .swiper-slide {
        height: auto;
        display: flex;
        justify-content: center;
    }

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    width: 100%;
    max-width: 7.5rem;
    margin-inline: auto;
}

.category-thumb {
    display: block;
    width: 100%;
    max-width: 6.75rem;
    aspect-ratio: 1;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 50%;
    overflow: hidden;
    padding: 0.35rem;
}

    .category-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }

.category-label {
    display: block;
    width: 100%;
    margin-top: 0.5rem;
    min-height: 2.5em;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.25;
    color: #333;
    text-wrap: balance;
}

.category-nav {
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: 2.1rem;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    box-shadow: var(--shadow);
    transition: background 0.2s ease, opacity 0.2s ease;
}

    .category-nav:hover {
        background: var(--green-dark);
        color: var(--white);
    }

    .category-nav.swiper-button-disabled {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

.banner-section {
    padding: 1.1rem 0 2rem;
    overflow: hidden;
    overflow-anchor: none;
}

.banner-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1.25rem;
    overflow: hidden;
}

.banner-swiper {
    overflow: clip;
    touch-action: pan-y;
}

    .banner-swiper .swiper-wrapper {
        align-items: stretch;
    }

    .banner-swiper .swiper-slide {
        height: auto;
    }

.promo-card {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 340px;
    height: 340px;
    padding: 2rem 1.75rem;
    border-radius: 28px;
    overflow: hidden;
    background: var(--primary);
}

    .promo-card::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        background: linear-gradient(90deg, rgba(76, 190, 114, 0.82) 0%, rgba(76, 190, 114, 0.42) 48%, rgba(76, 190, 114, 0.12) 100%);
        pointer-events: none;
    }

.promo-copy {
    position: relative;
    z-index: 2;
    max-width: 62%;
}

    .promo-copy h2 {
        margin: 0 0 0.5rem;
        font-family: "Poppins", system-ui, sans-serif;
        font-size: clamp(1.5rem, 2vw, 2.15rem);
        font-weight: 700;
        line-height: 1.12;
        letter-spacing: -0.02em;
        color: var(--white);
    }

    .promo-copy p {
        margin: 0 0 1.15rem;
        font-size: 0.92rem;
        font-weight: 400;
        line-height: 1.45;
        max-width: 17rem;
        color: var(--white);
    }

.promo-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 1.3rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    background: var(--white);
    color: var(--ink);
    transition: transform 0.15s ease, filter 0.15s ease;
}

    .promo-cta:hover {
        transform: translateY(-1px);
        filter: brightness(0.97);
    }

.promo-visual {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}

.promo-card--fruits h2 {
    font-family: "Poppins", sans-serif;
    max-width: 12ch;
}

.promo-card--icecream .promo-visual {
    object-position: center 40%;
}

.promo-card--dairy .promo-visual {
    object-position: 70% center;
}

.banner-pager {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 0.5rem;
}

.banner-pagination {
    position: static;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 0;
    min-height: 0;
}

    .banner-pagination .swiper-pagination-bullet {
        position: relative;
        width: 8px;
        height: 8px;
        margin: 0 !important;
        padding: 0;
        border: 0;
        background: #d5dbd6;
        opacity: 1;
        border-radius: 50%;
        overflow: hidden;
        cursor: pointer;
        appearance: none;
        transition: width 0.28s ease, border-radius 0.28s ease, background 0.28s ease;
    }

    .banner-pagination .swiper-pagination-bullet-active {
        width: 28px;
        border-radius: 999px;
        background: #d7e4d4;
    }

        .banner-pagination .swiper-pagination-bullet-active::after {
            content: "";
            position: absolute;
            inset: 0 auto 0 0;
            width: var(--pager-progress, 0%);
            background: var(--green);
            border-radius: inherit;
        }

.banner-fraction {
    min-width: 2.5em;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--muted);
    text-align: center;
    font-variant-numeric: tabular-nums;
}

#new-arrivals,
#trending,
#deals,
#offers {
    scroll-margin-top: calc(var(--site-top-h) + 0.5rem);
}

.aisle-section {
    padding: 0.35rem 0 1.15rem;
    overflow-anchor: none;
}

    .aisle-section:last-of-type {
        padding-bottom: 0.35rem;
    }

.aisle-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.aisle-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

    .aisle-head h2 {
        margin: 0;
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--ink);
    }

.aisle-seeall {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--green);
    white-space: nowrap;
}

    .aisle-seeall .bi-arrow-right {
        font-size: 1rem;
        line-height: 1;
    }

    .aisle-seeall:hover {
        color: var(--green-dark);
    }

.aisle-row {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
}

    .aisle-row > .aisle-nav {
        position: absolute;
        /* Slightly below the vertical center of the product image box */
        top: calc(2px + 1px + 0.45rem + (var(--product-media-h, 132px) / 2) + 34px);
        transform: translateY(-50%);
        z-index: 6;
        margin: 0;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
    }

    .aisle-row:hover > .aisle-nav:not(.swiper-button-disabled),
    .aisle-row:focus-within > .aisle-nav:not(.swiper-button-disabled) {
        opacity: 1;
        pointer-events: auto;
    }

    .aisle-row > .aisle-prev:not(.swiper-button-disabled) {
        left: 0.45rem;
        margin-right: 0;
    }

    .aisle-row > .aisle-next:not(.swiper-button-disabled) {
        right: 0.45rem;
        margin-left: 0;
    }

.aisle-swiper {
    flex: 1;
    min-width: 0;
    overflow: clip;
    padding: 2px 0 6px;
    touch-action: pan-y;
    position: relative;
    height: auto;
}

    .aisle-swiper .swiper-wrapper {
        align-items: stretch;
        height: auto !important;
    }

    .aisle-swiper .swiper-slide {
        position: relative;
        z-index: 1;
        height: auto !important;
        display: flex;
        flex-direction: column;
        align-self: stretch;
    }

.aisle-nav {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(26, 26, 26, 0.06);
    border-radius: 50%;
    background: var(--white);
    color: var(--green);
    display: grid;
    place-items: center;
    font-size: 1.15rem;
    box-shadow: 0 4px 14px rgba(36, 48, 40, 0.16), 0 1px 3px rgba(36, 48, 40, 0.08);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

    .aisle-nav:hover,
    .aisle-nav:focus-visible {
        background: var(--white);
        color: var(--green-dark);
        box-shadow: 0 6px 18px rgba(36, 48, 40, 0.2), 0 2px 4px rgba(36, 48, 40, 0.1);
        outline: none;
    }

    .aisle-nav.swiper-button-disabled {
        display: none !important;
    }

.product-card {
    --product-ctrl-w: 86px;
    --product-ctrl-h: 34px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 0.45rem 0.5rem 0.55rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: visible;
}

.product-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.product-media {
    position: relative;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    height: 200px;
    width: 200px;
    margin-bottom: 0;
    background: transparent;
    border-radius: 10px;
}

.product-media-wrap {
    position: relative;
    flex-shrink: 0;
    margin-bottom: 0.45rem;
    height: 200px;
    width: 200px;
}

.product-wish {
    position: absolute;
    top: 4px;
    right: 4px;
    z-index: 2;
    width: 30px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(26, 26, 26, 0.08);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: #6b736e;
    box-shadow: 0 1px 4px rgba(18, 28, 22, 0.08);
    cursor: pointer;
    transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

    .product-wish:hover {
        color: #d32f2f;
        border-color: #f0c4c4;
        background: #fff;
        transform: scale(1.05);
    }

    .product-wish i {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 1em;
        height: 1em;
        font-size: 0.92rem;
        line-height: 1;
    }

        .product-wish i::before {
            display: block;
            line-height: 1;
            vertical-align: 0;
            transform: translate(-0.5px, 1px);
        }

    .product-wish.is-saved,
    .product-wish.is-saved:hover {
        color: #d32f2f;
        border-color: #f0c4c4;
        background: #fff5f5;
    }

.product-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 1;
    padding: 0.16rem 0.42rem;
    border-radius: 4px;
    background: #e53935;
    color: var(--white);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.product-media img {
    /*max-height: 118px;*/
    width: 200px;
    height: 200px;
    /*max-width: 88%;*/
    object-fit: contain;
}

.product-name {
    margin: 0 0 0.35rem;
    min-height: calc(1.3em * 2);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
    color: #1a1a1a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-shrink: 0;
}

    .product-name a {
        color: #09121c;
    }

.product-qty {
    margin-bottom: 0;
    margin-top: 6px;
    min-height: 0;
    font-size: 14px;
    font-weight: 400;
    color: #495a6f;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-stock {
    display: inline-flex;
    align-self: center;
    margin-top: 0;
    padding: 0.18rem 0.45rem;
    border-radius: 4px;
    background: #e8f3e8;
    color: #0b7102;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
}

    .product-stock.is-out,
    .detail-stock.is-out {
        background: #fdeceb;
        color: #b42318;
    }

.product-card.is-out-of-stock .product-add.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.qty-dropdown {
    position: relative;
    z-index: 2;
    margin: 0 0 0.55rem;
}

    .qty-dropdown.is-open {
        z-index: 40;
    }

.product-card:has(.qty-dropdown.is-open) {
    z-index: 40;
}

.qty-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    width: 100%;
    min-height: 28px;
    padding: 0.28rem 0.55rem;
    border: 1.5px solid var(--green);
    border-radius: 8px;
    background: var(--green-soft);
    color: var(--green-dark);
    font-family: inherit;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

    .qty-trigger:hover,
    .qty-dropdown.is-open .qty-trigger {
        background: var(--green);
        border-color: var(--green);
        color: #fff;
    }

    .qty-trigger i {
        font-size: 0.72rem;
        transition: transform 0.15s ease;
    }

.qty-dropdown.is-open .qty-trigger i {
    transform: rotate(180deg);
}

.qty-menu {
    position: absolute;
    top: calc(100% + 4px);
    bottom: auto;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 100%;
    width: max(100%, 168px);
    overflow: visible;
    padding: 0.4rem;
    border: 1px solid #ececec;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
}

    .qty-menu.is-portal {
        position: fixed;
        top: 0;
        bottom: auto;
        left: 0;
        right: auto;
        min-width: 0;
        width: auto;
        max-width: calc(100vw - 16px);
        z-index: 4000;
    }

        .qty-menu.is-portal.is-up {
            box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.14);
        }

    .qty-menu[hidden] {
        display: none !important;
    }

.qty-option {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    width: 100%;
    padding: 0.45rem 0.5rem;
    border: 1px solid #ececec;
    border-radius: 8px;
    background: #fff;
    text-align: left;
    font-family: inherit;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

    .qty-option:hover {
        border-color: #d5d5d5;
    }

    .qty-option.is-selected {
        border-color: var(--green);
        box-shadow: 0 0 0 1px rgba(20, 156, 72, 0.15);
    }

.qty-option-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
}

.qty-option-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #1a1a1a;
}

.qty-option-check {
    color: var(--green);
    font-size: 0.95rem;
    line-height: 1;
}

.qty-option-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.28rem 0.35rem;
}

.qty-option-off {
    padding: 0.1rem 0.28rem;
    border-radius: 3px;
    background: #e8f7ee;
    color: #128a3f;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.qty-option-price {
    font-size: 0.82rem;
    font-weight: 800;
    color: #111;
    line-height: 1;
}

.qty-option-mrp {
    font-size: 0.68rem;
    color: #9aa19c;
    text-decoration: line-through;
    line-height: 1;
}

.qty-option-eta {
    display: inline-flex;
    align-items: center;
    gap: 0.18rem;
    margin-left: auto;
    padding: 0.12rem 0.32rem;
    border-radius: 999px;
    background: #f3f3f3;
    color: #128a3f;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.03em;
}

    .qty-option-eta i {
        font-size: 0.62rem;
    }

.aisle-swiper .swiper-slide .product-card {
    flex: 1;
    width: 100%;
    height: 100%;
}

.aisle-swiper.is-aisle-grid .product-card {
    width: 100%;
    height: 100%;
    margin-inline: auto;
}

.shop-item .product-card {
    width: 100%;
    height: 100%;
    margin-inline: 0;
}

.product-foot {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.35rem 0.5rem;
    margin: 0 0 0.35rem;
    overflow: visible;
    flex-shrink: 0;
}

.product-card-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    margin-top: auto;
    min-height: var(--product-ctrl-h, 34px);
    flex-shrink: 0;
}

.product-buy-col {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
}

.product-price-row {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.12rem 0.35rem;
    min-width: 0;
    margin-bottom: 0.1rem;
}

.product-price {
    font-size: 18px;
    font-weight: 600;
    color: #ae0501;
    line-height: 1;
    white-space: nowrap;
}

.product-mrp {
    font-size: 14px;
    color: #747a81;
    text-decoration: line-through;
    white-space: nowrap;
    font-weight: 400;
}

.product-mrps {
    font-size: 14px !important;
    color: #495a6f !important;
    text-decoration: line-through;
    white-space: nowrap;
    font-weight: 500 !important;
}

.product-add {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: var(--product-ctrl-h, 34px);
    height: var(--product-ctrl-h, 34px);
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--green);
    color: transparent;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease;
}

    .product-add::before,
    .product-add::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        background: var(--white);
        border-radius: 0;
        transform: translate(-50%, -50%);
    }

    .product-add::before {
        width: 12px;
        height: 2px;
    }

    .product-add::after {
        width: 2px;
        height: 12px;
    }

    .product-add:hover,
    .product-add:focus-visible {
        background: var(--green-dark);
    }

/* Hide legacy product footer badges like Hot Deals/Snap/Sold. */
.product-offers,
.product-tags,
.product-labels,
.product-status,
.product-sold {
    display: none !important;
}

.product-card-bar .product-add,
.product-card-bar .product-stepper {
    flex: 0 0 auto;
    align-self: center;
    margin-left: auto;
    min-height: 0;
    height: var(--product-ctrl-h, 34px);
    max-height: var(--product-ctrl-h, 34px);
}

.product-card-bar .product-add {
    min-width: var(--product-ctrl-h, 34px);
    width: var(--product-ctrl-h, 34px);
}

.product-card-bar .product-stepper {
    min-width: var(--product-ctrl-w, 86px);
    width: var(--product-ctrl-w, 86px);
}

.product-stepper {
    position: static;
    z-index: 1;
    flex-shrink: 0;
    box-sizing: border-box;
    width: var(--product-ctrl-w, 86px);
    height: var(--product-ctrl-h, 34px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1.5px solid var(--black);
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
    overflow: hidden;
}

    .product-stepper button {
        width: 24px;
        height: 100%;
        min-height: 0;
        padding: 0;
        border: 0;
        background: transparent;
        color: transparent;
        font-size: 0;
        font-weight: 700;
        line-height: 0;
        position: relative; /* for the pseudo-element plus/minus lines */
        cursor: pointer;
    }

        .product-stepper button[data-step="plus"]::before,
        .product-stepper button[data-step="plus"]::after {
            content: "";
            position: absolute;
            top: 50%;
            left: 50%;
            background: var(--green);
            transform: translate(-50%, -50%);
            border-radius: 0;
        }

        .product-stepper button[data-step="plus"]::before {
            width: 12px;
            height: 2px;
        }

        .product-stepper button[data-step="plus"]::after {
            width: 2px;
            height: 12px;
        }

        .product-stepper button[data-step="minus"]::before {
            content: "";
            position: absolute;
            top: 50%;
            left: 50%;
            width: 12px;
            height: 2px;
            background: var(--green);
            transform: translate(-50%, -50%);
            border-radius: 0;
        }

    .product-stepper span {
        min-width: 1.6ch;
        font-size: 14px;
        font-weight: 600;
        line-height: 1;
        color: var(--ink);
        font-variant-numeric: tabular-nums;
        text-align: center;
    }

@media (max-width: 1024px) {
    .hero-section,
    .promo-tiles-section {
        display: none;
    }

    .subnav {
        gap: 0;
        padding-inline: max(0.85rem, env(safe-area-inset-left)) max(0.85rem, env(safe-area-inset-right));
        background: var(--white);
    }

        .subnav a {
            padding: 0.78rem 0.95rem 0.68rem;
            font-size: 14px;
        }

    .aisle-nav {
        display: none;
    }

    .aisle-row {
        gap: 0;
    }

    .aisle-swiper.is-aisle-grid {
        overflow: visible;
        padding: 0;
        touch-action: auto;
    }

        .aisle-swiper.is-aisle-grid .swiper-wrapper {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 0.65rem;
            transform: none !important;
        }

        .aisle-swiper.is-aisle-grid .swiper-slide {
            width: auto !important;
            margin: 0 !important;
            height: auto;
        }
}

@media (max-width: 767.98px) {
    .aisle-swiper.is-aisle-grid .swiper-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
    }
}

@media (max-width: 1199.98px) {
    :root {
        --sidebar-w: clamp(156px, 16vw, 200px);
    }

    .sidebar-link {
        gap: 0.55rem;
        padding: 0.48rem 0.6rem;
        font-size: 0.8rem;
    }

    .sidebar-icon {
        width: 1rem;
        height: 1rem;
        font-size: 0.95rem;
    }

    .promo-card {
        min-height: 300px;
        height: 300px;
    }

    .promo-copy {
        max-width: 58%;
    }

    .promo-tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .promo-tile {
        min-height: 178px;
    }

    .hero-banner {
        padding: 0.75rem 1.2rem;
    }

    .hero-banner--image-only {
        padding: 0;
    }
}

@media (max-width: 767.98px) {
    .promo-card {
        min-height: 260px;
        height: 260px;
        padding: 1.4rem 1.2rem;
        border-radius: 22px;
    }

    .promo-copy {
        max-width: 62%;
    }

        .promo-copy h2 {
            font-size: 1.5rem;
        }

        .promo-copy p {
            font-size: 0.84rem;
        }

    .hero-swiper {
        height: 132px;
        aspect-ratio: auto;
    }

    .hero-banner {
        padding: 0.7rem 1rem;
    }

    .hero-banner--image-only {
        padding: 0;
    }

        .hero-banner--image-only .hero-bg {
            object-fit: cover;
            object-position: center;
        }

    .hero-copy {
        gap: 0.15rem;
        max-width: 100%;
    }

        .hero-copy h1 {
            font-size: 1.28rem;
            line-height: 1.15;
        }

        .hero-copy p {
            font-size: 0.86rem;
            line-height: 1.3;
        }

    .hero-cta {
        height: 34px;
        margin-top: 0.2rem;
        padding: 0 1.05rem;
    }

    .hero-bg {
        object-position: 80% center;
    }

    .hero-badge {
        width: 44px;
        height: 44px;
        right: 0.7rem;
        top: 0.6rem;
        font-size: 0.52rem;
    }

    .promo-tiles {
        grid-template-columns: 1fr 1fr;
        gap: 0.65rem;
    }

    .promo-tile {
        min-height: 168px;
        padding: 0.85rem 0.85rem 0.65rem 0.9rem;
    }

    .promo-tile-copy {
        max-width: 56%;
    }

    .promo-tile--delivery .promo-tile-copy,
    .promo-tile--special .promo-tile-copy,
    .promo-tile--festive .promo-tile-copy {
        max-width: 54%;
    }

    .promo-tile--delivery img.promo-pack {
        width: 36px;
    }

    .promo-tile--delivery img.promo-pack-b {
        width: 32px;
        right: 46px;
    }

    .promo-tile--delivery img.promo-van {
        max-width: 180px;
    }

    .promo-tile-art--sale .promo-product img {
        width: 42px;
        height: 42px;
    }

    .promo-hero-product,
    .promo-festive-food {
        max-width: 120px;
    }

    .promo-tile.promo-tile--image {
        min-height: auto;
        padding: 0;
        aspect-ratio: 1024 / 559;
    }
}

@media (max-width: 991.98px) {
    :root {
        --site-top-h: 96px;
    }

    .header-row,
    body.has-sidebar .header-row {
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-areas: "logo search";
        gap: 0.65rem 0.5rem;
        align-items: center;
    }

    body.has-sidebar .site-header .container-fluid {
        width: 100%;
        max-width: none;
        padding-left: max(0.85rem, env(safe-area-inset-left));
        padding-right: max(0.85rem, env(safe-area-inset-right));
    }

    .header-left,
    body.has-sidebar .header-left {
        display: contents;
        width: auto;
        padding-left: 0;
        padding-right: 0;
    }

    .brand {
        grid-area: logo;
    }

    .search-wrap {
        grid-area: search;
        width: 100%;
        max-width: 100%;
    }

    .header-actions,
    .location-wrap,
    .header-actions-top {
        display: none;
    }

    .search-suggest-grid {
        grid-template-columns: repeat(auto-fill, 80px);
    }

    .search-suggest-item {
        width: 80px;
    }

    .brand-logo {
        height: 48px;
        max-width: 168px;
        object-fit: contain;
    }

    .sidebar-open {
        display: none;
    }

    .page-shell {
        display: block;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding-inline: max(0.85rem, env(safe-area-inset-left)) max(0.85rem, env(safe-area-inset-right));
    }

    .page-main {
        position: relative;
        z-index: 1;
        width: 100%;
        max-width: 100%;
    }

    .sidebar-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 1200;
        background: rgba(0, 0, 0, 0.45);
        pointer-events: auto;
    }

    body.is-sidebar-open .sidebar-backdrop {
        display: block !important;
        visibility: visible !important;
    }

        body.is-sidebar-open .sidebar-backdrop[hidden] {
            display: block !important;
        }

    .site-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        right: auto;
        bottom: 0;
        z-index: 1201;
        width: min(300px, calc(100% - 4rem));
        max-width: calc(100% - 4rem);
        height: 100%;
        max-height: 100dvh;
        margin-right: 0;
        transform: translateX(-105%);
        transition: transform 0.22s ease;
        box-shadow: 8px 0 32px rgba(39, 37, 38, 0.14);
        padding: 1rem 1rem max(1.4rem, env(safe-area-inset-bottom)) 1rem;
        overflow-y: auto;
        overscroll-behavior: contain;
        touch-action: pan-y;
        -webkit-overflow-scrolling: touch;
    }

        .site-sidebar.open {
            transform: translateX(0);
        }

    .sidebar-close {
        display: grid;
    }

    html.is-sidebar-open,
    html.is-sidebar-open body,
    body.is-sidebar-open {
        overflow: hidden;
        touch-action: none;
    }

        body.is-sidebar-open .site-sidebar {
            touch-action: pan-y;
        }

        body.is-sidebar-open .site-top {
            z-index: 1;
        }
}

@media (max-width: 575.98px) {
    .brand-logo {
        height: 40px;
    }

    .search-suggest-grid {
        grid-template-columns: repeat(auto-fill, 76px);
    }

    .search-suggest-item {
        width: 76px;
    }

        .search-suggest-item img {
            width: 56px;
            height: 56px;
        }

    .location-wrap {
        padding-right: 0.35rem;
        margin-right: 0;
    }

    .location-btn {
        padding: 0 0.4rem;
    }

    .location-text small,
    .header-zip-date {
        display: none;
    }

    .login-btn span,
    .cart-btn span:not(.cart-count) {
        display: none;
    }

    .login-btn,
    .cart-btn {
        padding: 0 0.75rem;
    }

    .header-row {
        gap: 0.5rem;
    }

    .promo-tiles {
        grid-template-columns: 1fr;
    }

    .promo-tile {
        min-height: 186px;
    }

        .promo-tile.promo-tile--image {
            min-height: auto;
            padding: 0;
            aspect-ratio: 1024 / 559;
        }

    .promo-tile-copy {
        max-width: 52%;
    }

    .promo-tile--delivery img.promo-van {
        max-width: 240px;
    }

    .checkout-pay-list {
        display: grid;
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
        gap: 0.7rem;
    }

    .hero-section, .promo-tiles-section {
        display: block;
    }

    .shop-toolbar-row {
        flex-direction: column;
    }

    #shopSort option {
        font-size: 12px;
    }

    .account-profile-preview {
        flex-direction: column;
        align-items: start !important;
    }

    .promo-slider-item.swiper-slide {
        width: 100% !important;
        margin-right: 0 !important;
    }

    .promo-slider-item{
        flex-basis: calc(105vw - 40px) !important;
        width: calc(105vw - 40px);
     }
    button.webplace {
        display: none;
    }
    .cart-checkout-sec{
        display:block;
    }
    button.tip-option {
        width: 100%;
    }

    .delivery-tip-options {
        display: flex;
        justify-content: space-between;
    }

    .refer-qr {
        justify-self: start;
        margin: 0 auto;
    }

    .refer-link-icon {
        top: 25% !important;
    }
    .refer-how-art {
        margin: auto;
        padding: 1.5rem;
    }

}

.site-footer {
    margin-top: 0.75rem;
    background: var(--white);
    color: var(--ink);
}

.footer-wrap {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding-inline: var(--site-gutter);
}

/* Avoid double gutter when footer still lives inside page-shell (e.g. checkout) */
.page-shell .footer-wrap {
    padding-inline: 0;
}

.footer-trust .benefit-icon,
.footer-trust-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #eaf6eb;
    color: var(--green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    line-height: 1;
}

    .footer-trust .benefit-icon .bi,
    .footer-trust-icon .bi {
        display: block;
        line-height: 1;
        width: 1em;
        height: 1em;
        color: inherit;
    }

        .footer-trust .benefit-icon .bi::before,
        .footer-trust-icon .bi::before {
            vertical-align: 0;
            line-height: 1;
        }

    .footer-trust .benefit-icon svg,
    .footer-trust-icon svg {
        width: 1.2rem;
        height: 1.2rem;
        display: block;
    }

.footer-trust strong {
    display: block;
    color: var(--ink);
    font-family: "Poppins", system-ui, sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.25;
}

.footer-trust small {
    display: block;
    margin-top: 0.12rem;
    font-family: "Poppins", system-ui, sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--muted);
    line-height: 1.3;
}

.footer-newsletter {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin: 1.35rem auto 0;
    padding: 1.15rem 13.5rem 1.15rem 1.35rem;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
    color: var(--ink);
}

.newsletter-copy {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex: 0 1 auto;
    min-width: 0;
    z-index: 1;
}

.newsletter-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--green);
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    color: var(--white);
}

.newsletter-copy h2 {
    margin: 0 0 0.15rem;
    font-size: 1.15rem;
    font-weight: 700;
}

.newsletter-copy p {
    margin: 0;
    font-size: 0.82rem;
    color: var(--muted);
}

.newsletter-form {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    z-index: 1;
    flex: 0 0 50%;
    width: 50%;
    min-width: 0;
    margin-left: auto;
}

    .newsletter-form input {
        flex: 1;
        min-width: 0;
        height: 46px;
        padding: 0 1rem;
        border: 1px solid var(--line);
        border-radius: 10px;
        background: var(--white);
        color: var(--ink);
        outline: none;
    }

        .newsletter-form input::placeholder {
            color: #b0b0b0;
        }

    .newsletter-form button {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        height: 46px;
        padding: 0 1.15rem;
        border: 0;
        border-radius: 10px;
        background: var(--green);
        color: var(--white);
        font-weight: 700;
        white-space: nowrap;
    }

        .newsletter-form button:hover {
            background: #3db86a;
        }

.newsletter-visual {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 118%;
    width: 220px;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 28%);
    mask-image: linear-gradient(90deg, transparent, #000 28%);
}

.footer-main {
    padding: 2.35rem 0 2rem;
    background: var(--white);
    border-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(240px, 1.15fr) minmax(280px, 1.55fr) minmax(200px, 1.05fr) minmax(180px, 0.9fr);
    column-gap: 0;
    align-items: stretch;
}

.footer-brand,
.footer-col {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: auto;
    min-height: 0;
    padding: 0 1.75rem;
}

.footer-brand {
    padding-left: 0;
    padding-right: 1.75rem;
}

.footer-col:last-child {
    padding-right: 0;
}

.footer-col + .footer-col,
.footer-brand + .footer-col {
    border-left: 1px solid #e6e9e6;
}

.footer-brand p {
    margin: 0.9rem 0 0;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.6;
    color: #5a635c;
    max-width: 21.5rem;
    flex-shrink: 0;
}

.footer-trust {
    list-style: none;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.85rem;
    margin: 1.35rem 0 0;
    padding: 0;
    min-height: 0;
}

    .footer-trust li {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        min-width: 0;
        flex: 0 0 auto;
    }

        .footer-trust li > span:last-child {
            min-width: 0;
        }

.footer-logo {
    flex-shrink: 0;
    display: inline-flex;
    line-height: 0;
}

    .footer-logo img {
        height: 52px;
        width: auto;
        display: block;
    }

.footer-col h3 {
    margin: 0 0 1rem;
    font-family: "Poppins", system-ui, sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--green);
    line-height: 1.2;
    flex-shrink: 0;
}

    .footer-col h3::after {
        content: "";
        display: block;
        width: 32px;
        height: 3px;
        margin-top: 0.5rem;
        border-radius: 99px;
        background: var(--green);
    }

.footer-col a:not(.social):not(.store-badge):not(.footer-wa-card) {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.4rem;
    width: fit-content;
    max-width: 100%;
    margin: 0;
    padding: 0;
    font-family: "Poppins", system-ui, sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0.005em;
    color: #1f2421;
    text-decoration: none;
}

    .footer-col a:not(.social):not(.store-badge):not(.footer-wa-card):hover {
        color: var(--green);
    }

    .footer-col a:not(.social):not(.store-badge):not(.footer-wa-card) i {
        position: relative;
        top: 1px;
        font-size: 0.68rem;
        color: #a3aaa5;
        flex-shrink: 0;
        line-height: 1;
    }

.footer-col-shop {
    display: flex;
    flex-direction: column;
    height: auto;
}

.footer-shop-cols {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1.75rem;
    align-items: start;
    min-height: 0;
}

.footer-shop-col {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: auto;
    min-width: 0;
    min-height: 0;
    gap: 0.85rem;
}

.footer-support {
    display: flex;
    flex-direction: column;
    height: auto;
}

    .footer-support > nav {
        display: flex;
        flex-direction: column;
        flex: 0 0 auto;
        gap: 0.85rem;
    }

        .footer-support > nav > h3 {
            margin-bottom: 0.15rem;
        }

.footer-wa-block {
    flex: 0 0 auto;
    margin-top: 1.25rem;
    width: 100%;
    padding-top: 0;
}

    .footer-wa-block h3 {
        margin-bottom: 0.75rem;
    }

.footer-wa-card {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.65rem;
    width: 100%;
    padding: 0.7rem 0.8rem;
    border-radius: 12px;
    background: #eaf6eb;
    border: 1px solid #d4ebd8;
    color: var(--ink);
    text-decoration: none;
}

    .footer-wa-card:hover {
        background: #e2f2e4;
        color: var(--ink);
    }

.footer-wa-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #25d366;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    line-height: 1;
}

    .footer-wa-icon i {
        font-size: 1.2rem;
        color: var(--white);
        line-height: 1;
    }

.footer-wa-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.1rem;
    min-width: 0;
}

    .footer-wa-copy strong {
        font-family: "Poppins", system-ui, sans-serif;
        font-size: 0.875rem;
        font-weight: 700;
        color: var(--ink);
        line-height: 1.2;
    }

    .footer-wa-copy span {
        font-family: "Poppins", system-ui, sans-serif;
        font-size: 0.8125rem;
        font-weight: 500;
        color: #3a443e;
        line-height: 1.2;
    }

.footer-apps {
    display: flex;
    flex-direction: column;
    height: auto;
}

    .footer-apps > h3:first-child,
    .footer-apps > .footer-app-copy,
    .footer-apps > .store-badge {
        flex-shrink: 0;
    }

.footer-app-copy {
    margin: -0.4rem 0 0.8rem;
    font-family: "Poppins", system-ui, sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    color: #5a635c;
}

.store-badge {
    display: block !important;
    width: 155px;
    margin-bottom: 0.55rem;
    padding: 0 !important;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: inherit !important;
    line-height: 0;
    overflow: hidden;
}

    .store-badge img {
        display: block;
        width: 155px;
        height: auto;
        max-width: 100%;
    }

.follow-title {
    margin-top: auto !important;
    padding-top: 1.25rem;
}
.footer-social .social {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px;
    height: 38px;
    padding: 0 !important;
}

    .footer-social .social i {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 1em;
        height: 1em;
        margin: 0 !important;
        padding: 0 !important;
        top: 0 !important;
        vertical-align: 0 !important;
        line-height: 1 !important;
    }

        .footer-social .social i::before {
            display: block;
            width: 1em;
            height: 1em;
            line-height: 1 !important;
            vertical-align: 0 !important;
            text-align: center;
            transform: translateY(1px);
        }
.footer-social {
    display: flex;
    gap: 0.55rem;
    flex-shrink: 0;
}

.social {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--white) !important;
    padding: 0 !important;
    line-height: 1;
    text-decoration: none;
}

    .social i {
        font-size: 1.05rem !important;
        color: var(--white) !important;
        line-height: 1;
        margin: 0;
    }

.social-ig {
    background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
}

.social-fb {
    background: #1877f2;
}

.social-yt {
    background: #ff0000;
}

.social-wa {
    background: #25d366;
}

.footer-bottom {
    border-top: 0;
    padding: 0.9rem 0 1.1rem;
}

.footer-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--muted);
}

.footer-chips {
    display: flex;
    gap: 1.1rem;
    font-size: 0.78rem;
    color: var(--muted);
}

    .footer-chips i {
        color: var(--green);
        margin-right: 0.25rem;
    }

.footer-pay {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: var(--muted);
}

.footer-pay-icons {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.footer-pay-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 24px;
    padding: 0 0.4rem;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--white);
}

    .footer-pay-icon svg {
        display: block;
        height: 14px;
        width: auto;
    }

.footer-pay-icon--visa svg {
    width: 34px;
}

.footer-pay-icon--mc svg {
    width: 28px;
}

.footer-pay-icon--card {
    color: #272526;
    font-size: 0.95rem;
}

.footer-pay-icon--paypal {
    color: #003087;
    background: #ffc439;
    border-color: #e3b23d;
    font-size: 1.05rem;
}

.footer-pay b {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 0.4rem;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--white);
    color: #1a1f71;
    font-size: 0.68rem;
    font-weight: 800;
}

.footer-pay .pay-mc {
    color: #eb001b;
}

@media (max-width: 1199.98px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }

    .footer-brand,
    .footer-col {
        height: auto;
        min-height: 0;
        padding: 0 0 1.25rem;
        border-left: 0 !important;
    }

    .footer-brand {
        grid-column: 1 / -1;
        border-bottom: 1px solid #e8ebe8;
        margin-bottom: 0.65rem;
        padding-bottom: 1.35rem;
    }

    .footer-trust {
        flex: none;
        justify-content: flex-start;
        gap: 0.85rem;
    }

    .footer-shop-cols {
        flex: none;
    }

    .footer-shop-col {
        justify-content: flex-start;
        height: auto;
        min-height: 0;
        gap: 0.85rem;
    }

    .footer-wa-block {
        margin-top: 1.25rem;
        padding-top: 0;
    }

    .footer-col + .footer-col {
        border-left: 1px solid #e8ebe8 !important;
        padding-left: 1.15rem;
    }

    .footer-col:nth-child(2) {
        border-left: 0 !important;
        padding-left: 0;
    }

    .follow-title {
        margin-top: 1.25rem !important;
        padding-top: 0;
    }

    .newsletter-visual {
        display: none;
    }

    .footer-newsletter {
        padding: 1.15rem 1.35rem;
    }

    .footer-bottom-row {
        flex-wrap: wrap;
    }
}

.shop-section {
    padding: 1.15rem 0 2rem;
}

.shop-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.shop-crumb {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1rem;
    font-size: 0.82rem;
    color: var(--muted);
}

    .shop-crumb a:hover {
        color: var(--green-dark);
    }

    .shop-crumb i {
        font-size: 0.7rem;
    }

.shop-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 176px;
    margin-bottom: 0.75rem;
    padding: 1.5rem 1.7rem;
    overflow: hidden;
    border-radius: 18px;
    background: #7e9178;
    color: var(--white);
}

    .shop-hero::before {
        content: attr(data-watermark);
        position: absolute;
        left: 3.5%;
        top: 50%;
        transform: translateY(-50%);
        z-index: 0;
        font-family: "Poppins", system-ui, sans-serif;
        font-size: clamp(4.2rem, 10vw, 7rem);
        font-weight: 700;
        letter-spacing: -0.04em;
        line-height: 0.82;
        color: #6a5a3a;
        opacity: 0.32;
        text-transform: lowercase;
        white-space: nowrap;
        pointer-events: none;
    }

.shop-hero-media {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    overflow: hidden;
    clip-path: ellipse(95% 82% at 100% 50%);
}

    .shop-hero-media img,
    .shop-hero > img {
        width: 630px;
        height: 176px;
        max-width: none;
        object-fit: cover;
        object-position: center;
    }

.shop-hero-copy {
    position: relative;
    z-index: 1;
    max-width: min(38rem, 58%);
}

.shop-kicker {
    margin: 0 0 0.3rem;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--yellow);
}

.shop-hero .shop-kicker {
    color: #ef7d31;
}

.shop-hero h1 {
    margin: 0 0 0.4rem;
    font-family: "Poppins", system-ui, sans-serif;
    font-size: clamp(1.6rem, 2.2vw, 2.2rem);
    font-weight: 700;
}

.shop-hero-desc {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.92);
}

.shop-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.15rem;
    align-items: start;
}

.shop-content {
    min-width: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.shop-filters-col {
    min-width: 0;
    width: 100%;
}

.shop-main {
    min-width: 0;
    width: 100%;
    margin-top: 0;
    padding-top: 0;
}

/* Products fill middle; Filters sit on the right as an in-page column */
@media (min-width: 992px) {
    .shop-layout {
        display: flex;
        flex-wrap: nowrap;
        align-items: flex-start;
        justify-content: flex-start;
        gap: var(--site-gutter);
        grid-template-columns: none;
        width: 100%;
    }

    .shop-content {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        min-width: 0;
        width: auto;
        max-width: none;
        gap: 0.35rem;
    }

    .shop-toolbar {
        margin-bottom: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .shop-toolbar-row {
        width: 100%;
    }

    .shop-filters-col {
        flex: 0 0 clamp(220px, 18vw, 280px);
        width: clamp(220px, 18vw, 280px);
        align-self: stretch;
    }

    .shop-main {
        margin-top: 0;
        padding-top: 0;
        width: 100%;
    }

    .shop-filters {
        margin-top: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .shop-filters-head {
        min-height: 40px;
        margin-bottom: 0.35rem;
    }

    .shop-filters-foot {
        display: none;
    }
}

.shop-filters {
    position: sticky;
    top: 6.15rem;
    z-index: 3;
    max-height: calc(100vh - 6.5rem);
    overflow-y: auto;
    padding: 0.85rem 0.85rem 1rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
}

.shop-filters-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

    .shop-filters-head h2 {
        margin: 0;
        flex: 1;
        font-size: 1.02rem;
        font-weight: 700;
    }

.shop-clear {
    border: 0;
    background: transparent;
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0;
}

    .shop-clear:hover {
        color: var(--green-dark);
    }

.shop-filters-close {
    display: none;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: var(--green-soft);
    color: var(--green-dark);
}

.shop-filters-foot {
    display: none;
}

.filter-group {
    padding: 0.65rem 0 0.1rem;
    border-top: 1px solid var(--line);
    margin-top: 0.55rem;
}

    .filter-group h3 {
        margin: 0 0 0.55rem;
        font-size: 0.82rem;
        font-weight: 700;
        color: var(--ink);
    }

.filter-check {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.45rem;
    font-size: 0.84rem;
    color: var(--ink);
    cursor: pointer;
}

    .filter-check:hover span {
        color: var(--green-dark);
    }

    .filter-check input {
        width: 16px;
        height: 16px;
        margin: 0;
        accent-color: var(--green);
        flex-shrink: 0;
    }

.shop-toolbar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
    margin-bottom: 0;
}

.shop-toolbar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    min-height: 40px;
}

.shop-count {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 40px;
    letter-spacing: 0;
    white-space: nowrap;
}

.shop-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-shrink: 0;
}

.shop-filter-btn {
    display: none;
    align-items: center;
    gap: 0.35rem;
    height: 40px;
    padding: 0 0.9rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    color: var(--ink);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
}

.shop-sort {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    color: var(--muted);
}

    .shop-sort select {
        appearance: none;
        -webkit-appearance: none;
        height: 40px;
        padding: 0 2rem 0 0.75rem;
        border: 1px solid var(--line);
        border-radius: 10px;
        background-color: var(--white);
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23272526' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M2.5 4.5 6 8l3.5-3.5'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 0.65rem center;
        background-size: 12px 12px;
        color: var(--ink);
        font-family: inherit;
        font-size: 14px;
        font-weight: 500;
        line-height: 40px;
        letter-spacing: 0;
    }

        .shop-sort select:focus {
            outline: none;
            border-color: var(--green);
            box-shadow: var(--green-glow);
        }

.shop-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    min-height: 0;
}

    .shop-chips:empty,
    .shop-chips[hidden] {
        display: none !important;
        margin: 0 !important;
        padding: 0 !important;
        min-height: 0;
        height: 0;
        overflow: hidden;
    }

.shop-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    height: 28px;
    padding: 0 0.5rem 0 0.65rem;
    border: 0;
    border-radius: 999px;
    background: var(--green-soft);
    color: var(--green-dark);
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

    .shop-chip i {
        font-size: 0.7rem;
    }

.shop-grid,
.detail-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    align-items: stretch;
    width: 100%;
}

@media (min-width: 576px) {
    .shop-grid,
    .detail-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }
}

@media (min-width: 768px) {
    .shop-grid,
    .detail-card-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
    }
}

@media (min-width: 1025px) {
    .shop-grid,
    .detail-card-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 12px;
        justify-content: start;
    }
}

.shop-item {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    position: relative;
    z-index: 1;
    overflow: visible;
}

    .shop-item .product-card {
        flex: 1;
        width: 100%;
        height: 100%;
        margin-inline: 0;
        min-width: 0;
    }

    .shop-item:has(.qty-dropdown.is-open) {
        z-index: 8;
    }

    .shop-item .product-media {
        background: transparent;
        height: clamp(72px, 11vw, 132px);
    }

        .shop-item .product-media img {
            width: 200px;
            height: 200px;
            object-fit: contain;
            border-radius: 0;
        }

/*.shop-empty {
    margin: 2.5rem 0;
    text-align: center;
    color: var(--muted);
    font-size: 0.92rem;
}*/
.shop-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 45vh;
    margin: 2.5rem 0;
    text-align: center;
    color: var(--muted);
    font-size: 0.92rem;
}

    .shop-empty[hidden] {
        display: none !important;
    }
.shop-filter-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(36, 48, 40, 0.38);
}

@media (max-width: 991.98px) {
    .shop-layout {
        display: flex;
        flex-direction: column;
        grid-template-columns: minmax(0, 1fr);
    }

    .shop-filter-btn {
        display: inline-flex;
    }

    .shop-filters-col {
        display: block;
        width: 0;
        height: 0;
        overflow: visible;
        min-width: 0;
        pointer-events: none;
    }

    .shop-filters {
        position: fixed;
        top: 0;
        right: 0;
        left: auto;
        bottom: 0;
        z-index: 1300;
        width: min(360px, 88vw);
        max-width: min(360px, 88vw);
        height: 100%;
        max-height: 100dvh;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        padding: max(0.85rem, env(safe-area-inset-top)) 1rem calc(0.9rem + env(safe-area-inset-bottom));
        border: 0;
        border-left: 1px solid var(--line);
        border-radius: 0;
        box-shadow: -12px 0 40px rgba(39, 37, 38, 0.16);
        transform: translateX(105%);
        transition: transform 0.24s ease, visibility 0.24s ease;
        visibility: hidden;
        pointer-events: none;
    }

        .shop-filters.open {
            transform: translateX(0);
            visibility: visible;
            pointer-events: auto;
        }

    .shop-filters-col:has(.shop-filters.open) {
        pointer-events: auto;
    }

    .shop-filters-head {
        flex-shrink: 0;
        margin: 0 0 0.15rem;
        padding-bottom: 0.55rem;
        background: var(--white);
        border-bottom: 1px solid var(--line);
    }

        .shop-filters-head h2 {
            font-size: 1.08rem;
        }

    .shop-filters-close {
        display: grid;
        place-items: center;
    }

    .shop-filters .filter-group {
        overflow: visible;
    }

    .shop-filters-body {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.4rem;
    }

    .shop-filters-foot {
        display: block;
        flex-shrink: 0;
        padding-top: 0.75rem;
        background: var(--white);
        border-top: 1px solid var(--line);
    }

    .shop-filters-apply {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 48px;
        border: 0;
        border-radius: 12px;
        background: var(--green);
        color: var(--white);
        font-family: inherit;
        font-size: 0.95rem;
        font-weight: 600;
    }

    body.filters-open .page-main {
        z-index: 1300;
    }

    body.filters-open .site-top,
    body.filters-open .bottom-nav {
        z-index: 1;
    }

    .shop-filter-backdrop {
        z-index: 1290;
    }
}

@media (max-width: 575.98px) {
    .shop-toolbar {
        flex-wrap: wrap;
    }

    .shop-hero {
        min-height: 148px;
        padding: 1.2rem 1.1rem;
    }

        .shop-hero::before {
            font-size: 3.4rem;
            left: 1rem;
        }

    .shop-hero-media {
        width: 46%;
    }

    .shop-hero-copy {
        max-width: 62%;
    }
}

@media (max-width: 767.98px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand,
    .footer-col {
        min-height: 0;
        padding: 0 0 1.35rem;
        border-left: 0 !important;
        border-bottom: 1px solid #e8ebe8;
    }

    .footer-brand {
        grid-column: auto;
        margin-bottom: 0;
    }

    .footer-col + .footer-col,
    .footer-col:nth-child(2) {
        border-left: 0 !important;
        padding-left: 0;
    }

    .footer-col:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

    .footer-trust {
        flex: none;
        justify-content: flex-start;
        margin-top: 1rem;
        gap: 0.85rem;
    }

    .footer-shop-cols {
        flex: none;
        grid-template-columns: 1fr;
        column-gap: 0;
        row-gap: 0.85rem;
    }

    .footer-shop-col {
        justify-content: flex-start;
        height: auto;
        min-height: 0;
        gap: 0.85rem;
    }

    .footer-support > nav {
        gap: 0.85rem;
    }

    .footer-wa-block {
        margin-top: 1.15rem;
        padding-top: 0;
    }

    .follow-title {
        margin-top: 1.1rem !important;
        padding-top: 0;
    }

    .footer-newsletter,
    .newsletter-form {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-chips,
    .footer-pay {
        flex-wrap: wrap;
    }
}

html.cart-open,
html.login-open,
html.zip-open,
html.scroll-locked,
html.is-sidebar-open,
html.order-detail-open,
html.cart-open body,
html.login-open body,
html.zip-open body,
html.scroll-locked body,
html.is-sidebar-open body,
html.order-detail-open body {
    overflow: hidden;
    overscroll-behavior: none;
}

.cart-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1070;
    background: rgba(36, 48, 40, 0.42);
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1080;
    width: min(400px, 92vw);
    background: var(--white);
    box-shadow: -8px 0 32px rgba(36, 48, 40, 0.16);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.28s ease;
}

    .cart-drawer.open {
        /* `none` (not translateX(0)): iOS Safari often ignores <a> taps inside a transformed ancestor */
        transform: none;
    }

.cart-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.05rem 1.15rem;
    border-bottom: 1px solid var(--line);
}

    .cart-drawer-head h2 {
        margin: 0;
        font-family: "Poppins", system-ui, sans-serif;
        font-size: 1.2rem;
        font-weight: 600;
    }

    .cart-drawer-head p {
        margin: 0.1rem 0 0;
        color: var(--muted);
        font-size: 0.8rem;
    }

.cart-store {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.65rem;
    padding: 0.8rem 1rem 0.65rem;
    border-bottom: 1px solid var(--line);
}

    .cart-store img {
        width: 46px;
        height: 46px;
        object-fit: contain;
        border: 1px solid var(--line);
        border-radius: 6px;
        background: var(--white);
    }

    .cart-store div {
        min-width: 0;
        display: grid;
        gap: 0.1rem;
    }

    .cart-store strong {
        overflow: hidden;
        font-size: 0.88rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .cart-store span {
        color: var(--muted);
        font-size: 0.8rem;
    }

    .cart-store > b {
        align-self: start;
        font-size: 0.88rem;
    }

.cart-minimum {
    margin: 0.55rem 0.65rem 0;
    padding: 0.55rem 0.65rem;
    border-radius: 4px;
    background: #dff3e5;
    color: #45534a;
    font-size: 0.78rem;
    font-weight: 500;
}

    .cart-minimum strong {
        color: var(--green-dark);
    }

    .cart-minimum.is-met {
        background: #e7f5ea;
        color: var(--green-dark);
    }

.cart-drawer-close {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #f7f7f7;
    color: var(--ink);
    display: grid;
    place-items: center;
    cursor: pointer;
}

    .cart-drawer-close:hover {
        background: var(--green);
        color: var(--white);
    }

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 0.85rem 0.65rem;
    display: grid;
    gap: 0.85rem;
    align-content: start;
}

.cart-item {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 0.85rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--line);
}

    .cart-item img {
        width: 44px;
        height: 62px;
        object-fit: contain;
        border-radius: 4px;
        background: #f4f6f4;
    }

.cart-item-info {
    min-width: 0;
    width: 100%;
}

    .cart-item-info h3 {
        margin: 0;
        min-width: 0;
        flex: 1;
        font-size: 14px;
        font-weight: 400;
        line-height: 1.3;
        color: #09121c;
    }

    .cart-item-info p {
        margin: 0.15rem 0 0.4rem;
        color: var(--muted);
        font-size: 0.78rem;
    }

.cart-item-top,
.cart-item-actions,
.cart-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    margin-bottom: 6px;
}

    .cart-item-top strong,
    .cart-item-row strong,
    .cart-item-info > strong {
        flex: 0 0 auto;
        color: #09121c;
        font-size: 14px;
        font-weight: 600;
    }

.cart-remove {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0 0 auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
}

    .cart-remove i {
        margin: 0;
        font-size: 12px;
        line-height: 1;
        color: var(--muted);
    }

    .cart-remove span {
        margin: 0;
        padding: 0;
    }

    .cart-remove:hover {
        color: #c0392b;
    }

        .cart-remove:hover i {
            color: #c0392b;
        }

.cart-qty {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    margin-left: auto;
    gap: 0.2rem;
}

    .cart-qty button {
        width: 26px;
        height: 26px;
        border: 1px solid var(--green);
        border-radius: 6px;
        background: var(--green);
        color: var(--white);
        font-size: 18px;
        font-weight: 500;
        line-height: 1;
        cursor: pointer;
    }

        .cart-qty button:hover {
            background: var(--green-dark);
            border-color: var(--green-dark);
            color: var(--white);
        }

    .cart-qty span {
        min-width: 1.35em;
        text-align: center;
        color: var(--green);
        font-size: 14px;
        font-weight: 600;
    }

.cart-empty {
    margin: 2rem 0;
    color: var(--muted);
    text-align: center;
}

.cart-stock-row {
    display: flex;
    align-items: center;
    min-height: 1.05rem;
    margin: -0.05rem 0 0.35rem;
}

.cart-stock {
    font-size: 0.72rem;
    font-weight: 600;
}

.cart-stock-ok {
    color: var(--green);
}

.cart-stock-out {
    color: #c0392b;
}

.cart-item.is-stock-invalid {
    background: rgba(192, 57, 43, 0.035);
}

.cart-qty button:disabled,
.product-stepper button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

[data-cart-stock-message] {
    margin: 0.65rem 0;
    padding: 0.65rem 0.75rem;
    border: 1px solid rgba(192, 57, 43, 0.25);
    border-radius: 8px;
    background: rgba(192, 57, 43, 0.06);
    color: #a93226;
    font-size: 0.8rem;
    line-height: 1.35;
}

.cart-drawer.is-empty .cart-drawer-foot {
    opacity: 0.55;
    pointer-events: none;
}

.cart-checkout.is-disabled {
    pointer-events: none;
    opacity: 0.65;
}

.cart-count.is-zero {
    display: none;
}

.cart-drawer-foot {
    padding: 0.45rem 0.65rem calc(1rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--line);
    background: var(--white);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.cart-delivery-note {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    margin-bottom: 0.55rem;
    border-radius: 4px;
    background: #3f4542;
    color: var(--white);
    font-size: 0.86rem;
    font-weight: 600;
}

    .cart-delivery-note[hidden] {
        display: none !important;
    }

    .cart-delivery-note i {
        margin-right: 0.35rem;
        font-size: 1.1rem;
    }

.cart-bill {
    display: grid;
    gap: 0.4rem;
    margin-bottom: 0.9rem;
    font-size: 0.88rem;
}

    .cart-bill > div {
        display: flex;
        justify-content: space-between;
        color: var(--muted);
    }

.cart-free {
    color: var(--green);
    font-weight: 600;
}

.cart-total {
    padding-top: 0.45rem;
    border-top: 1px dashed var(--line);
    color: var(--ink) !important;
    font-size: 1rem;
}

.cart-drawer-actions {
    display: grid;
    gap: 0.55rem;
}

.cart-checkout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: var(--radius);
    background: var(--green);
    color: var(--white);
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    z-index: 2;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.18);
}

    .cart-checkout:hover {
        background: var(--green-dark);
        color: var(--white);
    }

.login-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1090;
    display: grid;
    place-items: center;
    padding: clamp(0.85rem, 2.5vw, 1.75rem);
    background: rgba(36, 48, 40, 0.48);
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: none;
}

    .login-backdrop[hidden] {
        display: none !important;
    }

.login-modal {
    position: relative;
    display: grid;
    grid-template-columns: 339px minmax(0, 1fr);
    width: min(720px, calc(100vw - 2.5rem));
    max-width: 100%;
    height: auto;
    min-height: 0;
    max-height: min(90dvh, 90vh);
    align-items: stretch;
    grid-template-rows: minmax(0, 1fr);
    background: var(--white);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(36, 48, 40, 0.24);
}

.login-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #eef1ee;
    color: #6b746e;
    font-size: 1rem;
    display: grid;
    place-items: center;
    cursor: pointer;
}

    .login-modal-close:hover {
        background: #e4e8e4;
        color: var(--ink);
    }

.login-modal-left {
    position: relative;
    display: block;
    padding: 0;
    min-height: 100%;
    min-width: 0;
    overflow: hidden;
}

.login-left-copy {
    display: none;
}

.login-left-visual {
    position: absolute;
    inset: 0;
    margin: 0;
    line-height: 0;
    overflow: hidden;
}

    .login-left-visual img {
        width: 100%;
        height: 105%;
        min-height: 0;
        object-fit: cover;
        object-position: center;
        display: block;
    }

.login-modal-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 1.75rem 1.5rem 1.5rem;
    background: var(--white);
    min-width: 0;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.login-modal[data-auth-mode="signup"] .login-modal-right h2 {
    white-space: normal;
    margin-bottom: 0.85rem;
}

.login-modal[data-auth-mode="signup"] .login-brand-logo {
    width: 136px;
    margin-bottom: 0.65rem;
}

.login-brand-logo {
    width: 148px;
    height: auto;
    margin: 0 auto 0.85rem;
    display: block;
}

.login-modal-right h2 {
    margin: 0 0 0.25rem;
    text-align: center;
    font-family: "Poppins", system-ui, sans-serif;
    font-size: clamp(1.15rem, 2.2vw, 1.4rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--ink);
    letter-spacing: -0.01em;
    white-space: normal;
    overflow-wrap: anywhere;
}

.login-subtitle {
    margin: 0 0 0.85rem;
    text-align: center;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.4;
}

.login-social-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
}

.login-social {
    width: 100%;
    height: 44px;
    margin: 0;
    border: 1px solid #d9ddd9;
    border-radius: 12px;
    background: var(--white);
    color: var(--ink);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    cursor: pointer;
}

    .login-social:hover {
        background: #f7f8f7;
        border-color: #c9cfc9;
    }

.login-social-fb {
    color: #1877f2;
    font-size: 1.2rem;
}

.login-or {
    display: flex;
    align-items: center;
    margin: 0 0 0.75rem;
    color: var(--muted);
    font-size: 0.78rem;
}

    .login-or::before,
    .login-or::after {
        content: "";
        flex: 1;
        height: 1px;
        background: var(--line);
    }

    .login-or span {
        padding: 0 0.75rem;
        white-space: nowrap;
    }

.login-form {
    margin: 0;
}

.login-field-label {
    display: block;
    margin: 0 0 0.3rem;
    color: #5f6a63;
    font-size: 0.82rem;
    font-weight: 600;
    text-align: left;
}

.login-field {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    height: 46px;
    padding: 0 0.9rem;
    border: 1.5px solid #d5dad5;
    border-radius: 12px;
    background: var(--white);
}

    .login-field:focus-within {
        border-color: var(--green);
        box-shadow: var(--green-glow);
    }

    .login-field > i {
        color: #9aa39c;
        font-size: 1.1rem;
    }

.login-password-toggle {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    margin-right: -0.25rem;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #9aa39c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

    .login-password-toggle:hover,
    .login-password-toggle:focus-visible {
        color: var(--ink);
        background: #f3f5f3;
        outline: none;
    }

    .login-password-toggle i {
        font-size: 1.05rem;
        line-height: 1;
    }

.login-field input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--ink);
}

.login-hint {
    margin: 0.5rem 0 1.15rem;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.4;
    text-align: left;
}

.login-continue {
    width: 100%;
    height: 46px;
    margin-top: 0.75rem;
    border: 0;
    border-radius: 12px;
    background: var(--green);
    color: var(--white);
    font-family: inherit;
    font-size: 0.98rem;
    font-weight: 700;
    cursor: pointer;
}

    .login-continue:hover {
        background: var(--green-dark);
    }

.login-legal {
    margin: 0.75rem 0 0;
    color: var(--muted);
    font-size: 0.74rem;
    line-height: 1.45;
    text-align: center;
}

    .login-legal a {
        color: var(--green);
        font-weight: 700;
        text-decoration: none;
    }

        .login-legal a:hover {
            text-decoration: underline;
            color: var(--green-dark);
        }

.login-auth-view[hidden] {
    display: none !important;
}

.login-signin-form .login-field-label + .login-field + .login-field-label {
    margin-top: 0.55rem;
}

.login-signup-form .login-field-label {
    margin-top: 0.45rem;
    margin-bottom: 0.22rem;
    font-size: 0.8rem;
}

    .login-signup-form .login-field-label:first-of-type {
        margin-top: 0;
    }

.login-signup-form .login-field {
    height: 44px;
}

.login-signup-form .login-continue {
    height: 44px;
    margin-top: 0.65rem;
}

.login-signup-form .login-hint,
.login-signup-error {
    margin: 0.3rem 0 0;
    min-height: 0;
}

    .login-signup-error:not([hidden]) {
        color: #b42318;
        font-weight: 600;
        min-height: 1.1em;
    }

.login-switch {
    margin: 0.7rem 0 0;
    text-align: center;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.4;
}

    .login-switch button {
        border: 0;
        background: none;
        padding: 0;
        margin: 0;
        color: var(--green);
        font: inherit;
        font-weight: 700;
        cursor: pointer;
    }

        .login-switch button:hover {
            color: var(--green-dark);
            text-decoration: underline;
        }

.zip-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    max-width: none;
    z-index: 1100;
    display: grid;
    place-items: center;
    padding: 1.25rem;
    background: rgba(36, 48, 40, 0.55);
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: none;
}

    .zip-backdrop[hidden] {
        display: none !important;
    }

.zip-modal {
    position: relative;
    width: min(440px, 100%);
    max-width: 100%;
    margin: 0;
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
    overscroll-behavior: none;
    background: var(--white);
    border-radius: 28px;
    padding: 2.1rem 1.7rem 1.7rem;
    text-align: center;
    box-shadow: 0 24px 64px rgba(36, 48, 40, 0.22);
}

@media (max-height: 700px) {
    .zip-modal {
        max-height: min(90dvh, 90vh);
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
    }
}

.zip-modal-close {
    position: sticky;
    float: right;
    top: 0;
    margin: -0.4rem -0.4rem 0 0;
    z-index: 3;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #6b746e;
    font-size: 1.05rem;
    display: grid;
    place-items: center;
    cursor: pointer;
}

    .zip-modal-close[hidden] {
        display: none !important;
    }

    .zip-modal-close:hover {
        background: #f3f4f3;
        color: var(--ink);
    }

.zip-modal-logo {
    width: 168px;
    height: auto;
    margin: 0 auto 0.85rem;
}

.zip-modal-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 0.95rem;
    border-radius: 50%;
    background: var(--green-soft);
    color: var(--green-dark);
    display: grid;
    place-items: center;
    font-size: 1.4rem;
}

.zip-modal h2 {
    margin: 0 0 0.4rem;
    font-family: "Poppins", system-ui, sans-serif;
    font-size: 1.55rem;
    font-weight: 600;
    color: var(--ink);
}

.zip-modal p#zipCopy {
    margin: 0 0 1.2rem;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.45;
}

.zip-form {
    margin: 0;
}

.zip-field {
    position: relative;
    width: 100%;
}

.zip-input-row {
    display: flex;
    align-items: center;
    height: 52px;
    border: 1px solid #cfd4cf;
    border-radius: 12px;
    padding: 0 1rem;
    background: var(--white);
}

    .zip-input-row:focus-within {
        border-color: var(--green);
        box-shadow: var(--green-glow);
    }

    .zip-input-row > i {
        color: #9aa39a;
        font-size: 1.05rem;
        margin-right: 0.55rem;
    }

    .zip-input-row input {
        flex: 1;
        min-width: 0;
        border: 0;
        outline: none;
        background: transparent;
        font-family: inherit;
        font-size: 0.95rem;
        color: var(--ink);
        letter-spacing: 0.04em;
    }

.zip-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 0.85rem;
    height: 50px;
    border: 0;
    border-radius: 12px;
    background: var(--green);
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
}

    .zip-check:hover {
        background: var(--green-dark);
    }

.zip-error {
    margin: 0.55rem 0 0;
    color: #c62828;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.35;
    text-align: left;
}

.zip-detected {
    display: none !important;
}

.zip-error[hidden] {
    display: none !important;
}

.zip-locate {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    margin-top: 0;
    padding: 0.75rem 0.75rem;
    height: 50px;
    border: 1.5px solid var(--green);
    border-radius: 12px;
    background: var(--white);
    color: var(--green);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
}

    .zip-locate i {
        color: var(--green);
    }

    .zip-locate:hover {
        border-color: var(--green-dark);
        background: #f4fbf6;
        color: var(--green-dark);
    }

.zip-detected {
    margin-top: 1rem;
    text-align: left;
}

    .zip-detected[hidden] {
        display: none !important;
    }

.zip-detected-label {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 600;
}

.zip-detected-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: var(--green-soft);
    border: 1px solid #d7eadc;
}

    .zip-detected-card strong {
        color: var(--ink);
        font-size: 0.95rem;
        font-weight: 700;
    }

.zip-detected-pin {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--green);
    font-size: 0.92rem;
    font-weight: 700;
    white-space: nowrap;
}

.zip-detected-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

    .zip-detected-check i {
        font-size: 0.78rem;
        line-height: 1;
        color: var(--white);
    }

.zip-or {
    display: flex;
    align-items: center;
    margin: 1rem 0;
    color: var(--muted);
    font-size: 0.82rem;
}

    .zip-or::before,
    .zip-or::after {
        content: "";
        flex: 1;
        height: 1px;
        background: var(--line);
    }

    .zip-or span {
        padding: 0 0.75rem;
    }

.zip-cities {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

    .zip-cities button {
        border: 1px solid var(--line);
        background: var(--white);
        color: var(--ink);
        border-radius: 999px;
        padding: 0.4rem 0.85rem;
        font-family: inherit;
        font-size: 0.84rem;
        font-weight: 600;
        cursor: pointer;
    }

        .zip-cities button span {
            color: var(--muted);
            font-weight: 500;
            margin-left: 0.15rem;
        }

        .zip-cities button:hover,
        .zip-cities button.is-selected {
            border-color: var(--green);
            background: var(--green-soft);
            color: var(--green-dark);
        }

            .zip-cities button.is-selected span,
            .zip-cities button:hover span {
                color: var(--green-dark);
            }

@media (max-width: 991.98px) {
    .login-modal {
        grid-template-columns: 1fr;
        width: min(480px, calc(100vw - 1.5rem));
        height: auto;
        min-height: 0;
        max-height: min(90dvh, 90vh);
    }

    .login-modal-left {
        display: none;
    }

    .login-modal-right {
        padding: 2.35rem 1.6rem 1.75rem;
    }

        .login-modal-right h2 {
            font-size: 1.5rem;
        }

    .login-brand-logo {
        width: 148px;
        margin-bottom: 1rem;
    }

    .login-social-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 575.98px) {
    .login-modal {
        width: 100%;
        border-radius: 22px 22px 0 0;
        height: auto;
        min-height: 0;
        max-height: min(92dvh, 92vh);
    }

    .login-modal-right {
        padding: 2rem 1.2rem 1.5rem;
    }

    .login-social-row {
        grid-template-columns: 1fr;
    }

    .login-continue,
    .login-social,
    .login-field {
        height: 50px;
    }
}

.checkout-section {
    padding: 1.15rem 0 2.5rem;
    background: #ffffff;
}

.checkout-container {
    width: min(100%, 1080px);
    max-width: 1080px;
    margin: 0 auto;
    padding-inline: 0;
}

.checkout-kicker {
    color: var(--green-dark);
}

.checkout-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

    .checkout-head h1 {
        margin: 0;
        font-family: "Poppins", system-ui, sans-serif;
        font-size: clamp(1.55rem, 2.2vw, 2rem);
        font-weight: 700;
    }

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.85fr) minmax(280px, 340px);
    grid-template-areas:
        "order summary"
        "forms summary";
    gap: 1rem;
    align-items: start;
}

[data-checkout-page]:not(.is-authed):not(.is-guest) .checkout-layout {
    grid-template-areas:
        "auth summary"
        "order summary"
        "forms summary";
}

[data-checkout-page]:not(.is-authed):not(.is-guest) .checkout-order,
[data-checkout-page]:not(.is-authed):not(.is-guest) .checkout-main {
    position: relative;
    opacity: 0.48;
    filter: grayscale(0.35);
    pointer-events: none;
    user-select: none;
}

    [data-checkout-page]:not(.is-authed):not(.is-guest) .checkout-order::after,
    [data-checkout-page]:not(.is-authed):not(.is-guest) .checkout-main::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 2;
        border-radius: 16px;
        background: rgba(247, 248, 247, 0.35);
        pointer-events: none;
    }

[data-checkout-page]:not(.is-authed):not(.is-guest) [data-logged-address-action] {
    display: none;
}

.checkout-auth-card {
    grid-area: auth;
    margin-bottom: 0;
}

.checkout-order {
    grid-area: order;
    margin-bottom: 0;
}

.checkout-main {
    grid-area: forms;
}

    .checkout-main .checkout-card:last-child {
        margin-bottom: 0;
    }

.checkout-card,
.checkout-summary-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.checkout-auth-card {
    display: grid;
    gap: 1rem;
    padding: 1.2rem 1.25rem;
    background: linear-gradient(180deg, #f4fbf6 0%, #ffffff 70%);
    border: 1px solid #cfe8d4;
}

    .checkout-auth-card[hidden] {
        display: none !important;
    }

.checkout-auth-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
}

.checkout-auth-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
    margin-left: auto;
}

.checkout-auth-copy {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.checkout-auth-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--green-soft);
    color: var(--green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.checkout-auth-copy h2 {
    margin: 0 0 0.25rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
}

.checkout-auth-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.45;
}

.checkout-auth-actions .checkout-solid {
    min-height: 42px;
    padding: 0 1.1rem;
    border: 0;
    border-radius: 10px;
    background: var(--green);
    color: var(--white);
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
}

    .checkout-auth-actions .checkout-solid:hover {
        background: var(--green-dark);
    }

@media (max-width: 575.98px) {
    .checkout-auth-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .checkout-auth-buttons {
        width: 100%;
        margin-left: 0;
        flex-direction: column;
        align-items: stretch;
    }

    .checkout-auth-actions .checkout-solid,
    .checkout-auth-actions .checkout-outline,
    .checkout-auth-actions .checkout-ghost {
        width: 100%;
        text-align: center;
        text-decoration: none;
    }
}

.checkout-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 1rem;
    border: 1.5px solid var(--green);
    border-radius: 10px;
    background: var(--white);
    color: var(--green);
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
}

    .checkout-outline:hover {
        background: #f4fbf6;
    }

.checkout-auth-actions .checkout-ghost {
    min-height: 42px;
    padding: 0 0.85rem;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

    .checkout-auth-actions .checkout-ghost:hover {
        color: var(--green-dark);
    }

.checkout-guest-hint {
    margin: 0.75rem 0 0;
}

.checkout-address-empty {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    padding: 1rem 1.05rem;
    margin-bottom: 0.85rem;
    border: 1px dashed #c9d6cb;
    border-radius: 12px;
    background: #f7faf7;
}

    .checkout-address-empty[hidden] {
        display: none !important;
    }

.checkout-address-empty-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 0.25rem;
    border-radius: 50%;
    background: var(--green-soft);
    color: var(--green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}

.checkout-address-empty strong {
    color: var(--ink);
    font-size: 0.95rem;
}

.checkout-address-empty p {
    margin: 0;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.4;
}

[data-checkout-page].is-authed.has-no-address [data-logged-address-action] {
    display: none;
}

.checkout-page.is-guest [data-saved-addresses],
.checkout-page.is-guest [data-logged-address-action],
.checkout-page.is-guest [data-guest-hide],
.checkout-page.is-guest #walletRow,
[data-checkout-page].is-guest [data-saved-addresses],
[data-checkout-page].is-guest [data-logged-address-action],
[data-checkout-page].is-guest [data-guest-hide],
[data-checkout-page].is-guest #walletRow {
    display: none !important;
}

[data-checkout-page].is-guest #addressForm {
    display: block !important;
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

    [data-checkout-page].is-guest #addressForm .checkout-form-actions {
        display: none;
    }

[data-checkout-page].is-authed [data-checkout-auth],
[data-checkout-page].is-guest [data-checkout-auth] {
    display: none !important;
}

[data-checkout-page].is-guest [data-checkout-guest] {
    display: block !important;
}

.checkout-card {
    padding: 1.15rem 1.2rem 1.25rem;
    margin-bottom: 1rem;
}

.checkout-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

    .checkout-card-head h2,
    .checkout-summary-card h2 {
        margin: 0;
        display: flex;
        align-items: center;
        gap: 0.55rem;
        font-size: 1.05rem;
        font-weight: 700;
    }

        .checkout-card-head h2 > i {
            color: var(--green);
            font-size: 1.05rem;
            line-height: 1;
        }

.checkout-order-title i {
    color: var(--green);
    font-size: 1.2rem;
    line-height: 1;
}

.checkout-order-title [data-order-item-count] {
    font-weight: 700;
}

.checkout-step-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--green-soft);
    color: var(--green-dark);
    display: grid;
    place-items: center;
    font-size: 0.78rem;
    font-weight: 700;
}

.checkout-text-btn {
    border: 0;
    background: none;
    color: var(--green);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

    .checkout-text-btn i {
        font-size: 0.95rem;
        line-height: 1;
    }

    .checkout-text-btn:hover {
        color: var(--green-dark);
    }

.checkout-hint {
    margin: -0.35rem 0 0.85rem;
    color: var(--muted);
    font-size: 0.82rem;
}

.checkout-address-list {
    display: grid;
    gap: 0.7rem;
}

.checkout-pay-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
}

.checkout-choice {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 0.75rem;
    align-items: start;
    padding: 0.85rem 0.95rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    cursor: pointer;
    background: var(--white);
}

.checkout-pay-list .checkout-choice {
    align-items: center;
    min-width: 0;
    padding: 0.75rem 0.7rem;
}

.checkout-pay-list .checkout-choice-top strong {
    font-size: 0.82rem;
}

.checkout-pay-list .checkout-choice-body > span:not(.checkout-choice-top) {
    display: none;
}

.checkout-pay-list .pay-brand {
    display: none;
}

.checkout-choice input {
    margin-top: 0.2rem;
    accent-color: var(--green);
}

.checkout-choice.selected {
    border-color: #d5d7db;
    background: #fbfbfb;
    box-shadow: none;
}

.checkout-choice-body {
    display: grid;
    gap: 0.18rem;
    font-size: 0.82rem;
    color: var(--muted);
}

.checkout-choice-top {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.checkout-address-list .checkout-choice-top {
    justify-content: space-between;
}

.checkout-make-default {
    border: 0;
    background: none;
    color: var(--green);
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0;
    cursor: pointer;
    white-space: nowrap;
}

    .checkout-make-default:hover {
        color: var(--green-dark);
    }

.checkout-choice-top strong {
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.checkout-choice-top em {
    font-style: normal;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--green-dark);
    background: var(--green-soft);
    border-radius: 999px;
    padding: 0.12rem 0.45rem;
}

.checkout-address-form {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--line);
}

.checkout-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

    .checkout-form-grid .span-2,
    .checkout-field {
        grid-column: 1 / -1;
    }

    .checkout-form-grid label,
    .checkout-field {
        display: grid;
        gap: 0.35rem;
        font-size: 0.78rem;
        font-weight: 600;
        color: var(--ink);
    }

        .checkout-form-grid input,
        .checkout-field input,
        .checkout-promo input {
            height: 44px;
            width: 100%;
            border: 1px solid var(--line);
            border-radius: 10px;
            padding: 0 0.85rem;
            font-family: inherit;
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--ink);
            background: var(--white);
        }

            .checkout-form-grid input:focus,
            .checkout-field input:focus,
            .checkout-promo input:focus {
                outline: none;
                border-color: var(--green);
                box-shadow: var(--green-glow);
            }

.checkout-type-set {
    border: 0;
    margin: 0.2rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

    .checkout-type-set legend {
        font-size: 0.78rem;
        font-weight: 600;
        margin-bottom: 0.4rem;
    }

    .checkout-type-set label {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        font-size: 0.84rem;
        font-weight: 500;
        cursor: pointer;
    }

    .checkout-type-set input {
        accent-color: var(--green);
    }

.checkout-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.6rem;
    margin-top: 0.95rem;
}

.checkout-ghost,
.checkout-solid {
    height: 42px;
    padding: 0 1.05rem;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
}

.checkout-ghost {
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--ink);
}

.checkout-solid {
    border: 0;
    background: var(--green);
    color: var(--white);
}

    .checkout-solid:hover {
        background: var(--green-dark);
    }

.checkout-slots {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.65rem;
}

.checkout-slot {
    position: relative;
    display: grid;
    gap: 0.12rem;
    padding: 0.8rem 0.65rem 0.7rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    background: var(--white);
}

    .checkout-slot input {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

.checkout-slot-check {
    position: absolute;
    top: 0.35rem;
    right: 0.35rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    display: none;
    place-items: center;
    font-size: 0.7rem;
    line-height: 1;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

    .checkout-slot-check i {
        display: block;
        line-height: 1;
    }

.checkout-slot strong {
    font-size: 0.78rem;
    color: var(--ink);
}

.checkout-slot > span:not(.checkout-slot-check) {
    font-size: 0.84rem;
    font-weight: 500;
    color: #464c48;
}

.checkout-slot small {
    color: var(--green);
    font-size: 12px;
    font-weight: 500;
}

.checkout-slot.selected {
    border-color: #d5d7db;
    background: #fbfbfb;
    box-shadow: none;
}

    .checkout-slot.selected .checkout-slot-check {
        display: grid;
    }

.pay-method-icon {
    width: 1.05rem;
    height: 1.05rem;
    flex-shrink: 0;
    display: block;
}

.pay-method-icon--paypal,
.checkout-choice-top .bi-paypal {
    color: #003087;
    font-size: 1.1rem;
    line-height: 1;
}

.pay-method-icon--apple,
.checkout-choice-top .bi-apple {
    color: #111;
    font-size: 1.1rem;
    line-height: 1;
}

.checkout-pay-panel {
    margin-top: 0.95rem;
}

.pay-brand {
    display: inline-flex;
    align-items: center;
    margin-left: 0.15rem;
    padding: 0.12rem 0.45rem;
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1;
    text-transform: none;
}

.pay-brand--stripe {
    background: #635bff;
    color: #fff;
}

.pay-brand--paypal {
    background: #ffc439;
    color: #003087;
}

.pay-brand--apple {
    background: #111;
    color: #fff;
}

.gateway-panel {
    padding: 0.95rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fbfbfb;
}

.gateway-panel-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.35rem 0.75rem;
    margin-bottom: 0.85rem;
}

    .gateway-panel-head strong {
        color: var(--ink);
        font-size: 0.92rem;
    }

    .gateway-panel-head span {
        color: var(--muted);
        font-size: 0.78rem;
    }

.gateway-secure-note {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    margin: 0.85rem 0 0;
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.45;
}

    .gateway-secure-note i {
        margin-top: 0.1rem;
        color: var(--green);
    }

.paypal-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    min-height: 46px;
    border: 0;
    border-radius: 999px;
    background: #ffc439;
    color: #003087;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    transition: filter 0.15s ease, transform 0.15s ease;
}

    .paypal-cta:hover {
        filter: brightness(0.97);
    }

    .paypal-cta:active {
        transform: translateY(1px);
    }

    .paypal-cta i {
        font-size: 1.15rem;
    }

    .paypal-cta.is-ready {
        box-shadow: 0 0 0 3px rgba(0, 112, 186, 0.18);
    }

.applepay-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    min-height: 46px;
    border: 0;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    transition: filter 0.15s ease, transform 0.15s ease;
}

    .applepay-cta:hover {
        filter: brightness(1.12);
    }

    .applepay-cta:active {
        transform: translateY(1px);
    }

    .applepay-cta i {
        font-size: 1.15rem;
    }

    .applepay-cta.is-ready {
        box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.18);
    }

.checkout-summary {
    grid-area: summary;
    position: sticky;
    top: 92px;
    display: grid;
    gap: 1rem;
    align-content: start;
}

.checkout-summary-card {
    padding: 1.15rem 1.15rem 1.2rem;
}

.checkout-promo-card h2 {
    margin-bottom: 0.8rem;
}

.checkout-promo-card .checkout-promo-msg {
    margin-bottom: 0;
}

.checkout-minimum-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    margin: 0 0 1rem;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    background: #e8f5e9;
    border: 1px solid #cfe6d2;
    color: #2f4f33;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.35;
}

    .checkout-minimum-note[hidden] {
        display: none !important;
    }

.checkout-summary-card h2.checkout-order-summary-title {
    margin: 0 0 1.05rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.05rem;
    font-weight: 700;
}

.checkout-order-summary-title i {
    color: var(--green);
    font-size: 1.15rem;
    line-height: 1;
}

.checkout-promo-block {
    margin-top: 0.15rem;
}

    .checkout-promo-block .purchase-summary-title {
        margin-top: 0.95rem;
        margin-bottom: 0.7rem;
    }

.checkout-order-summary .checkout-promo {
    margin-top: 0;
    margin-bottom: 0.35rem;
}

.checkout-order-summary .checkout-promo-msg {
    margin: 0.25rem 0 0.55rem;
    padding-left: 0;
}

.checkout-items {
    display: grid;
    gap: 0;
    margin: 0.15rem 0 0;
}

.checkout-item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 0.9rem;
    align-items: center;
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--line);
}

    .checkout-item:last-child {
        padding-bottom: 0.15rem;
        border-bottom: 0;
    }

    .checkout-item img {
        width: 72px;
        height: 72px;
        object-fit: cover;
        border-radius: 12px;
        background: #f4f6f4;
    }

.checkout-item-info {
    min-width: 0;
}

.checkout-item h3 {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.3;
}

.checkout-item p {
    margin: 0.18rem 0 0;
    color: var(--muted);
    font-size: 0.8rem;
}

.checkout-item-meta {
    display: grid;
    justify-items: end;
    gap: 0.4rem;
}

    .checkout-item-meta strong {
        font-size: 14px;
        font-weight: 500;
    }

.checkout-item .cart-qty button {
    background: var(--green);
    border-color: var(--green);
    color: var(--white);
}

    .checkout-item .cart-qty button:hover {
        background: var(--green-dark);
        border-color: var(--green-dark);
        color: var(--white);
    }

.checkout-promo {
    display: flex;
    gap: 0.45rem;
    margin-bottom: 0.45rem;
}

    .checkout-promo button {
        height: 44px;
        padding: 0 1.05rem;
        border: 0;
        border-radius: 10px;
        background: var(--green);
        color: var(--white);
        font-family: inherit;
        font-size: 0.84rem;
        font-weight: 600;
        cursor: pointer;
        white-space: nowrap;
    }

        .checkout-promo button:hover {
            background: var(--green-dark);
            color: var(--white);
        }

.checkout-promo-msg {
    margin: 0 0 0.7rem;
    font-size: 0.78rem;
    font-weight: 600;
}

    .checkout-promo-msg.ok {
        color: var(--green-dark);
    }

    .checkout-promo-msg.err {
        color: var(--coral);
    }

.checkout-wallet {
    margin: 0.85rem 0 0.2rem;
    padding: 0.9rem 0.95rem;
    border: 1px solid #cfe0cb;
    border-radius: 12px;
    background: linear-gradient(180deg, #f4fbf6 0%, #ffffff 100%);
}

.checkout-wallet-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

    .checkout-wallet-top strong {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        color: var(--ink);
        font-size: 0.92rem;
    }

        .checkout-wallet-top strong i {
            color: var(--green);
        }

    .checkout-wallet-top p {
        margin: 0.28rem 0 0;
        color: var(--muted);
        font-size: 0.78rem;
    }

    .checkout-wallet-top b {
        color: var(--green-dark);
        font-weight: 700;
    }

.wallet-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--ink);
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

    .wallet-toggle input {
        width: 16px;
        height: 16px;
        accent-color: var(--green);
    }

.wallet-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
}

    .wallet-switch input {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

.wallet-switch-ui {
    position: relative;
    width: 44px;
    height: 26px;
    flex-shrink: 0;
    border-radius: 999px;
    background: #cfd6d1;
    transition: background 0.2s ease;
}

    .wallet-switch-ui::after {
        content: "";
        position: absolute;
        top: 3px;
        left: 3px;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: var(--white);
        box-shadow: 0 1px 3px rgba(39, 37, 38, 0.2);
        transition: transform 0.2s ease;
    }

.wallet-switch input:checked + .wallet-switch-ui {
    background: var(--green);
}

    .wallet-switch input:checked + .wallet-switch-ui::after {
        transform: translateX(18px);
    }

.wallet-switch-text {
    display: grid;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.wallet-switch-on {
    display: none;
    color: var(--green-dark);
}

.wallet-switch-off {
    display: block;
    color: var(--muted);
}

.wallet-switch input:checked ~ .wallet-switch-text .wallet-switch-on {
    display: block;
}

.wallet-switch input:checked ~ .wallet-switch-text .wallet-switch-off {
    display: none;
}

.wallet-apply-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.55rem;
    align-items: end;
    margin-top: 0.75rem;
}

.wallet-amount-field {
    display: grid;
    gap: 0.35rem;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 600;
}

    .wallet-amount-field > span {
        display: flex;
        align-items: center;
        gap: 0.35rem;
        min-height: 42px;
        padding: 0 0.7rem;
        border: 1px solid var(--line);
        border-radius: 10px;
        background: var(--white);
    }

    .wallet-amount-field input {
        width: 100%;
        border: 0;
        background: transparent;
        font: inherit;
        color: var(--ink);
        font-weight: 700;
        outline: none;
    }

.wallet-max-btn {
    height: 42px;
    padding: 0 0.85rem;
    border: 1px solid var(--green);
    border-radius: 10px;
    background: var(--white);
    color: var(--green-dark);
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
}

    .wallet-max-btn:hover {
        background: var(--green-soft);
    }

.wallet-hint {
    margin: 0.55rem 0 0;
    color: var(--muted);
    font-size: 0.74rem;
    line-height: 1.4;
}

.checkout-wallet.is-off .wallet-apply-row,
.checkout-wallet.is-off .wallet-hint {
    opacity: 0.45;
    pointer-events: none;
}

.checkout-bill {
    display: grid;
    gap: 0.42rem;
    padding: 0.85rem 0;
    border-top: 1px dashed var(--line);
    font-size: 14px;
    font-weight: 400;
}

    .checkout-bill > div {
        display: flex;
        justify-content: space-between;
        gap: 0.75rem;
        color: #272526;
    }

        .checkout-bill > div > span:first-child {
            display: inline-flex;
            align-items: center;
            gap: 0.3rem;
        }

.fee-info-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: #9aa39c;
    line-height: 1;
    cursor: pointer;
}

    .fee-info-btn .bi-info-circle,
    .checkout-bill .bi-info-circle {
        font-size: 0.78rem;
        color: inherit;
    }

    .fee-info-btn:hover,
    .fee-info-btn[aria-expanded="true"] {
        color: var(--green-dark);
    }

.fee-info-overlay {
    position: fixed;
    inset: 0;
    z-index: 1080;
}

    .fee-info-overlay[hidden] {
        display: none !important;
    }

.fee-info-scrim {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(20, 28, 22, 0.38);
    cursor: pointer;
}

.fee-info-panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    gap: 0.7rem;
    padding: 0.45rem 1.15rem calc(1.15rem + env(safe-area-inset-bottom));
    border-radius: 18px 18px 0 0;
    background: var(--white);
    box-shadow: 0 -10px 32px rgba(20, 28, 22, 0.16);
    animation: feeInfoSheetIn 0.28s ease;
}

.fee-info-caret {
    display: none;
}

.fee-info-handle {
    display: block;
    width: 36px;
    height: 4px;
    margin: 0.2rem auto 0.15rem;
    border-radius: 99px;
    background: #d5dbd6;
}

.fee-info-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

    .fee-info-head h3 {
        margin: 0;
        color: var(--ink);
        font-size: 1.02rem;
        font-weight: 700;
    }

.fee-info-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f3f5f3;
    color: var(--ink);
    cursor: pointer;
}

.fee-info-rows {
    display: grid;
    gap: 0.55rem;
    padding: 0.15rem 0 0.2rem;
}

.fee-info-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--ink);
    font-size: 0.9rem;
}

    .fee-info-row strong {
        font-weight: 700;
    }

    .fee-info-row .fee-info-strike {
        margin-right: 0.4rem;
        color: #9aa39c;
        font-weight: 500;
        text-decoration: line-through;
    }

    .fee-info-row .fee-info-free {
        color: var(--green);
        font-weight: 800;
    }

.fee-info-copy {
    margin: 0;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.45;
}

@keyframes feeInfoSheetIn {
    from {
        transform: translateY(18px);
        opacity: 0.6;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (min-width: 992px) {
    .fee-info-overlay {
        pointer-events: none;
    }

    .fee-info-scrim {
        background: transparent;
        pointer-events: none;
    }

    .fee-info-panel {
        pointer-events: auto;
        left: auto;
        right: auto;
        bottom: auto;
        width: min(320px, calc(100vw - 24px));
        padding: 0.95rem 1rem 1rem;
        border-radius: 14px;
        box-shadow: 0 12px 32px rgba(20, 28, 22, 0.18);
        animation: feeInfoPopIn 0.16s ease;
    }

    .fee-info-handle {
        display: none;
    }

    .fee-info-caret {
        display: block;
        position: absolute;
        top: -7px;
        width: 14px;
        height: 14px;
        margin-left: -7px;
        background: var(--white);
        transform: rotate(45deg);
        box-shadow: -2px -2px 4px rgba(20, 28, 22, 0.06);
    }

    .fee-info-panel.is-above .fee-info-caret {
        top: auto;
        bottom: -7px;
        box-shadow: 2px 2px 4px rgba(20, 28, 22, 0.06);
    }

    .fee-info-head h3 {
        font-size: 0.95rem;
    }

    .fee-info-close {
        width: 28px;
        height: 28px;
        font-size: 0.78rem;
    }

    @keyframes feeInfoPopIn {
        from {
            transform: translateY(6px);
            opacity: 0;
        }

        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
}

.purchase-summary {
    margin-top: 0.15rem;
}

.purchase-summary-title {
    margin: 0.95rem 0 0;
    padding-top: 0;
    border-top: 0;
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

.checkout-summary-card > h2 + .checkout-wallet {
    margin-top: 0.85rem;
}

.purchase-bill {
    border-top: 0;
    padding-top: 0.7rem;
}

.fee-value {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.4rem;
    color: #272526;
    white-space: nowrap;
}

    .fee-value del {
        color: #272526;
        font-size: 14px;
        font-weight: 400;
        text-decoration: line-through;
        text-decoration-thickness: 1.5px;
    }

.fee-free-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0.14rem 0.48rem;
    border-radius: 6px;
    background: #f5c518;
    color: #1a1a1a;
    font-size: 0.7rem;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.15;
    text-transform: uppercase;
}

.fee-free {
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: none;
    color: var(--green);
    font-size: 0.88rem;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.delivery-tip {
    margin: 0 0 0.85rem;
    padding: 0 0 0.95rem;
    border-bottom: 1px solid var(--line);
}

.delivery-tip-label {
    display: block;
    margin-bottom: 0.65rem;
    color: var(--ink);
    font-size: 0.92rem;
}

.delivery-tip-options {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.45rem;
}

.tip-option {
    min-height: 40px;
    border: 1px solid #cfe0cb;
    border-radius: 8px;
    background: var(--white);
    color: var(--green);
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

    .tip-option:hover {
        border-color: var(--green);
        color: var(--green-dark);
        background: #f4fbf6;
    }

    .tip-option.active {
        background: var(--green);
        border-color: var(--green);
        color: var(--white);
    }

.tip-custom {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.65rem;
    padding: 0 0.7rem;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fafafa;
}

.tip-custom-prefix {
    color: var(--muted);
    font-weight: 700;
}

.tip-custom input {
    width: 100%;
    border: 0;
    background: transparent;
    font: inherit;
    color: var(--ink);
    outline: none;
}

.delivery-tip-note {
    margin: 0.55rem 0 0;
    color: var(--muted);
    font-size: 0.74rem;
}

.payment-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.15rem;
    padding: 0.95rem 0 0.15rem;
    border-top: 0;
    color: var(--ink);
    font-size: 1.02rem;
    font-weight: 700;
}

.checkout-terms {
    margin: 0.75rem 0 0;
    color: var(--muted);
    font-size: 0.74rem;
    line-height: 1.45;
}

    .checkout-terms a {
        color: var(--green);
        font-weight: 600;
    }

        .checkout-terms a:hover {
            color: var(--green-dark);
            text-decoration: underline;
        }

.checkout-terms-check {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 0.55rem;
    align-items: start;
    margin: 0.85rem 0 0;
    color: var(--muted);
    font-size: 0.74rem;
    line-height: 1.45;
    cursor: pointer;
}

    .checkout-terms-check input {
        margin-top: 0.15rem;
        width: 16px;
        height: 16px;
        accent-color: var(--green);
    }

    .checkout-terms-check a {
        color: var(--green);
        font-weight: 600;
    }

        .checkout-terms-check a:hover {
            color: var(--green-dark);
            text-decoration: underline;
        }

.checkout-terms-error {
    margin: 0.4rem 0 0;
    color: var(--coral);
    font-size: 0.74rem;
    font-weight: 600;
}

.checkout-wallet-line .wallet-line-check {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
    color: var(--green);
    cursor: pointer;
}

    .checkout-wallet-line .wallet-line-check input {
        width: 15px;
        height: 15px;
        flex-shrink: 0;
        accent-color: var(--green);
    }

    .checkout-wallet-line .wallet-line-check > span {
        color: var(--green);
        font-weight: 700;
    }

.checkout-wallet-line #walletValue {
    color: var(--green);
    font-weight: 600;
}

.checkout-wallet-line.is-off .wallet-line-check > span {
    color: var(--ink);
    font-weight: 600;
}

.checkout-wallet-line.is-off #walletValue {
    color: var(--muted);
    font-weight: 700;
}

.cart-checkout:disabled,
.checkout-sticky button:disabled,
.cart-checkout.is-disabled,
.checkout-sticky button.is-disabled {
    opacity: 0.55;
    cursor: not-allowed;
    filter: grayscale(0.15);
    pointer-events: none;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.checkout-discount span:last-child {
    color: var(--green);
    font-weight: 600;
}

.checkout-total {
    padding-top: 0.5rem;
    border-top: 1px dashed var(--line);
    color: var(--ink) !important;
    font-size: 1.02rem;
}

.checkout-delivery-meta {
    margin-top: 0.85rem;
    padding: 0.85rem 0.95rem;
    border-radius: 12px;
    background: #f4fbf6;
    border: 1px solid #dceee1;
    display: grid;
    gap: 0.45rem;
}

.checkout-eta,
.checkout-ship {
    margin: 0;
    color: var(--ink);
    font-size: 0.82rem;
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    line-height: 1.4;
}

    .checkout-eta i,
    .checkout-ship i {
        color: var(--green);
        margin-top: 0.1rem;
        flex-shrink: 0;
    }

    .checkout-eta strong {
        font-weight: 700;
    }

.checkout-summary-card .cart-checkout {
    margin-top: 0.95rem;
    gap: 0.45rem;
    font-weight: 600;
}

.checkout-summary-card .checkout-terms {
    margin-top: 0.75rem;
}

.checkout-sticky {
    display: none;
}

.checkout-success-backdrop {
    z-index: 1100;
    padding: clamp(0.85rem, 3vw, 1.75rem);
    align-items: center;
    justify-items: center;
}

.checkout-success {
    position: relative;
    z-index: 1;
    width: min(560px, calc(100vw - 2rem));
    max-width: 100%;
    height: auto;
    min-height: 0;
    max-height: min(90dvh, 90vh);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--white);
    border-radius: 24px;
    padding: clamp(1.35rem, 3.5vw, 2rem) clamp(1.25rem, 3.5vw, 2rem) clamp(1.4rem, 3.5vw, 1.85rem);
    text-align: center;
    box-shadow: 0 24px 64px rgba(36, 48, 40, 0.22);
}

.checkout-success-close {
    position: sticky;
    float: right;
    top: 0.35rem;
    margin: -0.35rem -0.35rem 0 0;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #9aa39c;
    display: grid;
    place-items: center;
    font-size: 1.05rem;
    cursor: pointer;
    z-index: 1;
}

    .checkout-success-close:hover {
        color: var(--ink);
        background: #f3f5f3;
    }

.checkout-success-hero {
    padding: 0.45rem 0.5rem 0.2rem;
}

.checkout-success-confetti-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.checkout-success-icon {
    position: relative;
    width: 84px;
    height: 84px;
    margin: 0.25rem auto 1.05rem;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    display: grid;
    place-items: center;
    font-size: 2.25rem;
    box-shadow: 0 0 0 12px rgba(46, 160, 67, 0.12);
    animation: checkout-success-pop 0.55s cubic-bezier(0.22, 1.35, 0.36, 1);
}

@keyframes checkout-success-pop {
    0% {
        transform: scale(0.55);
        opacity: 0;
    }

    70% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.checkout-success h2 {
    margin: 0 0 0.5rem;
    font-family: "Poppins", system-ui, sans-serif;
    font-size: clamp(1.35rem, 2.6vw, 1.65rem);
    line-height: 1.25;
}

.checkout-success-thanks {
    margin: 0 auto 0.85rem;
    max-width: 36rem;
    color: var(--muted);
    font-size: clamp(0.88rem, 1.8vw, 0.98rem);
    line-height: 1.5;
}

    .checkout-success-thanks strong {
        color: var(--ink);
        font-weight: 700;
    }

.checkout-success-order-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.95rem;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: var(--green-soft);
    color: var(--green-dark);
    font-size: 0.88rem;
    font-weight: 700;
}

.checkout-success-notify {
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.45rem;
    margin: 0 auto 1.25rem;
    max-width: 34rem;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.45;
    text-align: left;
}

    .checkout-success-notify i {
        color: var(--green);
        margin-top: 0.12rem;
        flex-shrink: 0;
    }

.checkout-success-delivery {
    display: grid;
    gap: 0;
    margin: 0 0 0.9rem;
    padding: 0.2rem 1.15rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #f7f9f7;
    text-align: left;
}

.checkout-success-delivery-row {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: start;
    padding: 1rem 0;
}

    .checkout-success-delivery-row + .checkout-success-delivery-row {
        border-top: 1px solid var(--line);
    }

.checkout-success-delivery-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--green-soft);
    color: var(--green);
    display: grid;
    place-items: center;
    font-size: 1rem;
    margin-top: 0.05rem;
}

.checkout-success-delivery-copy {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}

    .checkout-success-delivery-copy > span {
        color: var(--muted);
        font-size: 0.8rem;
    }

    .checkout-success-delivery-copy strong {
        color: var(--ink);
        font-size: 0.95rem;
        font-weight: 700;
        line-height: 1.4;
        overflow-wrap: anywhere;
    }

.checkout-success-status {
    margin: 0.15rem 0 0;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    background: var(--green-soft);
    color: var(--green-dark);
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 700;
    white-space: nowrap;
}

.checkout-success-pay {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
    margin: 0 0 1.2rem;
    padding: 1rem 1.15rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
    text-align: left;
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 600;
}

.checkout-success-pay-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--green-soft);
    color: var(--green);
    display: grid;
    place-items: center;
    font-size: 1.05rem;
}

.checkout-success-pay strong {
    font-size: 1.05rem;
    font-weight: 800;
}

.checkout-success-actions {
    display: grid;
    gap: 0.75rem;
}

.checkout-success-track,
.checkout-success-continue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 52px;
    padding: 0 1.15rem;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.98rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.checkout-success-track {
    background: var(--green);
    color: var(--white);
    border: 1px solid var(--green);
}

    .checkout-success-track:hover {
        background: var(--green-dark);
        border-color: var(--green-dark);
        color: var(--white);
    }

.checkout-success-continue {
    background: var(--white);
    color: var(--green);
    border: 1.5px solid var(--green);
}

    .checkout-success-continue:hover {
        background: #f4fbf6;
        color: var(--green-dark);
        border-color: var(--green-dark);
    }

/* legacy meta kept harmless if referenced elsewhere */
.checkout-success-meta {
    display: none;
}

@media (max-width: 767.98px) {
    .checkout-success-backdrop {
        padding: 0.65rem;
        align-items: end;
        justify-items: stretch;
    }

    .checkout-success {
        width: 100%;
        max-width: none;
        max-height: min(92dvh, 92vh);
        margin: 0;
        border-radius: 22px 22px 0 0;
        padding: 1.35rem 1.15rem max(1.35rem, env(safe-area-inset-bottom));
    }

    .checkout-success-delivery-row,
    .checkout-success-pay {
        grid-template-columns: 32px minmax(0, 1fr);
    }

    .checkout-success-status {
        grid-column: 2;
        justify-self: start;
        margin-top: 0.35rem;
    }

    .checkout-success-pay strong {
        grid-column: 2;
        justify-self: start;
        margin-top: 0.15rem;
    }

    .checkout-success-icon {
        width: 76px;
        height: 76px;
        font-size: 2.05rem;
    }

    .checkout-success-actions {
        gap: 0.65rem;
    }

    .checkout-success-track,
    .checkout-success-continue {
        min-height: 50px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .checkout-success {
        width: min(520px, calc(100vw - 2.5rem));
    }
}

@media (max-width: 991.98px) {
    .checkout-section {
        padding-bottom: 5.5rem;
    }

    .checkout-layout {
        grid-template-columns: 1fr !important;
        grid-template-areas:
            "order"
            "summary"
            "forms";
    }

    [data-checkout-page]:not(.is-authed):not(.is-guest) .checkout-layout {
        grid-template-areas:
            "auth"
            "order"
            "summary"
            "forms";
    }

    .checkout-summary {
        position: static;
    }

    .checkout-slots {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .checkout-sticky {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1030;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.85rem;
        padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
        background: var(--white);
        border-top: 1px solid var(--line);
        box-shadow: 0 -8px 24px rgba(36, 48, 40, 0.08);
    }

        .checkout-sticky small {
            display: block;
            color: var(--muted);
            font-size: 0.72rem;
        }

        .checkout-sticky strong {
            font-size: 1.05rem;
        }

        .checkout-sticky button {
            height: 44px;
            padding: 0 1.15rem;
            border: 0;
            border-radius: 10px;
            background: var(--green);
            color: var(--white);
            font-family: inherit;
            font-weight: 700;
            cursor: pointer;
        }
}

@media (max-width: 575.98px) {
    .checkout-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .checkout-form-grid,
    .checkout-slots {
        grid-template-columns: 1fr 1fr;
    }

    .delivery-tip-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Product detail */
.detail-page {
    background: #fff;
    padding: 1rem 0 3rem;
}

.detail-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.detail-crumb {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1rem;
    color: var(--muted);
    font-size: 0.76rem;
}

    .detail-crumb a:hover {
        color: var(--green);
    }

    .detail-crumb i {
        font-size: 0.62rem;
    }

.detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
    min-height: 590px;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.detail-gallery,
.detail-info {
    padding: 1.6rem;
}

.detail-gallery {
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--line);
    min-width: 0;
}

.detail-media {
    display: flex;
    align-items: stretch;
    gap: 0.9rem;
}

.detail-thumbs-col {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 auto;
}

.detail-main-media {
    position: relative;
    display: grid;
    place-items: center;
    flex: 1;
    min-width: 0;
    height: 390px;
    border-radius: 14px;
    background: #fbfcfb;
}

    .detail-main-media img {
        width: min(360px, 80%);
        height: 340px;
        object-fit: contain;
    }

        /* Keep the main image area stable while the live product image is loading.
   This prevents the default image from flashing before the real image appears. */
        .detail-main-media img.detail-image-pending {
            visibility: hidden;
        }

.detail-off {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 1;
    padding: 0.28rem 0.55rem;
    border-radius: 6px;
    background: #e53935;
    color: var(--white);
    font-size: 0.7rem;
    /*font-weight: 800;*/
}

.detail-thumbs {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.5rem;
    margin-top: 0;
    max-height: 338px;
    overflow-y: auto;
    padding: 2px;
    scrollbar-width: none;
}

    .detail-thumbs::-webkit-scrollbar {
        display: none;
    }

    .detail-thumbs button {
        flex: 0 0 auto;
        width: 58px;
        height: 58px;
        padding: 4px;
        border: 2px solid var(--line);
        border-radius: 8px;
        background: #fff;
        cursor: pointer;
    }

        .detail-thumbs button:hover,
        .detail-thumbs button.active,
        .detail-thumbs button:focus,
        .detail-thumbs button:focus-visible {
            border-color: var(--green);
            outline: none;
        }

        .detail-thumbs button:focus-visible {
            box-shadow: var(--green-glow);
        }

    .detail-thumbs img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.detail-specs {
    margin-top: auto;
    padding-top: 1.15rem;
    border-top: 1px solid var(--line);
    min-width: 0;
    width: 100%;
}

    .detail-specs h2,
    .detail-benefits h2 {
        margin: 0 0 0.85rem;
        font-size: 1rem;
        font-weight: 700;
    }

    .detail-specs dl {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 2rem;
        row-gap: 0.65rem;
        margin: 0;
    }

        .detail-specs dl div {
            display: flex;
            align-items: flex-start;
            justify-content: flex-start;
            gap: 0.65rem;
            min-width: 0;
            font-size: 0.76rem;
        }

    .detail-specs dt {
        flex: 0 0 78px;
        width: 78px;
        margin: 0;
        padding-top: 0.25rem;
        font-weight: 400;
        white-space: nowrap;
    }

    .detail-specs dd {
        flex: 1 1 auto;
        margin: 0;
        font-weight: 600;
        text-align: left;
        min-width: 0;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

.detail-spec-values {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
    line-height: 1.4;
}

.detail-spec-tag {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 0.22rem 0.55rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface, #fff);
    font-weight: 600;
    white-space: normal;
    overflow-wrap: anywhere;
}

.detail-spec-single,
.detail-spec-empty {
    display: inline-block;
    min-width: 0;
}

.detail-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.detail-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem 0.7rem;
    margin: 0 0 0.45rem;
}

.detail-info .detail-stock {
    margin: 0;
    padding: 0.3rem 0.75rem;
    font-size: 0.78rem;
    border-radius: 6px;
    flex: 0 0 auto;
    align-self: center;
}

.detail-info h1 {
    margin: 0;
    font-family: "Poppins", system-ui, sans-serif;
    font-size: clamp(1.55rem, 2.6vw, 2.15rem);
    font-weight: 600;
    line-height: 1.18;
}

.detail-size {
    margin: 0 0 0.35rem;
    color: var(--muted);
    font-size: 0.82rem;
}

.detail-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
}

    .detail-price-row strong {
        font-size: 1.45rem;
    }

    .detail-price-row del {
        color: #9aa19c;
        font-size: 0.9rem;
    }

    .detail-price-row span {
        padding: 0.16rem 0.42rem;
        border-radius: 4px;
        background: #e53935;
        color: var(--white);
        font-size: 11px;
        font-weight: 500;
        letter-spacing: 0.02em;
    }

.detail-tax {
    margin: 0.1rem 0 1.15rem;
    color: var(--muted);
    font-size: 0.7rem;
}

.detail-pack {
    width: 100%;
    margin-bottom: 1rem;
}

    .detail-pack > p {
        margin: 0 0 0.55rem;
        font-size: 0.82rem;
        font-weight: 700;
    }

    .detail-pack > div {
        display: flex;
        gap: 0.6rem;
    }

    .detail-pack button {
        display: grid;
        gap: 0.12rem;
        min-width: 105px;
        padding: 0.55rem 0.75rem;
        border: 1px solid var(--line);
        border-radius: 9px;
        background: #fff;
        color: var(--ink);
        text-align: left;
        font: inherit;
        font-size: 0.75rem;
        cursor: pointer;
    }

        .detail-pack button strong {
            font-size: 0.82rem;
        }

        .detail-pack button.active {
            border-color: var(--green);
            /*background: var(--green-soft);*/
            color: var(--green-dark);
        }

.detail-actions {
    display: flex;
    align-items: stretch;
    gap: 0.65rem;
    width: 100%;
}

.detail-buy-wrap {
    flex: 0 1 auto;
    width: auto;
    max-width: 220px;
    display: flex;
}

    .detail-buy-wrap .detail-stepper {
        width: 100%;
        min-width: 180px;
        height: 48px;
        border-radius: 6px;
        justify-content: space-between;
        padding: 0;
    }

        .detail-buy-wrap .detail-stepper button {
            width: 48px;
            min-width: 48px;
            flex: 0 0 48px;
        }

        .detail-buy-wrap .detail-stepper span {
            flex: 1;
            text-align: center;
            font-size: 1rem;
        }

.detail-add {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    min-width: 160px;
    max-width: 220px;
    height: 48px;
    padding: 0 1.35rem;
    border: 0;
    border-radius: 6px;
    background: var(--green);
    color: #fff;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

    .detail-add:hover {
        background: var(--green-dark);
    }

.detail-wish {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    flex: 0 0 auto;
    min-width: 0;
    height: 48px;
    padding: 0 1rem;
    border: 1px solid #d5d9d9;
    border-radius: 6px;
    background: #fff;
    color: var(--ink);
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

    .detail-wish:hover {
        background: #f7fafa;
        border-color: #c2c8c8;
    }

    .detail-wish i {
        font-size: 1rem;
        color: #2b8c2e;
    }

.detail-wishactive {
    border-color: var(--green);
    background: var(--green-soft);
    color: var(--green-dark);
}

.detail-wish.is-saved {
    border-color: var(--green);
    color: var(--green-dark);
    background: var(--green-soft);
}

    .detail-wish.is-saved i {
        color: var(--green);
    }

.detail-benefits {
    width: 100%;
    margin-top: auto;
    padding-top: 1.1rem;
    border-top: 1px solid var(--line);
}

.detail-benefit {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.75rem;
}

    .detail-benefit > span {
        width: 38px;
        height: 38px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        background: #f9f9fd;
        color: #000000;
    }

    .detail-benefit p {
        display: grid;
        margin: 0;
    }

    .detail-benefit strong {
        font-size: 0.78rem;
    }

    .detail-benefit small {
        color: var(--muted);
        font-size: 0.68rem;
    }

.detail-section {
    padding: 1.9rem 0 0.5rem;
}

    .detail-section.aisle-section {
        padding: 1.9rem 0 1rem;
        overflow: visible;
    }

        .detail-section.aisle-section .aisle-row {
            margin: 0;
        }

@media (max-width: 1024px) {
    [data-similar-aisle] .aisle-nav {
        display: none;
    }
}

.detail-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

    .detail-section-head h2 {
        margin: 0;
        font-size: 1.15rem;
        font-weight: 700;
    }

    .detail-section-head a,
    .detail-section-head .aisle-seeall {
        color: var(--green);
        font-size: 0.88rem;
        font-weight: 600;
    }

        .detail-section-head .aisle-seeall .bi-arrow-right {
            font-size: 1rem;
            line-height: 1;
        }

        .detail-section-head .aisle-seeall:hover {
            color: var(--green-dark);
        }

.detail-card-grid .product-media {
    text-decoration: none;
    color: inherit;
}

.recipe-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

    .recipe-grid a {
        position: relative;
        height: 150px;
        overflow: hidden;
        border-radius: 12px;
        background: #222;
    }

    .recipe-grid img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.78;
    }

    .recipe-grid span {
        position: absolute;
        left: 0.8rem;
        bottom: 0.65rem;
        color: #fff;
        font-size: 0.82rem;
        font-weight: 700;
        text-shadow: 0 1px 8px rgba(0,0,0,.5);
    }

.detail-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem max(1.25rem, calc((100% - 1200px) / 2));
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.78rem;
}

    .detail-footer > div {
        display: flex;
        align-items: center;
        gap: 0.8rem;
    }

    .detail-footer img {
        width: 86px;
    }

    .detail-footer p {
        margin: 0;
    }

@media (max-width: 991.98px) {
    .detail-hero {
        grid-template-columns: 1fr;
    }

    .detail-gallery {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }
}

@media (max-width: 575.98px) {
    .detail-page {
        padding-top: 0.65rem;
    }

    .detail-container {
        padding: 0 0.75rem;
    }

    .detail-hero {
        border-radius: 12px;
    }

    .detail-gallery, .detail-info {
        padding: 1rem;
    }

    .detail-main-media {
        height: 290px;
    }

        .detail-main-media img {
            height: 250px;
        }

    .detail-thumbs {
        max-height: 248px;
    }

        .detail-thumbs button {
            width: 48px;
            height: 48px;
        }

    .detail-add,
    .detail-wish,
    .detail-buy-wrap .detail-stepper {
        height: 44px;
        font-size: 0.82rem;
    }

    .recipe-grid {
        grid-template-columns: 1fr 1fr;
    }

        .recipe-grid a {
            height: 120px;
        }

    .detail-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* ===== My Account ===== */
/* Bootstrap Icons use vertical-align: -.125em, which shifts glyphs
   to the top-left inside circular flex/grid containers. Reset that. */
.account-section .bi::before {
    vertical-align: 0;
    line-height: 1;
}

.account-section .account-quick-icon,
.account-section .account-order-eta-icon,
.account-section .account-wallet-hero-icon,
.account-section .account-wallet-mini-icon,
.account-section .account-address-icon,
.account-section .account-logout-icon,
.account-section .account-wish-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .account-section .account-quick-icon .bi,
    .account-section .account-order-eta-icon .bi,
    .account-section .account-wallet-hero-icon .bi,
    .account-section .account-wallet-mini-icon .bi,
    .account-section .account-address-icon .bi,
    .account-section .account-logout-icon .bi,
    .account-section .account-wish-remove .bi {
        display: block;
        line-height: 1;
        width: 1em;
        height: 1em;
        color: inherit;
    }

.account-section {
    --account-ink: #000000;
    --account-muted: #666666;
    --account-line: #e0e0e0;
    --account-divider: #eeeeee;
    --account-green: #28a745;
    --account-green-dark: #1e7e34;
    --account-green-soft: #e8f5e9;
    --account-logout: #d9534f;
    --account-page: #ffffff;
    padding: 1.15rem 0 2.75rem;
    background: var(--account-page);
    color: var(--account-ink);
}

.account-container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 0;
}

.account-crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.65rem;
    color: var(--account-muted);
    font-size: 0.8125rem;
    font-weight: 400;
}

    .account-crumb a {
        color: var(--account-muted);
        text-decoration: none;
    }

        .account-crumb a:hover {
            color: var(--account-green);
        }

.account-head {
    margin-bottom: 1.25rem;
}

    .account-head h1 {
        margin: 0 0 0.35rem;
        font-family: "Poppins", system-ui, sans-serif;
        font-size: clamp(2rem, 3vw, 2.25rem);
        font-weight: 700;
        color: var(--account-ink);
        letter-spacing: -0.02em;
    }

    .account-head p {
        margin: 0;
        color: var(--account-ink);
        font-size: 1.125rem;
        font-weight: 600;
    }

.account-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 1.15rem;
    align-items: start;
}

.account-nav {
    display: grid;
    gap: 0.85rem;
    padding: 1rem 0.85rem 0.85rem;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--account-line);
    box-shadow: none;
}

.account-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.25rem 0.35rem 0.85rem;
    border-bottom: 1px solid var(--account-divider);
}

.account-avatar {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    border-radius: 50%;
    background: var(--account-green);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    flex-shrink: 0;
    overflow: hidden;
}

.account-profile-copy {
    min-width: 0;
    flex: 1;
}

.account-profile-name-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: nowrap;
    min-width: 0;
}

    .account-profile-name-row strong {
        display: block;
        color: var(--account-ink);
        font-size: 0.95rem;
        line-height: 1.25;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        min-width: 0;
    }

.account-profile [data-account-welcome] {
    display: block;
    color: var(--account-muted);
    font-size: 0.78rem;
    margin-top: 0.1rem;
}

.account-profile-edit-card .checkout-form-grid {
    margin-top: 0.35rem;
}

.account-profile-preview {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #f7faf7;
}

    .account-profile-preview .account-avatar,
    .account-avatar--lg {
        width: 56px;
        height: 56px;
        min-width: 56px;
        min-height: 56px;
        border-radius: 50%;
        background: var(--green-soft);
        color: var(--green);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1.05rem;
        font-weight: 800;
        line-height: 1;
        flex-shrink: 0;
        margin: 0;
        overflow: hidden;
    }

    .account-profile-preview > div {
        min-width: 0;
    }

    .account-profile-preview strong {
        display: block;
        color: var(--ink);
        font-size: 0.98rem;
        line-height: 1.3;
    }

    .account-profile-preview [data-account-fullname-email] {
        display: block;
        color: var(--muted);
        font-size: 0.8rem;
        margin-top: 0.1rem;
    }

.account-profile-note {
    margin: 0.85rem 0 0;
    padding: 0.65rem 0.8rem;
    border-radius: 10px;
    background: #eaf6eb;
    color: var(--green-dark);
    font-size: 0.82rem;
    font-weight: 600;
}

.account-profile-form .checkout-form-actions {
    margin-top: 1.1rem;
}

.account-nav-menu {
    display: grid;
    gap: 0.2rem;
}

.account-nav-link {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    color: #444444;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.72rem 0.8rem;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    transition: background 0.15s ease, color 0.15s ease;
}

    .account-nav-link i {
        width: auto;
        height: auto;
        border-radius: 0;
        background: transparent;
        color: #555555;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1.05rem;
        line-height: 1;
        flex-shrink: 0;
    }

        .account-nav-link i::before {
            vertical-align: 0;
            line-height: 1;
        }

    .account-nav-link:hover {
        background: var(--account-green-soft);
        color: var(--account-green);
    }

        .account-nav-link:hover i {
            color: var(--account-green);
            background: transparent;
        }

    .account-nav-link.active {
        background: var(--account-green-soft);
        color: var(--account-green);
    }

        .account-nav-link.active i {
            background: transparent;
            color: var(--account-green);
        }

.account-nav-logout {
    margin-top: 0.15rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--account-divider);
    border-radius: 0 0 10px 10px;
    color: var(--account-logout);
}

    .account-nav-logout i {
        background: transparent;
        color: var(--account-logout);
    }

    .account-nav-logout:hover,
    .account-nav-logout.active {
        background: #fdeceb;
        color: var(--account-logout);
    }

        .account-nav-logout:hover i,
        .account-nav-logout.active i {
            color: var(--account-logout);
            background: transparent;
        }

.account-main {
    min-width: 0;
}

.account-panel[hidden] {
    display: none !important;
}

.account-panel-title {
    margin: 0 0 0.85rem;
    font-family: "Poppins", system-ui, sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--account-ink);
}

    .account-panel-title + .account-panel-title,
    .account-overview-grid + .account-panel-title {
        margin-top: 1.35rem;
    }

.account-card {
    background: var(--white);
    border: 1px solid var(--account-line);
    border-radius: 16px;
    padding: 1.15rem 1.2rem 1.2rem;
    box-shadow: none;
}

.account-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

    .account-card-head h2,
    .account-orders-toolbar h2,
    .account-wallet-activity-head h2 {
        margin: 0;
        font-family: "Poppins", system-ui, sans-serif;
        font-size: 1.125rem;
        font-weight: 700;
        color: var(--account-ink);
    }

.account-muted {
    color: var(--account-muted);
    font-size: 0.875rem;
    font-weight: 400;
}

.account-overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.account-quick-card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
    width: 100%;
    text-align: left;
    padding: 1rem;
    border: 1px solid var(--account-line);
    border-radius: 14px;
    background: var(--white);
    cursor: pointer;
    font: inherit;
    color: inherit;
    box-shadow: none;
}

    .account-quick-card:hover {
        border-color: #c8e6c9;
        background: #ffffff;
    }

.account-quick-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--account-green-soft);
    color: var(--account-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    line-height: 1;
    flex-shrink: 0;
}

.account-quick-body {
    display: grid;
    gap: 0.18rem;
    min-width: 0;
}

    .account-quick-body strong {
        color: var(--account-ink);
        font-size: 1.125rem;
        font-weight: 700;
    }

    .account-quick-body span {
        color: var(--account-muted);
        font-size: 0.875rem;
        font-weight: 400;
    }

.account-quick-balance {
    color: var(--account-green);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.15;
}

.account-quick-card > .bi-chevron-right {
    color: #9aa39c;
}

.account-pill {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: 0.15rem;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: var(--account-green-soft);
    color: var(--account-green-dark);
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 700;
}

.account-address-name .account-pill {
    margin-top: 0;
}

.account-order-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(160px, 290px);
    gap: 0;
    padding: 1.15rem 1.2rem;
    border: 1px solid var(--account-line);
    border-radius: 16px;
    background: var(--white);
}

    .account-order-card + .account-order-card {
        margin-top: 0.75rem;
    }

.account-order-card--preview {
    box-shadow: none;
}

.account-order-main {
    min-width: 0;
    padding-right: 1.15rem;
}

.account-order-top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.55rem 1rem;
    margin-bottom: 0.5rem;
}

.account-order-id {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

    .account-order-top strong,
    .account-order-id strong {
        font-size: 1rem;
        font-weight: 700;
        color: var(--account-ink);
    }

.account-status {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 700;
}

    .account-status.is-progress,
    .account-status.is-delivered {
        background: var(--account-green-soft);
        color: var(--account-green-dark);
    }

    .account-status.is-out-for-delivery {
        background: #e6f0fb;
        color: #175cd3;
    }

    .account-status.is-packing {
        background: #f4ebff;
        color: #6941c6;
    }

    .account-status.is-confirmed {
        background: #eef1ee;
        color: #5f6a63;
    }

    .account-status.is-cancelled {
        background: #fdeceb;
        color: #b42318;
    }

    .account-status.is-applied {
        background: #eef1ee;
        color: #5f6a63;
    }

.account-order-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0;
    margin-bottom: 0.75rem;
    color: var(--account-muted);
    font-size: 0.875rem;
}

    .account-order-meta-row > * {
        padding: 0 0.85rem;
    }

        .account-order-meta-row > *:first-child {
            padding-left: 0;
        }

        .account-order-meta-row > *:not(:first-child) {
            border-left: 1px solid #d5dbd5;
        }

    .account-order-meta-row i {
        margin-right: 0.35rem;
        color: var(--account-green);
        font-size: 0.92rem;
        line-height: 1;
        vertical-align: -0.05em;
    }

        .account-order-meta-row i::before {
            vertical-align: 0;
            line-height: 1;
        }

    .account-order-meta-row strong {
        color: var(--account-ink);
        font-size: 0.95rem;
        font-weight: 700;
    }

.account-order-progress {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 0 0 1rem;
    padding: 0.15rem 0 0;
    width: 100%;
    max-width: 520px;
}

.account-order-progress--inline {
    flex: 1 1 260px;
    max-width: 400px;
    margin: 0 0 0 auto;
    padding: 0;
}

.account-order-progress li {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    text-align: center;
    min-width: 0;
}

    .account-order-progress li:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 11px;
        left: calc(50% + 12px);
        right: calc(-50% + 12px);
        height: 2.5px;
        background: #dfe5df;
        border-radius: 99px;
        z-index: 0;
    }

    .account-order-progress li.is-done:not(:last-child)::after,
    .account-order-progress li.is-current:not(:last-child)::after {
        background: var(--green);
    }

.account-order-progress-dot {
    position: relative;
    z-index: 1;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #eef1ee;
    color: #9aa39c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    line-height: 1;
}

.account-order-progress li.is-done .account-order-progress-dot,
.account-order-progress li.is-current .account-order-progress-dot {
    background: var(--green);
    color: var(--white);
}

.account-order-progress em {
    font-style: normal;
    font-size: 0.66rem;
    font-weight: 500;
    color: var(--muted);
    line-height: 1.2;
    max-width: 100%;
}

.account-order-progress li.is-done em,
.account-order-progress li.is-current em {
    color: #4a554e;
    font-weight: 600;
}

.account-order-thumbs {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: nowrap;
    overflow: hidden;
}

    .account-order-thumbs.is-expanded {
        flex-wrap: wrap;
        overflow: visible;
    }

    .account-order-thumbs img,
    .account-thumb-more {
        width: 52px;
        height: 52px;
        border-radius: 10px;
        object-fit: cover;
        background: #f4f6f4;
        border: 1px solid var(--line);
    }

    .account-order-thumbs .account-thumb-extra[hidden] {
        display: none !important;
    }

.account-thumb-more {
    display: inline-grid;
    place-items: center;
    margin: 0;
    padding: 0 0.2rem;
    color: var(--muted);
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    background: #f3f5f3;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

    .account-thumb-more:hover {
        background: var(--green-soft);
        border-color: #c9e0cf;
        color: var(--green-dark);
    }

.account-order-thumbs.is-expanded .account-thumb-more {
    width: auto;
    min-width: 52px;
    padding: 0 0.55rem;
    color: var(--green-dark);
    background: var(--green-soft);
    border-color: #c9e0cf;
}

.account-order-track {
    display: grid;
    gap: 0.55rem;
    align-content: start;
    justify-items: stretch;
    text-align: left;
    padding-left: 1.1rem;
    border-left: 1px solid var(--line);
}

.account-order-card .account-solid-btn,
.account-order-card .account-outline-btn {
    width: 100%;
    min-height: 40px;
}

.account-order-eta {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
}

.account-order-eta-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0f2f0;
    color: var(--green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.95rem;
    line-height: 1;
}

    .account-order-eta-icon.is-done {
        background: var(--green-soft);
        color: var(--green);
    }

    .account-order-eta-icon.is-cancelled {
        background: #fdeceb;
        color: #b42318;
    }

.account-order-eta strong {
    display: block;
    color: var(--green);
    font-size: 0.92rem;
    font-weight: 700;
}

    .account-order-eta strong.is-danger {
        color: #b42318;
    }

.account-order-eta span {
    display: block;
    color: var(--ink);
    font-size: 0.82rem;
}

.account-solid-btn,
.account-outline-btn,
.account-ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 40px;
    padding: 0 0.95rem;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

.account-solid-btn {
    border: 0;
    background: var(--green);
    color: var(--white);
}

    .account-solid-btn:hover {
        background: var(--green-dark);
        color: var(--white);
    }

.account-outline-btn {
    border: 1.5px solid var(--green);
    background: var(--white);
    color: var(--green);
}

    .account-outline-btn:hover {
        background: #f4fbf6;
    }

.account-text-link,
.account-danger-link {
    border: 0;
    background: none;
    padding: 0;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
}

.account-text-link {
    color: var(--green);
}

    .account-text-link:hover {
        color: var(--green-dark);
        text-decoration: underline;
    }

.account-danger-link {
    color: #b42318;
}

    .account-danger-link:hover {
        text-decoration: underline;
    }

.order-detail-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(18, 28, 22, 0.48);
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: none;
}

    .order-detail-backdrop[hidden] {
        display: none !important;
    }

.order-detail-modal {
    position: relative;
    width: min(560px, 100%);
    height: auto;
    min-height: 0;
    max-height: min(90dvh, 90vh);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 1.25rem 1.25rem 1.15rem;
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 24px 60px rgba(18, 28, 22, 0.22);
}

.order-detail-close {
    position: sticky;
    float: right;
    top: 0;
    margin: -0.2rem -0.2rem 0 0;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #f3f5f3;
    color: var(--ink);
    display: inline-grid;
    place-items: center;
    cursor: pointer;
}

    .order-detail-close:hover {
        background: #e8ece8;
    }

.order-detail-head {
    padding-right: 2.5rem;
    margin-bottom: 0.85rem;
}

.order-detail-kicker {
    margin: 0 0 0.2rem;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 600;
}

.order-detail-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.65rem;
}

.order-detail-head h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 750;
    color: var(--ink);
}

.order-detail-head .account-status {
    flex-shrink: 0;
    background: #eef1ee;
    color: #5f6a63;
}

    .order-detail-head .account-status.is-progress {
        background: #fff4e5;
        color: #c05600;
    }

    .order-detail-head .account-status.is-out-for-delivery {
        background: #e6f0fb;
        color: #175cd3;
    }

    .order-detail-head .account-status.is-packing {
        background: #f4ebff;
        color: #6941c6;
    }

    .order-detail-head .account-status.is-confirmed {
        background: #eef1ee;
        color: #5f6a63;
    }

    .order-detail-head .account-status.is-delivered {
        background: var(--account-green-soft, #e8f3e8);
        color: var(--account-green-dark, #1b7a12);
    }

    .order-detail-head .account-status.is-cancelled {
        background: #fdeceb;
        color: #b42318;
    }

.order-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.95rem;
    margin-bottom: 0.85rem;
    color: var(--muted);
    font-size: 0.84rem;
}

    .order-detail-meta i {
        margin-right: 0.3rem;
        color: var(--green);
    }

    .order-detail-meta strong {
        color: var(--ink);
        font-size: 0.95rem;
    }

.order-detail-eta {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.55rem;
    margin-bottom: 1rem;
    padding: 1rem 0.85rem 0.9rem;
    border-radius: 12px;
    background: #f4f7f4;
}

    .order-detail-eta .account-order-eta-icon {
        width: 52px;
        height: 52px;
        font-size: 1.45rem;
    }

        .order-detail-eta .account-order-eta-icon .bi {
            display: block;
            line-height: 1;
        }

    .order-detail-eta strong {
        display: block;
        font-size: 0.92rem;
        color: var(--ink);
    }

.order-detail-eta-copy span {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
}

.order-detail-items-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.55rem;
}

    .order-detail-items-head h3 {
        margin: 0;
        font-size: 0.95rem;
        font-weight: 700;
    }

    .order-detail-items-head span {
        color: var(--muted);
        font-size: 0.8rem;
    }

.order-detail-items {
    display: grid;
    gap: 0.55rem;
    margin-bottom: 0.85rem;
}

.order-detail-item {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 0.7rem;
    align-items: center;
    padding: 0.55rem 0.15rem;
    border-bottom: 1px solid var(--line);
}

    .order-detail-item:last-child {
        border-bottom: 0;
    }

    .order-detail-item img {
        width: 52px;
        height: 52px;
        object-fit: cover;
        border-radius: 10px;
        border: 1px solid var(--line);
        background: #f4f6f4;
    }

    .order-detail-item h4 {
        margin: 0 0 0.15rem;
        font-size: 0.88rem;
        font-weight: 700;
        color: var(--ink);
    }

    .order-detail-item p {
        margin: 0;
        color: var(--muted);
        font-size: 0.78rem;
    }

.order-detail-item-side {
    text-align: right;
}

    .order-detail-item-side strong {
        display: block;
        font-size: 0.9rem;
        color: var(--ink);
    }

.order-detail-stock {
    display: none;
}

.order-detail-item.is-out {
    opacity: 0.72;
}

.order-detail-note {
    margin-bottom: 0.85rem;
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    background: #fff8e8;
    color: #8a5a00;
    font-size: 0.8rem;
    font-weight: 600;
}

.order-detail-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

    .order-detail-actions:not(:has(#orderDetailReorder:not([hidden]))) {
        grid-template-columns: 1fr;
    }

    .order-detail-actions .account-solid-btn,
    .order-detail-actions .account-outline-btn {
        width: 100%;
        min-height: 42px;
    }

html.order-detail-open,
html.order-detail-open body {
    overflow: hidden;
}

@media (max-width: 575.98px) {
    .order-detail-modal {
        padding: 1.05rem 0.95rem 1rem;
        border-radius: 16px;
    }

    .order-detail-actions {
        grid-template-columns: 1fr;
    }

    .order-detail-item {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .order-detail-item-side {
        grid-column: 2;
        text-align: left;
    }
}

.account-orders-toolbar,
.account-wallet-activity-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    margin-bottom: 0.65rem;
}

.account-wallet-activity .account-wallet-activity-head {
    margin-bottom: 0.35rem;
}

.account-orders-toolbar h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.account-orders-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-left: auto;
}

.account-search {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    min-width: min(220px, 100%);
    width: clamp(200px, 26vw, 260px);
    height: 40px;
    padding: 0 0.75rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fafbfa;
    color: var(--muted);
}

    .account-search input {
        flex: 1;
        min-width: 0;
        border: 0;
        outline: none;
        background: transparent;
        font: inherit;
        font-size: 0.84rem;
        color: var(--ink);
    }

.account-filter-select {
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0 0.7rem;
    background: var(--white);
    font: inherit;
    font-size: 0.84rem;
    color: var(--ink);
}

.account-order-tabs,
.account-wallet-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.15rem;
    margin-bottom: 1rem;
}

.account-wallet-tabs {
    border-bottom: 1px solid var(--line);
}

    .account-order-tabs button,
    .account-wallet-tabs button {
        border: 0;
        background: none;
        padding: 0.55rem 0.1rem 0.7rem;
        font: inherit;
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--muted);
        cursor: pointer;
    }

    .account-wallet-tabs button {
        box-shadow: inset 0 -2px 0 transparent;
    }

.account-order-tabs button em {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1.35rem;
    margin-left: 0.35rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: #eef1ee;
    color: #6b746e;
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1;
}

.account-order-tabs button.active,
.account-wallet-tabs button.active {
    color: var(--account-green);
}

.account-wallet-tabs button.active {
    box-shadow: inset 0 -2px 0 var(--account-green);
}

.account-order-tabs button.active em {
    background: var(--green);
    color: var(--white);
}

.account-order-list .account-order-card[hidden] {
    display: none !important;
}

.account-wallet-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 1rem;
    padding: 1.35rem 1.4rem;
    border-radius: 16px;
    background: #eaf6eb;
    border: 1px solid #d4ebd8;
}

.account-wallet-hero-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.account-wallet-hero-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--white);
    color: var(--account-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    line-height: 1;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(18, 152, 0, 0.08);
}

.account-wallet-hero-copy {
    min-width: 0;
}

.account-wallet-label {
    display: block;
    color: var(--account-green);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.account-wallet-balance {
    display: block;
    margin: 0.2rem 0 0.3rem;
    color: var(--account-green);
    font-family: "Poppins", system-ui, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.15;
}

.account-wallet-hero p {
    margin: 0;
    color: var(--account-muted);
    font-size: 0.875rem;
    line-height: 1.35;
}

.account-wallet-hero-right {
    display: grid;
    justify-items: end;
    gap: 0.45rem;
    flex-shrink: 0;
}

.account-wallet-shop {
    min-width: 128px;
    min-height: 44px;
    padding: 0 1.35rem;
    border-radius: 10px;
    font-size: 0.92rem;
}

.account-wallet-hero-right small {
    color: var(--muted);
    font-size: 0.74rem;
    line-height: 1.35;
    text-align: right;
    max-width: 12.5rem;
}

.account-wallet-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.account-wallet-mini {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.15rem 1.15rem;
    background: var(--white);
    border: 1px solid var(--account-line);
    border-radius: 14px;
    box-shadow: none;
}

.account-wallet-mini-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--account-green-soft);
    color: var(--account-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    line-height: 1;
    flex-shrink: 0;
}

.account-wallet-mini-copy {
    min-width: 0;
}

    .account-wallet-mini-copy > span {
        display: block;
        color: var(--account-muted);
        font-size: 0.875rem;
        font-weight: 400;
    }

    .account-wallet-mini-copy strong {
        display: block;
        margin: 0.28rem 0 0.25rem;
        color: var(--account-green);
        font-family: "Poppins", system-ui, sans-serif;
        font-size: 1.5rem;
        font-weight: 700;
        line-height: 1.15;
    }

    .account-wallet-mini-copy p {
        margin: 0;
        color: var(--account-muted);
        font-size: 0.875rem;
        line-height: 1.35;
    }

.account-wallet-activity {
    padding: 1.2rem 1.25rem 1.15rem;
}

.account-wallet-tabs {
    margin-bottom: 0.35rem;
}

.account-wallet-table {
    display: grid;
    gap: 0;
}

.account-wallet-row {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(120px, 1fr) minmax(90px, 0.7fr) minmax(100px, 0.75fr);
    gap: 0.75rem 1rem;
    align-items: center;
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.88rem;
    color: var(--muted);
}

    .account-wallet-row:last-of-type {
        border-bottom: 0;
    }

.account-wallet-row--head {
    color: #8a938c;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding-top: 0.55rem;
    padding-bottom: 0.65rem;
}

.account-wallet-row[hidden] {
    display: none !important;
}

.account-wallet-activity-cell {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--ink);
    font-weight: 700;
}

    .account-wallet-activity-cell i {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: #eaf6eb;
        color: var(--green);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 0.9rem;
        line-height: 1;
        flex-shrink: 0;
    }

        .account-wallet-activity-cell i::before {
            vertical-align: 0;
            line-height: 1;
        }

.account-wallet-row .is-credit {
    color: var(--green-dark);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.account-wallet-row .is-debit {
    color: var(--ink);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.account-wallet-row .account-status {
    justify-self: start;
    font-style: normal;
}

.account-wallet-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0.85rem 0 0;
    padding: 0.85rem 0.95rem;
    border-radius: 12px;
    background: #eaf6eb;
    color: #4d5a52;
    font-size: 0.82rem;
    line-height: 1.45;
}

    .account-wallet-note i {
        color: var(--green);
        margin-top: 0.12rem;
        flex-shrink: 0;
    }

.account-address-head {
    align-items: flex-start;
    margin-bottom: 1.15rem;
}

    .account-address-head h2 {
        margin: 0 0 0.2rem;
    }

.account-address-add {
    gap: 0.4rem;
    min-height: 42px;
    padding: 0 1.05rem;
    white-space: nowrap;
}

.account-address-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.account-address-card {
    display: grid;
    gap: 0.7rem;
    padding: 1.1rem 1.15rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    box-shadow: 0 2px 8px rgba(36, 48, 40, 0.03);
}

    .account-address-card.is-default {
        border-color: var(--line);
        background: var(--white);
    }

.account-address-top {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 0.75rem;
    align-items: flex-start;
}

.account-address-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--account-green-soft);
    color: var(--account-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    line-height: 1;
    flex-shrink: 0;
}

.account-address-copy {
    min-width: 0;
}

.account-address-name {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
}

    .account-address-name strong {
        color: var(--ink);
        font-size: 0.98rem;
        font-weight: 700;
        line-height: 1.25;
    }

.account-address-copy p {
    margin: 0.4rem 0 0;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.5;
}

.account-address-ok {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    color: var(--green);
    font-size: 0.84rem;
    font-weight: 700;
}

    .account-address-ok i {
        font-size: 0.95rem;
        line-height: 1;
    }

.account-address-note {
    margin: 0;
    padding-top: 0.7rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.4;
}

.account-address-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 0.85rem;
    margin-top: 0.15rem;
}

    .account-address-actions .account-outline-btn {
        min-height: 36px;
        padding: 0 0.9rem;
        border-radius: 8px;
        font-size: 0.82rem;
    }

    .account-address-actions .account-text-link {
        font-size: 0.84rem;
    }

    .account-address-actions .account-danger-link {
        font-size: 0.84rem;
    }

.account-address-footer-note {
    display: flex !important;
    align-items: flex-start !important;
    gap: 7px !important;
    margin: 9px 2px 7px !important;
    padding: 9px 10px !important;
    border-radius: 9px !important;
    background: #eaf6eb !important;
    color: #4d5a52 !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
}

    .account-address-footer-note i {
        color: var(--green);
        margin-top: 0.12rem;
        flex-shrink: 0;
    }

.account-wishlist-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.account-wish-item {
    position: relative;
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 0.85rem;
    padding: 0.85rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fafbfa;
}

.account-wish-remove {
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: var(--green-soft);
    color: var(--green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 1;
}

    .account-wish-remove:hover {
        background: #fdeceb;
        color: #b42318;
    }

.account-wish-media {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    background: #f0f2f0;
}

    .account-wish-media img {
        width: 100%;
        height: 96px;
        object-fit: cover;
        display: block;
    }

.account-wish-body {
    display: grid;
    align-content: start;
    gap: 0.25rem;
    padding-right: 1.5rem;
}

    .account-wish-body h3 {
        margin: 0;
        font-family: "Poppins", system-ui, sans-serif;
        font-size: 0.95rem;
        font-weight: 700;
    }

        .account-wish-body h3 a {
            color: var(--ink);
            text-decoration: none;
        }

    .account-wish-body p {
        margin: 0;
        color: var(--muted);
        font-size: 0.8rem;
    }

    .account-wish-body strong {
        color: var(--ink);
        font-size: 0.95rem;
    }

    .account-wish-body .account-solid-btn {
        margin-top: 0.35rem;
        width: fit-content;
    }

.account-logout-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.account-logout-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 0.85rem;
    border-radius: 50%;
    background: #fdeceb;
    color: #b42318;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    line-height: 1;
}

.account-logout-card h2 {
    margin: 0 0 0.4rem;
    font-family: "Poppins", system-ui, sans-serif;
    font-weight: 700;
}

.account-section h1,
.account-section h2,
.account-section h3 {
    font-family: "Poppins", system-ui, sans-serif;
}

.account-logout-card p {
    margin: 0 0 1.1rem;
    color: var(--muted);
}

.account-logout-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.account-header-btn {
    text-decoration: none;
}

    .account-header-btn[aria-current="page"] {
        background: var(--green-soft);
        color: var(--green-dark);
    }

@media (max-width: 991.98px) {
    .account-layout {
        grid-template-columns: 1fr;
    }

    .account-nav {
        display: grid;
        gap: 0.65rem;
        overflow: visible;
    }

    .account-profile {
        padding-bottom: 0.75rem;
    }

    .account-nav-menu {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .account-nav-link {
        justify-content: flex-start;
        text-align: left;
        flex-direction: row;
        white-space: nowrap;
        font-size: 0.84rem;
        padding: 0.7rem 0.7rem;
    }

    .account-nav-logout {
        width: 100%;
    }

    .account-order-progress--inline {
        flex-basis: 100%;
        max-width: none;
        margin: 0.35rem 0 0;
    }

    .account-order-card {
        grid-template-columns: 1fr;
    }

    .account-order-main {
        padding-right: 0;
    }

    .account-order-track {
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid var(--line);
        padding-top: 0.85rem;
    }

    .account-order-progress {
        max-width: none;
    }

        .account-order-progress em {
            font-size: 0.64rem;
        }
}

@media (max-width: 767.98px) {
    .account-overview-grid,
    .account-wallet-split,
    .account-address-grid,
    .account-wishlist-grid,
    .account-nav-menu {
        grid-template-columns: 1fr;
    }

    .account-nav-link {
        width: 100%;
        justify-content: flex-start;
        text-align: left;
        flex-direction: row;
        gap: 0.55rem;
        font-size: 0.88rem;
        padding: 0.72rem 0.8rem;
    }

    .account-wallet-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .account-wallet-hero-right {
        justify-items: start;
        width: 100%;
    }

    .account-wallet-shop {
        width: 100%;
    }

    .account-wallet-hero-right small {
        text-align: left;
        max-width: none;
    }

    .account-wallet-row,
    .account-wallet-row--head {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
        row-gap: 0.35rem;
    }

        .account-wallet-row--head span:nth-child(n+3) {
            display: none;
        }

        .account-wallet-row b,
        .account-wallet-row .account-status {
            justify-self: start;
        }

    .account-orders-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .account-orders-tools {
        width: 100%;
    }

    .account-search {
        flex: 1;
        min-width: 0;
    }
}

@media (max-width: 575.98px) {
    .account-container {
        padding: 0 0.85rem;
    }

    .account-card {
        padding: 1rem;
    }

    .account-wish-item {
        grid-template-columns: 72px minmax(0, 1fr);
    }
}

/* ===== Site-wide responsive ===== */
.announce-bar {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
}

.hero-swiper {
    height: auto;
    aspect-ratio: 1561 / 200;
}

.shop-crumb,
.detail-crumb {
    flex-wrap: wrap;
    row-gap: 0.2rem;
}

.detail-pack > div {
    flex-wrap: wrap;
}

@media (max-width: 1199.98px) {
    .location-text strong {
        max-width: 140px;
    }

    .login-btn span,
    .cart-btn span:not(.cart-count) {
        display: none;
    }

    .login-btn,
    .cart-btn {
        padding: 0 0.7rem;
    }

    .checkout-layout {
        grid-template-columns: minmax(0, 1.7fr) minmax(260px, 300px);
    }

    .detail-hero {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    }
}

@media (max-width: 991.98px) {
    :root {
        --site-top-h: 96px;
    }

    .site-header,
    .site-header .container-fluid,
    body.has-sidebar .site-header .container-fluid {
        width: 100%;
        max-width: 100%;
    }

        .site-header .container-fluid,
        body.has-sidebar .site-header .container-fluid {
            padding-left: max(0.85rem, env(safe-area-inset-left));
            padding-right: max(0.85rem, env(safe-area-inset-right));
        }

    .header-row,
    body.has-sidebar .header-row {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .header-left,
    .header-actions {
        min-width: 0;
    }

    .location-text strong {
        max-width: none;
    }

    .hero-container,
    .promo-tiles,
    .category-container,
    .aisle-container,
    .shop-container,
    .footer-wrap,
    .detail-container,
    .account-container {
        width: 100%;
        max-width: 100%;
        padding-left: max(0.85rem, env(safe-area-inset-left));
        padding-right: max(0.85rem, env(safe-area-inset-right));
    }

    /* Keep nested page-shell blocks from stacking a second gutter */
    .page-shell .hero-container,
    .page-shell .promo-tiles,
    .page-shell .category-container,
    .page-shell .aisle-container,
    .page-shell .shop-container,
    .page-shell .checkout-container,
    .page-shell .account-container,
    .page-shell .detail-container,
    .page-shell .footer-wrap {
        padding-left: 0;
        padding-right: 0;
    }

    .page-shell .subnav {
        padding-inline: 0;
    }

    .subnav {
        padding-inline: max(0.85rem, env(safe-area-inset-left)) max(0.85rem, env(safe-area-inset-right));
    }

    .hero-swiper {
        border-radius: 14px;
    }

    .hero-banner {
        border-radius: 14px;
    }

    .category-nav,
    .aisle-nav {
        display: none;
    }

    .category-container,
    .aisle-row {
        gap: 0;
    }

    .shop-hero {
        min-height: 140px;
        padding: 1.2rem 1.1rem;
    }

    .detail-hero {
        grid-template-columns: 1fr;
        min-height: 0;
        overflow-x: clip;
    }

    .detail-gallery,
    .detail-media,
    .detail-thumbs-col,
    .detail-info {
        min-width: 0;
        max-width: 100%;
    }

    .detail-media {
        flex-direction: column-reverse;
        width: 100%;
    }

    .detail-thumbs-col {
        width: 100%;
    }

    .detail-thumbs {
        flex-direction: row;
        max-height: none;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .detail-specs dl {
        grid-template-columns: 1fr;
    }

    .detail-main-media {
        height: min(52vw, 420px);
    }

        .detail-main-media img {
            width: min(280px, 72%);
            height: min(320px, 86%);
        }

    .account-nav {
        display: grid;
        overflow: visible;
    }

    .checkout-slots {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cart-drawer {
        width: min(400px, 100%);
    }
}

@media (max-width: 767.98px) {
    .location-text,
    .location-btn .bi-chevron-down {
        display: none;
    }

    .location-wrap {
        border-right: 0;
        padding-right: 0;
        margin-right: 0;
        justify-self: end;
    }

    .location-btn {
        width: 40px;
        height: 40px;
        padding: 0;
        justify-content: center;
    }

    input,
    select,
    textarea {
        font-size: 16px !important;
    }

    .shop-count,
    .shop-filter-btn,
    .shop-sort,
    .shop-sort select {
        font-size: 14px !important;
    }

    .search-box input,
    .search-box input::placeholder {
        font-size: 14px !important;
    }

    .aisle-head h2,
    .shop-hero h1 {
        font-size: 1.05rem;
    }

    .promo-tiles {
        grid-template-columns: 1fr 1fr;
    }

    .shop-toolbar-actions {
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .checkout-form-grid,
    .checkout-slots {
        grid-template-columns: 1fr 1fr;
    }

    .checkout-card,
    .checkout-summary-card {
        padding: 1rem 0.9rem 1.05rem;
    }

    .login-backdrop {
        padding: 0.65rem;
        align-items: end;
        justify-items: stretch;
    }

    .zip-backdrop {
        display: flex;
        align-items: flex-end;
        justify-content: center;
        padding: 0;
        overflow: hidden;
    }

    .login-backdrop.checkout-success-backdrop {
        padding: 0.65rem;
        align-items: end;
        justify-items: stretch;
    }

        .login-backdrop.checkout-success-backdrop .checkout-success {
            width: 100%;
            max-width: none;
            border-radius: 22px 22px 0 0;
            max-height: min(92dvh, 92vh);
            padding: 1.35rem 1.15rem max(1.35rem, env(safe-area-inset-bottom));
        }

    .login-modal,
    .zip-modal {
        width: 100%;
        max-width: 100%;
        border-radius: 20px 20px 0 0;
        height: auto;
        min-height: 0;
        max-height: min(92dvh, 92vh);
    }

    .login-modal {
        overflow: hidden;
    }

    .zip-modal {
        overflow-x: hidden;
        overflow-y: auto;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 1.35rem 1.15rem max(1.35rem, env(safe-area-inset-bottom, 0px));
        padding-left: max(1.15rem, env(safe-area-inset-left, 0px));
        padding-right: max(1.15rem, env(safe-area-inset-right, 0px));
    }

    .zip-modal-logo {
        width: min(148px, 46vw);
        margin-bottom: 0.55rem;
    }

    .zip-modal h2 {
        font-size: 1.28rem;
    }

    .footer-newsletter {
        padding: 1rem 1rem;
    }

    .newsletter-form {
        flex: 1 1 auto;
        width: 100%;
        margin-left: 0;
    }
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .promo-tiles {
        max-width: 90%;
        margin-inline: auto;
        padding-left: max(1.15rem, env(safe-area-inset-left));
        padding-right: max(1.15rem, env(safe-area-inset-right));
        gap: 1.1rem;
    }
}

@media (max-width: 575.98px) {
    :root {
        --site-top-h: 88px;
        --control-h: 42px;
        --product-media-h: 112px;
    }

    .announce-bar {
        font-size: 0.72rem;
        padding-top: 0.38rem;
        padding-bottom: 0.38rem;
    }

    .brand-logo {
        height: 36px;
        max-width: 118px;
        object-fit: contain;
    }

    .header-left {
        gap: 0.45rem;
    }

    .search-submit {
        width: 42px;
    }

    .sidebar-open,
    .login-btn {
        width: 40px;
        height: 40px;
        padding: 0;
        justify-content: center;
    }

    .cart-btn {
        height: 40px;
        padding: 0 0.5rem;
    }

    .header-actions-top {
        gap: 0.2rem;
    }

    .search-suggest-grid {
        grid-template-columns: repeat(auto-fill, 72px);
    }

    .search-suggest-item {
        width: 72px;
    }

    .promo-tiles {
        grid-template-columns: 1fr;
    }

    .product-card {
        --product-ctrl-w: 82px;
        --product-ctrl-h: 32px;
        padding: 0.4rem 0.4rem 0.5rem;
    }

    .product-stepper {
        width: var(--product-ctrl-w, 82px);
        min-width: var(--product-ctrl-w, 82px);
        height: var(--product-ctrl-h, 32px);
    }

    .aisle-row > .aisle-nav {
        top: calc(2px + 1px + 0.4rem + (var(--product-media-h, 112px) / 2) + 28px);
    }

    .product-media {
        height: var(--product-media-h, 112px);
    }

    .product-wish {
        width: 28px;
        height: 28px;
    }

        .product-wish i {
            font-size: 0.85rem;
        }

    .product-name {
        font-size: 0.78rem;
    }

    .product-price {
        font-size: 0.9rem;
    }

    .detail-actions {
        position: sticky;
        bottom: 0;
        z-index: 5;
        margin: 0.35rem -1rem -1rem;
        padding: 0.75rem 1rem 0.75rem;
        background: var(--white);
        border-top: 1px solid var(--line);
    }

    .detail-wish span {
        display: none;
    }

    .detail-pack button {
        min-width: 0;
        flex: 1 1 120px;
    }

    .checkout-form-grid,
    .delivery-tip-options {
        grid-template-columns: 1fr;
    }

    .checkout-slots {
        grid-template-columns: 1fr 1fr;
    }

    .checkout-head h1 {
        font-size: 1.4rem;
    }

    .cart-drawer {
        width: 100%;
    }

    .account-nav-link {
        padding: 0.72rem 0.8rem;
        font-size: 0.88rem;
    }
}

@media (max-width: 399.98px) {
    .brand-logo {
        height: 32px;
        max-width: 104px;
    }

    .header-row,
    body.has-sidebar .header-row {
        gap: 0.4rem;
    }

    .account-header-btn {
        display: none;
    }

    .hero-swiper {
        border-radius: 12px;
    }

    .shop-grid,
    .detail-card-grid {
        gap: 0.5rem;
    }

    .product-card {
        --product-ctrl-w: 82px;
        --product-ctrl-h: 32px;
    }

    .product-stepper {
        width: var(--product-ctrl-w, 82px);
        min-width: var(--product-ctrl-w, 82px);
        height: var(--product-ctrl-h, 32px);
    }

    .checkout-slots {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Bottom tab bar (tablet & mobile)
   Holds Home plus the header actions (Location / Categories / Cart / Account)
   in a fixed bottom tray, shown at tablet width and below.
   ========================================================================== */
:root {
    --bottom-nav-h: 64px;
}

.bottom-nav {
    display: none;
}

@media (max-width: 991.98px) {
    body.has-bottom-nav {
        padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom));
    }

    .bottom-nav {
        display: flex;
        align-items: stretch;
        justify-content: space-around;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: 100%;
        z-index: 1045;
        height: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom));
        padding: 0 0.15rem env(safe-area-inset-bottom);
        overflow: hidden;
        background: var(--white);
        border-top: 1px solid var(--line);
        box-shadow: 0 -4px 18px rgba(39, 37, 38, 0.08);
    }

    .bottom-nav-item {
        flex: 1 1 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
        gap: 0.2rem;
        min-width: 0;
        height: var(--bottom-nav-h);
        border: 0;
        background: transparent;
        color: var(--muted);
        font-family: inherit;
        font-size: 0.64rem;
        font-weight: 600;
        line-height: 1.1;
        letter-spacing: 0.01em;
        padding: 0 0.15rem 0.55rem;
        cursor: pointer;
        text-decoration: none;
        -webkit-tap-highlight-color: transparent;
    }

        .bottom-nav-item:focus-visible {
            outline: 2px solid var(--green);
            outline-offset: -2px;
            border-radius: 10px;
        }

    .bottom-nav-icon {
        position: relative;
        display: grid;
        place-items: center;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        font-size: 1.2rem;
        color: #7a827c;
        transition: transform 0.22s ease, color 0.22s ease;
    }

    .bottom-nav-item:active .bottom-nav-icon {
        transform: scale(0.92);
    }

    .bottom-nav-label {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        color: #7a827c;
        transition: color 0.22s ease;
    }

    .bottom-nav .cart-count,
    .bottom-nav-badge {
        position: absolute;
        top: -5px;
        right: -8px;
        min-width: 16px;
        height: 16px;
        padding: 0 4px;
        border-radius: 999px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: var(--secondary);
        color: var(--white);
        font-size: 0.58rem;
        font-weight: 700;
        line-height: 1;
        box-shadow: 0 0 0 2px var(--white);
    }

    .bottom-nav-item.active,
    .bottom-nav-item[aria-current="page"] {
        color: var(--green);
    }

        .bottom-nav-item.active .bottom-nav-icon,
        .bottom-nav-item[aria-current="page"] .bottom-nav-icon {
            color: var(--green);
        }

        .bottom-nav-item.active .bottom-nav-label,
        .bottom-nav-item[aria-current="page"] .bottom-nav-label {
            color: var(--green);
            font-weight: 700;
        }

    body.is-sidebar-open .bottom-nav,
    body.cart-open .bottom-nav,
    body.login-open .bottom-nav,
    body.zip-open .bottom-nav {
        display: none;
    }

    /* Keep product sticky actions above the tab bar */
    body.has-bottom-nav .detail-actions {
        bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom));
    }
}

@media (min-width: 992px) {
    .bottom-nav {
        display: none !important;
    }
}

/* ── Cart page ── */
.cart-page-section {
    padding: 1rem 0 2.5rem;
    background: var(--white);
}

.cart-page-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.cart-page-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.cart-page-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "content summary";
    gap: 0;
    align-items: stretch;
}

.cart-page-content {
    grid-area: content;
    min-width: 0;
    border-right: 1px solid var(--line);
}

.cart-delivery-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid var(--line);
}

.cart-delivery-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

    .cart-delivery-title i {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        background: var(--green-soft);
        color: var(--green);
        display: grid;
        place-items: center;
        font-size: 1rem;
    }

    .cart-delivery-title strong {
        display: block;
        font-size: 0.95rem;
        font-weight: 700;
        color: var(--ink);
    }

    .cart-delivery-title span {
        display: block;
        font-size: 0.78rem;
        color: var(--muted);
        margin-top: 0.1rem;
    }

.cart-delivery-date {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
}

.cart-benefit-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 1.2rem;
    background: linear-gradient(90deg, var(--secondary) 0%, #f0a85c 100%);
    color: var(--white);
    font-size: 0.84rem;
    font-weight: 500;
    transition: filter 0.15s ease;
}

    .cart-benefit-banner:hover {
        filter: brightness(1.03);
        color: var(--white);
    }

    .cart-benefit-banner strong {
        font-weight: 700;
    }

    .cart-benefit-banner i {
        font-size: 0.9rem;
        opacity: 0.9;
    }

    .cart-benefit-banner.is-met {
        background: linear-gradient(90deg, var(--green) 0%, #3cb82e 100%);
    }

.cart-page-items {
    display: grid;
}

.cart-page-item {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) auto;
    gap: 0.85rem 1rem;
    align-items: start;
    padding: 1.1rem 1.2rem;
    border-bottom: 1px solid var(--line);
}

    .cart-page-item:last-child {
        border-bottom: 0;
    }

.cart-page-item-media {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    background: #fafafa;
    border: 1px solid var(--line);
}

    .cart-page-item-media img {
        width: 100%;
        height: 88px;
        object-fit: contain;
        padding: 0.35rem;
    }

.cart-page-item-info {
    min-width: 0;
}

    .cart-page-item-info h3 {
        margin: 0 0 0.2rem;
        font-size: 0.92rem;
        font-weight: 700;
        line-height: 1.35;
    }

        .cart-page-item-info h3 a:hover {
            color: var(--green);
        }

.cart-page-pack {
    margin: 0 0 0.35rem;
    font-size: 0.78rem;
    color: var(--muted);
}

.cart-page-prices {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
    margin-bottom: 0.55rem;
}

    .cart-page-prices strong {
        font-size: 0.95rem;
        color: var(--ink);
    }

    .cart-page-prices del {
        font-size: 0.82rem;
        color: var(--muted);
    }

.cart-page-item .cart-qty {
    margin-bottom: 0.55rem;
}

.cart-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

    .cart-page-actions button {
        border: 0;
        background: none;
        padding: 0;
        font-family: inherit;
        font-size: 0.78rem;
        font-weight: 600;
        color: var(--green);
        cursor: pointer;
    }

        .cart-page-actions button:hover {
            color: var(--green-dark);
            text-decoration: underline;
        }

.cart-page-line-total {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap;
    text-align: right;
    padding-top: 0.15rem;
}

.cart-recs-section {
    padding: 0.35rem 0 1.5rem;
    background: var(--white);
}

.cart-page-summary {
    grid-area: summary;
    min-width: 0;
    padding: 1.15rem 1.2rem 1.25rem;
    position: sticky;
    top: calc(var(--site-top-h) + 0.75rem);
    align-self: start;
}

    .cart-page-summary h2 {
        margin: 0 0 0.85rem;
        font-size: 1.05rem;
        font-weight: 700;
    }

.cart-summary-bill {
    display: grid;
    gap: 0.42rem;
    font-size: 0.86rem;
    color: var(--muted);
}

    .cart-summary-bill > div {
        display: flex;
        justify-content: space-between;
        gap: 0.75rem;
    }

        .cart-summary-bill > div > span:last-child {
            color: var(--ink);
            font-weight: 600;
        }

.cart-summary-subtotal {
    margin-top: 0.35rem;
    padding-top: 0.75rem;
    border-top: 1px dashed var(--line);
    font-size: 0.95rem;
    color: var(--ink) !important;
}

    .cart-summary-subtotal strong {
        font-size: 1rem;
        font-weight: 800;
    }

.cart-page-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 1rem;
    min-height: 48px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
}

.cart-summary-bill .cart-free-label {
    color: var(--green);
    font-weight: 700;
}

.cart-page-empty {
    margin: 0;
    padding: 2rem 1.2rem;
    text-align: center;
    color: var(--muted);
    font-size: 0.9rem;
}

    .cart-page-empty a {
        color: var(--green);
        font-weight: 600;
    }

@media (max-width: 1100px) {
    .cart-page-layout {
        grid-template-columns: 1fr;
        grid-template-areas:
            "summary"
            "content";
    }

    .cart-page-content {
        border-right: 0;
        border-top: 1px solid var(--line);
    }

    .cart-page-summary {
        position: static;
    }
}

@media (max-width: 575px) {
    .cart-page-item {
        grid-template-columns: 72px minmax(0, 1fr) auto;
        gap: 0.65rem 0.75rem;
        padding: 0.95rem 1rem;
    }

    .cart-page-item-media img {
        height: 72px;
    }

    .cart-delivery-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .cart-page-line-total {
        font-size: 0.88rem;
    }
}

/* ===== Refer Friends page ===== */
.refer-page {
    padding: 1.15rem 0 2.75rem;
    background: var(--white);
}

.refer-wrap {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

.refer-hero {
    position: relative;
    margin: 0;
    padding: 0;
    border-radius: 18px;
    overflow: hidden;
    border: 0;
    background: #e8f3e4;
    line-height: 0;
}

.refer-hero-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: cover;
    object-position: center;
}

.refer-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.refer-stat-card {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.1rem 1.2rem;
    background: var(--white);
    border: 1px solid #e6e9e6;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(36, 48, 40, 0.04);
}

.refer-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #eaf6eb;
    color: var(--green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
}

    .refer-stat-icon i {
        display: block;
        font-size: 1.25rem;
        line-height: 1;
        color: var(--green);
    }

.refer-stat-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.22rem;
}

    .refer-stat-copy span {
        display: block;
        color: #6b746e;
        font-size: 0.82rem;
        font-weight: 500;
        line-height: 1.2;
    }

    .refer-stat-copy strong {
        display: block;
        color: var(--green-dark);
        font-family: "Poppins", system-ui, sans-serif;
        font-size: 1.55rem;
        font-weight: 800;
        line-height: 1;
    }

.refer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.85fr);
    gap: 1rem;
    align-items: stretch;
}

.refer-card {
    background: var(--white);
    border: 1px solid #e6e9e6;
    border-radius: 16px;
    padding: 1.3rem 1.35rem 1.4rem;
    box-shadow: 0 2px 10px rgba(36, 48, 40, 0.04);
}

    .refer-card h2 {
        margin: 0 0 1.05rem;
        font-family: "Poppins", system-ui, sans-serif;
        font-size: 1.2rem;
        font-weight: 700;
        color: #272526;
        line-height: 1.25;
    }

.refer-invite-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.15rem;
    align-items: start;
    margin-bottom: 1.2rem;
}

.refer-benefits {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.05rem;
}

    .refer-benefits li {
        display: grid;
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 0.75rem;
        align-items: start;
    }

.refer-benefit-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #eaf6eb;
    color: var(--green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    line-height: 1;
}

.refer-benefits strong {
    display: block;
    margin-bottom: 0.22rem;
    color: #272526;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
}

.refer-benefits p {
    margin: 0;
    color: #6b746e;
    font-size: 0.84rem;
    line-height: 1.45;
}

.refer-qr {
    text-align: center;
    flex-shrink: 0;
}

    .refer-qr img {
        width: 132px;
        height: 132px;
        border-radius: 12px;
        border: 1px solid #e6e9e6;
        background: #fff;
        padding: 0.4rem;
    }

    .refer-qr span {
        display: block;
        margin-top: 0.45rem;
        color: #6b746e;
        font-size: 0.76rem;
        font-weight: 600;
    }

.refer-link-label {
    display: block;
    margin-bottom: 0.4rem;
    color: #6b746e;
    font-size: 0.8rem;
    font-weight: 600;
}

.refer-link-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 0.85rem;
    border: 1px solid #e0e4e0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.refer-link-icon {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: #8a938c;
    font-size: 1.15rem;
    line-height: 1;
    pointer-events: none;
    z-index: 1;
}

.refer-link-row input {
    flex: 1;
    min-width: 0;
    height: 48px;
    border: 0;
    border-radius: 0;
    padding: 0 0.85rem 0 2.4rem;
    font: inherit;
    font-size: 0.9rem;
    color: #272526;
    background: transparent;
    outline: none;
}

.refer-copy-btn {
    height: 48px;
    padding: 0 1.15rem;
    border: 0;
    border-left: 1px solid #e0e4e0;
    border-radius: 0;
    background: var(--green);
    color: var(--white);
    font: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

    .refer-copy-btn:hover,
    .refer-copy-btn.is-copied {
        background: var(--green-dark);
    }

.refer-share-btn {
    width: 100%;
    height: 48px;
    border: 1.5px solid var(--green);
    border-radius: 12px;
    background: var(--white);
    color: var(--green);
    font: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    cursor: pointer;
}

    .refer-share-btn:hover {
        background: #f4fbf6;
    }

.refer-social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.refer-social-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    text-decoration: none;
    border: 1px solid #e6e9e6;
    background: var(--white);
    color: #5f6a63;
}

.refer-social-btn--wa {
    color: #fff;
    border-color: #25d366;
    background: #25d366;
}

.refer-social-btn--fb {
    color: #fff;
    border-color: #1877f2;
    background: #1877f2;
}

.refer-social-btn--mail {
    color: #5f6a63;
    background: #fff;
}

.refer-how {
    position: relative;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.refer-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.25rem;
}

    .refer-steps li {
        display: grid;
        grid-template-columns: 30px 1fr;
        gap: 0.8rem;
        position: relative;
    }

        .refer-steps li:not(:last-child)::before {
            content: "";
            position: absolute;
            left: 14px;
            top: 32px;
            bottom: -1.25rem;
            width: 0;
            border-left: 2px dashed #b7d8be;
        }

.refer-step-num {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.refer-steps strong {
    display: block;
    margin-bottom: 0.2rem;
    color: #272526;
    font-size: 0.94rem;
}

.refer-steps p {
    margin: 0;
    color: #6b746e;
    font-size: 0.84rem;
    line-height: 1.45;
}

.refer-how-art {
    margin-top: auto;
    padding-top: 1.5rem;
    width: 64px;
    height: 64px;
    margin-left: auto;
    border-radius: 16px;
    background: #eaf6eb;
    color: var(--green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.refer-activity .refer-activity-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0.25rem;
    border-bottom: 1px solid #edf0ed;
}

.refer-activity-row:last-child {
    border-bottom: 0;
}

.refer-activity-row strong {
    display: block;
    color: #272526;
    font-size: 0.95rem;
}

.refer-activity-row p {
    margin: 0.2rem 0 0;
    color: #6b746e;
    font-size: 0.8rem;
}

.refer-activity-row > div:last-child {
    text-align: right;
    flex: 0 0 auto;
}

    .refer-activity-row > div:last-child span {
        display: block;
        margin-top: 0.15rem;
        color: #6b746e;
        font-size: 0.75rem;
        text-transform: capitalize;
    }

.refer-empty {
    justify-content: center;
    text-align: left;
    padding: 1.5rem 0.5rem 1.1rem;
}

.refer-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.1rem;
    padding: 0.5rem 0.25rem 0.25rem;
}

.refer-empty-art {
    position: relative;
    width: 76px;
    height: 76px;
    border-radius: 18px;
    background: #eaf6eb;
    color: var(--green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    flex-shrink: 0;
}

    .refer-empty-art .bi-send-fill {
        position: absolute;
        top: 10px;
        right: 10px;
        font-size: 0.9rem;
        color: var(--green-dark);
    }

.refer-empty strong {
    display: block;
    margin-bottom: 0.22rem;
    color: #272526;
    font-size: 1.02rem;
    font-weight: 700;
}

.refer-empty p {
    margin: 0;
    color: #6b746e;
    font-size: 0.9rem;
}

.refer-terms {
    padding: 0.95rem 1.2rem;
}

    .refer-terms summary {
        list-style: none;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        cursor: pointer;
        font-family: "Poppins", system-ui, sans-serif;
        font-size: 1rem;
        font-weight: 700;
        color: #272526;
    }

        .refer-terms summary::-webkit-details-marker {
            display: none;
        }

        .refer-terms summary i {
            color: #6b746e;
            font-size: 1rem;
            transition: transform 0.15s ease;
        }

    .refer-terms[open] summary i {
        transform: rotate(180deg);
    }

    .refer-terms ul {
        margin: 0.85rem 0 0.25rem;
        padding: 0 0 0 1.1rem;
        color: #5a635c;
        font-size: 0.88rem;
        line-height: 1.55;
    }

.refer-page h1,
.refer-page h2,
.refer-page h3 {
    font-family: "Poppins", system-ui, sans-serif;
}

@media (max-width: 991.98px) {
    .refer-grid {
        grid-template-columns: 1fr;
    }

    .refer-stats {
        grid-template-columns: 1fr;
    }

    .refer-invite-top {
        grid-template-columns: 1fr;
    }

    .refer-qr {
        justify-self: start;
    }
}

@media (max-width: 767.98px) {
    .refer-wrap {
        width: calc(100% - 1.25rem);
        gap: 0.85rem;
    }

    .refer-hero {
        border-radius: 14px;
    }

    .refer-card {
        padding: 1.1rem 1.05rem 1.15rem;
    }

    .refer-link-row {
        flex-wrap: wrap;
    }

        .refer-link-row input {
            width: 100%;
            border-bottom: 1px solid #e0e4e0;
        }

    .refer-copy-btn {
        width: 100%;
        border-left: 0;
    }

    .refer-empty {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== Legal pages (Terms / Privacy) ===== */
.legal-section {
    padding: 1.15rem 0 2.75rem;
    background: var(--white);
}

.legal-container {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.legal-head {
    margin: 0 0 1.25rem;
}

.legal-kicker {
    margin: 0 0 0.35rem;
    color: var(--green-dark);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.legal-head h1 {
    margin: 0 0 0.4rem;
    font-family: "Poppins", system-ui, sans-serif;
    font-size: clamp(1.7rem, 2.4vw, 2.2rem);
    font-weight: 700;
    color: var(--ink);
}

.legal-updated {
    margin: 0 0 0.85rem;
    color: var(--muted);
    font-size: 0.88rem;
}

.legal-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

    .legal-switch a {
        display: inline-flex;
        align-items: center;
        min-height: 36px;
        padding: 0.4rem 0.85rem;
        border-radius: 999px;
        border: 1px solid var(--line);
        background: #fafbfa;
        color: var(--ink);
        font-size: 0.84rem;
        font-weight: 600;
        text-decoration: none;
    }

        .legal-switch a[aria-current="page"] {
            border-color: var(--green);
            background: var(--green-soft);
            color: var(--green-dark);
        }

.legal-card {
    padding: 1.35rem 1.4rem 1.6rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
    box-shadow: 0 4px 14px rgba(36, 48, 40, 0.04);
}

    .legal-card h2,
    .legal-card h3,
    .legal-card h4 {
        font-family: "Poppins", system-ui, sans-serif;
        color: var(--ink);
        font-weight: 700;
    }

    .legal-card h2 {
        margin: 1.6rem 0 0.65rem;
        font-size: 1.15rem;
    }

        .legal-card h2:first-child {
            margin-top: 0;
        }

    .legal-card h3 {
        margin: 1.25rem 0 0.5rem;
        font-size: 1.02rem;
    }

    .legal-card h4 {
        margin: 1rem 0 0.35rem;
        font-size: 0.95rem;
    }

    .legal-card p,
    .legal-card li {
        color: #3d453f;
        font-size: 0.92rem;
        line-height: 1.65;
    }

    .legal-card p {
        margin: 0 0 0.85rem;
    }

.legal-lede {
    font-size: 0.98rem !important;
    color: var(--muted) !important;
}

.legal-caps {
    font-size: 0.84rem !important;
    letter-spacing: 0.01em;
}

.legal-card ul {
    margin: 0 0 0.95rem;
    padding-left: 1.15rem;
}

.legal-card li + li {
    margin-top: 0.35rem;
}

.legal-card a {
    color: var(--green-dark);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-table {
    display: grid;
    gap: 0.55rem;
    margin: 0.85rem 0 1.15rem;
}

.legal-table-head,
.legal-table-row {
    display: grid;
    grid-template-columns: 0.9fr 1.2fr 1.2fr;
    gap: 0.75rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    font-size: 0.84rem;
    line-height: 1.45;
}

.legal-table-head {
    background: var(--green-soft);
    color: var(--green-dark);
    font-weight: 700;
}

.legal-table-row {
    background: #fafbfa;
    color: #3d453f;
}

@media (max-width: 767.98px) {
    .legal-table-head {
        display: none;
    }

    .legal-table-row {
        grid-template-columns: 1fr;
    }

        .legal-table-row strong::after {
            content: "";
        }

    .legal-card {
        padding: 1.1rem 1rem 1.3rem;
    }
}


/* =========================================================
   ACCOUNT MVC COMPATIBILITY FIX
   Matches the current Views/Customer/Account.cshtml classes.
   ========================================================= */

/* Profile + password forms */
.account-form {
    width: 100%;
}

.account-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

    .account-form-grid label {
        display: grid;
        gap: 0.35rem;
        font-size: 0.78rem;
        font-weight: 600;
        color: var(--account-ink, var(--ink));
    }

    .account-form-grid input {
        height: 44px;
        width: 100%;
        border: 1px solid var(--account-line, var(--line));
        border-radius: 10px;
        padding: 0 0.85rem;
        font-family: inherit;
        font-size: 0.9rem;
        font-weight: 500;
        color: var(--account-ink, var(--ink));
        background: var(--white);
        box-sizing: border-box;
    }

        .account-form-grid input:focus {
            outline: none;
            border-color: var(--account-green, var(--green));
            box-shadow: var(--green-glow);
        }

.account-form-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.95rem;
}

.account-password-card .account-form-grid {
    margin-top: 0.1rem;
}

/* Address list: current Account.cshtml uses account-address-list */
.account-address-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.account-address-title {
    min-width: 0;
}

    .account-address-title strong {
        display: block;
        color: var(--ink);
        font-size: 0.98rem;
        font-weight: 700;
        line-height: 1.25;
    }

.account-address-body {
    display: grid;
    gap: 0.25rem;
}

    .account-address-body p {
        margin: 0.4rem 0 0;
        color: var(--muted);
        font-size: 0.86rem;
        line-height: 1.5;
    }

/* Wishlist: current Account.cshtml uses account-wishlist-* */
.account-wishlist-card {
    position: relative;
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 0.85rem;
    padding: 0.85rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fafbfa;
    min-width: 0;
}

.account-wishlist-remove {
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: var(--green-soft);
    color: var(--green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 1;
    z-index: 2;
}

    .account-wishlist-remove:hover {
        background: #fdeceb;
        color: #b42318;
    }

.account-wishlist-image {
    display: block;
    width: 96px;
    height: 96px;
    border-radius: 10px;
    overflow: hidden;
    background: #f0f2f0;
}

    .account-wishlist-image img {
        display: block;
        width: 100%;
        height: 100%;
        max-width: 100%;
        object-fit: cover;
    }

.account-wishlist-body {
    display: grid;
    align-content: start;
    gap: 0.25rem;
    padding-right: 1.5rem;
    min-width: 0;
}

    .account-wishlist-body h3 {
        margin: 0;
        font-family: "Poppins", system-ui, sans-serif;
        font-size: 0.95rem;
        font-weight: 700;
    }

        .account-wishlist-body h3 a {
            color: var(--ink);
            text-decoration: none;
        }

    .account-wishlist-body p {
        margin: 0;
        color: var(--muted);
        font-size: 0.8rem;
    }

    .account-wishlist-body strong {
        color: var(--ink);
        font-size: 0.95rem;
    }

    .account-wishlist-body .account-solid-btn {
        margin-top: 0.35rem;
        width: fit-content;
    }

/* Current account markup uses these names instead of the older aliases. */
.account-profile-edit-icon {
    color: var(--green);
    font-size: 1rem;
}

.account-address-card .account-address-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 0.85rem;
    margin-top: 0.15rem;
}

@media (max-width: 991.98px) {
    .account-address-list {
        grid-template-columns: 1fr;
    }

    .account-form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .account-wishlist-card {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .account-wishlist-image {
        width: 72px;
        height: 72px;
    }
}


/* ZIP availability API loading states */
.zip-check:disabled,
.zip-locate:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

.zip-check-loader,
.zip-locate-loader {
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

    .zip-check-loader:not([hidden]),
    .zip-locate-loader:not([hidden]) {
        display: inline-flex;
    }

    .zip-check-loader i,
    .zip-locate-loader i {
        animation: zip-loader-spin 0.8s linear infinite;
    }

@keyframes zip-loader-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.zip-check:disabled:hover {
    background: var(--green);
}

.zip-locate:disabled:hover {
    border-color: var(--green);
    background: var(--white);
    color: var(--green);
}

.zip-error {
    min-height: 0;
    white-space: normal;
}


/* Email/password authentication UI */
.login-login-error:not([hidden]) {
    color: #b42318;
    font-weight: 600;
    margin: 0.45rem 0 0;
    min-height: 1.1em;
}

.login-continue:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

    .login-continue:disabled:hover {
        background: var(--green);
    }

/* ================================================================
   WISHLIST UI
   Matches the requested Wishlist reference design only.
   Scoped strictly to Wishlist - no other Account section is changed.
   ================================================================ */

.account-panel[data-account-panel="wishlist"] {
    width: 100%;
    margin: 0;
    padding: 0.9rem;
    border: 1px solid var(--account-line);
    border-radius: 16px;
    background: var(--white);
    box-sizing: border-box;
}

    .account-panel[data-account-panel="wishlist"] .account-wishlist-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        margin: 0;
        padding: 0.15rem 0.2rem 0.8rem;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

        .account-panel[data-account-panel="wishlist"] .account-wishlist-head .account-panel-title {
            margin: 0;
            color: var(--account-ink);
            font-family: "Poppins", system-ui, sans-serif;
            font-size: 1.05rem;
            font-weight: 700;
            line-height: 1.3;
        }

    .account-panel[data-account-panel="wishlist"] .account-wishlist-count {
        margin: 0;
        color: var(--account-muted);
        font-size: 0.8rem;
        line-height: 1.3;
        white-space: nowrap;
    }

    .account-panel[data-account-panel="wishlist"] .account-wishlist-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.85rem;
    }

    .account-panel[data-account-panel="wishlist"] .account-wishlist-card {
        position: relative;
        display: grid;
        grid-template-columns: 96px minmax(0, 1fr);
        align-items: stretch;
        gap: 0.75rem;
        min-width: 0;
        min-height: 126px;
        padding: 0.7rem;
        border: 1px solid var(--account-line);
        border-radius: 14px;
        background: #fafbfa;
        box-sizing: border-box;
    }

    .account-panel[data-account-panel="wishlist"] .account-wishlist-remove {
        position: absolute;
        top: 0.55rem;
        right: 0.55rem;
        z-index: 2;
        width: 30px;
        height: 30px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: var(--account-green-soft);
        color: var(--account-green);
        cursor: pointer;
        line-height: 1;
    }

        .account-panel[data-account-panel="wishlist"] .account-wishlist-remove:hover {
            background: var(--account-green-soft);
            color: var(--account-green);
        }

        .account-panel[data-account-panel="wishlist"] .account-wishlist-remove i {
            font-size: 0.82rem;
        }

    .account-panel[data-account-panel="wishlist"] .account-wishlist-image {
        display: block;
        width: 96px;
        height: 100%;
        min-height: 112px;
        border-radius: 10px;
        overflow: hidden;
        background: #f0f2f0;
    }

        .account-panel[data-account-panel="wishlist"] .account-wishlist-image img {
            display: block;
            width: 100%;
            height: 100%;
            max-width: 100%;
            object-fit: cover;
        }

    .account-panel[data-account-panel="wishlist"] .account-wishlist-body {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        min-width: 0;
        padding: 0.1rem 2rem 0.05rem 0;
    }

        .account-panel[data-account-panel="wishlist"] .account-wishlist-body h3 {
            width: 100%;
            margin: 0 0 0.08rem;
            overflow: hidden;
            color: var(--account-ink);
            font-family: "Poppins", system-ui, sans-serif;
            font-size: 0.92rem;
            font-weight: 700;
            line-height: 1.3;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .account-panel[data-account-panel="wishlist"] .account-wishlist-body p {
            margin: 0 0 0.12rem;
            color: var(--account-muted);
            font-size: 0.76rem;
            line-height: 1.35;
        }

        .account-panel[data-account-panel="wishlist"] .account-wishlist-body strong {
            margin: 0;
            color: var(--account-ink);
            font-size: 0.92rem;
            font-weight: 700;
            line-height: 1.35;
        }

        .account-panel[data-account-panel="wishlist"] .account-wishlist-body .account-solid-btn {
            margin-top: 0.45rem;
            padding: 0.48rem 0.75rem;
            border-radius: 9px;
            font-size: 0.78rem;
            line-height: 1.1;
        }

    .account-panel[data-account-panel="wishlist"] .account-wishlist-card.is-out-of-stock .account-wishlist-body .account-solid-btn,
    .account-panel[data-account-panel="wishlist"] .wishlist-out-of-stock-btn:disabled {
        background: #e8e8e8;
        border-color: #e8e8e8;
        color: #888;
        cursor: not-allowed;
        opacity: 1;
    }

    .account-panel[data-account-panel="wishlist"] .account-wishlist-loading {
        grid-column: 1 / -1;
        padding: 1rem;
        color: var(--account-muted);
        font-size: 0.85rem;
        text-align: center;
    }

    .account-panel[data-account-panel="wishlist"] .account-wishlist-error {
        grid-column: 1 / -1;
        padding: 1rem;
        color: #b42318;
        font-size: 0.85rem;
    }

@media (max-width: 991.98px) {
    .account-panel[data-account-panel="wishlist"] .account-wishlist-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .account-panel[data-account-panel="wishlist"] .account-wishlist-card {
        grid-template-columns: 82px minmax(0, 1fr);
    }

    .account-panel[data-account-panel="wishlist"] .account-wishlist-image {
        width: 82px;
        min-height: 108px;
    }
}

@media (max-width: 767.98px) {
    .account-panel[data-account-panel="wishlist"] {
        padding: 0.75rem;
    }

        .account-panel[data-account-panel="wishlist"] .account-wishlist-grid {
            grid-template-columns: 1fr;
        }
}

@media (max-width: 575.98px) {
    .account-panel[data-account-panel="wishlist"] .account-wishlist-head {
        padding: 0.1rem 0.1rem 0.7rem;
    }

    .account-panel[data-account-panel="wishlist"] .account-wishlist-card {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 0.7rem;
        min-height: 112px;
        padding: 0.6rem;
    }

    .account-panel[data-account-panel="wishlist"] .account-wishlist-image {
        width: 76px;
        min-height: 98px;
    }

    .account-panel[data-account-panel="wishlist"] .account-wishlist-remove {
        top: 0.45rem;
        right: 0.45rem;
        width: 28px;
        height: 28px;
    }
}
/* =========================================================
   DESIFRESH ADDRESS UI
   Keep this block at the end of Customer_Site.css.
   It is scoped only to the address section.
   ========================================================= */

.account-addresses-card {
    overflow: hidden !important;
}

.account-address-section-head {
    padding: 18px 18px 14px !important;
    margin: 0 !important;
    align-items: center !important;
}

    .account-address-section-head .account-panel-title {
        margin: 0 !important;
        font-size: 17px !important;
    }

    .account-address-section-head > div > p.account-address-count {
        margin: 4px 0 0 !important;
        color: #777 !important;
        font-size: 12px !important;
    }

.account-add-address-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    min-height: 36px !important;
    padding: 8px 14px !important;
    border-radius: 8px !important;
    white-space: nowrap !important;
    font-size: 13px !important;
}

/*.account-address-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    padding: 12px 18px 18px !important;
}*/

.account-address-card {
    position: relative !important;
    min-width: 0 !important;
    padding: 14px 14px 12px !important;
    border: 1px solid #dedede !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-sizing: border-box !important;
    transition: border-color .18s ease, box-shadow .18s ease !important;
}

    .account-address-card:hover {
        border-color: #cfcfcf !important;
        box-shadow: 0 5px 16px rgba(0, 0, 0, .05) !important;
    }

    .account-address-card.is-default {
        border-color: #cfe5d1 !important;
    }

.account-address-top,
.account-address-title {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
}

.account-address-title {
    width: 100% !important;
    min-width: 0 !important;
}

.account-address-icon {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #eaf6eb !important;
    color: #0a9d0a !important;
    font-size: 16px !important;
}

.account-address-copy {
    min-width: 0 !important;
    flex: 1 1 auto !important;
}

.account-address-name {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin: 0 0 3px !important;
}

    .account-address-name strong {
        font-size: 14px !important;
        line-height: 1.3 !important;
        color: #111 !important;
        font-weight: 700 !important;
    }

.account-address-type,
.account-address-default-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    min-height: 19px !important;
    padding: 2px 6px !important;
    border-radius: 5px !important;
    background: #eaf7ed !important;
    color: #0a9d0a !important;
    font-size: 10px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

.account-address-type {
    background: #f3f4f4 !important;
    color: #5e6661 !important;
}

.account-address-copy p {
    margin: 0 !important;
    color: #707070 !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
    overflow-wrap: anywhere !important;
}

.account-address-ok {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    color: var(--green);
    font-size: 0.84rem;
    font-weight: 700;
}

    .account-address-ok.is-inactive {
        color: #b42318 !important;
    }

.account-address-note {
    margin: 8px 0 0 !important;
    padding-top: 8px !important;
    border-top: 1px solid #eeeeee !important;
    color: #777 !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
}

.account-address-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 0.85rem;
    margin-top: 0.15rem;
}

    .account-address-actions .account-outline-btn {
        min-height: 32px !important;
        padding: 0 10px !important;
        border-radius: 7px !important;
        font-size: 11px !important;
    }

    .account-address-actions .account-text-link,
    .account-address-actions .account-danger-link {
        font-size: 0.84rem;
    }

.account-address-footer-note {
    display: flex !important;
    align-items: flex-start !important;
    gap: 7px !important;
    margin: 9px 2px 7px !important;
    padding: 9px 10px !important;
    border-radius: 9px !important;
    background: #eaf6eb !important;
    color: #4d5a52 !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
}

    .account-address-footer-note i {
        color: #0a9d0a !important;
        margin-top: 1px !important;
        flex-shrink: 0 !important;
    }

.account-address-form {
    margin: 0 !important;
}

.account-address-form-card {
    border-top: 1px solid #eeeeee !important;
    padding: 18px !important;
}

.account-address-form-fields {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
}

.account-address-field-full {
    grid-column: 1 / -1 !important;
}

.account-address-field {
    display: block !important;
    min-width: 0 !important;
}

    .account-address-field > span {
        display: block !important;
        margin-bottom: 5px !important;
        color: #222 !important;
        font-size: 12px !important;
        font-weight: 600 !important;
    }

    .account-address-field input,
    .account-address-field textarea {
        width: 100% !important;
        box-sizing: border-box !important;
        border: 1px solid #dedede !important;
        border-radius: 8px !important;
        padding: 9px 11px !important;
        font-size: 12px !important;
        outline: none !important;
    }

        .account-address-field input:focus,
        .account-address-field textarea:focus {
            border-color: #0a9d0a !important;
            box-shadow: 0 0 0 2px rgba(10, 157, 10, .08) !important;
        }

.account-address-save-as {
    border: 0 !important;
    padding: 0 !important;
    margin: 14px 0 !important;
}

    .account-address-save-as legend {
        font-size: 12px !important;
        font-weight: 600 !important;
        margin-bottom: 7px !important;
    }

.account-address-radio {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    margin-right: 12px !important;
    font-size: 12px !important;
}

.account-address-default-toggle {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    margin: 10px 0 !important;
}

.account-address-default-copy {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}

    .account-address-default-copy strong {
        font-size: 12px !important;
    }

    .account-address-default-copy small {
        color: #777 !important;
        font-size: 11px !important;
    }

.account-address-form-actions {
    display: flex !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    margin-top: 12px !important;
}

.account-address-empty {
    padding: 24px 18px !important;
    text-align: center !important;
}

.account-address-error,
.account-address-form-message {
    margin: 10px 18px !important;
    padding: 9px 10px !important;
    border-radius: 8px !important;
    font-size: 12px !important;
}

@media (max-width: 767.98px) {
    .account-address-grid,
    .account-address-form-fields {
        grid-template-columns: 1fr !important;
    }

    .account-address-field-full {
        grid-column: auto !important;
    }

    .account-address-section-head {
        align-items: flex-start !important;
        gap: 10px !important;
    }

    .account-add-address-btn {
        min-height: 34px !important;
        padding: 7px 10px !important;
    }
}

/* Address empty state */
.account-address-empty {
    grid-column: 1 / -1 !important;
    min-height: 150px !important;
    padding: 28px 18px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 5px !important;
}

    .account-address-empty[hidden] {
        display: none !important;
    }

.account-address-empty-icon {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 5px !important;
    background: #eaf6eb !important;
    color: #0a9d0a !important;
    font-size: 18px !important;
}

.account-address-empty strong {
    color: #222 !important;
    font-size: 13px !important;
}

.account-address-empty span {
    color: #777 !important;
    font-size: 11px !important;
}

.account-pill {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 19px !important;
    padding: 2px 6px !important;
    border-radius: 5px !important;
    background: #eaf7ed !important;
    color: #0a9d0a !important;
    font-size: 10px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}
/* Address delete confirmation popup - add at the end of Customer_Site.css */
.address-delete-confirm-overlay {
    position: fixed !important;
    inset: 0 !important;
    z-index: 99999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    background: rgba(0,0,0,.42) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity .16s ease,visibility .16s ease !important
}

    .address-delete-confirm-overlay.is-visible {
        opacity: 1 !important;
        visibility: visible !important
    }

.address-delete-confirm-modal {
    position: relative !important;
    width: min(410px,100%) !important;
    box-sizing: border-box !important;
    padding: 25px 24px 22px !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: 0 18px 55px rgba(0,0,0,.18) !important;
    text-align: center !important;
    transform: translateY(8px) scale(.98) !important;
    transition: transform .16s ease !important
}

.address-delete-confirm-overlay.is-visible .address-delete-confirm-modal {
    transform: translateY(0) scale(1) !important
}

.address-delete-confirm-close {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    width: 30px !important;
    height: 30px !important;
    border: 0 !important;
    border-radius: 7px !important;
    background: transparent !important;
    color: #777 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important
}

    .address-delete-confirm-close:hover {
        background: #f5f5f5 !important;
        color: #222 !important
    }

.address-delete-confirm-icon {
    width: 52px !important;
    height: 52px !important;
    margin: 0 auto 13px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #fff1f1 !important;
    color: #d92d20 !important;
    font-size: 21px !important
}

.address-delete-confirm-modal h3 {
    margin: 0 0 7px !important;
    color: #171717 !important;
    font-size: 18px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important
}

.address-delete-confirm-modal p {
    max-width: 330px !important;
    margin: 0 auto !important;
    color: #707070 !important;
    font-size: 12px !important;
    line-height: 1.55 !important
}

    .address-delete-confirm-modal p strong {
        color: #333 !important
    }

.address-delete-confirm-actions {
    display: flex !important;
    justify-content: center !important;
    gap: 9px !important;
    margin-top: 20px !important
}

    .address-delete-confirm-actions button {
        min-width: 105px !important;
        min-height: 36px !important;
        border-radius: 8px !important;
        font-size: 12px !important;
        font-weight: 600 !important
    }

.address-delete-confirm-delete {
    border: 1px solid #d92d20 !important;
    background: #d92d20 !important;
    color: #fff !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important
}

    .address-delete-confirm-delete:hover {
        background: #b42318 !important;
        border-color: #b42318 !important
    }

@media(max-width:480px) {
    .address-delete-confirm-modal {
        padding: 23px 17px 18px !important;
        border-radius: 14px !important
    }

    .address-delete-confirm-actions {
        flex-direction: column-reverse !important
    }

        .address-delete-confirm-actions button {
            width: 100% !important
        }
}


.address-delete-confirm-error {
    margin: 12px auto 0 !important;
    padding: 8px 10px !important;
    border-radius: 7px !important;
    background: #fff1f1 !important;
    color: #b42318 !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
}

.address-delete-confirm-actions button:disabled {
    opacity: .55 !important;
    cursor: not-allowed !important;
}

/* ============================================================
   PRODUCT DETAILS - SIMILAR PRODUCTS FIX
   Scoped only to the Similar Products aisle.
   ============================================================ */

[data-similar-aisle] .aisle-row {
    position: relative;
    width: 100%;
    min-width: 0;
}

[data-similar-aisle] [data-similar-swiper] {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    padding: 2px 0 8px;
}

    [data-similar-aisle] [data-similar-swiper] .swiper-wrapper {
        display: flex;
        align-items: stretch;
        height: auto !important;
    }

    [data-similar-aisle] [data-similar-swiper] .swiper-slide {
        flex: 0 0 auto;
        width: calc((100% - 70px) / 6.4);
        min-width: 0;
        height: auto !important;
        display: flex;
    }

    [data-similar-aisle] [data-similar-swiper] .product-card {
        width: 100%;
        height: 100%;
        min-height: 250px;
        box-sizing: border-box;
    }

    [data-similar-aisle] [data-similar-swiper] .product-media-wrap {
        width: 100%;
    }

    [data-similar-aisle] [data-similar-swiper] .product-media {
        width: 100%;
        height: var(--product-media-h, 132px);
        overflow: hidden;
    }

        [data-similar-aisle] [data-similar-swiper] .product-media img {
            display: block;
            width: auto;
            max-width: 92%;
            height: auto;
            max-height: 118px;
            object-fit: contain;
        }

    [data-similar-aisle] [data-similar-swiper] .product-image-placeholder {
        width: 82px;
        height: 82px;
        display: grid;
        place-items: center;
        border-radius: 12px;
        background: #f6f7f6;
        color: #b5bbb7;
        font-size: 1.7rem;
    }

    [data-similar-aisle] [data-similar-swiper] .product-name {
        min-height: calc(1.3em * 2);
    }

    [data-similar-aisle] [data-similar-swiper] .product-card-bar {
        margin-top: auto;
    }

    [data-similar-aisle] [data-similar-swiper] .product-add {
        margin-left: auto;
    }

/* Keep navigation inside the Similar Products row. */
[data-similar-aisle] > .aisle-row > .aisle-nav {
    z-index: 10;
}

/* If Swiper JS is unavailable, keep the section horizontally swipeable. */
[data-similar-aisle] .similar-swiper-fallback {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
}

    [data-similar-aisle] .similar-swiper-fallback::-webkit-scrollbar {
        display: none;
    }

    [data-similar-aisle] .similar-swiper-fallback .swiper-wrapper {
        width: max-content;
    }

    [data-similar-aisle] .similar-swiper-fallback .swiper-slide {
        width: 190px;
        flex: 0 0 190px;
    }

@media (max-width: 1399.98px) {
    [data-similar-aisle] [data-similar-swiper] .swiper-slide {
        width: calc((100% - 56px) / 5.2);
    }
}

@media (max-width: 991.98px) {
    [data-similar-aisle] [data-similar-swiper] .swiper-slide {
        width: calc((100% - 36px) / 4.2);
    }
}

@media (max-width: 767.98px) {
    [data-similar-aisle] [data-similar-swiper] .swiper-slide {
        width: calc((100% - 24px) / 3.15);
    }

    [data-similar-aisle] [data-similar-swiper] .product-card {
        min-height: 238px;
    }
}

@media (max-width: 575.98px) {
    [data-similar-aisle] [data-similar-swiper] .swiper-slide {
        width: calc((100% - 16px) / 2.3);
    }
}

@media (max-width: 399.98px) {
    [data-similar-aisle] [data-similar-swiper] .swiper-slide {
        width: calc((100% - 8px) / 2.2);
    }
}

/* ================================================================
   DESIFRESH STRIPE PAYMENT ELEMENT
   ================================================================ */
.checkout-card#paymentCard .checkout-card-head {
    align-items: center;
}

.checkout-payment-secure-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: var(--green-dark);
    background: var(--green-soft);
    border-radius: 999px;
    padding: .28rem .58rem;
    font-size: .72rem;
    font-weight: 800;
    white-space: nowrap;
}

.checkout-stripe-panel {
    margin-top: .85rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fbfbfb;
    padding: 1rem;
}

.checkout-stripe-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .9rem;
}

    .checkout-stripe-head > div {
        display: grid;
        gap: .2rem;
    }

    .checkout-stripe-head strong {
        color: var(--ink);
        font-size: .95rem;
    }

    .checkout-stripe-head span:not(.checkout-stripe-mark) {
        color: var(--muted);
        font-size: .78rem;
        line-height: 1.45;
    }

.checkout-stripe-mark {
    flex: 0 0 auto;
    border-radius: 7px;
    padding: .2rem .5rem;
    background: #635bff;
    color: #fff;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .01em;
}

.checkout-stripe-element-wrap {
    min-height: 70px;
    padding: .2rem 0;
}

#stripe-payment-element {
    min-height: 70px;
}

    #stripe-payment-element.is-loading {
        opacity: .55;
    }

.checkout-stripe-loading {
    display: flex;
    align-items: center;
    gap: .5rem;
    min-height: 42px;
    color: var(--muted);
    font-size: .8rem;
}

.checkout-stripe-spinner,
.checkout-stripe-button-spinner {
    display: inline-block;
    width: 15px;
    height: 15px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: desifreshStripeSpin .7s linear infinite;
}

.checkout-stripe-button-spinner {
    margin-right: .35rem;
    vertical-align: -2px;
}

.checkout-stripe-message {
    margin-top: .7rem;
    padding: .7rem .8rem;
    border-radius: 9px;
    font-size: .78rem;
    line-height: 1.4;
}

    .checkout-stripe-message.is-error {
        border: 1px solid #f0c4c4;
        background: #fff5f5;
        color: #a52828;
    }

    .checkout-stripe-message.is-success {
        border: 1px solid #c7e7cf;
        background: #f2fbf4;
        color: #23763a;
    }

.checkout-stripe-note {
    margin-top: .75rem;
}

@keyframes desifreshStripeSpin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 575.98px) {
    .checkout-stripe-panel {
        padding: .8rem;
    }

    .checkout-stripe-head {
        flex-direction: column;
        gap: .55rem;
    }
}


.cart-stock-warning {
    margin: 0.65rem 0;
    padding: 0.65rem 0.75rem;
    border: 1px solid rgba(192, 57, 43, 0.25);
    border-radius: 8px;
    background: rgba(192, 57, 43, 0.06);
    color: #a93226;
    font-size: 0.8rem;
    line-height: 1.35;
}

.account-wallet-pagination-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.35rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.account-wallet-activity-count {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 500;
}

.account-wallet-pagination {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.account-wallet-page-btn {
    width: 32px;
    height: 32px;
    min-width: 32px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--white);
    color: var(--ink);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

    .account-wallet-page-btn:hover:not(:disabled) {
        border-color: var(--green);
        color: var(--green);
    }

    .account-wallet-page-btn.is-active {
        background: var(--green);
        border-color: var(--green);
        color: #ffffff;
    }

    .account-wallet-page-btn:disabled {
        opacity: 0.45;
        cursor: not-allowed;
    }

@media (max-width: 600px) {
    .account-wallet-pagination-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .account-wallet-pagination {
        width: 100%;
        justify-content: flex-end;
    }
}
/* =========================================================
   DESIFRESH ACCOUNT - DOCUMENT POINT 31 ONLY
   Do not affect other customer pages.
   ========================================================= */

.customer-page--Account .account-container {
    max-width: 1200px;
}

.customer-page--Account .account-layout {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 1rem;
}

.customer-page--Account .account-overview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.customer-page--Account .account-quick-card {
    min-width: 0;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 0.7rem;
    padding: 0.9rem;
}

.customer-page--Account .account-quick-icon {
    width: 42px;
    height: 42px;
    font-size: 1.05rem;
}

.customer-page--Account .account-quick-body {
    min-width: 0;
}

    .customer-page--Account .account-quick-body span {
        font-size: 0.78rem;
    }

    .customer-page--Account .account-quick-body b {
        font-size: 1rem;
    }

    .customer-page--Account .account-quick-body .account-text-link {
        font-size: 0.72rem;
    }

.customer-page--Account .account-panel[data-account-panel="overview"]
.account-panel-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.15rem;
    margin-bottom: 0.7rem;
}

.customer-page--Account
.account-overview-recent-orders {
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border: 1px solid var(--account-line);
    border-radius: 14px;
    background: #fff;
}

.customer-page--Account
.account-overview-orders-empty {
    width: 100%;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.35rem;
}

.customer-page--Account
.account-overview-empty-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 0.35rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--account-green-soft);
    color: var(--account-green);
    font-size: 1.15rem;
}

.customer-page--Account
.account-overview-orders-empty strong {
    color: var(--account-ink);
    font-size: 0.95rem;
    font-weight: 700;
}

.customer-page--Account
.account-overview-orders-empty > span:not(.account-overview-empty-icon) {
    color: var(--account-muted);
    font-size: 0.78rem;
}

.customer-page--Account
.account-overview-orders-empty .account-solid-btn {
    margin-top: 0.45rem;
}

/* Point 33:
   Empty address state should be centered like the orders empty state. */
.customer-page--Account
.account-address-empty {
    min-height: 180px;
}

/* Keep the default-address green information banner hidden
   until JS confirms that at least one address exists. */
.customer-page--Account
.account-address-footer-note[hidden] {
    display: none !important;
}


/* =========================================================
   Account overview responsive behavior
   ========================================================= */

@media (max-width: 991.98px) {
    .customer-page--Account .account-overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .customer-page--Account .account-overview-grid {
        grid-template-columns: 1fr;
    }

    .customer-page--Account .account-layout {
        grid-template-columns: 1fr;
    }

    .customer-page--Account
    .account-overview-recent-orders {
        min-height: 190px;
        padding: 1rem;
    }
}

/* Overview > Recent orders: stack full-width cards (same as My Orders page) */
.customer-page--Account .account-overview-recent-orders:has(.account-order-card) {
    display: block;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.customer-page--Account .account-overview-recent-orders > .account-order-card {
    width: 100%;
}
/* Top announcement banner: closable */
.announce-bar {
    position: relative;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

    .announce-bar[hidden] {
        display: none !important;
    }

.announce-close {
    position: absolute;
    right: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 0.8rem;
    line-height: 1;
    cursor: pointer;
}

    .announce-close:hover {
        background: rgba(255, 255, 255, 0.2);
    }

/* Mobile browser: "Save time with the app" bottom sheet */
.app-prompt[hidden],
.app-prompt-backdrop[hidden] {
    display: none !important;
}

.app-prompt-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    transition: opacity 0.25s ease;
}

    .app-prompt-backdrop.is-visible {
        opacity: 1;
    }

.app-prompt {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2001;
    padding: 1.25rem 1.1rem calc(1rem + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.18);
    transform: translateY(100%);
    transition: transform 0.25s ease;
}

    .app-prompt.is-visible {
        transform: translateY(0);
    }

.app-prompt-body {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.1rem;
}

.app-prompt-icon {
    width: 76px;
    height: 76px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 18px;
}

.app-prompt-copy h2 {
    margin: 0 0 0.25rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #111;
}

.app-prompt-copy p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.35;
    color: #666;
}

.app-prompt-open {
    display: block;
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: #129800;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.app-prompt-continue {
    display: block;
    width: 100%;
    margin-top: 0.6rem;
    padding: 0.55rem;
    border: 0;
    background: transparent;
    color: #111;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
}

body.app-prompt-open {
    overflow: hidden;
}

/* Mobile / tablet: product card image must fit inside the card */
@media (max-width: 991.98px) {
    .product-media-wrap,
    .product-media {
        width: 100%;
        max-width: 100%;
    }

    .product-media-wrap {
        height: auto;
    }

    .product-media,
    .shop-item .product-media,
    .aisle-swiper .product-media {
        position: relative;
        height: auto;
        aspect-ratio: 1 / 1;
        overflow: hidden;
    }

        .product-media img,
        .shop-item .product-media img,
        .aisle-swiper .product-media img {
            position: absolute;
            inset: 0;
            display: block;
            width: 100%;
            max-width: 100%;
            height: 100%;
            object-fit: contain;
            padding: 4px;
            box-sizing: border-box;
        }
}

/* ---- Product tile: "+" moved up beside price, tile width 330 ---- */
.product-card {
    max-width: 330px;
    margin-inline: auto;
}

.product-info {
    position: relative;
}

.product-foot {
    padding-right: 42px;
}

    .product-foot:has(~ .product-card-bar .product-stepper) {
        padding-right: 92px;
    }

.product-card-bar .product-add,
.product-card-bar .product-stepper {
    position: absolute;
    top: 0;
    right: 0;
    margin-left: 0;
    z-index: 2;
}