/* landing.css – דפי נחיתה נקיים */

/* ===== בסיס ===== */
body.landing-page {
  margin: 0;
  padding: 0;
  font-family: "Heebo", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f5f5f7;
  color: #111827;
}

/* הקונטיינר העיקרי של דפי הנחיתה */
.container {
  max-width: 960px;
  margin: 24px auto 40px;
  padding: 24px 18px 32px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

/* ===== Hero ===== */
.hero { text-align: center; }
.hero img { display: block; margin: 0 auto 16px; }

.promo-eyebrow {
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7280;
  margin: 4px 0 8px;
}

.promo-title { margin: 0 0 8px; font-weight: 700; line-height: 1.2; }
.promo-title.xl { font-size: 1.9rem; }

.promo-text { margin: 0; color: #4b5563; }
.promo-text.lg { font-size: 1.05rem; }

/* ===== כפתורים ===== */
.button,
.booking-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.98rem;
  font-weight: 600;
  background: #b98b3c;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(185, 139, 60, 0.35);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.button:hover,
.booking-submit:hover {
  background: #c99a45;
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(185, 139, 60, 0.45);
}

.button:active,
.booking-submit:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(185, 139, 60, 0.35);
}

/* ===== טקסטים משניים ===== */
.muted { font-size: 0.92rem; color: #6b7280; }

/* ===== רשימת טיפולים ===== */
.home-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.product-card {
  background: #f9fafb;
  border-radius: 16px;
  padding: 16px 14px 18px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-card .tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  font-size: 0.9rem;
  border-radius: 999px;
  background: #e5e7eb;
  color: #374151;
}

.product-title {
  margin: 4px 0 4px;
  font-size: 1.05rem;
  font-weight: 600;

  /* ✅ FIX: תמיד באותה שורה (לא יורד שורה בין EN/HE) */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
  unicode-bidi: plaintext;
}

.product-card p {
  margin: 0;
  font-size: 0.95rem;
  color: #4b5563;
}

.price {
  margin-top: 6px;
  font-weight: 600;
  color: #111827;
}

/* רדיו של משך טיפול */
.duration-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 10px;
}

.duration-options label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  font-size: 0.9rem; /* ✅ תיקון: בלי רווח */
  cursor: pointer;
  background: #ffffff;
}

.duration-options input[type="radio"] {
  accent-color: #b98b3c;
}

/* ===== כפתור וואטסאפ צף ===== */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
  z-index: 40;
}

.wa-float img { width: 28px; height: 28px; }

/* ===== סוויצ'ר שפות ===== */
.lang-switch {
  display: inline-flex;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f3f4f6;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.1);
}

.lang-btn {
  border: none;
  padding: 4px;
  border-radius: 999px;
  cursor: pointer;
  background: transparent;
}

.lang-btn img { width: 22px; height: 22px; }

/* ===== מודאל הזמנה ===== */
.booking-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.booking-modal.active { display: flex; }

.booking-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.booking-dialog {
  position: relative;
  max-width: 480px;
  width: 92%;
  background: #ffffff;
  border-radius: 18px;
  padding: 20px 18px 22px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.4);
  z-index: 51;
}

.booking-close {
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  border: none;
  background: transparent;
  font-size: 1.6rem;
  cursor: pointer;
}

.booking-row { margin-bottom: 10px; }

.booking-row label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.booking-row input,
.booking-row textarea,
.booking-row select {
  width: 100%;
  padding: 7px 9px;
  font-size: 0.95rem;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  box-sizing: border-box;
}

.booking-row.two-cols { display: flex; gap: 10px; }
.booking-row.two-cols > div { flex: 1; }

.booking-note {
  font-size: 0.85rem;
  color: #6b7280;
  margin-top: 6px;
  margin-bottom: 10px;
}

