:root {
  --accent:         var(--court-green);
  --accent-hover:   #237a3c;
  --accent-light:   rgba(43, 147, 72, 0.22);
  --card-shadow:    0 2px 6px rgba(0,0,0,0.30), 0 0 0 1px rgba(255,255,255,0.04);
  --card-radius:    14px;
  --card-border:    1px solid rgba(255, 255, 255, 0.12);
  --transition:     .18s ease;
}

#booking-page {
  background: var(--bg);
  color: var(--text);
  min-height: 60vh;
}

section {
  border: 2px solid var(--border);
  border-radius: var(--card-radius);
  padding: 5px;
  margin-bottom: 1.2rem;
  opacity: 1;
  transition: opacity 0.3s ease, visibility 0.25s ease;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
section::-webkit-scrollbar {
  display: none;
}
section.section-hidden {
  display: none; /* RED WHA */
  opacity: 0;
  margin: 0;
  padding: 0;
  border: none;
  height: 0;
  visibility: hidden;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -.5px;
  color: var(--text);
  margin-bottom: 12px;
}

#mode-tabs {
  display: flex;
  gap: 8px;
  margin: 20px 0 24px;
}
.mode-tab {
  flex: 1;
  padding: 10px 12px;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  background: var(--bg-3);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.06), 0 2px 2px rgba(70, 130, 200, 0.15);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition:
    border-color var(--transition), color var(--transition),
    background-color var(--transition), box-shadow var(--transition);
}
.mode-tab:hover {
  border-color: #aaa;
  color: #c1edc6;
}
.mode-tab.active {
  background: var(--accent);
  border-color: var(--accent-light);
  box-shadow: 0 2px 2px color-mix(in srgb, var(--accent) 80%, black), 0 1px 2px color-mix(in srgb, var(--accent) 85%, black);
}
.mode-tab.active:hover {
  background: var(--accent-hover);
  color: #ffffff;
}

/* ═══════════════════════════════════════════════════════════════
   БАЗОВАЯ АНИМАЦИЯ СКЕЛЕТОНОВ
   ═══════════════════════════════════════════════════════════════ */
@keyframes shimmer {
  0%   { background-position: 0 0; }
  100% { background-position: 80px 80px; }
}
.is-skeleton::after,
.strip-skeleton,
.mode-tab-skeleton {
  background-color: #ececec;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Ccircle cx='24' cy='28' r='7' fill='none' stroke='%23d1d1d1' stroke-width='1.5'/%3E%3Cline x1='19' y1='33' x2='10' y2='42' stroke='%23d1d1d1' stroke-width='2' stroke-linecap='round'/%3E%3Ccircle cx='64' cy='68' r='7' fill='none' stroke='%23d1d1d1' stroke-width='1.5'/%3E%3Cline x1='59' y1='73' x2='50' y2='82' stroke='%23d1d1d1' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 80px 80px;
  animation: shimmer 3s infinite linear;
}

/* ═══════════════════════════════════════════════════════════════
   СКЕЛЕТОН КАРТОЧЕК (court, coach, group)
   ═══════════════════════════════════════════════════════════════ */
.is-skeleton {
  pointer-events: none;
  cursor: default;
  /*min-height: 220px;*/
}
.is-skeleton > * { opacity: 0; }
.is-skeleton img { visibility: hidden; }
.is-skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.coach-card.is-skeleton { flex: 0; }
.group-card.is-skeleton  { min-height: 160px; }

/* ═══════════════════════════════════════════════════════════════
   СКЕЛЕТОН СЛАЙДЕРА ДАТ
   ═══════════════════════════════════════════════════════════════ */
#day-strip-inner.is-loading > :not([class^="strip-skeleton"]) {
  display: none;
}
#day-strip-inner:not(.is-loading) > [class^="strip-skeleton"] {
  display: none;
}
.strip-skeleton {
  border-radius: 6px;
}
.strip-skeleton--month-wrap {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 7px;
}
.strip-skeleton--month   { width: 100px; height: 17px; }
.strip-skeleton--btn     { width: 36px; height: 36px; border-radius: 10px; margin-top: 7px; }
.strip-skeleton--viewport { border-radius: 18px; width: 416px; height: 80px; }

.strip-skeleton--label-wrap {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
  margin-top: 9px;
}
.strip-skeleton--label   { width: 260px; height: 30px; }

