/* ==========================================================================
   Barbara's — Smart Menu Demo
   Mobile-first. Uses logical properties so a single stylesheet mirrors
   correctly between Persian (RTL) and English (LTR) via [dir] on <html>.
   ========================================================================== */

/* v0.2.5: Vazirmatn (official OFL-licensed variable font, self-hosted --
   not linked/copied from any third-party site) replaces Lora + Instrument
   Sans everywhere. One variable-font file covers the whole 100-900 weight
   range for both Persian and Latin glyphs.
   NOTE: shipped as .ttf, not .woff2 -- this build environment's package
   sandbox could not reach a brotli encoder to produce a genuine WOFF2
   (network-restricted, confirmed, not skipped by choice). TTF is a fully
   valid, universally supported @font-face format; the only cost is a
   larger transfer size than WOFF2 would give. Flagged in the QC handoff
   as a follow-up optimization, not silently done. */
@font-face {
  font-family: "Vazirmatn";
  src: url("../../fonts/Vazirmatn-Variable.ttf?v=0.2.5") format("truetype-variations");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

body {
  background: var(--color-cream);
  color: var(--color-ink);
  font-family: var(--font-fa);
  font-size: var(--fs-base);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

html[dir="ltr"] body { font-family: var(--font-en-sans); line-height: 1.6; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

.container { max-width: var(--container-max); margin-inline: auto; padding-inline: var(--sp-4); }
@media (min-width: 700px) { .container { padding-inline: var(--sp-6); } }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

.skip-link {
  position: absolute; inset-inline-start: var(--sp-2); top: -60px;
  background: var(--color-forest); color: #fff; padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-sm); z-index: 200; transition: top var(--dur-base) var(--ease);
}
.skip-link:focus { top: var(--sp-2); }

:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ---------------------------------- Header --------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(247, 242, 230, 0.92);
  backdrop-filter: blur(10px);
  border-block-end: 1px solid var(--color-line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); width: 100%; }
.brand { display: flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-lg); font-weight: 700; color: var(--color-forest); }
.brand .flame { color: var(--color-gold); font-size: 0.7em; }
.header-actions { display: flex; align-items: center; gap: var(--sp-2); }
.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: var(--radius-pill); color: var(--color-forest);
  transition: background var(--dur-fast) var(--ease);
}
.icon-btn:hover { background: var(--color-line); }
.icon-btn svg { width: 20px; height: 20px; }
.lang-switch {
  display: flex; align-items: center; gap: 2px; padding: 3px;
  background: var(--color-line); border-radius: var(--radius-pill);
}
.lang-switch button {
  padding: 5px 12px; border-radius: var(--radius-pill); font-size: var(--fs-xs); font-weight: 700;
  color: var(--color-forest);
}
.lang-switch button[aria-pressed="true"] { background: var(--color-forest); color: #fff; }

/* ---------------------------------- Hero ----------------------------------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; overflow: hidden; background: var(--color-forest-deep); color: #fff; }
.hero-media { position: absolute; inset: 0; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,24,18,0.15) 0%, rgba(20,24,18,0.55) 65%, rgba(20,24,18,0.85) 100%);
}
.hero-content { position: relative; z-index: 2; width: 100%; padding-block: var(--sp-8) var(--sp-7); }
.hero-eyebrow { font-style: italic; color: var(--color-gold-soft); font-size: var(--fs-md); margin-block-end: var(--sp-2); }
.hero-title { font-size: var(--fs-2xl); line-height: 1.15; margin-block-end: var(--sp-2); max-width: 18ch; }
html[dir="rtl"] .hero-title-fa { font-family: var(--font-fa); font-weight: 700; }
.hero-sub { font-size: var(--fs-md); color: rgba(255,255,255,0.85); max-width: 42ch; margin-block-end: var(--sp-5); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.hero-skip {
  position: absolute; z-index: 3; top: var(--sp-4); inset-inline-end: var(--sp-4);
  background: rgba(20,20,18,0.45); color: #fff; padding: 8px 14px; border-radius: var(--radius-pill);
  font-size: var(--fs-xs); backdrop-filter: blur(6px);
}
@media (min-width: 700px) { .hero-title { font-size: var(--fs-3xl); } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  padding: 14px 26px; border-radius: var(--radius-pill); font-weight: 700; font-size: var(--fs-base);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
  min-height: 48px;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--color-gold); color: var(--color-charcoal); box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--color-gold-soft); }
.btn-outline { background: rgba(255,255,255,0.08); color: #fff; border: 1.5px solid rgba(255,255,255,0.65); }
.btn-outline:hover { background: rgba(255,255,255,0.18); }
.btn-secondary { background: var(--color-forest); color: #fff; }
.btn-secondary:hover { background: var(--color-forest-deep); }
.btn-ghost { background: transparent; color: var(--color-forest); border: 1.5px solid var(--color-line-strong); }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* --------------------------- Quick categories row --------------------------- */
.quick-cats { padding-block: var(--sp-6); }
.quick-cats h2, .section-title { font-size: var(--fs-xl); color: var(--color-forest); margin-block-end: var(--sp-4); }
html[dir="rtl"] .section-title { font-family: var(--font-fa); font-weight: 800; }
.chip-row { display: flex; gap: var(--sp-2); overflow-x: auto; padding-block-end: var(--sp-1); scrollbar-width: none; }
.chip-row::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; padding: 10px 18px; border-radius: var(--radius-pill);
  background: var(--color-surface); border: 1px solid var(--color-line-strong);
  font-size: var(--fs-sm); font-weight: 600; color: var(--color-ink);
  white-space: nowrap; transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
  min-height: 40px;
}
.chip[aria-pressed="true"], .chip.active { background: var(--color-forest); border-color: var(--color-forest); color: #fff; }

/* -------------------------------- Intro block -------------------------------- */
.intro { padding-block: var(--sp-6); }
.intro-card {
  background: var(--color-surface); border-radius: var(--radius-lg); padding: var(--sp-6);
  display: grid; gap: var(--sp-4); box-shadow: var(--shadow-sm);
}
.intro-meta { display: grid; gap: var(--sp-2); font-size: var(--fs-sm); color: var(--color-muted); }
.intro-meta a { color: var(--color-forest); font-weight: 600; }
.intro-meta .row { display: flex; align-items: center; gap: var(--sp-2); }
.demo-badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: 700;
  color: var(--color-danger); background: rgba(166,64,47,0.09); padding: 6px 12px; border-radius: var(--radius-pill);
  width: fit-content;
}

