/* תום יער · אתר עמוד אחד
   העיקרון: כל מסך הוא "במה" בגודל קבוע (דסקטופ 1440×810, נייד 390×844) שמוקטנת או מוגדלת
   לגודל החלון ב-JS (transform: scale). כך כל האלמנטים יושבים על התמונה בדיוק כמו בעיצוב. */

@font-face {
  font-family: "Shirbushka";
  src: url("assets/fonts/shirbushka.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --pink: #D27A8B;
  --wine: #7A1F2B;
  --wine-dark: #6E1B26;
  --wine-shadow: #5A151E;
  --cream: #F6E7C6;
  --cream-light: #F8EBCB;
  --gold: #D9A441;
  --gold-text: #7F5410;
  --bulb: #F6D77A;
  --ink: #3E1016;
  --display: "Shirbushka", "Frank Ruhl Libre", serif;
  --body: "Frank Ruhl Libre", Georgia, serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: var(--pink);
  color: var(--wine);
  font-family: var(--body);
  overflow: hidden;              /* אין גלילה בעמוד */
  -webkit-text-size-adjust: 100%;
}

button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
img { display: block; }

/* ---------- הבמה ---------- */

.scene {
  position: fixed;
  inset: 0;
  display: none;
  overflow: hidden;
  background: var(--pink);
}
.scene.is-active { display: block; }

.stage {
  position: absolute;
  top: 0; left: 0;
  transform-origin: 0 0;
  width: 1440px; height: 810px;
}
.scene--mobile .stage { width: 390px; height: 844px; }

.stage > * { position: absolute; }

.room, .face-frame {
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
}
.room--mobile { object-position: 50% 40%; }
.face-frame[hidden] { display: none; }

/* ---------- הצמדה לקצוות החלון (המשתנים נקבעים ב-app.js, layout) ---------- */

.stage { --ct: 0px; --cb: 0px; --cl: 0px; --cr: 0px; --ox: 0px; --oy: 0px; }

/* דסקטופ: החדר נחתך מעט, השלטים זזים פנימה כדי להישאר בתוך החלון */
.scene--desktop .sign-name,
.scene--desktop .sound { translate: 0 var(--ct); }
.scene--desktop .pennant { translate: var(--cl) var(--ct); }
.scene--desktop .cta { translate: 0 calc(var(--cb) * -1); }
.scene--desktop .strip {
  left: var(--cl) !important;
  width: calc(1440px - var(--cl) - var(--cr)) !important;
  translate: 0 calc(var(--cb) * -1);
}

/* נייד: הבמה רחבה/גבוהה כמו החלון, הכפתורים במרכז, הכותרת למעלה והכפתורים למטה */
.scene--mobile .sign-name { translate: var(--ox) 0; }
.scene--mobile .cta,
.scene--mobile .plaque-row { translate: var(--ox) var(--oy); }
.scene--mobile .strip { width: 100% !important; }

/* ---------- חפצים חיים ונקודות חמות ---------- */

.live {
  background: transparent; border: 0; padding: 0;
}
.live img { width: 100%; height: 100%; }
.live:focus-visible, .hotspot:focus-visible { outline: 3px dashed var(--cream); outline-offset: 4px; border-radius: 20px; }

.hotspot {
  background: transparent; border: 0; padding: 0;
  border-radius: 40px;
}

/* ---------- שלט השם ---------- */

.sign-name img { position: absolute; inset: 0; width: 100%; height: 100%; }
.sign-name__text {
  position: absolute; inset: 0;
  margin: 0;
  display: flex; align-items: center; justify-content: center;
  padding-top: 22px;
  font-family: var(--display); font-weight: 400;
  font-size: 56px; line-height: 1;
  color: var(--wine);
  white-space: nowrap;
}
.sign-name__first { position: relative; display: inline-block; }
.sign-name__second { display: inline-block; margin-right: 0.32em; }
.sign-name__star {
  position: absolute; left: 50%; top: -12px;
  transform: translateX(-50%);
  font-size: 24px; line-height: 1; color: #B97E1E;
}
.scene--desktop .sign-name__text { font-size: 36px; padding-top: 14px; }
.scene--desktop .sign-name__star { font-size: 16px; top: -8px; }
.sign-name--sm .sign-name__text { font-size: 34px; padding-top: 13px; }
.sign-name--sm .sign-name__star { font-size: 15px; top: -7px; }

/* ---------- שלט השם: גרסה הוליוודית (אושרה ע"י תום 8.11). לחזרה לשלט הישן: למחוק את המחלקה sign-name--pop מ-index.html ---------- */
/* שלט נורות כמו של הכפתורים, בלי עלי הזית, עם כתב ניאון.
   השלט רחב בהרבה אבל לא גבוה יותר מ-106 (דסקטופ) / 108 (נייד), כדי שלא ירד על הראש. לכן גם אין נדנוד. */
.scene--desktop .sign-name--pop { left: 430px !important; width: 580px !important; height: 106px !important; }
.scene--mobile  .sign-name--pop { left: 70px !important;  width: 312px !important; height: 100px !important; top: 4px !important; }

.sign-name--pop > img { display: none; }   /* השלט הישן עם עלי הזית */
.sign-name--pop {
  /* מסגרת הנורות מתוך sign-marquee.png: הפינות נשמרות, והנורות בצדדים חוזרות לאורך השלט ולא נמתחות */
  border: 26px solid transparent;
  border-image: url("assets/ui/sign-marquee.png") 62 round;
  background: radial-gradient(ellipse at 50% 45%, #4A1226 0%, #24060F 70%, #16030A 100%) padding-box;
  border-radius: 30px;
  animation: bulbs-twinkle 1.4s steps(2, jump-none) infinite;
}
.scene--mobile .sign-name--pop { border-width: 22px; }

.sign-name--pop .sign-name__text {
  inset: -6px 0 0;
  padding-top: 0 !important;
  font-size: 80px !important;
  letter-spacing: .06em;
  color: #FFF2F8;
  -webkit-text-stroke: 1px currentColor;
}
.scene--mobile .sign-name--pop .sign-name__text { font-size: 60px !important; }

/* ניאון: "תום" ורוד, "יער" טורקיז */
.sign-name--pop .sign-name__first {
  text-shadow: 0 0 2px #fff, 0 0 6px #FF5EC4, 0 0 12px #FF2EA6, 0 0 24px #FF1F8E, 0 0 44px #FF1F8E;
  animation: neon-flicker 5s linear infinite;
}
.sign-name--pop .sign-name__second {
  text-shadow: 0 0 2px #fff, 0 0 6px #5EF2FF, 0 0 12px #22D3EE, 0 0 24px #0EA5E9, 0 0 44px #0EA5E9;
  animation: neon-flicker 7s linear infinite reverse;
}
.sign-name--pop .sign-letter {
  display: inline-block;
  animation: letter-wave 2.4s ease-in-out infinite;
  animation-delay: calc(var(--i) * .12s);
}
.sign-name--pop .sign-name__star {
  -webkit-text-stroke: 0; color: #FFD23F;
  font-size: 22px !important; top: -10px !important;
  text-shadow: 0 0 6px #FFE98A, 0 0 14px #FFB800;
  animation: sign-star 2s ease-in-out infinite;
}

@keyframes bulbs-twinkle {
  0%   { filter: brightness(1)    drop-shadow(0 0 6px rgba(255, 196, 64, .55)); }
  100% { filter: brightness(1.18) drop-shadow(0 0 14px rgba(255, 210, 90, .9)); }
}
@keyframes neon-flicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; }
  20%, 24%, 55% { opacity: .35; }
}
@keyframes letter-wave {
  0%, 60%, 100% { translate: 0 0; }
  20% { translate: 0 -5px; }
  40% { translate: 0 1px; }
}
@keyframes sign-star { from { rotate: 0deg; scale: 1; } 50% { scale: 1.5; } to { rotate: 360deg; scale: 1; } }

