/* אתר ההזמנה ללקוחות. הצבעים מגיעים מ-themes.css, לפי הסגנון שנבחר בניהול. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; font: 400 17px/1.6 'Heebo', system-ui, sans-serif; color: var(--text); background: var(--bg); overflow-x: hidden; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 900; line-height: 1.1; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.wrap { width: min(1120px, 100% - 36px); margin-inline: auto; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.muted { color: var(--muted); }
svg.i { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.trial { padding: 9px 18px; text-align: center; font-size: 16px; font-weight: 700; color: var(--text); background: var(--surface-2); border-bottom: 1px solid var(--line); }

/* תפריט צף */
.bar { position: sticky; top: 10px; z-index: 20; margin-top: 12px; }
.bar__in { display: flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; background: color-mix(in srgb, var(--nav-bg) 94%, transparent); border: 1px solid var(--line); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; font: 900 20px/1.1 var(--font-head); white-space: nowrap; }
.brand img { height: 40px; max-width: 120px; object-fit: contain; }
.brand svg { width: 34px; height: 34px; }
.bar nav { display: none; gap: 6px; margin-inline-start: auto; }
.bar nav a { padding: 10px 14px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.bar nav a:hover { background: var(--surface-2); }
.bar .btn { margin-inline-start: auto; min-height: 44px; padding: 8px 20px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 54px; padding: 12px 28px; border: 0; border-radius: 999px; font-weight: 900; font-size: 18px; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn--main { color: var(--on-accent); background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 84%, #fff), var(--accent)); box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 34%, transparent); }
.btn--line { color: var(--text); background: transparent; border: 2px solid var(--line); }
.btn--bad { color: #fff; background: #C9363B; }
.btn--sm { min-height: 48px; padding: 8px 18px; font-size: 16px; font-weight: 800; }
.btn[disabled] { opacity: .5; cursor: default; transform: none; box-shadow: none; }
.btn--wide { width: 100%; }

/* פתיחה */
.hero { position: relative; padding: 34px 0 40px; }
.hero::before { content: ""; position: absolute; inset: -80px 0 0; z-index: -1; background: radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--text) 13%, transparent) 1.2px, transparent 1.6px) 0 0 / 26px 26px; mask-image: radial-gradient(70% 70% at 25% 45%, #000, transparent); -webkit-mask-image: radial-gradient(70% 70% at 25% 45%, #000, transparent); }
.hero__grid { display: grid; gap: 26px; align-items: center; }
.eyebrow { display: block; margin-bottom: 10px; font-size: 16px; font-weight: 800; color: var(--accent); }
.hero h1 { font-size: clamp(38px, 10.5vw, 72px); }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__sub { margin-top: 14px; max-width: 34ch; font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0 0; padding: 0; list-style: none; font-weight: 700; }
.ticks li { display: flex; align-items: center; gap: 7px; }
.ticks svg { color: var(--accent); width: 20px; height: 20px; }
.art { position: relative; display: grid; place-items: center; min-height: 320px; }
.art__disc { position: absolute; width: min(320px, 78vw); aspect-ratio: 1; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.art__photo { position: relative; width: min(320px, 78vw); aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 6px solid var(--accent); }
.art svg.pole { position: relative; height: 310px; width: auto; }
.pole__stripes { animation: pole 5s linear infinite; }
@keyframes pole { to { transform: translateY(-80px); } }
.float { position: absolute; z-index: 2; padding: 11px 18px; border-radius: 22px; background: var(--nav-bg); border: 1px solid var(--line); box-shadow: var(--shadow); font-weight: 800; line-height: 1.25; }
.float small { display: block; font-size: 15px; font-weight: 500; color: var(--muted); }
.float--a { inset-inline-start: 0; top: 34px; }
.float--b { inset-inline-end: 0; bottom: 34px; }

section { padding: 34px 0; }
.head { margin-bottom: 20px; }
.head h2 { font-size: clamp(30px, 6.4vw, 46px); }
.head p { margin-top: 8px; color: var(--muted); }

/* אשף ההזמנה */
.book { padding: 20px 16px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.steps li { padding-top: 9px; border-top: 5px solid var(--line); font-size: 16px; font-weight: 700; color: var(--muted); }
.steps li.on { border-color: var(--accent); color: var(--text); }
.book h3 { font-size: 25px; margin-bottom: 14px; }
.picks { display: grid; gap: 10px; }
.pick { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 72px; padding: 12px 16px; text-align: start; border: 2px solid var(--line); border-radius: var(--radius); background: var(--surface-2); transition: border-color .15s; }
.pick:hover, .pick.on { border-color: var(--accent); }
.pick b { display: block; font-size: 18px; }
.pick small { font-size: 16px; color: var(--muted); }
.pick .price { margin-right: auto; white-space: nowrap; font: 900 24px/1 var(--font-head); }
.days { display: flex; gap: 8px; margin: 0 -16px; padding: 4px 16px 12px; overflow-x: auto; scrollbar-width: thin; scroll-snap-type: x proximity; }
.day { flex: 0 0 80px; display: grid; gap: 1px; justify-items: center; padding: 11px 4px; border: 2px solid var(--line); border-radius: var(--radius); background: var(--surface-2); line-height: 1.25; scroll-snap-align: start; }
.day b { font: 900 25px/1.1 var(--font-head); }
.day span, .day small { font-size: 15px; }
.day small { color: var(--muted); }
.day.on { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.day.on small { color: inherit; }
.day[disabled] { opacity: .45; cursor: default; }
.part { margin-top: 16px; font-weight: 800; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; margin-top: 8px; }
.time { min-height: 50px; border: 2px solid var(--line); border-radius: 999px; background: var(--surface-2); font-weight: 800; font-size: 18px; }
.time:hover { border-color: var(--accent); }
.sum { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding: 14px 16px; border-radius: var(--radius); background: var(--surface-2); }
.sum b { display: block; font-size: 18px; }
.sum button, .link { margin-inline-start: auto; min-height: 44px; padding: 0 8px; border: 0; background: none; font-weight: 800; color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.f { display: grid; gap: 6px; margin-bottom: 16px; }
.f label { font-weight: 800; }
.f input, .f textarea { width: 100%; min-height: 54px; padding: 12px 18px; border: 2px solid var(--line); border-radius: var(--radius); background: var(--bg); font-size: 18px; }
.f input:focus, .f textarea:focus { outline: 0; border-color: var(--accent); }
.f .err, .err-box { font-weight: 700; color: #FF6B6B; }
[data-theme="clean-pro"] .err, [data-theme="soft-air"] .err, [data-theme="clean-pro"] .err-box, [data-theme="soft-air"] .err-box { color: #B4232A; }
.err-box { margin-bottom: 14px; padding: 12px 16px; border-radius: var(--radius); border: 2px solid currentColor; }
.row { display: flex; flex-wrap: wrap; gap: 10px; }
.done { text-align: center; padding: 12px 0; }
.done__v { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 50%; color: var(--on-accent); background: var(--accent); }
.done__v svg { width: 46px; height: 46px; stroke-width: 2.6; }
.done h3 { font-size: 32px; margin-bottom: 8px; }
.done .row { justify-content: center; margin-top: 20px; }
.none { padding: 24px 12px; text-align: center; color: var(--muted); }
.none b { display: block; font-size: 20px; color: var(--text); }

/* התורים שלי */
.mine { display: grid; gap: 12px; }
.ticket { padding: 18px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.ticket__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ticket__top b { display: block; font: 900 22px/1.2 var(--font-head); }
.tag { flex: none; padding: 5px 14px; border-radius: 999px; font-size: 15px; font-weight: 800; color: #111; background: #F4C542; }
.tag--ok { color: #fff; background: #0E7F42; }
.tag--off { color: #fff; background: #5B5D68; }

/* שירותים, שעות, שאלות */
.cols { display: grid; gap: 16px; }
.panel { padding: 22px 20px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.panel h2 { font-size: 30px; margin-bottom: 14px; }
.hours { margin: 0; padding: 0; list-style: none; }
.hours li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.hours li:first-child { border: 0; }
.hours li.today { font-weight: 800; color: var(--accent); }
.find { display: grid; gap: 12px; }
.find a, .find div { display: flex; align-items: center; gap: 12px; min-height: 52px; font-weight: 700; text-decoration: none; }
.find svg { color: var(--accent); }
.find .todo { padding: 8px 14px; border: 2px dashed var(--line); border-radius: var(--radius); font-weight: 500; color: var(--muted); }
details { border-top: 1px solid var(--line); }
details:first-of-type { border: 0; }
summary { padding: 15px 0; font-weight: 800; font-size: 18px; cursor: pointer; }
details p { padding-bottom: 16px; color: var(--muted); }

.wave { display: block; width: 100%; height: 50px; margin-top: 24px; color: var(--accent); }
.band { position: relative; overflow: hidden; padding: 30px 0 54px; text-align: center; color: var(--on-accent); background: var(--accent); }
.band::after { content: attr(data-big); position: absolute; inset: auto 0 -.22em; font: 900 clamp(90px, 22vw, 240px)/1 var(--font-head); color: transparent; -webkit-text-stroke: 2px color-mix(in srgb, var(--on-accent) 16%, transparent); white-space: nowrap; pointer-events: none; }
.band > div { position: relative; z-index: 1; }
.band h2 { font-size: clamp(32px, 7vw, 56px); margin-bottom: 20px; }
.band .btn { color: var(--bg); background: var(--text); box-shadow: none; }
[data-theme="bold-dark"] .band .btn { color: #fff; background: #0C0C0F; }
footer { padding: 26px 0 100px; text-align: center; font-size: 16px; color: var(--muted); }
footer a { display: inline-block; padding: 10px; }

.stick { position: fixed; inset: auto 0 0; z-index: 30; padding: 10px 18px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 90%, transparent); border-top: 1px solid var(--line); backdrop-filter: blur(10px); transform: translateY(110%); transition: transform .25s; }
.stick.on { transform: none; }
.wa { position: fixed; inset-inline-end: 16px; bottom: 92px; z-index: 29; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; color: #fff; background: #128C4B; box-shadow: 0 10px 24px rgb(18 140 75 / .4); }
.wa svg { width: 30px; height: 30px; }

@media (min-width: 860px) {
  .bar nav { display: flex; }
  .bar .btn { margin-inline-start: 6px; }
  .hero { padding: 56px 0; }
  .hero__grid { grid-template-columns: 1.15fr .85fr; gap: 50px; }
  .art { min-height: 440px; }
  .art__disc, .art__photo { width: 400px; }
  .art svg.pole { height: 400px; }
  section { padding: 48px 0; }
  .book { padding: 34px; }
  .picks { grid-template-columns: 1fr 1fr; }
  .days { margin: 0 -34px; padding-inline: 34px; }
  .cols { grid-template-columns: 1fr 1fr; }
  .mine { grid-template-columns: 1fr 1fr; }
  .stick { display: none; }
  .wa { bottom: 26px; }
  footer { padding-bottom: 34px; }
}
@media (prefers-reduced-motion: reduce) { *, html { animation: none !important; transition: none !important; scroll-behavior: auto; } }
@media (max-width: 859px) { .wa.off { opacity: 0; pointer-events: none; } }
.hh { display: flex; flex-wrap: wrap; gap: 2px 16px; justify-content: flex-end; }
@media (max-width: 420px) { .hh { flex-direction: column; align-items: flex-end; } }
.hh small { font-size: 15px; color: var(--muted); }
