/* =========================================================
   PERFUME REGISTRY — LUXURY E-COMMERCE STYLESHEET
   Scents & Moments | app.css v4.0
   ========================================================= */

:root{
    /* Backgrounds */
    --bg:#ffffff;
    --bg-soft:#f8f6f1;             /* Warm cream */
    --bg-dark:#0B1326;              /* Luxury navy */

    /* Text */
    --text:#0B1326;                 /* Navy headings */
    --text-dim:#5a6378;             /* Soft slate */

    /* Brand Gold */
    --accent:#B69356;               /* Perfume Registry Gold */
    --accent-dark:#9c7943;
    --accent-light:#faf6ee;

    /* System */
    --success:#2d8a4e;
    --error:#c0392b;
    --line:rgba(11,19,38,0.1);
    --shadow:0 4px 24px rgba(11,19,38,0.08);
    --radius:12px;

    /* Typography */
    --font-serif:'Playfair Display','Cormorant Garamond',Georgia,serif;
    --font-sans:'Inter',-apple-system,BlinkMacSystemFont,system-ui,sans-serif;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top:90px; }
body{
    margin:0; background:var(--bg); color:var(--text);
    font-family:var(--font-sans);
    padding-top: env(safe-area-inset-top,0px); padding-bottom: env(safe-area-inset-bottom,0px);
    -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; }

/* ---------- Headings ---------- */
h1,h2,h3{
    margin:0;
    font-family:var(--font-serif);
    font-weight:600;
    letter-spacing:-0.015em;
    color:var(--text);
}
h1{ font-weight:700; }
.pd-title, .hero h1, .section-head h2, .prose h1{ font-family:var(--font-serif); }
.btn, nav.main-links a, .price, .pd-price, .logo{ font-family:var(--font-sans); }

