/* ENGINE-9 shared store stylesheet.
   Design-token driven: every brand ships /assets/css/brand.css overriding :root tokens.
   Mobile-first (375px baseline). ASCII only. No inline SVG anywhere. */

/* ---------- tokens (neutral fallbacks, brand.css overrides) ---------- */
:root {
  --primary: #2d5016;
  --primary-deep: #1c330d;
  --secondary: #c9a227;
  --accent: #b4552d;
  --tint: #f4f1ea;
  --paper: #ffffff;
  --ink: #1d2320;
  --ink-soft: #4c5551;
  --line: rgba(29, 35, 32, 0.12);
  --on-primary: #ffffff;
  --on-deep: #ffffff;
  --on-accent: #ffffff;
  --accent-soft: #f6e2d6;
  --font-display: Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --radius: 14px;
  --radius-big: 22px;
  --shadow: 0 10px 30px rgba(20, 26, 23, 0.10);
  --shadow-big: 0 22px 60px rgba(20, 26, 23, 0.16);
  --pad-y: 52px;
  --wrap: 1160px;
}
@media (min-width: 900px) {
  :root { --pad-y: 96px; }
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 0.5em; color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(1.9rem, 6.5vw, 3.6rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(1.5rem, 4.5vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 760px; }
@media (min-width: 900px) { .wrap { padding: 0 32px; } body { font-size: 17px; } }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 300; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- colour bands (>=3 tones per page) ---------- */
.band-paper { background: var(--paper); }
.band-tint { background: var(--tint); }
.band-deep { background: var(--primary-deep); color: var(--on-deep); }
.band-deep h1, .band-deep h2, .band-deep h3, .band-deep p { color: var(--on-deep); }
.band-accent { background: var(--accent-soft); }

/* ---------- buttons (56px targets) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  min-height: 52px; padding: 12px 26px; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline-light { background: transparent; color: var(--on-deep); border-color: currentColor; }
.btn-big { min-height: 56px; padding: 14px 32px; font-size: 1.05rem; }
.btn-small { min-height: 42px; padding: 8px 18px; font-size: 0.9rem; }
.btn-block { width: 100%; }
@media (max-width: 640px) {
  .hero-ctas .btn, .section-cta .btn { width: 100%; }
}

/* ---------- trust microbar ---------- */
.microbar {
  background: var(--primary-deep); color: var(--on-deep);
  font-size: 0.82rem; font-weight: 600; text-align: center;
  padding: 8px 0; letter-spacing: 0.01em;
}
.microbar .wrap { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 120;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.nav.is-scrolled { box-shadow: 0 6px 24px rgba(20, 26, 23, 0.10); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; color: var(--ink); letter-spacing: -0.01em; }
.nav-links { display: none; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 0.95rem; color: var(--ink-soft); padding: 8px 2px; border-bottom: 2px solid transparent; transition: color 0.2s ease, border-color 0.2s ease; }
.nav-links a:hover { color: var(--ink); border-color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 6px; }
.basket-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--tint); border: 0; border-radius: 999px;
  min-height: 44px; padding: 8px 14px; font-weight: 700; font-size: 0.92rem;
  font-family: var(--font-body); color: var(--ink); cursor: pointer;
  transition: transform 0.2s ease;
}
.basket-btn:hover { transform: translateY(-1px); }
.basket-btn .basket-ico { font-size: 1.05rem; }
.basket-count {
  background: var(--accent); color: var(--on-accent);
  border-radius: 999px; min-width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.76rem; padding: 0 6px;
}
.basket-btn.is-bumped .basket-count { animation: bump 0.4s ease; }
@keyframes bump { 40% { transform: scale(1.35); } }
.basket-label { display: none; }
.nav-burger {
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 900px) {
  .nav-in { min-height: 74px; }
  .nav-links { display: flex; gap: 26px; }
  .nav-burger { display: none; }
  .basket-label { display: inline; }
}
@media (max-width: 899px) {
  .nav-links.is-open {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px; box-shadow: var(--shadow);
  }
  .nav-links.is-open a { min-height: 48px; display: flex; align-items: center; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
}

/* ---------- hero ---------- */
.hero { padding: var(--pad-y) 0; overflow: hidden; }
.hero-in { display: grid; gap: 34px; align-items: center; }
.hero-badge {
  display: inline-block; background: var(--accent-soft); color: var(--ink);
  font-weight: 700; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: 999px; padding: 7px 16px; margin: 0 0 16px;
}
.hero-stack .hero-badge { background: rgba(255, 255, 255, 0.16); color: var(--on-deep); }
.hero-sub { font-size: 1.08rem; color: var(--ink-soft); max-width: 34em; margin-bottom: 24px; }
.band-deep .hero-sub { color: var(--on-deep); opacity: 0.88; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.hero-trust { font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); }
.band-deep .hero-trust { color: var(--on-deep); opacity: 0.85; }
.hero-trust span { color: var(--secondary); letter-spacing: 2px; }
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-visual img { width: min(100%, 460px); border-radius: var(--radius-big); box-shadow: var(--shadow-big); position: relative; z-index: 1; }
.hero-visual img.hero-mascot { box-shadow: none; width: min(72%, 340px); }
.hero-blob {
  position: absolute; width: 78%; padding-top: 78%; border-radius: 50%;
  background: var(--secondary); opacity: 0.35; z-index: 0;
  transform: translate(6%, 4%) scale(1.06);
}
.hero-blob-light { background: rgba(255, 255, 255, 0.14); opacity: 1; }
.hero-center .hero-copy { text-align: center; }
.hero-center .hero-ctas { justify-content: center; }
@media (min-width: 900px) {
  .hero-split .hero-in, .hero-stack .hero-in { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
  .hero-center .hero-in { grid-template-columns: 1fr; max-width: 900px; justify-items: center; }
}

/* hero entrance stagger */
.stagger-1, .stagger-2, .stagger-3, .stagger-4, .stagger-5 {
  opacity: 0; transform: translateY(26px);
  animation: rise 0.7s cubic-bezier(0.22, 0.8, 0.3, 1) forwards;
}
.stagger-1 { animation-delay: 0.05s; }
.stagger-2 { animation-delay: 0.16s; }
.stagger-3 { animation-delay: 0.28s; }
.stagger-4 { animation-delay: 0.40s; }
.stagger-5 { animation-delay: 0.52s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- scroll reveals (IO adds .in) ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.8, 0.3, 1); }
.reveal.in { opacity: 1; transform: none; }
[data-stagger] > * { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 0.8, 0.3, 1); }
[data-stagger].in > * { opacity: 1; transform: none; }
[data-stagger].in > *:nth-child(1) { transition-delay: 0.00s; }
[data-stagger].in > *:nth-child(2) { transition-delay: 0.08s; }
[data-stagger].in > *:nth-child(3) { transition-delay: 0.16s; }
[data-stagger].in > *:nth-child(4) { transition-delay: 0.24s; }
[data-stagger].in > *:nth-child(5) { transition-delay: 0.32s; }
[data-stagger].in > *:nth-child(6) { transition-delay: 0.40s; }
[data-stagger].in > *:nth-child(7) { transition-delay: 0.48s; }
[data-stagger].in > *:nth-child(8) { transition-delay: 0.56s; }

/* ---------- sections shared ---------- */
section { padding: var(--pad-y) 0; }
.section-head { max-width: 640px; margin-bottom: 30px; }
.section-head p { color: var(--ink-soft); margin: 0; }
.band-deep .section-head p { color: var(--on-deep); opacity: 0.85; }
.section-cta { margin: 30px 0 0; }
.eyebrow {
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 10px;
}
.band-deep .eyebrow { color: var(--secondary); }

/* ---------- marquee ---------- */
.marquee { background: var(--secondary); overflow: hidden; padding: 12px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee-run { display: inline-flex; align-items: center; white-space: nowrap; font-weight: 700; font-size: 0.92rem; color: var(--ink); }
.marquee-run b { margin: 0 18px; opacity: 0.5; font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- tiles (shop-by tiles) ---------- */
.tile-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 150px; border-radius: var(--radius); overflow: hidden;
  background: var(--tint); text-decoration: none; padding: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile-img { position: absolute; inset: 0; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 18, 16, 0) 30%, rgba(15, 18, 16, 0.72) 100%); }
.tile-label { position: relative; z-index: 1; color: #fff; font-weight: 700; font-family: var(--font-display); font-size: 1.05rem; }
.tile-sub { position: relative; z-index: 1; color: rgba(255, 255, 255, 0.85); font-size: 0.82rem; margin: 2px 0 0; }
@media (min-width: 900px) { .tile-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } .tile { min-height: 210px; padding: 20px; } }

/* ---------- product grid + cards ---------- */
.pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 700px) { .pgrid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 1020px) { .pgrid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.pcard {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.pcard a { text-decoration: none; color: inherit; }
.pcard-media { display: block; }
.pcard-media { position: relative; aspect-ratio: 1 / 1; background: var(--tint); }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; }
.pcard-badge {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  background: var(--accent); color: var(--on-accent);
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  border-radius: 999px; padding: 4px 10px;
}
.pcard-body { padding: 12px 12px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard-name { font-weight: 700; font-size: 0.95rem; line-height: 1.3; color: var(--ink); }
.pcard-price { margin-top: auto; font-weight: 800; color: var(--ink); }
.pcard-was { color: var(--ink-soft); text-decoration: line-through; font-weight: 500; font-size: 0.85rem; margin-left: 6px; }
.pcard-add {
  margin: 0 12px 12px; min-height: 44px; border-radius: 999px; border: 2px solid var(--primary);
  background: transparent; color: var(--primary); font-weight: 700; font-family: var(--font-body);
  font-size: 0.9rem; cursor: pointer; transition: background 0.2s ease, color 0.2s ease;
}
.pcard-add:hover { background: var(--primary); color: var(--on-primary); }

/* ---------- feature band ---------- */
.feature-in { display: grid; gap: 30px; align-items: center; }
.feature-visual img { border-radius: var(--radius-big); box-shadow: var(--shadow-big); width: 100%; object-fit: cover; }
.feature-copy p { max-width: 34em; }
.feature-copy .btn { margin-top: 8px; }
@media (min-width: 900px) { .feature-in { grid-template-columns: 1fr 1fr; gap: 60px; } }

/* ---------- stats band ---------- */
.statband { padding: 42px 0; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; text-align: center; }
.stat-num { font-family: var(--font-display); font-size: clamp(1.9rem, 6vw, 3rem); font-weight: 700; color: var(--secondary); }
.stat-label { font-size: 0.88rem; opacity: 0.85; }
@media (min-width: 900px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- why us ---------- */
.why-grid, .advice-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1020px) { .why-grid { grid-template-columns: repeat(4, 1fr); } .why-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.why-card {
  background: var(--tint); border-radius: var(--radius); padding: 22px 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-ico { font-size: 1.6rem; margin-bottom: 10px; }
.why-card h3 { margin-bottom: 6px; }
.why-card p { margin: 0; color: var(--ink-soft); font-size: 0.94rem; }

/* ---------- story ---------- */
.story-in { display: grid; gap: 30px; align-items: center; }
.story-visual img { border-radius: var(--radius-big); box-shadow: var(--shadow-big); width: 100%; object-fit: cover; }
.story-visual img.story-mascot { box-shadow: none; width: min(70%, 320px); margin: 0 auto; }
.story-copy p { color: var(--ink-soft); }
.story-copy .btn { margin-top: 8px; }
@media (min-width: 900px) { .story-in { grid-template-columns: 0.9fr 1.1fr; gap: 60px; } }

/* ---------- guarantee ---------- */
.guarantee-in { display: grid; gap: 24px; align-items: center; text-align: center; }
.guarantee-mascot img { width: min(46%, 190px); margin: 0 auto; }
.guarantee-small { font-weight: 700; margin: 0; }
@media (min-width: 900px) {
  .guarantee-in { grid-template-columns: 220px 1fr; text-align: left; gap: 48px; }
  .guarantee-mascot img { width: 100%; }
}

/* ---------- reviews ---------- */
.review-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 700px) { .review-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.review-card { background: var(--tint); border-radius: var(--radius); padding: 22px 20px; }
.review-stars { color: var(--secondary); letter-spacing: 3px; font-size: 1rem; margin-bottom: 8px; }
.review-quote { font-size: 0.96rem; color: var(--ink-soft); font-style: italic; }
.review-name { font-weight: 700; font-size: 0.88rem; margin: 10px 0 0; }
.review-placeholder { border: 2px dashed var(--line); background: transparent; }

/* ---------- advice / blog cards ---------- */
@media (min-width: 700px) { .advice-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.advice-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px; text-decoration: none; display: flex; flex-direction: column; gap: 8px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.advice-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.advice-kicker { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.advice-card h3 { margin: 0; }
.advice-card p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }
.advice-more { font-weight: 700; color: var(--primary); font-size: 0.9rem; margin-top: auto; }
.pillar-card { border-left: 5px solid var(--accent); }

/* ---------- FAQs ---------- */
.faq-list details {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper); margin-bottom: 10px; padding: 0 18px;
}
.faq-list summary {
  cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 30px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.3rem; color: var(--accent); transition: transform 0.2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--ink-soft); margin: 0 0 16px; }

/* ---------- collection / page heads ---------- */
.collection-head, .page { padding: 34px 0 30px; }
.collection-intro { color: var(--ink-soft); max-width: 46em; margin: 0; }
.crumbs { font-size: 0.8rem; color: var(--ink-soft); margin-bottom: 14px; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs b { margin: 0 6px; font-weight: 400; opacity: 0.6; }
.coll-note {
  background: var(--accent-soft); border-radius: var(--radius);
  padding: 14px 18px; font-weight: 600; font-size: 0.94rem; margin-bottom: 20px;
}
.collection-seo h2 { font-size: 1.3rem; }
.collection-seo p { color: var(--ink-soft); }

/* ---------- product page ---------- */
.product { padding-top: 26px; }
.product-in { display: grid; gap: 30px; }
@media (min-width: 900px) { .product-in { grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: start; } }
.product-gallery img { width: 100%; border-radius: var(--radius-big); background: var(--tint); aspect-ratio: 1 / 1; object-fit: cover; box-shadow: var(--shadow); }
.product-short { color: var(--ink-soft); font-size: 1.05rem; }
.product-price { font-size: 1.6rem; font-weight: 800; margin: 6px 0 18px; }
.product-price .pcard-was { font-size: 1rem; }
.product-cta { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }
@media (min-width: 640px) { .product-cta { flex-direction: row; } .product-cta .btn { flex: 1; } }
.qty-picker { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; overflow: hidden; align-self: flex-start; }
.qty-btn { width: 52px; height: 52px; border: 0; background: transparent; font-size: 1.3rem; cursor: pointer; color: var(--ink); }
.qty-input { width: 52px; height: 52px; border: 0; text-align: center; font-size: 1.05rem; font-weight: 700; font-family: var(--font-body); color: var(--ink); background: transparent; -moz-appearance: textfield; }
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.product-promises { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.product-promises li { font-size: 0.92rem; font-weight: 600; color: var(--ink-soft); }
.product-desc h2 { margin-bottom: 16px; }
.product-desc h3 { margin-top: 1.4em; }

/* sticky add-to-basket (mobile product pages) */
.sticky-buy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 110;
  background: var(--paper); border-top: 1px solid var(--line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  transform: translateY(110%); transition: transform 0.3s ease;
  box-shadow: 0 -8px 30px rgba(20, 26, 23, 0.12);
}
.sticky-buy.show { transform: none; }
.sticky-buy-info { display: flex; flex-direction: column; min-width: 0; }
.sticky-buy-info strong { font-size: 0.88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy-info span { font-weight: 800; font-size: 0.95rem; }
.sticky-buy .btn { min-height: 48px; flex-shrink: 0; }
@media (min-width: 900px) { .sticky-buy { display: none; } }

/* ---------- article / blog ---------- */
.article { padding-top: 30px; }
.article-head { margin-bottom: 26px; }
.article-meta { color: var(--ink-soft); font-size: 0.9rem; }
.article-body h2 { margin-top: 1.6em; }
.article-body h3 { margin-top: 1.3em; }
.article-body img { border-radius: var(--radius); }
.article-body a { color: var(--accent); }
.article-body blockquote { border-left: 4px solid var(--secondary); margin: 1.4em 0; padding: 4px 0 4px 18px; color: var(--ink-soft); font-style: italic; }
.author-box {
  display: grid; gap: 6px; background: var(--tint); border-radius: var(--radius);
  padding: 20px 22px; margin-top: 38px;
}
.author-box .author-name { font-weight: 800; }
.author-box p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- newsletter ---------- */
.newsletter { border-top: 1px solid var(--line); }
.newsletter-in { display: grid; gap: 20px; align-items: center; }
.newsletter-copy p { color: var(--ink-soft); margin: 0; }
.newsletter-form { display: flex; flex-direction: column; gap: 10px; }
.newsletter-form input {
  min-height: 54px; border-radius: 999px; border: 2px solid var(--line);
  padding: 0 20px; font-size: 1rem; font-family: var(--font-body); background: var(--paper); color: var(--ink);
}
.newsletter-form input:focus { outline: 2px solid var(--primary); border-color: var(--primary); }
@media (min-width: 760px) {
  .newsletter-in { grid-template-columns: 1fr 1fr; }
  .newsletter-form { flex-direction: row; }
  .newsletter-form input { flex: 1; }
}

/* ---------- footer ---------- */
.footer { padding: 56px 0 26px; }
.footer a { color: var(--on-deep); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 20px; }
.footer-brand { grid-column: 1 / -1; }
.footer-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin: 0 0 10px; }
.footer-logo img { width: 44px; height: 44px; object-fit: contain; }
.footer-blurb { opacity: 0.8; font-size: 0.92rem; max-width: 30em; }
.footer-uk { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 0.9rem; }
.uk-strip {
  display: inline-block; width: 26px; height: 16px; border-radius: 3px;
  background: linear-gradient(180deg, #012169 0 33%, #ffffff 33% 66%, #C8102E 66% 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
}
.footer-col h3 { color: var(--on-deep); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.7; margin-bottom: 12px; font-family: var(--font-body); }
.footer-col a { display: block; text-decoration: none; opacity: 0.9; padding: 5px 0; font-size: 0.93rem; }
.footer-col a:hover { opacity: 1; text-decoration: underline; }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer-brand { grid-column: auto; }
}
.footer-pay { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.16); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.pay-badges { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pay-badges img { height: 26px; width: auto; background: #fff; border-radius: 4px; padding: 3px 6px; }
.pay-lock { margin: 0; font-size: 0.85rem; opacity: 0.85; font-weight: 600; }
.footer-legal { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; font-size: 0.82rem; opacity: 0.75; }
.footer-legal p { margin: 0; }
.footer-legal a { text-decoration: underline; }

/* ---------- basket drawer ---------- */
.drawer-overlay { position: fixed; inset: 0; background: rgba(15, 18, 16, 0.5); z-index: 190; opacity: 0; transition: opacity 0.3s ease; }
.drawer-overlay.show { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 200;
  width: 100%; max-width: 100%;
  background: var(--paper); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.32s cubic-bezier(0.22, 0.8, 0.3, 1);
  box-shadow: -18px 0 50px rgba(20, 26, 23, 0.25);
}
@media (min-width: 640px) { .drawer { max-width: 420px; } }
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 1.25rem; }
.drawer-close, .chat-close { width: 44px; height: 44px; border: 0; background: var(--tint); border-radius: 50%; font-size: 1rem; cursor: pointer; color: var(--ink); }
.ship-progress { padding: 14px 20px; background: var(--tint); }
.ship-progress p { margin: 0 0 8px; font-size: 0.86rem; font-weight: 700; }
.ship-bar { height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; }
.ship-bar span { display: block; height: 100%; width: 0; background: var(--primary); border-radius: 999px; transition: width 0.4s ease; }
.drawer-items { flex: 1; overflow-y: auto; padding: 14px 20px; }
.basket-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.basket-line img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; background: var(--tint); }
.basket-line-name { font-weight: 700; font-size: 0.9rem; line-height: 1.3; }
.basket-line-price { font-size: 0.86rem; color: var(--ink-soft); }
.basket-line-qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; }
.basket-line-qty button { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); cursor: pointer; font-size: 1rem; color: var(--ink); }
.basket-line-qty span { min-width: 26px; text-align: center; font-weight: 700; font-size: 0.9rem; }
.basket-remove { border: 0; background: transparent; color: var(--ink-soft); font-size: 0.78rem; cursor: pointer; text-decoration: underline; padding: 8px 0 8px 8px; }
.basket-empty { text-align: center; padding: 34px 10px; }
.basket-empty img { width: 130px; margin: 0 auto 14px; opacity: 0.9; }
.basket-empty p { color: var(--ink-soft); font-weight: 600; }
.drawer-foot { border-top: 1px solid var(--line); padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); }
.drawer-row { display: flex; justify-content: space-between; font-size: 0.95rem; margin-bottom: 8px; }
.drawer-row strong { font-size: 1.1rem; }
.drawer-ship { color: var(--ink-soft); }
.drawer-foot .btn { margin-top: 8px; }
.drawer-note { text-align: center; font-size: 0.78rem; color: var(--ink-soft); margin: 10px 0 0; }

/* ---------- cookie bar ---------- */
.cookie-bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 160;
  background: var(--ink); color: #fff; border-radius: var(--radius);
  padding: 16px 18px; display: flex; flex-direction: column; gap: 12px;
  box-shadow: var(--shadow-big); font-size: 0.88rem;
}
.cookie-bar p { margin: 0; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-bar .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
@media (min-width: 760px) { .cookie-bar { flex-direction: row; align-items: center; max-width: 640px; left: auto; } }

/* ---------- chat bubble ---------- */
.chat-bubble {
  position: fixed; right: 18px; bottom: 18px; z-index: 150;
  width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--primary); color: var(--on-primary); font-size: 1.5rem;
  box-shadow: var(--shadow-big); animation: chat-pulse 2.6s ease-in-out infinite;
  transition: transform 0.2s ease;
}
.chat-bubble:hover { transform: scale(1.08); }
@keyframes chat-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.18), var(--shadow-big); } 50% { box-shadow: 0 0 0 12px rgba(0, 0, 0, 0.0), var(--shadow-big); } }
.chat-panel {
  position: fixed; right: 14px; bottom: 88px; z-index: 150;
  width: min(330px, calc(100vw - 28px));
  background: var(--paper); border-radius: var(--radius-big);
  box-shadow: var(--shadow-big); overflow: hidden;
}
.chat-head { background: var(--primary); color: var(--on-primary); display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; }
.chat-head strong { font-family: var(--font-display); }
.chat-close { width: 36px; height: 36px; background: rgba(255, 255, 255, 0.18); color: inherit; }
.chat-body { padding: 16px; }
.chat-msg { background: var(--tint); border-radius: 14px 14px 14px 4px; padding: 12px 14px; font-size: 0.92rem; margin: 0 0 10px; }
.chat-msg a { color: var(--accent); font-weight: 700; }
.chat-msg-sub { margin: 0; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 84px; transform: translate(-50%, 16px); z-index: 220;
  background: var(--ink); color: #fff; border-radius: 999px; padding: 12px 22px;
  font-weight: 700; font-size: 0.9rem; opacity: 0; transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: var(--shadow-big); max-width: calc(100vw - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- result pages (success / cancel / 404) ---------- */
.result { min-height: 55vh; display: flex; align-items: center; text-align: center; }
.result-in { display: grid; justify-items: center; gap: 4px; }
.result-mascot img { width: min(46%, 200px); margin: 0 auto 14px; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stagger-1, .stagger-2, .stagger-3, .stagger-4, .stagger-5 { animation: none; opacity: 1; transform: none; }
  .reveal, [data-stagger] > * { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .chat-bubble { animation: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
