/* ============================================================
   ROOTED IN SPIRIT — MASTER STYLESHEET  v4
   Aesthetic: faith-inspired apparel. Deep green + champagne + ink.
   Display: Fraunces (optical serif) · Body: Inter
   ============================================================ */

:root {
    /* Brand — primary is Rooted's olive green (the base/resting brand
       colour across buttons, links, and icons); primary-deep is Awaken's
       burgundy, used consistently for every hover and active/selected
       state site-wide, rather than just a darker shade of the same
       green as before. This mirrors the brand's own two-tone identity
       (Rooted + Awaken) rather than a single-hue palette. */
    --primary:        #4A5330;
    --primary-deep:   #6B1F2A;
    --primary-soft:   #E9EBE1;
    --primary-tint:   rgba(74, 83, 48, 0.06);

    /* Ink & neutrals */
    --ink:           #14101A;
    --ink-soft:      #3A3340;
    --ink-mute:      #6B6470;
    --champagne:     #F8F4EF;
    --champagne-2:   #F1E9E1;
    --cream:         #FCFAF7;
    --line:          #E8E0D8;
    --white:         #FFFFFF;

    /* Accent */
    --gold:          #C6A15B;

    /* Status */
    --success:       #138A5E;
    --warning:       #B7791F;
    --danger:        #C53030;
    --info:          #2B6CB0;

    /* Type */
    --font-display: 'Fraunces', Georgia, serif;
    --font-body:    'Inter', system-ui, sans-serif;

    /* Shadows */
    --sh-sm: 0 1px 3px rgba(20,16,26,.06);
    --sh-md: 0 8px 24px rgba(20,16,26,.08);
    --sh-lg: 0 20px 48px rgba(20,16,26,.12);
    --sh-primary: 0 10px 30px rgba(74,83,48,.28);

    /* Radius */
    --r-sm: 6px;
    --r-md: 12px;
    --r-lg: 20px;
    --r-pill: 999px;

    --ease: cubic-bezier(.4, 0, .2, 1);
    --container: 1240px;
    --navbar-bg: rgba(252,250,247,.85);
}

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

/* overflow-x:hidden here on <html>, not just <body> below, is
   deliberate and not redundant -- confirmed the mobile off-canvas nav
   menu (.nav-links, hidden via position:fixed + transform:translateX(100%)
   when closed) was causing real horizontal page scroll on mobile despite
   body already having overflow-x:hidden. A position:fixed element's
   layout box is measured against the viewport/<html>, not <body>, so
   only <body>'s rule left it uncontained. */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.015em;
    font-optical-sizing: auto;
}

a { text-decoration: none; color: inherit; transition: color .25s var(--ease); }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

::selection { background: var(--primary); color: #fff; }

/* Buttons -------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .6em;
    font-weight: 600; font-size: .95rem; letter-spacing: .01em;
    padding: 14px 30px; border-radius: var(--r-pill);
    transition: all .3s var(--ease); white-space: nowrap; cursor: pointer;
    border: 1.5px solid transparent;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--sh-primary); }
.btn-primary:hover { background: var(--primary-deep); transform: translateY(-2px); box-shadow: 0 14px 36px rgba(107,31,42,.36); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line); box-shadow: var(--sh-sm); }
.btn-ghost:hover { border-color: var(--primary-deep); color: var(--primary-deep); }
.btn-block { width: 100%; }
.btn-lg { padding: 17px 38px; font-size: 1rem; }
.btn-sm { padding: 9px 18px; font-size: .85rem; }

/* Eyebrow / section heads ---------------------------------- */
.eyebrow {
    font-family: var(--font-body); font-weight: 600; font-size: .72rem;
    letter-spacing: .22em; text-transform: uppercase; color: var(--primary);
    display: inline-flex; align-items: center; gap: .7em;
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--primary); }
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { content: ""; width: 26px; height: 1.5px; background: var(--primary); }