/* ---------- צליל ---------- */

.sound { background: transparent; border: 0; padding: 0; transition: transform .15s; }
.sound img { width: 100%; height: 100%; }
.sound:hover { transform: translateY(-2px); }
.sound[aria-pressed="true"] { filter: drop-shadow(0 0 8px var(--bulb)); }

/* ---------- דגלון ---------- */

.pennant {
  background: transparent; border: 0; padding: 0;
  display: flex; align-items: center; justify-content: center;
  transform-origin: 50% 0;
  transition: transform .25s;
}
.pennant img { position: absolute; inset: 0; width: 100%; height: 100%; }
.pennant:hover { transform: rotate(-1.5deg); }
.pennant__text {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 56px 0 10px;
  font-family: var(--display); font-size: 32px; line-height: 1;
  color: var(--wine);
}

/* ---------- קנו כרטיסים ---------- */

.cta {
  background: transparent; border: 0; padding: 0;
  display: flex; align-items: center; justify-content: center; gap: 16px;
  transition: transform .15s;
}
.cta:hover { transform: translateY(-3px); }
.cta:active { transform: translateY(1px); }
.cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cta__text {
  position: relative;
  font-family: var(--display); font-size: 44px; line-height: 1;
  padding-top: 7px; color: var(--wine);
}
.cta__icon { position: relative; width: 48px; height: 36px; }
.cta--sm { gap: 12px; }
.cta--sm .cta__text { font-size: 36px; padding-top: 6px; }
.cta--sm .cta__icon { width: 38px; height: 29px; }

