/* ==========================================================
   סבטלנה – מעדניית בוטיק · עמוד נחיתה
   גדלי הטקסט ב-rem, כדי שהגדלת הטקסט בתפריט הנגישות תעבוד בכל העמוד.
   ========================================================== */

:root {
  --bg:          #0B1220;
  --bg-hero:     #03101F;
  --bg-hero-end: #02040A;
  --bg-footer:   #070C16;
  --surface:     #111B2C;
  --surface-2:   #172338;
  --border:      #243149;
  --line:        #1E293D;
  --line-strong: #34425C;
  --accent:      #A5DBE7;
  --accent-hover:#CFEDF4;
  --accent-deep: #4983A9;
  --on-accent:   #0B1220;
  --text:        #EEF3F7;
  --text-2:      #B3C0CE;
  --muted:       #94A3B6;
  --strike:      #8797AC;

  /* גופנים (נבחרו עם איתן 2.10.2026):
     display = כותרות גדולות (Amatic SC, בכתב יד – צר, לכן הכותרות גדולות יותר)
     body    = טקסט, שמות מוצרים ומחירים (Varela Round)
     sans    = כותרות קטנות, הערות ואזהרות (Assistant)
     menu / btn / digits = התפריט, הכפתורים והשעון – כל אחד ניתן להחלפה בשורה אחת */
  --font-display: 'Amatic SC', 'Varela Round', 'Segoe UI', Arial, sans-serif;
  --font-body:    'Varela Round', 'Assistant', 'Segoe UI', Arial, sans-serif;
  --font-sans:    'Assistant', 'Segoe UI', Arial, sans-serif;
  --font-menu:    var(--font-body);
  --menu-scale:   1;    /* אם מחזירים את התפריט ל-Amatic (var(--font-display)) – 1.35, כי הוא צר */
  --font-btn:     var(--font-body);
  --font-digits:  var(--font-body);
  --ease: cubic-bezier(.22, .7, .22, 1);
  --gutter: 20px;
  --radius: 6px;

  color-scheme: dark;
}

/* רוסית: ב-Amatic SC יש קירילית. ב-Varela Round וב-Assistant אין, אז Nunito ו-IBM Plex Sans במקומם */
html.lang-ru {
  --font-display: 'Amatic SC', 'Nunito', 'Segoe UI', Arial, sans-serif;
  --font-body:    'Nunito', 'IBM Plex Sans', 'Segoe UI', Arial, sans-serif;
  --font-sans:    'IBM Plex Sans', 'Segoe UI', Arial, sans-serif;
}
html.i18n-pending body { visibility: hidden; }

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--bg-hero);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
main:focus { outline: none; }
button { font-family: inherit; }

.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; top: -100px; inset-inline-start: 16px; z-index: 100;
  background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 4px; font-weight: 700;
}
.skip-link:focus { top: 16px; }

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

/* מקומות שמורים – פרטים שעוד חסרים. בולטים בכוונה. */
.ph {
  display: inline-block;
  padding: 0 .35em;
  border: 1px dashed var(--accent-deep);
  border-radius: 3px;
  color: var(--accent);
  background: rgba(73, 131, 169, .12);
  font-family: var(--font-sans);
  font-weight: 600;
  line-height: 1.35;
  font-size: .82em;
  vertical-align: middle;
  white-space: nowrap;
}

.eyebrow {
  margin: 0;
  font-family: var(--font-sans);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--accent);
}

.section-head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 28px; }
.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 11vw, 4.4rem);
  line-height: 1;
}

/* אזהרת אלכוהול: מסגרת, ניגודיות מלאה, גופן ברור */
.alcohol-warning {
  display: inline-block;
  margin: 0;
  padding: 4px 8px;
  border: 1px solid var(--text);
  background: rgba(0, 0, 0, .55);
  color: var(--text);
  font-family: 'Assistant', Arial, sans-serif;
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.35;
}
.warning-ru { display: none; }
html.lang-ru .warning-ru { display: block; margin-top: 2px; font-size: .9em; font-weight: 400; font-family: var(--font-sans); }

/* ---------- כפתורים ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 18px;
  white-space: nowrap;
  border-radius: 4px;
  font-family: var(--font-btn); font-size: 1.0625rem; font-weight: 700;
  text-decoration: none;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.98); }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-outline { border: 1px solid var(--accent); color: var(--accent); }
.btn-outline:hover { background: rgba(165, 219, 231, .08); color: var(--accent-hover); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--muted); color: var(--text); }

/* ==========================================================
   Header
   ========================================================== */

.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 10;
  height: 80px;
  padding: 0 var(--gutter);
  padding-top: env(safe-area-inset-top);
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: block; }
.brand img { height: 54px; width: auto; }

