/* =====================================================================
   STUDIO POLE — דף נחיתה חדש: צבעי עמוד הספרים בגרסה אלגנטית
   דובדבן #D62839 · תכלת אבקה #9CC5E8 · נייבי עמוק #14213D · שנהב #FBF7F1
   ===================================================================== */
:root[data-theme="pole"] {
  --bg: #FBF7F1; --bg-2: #F3ECE1; --card: #FFFFFF; --card-2: #F5EFE6;
  --ink: #14213D; --ink-2: #3E4A66; --muted: #8B8F9C;
  --line: rgba(20, 33, 61, .09); --line-2: rgba(20, 33, 61, .16);
  --cherry: #D62839; --sky: #9CC5E8; --sky-2: #E3EEF8; --butter: #F4D58D;
  --brand-text: #B51F2F; --ok: #1F9D6B;
  --vio: #14213D; --hot: #D62839;
  --arc: linear-gradient(120deg, #D62839, #E9515F);
  --arc3: linear-gradient(90deg, #D62839, #FBF7F1, #9CC5E8, #D62839);
  --grad: linear-gradient(120deg, #D62839, #E9515F);
  --grad-text: linear-gradient(100deg, #D62839, #14213D);
  --cut: 24px; --cut-s: 16px; --r: 24px;
  --shadow: 0 1px 2px rgba(20, 33, 61, .05), 0 18px 40px -24px rgba(20, 33, 61, .35);
  --glow: 0 0 0 1px rgba(214, 40, 57, .5), 0 14px 30px -12px rgba(214, 40, 57, .45);
}
/* בלי נטוי ובלי פינות חתוכות — רך וטבעי */
[data-theme="pole"] * { font-style: normal !important; }
[data-theme="pole"] body::before { background: radial-gradient(45% 40% at 100% 0%, rgba(156, 197, 232, .35), transparent 70%), radial-gradient(40% 35% at 0% 60%, rgba(214, 40, 57, .06), transparent 70%); }
[data-theme="pole"] body::after { background-image: none; }

/* ---------- סרגל עליון ---------- */
.lx-top { position: fixed; top: 0; inset-inline: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; padding: calc(env(safe-area-inset-top) + 12px) 18px 12px; transition: background .35s, box-shadow .35s; }
.lx-top .mini { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; opacity: 0; transform: translateY(6px); transition: .35s var(--ease); color: var(--ink); }
.lx-top .mini img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.lx-top.solid { background: rgba(251, 247, 241, .85); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.lx-top.solid .mini { opacity: 1; transform: none; }
.lx-pill { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 600; background: rgba(255, 255, 255, .75); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line-2); color: var(--ink); box-shadow: var(--shadow); }
.lx-pill .me-dot { width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.lx-pill .count { position: absolute; top: -6px; inset-inline-start: -6px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--cherry); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; padding: 0 5px; }

/* ---------- הירו ---------- */
.lx-hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; isolation: isolate;
  background: radial-gradient(70% 55% at 50% 30%, #fff 0%, transparent 70%), linear-gradient(180deg, var(--sky-2) 0%, var(--bg) 78%); }
.lx-hero::before { content: ''; position: absolute; inset: auto -10% -2px; height: 32%; z-index: -1; background: radial-gradient(50% 60% at 50% 100%, rgba(20, 33, 61, .08), transparent 70%); }
.lx-stage { position: absolute; inset: 0; z-index: -1; }
.lx-stage canvas { width: 100% !important; height: 100% !important; display: block; cursor: pointer; animation: fadeIn 1.2s var(--ease) both; }
/* עמוד CSS לגיבוי (עד שהתלת-ממד עולה) */
.css-pole { position: absolute; top: 12%; left: 50%; width: 84px; height: 46%; translate: -50% 0; border-radius: 42px; overflow: hidden; box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .8), 0 30px 60px -30px rgba(20, 33, 61, .5); background: #fff; transition: opacity .6s; }
.css-pole i { position: absolute; inset: -100% 0 0; background: repeating-linear-gradient(-35deg, var(--cherry) 0 22px, #FBF7F1 22px 44px, var(--sky) 44px 66px, #FBF7F1 66px 88px); animation: poleUp 2.4s linear infinite; }
@keyframes poleUp { to { transform: translateY(50%); } }
.gl-on .css-pole { opacity: 0; }
.lx-copy { position: relative; padding: 0 22px calc(env(safe-area-inset-bottom) + 64px); max-width: 1180px; width: 100%; margin: 0 auto; }
.lx-copy > * { animation: heroIn 1s var(--ease) both; }
.lx-copy > :nth-child(2) { animation-delay: .08s; } .lx-copy > :nth-child(3) { animation-delay: .16s; } .lx-copy > :nth-child(4) { animation-delay: .24s; } .lx-copy > :nth-child(5) { animation-delay: .32s; }
.lx-kick { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .7); backdrop-filter: blur(10px); border: 1px solid var(--line); font-size: 12.5px; font-weight: 700; letter-spacing: .2em; color: var(--ink-2); text-transform: uppercase; }
.lx-kick img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.lx-hero h1 { margin-top: 14px; font-size: clamp(64px, 19vw, 150px); font-weight: 900; line-height: .86; letter-spacing: -.055em; color: var(--ink); }
.lx-hero h1 span { color: transparent; -webkit-text-stroke: 2px var(--ink); background: linear-gradient(100deg, var(--cherry) 0 50%, transparent 50%) 100% 0 / 200% 100% no-repeat; -webkit-background-clip: text; background-clip: text; animation: fillName 1.4s .6s var(--ease) forwards; }
@keyframes fillName { to { background-position: 0 0; -webkit-text-stroke-color: var(--cherry); } }
.lx-about { margin-top: 16px; max-width: 430px; font-size: 16.5px; color: var(--ink-2); line-height: 1.55; text-wrap: pretty; }
.lx-status { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .75); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink); }
.lx-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--cherry); }
.lx-status.open i { background: var(--ok); animation: ping 1.8s infinite; }
.lx-ctas { margin-top: 22px; display: flex; gap: 10px; flex-wrap: wrap; }
.lx-book { position: relative; overflow: hidden; display: grid; gap: 2px; text-align: start; padding: 16px 24px 15px; border-radius: 22px; background: var(--ink); color: #fff; box-shadow: 0 20px 40px -18px rgba(20, 33, 61, .8); transition: transform .3s var(--spring), box-shadow .3s; min-width: min(100%, 320px); }
.lx-book span { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; }
.lx-book span .ic { color: var(--sky); }
.lx-book small { font-size: 13px; color: rgba(255, 255, 255, .7); }
.lx-book small b { color: #fff; font-weight: 700; }
.lx-book::before { content: ''; position: absolute; inset-block: 0; inset-inline-end: 0; width: 10px; background: repeating-linear-gradient(-35deg, var(--cherry) 0 8px, #fff 8px 16px, var(--sky) 16px 24px, #fff 24px 32px); background-size: 100% 64px; animation: stripeRun 1.2s linear infinite; }
@keyframes stripeRun { to { background-position: 0 64px; } }
.lx-book:hover { transform: translateY(-3px); box-shadow: 0 26px 46px -18px rgba(20, 33, 61, .85); }
.lx-book:active { transform: scale(.97); }
.lx-hint { position: absolute; bottom: calc(env(safe-area-inset-bottom) + 14px); left: 50%; translate: -50% 0; color: var(--ink-2); opacity: .6; animation: hintBob 1.8s ease-in-out infinite; }
@keyframes hintBob { 50% { transform: translateY(6px); } }
@media (min-width: 900px) {
  .lx-hero { align-items: center; }
  .lx-copy { padding: 120px 48px 80px; display: grid; justify-items: start; }
  .lx-copy > * { max-width: 560px; }
}

/* ---------- סרט רץ (כמו פסי עמוד הספרים) ---------- */
.lx-ticker { position: relative; z-index: 2; overflow: hidden; background: var(--ink); color: #fff; padding: 14px 0; transform: rotate(-1.5deg) scale(1.04); margin: -18px 0 0; box-shadow: 0 16px 30px -20px rgba(20, 33, 61, .7); }
.lx-ticker::before, .lx-ticker::after { content: ''; position: absolute; inset-inline: 0; height: 5px; background: repeating-linear-gradient(-45deg, var(--cherry) 0 8px, #fff 8px 16px, var(--sky) 16px 24px, #fff 24px 32px); }
.lx-ticker::before { top: 0; } .lx-ticker::after { bottom: 0; }
.lx-ticker > div { display: flex; width: max-content; animation: tick 26s linear infinite; }
.lx-ticker span { font-size: 20px; font-weight: 800; letter-spacing: -.01em; padding: 0 18px; white-space: nowrap; }
.lx-ticker i { width: 10px; height: 10px; border-radius: 50%; background: var(--cherry); align-self: center; box-shadow: 0 0 0 3px rgba(255, 255, 255, .15); }
@keyframes tick { to { transform: translateX(50%); } }

/* ---------- גוף ---------- */
.lx-main { position: relative; z-index: 1; padding: 30px 0 150px; }
.lx-sec { margin-top: 46px; }
.lx-h { margin-bottom: 16px; }
.lx-h small { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 800; letter-spacing: .14em; color: var(--cherry); }
.lx-h small::before { content: ''; width: 18px; height: 3px; border-radius: 2px; background: var(--cherry); }
.lx-h h2 { font-size: clamp(30px, 7vw, 46px); font-weight: 900; letter-spacing: -.045em; line-height: 1.02; color: var(--ink); margin-top: 4px; }
.lx-h.sm h2 { font-size: 24px; }

/* פנוי בקרוב */
.lx-soon { display: flex; gap: 8px; overflow-x: auto; margin: 0 -18px; padding: 4px 18px 12px; scrollbar-width: none; }
.lx-soon::-webkit-scrollbar { display: none; }
.lx-soon button { flex: 0 0 auto; min-width: 92px; display: grid; gap: 1px; padding: 12px 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); text-align: start; transition: transform .25s var(--spring), border-color .2s; animation: rise .5s var(--ease) backwards; animation-delay: var(--d); }
.lx-soon button small { font-size: 12px; color: var(--muted); font-weight: 600; }
.lx-soon button b { font-size: 22px; font-weight: 900; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.lx-soon button:hover { transform: translateY(-3px); border-color: var(--cherry); }
.lx-soon button:hover b { color: var(--cherry); }
.lx-soon .more { background: var(--sky-2); border-color: transparent; }
.lx-soon .more .ic { color: var(--ink); }

/* תפריט שירותים — כרטיסים בהטיה תלת-ממדית */
.lx-menu { display: grid; gap: 12px; perspective: 900px; }
@media (min-width: 900px) { .lx-menu { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); } }
.lx-svc { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "ico t go" "ico meta go"; align-items: center; gap: 4px 16px; padding: 20px 20px 20px 16px; border-radius: 26px; text-align: start; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform .25s var(--ease), box-shadow .3s, border-color .3s; animation: rise .6s var(--ease) backwards; animation-delay: var(--d); }
.lx-svc:hover { box-shadow: 0 30px 50px -28px rgba(20, 33, 61, .55); border-color: rgba(214, 40, 57, .35); }
.lx-svc:active { transform: scale(.98); }
.lx-svc::after { content: ''; position: absolute; inset-block: 0; inset-inline-start: 0; width: 6px; background: repeating-linear-gradient(-35deg, var(--cherry) 0 7px, #fff 7px 14px, var(--sky) 14px 21px, #fff 21px 28px); opacity: 0; transition: opacity .3s; }
.lx-svc:hover::after { opacity: 1; animation: stripeRun 1.2s linear infinite; background-size: 100% 56px; }
.lx-n { position: absolute; top: 6px; inset-inline-end: 64px; font-size: 64px; font-weight: 900; letter-spacing: -.06em; color: rgba(20, 33, 61, .05); line-height: 1; pointer-events: none; }
.lx-ico { grid-area: ico; width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--sky-2); color: var(--ink); transform: translateZ(30px); transition: transform .35s var(--spring), background .3s, color .3s; }
.lx-svc:hover .lx-ico { background: var(--ink); color: #fff; transform: translateZ(30px) rotate(-8deg) scale(1.06); }
.lx-t { grid-area: t; min-width: 0; }
.lx-t b { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.lx-t small { display: block; font-size: 13.5px; color: var(--muted); margin-top: 1px; }
.lx-meta { grid-area: meta; display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.lx-dur { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); background: var(--card-2); padding: 4px 9px; border-radius: 999px; }
.lx-price { font-size: 26px; font-weight: 900; letter-spacing: -.04em; color: var(--cherry); line-height: 1; }
.lx-price small { font-size: 14px; font-weight: 700; margin-inline-start: 2px; }
.lx-go { grid-area: go; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--card-2); color: var(--ink); transition: background .3s, color .3s, transform .3s var(--spring); }
.lx-svc:hover .lx-go { background: var(--cherry); color: #fff; transform: translateX(-4px); }

/* גלריה — קאבר-פלואו */
.lx-gal { display: flex; gap: 6px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -18px; padding: 14px calc(50vw - 31vw) 26px; perspective: 1000px; scrollbar-width: none; }
.lx-gal::-webkit-scrollbar { display: none; }
.lx-gal button { position: relative; flex: 0 0 62vw; max-width: 320px; aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden; scroll-snap-align: center; box-shadow: 0 30px 50px -30px rgba(20, 33, 61, .6); transition: transform .35s var(--ease); background: var(--card-2); }
.lx-gal img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .lx-gal { padding-inline: calc(50% - 160px); } .lx-gal button { flex-basis: 320px; } }

/* שעות + מקום */
.lx-info { display: grid; gap: 14px; }
@media (min-width: 900px) { .lx-info { grid-template-columns: 1fr 1fr; align-items: start; } }
.lx-card { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 20px; box-shadow: var(--shadow); }
.lx-hours > div:not(.lx-h) { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px dashed var(--line-2); font-size: 15px; color: var(--ink-2); }
.lx-hours > div:last-child { border-bottom: 0; }
.lx-hours .closed { color: var(--muted); }
.lx-hours .today { color: var(--ink); font-weight: 800; position: relative; }
.lx-hours .today::before { content: 'היום'; position: absolute; inset-inline-start: -8px; top: 50%; translate: 0 -50%; font-size: 10.5px; font-weight: 800; background: var(--cherry); color: #fff; padding: 2px 7px; border-radius: 999px; transform: translateX(-100%); display: none; }
.lx-hours .today span:first-child::after { content: ' · היום'; color: var(--cherry); font-weight: 700; font-size: 13px; }
.lx-place { background: radial-gradient(80% 90% at 100% 0%, rgba(156, 197, 232, .55), transparent 70%), var(--ink); color: #fff; border: 0; }
.lx-place .lx-h small { color: var(--sky); } .lx-place .lx-h small::before { background: var(--sky); }
.lx-place .lx-h h2 { color: #fff; }
.lx-contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); gap: 10px; margin-top: 6px; }
.lx-c { display: grid; justify-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.lx-c span { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: #fff; transition: transform .3s var(--spring), background .3s; }
.lx-c:hover span { background: var(--cherry); transform: translateY(-4px) rotate(-6deg); border-color: transparent; }

/* כפתור תחתון: מופיע רק אחרי ההירו */
.lx-bar { transform: translateY(120%); transition: transform .5s var(--ease); }
.lx-bar.show { transform: none; }
[data-theme="pole"] .cta-bar { background: linear-gradient(180deg, transparent, rgba(251, 247, 241, .95) 40%); }
[data-theme="pole"] .cta-bar .btn { background: var(--ink) !important; color: #fff !important; border-radius: 22px; animation: none; box-shadow: 0 18px 34px -16px rgba(20, 33, 61, .8); }
[data-theme="pole"] .cta-bar .btn .l .ic { color: var(--sky); }

/* ---------- תהליך הקביעה בפלטה החדשה (רך, לא נטוי) ---------- */
[data-theme="pole"] .btn { border-radius: 18px; }
[data-theme="pole"] .btn:not(.ghost):not(.glass):not(.danger):not(.light) { background: var(--ink); color: #fff; }
[data-theme="pole"] .btn::after { display: none; }
[data-theme="pole"] .svc, [data-theme="pole"] .recur, [data-theme="pole"] .me-card, [data-theme="pole"] .summary, [data-theme="pole"] .my-item, [data-theme="pole"] .profile-card, [data-theme="pole"] .empty-card { border-radius: 22px; }
[data-theme="pole"] .svc { animation: rise .5s var(--ease) backwards; }
[data-theme="pole"] .svc.on { background: linear-gradient(var(--card), var(--card)) padding-box, linear-gradient(120deg, var(--cherry), var(--sky)) border-box; box-shadow: 0 16px 32px -18px rgba(214, 40, 57, .55); }
[data-theme="pole"] .sico { background: var(--sky-2) !important; color: var(--ink) !important; border-color: transparent !important; border-radius: 16px !important; }
[data-theme="pole"] .svc.on .sico { background: var(--ink) !important; color: #fff !important; }
[data-theme="pole"] .svc .price b, [data-theme="pole"] .summary .r.total b, [data-theme="pole"] .ticket .bot .price b, [data-theme="pole"] .my-item .dbox b { background: none; color: var(--cherry); -webkit-text-fill-color: currentColor; }
[data-theme="pole"] .day { border-radius: 18px; }
[data-theme="pole"] .slot { border-radius: 14px; font-weight: 700; }
[data-theme="pole"] .day.on, [data-theme="pole"] .slot.on, [data-theme="pole"] .qchip.on { background: var(--ink); color: #fff; box-shadow: 0 12px 24px -12px rgba(20, 33, 61, .7), inset 0 -3px 0 var(--cherry); }
[data-theme="pole"] .slot:hover { border-color: var(--cherry); color: var(--cherry); }
[data-theme="pole"] .day .bar i { background: linear-gradient(90deg, var(--sky), var(--cherry)); }
[data-theme="pole"] .day.on .bar i { background: var(--sky); }
[data-theme="pole"] .qchip { border-radius: 16px; }
[data-theme="pole"] .qchip .ic { color: var(--cherry); }
[data-theme="pole"] .seg, [data-theme="pole"] .auth-tabs { border-radius: 16px; }
[data-theme="pole"] .seg button, [data-theme="pole"] .auth-tabs button { border-radius: 12px; }
[data-theme="pole"] .seg button.on, [data-theme="pole"] .auth-tabs button.on { background: var(--ink); color: #fff; box-shadow: none; }
[data-theme="pole"] .recur.on { border-color: var(--sky); box-shadow: 0 14px 30px -16px rgba(20, 33, 61, .45); }
[data-theme="pole"] .recur.on .ricon, [data-theme="pole"] .recur.on .tg { background: var(--ink); }
[data-theme="pole"] .field input, [data-theme="pole"] .field textarea { border-radius: 14px; }
[data-theme="pole"] .field input:focus, [data-theme="pole"] .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(156, 197, 232, .45); }
[data-theme="pole"] .me-card .av, [data-theme="pole"] .profile-card .av.big { background: var(--ink) !important; color: #fff; border-radius: 50%; }
[data-theme="pole"] .ticket { border-radius: 28px; background: linear-gradient(90deg, #D62839, #9CC5E8, #14213D, #D62839); background-size: 300% 100%; }
[data-theme="pole"] .ticket .top { border-radius: 26px 26px 0 0; background: radial-gradient(90% 120% at 100% 0%, rgba(156, 197, 232, .4), transparent 70%), var(--card); }
[data-theme="pole"] .ticket .bot { border-radius: 0 0 26px 26px; }
[data-theme="pole"] .ticket .big { background: none; color: var(--ink); -webkit-text-fill-color: currentColor; }
[data-theme="pole"] .ticket .cd, [data-theme="pole"] .punch.on { background: var(--ink); color: #fff; border-radius: 999px; }
[data-theme="pole"] .next-card { border-radius: 24px; border: 1px solid var(--line); background: var(--card); animation: none; box-shadow: var(--shadow); margin-top: 0; }
[data-theme="pole"] .next-card .dbox { background: var(--cherry); color: #fff; border-radius: 16px; }
[data-theme="pole"] .next-card .t small { color: var(--cherry); }
[data-theme="pole"] .progress i.on { background: var(--cherry); }
[data-theme="pole"] .layer::before { background: radial-gradient(50% 30% at 90% 0%, rgba(156, 197, 232, .4), transparent 70%); }
[data-theme="pole"] .sec-h h2 em { background: none; color: var(--cherry); -webkit-text-fill-color: currentColor; }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

html, body { overflow-x: clip; }
/* כפתור קביעה בסרגל העליון — רק במחשב, אחרי ההירו */
.lx-tr { display: flex; gap: 8px; align-items: center; }
.lx-topbook { display: none; align-items: center; gap: 7px; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14.5px; box-shadow: 0 10px 22px -12px rgba(20, 33, 61, .8); opacity: 0; transform: translateY(-6px); transition: .35s var(--ease); }
.lx-topbook .ic { color: var(--sky); }
@media (min-width: 900px) {
  .lx-topbook { display: inline-flex; }
  .lx-top.solid .lx-topbook { opacity: 1; transform: none; }
  .lx-bar { display: none; }
}