/* ===== רספונסיב ===== */
@media (max-width: 640px) {
  .container {
    margin: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

/* כל כרטיס – גובה אחיד ויישור למטה */
.product-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.product-card p { flex-grow: 0; }

.product-card .price {
  margin-top: 8px;
  font-weight: 700;
}

.product-card .duration-options {
  margin-top: auto;
  margin-bottom: 14px;
  display: flex;
  gap: 12px;
}

.product-card .button { margin-top: 0; }

/* ===== Video Slider ===== */
.video-slider { margin: 18px 0 6px; }

.video-slider__viewport {
  position: relative;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  background: #0b0f1a;
}

.video-slider__track {
  display: flex;
  transition: transform 420ms ease;
  will-change: transform;
}

.video-slide {
  flex: 0 0 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0b0f1a;
}

.video-slide__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Nav buttons */
.video-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 1.6rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.78);
  color: #111827;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.video-slider__nav:hover { background: rgba(255, 255, 255, 0.92); }

.video-slider__nav--prev { left: 12px; }
.video-slider__nav--next { right: 12px; }

/* Dots */
.video-slider__dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 10px;
  display: inline-flex;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.35);
  backdrop-filter: blur(8px);
  z-index: 2;
}

.video-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.55);
}

.video-slider__dot.is-active { background: rgba(255, 255, 255, 0.95); }

/* Mobile tweaks */
@media (max-width: 640px) {
  .video-slider__nav {
    width: 40px;
    height: 40px;
  }
}

/* ===== FIX: Video Slider height + alignment (put at END of file) ===== */

/* שמירה על יחס 16:9 בצורה יציבה בכל דפדפן */
.video-slider__viewport {
  position: relative;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #0b0f1a;
}

/* Fallback ל-aspect-ratio (וגם מייצב גובה) */
.video-slider__viewport::before {
  content: "";
  display: block;
  padding-top: 56.25%; /* 16:9 */
}

/* ✅ תיקון אמיתי:
   ה-track בלבד יושב "מוחלט" על ה-viewport (כדי לשבת על ה-16:9),
   אבל הסליידים והווידאו נשארים flex/רגילים — בלי absolute,
   אחרת כל הסליידים נערמים אחד על השני ורואים רק סרטון אחד. */
.video-slider__track {
  position: absolute;
  inset: 0;
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 420ms ease;
  will-change: transform;
}

/* כל שקף תופס 100% רוחב/גובה של ה-viewport (בלי absolute) */
.video-slide {
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0b0f1a;
}

/* הווידאו ממלא יפה בלי לשבור גובה */
.video-slide__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* כפתורי ניווט ודוטים נשארים מעל */
.video-slider__nav,
.video-slider__dots {
  z-index: 3;
}

/* מובייל: קצת פחות רדיוס אם בא לך */
@media (max-width: 640px) {
  .video-slider__viewport {
    border-radius: 14px;
  }
}

/* =========================================================
   FIX TITLES – max 3 lines, NO ellipsis
   ========================================================= */

.product-card .product-title,
.product-card .title,
.product-card .card-title,
.product-card h3,
.product-card h4,
.product-card [class*="title"],
.flagship-card .product-title,
.flagship-card h3 {

  /* ביטול מוחלט של אליפסיס / line-clamp */
  white-space: normal !important;
  text-overflow: unset !important;
  overflow: hidden !important;

  display: block !important;
  -webkit-box-orient: initial !important;
  -webkit-line-clamp: unset !important;

  /* הגבלה ל־3 שורות */
  line-height: 1.3;
  max-height: calc(1.3em * 3);

  /* RTL + EN יחד */
  unicode-bidi: plaintext;

  /* ✅ FIX חשוב: לא להכריח RTL, לקבל כיוון מה-document.dir (JS) */
  direction: inherit;

  margin: 6px 0 0;
  font-weight: 800;
}

/* חשוב – מבטל חיתוך שמגיע מהורה */
.product-card,
.product-card *,
.flagship-card,
.flagship-card *{
  min-width: 0;
}

