/* =====================================================================
   פיצה כמעט חינם — עיצוב
   ===================================================================== */
:root {
  --bg: #141211;
  --bg2: #1b1817;
  --surface: #221f1d;
  --surface2: #2c2826;
  --line: rgba(255, 240, 220, .09);
  --text: #f8f2ea;
  --muted: #b8ab9f;
  --orange: #f9a82b;
  --orange-d: #e08d0c;
  --red: #e1141c;
  --red-d: #b70f15;
  --green: #22a356;
  --wa: #25d366;
  --cream: #fff6e7;
  --ink: #1d1a18;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .45);
  --font: 'Rubik', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --display: 'Secular One', 'Rubik', sans-serif;
  --header-h: 82px;
  --tabs-h: 74px; /* גובה פס הקטגוריות הדביק בתפריט */
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
/* קפיצה לעוגן: מתחת לכותרת הדביקה (פס הקטגוריות מטופל ב-.menu-section) */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
#top { scroll-margin-top: 100vh; } /* לחיצה על הלוגו: חזרה לראש הדף ממש */
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
body.lock { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; }
h2 { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 4.6vw, 48px); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--orange); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 999; }
.skip:focus { inset-inline-start: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }

.eyebrow { display: inline-block; font-weight: 700; font-size: 14px; letter-spacing: .02em; color: var(--orange); background: rgba(249, 168, 43, .1); border: 1px solid rgba(249, 168, 43, .25); padding: 5px 12px; border-radius: 99px; margin-bottom: 14px; }
.accent { color: var(--orange); }
.section-head { text-align: center; margin-bottom: 30px; }

/* ---------- כפתורים ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; border-radius: 99px; padding: 12px 22px; transition: transform .15s, background .2s, box-shadow .2s, border-color .2s; white-space: nowrap; line-height: 1.2; }
.btn:active { transform: scale(.97); }
.btn-lg { padding: 16px 28px; font-size: 18px; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 26px rgba(225, 20, 28, .35); }
.btn-primary:hover { background: #f21d26; box-shadow: 0 14px 32px rgba(225, 20, 28, .5); }
.btn-outline { border: 2px solid rgba(255, 255, 255, .35); color: #fff; }
.btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn-ghost { background: var(--surface2); }
.btn-ghost:hover { background: #38322f; }
.btn-wa { background: var(--wa); color: #08361b; box-shadow: 0 10px 26px rgba(37, 211, 102, .3); }
.btn-wa:hover { background: #3ae07a; }
.btn-block { width: 100%; white-space: normal; text-align: center; }
.btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface2); font-size: 16px; flex: none; }
.icon-btn:hover { background: #3a3431; }

/* ---------- פס עליון ---------- */
.topbar { background: #0d0c0b; font-size: 13.5px; color: var(--muted); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; gap: 22px; align-items: center; min-height: 36px; }
.topbar-item:last-child { margin-inline-start: auto; }
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text); }
.status .dot { width: 9px; height: 9px; border-radius: 50%; background: #777; }
.status.open .dot { background: var(--green); box-shadow: 0 0 0 0 rgba(34, 163, 86, .7); animation: pulse 2s infinite; }
.status.closed .dot { background: var(--red); }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(34, 163, 86, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 163, 86, 0); } }