/* -------------------------------- Menu section -------------------------------- */
.menu-toolbar { position: sticky; top: var(--header-h); z-index: 60; background: var(--color-cream); padding-block: var(--sp-3); border-block-end: 1px solid var(--color-line); }
.search-row { display: flex; gap: var(--sp-2); align-items: center; margin-block-end: var(--sp-3); }
.search-box {
  flex: 1; display: flex; align-items: center; gap: var(--sp-2);
  background: var(--color-surface); border: 1px solid var(--color-line-strong); border-radius: var(--radius-pill);
  padding-inline: var(--sp-4); height: 46px;
}
.search-box svg { width: 18px; height: 18px; color: var(--color-muted); flex-shrink: 0; }
.search-box input { border: none; background: none; flex: 1; font: inherit; color: var(--color-ink); height: 100%; }
.search-box input:focus { outline: none; }
.sort-select {
  height: 46px; border-radius: var(--radius-pill); border: 1px solid var(--color-line-strong);
  background: var(--color-surface); padding-inline: var(--sp-4); font-size: var(--fs-sm); color: var(--color-ink);
}

.result-meta { font-size: var(--fs-xs); color: var(--color-muted); margin-block-end: var(--sp-3); min-height: 1em; }
.result-meta button { color: var(--color-forest); font-weight: 700; text-decoration: underline; }

.menu-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3);
  padding-block: var(--sp-4) var(--sp-8);
}
@media (min-width: 560px) { .menu-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .menu-grid { grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); } }

.category-heading { grid-column: 1 / -1; font-size: var(--fs-lg); color: var(--color-forest); padding-block-start: var(--sp-5); }
html[dir="rtl"] .category-heading { font-family: var(--font-fa); font-weight: 800; }
.category-heading:first-child { padding-block-start: 0; }

