/*
 * Escape Portal - Booking Page CSS
 * Source: CSS supplied in chat
 * Scope: styles are mostly wrapped under .epp-booking / EPP page components
 * Encoding: UTF-8
 */

.epp-booking {
  --epp-bg: #f5f7fb;
  --epp-card: rgba(255, 255, 255, 0.95);
  --epp-card-strong: #ffffff;
  --epp-text: #0f172a;
  --epp-muted: #64748b;
  --epp-line: #dbe3ef;
  --epp-soft: #eef4ff;
  --epp-primary: #2563eb;
  --epp-primary-2: #1d4ed8;
  --epp-primary-soft: rgba(37, 99, 235, 0.1);
  --epp-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  --epp-shadow-soft: 0 8px 24px rgba(15, 23, 42, 0.06);
  --epp-radius-xl: 28px;
  --epp-radius-lg: 22px;
  --epp-radius-md: 16px;
  --epp-radius-sm: 12px;
  --epp-transition: 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px;
  color: var(--epp-text);
  direction: rtl;
  font-family: inherit;
}

.epp-booking *,
.epp-booking *::before,
.epp-booking *::after {
  box-sizing: border-box;
}

.epp-booking__hero {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(
      circle at top right,
      rgba(96, 165, 250, 0.3),
      transparent 28%
    ),
    radial-gradient(
      circle at left bottom,
      rgba(59, 130, 246, 0.18),
      transparent 25%
    ),
    linear-gradient(135deg, #0f172a, #172554 55%, #1e3a8a);
  color: #fff;
  padding: 34px 34px 28px;
  box-shadow: var(--epp-shadow);
  margin-bottom: 18px;
}

.epp-booking__hero h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.epp-booking__hero p {
  margin: 0;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
  line-height: 1.8;
}

.epp-booking__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 700;
}

.epp-booking__filters {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
  padding: 18px;
}

.epp-filter {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.epp-filter label {
  font-size: 18px;
  font-weight: 800;
  color: var(--epp-text);
  letter-spacing: 0.01em;
}

.epp-filter input,
.epp-filter select,
.epp-modal__form input,
.epp-modal__form textarea {
  width: 100%;
  min-height: 52px;
  border-radius: 16px;
  border: 1px solid var(--epp-line);
  background: #fff;
  color: var(--epp-text);
  padding: 12px 16px;
  font-size: 15px;
  outline: none;
  transition:
    border-color var(--epp-transition),
    box-shadow var(--epp-transition),
    transform var(--epp-transition);
}

.epp-filter input:focus,
.epp-filter select:focus,
.epp-modal__form input:focus,
.epp-modal__form textarea:focus {
  border-color: rgba(37, 99, 235, 0.55);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.epp-filter--date input {
  font-weight: 700;
  font-size: 16px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.epp-booking__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding: 16px 18px;
  border-radius: 22px;
  background: var(--epp-card-strong);
  border: 1px solid var(--epp-line);
  box-shadow: var(--epp-shadow-soft);
}

.epp-booking__summary strong {
  font-size: 16px;
}

.epp-booking__status {
  color: var(--epp-muted);
  font-size: 14px;
  min-height: 22px;
}

.epp-booking__status.is-loading {
  color: var(--epp-primary);
}

.epp-booking__layout {
  display: grid;
  grid-template-columns: minmax(360px, 420px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.epp-card {
  background: var(--epp-card);
  border: 1px solid rgba(219, 227, 239, 0.85);
  border-radius: var(--epp-radius-xl);
  box-shadow: var(--epp-shadow-soft);
  backdrop-filter: blur(10px);
}

.epp-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 22px 0;
}

.epp-card__head h3 {
  margin: 0 0 6px;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.epp-card__head p {
  margin: 0;
  color: var(--epp-muted);
  font-size: 14px;
}

.epp-card__body {
  padding: 18px 22px 22px;
}

.epp-details {
  position: sticky;
  top: 250px;
  overflow: hidden;
}

.epp-details__empty,
.epp-results__empty,
.epp-results__loading {
  min-height: 240px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--epp-muted);
  border: 1px dashed var(--epp-line);
  border-radius: 22px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.85),
    rgba(248, 250, 252, 0.9)
  );
  padding: 24px;
}

.epp-details__media {
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(135deg, #e0ebff, #eef4ff);
  aspect-ratio: 16 / 10;
  margin-bottom: 18px;
  position: relative;
}

.epp-details__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
}

.epp-details__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #3f5c84;
  font-size: 30px;
}

.epp-details__title {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.epp-details__sub {
  margin: 0 0 18px;
  color: var(--epp-muted);
  font-size: 15px;
}

.epp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.epp-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--epp-soft);
  color: #1e3a8a;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(191, 219, 254, 0.8);
}

.epp-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.epp-stat {
  padding: 14px 14px 12px;
  border: 1px solid var(--epp-line);
  border-radius: 18px;
  background: #fff;
}

.epp-stat__label {
  display: block;
  color: var(--epp-muted);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
}

.epp-stat__value {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--epp-text);
}

.epp-details__desc {
  margin: 0 0 20px;
  color: #334155;
  font-size: 14px;
  line-height: 1.8;
}

.epp-selection {
  padding: 16px;
  border-radius: 20px;
  background: linear-gradient(
    180deg,
    rgba(37, 99, 235, 0.08),
    rgba(37, 99, 235, 0.03)
  );
  border: 1px solid rgba(37, 99, 235, 0.16);
  margin-bottom: 16px;
}

.epp-selection__label {
  display: block;
  color: var(--epp-muted);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}

.epp-selection__value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 20px;
  font-weight: 900;
  color: var(--epp-text);
}

.epp-btn-main {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    var(--e-global-color-046d4dd),
    var(--e-global-color-dbf8518)
  );
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.2);
  transition:
    transform var(--epp-transition),
    box-shadow var(--epp-transition),
    opacity var(--epp-transition);
}

.epp-btn-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 34px rgba(37, 99, 235, 0.26);
}

.epp-btn-main:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.epp-results-shell {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.epp-time-group {
  border: 1px solid var(--epp-line);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  overflow: hidden;
  animation: eppFadeUp 0.45s ease both;
}

.epp-time-group__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 12px;
  background: linear-gradient(
    180deg,
    rgba(239, 244, 255, 0.8),
    rgba(255, 255, 255, 0.25)
  );
  border-bottom: 1px solid rgba(219, 227, 239, 0.8);
}

.epp-time-group__time {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.epp-time-group__count {
  font-size: 13px;
  color: var(--epp-muted);
  font-weight: 700;
}

.epp-time-group__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
}

.epp-slot-card {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: #fff;
  transition:
    transform var(--epp-transition),
    box-shadow var(--epp-transition),
    border-color var(--epp-transition),
    background var(--epp-transition);
  cursor: pointer;
  animation: eppFadeUp 0.45s ease both;
}

.epp-slot-card:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.07);
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.epp-slot-card.is-active {
  border-color: rgba(37, 99, 235, 0.36);
  background: linear-gradient(
    180deg,
    rgba(37, 99, 235, 0.08),
    rgba(255, 255, 255, 0.95)
  );
  box-shadow: 0 16px 28px rgba(37, 99, 235, 0.12);
}

.epp-slot-card__thumb {
  width: 110px;
  height: 86px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #dde9ff, #edf4ff);
  display: grid;
  place-items: center;
  color: #3d5a80;
  font-weight: 900;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

.epp-slot-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.epp-slot-card__main {
  min-width: 0;
}

.epp-slot-card__title {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.epp-slot-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.epp-meta-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid var(--epp-line);
  color: #334155;
  font-size: 12px;
  font-weight: 700;
}

.epp-slot-card__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  min-width: 94px;
}

.epp-slot-card__hour {
  font-size: 14px;
  color: var(--epp-muted);
  font-weight: 700;
}

.epp-slot-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  min-width: 92px;
  padding: 0 14px;
  border-radius: 12px;
  background: var(--epp-primary-soft);
  color: var(--epp-primary-2);
  font-size: 13px;
  font-weight: 800;
}

.epp-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 99999;
}

.epp-modal.is-open {
  display: block;
}

.epp-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.54);
  backdrop-filter: blur(6px);
  animation: eppFade 0.2s ease both;
}

.epp-modal__dialog {
  position: relative;
  max-width: 620px;
  margin: 7vh auto 0;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.26);
  overflow: hidden;
  animation: eppModalIn 0.28s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.epp-modal__top {
  padding: 24px 24px 16px;
  border-bottom: 1px solid var(--epp-line);
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.epp-modal__top h3 {
  margin: 0 0 6px;
  font-size: 28px;
  line-height: 1.05;
}

.epp-modal__top p {
  margin: 0;
  color: var(--epp-muted);
  font-size: 14px;
}

.epp-modal__close {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--epp-line);
  background: #fff;
  color: var(--epp-text);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.epp-modal__content {
  padding: 22px 24px 24px;
}

.epp-modal__selection {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #f8fbff;
  border: 1px solid var(--epp-line);
  font-size: 14px;
  color: var(--epp-text);
}

.epp-modal__selection strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
}

.epp-modal__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.epp-modal__form .epp-field-full {
  grid-column: 1 / -1;
}

.epp-modal__form textarea {
  min-height: 120px;
  resize: vertical;
  padding-top: 14px;
}

.epp-modal__submit {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--epp-primary), var(--epp-primary-2));
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.18);
}

.epp-modal__submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  box-shadow: none;
}

.epp-skeleton-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.epp-skeleton {
  background: linear-gradient(90deg, #edf2f8 25%, #f8fbff 37%, #edf2f8 63%);
  background-size: 400% 100%;
  animation: eppShimmer 1.35s infinite linear;
  border-radius: 18px;
}

.epp-skeleton--group {
  height: 132px;
}

@keyframes eppShimmer {
  0% {
    background-position: 100% 0;
  }

  100% {
    background-position: 0 0;
  }
}

@keyframes eppFadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes eppFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes eppModalIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1100px) {
  .epp-booking__layout {
    grid-template-columns: 1fr;
  }

  .epp-details {
    position: static;
  }

  .epp-booking__filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .epp-booking {
    padding: 14px;
  }

  .epp-booking__hero {
    padding: 22px 18px;
    border-radius: 22px;
  }

  .epp-booking__filters {
    grid-template-columns: 1fr;
    padding: 14px;
    border-radius: 20px;
  }

  .epp-booking__summary {
    flex-direction: column;
    align-items: start;
  }

  .epp-card__head {
    padding: 16px 16px 0;
  }

  .epp-card__body {
    padding: 14px 16px 16px;
  }

  .epp-slot-card {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .epp-slot-card__side {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .epp-modal__dialog {
    margin: 2vh 10px 0;
  }

  .epp-modal__form {
    grid-template-columns: 1fr;
  }
}

/* ========================= */
/* CALENDAR (Premium UI) */
/* ========================= */

.epp-calendar {
  background: #fff;
  border-radius: 20px;
  padding: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  max-width: 700px;
}

/* header */

.epp-cal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.epp-cal-header button {
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 18px;
  transition: 0.2s;
}

.epp-cal-header button:hover {
  background: #2563eb;
  color: #fff;
}

#epp-month {
  font-weight: 700;
  font-size: 16px;
}

/* days names */

.epp-cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 6px;
}

/* grid */

.epp-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

/* day */

.epp-cal-grid .day {
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: 0.2s;
  position: relative;
}

/* hover */

.epp-cal-grid .day:hover {
  background: #2563eb;
  color: #fff;
  transform: scale(1.05);
}

/* selected */

.epp-cal-grid .day.selected {
  background: #1d4ed8;
  color: #fff;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.3);
}

/* today */

.epp-cal-grid .day.today {
  border: 1px solid #2563eb;
}

/* empty */

.epp-cal-grid .empty {
  height: 42px;
}

.epp-booking__layout {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 20px;
  align-items: start;
}

/* צד ימין */
.epp-details {
  grid-column: 1;
}

/* צד שמאל */
.epp-results-column {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
/* ========================= */
/* CALENDAR WRAPPER */
/* ========================= */

.epp-calendar {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 16px;

  background: #fff;
  border-radius: 20px;
  border: 1px solid #e5e7eb;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);

  direction: rtl;
}

/* ========================= */
/* HEADER */
/* ========================= */

.epp-cal-header {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  margin-bottom: 12px;
}

/* כפתורים */

.epp-cal-header button {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: #f1f5f9;

  font-size: 18px;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: all 0.2s ease;
}

.epp-cal-header button:hover {
  background: #2563eb;
  color: #fff;
  transform: scale(1.05);
}

/* חודש */

#epp-month {
  text-align: center;
  font-size: 16px;
  font-weight: 700;
}