/* ---------- שלטים קטנים בנייד ---------- */

.plaque-row { display: flex; gap: 8px; }
.plaque {
  position: relative; flex: 1 1 0; height: 100%;
  background: transparent; border: 0; padding: 0;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; color: var(--wine);
}
.plaque img { position: absolute; inset: 0; width: 100%; height: 100%; }
.plaque span {
  position: relative;
  font-family: var(--display); font-size: 21px; line-height: 1; padding-top: 4px;
}

/* ---------- רצועת ההופעות ---------- */

.strip { display: flex; align-items: stretch; }
.strip__bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.strip__bg--cover { object-fit: cover; object-position: center; }

.strip__shows {
  position: relative; flex: 1 1 auto; min-width: 0;
  background: transparent; border: 0; padding: 0;
  display: flex; align-items: stretch; text-align: start;
}
.strip__label {
  position: relative;
  display: flex; align-items: center;
  padding: 5px 40px 0 22px;
  margin: 18px 0;
  border-left: 3px solid var(--wine);
  color: var(--wine-shadow);
  font-family: var(--display); font-size: 27px; line-height: 1;
  white-space: nowrap; flex-shrink: 0;
}
.strip__special {
  position: relative; flex-shrink: 0;
  display: flex; align-items: center; gap: 12px;
  padding: 0 26px 0 52px;   /* מרווח משמאל: השם הארוך של הספיישל לא נוגע בנורות */
  margin: 10px 0;
  border-right: 3px solid var(--wine);
  background: rgba(90, 21, 30, .16);
  text-decoration: none;
  color: var(--wine-shadow);
  font-family: var(--display); font-size: 27px; line-height: 1;
  white-space: nowrap;
}
.strip__special span { padding-top: 5px; }
.strip__special:hover { background: rgba(90, 21, 30, .26); }

.ticker {
  position: relative; flex: 1 1 auto; overflow: hidden;
  margin: 14px 0;
  display: block;
}
.ticker__track {
  position: absolute; right: 0; top: 0; height: 100%;
  display: flex; align-items: center;
  width: max-content;
  animation: ticker 48s linear infinite;
}
.strip__shows:hover .ticker__track,
.strip--mobile:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(50%); } }

.ticker__group { display: flex; align-items: center; }
.ticker__item {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 0 20px;
  white-space: nowrap;
  color: var(--wine-shadow);
  font-size: 21px; font-weight: 700;
}
.ticker__date { color: var(--wine); font-family: var(--display); font-size: 27px; padding-top: 4px; }
.ticker__venue { font-weight: 500; }
.ticker__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--wine); margin-right: 10px; }

