/* Lead popup (js/lead-popup.js), version B of First's spec, 01.12.2026. Taken from First's popup.css with:
   no @font-face (styles/tokens.css declares the same faces), the tokens scoped to .gp-overlay, a z-index above
   the WhatsApp button, and the site additions at the end (status lines, loading/closing states). */


.gp-overlay{
  --gp-ink:#4D1010;          /* טקסט רץ */
  --gp-title:#7A1F1A;        /* כותרות */
  --gp-accent:#C9402F;       /* אדום המותג: נבחר / בלחיצה */
  --gp-accent-ink:#B3361F;   /* טקסט של כפתור ראשי */
  --gp-tint:rgba(201,64,47,.09); /* רקע עדין של כפתור ראשי */
  --gp-card:rgba(249,241,228,.88);
  --gp-line:rgba(122,31,26,.28);
  --gp-line-soft:rgba(122,31,26,.15);
  --gp-field:rgba(255,255,255,.6);
  --gp-font:"Narkiss Block","Fb Forma",system-ui,sans-serif;
  --gp-font-alt:"Fb Forma","Narkiss Block",sans-serif;
  --gp-script:"Le Jardin du Bonheur",cursive;
  --gp-ease:cubic-bezier(.2,.7,.2,1);
}

/* ---------- שכבת הרקע ---------- */
.gp-overlay{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;overflow-y:auto;padding:40px 16px}
.gp-overlay[hidden]{display:none}
.gp-backdrop{position:fixed;inset:0;overflow:hidden}
.gp-backdrop img{width:100%;height:100%;object-fit:cover;filter:blur(10px) brightness(.55) saturate(.95);transform:scale(1.06)}
.gp-backdrop::after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at center,rgba(10,6,8,.15),rgba(10,6,8,.6))}
.gp-overlay{animation:gp-fade .45s ease both}
@keyframes gp-fade{from{opacity:0}to{opacity:1}}

/* ---------- הכרטיס ---------- */
.gp-card{position:relative;box-sizing:border-box;width:min(760px,100%);background:var(--gp-card);backdrop-filter:blur(18px) saturate(1.25);-webkit-backdrop-filter:blur(18px) saturate(1.25);border:1px solid rgba(255,255,255,.55);box-shadow:0 30px 90px rgba(0,0,0,.6);color:var(--gp-ink);font-family:var(--gp-font);padding:32px 36px 26px;text-align:center}
.gp-close{position:absolute;inset-block-start:14px;inset-inline-end:14px;width:36px;height:36px;border:0;border-radius:50%;background:rgba(77,16,16,.08);color:var(--gp-title);display:grid;place-items:center;cursor:pointer}
.gp-close:hover{background:rgba(77,16,16,.16)}
.gp-step[hidden]{display:none}

.gp-top{display:flex;justify-content:space-between;align-items:center;min-height:28px;margin-block-end:4px}
.gp-back{background:none;border:0;padding:4px 0;font:inherit;font-family:var(--gp-font-alt);font-size:14px;color:var(--gp-title);cursor:pointer;display:inline-flex;gap:6px;align-items:center}
.gp-script{font-family:var(--gp-script);color:var(--gp-accent);font-size:46px;line-height:1;margin:6px 0 2px;direction:ltr}
.gp-title{font-family:var(--gp-font);font-weight:700;font-size:clamp(26px,2.8vw,40px);line-height:1.2;color:var(--gp-title);margin:0 0 .9em;text-wrap:balance}

