/* =====================================================================
   Go Gonzalez BBQ — main stylesheet
   Palette: charcoal / ember red / mustard gold (from the brand logo) / cream
   ===================================================================== */
:root {
  --char: #15110f;
  --char-2: #1d1714;
  --char-3: #2a221d;
  --ink: #2a211c;
  --brown: #5a3a28;
  --muted: #76685c;
  --muted-light: #b9ab9b;
  --cream: #f5eee2;
  --paper: #fbf8f3;
  --sand: #ece2d1;
  --line: #e4d9c7;
  --line-dark: rgba(246, 239, 227, .12);
  --ember: #c8281e;
  --ember-2: #e0412b;
  --ember-dark: #9e1d15;
  --gold: #e9b330;
  --gold-2: #f3c94f;
  --success: #2f7d4f;
  --error: #b3261e;

  --display: "Big Shoulders Display", Impact, "Arial Narrow", sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(21, 17, 15, .06);
  --shadow: 0 14px 40px -14px rgba(21, 17, 15, .28);
  --shadow-lg: 0 30px 70px -25px rgba(21, 17, 15, .45);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 76px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 128px);
}

/* ---------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--body); font-size: 1rem; line-height: 1.65; color: var(--ink); background: var(--paper); overflow-x: hidden; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.05; }
p { margin: 0 0 1em; }
ul, ol { padding: 0; margin: 0; list-style: none; }
del { opacity: .55; font-weight: 400; }
ins { text-decoration: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--char); }
[hidden] { display: none !important; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--gold); color: var(--char); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700; }
.skip-link:focus { top: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.center { text-align: center; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
/* Grid/flex children must be allowed to shrink below their content width (prevents horizontal overflow on phones). */
.hero__inner > *, [class*="__grid"] > *, [class*="__layout"] > *, .product-grid > *, .book-grid > *, .form__row > * { min-width: 0; }
.hero__inner, [class*="__grid"], [class*="__layout"] { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 480px) { .btn { white-space: normal; text-align: center; } .hero__ctas .btn { flex: 1 1 100%; } }
.container--narrow { max-width: 860px; }

.icon { width: 22px; height: 22px; flex: none; }
.icon--sm { width: 18px; height: 18px; }
.icon--xl { width: 56px; height: 56px; stroke-width: 1.2; }
.icon--star { width: 16px; height: 16px; fill: var(--gold); stroke: var(--gold); }

/* ---------------------------------------------------------------- typography */
.section { padding: var(--section) 0; position: relative; }
.section--tight { padding: clamp(40px, 6vw, 80px) 0; }
.section--alt { background: var(--cream); }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.section-head--split { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: flex-end; justify-content: space-between; }
.section-title { font-family: var(--display); font-weight: 900; font-size: clamp(1.85rem, 3.4vw, 2.85rem); text-transform: uppercase; letter-spacing: .005em; line-height: .95; color: var(--char); margin-bottom: .35em; }
.section-title a { text-decoration: none; }
.section-title--light { color: var(--cream); }
.section-lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--muted); margin: 0; }
.section-lead--narrow { max-width: 460px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ember); margin-bottom: 14px; }
.kicker--light { color: var(--gold); }
.prose { color: var(--muted); }
.prose p:last-child { margin-bottom: 0; }
.prose--lg { font-size: 1.07rem; }
.prose--light { color: rgba(245, 238, 226, .78); }
.prose h2, .prose h3 { font-family: var(--display); text-transform: uppercase; color: var(--char); margin: 1.6em 0 .5em; font-size: 1.45rem; }
.prose h3 { font-size: 1.2rem; }
.prose ul { list-style: none; margin: 0 0 1.2em; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: .45em; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; border-radius: 2px; background: var(--ember); transform: rotate(45deg); }
.prose ol { list-style: decimal; padding-left: 1.3em; }
.prose a { color: var(--ember); }
.prose strong { color: var(--ink); }
.legal { color: var(--ink); }

