/* עיצוב האתר. פלטה מאתר הייחוס (docs/reference-analysis.md §7); טיפוגרפיה, הירו ורצועת "האירוע הקרוב" שלנו. מובייל קודם. */

/* ---------- גופנים (self-hosted) ---------- */
@font-face {
  font-family: "Heebo";
  src: url("/fonts/heebo-hebrew-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Heebo";
  src: url("/fonts/heebo-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Frank Ruhl Libre: סריף עברי לכותרות, לשם האתר ולמחירים. הקול של האתר. */
@font-face {
  font-family: "Frank Ruhl Libre";
  src: url("/fonts/frank-ruhl-libre-hebrew-wght.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Frank Ruhl Libre";
  src: url("/fonts/frank-ruhl-libre-latin-wght.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --sand: #aa9568;
  --peach: #dbb285;
  --mauve: #946c6c;
  --card: #cebda0;
  --card-soft: #d5d0ac;
  --cream: #e8dccc;
  --ink: #28110e;
  --ink-soft: #4b3a16;
  --plum: #693e3e;
  --plum-hover: #552f2f;
  --gold: #8f6b2b;
  --gold-hover: #74561f;
  --olive: #6b5a3d;
  --white: #fff;
  --danger: #8a2d2d;
  --ok: #6f8f5a;
  --radius-card: 28px;
  --radius-btn: 15px;
  --radius-pill: 19px;
  --font: "Heebo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Frank Ruhl Libre", "David Libre", Georgia, "Times New Roman", serif;
  --topbar-h: 60px; /* בדסקטופ 76px, ראו למטה */
  --shadow-card: 0 10px 30px rgba(40, 17, 14, .14);
  --shadow-card-hover: 0 18px 44px rgba(40, 17, 14, .22);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 1001px) { :root { --topbar-h: 76px; } }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--sand);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
a { color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.page-title { font-size: 2.3rem; text-align: center; margin-block: .25rem 1.5rem; }
@media (min-width: 700px) { .page-title { font-size: 3.1rem; } }

/* כותרת רצועה: סריף גדול וקו זהב קצר, סימן התחלה של קטע. */
.section-title { font-size: 2.4rem; text-align: center; margin: 0 0 2.25rem; padding-bottom: 1rem; position: relative; }
.section-title::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; margin-inline: auto; width: 56px; border-top: 2px solid var(--gold); }
@media (min-width: 700px) { .section-title { font-size: 3.3rem; } }

/* ---------- סרגל עליון ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: .5rem;
  min-height: var(--topbar-h); padding: .5rem 16px;
  background: rgba(40, 17, 14, .88); color: var(--cream);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.topbar-brand { justify-self: start; display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--cream); font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; white-space: nowrap; }
.topbar-brand img { height: 42px; width: auto; }
@media (min-width: 1001px) { .topbar-brand img { height: 50px; } .topbar-brand { font-size: 1.5rem; } }
.topbar-nav { justify-self: center; display: flex; align-items: center; gap: 0; font-size: 1.02rem; }
@media (min-width: 1001px) { .topbar-nav { font-size: 1.25rem; } .topbar-nav > a { padding: 0 .7rem; } .topbar-nav > a:not(.btn):not(:first-child)::before { margin-inline-end: 1.4rem; } .topbar-nav .btn { font-size: 1.1rem; padding: 7px 22px; margin-inline-start: 1rem; } }
.topbar-nav > a { color: var(--cream); text-decoration: none; opacity: .9; padding: 0 .55rem; white-space: nowrap; transition: opacity .15s; }
.topbar-nav > a:not(.btn):not(:first-child)::before { content: "|"; opacity: .35; margin-inline-end: 1.1rem; font-weight: 300; }
.topbar-nav > a:hover { opacity: 1; }
.topbar-nav > a:not(.btn):hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--gold); }
.topbar-nav .btn { padding: 5px 18px; font-size: 1rem; margin-inline-start: .75rem; box-shadow: none; }
.topbar-toggle { display: none; justify-self: end; grid-column: 3; background: none; border: 0; color: var(--cream); font: inherit; font-size: 1.6rem; line-height: 1; padding: .2rem .4rem; cursor: pointer; }
@media (max-width: 1000px) {
  .topbar { grid-template-columns: 1fr auto; }
  .topbar-toggle { display: block; grid-column: 2; }
  .topbar-nav { display: none; grid-column: 1 / -1; justify-self: stretch; flex-direction: column; align-items: flex-start; gap: .9rem; padding: .75rem 0 .5rem; font-size: 1.2rem; }
  .topbar-nav > a { padding: 0; }
  .topbar-nav > a:not(.btn):not(:first-child)::before { content: none; }
  .topbar-nav .btn { margin-inline-start: 0; }
  .topbar.open .topbar-nav { display: flex; }
}
/* בדף הבית הסרגל מרחף מעל ההירו, ומתמלא כשגוללים */
.home .topbar { position: fixed; inset-inline: 0; background: linear-gradient(rgba(40,17,14,.6), rgba(40,17,14,0)); backdrop-filter: none; -webkit-backdrop-filter: none; transition: background .3s; }
.home .topbar.open, .home .topbar.scrolled { background: rgba(40, 17, 14, .88); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

/* ---------- הירו: מסך מלא, לוגו, סלוגן, ורצועת "האירוע הקרוב" ---------- */
.hero {
  position: relative; display: grid; grid-template-rows: 1fr auto; min-height: 100svh; overflow: hidden;
  background: radial-gradient(ellipse at 50% 30%, #6b4a4a 0%, #3d2422 55%, var(--ink) 100%);
  color: var(--cream); isolation: isolate;
}
/* שכבת התמונה נפרדת וגדולה מהמסך, כדי שתוכל לזוז לאט בגלילה בלי לחשוף קצוות */
.hero-bg { position: absolute; inset: -18% 0 -18% 0; z-index: -2; background-size: cover; background-position: center; will-change: transform; }
.hero.has-image::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(40,17,14,.55) 0%, rgba(40,17,14,.22) 38%, rgba(40,17,14,.3) 65%, rgba(40,17,14,.78) 100%);
}
.hero-center { place-self: center; text-align: center; padding: calc(var(--topbar-h) + 1.5rem) 16px 2rem; display: flex; flex-direction: column; align-items: center; }
/* הלוגו + פרח חיים דק שמסתובב לאט במרכזו */
.hero-emblem { position: relative; display: inline-grid; place-items: center; width: min(200px, 46vw); margin-bottom: 1rem; }
.hero-logo { width: 100%; filter: drop-shadow(0 8px 28px rgba(0,0,0,.4)); grid-area: 1 / 1; }
.hero-fol { grid-area: 1 / 1; width: 40%; height: auto; color: var(--cream); opacity: .9; filter: drop-shadow(0 0 6px rgba(0,0,0,.35)); transform-origin: 50% 50%; }
@media (prefers-reduced-motion: no-preference) { .hero-fol { animation: spin-slow 120s linear infinite; } }
@keyframes spin-slow { to { transform: rotate(360deg); } }
.hero-name { font-family: var(--font-display); font-size: clamp(2.8rem, 6.5vw, 5rem); font-weight: 500; line-height: 1.05; margin: 0; color: var(--cream); text-shadow: 0 2px 18px rgba(0,0,0,.4); }
.hero-tagline { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.05rem, 2.2vw, 1.7rem); letter-spacing: .08em; text-wrap: balance; margin: .6rem 0 0; color: var(--cream); opacity: .92; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.hero-scroll { display: none; }

/* רצועת האירוע הקרוב: יושבת בתחתית ההירו, נכנסת מתחת לרצועה הבאה */
.hero-next {
  position: relative; z-index: 1; justify-self: center; width: min(100% - 32px, 920px);
  display: grid; grid-template-columns: auto 1fr; gap: .4rem 1.1rem; align-items: center;
  padding: 1rem 1.1rem; border-radius: 22px 22px 0 0;
  background: rgba(40, 17, 14, .74); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(232, 220, 204, .16); border-bottom: 0;
  color: var(--cream); text-decoration: none;
}
.hero-next-date { text-align: center; line-height: 1; min-width: 3.2rem; padding-inline-end: 1.1rem; border-inline-end: 1px solid rgba(232,220,204,.22); }
.hero-next-text { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.hero-next-date-day { display: block; font-family: var(--font-display); font-size: 2.3rem; font-weight: 600; }
.hero-next-date-month { display: block; font-size: .85rem; opacity: .85; margin-top: .2rem; }
.hero-next-label { font-size: .85rem; opacity: .8; }
.hero-next-title { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; line-height: 1.15; }
.hero-next-meta { font-size: .95rem; opacity: .9; text-wrap: balance; }
.hero-next .btn { grid-column: 1 / -1; width: 100%; margin-top: .5rem; }
@media (min-width: 700px) {
  .hero-next { grid-template-columns: auto 1fr auto; padding: 1.1rem 1.5rem; column-gap: 1.5rem; }
  .hero-next .btn { grid-column: auto; width: auto; margin: 0; }
  .hero-next-title { font-size: 1.6rem; }
}
.hero-next:hover { background: rgba(40, 17, 14, .84); }

@media (prefers-reduced-motion: no-preference) {
  .hero-logo, .hero-name, .hero-tagline, .hero-next { animation: rise .9s var(--ease) both; }
  .hero-tagline { animation-delay: .15s; }
  .hero-next { animation-delay: .4s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- רצועות ---------- */
.band { padding: 3rem 16px; }
.band-mauve { background: var(--mauve); padding-top: 3.5rem; padding-bottom: 5.5rem; }
/* קצה מעוגל אחד, במקום שהרצועות נפגשות: תחושת חומר, לא קו ישר */
.band-peach { background: var(--peach); border-radius: 44px 44px 0 0; margin-top: -44px; position: relative; padding-top: 3.5rem; padding-bottom: 4rem; }
.band-sand { background: var(--sand); }
.band-inner { max-width: 1080px; margin-inline: auto; }

/* שני ריבועי ה-CTA */
.cta-grid { display: grid; gap: 1.25rem; max-width: 640px; margin-inline: auto; }
@media (min-width: 600px) { .cta-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.cta-card {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 1rem;
  aspect-ratio: 1 / 1; border-radius: 40px; padding: 1.5rem; overflow: hidden; color: var(--white); text-decoration: none;
  background: linear-gradient(160deg, #7a5050, #3d2422); background-size: cover; background-position: center;
  box-shadow: 0 12px 34px rgba(40,17,14,.25); isolation: isolate;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.cta-card.has-image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(40,17,14,.35), rgba(40,17,14,.6)); }
.cta-card:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(40,17,14,.32); }
.cta-card h2 { color: var(--white); font-size: 1.75rem; font-weight: 500; margin: 0; text-shadow: 0 1px 8px rgba(0,0,0,.45); }

/* ---------- כפתורים ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  background: var(--plum); color: var(--white); text-decoration: none;
  border: 0; border-radius: var(--radius-btn); padding: 10px 24px; font: inherit; font-size: 1.1rem; font-weight: 500;
  cursor: pointer; text-align: center; box-shadow: 0 4px 14px rgba(105, 62, 62, .28);
  transition: background .15s, transform .15s var(--ease), box-shadow .15s;
}
.btn:hover { background: var(--plum-hover); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(105, 62, 62, .32); }
.btn:active { transform: translateY(0); }
.btn-gold { background: var(--gold); border-radius: var(--radius-pill); box-shadow: 0 4px 14px rgba(143,107,43,.3); }
.btn-gold:hover { background: var(--gold-hover); }
.btn-lg { font-size: 1.3rem; padding: 13px 36px; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); box-shadow: none; }
.btn-ghost:hover { background: rgba(40,17,14,.08); box-shadow: none; }
.btn-wide { width: 100%; }
.badge { display: inline-block; border-radius: 999px; padding: 3px 14px; font-size: .95rem; background: var(--cream); color: var(--ink); }
.badge-soldout { background: var(--ink); color: var(--cream); }

/* ---------- כרטיסי אירוע ---------- */
.event-list { display: grid; gap: 1.6rem; justify-content: center; grid-template-columns: repeat(auto-fit, minmax(260px, 323px)); }
.event-card {
  background: var(--card); border-radius: var(--radius-card); padding: 0 0 22px; display: flex; flex-direction: column; align-items: center; text-align: center;
  box-shadow: var(--shadow-card); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.event-card-image { position: relative; display: block; width: 100%; overflow: hidden; border-radius: var(--radius-card) var(--radius-card) 14px 14px; }
.event-card-image img, .event-card-placeholder { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: linear-gradient(160deg, #7a5050, #3d2422); transition: transform .6s var(--ease); }
.event-card:hover .event-card-image img { transform: scale(1.03); }
/* תאריך על הפלאייר: מה שמחפשים קודם */
.date-chip {
  position: absolute; top: 12px; inset-inline-start: 12px; min-width: 3.4rem; padding: .4rem .6rem .45rem; text-align: center; line-height: 1;
  background: rgba(40,17,14,.82); color: var(--cream); border-radius: 14px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.date-chip-day { display: block; font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; }
.date-chip-month { display: block; font-size: .72rem; margin-top: .2rem; opacity: .9; }
.event-card-body { padding: 1rem 1.1rem 0; display: flex; flex-direction: column; gap: .45rem; align-items: center; width: 100%; }
.event-card-title { font-size: 1.5rem; font-weight: 600; margin: 0 0 .25rem; color: var(--ink); line-height: 1.15; }
.event-card-title a { text-decoration: none; }
.event-card .btn { margin-top: .7rem; }

/* שורות מידע עם אייקון */
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .35rem; width: 100%; }
.facts li { display: grid; grid-template-columns: 28px 1fr 28px; align-items: center; gap: .5rem; font-size: 1rem; font-weight: 500; }
.facts li .fact-text { text-align: center; }
.facts li svg { width: 20px; height: 20px; fill: var(--plum); justify-self: center; }
.facts-lg li { grid-template-columns: 40px 1fr; align-items: start; gap: .75rem; font-size: 1rem; font-weight: 400; }
.facts-lg li .fact-text { text-align: start; display: flex; flex-direction: column; gap: .1rem; }
.facts-lg li svg { width: 30px; height: 30px; fill: var(--plum); margin-top: .3rem; }
.fact-main { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; line-height: 1.15; }
.fact-time { font-size: 1.25rem; font-weight: 500; }
.fact-sub { font-size: 1rem; color: var(--ink-soft); }
.fact-link { font-size: .95rem; margin-top: .15rem; align-self: flex-start; }

.empty { text-align: center; padding: 2rem 0; font-size: 1.1rem; }

/* ---------- דף אירוע ---------- */
.site-main { flex: 1; width: 100%; max-width: 1080px; margin-inline: auto; padding: 1.5rem 16px 3rem; }
.event-page .page-title { margin-bottom: 1.75rem; }
.event-grid { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 760px) {
  .event-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .event-side { order: -1; position: sticky; top: calc(var(--topbar-h) + 1.25rem); }
}
.event-hero { width: 100%; max-width: 520px; margin-inline: auto; border-radius: 22px; overflow: hidden; box-shadow: 0 24px 60px rgba(40,17,14,.35); cursor: zoom-in; }
.event-hero img { transition: transform .5s var(--ease); }
.event-hero:hover img { transform: scale(1.02); }
.event-side { display: flex; flex-direction: column; gap: 1.5rem; }
.event-side .facts-lg { gap: 1rem; }
.event-side a { color: var(--ink); }
.ticket-box { background: var(--card); border-radius: 24px; padding: 1.35rem 1.35rem 1.2rem; display: flex; flex-direction: column; gap: 1rem; box-shadow: var(--shadow-card); }
.ticket-box-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.ticket-box-label { font-size: 1rem; color: var(--ink-soft); }
.ticket-box-price { font-family: var(--font-display); font-size: 2.5rem; font-weight: 600; line-height: 1; white-space: nowrap; }
.ticket-box .event-cta { align-items: stretch; }
.ticket-box .event-cta .badge { align-self: center; }
.ticket-box .event-cta .link-muted { text-align: center; margin-top: .15rem; }
.ticket-box .btn { width: 100%; }
.event-cta { display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.event-cta form { display: contents; }
.event-description { max-width: 62ch; margin: 2.75rem auto 0; text-align: center; font-size: 1.15rem; line-height: 1.7; color: var(--ink); }
.event-description p { margin: 0 0 1em; }
.event-description a { color: var(--ink); }

/* פס קנייה צמוד למטה בטלפון: המחיר והכפתור תמיד בהישג אגודל */
.cta-bar {
  position: fixed; bottom: 0; inset-inline: 0; z-index: 15;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .7rem 16px calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(40,17,14,.92); color: var(--cream); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 -8px 24px rgba(40,17,14,.25);
}
.cta-bar-price { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; line-height: 1; }
.cta-bar-sub { display: block; font-family: var(--font); font-size: .8rem; font-weight: 400; opacity: .8; margin-top: .2rem; }
.cta-bar .btn { flex: 1; max-width: 240px; }
.has-cta-bar { padding-bottom: 5.5rem; }
@media (min-width: 760px) { .cta-bar { display: none; } .has-cta-bar { padding-bottom: 0; } }

/* תמונה מוגדלת */
.lightbox { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: rgba(40,17,14,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(92vw, 900px); max-height: 90dvh; width: auto; height: auto; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,.5); cursor: default; }
.lightbox-close { position: absolute; top: 12px; inset-inline-start: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: var(--white); font-size: 2rem; line-height: 1; cursor: pointer; }
.lightbox-close:hover { background: rgba(255,255,255,.3); }

/* ---------- קופסאות / טפסים ---------- */
.section { padding-block: .5rem; }
.section-soft { background: var(--card); border-radius: 20px; padding: 1.25rem 1.25rem .5rem; }
.form, .admin-form { display: flex; flex-direction: column; gap: 1rem; max-width: 640px; }
.form label, .admin-form label { display: flex; flex-direction: column; gap: .3rem; font-size: 1rem; font-weight: 500; }
.form .check, .admin-form .check { flex-direction: row; align-items: center; font-weight: 400; }
.admin-form .row { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .admin-form .row { grid-template-columns: 1fr 1fr 1fr; } }
.form input:not([type=checkbox]), .form textarea, .form select,
.admin-form input:not([type=checkbox]), .admin-form textarea, .admin-form select {
  font: inherit; padding: .65rem .9rem; border: 1px solid rgba(40,17,14,.28); border-radius: 12px;
  background: var(--white); color: var(--ink); width: 100%; transition: border-color .15s, box-shadow .15s;
}
.form input:focus, .form textarea:focus, .form select:focus, .admin-form input:focus, .admin-form textarea:focus, .admin-form select:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 3px rgba(105,62,62,.18); }
.admin-form input[type=file] { background: transparent; border: 0; padding-inline: 0; }
.form-image-preview { max-width: 200px; border-radius: 12px; }
.form-image-dark { background: var(--ink); padding: 10px; }
.form-actions { display: flex; gap: .75rem; }
.field-error { color: var(--danger); font-size: .9rem; }
.flash { background: var(--cream); border-radius: 12px; padding: .6rem 1rem; }
.flash-error { background: var(--danger); color: var(--white); }
.form small { font-size: .85rem; color: var(--ink-soft); font-weight: 400; }
.muted { color: var(--ink-soft); font-size: .95rem; }
.center { text-align: center; }

/* ---------- ניהול ---------- */
.admin-nav { display: flex; gap: 1rem; margin-bottom: 1rem; font-size: 1rem; flex-wrap: wrap; }
.admin-nav a.active { font-weight: 600; border-bottom: 2px solid var(--ink); }
.admin-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; }
.admin-toolbar .page-title { margin: 0; text-align: start; font-size: 1.9rem; }
.admin-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: 20px; overflow: hidden; font-size: 1rem; }
.admin-table th, .admin-table td { text-align: start; padding: .6rem .75rem; border-bottom: 1px solid rgba(40,17,14,.12); }
.admin-table th { font-weight: 600; }
.status { border-radius: 999px; padding: 1px 10px; font-size: .85rem; background: var(--cream); }
.status-published, .status-confirmed { background: var(--ok); color: var(--white); }
.status-cancelled { background: var(--danger); color: var(--white); }
.status-pending { background: var(--cream); }
.status-failed, .status-expired, .status-refunded { background: var(--sand); opacity: .7; }
.status-paid { background: var(--cream); }
.reg-cancelled td { opacity: .5; }
@media (max-width: 640px) {
  .admin-table thead { display: none; }
  .admin-table tr { display: block; padding: .5rem 0; }
  .admin-table td { display: block; border: 0; padding: .15rem .75rem; }
}
.admin-search { flex-direction: row; align-items: flex-end; max-width: 480px; }
.admin-inline { flex-direction: row; align-items: flex-end; flex-wrap: wrap; max-width: none; }
.admin-inline label { flex: 1 1 140px; }
.inline-form { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.check.small { font-size: .85rem; gap: .2rem; }
.h-small { font-size: 1.4rem; margin-top: 1.5rem; }

/* ---------- תשלום / הזמנה ---------- */
.checkout { max-width: 520px; margin-inline: auto; }
.checkout-event { display: flex; flex-direction: column; gap: .2rem; margin-bottom: 1.25rem; padding-bottom: 1.25rem; }
.checkout-event strong { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; }
.checkout-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.25rem; padding-top: .5rem; border-top: 1px solid rgba(40,17,14,.25); }
.checkout-total strong { font-family: var(--font-display); font-size: 1.8rem; }
.checkout .btn-lg { width: 100%; }
.order { max-width: 560px; margin-inline: auto; text-align: center; }
.order-box { background: var(--card); border-radius: 24px; padding: 1.75rem 1.4rem; display: flex; flex-direction: column; gap: .6rem; align-items: center; box-shadow: var(--shadow-card); }
.order-confirmed { background: var(--cream); }
.order-main { font-family: var(--font-display); font-size: 1.8rem; margin: 0; font-weight: 600; }
.order-detail { margin: 0; font-size: 1.1rem; }
.order-meta { margin-top: 1.5rem; font-size: .85rem; }
.spinner { width: 36px; height: 36px; border: 3px solid rgba(40,17,14,.2); border-top-color: var(--ink); border-radius: 50%; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.prose { max-width: 62ch; margin-inline: auto; line-height: 1.7; }
.prose h2 { font-size: 1.5rem; margin-top: 1.75rem; }
.mock { max-width: 680px; margin-inline: auto; }
.mock-actions { flex-direction: column; align-items: stretch; margin-top: 1rem; }
.mock-actions .btn { width: 100%; }
.mock-log { background: var(--ink); color: var(--cream); padding: .75rem; border-radius: 12px; font-size: .8rem; white-space: pre-wrap; word-break: break-all; }

/* ---------- כניסה / האזור שלי / כרטיסיות ---------- */
.auth { max-width: 420px; margin-inline: auto; }
.code-input { font-size: 1.6rem; letter-spacing: .4em; text-align: center; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; cursor: pointer; }
.link-button:disabled { opacity: .5; cursor: default; text-decoration: none; }
.link-muted { font-size: .95rem; color: var(--ink-soft); }
.resend { margin-top: 1rem; }
.cf-turnstile { margin-inline: auto; }
.package-list { display: grid; gap: 1.6rem; justify-content: center; grid-template-columns: repeat(auto-fit, minmax(240px, 323px)); }
.package-card { background: var(--card); border-radius: var(--radius-card); padding: 1.75rem 1.4rem; display: flex; flex-direction: column; gap: .3rem; align-items: center; text-align: center; box-shadow: var(--shadow-card); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.package-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.package-card h3 { margin: 0; font-size: 1.7rem; font-weight: 600; }
.package-card p { margin: 0; }
.package-credits { font-size: 1.15rem; }
.package-price { font-family: var(--font-display); font-size: 2.1rem; font-weight: 600; }
.package-card .btn { margin-top: .9rem; }
.me h2 { font-size: 1.6rem; margin-top: 1.75rem; }
.me-total { font-family: var(--font-display); font-size: 1.9rem; margin: 0; font-weight: 600; }
.me-lots { margin: .25rem 0 0; padding-inline-start: 1.2rem; }
.me-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.me-list li { display: flex; flex-direction: column; gap: .2rem; padding: 1rem 1.1rem; }
.me-upcoming { flex-direction: row !important; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; }
.event-facts { display: grid; gap: 1rem; margin: 0; }
.event-facts dt { font-size: .9rem; letter-spacing: .05em; color: var(--ink-soft); }
.event-facts dd { margin: 0; font-size: 1.15rem; }

/* ---------- פוטר ---------- */
.site-footer { margin-top: auto; }
.footer-dark { background: var(--olive); padding: 2.75rem 16px; display: flex; justify-content: center; }
.follow { display: flex; flex-direction: column; align-items: center; gap: .8rem; background: rgba(255,255,255,.12); border-radius: 30px; padding: 1.1rem 2.75rem; color: var(--cream); }
.follow-title { font-size: 1.1rem; font-weight: 500; }
.follow-links { display: flex; gap: .9rem; }
.follow-links a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--olive); box-shadow: 0 0 0 2px rgba(255,255,255,.25); transition: transform .2s var(--ease), box-shadow .2s; }
.follow-links a:hover { transform: translateY(-2px); box-shadow: 0 0 0 2px rgba(255,255,255,.55); }
.follow-links svg { width: 20px; height: 20px; fill: var(--cream); }
.footer-light { background: var(--sand); padding: 1.75rem 16px 2.25rem; text-align: center; display: flex; flex-direction: column; gap: .35rem; align-items: center; }
.footer-name { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; }
.footer-tagline { font-size: .95rem; color: var(--ink-soft); }
.footer-links { display: flex; gap: 1.25rem; flex-wrap: wrap; justify-content: center; font-size: .95rem; margin-top: .4rem; }
.footer-links a { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