/* ---------- טופס ---------- */
.gp-form{display:grid;gap:14px;text-align:start}
.gp-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:12px 16px}
.gp-field{position:relative}
.gp-field label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.gp-field input{box-sizing:border-box;width:100%;height:56px;padding:0 16px;border:1px solid var(--gp-line);border-radius:2px;background:var(--gp-field);font:inherit;font-size:17px;color:var(--gp-ink);transition:border-color .2s,box-shadow .2s}
.gp-field input::placeholder{color:rgba(77,16,16,.6);opacity:1}
.gp-field input[dir=ltr]::placeholder{text-align:right}
.gp-field input:focus{outline:none;border-color:var(--gp-accent);box-shadow:0 0 0 3px rgba(201,64,47,.15)}
.gp-field input[aria-invalid=true]{border-color:var(--gp-accent)}
.gp-error{display:block;min-height:0;font-family:var(--gp-font-alt);font-size:13px;color:var(--gp-accent);margin-block-start:4px}
.gp-consent{display:flex;gap:12px;align-items:flex-start;margin-block-start:6px;font-size:13.5px;line-height:1.5}
.gp-consent input{flex:none;width:20px;height:20px;margin:2px 0 0;accent-color:#ED503B}
.gp-consent a{color:inherit}
.gp-more{display:none;background:none;border:0;padding:0;margin-inline-start:32px;font:inherit;font-size:12.5px;font-weight:700;color:var(--gp-accent);text-decoration:underline;text-underline-offset:3px;cursor:pointer;justify-self:start}

/* ---------- כפתורים ----------
   אדום מלא מופיע רק במה שנבחר, או בכפתור ברגע הלחיצה (hover / active). */
.gp-actions{display:flex;gap:14px;margin-block-start:14px}
.gp-btn{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:56px;padding:12px 18px;font-family:var(--gp-font);font-weight:700;font-size:18px;line-height:1.1;border-radius:2px;text-decoration:none;cursor:pointer;transition:background .2s,color .2s,border-color .2s}
.gp-btn--primary{background:var(--gp-tint);color:var(--gp-accent-ink);border:1.5px solid var(--gp-accent)}
.gp-btn--secondary{background:transparent;color:var(--gp-title);border:1px solid rgba(122,31,26,.38)}
.gp-btn:hover,.gp-btn:active,.gp-btn.is-pressed{background:var(--gp-accent);color:#fff;border-color:var(--gp-accent)}
.gp-btn:focus-visible{outline:3px solid rgba(201,64,47,.35);outline-offset:2px}
.gp-btn[disabled]{background:transparent;color:rgba(77,16,16,.38);border:1px dashed rgba(122,31,26,.3);cursor:not-allowed}
.gp-btn__ico{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;flex:none;background:rgba(201,64,47,.12)}
.gp-btn--secondary .gp-btn__ico{background:rgba(122,31,26,.07)}
.gp-btn:hover .gp-btn__ico,.gp-btn.is-pressed .gp-btn__ico{background:rgba(255,255,255,.2)}
.gp-arrow{display:inline-block;line-height:1}
.gp-btn--primary .gp-arrow{animation:gp-nudge 1.2s ease-in-out infinite}
@keyframes gp-nudge{0%,100%{transform:translateX(0)}50%{transform:translateX(-5px)}}

/* ---------- קוביות בחירה ---------- */
.gp-tile{appearance:none;border:1px solid var(--gp-line);background:rgba(201,64,47,.06);color:var(--gp-ink);border-radius:2px;cursor:pointer;font-family:var(--gp-font-alt);transition:border-color .2s,background .2s,color .2s}
.gp-tile:hover{border-color:var(--gp-accent);background:rgba(201,64,47,.1)}
.gp-tile:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(201,64,47,.25);border-color:var(--gp-accent)}
.gp-tile[aria-pressed=true]{background:var(--gp-accent);border-color:var(--gp-accent);color:#fff;box-shadow:0 10px 24px rgba(201,64,47,.28)}

.gp-locs{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;max-width:560px;margin:0 auto 22px}
.gp-loc{display:flex;align-items:center;gap:14px;padding:16px 18px;text-align:start}
.gp-loc__pin{flex:none;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:rgba(201,64,47,.1);color:var(--gp-accent)}
.gp-loc b{display:block;font-family:var(--gp-font);font-size:21px;line-height:1.15;font-weight:400}
.gp-loc span.gp-addr{display:block;font-size:15px;opacity:.8;margin-block-start:3px}
.gp-loc[aria-pressed=true] .gp-loc__pin{background:rgba(255,255,255,.2);color:#fff}

.gp-where{display:inline-flex;align-items:center;gap:8px;margin:-6px auto 20px;font-family:var(--gp-font-alt);font-size:16px}
.gp-where svg{color:var(--gp-accent)}
.gp-link{background:none;border:0;padding:0;font:inherit;font-size:14px;color:var(--gp-accent);text-decoration:underline;text-underline-offset:3px;cursor:pointer;margin-inline-start:4px}

.gp-days{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;max-width:560px;margin:0 auto 22px}
.gp-day{display:grid;gap:2px;padding:16px 6px 14px}
.gp-day small{font-size:15px;opacity:.75}
.gp-day strong{font-family:var(--gp-font);font-size:40px;line-height:1.05;font-weight:400}
.gp-day em{font-style:normal;font-size:14px;opacity:.75}

.gp-reveal{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows .45s var(--gp-ease),opacity .35s ease}
.gp-reveal>div{overflow:hidden}
.gp-reveal.is-open{grid-template-rows:1fr;opacity:1}
.gp-label{display:flex;align-items:center;gap:12px;max-width:560px;margin:4px auto 14px;font-family:var(--gp-font-alt);font-size:17px}
.gp-label::before,.gp-label::after{content:"";flex:1;height:1px;background:rgba(122,31,26,.2)}
.gp-label b{font-family:var(--gp-font)}
.gp-hours{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;max-width:560px;margin:0 auto 22px}
.gp-hour{height:66px;display:grid;place-content:center;font-family:var(--gp-font);font-size:19px;font-weight:700;direction:ltr;background:rgba(255,255,255,.75);border-color:rgba(201,64,47,.45);color:var(--gp-title)}
.gp-hour:disabled{cursor:not-allowed;background:transparent;border-style:dashed;border-color:var(--gp-line);color:rgba(77,16,16,.38);font-weight:400}
.gp-hour:disabled:hover{background:transparent;border-color:var(--gp-line)}
.gp-hour:disabled span{display:block;font-family:var(--gp-font-alt);font-size:12px;direction:rtl;margin-block-start:3px}
.gp-cta{display:flex;width:100%;max-width:560px;margin:0 auto 4px}

/* ---------- דפי תודה ---------- */
.gp-check{width:64px;height:64px;margin:0 auto 18px;border-radius:50%;border:2px solid var(--gp-accent);display:grid;place-items:center;color:var(--gp-accent)}
.gp-lead{font-family:var(--gp-font-alt);font-size:19px;line-height:1.55;margin:0 auto 26px;max-width:30em;text-wrap:balance}
.gp-sub{font-family:var(--gp-font-alt);font-size:18px;margin:-.5em 0 24px}
.gp-ticket{max-width:500px;margin:0 auto 24px;background:rgba(255,255,255,.65);border:1px solid var(--gp-line)}
.gp-ticket__row{display:grid;grid-template-columns:1fr 1fr}
.gp-ticket__cell{padding:18px 12px 16px}
.gp-ticket__cell+.gp-ticket__cell{border-inline-start:1px solid var(--gp-line-soft)}
.gp-ticket small{display:block;font-family:var(--gp-font-alt);font-size:13px;color:rgba(77,16,16,.65);margin-block-end:4px}
.gp-ticket strong{display:block;font-family:var(--gp-font);font-weight:700;font-size:26px;line-height:1.1;color:var(--gp-title)}
.gp-ticket__perf{border-block-start:1.5px dashed rgba(122,31,26,.3);margin-inline:14px}
.gp-ticket__loc{display:flex;align-items:center;justify-content:center;gap:10px;padding:16px 14px;font-family:var(--gp-font-alt);font-size:17px}
.gp-ticket__loc svg{color:var(--gp-accent);flex:none}
.gp-ticket__loc b{font-family:var(--gp-font)}
.gp-actions--narrow{max-width:500px;margin:0 auto}

/* ---------- תחתית הכרטיס ---------- */
.gp-foot{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-block-start:24px;padding-block-start:22px;border-block-start:1px solid rgba(89,19,19,.2)}
.gp-foot img{width:170px;height:auto}
.gp-phone{font-family:var(--gp-font-alt);font-weight:700;font-size:40px;color:#591313;text-decoration:none;line-height:1}
.gp-phone span{color:#C84131}

/* ---------- נייד ---------- */
@media (max-width:640px){
  .gp-overlay{padding:24px 16px;align-items:start}
  .gp-card{padding:24px 22px 20px}
  .gp-script{font-size:40px}
  .gp-fields{grid-template-columns:1fr}
  .gp-field input{height:52px}
  .gp-consent span{font-size:12px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;opacity:.85}
  .gp-consent.is-open span{display:block;-webkit-line-clamp:unset}
  .gp-more{display:inline-block}
  .gp-actions{flex-direction:column;gap:12px;margin-block-start:22px}
  .gp-btn{min-height:52px;font-size:17px}
  .gp-locs{gap:8px}
  .gp-loc{flex-direction:column;text-align:center;gap:8px;padding:14px 8px}
  .gp-loc b{font-size:19px}
  .gp-loc span.gp-addr{font-size:13.5px}
  .gp-where{font-size:14.5px;margin-block-end:16px}
  .gp-days{gap:8px}
  .gp-day strong{font-size:34px}
  .gp-label{font-size:15px}
  .gp-hours{gap:8px}
  .gp-hour{height:58px;font-size:18px}
  .gp-lead{font-size:16px}
  .gp-sub{font-size:16px;margin-block-end:18px}
  .gp-ticket strong{font-size:22px}
  .gp-ticket__loc{font-size:15px}
  .gp-foot img{width:150px}
  .gp-phone{font-size:32px}
}

/* ---------- גרסה ב: תוספות ---------- */
/* נבחר: אדום מלא וטקסט מודגש. לא נבחר: גוון אדמדם עדין ומשקל רגיל */
.gp-tile[aria-pressed=true] b,.gp-tile[aria-pressed=true] strong{font-weight:700}
.gp-hour[aria-pressed=true]{background:var(--gp-accent);border-color:var(--gp-accent);color:#fff}
.gp-loc span.gp-addr+span.gp-addr{margin-block-start:0}
.gp-lat{font-family:Arial,Helvetica,sans-serif}
.gp-top{position:relative;margin-block:-14px 6px;margin-inline:-14px}
.gp-top .gp-close{position:static}
.gp-top .gp-back{padding-inline-start:14px}
.gp-back[hidden]{display:inline-flex;visibility:hidden}

/* קישור עדין מתחת לכפתור: קיצור דרך לתיאום פגישה */
.gp-direct{justify-self:center;background:none;border:0;padding:6px 4px;margin-block-start:2px;font-family:var(--gp-font-alt);font-size:15px;color:var(--gp-title);text-decoration:underline;text-decoration-color:rgba(201,64,47,.5);text-underline-offset:4px;cursor:pointer}
.gp-direct:hover{color:var(--gp-accent)}

/* מסך התודה */
.gp-or{display:flex;align-items:center;gap:12px;max-width:500px;margin:18px auto 12px;font-family:var(--gp-font-alt);font-size:14px;color:rgba(77,16,16,.7)}
.gp-or::before,.gp-or::after{content:"";flex:1;height:1px;background:rgba(122,31,26,.2)}
.gp-actions--pair{margin-block-start:0}
.gp-actions--stack{flex-direction:column}

/* קוביות המסלול */
.gp-cubes{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:10px;max-width:560px;margin:4px auto 18px;padding:0}
.gp-cubes[hidden]{display:none}
.gp-cube{display:grid;justify-items:center;gap:4px;padding:10px 6px;border:1px dashed rgba(122,31,26,.3);color:rgba(77,16,16,.45);font-family:var(--gp-font-alt);font-size:14px;transition:all .3s}
.gp-cube i{font-style:normal;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;border:1px solid currentColor;font-family:var(--gp-font);font-size:14px}
.gp-cube.is-on{border:1.5px solid var(--gp-accent);background:rgba(255,255,255,.7);color:var(--gp-title);font-weight:700}
.gp-cube.is-on i{background:var(--gp-tint);border-color:var(--gp-accent);color:var(--gp-accent-ink)}
.gp-cube.is-done{border-style:solid;border-color:rgba(201,64,47,.45);color:var(--gp-accent-ink)}
.gp-cube.is-done i{background:rgba(201,64,47,.15);border-color:transparent}

.gp-where{display:block;text-align:center;line-height:1.5;margin:-4px auto 20px}
.gp-where svg{vertical-align:-3px;margin-inline-end:4px}
.gp-ticket__loc{text-align:start;line-height:1.5}

@media (max-width:640px){
  .gp-actions--pair{flex-direction:row}
  .gp-direct{font-size:14px}
  .gp-cube{font-size:13px}
}

@media (prefers-reduced-motion:reduce){
  .gp-overlay,.gp-btn--primary .gp-arrow{animation:none}
  .gp-reveal{transition:none}
}

/* ---------- site additions ---------- */
html.gp-open{overflow:hidden}
.gp-overlay{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.gp-overlay.is-closing{opacity:0;transition:opacity .25s ease}
.gp-overlay *{box-sizing:border-box}
.gp-overlay button,.gp-overlay input{font:inherit}
.gp-status{margin:6px 0 0;min-height:1.4em;font-family:var(--gp-font-alt);font-size:14px;color:var(--gp-accent);text-align:center}
.gp-status:empty{min-height:0;margin:0}
.gp-status a{color:inherit;font-weight:700}
.gp-hours>.gp-status{grid-column:1/-1;color:var(--gp-ink)}
.gp-day:disabled{cursor:not-allowed;background:transparent;border-style:dashed;opacity:.5}
.gp-btn[disabled]:hover{background:transparent;color:rgba(77,16,16,.38);border-color:rgba(122,31,26,.3)}
.gp-form [aria-busy=true] .gp-btn,.gp-form[aria-busy=true] .gp-btn{opacity:.7}
.gp-title:focus{outline:none}

/* hours outside the bookable day (spec 01.12.2026, section 3): grey, "לא זמין", not selectable */
.gp-hour.gp-hour--off,.gp-hour.gp-hour--off:hover{background:rgba(60,50,50,.07);border:1px solid rgba(60,50,50,.12);color:rgba(60,50,50,.42)}

/* section 1: the whole meeting choice fits one screen, also on low laptop screens and small phones */
@media (max-height:860px){
  .gp-overlay{padding-block:16px}
  .gp-card{padding-block:22px 16px}
  .gp-title{font-size:clamp(24px,2.4vw,32px);margin-block-end:.6em}
  .gp-cubes{margin-block:0 12px}
  .gp-cube{padding:6px;gap:2px}
  .gp-where{margin-block-end:12px}
  .gp-days,.gp-locs{margin-block-end:14px}
  .gp-day{padding:10px 6px 8px}
  .gp-day strong{font-size:32px}
  .gp-label{margin-block:0 10px}
  .gp-hours{margin-block-end:14px}
  .gp-hour{height:54px}
  .gp-foot{margin-block-start:14px;padding-block-start:12px}
  .gp-foot img{width:140px}
  .gp-phone{font-size:30px}
}
@media (max-height:700px){
  .gp-overlay{padding-block:8px}
  .gp-card{padding:16px 18px 12px}
  .gp-title{font-size:22px;margin-block-end:.45em}
  .gp-cube{font-size:12px;padding:4px}
  .gp-cube i{width:22px;height:22px;font-size:12px}
  .gp-where{font-size:13.5px;margin-block-end:8px}
  .gp-days{gap:6px;margin-block-end:10px}
  .gp-day{padding:6px 4px}
  .gp-day small,.gp-day em{font-size:12.5px}
  .gp-day strong{font-size:26px}
  .gp-label{font-size:14px;margin-block-end:8px}
  .gp-hours{gap:6px;margin-block-end:10px}
  .gp-hour{height:46px;font-size:16px}
  .gp-hour:disabled span{font-size:11px;margin-block-start:1px}
  .gp-btn{min-height:46px}
  .gp-foot{margin-block-start:10px;padding-block-start:8px}
  .gp-foot img{width:120px}
  .gp-phone{font-size:26px}
}

/* phones: the card sits in the middle of the screen (01.12.2026); auto margins, not align-items:center,
   so a card taller than the screen still starts at the top and scrolls */
@media (max-width:640px){
  .gp-overlay{align-items:stretch}
  .gp-card{margin-block:auto}
}

/* direct route (sticky button): a third cube, "פרטים" */
.gp-cubes--3{grid-template-columns:repeat(3,1fr)}
.gp-cube[hidden]{display:none}
.gp-form--details{max-width:640px;margin:0 auto}
@media (max-height:700px){
  .gp-form--details{gap:8px}
  .gp-form--details .gp-fields{gap:8px}
  .gp-form--details .gp-field input{height:44px}
  .gp-form--details .gp-actions{margin-block-start:10px}
}

/* ---------- version C (02.12.2026): contact fields on the date & time screen, direct route only ----------
   From "רוצים לקבוע פגישה כבר עכשיו?" or the sticky button, before any lead: the fields sit under the hours and
   above "לקביעת הפגישה". Desktop: one row, 48 px; phones: name on its own row, phone and email side by side. */
.gp-quick{max-width:560px;margin:0 auto 14px;text-align:start}
.gp-quick[hidden]{display:none}
.gp-quick .gp-label{margin-block:0 10px}
.gp-quick .gp-fields{grid-template-columns:1.25fr 1fr 1.25fr;gap:10px}
.gp-quick .gp-field input{height:48px;padding:0 14px;font-size:16px}
.gp-quick .gp-error{font-size:12px;margin-block-start:3px}
.gp-quick__consent{display:grid;gap:4px;margin-block-start:10px}
.gp-quick__consent .gp-consent{margin:0;font-size:12.5px;line-height:1.5}
.gp-quick__consent .gp-consent span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.gp-quick__consent .gp-consent.is-open span{display:block;-webkit-line-clamp:unset}
.gp-quick__consent .gp-more{display:inline-block}
/* on this route the steps, days and hours are a little lower, to make room for the fields */
.is-direct .gp-cubes{margin-block:0 12px}
.is-direct .gp-cube{grid-auto-flow:column;justify-content:center;align-items:center;gap:8px;padding:7px 6px}
.is-direct .gp-cube i{width:24px;height:24px;font-size:13px}
.is-direct .gp-hour{height:48px}
.is-direct .gp-hours{gap:8px;margin-block-end:14px}
.is-direct .gp-days{margin-block-end:12px}
.is-direct .gp-day{padding:8px 6px 7px;gap:0}
.is-direct .gp-day strong{font-size:30px}
.is-direct [data-step="schedule"] .gp-title{margin-block-end:.25em}
.is-direct .gp-where{margin-block-end:10px}
.is-direct .gp-label{margin-block:2px 8px}
.is-direct .gp-foot{margin-block-start:14px;padding-block-start:12px}
@media (max-width:640px){
  .gp-quick .gp-fields{grid-template-columns:1fr 1fr;gap:8px}
  .gp-quick .gp-field:first-child{grid-column:1/-1}
  .gp-quick .gp-field input{height:44px;font-size:15px}
  .is-direct .gp-cube{gap:6px;padding:6px}
  .is-direct .gp-cube i{width:22px;height:22px;font-size:12px}
  .is-direct [data-step="schedule"] .gp-title{font-size:23px}
  .is-direct .gp-where{font-size:13.5px;line-height:1.4}
  .is-direct .gp-day strong{font-size:26px}
  .is-direct .gp-hour{height:44px}
  .is-direct .gp-hours{gap:6px}
}

/* ---------- phones: the card never wider than the screen (02.12.2026) ---------- */
.gp-card{min-width:0;max-width:100%}
.gp-actions--pair .gp-btn{min-width:0;padding-inline:10px;gap:8px}
@media (max-width:420px){
  .gp-actions--pair .gp-btn{font-size:15px}
  .gp-actions--pair .gp-btn__ico{width:28px;height:28px}
}
@media (max-width:340px){
  .gp-actions--pair{flex-direction:column}
}
/* two days only (a calendar that opens few days ahead): centred, not one empty column */
.gp-days[data-count="2"]{grid-template-columns:repeat(2,1fr);max-width:380px}
.gp-days[data-count="1"]{grid-template-columns:1fr;max-width:190px}

/* ---------- short screens: small phones and phones held sideways ---------- */
@media (max-height:600px){
  .gp-overlay{padding-block:6px}
  .gp-card{padding:12px 16px 10px}
  .gp-top{margin-block:-8px 0}
  .gp-title{font-size:20px;margin-block-end:.4em}
  .gp-check{width:44px;height:44px;margin-block-end:8px}
  .gp-check svg{width:22px;height:22px}
  .gp-script{font-size:30px;margin-block:0}
  .gp-lead,.gp-sub{font-size:14.5px;margin-block-end:12px}
  .gp-or{margin-block:10px 8px}
  .gp-form{gap:8px}
  .gp-fields{gap:8px}
  .gp-field input{height:42px;font-size:15px}
  .gp-consent{font-size:11.5px}
  .gp-actions{margin-block-start:8px;gap:8px}
  .gp-btn{min-height:42px;font-size:15px;padding-block:6px}
  .gp-btn__ico{width:26px;height:26px}
  .gp-direct{padding-block:2px}
  .gp-cubes{margin-block:0 8px}
  .gp-cube{padding:4px;font-size:12px;grid-auto-flow:column;justify-content:center;align-items:center;gap:6px}
  .gp-cube i{width:20px;height:20px;font-size:11px}
  .gp-locs{margin-block-end:8px}
  .gp-loc{padding:8px 10px}
  .gp-where{font-size:13px;margin-block-end:6px}
  .gp-days{gap:6px;margin-block-end:8px}
  .gp-day{padding:4px}
  .gp-day small,.gp-day em{font-size:11.5px}
  .gp-day strong{font-size:22px}
  .gp-label{font-size:13px;margin-block:0 6px}
  .gp-hours{gap:6px;margin-block-end:8px}
  .gp-hour{height:38px;font-size:15px}
  .gp-hour:disabled span{font-size:10px;margin-block-start:0}
  .gp-quick{margin-block-end:8px}
  .gp-quick .gp-field input{height:38px}
  .gp-ticket{margin-block-end:10px}
  .gp-ticket__cell{padding:8px}
  .gp-ticket strong{font-size:19px}
  .gp-ticket__loc{padding:8px;font-size:13.5px}
  .gp-foot{margin-block-start:8px;padding-block-start:6px}
  .gp-foot img{width:100px}
  .gp-phone{font-size:22px}
}
/* phones held sideways: wide and short, so steps that stack on phones can sit side by side */
@media (max-height:500px) and (min-width:560px){
  .gp-fields,.gp-quick .gp-fields{grid-template-columns:repeat(3,1fr)}
  .gp-quick .gp-field:first-child{grid-column:auto}
  .gp-actions{flex-direction:row}
  .gp-actions--stack{flex-direction:row}
  .gp-hours{grid-template-columns:repeat(6,1fr);max-width:none}
  .gp-days,.gp-hours,.gp-locs,.gp-quick,.gp-cta,.gp-label{max-width:none}
  .gp-ticket{display:flex;max-width:none}
  .gp-ticket__row{flex:1}
  .gp-ticket__perf{display:none}
  .gp-ticket__loc{flex:1.4;border-inline-start:1px solid var(--gp-line-soft)}
  .gp-foot{display:none}
  .gp-script{display:none}
}
/* the cookie-settings button (cookie-consent.js) sits above everything; it steps aside while the popup is open */
html.gp-open #cc-floater{visibility:hidden}

/* ---------- phones (02.12.2026): a smaller card, close to square, centred, with the page showing around it ---------- */
@media (max-width:640px){
  .gp-overlay{padding:20px}
  .gp-card{width:min(350px,100%);padding:14px 16px 12px}
  .gp-top{margin-block:-6px 2px;margin-inline:-8px;min-height:24px}
  .gp-close{width:30px;height:30px}
  .gp-title{font-size:19px;line-height:1.2;margin-block-end:.55em}
  .gp-form{gap:8px}
  .gp-fields{grid-template-columns:1fr 1fr;gap:8px}
  .gp-fields .gp-field:first-child{grid-column:1/-1}
  .gp-field input{height:42px;padding:0 12px;font-size:15px}
  .gp-error{font-size:12px;margin-block-start:2px}
  .gp-consent{margin-block-start:2px;gap:8px}
  .gp-consent input{width:18px;height:18px}
  .gp-consent span{font-size:11px;line-height:1.5}
  .gp-more{margin-inline-start:26px;font-size:11.5px}
  .gp-actions{margin-block-start:6px;gap:8px}
  .gp-btn{min-height:44px;font-size:16px;padding-block:8px}
  .gp-btn__ico{width:28px;height:28px}
  .gp-direct{font-size:13.5px;padding-block:2px;margin:0}
  .gp-check{width:46px;height:46px;margin-block-end:10px}
  .gp-check svg{width:24px;height:24px}
  .gp-script{font-size:32px}
  .gp-lead,.gp-sub{font-size:14.5px;margin-block-end:14px}
  .gp-or{margin-block:12px 8px;font-size:13px}
  .gp-cubes{margin-block:0 10px;gap:6px}
  .gp-cube{grid-auto-flow:column;justify-content:center;align-items:center;gap:6px;padding:6px;font-size:12.5px}
  .gp-cube i{width:22px;height:22px;font-size:12px}
  .gp-locs{gap:8px;margin-block-end:6px}
  .gp-loc{padding:10px 6px;gap:6px}
  .gp-loc__pin{width:32px;height:32px}
  .gp-loc b{font-size:17px}
  .gp-loc span.gp-addr{font-size:12.5px}
  .gp-where{font-size:13px;margin-block-end:10px}
  .gp-days{gap:6px;margin-block-end:10px}
  .gp-day{padding:7px 4px 6px}
  .gp-day small,.gp-day em{font-size:12px}
  .gp-day strong{font-size:24px}
  .gp-label{font-size:13.5px;margin-block:0 8px}
  .gp-hours{gap:6px;margin-block-end:10px}
  .gp-hour{height:44px;font-size:16px}
  .gp-hour:disabled span{font-size:10.5px;margin-block-start:1px}
  .gp-quick{margin-block-end:10px}
  .gp-quick .gp-field input{height:40px}
  .gp-ticket{margin-block-end:12px}
  .gp-ticket__cell{padding:10px 8px}
  .gp-ticket strong{font-size:19px}
  .gp-ticket__loc{padding:10px;font-size:13.5px}
  .gp-foot{margin-block-start:10px;padding-block-start:8px}
  .gp-foot img{width:110px}
  .gp-phone{font-size:24px}
}

/* short phones (up to 700 px high): the direct route's date & time screen, with the contact fields, fits too */
@media (max-width:640px) and (max-height:700px){
  .gp-card{padding:10px 14px 10px}
  .gp-top{margin-block:-4px 0;min-height:22px}
  .gp-close{width:26px;height:26px}
  .gp-back{font-size:13px;padding-block:0}
  .gp-cubes{margin-block:0 6px}
  .gp-cube{padding:3px 4px;font-size:12px}
  .gp-cube i{width:18px;height:18px;font-size:10.5px}
  .gp-title{font-size:18px;margin-block-end:.35em}
  .gp-where{font-size:12px;line-height:1.35;margin-block-end:6px}
  .gp-where br{display:none}
  .gp-where b::after{content:" · "}
  .gp-days{margin-block-end:6px}
  .gp-day{padding:3px 4px;gap:0}
  .gp-day small,.gp-day em{font-size:11px;line-height:1.2}
  .gp-day strong{font-size:19px;line-height:1.1}
  .gp-label{font-size:12.5px;margin-block:0 5px}
  .gp-hours{gap:5px;margin-block-end:6px}
  .gp-hour{height:36px;font-size:14.5px}
  .gp-hour:disabled span{font-size:9.5px;margin-block-start:0;line-height:1}
  .gp-quick{margin-block-end:6px}
  .gp-quick > .gp-label{display:none}
  .gp-quick .gp-fields{gap:5px}
  .gp-quick .gp-field input{height:36px;font-size:14px}
  .gp-quick .gp-error:empty{display:none}
  .gp-quick__consent{display:flex;flex-wrap:wrap;align-items:flex-start;gap:0 6px;margin-block-start:5px}
  .gp-quick__consent .gp-consent{flex:1 1 100%}
  .gp-quick__consent .gp-consent span{font-size:10.5px;line-height:1.4}
  .gp-quick__consent .gp-more{margin-inline-start:26px;font-size:11px;padding:0}
  .gp-btn{min-height:40px;font-size:15px;padding-block:6px}
  .is-direct .gp-foot{display:none}
  .gp-foot{margin-block-start:6px;padding-block-start:6px}
  .gp-foot img{width:92px}
  .gp-phone{font-size:20px}
}
/* very short phones (up to 600 px high, e.g. iPhone SE 1st gen): a little more room for the direct route */
@media (max-width:640px) and (max-height:600px){
  .gp-overlay{padding:6px 12px}
  .is-direct .gp-cubes{display:none}
  .is-direct [data-step="schedule"] .gp-where{display:none}
  .gp-quick .gp-error{font-size:10.5px;margin:0;line-height:1.2}
  .gp-quick__consent .gp-consent span{-webkit-line-clamp:1}
}

/* the consent text is cut to two lines with "קראו עוד" on every screen, not only on phones (02.12.2026) */
.gp-consent span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.gp-consent.is-open span{display:block;-webkit-line-clamp:unset;overflow:visible}
.gp-more{display:inline-block;margin-block-start:-4px}

/* wide but not very tall screens (e.g. 1920x900): the title stops growing and the spacing tightens, so the
   direct route's date & time screen with its fields still fits without scrolling (live check 02.12.2026) */
@media (min-width:641px) and (max-height:960px){
  .gp-overlay{padding-block:16px}
  .gp-title{font-size:clamp(24px,2.2vw,32px)}
  .is-direct .gp-cubes{margin-block:0 8px}
  .is-direct .gp-where{margin-block-end:8px}
  .is-direct .gp-day{padding:6px 6px 5px}
  .is-direct .gp-day strong{font-size:28px}
  .is-direct .gp-hour{height:44px}
  .is-direct .gp-foot{margin-block-start:10px;padding-block-start:10px}
}
@media (min-width:641px) and (max-height:800px){
  .gp-overlay{padding-block:8px}
  .gp-card{padding-block:20px 14px}
  .is-direct [data-step="schedule"] .gp-title{font-size:24px}
  .is-direct .gp-label{margin-block:0 6px}
  .is-direct .gp-quick > .gp-label{display:none}
  .is-direct .gp-hours{gap:6px;margin-block-end:10px}
  .is-direct .gp-hour{height:40px}
  .is-direct .gp-quick .gp-field input{height:42px}
}