/* ═══════════════════════════════════════════════════════════════
   СКЕЛЕТОН ТАБОВ РЕЖИМОВ
   ═══════════════════════════════════════════════════════════════ */
#mode-tabs.is-loading .mode-tab          { display: none; }
#mode-tabs:not(.is-loading) .mode-tab-skeleton { display: none; }
.mode-tab-skeleton {
  flex: 1;
  height: 41px;
  border-radius: 10px;
}

/* ═══════════════════════════════════════════════════════════════
   DAY STRIP
   ═══════════════════════════════════════════════════════════════ */
#day-strip-wrap {
  margin: 0 auto 1.5rem;
  max-width: 1100px;
  padding: 0 2rem;
}
#day-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0 8px;
  background: var(--surface);
  border-radius: 18px;
  box-shadow: var(--shadow);
  margin-top: 24px;
  padding: 8px 8px 0 8px;
  overflow: hidden;
}
#strip-viewport {
  overflow: hidden;
  margin: 0;
  position: relative;
  height: 80px;
}
#strip-flex {
  display: flex;
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.strip-slide {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 1rem 0.5rem;
}
#strip-month {
  flex: 0 0 100%;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  margin-top: 3px;
  pointer-events: none;
}
.day-label-wrap {
  flex: 0 0 100%;
  position: relative;
  margin-top: 12px;
}
#day-label {
  width: 318px;
  text-align: center;
  color: var(--text);
  font-size: 20px;
  font-weight: 700;
  border: 2px solid var(--accent);
  border-radius: 27px 27px 3px 3px;
  margin-left: auto;
  margin-right: auto;
  padding: 5px 12px;
}
#day-label::first-letter {
  text-transform: uppercase;
}
.day-btn {
  min-width: 52px;
  scroll-snap-align: start;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02), 0 1px 2px rgba(0,0,0,0.03);
  transition: border-color 0.2s, color 0.2s, background 0.2s, box-shadow 0.15s;
}
.day-btn:hover {
  border-color: var(--accent);
  color: var(--text);
  box-shadow: 0 8px 18px -6px rgba(34,197,94,0.35);
}
.day-btn.active {
  background: rgba(34, 197, 94, 0.2);
  border-color: #22c55e;
  color: var(--text);
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.day-btn.active:hover {
  background: rgba(44, 200, 100, 0.25);
}
.day-btn .day-name { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; }
.day-btn .day-num  { font-size: 1.15rem; font-weight: 700; }
.btn-change-week {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02), 0 1px 2px rgba(0,0,0,0.03);
  transition: box-shadow 0.2s, border-color 0.2s, color 0.25s;
  padding: 0;
  margin-top: 7px;
}
.btn-change-week:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--text);
  box-shadow: 0 8px 16px -6px rgba(0,0,0,0.1), 0 4px 8px -4px rgba(0,0,0,0.05);
}
.btn-change-week:disabled {
  background: #151516;
  border-color: #272727;
  color: #6a6a6d;
  box-shadow: none;
  cursor: default;
}

/* ═══════════════════════════════════════════════════════════════
   GRID
   ═══════════════════════════════════════════════════════════════ */
.cards-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  row-gap: 14px;
}

.cards-grid.has-selection {
  justify-content: flex-start;
  row-gap: 0;
}

.cards-grid:not(.has-selection) .court-card-content:hover .court-img-hover,
.cards-grid:not(.has-selection) .coach-card-content:hover .coach-img-hover,
.cards-grid:not(.has-selection) .group-card:hover .group-hover {
  opacity: 1;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.13);
}

/* ═══════════════════════════════════════════════════════════════
   БАЗОВЫЕ КАРТОЧКИ
   ═══════════════════════════════════════════════════════════════ */
.coach-card,
.court-card,
.group-card {
  border-radius: var(--card-radius);
  background: var(--surface);
  box-shadow: var(--card-shadow);
  border: var(--card-border);
  cursor: pointer;
  position: relative;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    flex 0.25s ease,
    margin 0.25s ease,
    padding 0.25s ease,
    box-shadow 0.18s ease;
}
.coach-card { flex-basis: 0; }

.court-card-content {
  width: 230px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.25rem 0.7rem 0.5rem;
}
.coach-card-content {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  max-width: 320px;
  min-width: 260px;
  gap: 0;
  padding: 0;
}

