/* ========== CALENDAR POPUP ========== */
.booking-calendar-popup {
  position: fixed; bottom: 96px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 950;
  background: #FFFFE3;
  border-radius: 18px;
  padding: 28px 32px 24px;
  box-shadow: 0 24px 64px rgba(34,55,43,0.22), 0 4px 16px rgba(34,55,43,0.08);
  width: min(720px, calc(100vw - 32px));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s cubic-bezier(0.215, 0.61, 0.355, 1),
              transform 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.booking-calendar-popup.open {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}
.cal-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.cal-nav {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(34,55,43,0.15);
  background: transparent; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #22372B; font-size: 18px; line-height: 1;
  transition: all 0.25s ease;
  font-family: 'Jost', sans-serif;
}
.cal-nav:hover {
  background: #22372B; color: #FFFFE3; border-color: #22372B;
}
.cal-title {
  font-family: 'Playfair Display', serif;
  font-size: 14px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #22372B;
  font-weight: 500;
}
.cal-months {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.cal-month-title {
  font-family: 'Playfair Display', serif;
  font-size: 16px; color: #22372B;
  font-weight: 500; text-align: center;
  margin-bottom: 14px;
}
.cal-weekdays {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 2px; margin-bottom: 6px;
}
.cal-weekday {
  font-size: 9px; letter-spacing: 0.16em;
  color: rgba(34,55,43,0.4);
  text-align: center; padding: 6px 0;
  font-weight: 500;
}
.cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.cal-day {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: #22372B;
  font-family: 'Jost', sans-serif;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease;
  position: relative;
}
.cal-day:not(.disabled):not(.selected):hover {
  background: rgba(34,55,43,0.08);
}
.cal-day.disabled {
  color: rgba(34,55,43,0.2);
  cursor: not-allowed;
}
.cal-day.empty { cursor: default; }
.cal-day.selected {
  background: #22372B;
  color: #FFFFE3;
  font-weight: 500;
}
.cal-day.in-range {
  background: rgba(34,55,43,0.1);
  border-radius: 0;
}
.cal-day.range-start {
  background: #22372B;
  color: #FFFFE3;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.cal-day.range-end {
  background: #22372B;
  color: #FFFFE3;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.cal-day.today::after {
  content: '';
  position: absolute; bottom: 3px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 1px;
  background: currentColor;
  border-radius: 1px;
}
.cal-footer {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid rgba(34,55,43,0.1);
}
.cal-clear {
  background: none; border: none; cursor: pointer;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(34,55,43,0.5);
  font-family: 'Jost', sans-serif; font-weight: 500;
  transition: color 0.3s;
}
.cal-clear:hover { color: #22372B; }
.cal-apply {
  background: #22372B; color: #FFFFE3;
  border: none; cursor: pointer;
  padding: 12px 28px; border-radius: 100px;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 500; font-family: 'Jost', sans-serif;
  transition: background 0.3s ease;
}
.cal-apply:hover { background: #1a2b21; }

.booking-calendar-backdrop {
  position: fixed; inset: 0; z-index: 940;
  background: transparent;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.booking-calendar-backdrop.open {
  opacity: 1; pointer-events: all;
}
@media (max-width: 720px) {
  .booking-calendar-popup { padding: 20px 18px 18px; bottom: 84px; }
  .cal-months { grid-template-columns: 1fr; gap: 18px; }
}