.lang-btn {
  min-width: 48px; height: 44px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(3, 16, 31, .45); color: var(--text);
  border: 1px solid var(--line-strong); border-radius: 22px;
  font: 600 .875rem/1 var(--font-sans); letter-spacing: .12em;
  cursor: pointer;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.lang-btn:hover { border-color: var(--accent); color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(3, 16, 31, .45); color: var(--text);
  border: 1px solid var(--line-strong); border-radius: 50%;
  cursor: pointer;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.menu-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- תפריט ---------- */
html.menu-open { overflow: hidden; }
.site-menu {
  position: fixed; inset: 0; z-index: 80;
  display: flex; flex-direction: column;
  padding: calc(18px + env(safe-area-inset-top)) var(--gutter) calc(28px + env(safe-area-inset-bottom));
  background: rgba(3, 10, 20, .97);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; transform: translateY(-12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  overflow-y: auto;
}
.site-menu[hidden] { display: none; }
.site-menu.is-open { opacity: 1; transform: none; }
.site-menu-head { display: flex; align-items: center; justify-content: space-between; min-height: 62px; }
.menu-close {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  background: transparent; color: var(--text);
  border: 1px solid var(--line-strong); border-radius: 50%; cursor: pointer;
}
.site-menu-list {
  list-style: none; margin: 16px 0 0; padding: 0;
  display: flex; flex-direction: column;
  width: 100%; max-width: 560px; margin-inline: auto;
}
.menu-item { border-bottom: 1px solid var(--line); }
.menu-toggle {
  width: 100%; min-height: 64px; padding: 14px 0;
  display: flex; align-items: center; gap: 14px;
  background: transparent; border: 0; color: var(--text);
  font-family: var(--font-menu); font-size: calc(clamp(1.375rem, 6vw, 1.875rem) * var(--menu-scale)); line-height: 1.2;
  text-align: start; cursor: pointer;
  transition: color .25s var(--ease);
}
.menu-toggle:hover, .menu-toggle[aria-expanded="true"] { color: var(--accent); }
.menu-link { text-decoration: none; }
.menu-link:hover { color: var(--accent); }
.menu-dot { width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: var(--accent); }
.menu-chev { margin-inline-start: auto; flex-shrink: 0; color: var(--muted); transition: transform .3s var(--ease); }
.menu-toggle[aria-expanded="true"] .menu-chev { transform: rotate(180deg); color: var(--accent); }

/* החלון הקטן שנפתח מתחת לפריט */
.menu-panel {
  margin: 0 0 16px; padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  animation: panel-in .3s var(--ease);
}
.menu-panel[hidden] { display: none; }
@keyframes panel-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
html.no-motion .menu-panel { animation: none; }
.menu-row { margin: 0; font-size: 1.0625rem; }

/* ---------- פתוח עכשיו / סגור (js/hours.js) ---------- */
.open-status {
  --dot: var(--muted);
  margin: 0;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .9375rem; font-weight: 600; color: var(--text);
}
.open-status:empty { display: none; }
.open-status::before {
  content: ""; flex-shrink: 0;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--dot);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--dot) 25%, transparent);
}
.open-status[data-state="open"] { --dot: #6FD3A0; }
.open-status[data-state="soon"],
.open-status[data-state="holiday"] { --dot: #F4C95D; }
.open-status[data-state="closed"] { --dot: #E58A8A; }
.hero-open {
  padding: 6px 14px; border-radius: 999px;
  background: rgba(8, 14, 25, .7); border: 1px solid var(--line-strong);
  font-size: .875rem;
}
.footer-info .footer-open { margin-bottom: 4px; }
.footer-open .open-status { font-size: .9375rem; }
.menu-text { margin: 0; color: var(--text-2); font-size: .9375rem; }
.menu-phone { margin: 0; font-size: .9375rem; color: var(--muted); }
.menu-phone a, .menu-row a { color: var(--text); font-weight: 600; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: .9375rem; }
.menu-deals { list-style: none; margin: 0; padding: 0; width: 100%; display: flex; flex-direction: column; gap: 6px; }
.menu-deals li { display: flex; justify-content: space-between; gap: 12px; font-size: .9375rem; }
.menu-deal-price { color: var(--accent); font-family: var(--font-body); }
.menu-deals:empty { display: none; }
.menu-more { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
html.no-motion .site-menu { transition: none; }

/* יעדי הקפיצה מהתפריט */
#hours, #location, #deals, #weekly, #whatsapp, #delivery { scroll-margin-top: 24px; }

/* ==========================================================
   Hero – סרטון הגלילה (הסל על כל המסך)
   ========================================================== */

.hero {
  position: relative;
  height: 215vh;
  height: 215svh;
  background: var(--bg-hero);
}

.hero-stage {
  position: sticky; top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: linear-gradient(to bottom, var(--bg-hero) 0%, var(--bg-hero) 45%, var(--bg-hero-end) 100%);
}

/* המיקום והגודל של הפריים נקבעים ב-JS (‎--mx, --my, --mw, --mh) */
.hero-media {
  position: absolute;
  left: var(--mx, 0px); top: var(--my, 0px);
  width: var(--mw, 100%); height: var(--mh, 100%);
  object-fit: cover;
  object-position: 50% 100%;
}
/* דסקטופ: הפריים האנכי במרכז, עם דעיכה רכה לצדדים */
.is-framed .hero-media {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 18%, #000 82%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 18%, #000 82%, transparent 100%);
}
.hero-canvas { opacity: 0; transition: opacity .25s linear; }
.hero-canvas.is-ready { opacity: 1; }
.has-canvas .hero-poster { visibility: hidden; }
html.no-motion .hero-poster { visibility: visible; }

/* שכבה כהה מאחורי הטקסט, כדי שיהיה קריא מעל הסל */
.hero-scrim {
  position: absolute; inset: 0 0 auto 0; z-index: 1;
  height: 62%;
  background: linear-gradient(to bottom,
    rgba(3, 16, 31, .92) 0%,
    rgba(3, 16, 31, .78) 38%,
    rgba(3, 16, 31, 0) 100%);
  pointer-events: none;
}

.hero-intro {
  position: relative; z-index: 2;
  padding: 0 var(--gutter);
  padding-top: calc(96px + env(safe-area-inset-top));
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  will-change: opacity, transform;
}
.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 13.5vw, 4.05rem);
  line-height: 1;
  text-wrap: balance;
  text-shadow: 0 2px 20px rgba(3, 16, 31, .9), 0 0 2px rgba(3, 16, 31, .8);
}
.hero-sub {
  margin: 0; max-width: 40ch;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(3, 16, 31, .55);
  color: var(--text);
  font-size: .9375rem; line-height: 1.55;
  text-wrap: balance;
  text-shadow: 0 1px 12px rgba(3, 16, 31, .95);
}
.hero-sub strong { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; line-height: 1.2; color: var(--accent); }

.scroll-hint {
  display: inline-flex; flex-direction: column; align-items: center; gap: 6px;
  min-height: 44px; padding: 4px 12px;
  color: var(--accent); text-decoration: none;
  font-size: .8125rem; font-weight: 600; letter-spacing: .1em;
  text-shadow: 0 1px 10px rgba(3, 16, 31, .95);
}
.scroll-hint svg { animation: hint 2.2s var(--ease) infinite; }
@keyframes hint {
  0%, 100% { transform: translateY(0); opacity: .9; }
  50%      { transform: translateY(6px); opacity: .5; }
}

/* ---------- סוף הסרטון: המבצעים בסל ---------- */
.hero-deals { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero-deals-head {
  position: absolute; inset: 0 0 auto 0;
  padding: calc(92px + env(safe-area-inset-top)) var(--gutter) 0;
  text-align: center;
  opacity: var(--head, 0);
  transform: translate3d(0, calc((1 - var(--head, 0)) * 20px), 0);
}
.hero-deals-title {
  margin: 4px 0 0;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(3rem, 13.5vw, 4.4rem); line-height: 1;
  text-shadow: 0 2px 20px rgba(3, 16, 31, .9);
}
.hero-deals-hint {
  position: absolute; left: 50%; bottom: calc(64px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  opacity: var(--head, 0);
}
.hero-deals-tap {
  margin: 8px 0 0; font-size: .8125rem; color: var(--text-2);
  text-shadow: 0 1px 10px rgba(3, 16, 31, .95);
}
.hero-deals.is-live .floater-bob,
.hero-deals.is-live .hero-deals-hint { pointer-events: auto; }

/* ---------- שעון לאחור (מבצעי השבוע) ---------- */
.countdown {
  margin: 10px 0 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px;
}
.countdown:empty { display: none; }
.cd-label { font-size: .8125rem; font-weight: 600; letter-spacing: .04em; color: var(--accent); text-shadow: 0 1px 10px rgba(3, 16, 31, .95); }
.cd-units { display: inline-flex; gap: 6px; }
.cd-unit {
  min-width: 48px; padding: 4px 6px 3px;
  display: inline-flex; flex-direction: column; align-items: center;
  background: rgba(8, 14, 25, .82);
  border: 1px solid rgba(165, 219, 231, .35);
  border-radius: 4px;
}
.cd-unit b {
  font-family: var(--font-digits); font-weight: 400;
  font-size: 1.375rem; line-height: 1.1; color: var(--text);
  font-variant-numeric: tabular-nums;
}
.cd-unit small { font-size: .625rem; color: var(--muted); line-height: 1.2; }
.countdown[data-state="ended"] .cd-units,
.countdown[data-state="none"] .cd-units { display: none; }
.countdown-sm { justify-content: flex-start; margin-top: 4px; }
.countdown-sm .cd-label { text-shadow: none; }
.countdown-sm .cd-unit { min-width: 42px; background: var(--surface-2); }
.countdown-sm .cd-unit b { font-size: 1.125rem; }

.basket-box { position: absolute; }

.floater {
  position: absolute;
  left: var(--x); top: var(--y); width: var(--w);
  transform: translate(-50%, -50%);
}
.floater-drop {
  opacity: var(--drop, 0);
  transform:
    translate3d(0, calc((1 - var(--drop, 0)) * -55vh), 0)
    rotate(calc((1 - var(--drop, 0)) * -14deg));
  will-change: transform, opacity;
}
.floater-bob {
  display: flex; flex-direction: column; align-items: center;
  width: 100%; padding: 0; margin: 0;
  background: none; border: 0; color: inherit; font: inherit;
  cursor: pointer; pointer-events: none;
  -webkit-tap-highlight-color: transparent;
  animation: bob 4.4s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * -0.9s);
}
.floater-bob:focus-visible { outline-offset: 6px; border-radius: 6px; }
.floater-bob:hover .floater-tag,
.floater-bob:focus-visible .floater-tag { border-color: var(--accent); }
@keyframes bob {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-1.2deg); }
  50%      { transform: translate3d(0, -9px, 0) rotate(1.2deg); }
}
/* בסל: מסגרת ביחס קבוע, והתמונות נכנסות לתוכה מלמטה. קבוצה רחבה, מוצר בודד צר וגבוה יותר */
.floater .stack { width: 100%; aspect-ratio: 5 / 4; }
.floater .stack[style*="--n:1;"] { aspect-ratio: 1 / 1; }
.floater .stack { filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .6)); }
@media (hover: hover) and (pointer: fine) {
  .floater-bob:hover .stack { --spread: 12; }
}

