*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --cream: #fdf8f4;
    --warm-white: #fdf8f4;
    --text-dark: #1c0d14;
    --text-mid: #6b3a55;
    --text-light: #b08498;
    --accent: #c0406e;
    --accent-hover: #a8305c;
    --accent-light: #fff0f5;
    --accent-gold: #c5882a;
    --border: #edd5e0;
    --stock-low: #c0392b;
    --stock-bg: #fff0f0;
    --stock-available: #1e6b40;
    --stock-available-bg: #edfaf3;
    --grad-primary: linear-gradient(135deg,
            #c0406e 0%,
            #e0446a 55%,
            #f07050 100%);
    --grad-gold: linear-gradient(135deg, #c5882a 0%, #e8b84b 100%);
    --grad-bg: linear-gradient(160deg, #fdf8f4 0%, #fef0f6 50%, #fdf5f0 100%);
}

html,
body {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
    position: relative;
    /* Prevent layout-shift (flicker) when overflow:hidden is set to lock scroll */
    scrollbar-gutter: stable;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

* {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

body {
    font-family: "Inter", sans-serif;
    background: #ffffff;
    color: var(--text-dark);
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 90;
    /* Stay below overlays */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    height: 70px;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    /* Ensure logo and links don't touch */
    position: relative;
}

.nav-logo {
    font-family: "Outfit", sans-serif;
    font-size: 28px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--text-dark);
    text-decoration: none;
    flex-shrink: 0;
    margin-right: 1.5rem;
}

.nav-logo em {
    color: var(--accent);
    font-style: italic;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-divider {
    width: 1px;
    height: 20px;
    background: var(--border);
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    flex-shrink: 0;
}

.nav-links a {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
    padding-bottom: 2px;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.25s ease;
}

.nav-links a:hover {
    color: var(--text-dark);
}

.nav-links a:hover::after {
    width: 100%;
}

/* ══════════════════════════════════════════════════════════
   MACY'S-STYLE SEARCH — nav bar input
   ══════════════════════════════════════════════════════════ */
.nav-search-wrap {
    flex: 1;
    max-width: 380px;
    position: relative;
    margin-left: 2rem;
}

/* Rectangular, editorial input — underline focus style like Macy's */
.nav-search-box {
    width: 100%;
    height: 38px;
    border: none;
    border-bottom: 2px solid var(--border);
    border-radius: 0;
    background: transparent;
    padding: 0 36px 0 28px;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-dark);
    outline: none;
    letter-spacing: 0.01em;
    transition: border-color 0.2s ease;
    cursor: text;
}

.nav-search-box::placeholder {
    color: var(--text-light);
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 11.5px;
}

.nav-search-box:focus,
.nav-search-box.active {
    border-bottom-color: var(--text-dark);
}

/* Magnifier icon — left aligned */
.nav-search-icon {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    pointer-events: none;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.nav-search-wrap:focus-within .nav-search-icon {
    color: var(--text-dark);
}

/* ── Clear ✕ button ── */
.nav-search-clear {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) scale(0.7);
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 16px;
    line-height: 1;
    opacity: 0;
    pointer-events: none;
    transition: color 0.15s, opacity 0.2s, transform 0.2s;
    padding: 4px;
}

.nav-search-clear:hover {
    color: var(--text-dark);
}

.nav-search-clear.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) scale(1);
}

/* ── Scrim (invisible — click-outside-to-close only) ── */
.search-scrim {
    position: fixed;
    inset: 0;
    background: transparent;
    z-index: 5900;
    pointer-events: none;
}

.search-scrim.visible {
    pointer-events: auto;
}

.nav-dropdown-modal {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    margin-left: -230px;
    /* half of 460px — centers under the link */
    width: 460px;
    max-width: 90vw;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(0, 0, 0, 0.06);
    padding: 2rem;
    display: none;
    z-index: 10001;
    /* above mobile-menu (9999) */
    cursor: default;
    transform-origin: top center;
    animation: dropdownFromBtn 0.26s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes dropdownFromBtn {
    from {
        opacity: 0;
        transform: scale(0.75) translateY(-10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.nav-dropdown-modal.visible {
    display: block;
}

@media (max-width: 768px) {
    .nav-dropdown-modal {
        position: fixed;
        top: 70px;
        left: 10px;
        right: 10px;
        width: auto;
        margin-left: 0;
    }
}


.nav-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .nav-right {
        gap: 1rem;
    }
}

.hero {
    padding-top: 70px;
    /* 70px (nav) */
    min-height: 100svh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    position: relative;
    overflow: hidden;
    background: url('assets/images/HERO/herobackground.webp') no-repeat center center/cover;
    padding-left: max(5%, calc((100vw - 1200px) / 2));
    padding-right: max(5%, calc((100vw - 1200px) / 2));
    gap: 4rem;
}

.hero-content {
    position: relative;
    flex: 1;
    max-width: 750px;
    padding: 2rem 0;
    z-index: 2;
}

.hero-title {
    font-family: "Outfit", sans-serif;
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.hero-title em {
    font-style: italic;
    color: var(--accent);
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 18px;
    font-weight: 300;
    color: var(--text-mid);
    max-width: 600px;
    margin: 0 0 2.5rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--grad-primary);
    color: #fff;
    text-decoration: none;
    padding: 16px 36px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 8px 24px rgba(192, 64, 110, 0.3);
}

.hero-btn-primary:hover {
    background: linear-gradient(135deg, #a8305c 0%, #c03050 55%, #d85a30 100%);
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(192, 64, 110, 0.4);
}

.hero-btn-secondary {
    color: #2d1b2e;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
}

.hero-btn-secondary:hover {
    text-decoration: underline;
}

.hero-btn-secondary span {
    font-size: 13px;
    margin-top: 2px;
}

.hero-image-container {
    flex: 1;
    max-width: 55%;
    z-index: 1;
}

.hero-product-image {
    position: absolute;
    height: auto;
    object-fit: contain;
    object-position: bottom right;
    filter: drop-shadow(-20px 20px 40px rgba(0, 0, 0, 0.35));
    transform-origin: bottom right;
    z-index: 2;
}

.slide-animation {
    opacity: 0;
    visibility: hidden;
    transform: translateX(150px);
    cursor: pointer;
}

/* Individual adjustments for each image */
.slide-1 {
    animation: reachInAndOut 12s cubic-bezier(0.16, 1, 0.3, 1) infinite;
    animation-delay: 0s;
    bottom: -10px;
    right: 0px;
    width: 82vw;
    max-width: 650px;
}

.slide-2 {
    animation: reachInAndOut 12s cubic-bezier(0.16, 1, 0.3, 1) infinite;
    animation-delay: 2s;
    bottom: 0px;
    right: 0px;
    width: 82vw;
    max-width: 700px;
}

.slide-3 {
    animation: reachInAndOut 12s cubic-bezier(0.16, 1, 0.3, 1) infinite;
    animation-delay: 4s;
    bottom: 0px;
    right: 0px;
    /* niacinamide: compact/centered crop, less offset needed */
    width: 82vw;
    max-width: 650px;
}

.slide-4 {
    animation: reachInAndOut 12s cubic-bezier(0.16, 1, 0.3, 1) infinite;
    animation-delay: 6s;
    bottom: 0px;
    right: 0px;
    /* neutrogena: subject now left-leaning, push right to hide whitespace */
    width: 82vw;
    max-width: 650px;
}

.slide-5 {
    animation: reachInAndOut 12s cubic-bezier(0.16, 1, 0.3, 1) infinite;
    animation-delay: 8s;
    bottom: 0px;
    right: -200px;
    width: 85vw;
    max-width: 1300px;
}

.slide-6 {
    animation: reachInAndOut 12s cubic-bezier(0.16, 1, 0.3, 1) infinite;
    animation-delay: 10s;
    bottom: 0px;
    right: 0px;
    /* maybelline: subject now centered, less offset needed */
    width: 82vw;
    max-width: 700px;
}

@media (max-width: 768px) {
    .hero-image-container {
        /* filter creates a new containing block for position:absolute children
           without affecting desktop — images will now anchor here, not to .hero */
        filter: drop-shadow(0 0 0 transparent);
        position: relative;
        width: 100%;
        height: 55svh;
        max-width: 100%;
        overflow: hidden;
        flex-shrink: 0;
        box-shadow: -15px 20px 50px rgba(0, 0, 0, 0.25);
    }

    .contact-shadow {
        display: none;
    }

    /*
     * All slides on mobile use object-fit: cover + object-position.
     * This is the ONLY truly device-independent approach:
     * object-position % is relative to the image's own dimensions,
     * so it crops identically on every screen size, aspect ratio, and browser.
     * The slide-in animation (transform: translateX) still works since
     * transform doesn't affect layout.
     */
    .slide-1,
    .slide-2,
    .slide-3,
    .slide-4,
    .slide-5,
    .slide-6 {
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        object-fit: cover !important;
        filter: none !important;
    }

    /* object-position x% = subject's horizontal center in the image
       y% = vertical anchor to keep product top always visible */
    .slide-1 {
        object-position: center bottom !important;
    }

    /* panoxyl: portrait, unchanged */
    .slide-2 {
        object-position: 57% 35% !important;
    }

    /* glycolic: unchanged, subject at ~57% */
    .slide-3 {
        object-position: 55% 35% !important;
    }

    /* niacinamide: two hands, centered */
    .slide-4 {
        object-position: 33% 25% !important;
    }

    /* neutrogena: subject now left-leaning */
    .slide-5 {
        object-position: 60% 40% !important;
    }

    /* elf: unchanged */
    .slide-6 {
        object-position: 50% 15% !important;
    }

    /* maybelline: now centered, tube top high */
}

@keyframes reachInAndOut {
    0% {
        opacity: 0;
        visibility: hidden;
        transform: translateX(100%);
    }

    2% {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }

    17% {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }

    19% {
        opacity: 0;
        visibility: hidden;
        transform: translateX(100%);
    }

    100% {
        opacity: 0;
        visibility: hidden;
        transform: translateX(100%);
    }
}

@keyframes floatImage {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0);
    }
}



.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}

.marquee-strip {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    /* Above nav, below overlays */
    background: var(--grad-primary);
    color: #fff;
    height: 38px;
    display: flex;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-inner {
    display: inline-flex;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 0 1.5rem;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
}

.marquee-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 600px) {
    .marquee-inner {
        animation-duration: 20s;
    }

    .marquee-item {
        padding: 0 1rem;
        gap: 0.75rem;
    }
}

section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: "Outfit", sans-serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.1;
    color: var(--text-dark);
}

.section-title em {
    font-style: italic;
}

.view-all {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-mid);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition:
        color 0.2s,
        gap 0.2s;
    white-space: nowrap;
}

.view-all:hover {
    color: var(--text-dark);
    gap: 10px;
}

/* â”€â”€ PREMIUM PRODUCTS GRID â”€â”€ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* â”€â”€ PREMIUM PRODUCT CARD â”€â”€ */
.product-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    position: relative;
    isolation: isolate;
}

/* Luxury Lift on Hover */
.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(192, 64, 110, 0.15);
    box-shadow:
        0 15px 35px rgba(28, 13, 20, 0.08),
        0 5px 15px rgba(192, 64, 110, 0.04);
}

/* â”€â”€ PRODUCT IMAGE AREA â”€â”€ */
.product-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

/* Fine grain texture overlay - Hidden for clean white look */
.product-img::before {
    display: none;
}

/* Shimmer sweep on hover */
.product-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg,
            transparent 20%,
            rgba(255, 255, 255, 0.55) 48%,
            rgba(255, 255, 255, 0.12) 52%,
            transparent 80%);
    opacity: 0;
    transform: translateX(-120%);
    transition: none;
    pointer-events: none;
    z-index: 2;
}

.product-card:hover .product-img::after {
    opacity: 1;
    transform: translateX(130%);
    transition:
        transform 0.75s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.05s;
}

.product-actual-img {
    width: 88%;
    height: 88%;
    object-fit: contain;
    background: #ffffff;
    transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.1)) drop-shadow(0 2px 6px rgba(192, 64, 110, 0.08));
    position: relative;
    z-index: 1;
}

.product-card:hover .product-actual-img {
    transform: scale(1.09) translateY(-3px);
}

/* â”€â”€ STOCK & NEW BADGES (Premium) â”€â”€ */

.skeleton-card {
    pointer-events: none;
    border-color: transparent;
    box-shadow: none !important;
    border-radius: 16px;
}

.skeleton-img {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(145deg, #f8eef4 0%, #f4ecf0 100%);
    animation: skeletonPulse 1.5s infinite ease-in-out;
}

.skeleton-text {
    height: 12px;
    background: #f0e6ec;
    border-radius: 100px;
    margin-bottom: 8px;
    animation: skeletonPulse 1.5s infinite ease-in-out;
}

.skeleton-category {
    width: 30%;
    height: 10px;
    margin-bottom: 12px;
}

.skeleton-title {
    width: 80%;
    height: 16px;
    margin-bottom: 16px;
}

.skeleton-desc {
    width: 100%;
}

.skeleton-desc.short {
    width: 60%;
    margin-bottom: 20px;
}

.skeleton-source-pill {
    width: 120px;
    height: 24px;
    background: #f0e6ec;
    border-radius: 100px;
    animation: skeletonPulse 1.5s infinite ease-in-out;
}

.skeleton-price {
    width: 40%;
    height: 20px;
    margin-bottom: 0;
}

.skeleton-btn {
    width: 40px;
    height: 40px;
    background: #f0e6ec;
    border-radius: 50%;
    animation: skeletonPulse 1.5s infinite ease-in-out;
}

@keyframes skeletonPulse {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 0.3;
    }

    100% {
        opacity: 0.6;
    }
}