/* ═══════════════════════════════════════════════════════════════
   СОСТОЯНИЯ КАРТОЧЕК
   ═══════════════════════════════════════════════════════════════ */
/* Нет слотов на день — убрать из потока */
.coach-card.is-hidden,
.court-card.is-hidden {
  display: none;
}
/* Слоты заняты или корт недоступен для тренера */
.coach-card.is-unavailable,
.court-card.is-unavailable,
.court-card.is-no-slots {
  opacity: 0.45;
  cursor: default;
  order: 1;
}
.coach-card.is-unavailable:hover,
.court-card.is-unavailable:hover,
.court-card.is-no-slots:hover {
  transform: none;
  box-shadow: var(--shadow);
}
.coach-card.is-dismissed,
.court-card.is-dismissed,
.group-card.is-dismissed {
  opacity: 0;
  width: 0;
  height: 0;
  transform: scale(0.88);
  flex: 0 0 0px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none;
  transition:
    opacity 0.15s ease, width 0.15s ease, height 0.15s ease,
    flex 0.15s ease, margin 0.15s ease, padding 0.15s ease;
}

/* ═══════════════════════════════════════════════════════════════
   КНОПКА "ИЗМЕНИТЬ ВЫБОР"
   ═══════════════════════════════════════════════════════════════ */
.btn-change-coach,
.btn-change-court,
.btn-change-group {
  position: absolute;
  top: 50%;
  left: calc(100% + 10px);
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text-2);
  font-size: 0.875rem;
  cursor: pointer;
  white-space: nowrap;
  z-index: 1;
  transition:
    opacity      0.2s ease,
    transform    0.2s ease,
    border-color 0.15s ease,
    color        0.15s ease;
}
.btn-change-coach::before,
.btn-change-court::before,
.btn-change-group::before {
  content: '←';
}
.btn-change-coach:hover,
.btn-change-court:hover,
.btn-change-group:hover {
  border-color: dimgray;
  color: var(--text);
}
.btn-change-coach.is-dismissed,
.btn-change-court.is-dismissed,
.btn-change-group.is-dismissed {
  display: none;
  transform: translateY(-50%) translateX(-6px);
}

/* ────────────────────────────────────
   COURT CARDS
──────────────────────────────────── */
.court-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 9px;
  background: #e8e8e8;
}
.court-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.court-card:hover .court-img-wrap img {
  transform: scale(1);
}
.coach-img-hover,
.court-img-hover,
.group-hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.38);
  color: #fff;
  font-family: sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  opacity: 0;
  transition: opacity var(--transition);
}
.group-hover { border-radius: 0 0 14px 14px; }

.court-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.court-name {
  text-align: center;
  display: inline-block;
  width: fit-content;
  background-color: rgba(0, 0, 0, 0.04);
  border-radius: 12px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  padding: 4px 12px;
}
.court-price {
  font-size: 14px;
  color: var(--text-2);
}
.court-free-count {
  font-size: 15px;
}
/* пилюля учебного корта */
.court-pill-wrap {
  position: absolute;
  top: 1px;
  left: 10px;
}
.court-pill {
  display: inline-block;
  background: var(--court-training);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 20px;
  cursor: help;
  position: relative;
}
/* tooltip через data-атрибут */
.court-pill::after {
  content: attr(data-tooltip);
  position: absolute;
  opacity: 0;
  width: 189px;
  bottom: calc(100% + 8px);
  left: 0;
  background-color: #333;
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  border-radius: 6px;
  padding: 5px 10px;
  white-space: wrap;
  pointer-events: none;
  transition: opacity var(--transition);
}
.court-pill:hover::after { opacity: 1; }

/* ────────────────────────────────────
   COACH CARDS
──────────────────────────────────── */
.coach-img-wrap {
  position: relative;
  flex: 0 0 100px;
  width: 100px;
  height: auto;
  overflow: hidden;
  border-top-left-radius: var(--card-radius);
  border-bottom-left-radius: var(--card-radius);
}
.coach-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.coach-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 12px;
  gap: 1px;
}
.coach-price {
  position: absolute;
  right: 12px;
  top: 8px;
  font-size: 14px;
}
.coach-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-top: 20px;
}
.coach-bio {
  font-size: 12px;
  color: var(--text-2);
  margin: 0;
}
.coach-courts {
  display: flex;
  position: absolute;
  bottom: 7px;
  right: 12px;
  gap: 6px;
}
.court-bubble {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  cursor: default;
  transition: transform 0.12s ease;
}
.court-bubble:hover {
  transform: scale(1.1);
}
.blue-bubble { background: var(--court-blue); }
.terracotta-bubble { background: var(--court-terracotta); }
.pink-bubble { background: var(--court-pink); }
.green-bubble { background: var(--court-green); }