/* ---------- קבוצת טעמים: כמה תמונות אחת ליד השנייה ---------- */
.stack { --dir: 1; --spread: 0; position: relative; }
[dir="rtl"] .stack { --dir: -1; }
.stack-item {
  position: absolute; bottom: 0; height: 100%;
  width: var(--iw);
  inset-inline-start: calc(var(--k) * (100% - var(--iw)) / max(1, var(--n) - 1));
  z-index: var(--z);
  transform:
    translate3d(calc(var(--off) * var(--dir) * var(--spread) * 1%), calc(var(--lift) * -1), 0)
    rotate(calc(var(--rot) * var(--dir) * -1));
  transition: transform .45s var(--ease);
}
.stack-item img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.stack .media-ph { inset: 0; }
.floater-ph {
  width: 100%; aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  border: 1px dashed var(--line-strong); color: var(--muted); font-size: .75rem; text-align: center;
}
.floater-tag {
  position: relative; z-index: 20;
  margin-top: -6%;
  display: flex; flex-direction: column; align-items: center;
  padding: 3px 9px 4px;
  background: rgba(8, 14, 25, .86);
  border: 1px solid rgba(165, 219, 231, .4);
  border-radius: 4px;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .7);
  /* שם ארוך (במיוחד ברוסית) נשבר לשתי שורות במקום לחרוג מהמסך */
  max-width: min(8.5rem, calc(100% + 20px));
  text-align: center;
}
.floater-name { text-wrap: balance; }
.floater-price { white-space: nowrap; }
.floater-name { font-size: .6875rem; font-weight: 600; color: var(--text); line-height: 1.3; }
.floater-price { font-family: var(--font-body); font-size: 1.0625rem; color: var(--accent); line-height: 1.2; }
.floater-price .ph { font-size: .6875rem; }
.floater.is-featured .floater-name { font-size: .8125rem; }
.floater.is-featured .floater-price { font-size: 1.375rem; }