.product-card {
  background: var(--color-surface); border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; text-align: start;
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
  position: relative;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.product-card .thumb {
  aspect-ratio: 4 / 3; background: var(--color-line); position: relative; overflow: hidden;
}
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card .thumb.no-photo { display: grid; place-items: center; background: linear-gradient(135deg, var(--color-line) 0%, var(--color-cream-soft) 100%); }
.product-card .thumb.no-photo span {
  font-size: var(--fs-xs); font-weight: 700; color: var(--color-muted);
  background: rgba(255,255,255,0.7); padding: 5px 10px; border-radius: var(--radius-pill);
}
.skeleton { background: linear-gradient(100deg, var(--color-line) 30%, var(--color-cream-soft) 50%, var(--color-line) 70%); background-size: 200% 100%; animation: shimmer 1.3s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

.favorite-btn {
  position: absolute; top: 8px; inset-inline-end: 8px; width: 32px; height: 32px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.85); display: grid; place-items: center; z-index: 2;
  backdrop-filter: blur(4px);
}
.favorite-btn svg { width: 16px; height: 16px; color: var(--color-danger); }
.favorite-btn[aria-pressed="false"] svg { fill: none; stroke: currentColor; stroke-width: 2; color: var(--color-charcoal); }
.favorite-btn[aria-pressed="true"] svg { fill: currentColor; }

.product-card .body { padding: var(--sp-3); display: flex; flex-direction: column; gap: 4px; flex: 1; }
.product-card .name { font-size: var(--fs-sm); font-weight: 700; color: var(--color-ink); }
.product-card .name-other { font-size: var(--fs-xs); color: var(--color-muted); font-style: italic; }
.product-card .desc { font-size: var(--fs-xs); color: var(--color-muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.badge-row { display: flex; gap: 4px; flex-wrap: wrap; margin-block-start: 2px; }
.badge { font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: var(--radius-pill); }
.badge-soon { background: var(--color-line); color: var(--color-muted); }
.badge-trial { background: rgba(198,146,61,0.15); color: #8a6a26; }

.empty-state { grid-column: 1 / -1; text-align: center; padding-block: var(--sp-8); color: var(--color-muted); }

/* ---------------------------- Product detail (modal) --------------------------- */
.detail-overlay {
  position: fixed; inset: 0; background: rgba(20,18,15,0.55); z-index: 300;
  display: flex; align-items: flex-end; opacity: 0; pointer-events: none; transition: opacity var(--dur-base) var(--ease);
}
.detail-overlay.open { opacity: 1; pointer-events: auto; }
@media (min-width: 700px) { .detail-overlay { align-items: center; justify-content: center; padding: var(--sp-6); } }

.detail-panel {
  background: var(--color-cream-soft); width: 100%; max-height: 92vh; overflow-y: auto;
  border-start-start-radius: var(--radius-lg); border-start-end-radius: var(--radius-lg);
  transform: translateY(24px); transition: transform var(--dur-base) var(--ease);
}
.detail-overlay.open .detail-panel { transform: translateY(0); }
@media (min-width: 700px) {
  .detail-panel { max-width: 640px; border-radius: var(--radius-lg); transform: scale(0.97); }
  .detail-overlay.open .detail-panel { transform: scale(1); }
}
.detail-photo { aspect-ratio: 16/10; background: var(--color-line); position: sticky; top: 0; overflow: hidden; }
.detail-photo.no-photo { display: grid; place-items: center; }
.detail-photo.no-photo .gallery-track { display: grid; place-items: center; }
.gallery-track {
  display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide {
  flex: 0 0 100%; width: 100%; height: 100%; scroll-snap-align: start; scroll-snap-stop: always;
  display: grid; place-items: center;
}
.gallery-slide img, .gallery-slide video { width: 100%; height: 100%; object-fit: cover; }
.gallery-dots {
  position: absolute; bottom: var(--sp-3); left: 50%; translate: -50% 0; display: flex; gap: 6px; z-index: 2;
}
.gallery-dot {
  width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.55); border: 1px solid rgba(0,0,0,0.15);
  padding: 0; transition: background var(--dur-base) var(--ease), width var(--dur-base) var(--ease);
}
.gallery-dot.active { background: #fff; width: 18px; border-radius: var(--radius-pill); }
.detail-close {
  position: absolute; top: var(--sp-3); inset-inline-end: var(--sp-3); width: 36px; height: 36px;
  border-radius: var(--radius-pill); background: rgba(255,255,255,0.85); display: grid; place-items: center; z-index: 2;
}
.detail-nav-btn { position: absolute; top: 50%; translate: 0 -50%; width: 36px; height: 36px; border-radius: var(--radius-pill); background: rgba(255,255,255,0.85); display: grid; place-items: center; }
.detail-prev { inset-inline-start: var(--sp-3); }
.detail-next { inset-inline-end: var(--sp-3); }
.detail-body { padding: var(--sp-5); display: grid; gap: var(--sp-4); }
.detail-title-row { display: grid; gap: 2px; }
.detail-title { font-size: var(--fs-xl); font-weight: 800; }
.detail-title-other { font-style: italic; color: var(--color-muted); font-size: var(--fs-md); }
.detail-price-row { display: flex; align-items: center; gap: 8px; }
.price-value { font-size: var(--fs-lg); font-weight: 800; color: var(--color-gold); }
.detail-section-label { font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-gold); }
.ingredient-list { display: flex; flex-wrap: wrap; gap: 6px; }
.ingredient-chip { background: var(--color-surface); border: 1px solid var(--color-line-strong); border-radius: var(--radius-pill); padding: 6px 12px; font-size: var(--fs-xs); }
.notice-box { background: rgba(198,146,61,0.1); border: 1px solid rgba(198,146,61,0.35); border-radius: var(--radius-md); padding: var(--sp-3); font-size: var(--fs-xs); color: #6b5220; line-height: 1.7; }
.similar-row { display: flex; gap: var(--sp-2); overflow-x: auto; }
.similar-row .mini-card { flex: 0 0 128px; }
.similar-row .mini-card img { width: 128px; height: 96px; object-fit: cover; border-radius: var(--radius-sm); }
.similar-row .mini-card .n { font-size: var(--fs-xs); margin-block-start: 4px; font-weight: 600; }

/* Grid items (e.g. .similar-row, a flex container with fixed-width, non-shrinking
   children) can force their min-content size onto the .detail-body grid track,
   pushing .detail-panel wider than the viewport and causing horizontal scroll.
   Reset min-width on grid children and clip as a safety net.
   NOTE: .detail-panel itself is intentionally NOT touched here. It already has
   an explicit width:100% (not auto) at its base rule above, so it can't be
   stretched by content in the first place -- and the desktop media query
   further down caps it at max-width:640px. An earlier version of this fix
   added an unscoped ".detail-panel { max-width: 100% }" here; because it has
   the same specificity as the desktop rule but comes later in the file, it
   silently won on desktop too and blew the modal up to full viewport width
   (caught by ChatGPT QC on Batch 1 -- see git log). Do not re-add it. */
.detail-body { min-width: 0; overflow-x: hidden; }
.detail-body > * { min-width: 0; }

/* .btn-outline is designed for use over dark/photo backgrounds (hero, cards);
   inside the light .detail-body it needs dark text/border to stay legible. */
.detail-panel .btn-outline {
  width: 100%;
  color: var(--color-forest);
  border-color: var(--color-forest);
  background: transparent;
}
.detail-panel .btn-outline:hover { background: rgba(42,59,46,0.08); }

/* -------------------------------- Mood quiz -------------------------------- */
.mood-overlay { position: fixed; inset: 0; background: rgba(20,18,15,0.6); z-index: 400; display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity var(--dur-base) var(--ease); padding: var(--sp-4); }
.mood-overlay.open { opacity: 1; pointer-events: auto; }
.mood-panel { background: var(--color-cream-soft); border-radius: var(--radius-lg); width: 100%; max-width: 520px; max-height: 90vh; overflow-y: auto; padding: var(--sp-6); position: relative; transform: scale(0.96); transition: transform var(--dur-base) var(--ease); }
.mood-overlay.open .mood-panel { transform: scale(1); }
.mood-progress { display: flex; gap: 5px; margin-block-end: var(--sp-5); }
.mood-progress .seg { flex: 1; height: 4px; border-radius: var(--radius-pill); background: var(--color-line); }
.mood-progress .seg.done { background: var(--color-gold); }
.mood-q-title { font-size: var(--fs-lg); font-weight: 800; margin-block-end: var(--sp-4); }
.mood-options { display: grid; gap: var(--sp-2); margin-block-end: var(--sp-5); }
.mood-option {
  display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius-md); border: 1.5px solid var(--color-line-strong); background: var(--color-surface);
  text-align: start; font-size: var(--fs-sm); font-weight: 600; min-height: 48px;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.mood-option[aria-pressed="true"] { border-color: var(--color-forest); background: rgba(42,59,46,0.06); }
.mood-option .ico { font-size: 1.2em; }
.mood-actions { display: flex; justify-content: space-between; gap: var(--sp-2); }
.mood-close { position: absolute; top: var(--sp-3); inset-inline-end: var(--sp-3); width: 34px; height: 34px; border-radius: var(--radius-pill); background: var(--color-line); display: grid; place-items: center; }

.mood-results-banner {
  background: linear-gradient(120deg, var(--color-forest), var(--color-forest-deep));
  color: #fff; border-radius: var(--radius-lg); padding: var(--sp-4) var(--sp-5); margin-block-end: var(--sp-5);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-3);
}
.mood-results-banner p { font-size: var(--fs-sm); opacity: 0.9; }
.mood-reason { font-size: var(--fs-xs); color: var(--color-forest); background: rgba(42,59,46,0.08); border-radius: var(--radius-sm); padding: 4px 8px; margin-block-start: 4px; display: inline-block; }

/* -------------------------------- Footer / intro -------------------------------- */
.site-footer { background: var(--color-forest-deep); color: rgba(255,255,255,0.85); padding-block: var(--sp-8); margin-block-start: var(--sp-8); }
.footer-grid { display: grid; gap: var(--sp-5); }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.footer-brand { font-size: var(--fs-xl); color: #fff; margin-block-end: var(--sp-2); }
.footer-col h4 { font-size: var(--fs-sm); color: var(--color-gold-soft); margin-block-end: var(--sp-3); text-transform: uppercase; letter-spacing: 0.04em; }
.footer-col a, .footer-col p { display: block; font-size: var(--fs-sm); margin-block-end: var(--sp-2); color: rgba(255,255,255,0.8); }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-block-start: var(--sp-6); padding-block-start: var(--sp-5); border-block-start: 1px solid rgba(255,255,255,0.15); font-size: var(--fs-xs); color: rgba(255,255,255,0.55); }

/* -------------------------------- Bottom nav -------------------------------- */
.bottom-nav {
  position: fixed; bottom: 0; inset-inline: 0; height: var(--bottom-nav-h); z-index: 150;
  background: var(--color-cream-soft); border-block-start: 1px solid var(--color-line);
  display: flex; padding-bottom: env(safe-area-inset-bottom);
}
.bottom-nav a, .bottom-nav button {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  font-size: 11px; font-weight: 600; color: var(--color-muted);
}
.bottom-nav a.active, .bottom-nav button.active { color: var(--color-forest); }
.bottom-nav svg { width: 21px; height: 21px; }
body { padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { .bottom-nav { display: none; } body { padding-bottom: 0; } }

/* -------------------------------- Toast -------------------------------- */
.toast { position: fixed; bottom: calc(var(--bottom-nav-h) + var(--sp-3)); inset-inline: var(--sp-4); z-index: 500; display: flex; justify-content: center; pointer-events: none; }
@media (min-width: 900px) { .toast { bottom: var(--sp-5); } }
.toast .msg {
  background: var(--color-charcoal); color: #fff; padding: 10px 18px; border-radius: var(--radius-pill);
  font-size: var(--fs-sm); box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(8px);
  transition: opacity var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
}
.toast .msg.show { opacity: 1; transform: translateY(0); }

/* -------------------------------- Utility -------------------------------- */
.section-pad { padding-block: var(--sp-7); }
.text-center { text-align: center; }
.mt-0 { margin-block-start: 0; }

@media (prefers-reduced-motion: reduce) {
  .product-card:hover { transform: none; }
}