/* ========================= */
/* DAYS LABEL */
/* ========================= */

.epp-cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;

  font-size: 12px;
  color: #94a3b8;

  margin-bottom: 8px;
}

/* ========================= */
/* GRID */
/* ========================= */

.epp-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  justify-items: center;
}

/* ========================= */
/* DAY CELL */
/* ========================= */

.epp-cal-grid .day {
  width: 42px;
  height: 42px;

  border-radius: 12px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 14px;
  font-weight: 500;

  cursor: pointer;
  position: relative;

  transition: all 0.2s ease;
}

/* hover */

.epp-cal-grid .day:hover {
  background: #2563eb;
  color: #fff;
  transform: scale(1.05);
}

/* ========================= */
/* TODAY */
/* ========================= */

.epp-cal-grid .day.today {
  border: 1px solid #2563eb;
  font-weight: 700;
}

/* ========================= */
/* SELECTED */
/* ========================= */

.epp-cal-grid .day.selected {
  background: #1d4ed8;
  color: #fff;
  font-weight: 700;

  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

/* נקודה מתחת */

.epp-cal-grid .day.selected::after {
  content: '';
  position: absolute;
  bottom: 6px;
  width: 5px;
  height: 5px;
  background: #fff;
  border-radius: 50%;
}

/* ========================= */
/* DISABLED (עבר) */
/* ========================= */

.epp-cal-grid .day.disabled {
  opacity: 0.25;
  cursor: not-allowed;
  pointer-events: none;
}

/* ========================= */
/* EMPTY CELLS */
/* ========================= */

.epp-cal-grid .empty {
  width: 42px;
  height: 42px;
}

/* ========================= */
/* FOOTER (תאריך נבחר) */
/* ========================= */

.epp-calendar-footer {
  margin-top: 12px;
  padding-top: 10px;

  border-top: 1px solid #eee;

  text-align: center;
  font-size: 14px;
}

.epp-calendar-footer strong {
  color: #2563eb;
  font-weight: 700;
}

/* ========================= */
/* ANIMATION */
/* ========================= */

.epp-cal-grid .day {
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ========================= */
/* STICKY DATE BAR */
/* ========================= */

.epp-date-sticky {
  position: sticky;
  top: 80px; /* מתחת ל-WP admin bar */
  z-index: 50;

  display: flex;
  justify-content: space-between;
  align-items: center;

  width: 100%;

  padding: 12px 16px;
  margin-bottom: 12px;

  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);

  border: 1px solid #e5e7eb;
  border-radius: 16px;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  grid-column: 1 / -1;

  transition: all 0.25s ease;
}

/* תוכן */

.epp-date-content {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* טקסט */

#epp-selected-date-text {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

/* כפתור */

#epp-change-date {
  background: #2563eb;
  color: #fff;

  border: none;
  border-radius: 10px;

  padding: 6px 14px;

  font-size: 13px;
  font-weight: 600;

  cursor: pointer;

  transition: all 0.2s ease;
}

#epp-change-date:hover {
  background: #1d4ed8;
  transform: scale(1.05);
}

.epp-booking__filters {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 30px;
  align-items: start;
}

/* צד שמאל */
.epp-filters-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* יומן */
.epp-filter--calendar {
  width: 100%;
}

.epp-booking__filters {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 30px;
  align-items: start;
}

/* צד שמאל */
.epp-filters-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* יומן */
.epp-filter--calendar {
  width: 100%;
}

.epp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.epp-chip {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 400;
  transition: all 0.2s ease;
}

.epp-chip:hover {
  border-color: #2563eb;
  color: #2563eb;
}

.epp-chip.active {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}

.epp-range input[type='range'] {
  width: 100%;
  margin-top: 8px;
}

.epp-range-value {
  margin-top: 6px;
  font-size: 14px;
  color: #111;
  font-weight: 600;
}

.epp-booking__filters {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  align-items: start;
}

/* צד שמאל */
.epp-filters-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ימין */
.epp-filter--calendar {
  width: 100%;
}

.epp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.epp-chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s ease;
}

.epp-chip.active {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}

/* ========================= */
/* RANGE WRAPPER */
/* ========================= */

.epp-range {
  width: 100%;
}

/* ========================= */
/* TRACK */
/* ========================= */

.epp-range input[type='range'] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;

  background: linear-gradient(
    to left,
    #2563eb 0%,
    #2563eb 50%,
    #e5e7eb 50%,
    #e5e7eb 100%
  );
  border-radius: 999px;

  outline: none;
  cursor: pointer;

  transition: all 0.2s ease;
}

/* ========================= */
/* THUMB */
/* ========================= */

.epp-range input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;

  width: 18px;
  height: 18px;

  background: #2563eb;
  border-radius: 50%;

  border: 3px solid #fff;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);

  cursor: pointer;
  transition: all 0.2s ease;
}

.epp-range input[type='range']::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* ========================= */
/* FIREFOX */
/* ========================= */

.epp-range input[type='range']::-moz-range-thumb {
  width: 18px;
  height: 18px;

  background: #2563eb;
  border-radius: 50%;
  border: none;

  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

/* ========================= */
/* VALUE TEXT */
/* ========================= */

.epp-range-value {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #111;
}

/* ========================= */
/* ACTIVE TRACK (JS יתעדכן) */
/* ========================= */

.noUi-target {
  height: 6px;
  border-radius: 999px;
  background: #e5e7eb;
  border: none;
  box-shadow: none;
}

.noUi-connect {
  background: #2563eb;
}

.noUi-handle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #2563eb;
  border: none;
  box-shadow: none;
  cursor: pointer;
}

.noUi-handle:before,
.noUi-handle:after {
  display: none;
}

/* שורת inputs */
.epp-time-inputs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.epp-time-inputs input {
  flex: 1;
  height: 48px;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  padding: 0 12px;
  font-size: 16px;
  text-align: center;
  background: #fff;
}

/* ===== SLIDER ===== */

#epp-time-slider {
  margin-top: 10px;
}

/* פס */
.noUi-target {
  height: 8px;
  border-radius: 999px;
  background: #e5e7eb;
  border: none;
  box-shadow: none;
}

/* כחול באמצע */
.noUi-connect {
  background: linear-gradient(90deg, #2563eb, #3b82f6);
}

/* כפתורים */
.noUi-handle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #2563eb;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  top: -6px;
}

/* בלי קווים פנימיים */
.noUi-handle:before,
.noUi-handle:after {
  display: none;
}

/* טווח שעות */
.epp-time-range-wrapper {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.epp-time-range-title {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  text-align: right;
}

/* שתי עמודות חצי חצי */
.epp-time-range-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.epp-filter--time-range {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.epp-filter--time-range label {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  text-align: right;
}

/* הכפתור הסגור */
.epp-time-toggle {
  width: 100%;
  min-height: 46px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  padding: 12px 14px;

  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.14);

  background: #ffffff;
  color: #0f172a;

  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: right;

  cursor: pointer;
  box-sizing: border-box;

  transition:
    border-color 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease;
}

/* הובר כחול עדין */
.epp-time-toggle:hover,
.epp-time-toggle.is-open {
  background: rgba(37, 99, 235, 0.06);
  border-color: rgba(37, 99, 235, 0.45);
  color: #0f172a;
}

.epp-time-toggle span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.epp-time-toggle-arrow {
  flex: 0 0 auto;
  font-size: 18px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.epp-time-toggle.is-open .epp-time-toggle-arrow {
  transform: rotate(180deg);
}

/* הפאנל שנפתח */
.epp-time-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;

  width: 100%;
  max-width: 100%;
  min-width: 0;

  padding: 8px;

  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.12);

  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);

  overflow: hidden;
  box-sizing: border-box;
  z-index: 50;
}

.epp-time-panel[hidden] {
  display: none !important;
}

/* רשימת שעות - גלילה אנכית */
.epp-time-scroll {
  width: 100%;
  max-height: 240px;

  display: flex;
  flex-direction: column;
  gap: 6px;

  overflow-y: auto;
  overflow-x: hidden;

  padding: 4px;

  direction: rtl;
  box-sizing: border-box;

  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

/* כפתור שעה */
.epp-time-option {
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 11px 14px;

  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.14);

  background: #ffffff;
  color: #0f172a;

  font-size: 15px;
  font-weight: 700;
  line-height: 1;

  cursor: pointer;
  box-sizing: border-box;

  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

/* הובר עדין לשעות */
.epp-time-option:hover {
  background: rgba(37, 99, 235, 0.07);
  border-color: rgba(37, 99, 235, 0.45);
  color: #2563eb;
}

/* שעה נבחרת */
.epp-time-option.is-selected {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}

/* מובייל - אחד מתחת לשני */
@media (max-width: 640px) {
  .epp-time-range-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .epp-time-panel {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    margin-top: 8px;
  }
}

/* הגנות נגד שבירה בתוך Flex/Grid */
.epp-filter,
.epp-filters,
.epp-search-filters,
.epp-booking-filters {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.epp-time-option:disabled,
.epp-time-option.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.08);
  color: #64748b;
}

.epp-time-option:disabled:hover,
.epp-time-option.is-disabled:hover {
  background: #f1f5f9 !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
  color: #64748b !important;
}

/* ==========================================================
   EPP MOBILE + TIME RANGE FINAL FIX
   להדביק בסוף הקובץ בלבד
========================================================== */

/* בסיס כללי נגד שבירות */
.epp-booking,
.epp-booking *,
.epp-booking *::before,
.epp-booking *::after {
  box-sizing: border-box;
}

.epp-booking {
  width: 100%;
  max-width: 1440px;
  overflow-x: hidden;
}

/* מבנה פילטרים דסקטופ */
.epp-booking .epp-booking__filters {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 400px) !important;
  gap: 32px !important;
  align-items: start !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  padding: 18px !important;
  margin-bottom: 16px !important;
}