/* ────────────────────────────────────
   GROUP CARDS
──────────────────────────────────── */
#group-list { row-gap: 17px; }
.group-card {
  flex-basis: 80%;
  display: flex;
  flex-direction: column;
  min-width: 210px;
}
.group-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 7px 14px 5px;
  background-color: #f9f9f9;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
  border-bottom: 1px solid #eee;
}
.group-court  { font-size: 14px; font-weight: bold; color: #ffffff; }
.group-body {
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.group-info {
  display: flex;
  justify-content: space-between;
}
.group-name  { font-size: 19px; font-weight: 600; }
.group-time  { font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.group-meta {
  display: flex;
  justify-content: space-between;
}
.group-coach { font-size: 16px; }
.group-spots { font-size: 14px; color: green; }
.group-footer {
  display: flex;
  position: relative;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-top: 1px solid #eee;
}
.group-price { font-size: 15px; font-weight: 600; }

#group-booking-name {
  display: block;
  background-color: var(--surface);
  border-radius: 14px;
  border: 3px solid var(--accent);
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  padding: 4px;
  margin-left: 28%;
  margin-right: 28%;
  margin-bottom: 12px;
}
.submit-group-info {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 7px 5px 24px;
}
.submit-group-info .pair {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--surface);
  border: 1px solid #b3b3b3;
  border-radius: 12px;
  padding: 9px 24px;
  transition: background-color 0.2s;
}
.submit-group-info .pair:hover {
  background-color: var(--bg-2);
}
.pair .topic {
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.3px;
}
.pair span:last-child {
  text-align: right;
  font-weight: 600;
  font-size: 18px;
}
#group-booking-status {
  min-height: 2.85rem;
  text-align: center;
  font-weight: 600;
  font-size: 18px;
  background-color: var(--surface);
  border: 1px solid #b3b3b3;
  border-radius: 12px;
  padding: 9px 24px;
  transition: background-color 0.2s;
}
#group-booking-status:hover {
  background-color: #f0f2f8;
}