/* ---------------------------------------------------------------- buttons */
.btn { --bg: var(--char); --fg: var(--cream); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border: 2px solid var(--bg); border-radius: 999px; background: var(--bg); color: var(--fg); font-weight: 700; font-size: .95rem; letter-spacing: .02em; text-decoration: none; line-height: 1.1; transition: transform .35s var(--ease), background-color .25s, border-color .25s, color .25s, box-shadow .35s var(--ease); position: relative; overflow: hidden; isolation: isolate; white-space: nowrap; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,.14); transform: translateX(-101%); transition: transform .45s var(--ease); }
.btn:hover::after { transform: translateX(0); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(0,0,0,.45); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .icon { transition: transform .35s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary { --bg: var(--ember); --fg: #fff; }
.btn--primary:hover { --bg: var(--ember-2); }
.btn--dark { --bg: var(--char); --fg: var(--cream); }
.btn--ghost { background: transparent; color: var(--char); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--char); }
.btn--outline-light { background: transparent; color: var(--cream); border-color: rgba(245, 238, 226, .35); }
.btn--outline-light:hover { border-color: var(--gold); color: var(--gold); }
.btn--lg { min-height: 56px; padding: 15px 30px; font-size: 1rem; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .88rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: inherit; transition: background-color .2s, color .2s, transform .3s var(--ease); }
.icon-btn:hover { background: rgba(0,0,0,.06); }
.icon-btn--outline { border: 1.5px solid var(--line); }
.icon-btn--outline:hover { border-color: var(--char); background: var(--char); color: var(--cream); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--char); text-decoration: none; border-bottom: 2px solid var(--ember); padding-bottom: 3px; transition: gap .3s var(--ease), color .2s; }
.link-arrow:hover { gap: 12px; color: var(--ember); }
.inline-form { display: inline; }

/* ---------------------------------------------------------------- top bar + header */
.topbar { background: var(--ember); color: #fff; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar__text { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar__phone { display: none; align-items: center; gap: 6px; text-decoration: none; white-space: nowrap; }
@media (min-width: 900px) { .topbar__phone { display: inline-flex; } }

.site-header { position: sticky; top: 0; z-index: 90; background: rgba(21, 17, 15, .97); color: var(--cream); transition: box-shadow .3s, background-color .3s; }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(21, 17, 15, .86); backdrop-filter: saturate(140%) blur(12px); } }
.site-header.is-scrolled { box-shadow: 0 10px 30px -12px rgba(0,0,0,.6); }
.site-header__inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: inline-flex; flex: none; }
.brand__logo { width: auto; height: 50px; transition: transform .4s var(--ease); }
.brand:hover .brand__logo { transform: rotate(-2deg) scale(1.03); }
.main-nav { display: none; margin-left: auto; }
.main-nav ul { display: flex; gap: 6px; }
.main-nav a { position: relative; display: block; padding: 10px 16px; font-weight: 700; font-size: .92rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: rgba(245, 238, 226, .82); transition: color .2s; }
.main-nav a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.main-nav a:hover, .main-nav a[aria-current] { color: #fff; }
.main-nav a:hover::after, .main-nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.header-search, .cart-toggle { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: var(--cream); transition: background-color .2s, color .2s; }
.header-search:hover, .cart-toggle:hover { background: rgba(255,255,255,.08); color: var(--gold); }
.cart-count { position: absolute; top: 3px; right: 1px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--gold); color: var(--char); font-size: .7rem; font-weight: 800; line-height: 20px; text-align: center; transition: transform .3s var(--ease); }
.cart-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.45); } }
.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; padding: 12px; background: none; border: 0; }
.nav-toggle span { display: block; height: 2px; background: var(--cream); border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.nav-toggle span:nth-child(3) { width: 65%; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { width: 100%; transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1000px) {
  .main-nav { display: block; }
  .header-actions { margin-left: 12px; }
  .nav-toggle { display: none; }
}

.mobile-nav { position: fixed; inset: calc(var(--header-h) + 38px) 0 0; z-index: 85; background: var(--char); color: var(--cream); padding: 24px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; }
.mobile-nav a { text-decoration: none; }
.mobile-nav li a { display: flex; align-items: baseline; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line-dark); font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 7vw, 2.3rem); text-transform: uppercase; line-height: 1.1; }
.mobile-nav li a[aria-current] { color: var(--gold); }
.mobile-nav__num { font-family: var(--body); font-size: .8rem; color: var(--ember-2); font-weight: 700; }
.mobile-nav__contact { display: grid; gap: 12px; margin-top: 28px; color: var(--muted-light); }
.mobile-nav__contact a { display: inline-flex; gap: 10px; align-items: center; }
body.nav-open { overflow: hidden; }