/* צד ימין - יומן + טווח שעות */
.epp-booking .epp-filter--calendar {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

/* צד שמאל - שאר פילטרים */
.epp-booking .epp-filters-left {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 22px !important;
}

/* יומן */
.epp-booking .epp-calendar {
  width: 100% !important;
  max-width: 500px !important;
  margin: 0 auto !important;
}

/* טווח שעות */
.epp-booking .epp-time-range-wrapper {
  width: 100% !important;
  max-width: 500px !important;
  margin: 18px auto 0 !important;
  min-width: 0 !important;
}

.epp-booking .epp-time-range-title {
  display: block !important;
  width: 100% !important;
  margin: 0 0 10px !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  text-align: right !important;
}

/* בדסקטופ: משעה ועד שעה חצי חצי */
.epp-booking .epp-time-range-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

.epp-booking .epp-filter--time-range {
  position: relative !important;
  width: 100% !important;
  min-width: 0 !important;
}

.epp-booking .epp-filter--time-range label {
  display: block !important;
  margin-bottom: 7px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  text-align: right !important;
}

/* כפתור בחירת שעה */
.epp-booking .epp-time-toggle {
  width: 100% !important;
  min-height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;

  padding: 12px 14px !important;

  border-radius: 14px !important;
  border: 1px solid rgba(15, 23, 42, 0.14) !important;

  background: #ffffff !important;
  color: #0f172a !important;

  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  text-align: right !important;

  cursor: pointer !important;
  box-shadow: none !important;
  transform: none !important;
}

.epp-booking .epp-time-toggle:hover,
.epp-booking .epp-time-toggle.is-open {
  background: rgba(37, 99, 235, 0.06) !important;
  border-color: rgba(37, 99, 235, 0.45) !important;
  color: #0f172a !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08) !important;
  transform: none !important;
}

.epp-booking .epp-time-toggle span:first-child {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.epp-booking .epp-time-toggle-arrow {
  flex: 0 0 auto !important;
  font-size: 18px !important;
  line-height: 1 !important;
  transition: transform 0.2s ease !important;
}

.epp-booking .epp-time-toggle.is-open .epp-time-toggle-arrow {
  transform: rotate(180deg) !important;
}

/* פאנל שעות */
.epp-booking .epp-time-panel {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  right: 0 !important;
  left: 0 !important;

  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;

  padding: 8px !important;

  border-radius: 16px !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;

  background: #ffffff !important;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12) !important;

  overflow: hidden !important;
  z-index: 999 !important;
}

.epp-booking .epp-time-panel[hidden] {
  display: none !important;
}

/* גלילה אנכית */
.epp-booking .epp-time-scroll {
  width: 100% !important;
  max-height: 230px !important;

  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;

  overflow-y: auto !important;
  overflow-x: hidden !important;

  padding: 4px !important;
  direction: rtl !important;

  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: thin !important;
}

/* כפתורי שעות */
.epp-booking .epp-time-option {
  width: 100% !important;
  min-height: 42px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 10px 12px !important;

  border-radius: 12px !important;
  border: 1px solid rgba(15, 23, 42, 0.14) !important;

  background: #ffffff !important;
  color: #0f172a !important;

  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1 !important;

  cursor: pointer !important;
  box-shadow: none !important;
  transform: none !important;
}

.epp-booking .epp-time-option:hover {
  background: rgba(37, 99, 235, 0.07) !important;
  border-color: rgba(37, 99, 235, 0.45) !important;
  color: #2563eb !important;
  transform: none !important;
}

.epp-booking .epp-time-option.is-selected {
  background: #2563eb !important;
  border-color: #2563eb !important;
  color: #ffffff !important;
}

.epp-booking .epp-time-option:disabled,
.epp-booking .epp-time-option.is-disabled {
  opacity: 0.38 !important;
  cursor: not-allowed !important;
  background: #f1f5f9 !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
  color: #64748b !important;
}

.epp-booking .epp-time-option:disabled:hover,
.epp-booking .epp-time-option.is-disabled:hover {
  background: #f1f5f9 !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
  color: #64748b !important;
}

/* צ׳יפים */
.epp-booking .epp-chips {
  width: 100% !important;
  max-width: 100% !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 5px !important;
}

.epp-booking .epp-chip {
  max-width: 100% !important;
  word-break: break-word !important;
}

/* מובייל */
@media (max-width: 767px) {
  .epp-booking {
    padding: 12px !important;
    overflow-x: hidden !important;
  }

  .epp-booking .epp-booking__filters {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
    padding: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .epp-booking .epp-filter--calendar,
  .epp-booking .epp-filters-left,
  .epp-booking .epp-calendar,
  .epp-booking .epp-time-range-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  /* במובייל: משעה ועד שעה עדיין חצי חצי */
  .epp-booking .epp-time-range-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .epp-booking .epp-time-toggle {
    min-height: 44px !important;
    padding: 10px 10px !important;
    border-radius: 12px !important;
    font-size: 13px !important;
  }

  .epp-booking .epp-filter--time-range label {
    font-size: 13px !important;
  }

  /* במובייל הפאנל נפתח בתוך הזרימה ולא מעל אלמנטים */
  .epp-booking .epp-time-panel {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    margin-top: 8px !important;
    z-index: 1 !important;
  }

  .epp-booking .epp-time-scroll {
    max-height: 190px !important;
  }

  .epp-booking .epp-time-option {
    min-height: 40px !important;
    font-size: 14px !important;
    padding: 9px 10px !important;
  }

  .epp-booking .epp-calendar {
    padding: 12px !important;
    border-radius: 18px !important;
  }

  .epp-booking .epp-cal-grid {
    gap: 4px !important;
  }

  .epp-booking .epp-cal-grid .day,
  .epp-booking .epp-cal-grid .empty {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
  }

  .epp-booking .epp-booking__layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    width: 100% !important;
  }

  .epp-booking .epp-details,
  .epp-booking .epp-results-column {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .epp-booking .epp-slot-card {
    grid-template-columns: 76px minmax(0, 1fr) !important;
    gap: 10px !important;
    padding: 10px !important;
  }

  .epp-booking .epp-slot-card__thumb {
    width: 76px !important;
    height: 62px !important;
    border-radius: 12px !important;
  }

  .epp-booking .epp-slot-card__title {
    font-size: 17px !important;
  }

  .epp-booking .epp-slot-card__side {
    grid-column: 1 / -1 !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
  }

  .epp-booking .epp-date-sticky {
    top: 10px !important;
    padding: 10px 12px !important;
    border-radius: 14px !important;
  }
}

/* מובייל צר מאוד */
@media (max-width: 390px) {
  .epp-booking .epp-time-range-grid {
    grid-template-columns: 1fr !important;
  }

  .epp-booking .epp-cal-grid .day,
  .epp-booking .epp-cal-grid .empty {
    width: 32px !important;
    height: 32px !important;
    font-size: 12px !important;
  }
}

/* ==========================================================
   PLAYERS FILTER - FINAL UI
   Slider height 20px + smaller thumb
========================================================== */

.epp-booking .epp-filter--players {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.epp-booking .epp-filter--players label {
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  text-align: right;
}

.epp-booking .epp-players-control {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

/* =========================
   SLIDER
========================= */

.epp-booking #epp-players-range {
  -webkit-appearance: none;
  appearance: none;

  width: 100%;
  height: 20px !important;
  min-height: 20px !important;
  border: 0;
  outline: none;
  border-radius: 999px;

  cursor: pointer;

  background: linear-gradient(
    to left,
    #2563eb 0%,
    #2563eb 35%,
    #dbe3ef 35%,
    #dbe3ef 100%
  );

  transition: 0.2s ease;
}

/* Chrome / Edge / Safari - track */
.epp-booking #epp-players-range::-webkit-slider-runnable-track {
  height: 20px;
  border-radius: 999px;
  background: transparent;
}

/* Chrome / Edge / Safari - thumb */
.epp-booking #epp-players-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;

  width: 16px;
  height: 16px;

  margin-top: 2px;

  border-radius: 50%;
  border: 3px solid #ffffff;
  background: #2563eb;

  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.24);
  cursor: pointer;
}

/* Firefox - track */
.epp-booking #epp-players-range::-moz-range-track {
  height: 20px;
  border-radius: 999px;
  background: #dbe3ef;
}

/* Firefox - progress */
.epp-booking #epp-players-range::-moz-range-progress {
  height: 20px;
  border-radius: 999px;
  background: #2563eb;
}

/* Firefox - thumb */
.epp-booking #epp-players-range::-moz-range-thumb {
  width: 16px;
  height: 16px;

  border: 3px solid #ffffff;
  border-radius: 50%;
  background: #2563eb;

  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.24);
  cursor: pointer;
}

/* =========================
   TEXT INPUT SENTENCE
========================= */

.epp-booking .epp-players-input-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;

  min-height: 42px;
  padding: 6px 10px;

  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #ffffff;

  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.epp-booking #epp-players-value {
  width: 58px;
  min-width: 58px;
  min-height: 34px;

  padding: 0 8px;
  margin: 0;

  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 10px;
  background: #f8fbff;

  color: #2563eb;
  font-size: 17px;
  font-weight: 900;
  text-align: center;

  outline: none;
  box-shadow: none;
}

.epp-booking #epp-players-value:focus {
  border-color: rgba(37, 99, 235, 0.5);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.epp-booking .epp-players-input-wrap span {
  font-size: 15px;
  font-weight: 700;
  color: #334155;
  white-space: nowrap;
  line-height: 1;
}

/* מובייל */
@media (max-width: 767px) {
  .epp-booking .epp-players-control {
    gap: 10px;
  }

  .epp-booking .epp-players-input-wrap {
    width: auto;
    max-width: 100%;
    min-height: 40px;
  }

  .epp-booking #epp-players-value {
    width: 54px;
    min-width: 54px;
    min-height: 32px;
    font-size: 16px;
  }

  .epp-booking .epp-players-input-wrap span {
    font-size: 14px;
  }
}

/* ==========================================================
   MULTI SELECT FILTERS
   Difficulty + Languages
========================================================== */

.epp-booking .epp-filter--multi-select {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.epp-booking .epp-filter--multi-select label {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  text-align: right;
}

/* הכפתור הסגור */
.epp-booking .epp-multi-toggle {
  width: 100%;
  min-height: 40px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  padding: 12px 14px;

  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.14);

  background: #ffffff;
  color: #0f172a;

  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  text-align: right;

  cursor: pointer;
  box-sizing: border-box;

  box-shadow: none;
  transform: none;

  transition:
    border-color 0.18s ease,
    background-color 0.18s ease,
    box-shadow 0.18s ease;
}

.epp-booking .epp-multi-toggle:hover,
.epp-booking .epp-multi-toggle.is-open {
  background: rgba(37, 99, 235, 0.06);
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
  color: #0f172a;
}

.epp-booking .epp-multi-toggle span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.epp-booking .epp-multi-toggle-arrow {
  flex: 0 0 auto;
  font-size: 18px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.epp-booking .epp-multi-toggle.is-open .epp-multi-toggle-arrow {
  transform: rotate(180deg);
}

/* הפאנל */
.epp-booking .epp-multi-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;

  width: 100%;
  max-width: 100%;
  min-width: 0;

  padding: 8px;

  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.12);

  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);

  overflow: hidden;
  box-sizing: border-box;
  z-index: 999;
}

.epp-booking .epp-multi-panel[hidden] {
  display: none !important;
}

/* גלילה אנכית */
.epp-booking .epp-multi-scroll {
  width: 100%;
  max-height: 220px;

  display: flex;
  flex-direction: column;
  gap: 6px;

  overflow-y: auto;
  overflow-x: hidden;

  padding: 4px;
  direction: rtl;

  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

/* אפשרות */
.epp-booking .epp-multi-option {
  width: 100%;
  min-height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 10px 12px;

  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.14);

  background: #ffffff;
  color: #0f172a;

  font-size: 15px;
  font-weight: 700;
  line-height: 1;

  cursor: pointer;
  box-sizing: border-box;

  box-shadow: none;
  transform: none;

  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

.epp-booking .epp-multi-option:hover {
  background: rgba(37, 99, 235, 0.07);
  border-color: rgba(37, 99, 235, 0.45);
  color: #2563eb;
}

.epp-booking .epp-multi-option.is-selected {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}

/* מובייל */
@media (max-width: 767px) {
  .epp-booking .epp-multi-panel {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    margin-top: 8px;
    z-index: 1;
  }

  .epp-booking .epp-multi-scroll {
    max-height: 190px;
  }

  .epp-booking .epp-multi-toggle {
    min-height: 44px;
    padding: 10px 10px;
    border-radius: 12px;
    font-size: 14px;
  }

  .epp-booking .epp-multi-option {
    min-height: 40px;
    font-size: 14px;
    padding: 9px 10px;
  }
}
/* ==========================================================
   CHECKBOX DROPDOWN FILTER
   More / Dynamic Features
========================================================== */

.epp-booking .epp-filter--checkbox-dropdown {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.epp-booking .epp-filter--checkbox-dropdown label {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  text-align: right;
}

.epp-booking .epp-checkbox-toggle {
  width: 100%;
  min-height: 40px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  padding: 12px 14px;

  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.14);

  background: #ffffff;
  color: #0f172a;

  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  text-align: right;

  cursor: pointer;
  box-sizing: border-box;

  box-shadow: none;
  transform: none;

  transition:
    border-color 0.18s ease,
    background-color 0.18s ease,
    box-shadow 0.18s ease;
}

.epp-booking .epp-checkbox-toggle:hover,
.epp-booking .epp-checkbox-toggle.is-open {
  background: rgba(37, 99, 235, 0.06);
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
  color: #0f172a;
}

.epp-booking .epp-checkbox-toggle span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.epp-booking .epp-checkbox-toggle-arrow {
  flex: 0 0 auto;
  font-size: 18px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.epp-booking .epp-checkbox-toggle.is-open .epp-checkbox-toggle-arrow {
  transform: rotate(180deg);
}

.epp-booking .epp-checkbox-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;

  width: 100%;
  max-width: 100%;
  min-width: 0;

  padding: 8px;

  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.12);

  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);

  overflow: hidden;
  box-sizing: border-box;
  z-index: 999;
}

.epp-booking .epp-checkbox-panel[hidden] {
  display: none !important;
}

.epp-booking .epp-checkbox-list {
  width: 100%;
  max-height: 240px;

  display: flex;
  flex-direction: column;
  gap: 6px;

  overflow-y: auto;
  overflow-x: hidden;

  padding: 4px;
  direction: rtl;

  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.epp-booking .epp-checkbox-option {
  width: 100%;
  min-height: 44px;

  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;

  padding: 10px 12px;

  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);

  background: #ffffff;
  color: #0f172a;

  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-align: right;

  cursor: pointer;
  box-sizing: border-box;

  box-shadow: none;
  transform: none;

  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

.epp-booking .epp-checkbox-option:hover {
  background: rgba(37, 99, 235, 0.06);
  border-color: rgba(37, 99, 235, 0.35);
  color: #2563eb;
}

.epp-booking .epp-checkbox-box {
  flex: 0 0 auto;

  width: 19px;
  height: 19px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 5px;
  border: 1.5px solid rgba(15, 23, 42, 0.24);

  background: #ffffff;

  transition:
    background-color 0.18s ease,
    border-color 0.18s ease;
}

.epp-booking .epp-checkbox-text {
  min-width: 0;
  flex: 1;
}

.epp-booking .epp-checkbox-option.is-selected {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.45);
  color: #1d4ed8;
}