.product-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img-placeholder svg {
    width: 56px;
    height: 56px;
    opacity: 0.35;
}

/* â”€â”€ STOCK & NEW BADGES (Premium) â”€â”€ */
.stock-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 100px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stock-badge::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    flex-shrink: 0;
}

.stock-badge.available {
    background: rgba(237, 250, 243, 0.95);
    color: var(--stock-available);
    border: 1px solid rgba(46, 125, 50, 0.2);
}

.stock-badge.available::before {
    background: var(--stock-available);
    box-shadow: 0 0 0 2px rgba(30, 107, 64, 0.2);
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {

    0%,
    100% {
        box-shadow: 0 0 0 2px rgba(30, 107, 64, 0.2);
    }

    50% {
        box-shadow: 0 0 0 4px rgba(30, 107, 64, 0.1);
    }
}

.stock-badge.oos {
    background: rgba(255, 240, 240, 0.95);
    color: var(--stock-low);
    border: 1px solid rgba(192, 57, 43, 0.2);
}

.stock-badge.oos::before {
    background: var(--stock-low);
}

.stock-badge.low {
    background: rgba(255, 250, 235, 0.95);
    color: #b45309;
    border: 1px solid rgba(180, 83, 9, 0.2);
}

.stock-badge.low::before {
    background: #b45309;
    animation: pulseDot 1.5s ease-in-out infinite;
}

.new-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--grad-primary);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 100px;
    box-shadow: 0 4px 14px rgba(192, 64, 110, 0.4);
    z-index: 4;
}

/* â”€â”€ PRODUCT BODY (Premium) â”€â”€ */
.product-body {
    padding: 1.5rem 1.6rem 1.6rem;
    background: #fff;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Subtle decorative rule above body */
.product-body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 1.6rem;
    right: 1.6rem;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            var(--border) 30%,
            var(--border) 70%,
            transparent);
}

.product-category {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.product-name {
    font-family: "Outfit", sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 0.6rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-desc {
    font-size: 12.5px;
    color: var(--text-mid);
    font-weight: 400;
    margin-bottom: 1.25rem;
    line-height: 1.7;
    flex: 1;
}

/* â”€â”€ SOURCE PILL â”€â”€ */
.product-source-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-light);
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 4px 10px;
    margin-bottom: 1.1rem;
    width: fit-content;
}

.product-source-pill svg {
    opacity: 0.6;
}

/* â”€â”€ PRODUCT FOOTER (Premium) â”€â”€ */
.product-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(237, 213, 224, 0.6);
    margin-top: auto;
    gap: 0.75rem;
}

.product-price-wrap {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.product-price {
    font-family: "Outfit", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-dark);
    line-height: 1;
}

.product-price span {
    font-family: "Inter", sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.04em;
    -webkit-text-fill-color: var(--text-light);
    color: var(--text-light);
    display: block;
    margin-top: 3px;
}

.product-size-label {
    font-size: 11px;
    color: var(--text-light);
    font-weight: 400;
    margin-top: 2px;
    display: block;
}

/* â”€â”€ FOOTER ACTIONS â”€â”€ */
.product-footer-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Wishlist button in card */
.card-wishlist-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.card-wishlist-btn:hover,
.card-wishlist-btn.active {
    border-color: rgba(255, 48, 48, 0.35);
    color: #ff3030;
    background: rgba(255, 48, 48, 0.08);
}

.card-wishlist-btn.active svg {
    fill: #ff3030;
    stroke: #ff3030;
}

/* Add-to-cart button */
.add-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.add-btn:hover {
    background: var(--text-dark);
    color: #fff;
    border-color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* â”€â”€ OUT OF STOCK OVERLAY â”€â”€ */
.product-card.oos-card .product-img {}

.product-card.oos-card .add-btn {
    opacity: 0.4;
    pointer-events: none;
    cursor: not-allowed;
}

/* â”€â”€ PREMIUM AUTHENTICITY STRIP â”€â”€ */
.product-auth-strip {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-gold);
    padding: 7px 1.6rem;
    background: linear-gradient(90deg,
            rgba(197, 136, 42, 0.07),
            rgba(197, 136, 42, 0.03));
    border-top: 1px solid rgba(197, 136, 42, 0.15);
}

.product-auth-strip svg {
    flex-shrink: 0;
    opacity: 0.8;
}



/* â”€â”€ CARD RATING STARS (if present) â”€â”€ */
.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 0.6rem;
}

.product-rating-stars {
    display: flex;
    gap: 2px;
    color: var(--accent-gold);
}

.product-rating-count {
    font-size: 11px;
    color: var(--text-light);
    font-weight: 500;
}

/* â”€â”€ CARD SOLD COUNT / SOCIAL PROOF â”€â”€ */
.product-social-proof {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: var(--text-light);
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.product-social-proof strong {
    color: var(--text-mid);
    font-weight: 600;
}

/* â”€â”€ CARD ENTRY ANIMATION â”€â”€ */
.product-card {
    animation: cardReveal 0.5s cubic-bezier(0.23, 1, 0.32, 1) both;
}

@keyframes cardReveal {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.product-card:nth-child(1) {
    animation-delay: 0.05s;
}

.product-card:nth-child(2) {
    animation-delay: 0.12s;
}

.product-card:nth-child(3) {
    animation-delay: 0.19s;
}

.product-card:nth-child(4) {
    animation-delay: 0.26s;
}

.product-card:nth-child(5) {
    animation-delay: 0.33s;
}

.product-card:nth-child(6) {
    animation-delay: 0.4s;
}

.product-card:nth-child(7) {
    animation-delay: 0.47s;
}

.product-card:nth-child(8) {
    animation-delay: 0.54s;
}

.product-card:nth-child(n + 9) {
    animation-delay: 0.6s;
}

/* â”€â”€ RESPONSIVE CARD GRID â”€â”€ */
@media (max-width: 900px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding: 0 0.5rem;
    }

    .product-body {
        padding: 0.75rem 0.75rem 1rem;
    }

    .product-body::before {
        left: 0.75rem;
        right: 0.75rem;
    }

    .product-name {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
        line-height: 1.3;
    }

    .product-price {
        font-size: 1rem;
    }

    .product-card:hover {
        transform: translateY(-4px) scale(1.01);
    }

    /* Hide description on mobile to keep cards compact */
    .product-desc {
        display: none;
    }

    /* Keep source pill visible â€” it's a trust signal */
    .product-source-pill {
        font-size: 9px;
        padding: 3px 8px;
        margin-bottom: 0.75rem;
    }

    /* Enlarge touch targets for footer buttons */
    .card-wishlist-btn {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }

    .add-btn {
        width: 44px;
        height: 44px;
        flex-shrink: 0;
    }

    /* Side-by-side price and actions on mobile */
    .product-footer {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
    }

    .product-footer-actions {
        width: auto;
        justify-content: flex-end;
    }

    .stock-badge,
    .new-badge {
        font-size: 8px;
        padding: 3px 8px;
    }
}

@media (max-width: 380px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

.wa-order-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f0fdf5;
    color: #166534;
    border: 1px solid #bbf7d0;
    border-radius: 0;
    padding: 9px 16px;
    font-family: "Inter", sans-serif;
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.02em;
    cursor: pointer;
    text-decoration: none;
    margin-top: 0.75rem;
    transition:
        background 0.2s,
        border-color 0.2s,
        transform 0.15s;
}

.wa-order-btn:hover {
    background: #dcfce7;
    border-color: #86efac;
    transform: translateY(-1px);
}

.about-strip {
    background: linear-gradient(135deg, #fff5f9 0%, #fdf0f8 50%, #fff8f3 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.about-strip section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text .eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}

.about-text h2 {
    font-family: "Outfit", sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.about-text p {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-mid);
    line-height: 1.85;
}

.about-pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.pillar {
    background: var(--warm-white);
    border: 1px solid var(--border);
    border-radius: 0;
    padding: 1.25rem;
}

.pillar-icon {
    width: 36px;
    height: 36px;
    background: var(--accent-light);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    color: var(--accent);
}

.pillar h4 {
    font-family: "Outfit", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.pillar p {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.6;
}

footer {
    border-top: 1px solid var(--border);
    background: var(--warm-white);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3.5rem 2rem 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border);
}

.footer-brand .logo {
    font-family: "Outfit", sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.footer-brand .logo em {
    color: var(--accent);
    font-style: italic;
}

.footer-brand p {
    font-size: 13px;
    font-weight: 300;
    color: var(--text-mid);
    line-height: 1.8;
    max-width: 240px;
}

.footer-col h5 {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    font-size: 13px;
    font-weight: 300;
    color: var(--text-mid);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--text-dark);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 12px;
    color: var(--text-light);
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-mid);
    text-decoration: none;
    transition:
        border-color 0.2s,
        color 0.2s;
    font-size: 13px;
}

.social-link:hover {
    border-color: var(--text-dark);
    color: var(--text-dark);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content>* {
    opacity: 0;
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title {
    animation-delay: 0.1s;
}

.hero-sub {
    animation-delay: 0.2s;
}

.hero-actions {
    animation-delay: 0.3s;
}

.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(28, 28, 26, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    padding: 13px 18px;
    border-radius: 12px;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 400;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(100px);
    opacity: 0;
    transition:
        transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
        opacity 0.4s ease;
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: none;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.toast-msg {
    display: flex;
    align-items: center;
    gap: 8px;
}

.toast-action-btn {
    background: none;
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0 0 0 12px;
    color: #fff;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.03em;
    cursor: pointer;
    white-space: nowrap;
    opacity: 0.85;
    transition: opacity 0.15s;
    line-height: 1;
}

.toast-action-btn:hover {
    opacity: 1;
}

/* ─────────────────────────────────────────
   NOTIFY ME WHEN BACK IN STOCK — MODAL
───────────────────────────────────────── */
.notify-overlay {
    position: fixed;
    inset: 0;
    background: rgba(28, 13, 20, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 3000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.notify-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.notify-modal {
    background: #fff;
    width: 100%;
    max-width: 480px;
    border-radius: 20px 20px 0 0;
    padding: 2rem 1.75rem 2.25rem;
    position: relative;
    transform: translateY(40px);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.notify-overlay.open .notify-modal {
    transform: translateY(0);
}

@media (min-width: 520px) {
    .notify-overlay {
        align-items: center;
    }

    .notify-modal {
        border-radius: 16px;
        transform: translateY(20px) scale(0.97);
    }

    .notify-overlay.open .notify-modal {
        transform: translateY(0) scale(1);
    }
}

.notify-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: var(--cream);
    color: var(--text-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.notify-close-btn:hover {
    background: var(--border);
}

.notify-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    align-self: flex-start;
}

.notify-header {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.notify-title {
    font-family: "Outfit", sans-serif;
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.2;
}

.notify-subtitle {
    font-size: 13.5px;
    font-weight: 300;
    color: var(--text-mid);
    line-height: 1.6;
}

.notify-subtitle strong {
    color: var(--accent);
    font-weight: 600;
}

.notify-fields {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.notify-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.notify-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-mid);
}

.notify-required {
    color: var(--accent);
}

.notify-optional {
    color: var(--text-light);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}

.notify-input {
    width: 100%;
    height: 46px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: var(--warm-white);
    padding: 0 14px;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    color: var(--text-dark);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.notify-input::placeholder {
    color: var(--text-light);
}

.notify-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(192, 64, 110, 0.1);
}

.notify-actions {
    margin-top: 0.25rem;
}

.notify-submit-btn {
    width: 100%;
    height: 52px;
    background: var(--grad-primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
    box-shadow: 0 8px 20px rgba(192, 64, 110, 0.25);
}

.notify-submit-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.notify-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.notify-privacy {
    font-size: 11px;
    color: var(--text-light);
    text-align: center;
    line-height: 1.5;
}


@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-divider {
        display: none;
    }

    .nav-search-wrap {
        max-width: 180px;
    }

    .about-strip section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

}

@media (max-width: 480px) {
    .nav-logo {
        font-size: 21px;
    }

    .nav-inner {
        padding: 0 0.75rem;
    }

    .nav-right {
        gap: 6px;
    }

    .nav-wishlist-btn svg {
        width: 18px !important;
        height: 18px !important;
    }

    .wishlist-badge {
        top: 0px !important;
        right: 0px !important;
    }

    .cart-btn {
        padding: 7px 10px;
        font-size: 11px;
    }

    .cart-btn span {
        font-size: inherit;
        margin-left: 0;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .nav-search-wrap {
        max-width: 130px;
    }

    .nav-search-box {
        font-size: 12px;
    }
}

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(28, 28, 26, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal {
    background: #fff;
    max-width: 960px;
    width: 95%;
    max-height: 90vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    transform: translateY(24px) scale(0.97);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

/* â”€â”€ MODAL GALLERY â”€â”€ */
.modal-gallery {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-right: 1px solid var(--border);
    height: 100%;
    overflow: hidden;
}

.modal-img-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    background: #ffffff;
}

.modal-img-main img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    animation: imgFade 0.4s ease;
}

@keyframes imgFade {
    from {
        opacity: 0.5;
        transform: scale(0.98);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-thumbnails {
    display: flex;
    gap: 10px;
    padding: 1.25rem;
    border-top: 1px solid var(--border);
    justify-content: center;
    background: #fff;
    overflow-x: auto;
}

.modal-thumb {
    width: 60px;
    height: 60px;
    border: 1px solid var(--border);
    padding: 4px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    flex-shrink: 0;
}

.modal-thumb:hover,
.modal-thumb.active {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(192, 64, 110, 0.15);
}

.modal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* â”€â”€ MODAL CONTENT â”€â”€ */
.modal-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    background: #fff;
}

.modal-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.25rem;
}

#modalSource {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-mid);
    padding: 4px 12px;
    border: 1px solid var(--border);
    border-radius: 100px;
    background: var(--cream);
}

.modal-name {
    font-family: "Outfit", sans-serif;
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.modal-price {
    font-family: "Inter", sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.modal-price small {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 400;
}

/* â”€â”€ TABS â”€â”€ */
.modal-tabs {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}

.modal-tab {
    background: none;
    border: none;
    padding: 0.75rem 0;
    font-family: "Outfit", sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--text-light);
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.modal-tab::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.modal-tab.active {
    color: var(--text-dark);
}

.modal-tab.active::after {
    width: 100%;
}

.tab-panel {
    display: none;
    min-height: 140px;
    animation: tabFade 0.4s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes tabFade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-tab-content p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-mid);
}

.modal-divider {
    height: 1px;
    background: var(--border);
    margin: 1.5rem 0;
}

.modal-footer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-stock {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--warm-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-mid);
    transition:
        background 0.15s,
        color 0.15s;
    z-index: 10;
}

.modal-close:hover {
    background: var(--warm-white);
    color: var(--text-dark);
}

.modal-category {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
}

.modal-name {
    font-family: "Outfit", sans-serif;
    font-size: 1.9rem;
    font-weight: 400;
    line-height: 1.15;
    color: var(--text-dark);
}

.modal-price {
    font-family: "Outfit", sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--text-dark);
}

.modal-price small {
    font-family: "Inter", sans-serif;
    font-size: 12px;
    color: var(--text-light);
    font-weight: 300;
}

.modal-divider {
    height: 1px;
    background: var(--border);
    margin: 0.25rem 0;
}

.modal-desc {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-mid);
    line-height: 1.8;
}

.modal-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 0;
    width: fit-content;
}

.modal-stock.available {
    color: var(--stock-available);
    background: var(--stock-available-bg);
    border: 1px solid rgba(46, 125, 50, 0.2);
}

.modal-stock.oos {
    color: var(--stock-low);
    background: var(--stock-bg);
    border: 1px solid rgba(212, 97, 74, 0.2);
}

.modal-stock-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    animation: blink 1.4s ease-in-out infinite;
}

.modal-stock.available .modal-stock-dot {
    background: var(--stock-available);
}

.modal-stock.oos .modal-stock-dot {
    background: var(--stock-low);
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
    padding-top: 0.5rem;
}

.modal-wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25d366;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 13px 20px;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition:
        background 0.2s,
        transform 0.15s;
}

.modal-wa-btn:hover {
    background: #1ebe5d;
    transform: translateY(-1px);
}

.modal-wa-btn.disabled-btn {
    background: var(--border) !important;
    color: var(--text-light) !important;
    cursor: not-allowed;
    pointer-events: none;
}

.modal-secondary-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: none;
    color: var(--text-mid);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 11px 20px;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    transition:
        border-color 0.2s,
        color 0.2s;
}

.modal-secondary-btn:hover {
    border-color: var(--text-dark);
    color: var(--text-dark);
}

@media (max-width: 600px) {
    .modal {
        display: grid;
        grid-template-columns: 120px 1fr;
        grid-template-areas:
            "gallery content"
            "actions actions";
        gap: 0;
        max-height: auto;
        height: auto;
        width: 95%;
        margin: auto;
        border-radius: 16px;
        overflow: hidden;
    }

    .modal-gallery {
        grid-area: gallery;
        height: 100%;
        background: #fff;
        border-right: 1px solid var(--border);
        border-bottom: none;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .modal-img-main {
        padding: 0.5rem;
    }

    .modal-img-main img {
        max-height: 120px;
        width: 100%;
        object-fit: contain;
    }

    .modal-thumbnails {
        display: none;
        /* Hide thumbnails for ultra-compact view */
    }

    .modal-content {
        grid-area: content;
        padding: 1.25rem;
        padding-right: 2.75rem;
        /* Extra space for the close button */
        display: flex;
        flex-direction: column;
        justify-content: center;
        overflow: hidden;
    }

    .modal-close {
        top: 0.75rem;
        right: 0.75rem;
        background: var(--warm-white);
        border: 1px solid var(--border);
        border-radius: 50%;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        z-index: 10;
    }

    .modal-header-top {
        margin-bottom: 4px;
    }

    .modal-category {
        font-size: 10px;
    }

    #modalSource {
        display: none;
        /* Simplify for mobile */
    }

    .modal-name {
        font-size: 1.1rem;
        margin: 4px 0;
        line-height: 1.2;
    }

    .modal-price {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .modal-price::after {
        content: "VIEW DETAILS \2192";
        display: block;
        font-size: 10px;
        color: var(--accent);
        margin-top: 8px;
        /* Increased margin */
        margin-bottom: 4px;
        font-weight: 500;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        opacity: 0.8;
    }

    .modal-tabs {
        display: none;
        /* Hide tabs initially to save space */
    }

    .modal-tab-content {
        display: none;
        /* Only show basic info */
    }

    .modal-divider {
        display: none;
    }

    .modal-footer-info {
        padding: 0.5rem 0;
        margin-bottom: 0.5rem;
        display: flex;
        flex-direction: column;
        gap: 6px;
        align-items: flex-start;
    }

    .modal-stock {
        margin-bottom: 0;
    }

    .modal-actions {
        grid-area: actions;
        padding: 1rem;
        background: var(--warm-white);
        border-top: 1px solid var(--border);
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .modal-wa-btn,
    .modal-secondary-btn {
        height: 44px;
        padding: 0;
        font-size: 12px;
    }
}

.wishlist-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(20, 8, 16, 0.25);
    opacity: 0;
    pointer-events: none;
    will-change: opacity;
    transform: translateZ(0);
    /* Only animate the CLOSE direction — opening is instant to prevent page glimpse */
    transition: opacity 0.25s ease;
}

.wishlist-overlay.open {
    opacity: 1;
    pointer-events: auto;
    /* Override: snap to opaque immediately on open */
    transition: none;
}

.cart-drawer,
.wishlist-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 420px;
    max-width: 100vw;
    background: #ffffff;
    z-index: 2001;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    will-change: transform;
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    border-left: 1px solid var(--border);
    border-radius: 20px 0 0 20px;
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.1);
}



.wishlist-overlay.open .wishlist-drawer {
    transform: translateX(0);
}

.wishlist-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid var(--border);
}