/* ---------------------------------------------------------------- flash + notices + toast */
.flash-stack { position: fixed; top: calc(var(--header-h) + 52px); right: 16px; left: 16px; z-index: 95; display: grid; gap: 10px; justify-items: end; pointer-events: none; }
.flash { pointer-events: auto; display: flex; gap: 14px; align-items: center; max-width: 440px; padding: 14px 16px 14px 18px; border-radius: var(--radius); background: var(--char); color: var(--cream); box-shadow: var(--shadow-lg); border-left: 4px solid var(--gold); font-weight: 500; animation: flashIn .5s var(--ease); }
.flash--success { border-color: #4caf78; }
.flash--error { border-color: var(--ember-2); }
.flash__close { margin-left: auto; background: none; border: 0; color: inherit; font-size: 1.4rem; line-height: 1; opacity: .7; }
@keyframes flashIn { from { opacity: 0; transform: translateY(-10px); } }
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; background: var(--cream); border: 1px solid var(--line); }
.notice--success { background: #eaf5ee; border-color: #bfe0cb; color: #1f5a37; }
.notice--error { background: #fbeceb; border-color: #f0c3bf; color: #8e1f18; }
.notice--info { background: #fdf6e3; border-color: #f1dea8; color: #6d5113; }
.notice--muted { color: var(--muted); }
.notice a { color: inherit; font-weight: 700; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 120; transform: translate(-50%, calc(100% + 40px)); display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px); padding: 14px 20px; border-radius: 999px; background: var(--char); color: var(--cream); font-weight: 600; box-shadow: var(--shadow-lg); transition: transform .5s var(--ease), visibility 0s linear .5s; visibility: hidden; }
.toast.is-visible { transform: translate(-50%, 0); visibility: visible; transition: transform .5s var(--ease), visibility 0s; }
.toast.is-error { background: var(--error); }

/* ---------------------------------------------------------------- tags, price, pills */
.tag { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 5px 11px; border-radius: 999px; background: var(--char); color: var(--gold); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.tag--sale { background: var(--ember); color: #fff; }
.tag--muted { background: #8b7d70; color: #fff; }
.price { font-weight: 800; color: var(--char); font-size: 1.08rem; letter-spacing: .01em; }
.price ins { color: var(--ember); }
.price--lg { font-size: 1.4rem; }
.price--xl { font-family: var(--display); font-weight: 800; font-size: 2rem; line-height: 1; }
.pill { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brown); }

.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; background: #eee; color: #444; white-space: nowrap; }
.badge--pending, .badge--on-hold { background: #fdf1d6; color: #7a5410; }
.badge--processing { background: #e3effc; color: #1d4f8a; }
.badge--shipped { background: #ece6fb; color: #4b2f92; }
.badge--completed, .badge--paid { background: #e2f3e8; color: #1f6a3c; }
.badge--cancelled, .badge--failed { background: #fbe4e2; color: #8e1f18; }
.badge--refunded { background: #eee; color: #555; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(70% 70% at 75% 45%, #3a1a12 0%, var(--char) 62%); color: var(--cream); padding: clamp(48px, 7vw, 96px) 0 clamp(70px, 9vw, 120px); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); pointer-events: none; }
.hero__smoke { position: absolute; inset: auto -10% -40% -10%; height: 70%; background: radial-gradient(50% 60% at 30% 60%, rgba(200, 40, 30, .28), transparent 70%), radial-gradient(40% 50% at 80% 40%, rgba(233, 179, 48, .12), transparent 70%); filter: blur(30px); pointer-events: none; }
.hero__inner { position: relative; display: grid; gap: 48px; align-items: center; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border: 1px solid rgba(233, 179, 48, .35); border-radius: 999px; font-size: .76rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 24px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ember-2); box-shadow: 0 0 0 0 rgba(224, 65, 43, .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(224, 65, 43, 0); } 100% { box-shadow: 0 0 0 0 rgba(224, 65, 43, 0); } }
.hero__title { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.5rem, 6.6vw, 5.2rem); line-height: .86; letter-spacing: -.005em; margin: 0 0 26px; }
.hero__line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__line > span { display: inline-block; }
.hero__line--accent { color: var(--gold); }
.hero__line--accent > span { background: linear-gradient(92deg, var(--gold) 10%, #f08a2e 55%, var(--ember-2) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 700; color: #fff; margin-bottom: 10px; }
.hero__text { max-width: 540px; color: rgba(245, 238, 226, .72); font-size: 1.05rem; margin-bottom: 32px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 14px 34px; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.hero__proof li { display: flex; align-items: center; gap: 10px; }
.hero__proof strong { font-family: var(--display); font-size: 1.85rem; font-weight: 900; color: var(--gold); line-height: 1; }
.hero__proof span { font-size: .78rem; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; color: rgba(245, 238, 226, .6); }
.hero__visual { position: relative; justify-self: center; width: min(100%, 520px); }
.hero__ring { position: absolute; inset: 8% 4%; border-radius: 50%; border: 1px dashed rgba(233, 179, 48, .3); animation: spin 60s linear infinite; }
.hero__ring::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(200, 40, 30, .45), transparent 65%); filter: blur(20px); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__img { position: relative; width: 100%; height: auto; filter: drop-shadow(0 40px 50px rgba(0,0,0,.55)); }
.hero__chili { position: absolute; width: 18%; right: -2%; bottom: 8%; transform: rotate(28deg); filter: drop-shadow(0 18px 20px rgba(0,0,0,.4)); }
.hero__scroll { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(245, 238, 226, .35); border-radius: 14px; display: none; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: scrollDot 1.8s infinite var(--ease); }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (min-width: 900px) {
  .hero { min-height: min(calc(100svh - var(--header-h) - 38px), 880px); display: flex; align-items: center; }
  .hero__inner { grid-template-columns: 1.1fr .9fr; }
  .hero__scroll { display: block; }
}

/* ---------------------------------------------------------------- page hero */
.page-hero { position: relative; overflow: hidden; background: var(--char); color: var(--cream); padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 7vw, 88px); }
.page-hero__glow { position: absolute; inset: -40% -10% auto auto; width: 70%; height: 180%; background: radial-gradient(circle at 70% 40%, rgba(200, 40, 30, .35), transparent 60%); pointer-events: none; }
.page-hero__inner { position: relative; }
.page-hero__title { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: .9; margin: 0 0 16px; max-width: 900px; }
.page-hero__text { max-width: 640px; color: rgba(245, 238, 226, .72); font-size: 1.08rem; margin: 0; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(245, 238, 226, .55); margin-bottom: 22px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs [aria-current] { color: var(--gold); }
.breadcrumbs--dark ol { color: var(--muted); }
.breadcrumbs--dark [aria-current] { color: var(--ember); }

/* ---------------------------------------------------------------- intro */
.intro { background: var(--paper); overflow: hidden; }
.intro__grid { display: grid; gap: 48px; align-items: center; }
.intro__media { position: relative; }
.intro__img { width: 100%; }
.intro__points { display: grid; gap: 10px; margin: 26px 0 32px; }
.intro__points li { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--char); }
.intro__points .icon { color: #fff; background: var(--ember); border-radius: 50%; padding: 3px; }
@media (min-width: 900px) { .intro__grid { grid-template-columns: 1fr 1fr; gap: 72px; } }

/* ---------------------------------------------------------------- products */
.bestsellers { background: var(--cream); }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2.4vw, 28px); }
@media (min-width: 900px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .product-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.product-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-card__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #f3ece1; }
.product-card__media picture, .product-card__img { width: 100%; height: 100%; }
.product-card__img { object-fit: cover; transition: transform .9s var(--ease); }
.product-card:hover .product-card__img { transform: scale(1.06); }
.product-card__body { display: flex; flex-direction: column; flex: 1; padding: 16px 16px 18px; }
.product-card__cat { font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ember); margin-bottom: 6px; }
.product-card__title { font-family: var(--display); font-weight: 800; font-size: clamp(1.02rem, 1.4vw, 1.22rem); line-height: 1.08; text-transform: uppercase; margin-bottom: 14px; }
.product-card__title a { text-decoration: none; }
.product-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.product-card__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; }
.product-card__size { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.product-card form { position: relative; z-index: 2; }
.add-btn { position: relative; z-index: 2; display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; border: 0; background: var(--char); color: var(--cream); transition: background-color .25s, transform .4s var(--ease); }
.add-btn:hover { background: var(--ember); transform: rotate(90deg); }
.add-btn.is-loading { pointer-events: none; opacity: .6; }
.add-btn.is-added { background: var(--success); transform: none; }
@media (max-width: 480px) { .product-card__body { padding: 12px 12px 14px; } .add-btn { width: 40px; height: 40px; } }

/* ---------------------------------------------------------------- story */
.story { background: var(--char); color: var(--cream); overflow: hidden; }
.story::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 0% 100%, rgba(200, 40, 30, .22), transparent 60%); pointer-events: none; }
.story__grid { position: relative; display: grid; gap: 56px; align-items: center; }
.story__media { position: relative; }
.story__frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.story__frame picture, .story__img { width: 100%; height: 100%; }
.story__img { object-fit: cover; object-position: 62% center; transform: scale(1.12); }
.story__badge { position: absolute; right: -6px; bottom: 28px; padding: 16px 22px; background: var(--gold); color: var(--char); border-radius: var(--radius); box-shadow: var(--shadow-lg); transform: rotate(-3deg); }
.story__badge strong { display: block; font-family: var(--display); font-size: 1rem; text-transform: uppercase; letter-spacing: .14em; }
.story__badge span { font-family: var(--display); font-weight: 900; font-size: 1.4rem; text-transform: uppercase; line-height: 1; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 34px 0 36px; padding: 26px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.stats div { display: flex; flex-direction: column-reverse; gap: 6px; }
.stats dt { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(245, 238, 226, .55); line-height: 1.35; }
.stats dd { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1; color: var(--gold); }
.story--compact .story__frame { aspect-ratio: 1 / 1; }
@media (min-width: 900px) { .story__grid { grid-template-columns: .95fr 1.05fr; gap: 88px; } }

/* ---------------------------------------------------------------- books */
.books-home { background: var(--paper); }
.book-grid { display: grid; gap: 28px; }
@media (min-width: 800px) { .book-grid { grid-template-columns: repeat(2, 1fr); } }
.book-card { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--cream); border-radius: var(--radius-lg); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.book-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.book-card__cover { display: block; background: var(--char-2); aspect-ratio: 16 / 11; overflow: hidden; }
.book-card__cover picture, .book-card__img { width: 100%; height: 100%; }
.book-card__img { object-fit: contain; padding: 22px; transition: transform .9s var(--ease); }
.book-card:hover .book-card__img { transform: scale(1.04) rotate(-1deg); }
.book-card__body { padding: 26px 26px 30px; display: flex; flex-direction: column; }
.book-card__author { font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ember); margin-bottom: 8px; }
.book-card__title { font-family: var(--display); font-weight: 900; font-size: clamp(1.45rem, 2.2vw, 1.8rem); text-transform: uppercase; line-height: .95; margin-bottom: 6px; }
.book-card__title a { text-decoration: none; }
.book-card__subtitle { font-weight: 700; color: var(--brown); margin-bottom: 12px; }
.book-card__text { color: var(--muted); }
.book-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: auto; padding-top: 8px; }

.book-feature { display: grid; gap: 40px; align-items: center; padding: clamp(24px, 4vw, 48px) 0; }
.book-feature + .book-feature { border-top: 1px solid var(--line); }
.book-feature__cover { background: var(--char); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px); }
.book-feature__img { width: 100%; max-height: 560px; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0,0,0,.5)); }
.book-feature__subtitle { font-size: 1.2rem; font-weight: 700; color: var(--brown); margin-bottom: 4px; }
.book-feature__author { font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.book-feature__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
@media (min-width: 900px) {
  .book-feature { grid-template-columns: 1fr 1fr; gap: 80px; }
  .book-feature--reverse .book-feature__cover { order: 2; }
}

/* ---------------------------------------------------------------- why choose */
.why { background: var(--cream); }
.why__grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.why__item { position: relative; padding: 32px 26px; background: var(--paper); border-radius: var(--radius-lg); border: 1px solid var(--line); transition: transform .5s var(--ease), border-color .3s, background-color .3s; }
.why__item:hover { transform: translateY(-6px); border-color: var(--ember); background: #fff; }
.why__icon { display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: var(--char); color: var(--gold); margin-bottom: 22px; transition: transform .5s var(--ease), background-color .3s; }
.why__icon .icon { width: 28px; height: 28px; }
.why__item:hover .why__icon { transform: rotate(-8deg) scale(1.06); background: var(--ember); color: #fff; }
.why__title { font-family: var(--display); font-weight: 800; font-size: 1.3rem; text-transform: uppercase; line-height: 1; margin-bottom: 10px; }
.why__item p { color: var(--muted); margin: 0; }

/* ---------------------------------------------------------------- cooking guide */
.guide { background: var(--paper); }
.guide__grid { display: grid; gap: 24px; }
@media (min-width: 800px) { .guide__grid { grid-template-columns: 1fr 1fr; } }
.guide-card { position: relative; display: grid; overflow: hidden; border-radius: var(--radius-lg); background: var(--char); color: var(--cream); text-decoration: none; min-height: 420px; isolation: isolate; }
.guide-card__media { position: absolute; inset: 0; z-index: -1; display: grid; place-items: center; padding: 30px 30px 150px; background: radial-gradient(circle at 50% 35%, #4a1d14, var(--char) 70%); }
.guide-card--2 .guide-card__media { background: radial-gradient(circle at 50% 35%, #3a2a1c, var(--char) 70%); }
.guide-card__media picture { height: 100%; }
.guide-card__img { width: auto; height: 100%; max-height: 300px; object-fit: contain; transition: transform 1s var(--ease); filter: drop-shadow(0 26px 30px rgba(0,0,0,.5)); }
.guide-card:hover .guide-card__img { transform: scale(1.06) rotate(-2deg); }
.guide-card__body { align-self: end; padding: 28px; background: linear-gradient(transparent, rgba(21, 17, 15, .92) 35%); }
.guide-card__body h3 { font-family: var(--display); font-weight: 900; font-size: clamp(1.4rem, 2.2vw, 1.8rem); text-transform: uppercase; line-height: .95; }
.guide-card__body p { color: rgba(245, 238, 226, .75); }
.guide-card .link-arrow { color: var(--gold); border-color: var(--gold); }

/* ---------------------------------------------------------------- testimonials */
.testimonials { background: var(--cream); overflow: hidden; }
.testi-slider { position: relative; max-width: 860px; margin: 0 auto; }
.testi-slider__track { display: grid; }
.testi-card { grid-area: 1 / 1; margin: 0; padding: clamp(32px, 5vw, 56px); background: var(--paper); border-radius: var(--radius-lg); border: 1px solid var(--line); text-align: center; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), transform .6s var(--ease), visibility .6s; transform: translateY(16px); }
.testi-card.is-active { opacity: 1; visibility: visible; transform: none; }
.testi-card__stars { display: flex; justify-content: center; gap: 3px; margin-bottom: 18px; }
.testi-card blockquote { margin: 0 0 22px; }
.testi-card blockquote p { font-family: var(--display); font-weight: 700; font-size: clamp(1.25rem, 2.3vw, 1.75rem); line-height: 1.2; color: var(--char); margin: 0; text-transform: none; }
.testi-card figcaption strong { display: block; font-size: .95rem; }
.testi-card figcaption span { font-size: .82rem; color: var(--muted); }
.testi-slider__controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 26px; }
.testi-slider__dots { display: flex; gap: 8px; }
.testi-slider__dots button { width: 10px; height: 10px; padding: 0; border-radius: 5px; border: 0; background: var(--line); transition: width .4s var(--ease), background-color .3s; }
.testi-slider__dots button[aria-current="true"] { width: 30px; background: var(--ember); }
.no-js .testi-card { opacity: 1; visibility: visible; position: relative; grid-area: auto; margin-bottom: 16px; transform: none; }

/* ---------------------------------------------------------------- newsletter */
.newsletter { background: var(--ember); color: #fff; padding: clamp(48px, 7vw, 88px) 0; position: relative; overflow: hidden; }
.newsletter::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 120% at 100% 0%, rgba(233, 179, 48, .35), transparent 60%), radial-gradient(40% 100% at 0% 100%, rgba(0,0,0,.25), transparent 60%); pointer-events: none; }
.newsletter__inner { position: relative; display: grid; gap: 28px; align-items: center; }
.newsletter__icon { width: 40px; height: 40px; margin-bottom: 14px; color: var(--gold-2); }
.newsletter__title { font-family: var(--display); font-weight: 900; font-size: clamp(1.6rem, 3vw, 2.4rem); text-transform: uppercase; line-height: .95; margin-bottom: 10px; }
.newsletter__copy p { margin: 0; color: rgba(255,255,255,.85); }
.newsletter__form { display: flex; flex-wrap: wrap; gap: 10px; }
.newsletter__form input { flex: 1 1 240px; min-height: 56px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent; background: #fff; color: var(--ink); }
.newsletter__form input:focus { outline: none; border-color: var(--char); }
.newsletter__form .btn { min-height: 56px; }
.newsletter__msg { flex-basis: 100%; margin: 4px 0 0 12px; min-height: 1.4em; font-weight: 600; }
.newsletter__msg.is-error { color: #ffe1a6; }
@media (min-width: 900px) { .newsletter__inner { grid-template-columns: 1fr 1fr; gap: 60px; } }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--char); color: rgba(245, 238, 226, .7); padding: clamp(56px, 7vw, 88px) 0 0; font-size: .95rem; }
.site-footer__grid { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); padding-bottom: 48px; }
.site-footer__brand { grid-column: 1 / -1; max-width: 420px; }
@media (min-width: 1000px) {
  .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; column-gap: 48px; }
  .site-footer__brand { grid-column: auto; }
  /* breathing room between the brand column and "Explore" */
  .site-footer__col--explore { padding-left: clamp(24px, 4vw, 64px); border-left: 1px solid var(--line-dark); }
}
.brand--footer .brand__logo { height: 62px; margin-bottom: 18px; }
.site-footer__title { font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cream); margin-bottom: 18px; }
.site-footer__links li, .site-footer__contact li { margin-bottom: 10px; }
.site-footer__links a, .site-footer__contact a { text-decoration: none; transition: color .2s, padding-left .3s var(--ease); }
.site-footer__links a:hover { color: var(--gold); padding-left: 6px; }
.site-footer__contact a, .site-footer__contact span { display: inline-flex; align-items: center; gap: 10px; }
.site-footer__contact a:hover { color: var(--gold); }
.site-footer__contact .icon { color: var(--ember-2); }
.socials { display: flex; gap: 8px; margin-top: 20px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark); transition: background-color .25s, color .25s, border-color .25s; }
.socials a:hover { background: var(--gold); color: var(--char); border-color: var(--gold); }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid var(--line-dark); font-size: .85rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom ul { display: flex; gap: 22px; }
.site-footer__bottom a { text-decoration: none; }
.site-footer__bottom a:hover { color: var(--gold); }

/* ---------------------------------------------------------------- cart drawer */
.cart-drawer { position: fixed; inset: 0; z-index: 110; visibility: hidden; }
.cart-drawer.is-open { visibility: visible; }
.cart-drawer__overlay { position: absolute; inset: 0; background: rgba(21, 17, 15, .55); opacity: 0; transition: opacity .4s var(--ease); }
.cart-drawer.is-open .cart-drawer__overlay { opacity: 1; }
.cart-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); display: flex; flex-direction: column; background: var(--paper); transform: translateX(100%); transition: transform .5s var(--ease); box-shadow: var(--shadow-lg); outline: none; }
.cart-drawer.is-open .cart-drawer__panel { transform: none; }
.cart-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.cart-drawer__head h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.5rem; margin: 0; }
.cart-drawer__head h2 span { font-family: var(--body); font-size: .9rem; color: var(--muted); font-weight: 500; }
.cart-drawer__body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.cart-drawer__empty { text-align: center; color: var(--muted); padding: 40px 0; }
.mini-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mini-item img { width: 72px; height: 84px; object-fit: cover; border-radius: var(--radius-sm); background: var(--cream); }
.mini-item__name { font-weight: 700; line-height: 1.25; text-decoration: none; display: block; }
.mini-item__meta { font-size: .82rem; color: var(--muted); }
.mini-item__side { display: grid; justify-items: end; gap: 6px; }
.mini-item__remove { background: none; border: 0; color: var(--muted); font-size: .78rem; text-decoration: underline; padding: 0; }
.mini-item__remove:hover { color: var(--ember); }
.qty--mini { transform: scale(.85); transform-origin: left center; }
.cart-drawer__foot { padding: 18px 20px 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; background: #fff; }
.cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 1.1rem; }
.cart-drawer__note { margin: 0 0 6px; font-size: .82rem; color: var(--muted); }