.epp-booking .epp-checkbox-option.is-selected .epp-checkbox-box {
  background: #2563eb;
  border-color: #2563eb;
}

.epp-booking .epp-checkbox-option.is-selected .epp-checkbox-box::after {
  content: '✓';
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.epp-booking .epp-checkbox-empty {
  padding: 12px;
  border-radius: 12px;
  background: #f8fafc;
  color: #64748b;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 767px) {
  .epp-booking .epp-checkbox-panel {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    margin-top: 8px;
    z-index: 1;
  }

  .epp-booking .epp-checkbox-toggle {
    min-height: 44px;
    padding: 10px 10px;
    border-radius: 12px;
    font-size: 14px;
  }

  .epp-booking .epp-checkbox-list {
    max-height: 220px;
  }

  .epp-booking .epp-checkbox-option {
    min-height: 42px;
    font-size: 14px;
    padding: 9px 10px;
  }
}

/* ==========================================================
   BIRTHDAY ROOM FILTER
========================================================== */

.epp-booking .epp-filter--birthday-room {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.epp-booking .epp-filter--birthday-room label {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  text-align: right;
}

.epp-booking .epp-birthday-toggle {
  width: 100%;
  min-height: 40px;

  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;

  padding: 12px 14px;

  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.14);

  background: #ffffff;
  color: #0f172a;

  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  text-align: right;

  cursor: pointer;
  box-sizing: border-box;

  box-shadow: none;
  transform: none;

  transition:
    border-color 0.18s ease,
    background-color 0.18s ease,
    box-shadow 0.18s ease,
    color 0.18s ease;
}

.epp-booking .epp-birthday-toggle:hover {
  background: rgba(37, 99, 235, 0.06);
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
  color: #0f172a;
}

.epp-booking .epp-birthday-check {
  flex: 0 0 auto;

  width: 19px;
  height: 19px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 5px;
  border: 1.5px solid rgba(15, 23, 42, 0.24);

  background: #ffffff;

  transition:
    background-color 0.18s ease,
    border-color 0.18s ease;
}

.epp-booking .epp-birthday-text {
  min-width: 0;
  flex: 1;
}

.epp-booking .epp-birthday-toggle.is-selected {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.45);
  color: #1d4ed8;
}

.epp-booking .epp-birthday-toggle.is-selected .epp-birthday-check {
  background: #2563eb;
  border-color: #2563eb;
}

.epp-booking .epp-birthday-toggle.is-selected .epp-birthday-check::after {
  content: '✓';
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

@media (max-width: 767px) {
  .epp-booking .epp-birthday-toggle {
    min-height: 44px;
    padding: 10px;
    border-radius: 12px;
    font-size: 14px;
  }
}
/* ==========================================================
   PLAYERS FILTER - INLINE SENTENCE UI
========================================================== */

.epp-booking .epp-filter--players {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.epp-booking .epp-filter--players label {
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  text-align: right;
}

/* כל השורה: סליידר + מספר משתתפים */
.epp-booking .epp-players-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 100%;
}

/* =========================
   SLIDER
========================= */

.epp-booking #epp-players-range {
  -webkit-appearance: none;
  appearance: none;

  width: 100%;
  height: 20px;

  border: 0;
  outline: none;
  border-radius: 999px;

  cursor: pointer;

  background: linear-gradient(
    to left,
    #2563eb 0%,
    #2563eb 35%,
    #dbe3ef 35%,
    #dbe3ef 100%
  );

  transition: 0.2s ease;
}

/* Chrome / Edge / Safari - track */
.epp-booking #epp-players-range::-webkit-slider-runnable-track {
  height: 20px;
  border-radius: 999px;
  background: transparent;
}

/* Chrome / Edge / Safari - thumb */
.epp-booking #epp-players-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;

  width: 16px;
  height: 16px;

  margin-top: 2px;

  border-radius: 50%;
  border: 3px solid #ffffff;
  background: #2563eb;

  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.24);
  cursor: pointer;
}

/* Firefox - track */
.epp-booking #epp-players-range::-moz-range-track {
  height: 20px;
  border-radius: 999px;
  background: #dbe3ef;
}

/* Firefox - progress */
.epp-booking #epp-players-range::-moz-range-progress {
  height: 20px;
  border-radius: 999px;
  background: #2563eb;
}

/* Firefox - thumb */
.epp-booking #epp-players-range::-moz-range-thumb {
  width: 16px;
  height: 16px;

  border: 3px solid #ffffff;
  border-radius: 50%;
  background: #2563eb;

  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.24);
  cursor: pointer;
}

/* =========================
   TEXT INPUT SENTENCE
========================= */

.epp-booking .epp-players-input-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  min-width: 156px;
  min-height: 46px;

  padding: 6px 10px;

  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #ffffff;

  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);

  white-space: nowrap;
}

.epp-booking #epp-players-value {
  width: 58px;
  min-width: 58px;
  min-height: 34px;

  padding: 0 8px;
  margin: 0;

  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 10px;
  background: #f8fbff;

  color: #2563eb;
  font-size: 17px;
  font-weight: 900;
  text-align: center;

  outline: none;
  box-shadow: none;
}

.epp-booking #epp-players-value:focus {
  border-color: rgba(37, 99, 235, 0.5);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.epp-booking .epp-players-input-wrap span {
  font-size: 15px;
  font-weight: 700;
  color: #334155;
  white-space: nowrap;
  line-height: 1;
}

/* מובייל */
@media (max-width: 767px) {
  .epp-booking .epp-players-control {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }

  .epp-booking .epp-players-input-wrap {
    min-width: 132px;
    min-height: 42px;
    padding: 5px 8px;
  }

  .epp-booking #epp-players-value {
    width: 48px;
    min-width: 48px;
    min-height: 32px;
    font-size: 16px;
  }

  .epp-booking .epp-players-input-wrap span {
    font-size: 14px;
  }
}

/* מובייל צר מאוד */
@media (max-width: 390px) {
  .epp-booking .epp-players-control {
    grid-template-columns: 1fr;
  }

  .epp-booking .epp-players-input-wrap {
    justify-self: flex-start;
  }
}

/* ==========================================================
   FILTER LABELS - TITLE STYLE
========================================================== */

.epp-booking .epp-filter > label,
.epp-booking .epp-time-range-title,
.epp-booking .epp-filter--time-range > label,
.epp-booking .epp-filter--players > label,
.epp-booking .epp-filter--multi-select > label,
.epp-booking .epp-filter--checkbox-dropdown > label,
.epp-booking .epp-filter--birthday-room > label {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  width: fit-content !important;
  max-width: 100%;

  margin: 0 0 0px auto !important;
  padding: 4px 0 2px !important;

  color: #111827 !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  text-align: center !important;

  border-bottom: 1px solid #d6a623 !important;
}

.epp-booking .epp-filter--time-range > label {
  border-bottom: none !important;
}

/* אם יש לייבלים פנימיים כמו משעה / עד שעה — שיהיו קצת קטנים יותר */
.epp-booking .epp-filter--time-range > label {
  font-size: 14px !important;
  font-weight: 400 !important;
  margin: 0 0 8px !important;
  padding-bottom: 4px !important;
  border-bottom-width: 1.5px !important;
}

/* במובייל */
@media (max-width: 767px) {
  .epp-booking .epp-filter > label,
  .epp-booking .epp-time-range-title,
  .epp-booking .epp-filter--players > label,
  .epp-booking .epp-filter--multi-select > label,
  .epp-booking .epp-filter--checkbox-dropdown > label,
  .epp-booking .epp-filter--birthday-room > label {
    font-size: 20px !important;
    margin-bottom: 12px !important;
  }

  .epp-booking .epp-filter--time-range > label {
    font-size: 15px !important;
  }
}

/* ==========================================================
   CITY / CATEGORY CHIPS - SELECTED STATE FIX
========================================================== */

.epp-booking .epp-chip {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  min-height: 30px !important;
  padding: 6px 16px !important;

  border-radius: 999px !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;

  background: #ffffff !important;
  color: #1e3a8a !important;

  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1 !important;

  cursor: pointer !important;
  box-shadow: none !important;
  transform: none !important;
  outline: none !important;

  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease !important;
}

/* הובר בלבד */
.epp-booking .epp-chip:hover {
  background: rgba(37, 99, 235, 0.06) !important;
  border-color: rgba(37, 99, 235, 0.45) !important;
  color: #2563eb !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.06) !important;
  transform: none !important;
}

/* מצב נבחר אמיתי */
.epp-booking .epp-chip.active,
.epp-booking .epp-chip.is-active,
.epp-booking .epp-chip.is-selected,
.epp-booking button.epp-chip.active,
.epp-booking button.epp-chip.is-active,
.epp-booking button.epp-chip.is-selected {
  background: #2563eb !important;
  border-color: #2563eb !important;
  color: #ffffff !important;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.18) !important;
}

/* שגם בהובר על נבחר זה יישאר כחול */
.epp-booking .epp-chip.active:hover,
.epp-booking .epp-chip.is-active:hover,
.epp-booking .epp-chip.is-selected:hover,
.epp-booking button.epp-chip.active:hover,
.epp-booking button.epp-chip.is-active:hover,
.epp-booking button.epp-chip.is-selected:hover {
  background: #1d4ed8 !important;
  border-color: #1d4ed8 !important;
  color: #ffffff !important;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.22) !important;
}
/* ==========================================================
   ROOM DETAILS ACTIONS + CONTENT MODAL
========================================================== */

.epp-booking .epp-details__desc-wrap {
  margin: 0 0 18px;
}

.epp-booking .epp-details__desc {
  margin: 0;
  color: #334155;
  font-size: 14px;
  line-height: 1.85;
}

.epp-booking .epp-details__link {
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #2563eb;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.epp-booking .epp-details__link:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.epp-booking .epp-details__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.epp-booking .epp-btn-secondary {
  min-height: 46px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 14px;

  border-radius: 14px;
  border: 1px solid rgba(37, 99, 235, 0.18);

  background: rgba(37, 99, 235, 0.07);
  color: #1d4ed8;

  font-size: 14px;
  font-weight: 800;
  text-decoration: none;

  cursor: pointer;

  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease;
}

.epp-booking .epp-btn-secondary:hover {
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.38);
  color: #1d4ed8;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.12);
}

/* Modal */
.epp-content-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 999999;
  direction: rtl;
}

.epp-content-modal.is-open {
  display: block;
}

.epp-content-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(6px);
}

.epp-content-modal__dialog {
  position: relative;
  width: min(920px, calc(100% - 28px));
  max-height: 88vh;
  margin: 6vh auto 0;

  overflow: hidden;

  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.28);
}

.epp-content-modal__close {
  position: absolute;
  top: 14px;
  left: 14px;

  width: 42px;
  height: 42px;

  border: 1px solid #e5e7eb;
  border-radius: 14px;

  background: #ffffff;
  color: #0f172a;

  font-size: 24px;
  line-height: 1;
  cursor: pointer;

  z-index: 2;
}

.epp-content-modal__head {
  padding: 24px 26px 14px;
  border-bottom: 1px solid #e5e7eb;
}

.epp-content-modal__head h3 {
  margin: 0;
  padding-left: 52px;

  color: #0f172a;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.15;
}

.epp-content-modal__body {
  max-height: calc(88vh - 86px);
  overflow-y: auto;
  padding: 22px 26px 26px;
}

/* Full description */
.epp-room-info-modal__image {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  display: block;

  margin-bottom: 18px;

  border-radius: 20px;
}

.epp-room-info-modal__text {
  color: #334155;
  font-size: 15px;
  line-height: 1.9;
}

.epp-room-info-modal__text p {
  margin: 0 0 14px;
}

/* Gallery */
.epp-gallery-modal {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.epp-gallery-modal__item {
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: #f1f5f9;
  aspect-ratio: 4 / 3;
}

.epp-gallery-modal__item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;

  transition: transform 0.25s ease;
}

.epp-gallery-modal__item:hover img {
  transform: scale(1.04);
}