.wishlist-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wishlist-title {
    font-family: "Outfit", sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--text-dark);
}

/* â”€â”€ NAVBAR ICON BUTTONS (Search, Wishlist, Cart) â”€â”€ */
.nav-icon-btn,
.wishlist-nav-btn {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--warm-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-mid);
    transition:
        border-color 0.2s,
        color 0.2s,
        background 0.2s;
    flex-shrink: 0;
}

.cart-btn {
    position: relative;
    height: 36px;
    width: auto;
    padding: 0 16px;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: var(--warm-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-mid);
    transition: all 0.2s;
    flex-shrink: 0;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 500;
}

.nav-icon-btn:hover,
.wishlist-nav-btn:hover,
.cart-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
}

.wishlist-nav-btn.has-items {
    border-color: rgba(255, 48, 48, 0.4);
    color: #ff3030;
    background: rgba(255, 48, 48, 0.05);
}

.wishlist-nav-count,
.cart-nav-count {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ff3030;
    color: #fff;
    font-size: 9px;
    font-weight: 600;
    display: none;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--warm-white);
}

.cart-nav-count {
    display: flex;
    background: #ff3030;
}

.wishlist-nav-count.visible {
    display: flex;
}

.wishlist-count-badge {
    background: #ff3030;
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wishlist-close-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-mid);
    transition:
        background 0.15s,
        color 0.15s;
}

.wishlist-close-btn:hover {
    background: var(--warm-white);
    color: var(--text-dark);
}

.wishlist-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.wishlist-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 3rem 0;
}

.wishlist-empty svg {
    opacity: 0.55;
}

.wishlist-empty p {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-light);
}

.wishlist-item {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 1rem;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid var(--border);
    animation: fadeUp 0.2s ease forwards;
}

.wishlist-item-thumb {
    width: 64px;
    height: 64px;
    border-radius: 0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
}

.wishlist-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wishlist-item-info {
    flex: 1;
    min-width: 0;
    cursor: pointer;
}

.wishlist-item-cat {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 2px;
}

.wishlist-item-name {
    font-family: "Outfit", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wishlist-item-price {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
}

.wishlist-item-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}

.wishlist-remove-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s;
    padding: 2px;
}

.wishlist-remove-btn:hover {
    color: #e88fa0;
}

.wishlist-add-cart-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1.5px solid var(--text-dark);
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition:
        background 0.2s,
        color 0.2s;
}

.wishlist-add-cart-btn:hover {
    background: var(--text-dark);
    color: #fff;
}

.wishlist-footer {
    border-top: 1px solid var(--border);
    padding: 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wishlist-add-all-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--grad-primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 13px;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition:
        opacity 0.2s,
        transform 0.15s;
    box-shadow: 0 6px 20px rgba(192, 64, 110, 0.28);
}

.wishlist-add-all-btn:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

.wishlist-clear-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
    transition: color 0.15s;
    padding: 4px;
}

.wishlist-clear-btn:hover {
    color: #e88fa0;
}

.cart-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(20, 8, 16, 0.25);
    opacity: 0;
    pointer-events: none;
    will-change: opacity;
    transform: translateZ(0);
    /* Only animate the CLOSE direction — opening is instant to prevent page glimpse */
    transition: opacity 0.25s ease;
}

.cart-overlay.open {
    opacity: 1;
    pointer-events: auto;
    /* Override: snap to opaque immediately on open */
    transition: none;
}

.cart-overlay.open .cart-drawer {
    transform: translateX(0);
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.75rem;
}

.cart-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-title {
    font-family: "Outfit", sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--text-dark);
}

.cart-count-badge {
    background: #ff3030;
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-close-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-mid);
    transition:
        background 0.15s,
        color 0.15s;
}

.cart-close-btn:hover {
    background: var(--warm-white);
    color: var(--text-dark);
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--text-light);
    padding: 3rem 0;
}

.cart-empty svg {
    opacity: 0.25;
}

.cart-empty p {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-light);
}

.cart-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 1rem;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid var(--border);
    animation: fadeUp 0.2s ease forwards;
}

.cart-item-thumb {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--border);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.cart-item-thumb:hover {
    transform: scale(1.05);
}

.cart-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.cart-item-thumb svg {
    width: 28px;
    height: 28px;
    opacity: 0.3;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-cat {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 2px;
}

.cart-item-name {
    font-family: "Outfit", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    transition: color 0.15s;
}

.cart-item-name:hover {
    color: var(--accent);
}

.cart-item-price {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
}

.cart-item-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    flex-shrink: 0;
}

.cart-remove-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    display: flex;
    align-items: center;
    transition: color 0.15s;
    padding: 2px;
}

.cart-remove-btn:hover {
    color: var(--stock-low);
}

.qty-control {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
}

.qty-btn {
    width: 30px;
    height: 30px;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-mid);
    font-size: 16px;
    font-weight: 300;
    transition:
        background 0.15s,
        color 0.15s;
}

.qty-btn:hover {
    background: var(--warm-white);
    color: var(--text-dark);
}

.qty-value {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    min-width: 24px;
    text-align: center;
}

.cart-footer {
    padding: 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-summary {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-mid);
}

.cart-summary-row.total {
    font-family: "Outfit", sans-serif;
    font-size: 1.25rem;
    color: var(--text-dark);
    font-weight: 400;
    padding-top: 8px;
    margin-top: 4px;
}

.cart-wa-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 10px;
    background: var(--text-dark);
    color: #fff;
    border: none;
    border-radius: 16px;
    padding: 18px 14px;
    font-family: "Inter", sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition:
        background 0.2s,
        transform 0.15s;
}

.cart-wa-checkout:hover {
    background: #333;
    transform: translateY(-1px);
}

.cart-clear-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
    transition: color 0.15s;
    padding: 4px;
}

.cart-clear-btn:hover {
    color: var(--stock-low);
}

.cart-nav-badge {
    background: #c4a882;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 2px;
    vertical-align: middle;
    transition: transform 0.2s;
}

@keyframes popIn {
    0% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.35);
    }

    100% {
        transform: scale(1);
    }
}

.add-btn.out-of-stock {
    width: auto;
    padding: 0 14px;
    background: var(--bg-main);
    border-color: var(--border);
    color: var(--text-light);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    cursor: not-allowed;
}

