/* Chador Bazar theme – green + gold, lattice pattern, arch-top product photos.
   Loaded after shop.css, so it only needs to override. */
:root{
  --pine:#0c5a43; --pine-2:#12724f; --pine-3:#1b9168; --gold:#e0a82e; --gold-2:#f3cf6d; --gold-ink:#3d2c04;
  --bg:#f3f8f4; --surface:#fff; --text:#14211b; --muted:#5d6e65; --border:#d5e5da;
  --brand:#0c5a43; --brand-dark:#083f2f; --danger:#b4233f; --danger-bg:#fbe4e8;
  --radius:16px; --shadow:0 1px 2px rgba(11,59,46,.06),0 10px 28px rgba(11,59,46,.08);
  --lattice:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23e0a82e' stroke-width='1'%3E%3Crect x='11' y='11' width='34' height='34'/%3E%3Crect x='11' y='11' width='34' height='34' transform='rotate(45 28 28)'/%3E%3Ccircle cx='28' cy='28' r='5'/%3E%3C/g%3E%3C/svg%3E");
  color-scheme:light;
}
body{font-family:'Hind Siliguri','Inter',system-ui,sans-serif;background:var(--bg);color:var(--text)}
h1,h2,h3,.brand{font-family:'Tiro Bangla','Hind Siliguri',Georgia,serif;font-weight:400;letter-spacing:.005em}
a{color:var(--pine-3)}
:focus-visible{outline:3px solid var(--gold);outline-offset:2px}