@media (max-width: 767px) {
  .epp-booking .epp-details__actions {
    grid-template-columns: 1fr;
  }

  .epp-content-modal__dialog {
    width: calc(100% - 20px);
    margin-top: 3vh;
    border-radius: 22px;
  }

  .epp-content-modal__head {
    padding: 20px 18px 12px;
  }

  .epp-content-modal__head h3 {
    font-size: 22px;
    padding-left: 46px;
  }

  .epp-content-modal__body {
    padding: 18px;
  }

  .epp-gallery-modal {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ==========================================================
   ROOMS GRID PAGE
========================================================== */

.epp-rooms-grid-page {
  direction: rtl;
}

.epp-rooms-grid-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  padding: 22px;
  margin-bottom: 18px;
}

.epp-rooms-grid-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  padding: 14px 18px;
  margin-bottom: 18px;

  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.epp-rooms-grid-summary strong {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}

.epp-grid-clear {
  min-height: 38px;
  padding: 8px 14px;

  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.18);

  background: rgba(37, 99, 235, 0.07);
  color: #1d4ed8;

  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.epp-grid-clear:hover {
  background: rgba(37, 99, 235, 0.12);
}

.epp-rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.epp-room-grid-card {
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(219, 227, 239, 0.9);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);

  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.epp-room-grid-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.1);
}

.epp-room-grid-card[hidden] {
  display: none !important;
}

.epp-room-grid-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #dde9ff, #eef4ff);
}

.epp-room-grid-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;

  transition: transform 0.25s ease;
}

.epp-room-grid-card:hover .epp-room-grid-card__media img {
  transform: scale(1.04);
}

.epp-room-grid-card__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;

  color: #3f5c84;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.epp-room-grid-card__badges {
  position: absolute;
  top: 12px;
  right: 12px;
  left: 12px;

  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.epp-room-grid-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;

  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;

  font-size: 12px;
  font-weight: 900;

  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.epp-room-grid-badge--bookable {
  background: #2563eb;
  color: #ffffff;
}

.epp-room-grid-badge--info {
  background: #f8fafc;
  color: #64748b;
}

.epp-room-grid-card__body {
  padding: 18px;
}

.epp-room-grid-card__body h3 {
  margin: 0 0 8px;

  color: #0f172a;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.15;
}

.epp-room-grid-card__city {
  margin: 0 0 12px;
  color: #64748b;
  font-size: 14px;
  font-weight: 700;
}

.epp-room-grid-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.epp-room-grid-card__chips span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;

  border-radius: 999px;
  border: 1px solid #dbe3ef;
  background: #f8fafc;
  color: #334155;

  font-size: 12px;
  font-weight: 800;
}

.epp-room-grid-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;

  margin-bottom: 14px;
}

.epp-room-grid-card__meta span {
  color: #1e3a8a;
  font-size: 13px;
  font-weight: 800;
}

.epp-room-grid-card__desc {
  margin: 0 0 16px;

  color: #334155;
  font-size: 14px;
  line-height: 1.8;
}

.epp-room-grid-card__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.epp-grid-empty {
  margin-top: 18px;
}

/* התאמה למובייל */
@media (max-width: 1100px) {
  .epp-rooms-grid-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .epp-rooms-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .epp-rooms-grid-filters {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 16px;
  }

  .epp-rooms-grid-summary {
    flex-direction: column;
    align-items: stretch;
  }

  .epp-grid-clear {
    width: 100%;
  }

  .epp-rooms-grid {
    grid-template-columns: 1fr;
  }

  .epp-room-grid-card__body {
    padding: 16px;
  }

  .epp-room-grid-card__body h3 {
    font-size: 22px;
  }

  .epp-room-grid-card__actions {
    grid-template-columns: 1fr;
  }
}
/* ==========================================================
   DATE BAR - ALWAYS VISIBLE + STICKY
========================================================== */

.epp-booking .epp-date-section {
  display: block !important;
  width: 100% !important;
  position: relative !important;
  z-index: 200 !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
  overflow: visible !important;
}

.epp-booking .epp-date-sticky {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;

  position: sticky !important;
  top: 120px !important;
  z-index: 9 !important;

  width: 100% !important;
  margin: 0 !important;
  padding: 12px 16px !important;

  border-radius: 18px !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;

  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(14px) !important;

  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08) !important;

  transform: none !important;
  pointer-events: auto !important;
}

body.admin-bar .epp-booking .epp-date-sticky {
  top: 152px !important;
}

.epp-booking .epp-date-content {
  width: 100% !important;

  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 16px !important;
}

.epp-booking .epp-date-main {
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.epp-booking .epp-date-label {
  display: block !important;
  color: #64748b !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

.epp-booking #epp-selected-date-text {
  display: block !important;
  color: #0f172a !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
}

.epp-booking .epp-date-results {
  min-width: 0 !important;
  text-align: center !important;
}

.epp-booking #epp-results-count {
  display: block !important;
  color: #334155 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;

  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.epp-booking #epp-inline-status {
  display: block !important;
  margin-top: 3px !important;
  min-height: 18px !important;

  color: #64748b !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
}

.epp-booking #epp-change-date {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  min-height: 38px !important;
  padding: 8px 14px !important;

  border: none !important;
  border-radius: 12px !important;

  background: #2563eb !important;
  color: #ffffff !important;

  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1 !important;

  cursor: pointer !important;
  transform: none !important;
}

.epp-booking #epp-change-date:hover {
  background: #1d4ed8 !important;
  transform: none !important;
}

/* מובייל */
@media (max-width: 767px) {
  .epp-booking .epp-date-section {
    margin-bottom: 12px !important;
  }

  .epp-booking .epp-date-sticky {
    top: 120px !important;
    padding: 10px 12px !important;
    border-radius: 16px !important;
  }

  body.admin-bar .epp-booking .epp-date-sticky {
    top: 75px !important;
  }

  .epp-booking .epp-date-content {
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 10px !important;
  }

  .epp-booking .epp-date-main {
    grid-column: 1 / 2 !important;
  }

  .epp-booking #epp-change-date {
    grid-column: 2 / 3 !important;
    min-height: 36px !important;
    padding: 7px 12px !important;
    font-size: 12px !important;
  }

  .epp-booking .epp-date-results {
    grid-column: 1 / -1 !important;
    text-align: right !important;
  }

  .epp-booking #epp-results-count {
    white-space: normal !important;
    font-size: 13px !important;
  }

  .epp-booking #epp-selected-date-text {
    font-size: 15px !important;
  }
}
/* התאריך יושב בעמודת התוצאות */
.epp-booking .epp-date-placeholder {
  grid-column: 1 / -1 !important;
  grid-row: 1 !important;
  width: 100% !important;
  min-height: 66px !important;
  display: block !important;
}

/* ==========================================================
   CITY GROUPS - FINAL UI
   count inside button + separate expand arrow
========================================================== */

.epp-booking .epp-filter--cities {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.epp-booking .epp-city-groups {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.epp-booking .epp-city-group {
  width: 100%;
}

.epp-booking .epp-city-group-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 8px;
  align-items: stretch;
  width: 100%;
}

/* הכפתור הראשי של האזור */
.epp-booking .epp-city-region-btn {
  width: 100%;
  min-height: 44px;

  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;

  padding: 12px 14px;

  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.14);

  background: #ffffff;
  color: #0f172a;

  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  text-align: right;

  cursor: pointer;
  box-sizing: border-box;

  transition:
    border-color 0.18s ease,
    background-color 0.18s ease,
    box-shadow 0.18s ease,
    color 0.18s ease;
}

.epp-booking .epp-city-region-btn:hover {
  background: rgba(37, 99, 235, 0.06);
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

/* checkbox מדומה */
.epp-booking .epp-city-region-check {
  flex: 0 0 auto;

  width: 19px;
  height: 19px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 5px;
  border: 1.5px solid rgba(15, 23, 42, 0.24);
  background: #ffffff;
}

.epp-booking .epp-city-region-text {
  min-width: 0;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

/* המונה בתוך הכפתור */
.epp-booking .epp-city-region-selected {
  margin-inline-start: auto;
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  white-space: nowrap;
}

/* מצב נבחר */
.epp-booking .epp-city-region-btn.is-selected {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.45);
  color: #1d4ed8;
}

.epp-booking .epp-city-region-btn.is-selected .epp-city-region-check {
  background: #2563eb;
  border-color: #2563eb;
}

.epp-booking .epp-city-region-btn.is-selected .epp-city-region-check::after {
  content: '✓';
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

/* מצב חלקי */
.epp-booking .epp-city-region-btn.is-partial {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.45);
}

.epp-booking .epp-city-region-btn.is-partial .epp-city-region-check {
  background: #2563eb;
  border-color: #2563eb;
}

.epp-booking .epp-city-region-btn.is-partial .epp-city-region-check::after {
  content: '–';
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

/* כפתור פתיחה חץ */
.epp-booking .epp-city-expand-btn {
  width: 44px;
  min-height: 44px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.14);

  background: #ffffff;
  color: #2563eb;

  cursor: pointer;

  transition:
    border-color 0.18s ease,
    background-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.epp-booking .epp-city-expand-btn:hover {
  background: rgba(37, 99, 235, 0.06);
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.epp-booking .epp-city-expand-icon {
  font-size: 18px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.epp-booking .epp-city-group.is-open .epp-city-expand-icon {
  transform: rotate(180deg);
}

/* הדרופדאון */
.epp-booking .epp-city-dropdown {
  width: 100%;
  margin-top: 8px;
  padding: 8px;

  display: flex;
  flex-direction: column;
  gap: 6px;

  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.12);

  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);

  max-height: 240px;
  overflow-y: auto;
  overflow-x: hidden;

  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.epp-booking .epp-city-dropdown[hidden] {
  display: none !important;
}

/* עיר בודדת */
.epp-booking .epp-city-option {
  width: 100%;
  min-height: 42px;

  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;

  padding: 10px 12px;

  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);

  background: #ffffff;
  color: #0f172a;

  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-align: right;

  cursor: pointer;
  box-sizing: border-box;

  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

.epp-booking .epp-city-option:hover {
  background: rgba(37, 99, 235, 0.06);
  border-color: rgba(37, 99, 235, 0.35);
  color: #2563eb;
}

.epp-booking .epp-city-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.epp-booking .epp-city-option::before {
  content: '';

  flex: 0 0 auto;

  width: 19px;
  height: 19px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 5px;
  border: 1.5px solid rgba(15, 23, 42, 0.24);

  background: #ffffff;
}

.epp-booking .epp-city-option.is-selected {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.45);
  color: #1d4ed8;
}

.epp-booking .epp-city-option.is-selected::before {
  content: '✓';
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

@media (max-width: 767px) {
  .epp-booking .epp-city-group-head {
    grid-template-columns: minmax(0, 1fr) 42px;
    gap: 8px;
  }

  .epp-booking .epp-city-region-btn {
    min-height: 44px;
    padding: 10px;
    border-radius: 12px;
    font-size: 14px;
  }

  .epp-booking .epp-city-expand-btn {
    min-height: 44px;
    border-radius: 12px;
  }

  .epp-booking .epp-city-dropdown {
    max-height: 220px;
  }

  .epp-booking .epp-city-option {
    min-height: 42px;
    font-size: 14px;
    padding: 9px 10px;
  }
}
.epp-booking {
  overflow: visible !important;
}

.epp-date-placeholder {
  display: contents !important;
}

@media (max-width: 1100px) and (min-width: 768px) {
  .epp-details {
    position: sticky !important;
    top: 120px !important;
  }
}

/* ==========================================================
   ALL DROPDOWN ARROWS - CLEAN CSS ICON
   Cities / Time / Multi / Checkbox
========================================================== */

.epp-booking .epp-city-expand-btn,
.epp-booking .epp-time-toggle,
.epp-booking .epp-multi-toggle,
.epp-booking .epp-checkbox-toggle {
  overflow: visible !important;
}

/* איפוס כללי לכל החצים */
.epp-booking .epp-city-expand-icon,
.epp-booking .epp-time-toggle-arrow,
.epp-booking .epp-multi-toggle-arrow,
.epp-booking .epp-checkbox-toggle-arrow {
  flex: 0 0 auto !important;

  width: 9px !important;
  height: 9px !important;

  display: inline-block !important;

  margin-inline-start: 8px !important;

  border: 0 !important;
  border-left: 2px solid #2563eb !important;
  border-bottom: 2px solid #2563eb !important;

  background: transparent !important;

  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;

  transform: rotate(-45deg) !important;
  transform-origin: center !important;

  transition: transform 0.2s ease !important;
}

/* כפתור החץ של הערים - שיהיה ממורכז */
.epp-booking .epp-city-expand-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
}

.epp-booking .epp-city-expand-btn .epp-city-expand-icon {
  margin: 0 !important;
}

/* מצב פתוח - החץ עולה */
.epp-booking .epp-city-group.is-open .epp-city-expand-icon,
.epp-booking .epp-time-toggle.is-open .epp-time-toggle-arrow,
.epp-booking .epp-multi-toggle.is-open .epp-multi-toggle-arrow,
.epp-booking .epp-checkbox-toggle.is-open .epp-checkbox-toggle-arrow {
  transform: rotate(135deg) !important;
}

/* ביטול הגדרות ישנות שעלולות להפריע */
.epp-booking .epp-city-expand-icon::before,
.epp-booking .epp-city-expand-icon::after,
.epp-booking .epp-time-toggle-arrow::before,
.epp-booking .epp-time-toggle-arrow::after,
.epp-booking .epp-multi-toggle-arrow::before,
.epp-booking .epp-multi-toggle-arrow::after,
.epp-booking .epp-checkbox-toggle-arrow::before,
.epp-booking .epp-checkbox-toggle-arrow::after {
  content: none !important;
}

/* ==========================================================
   MOBILE DATE BAR - COMPACT
========================================================== */

@media (max-width: 767px) {
  .epp-booking .epp-date-sticky {
    padding: 8px 10px !important;
    border-radius: 14px !important;
  }

  .epp-booking .epp-date-content {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 6px 8px !important;
    align-items: center !important;
  }

  .epp-booking .epp-date-main {
    min-width: 0 !important;
  }

  .epp-booking .epp-date-label {
    font-size: 11px !important;
    margin-bottom: 2px !important;
  }

  .epp-booking #epp-selected-date-text {
    font-size: 14px !important;
    line-height: 1.15 !important;
  }

  .epp-booking .epp-date-results {
    position: static !important;
    transform: none !important;
    max-width: 100% !important;
    width: 100% !important;
    grid-column: 1 / -1 !important;
    text-align: right !important;
    white-space: normal !important;
    margin-top: 2px !important;
  }

  .epp-booking #epp-results-count {
    font-size: 12px !important;
    line-height: 1.3 !important;
    white-space: normal !important;
  }

  .epp-booking #epp-change-date {
    min-height: 34px !important;
    padding: 6px 10px !important;
    font-size: 11px !important;
    border-radius: 10px !important;
  }
}