.hero-warning {
  position: absolute; z-index: 3;
  /* משאיר מקום לכפתור הנגישות בפינה */
  left: 12px; right: 80px; bottom: calc(18px + env(safe-area-inset-bottom));
  text-align: center;
  font-size: .6875rem;
}

/* ==========================================================
   מבצעי השבוע
   ========================================================== */

.deals { position: relative; padding: 72px 0 72px; }
.deals-valid { margin: 6px 0 0; font-size: .9375rem; color: var(--muted); }
.deals-notes { margin: 20px 0 0; font-size: .8125rem; color: var(--muted); }

.deals-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.deal-slot.is-featured { grid-column: 1 / -1; }

.deal-land {
  --land: 1;
  height: 100%;
  opacity: var(--land);
  transform: translate3d(0, calc((1 - var(--land)) * 70px), 0);
}

.deal-card {
  --rx: 0deg; --ry: 0deg; --lift: 0px;
  position: relative;
  height: 100%;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transform: perspective(900px) translate3d(0, var(--lift), 0) rotateX(var(--rx)) rotateY(var(--ry));
  transition:
    transform .35s var(--ease),
    border-color .35s var(--ease),
    box-shadow .35s var(--ease);
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none; user-select: none;
  -webkit-touch-callout: none;
}
.deal-card.is-active {
  --lift: -6px;
  border-color: rgba(165, 219, 231, .55);
  box-shadow:
    0 0 0 1px rgba(165, 219, 231, .14),
    0 22px 44px -18px rgba(0, 0, 0, .75),
    0 0 42px -8px rgba(165, 219, 231, .22);
}
@media (hover: hover) and (pointer: fine) {
  .deal-card:hover {
    --lift: -6px;
    border-color: rgba(165, 219, 231, .55);
    box-shadow:
      0 0 0 1px rgba(165, 219, 231, .14),
      0 22px 44px -18px rgba(0, 0, 0, .75),
      0 0 42px -8px rgba(165, 219, 231, .22);
  }
  .deal-card:hover .deal-media .stack { transform: scale(1.04); }
  .deal-card.is-group:hover .stack { --spread: 14; }
}

.deal-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(ellipse 70% 55% at 50% 58%, rgba(165, 219, 231, .10), transparent 72%),
    var(--surface-2);
  overflow: hidden;
}
.deal-media .stack { position: absolute; inset: 10%; transition: transform .4s var(--ease); }
.deal-media .stack-item img { filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .45)); }
.deal-card.is-active .deal-media .stack { transform: scale(1.04); }
.deal-card.is-group.is-active .stack { --spread: 14; }
.is-featured .deal-media { aspect-ratio: 4 / 3; }
.is-featured .deal-media .stack { inset: 7% 8% 8%; }