.modal-wa-btn.disabled-btn {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.add-btn.added {
    animation: popIn 0.3s ease;
    background: var(--grad-primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(192, 64, 110, 0.35);
}

.product-source {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 600;
    color: var(--text-mid);
    letter-spacing: 0.05em;
    margin-bottom: 0.65rem;
    padding: 3px 10px 3px 6px;
    border: 1px solid var(--border);
    border-radius: 100px;
    background: linear-gradient(135deg, #fff5f9 0%, #fff8f4 100%);
    width: fit-content;
    text-transform: uppercase;
}

.product-source .flag {
    font-size: 13px;
    line-height: 1;
}

.trust-section {
    background: #ffffff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-section section {
    padding: 4.5rem 2rem;
}

.trust-header {
    text-align: center;
    margin-bottom: 3rem;
}

.trust-header .section-label {
    justify-content: center;
    display: flex;
}

.trust-header h2 {
    font-family: "Outfit", sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.2;
}

.trust-header h2 em {
    font-style: italic;
    color: var(--accent);
}

.trust-header p {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-mid);
    max-width: 520px;
    margin: 0.75rem auto 0;
    line-height: 1.8;
}

.trust-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
}

.trust-steps::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background: var(--border);
    z-index: 0;
}

.trust-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.trust-step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: var(--warm-white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: var(--accent);
    transition:
        background 0.2s,
        border-color 0.2s;
}

.trust-step:hover .trust-step-num {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.trust-step:nth-child(1) .trust-step-num {
    background: #e8f5e9;
    border-color: #c8e6c9;
    color: #2e7d32;
}

.trust-step:nth-child(2) .trust-step-num {
    background: #fff3e0;
    border-color: #ffe0b2;
    color: #e65100;
}

.trust-step:nth-child(3) .trust-step-num {
    background: #e3f2fd;
    border-color: #bbdefb;
    color: #1565c0;
}

.trust-step:nth-child(4) .trust-step-num {
    background: #fce4ec;
    border-color: #f8bbd0;
    color: #c2185b;
}

.trust-step h4 {
    font-family: "Outfit", sans-serif;
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}

.trust-step p {
    font-size: 12.5px;
    font-weight: 300;
    color: var(--text-mid);
    line-height: 1.7;
}

.receipt-note {
    margin-top: 3rem;
    background: var(--accent-light);
    border: 1px solid rgba(196, 168, 130, 0.3);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

@media (max-width: 600px) {
    .receipt-note {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
        gap: 1.25rem;
    }

    .receipt-note-text {
        flex: none;
    }

    .receipt-wa-btn {
        width: 100%;
        justify-content: center;
    }
}

.receipt-icon {
    width: 48px;
    height: 48px;
    background: var(--warm-white);
    border-radius: 8px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent);
}

.receipt-note-text {
    flex: 1;
}

.receipt-note-text strong {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 3px;
}

.receipt-note-text p {
    font-size: 13px;
    font-weight: 300;
    color: var(--text-mid);
    line-height: 1.7;
}

.receipt-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--text-dark);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 10px 20px;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    white-space: nowrap;
    transition:
        background 0.2s,
        transform 0.15s;
    text-decoration: none;
}

.receipt-wa-btn:hover {
    background: #333;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .trust-section section {
        padding: 3rem 1.5rem;
    }

    .trust-steps {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .trust-steps::before {
        display: none;
    }

    .trust-header {
        text-align: left;
        margin-bottom: 2.5rem;
    }

    .trust-header .section-label {
        justify-content: flex-start;
    }

    .trust-header h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .trust-section section {
        padding: 3rem 0;
        /* Remove side padding to let slider bleed to edges */
    }

    .trust-header {
        padding: 0 1.5rem;
        margin-bottom: 2rem;
    }

    .trust-steps {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 0 1.5rem 1rem;
        gap: 1.25rem;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Hide scrollbar for clean look */
    }

    .trust-steps::-webkit-scrollbar {
        display: none;
    }

    .trust-steps::before {
        display: none;
        /* Remove the container-level line */
    }

    .trust-step::before {
        content: "";
        position: absolute;
        top: 28px;
        left: 50%;
        right: -50%;
        height: 1px;
        background: var(--border-strong);
        z-index: -1;
    }

    .trust-step:last-child::before {
        display: none;
    }

    .trust-step {
        flex: 0 0 260px;
        scroll-snap-align: start;
        text-align: center;
        background: var(--white);
        padding: 1.5rem;
        border-radius: 20px;
        border: 1px solid var(--border);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
        position: relative;
        z-index: 1;
    }

    .trust-step-num {
        width: 56px;
        height: 56px;
        margin: 0 auto 1.25rem;
    }

    .trust-step h4 {
        font-size: 1.05rem;
        margin-bottom: 0.5rem;
    }

    .trust-step p {
        font-size: 13px;
        line-height: 1.7;
    }
}

.discount-wrap {
    display: flex;
    gap: 8px;
    padding: 0 0 1rem 0;
    margin-top: 0;
}

.discount-input {
    flex: 1;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0 12px;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    background: #ffffff;
    outline: none;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.discount-input::placeholder {
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-light);
}

.discount-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(196, 168, 130, 0.1);
}

.discount-apply-btn {
    height: 42px;
    padding: 0 16px;
    border-radius: 8px;
    border: 1.5px solid var(--text-dark);
    background: none;
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.discount-apply-btn:hover {
    background: var(--text-dark);
    color: #fff;
}

.discount-msg {
    font-size: 11px;
    margin: 8px 0;
    font-weight: 500;
    min-height: 14px;
}

.discount-msg.success {
    color: #16a34a;
}

.discount-msg.error {
    color: var(--stock-low);
}

.cart-summary-row.discount-row {
    color: #16a34a;
}

.cod-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(28, 28, 26, 0.55);
    backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.cod-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.cod-modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 420px;
    max-width: 100vw;
    background: #ffffff;
    z-index: 2001;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    will-change: transform;
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    border-left: 1px solid var(--border);
    border-radius: 20px 0 0 20px;
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.cod-overlay.open .cod-modal {
    transform: translateX(0);
}

.cod-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-mid);
    transition: all 0.2s;
    z-index: 1;
}

.cod-close:hover {
    background: #f5f5f5;
    color: var(--text-dark);
}

/* Scrollable body area inside the drawer */
.cod-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem 1.75rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Sticky footer with Place Order button */
.cod-modal-footer {
    padding: 1rem 1.75rem 1.5rem;
    border-top: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Order summary strip above sticky footer */
.cod-order-summary {
    background: transparent;
    border-top: 1px solid var(--border);
    padding: 1rem 1.75rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cod-order-summary-total {
    font-family: "Outfit", sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
}

.cod-modal-title {
    font-family: "Outfit", sans-serif;
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--text-dark);
}

.cod-modal-sub {
    font-size: 13px;
    font-weight: 300;
    color: var(--text-mid);
    line-height: 1.6;
    margin-top: -0.5rem;
}

.cod-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cod-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-mid);
}

.cod-input {
    width: 100%;
    height: 46px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: #ffffff;
    padding: 0 14px;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    color: var(--text-dark);
    outline: none;
    transition: all 0.2s;
    resize: none;
    box-sizing: border-box;
}

textarea.cod-input {
    height: auto;
    min-height: 80px;
    padding: 12px 14px;
}

.cod-input:focus {
    border-color: var(--accent);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(192, 64, 110, 0.1);
}

/* ── Location nudge prompt ── */
.location-nudge {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: linear-gradient(135deg, rgba(192, 64, 110, 0.07) 0%, rgba(240, 112, 80, 0.07) 100%);
    border: 1.5px solid rgba(192, 64, 110, 0.25);
    border-radius: 8px;
    margin-bottom: 10px;
    animation: nudgeFadeIn 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.location-nudge.visible {
    display: flex;
}

.nudge-arrow {
    flex-shrink: 0;
    animation: nudgeBounce 0.9s ease-in-out infinite;
}

.nudge-text {
    font-size: 12px;
    font-weight: 500;
    color: var(--accent);
    line-height: 1.4;
}

@keyframes nudgeFadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes nudgeBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(3px);
    }
}

/* ── Location section pulse highlight ── */
.cod-location-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-radius: 10px;
    border: 1.5px solid transparent;
    transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.cod-location-section.needs-attention {
    border-color: rgba(192, 64, 110, 0.5);
    background: rgba(192, 64, 110, 0.04);
    box-shadow: 0 0 0 4px rgba(192, 64, 110, 0.07);
    animation: sectionPulse 0.55s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

@keyframes sectionPulse {
    0% {
        transform: scale(1);
    }

    20% {
        transform: scale(1.012);
    }

    60% {
        transform: scale(0.997);
    }

    80% {
        transform: scale(1.005);
    }

    100% {
        transform: scale(1);
    }
}

/* ── Proceed button tooltip wrapper ── */
.proceed-btn-wrap {
    position: relative;
    width: 100%;
}

.proceed-btn-wrap .proceed-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-dark);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 7px 13px;
    border-radius: 7px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 10;
}

.proceed-btn-wrap .proceed-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--text-dark);
}

.proceed-btn-wrap:hover .proceed-tooltip {
    opacity: 1;
}

/* ── Disabled proceed button ── */
.cart-wa-checkout:disabled {
    cursor: not-allowed;
    background: var(--text-dark);
    opacity: 0.45;
}

.cart-wa-checkout:disabled:hover {
    background: var(--text-dark);
    transform: none;
}

.cod-location-btns {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
}

.cod-location-btn {
    flex: 1;
    padding: 10px 8px;
    border-radius: 8px;
    border: 1.5px solid var(--border);
    background: var(--warm-white);
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-mid);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    text-align: center;
}

.cod-location-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.cod-location-btn.active {
    background: var(--text-dark);
    border-color: var(--text-dark);
    color: #fff;
}

/* BRAC University Quick-Deliver Button */
.brac-quick-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 11px 16px;
    border-radius: 10px;
    border: 1.5px solid var(--border);
    background: var(--surface);
    color: var(--text-mid);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.01em;
}

.brac-quick-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 6%, var(--surface));
}

.brac-quick-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.brac-quick-btn.active svg {
    stroke: #fff;
}

.brac-tip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #f0fdf4;
    border: 1px solid #22c55e;
    border-radius: 0;
    color: #166534;
    font-size: 12px;
    line-height: 1.4;
}

.brac-tip strong {
    font-weight: 600;
}

.cod-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 0.5rem;
}

.cod-submit-btn {
    width: 100%;
    height: 52px;
    background: var(--grad-primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: opacity 0.2s, transform 0.2s;
    box-shadow: 0 8px 20px rgba(192, 64, 110, 0.25);
}

.cod-submit-btn:hover:not(:disabled) {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(192, 64, 110, 0.35);
}

.cod-submit-btn:disabled {
    background: var(--grad-primary);
    opacity: 0.4;
    color: #fff;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.cod-cancel-btn {
    width: 100%;
    padding: 10px;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 13px;
    cursor: pointer;
    transition: color 0.15s;
}

.cod-cancel-btn:hover {
    color: var(--text-dark);
}

/* â”€â”€ Track Order Modal â”€â”€ */
.track-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(28, 28, 26, 0.58);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}

.track-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.track-modal {
    background: var(--warm-white);
    border-radius: 12px;
    width: 100%;
    max-width: 480px;
    padding: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transform: translateY(22px) scale(0.97);
    transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.17);
    max-height: 90vh;
    overflow-y: auto;
}

.track-overlay.open .track-modal {
    transform: translateY(0) scale(1);
}

.track-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: var(--cream);
    color: var(--text-mid);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    flex-shrink: 0;
}

.track-close-btn:hover {
    background: var(--border);
}

/* Form Panel header */
.track-modal-header {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.track-modal-icon {
    display: none;
    /* Review popup has no icon; hidden to match layout */
}

.track-modal-icon svg {
    display: block;
    margin: 0;
}

.track-modal-title {
    font-family: "Outfit", sans-serif;
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.2;
}

.track-modal-sub {
    font-size: 13.5px;
    font-weight: 300;
    color: var(--text-mid);
    line-height: 1.6;
}

.track-fields {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

#trackFormPanel,
#trackResultPanel {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.track-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 0.5rem;
    /* Additional separation from the input fields */
}

.track-submit-btn {
    width: 100%;
    height: 52px;
    /* Slightly taller for a more premium feel */
    background: var(--text-dark);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.2s;
}

.track-submit-btn svg {
    flex-shrink: 0;
}

/* Nav track link â€” hide the SVG so the ::after underline spans only the text */
.nav-track-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.nav-track-link svg {
    display: none;
}

/* Result panel â€” meta bar */
.track-result-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--warm-white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.track-result-id {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.track-result-num {
    font-family: "Outfit", sans-serif;
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-dark);
    letter-spacing: 0.02em;
}

.track-result-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-mid);
    flex-wrap: wrap;
    flex: 1;
    justify-content: center;
}

.track-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--text-light);
    display: inline-block;
    flex-shrink: 0;
}

.track-result-total {
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: right;
}

.track-total-val {
    font-family: "Outfit", sans-serif;
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* â”€â”€ Visual Timeline â”€â”€ */
.track-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
}

.tl-step {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.tl-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 36px;
}

/* The circle dot */
.tl-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition:
        background 0.3s,
        border-color 0.3s;
}

/* Connector line between steps */
.tl-line {
    width: 2px;
    flex: 1;
    min-height: 24px;
    border-radius: 0;
    margin: 4px 0;
    transition: background 0.2s;
}

/* Hide scroll indicator on mobile */
@media (max-width: 768px) {
    .hero-scroll {
        display: none !important;
    }

    .hero-sub {
        text-align: left;
    }

    .hero-cta {
        width: 100% !important;
        max-width: none !important;
        justify-content: center;
    }

    /* Prevent WhatsApp FAB from covering prices */
    .products-grid {
        margin-bottom: 100px;
    }
}

/* State: done (past steps) */
.tl-step.done .tl-dot {
    background: var(--text-dark);
    border: 2px solid var(--text-dark);
    color: #fff;
}