/* ==========================================================
   ROOM DETAILS DRAWER - DESKTOP
========================================================== */

@media (min-width: 768px) {
  .epp-booking .epp-details-drawer-toggle {
    display: none !important;
  }
}

/* ==========================================================
   ROOM DETAILS DRAWER - MOBILE
========================================================== */

@media (max-width: 767px) {
  body {
    padding-bottom: 110px !important;
  }

  .epp-booking {
    padding-bottom: 120px !important;
  }

  .epp-booking .epp-booking__layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
  }

  .epp-booking .epp-results-column {
    order: 1 !important;
    width: 100% !important;
  }

  .epp-booking .epp-details {
    position: fixed !important;
    right: 10px !important;
    left: 10px !important;
    bottom: 10px !important;
    top: auto !important;

    width: auto !important;
    max-width: none !important;
    max-height: none !important;

    z-index: 999999 !important;

    border-radius: 22px !important;
    background: #fff !important;
    box-shadow: 0 -14px 42px rgba(15, 23, 42, 0.18) !important;
    overflow: hidden !important;

    /* מצב סגור - מציץ מלמטה */
    transform: translate3d(0, calc(100% - 88px), 0) !important;
    transition:
      transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.25s ease !important;

    will-change: transform !important;
  }

  /* פתוח */
  body.epp-mobile-details-open .epp-booking .epp-details {
    transform: translate3d(0, 0, 0) !important;
    box-shadow: 0 -18px 52px rgba(15, 23, 42, 0.24) !important;
  }

  .epp-booking .epp-details .epp-card__head {
    min-height: 88px !important;
    padding: 14px 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    cursor: pointer !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
    background: #fff !important;
  }

  .epp-booking .epp-details-head-copy {
    min-width: 0 !important;
    flex: 1 !important;
  }

  .epp-booking .epp-details .epp-card__head h3 {
    margin: 0 0 4px !important;
    font-size: 18px !important;
    line-height: 1.15 !important;
  }

  .epp-booking .epp-details-head-sub {
    margin: 0 !important;
    color: #64748b !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
  }

  .epp-booking .epp-details-drawer-toggle {
    width: 42px !important;
    height: 28px !important;
    flex: 0 0 auto !important;

    display: none !important; /* יופיע רק אחרי שיש בחירה */
    align-items: center !important;
    justify-content: center !important;

    border: 0 !important;
    border-radius: 999px !important;
    background: rgba(15, 23, 42, 0.08) !important;
    cursor: pointer !important;
  }

  body.epp-mobile-details-has-selection
    .epp-booking
    .epp-details-drawer-toggle {
    display: inline-flex !important;
  }

  .epp-booking .epp-details-drawer-toggle span {
    width: 28px !important;
    height: 4px !important;
    display: block !important;
    border-radius: 999px !important;
    background: rgba(15, 23, 42, 0.35) !important;
    transition: transform 0.25s ease !important;
  }

  body.epp-mobile-details-open .epp-booking .epp-details-drawer-toggle span {
    transform: rotate(180deg) !important;
  }

  .epp-booking .epp-details .epp-card__body {
    max-height: calc(82vh - 88px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 14px 16px 18px !important;
  }

  /* מצב ריק */
  .epp-booking .epp-details__empty {
    min-height: 120px !important;
    padding: 18px !important;
    border-radius: 16px !important;
  }

  .epp-booking .epp-details__empty h4,
  .epp-booking .epp-details__empty strong {
    font-size: 17px !important;
  }

  .epp-booking .epp-details__empty p {
    font-size: 13px !important;
    line-height: 1.55 !important;
    margin: 6px 0 0 !important;
  }

  /* כשהמגירה סגורה ואין בחירה - נשמור אותה קומפקטית */
  body:not(.epp-mobile-details-has-selection)
    .epp-booking
    .epp-details
    .epp-card__body {
    max-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    overflow: hidden !important;
  }
}

/* ==========================================================
   MOBILE DETAILS DRAWER - CLEAN HEADER + FLOATING TOGGLE
========================================================== */

@media (max-width: 767px) {
  .epp-booking .epp-details {
    position: fixed !important;
    right: 10px !important;
    left: 10px !important;
    bottom: 10px !important;
    top: auto !important;

    width: auto !important;
    max-width: none !important;
    max-height: none !important;

    z-index: 999999 !important;

    border-radius: 22px !important;
    background: #fff !important;
    box-shadow: 0 -14px 42px rgba(15, 23, 42, 0.18) !important;
    overflow: visible !important;

    /* סגור - רק מציץ */
    transform: translate3d(0, calc(100% - 74px), 0) !important;
    transition:
      transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.25s ease !important;
  }

  body.epp-mobile-details-open .epp-booking .epp-details {
    transform: translate3d(0, 0, 0) !important;
    box-shadow: 0 -18px 52px rgba(15, 23, 42, 0.24) !important;
  }

  .epp-booking .epp-details .epp-card__head {
    min-height: 74px !important;
    padding: 18px 18px 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
    background: #fff !important;
    border-radius: 22px 22px 0 0 !important;
  }

  .epp-booking .epp-details-head-copy {
    width: 100% !important;
    text-align: center !important;
  }

  .epp-booking .epp-details-mobile-title {
    margin: 0 !important;
    width: 100% !important;
    text-align: center !important;
    font-size: 22px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
    color: #0f172a !important;
  }

  /* אם נשאר טקסט ישן */
  .epp-booking .epp-details .epp-card__head p,
  .epp-booking .epp-details-head-sub {
    display: none !important;
  }

  /* הכפתור מחוץ לתיבה */
  .epp-booking .epp-details-drawer-toggle {
    position: absolute !important;
    top: -14px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;

    width: 56px !important;
    height: 28px !important;

    display: none !important;
    align-items: center !important;
    justify-content: center !important;

    border: 0 !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12) !important;
    cursor: pointer !important;
    z-index: 3 !important;
  }

  /* יופיע רק כשיש בחירה והמגירה פתוחה */
  body.epp-mobile-details-open.epp-mobile-details-has-selection
    .epp-booking
    .epp-details-drawer-toggle {
    display: inline-flex !important;
  }

  .epp-booking .epp-details-drawer-toggle span {
    width: 24px !important;
    height: 4px !important;
    display: block !important;
    border-radius: 999px !important;
    background: rgba(15, 23, 42, 0.35) !important;
  }

  .epp-booking .epp-details .epp-card__body {
    max-height: calc(82vh - 74px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 14px 16px 18px !important;
  }

  /* מצב ריק: כשאין בחירה, לשמור קומפקטי */
  body:not(.epp-mobile-details-has-selection)
    .epp-booking
    .epp-details
    .epp-card__body {
    max-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    overflow: hidden !important;
  }

  .epp-booking .epp-details__empty {
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }
}
/* ==========================================================
   ROOM SLOT CARDS - CLEAN WHITE BLOCKS
========================================================== */

/* רקע לבן לכל אזור התוצאות */
.epp-booking .epp-results-shell,
.epp-booking .epp-time-group,
.epp-booking .epp-time-group__list {
  background: #ffffff !important;
  overflow: visible !important;
}

/* ריווח בין כרטיסים */
.epp-booking .epp-time-group__list {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  padding: 14px !important;
}

/* הכרטיס עצמו */
.epp-booking .epp-slot-card {
  position: relative !important;
  overflow: hidden !important;

  background: #ffffff !important;
  border: 1px solid transparent !important;
  border-radius: 18px !important;

  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05) !important;
  margin: 0 !important;

  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease,
    background-color 0.18s ease !important;
}

/* מבטל before/after קודמים אם נשארו */
.epp-booking .epp-slot-card::before,
.epp-booking .epp-slot-card::after {
  display: none !important;
  content: none !important;
}

/* hover */
.epp-booking .epp-slot-card:hover {
  background: #ffffff !important;
  border-color: rgba(37, 99, 235, 0.16) !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08) !important;
  transform: translateY(-1px) !important;
}

/* כרטיס נבחר */
.epp-booking .epp-slot-card.is-active {
  background: #ffffff !important;
  border-color: rgba(37, 99, 235, 0.28) !important;
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.1) !important;
}

/* מובייל */
@media (max-width: 767px) {
  .epp-booking .epp-time-group__list {
    gap: 10px !important;
    padding: 12px !important;
  }

  .epp-booking .epp-slot-card {
    border-radius: 16px !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05) !important;
  }

  .epp-booking .epp-slot-card:hover {
    transform: none !important;
  }
}

/* ==========================================================
   SLOT CARD INTERNAL META LAYOUT
========================================================== */

.epp-booking .epp-slot-card__main {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  justify-content: center !important;
  gap: 7px !important;
  min-width: 0 !important;
  text-align: right !important;
}

.epp-booking .epp-slot-card__title {
  margin: 0 !important;
  text-align: right !important;
  font-size: 20px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  color: #0f172a !important;
}

.epp-booking .epp-slot-card__meta {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}

.epp-booking .epp-slot-card__meta--top {
  margin-top: 0 !important;
}

.epp-booking .epp-meta-pill {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  min-height: 24px !important;
  padding: 4px 10px !important;

  border-radius: 999px !important;
  border: 1px solid rgba(148, 163, 184, 0.35) !important;
  background: #ffffff !important;

  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 600 !important;
  color: #64748b !important;
}

.epp-booking .epp-slot-card__location {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: wrap !important;
  gap: 5px !important;

  font-size: 13px !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
  color: #64748b !important;
  text-align: right !important;
}

.epp-booking .epp-location-separator {
  color: #94a3b8 !important;
}

/* ==========================================================
   ROOM INFO MODAL CONTENT
========================================================== */