/* =========================================================
   VIDEO SLIDER FIX (override) — prevent slides stacking
   Put at VERY END of landing.css
   ========================================================= */

.video-slider__viewport {
  position: relative;
}

/* track stays absolute over the 16:9 box */
.video-slider__track {
  position: absolute;
  inset: 0;
  display: flex;
  height: 100%;
  width: 100%;
}

/* ✅ CRITICAL: slides must NOT be absolute (otherwise they stack) */
.video-slider__track .video-slide {
  position: relative !important;
  inset: auto !important;
  flex: 0 0 100%;
  height: 100%;
  aspect-ratio: auto; /* מבטל את מה שמיותר כאן */
}

/* video fills each slide */
.video-slider__track .video-slide__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =====================================================================
   ✅ FINAL OVERRIDE (NEW) — stabilize slider & prevent double-height bugs
   Put at ABSOLUTE END (wins everything above)
   ===================================================================== */

/* 1) קובעים שדווקא ה-viewport קובע גובה (16:9) */
.video-slider__viewport {
  overflow: hidden;
}

/* 2) מבטלים אפשרות ש-aspect-ratio על slide ייצור חישובי גובה כפולים */
.video-slider__viewport .video-slide {
  aspect-ratio: auto !important;
}

/* 3) מוודאים שה-track תמיד בגובה מלא ושהשקופיות לא נערמות */
.video-slider__viewport .video-slider__track {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  display: flex;
}

.video-slider__viewport .video-slider__track .video-slide {
  position: relative !important;
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
}

/* 4) הווידאו תמיד מכסה את השקופית בצורה יציבה */
.video-slider__viewport .video-slide__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* =========================================================
   ✅ FLAGSHIP SLIDER (Treatments) — NEW
   ========================================================= */

.flagship {
  margin: 18px 0 22px;
}

.flagship__title {
  text-align: center;
  margin: 18px 0 6px;
}

.flagship__subtitle {
  text-align: center;
  margin: 0 0 14px;
}

/* Slider shell */
.flagship-slider {
  position: relative;
  margin: 10px 0 14px;
}

.flagship-slider__viewport {
  position: relative;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.10);
}

/* Track */
.flagship-slider__track {
  display: flex;
  transition: transform 420ms ease;
  will-change: transform;
}

/* Slide = 100% width */
.flagship-card {
  flex: 0 0 100%;
  min-width: 100%;
  padding: 16px 14px 18px;
  background: #f9fafb;
  border-radius: 0; /* ה-viewport כבר עגול */
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* תיאור בסליידר – חיתוך רך כדי לא להאריך מידי */
.flagship-desc {
  margin: 0;
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.55;
  overflow: hidden;
  max-height: calc(1.55em * 6);
}

.flagship-card .tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  font-size: 0.9rem;
  border-radius: 999px;
  background: #e5e7eb;
  color: #374151;
  width: fit-content;
}

.flagship-card .price {
  margin-top: 0;
  font-weight: 800;
}

.flagship-card .duration-options {
  margin-top: 0;
  margin-bottom: 4px;
}

/* Nav buttons */
.flagship-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 1.6rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.90);
  color: #111827;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.flagship-slider__nav:hover { background: rgba(255, 255, 255, 0.98); }

.flagship-slider__nav--prev { left: 10px; }
.flagship-slider__nav--next { right: 10px; }

/* Dots */
.flagship-slider__dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 10px;
  display: inline-flex;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.20);
  backdrop-filter: blur(8px);
  z-index: 3;
}

.flagship-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.55);
}

.flagship-slider__dot.is-active { background: rgba(255, 255, 255, 0.95); }

@media (max-width: 640px) {
  .flagship-slider__viewport { border-radius: 14px; }
  .flagship-slider__nav { width: 40px; height: 40px; }
  .flagship-desc { max-height: calc(1.55em * 7); }
}
/* =========================
   Flagship Treatments Slider
   ========================= */