.tl-step.done .tl-dot svg {
    stroke: #fff;
}

.tl-step.done .tl-line {
    background: var(--text-dark);
}

/* State: active (current step) */
.tl-step.active .tl-dot {
    background: var(--accent);
    border: 2px solid var(--accent);
    color: #fff;
    box-shadow: 0 0 0 5px rgba(196, 168, 130, 0.18);
}

.tl-step.active .tl-dot svg {
    stroke: #fff;
}

.tl-step.active .tl-line {
    background: var(--border);
}

/* State: future (upcoming steps) */
.tl-step.future .tl-dot {
    background: var(--warm-white);
    border: 2px solid var(--border);
    color: var(--text-light);
}

.tl-step.future .tl-dot svg {
    stroke: var(--text-light);
    opacity: 0.5;
}

.tl-step.future .tl-line {
    background: var(--border);
}

/* Step body text â€” padding-top aligns label center to the dot center (dot=36px, border=2px â†’ optical center ~9px) */
.tl-body {
    padding-top: 9px;
    padding-bottom: 20px;
    flex: 1;
}

.tl-step:last-child .tl-body {
    padding-bottom: 4px;
}

.tl-label {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 3px;
}

.tl-step.future .tl-label {
    color: var(--text-light);
    font-weight: 400;
}

.tl-desc {
    font-size: 12px;
    font-weight: 300;
    color: var(--accent);
    line-height: 1.5;
    min-height: 0;
}

/* Cancelled banner */
.track-cancelled-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.9rem 1rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 12px;
    font-size: 12.5px;
    color: #991b1b;
    line-height: 1.5;
}

/* Result action buttons */
.track-result-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid var(--border);
    padding-top: 1.25rem;
    margin-top: 0.25rem;
}

.track-wa-help-btn {
    width: 100%;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f0fdf5;
    color: #166534;
    border: 1.5px solid #bbf7d0;
    border-radius: 12px;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.track-wa-help-btn:hover {
    background: #dcfce7;
    border-color: #86efac;
    transform: translateY(-1px);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .track-modal {
        padding: 2rem 1.4rem 1.5rem;
        max-height: 92vh;
    }

    .track-result-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }

    .track-result-total {
        text-align: left;
    }
}

/* â”€â”€ Order Success Modal â”€â”€ */

.success-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(28, 28, 26, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.success-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.success-modal {
    background: var(--warm-white);
    border-radius: 12px;
    width: 100%;
    max-width: 460px;
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
    transform: translateY(24px) scale(0.96);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.success-overlay.open .success-modal {
    transform: translateY(0) scale(1);
}

/* Animated checkmark ring */
.success-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-icon-ring {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 10px rgba(28, 28, 26, 0.08);
    animation: successPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes successPop {
    from {
        transform: scale(0.4);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Header text */
.success-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.success-title {
    font-family: "Outfit", sans-serif;
    font-size: 2rem;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.1;
}

.success-subtitle {
    font-size: 13.5px;
    font-weight: 300;
    color: var(--text-mid);
    line-height: 1.65;
    max-width: 320px;
}

.success-order-id {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px;
    background: var(--warm-white);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-top: 0.25rem;
}

.success-order-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
}

.success-order-num {
    font-family: "Outfit", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    letter-spacing: 0.05em;
}

/* WhatsApp CTA box */
.success-wa-box {
    width: 100%;
    background: #f0fdf5;
    border: 1.5px solid #bbf7d0;
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

.success-wa-box-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.success-wa-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #dcfce7;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.success-wa-title {
    font-size: 13px;
    font-weight: 600;
    color: #166534;
    margin-bottom: 3px;
    letter-spacing: 0.01em;
}

.success-wa-desc {
    font-size: 12.5px;
    font-weight: 300;
    color: #166534;
    line-height: 1.55;
    opacity: 0.85;
}

.success-wa-btn {
    width: 100%;
    height: 46px;
    background: #25d366;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.success-wa-btn:hover {
    background: #1ebe5b;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* Continue shopping secondary button */
.success-continue-btn {
    width: 100%;
    padding: 11px;
    background: none;
    border: none;
    color: var(--text-light);
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    transition: color 0.15s;
    letter-spacing: 0.02em;
}

.success-continue-btn:hover {
    color: var(--text-dark);
}

@media (min-width: 769px) {

    #mobileSearchTrigger,
    #mobileSearchClose {
        display: none;
    }
}

@media (max-width: 768px) {
    .mobile-search-close {
        background: none;
        border: none;
        color: var(--text-dark);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        padding: 5px;
        margin-right: 8px;
        flex-shrink: 0;
    }

    /* Make nav the containing block for the search overlay so it spans the full width */
    nav {
        position: fixed;
        /* already fixed, keep it */
        overflow: visible;
    }

    .nav-inner {
        position: static;
        /* remove relative so .nav-search-wrap is positioned against nav, not nav-inner */
    }

    .nav-search-wrap {
        position: fixed;
        top: 0;
        /* same as nav top */
        left: 0;
        right: 0;
        width: 100%;
        height: 70px;
        /* same as nav height */
        max-width: 100% !important;
        background: rgba(250, 248, 245, 0.98);
        z-index: 200;
        display: flex;
        align-items: center;
        padding: 0 1rem;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s ease;
        margin: 0;
    }

    .nav-search-wrap.search-active {
        opacity: 1;
        pointer-events: auto;
    }

    .nav-search-box {
        flex: 1;
        width: 100%;
    }

    .nav-search-icon {
        display: none;
    }

    .nav-search-box {
        padding-left: 16px;
    }
}

/* â”€â”€ FAQ SECTION â”€â”€ */
.faq-section {
    background: #ffffff;
    /* Completely white */
    position: relative;
}

.faq-section section {
    padding: 8rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 4rem;
}

.faq-header .section-label {
    justify-content: center;
    display: flex;
    margin-bottom: 1rem;
}

.faq-header h2 {
    font-family: "Outfit", sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.1;
}

.faq-header h2 em {
    font-style: italic;
    color: var(--accent);
}

.faq-header p {
    font-size: 15px;
    font-weight: 300;
    color: var(--text-mid);
    margin-top: 1rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s ease;
    padding: 0 1.5rem;
}

.faq-item:first-child {
    border-top: 1px solid var(--border);
}

.faq-item:hover {
    transform: translateX(5px);
    border-color: var(--text-dark);
}

.faq-item.open {
    border-left: 4px solid var(--text-dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.75rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    cursor: pointer;
    text-align: left;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--text-dark);
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--text-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-icon {
    background: var(--text-dark);
    border-color: var(--text-dark);
    color: #fff;
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.4s;
    opacity: 0;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    opacity: 1;
}

.faq-answer p {
    font-size: 14.5px;
    font-weight: 300;
    color: var(--text-mid);
    line-height: 1.8;
    padding-bottom: 2rem;
    padding-right: 3rem;
}

.faq-footer {
    text-align: center;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
}

.faq-footer p {
    font-size: 14px;
    color: var(--text-mid);
    margin-bottom: 1.5rem;
}

.faq-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--text-dark);
    color: #fff;
    padding: 14px 32px;
    border-radius: 0;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition:
        transform 0.2s,
        background 0.2s;
}

.faq-wa-btn:hover {
    background: #333;
    transform: translateY(-2px);
}

/* â”€â”€ Mobile Menu Drawer â”€â”€ */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    flex-shrink: 0;
}

.hamburger {
    width: 22px;
    height: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--text-dark);
    border-radius: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.menu-toggle.active .hamburger span:nth-child(1) {
    transform: translateY(6.25px) rotate(45deg);
}

.menu-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active .hamburger span:nth-child(3) {
    transform: translateY(-6.25px) rotate(-45deg);
}

/* Backdrop overlay */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(28, 28, 26, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    /* Close direction fades out quickly */
    transition: opacity 0.15s ease;
    display: flex;
    justify-content: flex-end;
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
    /* Snap to opaque immediately on open — no fade-in so page is never visible */
    transition: none;
}

/* Hide background elements when menu is open */
.mobile-menu-open nav:not(.mobile-menu),
.mobile-menu-open main,
.mobile-menu-open footer,
.mobile-menu-open .wa-fab,
.mobile-menu.open~.wa-fab {
    display: none !important;
}

/* The white drawer panel */
.mobile-menu-inner {
    width: 85vw;
    max-width: 320px;
    height: 100%;
    background: var(--warm-white);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    will-change: transform;
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow-y: auto;
    padding-left: 2rem;
}

.mobile-menu.open .mobile-menu-inner {
    transform: translateX(0);
}

/* Close button */
.mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--accent-light);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    cursor: pointer;
    z-index: 10;
}

/* Header â€” logo inside drawer */
.mobile-menu-header {
    padding: 3.5rem 0 1.5rem;
    /* Adjusted since parent has padding-left */
    border-bottom: 1px solid var(--border);
}

.mobile-menu-header .logo-text {
    font-family: "Outfit", sans-serif;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text-dark);
}

/* Nav links */
.mobile-nav-links {
    padding: 1.5rem 0;
    /* Adjusted since parent has padding-left */
    display: flex;
    flex-direction: column;
}

.mobile-nav-links a {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dark);
    text-decoration: none;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-nav-links a::after {
    content: "\2192";
    opacity: 0.3;
}

/* Footer */
.mobile-menu-footer {
    padding: 2.5rem 1.75rem;
    background: rgba(192, 64, 110, 0.03);
    margin-top: auto;
    border-top: 1px solid var(--border);
}

.mobile-menu-footer p {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.mobile-socials {
    display: none !important;
    /* Temporarily hide to find source of overlap */
}

/* Show hamburger on mobile, hide desktop nav */
@media (max-width: 850px) {
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .nav-links,
    .nav-divider {
        display: none !important;
    }

    .nav-search-wrap:not(.search-active) {
        display: none !important;
    }

    .nav-search-wrap.search-active {
        display: flex !important;
    }

    .nav-inner {
        padding: 0 0.75rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0;
    }

    .menu-toggle {
        position: static;
        margin-left: 0.25rem;
        /* Space from cart icon */
        z-index: 10;
    }

    .nav-logo {
        position: static;
        left: auto;
        transform: none;
        font-size: 18px;
        flex: 1;
        /* Pushes nav-right to the end */
        max-width: none;
        text-align: left;
        margin: 0;
        padding: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .nav-right {
        position: relative;
        /* No longer absolute */
        right: auto;
        display: flex;
        align-items: center;
        gap: 4px;
        /* Reduced from 6px */
        z-index: 10;
    }

    /* Smaller icons on mobile */
    .nav-icon-btn,
    .wishlist-nav-btn {
        width: 32px !important;
        height: 32px !important;
    }

    /* Condensed cart button on mobile */
    .cart-btn {
        width: auto !important;
        padding: 5px 10px !important;
        font-size: 11px !important;
        gap: 3px !important;
    }

    /* Hide hamburger and nav elements when search is active */
    body.mobile-search-open .menu-toggle,
    body.mobile-search-open .nav-logo,
    body.mobile-search-open .nav-right {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    /* Ensure nav-right icons are properly spaced and size down gap if needed */
    .nav-right {
        gap: 0.25rem;
        /* Even tighter gap for icons */
        transition: opacity 0.2s;
    }

    /* Mini-pill search bar trigger - smaller */
    #mobileSearchTrigger {
        border-radius: 100px !important;
        width: 42px !important;
        height: 32px !important;
        background: var(--warm-white) !important;
        border: 1px solid var(--border) !important;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }
}

@media (max-width: 480px) {
    .mobile-menu-inner {
        width: 85vw;
        max-width: none;
    }
}

/* Premium Inversion for Receipt Box */
.receipt-note {
    background: linear-gradient(135deg, #1c0d14 0%, #2e1020 100%);
    border: 1px solid rgba(192, 64, 110, 0.3);
}

.receipt-note-text strong {
    color: var(--warm-white);
}

.receipt-note-text p {
    color: #c0a0b0;
}

.receipt-icon {
    background: rgba(192, 64, 110, 0.2);
    border-color: rgba(192, 64, 110, 0.4);
    color: #f0a0c0;
}

.receipt-wa-btn {
    background: var(--grad-primary);
    color: var(--warm-white);
    border: none;
    box-shadow: 0 4px 14px rgba(192, 64, 110, 0.35);
}

.receipt-wa-btn:hover {
    opacity: 0.88;
}

.receipt-wa-btn svg {
    fill: var(--warm-white);
}

/* Premium Footer Overrides */
footer {
    background: linear-gradient(160deg, #1c0d14 0%, #2a0e1e 50%, #1c100a 100%);
    color: #ffffff;
    border-top: none;
}

.footer-brand .logo {
    color: #ffffff;
    font-size: 32px;
}

.footer-brand .logo em {
    color: #ffffff;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: #c0a0b0;
}

.footer-col h5 {
    color: #ffffff;
    letter-spacing: 0.15em;
}

.footer-col a {
    color: #c0a0b0;
}

.footer-col a:hover {
    color: #ffffff;
}

.footer-top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #8a6a78;
}

.social-link {
    border-color: rgba(255, 255, 255, 0.15);
    color: #c0a0b0;
    border-radius: 0;
}

.social-link:hover {
    background: var(--grad-primary);
    color: #ffffff;
    border-color: transparent;
}

/* â”€â”€ SCROLL REVEAL â”€â”€ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Glass Navigation override merged with main nav */
nav {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(192, 64, 110, 0.08) !important;
    top: 0;
    z-index: 90 !important;
}

/* â”€â”€ FLOATING WHATSAPP â”€â”€ */
.wa-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--grad-primary);
    color: #fff;
    padding: 12px 20px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(192, 64, 110, 0.25);
    z-index: 999;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@media (max-width: 600px) {
    .wa-fab {
        bottom: 20px;
        right: 20px;
        padding: 10px 16px;
        font-size: 12px;
    }

    .wa-fab span {
        display: none;
    }

    .wa-fab {
        width: 50px;
        height: 50px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
}

.wa-fab:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.3);
    background: #25d366;
}

/* â”€â”€ NEWSLETTER â”€â”€ */
.newsletter-section {
    padding: 100px 2rem;
    background: linear-gradient(135deg, #fff0f7 0%, #fef5f0 100%);
    border-top: 1px solid var(--border);
}

.newsletter-inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    font-family: "Outfit", sans-serif;
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin: 1rem 0;
    color: var(--text-dark);
}

.newsletter-content p {
    color: var(--text-mid);
    margin-bottom: 2.5rem;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    background: #fff;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.newsletter-form input {
    flex: 1;
    border: none;
    padding: 12px 15px;
    font-family: "Inter", sans-serif;
    font-size: 15px;
    outline: none;
}

.newsletter-form button {
    background: var(--grad-primary);
    color: #fff;
    border: none;
    padding: 0 25px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition:
        opacity 0.3s,
        box-shadow 0.3s;
    box-shadow: 0 4px 14px rgba(192, 64, 110, 0.3);
}

.newsletter-form button:hover {
    opacity: 0.88;
    box-shadow: 0 8px 20px rgba(192, 64, 110, 0.4);
}

/* â”€â”€ NEWSLETTER SUCCESS ANIMATIONS â”€â”€ */
.newsletter-form-container {
    position: relative;
    min-height: 80px;
}

/* â”€â”€ SHIPPING PROGRESS BAR â”€â”€ */
.shipping-progress-container {
    padding: 1.25rem 1.5rem;
    background: #fff;
    animation: fadeIn 0.4s ease;
}

.shipping-progress-text {
    font-size: 13px;
    color: var(--text-dark);
    margin-bottom: 10px;
    text-align: center;
}

.shipping-progress-text strong {
    color: var(--accent);
}

.shipping-progress-bar-bg {
    width: 100%;
    height: 6px;
    background: #f0f0f0;
    border-radius: 100px;
    overflow: hidden;
}

.shipping-progress-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--grad-primary);
    border-radius: 100px;
    transition: width 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.shipping-progress-container.unlocked .shipping-progress-text strong {
    color: var(--stock-available);
}