/* ---------- Accessibility ---------- */
.skip-link{ position:absolute; left:-999px; top:0; background:var(--text); color:#fff; padding:10px 16px; z-index:200; border-radius:0 0 8px 0; }
.skip-link:focus{ left:0; }
:focus-visible{ outline:2px solid var(--accent); outline-offset:2px; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible{
    outline:2px solid var(--accent); outline-offset:2px;
}

/* ---------- Announcement bar ---------- */
.announce-bar{
    background:var(--bg-dark); color:#fff;
    font-size:12.5px; font-weight:600; text-align:center;
    padding:10px 40px 10px 16px; position:relative;
    letter-spacing:0.03em;
}
.announce-bar button{
    position:absolute; right:12px; top:50%; transform:translateY(-50%);
    background:none; border:none; color:rgba(255,255,255,0.7);
    cursor:pointer; font-size:13px;
}
.announce-bar.hide{ display:none; }

.wrap{ max-width:1200px; margin:0 auto; padding:0 24px; }
@media (max-width:640px){ .wrap{ padding:0 18px; } }

.eyebrow{
    font-size:12px; color:var(--accent); font-weight:600;
    text-transform:uppercase; letter-spacing:0.14em;
}

/* ---------- Buttons ---------- */
.btn{
    display:inline-flex; align-items:center; justify-content:center; gap:8px;
    border:none; cursor:pointer; border-radius:999px;
    padding:14px 28px; font-size:15px; font-weight:600;
    letter-spacing:0.02em;
    transition:transform .15s ease, opacity .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active{ transform:scale(0.97); }
.btn-primary{
    background:var(--accent); color:#fff;
    box-shadow:0 4px 14px rgba(184,147,90,.25);
}
.btn-primary:hover{
    background:var(--accent-dark);
    box-shadow:0 6px 18px rgba(184,147,90,.35);
}
.btn-outline{ background:transparent; border:1.5px solid var(--text); color:var(--text); }
.btn-outline:hover{ background:var(--text); color:#fff; }

/* ---------- Animations ---------- */
.fade-up{ opacity:0; transform:translateY(24px); transition:opacity .6s ease, transform .6s ease; }
.fade-up.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){
    .fade-up{ opacity:1 !important; transform:none !important; transition:none !important; }
    *{ scroll-behavior:auto !important; }
}

/* =========================================================
   NAV & LOGO
   ========================================================= */
header.nav{
    position:sticky; top:0; z-index:80;
    border-bottom:1px solid var(--line);
    background:rgba(255,255,255,0.92);
    backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px);
}
.nav-row{
    display:flex; align-items:center; justify-content:space-between;
    padding:10px 0; gap:20px; min-height:84px;
}

/* Perfume Registry logo */
.logo{
    display:inline-flex; align-items:center;
    padding:6px 0; text-decoration:none;
}
.logo-img{
    height:72px; width:auto; max-width:300px;
    object-fit:contain; display:block;
    filter:drop-shadow(0px 2px 4px rgba(0,0,0,0.05));
    transition:transform .2s ease;
}
.logo-img:hover{ transform:scale(1.02); }
.logo b, .logo span{ display:none !important; }
@media (max-width:768px){
    .logo-img{ height:54px; max-width:220px; }
    .nav-row{ min-height:70px; }
}

nav.main-links{ display:flex; gap:28px; font-size:14px; font-weight:500; }
nav.main-links a{
    color:var(--text-dim); transition:color .15s ease;
    position:relative; padding:4px 0; letter-spacing:0.02em;
}
nav.main-links a::after{
    content:''; position:absolute; bottom:-4px; left:50%;
    width:0; height:1px; background:var(--accent);
    transition:all .2s ease; transform:translateX(-50%);
}
nav.main-links a:hover::after,
nav.main-links a.active::after{ width:100%; }
nav.main-links a:hover,
nav.main-links a.active{ color:var(--text); }
@media (max-width:820px){ nav.main-links{ display:none; } }

.nav-actions{ display:flex; align-items:center; gap:6px; }
.icon-btn{
    background:none; border:none; cursor:pointer;
    padding:9px; border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    color:var(--text); position:relative;
    transition:background .15s ease;
}
.icon-btn:hover{ background:var(--bg-soft); }
.cart-badge{
    position:absolute; top:2px; right:2px;
    background:var(--accent); color:#fff;
    font-size:10px; font-weight:700;
    min-width:16px; height:16px; border-radius:50%;
    display:flex; align-items:center; justify-content:center;
}

.search-panel{
    max-height:0; overflow:hidden;
    transition:max-height .25s ease;
    border-bottom:1px solid var(--line);
    position:relative;
}
.search-panel.open{ max-height:80px; }
.search-panel input{
    width:100%; border:none; outline:none;
    font-size:17px; padding:16px 24px; font-family:inherit;
}

/* Search dropdown */
.search-results-dropdown{
    position:absolute; left:0; right:0; top:100%;
    background:#fff; border-bottom:1px solid var(--line);
    box-shadow:0 12px 28px rgba(0,0,0,.08);
    max-height:min(70vh,420px); overflow-y:auto; z-index:90;
}
.search-res-item{
    display:flex; align-items:center; gap:12px;
    padding:12px 24px; cursor:pointer;
    transition:background .15s ease;
}
.search-res-item:hover{ background:var(--bg-soft); }
.search-res-item img{
    width:42px; height:42px; object-fit:contain;
    background:var(--bg-soft); border-radius:8px; flex-shrink:0;
}
.search-res-item .s-brand{
    font-size:11px; color:var(--text-dim);
    text-transform:uppercase; letter-spacing:.04em; font-weight:600;
}
.search-res-item .s-name{ font-size:13.5px; font-weight:600; color:var(--text); }
.search-res-item .s-price{
    font-size:13.5px; font-weight:700;
    margin-left:auto; white-space:nowrap;
}
.search-no-res{ padding:18px 24px; color:var(--text-dim); font-size:13.5px; }

/* =========================================================
   HERO
   ========================================================= */
.hero{
    background:linear-gradient(180deg, #f8f6f1 0%, #ffffff 100%);
    padding:90px 0 70px; text-align:center; position:relative;
}
.hero::before{
    content:''; position:absolute; top:0; left:0; right:0; height:1px;
    background:linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity:0.4;
}
.hero h1{
    font-size:clamp(38px, 6.5vw, 68px);
    line-height:1.08; max-width:16ch; margin:0 auto;
}
.hero p{
    font-size:clamp(16px,2vw,19px); color:var(--text-dim);
    max-width:46ch; margin:20px auto 32px; line-height:1.55;
}

/* =========================================================
   TRUST BAR
   ========================================================= */
.trust-bar{
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
    background:var(--bg-soft);
}
.trust-row{
    display:grid; grid-template-columns:repeat(4,1fr); gap:12px;
    padding:22px 0; text-align:center;
}
@media (max-width:700px){ .trust-row{ grid-template-columns:repeat(2,1fr); } }
.trust-item{
    font-size:13px; font-weight:600; color:var(--text-dim);
    display:flex; flex-direction:column; align-items:center; gap:6px;
    letter-spacing:0.02em;
}
.trust-item svg{ color:var(--accent); }

/* =========================================================
   SECTIONS
   ========================================================= */
.section{ padding:72px 0; }
.section-head{ margin-bottom:36px; }
.section-head h2{ font-size:clamp(28px,3.6vw,40px); }
.section-head p{ color:var(--text-dim); margin-top:10px; font-size:15px; }
.section-head-row{
    display:flex; align-items:flex-end; justify-content:space-between;
    gap:16px; flex-wrap:wrap;
}
.view-all{
    font-size:14px; font-weight:600; color:var(--accent);
    white-space:nowrap; letter-spacing:0.02em;
}

/* Category grid */
.cat-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
@media (max-width:820px){ .cat-grid{ grid-template-columns:repeat(2,1fr); } }
.cat-card{
    background:var(--bg-soft); border-radius:var(--radius);
    padding:32px 20px; text-align:center;
    transition:transform .25s ease, box-shadow .25s ease;
    cursor:pointer; border:1px solid transparent;
}
.cat-card:hover{
    transform:translateY(-4px);
    box-shadow:var(--shadow);
    border-color:var(--accent);
}
.cat-card .emoji{ font-size:36px; margin-bottom:12px; }
.cat-card h3{ font-size:16px; font-family:var(--font-serif); font-weight:600; }
.cat-card .count{ font-size:12.5px; color:var(--text-dim); margin-top:4px; }

/* =========================================================
   PRODUCT CARDS
   ========================================================= */
.h-scroll{
    display:flex; gap:18px; overflow-x:auto;
    padding:4px 4px 16px; scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
}
.h-scroll::-webkit-scrollbar{ height:6px; }
.h-scroll::-webkit-scrollbar-thumb{ background:var(--line); border-radius:6px; }
.h-scroll .p-card{ scroll-snap-align:start; flex:0 0 240px; }
.grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
@media (max-width:900px){ .grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px){
    .grid{ grid-template-columns:1fr; }
    .h-scroll .p-card{ flex-basis:75vw; }
}

.p-card{
    background:#fff; border:1px solid var(--line); border-radius:var(--radius);
    overflow:hidden; display:flex; flex-direction:column; position:relative;
    transition:transform .25s ease, box-shadow .25s ease, border-color .2s ease;
    cursor:pointer;
}
.p-card:hover{
    transform:translateY(-4px);
    box-shadow:var(--shadow);
    border-color:var(--accent);
}
.p-card .thumb{
    aspect-ratio:1/1; background:var(--bg-soft);
    display:flex; align-items:center; justify-content:center; overflow:hidden;
}
.p-card .thumb img{
    width:100%; height:100%; object-fit:contain; padding:14px;
}
.p-card .body{
    padding:16px 18px 18px;
    display:flex; flex-direction:column; flex-grow:1;
}
.p-card .pbrand{
    font-size:11px; color:var(--accent); font-weight:700;
    text-transform:uppercase; letter-spacing:0.08em;
}
.p-card h4{
    font-size:14.5px; font-weight:600; margin-top:4px;
    line-height:1.35; min-height:38px; font-family:var(--font-sans);
    color:var(--text);
}
.p-card .psize{ font-size:12px; color:var(--text-dim); margin-top:3px; }
.p-card .prow{
    display:flex; align-items:center; justify-content:space-between;
    margin-top:14px;
}
.p-card .price{ font-size:17px; font-weight:700; color:var(--text); }
.add-mini{
    background:var(--text); color:#fff; border:none;
    border-radius:999px; padding:9px 16px; font-size:12.5px;
    font-weight:600; cursor:pointer; letter-spacing:0.03em;
    transition:background .15s ease;
}
.add-mini:hover{ background:var(--accent); }
.add-mini.added{ background:var(--success); }

/* Rating stars */
.p-rating{
    color:#f0a500; font-size:13px; margin:4px 0 6px;
    letter-spacing:1px; line-height:1.2;
}
.p-rating span{
    color:var(--text-dim); font-size:11px;
    letter-spacing:0; font-weight:500;
}

/* =========================================================
   SALE BANNER
   ========================================================= */
.sale-banner{
    background:linear-gradient(135deg, var(--bg-dark) 0%, #1a2340 100%);
    color:#fff; border-radius:20px; padding:60px 40px;
    text-align:center; max-width:1152px; margin:0 auto;
    position:relative; overflow:hidden;
}
.sale-banner::before{
    content:''; position:absolute; top:0; left:0; right:0; height:3px;
    background:linear-gradient(90deg, transparent, var(--accent), transparent);
}
@media (max-width:640px){ .sale-banner{ padding:44px 24px; border-radius:14px; } }
.sale-banner h2{ color:#fff; font-size:clamp(26px,4vw,38px); }
.sale-banner p{ color:rgba(255,255,255,0.75); margin:12px 0 24px; }

/* =========================================================
   BRAND SHOWCASE
   ========================================================= */
.brand-pills{ display:flex; flex-wrap:wrap; gap:10px; }
.brand-pill{
    border:1px solid var(--line); border-radius:999px;
    padding:10px 20px; font-size:13.5px; font-weight:600;
    cursor:pointer; letter-spacing:0.02em;
    transition:border-color .15s ease, background .15s ease, color .15s ease;
    background:#fff;
}
.brand-pill:hover{
    border-color:var(--accent);
    background:var(--accent-light);
    color:var(--accent);
}
.brand-pill.active,
.brand-pill:active{
    border-color:var(--accent);
    background:var(--accent-light);
    color:var(--accent);
}

/* =========================================================
   NEWSLETTER
   ========================================================= */
.newsletter{
    background:var(--bg-soft);
    border:1px solid var(--line);
    border-radius:20px; padding:56px 32px; text-align:center;
    position:relative; overflow:hidden;
}
.newsletter::before{
    content:''; position:absolute; top:0; left:50%;
    transform:translateX(-50%); width:60px; height:3px;
    background:var(--accent);
}
.newsletter form{
    display:flex; gap:10px; max-width:440px; margin:24px auto 0;
}
.newsletter input[type="email"]{
    flex-grow:1; padding:14px 18px; border-radius:999px;
    border:1px solid var(--line); font-size:14px; font-family:inherit;
    background:#fff;
}
.newsletter input[type="email"]:focus{
    outline:none; border-color:var(--accent);
}

/* =========================================================
   LUXURY FOOTER
   ========================================================= */
footer.site-footer{
    background:var(--bg-dark); color:#c8ced9;
    border-top:3px solid var(--accent);
    padding:64px 0 32px; margin-top:60px;
}
.foot-cols{
    display:grid; grid-template-columns:repeat(4,1fr);
    gap:30px; margin-bottom:40px;
}
@media (max-width:720px){ .foot-cols{ grid-template-columns:repeat(2,1fr); } }
.foot-cols h5{
    color:#ffffff;
    font-family:var(--font-serif);
    font-size:14px; font-weight:600;
    letter-spacing:0.05em; text-transform:uppercase;
    margin-bottom:16px;
}
.foot-cols ul{
    list-style:none; padding:0; margin:0;
    display:flex; flex-direction:column; gap:10px;
}
.foot-cols a{
    font-size:13.5px; color:#c8ced9;
    transition:color .15s ease;
}
.foot-cols a:hover{ color:var(--accent); }
.foot-bottom{
    display:flex; justify-content:space-between; align-items:center;
    flex-wrap:wrap; gap:12px; font-size:12.5px;
    color:#8690a4;
    border-top:1px solid rgba(255,255,255,0.1);
    padding-top:24px;
}
.pay-icons{ display:flex; gap:8px; font-size:11px; }
.pay-icons span{
    background:rgba(255,255,255,0.05);
    border:1px solid rgba(255,255,255,0.15);
    color:#c8ced9;
    border-radius:5px; padding:4px 8px; font-weight:700;
}

/* =========================================================
   SHOP VIEW
   ========================================================= */
.breadcrumb{ font-size:13px; color:var(--text-dim); margin:20px 0; }
.breadcrumb a:hover{ color:var(--accent); }
.shop-layout{
    display:grid; grid-template-columns:230px 1fr;
    gap:36px; align-items:flex-start;
}
@media (max-width:860px){ .shop-layout{ grid-template-columns:1fr; } }

.filters{ position:sticky; top:100px; }
@media (max-width:860px){ .filters{ position:static; } }
.filter-block{ border-bottom:1px solid var(--line); padding:18px 0; }
.filter-block h5{ font-size:13px; margin-bottom:10px; font-family:var(--font-sans); font-weight:700; text-transform:uppercase; letter-spacing:0.05em; }
.filter-block input[type="search"]{
    width:100%; padding:9px 12px; border:1px solid var(--line);
    border-radius:8px; font-size:12.5px; margin-bottom:8px;
    font-family:inherit;
}
.check-list{
    max-height:180px; overflow-y:auto;
    display:flex; flex-direction:column; gap:7px;
}
.check-list label{
    font-size:13px; display:flex; align-items:center; gap:8px;
    cursor:pointer; color:var(--text-dim);
}
.check-list label:hover{ color:var(--text); }
.price-presets{ display:flex; flex-direction:column; gap:6px; }
.price-presets button{
    text-align:left; background:none; border:none;
    font-size:13px; color:var(--text-dim); cursor:pointer; padding:4px 0;
}
.price-presets button.active,
.price-presets button:hover{ color:var(--accent); font-weight:600; }

.toolbar{
    display:flex; justify-content:space-between; align-items:center;
    margin-bottom:22px; flex-wrap:wrap; gap:10px;
}
.toolbar select{
    border:1px solid var(--line); border-radius:8px;
    padding:10px 14px; font-size:13.5px; font-family:inherit;
    background:#fff;
}
.result-count{ font-size:13.5px; color:var(--text-dim); }
.load-more-wrap{ text-align:center; margin:44px 0 20px; }
.empty-state{
    grid-column:1/-1; text-align:center;
    padding:70px 20px; color:var(--text-dim); line-height:1.6;
}

/* =========================================================
   PRODUCT DETAIL
   ========================================================= */
.pd-layout{
    display:grid; grid-template-columns:1.1fr 0.9fr;
    gap:52px; padding:24px 0 64px; align-items:flex-start;
}
@media (max-width:860px){ .pd-layout{ grid-template-columns:1fr; gap:32px; } }

.pd-image{
    background:var(--bg-soft); border-radius:var(--radius);
    aspect-ratio:1/1; display:flex; align-items:center;
    justify-content:center; overflow:hidden; position:relative;
}
.pd-image img{ width:70%; height:70%; object-fit:contain; }
.pd-brand{
    font-size:12px; color:var(--accent); font-weight:700;
    text-transform:uppercase; letter-spacing:0.1em;
}
.pd-title{
    font-size:clamp(28px,3.8vw,40px);
    margin-top:8px; line-height:1.15;
}
.pd-size{ color:var(--text-dim); margin-top:8px; font-size:14.5px; }
.pd-price{ font-size:30px; font-weight:700; margin-top:20px; color:var(--text); }
.pd-desc{ margin-top:22px; color:var(--text-dim); line-height:1.7; font-size:15px; }

.qty-stepper{
    display:flex; align-items:center; gap:14px; margin-top:24px;
}
.qty-stepper button{
    width:38px; height:38px; border-radius:50%;
    border:1px solid var(--line); background:none;
    font-size:18px; cursor:pointer;
    transition:border-color .15s ease, color .15s ease;
}
.qty-stepper button:hover{ border-color:var(--accent); color:var(--accent); }

.pd-actions{ display:flex; flex-direction:column; gap:10px; margin-top:22px; }
.trust-inline{
    display:flex; gap:20px; flex-wrap:wrap;
    margin-top:24px; font-size:12.5px; color:var(--text-dim);
}

.accordion-item{ border-top:1px solid var(--line); }
.accordion-item summary{
    padding:18px 0; cursor:pointer;
    font-weight:600; font-size:14.5px;
    list-style:none; display:flex; justify-content:space-between;
    font-family:var(--font-sans);
}
.accordion-item summary::-webkit-details-marker{ display:none; }
.accordion-item p{
    padding-bottom:18px; color:var(--text-dim);
    font-size:14px; line-height:1.65;
}

/* =========================================================
   SCENT NOTE PILLS
   ========================================================= */
.note-pills{ display:flex; flex-wrap:wrap; gap:7px; }
.note-pill{
    background:var(--accent-light);
    border:1px solid #e8e0cc; color:var(--text);
    padding:7px 14px; border-radius:999px;
    font-size:12px; cursor:pointer;
    transition:.2s ease;
    display:inline-flex; align-items:center; gap:4px;
    user-select:none; font-weight:500;
}
.note-pill:hover{ border-color:var(--accent); background:#f3ebe0; }
.note-pill.active{
    background:var(--accent); color:#fff; border-color:var(--accent);
    box-shadow:0 2px 8px rgba(184,147,90,.25);
}

/* =========================================================
   ABOUT / FAQ / PROSE
   ========================================================= */
.prose{ max-width:720px; margin:0 auto; padding:60px 0; }
.prose h1{ font-size:clamp(32px,5vw,46px); margin-bottom:24px; }
.prose p{
    color:var(--text-dim); line-height:1.75;
    font-size:16px; margin-bottom:18px;
}
.faq-item{ border-bottom:1px solid var(--line); }
.faq-item summary{
    padding:20px 0; font-weight:600; cursor:pointer;
    list-style:none; font-family:var(--font-sans);
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item p{ padding-bottom:20px; color:var(--text-dim); line-height:1.65; }

/* =========================================================
   CART DRAWER
   ========================================================= */
.overlay{
    position:fixed; inset:0; background:rgba(11,19,38,0.5);
    opacity:0; pointer-events:none;
    transition:opacity .2s ease; z-index:90;
}
.overlay.open{ opacity:1; pointer-events:auto; }
.drawer{
    position:fixed; top:0; right:0; height:100%;
    width:min(420px,92vw); background:#fff; z-index:95;
    transform:translateX(100%); transition:transform .28s ease;
    display:flex; flex-direction:column;
    padding-top:env(safe-area-inset-top,0px);
    padding-bottom:env(safe-area-inset-bottom,0px);
}
.drawer.open{ transform:translateX(0); }
.drawer-head{
    display:flex; align-items:center; justify-content:space-between;
    padding:22px; border-bottom:1px solid var(--line);
}
.drawer-head h3{ font-family:var(--font-serif); font-size:20px; }
.drawer-items{ flex-grow:1; overflow-y:auto; padding:8px 22px; }
.empty-msg{ text-align:center; padding:60px 10px; color:var(--text-dim); line-height:1.6; }

.line-item{
    display:flex; gap:12px; padding:16px 0;
    border-bottom:1px solid var(--line);
}
.line-item .thumb{
    width:60px; height:60px; flex-shrink:0;
    background:var(--bg-soft); border-radius:8px;
    display:flex; align-items:center; justify-content:center; overflow:hidden;
}
.line-item .thumb img{ width:100%; height:100%; object-fit:contain; padding:6px; }
.line-item h4{ font-size:14px; font-weight:600; margin:0; }
.line-item .lb{ font-size:12px; color:var(--text-dim); margin-top:3px; }
.qty-row{ display:flex; align-items:center; gap:10px; margin-top:7px; }
.qty-btn{
    width:24px; height:24px; border:1px solid var(--line);
    background:none; border-radius:50%; cursor:pointer; font-size:13px;
}
.qty-btn:hover{ border-color:var(--accent); color:var(--accent); }
.qty-row span{ min-width:16px; text-align:center; font-weight:600; font-size:13px; }
.remove-link{
    font-size:12px; color:var(--error); background:none;
    border:none; cursor:pointer; margin-left:auto; text-decoration:underline;
}
.line-price{ font-size:14px; font-weight:700; white-space:nowrap; }

.drawer-foot{
    padding:20px 22px 24px;
    border-top:1px solid var(--line);
    background:var(--bg-soft);
}

/* Free shipping progress */
#shipProgressWrap{
    padding:14px 16px; margin:0 0 12px;
    background:var(--accent-light);
    border:1px solid #e8e0cc;
    border-radius:10px;
}
#shipProgressWrap strong{ color:var(--accent); }

.promo-row{ display:flex; gap:8px; margin-bottom:14px; }
.promo-row input{
    flex-grow:1; border:1px solid var(--line);
    border-radius:8px; padding:10px 12px;
    font-size:13px; font-family:inherit;
}
.promo-row button{
    border:1px solid var(--text); background:none;
    border-radius:8px; padding:10px 16px;
    font-size:12.5px; font-weight:600; cursor:pointer;
}
.promo-row button:hover{ background:var(--text); color:#fff; }
.promo-msg{ font-size:12px; margin-bottom:10px; min-height:16px; }

.sum-row{
    display:flex; justify-content:space-between;
    font-size:13.5px; color:var(--text-dim); margin-bottom:7px;
}
.sum-row.total{
    color:var(--text); font-weight:700; font-size:17px;
    margin-top:10px; padding-top:12px;
    border-top:1px solid var(--line);
}
.sum-row.total span:last-child{ color:var(--text); }

#sumDiscountRow{ color:var(--success); font-weight:600; }
#sumDiscount{ color:var(--success); }

#paypal-button-container{ margin-top:14px; min-height:45px; }
.paypal-note{
    font-size:11.5px; color:var(--text-dim);
    margin-top:8px; line-height:1.5;
}

/* =========================================================
   TOAST
   ========================================================= */
#toastHost{
    position:fixed; top:16px; right:16px; z-index:110;
    display:flex; flex-direction:column; gap:8px;
}
.toast{
    background:var(--text); color:#fff;
    padding:13px 20px; border-radius:10px;
    font-size:13.5px; font-weight:500;
    box-shadow:0 6px 20px rgba(0,0,0,0.2);
    animation:toast-in .25s ease;
}
@keyframes toast-in{
    from{ opacity:0; transform:translateY(-8px); }
    to{ opacity:1; transform:none; }
}

/* =========================================================
   IMAGE ZOOM
   ========================================================= */
.zoom-lens{
    position:absolute; width:120px; height:120px;
    border:2px solid var(--accent);
    background:rgba(184,147,90,0.15);
    pointer-events:none; display:none;
    border-radius:8px;
}
.zoom-panel{
    display:none; position:absolute;
    top:0; left:calc(100% + 16px);
    width:100%; height:100%; border-radius:var(--radius);
    background-repeat:no-repeat; background-color:var(--bg-soft);
    box-shadow:var(--shadow); z-index:20;
}
@media (min-width:1100px){ .pd-image:hover .zoom-panel{ display:block; } }
.zoom-fullscreen-btn{
    position:absolute; bottom:10px; right:10px;
    background:rgba(255,255,255,0.9); border:1px solid var(--line);
    border-radius:50%; width:36px; height:36px;
    display:flex; align-items:center; justify-content:center; cursor:pointer;
}

.lightbox{
    position:fixed; inset:0; background:rgba(0,0,0,0.92);
    z-index:150; display:none;
    align-items:center; justify-content:center;
}
.lightbox.open{ display:flex; }
.lightbox img{
    max-width:88vw; max-height:88vh;
    object-fit:contain; touch-action:pinch-zoom;
}
.lightbox-close{
    position:absolute; top:18px; right:18px;
    background:none; border:none; color:#fff;
    font-size:26px; cursor:pointer;
}

/* =========================================================
   WISHLIST HEART
   ========================================================= */
.wish-btn{
    position:absolute; top:10px; right:10px;
    background:rgba(255,255,255,0.95); border:none; border-radius:50%;
    width:34px; height:34px;
    display:flex; align-items:center; justify-content:center;
    cursor:pointer; z-index:2;
    box-shadow:0 2px 6px rgba(0,0,0,0.08);
    transition:transform .15s ease;
}
.wish-btn:hover{ transform:scale(1.1); }
.wish-btn svg{ width:16px; height:16px; stroke:var(--text); fill:none; }
.wish-btn.active svg{ fill:var(--accent); stroke:var(--accent); }

/* =========================================================
   COOKIE BANNER
   ========================================================= */
.cookie-banner{
    position:fixed; bottom:0; left:0; right:0;
    background:var(--bg-dark); color:#fff;
    padding:18px 20px;
    display:flex; align-items:center; justify-content:space-between;
    gap:16px; flex-wrap:wrap; z-index:120;
    transform:translateY(100%); transition:transform .3s ease;
    padding-bottom:calc(18px + env(safe-area-inset-bottom,0px));
    border-top:2px solid var(--accent);
}
.cookie-banner.show{ transform:translateY(0); }
.cookie-banner p{ margin:0; font-size:13px; max-width:60ch; }
.cookie-banner .actions{ display:flex; gap:10px; flex-shrink:0; }
.cookie-banner button{
    border-radius:999px; padding:10px 18px;
    font-size:12.5px; font-weight:600;
    cursor:pointer; border:none;
}
.cookie-accept{ background:var(--accent); color:#fff; }
.cookie-accept:hover{ background:var(--accent-dark); }
.cookie-decline{ background:none; border:1px solid rgba(255,255,255,0.4); color:#fff; }

/* =========================================================
   BACK TO TOP
   ========================================================= */
#backToTop{
    position:fixed; bottom:24px; right:24px;
    width:46px; height:46px; border-radius:50%;
    background:var(--text); color:#fff;
    border:none; cursor:pointer;
    opacity:0; pointer-events:none;
    transition:opacity .2s ease, background .2s ease;
    z-index:70;
    margin-bottom:env(safe-area-inset-bottom,0px);
    box-shadow:0 4px 14px rgba(0,0,0,0.15);
}
#backToTop:hover{ background:var(--accent); }
#backToTop.show{ opacity:1; pointer-events:auto; }

/* =========================================================
   STICKY MOBILE ADD-TO-CART
   ========================================================= */
.sticky-cta{
    position:fixed; bottom:0; left:0; right:0;
    background:#fff; border-top:1px solid var(--line);
    padding:12px 18px; display:none;
    align-items:center; justify-content:space-between;
    gap:14px; z-index:75;
    padding-bottom:calc(12px + env(safe-area-inset-bottom,0px));
    box-shadow:0 -4px 16px rgba(0,0,0,0.06);
}
.sticky-cta.show{ display:flex; }
@media (min-width:861px){ .sticky-cta{ display:none !important; } }
.sticky-cta .info{
    font-size:13px; overflow:hidden;
    text-overflow:ellipsis; white-space:nowrap;
}
.sticky-cta .price{ font-weight:700; font-size:15px; }

/* =========================================================
   WISHLIST PAGE
   ========================================================= */
.wishlist-empty{
    text-align:center; padding:60px 20px;
    color:var(--text-dim); line-height:1.6;
}
.wishlist-empty a{ color:var(--accent); font-weight:600; }

/* =========================================================
   QUIZ LAUNCHER & MODAL
   ========================================================= */
.quiz-launcher{
    background:linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color:#fff; padding:48px; border-radius:16px; text-align:center;
    box-shadow:0 10px 30px rgba(184,147,90,.25);
}
.quiz-launcher h2{ color:#fff !important; }
.quiz-launcher p{ color:rgba(255,255,255,.9); }
.quiz-launcher .btn,
#startQuizBtn{
    background:#fff; color:var(--accent); font-weight:700;
    border:0; border-radius:8px; padding:14px 32px; cursor:pointer;
    transition:transform .15s ease, box-shadow .15s ease;
}
.quiz-launcher .btn:hover,
#startQuizBtn:hover{
    transform:translateY(-1px);
    box-shadow:0 6px 16px rgba(0,0,0,.12);
}
.qz-opt{
    padding:16px; background:var(--accent-light);
    border:2px solid transparent; border-radius:12px;
    cursor:pointer; text-align:left;
    font-size:15px; color:var(--text);
    transition:.15s ease;
}
.qz-opt:hover{
    border-color:var(--accent);
    background:#f3ebe0;
    transform:translateY(-1px);
}

/* =========================================================
   GUIDE CARDS
   ========================================================= */
.guide-card{
    background:#fff; border:1px solid var(--line);
    border-radius:12px; overflow:hidden; cursor:pointer;
    transition:transform .25s ease, box-shadow .25s ease, border-color .2s ease;
}
.guide-card:hover{
    transform:translateY(-4px);
    box-shadow:var(--shadow);
    border-color:var(--accent);
}
.guide-container h1,
.guide-container h2,
.guide-container h3{
    letter-spacing:-0.02em;
    font-family:var(--font-serif);
}
.guide-badge{
    background:var(--accent); color:#fff;
    padding:5px 14px; border-radius:20px;
    font-size:12px; text-transform:uppercase;
    letter-spacing:1px; display:inline-block; font-weight:600;
}
.social-share-bar a,
.social-share-bar button{
    transition:transform .15s ease, opacity .15s ease;
}
.social-share-bar a:hover,
.social-share-bar button:hover{
    transform:translateY(-1px); opacity:.92;
}

/* =========================================================
   BRAND HUB HERO
   ========================================================= */
#brandHeroWrap > div{
    box-shadow:0 12px 32px rgba(0,0,0,.12);
}
#brandHeroWrap h1{
    letter-spacing:.08em !important;
    font-family:var(--font-serif);
}

/* =========================================================
   FREQUENTLY BOUGHT TOGETHER
   ========================================================= */
#fbtContainer{ margin-top:8px; }
#addBundleBtn{
    transition:transform .15s ease, background .15s ease;
}
#addBundleBtn:hover{
    background:var(--accent-dark);
    transform:translateY(-1px);
}

/* =========================================================
   MOBILE BOTTOM NAV
   ========================================================= */
.mobile-bottom-nav{
    display:none;
    position:fixed; bottom:0; left:0; right:0;
    background:#fff; border-top:1px solid var(--line);
    z-index:500;
    padding:8px 4px calc(8px + env(safe-area-inset-bottom));
    box-shadow:0 -4px 20px rgba(0,0,0,.06);
}
.mobile-bottom-nav .mnav-row{
    display:grid; grid-template-columns:repeat(5,1fr); gap:4px;
}
.mnav-item{
    background:none; border:0; cursor:pointer;
    display:flex; flex-direction:column; align-items:center; gap:3px;
    padding:6px 4px; color:var(--text-dim);
    font-size:10px; font-weight:600;
    position:relative; text-decoration:none;
    transition:color .15s ease;
}
.mnav-item.active{ color:var(--accent); }
.mnav-item svg{ width:22px; height:22px; }
.mnav-item .mnav-badge{
    position:absolute; top:2px; right:18%;
    background:var(--accent); color:#fff; border-radius:999px;
    min-width:16px; height:16px; font-size:10px;
    display:flex; align-items:center; justify-content:center;
    padding:0 4px;
}
@media (max-width:768px){
    .mobile-bottom-nav{ display:block; }
    body{ padding-bottom:70px; }
    .sticky-cta{ bottom:70px !important; }
    #backToTop{ bottom:85px !important; }
    .cookie-banner{ bottom:70px; }
}

/* =========================================================
   PWA INSTALL PROMPT
   ========================================================= */
.pwa-prompt{
    display:none;
    position:fixed; bottom:90px; left:15px; right:15px;
    background:#fff; border-radius:14px;
    box-shadow:0 10px 40px rgba(0,0,0,.15);
    padding:16px; z-index:600;
    align-items:center; gap:12px;
    animation:pwaSlide .4s ease-out;
    border:1px solid var(--line);
}
@keyframes pwaSlide{
    from{ transform:translateY(120%); opacity:0; }
    to{ transform:translateY(0); opacity:1; }
}
.pwa-prompt .icon{
    background:var(--bg-dark); color:var(--accent);
    width:44px; height:44px; border-radius:10px;
    display:flex; align-items:center; justify-content:center;
    font-weight:800; font-size:14px; flex-shrink:0;
}
.pwa-prompt .msg{ flex-grow:1; font-size:13px; color:var(--text); }
.pwa-prompt .msg strong{ color:var(--text); display:block; margin-bottom:2px; }
.pwa-prompt button{
    background:var(--accent); color:#fff; border:0;
    padding:10px 16px; border-radius:8px; font-weight:700;
    cursor:pointer; font-size:13px;
}
.pwa-prompt .close{ background:#eee; color:var(--text); padding:8px 10px; }

/* =========================================================
   SOCIAL PROOF TOAST
   ========================================================= */
#socialProofToast{
    position:fixed; bottom:80px; left:20px;
    background:#fff; padding:14px 20px; border-radius:12px;
    box-shadow:0 8px 25px rgba(0,0,0,.15);
    z-index:9997; max-width:300px; font-size:13px;
    animation:toast-in .3s ease;
    border:1px solid var(--line);
    border-left:3px solid var(--accent);
}
@media (max-width:768px){
    #socialProofToast{
        bottom:90px; left:12px; right:12px; max-width:none;
    }
}

/* =========================================================
   EXIT INTENT / QUIZ OVERLAY
   ========================================================= */
#exitIntentOverlay,
#quizOverlay{
    backdrop-filter:blur(4px);
    -webkit-backdrop-filter:blur(4px);
}

/* =========================================================
   PDP VIDEO
   ========================================================= */
#pdVideo{
    width:100%; height:100%; object-fit:contain; border-radius:12px;
}
.pd-image img,
.pd-image video{ transition:opacity .2s ease; }

/* =========================================================
   PRINT SAFETY
   ========================================================= */
@media print{
    .announce-bar, header.nav, .mobile-bottom-nav, .drawer, .overlay,
    .cookie-banner, #backToTop, .sticky-cta, #pwaPrompt, #socialProofToast{
        display:none !important;
    }
}