.flagship-title { text-align:center; margin: 10px 0 6px; }
.flagship-subtitle { text-align:center; margin: 0 0 16px; }

.flagship-slider { margin: 14px 0 22px; }

.flagship-slider__viewport{
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.10);
  padding: 14px;
}

.flagship-slider__track{
  display: flex;
  transition: transform 420ms ease;
  will-change: transform;
}

/* כל סלייד תופס 100% רוחב */
.flagship-slide{
  flex: 0 0 100%;
  min-width: 100%;
}

/* בתוך סלייד – נשמור על עיצוב אחיד */
.flagship-slide.product-card{
  margin: 0;
  height: auto;
}

/* Nav */
.flagship-slider__nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 1.7rem;
  font-weight: 800;
  background: rgba(255,255,255,0.82);
  color: #111827;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.flagship-slider__nav:hover{ background: rgba(255,255,255,0.95); }

.flagship-slider__nav--prev{ left: 12px; }
.flagship-slider__nav--next{ right: 12px; }

/* Dots */
.flagship-slider__dots{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 10px;
  display: inline-flex;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.28);
  backdrop-filter: blur(8px);
  z-index: 3;
}

.flagship-slider__dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: rgba(255,255,255,0.55);
}

.flagship-slider__dot.is-active{ background: rgba(255,255,255,0.95); }

@media (max-width: 640px){
  .flagship-slider__viewport{ border-radius: 14px; padding: 12px; }
  .flagship-slider__nav{ width: 40px; height: 40px; }
}
/* ===== Flagship Slider responsive fixes (put at END) ===== */

/* viewport בלי padding כדי ש-translateX(-100%) יהיה מדויק */
.flagship-slider__viewport {
  padding: 0 !important;
}

/* את המרווחים נשים בתוך הסלייד עצמו */
.flagship-slide.product-card {
  margin: 0;
  border-radius: 18px;
  padding: 16px 14px 18px;
}

/* track + slide יציבים בכל רוחב */
.flagship-slider__track {
  width: 100%;
}

.flagship-slide {
  flex: 0 0 100%;
  min-width: 100%;
}

/* במובייל: קצת פחות padding וכפתורים נוחים */
@media (max-width: 640px) {
  .flagship-slide.product-card {
    padding: 14px 12px 16px;
  }

  .flagship-slider__nav--prev { left: 10px; }
  .flagship-slider__nav--next { right: 10px; }
}
/* ===== Flagship Slider ===== */
.flagship-slider__track{
  display: flex;
  gap: 14px;
  padding: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.flagship-slider__track::-webkit-scrollbar{ display:none; }

.flagship-slide{
  scroll-snap-align: center;
  flex: 0 0 86%;
}

@media (min-width: 700px){
  .flagship-slide{ flex-basis: 48%; }
}
@media (min-width: 980px){
  .flagship-slide{ flex-basis: 32%; }
}

.flagship-slider__nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 5;
}
.flagship-slider__nav--prev{ left: 10px; }
.flagship-slider__nav--next{ right: 10px; }

.flagship-slider__dots{
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}
.flagship-slider__dot{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.3);
}
.flagship-slider__dot.is-active{
  background: rgba(0,0,0,0.7);
}
/* ===== WhatsApp Floating Button FIX (put at END) ===== */
.wa-float{
  background: #ffffff !important;
  border: 2px solid #25d366;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
}

.wa-float img{
  width: 28px;
  height: 28px;
  display: block;
}
/* ===== Bereshit Spa Logo ===== */
.site-logo {
  display: block;
  margin: 0 auto 20px;
  width: 300px;      /* גודל בדסקטופ */
  max-width: 85%;    /* שלא יגלוש במסכים קטנים */
  height: auto;
}

@media (max-width: 640px) {
  .site-logo {
    width: 200px;    /* גודל במובייל */
  }
}