.shipping-progress-container.unlocked .shipping-progress-bar-fill {
    background: var(--stock-available);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.newsletter-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: successFadeIn 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes successFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.success-check {
    width: 64px;
    height: 64px;
    background: var(--green-bg);
    color: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    animation: checkPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

@keyframes checkPop {
    from {
        transform: scale(0) rotate(-45deg);
    }

    to {
        transform: scale(1) rotate(0);
    }
}

.newsletter-success h3 {
    font-family: "Outfit", sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.newsletter-success p {
    font-size: 14px;
    color: var(--text-mid);
    margin-bottom: 0;
}

.newsletter-form.fade-out {
    animation: formFadeOut 0.4s ease forwards;
    pointer-events: none;
}

@keyframes formFadeOut {
    to {
        opacity: 0;
        transform: translateY(-10px) scale(0.98);
    }
}

@media (max-width: 600px) {
    .newsletter-form {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
    }

    .newsletter-form input {
        border: 1px solid var(--border);
        background: #fff;
        margin-bottom: 10px;
    }

    .newsletter-form button {
        padding: 15px;
    }

    .wa-fab span {
        display: none;
    }

    .wa-fab {
        padding: 15px;
        bottom: 20px;
        right: 20px;
    }
}

/* â”€â”€ MICRO-INTERACTIONS â”€â”€ */

/* Fly-to-Cart Element */
.flying-item {
    position: fixed;
    z-index: 9999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    pointer-events: none;
    box-shadow: 0 10px 30px rgba(192, 64, 110, 0.4);
    border: 2px solid #fff;
    transition:
        transform 0.8s cubic-bezier(0.13, 0.9, 0.4, 1),
        opacity 0.8s ease-in,
        width 0.8s ease-in,
        height 0.8s ease-in;
}

/* Cart Icon Bump Animation */
.cart-bump {
    animation: cartBump 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes cartBump {
    0% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.4);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
    }
}

/* Magnetic Button Wrapper */
.magnetic-wrap {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Enhancing existing buttons for magnetic effect */
.btn-primary,
.add-btn,
.cart-btn,
.wishlist-nav-btn,
.menu-toggle {
    transition:
        transform 0.3s cubic-bezier(0.23, 1, 0.32, 1),
        box-shadow 0.3s ease,
        background 0.3s ease;
}

/* Product Card Hover Enhancement - handled in main card definition above */

/* ══════════════════════════════════════════════════════════
   MACY'S-STYLE SEARCH — Mega Dropdown Panel
   ══════════════════════════════════════════════════════════ */

@keyframes macysDropIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating panel anchored to the search input */
.search-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    margin-left: -310px;
    width: 620px;
    max-width: 94vw;
    max-height: calc(100vh - 120px);
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    z-index: 6100;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.search-dropdown.visible {
    display: flex;
    animation: macysDropIn 0.18s ease both;
}

/* Inner container — centred, max-width */
.search-dropdown-body {
    display: flex;
    flex-direction: row;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    overflow: hidden;
    flex: 1;
}

.search-dropdown-body::-webkit-scrollbar {
    display: none;
}

/* ── LEFT COLUMN: suggestions/history/trending ── */
.search-col-left {
    width: 220px;
    flex-shrink: 0;
    border-right: 1px solid #f0f0f0;
    padding: 28px 0;
    overflow-y: auto;
}

.search-col-left::-webkit-scrollbar {
    display: none;
}

/* ── RIGHT COLUMN: product grid ── */
.search-col-right {
    flex: 1;
    padding: 24px 28px;
    overflow-y: auto;
    min-width: 0;
}

.search-col-right::-webkit-scrollbar {
    width: 4px;
}

.search-col-right::-webkit-scrollbar-track {
    background: transparent;
}

.search-col-right::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 2px;
}

/* ── Section label (ALL CAPS, tracked, Macy's signature) ── */
.search-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px 10px;
}

.search-section-title span {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #888;
}

.search-section-clear {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    transition: opacity 0.15s;
}

.search-section-clear:hover {
    opacity: 0.7;
}

/* ── History / suggestion row ── */
.search-history-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 9px 24px;
    cursor: pointer;
    transition: background 0.12s;
}

.search-history-item:hover {
    background: #f9f5f7;
}

.search-history-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #bbb;
}

.search-history-label {
    flex: 1;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-dark);
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.01em;
}

.search-history-arrow {
    color: #ccc;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.12s;
}

.search-history-item:hover .search-history-arrow {
    opacity: 1;
}

/* ── Trending tags ── */
.popular-searches {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
}

.search-tag {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 400;
    padding: 9px 24px;
    color: var(--text-dark);
    cursor: pointer;
    transition: background 0.12s;
    letter-spacing: 0.01em;
    border: none;
    background: none;
    text-align: left;
    width: 100%;
}

.search-tag:hover {
    background: #f9f5f7;
    color: var(--accent);
}

.search-tag-icon {
    color: #ccc;
    flex-shrink: 0;
    display: flex;
}

/* ── Right column: product grid ── */
.search-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 900px) {
    .search-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.search-result-item {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.18s ease;
    outline: none;
    gap: 10px;
    min-width: 0;
}



.search-result-item:hover {
    transform: translateY(-2px);
}

.search-result-item.keyboard-focus .search-result-name {
    color: var(--accent);
}

/* Product image */
.search-result-thumb {
    width: 130px;
    height: 130px;
    margin: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.search-result-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.search-result-item:hover .search-result-thumb img {
    transform: scale(1.04);
}

.search-result-info {
    min-width: 0;
}

.search-result-name {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    letter-spacing: 0.01em;
    transition: color 0.12s;
}

.search-result-cat {
    font-size: 10.5px;
    color: #999;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}

.search-result-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    white-space: nowrap;
    letter-spacing: 0.01em;
}

/* ── Right col header ── */
.search-results-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 18px;
}

.search-results-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #888;
}

.search-results-count {
    font-size: 11px;
    color: #bbb;
    letter-spacing: 0.03em;
}

/* ── Highlight matched text ── */
.search-highlight {
    font-weight: 700;
    color: var(--accent);
}

/* ── No results ── */
.search-no-result {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 6px;
}

.search-no-result-title {
    font-size: 16px;
    font-weight: 300;
    color: var(--text-dark);
    letter-spacing: 0.02em;
}

.search-no-result-sub {
    font-size: 12px;
    color: #999;
    line-height: 1.6;
    letter-spacing: 0.01em;
}

/* ── Footer: Shop All Results CTA ── */
.search-footer {
    border-top: 1px solid #f0f0f0;
    padding: 14px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    background: #fff;
}

.search-footer-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--text-dark);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 10px 22px;
    border: 2px solid var(--text-dark);
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
    white-space: nowrap;
}

.search-footer-cta:hover {
    background: #fff;
    color: var(--text-dark);
}

.search-footer strong {
    color: var(--accent);
    font-weight: 700;
}

.search-footer-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.5;
}

@media (max-width: 700px) {
    .search-footer-hint {
        display: none;
    }
}

.search-kbd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border: 1px solid #ddd;
    padding: 1px 5px;
    font-size: 10px;
    font-family: "Inter", monospace;
    line-height: 1.4;
    color: #666;
}

/* ── Divider ── */
.search-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 10px 0;
}

/* ── Empty right panel (default state) ── */
.search-empty-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 180px;
    gap: 10px;
    color: #ccc;
}

.search-empty-right svg {
    opacity: 0.3;
}

.search-empty-right p {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #bbb;
}

/* ── Responsive: stack on mobile ── */
@media (max-width: 700px) {
    .search-dropdown {
        /* Break out of the fixed search-wrap and anchor to the viewport instead */
        position: fixed;
        top: 70px;
        /* 70px nav */
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        border-radius: 0 0 12px 12px;
        max-height: calc(100vh - 120px);
    }

    .search-dropdown-body {
        flex-direction: column;
    }

    .search-col-left {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
        padding: 16px 0;
        max-height: 200px;
        overflow-y: auto;
    }

    .search-col-right {
        padding: 16px;
    }

    .search-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* Cart Item Stock Warning Styles */
.cart-item-stock-warning {
    display: inline-block;
    font-size: 9px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    margin-top: 4px;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: fit-content;
}

.cart-item-stock-warning.oos {
    background: #ffebee;
    color: #c62828;
}

.cart-item-stock-warning.low {
    background: #fff3e0;
    color: #e65100;
}

.cart-item.oos {
    opacity: 0.65;
    background: #faf9f6;
}


/* ═══════════════════════════════════════════════════════════════
   MOBILE VIEW IMPROVEMENTS — Comprehensive Responsive Overhaul
   ═══════════════════════════════════════════════════════════════ */

/* ── HERO: Mobile layout ── */
@media (max-width: 768px) {

    /* Stack: image on top, text below */
    .hero {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding-top: 60px;
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 0;
        gap: 0;
        height: 100svh;
        /* must be explicit height for flex: 1 children to grow on iOS */
        min-height: 500px;
        text-align: center;
        overflow: visible;
    }

    /* Image block — top of the flex column, clipped */
    .hero-image-container {
        order: -1;
        /* visually first even though it's second in HTML */
        position: relative;
        /* on mobile only: makes images anchor here, not .hero */
        width: 100%;
        max-width: 100%;
        height: auto;
        flex: 1;
        /* fills remaining space */
        min-height: 240px;
        overflow: hidden;
        flex-shrink: 0;
    }

    /* Text block below the image */
    .hero-content {
        order: 1;
    }

    /* Images fill the box, slide in from right */
    .hero-product-image {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        bottom: auto !important;
        right: auto !important;
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        object-fit: cover !important;
        object-position: right top !important;
        transform-origin: center center !important;
        filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2)) !important;
    }

    /* Override desktop slide animations with mobile-specific ones */
    .slide-1 {
        animation: mobileSlide 30s ease infinite;
        animation-delay: 0s;
        object-fit: contain !important;
        object-position: right bottom !important;
        /* Replace static transform with sizing/positioning so it doesn't break the animation's transform */
        width: 108% !important;
        height: 108% !important;
        top: auto !important;
        left: auto !important;
        bottom: -7% !important;
        right: -3% !important;
    }

    .slide-2 {
        animation: mobileSlide 30s ease infinite;
        animation-delay: 5s;
        object-fit: contain !important;
        object-position: right bottom !important;
        width: 100% !important;
        height: 100% !important;
        top: auto !important;
        left: auto !important;
        bottom: -8% !important;
        right: 0% !important;
    }

    .slide-3 {
        animation: mobileSlide 30s ease infinite;
        animation-delay: 10s;
        object-fit: contain !important;
        object-position: right bottom !important;
        width: 100% !important;
        height: 100% !important;
        top: auto !important;
        left: auto !important;
        bottom: 0% !important;
        right: 0% !important;
    }

    .slide-4 {
        animation: mobileSlide 30s ease infinite;
        animation-delay: 15s;
        object-fit: contain !important;
        object-position: right bottom !important;
        width: 100% !important;
        height: 100% !important;
        top: auto !important;
        left: auto !important;
        bottom: -8% !important;
        right: 0% !important;
    }

    .slide-5 {
        animation: mobileSlide 30s ease infinite;
        animation-delay: 20s;
        object-fit: contain !important;
        object-position: right bottom !important;
        width: 108% !important;
        height: 108% !important;
        top: auto !important;
        left: auto !important;
        bottom: -3% !important;
        right: -7% !important;
    }

    .slide-6 {
        animation: mobileSlide 30s ease infinite;
        animation-delay: 25s;
        object-fit: contain !important;
        object-position: right bottom !important;
        width: 100% !important;
        height: 100% !important;
        top: auto !important;
        left: auto !important;
        bottom: 0% !important;
        right: 0% !important;
    }

    @keyframes mobileSlide {
        0% {
            opacity: 0;
            visibility: hidden;
            transform: translateX(100%);
        }

        4% {
            opacity: 1;
            visibility: visible;
            transform: translateX(0);
        }

        17% {
            opacity: 1;
            visibility: visible;
            transform: translateX(0);
        }

        21% {
            opacity: 0;
            visibility: hidden;
            transform: translateX(100%);
        }

        100% {
            opacity: 0;
            visibility: hidden;
            transform: translateX(100%);
        }
    }

    /* Text + button block — white card sitting below the image */
    .hero-content {
        order: 1;
        width: 100%;
        padding: 2rem 1.5rem 2.5rem;
        max-width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        background: #ffffff;
        border-radius: 20px 20px 0 0;
        position: relative;
        z-index: 2;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
        letter-spacing: -0.02em;
        margin-bottom: 1rem;
    }

    .hero-sub {
        font-size: 14px;
        margin: 0 auto 2rem;
        max-width: 100%;
    }

    .hero-actions {
        justify-content: center;
        gap: 16px;
    }

    .hero-btn-primary {
        padding: 14px 28px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
    }
}