/* נייד: רצועה בשתי שורות */
.strip--mobile {
  flex-direction: row; align-items: stretch;
  background: transparent; border: 0; text-align: start;
  padding: 21px 0 24px;            /* התוכן יושב רק בפס הוורוד, בין שתי שורות הנורות */
}
.strip__label--mobile {
  margin: 4px 0; padding: 3px 14px 0 10px;
  border-left: 2px solid var(--wine);
  font-size: 19px;
}
.ticker--mobile { margin: 0; flex: 1 1 auto; }
.ticker--mobile .ticker__track { animation-duration: 40s; }
.ticker--mobile .ticker__item { font-size: 17px; gap: 8px; padding: 0 14px; }
.ticker--mobile .ticker__date { font-size: 21px; padding-top: 3px; }
.ticker--mobile .ticker__dot { width: 6px; height: 6px; margin-right: 8px; }

/* ---------- חלונות קופצים (רספונסיביים, לא על הבמה) ---------- */

.modal {
  position: fixed; inset: 0; z-index: 50;
  display: flex; align-items: center; justify-content: center;
  padding: 3.5rem 1rem 1.25rem;
}
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(58, 16, 24, .6); }

.card {
  position: relative;
  width: min(45rem, 100%);
  max-height: 100%;
  background: var(--cream-light);
  border: 3px solid var(--wine);
  border-radius: 1rem;
  box-shadow: inset 0 0 0 6px var(--cream-light), inset 0 0 0 8px var(--gold), 0 24px 60px rgba(30, 8, 12, .5);
  padding: 4.25rem 2.5rem 1.75rem;
  display: flex; flex-direction: column; gap: .9rem;
  animation: card-in .25s ease-out;
}
.card--booking { width: min(40rem, 100%); }
@keyframes card-in { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }

.card__plate {
  position: absolute; top: -3.2rem; left: 50%; transform: translateX(-50%);
  width: min(32rem, 90%); aspect-ratio: 868 / 164;
  display: flex; align-items: center; justify-content: center;
}
.card__plate img { position: absolute; inset: 0; width: 100%; height: 100%; }
.card__plate span {
  position: relative;
  font-family: var(--display); font-size: clamp(1.6rem, 4.5vw, 2.6rem); line-height: 1;
  padding-top: .35em; color: var(--wine);
}
.card__close {
  position: absolute; top: .9rem; left: .9rem;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--cream); border: 2px solid var(--wine);
  display: flex; align-items: center; justify-content: center; padding: 0;
}
.card__sub { margin: 0; text-align: center; font-size: 1.1rem; color: var(--gold-text); }

