/* Shelela Organics public site, built on brand.css tokens. Developed by Esomthathi Group. */
@font-face { font-family: 'Cinzel'; src: url('../fonts/cinzel-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('../fonts/cormorant-garamond-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../fonts/poppins-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../fonts/poppins-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../fonts/poppins-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.public { margin: 0; font-family: var(--sh-font-ui); color: var(--sh-text-body); background: var(--sh-bg-page); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; }
a { color: var(--sh-green); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
h1, h2 { font-family: var(--sh-font-display); font-weight: 500; color: var(--sh-green); line-height: 1.2; }
h1 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); }
h2 { font-size: clamp(1.3rem, 3vw, 1.9rem); }
.kicker { font-size: .74rem; letter-spacing: 3px; text-transform: uppercase; color: var(--sh-gold); font-weight: 600; display: block; margin-bottom: 8px; }
.kicker-dark { color: var(--sh-gold-deep); }
.lede { font-size: 1.08rem; }
.small-note { font-size: .82rem; color: var(--sh-muted); }
.center { text-align: center; }
.muted { color: var(--sh-muted); }

/* Header */
.site-head { position: sticky; top: 0; z-index: 60; background: var(--sh-green); box-shadow: 0 2px 14px rgba(11,36,24,.35); }
.head-in { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; }
.brand-mark { height: 42px; display: block; }
.site-nav { display: flex; gap: 22px; align-items: center; }
.site-nav a { color: var(--sh-paper); text-decoration: none; font-size: .92rem; font-weight: 500; }
.site-nav a:hover { color: var(--sh-gold-light); }
.nav-cta { background: var(--sh-gold); color: var(--sh-ink) !important; padding: 9px 18px; border-radius: var(--sh-radius); }
.nav-cta:hover { background: var(--sh-gold-light); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--sh-paper); margin: 5px 0; transition: .3s; }

/* Buttons */
.btn { display: inline-block; border: 0; cursor: pointer; text-decoration: none; font-family: var(--sh-font-ui); font-weight: 600; font-size: .95rem; padding: 12px 24px; border-radius: var(--sh-radius); transition: transform .15s, background .2s; }
.btn:active { transform: scale(.97); }
.btn-gold { background: var(--sh-btn-primary-bg); color: var(--sh-btn-primary-text); }
.btn-gold:hover { background: var(--sh-btn-primary-hover); }
.btn-green { background: var(--sh-btn-secondary-bg); color: var(--sh-btn-secondary-text); }
.btn-green:hover { background: #17492F; }
.btn-outline-light { background: transparent; color: var(--sh-paper); border: 1.5px solid rgba(250,248,243,.55); }
.btn-outline-light:hover { border-color: var(--sh-gold); color: var(--sh-gold-light); }
.btn-outline-green { background: transparent; color: var(--sh-green); border: 1.5px solid var(--sh-green); }
.btn-big { font-size: 1.05rem; padding: 15px 30px; }
.btn-block { display: block; width: 100%; text-align: center; }

/* Bands */
.band-paper { background: var(--sh-bg-page); padding: 56px 0; }
.band-green { background: var(--sh-bg-band); padding: 56px 0; }
.on-green { color: var(--sh-paper); }
.on-green-sub { color: #CFE0D5; }
.page-head { padding: 44px 0; }

/* Hero */
.hero { position: relative; background: radial-gradient(1200px 600px at 70% 10%, #1B4A32 0%, var(--sh-green) 55%, var(--sh-green-dark) 100%); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: url('../img/logo.png') no-repeat right -140px top -60px; background-size: 560px; opacity: .06; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: center; min-height: 78vh; padding-top: 40px; padding-bottom: 60px; position: relative; }
.hero-title { color: var(--sh-paper); margin: 0 0 14px; }
.hero-sub { color: #CFE0D5; max-width: 480px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.hero-promo { color: var(--sh-gold-light); font-size: .9rem; margin-top: 14px; }
.hero-stage { position: relative; display: flex; justify-content: center; }
.hero3d { width: min(440px, 90vw); height: min(560px, 66vh); min-height: 420px; position: relative; }
.hero3d canvas { display: block; max-width: 100%; }
.hero-static { position: absolute; inset: 0; margin: auto; max-height: 100%; width: auto; filter: drop-shadow(0 26px 32px rgba(0,0,0,.45)); animation: heroFloat 6s ease-in-out infinite; }
@keyframes heroFloat { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-14px) rotate(1deg); } }
.hero-shadow { position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%); width: 220px; height: 30px; background: radial-gradient(ellipse, rgba(0,0,0,.5), transparent 70%); }
.hero-scroll { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); width: 24px; height: 40px; border: 2px solid rgba(250,248,243,.4); border-radius: 14px; }
.hero-scroll span { display: block; width: 4px; height: 8px; background: var(--sh-gold); border-radius: 2px; margin: 6px auto; animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }

/* Reveal animations: only hidden once JS has confirmed it is running,
   so content is never invisible without JS or in print */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-static { animation: none; }
  html { scroll-behavior: auto; }
}

