/* ==========================================================================
   BIKERS PALACE MADURAI — "Workshop editorial" design system
   Ink + paper, one signal-yellow accent from the logo. Vanilla CSS.
   ========================================================================== */
:root {
  --ink: #0e0f11;
  --ink-2: #1b1d21;
  --graphite: #3a3d43;
  --muted: #6b6f76;
  --line: #e4dfd5;
  --line-strong: #cfc8ba;
  --paper: #f5f2eb;
  --card: #ffffff;
  --yellow: #ffc61a;
  --yellow-deep: #e8a900;
  --sky: #3e97d6;
  --red: #d93a26;
  --green: #1f8a4c;

  --font-display: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(14, 15, 17, 0.05), 0 8px 24px rgba(14, 15, 17, 0.06);
  --shadow-lift: 0 2px 4px rgba(14, 15, 17, 0.06), 0 16px 40px rgba(14, 15, 17, 0.12);
  --max: 1280px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  overflow-x: hidden !important;
  touch-action: pan-y pinch-zoom;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
body {
  margin: 0;
  /* clip (not hidden) so the body is not a scroll box: keeps sticky header/toolbar working */
  overflow-x: clip !important;
  touch-action: pan-y pinch-zoom;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 12px/1.35 var(--font-body);
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ''; width: 18px; height: 2px; background: var(--yellow); }
.display {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.005em; line-height: 0.95; margin: 0;
}
.h-xl { font-size: clamp(44px, 7.4vw, 96px); }
.h-lg { font-size: clamp(34px, 4.6vw, 56px); }
.h-md { font-size: clamp(24px, 2.6vw, 32px); }
.lede { font-size: clamp(16px, 1.4vw, 19px); color: var(--graphite); max-width: 56ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 24px; border-radius: var(--radius-sm); border: 1.5px solid transparent;
  font: 700 15px/1 var(--font-body); letter-spacing: 0.02em; text-decoration: none;
  transition: background-color .15s, color .15s, border-color .15s, transform .08s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #ffd451; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-2); }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-block { width: 100%; }
.icon-btn {
  position: relative; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: inherit;
}
.icon-btn:hover { background: rgba(14,15,17,.06); }
.badge-count {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--yellow); color: var(--ink);
  font: 700 11px/18px var(--font-body); text-align: center;
}
.badge-count[data-count="0"] { display: none; }

/* ---------- Announcement ---------- */
.announce {
  background: var(--ink); color: #d9d6cf; font-size: 13px; text-align: center;
  padding: 8px var(--gutter);
}
.announce strong { color: var(--yellow); font-weight: 600; }
.announce a { color: #fff; text-underline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 242, 235, 0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 18px rgba(14,15,17,.05); }
.header-row { height: var(--header-h); display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 38px; height: 50px; object-fit: contain; }
.brand-text { font: 800 22px/0.9 var(--font-display); text-transform: uppercase; letter-spacing: .02em; }
.brand-text small { display: block; font: 600 10px/1.4 var(--font-body); letter-spacing: .22em; color: var(--muted); }
.main-nav { display: flex; gap: 4px; margin-left: 8px; }
.main-nav a {
  padding: 8px 12px; border-radius: 999px; text-decoration: none;
  font-size: 14px; font-weight: 600; color: var(--graphite);
}
.main-nav a:hover { background: rgba(14,15,17,.06); color: var(--ink); }
.header-search { flex: 1; max-width: 420px; margin-left: auto; position: relative; }
.header-search input {
  width: 100%; height: 44px; padding: 0 16px 0 44px; border-radius: 999px;
  border: 1.5px solid var(--line-strong); background: #fff; font-size: 15px;
}
.header-search input:focus { outline: none; border-color: var(--ink); }
.header-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.header-actions { display: flex; align-items: center; gap: 2px; }
.menu-btn, .search-btn-mobile { display: none; }

/* the menu button takes over as soon as the nav links are hidden (tablets included) */
@media (max-width: 1080px) { .main-nav { display: none; } .menu-btn { display: grid; } }
@media (max-width: 760px) {
  :root { --header-h: 60px; }
  .header-row { gap: 6px; }
  .menu-btn, .search-btn-mobile { display: grid; }
  .header-search { display: none; }
  .brand { margin-right: auto; }
  .brand img { width: 30px; height: 40px; }
  .brand-text { font-size: 19px; }
  .wish-btn { display: none; }
  .hide-sm { display: none; }
}
/* smallest phones (320–374px): keep the cart icon on screen */
@media (max-width: 374px) {
  .header-row { gap: 2px; }
  .header-row .icon-btn { width: 40px; }
  .brand { gap: 6px; }
  .brand img { width: 26px; height: 35px; }
  .brand-text { font-size: 17px; }
  .brand-text small { font-size: 9px; letter-spacing: .12em; }
  .simple-nav .btn { padding: 0 12px; }
}

/* ---------- Hero film (hero-film.js + hero-film-gl.js) ----------
   The film carries no text: the shop button + switcher sit in .film-bar below it.
   No JS: 16:9 poster + bar. .is-live: tall section, sticky stage, canvas scrubbed by scroll.
   .is-still (reduced motion / ?still): poster + bar, switcher swaps the poster. */
.film {
  --announce-h: 36px; /* set from .announce by hero-film.js */
  --film-stage-h: calc(100vh - var(--header-h) - var(--announce-h));
  position: relative; color: #fff; background: var(--ink);
}
@supports (height: 100svh) {
  .film { --film-stage-h: calc(100svh - var(--header-h) - var(--announce-h)); }
}
.film-stage { position: relative; display: flex; flex-direction: column; background: var(--ink); }
.film-frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; max-height: 74vh; background: var(--ink); }
.film-poster, .film-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.film-poster { object-fit: cover; }
/* JS on (head script adds .hf-js): hide the no-JS poster until hero-film.js takes over, so it doesn't flash
   before the film; it shows anyway after 4s if the script never runs. */
.hf-js .film:not(.is-live):not(.is-still) .film-poster { visibility: hidden; animation: hf-show-poster 0s 4s forwards; }
@keyframes hf-show-poster { to { visibility: visible; } }
.film-canvas { display: none; transition: opacity .15s ease; }

.film-bar { flex: 0 0 auto; border-top: 1px solid rgba(255,255,255,.08); }
.film-bar-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 76px; padding-top: 12px; padding-bottom: 12px;
  padding-right: calc(var(--gutter) + 64px); /* keep clear of the WhatsApp button */
}
.film-shop .btn { height: 46px; }
.film-switch { display: flex; align-items: center; gap: 8px; min-width: 0; }
.film-pills { display: flex; gap: 8px; min-width: 0; overflow-x: auto; scrollbar-width: none; padding: 5px 4px; margin: -5px -4px; } /* room for the focus ring */
.film-pills::-webkit-scrollbar { display: none; }
.film-pill, .film-arrow {
  flex-shrink: 0; height: 38px; border-radius: 999px; color: #e9e5dc;
  border: 1.5px solid rgba(255,255,255,.28); background: rgba(255,255,255,.04);
  transition: background-color .15s, border-color .15s, color .15s;
}
.film-pill { padding: 0 16px; font: 600 13px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.film-arrow { width: 38px; display: grid; place-items: center; }
.film-pill:hover, .film-arrow:hover { border-color: rgba(255,255,255,.75); color: #fff; }
.film-pill[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.film-pill[aria-pressed="true"]:focus-visible { outline-color: #fff; }

.film.is-live { height: calc(var(--film-stage-h) + 300vh); } /* ~3 screens of scrolling per film */
.film.is-live .film-stage { position: sticky; top: var(--header-h); height: var(--film-stage-h); }
.film.is-live .film-frame { flex: 1 1 auto; min-height: 0; aspect-ratio: auto; max-height: none; }
.film.is-live .film-canvas { display: block; }
.film.is-live .film-poster { display: none; }
.film.is-live.film-failed .film-canvas { display: none; }
.film.is-live.film-failed .film-poster { display: block; }
.film.is-swapping .film-canvas { opacity: 0; }
@media (max-width: 760px) {
  .film { --film-stage-h: calc(100vh - var(--header-h) - var(--announce-h) - 64px); }
  @supports (height: 100svh) {
    .film { --film-stage-h: calc(100svh - var(--header-h) - var(--announce-h) - 64px); }
  }
  .film-bar-row { flex-direction: column; align-items: stretch; gap: 24px; padding-right: var(--gutter); } /* gap keeps the shop button above the WhatsApp button */
  .film-shop .btn { width: 100%; }
  .film-arrow { display: none; }
  .film-switch { padding-right: 64px; }
}

/* ---------- Trust strip ---------- */
.trust { background: var(--ink); color: #e7e3da; }
.trust-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.trust-item { display: flex; align-items: center; gap: 12px; padding: 18px 16px; border-left: 1px solid rgba(255,255,255,.08); }
.trust-item:first-child { border-left: 0; }
.trust-item svg { flex-shrink: 0; color: var(--yellow); }
.trust-item b { display: block; font-size: 14px; color: #fff; font-weight: 600; }
.trust-item span { font-size: 12.5px; color: #a9a59c; }
@media (max-width: 900px) {
  .trust-row { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item { border-top: 1px solid rgba(255,255,255,.08); padding: 14px 10px; }
}

/* ---------- Section frame ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head .display { margin-top: 10px; }
.link-arrow { font-weight: 600; font-size: 15px; text-decoration: none; border-bottom: 2px solid var(--yellow); padding-bottom: 2px; }
.link-arrow:hover { border-color: var(--ink); }

/* ---------- Category rail ---------- */
.cat-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(168px, 1fr);
  gap: 14px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.cat-tile {
  scroll-snap-align: start; text-decoration: none; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s, border-color .2s; text-align: left; padding: 0;
}
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--line-strong); }
.cat-tile figure { position: relative; margin: 0; aspect-ratio: 1; background: #fff; overflow: hidden; }
.cat-tile img { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); object-fit: contain; }
.cat-tile div { padding: 12px 14px 14px; border-top: 1px solid var(--line); }
.cat-tile b { display: block; font: 700 17px/1.05 var(--font-display); text-transform: uppercase; letter-spacing: .01em; }
.cat-tile span { font-size: 12.5px; color: var(--muted); }

/* ---------- Catalogue ---------- */
.catalogue { background: var(--paper); }
.toolbar {
  position: sticky; top: var(--header-h); z-index: 20;
  background: rgba(245, 242, 235, 0.95);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  padding: 12px 0; margin-bottom: 20px; border-bottom: 1px solid var(--line);
}
.toolbar-row { display: flex; gap: 10px; align-items: center; }
.cat-search { position: relative; flex: 1; max-width: 360px; }
.cat-search input {
  width: 100%; height: 42px; padding: 0 14px 0 40px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line-strong); background: #fff; font-size: 15px;
}
.cat-search input:focus { outline: none; border-color: var(--ink); }
.cat-search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.sort-select {
  height: 42px; padding: 0 36px 0 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--line-strong);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%236b6f76' stroke-width='2'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 13px center;
  appearance: none; font-size: 14px; font-weight: 600;
}
.result-meta { margin-left: auto; font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0; height: 36px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line-strong);
  background: #fff; font-size: 13.5px; font-weight: 600; color: var(--graphite); display: inline-flex; align-items: center; gap: 8px;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip small { font-size: 11.5px; font-weight: 700; color: var(--muted); }
.chip[aria-pressed="true"] small { color: var(--yellow); }

.group-head {
  grid-column: 1 / -1; display: flex; align-items: baseline; gap: 12px;
  margin: 28px 0 2px; padding-bottom: 10px; border-bottom: 1px solid var(--line-strong);
}
.group-head:first-child { margin-top: 0; }
.group-head h3 { margin: 0; font: 800 26px/1 var(--font-display); text-transform: uppercase; letter-spacing: .01em; }
.group-head span { font-size: 13px; color: var(--muted); font-weight: 600; }

.grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px;
}
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .toolbar { padding: 10px 0 8px; }
  .cat-search { max-width: none; }
  .sort-select { width: 128px; padding-right: 28px; background-position: right 10px center; font-size: 13px; }
  .result-meta { display: none; }
  .chips { padding-top: 10px; }
  .group-head h3 { font-size: 22px; }
}

.card {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow-lift); border-color: var(--line-strong); transform: translateY(-2px); }
.card-media {
  position: relative; aspect-ratio: 1; background: #fff; padding: 0; border: 0; display: block; width: 100%; overflow: hidden;
}
.card-media img { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: contain; transition: transform .35s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.card-tag {
  position: absolute; top: 10px; left: 10px; padding: 4px 8px; border-radius: 4px;
  font: 700 11px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; background: var(--ink); color: var(--yellow);
}
.card-tag.sale { background: var(--red); color: #fff; }
.card-wish {
  position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255,255,255,.92); display: grid; place-items: center; color: var(--graphite);
}
.card-wish[aria-pressed="true"] { color: var(--red); border-color: #f2c6bf; }
.card-wish[aria-pressed="true"] svg { fill: currentColor; }
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; border-top: 1px solid var(--line); }
.card-cat { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-title {
  margin: 0; font: 700 15px/1.25 var(--font-body); color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em;
  background: none; border: 0; padding: 0; text-align: left; cursor: pointer;
}
.card-title:hover { text-decoration: underline; text-underline-offset: 3px; }
.card-price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 4px; }
.card-price b { font: 800 22px/1 var(--font-display); letter-spacing: .01em; }
.card-price s { font-size: 13px; color: var(--muted); }
.card-price .off { font-size: 12px; font-weight: 700; color: var(--green); }
.card-add { margin-top: 8px; height: 42px; font-size: 14px; }
.card-add[disabled] { background: #e9e6df; color: var(--muted); cursor: not-allowed; }
@media (max-width: 760px) {
  .card-body { padding: 10px 10px 12px; }
  .card-title { font-size: 14px; }
  .card-price b { font-size: 20px; }
  .card-add { height: 40px; font-size: 13px; padding: 0 10px; }
}
.empty-state { grid-column: 1 / -1; text-align: center; padding: 60px 16px; color: var(--muted); }

/* ---------- Reels ---------- */
.reels { background: var(--ink); color: #fff; }
.reels .eyebrow { color: #bdb8ae; }
.reels .link-arrow { color: #fff; }
.reel-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 14px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.reel {
  position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; background: #222;
  scroll-snap-align: start; text-decoration: none; color: #fff;
}
.reel video, .reel img { width: 100%; height: 100%; object-fit: cover; }
.reel figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 14px;
  background: linear-gradient(0deg, rgba(0,0,0,.8), rgba(0,0,0,0)); font-weight: 600; font-size: 14px;
}

/* ---------- Store ---------- */
.store-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.store-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: #ddd; }
.store-photo img { width: 100%; height: 100%; object-fit: cover; }
.store-info h2 { margin: 12px 0 16px; }
.store-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 16px; }
.store-list li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; }
.store-list svg { color: var(--ink); margin-top: 2px; }
.store-list b { display: block; font-size: 14px; }
.store-list span, .store-list a { font-size: 15px; color: var(--graphite); }
.store-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.quote {
  margin: 28px 0 0; padding: 18px 20px; border-left: 3px solid var(--yellow); background: var(--card);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 15px; color: var(--graphite);
}
.quote cite { display: block; margin-top: 8px; font-style: normal; font-weight: 700; color: var(--ink); font-size: 13.5px; }
@media (max-width: 860px) { .store-grid { grid-template-columns: 1fr; } .store-photo { aspect-ratio: 4 / 3.4; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #bdb8ae; padding: 64px 0 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { margin: 0 0 14px; color: #fff; font: 700 15px/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; color: #bdb8ae; }
.site-footer a:hover { color: #fff; }
.footer-brand p { max-width: 36ch; margin: 14px 0 0; }
.footer-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Drawers & modal ---------- */
.scrim { position: fixed; inset: 0; z-index: 90; background: rgba(14,15,17,.5); opacity: 0; pointer-events: none; transition: opacity .2s; }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; bottom: 0; right: 0; z-index: 100; width: min(440px, 100%);
  background: var(--paper); display: flex; flex-direction: column; transform: translateX(102%);
  transition: transform .28s cubic-bezier(.2,.8,.2,1); box-shadow: -12px 0 40px rgba(0,0,0,.18);
}
.drawer.left { right: auto; left: 0; transform: translateX(-102%); }
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font: 800 24px/1 var(--font-display); text-transform: uppercase; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.drawer-foot { padding: 16px 20px; padding-bottom: max(16px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.ship-meter { font-size: 13.5px; color: var(--graphite); margin-bottom: 14px; }
.ship-meter .bar { height: 6px; border-radius: 999px; background: var(--line); margin-top: 8px; overflow: hidden; }
.ship-meter .bar i { display: block; height: 100%; background: var(--yellow); border-radius: 999px; transition: width .3s; }
.line-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line-item img { width: 72px; height: 72px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.line-item h4 { margin: 0 0 4px; font-size: 14px; line-height: 1.3; }
.line-item .price { font-weight: 700; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-strong); border-radius: 999px; margin-top: 8px; }
.qty button { width: 32px; height: 30px; border: 0; background: none; font-size: 16px; }
.qty span { min-width: 22px; text-align: center; font-weight: 700; font-size: 14px; }
.remove-btn { border: 0; background: none; color: var(--muted); font-size: 13px; text-decoration: underline; align-self: start; }
.drawer-empty { text-align: center; padding: 56px 12px; color: var(--muted); }
.drawer-empty .btn { margin-top: 16px; }
.subtotal { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.subtotal b { font: 800 28px/1 var(--font-display); }
.fine { font-size: 12.5px; color: var(--muted); text-align: center; margin: 10px 0 0; }
.menu-links { list-style: none; padding: 0; margin: 0; }
.menu-links a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font: 700 22px/1 var(--font-display); text-transform: uppercase; }

.modal {
  position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 16px;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.modal.open { opacity: 1; pointer-events: auto; }
.modal-card {
  position: relative; width: min(960px, 100%); max-height: calc(100vh - 32px); overflow: auto;
  background: var(--paper); border-radius: 14px; display: grid; grid-template-columns: 1.1fr 1fr;
  box-shadow: 0 30px 80px rgba(0,0,0,.35); transform: translateY(12px); transition: transform .25s;
}
.modal.open .modal-card { transform: none; }
.modal-close { position: absolute; top: 10px; right: 10px; z-index: 2; background: #fff; border: 1px solid var(--line); }
.qv-gallery { background: #fff; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.qv-main { aspect-ratio: 1; display: grid; place-items: center; }
.qv-main img { width: 100%; height: 100%; object-fit: contain; }
.qv-thumbs { display: flex; gap: 8px; overflow-x: auto; }
.qv-thumbs button { width: 64px; height: 64px; flex-shrink: 0; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; padding: 4px; }
.qv-thumbs button[aria-pressed="true"] { border-color: var(--ink); }
.qv-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.qv-info { padding: 28px 28px 24px; display: flex; flex-direction: column; gap: 12px; }
.qv-info h2 { margin: 0; font: 800 34px/1 var(--font-display); text-transform: uppercase; }
.qv-price { display: flex; align-items: baseline; gap: 10px; }
.qv-price b { font: 800 34px/1 var(--font-display); }
.qv-price s { color: var(--muted); }
.qv-desc { color: var(--graphite); font-size: 15px; white-space: pre-line; }
.qv-points { list-style: none; padding: 0; margin: 4px 0; display: grid; gap: 6px; font-size: 14px; color: var(--graphite); }
.qv-points li::before { content: '✓'; color: var(--green); font-weight: 800; margin-right: 8px; }
.qv-actions { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin-top: auto; }
.qv-actions .qty { margin: 0; height: 50px; }
.qv-actions .qty button { height: 48px; width: 40px; }
@media (max-width: 760px) {
  .modal { padding: 0; place-items: end center; }
  .modal-card { grid-template-columns: 1fr; max-height: 92vh; border-radius: 16px 16px 0 0; }
  .qv-info { padding: 20px 18px 24px; }
  .qv-info h2, .qv-price b { font-size: 28px; }
}

/* ---------- Toast, floating WhatsApp, mobile bar ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 130; transform: translate(-50%, 20px); opacity: 0;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-size: 14px; font-weight: 500;
  box-shadow: 0 12px 30px rgba(0,0,0,.25); transition: opacity .2s, transform .2s; pointer-events: none; max-width: calc(100% - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.wa-float {
  position: fixed; right: 18px; bottom: 22px; z-index: 40; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0,0,0,.2);
}
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(4, 1fr);
    background: rgba(14,15,17,.96); padding: 6px 4px max(6px, env(safe-area-inset-bottom));
  }
  .mobile-bar a, .mobile-bar button {
    position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0;
    color: #cfcac0; text-decoration: none; font-size: 11px; font-weight: 600; border: 0; background: none;
  }
  .mobile-bar .badge-count { top: 0; right: calc(50% - 22px); }
  body { padding-bottom: 64px; }
  .wa-float { bottom: 84px; right: 14px; width: 52px; height: 52px; }
  .toast { bottom: 84px; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .card-media img, .cat-tile { transition: none; }
}

/* ---------- Simple pages (about, contact) ---------- */
.page-hero { background: var(--ink); color: #fff; padding: clamp(56px, 9vw, 112px) 0 clamp(40px, 6vw, 72px); }
.page-hero .eyebrow { color: #bdb8ae; }
.page-hero h1 { margin: 14px 0 16px; max-width: 16ch; }
.page-hero .lede { color: #d9d5cc; }
.prose { max-width: 68ch; font-size: 17px; color: var(--graphite); }
.prose p { margin: 0 0 18px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature h3 { margin: 0 0 8px; font: 800 22px/1 var(--font-display); text-transform: uppercase; }
.feature p { margin: 0; color: var(--graphite); font-size: 15px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.contact-card h2 { margin: 0; font: 800 26px/1 var(--font-display); text-transform: uppercase; }
.contact-card p { margin: 0; color: var(--graphite); }
.contact-card .btn { margin-top: auto; align-self: flex-start; }
.simple-nav { display: flex; gap: 6px; margin-left: auto; align-items: center; }
.simple-nav a:not(.btn) { padding: 8px 12px; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 600; color: var(--graphite); }
.simple-nav a:not(.btn):hover { background: rgba(14,15,17,.06); }
.simple-nav .btn { height: 42px; padding: 0 18px; font-size: 14px; }
@media (max-width: 760px) { .simple-nav a:not(.btn) { display: none; } }