.shows { display: flex; flex-direction: column; overflow: auto; }
.show {
  display: flex; align-items: center; gap: 1.1rem;
  padding: .7rem .4rem;
  border-bottom: 2px dashed #C9A27A;
  text-decoration: none; color: var(--wine);
}
.show:hover { background: rgba(217, 164, 65, .15); }
.show__date {
  font-family: var(--display); font-size: 1.9rem; line-height: 1;
  width: 5.4rem; flex-shrink: 0; padding-top: .25rem;
}
.show__city { font-size: 1.35rem; font-weight: 700; flex-shrink: 0; }
.show__venue { font-size: 1.1rem; color: #6A4A2E; flex: 1 1 auto; }
.show__note { font-size: .95rem; color: var(--gold-text); }
.show__btn {
  font-family: var(--display); font-size: 1.25rem; line-height: 1;
  background: var(--gold); color: var(--ink);
  padding: .55rem 1rem .35rem; border-radius: .5rem;
  box-shadow: 0 3px 0 var(--wine);
  flex-shrink: 0;
}
.show--nolink { cursor: default; }
.show--nolink .show__btn { display: none; }
.shows__empty { text-align: center; padding: 1.5rem 0; font-size: 1.15rem; }

/* ---------- טופס ---------- */

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1rem; }
.form label { display: flex; flex-direction: column; gap: .35rem; font-size: 1.05rem; font-weight: 700; color: var(--wine); }
.form__wide { grid-column: 1 / -1; }
.form input, .form textarea {
  width: 100%;
  padding: .7rem .9rem;
  border: 2px solid var(--wine); border-radius: .5rem;
  background: #FFF7E3;
  font: inherit; font-size: 1.1rem; font-weight: 500; color: var(--ink);
}
.form textarea { resize: none; }
.form input[dir="ltr"] { text-align: right; }   /* מספרים ומיילים משמאל לימין, אבל מיושרים לימין כמו שאר הטופס */
.form input:focus, .form textarea:focus { outline: 3px solid var(--gold); outline-offset: 1px; }
.form input.is-invalid { border-color: #B3261E; }
.form__honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__submit {
  grid-column: 1 / -1; justify-self: center;
  position: relative; width: 16rem; height: 5.2rem;
  background: transparent; border: 0; padding: 0;
  display: flex; align-items: center; justify-content: center;
  transition: transform .15s;
}
.form__submit:hover { transform: translateY(-2px); }
.form__submit:disabled { opacity: .6; cursor: progress; }
.form__submit img { position: absolute; inset: 0; width: 100%; height: 100%; }
.form__submit span { position: relative; font-family: var(--display); font-size: 1.9rem; line-height: 1; padding-top: .3rem; color: var(--wine); }
.form__status { grid-column: 1 / -1; margin: 0; text-align: center; font-size: 1.05rem; min-height: 1.4em; color: var(--gold-text); }
.form__status.is-error { color: #B3261E; }

/* ---------- בועת טקסט של חפץ ---------- */

.bubble {
  position: fixed; z-index: 40;
  max-width: 18rem;
  background: var(--cream);
  border: 2px solid var(--wine); border-radius: .9rem;
  padding: .7rem 1rem;
  font-size: 1.05rem; font-weight: 700; color: var(--wine);
  box-shadow: 0 6px 18px rgba(40, 10, 15, .35);
  transform: translate(-50%, calc(-100% - 14px));
  animation: card-in .2s ease-out;
}
.bubble::after {
  content: ""; position: absolute; left: 50%; bottom: -9px;
  width: 14px; height: 14px; background: var(--cream);
  border-right: 2px solid var(--wine); border-bottom: 2px solid var(--wine);
  transform: translateX(-50%) rotate(45deg);
}
.bubble[hidden] { display: none; }

/* ---------- נייד: חלונות וטופס צפופים יותר ---------- */

@media (max-width: 600px) {
  .modal { padding: 3rem .6rem 1rem; }
  .card { padding: 3.2rem 1.1rem 1.1rem; border-radius: .9rem; }
  .card__plate { top: -2.2rem; }
  .form { gap: .7rem .6rem; }   /* שתי עמודות גם בנייד, כדי שהחלון לא יתארך */
  .show { gap: .7rem; }
  .show__date { font-size: 1.55rem; width: 4.2rem; }
  .show__city { font-size: 1.15rem; }
  .show__venue { font-size: .95rem; }
  .show__btn { font-size: 1.05rem; padding: .5rem .75rem .3rem; }
}

/* ---------- פחות תנועה ---------- */

@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; position: static; }
  .cta, .pennant, .sound, .form__submit, .card, .bubble { transition: none; animation: none; }
  .sign-name--pop, .sign-name--pop .sign-letter, .sign-name--pop .sign-name__star, .sign-name--pop .sign-name__first, .sign-name--pop .sign-name__second { animation: none; }
}

/* ---------- טקסטים ארוכים יותר (כרטיסים להופעות / הופעות ואירועים פרטיים) ---------- */
.pennant__text--3 { font-size: 27px; gap: 6px; padding-top: 44px; }
.scene--desktop .cta__text { font-size: 38px; }
.cta--sm .cta__text { font-size: 30px; }
.plaque .plaque__two { font-size: 17px; line-height: 1.05; text-align: center; padding-top: 3px; }