.section-head { margin-bottom: 48px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin: 16px 0 0; }
.section-head.center { text-align: center; }
.section-head p { color: var(--ink-mute); max-width: 540px; margin-top: 14px; font-size: 1.02rem; }
.section-head.center p { margin-left: auto; margin-right: auto; }

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.announce {
    background: var(--ink); color: #fff; overflow: hidden; white-space: nowrap;
    font-size: .76rem; font-weight: 500; padding: 9px 0; position: relative; z-index: 60;
}
.announce-track { display: inline-flex; gap: 22px; align-items: center; animation: marquee 34s linear infinite; padding-left: 22px; }
.announce-track span { display: inline-flex; align-items: center; gap: 8px; }
.announce-track i { color: var(--primary); font-size: .85em; }
.announce .dot { color: rgba(255,255,255,.35); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: sticky; top: 0; z-index: 50; background: var(--navbar-bg);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line); transition: box-shadow .3s var(--ease);
}
.navbar.scrolled { box-shadow: var(--sh-sm); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 118px; gap: 20px; }

.brand { display: inline-flex; align-items: baseline; gap: 4px; font-family: var(--font-display); line-height: 1; }
/* Extra-large logo for stronger brand presence. */
.brand-logo { display: block; height: 102px; width: auto; max-width: none; }
@media (max-width: 680px) { .brand-logo { height: 72px; } }
.footer .brand-logo { height: 70px; }
@media (max-width: 680px) { .footer .brand-logo { height: 56px; } }
.brand-mark { font-size: 1.5rem; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.brand-amp  { font-size: 1.1rem; color: var(--primary); font-style: italic; }
.brand-sub  { font-size: 1.5rem; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
    font-size: .92rem; font-weight: 500; color: var(--ink-soft); position: relative; padding: 6px 0;
}
.nav-links a::after {
    content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1.5px;
    background: var(--primary); transition: width .3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--primary-deep); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.sale-link { color: var(--primary); font-weight: 600; }

.nav-actions { display: flex; align-items: center; gap: 6px; }
.iconbtn {
    width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center;
    justify-content: center; color: var(--ink); font-size: 1.05rem; position: relative;
    transition: background .25s var(--ease), color .25s var(--ease);
}
.iconbtn:hover { background: var(--primary-soft); color: var(--primary-deep); }
.cart-badge {
    position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
    background: var(--primary); color: #fff; border-radius: var(--r-pill); font-size: .68rem;
    font-weight: 700; display: flex; align-items: center; justify-content: center; font-family: var(--font-body);
}
.nav-burger { display: none; font-size: 1.3rem; color: var(--ink); width: 44px; height: 44px; }

.user-menu { position: relative; }
.user-dropdown {
    position: absolute; top: calc(100% + 10px); right: 0; background: var(--white); border: 1px solid var(--line);
    border-radius: var(--r-md); box-shadow: var(--sh-lg); min-width: 210px; padding: 8px;
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s var(--ease); z-index: 70;
}
.user-menu:hover .user-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.user-dropdown a { display: flex; align-items: center; gap: 11px; padding: 11px 14px; font-size: .9rem; border-radius: var(--r-sm); color: var(--ink-soft); }
.user-dropdown a:hover { background: var(--champagne); color: var(--primary-deep); }
.user-dropdown i { width: 18px; color: var(--primary); }

/* Search overlay ------------------------------------------- */
.search-overlay {
    position: fixed; inset: 0; background: rgba(20,16,26,.55); backdrop-filter: blur(6px);
    z-index: 100; display: flex; align-items: flex-start; justify-content: center; padding-top: 14vh;
    opacity: 0; visibility: hidden; transition: all .3s var(--ease);
}
.search-overlay.open { opacity: 1; visibility: visible; }
.search-box { background: var(--white); border-radius: var(--r-lg); padding: 44px; width: min(640px, 92vw); box-shadow: var(--sh-lg); position: relative; transform: translateY(-20px); transition: transform .3s var(--ease); }
.search-overlay.open .search-box { transform: translateY(0); }
.search-close { position: absolute; top: 18px; right: 22px; font-size: 1.8rem; color: var(--ink-mute); line-height: 1; }
.search-box h3 { font-size: 1.6rem; margin-bottom: 22px; }
.search-field { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--line); border-radius: var(--r-pill); padding: 6px 6px 6px 20px; transition: border-color .25s; }
.search-field:focus-within { border-color: var(--primary); }
.search-field i { color: var(--ink-mute); }
.search-field input { flex: 1; border: none; outline: none; font-size: 1rem; font-family: inherit; background: none; }
.search-field button { background: var(--primary); color: #fff; padding: 11px 24px; border-radius: var(--r-pill); font-weight: 600; }
.search-tags { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: .88rem; }
.search-tags span { color: var(--ink-mute); }
.search-tags a { padding: 6px 14px; background: var(--champagne); border-radius: var(--r-pill); color: var(--ink-soft); }
.search-tags a:hover { background: var(--primary-deep); color: #fff; }

/* Flash ---------------------------------------------------- */
.flash {
    position: fixed; top: 92px; left: 50%; transform: translateX(-50%); z-index: 90;
    display: flex; align-items: center; gap: 12px; padding: 14px 22px; border-radius: var(--r-pill);
    background: var(--white); box-shadow: var(--sh-lg); font-size: .92rem; font-weight: 500; max-width: 90vw;
    animation: flashIn .4s var(--ease);
}
@keyframes flashIn { from { opacity: 0; transform: translate(-50%, -16px); } }
.flash i { font-size: 1.1rem; }
.flash-success { color: var(--success); } .flash-success i { color: var(--success); }
.flash-error { color: var(--danger); } .flash-error i { color: var(--danger); }
.flash-info { color: var(--info); } .flash-info i { color: var(--info); }
.flash-close { margin-left: 6px; font-size: 1.3rem; color: var(--ink-mute); line-height: 1; }

/* ============================================================
   HERO — editorial asymmetric split
   ============================================================ */
/* Hero as a full-bleed banner: the photo anchors to the right at its own
   natural aspect ratio (scaled to the section's height only, not
   force-stretched to "cover" the full viewport width -- the source photo
   isn't high-resolution enough for that without looking blurry/oddly
   cropped on wide screens). The champagne brand colour fills whatever
   width the photo doesn't reach, with a gradient easing the seam between
   the two so it reads as one continuous banner rather than a hard edge. */
/* Full-width photo banner hero */
.hero {
    position: relative; overflow: hidden;
    background-color: var(--champagne);
    padding: 0;
}
.hero.hero-banner {
    min-height: 620px;
    background-size: cover;
    background-position: center 22%;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}
.hero-banner-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, rgba(10,10,10,.72) 0%, rgba(10,10,10,.45) 42%, rgba(10,10,10,.18) 100%);
}
.hero-inner {
    position:; z-index: 2; padding: 2px 0;
    display: block;
}
.hero-copy { max-width: 580px; }
.hero-copy .eyebrow { color: #e8d9b0; }
.hero-copy h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); margin: 22px 0 0; letter-spacing: -.03em; color: #fff; }
.hero-copy h1 em { font-style: italic; color: #e8d9b0; font-weight: 500; }
.hero-copy .lede { font-size: 1.12rem; color: rgba(255,255,255,.88); max-width: 460px; margin: 22px 0 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-cta .btn-outline-light {
    background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.75);
}
.hero-cta .btn-outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hero-stats { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats .stat { display: flex; align-items: center; gap: 9px; }
.hero-stats .stat-check { color: #e8d9b0; font-size: 1.5rem; flex-shrink: 0; }
.hero-stats .stat strong { font-family: var(--font-body); font-weight: 600; font-size: .95rem; color: #fff; letter-spacing: .02em; text-transform: uppercase; }

.hero-visual { display: none; }
.hero-badge { display: none; }

@media (max-width: 780px) {
    .hero.hero-banner {
        min-height: 520px;
        background-position: center 18%;
    }
    .hero-banner-overlay {
        background: linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.72) 100%);
    }
    .hero-inner { padding: 48px 0 56px; }
    .hero-copy { max-width: 100%; }
    .hero-stats { gap: 14px 22px; margin-top: 28px; }
    .hero-stats .stat-check { font-size: 1.35rem; }
    .hero-stats .stat strong { font-size: .85rem; }
}
/* ============================================================
   CATEGORY RAIL
   ============================================================ */
.section { padding: 92px 0; }
.section.tight { padding: 64px 0; }
.section.champagne { background: var(--champagne); }
.section.ink { background: var(--ink); color: #fff; }
.section.ink h2, .section.ink h3 { color: #fff; }

.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card {
    position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3/4;
    display: flex; align-items: flex-end; box-shadow: var(--sh-sm);
}
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,16,26,.78) 0%, rgba(20,16,26,.05) 55%); }
.cat-card:hover img { transform: scale(1.07); }
.cat-card .cat-body { position: relative; z-index: 2; padding: 24px; color: #fff; width: 100%; }
.cat-card .cat-body h3 { font-size: 1.35rem; color: #fff; }
.cat-card .cat-body span { font-size: .82rem; opacity: .85; display: inline-flex; align-items: center; gap: 7px; margin-top: 6px; }
.cat-card .cat-body span i { transition: transform .3s var(--ease); }
.cat-card:hover .cat-body span i { transform: translateX(5px); }

/* Circular collection badges (Rooted / Awaken / Planted / Alive / Established / About Us) */
.cat-badges {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px;
    justify-items: center;
}
.cat-badge { display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; }
.cat-badge-ring {
    width: 100%; max-width: 168px; aspect-ratio: 1/1; border-radius: 50%; overflow: hidden;
    box-shadow: var(--sh-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.cat-badge-ring img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat-badge:hover .cat-badge-ring { transform: translateY(-6px) scale(1.04); box-shadow: var(--sh-md); }
.cat-badge span {
    display: block; margin-top: 12px; font-family: var(--font-display); font-size: .95rem;
    color: var(--ink); letter-spacing: .03em;
}
@media (max-width: 900px) { .cat-badges { grid-template-columns: repeat(3, 1fr); gap: 28px 18px; } }
@media (max-width: 480px) { .cat-badges { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.pcard { position: relative; background: var(--white); border-radius: var(--r-md); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); border: 1px solid var(--line); }
.pcard:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: transparent; }
.pcard-media { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--champagne); display: block; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .4s; }
.pcard:hover .pcard-media img { transform: scale(1.06); }
.pcard-tags { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 3; }
.ptag { font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 5px 10px; border-radius: var(--r-pill); color: #fff; }
.ptag.sale { background: var(--primary); }
.ptag.new { background: var(--ink); }
.ptag.low { background: var(--warning); }
.pcard-wish {
    position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,.92); display: flex; align-items: center; justify-content: center;
    color: var(--ink); z-index: 3; opacity: 0; transform: translateY(-6px); transition: all .3s var(--ease);
}
.pcard:hover .pcard-wish { opacity: 1; transform: translateY(0); }
.pcard-wish:hover { background: var(--primary-deep); color: #fff; }
.pcard-quick {
    position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 3;
    opacity: 0; transform: translateY(10px); transition: all .35s var(--ease);
}
.pcard:hover .pcard-quick { opacity: 1; transform: translateY(0); }
.pcard-body { padding: 18px 18px 20px; }
.pcard-cat { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); font-weight: 600; }
.pcard-title { font-family: var(--font-body); font-weight: 600; font-size: .98rem; margin: 7px 0 8px; line-height: 1.35; color: var(--ink); }
.pcard-title a:hover { color: var(--primary-deep); }
.pcard-rating { display: flex; align-items: center; gap: 5px; font-size: .8rem; color: var(--ink-mute); margin-bottom: 10px; }
.pcard-rating .stars { color: var(--gold); letter-spacing: 1px; }
.pcard-price { display: flex; align-items: baseline; gap: 9px; }
.pcard-price .now { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--ink); }
.pcard-price .was { font-size: .9rem; color: var(--ink-mute); text-decoration: line-through; }
.pcard-price .off { font-size: .72rem; font-weight: 700; color: var(--primary); background: var(--primary-soft); padding: 2px 8px; border-radius: var(--r-pill); }

/* ============================================================
   PROMO / EDITORIAL BANNER
   ============================================================ */
.editorial { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-md); }
.editorial-img { background-size: cover; background-position: center; min-height: 440px; }
.editorial-copy { background: var(--primary); color: #fff; padding: 64px 56px; display: flex; flex-direction: column; justify-content: center; }
.editorial-copy .eyebrow { color: #fff; } .editorial-copy .eyebrow::before { background: #fff; }
.editorial-copy h2 { color: #fff; font-size: clamp(2rem, 3.4vw, 3rem); margin: 16px 0 18px; }
.editorial-copy p { opacity: .92; margin-bottom: 28px; max-width: 420px; }
.editorial-copy .btn-ghost { background: #fff; color: var(--primary); }
.editorial-copy .btn-ghost:hover { background: var(--ink); color: #fff; }

/* USP row -------------------------------------------------- */
.usp-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.usp { text-align: center; padding: 8px; }
.usp i { font-size: 1.8rem; color: var(--primary); margin-bottom: 14px; }
.usp h4 { font-family: var(--font-body); font-weight: 700; font-size: 1rem; margin-bottom: 6px; }
.usp p { font-size: .88rem; color: var(--ink-mute); }

/* Testimonials --------------------------------------------- */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.testi { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 30px; }
.testi .stars { color: var(--gold); margin-bottom: 14px; letter-spacing: 2px; }
.testi p { font-size: .98rem; color: var(--ink-soft); font-style: italic; margin-bottom: 18px; }
.testi .who { display: flex; align-items: center; gap: 12px; }
.testi .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--font-display); }
.testi .who strong { display: block; font-size: .9rem; }
.testi .who span { font-size: .78rem; color: var(--ink-mute); }

/* ============================================================
   NEWSLETTER / TRUST / FOOTER
   ============================================================ */
.newsletter { background: var(--ink); color: #fff; padding: 64px 0; }
.newsletter-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.newsletter-copy h3 { color: #fff; font-size: 2rem; }
.newsletter-copy p { color: rgba(255,255,255,.7); margin-top: 8px; max-width: 420px; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input { flex: 1; padding: 16px 22px; border-radius: var(--r-pill); border: none; font-family: inherit; font-size: .95rem; outline: none; }
.newsletter-form button { background: var(--primary); color: #fff; padding: 16px 28px; border-radius: var(--r-pill); font-weight: 600; white-space: nowrap; transition: background .25s; }
.newsletter-form button:hover { background: var(--primary-deep); }

.trust-strip { background: var(--cream); border-bottom: 1px solid var(--line); padding: 36px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; }
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-item i { font-size: 1.5rem; color: var(--primary); }
.trust-item strong { display: block; font-size: .92rem; }
.trust-item span { font-size: .8rem; color: var(--ink-mute); }

.footer { background: var(--cream); padding-top: 72px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 56px; }
.footer-brand p { color: var(--ink-mute); font-size: .9rem; margin: 18px 0 22px; max-width: 320px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: var(--white); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--ink); }
.footer-social a:hover { background: var(--primary-deep); color: #fff; border-color: var(--primary-deep); }
.footer-col h4 { font-family: var(--font-body); font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; color: var(--ink); }
.footer-col a, .footer-contact p { display: block; color: var(--ink-mute); font-size: .9rem; margin-bottom: 12px; }
.footer-col a:hover { color: var(--primary-deep); }
.footer-contact i { color: var(--primary); width: 18px; margin-right: 6px; }
.footer-bottom { border-top: 1px solid var(--line); padding: 22px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.footer-bottom p { font-size: .84rem; color: var(--ink-mute); }
.footer-pay { display: flex; gap: 14px; font-size: 1.3rem; color: var(--ink-mute); }

.wa-float { position: fixed; bottom: 26px; right: 26px; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; box-shadow: var(--sh-lg); z-index: 80; transition: transform .25s; }
.wa-float:hover { transform: scale(1.08); }

/* ============================================================
   PAGE HEADER (interior pages)
   ============================================================ */
.page-head { background: var(--champagne); padding: 56px 0; text-align: center; }
.page-head h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-top: 14px; }
.breadcrumb { font-size: .85rem; color: var(--ink-mute); margin-top: 14px; }
.breadcrumb a:hover { color: var(--primary-deep); }
.breadcrumb i { font-size: .6rem; margin: 0 8px; }

/* ============================================================
   SHOP LAYOUT
   ============================================================ */
.shop-wrap { display: grid; grid-template-columns: 268px 1fr; gap: 40px; padding: 56px 0; }
.shop-sidebar { position: sticky; top: 100px; align-self: start; }
.filter-block { padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.filter-block h4 { font-family: var(--font-body); font-weight: 700; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.filter-list a { display: flex; justify-content: space-between; padding: 8px 0; font-size: .92rem; color: var(--ink-soft); }
.filter-list a:hover, .filter-list a.active { color: var(--primary-deep); }
.filter-list a span { color: var(--ink-mute); font-size: .82rem; }

/* Multi-select category checkboxes -- lets a customer combine several
   collections in one shop view rather than browsing one at a time. */
.filter-checklist { display: flex; flex-direction: column; gap: 2px; }
.filter-check { display: flex; align-items: center; gap: 9px; padding: 7px 0; font-size: .92rem; color: var(--ink-soft); cursor: pointer; }
.filter-check input[type="checkbox"] { accent-color: var(--primary-deep); width: 16px; height: 16px; cursor: pointer; }
.filter-check:hover span { color: var(--primary-deep); }
.filter-check em { margin-left: auto; font-style: normal; color: var(--ink-mute); font-size: .82rem; }
.filter-clear { display: inline-block; margin-top: 8px; font-size: .8rem; color: var(--primary-deep); text-decoration: underline; }
.price-inputs { display: flex; gap: 10px; align-items: center; }
.price-inputs input { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); font-family: inherit; outline: none; }
.price-inputs input:focus { border-color: var(--primary); }

.shop-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; flex-wrap: wrap; gap: 14px; }
.shop-toolbar .count { color: var(--ink-mute); font-size: .9rem; }
.shop-toolbar select { padding: 11px 16px; border: 1px solid var(--line); border-radius: var(--r-pill); font-family: inherit; font-size: .9rem; background: var(--white); outline: none; cursor: pointer; }
.filter-toggle { display: none; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--r-sm); border: 1px solid var(--line); font-size: .9rem; color: var(--ink-soft); }
.pagination a:hover { border-color: var(--primary-deep); color: var(--primary-deep); }
.pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }

.empty-state { text-align: center; padding: 80px 20px; }
.empty-state i { font-size: 3rem; color: var(--line); margin-bottom: 18px; }
.empty-state h3 { font-size: 1.5rem; margin-bottom: 10px; }
.empty-state p { color: var(--ink-mute); margin-bottom: 24px; }

/* ============================================================
   PRODUCT DETAIL
   ============================================================ */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; padding: 56px 0; }
.pdp-gallery { position: sticky; top: 100px; align-self: start; }
.pdp-main { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/5; background: var(--champagne); box-shadow: var(--sh-sm); }
.pdp-main img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumbs { display: flex; gap: 12px; margin-top: 14px; }
.pdp-thumbs img { width: 78px; height: 96px; object-fit: cover; border-radius: var(--r-sm); cursor: pointer; border: 2px solid transparent; transition: border-color .2s; }
.pdp-thumbs img.active, .pdp-thumbs img:hover { border-color: var(--primary-deep); }

.pdp-info .pcard-cat { font-size: .78rem; }
.pdp-info h1 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin: 10px 0 16px; }
.pdp-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font-size: .9rem; color: var(--ink-mute); }
.pdp-rating .stars { color: var(--gold); letter-spacing: 2px; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 22px; }
.pdp-price .now { font-family: var(--font-display); font-size: 2rem; font-weight: 600; }
.pdp-price .was { font-size: 1.1rem; color: var(--ink-mute); text-decoration: line-through; }
.pdp-price .off { background: var(--primary); color: #fff; font-size: .8rem; font-weight: 700; padding: 4px 12px; border-radius: var(--r-pill); }
.pdp-desc { color: var(--ink-soft); margin-bottom: 26px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.pdp-stock { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; margin-bottom: 22px; }
.pdp-stock.in { color: var(--success); } .pdp-stock.out { color: var(--danger); }

/* Variant picker — colour swatches + size buttons on the product page */
.variant-picker { margin-bottom: 22px; }
.variant-group { margin-bottom: 16px; }
.variant-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.variant-group label span { font-weight: 400; color: var(--ink-mute); }
.swatch-row { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch {
    width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--line); cursor: pointer;
    padding: 0; transition: transform .15s var(--ease), border-color .15s var(--ease); position: relative;
}
.swatch:hover { transform: scale(1.08); }
.swatch.active { border-color: var(--primary-deep); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--primary-deep); }
.size-row { display: flex; gap: 8px; flex-wrap: wrap; }
.size-btn {
    min-width: 48px; height: 42px; padding: 0 14px; border-radius: var(--r-sm, 8px); border: 1.5px solid var(--line);
    background: var(--white); font-weight: 600; font-size: .88rem; cursor: pointer; color: var(--ink);
    transition: border-color .15s var(--ease), color .15s var(--ease), background .15s var(--ease);
}
.size-btn:hover:not(:disabled) { border-color: var(--primary-deep); color: var(--primary-deep); }
.size-btn.active { border-color: var(--primary-deep); background: var(--primary-deep); color: #fff; }
.size-btn.sold-out, .size-btn:disabled {
    color: var(--ink-mute); border-color: var(--line); background: repeating-linear-gradient(135deg, #fff, #fff 4px, #f2efe9 4px, #f2efe9 8px);
    cursor: not-allowed; text-decoration: line-through; opacity: .6;
}
.qty-row { display: flex; gap: 14px; align-items: center; margin-bottom: 22px; }
.qty-stepper { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-pill); overflow: hidden; }
.qty-stepper button { width: 44px; height: 48px; font-size: 1.1rem; color: var(--ink); }
.qty-stepper button:hover { background: var(--champagne); }
.qty-stepper input { width: 48px; text-align: center; border: none; outline: none; font-family: inherit; font-size: 1rem; font-weight: 600; }
.pdp-actions { display: flex; gap: 12px; margin-bottom: 26px; }
.pdp-trust { display: flex; gap: 18px; flex-wrap: wrap; padding: 16px 0; margin-bottom: 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pdp-trust-item { display: flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 600; color: var(--ink-soft); }
.pdp-trust-item i { color: var(--primary); font-size: 1rem; }
.pdp-meta { font-size: .88rem; color: var(--ink-mute); }
.pdp-meta div { padding: 7px 0; display: flex; gap: 10px; }
.pdp-meta strong { color: var(--ink); min-width: 90px; }
.pdp-assure { background: var(--champagne); border-radius: var(--r-md); padding: 20px 24px; margin-top: 24px; display: grid; gap: 12px; }
.pdp-assure div { display: flex; align-items: center; gap: 12px; font-size: .88rem; }
.pdp-assure i { color: var(--primary); width: 20px; }

/* ============================================================
   CART
   ============================================================ */
.cart-wrap { display: grid; grid-template-columns: 1fr 380px; gap: 40px; padding: 56px 0; }
.cart-item { display: grid; grid-template-columns: 110px 1fr auto; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-item img { width: 110px; height: 130px; object-fit: cover; border-radius: var(--r-sm); }
.cart-item h4 { font-family: var(--font-body); font-weight: 600; font-size: 1rem; margin-bottom: 6px; }
.cart-item .ci-price { color: var(--primary); font-weight: 600; }
.cart-item .ci-remove { color: var(--ink-mute); font-size: .85rem; margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; }
.cart-item .ci-remove:hover { color: var(--danger); }
.cart-line-total { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }

.summary { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; position: sticky; top: 100px; align-self: start; }
.summary h3 { font-size: 1.4rem; margin-bottom: 22px; }
.summary-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: .94rem; color: var(--ink-soft); }
.summary-row.total { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 18px; font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--ink); }
.summary-row .free { color: var(--success); font-weight: 600; }
.ship-progress { background: var(--champagne); border-radius: var(--r-md); padding: 14px 16px; margin: 18px 0; font-size: .85rem; }
.ship-bar { height: 6px; background: var(--line); border-radius: var(--r-pill); margin-top: 10px; overflow: hidden; }
.ship-bar span { display: block; height: 100%; background: var(--primary); border-radius: var(--r-pill); transition: width .4s var(--ease); }
.promo-field { display: flex; gap: 8px; margin: 18px 0; }
.promo-field input { flex: 1; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); outline: none; font-family: inherit; }

/* ============================================================
   FORMS / CHECKOUT / AUTH
   ============================================================ */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; }
.form-card + .form-card { margin-top: 24px; }
.form-card h3 { font-size: 1.3rem; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.form-card h3 .step-n { width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: #fff; font-size: .9rem; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-body); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 7px; color: var(--ink-soft); }
.field input, .field select, .field textarea {
    width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
    font-family: inherit; font-size: .95rem; outline: none; transition: border-color .2s; background: var(--white);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field .hint { font-size: .78rem; color: var(--ink-mute); margin-top: 5px; }
.check-row { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; color: var(--ink-soft); margin-bottom: 14px; }
.check-row input { width: auto; margin-top: 3px; }

.pay-methods { display: grid; gap: 12px; }
.pay-method { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: var(--r-md); cursor: pointer; transition: all .2s; }
.pay-method:hover { border-color: var(--primary-deep); }
.pay-method.selected { border-color: var(--primary); background: var(--primary-tint); }
.pay-method input { width: auto; }
.pay-method i { font-size: 1.4rem; color: var(--primary); width: 30px; text-align: center; }
.pay-method .pm-info strong { display: block; font-size: .95rem; }
.pay-method .pm-info span { font-size: .82rem; color: var(--ink-mute); }
.pay-method .pm-badge { margin-left: auto; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; background: var(--primary); color: #fff; padding: 4px 10px; border-radius: var(--r-pill); }

.auth-wrap { max-width: 460px; margin: 64px auto; padding: 0 24px; }
.auth-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 40px; box-shadow: var(--sh-sm); }
.auth-card h1 { font-size: 1.9rem; text-align: center; margin-bottom: 6px; }
.auth-card .sub { text-align: center; color: var(--ink-mute); font-size: .92rem; margin-bottom: 28px; }
.auth-alt { text-align: center; margin-top: 22px; font-size: .9rem; color: var(--ink-mute); }
.auth-alt a { color: var(--primary); font-weight: 600; }
.form-error { background: #FDF0F0; color: var(--danger); padding: 12px 16px; border-radius: var(--r-sm); font-size: .88rem; margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }

/* ============================================================
   BADGES (admin + status)
   ============================================================ */
.badge { display: inline-flex; align-items: center; font-size: .74rem; font-weight: 700; padding: 4px 11px; border-radius: var(--r-pill); letter-spacing: .02em; }
.badge-success { background: #E3F5EC; color: var(--success); }
.badge-warning { background: #FCF1DC; color: var(--warning); }
.badge-info { background: #E2EEFA; color: var(--info); }
.badge-primary { background: var(--primary-soft); color: var(--primary); }
.badge-danger { background: #FBE9E9; color: var(--danger); }
.badge-secondary { background: var(--champagne-2); color: var(--ink-soft); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 48px; }
    .cat-grid, .product-grid, .product-grid.cols-3 { grid-template-columns: repeat(2,1fr); }
    .trust-grid, .usp-row, .footer-grid { grid-template-columns: repeat(2,1fr); }
    .testi-grid { grid-template-columns: 1fr; }
    .pdp, .cart-wrap, .editorial, .newsletter-inner { grid-template-columns: 1fr; }
    .shop-wrap { grid-template-columns: 1fr; }
    .shop-sidebar { position: static; display: none; }
    .shop-sidebar.open { display: block; }
    .filter-toggle { display: inline-flex; }
    .cart-wrap { display: block; }
    .summary { margin-top: 26px; }
}
@media (max-width: 680px) {
    .container { padding: 0 18px; }
    .nav-links { position: fixed; inset: 0 0 0 auto; width: 80%; max-width: 320px; background: var(--white); flex-direction: column; align-items: flex-start; padding: 90px 30px; gap: 6px; transform: translateX(100%); transition: transform .35s var(--ease); box-shadow: var(--sh-lg); z-index: 55; }
    .nav-links.open { transform: translateX(0); }
    .nav-links a { font-size: 1.1rem; padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
    .nav-burger { display: inline-flex; }
    .nav-inner { height: 92px; }
    .section { padding: 56px 0; }
    .cat-grid, .product-grid, .product-grid.cols-3, .trust-grid, .usp-row, .footer-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 14px 22px; margin-top: 28px; }
    .hero-stats .stat + .stat { padding-left: 0; border-left: none; }
    .hero-stats .stat-check { font-size: 1.35rem; }
    .hero-stats .stat strong { font-size: .85rem; }
    .editorial-copy { padding: 40px 28px; }
    .field-row { grid-template-columns: 1fr; }
    .newsletter-form { flex-direction: column; }
    .footer-bottom-inner { flex-direction: column; text-align: center; gap: 12px; }
    .footer-legal { justify-content: center; }
    .brand-logo { max-height: 64px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