/* Buttons */
.btn{border-radius:12px;border-color:var(--border);transition:background .15s,border-color .15s,color .15s}
.btn:hover{border-color:var(--pine)}
.btn-primary{background:var(--pine);border-color:var(--pine);color:#fff}
.btn-primary:hover{background:var(--pine-3);border-color:var(--pine-3)}
.btn-primary.btn-lg{background:var(--gold);border-color:var(--gold);color:var(--gold-ink);font-weight:700}
.btn-primary.btn-lg:hover{background:var(--gold-2);border-color:var(--gold-2)}
input:focus,textarea:focus,select:focus{outline:2px solid var(--gold);outline-offset:1px;border-color:var(--gold)}

/* Header */
.site-header{background:var(--surface);border-bottom:0;box-shadow:0 1px 0 var(--border)}
.brand{font-size:1.5rem;color:var(--pine)}
.brand:hover{text-decoration:none}
.search input{background:var(--bg);border-color:transparent}
.search input:focus{background:#fff}
.cart-btn{background:var(--pine);border-radius:50%}
.cart-btn:hover{background:var(--pine-3)}
.cart-count{background:var(--gold);color:var(--gold-ink)}
.catbar{background:var(--pine);border-top:0;position:relative}
.catbar::after{content:'';position:absolute;left:0;right:0;bottom:0;height:3px;background:linear-gradient(90deg,transparent,var(--gold),transparent);opacity:.8}
.catbar .container{padding:0}
.catbar a{color:#e7efe9;border-radius:0;padding:13px 18px;font-weight:600;border-bottom:3px solid transparent}
.catbar a:hover{background:transparent;color:var(--gold-2);border-bottom-color:var(--gold);text-decoration:none}
.btn-ghost{border-color:transparent}
.btn-ghost:hover{background:var(--bg)}
.pill{border-color:var(--border)}

/* Hero: lattice on bottle green, three arched frames */
.hero-main{position:relative;overflow:hidden;background:radial-gradient(120% 140% at 85% 0%,var(--pine-3) 0%,var(--pine-2) 38%,var(--pine) 100%);padding:64px 0 84px}
.hero-main::before{content:'';position:absolute;inset:0;background:var(--lattice);opacity:.16;pointer-events:none}
.hero-main .container{position:relative}
.hero-main h1{font-size:clamp(2.1rem,5.4vw,3.6rem);line-height:1.18;margin:0 0 14px;max-width:16ch;color:#fff}
.hero-main p{color:#d7e4db;opacity:1;max-width:46ch;font-size:1.12rem}
.hero-art{width:100%;height:290px;display:flex;align-items:flex-end;justify-content:center;gap:14px}
.hero-art span{position:static;transform:none!important;backdrop-filter:none;width:30%;border:1.5px solid var(--gold);
  border-radius:999px 999px 14px 14px;background:linear-gradient(180deg,rgba(199,154,43,.22),rgba(199,154,43,.04))}
.hero-art span:nth-child(1){height:68%}
.hero-art span:nth-child(2){height:100%;background:linear-gradient(180deg,rgba(230,196,102,.4),rgba(199,154,43,.08))}
.hero-art span:nth-child(3){height:82%}

/* Trust strip */
.trust{margin-top:-34px;gap:0;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}
.trust div{border:0;border-radius:0;box-shadow:none;padding:18px 22px;position:relative}
.trust div + div{border-left:1px solid var(--border)}
.trust b{color:var(--pine);font-size:1.02rem;display:flex;align-items:center;gap:10px}
.trust b::before{content:'';width:10px;height:10px;background:var(--gold);transform:rotate(45deg);flex:none}

/* Sections */
.block{margin-top:56px}
.block h2{font-size:1.75rem;color:var(--pine);margin:0 0 4px}
.block-head{align-items:center;border-bottom:1px solid var(--border);padding-bottom:12px;margin-bottom:20px}
.block-head h2{margin:0}
.block-head a{font-weight:600;color:var(--pine-3)}

/* Product card with rounded photo */
.grid{gap:22px}
.pcard{border:0;background:transparent;overflow:visible;border-radius:0;transition:transform .2s}
.pcard:hover{box-shadow:none;transform:translateY(-4px)}
.pimg{aspect-ratio:4/5;border-radius:16px;background:#e3ebe3;box-shadow:0 0 0 1px var(--border),0 4px 14px rgba(11,59,46,.07);transition:box-shadow .2s}
.pcard:hover .pimg{box-shadow:0 0 0 2px var(--gold),0 14px 28px rgba(11,59,46,.16)}
.badge{top:auto;bottom:10px;left:10px;border-radius:8px}
.badge.sale{background:var(--danger)}
.pbody{padding:12px 4px 0;gap:6px}
.ptitle{font-weight:600;color:var(--text);text-align:center}
.pprice{text-align:center}
.pprice b{color:var(--pine);font-size:1.15rem}
.pprice s{color:var(--muted)}
.pbody .btn{border-radius:999px}
.pbody .btn-primary{background:transparent;color:var(--pine);border:1.5px solid var(--pine)}
.pbody .btn-primary:hover{background:var(--pine);color:#fff}

/* Listing & chips */
.chip{border-radius:999px;background:var(--surface)}
.chip.on,.chip:hover{background:var(--pine);border-color:var(--pine);color:#fff}
.page-head h1{font-size:1.9rem;color:var(--pine)}

/* Product page */
.gallery .main{border-radius:16px;border:1px solid var(--border);box-shadow:0 6px 22px rgba(11,59,46,.08)}
.thumbs button{border-radius:12px}
.thumbs button:hover{border-color:var(--gold)}
.info h1{font-size:2rem;color:var(--pine)}
.price{color:var(--pine);font-size:2.1rem}
.perks li::marker{color:var(--gold)}

/* Cart / checkout / tracking */
.drawer-head{background:var(--pine);color:#fff;border-bottom:3px solid var(--gold)}
.drawer-head .x{color:#fff}
.sub-line b{color:var(--pine)}
.toast{background:var(--pine)}
.co-form,.summary,.track-form,.track-result,.thanks{border-radius:var(--radius)}
.pay:has(input:checked){border-color:var(--gold);background:rgba(199,154,43,.1)}
.tick{background:var(--pine);box-shadow:0 0 0 6px rgba(199,154,43,.35)}
.steps li.done{color:var(--pine)}
.steps li.done::before{background:var(--gold)}
.status-now{color:var(--pine)}

/* Footer */
.site-footer{margin-top:72px;padding:48px 0 22px;background:var(--pine);color:#cfded4;border-top:4px solid var(--gold);position:relative;text-align:left}
.site-footer::before{content:'';position:absolute;inset:0;background:var(--lattice);opacity:.07;pointer-events:none}
.site-footer .container{position:relative}
.site-footer b{color:var(--gold-2);font-family:'Tiro Bangla','Hind Siliguri',serif;font-weight:400;font-size:1.2rem;display:inline-block;margin-bottom:8px}
.site-footer a{color:#e7efe9}
.site-footer a:hover{color:var(--gold-2)}
.site-footer .muted{color:#a9c0b2}
.foot-grid{gap:32px}
.copy{text-align:center;border-top:1px solid rgba(255,255,255,.12);padding-top:18px;margin-top:30px;position:relative;color:#a9c0b2}

/* Mobile */
@media (max-width:900px){
  .hero-art{display:flex;width:100%;height:190px;max-width:380px;margin:6px auto 0}
  .trust{grid-template-columns:1fr}
  .trust div + div{border-left:0;border-top:1px solid var(--border)}
}
@media (max-width:600px){
  .hero-main{padding:38px 0 62px}
  .hero-main h1{max-width:none}
  .brand{font-size:1.3rem}
  .catbar a{padding:11px 14px}
  .grid{gap:14px 12px}
  .block{margin-top:40px}
  .block h2{font-size:1.45rem}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}

/* ---- Phone shopping comfort (≤700px) ---- */
@media (max-width:700px){
  /* header scrolls away with the page so photos get the full screen; cart stays one tap away */
  .site-header{position:static}
  .cart-btn{position:fixed;right:16px;bottom:18px;width:56px;height:56px;z-index:45;box-shadow:0 8px 22px rgba(11,59,46,.35)}
  .cart-count{top:-4px;right:-4px}
  /* product photo: shorter, rest of the page comes into view sooner */
  .gallery .main{aspect-ratio:1/1;max-height:56vh;object-fit:cover}
  .thumbs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;gap:8px}
  .thumbs button{flex:none;width:60px;height:60px}
  .page-head{padding-top:10px}
  .pdetail{gap:16px}
  .info h1{font-size:1.5rem}
  /* order buttons stay at the bottom of the screen */
  .pdetail .actions{position:fixed;left:0;right:0;bottom:0;z-index:44;margin:0;padding:10px 14px;gap:10px;display:flex;
    background:var(--surface);border-top:3px solid var(--gold);box-shadow:0 -8px 24px rgba(11,59,46,.14)}
  .pdetail .actions .btn{flex:1;padding:12px 10px}
  body:has(.pdetail .actions){padding-bottom:84px}
  body:has(.pdetail .actions) .cart-btn{bottom:96px}
}

/* Quantity +/- */
.stepper{display:inline-flex;align-items:stretch;margin-top:6px;border:1.5px solid var(--border);border-radius:12px;overflow:hidden;background:var(--surface)}
.stepper button{width:46px;border:0;background:var(--bg);color:var(--pine);font-size:1.4rem;font-weight:700;cursor:pointer;line-height:1}
.stepper button:hover{background:var(--gold);color:var(--gold-ink)}
.stepper input{width:64px!important;margin:0!important;border:0!important;border-radius:0!important;text-align:center;font-weight:600;-moz-appearance:textfield}
.stepper input::-webkit-outer-spin-button,.stepper input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}

/* Focus mode on phones: product and checkout pages hide search + category bar (home and lists keep them) */
@media (max-width:700px){
  body:has(.pdetail) .search,
  body:has(.pdetail) .catbar,
  body:has(.checkout) .search,
  body:has(.checkout) .catbar{display:none}
  body:has(.pdetail) .site-header .bar,
  body:has(.checkout) .site-header .bar{padding:8px 0;min-height:0}
  body:has(.pdetail) .site-header{box-shadow:0 1px 0 var(--border);border-bottom:3px solid var(--gold)}
}

/* Shorter product photo on phones + zoom view */
@media (max-width:700px){.gallery .main{max-height:38vh}}
.zoom-ov{position:fixed;inset:0;z-index:100;background:rgba(5,25,18,.94);display:flex;align-items:center;justify-content:center}
.zoom-box{width:100%;height:100%;overflow:auto;display:flex;align-items:center;justify-content:center;touch-action:pan-x pan-y pinch-zoom}
.zoom-box img{max-width:100%;max-height:100%;object-fit:contain;cursor:zoom-in}
.zoom-ov.big .zoom-box{display:block}
.zoom-ov.big .zoom-box img{max-width:none;max-height:none;width:200%;cursor:zoom-out}
.zoom-x{position:absolute;top:12px;right:14px;z-index:2;width:44px;height:44px;border-radius:50%;border:0;background:var(--gold);color:var(--gold-ink);font-size:1.2rem;font-weight:700;cursor:pointer}

/* Checkout: change items in place */
.mini-step{display:inline-flex;align-items:center;margin-top:6px;border:1.5px solid var(--border);border-radius:999px;overflow:hidden;background:var(--surface)}
.mini-step button{width:34px;height:30px;border:0;background:var(--bg);color:var(--pine);font-size:1.15rem;font-weight:700;cursor:pointer}
.mini-step button:hover{background:var(--gold);color:var(--gold-ink)}
.mini-step b{min-width:30px;text-align:center}
.line-right{display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.line-rm{border:0;background:transparent;color:var(--muted);font-size:1rem;cursor:pointer;padding:4px 6px;border-radius:8px}
.line-rm:hover{background:var(--danger-bg);color:var(--danger)}
.add-more{margin-top:12px;border-style:dashed;color:var(--pine);font-weight:600}

/* Checkout: one column, order summary sits right above "Place order" so the final bill is the last thing seen */
.checkout{display:block;max-width:640px;margin-inline:auto}
.summary-box{margin:22px 0 18px;padding:16px;border:1.5px solid var(--gold);border-radius:var(--radius);background:linear-gradient(180deg,rgba(224,168,46,.09),transparent)}
.summary-box .h3{margin-top:0}

/* ---- Step 11: announcement bar, banner slider, badges, FAQ, reviews, timeline ---- */
.announce{background:var(--gold);color:var(--gold-ink);text-align:center;font-weight:600;font-size:.92rem;padding:8px 40px;position:relative;line-height:1.35}
.announce a{color:inherit}
.announce[hidden]{display:none}
.announce-x{position:absolute;right:8px;top:50%;transform:translateY(-50%);background:none;border:0;color:inherit;font-size:1rem;cursor:pointer;padding:6px 8px;opacity:.7}

.bn-wrap{position:relative;padding-top:14px}
.bn-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;border-radius:var(--radius);-webkit-overflow-scrolling:touch}
.bn-track::-webkit-scrollbar{display:none}
.bn-slide{flex:0 0 100%;scroll-snap-align:start;position:relative;display:block;aspect-ratio:5/2;background:var(--pine);color:#fff}
.bn-slide:hover{text-decoration:none}
.bn-slide img{width:100%;height:100%;object-fit:cover;display:block}
.bn-text{position:absolute;left:0;right:0;bottom:0;padding:34px 22px 18px;background:linear-gradient(0deg,rgba(6,40,30,.78),rgba(6,40,30,0));display:flex;flex-direction:column;gap:2px}
.bn-text b{font-family:'Tiro Bangla','Hind Siliguri',serif;font-size:clamp(1.15rem,3.4vw,1.9rem);font-weight:400;line-height:1.25}
.bn-text em{font-style:normal;font-size:clamp(.85rem,2vw,1.05rem);opacity:.92}
.bn-dots{display:flex;justify-content:center;gap:7px;margin-top:10px}
.bn-dots button{width:8px;height:8px;border-radius:99px;border:0;background:var(--border);padding:0;cursor:pointer;transition:width .2s,background .2s}
.bn-dots button.on{width:22px;background:var(--gold)}
.bn-wrap + .trust{margin-top:14px}
.trust{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}
@media (max-width:640px){
  .bn-slide{aspect-ratio:16/9}.bn-text{padding:26px 14px 12px}
  .trust{grid-template-columns:1fr}
  .trust div + div{border-left:0;border-top:1px solid var(--border)}
  /* four badges fit as 2 x 2; fewer stay one per row so the text does not wrap */
  .trust.trust-4{grid-template-columns:1fr 1fr}
  .trust.trust-4 div{padding:12px 14px}.trust.trust-4 b{font-size:.92rem}
  .trust.trust-4 div:nth-child(odd){border-left:0}
  .trust.trust-4 div + div{border-top:0}
  .trust.trust-4 div:nth-child(n+3){border-top:1px solid var(--border)}
}

.faq details{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);margin-bottom:10px;overflow:hidden}
.faq summary{cursor:pointer;font-weight:600;padding:14px 18px;list-style:none;display:flex;justify-content:space-between;gap:12px;color:var(--pine)}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:'+';color:var(--gold-ink);font-size:1.3rem;line-height:1;flex:none}
.faq details[open] summary::after{content:'–'}
.faq-a{padding:0 18px 16px;white-space:pre-line;color:var(--text)}

.stars{color:var(--gold);letter-spacing:1px;white-space:nowrap}
.stars i{font-style:normal;color:var(--border)}
.stars.sm{font-size:.95rem}
.rv-sum{display:inline-flex;align-items:center;gap:6px;margin:2px 0 8px;color:inherit}
.rv-sum:hover{text-decoration:none}
.rv-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:22px;align-items:start}
.rv-top{display:flex;align-items:center;gap:14px;margin-bottom:14px}
.rv-big{font-size:2.4rem;line-height:1;color:var(--pine)}
.rv-item{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:14px 16px;margin-bottom:10px}
.rv-item p{margin:6px 0 0}
.rv-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.rv-head .muted{margin-left:auto}
.rv-ok{color:var(--pine);font-size:.8rem;background:rgba(12,90,67,.09);padding:2px 8px;border-radius:99px}
.star-pick{display:flex;flex-direction:row-reverse;justify-content:flex-end;gap:2px;margin-bottom:6px}
.star-pick input{position:absolute;opacity:0;pointer-events:none}
.star-pick label{font-size:2rem;line-height:1;color:var(--border);cursor:pointer;padding:0 2px;margin:0}
.star-pick label:hover,.star-pick label:hover ~ label,.star-pick input:checked ~ label{color:var(--gold)}
.star-pick input:focus-visible + label{outline:2px solid var(--pine);border-radius:6px}
@media (max-width:760px){.rv-grid{grid-template-columns:1fr}}

.tl{list-style:none;margin:18px 0 14px;padding:0}
.tl li{position:relative;padding:0 0 18px 30px;color:var(--muted);display:flex;flex-direction:column;gap:1px}
.tl li::before{content:'';position:absolute;left:8px;top:18px;bottom:-2px;width:2px;background:var(--border)}
.tl li:last-child{padding-bottom:0}.tl li:last-child::before{display:none}
.tl li.done::before{background:var(--gold)}
.tl-dot{position:absolute;left:0;top:3px;width:18px;height:18px;border-radius:50%;background:var(--surface);border:2px solid var(--border)}
.tl li.done .tl-dot{background:var(--gold);border-color:var(--gold)}
.tl li.done .tl-dot::after{content:'✓';position:absolute;inset:0;display:grid;place-items:center;font-size:.7rem;font-weight:700;color:var(--gold-ink)}
.tl li.now .tl-dot{box-shadow:0 0 0 5px rgba(224,168,46,.25)}
.tl li.done b{color:var(--pine)}
.tl b{font-weight:600}
.shop .pad{padding:18px 20px}.rv-form label{display:block;margin-bottom:10px}

/* ---- Step 13: new footer, phone bottom bar, live chat ---- */
.site-footer .container{display:grid;grid-template-columns:1.1fr 1.9fr;gap:40px}
.ft-logo{font-family:'Tiro Bangla','Hind Siliguri',serif;font-size:1.7rem;color:var(--gold-2)!important;text-decoration:none;display:inline-block;margin-bottom:6px}
.ft-about{margin:0 0 14px;color:#b9cfc1;line-height:1.7;max-width:40ch}
.ft-contact{list-style:none;margin:0 0 14px;padding:0;display:grid;gap:9px}
.ft-contact li{display:flex;gap:10px;align-items:flex-start;color:#dbe8df}
.ft-ic{color:var(--gold);flex:none;margin-top:1px;display:inline-flex}
.ft-social{display:flex;gap:10px;margin:0 0 14px}
.ft-social a{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(243,207,109,.45);color:var(--gold-2)}
.ft-social a:hover{background:var(--gold);color:var(--gold-ink);border-color:var(--gold)}
.ft-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.ft-cols b{display:block;margin-bottom:6px}
.ft-cols a{display:block;padding:5px 0;color:#cfe0d5}
@media (max-width:860px){.site-footer .container{grid-template-columns:1fr;gap:26px}}
@media (max-width:600px){.site-footer{padding-top:34px}.ft-cols{grid-template-columns:1fr 1fr;gap:20px 16px}}

.bbar,.bsheet{display:none}
.chat-fab{position:fixed;right:20px;bottom:20px;z-index:48;width:58px;height:58px;border-radius:50%;border:3px solid var(--gold);
  background:var(--pine);color:#fff;display:grid;place-items:center;cursor:pointer;box-shadow:0 10px 26px rgba(11,59,46,.35)}
.chat-fab:hover{background:var(--pine-2)}
.chat-fab.hide{display:none}
.chat-dot{position:absolute;top:2px;right:2px;width:14px;height:14px;border-radius:50%;background:#e0453a;border:2px solid #fff}
.chat-panel{position:fixed;right:20px;bottom:20px;z-index:80;width:370px;max-width:calc(100vw - 24px);height:500px;max-height:calc(100vh - 40px);
  background:var(--surface);border-radius:18px;box-shadow:0 20px 60px rgba(7,40,30,.38);display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--border)}
.chat-panel[hidden]{display:none}
.chat-head{background:var(--pine);color:#fff;padding:13px 16px;display:flex;justify-content:space-between;align-items:center;border-bottom:3px solid var(--gold)}
.chat-head b{display:block;font-size:1.05rem}.chat-head small{color:#cfe0d5}
.chat-head button{background:none;border:0;color:#fff;font-size:1.2rem;cursor:pointer;padding:6px 8px}
.chat-body{flex:1;overflow-y:auto;padding:14px;background:var(--bg);display:flex;flex-direction:column;gap:8px}
.chat-hello{align-self:flex-start;max-width:85%;background:var(--surface);border:1px solid var(--border);border-radius:14px 14px 14px 4px;padding:9px 12px;margin:0;color:var(--text)}
.cm{max-width:82%;display:flex;flex-direction:column;gap:2px}
.cm p{margin:0;padding:9px 12px;border-radius:14px;white-space:pre-wrap;word-break:break-word;line-height:1.45}
.cm small{font-size:.72rem;color:var(--muted);padding:0 4px}
.cm.me{align-self:flex-end;align-items:flex-end}.cm.me p{background:var(--pine);color:#fff;border-bottom-right-radius:4px}
.cm.shop{align-self:flex-start}.cm.shop p{background:var(--surface);border:1px solid var(--border);border-bottom-left-radius:4px}
.chat-hint{align-self:center;text-align:center;font-size:.82rem;color:var(--muted);margin:4px 0;max-width:90%}
.chat-form{border-top:1px solid var(--border);padding:10px;background:var(--surface)}
.chat-intro{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:8px}
.chat-intro[hidden]{display:none}
.chat-intro input,.chat-row textarea{width:100%;margin:0;border:1.5px solid var(--border);border-radius:12px;padding:9px 11px;font:inherit;background:var(--surface);color:var(--text)}
.chat-row{display:flex;gap:8px;align-items:flex-end}
.chat-row textarea{resize:none;max-height:90px;flex:1}
.chat-row .btn{flex:none;padding:10px 14px}

.bsheet-head{display:flex;justify-content:space-between;align-items:center;padding:14px 18px;border-bottom:1px solid var(--border);position:sticky;top:0;background:var(--surface)}
.bsheet-head button{background:none;border:0;font-size:1.2rem;cursor:pointer;color:var(--muted)}
.bsheet-list a{display:block;padding:14px 20px;border-bottom:1px solid var(--border);color:var(--text);font-weight:600}
.bsheet-search{display:flex;gap:8px;padding:16px 18px 22px}.bsheet-search input{flex:1;margin:0}

@media (max-width:700px){
  body.shop{padding-bottom:66px}
  .bbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:46;background:var(--pine);border-top:3px solid var(--gold);
    padding:0 4px env(safe-area-inset-bottom);justify-content:space-around;align-items:flex-end;height:calc(58px + env(safe-area-inset-bottom))}
  .bbar a,.bbar button{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;height:58px;background:none;border:0;
    color:#c5dacd;font:inherit;font-size:.72rem;cursor:pointer;text-decoration:none;padding:0}
  .bbar a.on,.bbar button:active,.bbar a:active{color:var(--gold-2)}
  .bb-cart{position:relative}
  .bb-cart-ic{position:relative;width:52px;height:52px;margin-top:-26px;border-radius:50%;background:var(--gold);color:var(--gold-ink);
    display:grid;place-items:center;border:4px solid var(--pine);box-shadow:0 6px 16px rgba(0,0,0,.25)}
  .bb-cart span:last-child{margin-top:-2px}
  .bb-cart .cart-count{position:absolute;top:-4px;right:-6px;min-width:20px;height:20px;border-radius:99px;background:var(--pine);color:#fff;font-size:.72rem;
    font-style:normal;display:grid;place-items:center;padding:0 4px;border:2px solid var(--gold)}
  .bb-cart .cart-count[hidden]{display:none}
  .bsheet{display:block;position:fixed;left:0;right:0;bottom:0;z-index:70;background:var(--surface);border-radius:18px 18px 0 0;max-height:72vh;overflow:auto;box-shadow:0 -12px 40px rgba(7,40,30,.3)}
  .bsheet[hidden]{display:none}
  /* The old floating cart is replaced by the bar, except on product and checkout pages (no bar there) */
  body.shop:not(:has(.pdetail)):not(:has(.checkout)) .cart-btn{display:none}
  body.shop:has(.pdetail) .bbar,body.shop:has(.checkout) .bbar{display:none}
  body.shop:has(.checkout){padding-bottom:0}
  /* chat button sits on the left so it never covers the cart */
  .chat-fab{right:auto;left:14px;bottom:76px;width:52px;height:52px}
  body.shop:has(.pdetail) .chat-fab{bottom:96px}
  body.shop:has(.checkout) .chat-fab{bottom:16px}
  .chat-panel{right:0;left:0;bottom:0;width:100%;max-width:100%;height:min(78vh,560px);border-radius:18px 18px 0 0}
}

/* Chat button: white pill with a gold ring so it stands out on green and on white */
.chat-fab{width:auto;height:50px;padding:0 18px 0 14px;border-radius:99px;display:flex;align-items:center;gap:8px;
  background:#fff;color:var(--pine);border:3px solid var(--gold);box-shadow:0 8px 24px rgba(5,30,22,.45)}
.chat-fab:hover{background:var(--gold-2)}
.chat-fab svg{flex:none;width:24px;height:24px}
.chat-lbl{font-weight:700;font-size:.98rem;letter-spacing:.01em}
.chat-dot{top:-4px;right:-2px}
@media (max-width:700px){.chat-fab{width:auto;height:48px}}

/* Chat button on the right side (phones) */
@media (max-width:700px){
  .chat-fab{left:auto;right:14px;bottom:76px}
  body.shop:has(.pdetail) .chat-fab{bottom:164px}
  body.shop:has(.checkout) .chat-fab{bottom:86px}
}

/* Star picker: the hidden radio buttons must not take the site-wide 100% input width (it made the page scroll sideways) */
.star-pick input{width:1px;height:1px;margin:0;padding:0;border:0;overflow:hidden}
.rv-form{position:relative}
.alert.good{background:#e6f4ec;border-color:#b9dcc8;color:var(--pine)}

/* Reviews: tidy two-column layout; with no reviews yet the form stands alone under a short line */
.rv-grid{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:28px}
.rv-grid.solo{grid-template-columns:minmax(0,560px)}
.rv-form{align-self:start}
.rv-form .h3{margin:0 0 10px;font-size:1.15rem}
.rv-list > .muted{margin:0 0 6px}
@media (max-width:760px){.rv-grid,.rv-grid.solo{grid-template-columns:minmax(0,1fr)}}

/* Phones: after the visitor scrolls, the chat button shrinks to its icon so it covers less of the product list */
@media (max-width:700px){
  .chat-fab{transition:padding .2s}
  .chat-fab.mini{padding:0;width:48px;justify-content:center}
  .chat-fab.mini .chat-lbl{display:none}
}

/* Safety net: nothing may make the page scroll sideways on a phone */
html{overflow-x:hidden}

/* ===== Login / Create account — one card, sliding blade ===== */
.authx-wrap{padding:32px 16px 48px}
.authx{position:relative;width:min(900px,100%);min-height:540px;display:grid;grid-template-columns:1fr 1fr;background:var(--surface,#fff);border:1px solid var(--border);border-radius:20px;overflow:hidden;box-shadow:0 18px 50px rgba(15,61,46,.14)}
.ax-form{position:relative;z-index:1;align-self:center;padding:36px 40px;display:flex;flex-direction:column;gap:14px;transition:opacity .35s ease,visibility 0s linear .35s;opacity:0;visibility:hidden;pointer-events:none}
.ax-form h1{margin:0 0 4px;font-size:1.55rem}
.ax-form label{display:flex;flex-direction:column;gap:6px;font-size:.9rem;font-weight:600}
.ax-form .alert{margin:0}
.ax-login{grid-column:1;grid-row:1}
.ax-reg{grid-column:2;grid-row:1;padding-left:76px}
.ax-login{padding-right:64px}
.authx[data-mode="login"] .ax-login,.authx[data-mode="register"] .ax-reg{opacity:1;visibility:visible;pointer-events:auto;transition:opacity .4s ease .2s,visibility 0s}
.ax-alt{display:none;margin:0}
.ax-blade{position:absolute;z-index:2;top:0;bottom:0;left:0;width:56%;background:linear-gradient(160deg,var(--pine) 0%,#12503c 100%);color:#fff;
  clip-path:polygon(0 0,100% 0,84% 100%,0 100%);
  transition:transform .6s cubic-bezier(.65,0,.25,1),clip-path .6s cubic-bezier(.65,0,.25,1)}
.authx[data-mode="login"] .ax-blade{transform:translateX(78.5714%);clip-path:polygon(16% 0,100% 0,100% 100%,0 100%)}
.ax-blade::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 20% 15%,rgba(199,154,43,.22),transparent 55%);pointer-events:none}
.ax-bt{position:absolute;top:50%;transform:translateY(-50%);width:min(290px,64%);display:flex;flex-direction:column;gap:12px;transition:opacity .35s ease;opacity:0;pointer-events:none}
.ax-bt h2{margin:0;font-size:1.7rem;line-height:1.2;color:#fff}
.ax-bt p{margin:0;font-size:.92rem;line-height:1.55;color:rgba(255,255,255,.82)}
.ax-bt .ax-brand{font-size:.78rem;letter-spacing:.04em;color:var(--gold-2,#e3c25c);font-weight:700}
.ax-bt-reg{left:9%}
.ax-bt-login{right:7%;left:auto;padding-left:0}
.authx[data-mode="register"] .ax-bt-reg,.authx[data-mode="login"] .ax-bt-login{opacity:1;pointer-events:auto;transition:opacity .4s ease .25s}
.ax-switch{align-self:flex-start;margin-top:6px;padding:9px 16px;border:1px solid rgba(227,194,92,.7);border-radius:999px;color:#fff;font-size:.88rem;text-decoration:none}
.ax-switch b{color:var(--gold-2,#e3c25c)}
.ax-switch:hover{background:rgba(255,255,255,.08)}
.ax-switch:focus-visible,.ax-form a:focus-visible{outline:2px solid var(--gold-2,#e3c25c);outline-offset:3px}
@media (max-width:760px){
  .authx-wrap{padding:16px 14px 120px}
  .ax-reg,.ax-login{padding-left:20px;padding-right:20px}
  .authx{display:block;min-height:0;border-radius:16px}
  .ax-blade,.authx[data-mode="login"] .ax-blade{position:relative;width:auto;height:auto;transform:none;clip-path:polygon(0 0,100% 0,100% 100%,0 calc(100% - 22px));padding:26px 22px 40px;transition:none}
  .ax-bt{position:static;transform:none;width:auto;display:none;opacity:1}
  .authx[data-mode="register"] .ax-bt-reg,.authx[data-mode="login"] .ax-bt-login{display:flex}
  .ax-bt-reg,.ax-bt-login{left:auto;right:auto}
  .ax-bt h2{font-size:1.35rem}
  .ax-bt p:not(.ax-brand){display:none}
  .ax-switch{display:none}
  .ax-form{display:none;padding:22px 20px 26px;opacity:1;visibility:visible;pointer-events:auto}
  .authx[data-mode="login"] .ax-login,.authx[data-mode="register"] .ax-reg{display:flex}
  .ax-alt{display:block}
}
@media (prefers-reduced-motion:reduce){.ax-blade,.ax-form,.ax-bt{transition:none!important}}