/* ---------- כותרת משנה: "הכי אמיתית שיש", שלט קרם קטן מעל כפתור הכרטיסים ---------- */
.subplate { margin: 0; pointer-events: none; }
.subplate img { position: absolute; inset: 0; width: 100%; height: 100%; }
.subplate span {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding-top: 4px;
  font-family: var(--display); font-size: 32px; line-height: 1;
  color: var(--wine);
}
.subplate--sm span { font-size: 27px; padding-top: 3px; }
.scene--desktop .subplate { translate: 0 calc(var(--cb) * -1); }   /* זז יחד עם הכפתור */
.scene--mobile .subplate { translate: var(--ox) var(--oy); }

/* מיקום ב': תווית מוטה שנתלית על הפינה של שלט הניאון */
.subplate--badge {
  filter: drop-shadow(0 4px 6px rgba(60, 10, 20, .45)); z-index: 2;
  /* תלויה על "מסמר" בקצה הימני. כל כמה שניות המסמר "נשמט", התווית נופלת ומתנדנדת, ואז מתיישרת חזרה.
     בזמן הנפילה היא יכולה להסתיר קצת את הראש: תום אישרה (8.11) */
  transform-origin: 92% 20%;
  animation: badge-fall 7s ease-in-out infinite;
}
.subplate--badge span { font-size: 26px; }
.subplate--sm.subplate--badge span { font-size: 20px; padding-top: 2px; }
.scene--desktop .subplate--badge { translate: 0 var(--ct); }   /* זז עם שלט השם, לא עם הכפתור */
.scene--mobile .subplate--badge { translate: var(--ox) 0; }
@keyframes badge-fall {
  0%, 50%   { rotate: 0deg; }
  52%       { rotate: 4deg; }                                  /* רועדת רגע */
  54%       { rotate: -2deg; }
  60%       { rotate: -42deg; animation-timing-function: ease-out; }   /* נופלת */
  65%       { rotate: -24deg; }
  70%       { rotate: -36deg; }
  74%       { rotate: -29deg; }
  78%, 86%  { rotate: -32deg; }                                /* תלויה עקום */
  90%       { rotate: 5deg; }                                  /* מישהו מיישר */
  93%       { rotate: -2deg; }
  96%, 100% { rotate: 0deg; }
}
@media (prefers-reduced-motion: reduce) { .subplate--badge { animation: none; } }

/* ---------- החולם של "תום": דובדבן מהעוגה במקום הכוכבית ---------- */
.sign-name--pop .sign-name__cherry {
  width: 26px !important; height: 31px !important; font-size: 0 !important;
  top: 2px !important; left: 50%; right: auto; bottom: auto;
  translate: -20% 0; transform: none;
  transform-origin: 50% 100%;
  filter: drop-shadow(0 0 5px rgba(255, 60, 90, .8));
  animation: cherry-bounce 1.6s ease-in-out infinite !important;
}
.scene--mobile .sign-name--pop .sign-name__cherry { width: 21px !important; height: 25px !important; top: 3px !important; }
@keyframes cherry-bounce {
  0%, 100% { rotate: -8deg; scale: 1; }
  25% { rotate: 8deg; scale: 1.08; }
  50% { rotate: -4deg; scale: 1; }
  70% { rotate: 5deg; scale: 1.04; }
}
@media (prefers-reduced-motion: reduce) { .sign-name--pop .sign-name__cherry { animation: none !important; } }

/* ---------- "הופעות, הנחיות ואירועים עסקיים" (4 שורות בדגלון) + שני השלטים בנייד גדולים יותר (8.11) ---------- */
.pennant__text--4 { font-size: 25px; gap: 5px; padding-top: 38px; }
.plaque-row .plaque span { font-size: 25px; }
.plaque-row .plaque .plaque__two { font-size: 20px; line-height: 1.08; }
/* הכותרת הארוכה של חלון ההזמנה נכנסת בשלט בשורה אחת */
#booking-title { font-size: clamp(1.15rem, 3.3vw, 1.9rem); white-space: nowrap; }