/* ── GLOBAL SECTION PADDING: Tighter on mobile ── */
@media (max-width: 768px) {
    section {
        padding: 3rem 1.25rem;
    }

    .section-header {
        margin-bottom: 1.75rem;
    }
}

@media (max-width: 480px) {
    section {
        padding: 2.5rem 1rem;
    }
}

/* ── PRODUCT GRID: Better 2-col cards on mobile ── */
@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.625rem;
        padding: 0;
    }

    .product-card {
        border-radius: 10px;
    }

    .product-img {
        aspect-ratio: 1 / 1;
    }

    .product-body {
        padding: 0.65rem 0.7rem 0.85rem;
    }

    .product-body::before {
        left: 0.7rem;
        right: 0.7rem;
    }

    .product-category {
        font-size: 9px;
        margin-bottom: 0.3rem;
    }

    .product-name {
        font-size: 0.82rem;
        font-weight: 600;
        margin-bottom: 0.3rem;
        line-height: 1.25;
        -webkit-line-clamp: 2;
    }

    .product-source-pill {
        font-size: 8.5px;
        padding: 2px 7px;
        margin-bottom: 0.6rem;
    }

    .product-price {
        font-size: 1rem;
    }

    .product-footer {
        padding-top: 0.65rem;
        gap: 0.4rem;
    }

    .product-footer-actions {
        gap: 0.3rem;
    }

    .add-btn {
        width: 36px;
        height: 36px;
    }

    .card-wishlist-btn {
        width: 34px;
        height: 34px;
    }

    .stock-badge {
        font-size: 7.5px;
        padding: 3px 7px;
        gap: 4px;
        top: 10px;
        right: 10px;
    }

    .new-badge {
        font-size: 8px;
        padding: 3px 7px;
        top: 10px;
        left: 10px;
    }

    /* Auth strip more compact */
    .product-auth-strip {
        font-size: 8.5px;
        padding: 5px 0.7rem;
    }

    /* Product grid needs breathing room above the FAB */
    .products-grid {
        margin-bottom: 80px;
    }
}

@media (max-width: 380px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* ── PRODUCT MODAL: Full bottom-sheet on mobile ── */
@media (max-width: 600px) {
    .modal-overlay {
        align-items: flex-end;
        padding: 0;
    }

    .modal {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        max-height: 88svh;
        border-radius: 24px 24px 0 0;
        overflow: hidden;
        transform: translateY(100%);
        transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    }

    /* Handle bar */
    .modal::before {
        content: "";
        position: absolute;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 4px;
        background: var(--border);
        border-radius: 10px;
        z-index: 10;
        flex-shrink: 0;
    }

    .modal-overlay.open .modal {
        transform: translateY(0);
    }

    /* Gallery on top, content below */
    .modal-gallery {
        width: 100%;
        height: 220px;
        min-height: 0;
        border-right: none;
        border-bottom: 1px solid var(--border);
        flex-direction: row;
        flex-shrink: 0;
    }

    .modal-img-main {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1.25rem;
    }

    .modal-img-main img {
        max-height: 160px;
        max-width: 100%;
        object-fit: contain;
    }

    .modal-thumbnails {
        display: flex;
        flex-direction: column;
        gap: 6px;
        padding: 1rem 0.75rem 1rem 0;
        overflow-y: auto;
        width: 70px;
        scrollbar-width: none;
    }

    .modal-thumbnails::-webkit-scrollbar {
        display: none;
    }

    .modal-content {
        flex: 1;
        overflow-y: auto;
        padding: 1.25rem 1.25rem 1rem;
        padding-right: 3rem;
        /* space for close btn */
        display: flex;
        flex-direction: column;
        -webkit-overflow-scrolling: touch;
    }

    .modal-close {
        top: 1rem;
        right: 1rem;
        width: 34px;
        height: 34px;
        background: rgba(253, 248, 244, 0.95);
        border: 1px solid var(--border);
        border-radius: 50%;
        backdrop-filter: blur(8px);
    }

    .modal-header-top {
        margin-bottom: 4px;
    }

    .modal-category {
        font-size: 10px;
    }

    #modalSource {
        display: none;
    }

    .modal-name {
        font-size: 1.15rem;
        font-weight: 600;
        line-height: 1.25;
        margin: 4px 0 6px;
    }

    .modal-price {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    /* Remove the hacky ::after hint */
    .modal-price::after {
        display: none;
    }

    .modal-tabs {
        display: flex;
        gap: 0;
        overflow-x: auto;
        scrollbar-width: none;
        margin-bottom: 0.75rem;
        border-bottom: 1px solid var(--border);
    }

    .modal-tabs::-webkit-scrollbar {
        display: none;
    }

    .modal-tab {
        flex-shrink: 0;
        font-size: 11px;
        padding: 8px 12px;
    }

    .modal-tab-content {
        display: block;
        flex: 1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .modal-divider {
        display: block;
        margin: 0.75rem 0;
    }

    .modal-footer-info {
        padding: 0;
        margin-bottom: 0.75rem;
        flex-direction: row;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
    }

    .modal-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 1rem 1.25rem;
        background: var(--warm-white);
        border-top: 1px solid var(--border);
        flex-shrink: 0;
        /* Stick to bottom of sheet */
        position: sticky;
        bottom: 0;
    }

    .modal-wa-btn,
    .modal-secondary-btn {
        height: 46px;
        padding: 0 12px;
        font-size: 12.5px;
        border-radius: 10px;
    }
}

/* ── CART & WISHLIST DRAWER: Mobile adjustments ── */
@media (max-width: 768px) {

    .cart-body {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 1.25rem 1rem;
    }

    .cart-item {
        padding: 0.8rem;
        gap: 10px;
    }

    .cart-item-thumb {
        width: 54px;
        height: 54px;
    }

    .cart-item-controls {
        gap: 6px;
    }

    .qty-btn {
        width: 36px;
        height: 36px;
    }

    .cart-remove-btn {
        padding: 8px;
    }
}

/* ── COD MODAL: Better on small screens ── */
@media (max-width: 600px) {
    .cod-overlay {
        align-items: flex-end;
        padding: 0;
    }

    .cod-modal {
        width: 100%;
        max-width: 100%;
        border-radius: 0;
    }
}

/* ── TRACK ORDER MODAL: Better on small screens ── */
@media (max-width: 600px) {
    .track-overlay {
        align-items: flex-end;
        padding: 0;
    }

    .track-modal {
        width: 100%;
        max-width: 100%;
        border-radius: 24px 24px 0 0;
        max-height: 90svh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 2rem 1.25rem 1.5rem;
    }
}

/* ── TOAST: Adjust on mobile (avoids FAB overlap) ── */
@media (max-width: 600px) {
    .toast {
        bottom: 80px;
        right: 1rem;
        left: 1rem;
        right: auto;
        width: calc(100% - 2rem);
        font-size: 13px;
        padding: 12px 16px;
        border-radius: 12px;
        justify-content: center;
    }
}

/* ── TRUST SECTION: Better on mobile ── */
@media (max-width: 768px) {
    .trust-section section {
        padding: 3rem 1.25rem;
    }

    .trust-header h2 {
        font-size: clamp(1.6rem, 6vw, 2rem);
    }
}

/* ── RECEIPT NOTE: Full width on mobile ── */
@media (max-width: 600px) {
    .receipt-note {
        padding: 1.5rem 1.25rem;
        gap: 1rem;
        border-radius: 12px;
    }

    .receipt-wa-btn {
        font-size: 13px;
        padding: 12px 20px;
    }
}

/* ── FAQ SECTION: Tighter padding ── */
@media (max-width: 768px) {
    .faq-section section {
        padding: 4rem 1.25rem;
    }

    .faq-header {
        margin-bottom: 2.5rem;
    }

    .faq-header h2 {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .faq-question {
        font-size: 14.5px;
        padding: 1.25rem 0;
    }

    .faq-answer p {
        padding-right: 0;
        font-size: 14px;
        padding-bottom: 1.5rem;
    }

    .faq-footer {
        margin-top: 2.5rem;
        padding-top: 2rem;
    }

    .faq-wa-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }

    /* Remove translateX on mobile (causes horizontal overflow) */
    .faq-item:hover {
        transform: none;
    }
}

@media (max-width: 480px) {
    .faq-section section {
        padding: 3rem 1rem;
    }

    .faq-item {
        padding: 0 1rem;
    }
}

/* ── NEWSLETTER SECTION: Tight mobile ── */
@media (max-width: 768px) {
    .newsletter-section {
        padding: 4rem 1.25rem;
    }

    .newsletter-content h2 {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin: 0.75rem 0;
    }

    .newsletter-content p {
        margin-bottom: 1.75rem;
    }
}

@media (max-width: 480px) {
    .newsletter-section {
        padding: 3rem 1rem;
    }
}

/* ── FOOTER: Better mobile layout ── */
@media (max-width: 768px) {
    .footer-inner {
        padding: 2.5rem 1.25rem 1.5rem;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 1.75rem;
        margin-bottom: 2rem;
        padding-bottom: 2rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-brand p {
        max-width: none;
    }

    .footer-brand .logo {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

/* ── FLOATING WHATSAPP FAB: Better positioning ── */
@media (max-width: 600px) {
    .wa-fab {
        bottom: 16px;
        right: 16px;
        width: 52px;
        height: 52px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
        box-shadow: 0 8px 24px rgba(192, 64, 110, 0.3);
    }

    .wa-fab span {
        display: none;
    }
}

/* ── MOBILE MENU DRAWER: Improved sizing ── */
@media (max-width: 480px) {
    .mobile-menu-inner {
        width: 88vw;
        max-width: none;
        padding-left: 1.75rem;
    }

    .mobile-menu-header .logo-text {
        font-size: 20px;
    }

    .mobile-nav-links a {
        font-size: 13.5px;
        padding: 1.1rem 0;
    }
}

/* ── ABOUT STRIP: Single column ── */
@media (max-width: 768px) {
    .about-strip section {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 1.25rem;
    }

    .about-pillars {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 400px) {
    .about-pillars {
        grid-template-columns: 1fr;
    }
}

/* ── GLOBAL: Safe area padding for notch/home-bar ── */
@supports (padding: env(safe-area-inset-bottom)) {
    @media (max-width: 768px) {

        .cart-drawer,
        .wishlist-drawer,
        .cod-modal,
        .track-modal,
        .mobile-menu-footer {
            padding-bottom: calc(1rem + env(safe-area-inset-bottom));
        }

        .modal-actions {
            padding-bottom: calc(1rem + env(safe-area-inset-bottom));
        }

        .wa-fab {
            bottom: calc(16px + env(safe-area-inset-bottom));
        }
    }
}

/* ── SMOOTH SCROLL & OVERSCROLL: App-like feel ── */
@media (max-width: 768px) {

    .cart-body,
    .wishlist-body,
    .modal-content,
    .modal-tab-content,
    .cod-modal,
    .track-modal {
        overscroll-behavior: contain;
    }
}

/* ── TOUCH TARGETS: Minimum 44px for all interactive elements ── */
@media (max-width: 768px) {
    .faq-question {
        min-height: 44px;
    }

    .cod-location-btn,
    .discount-apply-btn,
    .cart-wa-checkout,
    .wishlist-add-all-btn {
        min-height: 44px;
    }

    .nav-icon-btn,
    .wishlist-nav-btn,
    .menu-toggle {
        min-width: 44px;
        min-height: 44px;
    }
}

/* ── SUCCESS MODAL: Better on mobile ── */
@media (max-width: 600px) {
    .success-overlay {
        align-items: flex-end;
        padding: 0;
    }

    .success-modal {
        width: 100%;
        max-width: 100%;
        border-radius: 24px 24px 0 0;
        padding: 2rem 1.5rem 1.5rem;
        gap: 1.25rem;
    }

    .success-title {
        font-size: 1.75rem;
    }
}

/* ── BACK TO TOP BUTTON ── */
.back-to-top-btn {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--text-dark);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 90;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    background: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

@media (max-width: 600px) {
    .back-to-top-btn {
        bottom: 80px;
        right: 16px;
        width: 42px;
        height: 42px;
    }
}

/* ── TARGET HIGHLIGHT FOR ANCHOR LINKS ── */
@keyframes targetHighlight {
    0% {
        background-color: rgba(196, 168, 130, 0.2);
    }

    100% {
        background-color: transparent;
    }
}

:target {
    animation: targetHighlight 1.5s ease-out;
}


/* ═══════════════════════════════════════════════════════════
   AUTH SYSTEM — Sign In / Sign Up
   ═══════════════════════════════════════════════════════════ */

/* ── Nav: Sign In button (logged-out state) ── */
.auth-signin-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 40px;
    border: 1.5px solid var(--accent);
    background: transparent;
    color: var(--accent);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.15s;
    white-space: nowrap;
}

.auth-signin-btn:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-1px);
}

/* ── Nav: Avatar button (logged-in state) ── */
.auth-nav-wrap {
    position: relative;
}

.auth-user-wrap {
    position: relative;
}

.auth-avatar-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--grad-primary);
    border: 2px solid transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.2s, transform 0.15s;
}