/* ─────────────────────────────────────────
   TIME SLOTS
───────────────────────────────────────── */
#timeslot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 8px;
  margin-bottom: 24px;
}
.timeslot {
  padding: 8px 0;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  user-select: none;
  white-space: pre-wrap;
  font-variant-numeric: proportional-nums;
  background: #ffffff;
  color: #1f2937;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.08s ease;
}
.timeslot:hover:not(.timeslot-taken):not(.selected-start):not(.selected-end):not(.selected-range):not(.timeslot-just-booked) {
  border-color: #9ca3af;
  background: #f9fafb;
}
.timeslot:active:not(.timeslot-taken) {
  transform: scale(0.97);
}
.timeslot:disabled {
  cursor: default;
}
.timeslot.timeslot-taken {
  background: #f3f4f6;
  color: #9ca3af;
  border-color: #e5e7eb;
  text-decoration: line-through;
}
.timeslot.timeslot-just-booked {
  background: var(--slot-court-color, #6b7280);
  color: #ffffff;
  border-color: transparent;
  opacity: 0.9;
}
.timeslot-just-booked:hover {
  cursor: default;
  transform: scale(0.98);
}
.timeslot.selected-start,
.timeslot.selected-end {
  background: var(--accent);
  border-color: #2b9348;
  color: #ffffff;
  z-index: 2;
}
.timeslot.selected-start {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}
.timeslot.selected-end {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.timeslot.selected-range {
  background: #e6f4ea;
  border-color: #c8e6d9;
  color: #1e3a2f;
  box-shadow: inset 0 0 0 1px rgba(43, 147, 72, 0.15);
}
.timeslot.selected-range:hover {
  background: #d0e8db;
  border-color: #a8d5b5;
}
.timeslot.reset-slot {
  background: #f9f9f9;
  border-color: #e0e0e0;
  color: #aaa;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.timeslot.reset-slot svg {
  width: 21px;
  height: 21px;
  display: block;
  transition: transform 0.2s;
}
.timeslot.reset-slot:hover {
  background: #ffebee;
  border-color: #f44336;
  color: #f44336;
  cursor: pointer;
}
.timeslot.reset-slot:hover svg {
  transform: scale(1.2);
}

/* ─────────────────────────────────────────
   EXTRAS SECTION
───────────────────────────────────────── */
#extras-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
  margin-top: 12px;
  margin-bottom: 24px;
}
.extra-item {
  display: flex;
  align-items: center;
  padding: 16px;
  background-color: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.extra-item:hover {
  background-color: #f9fafb;
  border-color: #d1d5db;
}
.extra-item input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin-right: 12px;
  border: 2px solid #9ca3af;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.12s ease;
}
.extra-item input[type="checkbox"]:active {
  transform: scale(0.95);
}
.extra-item input[type="checkbox"]:checked {
  background-color: var(--accent);
  border-color: var(--accent-hover);
}
.extra-item input[type="checkbox"]::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  color: white;
  font-family: math;
  font-size: 14px;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.15s ease, transform 0.15s ease;
  pointer-events: none; /* чтобы не мешать клику */
}
.extra-item input[type="checkbox"]:checked::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.extra-item input[type="checkbox"]:focus-visible {
  outline: 2px solid #000;
  outline-offset: 2px;
}
.extra-item:has(input:checked) {
  background-color: #f3f4f6;
  border-color: var(--accent);
}
.extra-item:has(input:checked) .extra-price {
  color: #000;
  transition: color 0.2s ease;
}
.extra-label {
  flex-grow: 1;
  font-size: 0.95rem;
  font-weight: 400;
  color: #111;
  transition: color 0.2s ease;
}
.extra-price {
  font-size: 0.9rem;
  font-weight: 600;
  color: #6b7280;
  margin-left: 10px;
}

/* ─────────────────────────────────────────
   BOOKING SECTION
───────────────────────────────────────── */
#section-booking { color: #333; }
#booking-summary {
  padding: 16px;
  background-color: #f9fafb;
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.5;
  border-left: 7px solid #e5e7eb;
  margin-bottom: 24px;
}
.btn-submit-booking {
  width: 100%;
  padding: 14px 24px;
  background-color: var(--accent);
  color: var(--text);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s;
}
.btn-submit-booking:hover {
  background-color: var(--accent-hover);
}
.btn-submit-booking:active {
  transform: scale(0.98);
}
#btn-confirm-group {
  background-color: var(--btn-court-color, var(--accent));
}
.btn-confirm-as-text {
  ;
}
.btn-confirm-as-text:hover {
  background-color: var(--btn-court-color, var(--accent));
}
.btn-confirm-as-text:active {
  transform: none;
}

/* miscellaneous */
.error-message {
  margin: 12px 0;
  text-align: center;
  background: var(--surface);
  padding: 12px 25px;
  border-radius: 11px;
}
.status-msg {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 14px;
  color: var(--text);
  padding: 3rem 0;
}
.status-msg.error { color: #ef4444; }
.btn-retry {
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  border: 1.5px solid var(--accent);
  border-radius: 10px;
  padding: 10px 12px;
  margin-left: 12px;
  cursor: pointer;
  transition: backgroung 0.3s;
}
.btn-retry:hover {
  background: var(--accent-light);
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }

  .header-inner .btn-primary { display: none; }
  .site-nav { display: flex; gap: 14px; margin-right: 0; }

  .hero-title { letter-spacing: -.5px; }
  .hero-actions { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }

  .coaches-teaser { grid-template-columns: 1fr; gap: 32px; }
  .location-grid  { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 555px) {
  #strip-month, .strip-skeleton--month-wrap         { order: 1; }
  #strip-viewport, .strip-skeleton--viewport        { order: 2; }
  #btn-prev-week, .strip-skeleton--btn:nth-child(2) { order: 3; }
  .day-label-wrap, .strip-skeleton--label-wrap      { order: 4; flex: 0; }
  #btn-next-week, .strip-skeleton--btn:nth-child(4) { order: 5; }
  #day-label, .strip-skeleton--label                { width: 240px; }
}