/* ---------------------------------------------------------------- quantity */
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; height: 50px; }
.qty button { display: grid; place-items: center; width: 44px; height: 100%; border: 0; background: none; color: var(--char); border-radius: 999px; transition: color .2s; }
.qty button:hover { color: var(--ember); }
.qty input { width: 44px; height: 100%; border: 0; background: none; text-align: center; font-weight: 700; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { outline: none; }

/* ---------------------------------------------------------------- shop */
.shop__layout { display: grid; gap: 32px; }
@media (min-width: 1000px) { .shop__layout { grid-template-columns: 260px 1fr; gap: 48px; align-items: start; } .shop__filters { position: sticky; top: calc(var(--header-h) + 24px); } }
.filters { display: grid; gap: 26px; padding: 26px; background: var(--cream); border-radius: var(--radius-lg); }
.filters__label { display: block; font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--char); margin-bottom: 12px; }
.search-field { position: relative; }
.search-field .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-field input { width: 100%; height: 48px; padding: 0 14px 0 42px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; }
.filters__cats li a { display: flex; justify-content: space-between; padding: 8px 0; text-decoration: none; color: var(--muted); font-weight: 500; border-bottom: 1px dashed var(--line); transition: color .2s, padding-left .3s var(--ease); }
.filters__cats li a span { font-size: .78rem; background: #fff; border-radius: 999px; padding: 1px 9px; }
.filters__cats li a:hover { color: var(--ember); padding-left: 4px; }
.filters__cats li a[aria-current] { color: var(--char); font-weight: 800; }
.filters__price { display: flex; align-items: center; gap: 8px; }
.filters__price input { width: 100%; height: 46px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.filters__reset { font-size: .88rem; color: var(--ember); text-align: center; }
.shop__toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; justify-content: space-between; margin-bottom: 26px; }
.shop__count { margin: 0; color: var(--muted); font-weight: 600; }
.sort-form { display: flex; align-items: center; gap: 10px; font-size: .9rem; }
.sort-form select { height: 44px; padding: 0 36px 0 14px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232a211c' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center; appearance: none; }
.shop__filter-toggle { display: inline-flex; }
@media (min-width: 1000px) { .shop__filter-toggle { display: none; } }
@media (max-width: 999px) { .shop__filters { display: none; } .shop__filters.is-open { display: block; } }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination a { display: grid; place-items: center; min-width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); text-decoration: none; font-weight: 700; }
.pagination a[aria-current] { background: var(--char); color: var(--cream); border-color: var(--char); }
.empty-state { text-align: center; padding: 56px 20px; max-width: 520px; margin: 0 auto; color: var(--muted); }
.empty-state .icon { margin: 0 auto 18px; color: var(--ember); }
.empty-state h2 { font-family: var(--display); text-transform: uppercase; font-size: 1.8rem; color: var(--char); }

/* ---------------------------------------------------------------- product detail */
.product-detail { padding-top: clamp(28px, 4vw, 48px); }
.product-detail__grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .product-detail__grid { grid-template-columns: 1.05fr 1fr; gap: 72px; } .gallery { position: sticky; top: calc(var(--header-h) + 24px); } }
.gallery__main { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #f3ece1; aspect-ratio: 4 / 5; }
.gallery__main picture, .gallery__img { width: 100%; height: 100%; }
.gallery__img { object-fit: cover; }
.gallery__main--book { background: var(--char); aspect-ratio: auto; padding: clamp(20px, 4vw, 48px); }
.gallery__main--book .gallery__img { object-fit: contain; height: auto; max-height: 640px; filter: drop-shadow(0 30px 40px rgba(0,0,0,.5)); }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.gallery__thumb { flex: none; width: 76px; height: 76px; padding: 0; border-radius: var(--radius-sm); overflow: hidden; border: 2px solid transparent; background: var(--cream); }
.gallery__thumb.is-active { border-color: var(--ember); }
.gallery__thumb img, .gallery__thumb picture { width: 100%; height: 100%; object-fit: cover; }
.product-info__title { font-family: var(--display); font-weight: 900; font-size: clamp(1.9rem, 3.4vw, 2.8rem); text-transform: uppercase; line-height: .92; margin-bottom: 12px; }
.product-info__tagline { font-size: 1.12rem; font-weight: 700; color: var(--brown); margin-bottom: 20px; }
.product-info__price { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 20px 0; margin-bottom: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.product-info__short { margin-bottom: 26px; }
.buy-box { display: grid; gap: 16px; padding: 22px; border-radius: var(--radius-lg); background: var(--cream); margin-bottom: 26px; }
.buy-box__row { display: flex; flex-wrap: wrap; gap: 12px; }
.buy-box__btn { flex: 1 1 200px; }
.variant-picker { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.variant-picker legend { font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }
.variant-picker__opt input { position: absolute; opacity: 0; }
.variant-picker__opt span { display: inline-flex; gap: 8px; align-items: center; padding: 10px 18px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-weight: 700; cursor: pointer; transition: border-color .2s, background-color .2s; }
.variant-picker__opt input:checked + span { border-color: var(--char); background: var(--char); color: var(--cream); }
.variant-picker__opt input:focus-visible + span { outline: 3px solid var(--gold); }
.stock-note { margin: 0; font-size: .88rem; font-weight: 700; color: var(--ember); }
.stock-note--muted { color: var(--muted); font-weight: 500; margin-top: 14px; }
.product-info__meta { display: grid; gap: 10px; font-size: .92rem; color: var(--muted); }
.product-info__meta li { display: flex; gap: 10px; align-items: center; }
.product-info__meta .icon { color: var(--ember); }
.product-about { max-width: 820px; margin: clamp(48px, 7vw, 88px) auto 0; padding: clamp(28px, 4vw, 48px); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.product-about__title { font-family: var(--display); font-weight: 900; font-size: 1.65rem; text-transform: uppercase; margin-bottom: 20px; }

/* ---------------------------------------------------------------- about */
.about-main__grid { display: grid; gap: 48px; align-items: center; }
.about-main__media { position: relative; }
.about-main__frame { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5 / 4; }
.about-main__frame picture, .about-main__img { width: 100%; height: 100%; object-fit: cover; }
.about-main__year { position: absolute; left: -8px; bottom: -22px; display: grid; padding: 18px 26px; border-radius: var(--radius); background: var(--ember); color: #fff; box-shadow: var(--shadow-lg); }
.about-main__year span { font-size: .75rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.about-main__year strong { font-family: var(--display); font-size: 2.4rem; line-height: 1; }
@media (min-width: 900px) { .about-main__grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.health__grid { display: grid; gap: 40px; align-items: center; margin-bottom: 56px; }
.health__media { justify-self: center; max-width: 420px; }
@media (min-width: 900px) { .health__grid { grid-template-columns: 1.2fr .8fr; gap: 80px; } }
.pillars { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.pillar { padding: 30px 28px; background: var(--paper); border-radius: var(--radius-lg); border: 1px solid var(--line); }
.pillar h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.35rem; }
.pillar p { color: var(--muted); margin: 0; }

/* ---------------------------------------------------------------- contact */
.contact__grid { display: grid; gap: 48px; }
@media (min-width: 1000px) { .contact__grid { grid-template-columns: .85fr 1.15fr; gap: 72px; } }
.contact-cards { display: grid; gap: 14px; margin-top: 30px; }
.contact-cards li { display: flex; gap: 18px; align-items: center; padding: 18px 20px; background: var(--cream); border-radius: var(--radius-lg); }
.contact-cards .why__icon { margin: 0; width: 52px; height: 52px; }
.contact-cards h3 { font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; font-family: var(--body); }
.contact-cards a, .contact-cards p { font-weight: 700; font-size: 1.08rem; text-decoration: none; margin: 0; word-break: break-word; }
.contact-cards a:hover { color: var(--ember); }
.contact__form-wrap { padding: clamp(24px, 4vw, 44px); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.contact__form-title { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.75rem; }

/* ---------------------------------------------------------------- forms */
.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } .form__row--3 { grid-template-columns: 1.2fr 1fr .8fr; } }
.field { display: grid; gap: 7px; }
.field label { font-size: .85rem; font-weight: 700; color: var(--char); }
.field label small { font-weight: 500; color: var(--muted); }
.field label span { color: var(--ember); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--paper); transition: border-color .2s, box-shadow .2s, background-color .2s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--char); background: #fff; box-shadow: 0 0 0 4px rgba(233, 179, 48, .25); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); background: #fff8f7; }
.field-error { display: block; font-size: .82rem; font-weight: 600; color: var(--error); }
.form__note { font-size: .84rem; color: var(--muted); margin: 0; }
.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; cursor: pointer; }
.checkbox input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ember); flex: none; }
.checkbox.has-error { color: var(--error); }

/* ---------------------------------------------------------------- cart page */
.cart-layout, .checkout__layout { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1000px) { .cart-layout, .checkout__layout { grid-template-columns: 1fr 380px; gap: 48px; } .summary { position: sticky; top: calc(var(--header-h) + 24px); } }
.cart-table__head { display: none; }
.cart-row { display: grid; grid-template-columns: 88px 1fr; gap: 6px 18px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-row__media { grid-row: span 3; }
.cart-row__img { width: 88px; height: 104px; object-fit: cover; border-radius: var(--radius); background: var(--cream); }
.cart-row__name { font-weight: 800; text-decoration: none; font-size: 1.02rem; }
.cart-row__variant { display: block; font-size: .85rem; color: var(--muted); }
.cart-row__remove { display: inline-flex; gap: 6px; align-items: center; margin-top: 6px; padding: 0; border: 0; background: none; font-size: .82rem; color: var(--muted); }
.cart-row__remove:hover { color: var(--ember); }
.cart-row__price, .cart-row__total { font-weight: 700; }
.cart-row__price::before, .cart-row__total::before { content: attr(data-label) ": "; font-weight: 500; color: var(--muted); font-size: .85rem; }
.cart-row__qty .qty { height: 44px; }
.cart-table__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-top: 24px; }
@media (min-width: 760px) {
  .cart-table__head { display: grid; grid-template-columns: 1fr 110px 150px 110px; gap: 18px; padding: 0 0 12px 106px; border-bottom: 2px solid var(--char); font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
  .cart-row { grid-template-columns: 88px 1fr 110px 150px 110px; }
  .cart-row__media { grid-row: auto; }
  .cart-row__price::before, .cart-row__total::before { content: none; }
}
.summary { padding: 28px; background: var(--cream); border-radius: var(--radius-lg); }
.summary--flat { margin: 32px 0; }
.summary__title { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.55rem; margin-bottom: 18px; }
.summary__lines { margin: 0 0 22px; }
.summary__lines div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.summary__lines dt small, .summary__lines dd small { color: var(--muted); font-weight: 500; }
.summary__lines dd { margin: 0; font-weight: 700; text-align: right; }
.summary__total { border-bottom: 0 !important; border-top: 2px solid var(--char); margin-top: 6px; padding-top: 16px !important; font-size: 1.25rem; }
.summary__total dd { font-family: var(--display); font-size: 1.6rem; line-height: 1; }
.summary__note { display: flex; gap: 8px; font-size: .85rem; color: var(--muted); }
.summary__secure { display: flex; gap: 8px; justify-content: center; align-items: center; margin: 14px 0 0; font-size: .82rem; color: var(--muted); }
.summary__items { margin-bottom: 18px; }
.summary__items li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.summary__items li > span:last-child { margin-left: auto; font-weight: 700; }
.summary__thumb { position: relative; flex: none; }
.summary__img { width: 54px; height: 62px; object-fit: cover; border-radius: var(--radius-sm); }
.summary__thumb em { position: absolute; top: -7px; right: -7px; min-width: 22px; height: 22px; border-radius: 11px; background: var(--char); color: #fff; font-style: normal; font-size: .72rem; font-weight: 700; display: grid; place-items: center; }
.summary__name small { display: block; color: var(--muted); }
.checkout__section { border: 0; padding: 0 0 28px; margin: 0 0 28px; border-bottom: 1px solid var(--line); display: grid; gap: 18px; min-width: 0; }
.checkout__section legend { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 900; font-size: 1.4rem; text-transform: uppercase; margin-bottom: 18px; padding: 0; }
.checkout__section legend span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--char); color: var(--gold); font-family: var(--body); font-size: .85rem; }
.choice-list { display: grid; gap: 10px; }
.choice { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.choice:has(input:checked) { border-color: var(--char); box-shadow: 0 0 0 3px rgba(233, 179, 48, .3); }
.choice input { width: 20px; height: 20px; accent-color: var(--ember); flex: none; }
.choice__body { display: grid; gap: 2px; flex: 1; }
.choice__body small { color: var(--muted); }
.choice__price { font-weight: 800; }
.choice__icon { color: var(--muted); }

/* ---------------------------------------------------------------- order received */
.order-received__head { text-align: center; margin-bottom: 36px; }
.order-received__check { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--success); color: #fff; margin-bottom: 18px; }
.order-received__check .icon { width: 38px; height: 38px; stroke-width: 2.4; }
.order-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 24px; }
.order-meta li { padding: 16px 18px; background: var(--cream); border-radius: var(--radius); display: grid; gap: 4px; }
.order-meta span { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.order-addresses { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-bottom: 32px; }
.order-addresses h3, .order-timeline h3 { font-family: var(--display); text-transform: uppercase; font-size: 1.4rem; }
.order-addresses p { color: var(--muted); }
.order-timeline ol { border-left: 2px solid var(--line); padding-left: 22px; margin-bottom: 36px; }
.order-timeline li { position: relative; padding-bottom: 18px; }
.order-timeline li::before { content: ""; position: absolute; left: -29px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--ember); }
.order-timeline time { display: block; font-size: .8rem; color: var(--muted); }
.order-timeline p { margin: 4px 0 0; color: var(--muted); }
.order-received__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------------------------------------------------------------- 404 */
.error-page__code { font-family: var(--display); font-weight: 900; font-size: clamp(5rem, 15vw, 9rem); line-height: .8; margin: 0 0 10px; background: linear-gradient(180deg, var(--ember), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-page__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 28px 0 64px; }

/* ---------------------------------------------------------------- per-product tax labels */
.line-tax { display: block; font-size: .75rem; font-weight: 500; color: var(--muted); white-space: nowrap; }
.summary__amount { margin-left: auto; text-align: right; font-weight: 700; }
.summary__items li > span.summary__amount { margin-left: auto; }
.price-note { font-size: .82rem; font-weight: 700; color: var(--muted); letter-spacing: .04em; }

/* ---------------------------------------------------------------- LIVE ANIMATIONS */
/* scroll progress bar */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 150; background: linear-gradient(90deg, var(--gold), var(--ember-2)); transform: scaleX(0); transform-origin: left; pointer-events: none; }

/* hero embers canvas + drifting smoke */
.hero__embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hero__inner { z-index: 1; }
.motion-ok .hero__smoke { animation: smokeDrift 14s ease-in-out infinite alternate; }
@keyframes smokeDrift { 0% { transform: translate3d(-3%, 0, 0) scale(1); opacity: .85; } 100% { transform: translate3d(4%, -6%, 0) scale(1.12); opacity: 1; } }
.motion-ok .hero__ring::before { animation: glowPulse 4s ease-in-out infinite; }
@keyframes glowPulse { 50% { opacity: .55; transform: scale(1.08); } }

/* flickering flame icons */
.motion-ok .kicker .icon, .motion-ok .why__icon .icon { transform-origin: 50% 90%; }
.motion-ok .kicker .icon { animation: flicker 2.6s ease-in-out infinite; }
@keyframes flicker { 0%, 100% { transform: scale(1) rotate(0); } 25% { transform: scale(1.08, .95) rotate(-4deg); } 50% { transform: scale(.96, 1.06) rotate(3deg); } 75% { transform: scale(1.04) rotate(-2deg); } }

/* scrolling marquee band */
.marquee { position: relative; overflow: hidden; background: var(--gold); color: var(--char); padding: 16px 0; border-block: 3px solid var(--char); transform: rotate(-1.2deg) scale(1.02); margin: -14px 0; z-index: 3; }
.marquee--dark { background: var(--char); color: var(--gold); border-color: var(--ember); transform: rotate(1deg) scale(1.02); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; gap: 34px; padding-right: 34px; flex: none; }
.marquee__item { display: inline-flex; align-items: center; gap: 34px; font-family: var(--display); font-weight: 900; font-size: clamp(1.15rem, 2vw, 1.6rem); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.marquee__item .icon { width: 22px; height: 22px; color: var(--ember); }
.marquee--dark .marquee__item .icon { color: var(--ember-2); }
.no-js .marquee__track, :root:not(.motion-ok) .marquee__track { animation: none; }

/* rotating circular badge */
.spin-badge { position: absolute; top: -34px; left: -34px; width: 132px; height: 132px; border-radius: 50%; background: var(--ember); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); z-index: 2; }
.spin-badge svg.spin-badge__text { position: absolute; inset: 0; width: 100%; height: 100%; }
.motion-ok .spin-badge svg.spin-badge__text { animation: spin 18s linear infinite; }
.spin-badge text { font: 800 10.5px var(--body); letter-spacing: .22em; text-transform: uppercase; fill: #fff; }
.spin-badge__core { position: relative; width: 52px; height: 52px; border-radius: 50%; background: var(--char); display: grid; place-items: center; color: var(--gold); }
.spin-badge__core .icon { width: 26px; height: 26px; }
@media (max-width: 600px) { .spin-badge { width: 104px; height: 104px; top: -20px; left: -10px; } .spin-badge text { font-size: 9px; } }

/* 3D tilt + shine on cards (transform is driven by GSAP on desktop) */
@media (min-width: 900px) and (hover: hover) {
  .motion-ok .product-card, .motion-ok .book-card, .motion-ok .why__item, .motion-ok .guide-card { transition: box-shadow .5s var(--ease), border-color .3s, background-color .3s; will-change: transform; }
  .motion-ok .product-card:hover, .motion-ok .book-card:hover, .motion-ok .why__item:hover { transform: none; }
}
.product-card__media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.35), transparent 45%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.product-card:hover .product-card__media::after { opacity: 1; }

/* floating product images */
.float-y { display: block; }
.motion-ok .float-y { animation: floatY 6s ease-in-out infinite; }
@keyframes floatY { 50% { transform: translateY(-12px) rotate(-1deg); } }

/* animated underline on section titles */
.section-head .section-title::after { content: ""; display: block; width: 0; height: 4px; margin-top: 14px; border-radius: 2px; background: linear-gradient(90deg, var(--ember), var(--gold)); transition: width 1.1s var(--ease) .2s; }
.section-head--center .section-title::after { margin-left: auto; margin-right: auto; }
.section-head .section-title.is-drawn::after, :root:not(.motion-ok) .section-head .section-title::after { width: 64px; }

/* ---------------------------------------------------------------- page transition curtain */
.page-curtain { position: fixed; inset: 0; z-index: 200; background: var(--char); pointer-events: none; opacity: 0; }

/* ---------------------------------------------------------------- animation initial states (only when JS + motion allowed) */
.js.motion-ok [data-reveal], .js.motion-ok [data-reveal-item], .js.motion-ok [data-hero-item] { opacity: 0; }
.js.motion-ok [data-hero-line] { transform: translateY(105%); }
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.split-word > span { display: inline-block; will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------------------------------------------------------------- print */
@media print {
  .topbar, .site-header, .site-footer, .newsletter, .cart-drawer, .toast, .mobile-nav { display: none !important; }
  body { background: #fff; }
}