.auth-avatar-btn:hover {
    box-shadow: 0 0 0 3px rgba(192, 64, 110, 0.2);
    transform: scale(1.05);
}

.auth-avatar-initials {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
    user-select: none;
}

/* ── Dropdown ── */
.auth-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 210px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(28, 13, 20, 0.12);
    padding: 12px 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px) scale(0.96);
    transition: opacity 0.2s, transform 0.2s cubic-bezier(0.34, 1.4, 0.64, 1);
    z-index: 3000;
}

.auth-dropdown.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.auth-dropdown-name {
    padding: 2px 16px 0;
    font-weight: 700;
    font-size: 14px;
    color: var(--text-dark);
}

.auth-dropdown-email {
    padding: 2px 16px 8px;
    font-size: 12px;
    color: var(--text-light);
    word-break: break-all;
}

.auth-dropdown-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 4px 12px;
}

.auth-dropdown-item {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    padding: 9px 16px;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 13.5px;
    color: var(--text-dark);
    cursor: pointer;
    text-align: left;
    transition: background 0.15s;
}

.auth-dropdown-item:hover {
    background: var(--accent-light);
    color: var(--accent);
}

.auth-dropdown-logout {
    color: #c0392b;
}

.auth-dropdown-logout:hover {
    background: #fff0f0;
    color: #c0392b;
}

/* ═══════════════════════════════════════════════════════════
   AUTH MODAL
   ═══════════════════════════════════════════════════════════ */
.auth-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 4000;
    background: rgba(20, 8, 16, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.auth-modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.auth-modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 420px;
    max-width: 100vw;
    background: var(--warm-white);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    transform: translateX(100%);
    will-change: transform;
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    border-left: 1px solid var(--border);
    border-radius: 20px 0 0 20px;
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.1);
}

.auth-modal-overlay.open .auth-modal {
    transform: translateX(0);
}

/* ── Form body ── */
.auth-modal-body {
    padding: 3rem 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    overflow-y: auto;
}

.auth-modal-logo {
    font-family: 'Playfair Display', serif;
    /* Elegant luxury font */
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.auth-modal-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    text-align: center;
}

.auth-modal-sub {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 2rem;
    text-align: center;
}

.auth-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-dark);
    z-index: 10;
    transition: background 0.15s, transform 0.15s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.auth-modal-close:hover {
    background: #fff;
    transform: scale(1.1);
}

/* ── Error / success banners ── */
.auth-error,
.auth-success {
    font-size: 13px;
    padding: 10px 14px;
    border-radius: 10px;
    margin-bottom: 0.9rem;
    display: none;
    animation: authBannerIn 0.2s ease;
}

@keyframes authBannerIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-error:not(:empty) {
    display: block;
    background: #fff0f0;
    border: 1px solid #fbc8c8;
    color: #b00020;
}

.auth-success:not(:empty) {
    display: block;
    background: #edfaf3;
    border: 1px solid #a8e6c1;
    color: #1e6b40;
}

/* ── Form fields ── */
.auth-field {
    margin-bottom: 1rem;
}

.auth-field label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-mid);
    margin-bottom: 6px;
    letter-spacing: 0.01em;
}

.auth-field input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    /* More elegant, sharp corners */
    font-family: inherit;
    font-size: 15px;
    color: var(--text-dark);
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
    outline: none;
    -webkit-appearance: none;
}

.auth-field input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
    /* Crisp focus ring */
}

/* ── Password reveal toggle ── */
.auth-pw-wrap {
    position: relative;
}

.auth-pw-wrap input {
    padding-right: 44px;
}

.auth-pw-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    padding: 4px;
    display: flex;
    align-items: center;
    transition: color 0.15s;
}

.auth-pw-toggle:hover {
    color: var(--accent);
}

/* ── Password strength bar ── */
.auth-pw-strength {
    height: 4px;
    background: var(--border);
    border-radius: 4px;
    margin-top: 7px;
    overflow: hidden;
}

.auth-pw-bar {
    height: 100%;
    width: 0%;
    border-radius: 4px;
    transition: width 0.35s ease, background 0.35s ease;
}

.auth-pw-label {
    font-size: 11.5px;
    font-weight: 600;
    margin-top: 4px;
    display: block;
}

/* ── Forgot password link ── */
.auth-forgot-link {
    background: none;
    border: none;
    color: var(--accent);
    font-family: inherit;
    font-size: 12.5px;
    cursor: pointer;
    padding: 0;
    margin-bottom: 1rem;
    text-align: right;
    width: 100%;
    transition: opacity 0.15s;
    font-weight: 500;
}

.auth-forgot-link:hover {
    opacity: 0.75;
    text-decoration: underline;
}

/* ── Google Button ── */
.auth-google-btn {
    width: 100%;
    padding: 12px 12px;
    border-radius: 4px;
    border: 1px solid #c4c4c4;
    background: var(--white);
    color: var(--text-dark);
    font-family: 'DM Sans', sans-serif;
    font-size: 14.5px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.15s, box-shadow 0.15s, border-color 0.15s;
    margin-bottom: 1.25rem;
}

.auth-google-btn:hover {
    background: #fdfdfc;
    border-color: #a0a0a0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* ── Auth Divider ── */
.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 1.25rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border);
}

.auth-divider span {
    padding: 0 10px;
}

/* ── Submit button ── */
.auth-submit-btn {
    width: 100%;
    padding: 14px;
    border-radius: 4px;
    border: none;
    background: var(--text-dark);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: background 0.2s, transform 0.1s;
    margin-bottom: 1rem;
}

.auth-submit-btn:hover:not(:disabled) {
    background: #000;
}

.auth-submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.auth-submit-btn.loading::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spinBtn 0.6s linear infinite;
    margin-left: 8px;
    vertical-align: middle;
}

@keyframes spinBtn {
    to {
        transform: rotate(360deg);
    }
}

/* ── Switch view text ── */
.auth-switch-text {
    text-align: center;
    font-size: 13px;
    color: var(--text-light);
}

.auth-switch-text button {
    background: none;
    border: none;
    color: var(--accent);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.15s;
}

.auth-switch-text button:hover {
    opacity: 0.75;
    text-decoration: underline;
}

/* ── View animation ── */
.auth-view {
    animation: authViewIn 0.2s ease;
}

@keyframes authViewIn {
    from {
        opacity: 0;
        transform: translateX(10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — auth modal
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
    .auth-modal {
        grid-template-columns: 1fr;
        border-radius: 16px;
    }

    .auth-modal-brand {
        border-radius: 16px 16px 0 0;
        padding: 1.5rem 1.5rem 1.2rem;
        flex-direction: row;
        align-items: center;
        gap: 1.2rem;
    }

    .auth-brand-tagline {
        font-size: 12px;
    }

    .auth-brand-dots {
        display: none;
    }

    .auth-modal-body {
        padding: 1.6rem 1.4rem;
    }

    /* Hide the desktop Sign In button, show mobile auth link instead */
    .auth-signin-btn {
        display: none;
    }
}

@media (min-width: 601px) {
    #mobileAuthLink {
        display: none;
    }
}


/* ═══════════════════════════════════════════════════════════
   MY ORDERS MODAL
   ═══════════════════════════════════════════════════════════ */
.my-orders-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 4px;
}

/* Loading state */
.my-orders-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 2.5rem 0;
    color: var(--text-light);
    font-size: 14px;
}

.orders-spinner {
    width: 28px;
    height: 28px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spinBtn 0.7s linear infinite;
}

/* Empty state */
.my-orders-empty {
    text-align: center;
    padding: 2.5rem 1rem;
    color: var(--text-light);
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Individual order card */
.my-order-card {
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
    background: #fdf8f4;
    transition: box-shadow 0.18s, border-color 0.18s;
}

.my-order-card:hover {
    box-shadow: 0 4px 16px rgba(28, 13, 20, 0.07);
    border-color: var(--accent);
}

.my-order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 6px;
    gap: 8px;
}

.my-order-number {
    font-family: 'Outfit', monospace;
    font-weight: 700;
    font-size: 14px;
    color: var(--text-dark);
    display: block;
}

.my-order-date {
    font-size: 12px;
    color: var(--text-light);
    display: block;
    margin-top: 2px;
}

.my-order-status {
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.01em;
}

.my-order-items {
    font-size: 13px;
    color: var(--text-mid);
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.my-order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.my-order-count {
    font-size: 12px;
    color: var(--text-light);
}

.my-order-total {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--accent);
}

/* ══════════════════════════════════════════════════
   MOBILE TRACK & REVIEW POPUPS
   Full-screen overlay + bottom-sheet panel
   ══════════════════════════════════════════════════ */

.mob-popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10050;
    background: rgba(10, 10, 15, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    align-items: flex-end;
    justify-content: center;
}

.mob-popup-overlay.open {
    display: flex;
    animation: mobOverlayIn 0.2s ease both;
}

@keyframes mobOverlayIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.mob-popup-sheet {
    background: #fff;
    width: 100%;
    max-width: 480px;
    border-radius: 24px 24px 0 0;
    padding: 2rem 1.5rem 2.5rem;
    position: relative;
    max-height: 92dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    animation: mobSheetIn 0.35s cubic-bezier(0.23, 1, 0.32, 1) both;
}

@keyframes mobSheetIn {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

/* Drag handle bar */
.mob-popup-sheet::before {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    border-radius: 99px;
    background: #e0e0e0;
    margin: 0 auto 1.5rem;
}

.mob-popup-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent-light, #fdf0f4);
    border: 1px solid var(--border, #f0e8e8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent, #c0406e);
    cursor: pointer;
    transition: background 0.2s;
}

.mob-popup-close:hover {
    background: #fce0ea;
}

.mob-popup-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--accent-light, #fdf0f4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent, #c0406e);
    margin: 0 auto 1rem;
}

.mob-popup-title {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark, #1c1c1a);
    text-align: center;
    margin-bottom: 0.4rem;
}

.mob-popup-sub {
    font-size: 13px;
    color: var(--text-light, #888);
    text-align: center;
    margin-bottom: 1.75rem;
    line-height: 1.5;
}

.mob-popup-fields {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.mob-popup-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.mob-popup-label {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-light, #888);
}

.mob-popup-input {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--border, #f0e8e8);
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--text-dark, #1c1c1a);
    background: var(--bg-light, #fafaf9);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.mob-popup-input:focus {
    border-color: var(--accent, #c0406e);
    box-shadow: 0 0 0 3px rgba(192, 64, 110, 0.1);
}

.mob-popup-textarea {
    resize: vertical;
    min-height: 90px;
}

.mob-popup-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mob-popup-btn-primary {
    width: 100%;
    padding: 0.95rem 1rem;
    background: var(--accent, #c0406e);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background 0.2s, transform 0.1s;
}

.mob-popup-btn-primary:hover {
    background: #a8325f;
}

.mob-popup-btn-primary:active {
    transform: scale(0.98);
}

.mob-popup-btn-primary:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.mob-popup-btn-secondary {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--accent-light, #fdf0f4);
    color: var(--accent, #c0406e);
    border: 1.5px solid rgba(192, 64, 110, 0.2);
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.mob-popup-btn-secondary:hover {
    background: #fce0ea;
}

/* Review-specific */
.mob-review-error {
    font-size: 13px;
    text-align: center;
    margin-bottom: 1rem;
    min-height: 1em;
    color: red;
}

.mob-review-product-badge {
    background: var(--bg-light, #fafaf9);
    border: 1px solid var(--border, #f0e8e8);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    margin-bottom: 1.25rem;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    color: var(--text-dark, #1c1c1a);
    text-align: center;
}

/* Product pick list items inside mobile review popup */
#mobReviewProductsList>div {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.7rem 0.85rem;
    border: 1.5px solid var(--border, #f0e8e8);
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

#mobReviewProductsList>div:hover {
    border-color: var(--accent, #c0406e);
    background: var(--accent-light, #fdf0f4);
}

#mobReviewProductsList img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}