/* "לפניות עסקיות: אבירם" בתחתית חלון ההזמנה */
.card__biz { margin: .9rem 0 0; text-align: center; font-size: 1.05rem; color: var(--wine); }
.card__biz a { font-weight: 700; text-underline-offset: 3px; }
.card--booking .card__sub { text-wrap: balance; }
@media (max-height: 720px) {
  .card--booking textarea { height: 3.4rem; }   /* בטלפון נמוך: החלון נכנס כמעט בלי גלילה גם עם השורה של אבירם */
  .card--booking .card__biz { margin-top: .5rem; }
}

/* ---------- הפוסטר בחלון ההזמנה (8.11) ---------- */
/* מחשב: הטופס מימין, הפוסטר משמאל. נייד: אין מקום, הפוסטר מוסתר */
.card__poster { display: none; }
@media (min-width: 760px) {
  .card--booking { width: min(56rem, 100%); display: grid; grid-template-columns: minmax(0, 1fr) 15rem; column-gap: 2rem; align-items: start; }
  .card--booking > .card__sub, .card--booking > .form, .card--booking > .card__biz { grid-column: 1; }
  .card--booking .card__poster {
    display: block; grid-column: 2; grid-row: 1 / span 3; align-self: center;
    width: 100%; aspect-ratio: 520 / 826; object-fit: cover;
    border: 3px solid var(--wine); border-radius: .6rem;
    box-shadow: 0 0 0 4px var(--cream-light), 0 0 0 6px var(--gold), 0 12px 28px rgba(30, 8, 12, .35);
  }
}

/* ---------- חלון ההזמנה במסכים נמוכים (8.11) ----------
   בלי זה, במסך נמוך (לפטופ 1440×760, אייפון עם סרגלי הדפדפן) התוכן גבוה מהתיבה והשורה של "לפניות עסקיות" נשפכת על המסגרת.
   1. במסך נמוך מהדקים מרווחים. 2. רשת ביטחון: התיבה גדלה כמה שצריך, והחלון נגלל במקום שהתוכן ייצא מהמסגרת. */
.modal { overflow-y: auto; -webkit-overflow-scrolling: touch; }
.card--booking { max-height: none; margin: auto; }
@media (max-height: 860px) {
  .card--booking { gap: .55rem; padding-top: 3.8rem; padding-bottom: 1.4rem; }
  .card--booking .form { row-gap: .55rem; }
  .card--booking .form label { gap: .25rem; }
  .card--booking .form input { padding-top: .5rem; padding-bottom: .5rem; }
  .card--booking textarea { height: 3.4rem; }
  .card--booking .card__biz { margin-top: .3rem; }
}
@media (max-width: 600px) and (max-height: 860px) {
  .card--booking { padding-top: 3rem; padding-bottom: 1.2rem; }
}

/* ---------- שלט הניאון: הטקסט בתוך הפאנל הכהה (8.11) ----------
   השלט מוגבל לגובה 106 (דסקטופ) / 100 (נייד) כדי לא לרדת על הראש, אז מסגרת הנורות דקה יותר ונותנת לפאנל יותר גובה,
   והטקסט קטן מספיק כדי לשבת באמצע עם מרווח גם כשהאותיות קופצות. */
.scene--desktop .sign-name--pop { border-width: 20px; }
.scene--mobile  .sign-name--pop { border-width: 18px; }
.scene--desktop .sign-name--pop .sign-name__text { inset: 0; font-size: 66px !important; padding-top: 5px !important; }
.scene--mobile  .sign-name--pop .sign-name__text { inset: 0; font-size: 54px !important; padding-top: 4px !important; }
.scene--desktop .sign-name--pop .sign-name__cherry { width: 21px !important; height: 25px !important; top: -2px !important; }
.scene--mobile  .sign-name--pop .sign-name__cherry { width: 18px !important; height: 21px !important; top: -2px !important; }