/* כל הכרטיס לחיץ: הכפתור הוא שם המוצר */
.deal-card { cursor: pointer; }
.deal-open {
  padding: 0; margin: 0; border: 0; background: none;
  color: inherit; font: inherit; text-align: inherit; cursor: pointer;
}
.deal-open:focus-visible { outline: none; }
.deal-card:has(.deal-open:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
.deal-more {
  margin-top: 8px; align-self: flex-start;
  font-size: .8125rem; font-weight: 600; color: var(--accent);
  border-bottom: 1px solid rgba(165, 219, 231, .4);
}

.deal-badge {
  position: absolute; top: 14px; inset-inline-start: 14px;
  background: var(--accent); color: var(--on-accent);
  font-size: .8125rem; font-weight: 700; letter-spacing: .06em;
  padding: 5px 12px; border-radius: 2px;
}

.media-ph {
  position: absolute; inset: 12px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  border: 1px dashed var(--line-strong); border-radius: 4px;
  color: var(--muted); font-size: .8125rem; padding: 8px;
}
.media-ph[hidden] { display: none; }

.deal-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.is-featured .deal-body { padding: 20px 20px 22px; gap: 6px; }

.deal-name {
  margin: 0;
  font-family: var(--font-body); font-weight: 400;
  font-size: 1.1875rem; line-height: 1.2;
}
.is-featured .deal-name { font-size: 1.75rem; }
.deal-desc { margin: 0; font-size: .9375rem; color: var(--text-2); }

.deal-prices {
  margin-top: auto; padding-top: 6px;
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px;
}
.price-new {
  font-family: var(--font-body); font-weight: 400;
  font-size: 1.625rem; line-height: 1.1;
  color: var(--accent);
}
.is-featured .price-new { font-size: 2.5rem; }
.price-old { font-size: .875rem; color: var(--strike); }
.price-old s { text-decoration-thickness: 1px; }
.is-featured .price-old { font-size: 1.0625rem; }
.cur { font-size: .7em; margin-inline-start: 2px; }
.price-new .ph { font-size: .9375rem; }
.deal-qty { margin: 4px 0 0; font-size: .75rem; color: var(--muted); }
.price-unit { margin: 2px 0 0; font-size: .8125rem; color: var(--text-2); }
.price-new .cur { margin-inline-end: 1px; }
.dd-notes { margin: 6px 0 0; font-size: .75rem; color: var(--muted); }
.hero-deals-legal {
  margin: 4px 0 0; font-size: .6875rem; color: var(--muted);
  text-shadow: 0 1px 10px rgba(3, 16, 31, .95);
}
/* 8 מוצרים בסל: תגיות קטנות יותר */
.basket-box[data-count="8"] .floater-name { font-size: .625rem; }
.basket-box[data-count="8"] .floater-price { font-size: .875rem; }
.basket-box[data-count="8"] .floater-tag { padding: 2px 7px 3px; margin-top: -4%; }
.deal-body .alcohol-warning { margin-top: 8px; align-self: flex-start; font-size: .6875rem; }

.deals-error { grid-column: 1 / -1; color: var(--muted); text-align: center; padding: 32px 0; }

/* מבצעי השבוע ככרטיסים: רק כשהסל לא מוצג (עצירת אנימציות) */
.weekly-static { display: none; }
html.no-motion .weekly-static { display: block; padding-bottom: 0; }

/* ---------- חלון המבצע: כל הטעמים, כל אחד לבד ---------- */
html.dialog-open { overflow: hidden; }
.deal-dialog {
  width: min(760px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  margin: auto; padding: 0;
  border: 1px solid var(--border); border-radius: 10px;
  background: var(--surface); color: var(--text);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .85), 0 0 60px -10px rgba(165, 219, 231, .15);
  overflow: auto; overscroll-behavior: contain;
}
.deal-dialog::backdrop { background: rgba(2, 6, 14, .78); backdrop-filter: blur(4px); }
.deal-dialog[open] { animation: dd-in .4s var(--ease); }
.deal-dialog[open]::backdrop { animation: dd-fade .3s linear; }
@keyframes dd-in { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes dd-fade { from { opacity: 0; } to { opacity: 1; } }
.dd-panel { position: relative; padding: 22px 18px 22px; }
.dd-close {
  position: absolute; top: 10px; inset-inline-end: 10px; z-index: 2;
  width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--surface-2); color: var(--text);
  border: 1px solid var(--line-strong); border-radius: 50%; cursor: pointer;
}
.dd-close:hover { border-color: var(--accent); color: var(--accent); }
.dd-body .eyebrow { margin: 0; padding-inline-end: 52px; }
.dd-title {
  margin: 4px 0 0; padding-inline-end: 52px;
  font-family: var(--font-body); font-weight: 400;
  font-size: clamp(1.5rem, 5.5vw, 2rem); line-height: 1.2;
}
.dd-desc { margin: 4px 0 0; color: var(--text-2); }

.dd-variants {
  list-style: none; margin: 18px 0 0; padding: 0;
  display: grid; gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.dd-variants[data-n="1"] { grid-template-columns: minmax(0, 340px); justify-content: center; }
.dd-variants[data-n="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dd-variant {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 14px 10px 12px;
  background:
    radial-gradient(ellipse 70% 55% at 50% 55%, rgba(165, 219, 231, .10), transparent 72%),
    var(--surface-2);
  border: 1px solid var(--border); border-radius: 8px;
}
.dd-img { width: 100%; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; }
.dd-img img {
  max-width: 100%; max-height: 100%; object-fit: contain;
  filter: drop-shadow(0 14px 16px rgba(0, 0, 0, .5));
}
.dd-vname { font-weight: 600; font-size: .9375rem; text-align: center; line-height: 1.3; }
.dd-info { margin-top: 18px; display: flex; flex-direction: column; gap: 4px; }
.dd-info .deal-prices { margin-top: 0; padding-top: 0; }
.dd-info .price-new { font-size: 2rem; }
.dd-valid { margin: 2px 0 0; font-size: .875rem; color: var(--muted); }
.dd-info .alcohol-warning { margin-top: 8px; align-self: flex-start; font-size: .75rem; }

/* ==========================================================
   ווטסאפ – קבוצה
   ========================================================== */

.wa { padding: 24px 0 72px; }
.wa-box {
  max-width: 640px; margin-inline: auto;
  padding: 40px 24px 32px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  text-align: center;
}
.wa-icon { color: var(--accent); }
.wa-title {
  margin: 0;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.5rem, 9.5vw, 3.4rem); line-height: 1.02;
}
.wa-text { margin: 0 0 8px; color: var(--text-2); max-width: 36ch; }
.wa-perk { margin: 0; font-size: .875rem; color: var(--muted); }

/* ==========================================================
   מוצרים נבחרים
   ========================================================== */

.featured { padding: 24px 0 72px; }
.featured-list { list-style: none; margin: 0; padding: 0; display: grid; }
.featured-item {
  display: flex; align-items: center; gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.featured-item:last-child { border-bottom: 1px solid var(--line); }
.featured-thumb {
  position: relative;
  width: 96px; height: 96px; flex-shrink: 0;
  border-radius: 4px; overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 50% 60%, rgba(165, 219, 231, .09), transparent 72%),
    var(--surface-2);
}
.featured-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 8%; filter: drop-shadow(0 8px 10px rgba(0,0,0,.4)); }
.featured-thumb.is-cover img { object-fit: cover; padding: 0; filter: none; }
.featured-thumb .media-ph { inset: 6px; font-size: .6875rem; }
.featured-name { margin: 0; font-family: var(--font-body); font-weight: 400; font-size: 1.375rem; line-height: 1.2; }
.featured-desc { margin: 2px 0 0; font-size: .9375rem; color: var(--muted); }