.epp-room-info-modal {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.epp-room-info-modal__image {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}

.epp-room-info-modal__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.epp-room-info-modal__meta span {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #dbe3ef;
  background: #f8fafc;
  color: #64748b;
  font-size: 14px;
  font-weight: 700;
}

.epp-room-info-modal__meta strong {
  display: block;
  margin-top: 5px;
  color: #0f172a;
  font-size: 16px;
  font-weight: 900;
}

.epp-room-info-modal__section {
  padding-top: 2px;
}

.epp-room-info-modal__section h4 {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: 18px;
  font-weight: 900;
}

.epp-room-info-modal__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.epp-room-info-modal__chips span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #dbe3ef;
  background: #ffffff;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

.epp-room-info-modal__text {
  color: #334155;
  font-size: 15px;
  line-height: 1.9;
}

.epp-room-info-modal__text p {
  margin: 0 0 14px;
}

.epp-room-info-modal__site {
  width: fit-content;
}

@media (max-width: 767px) {
  .epp-room-info-modal__meta {
    grid-template-columns: 1fr;
  }

  .epp-room-info-modal__site {
    width: 100%;
  }
}

/* שורת עיר - כתובת מתחת לצ׳יפים */
.epp-booking .epp-slot-card__location {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 5px !important;
  margin-top: 6px !important;

  font-size: 13px !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
  color: #64748b !important;
}

.epp-booking .epp-location-separator {
  color: #94a3b8 !important;
}

/* עיר + כתובת צמוד לימין */
.epp-booking .epp-slot-card__main {
  direction: rtl !important;
  text-align: right !important;
}

.epp-booking .epp-slot-card__meta,
.epp-booking .epp-slot-card__location {
  direction: rtl !important;
  justify-content: flex-start !important;
  text-align: right !important;
}

/* שורת עיר - כתובת */
.epp-booking .epp-slot-card__location {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 5px !important;
  margin-top: 6px !important;

  font-size: 13px !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
  color: #64748b !important;
}

/* אייקון PIN כחול עדין */
.epp-booking .epp-location-pin {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 15px !important;
  height: 15px !important;
  color: #60a5fa !important;
  flex: 0 0 auto !important;
}

.epp-booking .epp-location-pin svg {
  display: block !important;
  fill: currentColor !important;
}

.epp-booking .epp-location-separator {
  color: #94a3b8 !important;
}

/* להצמיד את שם החדר, הצ׳יפים והעיר לימין */
.epp-booking .epp-slot-card__main {
  direction: rtl !important;
  text-align: right !important;
  align-items: flex-start !important;
}

/* שם החדר */
.epp-booking .epp-slot-card__title {
  width: 100% !important;
  text-align: right !important;
}

/* שורת קטגוריות / דרגת קושי */
.epp-booking .epp-slot-card__meta {
  width: 100% !important;
  direction: rtl !important;
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  flex-wrap: wrap !important;
}

/* שורת עיר - כתובת */
.epp-booking .epp-slot-card__location {
  width: 100% !important;
  direction: rtl !important;
  text-align: right !important;
  justify-content: flex-start !important;
}
/* אייקון דרגת קושי בתוך הצ׳יפ */
.epp-booking .epp-meta-pill--difficulty {
  gap: 5px !important;
}

.epp-booking .epp-difficulty-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 14px !important;
  height: 14px !important;

  color: #f59e0b !important;
  flex: 0 0 auto !important;
}

.epp-booking .epp-difficulty-icon svg {
  display: block !important;
  fill: currentColor !important;
}

/* תוספת CSS למודל בלבד - משתמשת בשפה של הסינון הקיים */
.epp-booking-modal-form {
  gap: 18px;
}

.epp-booking-modal-section {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  padding: 16px;
}

.epp-booking-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.epp-booking-section-head strong {
  display: block;
  font-size: 18px;
  font-weight: 900;
  color: #0f172a;
}

.epp-booking-section-kicker,
.epp-booking-capacity {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #eaf2ff;
  color: #2563eb;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 10px;
}

.epp-booking-players-filter {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.epp-booking-price-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  border-radius: 20px;
  padding: 18px;
}

.epp-booking-price-card span,
.epp-booking-price-card small {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.epp-booking-price-card strong {
  display: block;
  font-size: 28px;
  font-weight: 950;
  white-space: nowrap;
}

.epp-booking-price-card small {
  display: block;
  font-size: 12px;
  margin-top: 4px;
}

.epp-booking-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.epp-booking-fields-grid label {
  display: block;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 8px;
  color: #0f172a;
}

.epp-booking-terms {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}

.epp-booking-terms input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.epp-payment-frame-shell {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
}

.epp-payment-frame-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: #f8fafc;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.epp-payment-frame-placeholder {
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 24px;
  text-align: center;
  color: #64748b;
  font-weight: 800;
}

#epp-payment-iframe {
  width: 100%;
  min-height: 520px;
  border: 0;
}

@media (max-width: 720px) {
  .epp-booking-fields-grid {
    grid-template-columns: 1fr;
  }

  .epp-booking-price-card {
    align-items: flex-start;
    flex-direction: column;
  }
}
.epp-booking-modal-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.epp-booking-step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.epp-booking-top-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.epp-booking-card {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 16px;
  min-height: 128px;
}

.epp-booking-card__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 900;
  color: #111827;
}

.epp-booking-card__label small {
  font-size: 12px;
  font-weight: 800;
  color: #64748b;
}

.epp-booking-selected-slot {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
}

.epp-booking-selected-slot strong {
  font-size: 18px;
  font-weight: 950;
  color: #111827;
  line-height: 1.3;
}

.epp-booking-selected-slot span {
  font-size: 14px;
  font-weight: 700;
  color: #64748b;
  line-height: 1.5;
}

.epp-booking-players-control {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

/* יורש את עיצוב הסינון הקיים */
.epp-booking-players-control .epp-players-control {
  width: 100%;
}

.epp-booking-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #111827;
  color: #fff;
  border-radius: 18px;
  padding: 18px 20px;
}

.epp-booking-price-row span {
  display: block;
  font-size: 15px;
  font-weight: 900;
  color: #fff;
}

.epp-booking-price-row small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.68);
}

.epp-booking-price-row strong {
  font-size: 30px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
  color: #fff;
}

.epp-booking-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.epp-booking-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 900;
  color: #111827;
}

.epp-booking-field input {
  width: 100%;
}

.epp-booking-terms {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 800;
  color: #111827;
  cursor: pointer;
}

.epp-booking-terms input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.epp-booking-actions {
  display: flex;
}

.epp-booking-actions .epp-modal__submit {
  width: 100%;
}

.epp-payment-frame-shell {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
}

.epp-payment-frame-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  background: #f8fafc;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.epp-payment-frame-head strong {
  font-size: 16px;
  font-weight: 950;
  color: #111827;
}

.epp-payment-frame-head span {
  font-size: 13px;
  font-weight: 800;
  color: #64748b;
}

.epp-payment-frame-placeholder {
  display: grid;
  place-items: center;
  min-height: 280px;
  padding: 28px;
  text-align: center;
  color: #64748b;
  font-weight: 800;
}

#epp-payment-iframe {
  width: 100%;
  min-height: 540px;
  border: 0;
}

@media (max-width: 720px) {
  .epp-booking-top-grid,
  .epp-booking-fields-grid {
    grid-template-columns: 1fr;
  }

  .epp-booking-card {
    min-height: auto;
  }

  .epp-booking-price-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .epp-booking-price-row strong {
    font-size: 28px;
  }
}

/* =========================
   Booking Modal Layout
========================= */

.epp-booking-modal-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.epp-booking-step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* חלק עליון - גריד 2 */
.epp-booking-top-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

/* כרטיסים כמו הסינון */
.epp-booking-card {
  background: #ffffff;
  border: 1px solid #dbe3ef;
  border-radius: 16px;
  padding: 16px;
  min-height: 124px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.epp-booking-card__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 900;
  color: #111827;
}

.epp-booking-card__label small {
  font-size: 12px;
  font-weight: 800;
  color: #64748b;
}

/* חדר נבחר */
.epp-booking-selected-slot {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
}

.epp-booking-selected-slot strong {
  font-size: 18px;
  font-weight: 950;
  color: #111827;
  line-height: 1.3;
}

.epp-booking-selected-slot span {
  font-size: 14px;
  font-weight: 700;
  color: #64748b;
  line-height: 1.5;
}

/* משתתפים - יורש מהסינון */
.epp-booking-players-control {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.epp-booking-players-control .epp-players-control {
  width: 100%;
  gap: 12px;
}

.epp-booking-players-control .epp-players-input-wrap {
  background: #ffffff;
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

/* =========================
   Price Row - עדין יותר
========================= */

.epp-booking-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #f8fafc;
  border: 1px solid #dbe3ef;
  color: #111827;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.epp-booking-price-row span {
  display: block;
  font-size: 15px;
  font-weight: 900;
  color: #111827;
}

.epp-booking-price-row small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
}

.epp-booking-price-row strong {
  font-size: 28px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
  color: #3347e8;
}

/* =========================
   Fields
========================= */

.epp-booking-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.epp-booking-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 900;
  color: #111827;
}

.epp-booking-field input {
  width: 100%;
  height: 50px;
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  background: #ffffff;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  outline: none;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.epp-booking-field input:focus {
  border-color: #3347e8;
  box-shadow: 0 0 0 4px rgba(51, 71, 232, 0.12);
}

/* =========================
   Terms
========================= */

.epp-booking-terms {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
  color: #111827;
  cursor: pointer;
}

.epp-booking-terms input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  accent-color: #3347e8;
}

/* =========================
   Submit
========================= */

.epp-booking-actions {
  display: flex;
}

.epp-booking-actions .epp-modal__submit {
  width: 100%;
  min-height: 54px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 950;
  box-shadow: 0 12px 28px rgba(51, 71, 232, 0.22);
}

.epp-booking-actions .epp-modal__submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

/* =========================
   Payment Step
========================= */

.epp-payment-frame-shell {
  border: 1px solid #dbe3ef;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.epp-payment-frame-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  background: #f8fafc;
  border-bottom: 1px solid #dbe3ef;
}

.epp-payment-frame-head strong {
  font-size: 16px;
  font-weight: 950;
  color: #111827;
}

.epp-payment-frame-head span {
  font-size: 13px;
  font-weight: 800;
  color: #64748b;
}

.epp-payment-frame-placeholder {
  display: grid;
  place-items: center;
  min-height: 280px;
  padding: 28px;
  text-align: center;
  color: #64748b;
  font-weight: 800;
  background: #ffffff;
}

#epp-payment-iframe {
  width: 100%;
  min-height: 540px;
  border: 0;
}

/* =========================
   Responsive
========================= */

@media (max-width: 720px) {
  .epp-booking-top-grid,
  .epp-booking-fields-grid {
    grid-template-columns: 1fr;
  }

  .epp-booking-card {
    min-height: auto;
  }

  .epp-booking-price-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .epp-booking-price-row strong {
    font-size: 28px;
  }
}
.epp-booking-players-control input[type='range'] {
  width: 100%;
  accent-color: #6f7f32;
}

.epp-booking-players-control input[type='number'] {
  text-align: center;
  font-weight: 900;
}
/* ==========================================================
   BOOKING MODAL PLAYERS - EXACT SAME UI AS FILTER PLAYERS
   Uses modal IDs but copies the existing filter design
========================================================== */

.epp-booking .epp-booking-players-control {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.epp-booking .epp-booking-players-control .epp-players-control {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 14px !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* Slider - same as #epp-players-range */
.epp-booking #epp-booking-players-range {
  -webkit-appearance: none !important;
  appearance: none !important;

  width: 100% !important;
  height: 20px !important;
  min-height: 20px !important;

  border: 0 !important;
  outline: none !important;
  border-radius: 999px !important;

  cursor: pointer !important;

  background: linear-gradient(
    to left,
    #2563eb 0%,
    #2563eb 35%,
    #dbe3ef 35%,
    #dbe3ef 100%
  ) !important;

  transition: 0.2s ease !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Chrome / Edge / Safari track */
.epp-booking #epp-booking-players-range::-webkit-slider-runnable-track {
  height: 20px !important;
  border-radius: 999px !important;
  background: transparent !important;
}

/* Chrome / Edge / Safari thumb */
.epp-booking #epp-booking-players-range::-webkit-slider-thumb {
  -webkit-appearance: none !important;
  appearance: none !important;

  width: 16px !important;
  height: 16px !important;

  margin-top: 2px !important;

  border-radius: 50% !important;
  border: 3px solid #ffffff !important;
  background: #2563eb !important;

  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.24) !important;
  cursor: pointer !important;
}

/* Firefox track */
.epp-booking #epp-booking-players-range::-moz-range-track {
  height: 20px !important;
  border-radius: 999px !important;
  background: #dbe3ef !important;
}

/* Firefox progress */
.epp-booking #epp-booking-players-range::-moz-range-progress {
  height: 20px !important;
  border-radius: 999px !important;
  background: #2563eb !important;
}

/* Firefox thumb */
.epp-booking #epp-booking-players-range::-moz-range-thumb {
  width: 16px !important;
  height: 16px !important;

  border: 3px solid #ffffff !important;
  border-radius: 50% !important;
  background: #2563eb !important;

  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.24) !important;
  cursor: pointer !important;
}

