/* =====================================================================
   Chai Haven — storefront redesign (home, product page, checkout)
   Loaded after chai-metro.css. Mobile-first: base rules are the phone
   layout, @media (min-width:768px / 992px) widen them.
   Ad-driven blocks (hero, sale banner, promo tiles, announcement bar)
   take their colours from the .th-* theme classes the admin picks.
   ===================================================================== */

:root{
  --ch-radius:16px;
  --ch-shadow:0 10px 30px rgba(33,29,29,.10);
  --ch-bottomnav-h:62px;
}

/* ---------- ad themes ---------- */
.th-green { background:linear-gradient(120deg,#1f3a12 0%,#3d6b1a 55%,#76b42c 100%); color:#fff; }
.th-orange{ background:linear-gradient(120deg,#a8380f 0%,#d9531e 55%,#f59e0b 100%); color:#fff; }
.th-dark  { background:linear-gradient(120deg,#17120f 0%,#2b221d 55%,#4a3b32 100%); color:#fff; }
.th-light { background:linear-gradient(120deg,#fbf3dd,#f6e6bd); color:#2b2118; }

/* ---------- announcement bar ---------- */
.ch-topbar.th-green,.ch-topbar.th-orange,.ch-topbar.th-dark,.ch-topbar.th-light{ background-size:100% 100%; }
.ch-topbar.th-light{ color:#2b2118; }
.ch-topbar.th-light a{ color:#2b2118; }
.ch-topbar .ann-link{ font-weight:600; text-decoration:underline; margin-left:10px; }
.ch-topbar .ch-container{ gap:12px; }
#announceText{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; min-width:0; }
@media (max-width:767px){ .ch-topbar{ font-size:.72rem; } .ch-topbar .ch-container{ justify-content:center; text-align:center; } }

/* ---------- mobile header: logo + actions, search on its own row ---------- */
@media (max-width:767px){
  .ch-appbar .ch-container{ flex-wrap:wrap; gap:8px 6px; padding-bottom:6px; }
  .ch-brand img{ height:38px; }
  .ch-brand .tagline{ display:none; }
  .ch-search{ display:block; order:5; flex:1 0 100%; max-width:none; margin:0; }
  .ch-search input[type=search]{ height:44px; font-size:.9rem; }
  .ch-search button{ height:44px; }
  .ch-suggest{ top:48px; }
  #wishlistIcon{ display:none !important; }
}

/* ---------- bottom navigation (phones) ---------- */
.ch-bottomnav{ display:none; }
@media (max-width:767px){
  body{ padding-bottom:var(--ch-bottomnav-h); }
  .ch-bottomnav{
    display:flex; position:fixed; left:0; right:0; bottom:0; z-index:1050; height:var(--ch-bottomnav-h);
    background:#fff; border-top:1px solid var(--ch-line); box-shadow:0 -6px 22px rgba(33,29,29,.08);
    padding-bottom:env(safe-area-inset-bottom);
  }
  .ch-bottomnav a, .ch-bottomnav button{
    flex:1; border:0; background:none; font:inherit; font-size:.68rem; color:#6a655c; display:flex; flex-direction:column;
    align-items:center; justify-content:center; gap:3px; text-decoration:none; cursor:pointer; position:relative;
  }
  .ch-bottomnav i{ font-size:1.15rem; }
  .ch-bottomnav .on{ color:var(--ch-green-dark); font-weight:600; }
  .ch-bottomnav .count{ position:absolute; top:7px; left:calc(50% + 6px); min-width:17px; height:17px; border-radius:999px; background:var(--ch-orange); color:#fff; font-size:.65rem; line-height:17px; text-align:center; padding:0 4px; font-weight:600; }
  .ch-fab.wa{ bottom:calc(var(--ch-bottomnav-h) + 14px); width:44px; height:44px; right:14px; }
  .ch-fab.top{ bottom:calc(var(--ch-bottomnav-h) + 68px); right:14px; }
  body.co-active{ padding-bottom:0; }
  body.co-active .ch-bottomnav, body.co-active .ch-fab{ display:none; }
  body.pd-active .ch-fab.wa{ bottom:calc(var(--ch-bottomnav-h) + 76px); }
}

/* ---------- hero carousel (ads: home_hero) ---------- */
.ch-herocar{ padding:14px 0 6px; }
.ch-slides{ display:flex; overflow-x:auto; scroll-snap-type:x mandatory; gap:12px; scrollbar-width:none; -webkit-overflow-scrolling:touch; border-radius:var(--ch-radius); }
.ch-slides::-webkit-scrollbar{ display:none; }
.ch-slide{
  flex:0 0 100%; scroll-snap-align:center; position:relative; overflow:hidden; border-radius:var(--ch-radius);
  min-height:300px; display:grid; grid-template-columns:1fr; text-decoration:none;
}
.ch-slide .copy{ position:relative; z-index:2; padding:26px 22px 24px; display:flex; flex-direction:column; align-items:flex-start; gap:10px; justify-content:center; max-width:560px; }
.ch-slide .badge-pill{ background:rgba(255,255,255,.18); border:1px solid rgba(255,255,255,.32); padding:4px 13px; border-radius:999px; font-size:.7rem; letter-spacing:.1em; font-weight:600; text-transform:uppercase; }
.ch-slide.th-light .badge-pill{ background:rgba(43,33,24,.08); border-color:rgba(43,33,24,.2); }
.ch-slide h1,.ch-slide h2{ font-size:clamp(1.7rem,6vw,3rem); line-height:1.08; margin:0; font-weight:700; }
.ch-slide p{ margin:0; opacity:.9; font-size:.95rem; max-width:480px; }
.ch-slide .btns{ display:flex; gap:10px; flex-wrap:wrap; margin-top:6px; }
.ch-slide .button{ height:46px; padding:0 26px; border-radius:999px; font-weight:600; }
.ch-slide .button.light{ background:#fff; color:var(--ch-green-dark); border-color:#fff; }
.ch-slide.th-light .button.light{ background:var(--ch-green); color:#fff; border-color:var(--ch-green); }
.ch-slide .button.ghost{ background:transparent; color:inherit; border:2px solid currentColor; }
.ch-slide .pic{ position:absolute; right:0; top:0; bottom:0; width:46%; background-size:cover; background-position:center; opacity:.9;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 38%); mask-image:linear-gradient(90deg,transparent,#000 38%); }
.ch-slide .leafdeco{ position:absolute; opacity:.14; font-size:2.2rem; animation:ch-float 7s ease-in-out infinite; }
.ch-dots{ display:flex; justify-content:center; gap:7px; padding:10px 0 0; }
.ch-dots button{ width:8px; height:8px; border-radius:999px; border:0; background:#d8d2c3; padding:0; cursor:pointer; transition:width .25s, background .25s; }
.ch-dots button.on{ width:24px; background:var(--ch-green); }
@media (max-width:767px){
  .ch-slide .pic{ width:100%; opacity:.28; -webkit-mask-image:none; mask-image:none; }
  .ch-slide .copy{ min-height:300px; }
}
@media (min-width:768px){
  .ch-herocar{ padding-top:22px; }
  .ch-slide{ min-height:420px; align-items:center; }
  .ch-slide .copy{ padding:48px 56px; gap:14px; }
  .ch-slide p{ font-size:1.05rem; }
}

/* ---------- value proposition strip ---------- */
.ch-values{ padding:14px 0 4px; }
.ch-values .row-v{ display:grid; grid-template-columns:repeat(2,1fr); gap:10px; }
.ch-value{ display:flex; gap:10px; align-items:center; background:#fff; border:1px solid var(--ch-line); border-radius:12px; padding:10px 12px; }
.ch-value i{ width:36px; height:36px; border-radius:10px; background:#eef5e3; color:var(--ch-green-dark); display:flex; align-items:center; justify-content:center; flex:0 0 auto; }
.ch-value b{ display:block; font-size:.82rem; line-height:1.2; }
.ch-value span{ font-size:.72rem; color:#8a857b; line-height:1.2; display:block; }
@media (min-width:992px){ .ch-values .row-v{ grid-template-columns:repeat(4,1fr); } }

/* ---------- section heads ---------- */
.ch-sec{ padding:30px 0 8px; }
.ch-sec.alt{ background:var(--ch-cream); padding-bottom:30px; margin-top:22px; }
.ch-sec-head{ display:flex; justify-content:space-between; align-items:baseline; margin-bottom:14px; gap:10px; }
.ch-sec-head h2{ font-size:1.35rem; margin:0; }
.ch-sec-head .kicker{ color:var(--ch-orange); font-size:.68rem; letter-spacing:.14em; text-transform:uppercase; font-weight:600; display:block; margin-bottom:2px; }
.ch-sec-head a{ color:var(--ch-green-dark); font-weight:600; font-size:.84rem; text-decoration:none; white-space:nowrap; }
@media (min-width:768px){ .ch-sec{ padding-top:44px; } .ch-sec-head h2{ font-size:1.8rem; } }

/* ---------- shop by category (scroll row) ---------- */
.ch-catrow{ display:flex; gap:14px; overflow-x:auto; padding:4px 2px 10px; scrollbar-width:none; scroll-snap-type:x proximity; }
.ch-catrow::-webkit-scrollbar{ display:none; }
.ch-catrow .ch-cat{ flex:0 0 auto; min-width:74px; scroll-snap-align:start; }
.ch-catrow .ch-cat .circle{ width:68px; height:68px; }
.ch-catrow .ch-cat span{ font-size:.76rem; text-align:center; max-width:84px; line-height:1.2; }
@media (min-width:768px){ .ch-catrow{ justify-content:center; gap:26px; flex-wrap:wrap; overflow:visible; } .ch-catrow .ch-cat .circle{ width:86px; height:86px; } .ch-catrow .ch-cat span{ font-size:.86rem; max-width:100px; } }

/* ---------- sale banner with countdown (ads: home_sale) ---------- */
.ch-sale{ margin:26px 0 0; }
.ch-salecard{ border-radius:var(--ch-radius); padding:20px 20px; display:flex; flex-direction:column; gap:14px; position:relative; overflow:hidden; }
.ch-salecard .ico{ position:absolute; right:-14px; top:-18px; font-size:7rem; opacity:.1; }
.ch-salecard .badge-pill{ align-self:flex-start; background:rgba(255,255,255,.2); border-radius:999px; padding:3px 12px; font-size:.72rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
.ch-salecard.th-light .badge-pill{ background:rgba(43,33,24,.1); }
.ch-salecard h3{ margin:0; font-size:1.5rem; line-height:1.1; font-family:'Playfair Display',serif; }
.ch-salecard p{ margin:0; opacity:.9; font-size:.9rem; }
.ch-salecard .row-cta{ display:flex; flex-wrap:wrap; align-items:center; gap:14px; justify-content:space-between; }
.ch-cd{ display:inline-flex; align-items:center; gap:4px; font-variant-numeric:tabular-nums; }
.ch-cd .u{ background:rgba(0,0,0,.26); border-radius:8px; padding:5px 8px; min-width:40px; text-align:center; line-height:1.05; }
.ch-cd .u b{ display:block; font-size:1.15rem; }
.ch-cd .u small{ font-size:.55rem; letter-spacing:.08em; text-transform:uppercase; opacity:.8; }
.ch-cd .sep{ font-weight:700; opacity:.7; }
.ch-salecard.th-light .ch-cd .u{ background:rgba(43,33,24,.12); }
.ch-salecard .button{ height:44px; border-radius:999px; padding:0 24px; font-weight:600; background:#fff; color:#2b2118; border-color:#fff; }
@media (min-width:768px){ .ch-salecard{ flex-direction:row; align-items:center; justify-content:space-between; padding:30px 40px; } .ch-salecard h3{ font-size:2rem; } .ch-salecard .row-cta{ flex-direction:row-reverse; gap:28px; } }

/* ---------- product rows: swipe on phones, grid on desktop ---------- */
@media (max-width:767px){
  .ch-hscroll{ display:flex !important; flex-wrap:nowrap; overflow-x:auto; gap:12px; scroll-snap-type:x mandatory; padding-bottom:10px; scrollbar-width:none; margin:0 -16px; padding-left:16px; padding-right:16px; }
  .ch-hscroll::-webkit-scrollbar{ display:none; }
  .ch-hscroll > [class*="cell"]{ flex:0 0 46%; max-width:46%; min-width:0; scroll-snap-align:start; margin:0; }
}
.ch-sec .row.gap-3{ --grid-gap:14px; }
.product-card .badge{ border-radius:999px; font-weight:600; }
.product-card .product-footer .button{ min-height:34px; }

/* ---------- how it works ---------- */
.ch-steps{ display:grid; grid-template-columns:1fr 1fr; gap:12px; counter-reset:step; }
.ch-step{ background:#fff; border:1px solid var(--ch-line); border-radius:14px; padding:16px 14px; position:relative; }
.ch-step .n{ position:absolute; top:10px; right:12px; font-family:'Playfair Display',serif; font-size:1.8rem; color:#e6efd6; font-weight:700; line-height:1; }
.ch-step i{ width:40px; height:40px; border-radius:12px; background:#eef5e3; color:var(--ch-green-dark); display:flex; align-items:center; justify-content:center; margin-bottom:10px; font-size:1.05rem; }
.ch-step b{ display:block; font-size:.9rem; margin-bottom:3px; }
.ch-step span{ font-size:.78rem; color:#7b766b; line-height:1.35; display:block; }
@media (min-width:768px){ .ch-steps{ grid-template-columns:repeat(4,1fr); gap:18px; } .ch-step{ padding:22px 18px; } .ch-step b{ font-size:1rem; } .ch-step span{ font-size:.84rem; } }

/* ---------- promo tiles (ads: home_promo) ---------- */
.ch-promos{ display:grid; grid-template-columns:1fr; gap:12px; }
.ch-promo{ border-radius:14px; padding:18px 18px; display:flex; flex-direction:column; gap:6px; align-items:flex-start; text-decoration:none; color:inherit; position:relative; overflow:hidden; transition:transform .25s, box-shadow .25s; }
.ch-promo:hover{ transform:translateY(-3px); box-shadow:var(--ch-shadow); }
.ch-promo .badge-pill{ background:rgba(255,255,255,.2); border-radius:999px; padding:2px 10px; font-size:.68rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
.ch-promo.th-light .badge-pill{ background:rgba(43,33,24,.1); }
.ch-promo h4{ margin:2px 0 0; font-size:1.05rem; font-weight:700; line-height:1.2; font-family:'Poppins',sans-serif; }
.ch-promo p{ margin:0; font-size:.82rem; opacity:.9; }
.ch-promo .go{ margin-top:8px; font-weight:600; font-size:.82rem; }
@media (min-width:768px){ .ch-promos{ grid-template-columns:repeat(3,1fr); gap:18px; } .ch-promo{ padding:24px; } }

/* ---------- social proof ---------- */
.ch-proofbar{ display:flex; flex-wrap:wrap; gap:14px 28px; align-items:center; justify-content:center; background:#fff; border:1px solid var(--ch-line); border-radius:14px; padding:14px 18px; margin-bottom:18px; }
.ch-proofbar .big{ font-family:'Playfair Display',serif; font-size:1.9rem; color:var(--ch-dark); line-height:1; }
.ch-proofbar .stars{ color:#f2a516; letter-spacing:2px; }
.ch-proofbar .it{ font-size:.8rem; color:#6a655c; display:flex; gap:7px; align-items:center; }
.ch-proofbar .it i{ color:var(--ch-green-dark); }
.ch-testimonials{ display:grid; grid-template-columns:1fr; gap:12px; }
@media (min-width:768px){ .ch-testimonials{ grid-template-columns:repeat(3,1fr); gap:18px; } }

/* ---------- FAQ ---------- */
.ch-faq{ max-width:820px; margin:0 auto; }
.ch-faq details{ background:#fff; border:1px solid var(--ch-line); border-radius:12px; margin-bottom:10px; overflow:hidden; }
.ch-faq summary{ list-style:none; cursor:pointer; padding:15px 18px; font-weight:600; font-size:.92rem; display:flex; justify-content:space-between; gap:12px; align-items:center; }
.ch-faq summary::-webkit-details-marker{ display:none; }
.ch-faq summary::after{ content:"+"; font-size:1.3rem; color:var(--ch-green-dark); transition:transform .2s; line-height:1; }
.ch-faq details[open] summary::after{ transform:rotate(45deg); }
.ch-faq details p{ margin:0; padding:0 18px 16px; font-size:.88rem; color:#5c574f; line-height:1.55; }

/* ---------- final CTA ---------- */
.ch-finalcta{ margin:38px 0 0; border-radius:20px; padding:36px 22px; text-align:center; position:relative; overflow:hidden; }
.ch-finalcta h2{ font-size:clamp(1.6rem,5vw,2.4rem); margin:0 0 8px; }
.ch-finalcta p{ margin:0 auto 20px; max-width:480px; opacity:.9; }
.ch-finalcta .btns{ display:flex; gap:10px; justify-content:center; flex-wrap:wrap; }
.ch-finalcta .button{ height:48px; border-radius:999px; padding:0 28px; font-weight:600; }
.ch-finalcta .button.light{ background:#fff; color:var(--ch-green-dark); border-color:#fff; }
.ch-finalcta .button.wa{ background:#25D366; border-color:#25D366; color:#fff; }

/* =====================================================================
   PRODUCT PAGE
   ===================================================================== */
.pd{ display:grid; grid-template-columns:1fr; gap:18px; }
.pd-gallery{ position:relative; border:1px solid var(--ch-line); border-radius:var(--ch-radius); overflow:hidden; background:#faf8f4; }
.pd-gallery img{ width:100%; aspect-ratio:1/1; object-fit:cover; display:block; }
.pd-gallery .tags{ position:absolute; top:12px; left:12px; display:flex; gap:6px; flex-wrap:wrap; }
.pd-gallery .tag{ background:var(--ch-orange); color:#fff; border-radius:999px; font-size:.72rem; font-weight:700; padding:4px 11px; }
.pd-gallery .tag.g{ background:var(--ch-green); }
.pd-gallery .wish2{ position:absolute; top:10px; right:10px; width:40px; height:40px; border-radius:50%; background:#fff; border:1px solid var(--ch-line); cursor:pointer; font-size:1.05rem; color:#8a857b; }
.pd-gallery .wish2.active{ color:var(--ch-orange); }
.pd-buy h1{ font-size:1.55rem; line-height:1.15; margin:4px 0 8px; }
.pd-cat{ font-size:.78rem; color:var(--ch-green-dark); font-weight:600; text-decoration:none; text-transform:uppercase; letter-spacing:.08em; }
.pd-rate{ display:flex; align-items:center; gap:8px; font-size:.84rem; color:#6a655c; flex-wrap:wrap; }
.pd-rate .stars{ color:#f2a516; letter-spacing:1px; font-size:1rem; }
.pd-rate a{ color:inherit; text-decoration:underline; cursor:pointer; }
.pd-price{ display:flex; align-items:baseline; gap:10px; flex-wrap:wrap; margin:14px 0 4px; }
.pd-price .now{ font-size:2rem; font-weight:700; color:var(--ch-dark); line-height:1; }
.pd-price .old{ color:#8a857b; text-decoration:line-through; }
.pd-price .save{ background:#fde9e2; color:#b2380f; font-weight:700; font-size:.78rem; border-radius:999px; padding:3px 10px; }
.pd-lead{ color:#5c574f; line-height:1.6; margin:10px 0 0; font-size:.95rem; }
.pd-bullets{ list-style:none; padding:0; margin:14px 0 0; display:grid; gap:8px; }
.pd-bullets li{ display:flex; gap:10px; align-items:flex-start; font-size:.9rem; }
.pd-bullets li i{ color:var(--ch-green-dark); margin-top:3px; }
.pd-opts{ margin-top:16px; }
.pd-opts .lbl{ font-size:.74rem; letter-spacing:.12em; text-transform:uppercase; color:#8a857b; font-weight:600; margin-bottom:8px; display:block; }
.pd-opt{ display:flex; justify-content:space-between; align-items:center; gap:12px; border:1.5px solid var(--ch-line); border-radius:12px; padding:12px 14px; margin-bottom:8px; cursor:pointer; background:#fff; transition:border-color .2s, background .2s; }
.pd-opt:has(input:checked){ border-color:var(--ch-green); background:#f4f9ea; }
.pd-opt.off{ opacity:.5; cursor:not-allowed; }
.pd-opt input{ accent-color:var(--ch-green); margin-right:8px; }
.pd-opt .meta{ font-size:.74rem; color:#8a857b; display:block; margin-left:26px; }
.pd-cta{ display:flex; gap:10px; align-items:stretch; margin-top:16px; flex-wrap:wrap; }
.pd-cta .ch-qty{ height:52px; }
.pd-cta .ch-qty button{ height:52px; width:40px; }
.pd-cta .ch-qty input{ height:52px; }
.pd-cta .add{ flex:1 1 180px; height:52px; border-radius:14px; font-weight:700; font-size:1rem; }
.pd-cta .buy{ flex:1 1 140px; height:52px; border-radius:14px; font-weight:700; background:var(--ch-dark); color:#fff; border-color:var(--ch-dark); }
.pd-trust{ display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:16px; }
.pd-trust div{ display:flex; gap:8px; align-items:center; font-size:.78rem; color:#5c574f; background:#faf8f4; border-radius:10px; padding:9px 10px; }
.pd-trust i{ color:var(--ch-green-dark); }
.pd-proof{ margin-top:14px; background:#f4f9ea; border:1px solid #dcebc3; border-radius:12px; padding:12px 14px; font-size:.84rem; display:flex; gap:12px; align-items:center; }
.pd-proof .av{ display:flex; }
.pd-proof .av span{ width:28px; height:28px; border-radius:50%; border:2px solid #f4f9ea; background:var(--ch-green); color:#fff; font-size:.62rem; display:flex; align-items:center; justify-content:center; margin-left:-8px; font-weight:600; }
.pd-proof .av span:first-child{ margin-left:0; }
.pd-proof .av span:nth-child(2){ background:var(--ch-orange); }
.pd-proof .av span:nth-child(3){ background:#3b82c4; }
.pd-delivery{ margin-top:12px; font-size:.84rem; color:#5c574f; display:flex; gap:10px; align-items:flex-start; }
.pd-delivery i{ color:var(--ch-green-dark); margin-top:3px; }

.pd-tabs{ display:flex; gap:4px; overflow-x:auto; border-bottom:1px solid var(--ch-line); margin:34px 0 0; position:sticky; top:var(--header-h,64px); background:#fff; z-index:30; scrollbar-width:none; }
.pd-tabs::-webkit-scrollbar{ display:none; }
.pd-tabs a{ padding:13px 14px; font-size:.86rem; font-weight:600; color:#6a655c; text-decoration:none; white-space:nowrap; border-bottom:2px solid transparent; }
.pd-tabs a.on{ color:var(--ch-green-dark); border-bottom-color:var(--ch-green); }
.pd-sec{ padding:30px 0 6px; scroll-margin-top:calc(var(--header-h,64px) + 54px); }
.pd-sec h2{ font-size:1.35rem; margin:0 0 6px; }
.pd-sec .sub{ color:#7b766b; font-size:.9rem; margin:0 0 16px; }
.pd-benefits{ display:grid; grid-template-columns:1fr; gap:12px; }
.pd-benefit{ border:1px solid var(--ch-line); border-radius:14px; padding:18px; background:#fff; }
.pd-benefit i{ width:42px; height:42px; border-radius:12px; background:#eef5e3; color:var(--ch-green-dark); display:flex; align-items:center; justify-content:center; margin-bottom:10px; }
.pd-benefit b{ display:block; margin-bottom:4px; }
.pd-benefit span{ font-size:.86rem; color:#6a655c; line-height:1.5; }
.pd-evidence{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.pd-evidence .ev{ background:var(--ch-dark); color:#fff; border-radius:14px; padding:18px 14px; text-align:center; }
.pd-evidence .ev b{ display:block; font-family:'Playfair Display',serif; font-size:1.7rem; color:var(--ch-green); }
.pd-evidence .ev span{ font-size:.76rem; opacity:.8; }
.pd-note{ margin-top:12px; font-size:.84rem; color:#6a655c; background:#faf8f4; border-left:3px solid var(--ch-green); padding:10px 14px; border-radius:0 10px 10px 0; }

/* reviews */
.rv-top{ display:grid; grid-template-columns:1fr; gap:18px; margin-bottom:18px; }
.rv-avg{ display:flex; gap:16px; align-items:center; }
.rv-avg .num{ font-family:'Playfair Display',serif; font-size:3rem; line-height:1; }
.rv-avg .stars{ color:#f2a516; letter-spacing:2px; }
.rv-bars{ display:grid; gap:5px; font-size:.78rem; color:#6a655c; }
.rv-bars .r{ display:grid; grid-template-columns:22px 1fr 28px; gap:8px; align-items:center; }
.rv-bars .bar{ height:7px; background:#eee8da; border-radius:99px; overflow:hidden; }
.rv-bars .bar i{ display:block; height:100%; background:#f2a516; }
.rv-item{ border-top:1px solid var(--ch-line); padding:16px 0; }
.rv-item .who{ display:flex; gap:10px; align-items:center; margin-bottom:6px; }
.rv-item .who .ch-avatar{ width:34px; height:34px; font-size:.74rem; }
.rv-item .stars{ color:#f2a516; letter-spacing:1px; font-size:.9rem; }
.rv-item h5{ margin:4px 0; font-size:.95rem; }
.rv-item p{ margin:0; font-size:.88rem; color:#4b463d; line-height:1.55; }
.rv-ver{ font-size:.7rem; color:#3c6a10; background:#dff0c9; border-radius:999px; padding:1px 8px; margin-left:6px; font-weight:600; }
.rv-form{ background:#faf8f4; border:1px solid var(--ch-line); border-radius:14px; padding:16px; margin-top:12px; }
.rv-stars{ display:flex; gap:4px; font-size:1.6rem; color:#d8d2c3; cursor:pointer; margin-bottom:8px; }
.rv-stars span.on{ color:#f2a516; }
.rv-empty{ border:1px dashed var(--ch-line); border-radius:14px; padding:22px; text-align:center; color:#7b766b; font-size:.9rem; }
@media (min-width:768px){ .rv-top{ grid-template-columns:260px 1fr; } }

/* compare */
.pd-compare{ width:100%; border-collapse:separate; border-spacing:0; border:1px solid var(--ch-line); border-radius:14px; overflow:hidden; font-size:.86rem; background:#fff; }
.pd-compare th,.pd-compare td{ padding:12px 14px; text-align:left; border-bottom:1px solid var(--ch-line); vertical-align:middle; }
.pd-compare tr:last-child td, .pd-compare tr:last-child th{ border-bottom:0; }
.pd-compare thead th{ background:#faf8f4; vertical-align:bottom; }
.pd-compare td.me, .pd-compare th.me{ background:#f4f9ea; }
.pd-compare img{ width:64px; height:64px; object-fit:cover; border-radius:10px; display:block; margin-bottom:6px; }
.pd-compare th.row{ font-weight:600; color:#6a655c; width:96px; background:#fff; }
.pd-compare-wrap{ overflow-x:auto; }
.pd-compare a{ color:var(--ch-green-dark); font-weight:600; text-decoration:none; }

.pd-sticky{
  position:fixed; left:0; right:0; bottom:0; z-index:1060; background:#fff; border-top:1px solid var(--ch-line);
  box-shadow:0 -8px 26px rgba(33,29,29,.12); padding:10px 14px calc(10px + env(safe-area-inset-bottom)); display:none; align-items:center; gap:12px;
}
.pd-sticky .p{ line-height:1.15; }
.pd-sticky .p small{ display:block; font-size:.7rem; color:#8a857b; max-width:140px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.pd-sticky .p b{ font-size:1.15rem; }
.pd-sticky .button{ flex:1; height:46px; border-radius:12px; font-weight:700; }
@media (max-width:767px){ body.pd-active .pd-sticky.show{ display:flex; } body.pd-active{ padding-bottom:84px; } body.pd-active .ch-bottomnav{ display:none; } }

@media (min-width:768px){
  .pd{ grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:40px; align-items:start; }
  .pd-gallery{ position:sticky; top:calc(var(--header-h,64px) + 18px); }
  .pd-buy h1{ font-size:2.1rem; }
  .pd-benefits{ grid-template-columns:repeat(3,1fr); gap:16px; }
  .pd-evidence{ grid-template-columns:repeat(4,1fr); }
}

/* =====================================================================
   CHECKOUT PAGE (#/checkout)
   ===================================================================== */
#view-checkout{ background:#f6f3ec; min-height:70vh; }
.co-head{ background:#fff; border-bottom:1px solid var(--ch-line); position:sticky; top:0; z-index:40; }
.co-head .in{ display:flex; align-items:center; gap:12px; height:58px; }
.co-head .back{ width:38px; height:38px; border-radius:50%; border:0; background:#f1efe9; cursor:pointer; font-size:1rem; display:flex; align-items:center; justify-content:center; color:inherit; text-decoration:none; }
.co-head h1{ font-family:'Poppins',sans-serif; font-size:1.1rem; margin:0; line-height:1.1; }
.co-head .trust{ font-size:.7rem; color:#3c6a10; display:flex; gap:5px; align-items:center; font-weight:600; }
.co-head .help{ margin-left:auto; width:38px; height:38px; border-radius:50%; background:#e8f7ee; color:#1da851; display:flex; align-items:center; justify-content:center; text-decoration:none; font-size:1.15rem; }
.co-wrap{ display:grid; grid-template-columns:1fr; gap:14px; padding:14px 0 120px; }
.co-card{ background:#fff; border:1px solid var(--ch-line); border-radius:14px; padding:16px; }
.co-card h3{ font-family:'Poppins',sans-serif; font-size:.98rem; font-weight:700; margin:0 0 12px; display:flex; gap:9px; align-items:center; }
.co-card h3 .n{ width:24px; height:24px; border-radius:50%; background:var(--ch-green); color:#fff; font-size:.76rem; display:flex; align-items:center; justify-content:center; flex:0 0 auto; }
.co-eta{ display:flex; gap:12px; align-items:flex-start; background:#f4f9ea; border:1px solid #dcebc3; border-radius:12px; padding:12px 14px; margin:2px 0 14px; font-size:.86rem; }
.co-eta i{ color:var(--ch-green-dark); margin-top:2px; }
.co-eta b{ display:block; }
.co-items .it{ display:flex; gap:12px; padding:12px 0; border-bottom:1px solid var(--ch-line); }
.co-items .it:last-child{ border-bottom:0; }
.co-items img{ width:64px; height:64px; border-radius:10px; object-fit:cover; background:#faf8f4; flex:0 0 auto; }
.co-items .nm{ font-weight:600; font-size:.9rem; line-height:1.25; }
.co-items .op{ font-size:.78rem; color:#8a857b; }
.co-items .row2{ display:flex; justify-content:space-between; align-items:center; margin-top:8px; }
.co-items .ch-qty{ height:32px; } .co-items .ch-qty button{ height:32px; width:30px; } .co-items .ch-qty input{ height:32px; width:36px; }
.co-items .rm{ background:none; border:0; color:#a09a8d; cursor:pointer; font-size:.78rem; }
.co-items .rm:hover{ color:var(--ch-orange); }
.co-pay{ display:grid; gap:8px; }
.co-pay label{ display:flex; align-items:center; gap:12px; border:1.5px solid var(--ch-line); border-radius:12px; padding:12px 14px; cursor:pointer; background:#fff; margin:0; }
.co-pay label:has(input:checked){ border-color:var(--ch-green); background:#f4f9ea; }
.co-pay input{ accent-color:var(--ch-green); }
.co-pay .ic{ width:40px; height:30px; border-radius:7px; background:#f1efe9; display:flex; align-items:center; justify-content:center; color:#4b463d; flex:0 0 auto; }
.co-pay .tx b{ display:block; font-size:.9rem; }
.co-pay .tx span{ font-size:.74rem; color:#8a857b; }
.co-protect{ display:flex; gap:10px; align-items:flex-start; font-size:.78rem; color:#5c574f; margin-top:12px; }
.co-protect i{ color:var(--ch-green-dark); margin-top:2px; }
.co-summary .ln{ display:flex; justify-content:space-between; font-size:.9rem; padding:5px 0; }
.co-summary .ln.t{ border-top:1px dashed var(--ch-line); margin-top:8px; padding-top:12px; font-size:1.1rem; font-weight:700; }
.co-summary .ln .free{ color:#3c6a10; font-weight:700; }
.co-summary .ln.disc{ color:#3c6a10; }
.co-free{ margin:4px 0 10px; font-size:.78rem; color:#5c574f; }
.co-free .bar{ height:6px; background:#eee8da; border-radius:99px; overflow:hidden; margin-top:5px; }
.co-free .bar i{ display:block; height:100%; background:var(--ch-green); transition:width .4s; }
.co-place{ height:52px; border-radius:14px; font-weight:700; font-size:1rem; }
.co-sticky{ position:fixed; left:0; right:0; bottom:0; z-index:1060; background:#fff; border-top:1px solid var(--ch-line); box-shadow:0 -8px 26px rgba(33,29,29,.12); padding:10px 14px calc(10px + env(safe-area-inset-bottom)); display:flex; align-items:center; gap:12px; }
.co-sticky .tot{ line-height:1.15; }
.co-sticky .tot small{ display:block; font-size:.7rem; color:#8a857b; }
.co-sticky .tot b{ font-size:1.2rem; }
.co-sticky .button{ flex:1; height:50px; border-radius:999px; font-weight:700; background:var(--ch-dark); color:#fff; border-color:var(--ch-dark); }
.co-sticky .button:hover{ background:#000; }
.co-desktop-only{ display:none; }
.co-status{ max-width:520px; margin:30px auto; background:#fff; border:1px solid var(--ch-line); border-radius:16px; padding:30px 20px; }
.co-banner{ margin-top:14px; }
.co-empty{ text-align:center; padding:60px 20px; color:#7b766b; }
.co-empty i{ font-size:2.6rem; color:#cfd9bd; margin-bottom:10px; }
@media (min-width:992px){
  .co-wrap{ grid-template-columns:minmax(0,1fr) 380px; gap:22px; padding:22px 0 60px; align-items:start; }
  .co-side{ position:sticky; top:84px; }
  .co-sticky{ display:none; }
  .co-desktop-only{ display:block; }
  .co-head .in{ height:64px; }
}

/* ad strip (product_banner / checkout_banner) */
.ad-strip{ display:flex; align-items:center; gap:14px; border-radius:14px; padding:14px 18px; text-decoration:none; color:inherit; flex-wrap:wrap; }
.ad-strip .badge-pill{ background:rgba(255,255,255,.2); border-radius:999px; padding:2px 10px; font-size:.68rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
.ad-strip.th-light .badge-pill{ background:rgba(43,33,24,.1); }
.ad-strip b{ font-size:.95rem; display:block; }
.ad-strip span.s{ font-size:.82rem; opacity:.9; }
.ad-strip .go{ margin-left:auto; font-weight:700; font-size:.84rem; white-space:nowrap; }

/* ---------- image-only ads (artwork carries its own text and button) ---------- */
.ch-slide.img-only{ display:block; min-height:0; background:#f4ecd8; }
.ch-slide.img-only picture,.ch-slide.img-only img{ display:block; width:100%; height:auto; }
.ch-promos:has(.img-only){ grid-template-columns:repeat(2,1fr); }
.ch-promo.img-only{ padding:0; border-radius:14px; background:#f4ecd8; }
.ch-promo.img-only img{ display:block; width:100%; height:auto; aspect-ratio:8/9; object-fit:cover; }
@media (min-width:768px){ .ch-promos:has(.img-only){ grid-template-columns:repeat(3,1fr); } .ch-promo.img-only{ padding:0; } }
@media (min-width:1100px){ .ch-promos:has(.img-only){ grid-template-columns:repeat(6,1fr); } }

/* ---------- brands strip ---------- */
.ch-brands{ display:grid; grid-template-columns:1fr; gap:12px; }
.ch-brandcard{ display:flex; gap:14px; align-items:center; background:#fff; border:1px solid var(--ch-line); border-radius:14px; padding:10px; text-decoration:none; color:inherit; transition:transform .25s, box-shadow .25s; }
.ch-brandcard:hover{ transform:translateY(-2px); box-shadow:var(--ch-shadow); }
.ch-brandcard img{ width:64px; height:72px; object-fit:cover; border-radius:10px; flex:0 0 auto; }
.ch-brandcard b{ display:block; font-family:'Poppins',sans-serif; }
.ch-brandcard span{ font-size:.82rem; color:#6a655c; }
@media (min-width:600px){ .ch-brands{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:1000px){ .ch-brands{ grid-template-columns:repeat(5,1fr); } .ch-brandcard{ flex-direction:column; text-align:center; padding:0 0 14px; overflow:hidden; } .ch-brandcard img{ width:100%; height:auto; aspect-ratio:8/9; border-radius:0; } }