/* ==========================================================
   משלוחים
   ========================================================== */

.delivery { padding: 8px 0 88px; }
.delivery-box {
  max-width: 880px; margin-inline: auto;
  padding: 32px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  text-align: center;
}
.delivery-icon { color: var(--accent); flex-shrink: 0; }
.delivery-text p { margin: 6px 0 0; color: var(--text-2); max-width: 40ch; }
.delivery-text .eyebrow { margin: 0; }
.delivery-title {
  margin: 4px 0 0;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.4rem, 8.8vw, 3rem); line-height: 1.02;
}
.delivery-btn { width: 100%; max-width: 380px; }
.delivery-notes { display: flex; flex-direction: column; gap: 4px; }
.delivery-note { margin: 0; font-size: .875rem; color: var(--muted); }
.delivery-note a { color: var(--text); font-weight: 600; }

/* ==========================================================
   ביקורות בגוגל
   ========================================================== */

.reviews { padding: 0 0 88px; }
.reviews-box {
  max-width: 880px; margin-inline: auto;
  padding: 36px 24px 32px;
  background:
    radial-gradient(ellipse 60% 70% at 50% 0%, rgba(165, 219, 231, .10), transparent 70%),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center;
}
.reviews-stars { display: flex; gap: 4px; color: #F4C95D; margin-bottom: 4px; }
.reviews-box .eyebrow { margin: 0; }
.reviews-title {
  margin: 0;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.4rem, 8.8vw, 3rem); line-height: 1.02;
}
.reviews-text { margin: 0; color: var(--text-2); max-width: 40ch; }
.reviews-actions {
  margin-top: 10px; width: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.reviews-actions .btn { width: 100%; max-width: 340px; }
#reviews { scroll-margin-top: 24px; }

/* ==========================================================
   Footer
   ========================================================== */

.site-footer {
  background: var(--bg-footer);
  border-top: 1px solid var(--line);
  padding: 56px 0 calc(40px + env(safe-area-inset-bottom));
}
.footer-grid { display: grid; gap: 32px; }
.footer-brand img { width: 150px; height: auto; }
.footer-names { margin: 14px 0 0; font-size: .875rem; color: var(--muted); }
.footer-names [lang="ru"] { font-family: 'Nunito', var(--font-body); }
.footer-info { margin: 0; display: grid; gap: 14px; }
.footer-info dt { font-size: .8125rem; letter-spacing: .08em; color: var(--muted); }
.footer-info dd { margin: 0; font-size: 1.0625rem; }
.footer-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.footer-actions .footer-jobs { grid-column: 1 / -1; }
.footer-info dd a { color: var(--text); }

.footer-bottom {
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid; gap: 10px;
}
.legal-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.legal-links a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--text-2); font-size: .9375rem;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong);
}
.legal-links a:hover { color: var(--accent); text-decoration-color: currentColor; }
.footer-copy, .footer-legal-id { margin: 0; font-size: .8125rem; color: var(--muted); }
.footer-copy span { display: inline-block; margin-inline-end: 8px; }

/* ==========================================================
   כפתור קבוצת הווטסאפ הצף (מובייל)
   ========================================================== */

.wa-float {
  position: fixed; z-index: 50;
  left: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--on-accent);
  box-shadow: 0 10px 28px -6px rgba(0, 0, 0, .6), 0 0 0 1px rgba(207, 237, 244, .4);
  opacity: 0; transform: translateY(24px) scale(.9); pointer-events: none; visibility: hidden;
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s, background-color .3s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.wa-float:hover { color: var(--on-accent); background: var(--accent-hover); }
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }

/* ==========================================================
   תפריט נגישות
   ========================================================== */