/* Number input wrapper - same as filter */
.epp-booking .epp-booking-players-control .epp-players-input-wrap {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;

  min-width: 156px !important;
  min-height: 46px !important;

  padding: 6px 10px !important;

  border-radius: 14px !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  background: #ffffff !important;

  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04) !important;

  white-space: nowrap !important;
}

/* Number input - same as #epp-players-value */
.epp-booking #epp-booking-players {
  width: 58px !important;
  min-width: 58px !important;
  min-height: 34px !important;
  height: 34px !important;

  padding: 0 8px !important;
  margin: 0 !important;

  border: 1px solid rgba(37, 99, 235, 0.18) !important;
  border-radius: 10px !important;
  background: #f8fbff !important;

  color: #2563eb !important;
  font-size: 17px !important;
  font-weight: 900 !important;
  text-align: center !important;

  outline: none !important;
  box-shadow: none !important;
}

.epp-booking #epp-booking-players:focus {
  border-color: rgba(37, 99, 235, 0.5) !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08) !important;
}

.epp-booking .epp-booking-players-control .epp-players-input-wrap span {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #334155 !important;
  white-space: nowrap !important;
  line-height: 1 !important;
}

/* Mobile - same behavior as filter */
@media (max-width: 767px) {
  .epp-booking .epp-booking-players-control .epp-players-control {
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 10px !important;
  }

  .epp-booking .epp-booking-players-control .epp-players-input-wrap {
    min-width: 132px !important;
    min-height: 42px !important;
    padding: 5px 8px !important;
  }

  .epp-booking #epp-booking-players {
    width: 48px !important;
    min-width: 48px !important;
    min-height: 32px !important;
    height: 32px !important;
    font-size: 16px !important;
  }

  .epp-booking .epp-booking-players-control .epp-players-input-wrap span {
    font-size: 14px !important;
  }
}

@media (max-width: 390px) {
  .epp-booking .epp-booking-players-control .epp-players-control {
    grid-template-columns: 1fr !important;
  }

  .epp-booking .epp-booking-players-control .epp-players-input-wrap {
    justify-self: flex-start !important;
  }
}
/* ==========================================================
   BOOKING MODAL PRICE / DEPOSIT BREAKDOWN
========================================================== */

.epp-booking-price-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 16px !important;
  align-items: center !important;

  background: #f8fafc !important;
  border: 1px solid #dbe3ef !important;
  color: #111827 !important;
  border-radius: 16px !important;
  padding: 18px !important;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04) !important;
}

.epp-booking-price-main span {
  display: block !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  color: #111827 !important;
}

.epp-booking-price-main small {
  display: block !important;
  margin-top: 5px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #64748b !important;
  line-height: 1.45 !important;
}

#epp-booking-deposit-text {
  font-size: 32px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  color: #2563eb !important;
}

.epp-booking-price-breakdown {
  grid-column: 1 / -1 !important;

  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;

  padding-top: 14px !important;
  margin-top: 2px !important;
  border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
}

.epp-booking-price-breakdown > div {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;

  min-height: 44px !important;
  padding: 10px 12px !important;

  border-radius: 12px !important;
  background: #ffffff !important;
  border: 1px solid rgba(219, 227, 239, 0.9) !important;
}

.epp-booking-price-breakdown span {
  font-size: 12px !important;
  font-weight: 800 !important;
  color: #64748b !important;
}

.epp-booking-price-breakdown strong {
  font-size: 15px !important;
  font-weight: 950 !important;
  color: #0f172a !important;
  white-space: nowrap !important;
}

@media (max-width: 720px) {
  .epp-booking-price-row {
    grid-template-columns: 1fr !important;
  }

  #epp-booking-deposit-text {
    font-size: 30px !important;
  }

  .epp-booking-price-breakdown {
    grid-template-columns: 1fr !important;
  }
}
/* ==========================================================
   BOOKING AVAILABILITY SUCCESS
========================================================== */

.epp-booking-availability-status {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;

  margin-top: 4px !important;
  padding: 16px 18px !important;

  border-radius: 16px !important;
  border: 1px solid rgba(34, 197, 94, 0.28) !important;
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%) !important;

  color: #14532d !important;
  box-shadow: 0 12px 28px rgba(34, 197, 94, 0.12) !important;

  opacity: 0 !important;
  transform: translateY(8px) scale(0.98) !important;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease !important;
}

.epp-booking-availability-status.is-visible {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}

.epp-booking-availability-status__icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;

  border-radius: 50% !important;
  background: #22c55e !important;
  color: #ffffff !important;

  font-size: 22px !important;
  font-weight: 900 !important;
  line-height: 1 !important;

  box-shadow: 0 8px 18px rgba(34, 197, 94, 0.28) !important;
}

.epp-booking-availability-status strong {
  display: block !important;
  font-size: 16px !important;
  font-weight: 950 !important;
  color: #14532d !important;
  line-height: 1.25 !important;
}

.epp-booking-availability-status span {
  display: block !important;
  margin-top: 3px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #166534 !important;
  line-height: 1.45 !important;
}

.epp-booking-payment-step {
  opacity: 1;
}

.epp-booking-payment-step[hidden] {
  display: none !important;
}
.epp-payment-actions {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;

  padding: 16px 18px 18px !important;
  border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
  background: #ffffff !important;
}

.epp-payment-actions .epp-booking-back-button {
  min-width: 150px !important;
}
/* Force booking steps visibility */
#epp-booking-details-step[hidden],
#epp-booking-payment-step[hidden],
#epp-booking-availability-status[hidden] {
  display: none !important;
}
/* ==========================================================
   PAYMENT BACK BUTTON + STEP ANIMATIONS
========================================================== */

.epp-payment-actions {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;

  padding: 18px 20px 20px !important;
  border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
  background: #ffffff !important;
}

.epp-payment-actions .epp-booking-back-button {
  position: relative !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;

  min-width: 170px !important;
  min-height: 44px !important;
  padding: 11px 18px !important;

  border-radius: 999px !important;
  border: 1px solid rgba(37, 99, 235, 0.18) !important;
  background: #f8fbff !important;
  color: #2563eb !important;

  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1 !important;

  cursor: pointer !important;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.08) !important;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease !important;
}

.epp-payment-actions .epp-booking-back-button::before {
  content: '→' !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  transform: translateY(-1px) !important;
}

.epp-payment-actions .epp-booking-back-button:hover {
  background: #eef5ff !important;
  border-color: rgba(37, 99, 235, 0.34) !important;
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.14) !important;
  transform: translateY(-1px) !important;
}

.epp-payment-actions .epp-booking-back-button:active {
  transform: translateY(0) scale(0.98) !important;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.1) !important;
}

/* Step enter animations */

#epp-booking-availability-status:not([hidden]) {
  animation: eppAvailabilityEnter 0.45s ease both !important;
}

#epp-booking-payment-step:not([hidden]) {
  animation: eppPaymentEnter 0.5s ease both !important;
}

#epp-booking-details-step:not([hidden]) {
  animation: eppDetailsReturn 0.38s ease both !important;
}

@keyframes eppAvailabilityEnter {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes eppPaymentEnter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes eppDetailsReturn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================
   CLOSE BUTTON STYLE - BOOKING + ROOM DETAILS
========================================================== */

.epp-modal__close,
.epp-room-details__close,
.epp-details-modal__close,
button[data-epp-close-modal],
button[data-epp-close-details] {
  position: relative !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;

  border-radius: 999px !important;
  border: 1px solid rgba(37, 99, 235, 0.18) !important;
  background: #f8fbff !important;
  color: #2563eb !important;

  font-size: 24px !important;
  font-weight: 700 !important;
  line-height: 1 !important;

  cursor: pointer !important;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.08) !important;

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease !important;
}

.epp-modal__close:hover,
.epp-room-details__close:hover,
.epp-details-modal__close:hover,
button[data-epp-close-modal]:hover,
button[data-epp-close-details]:hover {
  background: #eef5ff !important;
  border-color: rgba(37, 99, 235, 0.34) !important;
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.14) !important;
  transform: translateY(-1px) !important;
}

.epp-modal__close:active,
.epp-room-details__close:active,
.epp-details-modal__close:active,
button[data-epp-close-modal]:active,
button[data-epp-close-details]:active {
  transform: translateY(0) scale(0.96) !important;
}

/* מובייל - מיקום נוח של ה-X */
@media (max-width: 767px) {
  .epp-modal__top {
    position: sticky !important;
    top: 0 !important;
    z-index: 20 !important;
    background: #ffffff !important;
  }

  .epp-modal__close,
  .epp-room-details__close,
  .epp-details-modal__close,
  button[data-epp-close-modal],
  button[data-epp-close-details] {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    font-size: 22px !important;
  }
}
/* ==========================================================
   MOBILE ROOM DETAILS DRAWER - SWIPE DOWN READY
========================================================== */

@media (max-width: 767px) {
  body.epp-mobile-details-open {
    overflow: hidden;
  }

  .epp-booking .epp-details {
    position: fixed;
    right: 10px;
    left: 10px;
    bottom: 10px;
    top: auto;
    z-index: 99999;
    width: auto;
    max-width: none;
    max-height: calc(100dvh - 20px);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 -14px 42px rgba(15, 23, 42, 0.18);
    overflow: hidden;
    transform: translate3d(0, calc(100% - 74px), 0);
    transition:
      transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.25s ease;
    touch-action: pan-y;
  }

  body.epp-mobile-details-open .epp-booking .epp-details {
    transform: translate3d(0, 0, 0);
    box-shadow: 0 -18px 52px rgba(15, 23, 42, 0.24);
  }

  .epp-booking .epp-details.is-dragging {
    transition: none;
  }

  .epp-booking .epp-details .epp-card__head {
    min-height: 74px;
    padding: 18px 18px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    background: #ffffff;
    border-radius: 22px 22px 0 0;
    cursor: grab;
    touch-action: pan-y;
  }

  .epp-booking .epp-details .epp-card__body {
    max-height: calc(100dvh - 94px);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 14px 16px 18px;
    touch-action: pan-y;
  }

  body:not(.epp-mobile-details-has-selection)
    .epp-booking
    .epp-details
    .epp-card__body {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
  }

  .epp-booking .epp-details-drawer-toggle {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 28px;
    display: none;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
    cursor: pointer;
    z-index: 3;
  }

  body.epp-mobile-details-open.epp-mobile-details-has-selection
    .epp-booking
    .epp-details-drawer-toggle {
    display: inline-flex;
  }

  .epp-booking .epp-details-drawer-toggle span {
    width: 24px;
    height: 4px;
    display: block;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.35);
  }
}

/* ==========================================================
   FINAL FIX - MOBILE DRAWER + SCROLLABLE MODALS
========================================================== */

@media (max-width: 767px) {
  html.epp-modal-open,
  body.epp-modal-open {
    overflow: hidden !important;
  }

  body.epp-mobile-details-open:not(.epp-modal-open) {
    overflow: hidden !important;
  }

  #epp-booking-modal.is-open,
  #epp-content-modal.is-open,
  .epp-modal.is-open,
  .epp-content-modal.is-open {
    position: fixed !important;
    inset: 0 !important;
    display: block !important;
    width: 100vw !important;
    height: 100dvh !important;
    padding: 12px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    z-index: 9999999 !important;
    touch-action: none !important;
  }

  #epp-booking-modal .epp-modal__backdrop,
  .epp-modal.is-open .epp-modal__backdrop,
  #epp-content-modal .epp-content-modal__backdrop,
  .epp-content-modal.is-open .epp-content-modal__backdrop {
    position: fixed !important;
    inset: 0 !important;
    z-index: 1 !important;
  }

  #epp-booking-modal .epp-modal__dialog,
  .epp-modal.is-open .epp-modal__dialog,
  #epp-content-modal .epp-content-modal__dialog,
  .epp-content-modal.is-open .epp-content-modal__dialog {
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: calc(100dvh - 24px) !important;
    margin: 0 auto !important;
    border-radius: 22px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
    touch-action: pan-y !important;
    transform: none !important;
  }

  #epp-booking-modal .epp-modal__content,
  .epp-modal.is-open .epp-modal__content,
  #epp-content-modal .epp-content-modal__body,
  .epp-content-modal.is-open .epp-content-modal__body {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-y !important;
  }

  .epp-modal__top {
    position: sticky !important;
    top: 0 !important;
    z-index: 20 !important;
    background: #ffffff !important;
    border-bottom: 1px solid #dbe3ef !important;
  }

  .epp-booking .epp-details.is-dragging {
    transition: none !important;
  }
}
