/* ── PAGE LAYOUT ─────────────────────────────── */
.schedule-page {
  min-height: 100vh;
  padding: 140px 0 100px;
}
.schedule-layout {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 80px;
  align-items: start;
}

/* ── LEFT COPY ───────────────────────────────── */
.schedule-copy {}
.schedule-copy .section-label { margin-bottom: 24px; }
.schedule-copy h1 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(56px, 8vw, 110px);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 40px;
}
.schedule-copy h1 em {
  font-style: italic;
  color: var(--accent);
}
.schedule-copy p {
  font-size: 17px;
  color: var(--ink-dim);
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 16px;
}
.schedule-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.schedule-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--ink-dim);
}
.schedule-detail svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  stroke: var(--accent);
}

/* ── BOOKING WIDGET ──────────────────────────── */
.booking-widget {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  position: sticky;
  top: 110px;
}

/* Calendar header */
.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 28px 20px;
}
.cal-month-label {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.cal-month-label span {
  color: var(--accent);
  margin-left: 4px;
}
.cal-nav {
  display: flex;
  gap: 8px;
}
.cal-nav button {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.cal-nav button:hover {
  border-color: var(--accent);
  background: rgba(135,214,141,0.12);
}
.cal-nav button svg { width: 14px; height: 14px; }

/* Calendar grid */
.cal-grid {
  padding: 0 20px 24px;
}
.cal-dow {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 8px;
}
.cal-dow span {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  padding: 6px 0;
}
.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-family: 'Space Grotesk', sans-serif;
  border-radius: 8px;
  cursor: pointer;
  transition: all .18s;
  position: relative;
}
.cal-day.empty { pointer-events: none; }
.cal-day.past,
.cal-day.unavailable {
  color: var(--ink-dim);
  opacity: 0.35;
  pointer-events: none;
}
.cal-day.available {
  background: rgba(135,214,141,0.08);
  color: var(--ink);
  font-weight: 500;
}
.cal-day.available:hover {
  background: rgba(135,214,141,0.2);
  transform: scale(1.06);
}
.cal-day.selected {
  background: var(--accent) !important;
  color: #1c1d21 !important;
  font-weight: 600;
}
.cal-day.today::after {
  content: "";
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
  position: absolute;
  bottom: 4px; left: 50%; transform: translateX(-50%);
}
.cal-day.today.selected::after { background: #1c1d21; }

/* Divider */
.cal-divider {
  height: 1px;
  background: var(--line);
  margin: 0 20px;
}

/* Time slots */
.slots-panel {
  padding: 24px 28px 28px;
}
.slots-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.slots-date-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.slots-date-label span { color: var(--ink-dim); font-weight: 400; margin-left: 4px; }
.time-toggle {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
  padding: 3px;
}
.time-toggle button {
  background: none;
  border: none;
  color: var(--ink-dim);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: all .15s;
}
.time-toggle button.active {
  background: var(--accent);
  color: #1c1d21;
}
.slots-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 340px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.slots-list::-webkit-scrollbar { width: 4px; }
.slots-list::-webkit-scrollbar-track { background: transparent; }
.slots-list::-webkit-scrollbar-thumb { background: var(--line); border-radius: 2px; }

.slot-btn {
  width: 100%;
  padding: 13px 18px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all .18s;
  letter-spacing: 0.01em;
}
.slot-btn:hover {
  border-color: var(--accent);
  background: rgba(135,214,141,0.08);
  color: var(--accent);
  transform: translateX(3px);
}
.slot-btn.booked {
  opacity: 0.3;
  pointer-events: none;
}

/* Empty state */
.slots-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--ink-dim);
  font-size: 14px;
  line-height: 1.6;
}
.slots-empty svg {
  width: 32px; height: 32px;
  stroke: var(--accent);
  margin-bottom: 14px;
  opacity: 0.6;
}

/* Confirmation overlay */
.confirm-overlay {
  display: none;
  padding: 32px 28px;
  text-align: center;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.confirm-overlay.show { display: flex; }
.confirm-check {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(135,214,141,0.15);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(135,214,141,0.3);
}
.confirm-check svg { width: 28px; height: 28px; stroke: var(--accent); }
.confirm-title {
  font-family: 'Anton', sans-serif;
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.confirm-sub {
  font-size: 14px;
  color: var(--ink-dim);
  line-height: 1.6;
}
.confirm-sub strong { color: var(--ink); display: block; margin-bottom: 4px; }
.confirm-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.btn-gcal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--accent);
  color: #1c1d21;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.btn-gcal:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(135,214,141,0.35);
}
.btn-gcal svg { width: 15px; height: 15px; }
.btn-reschedule {
  padding: 12px 22px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-dim);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .2s;
}
.btn-reschedule:hover { border-color: var(--ink); color: var(--ink); }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 1000px) {
  .schedule-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .booking-widget { position: static; max-width: 500px; }
}
@media (max-width: 720px) {
  .booking-widget { max-width: 100%; }
  .cal-day { font-size: 12px; }
}