/* ---------- כותרת ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(20, 18, 17, .82); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.header.scrolled { border-bottom-color: var(--line); background: rgba(20, 18, 17, .94); }
.header-in { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 58px; height: 58px; border-radius: 14px; background: #fff; padding: 3px; object-fit: contain; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand-txt b { font-family: var(--display); font-weight: 400; font-size: 21px; }
.brand-txt small { color: var(--muted); font-size: 12.5px; }
.header-kosher { width: 80px; height: 80px; object-fit: contain; flex: none; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .6)); margin-block: -4px; }
.nav { display: flex; gap: 6px; margin-inline: auto; }
.nav a { padding: 8px 14px; border-radius: 99px; font-weight: 600; color: #e9e0d6; transition: background .2s, color .2s; }
.nav a:hover { background: var(--surface2); color: #fff; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.btn-call { padding: 10px 16px; direction: rtl; }
.cart-btn { position: relative; width: 50px; height: 50px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; transition: transform .2s; box-shadow: 0 8px 22px rgba(225, 20, 28, .4); }
.cart-btn:hover { transform: scale(1.06); }
.cart-btn.bump { animation: bump .5s; }
@keyframes bump { 30% { transform: scale(1.25) rotate(-8deg); } 60% { transform: scale(.95); } }
.cart-count { position: absolute; top: -4px; inset-inline-end: -4px; background: var(--orange); color: var(--ink); font-size: 12px; font-weight: 800; min-width: 22px; height: 22px; border-radius: 11px; display: grid; place-items: center; padding: 0 5px; border: 2px solid var(--bg); }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; background: var(--surface2); flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: min(86vh, 780px); display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; z-index: -2; opacity: 0; transition: opacity 1.4s ease; }
/* התמונה הפעילה: נכנסת בהדרגה עם זום איטי */
.hero-bg.on { opacity: 1; animation: heroZoom 7s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-dots { position: absolute; bottom: 78px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; }
.hero-dots button { width: 9px; height: 9px; border-radius: 99px; background: rgba(255, 255, 255, .4); transition: width .3s, background .3s; padding: 0; }
.hero-dots button.on { width: 26px; background: var(--orange); }
.hero { background: #0e0c0b; }
.hero-bg { left: 0; right: auto; width: 66%; object-position: 40% 50%; transform-origin: left center; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(270deg, #0e0c0b 0%, #0e0c0b 36%, rgba(14, 12, 11, .55) 48%, rgba(14, 12, 11, 0) 64%), linear-gradient(0deg, var(--bg) 0%, transparent 30%), radial-gradient(circle at 25% 50%, transparent 40%, rgba(14, 12, 11, .5) 80%); }
.hero-in { padding: 70px 0 110px; }
.hero-copy { max-width: 600px; }
.hero .hero-title { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 6.6vw, 78px); line-height: 1.02; margin: 0 0 20px; text-shadow: 0 4px 30px rgba(0, 0, 0, .5); }
/* כתובת מתחת לשם בכותרת: שהלקוח יבין מיד שהגיע לסניף הנכון בגדרה */
.brand-txt small.brand-addr { color: var(--orange); font-weight: 600; white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.lead { font-size: clamp(17px, 2vw, 20px); color: #e8ddd1; max-width: 520px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 34px; }
.hero-badges { list-style: none; padding: 0; margin: 0; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-badges li { display: flex; align-items: center; gap: 10px; background: rgba(34, 31, 29, .7); border: 1px solid var(--line); backdrop-filter: blur(8px); padding: 10px 16px; border-radius: 14px; font-size: 14px; color: #e5dacd; }
.hero-badges b { font-size: 20px; color: var(--orange); font-weight: 800; }
.hero-badges li.kosher-badge { padding: 6px 14px 6px 8px; gap: 8px; line-height: 1.25; }
.kosher-badge img { width: 54px; height: 54px; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .5)); }
.kosher-badge b { font-size: 15px; color: var(--text); }
.kosher-mini { display: inline-flex; align-items: center; gap: 6px; }
.kosher-mini img { width: 26px; height: 26px; object-fit: contain; }
.kosher-strip { display: inline-flex; align-items: center; gap: 12px; margin-top: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 99px; padding: 6px 20px 6px 10px; color: #e2d8cc; font-size: 15px; }
.kosher-strip img { width: 64px; height: 64px; object-fit: contain; }
.kosher-strip b { color: var(--text); }
.visit-kosher img { width: 60px; height: 60px; object-fit: contain; margin: -10px 0; }
.footer-logos { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.footer-logos img { margin-bottom: 0 !important; }
.footer-brand .footer-kosher { background: none; padding: 0; object-fit: contain; }
.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; height: 60px; background: var(--bg); clip-path: ellipse(70% 100% at 50% 100%); }

/* ---------- בונה פיצה (טיזר) ---------- */
.build { padding: 50px 0 90px; position: relative; overflow-x: hidden; overflow-x: clip; } /* הפיצה המסתובבת לא תרחיב את הדף במובייל */
.build-in { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.build-art { position: relative; display: grid; place-items: center; }
.build-pizza { width: min(480px, 100%); aspect-ratio: 1; position: relative; z-index: 1; animation: spin 60s linear infinite; cursor: pointer; }
@keyframes spin { to { transform: rotate(360deg); } }
.build-glow { position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(249, 168, 43, .35), transparent 65%); filter: blur(30px); }
.build-copy p { color: var(--muted); font-size: 18px; }
.build-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.build-chips span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 10px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 600; transition: background .3s, border-color .3s, transform .3s; }
.build-chips span.on { background: rgba(249, 168, 43, .16); border-color: var(--orange); transform: translateY(-2px); }
.build-chips svg { width: 22px; height: 22px; }
.build-price { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; color: var(--muted); }
.build-price b { background: var(--surface2); color: var(--text); padding: 4px 12px; border-radius: 8px; font-weight: 700; direction: ltr; }

/* ---------- תפריט ---------- */
.menu { padding: 70px 0 60px; background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%); }
.menu-tabs-wrap { position: sticky; top: var(--header-h); z-index: 40; background: rgba(20, 18, 17, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-block: 1px solid var(--line); margin-bottom: 30px; }
.menu-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.menu-tabs::-webkit-scrollbar { display: none; }
/* ממורכז כשיש מקום, ונגלל עד הסוף כשאין (justify-content:center חתך את הלשונית הראשונה) */
.menu-tab:first-child { margin-inline-start: auto; }
.menu-tab:last-child { margin-inline-end: auto; }
.menu-tab { flex: none; padding: 10px 18px; border-radius: 99px; font-weight: 700; background: var(--surface); border: 1px solid var(--line); color: #e2d8cc; transition: .2s; }
.menu-tab:hover { background: var(--surface2); }
.menu-tab.active { background: var(--orange); color: var(--ink); border-color: var(--orange); }
.menu-section { margin-bottom: 56px; scroll-margin-top: calc(var(--tabs-h) + 12px); } /* מתווסף ל-scroll-padding של הכותרת */
.menu-section h3 { font-family: var(--display); font-weight: 400; font-size: 32px; display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.menu-section h3::after { content: ''; flex: 1; height: 2px; background: linear-gradient(270deg, var(--line), transparent); }
.menu-section h3 small { font-family: var(--font); font-size: 14px; color: var(--muted); font-weight: 500; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s; cursor: pointer; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(249, 168, 43, .35); }
.card-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #2a2523; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card-img img { transform: scale(1.07); }
.card-img.contain { background: #fff; }
.card-img.contain img { object-fit: contain; padding: 10px; }
.card:hover .card-img.contain img { transform: scale(1.04); }
.price .soon { font-size: 14px; color: var(--orange); font-weight: 700; margin: 0; }
.card.is-soon .btn-add { background: var(--surface2); color: var(--muted); }
.card.is-quick .card-body p { flex: 1; }
.seg-pz { margin-bottom: 10px; }
.badge { position: absolute; top: 12px; inset-inline-start: 12px; background: var(--red); color: #fff; font-size: 12.5px; font-weight: 800; padding: 5px 11px; border-radius: 99px; box-shadow: 0 4px 12px rgba(0, 0, 0, .3); }
.badge.alt { background: var(--green); }
.card-body { padding: 18px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card-body h4 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.card-body p { color: var(--muted); font-size: 14.5px; margin-bottom: 14px; flex: 1; }
.size-prices { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.size-prices span { font-size: 13px; background: var(--surface2); border-radius: 8px; padding: 3px 9px; color: #ddd2c5; direction: ltr; }
.size-prices b { color: var(--orange); margin-inline-end: 4px; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-size: 22px; font-weight: 800; }
.price small { font-size: 13px; color: var(--muted); font-weight: 500; margin-inline-start: 2px; }
.btn-add { background: var(--orange); color: var(--ink); padding: 10px 18px; font-size: 15px; }
.btn-add:hover { background: #ffb944; }

/* ---------- איך מזמינים ---------- */
.how { padding: 70px 0; background: var(--bg2); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; position: relative; }
.steps h3 { font-size: 21px; margin: 14px 0 6px; }
.steps p { color: var(--muted); margin: 0; }
.step-n { width: 48px; height: 48px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 22px; font-family: var(--display); }

/* ---------- הסיפור ---------- */
.about { padding: 90px 0; background: var(--cream); color: var(--ink); }
.about .eyebrow { color: var(--red); background: rgba(225, 20, 28, .07); border-color: rgba(225, 20, 28, .2); }
.about-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.about-copy p { font-size: 17.5px; color: #4b4039; }
.about-stats { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.about-stats div { background: #fff; border-radius: 16px; padding: 16px 20px; box-shadow: 0 8px 24px rgba(80, 40, 10, .08); min-width: 120px; }
.about-stats b { display: block; font-family: var(--display); font-weight: 400; font-size: 34px; color: var(--red); line-height: 1; }
.about-stats span { font-size: 14px; color: #6b5d53; }
.gallery { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 200px 200px 170px; gap: 14px; }
.gallery figure { margin: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 16px 40px rgba(60, 30, 10, .18); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery figure:hover img { transform: scale(1.06); }
.g1 { grid-column: 1 / 3; }
.g2 { grid-row: 2 / 4; }
.g3 { }
.g4 { }

/* ---------- שעות ומיקום ---------- */
.visit { padding: 90px 0; }
.visit-in { display: grid; grid-template-columns: 1fr 1.2fr; gap: 30px; align-items: stretch; }
.visit-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 34px; }
.hours { width: 100%; border-collapse: collapse; margin: 6px 0 22px; }
.hours td { padding: 10px 6px; border-bottom: 1px dashed var(--line); }
.hours td:last-child { text-align: left; direction: ltr; font-weight: 600; }
.hours tr.today td { color: var(--orange); font-weight: 800; }
.hours tr.today td:first-child::after { content: ' · היום'; font-weight: 500; font-size: 13px; }
.hours .closed { color: #ff7076; }
.hours-note { display: block; font-size: 12.5px; color: var(--muted); font-weight: 500; }
.visit-lines { display: grid; gap: 10px; margin-bottom: 24px; }
.visit-line { display: flex; gap: 12px; align-items: center; color: #e4d9cd; }
a.visit-line:hover { color: var(--orange); }
.visit-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.map { border-radius: 24px; overflow: hidden; min-height: 380px; border: 1px solid var(--line); background: var(--surface); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(.2) contrast(1.05); }

/* ---------- פוטר ---------- */
.footer { background: #0d0c0b; border-top: 1px solid var(--line); padding: 50px 0 20px; color: var(--muted); }
.footer-in { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-brand img { background: #fff; border-radius: 18px; padding: 4px; margin-bottom: 10px; }
.footer-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-cols div { display: grid; gap: 8px; align-content: start; }
.footer-cols h4 { color: var(--text); margin-bottom: 4px; }
.footer-cols a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 34px; padding-top: 18px; font-size: 13.5px; text-align: center; }

/* ---------- פס עגלה במובייל ---------- */
.mobile-cart { position: fixed; bottom: 14px; left: 16px; right: 16px; z-index: 60; display: none; align-items: center; gap: 12px; background: var(--red); color: #fff; border-radius: 18px; padding: 14px 18px; font-weight: 700; font-size: 17px; box-shadow: 0 14px 34px rgba(225, 20, 28, .45); padding-bottom: calc(14px + env(safe-area-inset-bottom) * .5); }
.mobile-cart b { margin-inline-start: auto; font-size: 19px; }
.mc-count { background: rgba(0, 0, 0, .25); border-radius: 10px; min-width: 30px; height: 30px; display: grid; place-items: center; font-size: 15px; }

/* ---------- מודאלים ---------- */
.modal, .drawer { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(5, 4, 4, .72); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
.modal-panel { position: relative; background: var(--bg2); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); width: min(1040px, 100% - 32px); min-width: 0; max-height: min(92vh, 900px); max-height: min(92dvh, 900px); overflow: hidden; overflow: clip; display: flex; flex-direction: column; animation: pop .35s cubic-bezier(.2, 1.2, .4, 1); }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.modal-close { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 5; }

/* בונה / פריט */
.item-panel.no-art { width: min(560px, 100% - 32px); }
.no-art .item-grid { grid-template-columns: 1fr; }
.item-scroll, .co-scroll { flex: 1; min-height: 0; }
.item-grid { display: grid; grid-template-columns: 1fr 1.05fr; min-height: 0; flex: 1; overflow: hidden; overflow: clip; }
.item-art { background: radial-gradient(circle at 50% 45%, #3a2a1c 0%, #1b1513 70%); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px; position: relative; gap: 14px; }
.item-art .pizza-stage { width: min(430px, 100%); aspect-ratio: 1; }
.item-art .art-caption { color: #e9d9c6; font-size: 14px; text-align: center; min-height: 22px; }
.item-photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.item-main { display: flex; flex-direction: column; min-height: 0; overflow: hidden; overflow: clip; }
.item-scroll { overflow-y: auto; padding: 30px 30px 20px; overscroll-behavior: contain; }
.item-scroll h2 { font-family: var(--display); font-weight: 400; font-size: 32px; margin-bottom: 6px; padding-inline-end: 44px; }
.item-desc { color: var(--muted); margin-bottom: 18px; }
.opt-block { margin-bottom: 22px; }
.opt-title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-weight: 800; font-size: 17px; margin-bottom: 10px; }
.opt-title small { font-weight: 500; color: var(--muted); font-size: 13.5px; }
.req { color: var(--orange); font-size: 12px; font-weight: 700; background: rgba(249, 168, 43, .12); padding: 2px 8px; border-radius: 99px; }
.sizes { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 10px; }
.size-opt { position: relative; }
/* השדה הנסתר יושב בתוך הכפתור שלו (ולא מחוצה לו), כדי שלחיצה עליו לא תגלול את כל החלון */
.tp-opt, .radio-opt { position: relative; }
.size-opt input, .tp-opt input, .radio-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.size-opt label { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 8px; border-radius: 14px; background: var(--surface); border: 2px solid var(--line); cursor: pointer; transition: .18s; }
.size-opt label b { font-size: 22px; font-weight: 900; direction: ltr; }
.size-opt label span { font-size: 14px; color: var(--muted); }
.size-opt .pz-dot { border-radius: 50%; background: radial-gradient(circle, #f6cf5f 55%, #d18f3f 58%); margin-bottom: 4px; }
.size-opt input:checked + label { border-color: var(--orange); background: rgba(249, 168, 43, .12); }
.size-opt input:checked + label span { color: var(--text); }
.size-opt input:focus-visible + label, .tp-opt input:focus-visible + label, .radio-opt input:focus-visible + label { outline: 3px solid var(--orange); outline-offset: 2px; }
.tps { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.tp-opt label { display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 10px; border-radius: 14px; background: var(--surface); border: 2px solid var(--line); cursor: pointer; transition: .18s; user-select: none; min-height: 54px; }
.tp-opt label:hover { border-color: rgba(249, 168, 43, .4); }
.tp-ico { width: 36px; height: 36px; border-radius: 50%; background: #3a2f27; display: grid; place-items: center; flex: none; transition: transform .25s; }
.tp-name { font-weight: 700; font-size: 15px; line-height: 1.2; }
.tp-price { display: block; font-size: 12.5px; color: var(--muted); font-weight: 500; }
.tp-check { margin-inline-start: auto; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #6b5f56; display: grid; place-items: center; font-size: 13px; color: transparent; flex: none; transition: .18s; }
.tp-opt input:checked + label { border-color: var(--orange); background: rgba(249, 168, 43, .12); }
.tp-opt input:checked + label .tp-check { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.tp-opt input:checked + label .tp-ico { transform: rotate(-14deg) scale(1.08); }
.seg-mode { margin-bottom: 12px; }
.seg-side { margin-bottom: 8px; background: transparent; padding: 0; gap: 8px; }
.seg-side button { border: 2px solid var(--line); background: var(--surface); padding: 10px; font-size: 15px; }
.seg-side button.on { background: rgba(249, 168, 43, .14); border-color: var(--orange); color: var(--text); }
.half-note { font-size: 13px; color: #ffe2b0; background: rgba(249, 168, 43, .08); border-radius: 10px; padding: 8px 12px; margin-bottom: 12px; }
.radios { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-opt label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px; background: var(--surface); border: 2px solid var(--line); cursor: pointer; font-weight: 600; transition: .18s; }
.radio-opt input:checked + label { border-color: var(--orange); background: rgba(249, 168, 43, .12); }
.link-btn { color: var(--orange); font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
textarea, .field input, .field select { width: 100%; background: var(--surface); border: 2px solid var(--line); border-radius: 12px; padding: 12px 14px; outline: none; transition: border-color .2s; }
textarea { resize: vertical; min-height: 70px; }
textarea:focus, .field input:focus, .field select:focus { border-color: var(--orange); }
.item-foot { border-top: 1px solid var(--line); padding: 16px 30px; display: flex; gap: 14px; align-items: center; background: var(--bg2); }
.qty { display: inline-flex; align-items: center; background: var(--surface); border-radius: 99px; border: 1px solid var(--line); flex: none; }
.qty button { width: 42px; height: 46px; font-size: 22px; font-weight: 700; display: grid; place-items: center; border-radius: 99px; }
.qty button:hover { background: var(--surface2); }
.qty span { min-width: 26px; text-align: center; font-weight: 800; font-size: 18px; }
.qty.sm button { width: 34px; height: 34px; font-size: 18px; }
.qty.sm span { font-size: 15px; min-width: 20px; }
.add-btn { flex: 1; justify-content: space-between; padding: 15px 24px; font-size: 17px; }
.add-btn b { font-size: 19px; }

/* אנימציית תוספות */
.tp-in { animation: tpDrop .5s cubic-bezier(.2, 1.35, .45, 1) both; transform-box: fill-box; transform-origin: center; }
@keyframes tpDrop { 0% { opacity: 0; transform: translateY(-46px) scale(1.9) rotate(-30deg); } 60% { opacity: 1; } 100% { opacity: 1; transform: none; } }
.tp-out { animation: tpOut .26s ease forwards; transform-box: fill-box; transform-origin: center; }
@keyframes tpOut { to { opacity: 0; transform: scale(.6); } }
.pizza-svg { width: 100%; height: 100%; display: block; overflow: visible; }

/* ---------- עגלה ---------- */
.drawer { justify-content: flex-start; align-items: stretch; }
.drawer-panel { position: relative; width: min(440px, 100%); background: var(--bg2); border-inline-end: 1px solid var(--line); display: flex; flex-direction: column; animation: slideIn .35s cubic-bezier(.2, 1, .3, 1); box-shadow: var(--shadow); }
@keyframes slideIn { from { transform: translateX(100%); } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 26px; margin: 0; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 22px; overscroll-behavior: contain; }
.drawer-foot { border-top: 1px solid var(--line); padding: 18px 22px calc(18px + env(safe-area-inset-bottom)); background: var(--bg); }
.cart-empty { text-align: center; padding: 50px 10px; color: var(--muted); }
.cart-empty .big { font-size: 64px; margin-bottom: 10px; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); animation: fade .3s; }
.line-img { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: #2a2523; }
.line-img img, .line-img svg { width: 100%; height: 100%; object-fit: cover; }
.line h4 { font-size: 16px; margin: 0 0 2px; }
.line-meta { font-size: 13px; color: var(--muted); line-height: 1.45; }
.line-actions { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.line-actions .link-btn { font-size: 13px; color: var(--muted); }
.line-actions .link-btn:hover { color: var(--orange); }
.line-price { font-weight: 800; font-size: 16px; white-space: nowrap; }
.sum-row { display: flex; justify-content: space-between; margin-bottom: 6px; color: var(--muted); }
.sum-row.total { color: var(--text); font-size: 20px; font-weight: 800; margin: 10px 0 14px; }
.min-bar { background: var(--surface2); border-radius: 99px; height: 8px; overflow: hidden; margin: 8px 0 4px; }
.min-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--orange), var(--red)); border-radius: 99px; transition: width .4s; }
.min-note { font-size: 13.5px; color: var(--muted); margin-bottom: 12px; }

/* ---------- קופה ---------- */
.checkout-panel { width: min(760px, 100% - 32px); }
.co-scroll { overflow-y: auto; padding: 30px; overscroll-behavior: contain; }
.co-scroll h2 { font-family: var(--display); font-weight: 400; font-size: 32px; padding-inline-end: 44px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface); border-radius: 16px; padding: 5px; gap: 5px; margin-bottom: 22px; }
.seg button { padding: 13px; border-radius: 12px; font-weight: 800; font-size: 16px; color: var(--muted); transition: .2s; }
.seg button.on { background: var(--orange); color: var(--ink); }
.seg button small { display: block; font-weight: 500; font-size: 12.5px; }
.fields { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 22px; }
.field { grid-column: span 6; display: flex; flex-direction: column; gap: 6px; }
.field.half { grid-column: span 3; }
.field.third { grid-column: span 2; }
.field label { font-weight: 700; font-size: 14px; }
.field label .opt { color: var(--muted); font-weight: 500; }
.field.err input, .field.err select { border-color: #ff5a62; }
.field .err-msg { color: #ff7a80; font-size: 13px; display: none; }
.field.err .err-msg { display: block; }
.field.ac { position: relative; }
.ac-list { position: absolute; top: calc(100% - 2px); left: 0; right: 0; z-index: 20; list-style: none; margin: 4px 0 0; padding: 6px; background: #2f2a27; border: 1px solid rgba(249, 168, 43, .35); border-radius: 14px; box-shadow: 0 16px 36px rgba(0, 0, 0, .55); max-height: 270px; overflow-y: auto; }
.ac-list li { padding: 10px 12px; border-radius: 10px; cursor: pointer; font-size: 15px; }
.ac-list li:hover, .ac-list li.on { background: rgba(249, 168, 43, .16); }
.ac-list mark { background: none; color: var(--orange); font-weight: 800; }
.co-h { font-size: 18px; font-weight: 800; margin: 6px 0 12px; display: flex; align-items: center; gap: 8px; }
.co-summary { background: var(--surface); border-radius: 18px; padding: 18px; margin-bottom: 18px; }
.co-items { font-size: 14.5px; color: #e2d8cc; margin-bottom: 12px; }
.co-items div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.co-items small { color: var(--muted); display: block; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--muted); margin-bottom: 16px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--orange); }
.co-foot { border-top: 1px solid var(--line); padding: 16px 30px; background: var(--bg2); }
.co-warn { background: rgba(225, 20, 28, .12); border: 1px solid rgba(225, 20, 28, .35); color: #ffc2c5; padding: 10px 14px; border-radius: 12px; font-size: 14px; margin-bottom: 12px; }
.co-info { background: rgba(249, 168, 43, .1); border: 1px solid rgba(249, 168, 43, .3); color: #ffe2b0; padding: 10px 14px; border-radius: 12px; font-size: 14px; margin-bottom: 16px; }
.success { text-align: center; padding: 40px 30px; }
.success .big { font-size: 72px; line-height: 1; margin-bottom: 14px; animation: pop .6s; }
.success h2 { font-family: var(--display); font-weight: 400; font-size: 34px; }
.success p { color: var(--muted); max-width: 440px; margin-inline: auto; }
.ready-box { display: block; max-width: 420px; margin: 0 auto 18px; padding: 14px 18px; border-radius: 16px; background: rgba(34, 163, 86, .14); border: 1px solid rgba(34, 163, 86, .5); color: #c9f5d9; font-weight: 800; font-size: 18px; line-height: 1.4; }
.order-no { display: inline-block; background: var(--surface2); padding: 6px 16px; border-radius: 99px; font-weight: 800; letter-spacing: .05em; margin-bottom: 18px; direction: ltr; }
.success .btns { display: grid; gap: 10px; max-width: 360px; margin: 22px auto 0; }
.msg-preview { text-align: right; white-space: pre-wrap; background: var(--surface); border-radius: 14px; padding: 16px; font-size: 13.5px; max-height: 240px; overflow: auto; color: #ddd; margin-top: 16px; }

/* ---------- טוסט ---------- */
.toast { opacity: 0; visibility: hidden; position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 30px); background: #fff; color: var(--ink); font-weight: 700; padding: 13px 22px; border-radius: 99px; box-shadow: var(--shadow); z-index: 200; transition: transform .35s cubic-bezier(.2, 1.3, .4, 1); display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.toast { transition: transform .35s cubic-bezier(.2, 1.3, .4, 1), opacity .25s, visibility .25s; }

/* ---------- רספונסיבי ---------- */
@media (max-width: 1020px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg2); flex-direction: column; padding: 12px 16px 18px; border-bottom: 1px solid var(--line); gap: 2px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 17px; }
  .burger { display: flex; }
  .header-actions { margin-inline-start: auto; }
  .build-in, .about-in, .visit-in { grid-template-columns: 1fr; gap: 36px; }
  .build-art { order: -1; }
  .build-pizza { width: min(380px, 86%); }
}
@media (max-width: 820px) {
  :root { --header-h: 70px; }
  .hide-sm { display: none !important; }
  .brand img { width: 48px; height: 48px; }
  .brand-txt b { font-size: 18px; }
  .brand-txt small { font-size: 11.5px; }
  .header-in { gap: 10px; }
  .header-actions { flex: 1; margin-inline-start: 0; }
  .header-kosher { width: 66px; height: 66px; margin-inline: auto; margin-block: -2px; } /* במובייל: באמצע בין הלוגו לעגלה */
  .hero { min-height: 640px; align-items: flex-end; }
  .hero-bg { width: 100%; height: 62%; object-position: 30% 50%; }
  .hero-dots { display: none; }
  .hero-shade { background: linear-gradient(0deg, var(--bg) 4%, rgba(14, 12, 11, .9) 42%, rgba(14, 12, 11, .25) 78%, rgba(14, 12, 11, .45) 100%); }
  .hero-in { padding: 160px 0 80px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-badges li { padding: 8px 12px; font-size: 13px; }
  .steps { grid-template-columns: 1fr; }
  .menu-tabs { justify-content: flex-start; }
  .gallery { grid-template-rows: 170px 150px 130px; gap: 10px; }
  .modal { align-items: flex-end; }
  .modal-panel, .item-panel.no-art, .checkout-panel { width: 100%; max-height: 94vh; max-height: 94dvh; border-radius: 24px 24px 0 0; animation: sheet .38s cubic-bezier(.2, 1, .3, 1); }
  @keyframes sheet { from { transform: translateY(100%); } }
  .item-grid { grid-template-columns: 1fr; overflow-y: auto; display: block; }
  .item-main { overflow: visible; }
  .item-scroll { overflow: visible; padding: 22px 18px 16px; }
  .item-art { padding: 14px 18px 8px; position: sticky; top: 0; z-index: 2; gap: 6px; box-shadow: 0 10px 20px rgba(0, 0, 0, .35); }
  .item-art .pizza-stage { width: min(190px, 50vw); }
  .item-foot { position: sticky; bottom: 0; z-index: 3; }
  .kosher-mini { display: none; }
  .topbar-in { justify-content: center; }
  .item-art .art-caption { font-size: 13px; min-height: 0; }
  .item-foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
  .item-scroll h2, .co-scroll h2 { font-size: 27px; }
  .tps { grid-template-columns: 1fr 1fr; }
  .co-scroll { padding: 22px 18px; }
  .co-foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
  .field.half { grid-column: span 6; }
  .field.third { grid-column: span 2; }
  .mobile-cart:not([hidden]) { display: flex; }
  body.has-cart .footer { padding-bottom: 96px; }
  .visit-card { padding: 24px; }
  .toast { bottom: 90px; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; gap: 12px; }
  .card { flex-direction: row; border-radius: 16px; }
  .card:hover { transform: none; }
  .card-img { aspect-ratio: auto; width: 118px; flex: none; min-height: 112px; }
  /* התמונה לא קובעת את גובה הכרטיס: בלי קפיצות כשתמונות lazy נטענות (הזיזו את יעד הגלילה) */
  .card-img img { position: absolute; inset: 0; }
  .card-body { padding: 12px 14px; min-width: 0; }
  .card-body h4 { font-size: 17px; margin-bottom: 2px; }
  .card-body p { font-size: 13px; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .size-prices { margin-bottom: 8px; }
  .size-prices span { font-size: 12px; padding: 2px 7px; }
  .price { font-size: 18px; }
  .btn-add { padding: 8px 14px; font-size: 14px; }
  .badge { top: 8px; inset-inline-start: 8px; font-size: 11px; padding: 3px 8px; }
  .menu-section h3 { font-size: 26px; flex-wrap: wrap; }
}
@media (max-width: 420px) {
  .header-in { gap: 6px; }
  .brand { gap: 7px; }
  .brand img { width: 44px; height: 44px; }
  .brand-txt b { font-size: 16px; }
  .brand-txt small { font-size: 10.5px; }
  .addr-full { display: none; }
  .header-actions { gap: 6px; }
  .header-kosher { width: 62px; height: 62px; }
  .cart-btn { width: 46px; height: 46px; }
  .burger { width: 40px; height: 40px; }
  .tp-opt label { padding: 7px 8px; gap: 7px; }
  .tp-ico { width: 30px; height: 30px; }
  .tp-ico svg { width: 28px; height: 28px; }
  .tp-name { font-size: 14px; }
  .co-foot .btn-lg { font-size: 16px; padding: 14px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* מספרי טלפון: תמיד משמאל לימין ובשורה אחת, גם בתוך טקסט עברי */
[data-l="phone"], [data-bind="phone"], [data-l="whatsapp"] { direction: ltr; unicode-bidi: isolate; white-space: nowrap; }

/* ---------- רשתות חברתיות וקישורים משפטיים ---------- */
.social { display: flex; gap: 10px; margin-top: 12px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--surface2); color: #fff; transition: background .2s, transform .2s; }
.social a:hover { transform: translateY(-2px); }
.social a.fb:hover { background: #1877f2; }
.social a.ig:hover { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); }
.social svg { width: 20px; height: 20px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; margin-bottom: 10px; }
.footer-legal a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.footer-legal a:hover { color: var(--orange); }
.check.consent a { color: var(--orange); text-decoration: underline; }
.check.consent.err { color: #ff7a80; }
.check.consent.err input { outline: 2px solid #ff5a62; }

/* ---------- תפריט נגישות ---------- */
.a11y { position: fixed; left: 16px; bottom: 16px; z-index: 150; }
body.has-cart .a11y { bottom: 92px; }
/* כשחלון הזמנה / עגלה / קופה פתוח, הכפתור לא מסתיר את כפתורי ההוספה והשליחה */
body.lock .a11y { display: none; }
@media (max-width: 820px) { .a11y-btn { width: 44px; height: 44px; } .a11y-btn svg { width: 22px; height: 22px; } .a11y-panel { bottom: 54px; } }
.a11y-btn { width: 50px; height: 50px; border-radius: 50%; background: #1452cc; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0, 0, 0, .45); border: 2px solid #fff; }
.a11y-btn:hover { background: #1a62f0; }
.a11y-panel { position: absolute; left: 0; bottom: 60px; width: 250px; background: #fff; color: #111; border-radius: 16px; box-shadow: 0 18px 50px rgba(0, 0, 0, .5); padding: 10px; display: grid; gap: 6px; }
.a11y-panel[hidden] { display: none; }
.a11y-head { display: flex; justify-content: space-between; align-items: center; padding: 4px 6px 6px; font-size: 17px; }
.a11y-x { width: 32px; height: 32px; border-radius: 50%; background: #eee; color: #111; }
.a11y-panel [data-a] { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 11px 12px; border-radius: 10px; background: #f1f3f7; color: #111; font-weight: 600; font-size: 15px; text-align: right; border: 2px solid transparent; }
.a11y-panel [data-a][aria-pressed="true"] { background: #e3ecff; border-color: #1452cc; }
.a11y-panel [data-a] small { color: #1452cc; font-weight: 700; }
.a11y-reset { background: #fff !important; border-color: #ddd !important; }
.a11y-link { text-align: center; color: #1452cc; text-decoration: underline; padding: 6px; font-weight: 600; }
html.a11y-text-1 body { zoom: 1.12; }
html.a11y-text-2 body { zoom: 1.25; }
html.a11y-text-3 body { zoom: 1.4; }
html.a11y-contrast { --bg: #000; --bg2: #000; --surface: #111; --surface2: #222; --text: #fff; --muted: #fff; --orange: #ffd400; --line: rgba(255, 255, 255, .5); }
html.a11y-contrast .hero-shade { background: rgba(0, 0, 0, .85); }
html.a11y-contrast .about, html.a11y-contrast .about p, html.a11y-contrast .about-stats div { background: #000; color: #fff; }
html.a11y-contrast * { text-shadow: none !important; }
html.a11y-links a, html.a11y-links .link-btn { text-decoration: underline !important; text-underline-offset: 3px; outline: 2px dashed var(--orange); outline-offset: 2px; }
html.a11y-font body, html.a11y-font h1, html.a11y-font h2, html.a11y-font h3, html.a11y-font .brand-txt b, html.a11y-font .hero-title { font-family: Arial, 'Rubik', sans-serif !important; letter-spacing: .01em; }
html.a11y-noanim *, html.a11y-noanim *::before, html.a11y-noanim *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

/* ---------- דפים משפטיים ---------- */
.legal-header { background: #0d0c0b; border-bottom: 1px solid var(--line); }
.legal-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 72px; }
.legal-main { padding: 40px 0 70px; }
.legal-doc { max-width: 820px; margin-inline: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 4vw, 44px); line-height: 1.8; }
.legal-doc h1 { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 4.5vw, 42px); margin-bottom: 6px; }
.legal-doc .updated { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.legal-doc h2 { font-family: var(--font); font-weight: 800; font-size: 20px; margin: 30px 0 10px; color: var(--orange); }
.legal-doc p, .legal-doc li { color: #e6ddd2; font-size: 16px; }
.legal-doc ul, .legal-doc ol { padding-inline-start: 22px; margin: 0 0 1em; }
.legal-doc li { margin-bottom: 6px; }
.legal-doc a { color: var(--orange); text-decoration: underline; }
.legal-doc .box { background: var(--surface2); border-radius: 14px; padding: 14px 18px; margin: 14px 0; }
.legal-doc .l-missing { background: rgba(225, 20, 28, .2); color: #ffb3b6; padding: 0 6px; border-radius: 6px; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 auto 22px; max-width: 820px; }
.legal-nav a { padding: 8px 16px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; }
.legal-nav a[aria-current="page"] { background: var(--orange); color: var(--ink); border-color: var(--orange); }