.a11y-toggle {
  position: fixed; z-index: 60;
  right: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-deep); color: #fff;
  border: 2px solid #fff;
  box-shadow: 0 8px 22px -6px rgba(0, 0, 0, .6);
  cursor: pointer;
}
.a11y-toggle:hover { background: #3A6F92; }

.a11y-panel {
  position: fixed; z-index: 61;
  right: 16px; bottom: calc(80px + env(safe-area-inset-bottom));
  width: min(340px, calc(100vw - 32px));
  max-height: calc(100svh - 120px); overflow-y: auto;
  padding: 16px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .8);
  font-size: 1rem;
}
.a11y-panel[hidden] { display: none; }
.a11y-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.a11y-title { margin: 0; font-family: var(--font-sans); font-size: 1.125rem; font-weight: 700; }
.a11y-close {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  background: transparent; color: var(--text); border: 1px solid var(--line-strong); border-radius: 50%;
  cursor: pointer;
}
.a11y-size { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.a11y-size-value { grid-column: 1 / -1; margin: 0; font-size: .8125rem; color: var(--muted); text-align: center; }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-opt {
  min-height: 64px; padding: 8px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background: var(--surface-2); color: var(--text);
  border: 1px solid var(--border); border-radius: 6px;
  font-size: .875rem; font-weight: 600; line-height: 1.2;
  cursor: pointer;
}
.a11y-opt:hover { border-color: var(--muted); }
.a11y-opt[aria-pressed="true"] { border: 2px solid var(--accent); color: var(--accent); background: rgba(165, 219, 231, .12); }
.a11y-opt:disabled { opacity: .45; cursor: default; }
.a11y-aa { font-size: 1.125rem; font-weight: 700; }
.a11y-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.a11y-reset {
  min-height: 44px; padding: 0 14px;
  background: transparent; color: var(--text);
  border: 1px solid var(--line-strong); border-radius: 4px;
  font-size: .875rem; font-weight: 600; cursor: pointer;
}
.a11y-statement { font-size: .875rem; min-height: 44px; display: inline-flex; align-items: center; }

/* ----- מצבי נגישות ----- */

/* ניגודיות גבוהה */
html.a11y-contrast {
  --bg: #000; --bg-footer: #000; --surface: #000; --surface-2: #0d0d0d;
  --border: #fff; --line: #fff; --line-strong: #fff;
  --accent: #FFE14D; --accent-hover: #FFF09A; --accent-deep: #FFE14D; --on-accent: #000;
  --text: #fff; --text-2: #fff; --muted: #fff; --strike: #fff;
}
html.a11y-contrast .hero-scrim { background: rgba(0, 0, 0, .8); }
html.a11y-contrast .ph { background: #000; }
html.a11y-contrast .floater-tag { background: #000; border-color: #fff; }
html.a11y-contrast .a11y-toggle { background: #000; }

/* הדגשת קישורים */
html.a11y-links a { text-decoration: underline !important; text-underline-offset: 3px; text-decoration-thickness: 2px !important; }
html.a11y-links a.btn, html.a11y-links .wa-float { outline: 2px dashed currentColor; outline-offset: 3px; }

/* גופן קריא */
html.a11y-font {
  --font-display: Arial, 'Segoe UI', sans-serif; --font-body: Arial, 'Segoe UI', sans-serif; --font-sans: Arial, 'Segoe UI', sans-serif;
  --menu-scale: 1;
}
html.a11y-font body { letter-spacing: .01em; line-height: 1.75; }

/* סמן גדול */
html.a11y-cursor, html.a11y-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 24 24'%3E%3Cpath d='M5 2l14 11-6.4 1.2L16 21l-3 1.3-3.2-7L5 19z' fill='%23000' stroke='%23fff' stroke-width='1.3'/%3E%3C/svg%3E") 6 3, auto !important;
}

/* ==========================================================
   טאבלט ודסקטופ
   ========================================================== */

@media (min-width: 600px) {
  :root { --gutter: 32px; }
  .deals-grid { gap: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-actions { grid-column: 1 / -1; max-width: 520px; }
  .delivery-box { padding: 40px 48px; }
  .reviews-box { padding: 44px 48px 40px; }
  .reviews-actions { flex-direction: row; justify-content: center; }
  .reviews-actions .btn { width: auto; min-width: 240px; }
}

@media (min-width: 900px) {
  :root { --gutter: 48px; }
  .site-header { height: 96px; }
  .brand img { height: 60px; }

  .hero-intro { padding-top: 104px; gap: 12px; }
  .hero-title { font-size: clamp(4rem, 5.6vw, 5.5rem); }
  .hero-sub { font-size: 1.0625rem; max-width: 46ch; padding: 12px 20px; }
  .hero-sub strong { font-size: 1.85rem; }
  .hero-deals-head { padding-top: 104px; }
  .hero-deals-title { font-size: clamp(4rem, 6.2vw, 5.75rem); }
  .floater-name { font-size: .875rem; }
  .floater-price { font-size: 1.375rem; }
  .floater.is-featured .floater-name { font-size: 1rem; }
  .floater.is-featured .floater-price { font-size: 1.875rem; }
  .basket-box[data-count="8"] .floater-name { font-size: .75rem; }
  .basket-box[data-count="8"] .floater-price,
  .basket-box[data-count="8"] .floater.is-featured .floater-price { font-size: 1.125rem; }
  .basket-box[data-count="8"] .floater.is-featured .floater-name { font-size: .75rem; }
  .hero-warning { font-size: .8125rem; left: 50%; right: auto; transform: translateX(-50%); width: max-content; max-width: calc(100% - 180px); }

  .deals { padding-top: 96px; }
  .deals-grid {
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 20px;
  }
  .deal-slot.is-featured { grid-column: 1; grid-row: 1 / span 2; }
  .is-featured .deal-media { aspect-ratio: auto; flex: 1; min-height: 340px; }
  .is-featured .deal-body { flex: none; }
  .deal-body { padding: 16px 18px 18px; }
  .deal-name { font-size: 1.3125rem; }
  .cd-unit { min-width: 58px; }
  .cd-unit b { font-size: 1.625rem; }
  .cd-label { font-size: .9375rem; }
  .hero-deals-tap { font-size: .9375rem; }

  .dd-panel { padding: 30px 32px 30px; }
  .dd-variants { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 16px; }
  .dd-variants[data-n="1"] { grid-template-columns: minmax(0, 380px); }

  .wa-box { padding: 48px 56px 40px; }
  .wa-box .btn-block { max-width: 380px; }

  .featured-list { grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .featured-item:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .featured-thumb { width: 112px; height: 112px; }

  .delivery-box {
    flex-direction: row; text-align: start;
    justify-content: space-between; flex-wrap: wrap;
  }
  .delivery-text { flex: 1; }
  .delivery-btn { width: auto; }
  .delivery-notes { flex-basis: 100%; }

  .footer-grid { grid-template-columns: 1fr 1.4fr 1fr; align-items: start; }
  .footer-actions { grid-column: auto; grid-template-columns: 1fr; }

  .wa-float { display: none; }
}

/* טלפון עם מסך נמוך (כמו iPhone SE): כותרת ושעון קומפקטיים, כדי שהמוצרים בסל לא יתכווצו */
@media (max-width: 899px) and (max-height: 720px) {
  .hero-deals-head { padding-top: calc(76px + env(safe-area-inset-top)); }
  .hero-deals-title { font-size: 2.7rem; }
  .countdown { margin-top: 6px; }
  .cd-unit { min-width: 42px; padding: 2px 5px 1px; }
  .cd-unit b { font-size: 1.125rem; }
  .hero-deals-tap { margin-top: 4px; display: inline; }
  .hero-deals-legal { display: inline; margin-inline-start: 8px; }
}

/* מחשב עם מסך נמוך (לפטופ): כותרת ושעון קומפקטיים, כדי שיישאר מקום למוצרים בסל */
@media (min-width: 900px) and (max-height: 860px) {
  .hero-intro { padding-top: 88px; gap: 8px; }
  .hero-title { font-size: clamp(3.4rem, 8vh, 4.4rem); }
  .hero-sub { padding: 8px 18px; line-height: 1.45; }
  .hero-deals-head { padding-top: 78px; }
  .hero-deals-title { font-size: clamp(3.4rem, 8vh, 4.4rem); }
  .countdown { margin-top: 6px; }
  .cd-unit { min-width: 48px; padding: 2px 6px 1px; }
  .cd-unit b { font-size: 1.25rem; }
  .hero-deals-tap { margin-top: 4px; font-size: .875rem; display: inline; }
  .hero-deals-legal { display: inline; margin-inline-start: 10px; }
  .hero-deals-hint { bottom: calc(52px + env(safe-area-inset-bottom)); }
}

@media (max-width: 899px) {
  /* מקום לכפתורים הצפים */
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* ==========================================================
   בלי אנימציה (prefers-reduced-motion או "עצירת אנימציות" בתפריט):
   תמונת הסל סטטית, ואחריה המבצעים.
   ========================================================== */

html.no-motion { scroll-behavior: auto; }
html.no-motion .hero { height: auto; }
html.no-motion .hero-stage { position: relative; }
html.no-motion .hero-canvas,
html.no-motion .hero-deals { display: none; }
html.no-motion .scroll-hint svg { animation: none; }
html.no-motion .deal-land { opacity: 1; transform: none; }
html.no-motion .deal-card,
html.no-motion .deal-card.is-active,
html.no-motion .deal-card:hover { transform: none !important; transition: none; }
html.no-motion .deal-media .stack,
html.no-motion .stack-item { transition: none; }
html.no-motion .deal-media .stack { transform: none !important; }
html.no-motion .deal-dialog[open],
html.no-motion .deal-dialog[open]::backdrop { animation: none; }
html.no-motion .btn,
html.no-motion .wa-float,
html.no-motion .hero-canvas { transition: none; }

/* ==========================================================
   עמודי מידע (תקנון, פרטיות, נגישות)
   ========================================================== */

.legal-page .site-header {
  position: static;
  background: var(--bg-hero);
  border-bottom: 1px solid var(--line);
}
.legal-back { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.legal {
  max-width: 780px; margin-inline: auto;
  padding: 48px var(--gutter) 88px;
}
.legal h1 {
  margin: 0 0 8px;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(3rem, 9.5vw, 4rem); line-height: 1.02;
}
.legal .updated { margin: 0 0 32px; color: var(--muted); font-size: .9375rem; }
.legal h2 {
  margin: 40px 0 10px;
  font-family: var(--font-body); font-weight: 400;
  font-size: 1.375rem; line-height: 1.3;
}
.legal p, .legal li { color: var(--text-2); }
.legal strong { color: var(--text); }
.legal ul, .legal ol { padding-inline-start: 1.3em; }
.legal li { margin-bottom: 6px; }
.legal .note {
  padding: 14px 16px; margin: 0 0 28px;
  border: 1px dashed var(--accent-deep); border-radius: 4px;
  background: rgba(73, 131, 169, .1);
  color: var(--text); font-size: .9375rem;
}
.legal .ru-note:empty { display: none; }
.legal-page .site-footer { padding-top: 32px; }