/* Stats */
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; text-align: center; }
.stat-num { display: block; font-family: var(--sh-font-display); font-size: 2.2rem; color: var(--sh-gold-deep); }
.stat-label { color: var(--sh-muted); font-size: .9rem; }

/* Split sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.wreath-frame { background: var(--sh-green); border-radius: var(--sh-radius-card); padding: 48px; text-align: center; }
.wreath-img { max-width: 260px; }
.soft-img { border-radius: var(--sh-radius-card); }
.tilt3d { transition: transform .2s ease; will-change: transform; }
.ticks { list-style: none; padding: 0; }
.ticks li { padding-left: 28px; position: relative; margin-bottom: 8px; }
.ticks li::before { content: '\2713'; position: absolute; left: 0; color: var(--sh-gold-deep); font-weight: 700; }

/* Order strip */
.order-strip { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.order-price { text-align: right; }
.order-price .was { display: block; color: #9DB8A8; text-decoration: line-through; }
.order-price .now { display: block; font-family: var(--sh-font-display); font-size: 2.4rem; color: var(--sh-gold); margin-bottom: 12px; }

/* Testimonials */
.testi-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin: 26px 0; }
.testi { background: var(--sh-white); border: 1px solid var(--sh-line); border-radius: var(--sh-radius-card); padding: 22px; margin: 0; font-family: var(--sh-font-editorial); font-size: 1.05rem; }
.testi cite { display: block; margin-top: 12px; font-family: var(--sh-font-ui); font-style: normal; font-size: .85rem; color: var(--sh-gold-deep); font-weight: 600; }

/* Cards & forms */
.card { background: var(--sh-white); border: 1px solid var(--sh-line); border-radius: var(--sh-radius-card); padding: 24px; }
label { display: block; margin: 12px 0; font-size: .9rem; font-weight: 500; }
input, select, textarea { width: 100%; padding: 12px; border: 1px solid var(--sh-line); border-radius: var(--sh-radius); font-family: var(--sh-font-ui); font-size: .95rem; margin-top: 5px; background: #fff; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--sh-gold); border-color: var(--sh-gold); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { width: auto; margin-top: 3px; }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.flash { padding: 13px 16px; border-radius: var(--sh-radius); margin: 14px 0; font-size: .92rem; }
.flash-ok { background: #E4F2E8; color: #205B36; }
.flash-err { background: #F7E2E2; color: #A32D2D; }
.flash-info { background: #EAF0F5; color: #2B4A66; }
.flash-gold { background: #F6ECCF; color: #6B4E07; }

/* Auth */
.auth-wrap { display: flex; justify-content: center; padding: 56px 20px; }
.auth-card { max-width: 480px; width: 100%; }
.auth-logo { width: 90px; display: block; margin: 0 auto 8px; background: var(--sh-green); border-radius: 50%; padding: 12px; }
.auth-card h1 { text-align: center; }
.auth-links { text-align: center; font-size: .88rem; }

/* Order & checkout */
.variant-pick { display: grid; gap: 10px; margin: 8px 0 4px; }
.variant-opt input { position: absolute; opacity: 0; }
.variant-box { display: block; border: 1.5px solid var(--sh-line); border-radius: var(--sh-radius); padding: 13px 16px; cursor: pointer; transition: border-color .2s, background .2s; }
.variant-opt input:checked + .variant-box { border-color: var(--sh-gold); background: #FCF6E4; }
.variant-box strong { display: inline-block; margin-right: 10px; }
.v-price { float: right; font-weight: 600; color: var(--sh-green); }
.v-price s { color: var(--sh-muted); font-weight: 400; margin-right: 6px; }
.variant-box em { display: block; font-style: normal; font-size: .8rem; color: var(--sh-muted); margin-top: 3px; }
.v-out { color: var(--sh-error) !important; }
.qty-row { display: flex; gap: 8px; margin-top: 6px; max-width: 200px; }
.qty-btn { width: 46px; border: 1.5px solid var(--sh-line); background: #fff; border-radius: var(--sh-radius); font-size: 1.2rem; cursor: pointer; }
#qty { text-align: center; }
.usage-acc { margin-top: 18px; border: 1px solid var(--sh-line); border-radius: var(--sh-radius); padding: 12px 16px; background: var(--sh-white); }
.usage-acc summary { cursor: pointer; font-weight: 600; color: var(--sh-green); }
.checkout-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; }
.co-step { background: var(--sh-white); border: 1px solid var(--sh-line); border-radius: var(--sh-radius-card); padding: 24px; margin-bottom: 20px; }
.step-n { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; background: var(--sh-gold); color: var(--sh-ink); align-items: center; justify-content: center; font-family: var(--sh-font-ui); font-size: .95rem; margin-right: 8px; }
.dm-fields { display: none; border-top: 1px dashed var(--sh-line); margin-top: 14px; padding-top: 6px; }
.dm-fields.show { display: block; }
.co-summary { position: sticky; top: 84px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: .93rem; border-bottom: 1px solid var(--sh-line); }
.sum-total { border-bottom: 0; font-size: 1.06rem; font-weight: 600; color: var(--sh-green); }
.sum-box { text-align: left; margin: 18px 0; }
.edit-link { font-size: .84rem; }
.confirm-card { max-width: 560px; width: 100%; text-align: center; }
.confirm-badge { width: 64px; height: 64px; margin: 0 auto 10px; border-radius: 50%; background: var(--sh-green); color: var(--sh-gold); font-size: 1.9rem; display: flex; align-items: center; justify-content: center; animation: pop .5s ease; }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.12); } 100% { transform: scale(1); opacity: 1; } }
.order-no { font-size: 1.05rem; }
.eft-box { text-align: left; border-top: 1px solid var(--sh-line); margin-top: 18px; padding-top: 14px; }
.eft-details { background: #F3EFE5; border-radius: var(--sh-radius); padding: 14px; font-family: monospace; white-space: pre-wrap; font-size: .9rem; }

/* Account */
.acct-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.order-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.order-card { display: block; text-decoration: none; color: inherit; transition: transform .18s, box-shadow .18s; }
.order-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(18,58,38,.12); }
.oc-top, .oc-mid, .oc-bot { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.oc-top { color: var(--sh-muted); font-size: .84rem; margin-bottom: 8px; }
.oc-top strong { color: var(--sh-green); font-size: 1rem; }
.oc-mid { margin-bottom: 8px; }
.oc-bot { font-size: .82rem; color: var(--sh-muted); }
.oc-open { color: var(--sh-gold-deep); font-weight: 600; }
.timeline { list-style: none; padding: 0; margin: 14px 0; }
.timeline li { position: relative; padding: 0 0 16px 26px; border-left: 2px solid var(--sh-line); margin-left: 8px; }
.timeline li::before { content: ''; position: absolute; left: -7px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--sh-gold); }
.tl-time { display: block; font-size: .76rem; color: var(--sh-muted); }
.tl-label { font-weight: 500; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
.mv-card { background: var(--sh-white); border: 1px solid var(--sh-line); border-left: 4px solid var(--sh-gold); border-radius: var(--sh-radius-card); padding: 22px; }

/* Pagination */
.pagination { display: flex; gap: 6px; flex-wrap: wrap; margin: 22px 0; }
.pagination a { padding: 8px 13px; border: 1px solid var(--sh-line); border-radius: var(--sh-radius); text-decoration: none; font-size: .88rem; background: var(--sh-white); }
.pagination a.current { background: var(--sh-green); color: var(--sh-paper); border-color: var(--sh-green); }
.pg-gap { padding: 8px 4px; color: var(--sh-muted); }

/* WhatsApp float */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 70; width: 54px; height: 54px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 22px rgba(0,0,0,.3); transition: transform .18s; }
.wa-float:hover { transform: scale(1.08); }

/* CTA final */
.cta-final { text-align: center; background: var(--sh-white); border: 1px solid var(--sh-line); border-radius: var(--sh-radius-card); padding: 46px 26px; }
.cta-final .btn { margin: 6px; }

/* Footer */
.site-foot { background: var(--sh-green-dark); color: #B9CDC1; font-size: .88rem; }
.foot-grid { display: grid; grid-template-columns: auto 1fr 1fr; gap: 34px; padding: 42px 20px 22px; }
.foot-logo { width: 96px; }
.site-foot h4 { color: var(--sh-gold); font-family: var(--sh-font-display); font-weight: 500; margin: 0 0 8px; }
.site-foot a { color: #DCE8E0; }
.foot-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(250,248,243,.12); padding-top: 16px; padding-bottom: 22px; font-size: .78rem; }

/* Responsive */
@media (max-width: 860px) {
  .hero-grid, .split, .checkout-grid, .mv-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; padding-top: 28px; }
  .hero-stage { order: -1; }
  .hero3d { height: 380px; min-height: 340px; }
  .stats-row { grid-template-columns: 1fr; gap: 26px; }
  .co-summary { position: static; order: -1; }
  .order-strip { text-align: center; justify-content: center; }
  .order-price { text-align: center; }
  .foot-grid { grid-template-columns: 1fr; text-align: center; }
  .foot-logo { margin: 0 auto; }
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 66px 0 auto 0; background: var(--sh-green-dark); flex-direction: column; padding: 22px; gap: 18px; transform: translateY(-130%); transition: transform .3s ease; box-shadow: 0 14px 24px rgba(0,0,0,.3); }
  .site-nav.open { transform: none; }
  .form-2col { grid-template-columns: 1fr; }
}

/* ---- Update 3: mobile hardening and impersonation bar ---- */
html, body.public { max-width: 100%; overflow-x: hidden; }
.wrap { width: 100%; min-width: 0; }
h1, h2, h3, p, td, th, li, a, .variant-box, .sum-row span, .oc-top, .oc-mid { overflow-wrap: break-word; word-wrap: break-word; }
.eft-details { white-space: pre-wrap; overflow-wrap: break-word; max-width: 100%; }
.hero-grid, .split, .checkout-grid, .stats-row, .testi-row, .order-cards, .foot-grid { min-width: 0; }
.hero-grid > *, .split > *, .checkout-grid > * { min-width: 0; }
select { max-width: 100%; }
.imp-bar { background: #F3E5B8; color: #6B4E07; padding: 10px 16px; text-align: center; font-size: .88rem; position: sticky; top: 66px; z-index: 55; }
.imp-stop { background: #6B4E07; color: #F6ECCF; border: 0; border-radius: 6px; padding: 6px 14px; margin-left: 10px; cursor: pointer; font-size: .82rem; }
@media (max-width: 480px) {
  body.public { font-size: 15px; }
  .wrap { padding: 0 14px; }
  .band-paper, .band-green { padding: 38px 0; }
  .page-head { padding: 32px 0; }
  .card, .co-step, .auth-card, .cta-final { padding: 18px 14px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn, .cta-final .btn { width: 100%; text-align: center; margin: 5px 0; box-sizing: border-box; }
  .btn-big { padding: 14px 16px; font-size: 1rem; }
  .order-strip { gap: 14px; }
  .order-price .now { font-size: 2rem; }
  .wreath-frame { padding: 28px; }
  .testi { padding: 16px; }
  .sum-row { font-size: .88rem; }
  .qty-row { max-width: 170px; }
  .foot-grid { gap: 22px; padding: 32px 14px 18px; }
  .foot-legal { flex-direction: column; text-align: center; gap: 6px; }
  .head-in { padding: 10px 14px; }
  .brand-mark { height: 34px; }
  .wa-float { width: 48px; height: 48px; right: 12px; bottom: 12px; }
}

/* ---- Update 4: homepage next level ---- */
/* Hero glow ring behind the stage (works for 3D and the photo fallback) */
.hero-stage::before { content: ''; position: absolute; inset: 8% 12%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(201,162,39,.22), rgba(201,162,39,.06) 55%, transparent 72%);
  filter: blur(4px); pointer-events: none; animation: glowPulse 5.5s ease-in-out infinite; }
@keyframes glowPulse { 0%, 100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }
.hero-stage::after { content: ''; position: absolute; inset: 14% 18%; border: 1px solid rgba(201,162,39,.25);
  border-radius: 50%; pointer-events: none; animation: ringSpin 26s linear infinite; border-top-color: rgba(201,162,39,.55); }
@keyframes ringSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero-stage::before, .hero-stage::after, .marquee-track { animation: none; } }

/* Trust chips under the hero buttons */
.trust-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 22px 0 0; }
.trust-chips li { color: #CFE0D5; font-size: .82rem; padding-left: 22px; position: relative; }
.trust-chips li::before { content: '\2713'; position: absolute; left: 0; top: 0; width: 16px; height: 16px;
  border-radius: 50%; background: rgba(201,162,39,.18); color: var(--sh-gold-light); font-size: .68rem;
  display: flex; align-items: center; justify-content: center; }

/* Gold marquee strip */
.marquee { background: var(--sh-green-dark); overflow: hidden; padding: 13px 0; border-top: 1px solid rgba(201,162,39,.25); border-bottom: 1px solid rgba(201,162,39,.25); }
.marquee-track { display: flex; gap: 26px; width: max-content; animation: marquee 26s linear infinite; }
.marquee-track span { color: var(--sh-gold-light); font-family: var(--sh-font-display); font-size: .86rem;
  letter-spacing: 3px; text-transform: uppercase; white-space: nowrap; }
.marquee-track .m-dot { color: rgba(201,162,39,.5); letter-spacing: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* How it works */
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-top: 30px; }
.how-card { background: var(--sh-white); border: 1px solid var(--sh-line); border-radius: var(--sh-radius-card);
  padding: 26px 22px; position: relative; transition: transform .2s, box-shadow .2s; }
.how-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(18,58,38,.12); }
.how-n { position: absolute; top: 16px; right: 18px; font-family: var(--sh-font-display); font-size: 2rem;
  color: var(--sh-line); line-height: 1; }
.how-ic { width: 34px; height: 34px; color: var(--sh-gold-deep); margin-bottom: 12px; }
.how-card h3 { margin: 0 0 8px; color: var(--sh-green); font-family: var(--sh-font-display); font-weight: 500; }
.how-card p { margin: 0; font-size: .92rem; color: var(--sh-muted); }

/* Product gallery */
.gallery-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 30px; }
.gallery-card { margin: 0; background: rgba(250,248,243,.05); border: 1px solid rgba(201,162,39,.22);
  border-radius: var(--sh-radius-card); padding: 22px 16px 14px; text-align: center; }
.gallery-card img { max-height: 250px; width: auto; filter: drop-shadow(0 16px 22px rgba(0,0,0,.4)); }
.gallery-card figcaption { color: #CFE0D5; font-size: .84rem; margin-top: 12px; }

/* Mobile sticky order bar (home page) */
.mobile-cta { display: none; }
@media (max-width: 860px) {
  .mobile-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 65;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(11,36,24,.96);
    border-top: 1px solid rgba(201,162,39,.35); backdrop-filter: blur(6px); }
  .mobile-cta .btn { display: block; width: 100%; text-align: center; box-sizing: border-box; }
  body:has(.mobile-cta) .wa-float { bottom: 78px; }
  body:has(.mobile-cta) .site-foot { padding-bottom: 66px; }
}

/* Print: never hide content, drop overlays */
@media print {
  .reveal, html.js .reveal { opacity: 1 !important; transform: none !important; }
  .site-nav, .nav-toggle, .wa-float, .mobile-cta, .hero-scroll, .marquee { display: none !important; }
  .hero { background: #123A26; }
}

/* ---- Update 5: print correctness and canvas stability ---- */
@media print {
  .site-head { position: static !important; box-shadow: none; }
  .hero, .band-green, .marquee, .site-foot { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .hero3d canvas { display: none !important; }
  .hero-static { display: block !important; position: static; animation: none; margin: 0 auto; max-height: 380px; }
  .hero-stage::before, .hero-stage::after { display: none; }
  .hero-grid { min-height: auto; }
  .imp-bar { display: none !important; }
}

/* ---- Update 7: side padding fix (affects every page) and product page ---- */
/* Sections carrying both a band class and .wrap lost their side padding: restore it */
.band-paper.wrap, .band-green.wrap { padding-left: 20px; padding-right: 20px; }
@media (max-width: 480px) { .band-paper.wrap, .band-green.wrap { padding-left: 14px; padding-right: 14px; } }
/* Product photos inside split layouts never tower over the page */
.split-media img.soft-img { display: block; max-height: 420px; width: auto; max-width: 100%; margin: 0 auto; }
@media (max-width: 860px) { .split-media img.soft-img { max-height: 300px; } }

/* Product page */
.product-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 34px; align-items: start; }
.gallery-main { background: radial-gradient(closest-side at 50% 60%, #FFFFFF 0%, var(--sh-paper) 70%, var(--sh-paper) 100%);
  border: 1px solid var(--sh-line); border-radius: var(--sh-radius-card); padding: 26px 18px; text-align: center; position: relative; }
.gallery-main::before { content: ''; position: absolute; inset: 12% 22%; border-radius: 50%; background: radial-gradient(closest-side, rgba(201,162,39,.16), transparent 72%); pointer-events: none; }
.gallery-main img { position: relative; max-height: 440px; width: auto; max-width: 100%; filter: drop-shadow(0 22px 28px rgba(18,58,38,.22)); transition: opacity .25s; }
.gallery-thumbs { display: flex; gap: 10px; justify-content: center; margin-top: 12px; }
.gallery-thumbs button { background: var(--sh-white); border: 1.5px solid var(--sh-line); border-radius: var(--sh-radius); width: 74px; height: 84px; padding: 8px; cursor: pointer; transition: border-color .2s, transform .15s; }
.gallery-thumbs button img { max-height: 100%; width: auto; }
.gallery-thumbs button.active, .gallery-thumbs button:hover { border-color: var(--sh-gold); transform: translateY(-2px); }
.buy-panel { background: var(--sh-white); border: 1px solid var(--sh-line); border-radius: var(--sh-radius-card); padding: 26px; }
.buy-panel h1 { margin: 4px 0 10px; font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
.price-line { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 6px 0 14px; }
.price-line .now { font-family: var(--sh-font-display); font-size: 2rem; color: var(--sh-green); }
.price-line .was { color: var(--sh-muted); text-decoration: line-through; }
.price-line .save { background: #F3E5B8; color: #6B4E07; font-size: .74rem; font-weight: 600; padding: 4px 10px; border-radius: 20px; }
.stock-line { font-size: .84rem; font-weight: 600; margin-bottom: 14px; }
.stock-in { color: var(--sh-success); } .stock-low { color: var(--sh-gold-deep); } .stock-out { color: var(--sh-error); }
.buy-panel .trust-chips li { color: var(--sh-muted); }
.buy-panel .trust-chips li::before { background: #E4F2E8; color: var(--sh-success); }
.detail-acc { background: var(--sh-white); border: 1px solid var(--sh-line); border-radius: var(--sh-radius); margin-top: 10px; }
.detail-acc summary { padding: 14px 16px; cursor: pointer; font-weight: 600; color: var(--sh-green); list-style: none; position: relative; }
.detail-acc summary::-webkit-details-marker { display: none; }
.detail-acc summary::after { content: '+'; position: absolute; right: 16px; top: 12px; font-size: 1.2rem; color: var(--sh-gold-deep); }
.detail-acc[open] summary::after { content: '\2212'; }
.detail-acc .acc-inner { padding: 0 16px 16px; font-size: .94rem; }
.detail-acc .acc-inner ul { padding-left: 18px; }
.detail-acc .acc-inner li { margin: 4px 0; }
@media (max-width: 860px) {
  .product-grid { grid-template-columns: 1fr; gap: 20px; }
  .gallery-main img { max-height: 300px; }
  .gallery-main { padding: 18px 12px; }
  .buy-panel { padding: 20px 16px; }
}

/* ---- Update 9: field tags ---- */
.req, .opt { font-size: .7rem; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; margin-left: 6px; padding: 2px 7px; border-radius: 10px; vertical-align: middle; }
.req { background: #F3E5B8; color: #6B4E07; }
.opt { background: #EFEAE0; color: var(--sh-muted); }
.pop-step { border: 2px solid var(--sh-gold); background: #FCF6E4; border-radius: var(--sh-radius-card); padding: 18px; margin-top: 18px; text-align: left; }
.pop-step h2 { margin-top: 0; }
.pop-list { list-style: none; padding: 0; margin: 10px 0 0; font-size: .88rem; }
.pop-list li { padding: 6px 0; border-top: 1px dashed var(--sh-line); }
.pop-alt { font-size: .84rem; color: var(--sh-muted); margin-top: 10px; }

/* ---- Update 10: sign out ---- */
.nav-out { color: var(--sh-gold-light) !important; border: 1px solid rgba(201,162,39,.45); padding: 7px 14px; border-radius: var(--sh-radius); }
.btn-outline-red { background: transparent; color: var(--sh-error); border: 1.5px solid var(--sh-error); }

/* ---- Update 11: checkout quantity ---- */
.sum-qty { align-items: center; }
.qty-mini { max-width: 150px; margin: 0; }
.qty-mini .qty-btn { width: 38px; padding: 6px 0; }
.qty-mini input { padding: 8px 4px; text-align: center; margin-top: 0; }
#qtyForm { margin-top: 12px; }

/* ---- Update 13: billing address ---- */
.same-check { background: #FCF6E4; border: 1px solid var(--sh-gold); border-radius: var(--sh-radius); padding: 12px 14px; font-weight: 600; }
#deliveryAddr { margin-top: 10px; }

/* ---- Update 18: vouchers, review stars ---- */
.voucher-form { display: flex; gap: 8px; width: 100%; }
.voucher-form input { flex: 1; margin-top: 0; }
.sum-voucher span:first-child { display: flex; align-items: center; gap: 8px; }
.link-btn { background: none; border: none; color: var(--sh-error); font-size: .78rem; cursor: pointer; padding: 0; text-decoration: underline; }
.inline { display: inline; }
.stars label { cursor: pointer; font-size: 1.6rem; color: #D8D0BE; }
.stars input { display: none; }
.stars input:checked ~ label, .stars label:hover, .stars label:hover ~ label { color: var(--sh-gold); }
.stars { display: flex; flex-direction: row-reverse; justify-content: center; gap: 6px; }
.t-stars { color: var(--sh-gold); letter-spacing: 2px; margin-right: 6px; }
