.booking-page {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(221, 207, 197, 0.72), rgba(251, 248, 243, 1) 36%),
    radial-gradient(circle at 82% 8%, rgba(201, 132, 124, 0.15), transparent 28%);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
}

.booking-shell {
  display: grid;
  place-items: start center;
  min-height: calc(100vh - 64px);
  padding: clamp(12px, 4vw, 38px);
}

.booking-card {
  position: relative;
  width: min(100%, 620px);
  min-height: calc(100vh - clamp(24px, 8vw, 76px));
  overflow: hidden;
  overflow-anchor: none;
  border: 1px solid rgba(25, 21, 19, 0.08);
  border-radius: 24px;
  background: rgba(255, 253, 250, 0.96);
  box-shadow: 0 28px 80px rgba(30, 22, 18, 0.14);
}

.booking-topbar {
  position: sticky;
  top: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 88px;
  padding: 16px 22px 10px;
  background: rgba(255, 253, 250, 0.9);
  backdrop-filter: blur(18px);
}

.booking-back {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(25, 21, 19, 0.1);
  border-radius: 50%;
  background: #fffdfa;
  box-shadow: 0 10px 24px rgba(30, 22, 18, 0.08);
}

.booking-back img,
.booking-category-toggle img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: brightness(0);
  opacity: 1;
}

.booking-category-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: calc(100% - 44px);
  min-height: 42px;
  margin: 4px 22px 10px;
  border: 1px solid rgba(25, 21, 19, 0.1);
  border-radius: 14px;
  color: var(--ink);
  background: rgba(255, 253, 250, 0.92);
  box-shadow: 0 10px 24px rgba(30, 22, 18, 0.06);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.booking-category-toggle img {
  width: 18px;
  height: 18px;
}

.booking-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.booking-brand > img {
  width: 56px;
  height: 56px;
  padding: 6px;
  border: 1px solid rgba(39, 28, 25, 0.1);
  border-radius: 18px;
  background: #fffaf2;
  box-shadow: 0 8px 20px rgba(39, 28, 25, 0.08);
  object-fit: contain;
  object-position: center;
}

.booking-brand strong {
  display: block;
  overflow: hidden;
  margin-bottom: 3px;
  font-size: clamp(1rem, 5vw, 1.32rem);
  font-weight: 900;
  line-height: 1.05;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.booking-brand span {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.booking-category-menu {
  position: sticky;
  top: 0;
  z-index: 2;
  display: none;
  border-top: 1px solid rgba(25, 21, 19, 0.08);
  border-bottom: 1px solid rgba(25, 21, 19, 0.08);
  background: rgba(255, 253, 250, 0.97);
  box-shadow: 0 16px 35px rgba(30, 22, 18, 0.08);
}

.booking-category-menu.is-open {
  display: grid;
  animation: bookingMenuIn 180ms ease both;
}

@keyframes bookingMenuIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.booking-category-option {
  min-height: 48px;
  border: 0;
  border-bottom: 1px solid rgba(25, 21, 19, 0.07);
  padding: 0 24px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 850;
  text-align: left;
}

.booking-category-option:last-child {
  border-bottom: 0;
}

.booking-category-option.is-active {
  color: var(--wine);
  background: rgba(245, 234, 216, 0.66);
}

.booking-service-list {
  display: grid;
  padding: 10px 24px 34px;
  overflow-anchor: none;
}

.booking-service-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(25, 21, 19, 0.08);
  padding: 15px 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: color 180ms ease, transform 180ms ease;
}

.booking-service-row:hover {
  color: var(--wine);
}

.booking-service-row.is-selected {
  color: var(--ink);
  border-bottom-color: transparent;
}

.booking-next-step {
  display: grid;
  gap: 14px;
  justify-items: stretch;
  overflow: hidden;
  border-bottom: 1px solid rgba(25, 21, 19, 0.08);
  padding: 0 0 16px;
}

.booking-next-step:not(.is-form) {
  justify-items: end;
}

.booking-variety-section {
  display: grid;
  gap: 12px;
  width: 100%;
  border: 1px solid rgba(109, 52, 56, 0.13);
  border-radius: 20px;
  padding: 14px;
  background: linear-gradient(145deg, rgba(255, 253, 250, 0.98), rgba(246, 232, 224, 0.72));
}

.booking-variety-heading {
  display: grid;
  gap: 3px;
}

.booking-variety-heading > span {
  color: var(--wine);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.booking-variety-heading > strong {
  font-size: 1.02rem;
  line-height: 1.25;
}

.booking-variety-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.booking-variety-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.booking-variety-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  min-width: 0;
  border: 1px solid rgba(25, 21, 19, 0.1);
  border-radius: 16px;
  padding: 8px;
  color: var(--ink);
  background: rgba(255, 253, 250, 0.94);
  box-shadow: 0 8px 20px rgba(30, 22, 18, 0.05);
  cursor: pointer;
  text-align: left;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.booking-variety-card:hover,
.booking-variety-card:focus-visible {
  border-color: rgba(109, 52, 56, 0.42);
  box-shadow: 0 12px 28px rgba(72, 39, 38, 0.12);
  transform: translateY(-2px);
}

.booking-variety-card.is-selected {
  border-color: var(--wine);
  background: rgba(249, 235, 228, 0.94);
  box-shadow: 0 0 0 3px rgba(109, 52, 56, 0.1);
}

.booking-variety-card img {
  width: 72px;
  aspect-ratio: 1;
  border-radius: 12px;
  object-fit: cover;
}

.booking-variety-card > span {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.booking-variety-card strong {
  overflow-wrap: anywhere;
  font-size: 0.84rem;
  line-height: 1.3;
}

.booking-variety-card small {
  color: var(--wine);
  font-size: 0.68rem;
  font-weight: 850;
  line-height: 1.35;
}

.booking-next-button {
  min-width: 112px;
  min-height: 38px;
  border: 1px solid rgba(255, 247, 236, 0.74);
  border-radius: 999px;
  color: var(--button-ink);
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.98), rgba(245, 234, 216, 0.92));
  box-shadow: 0 12px 28px rgba(26, 18, 14, 0.12);
  cursor: default;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.booking-field {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.required-star {
  color: #9f4249;
}

.optional-label {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.booking-field input {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(25, 21, 19, 0.12);
  border-radius: 14px;
  padding: 0 12px;
  color: var(--ink);
  background: rgba(255, 253, 250, 0.92);
  font: inherit;
  font-size: 0.95rem;
  letter-spacing: 0;
  outline: none;
  text-transform: none;
}

.booking-field input:focus {
  border-color: rgba(109, 52, 56, 0.4);
  box-shadow: 0 0 0 4px rgba(201, 132, 124, 0.12);
}

.booking-field.is-missing {
  color: #8e2e34;
}

.booking-field.is-missing input {
  border-color: rgba(216, 25, 42, 0.48);
  background: rgba(255, 239, 239, 0.72);
  box-shadow: 0 0 0 4px rgba(216, 25, 42, 0.1);
}

.field-error {
  color: #8e2e34;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.booking-calendar {
  position: relative;
  display: grid;
  gap: 12px;
}

.booking-calendar.is-loading .booking-day-grid,
.booking-slots.is-loading .booking-slot-grid {
  pointer-events: none;
  opacity: 0.42;
}

.booking-loading-overlay {
  position: absolute;
  inset: 54px 0 0;
  z-index: 2;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 253, 250, 0.68);
  backdrop-filter: blur(3px);
}

.booking-loader {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  border: 1px solid rgba(25, 21, 19, 0.08);
  border-radius: 999px;
  padding: 0 14px;
  color: var(--muted);
  background: rgba(255, 253, 250, 0.94);
  box-shadow: 0 12px 28px rgba(30, 22, 18, 0.08);
  font-size: 0.76rem;
  font-weight: 850;
}

.booking-loader img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: brightness(0);
  opacity: 0.76;
  animation: bookingSpin 900ms linear infinite;
}

@keyframes bookingSpin {
  to {
    transform: rotate(360deg);
  }
}

.booking-calendar-head {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  gap: 10px;
}

.booking-calendar-head strong {
  text-align: center;
  font-size: 1.08rem;
  font-weight: 900;
}

.booking-calendar-head button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(25, 21, 19, 0.1);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 253, 250, 0.92);
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
}

.booking-weekdays,
.booking-day-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.booking-weekdays span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
  text-align: center;
}

.booking-day,
.booking-calendar-empty {
  display: grid;
  place-items: center;
  min-height: 38px;
  border: 1px solid rgba(25, 21, 19, 0.1);
  border-radius: 12px;
  background: rgba(255, 253, 250, 0.82);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 850;
}

.booking-day {
  cursor: pointer;
}

.booking-day.is-selected {
  color: #fffdfa;
  border-color: var(--wine);
  background: linear-gradient(135deg, var(--wine), #a56b61);
}

.booking-day:disabled {
  opacity: 0.32;
  cursor: not-allowed;
}

.booking-day.is-unavailable {
  color: rgba(25, 21, 19, 0.38);
  border-color: rgba(25, 21, 19, 0.06);
  background: rgba(25, 21, 19, 0.06);
  opacity: 1;
}

.booking-calendar-empty {
  border-color: transparent;
  background: transparent;
}

.booking-slots {
  display: grid;
  gap: 10px;
}

.booking-slots p,
.booking-message {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.booking-slot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.booking-time-slot {
  min-height: 38px;
  border: 1px solid rgba(25, 21, 19, 0.1);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 253, 250, 0.9);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 850;
}

.booking-time-slot.is-selected {
  color: #fffdfa;
  background: var(--wine);
}

.booking-time-slot:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.booking-contact-form {
  display: grid;
  gap: 12px;
}

.booking-muted,
.booking-error {
  color: var(--muted);
  font-size: 0.86rem;
}

.booking-error {
  color: #8e2e34;
  font-weight: 800;
}

.booking-confirmation {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(25, 21, 19, 0.3);
  backdrop-filter: blur(8px);
}

.booking-confirmation-card {
  display: grid;
  gap: 12px;
  width: min(100%, 360px);
  border: 1px solid rgba(25, 21, 19, 0.08);
  border-radius: 24px;
  padding: 26px;
  background: #fffdfa;
  box-shadow: 0 24px 70px rgba(30, 22, 18, 0.2);
  text-align: center;
  animation: bookingConfirmIn 180ms ease both;
}

.booking-confirmation-card strong {
  font-size: 1.15rem;
  font-weight: 900;
}

.booking-confirmation-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.booking-confirmation-card .booking-next-button {
  justify-self: center;
  margin-top: 6px;
}

@keyframes bookingConfirmIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.booking-service-name {
  min-width: 0;
  font-size: clamp(0.96rem, 4vw, 1.1rem);
  font-weight: 780;
  line-height: 1.25;
}

.booking-service-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  align-items: center;
  color: var(--ink);
  font-size: clamp(0.86rem, 3.5vw, 0.98rem);
  line-height: 1.35;
  white-space: nowrap;
}

.booking-original-price {
  color: #8e2e34;
  font-weight: 650;
  text-decoration-line: line-through;
  text-decoration-color: #d8192a;
  text-decoration-thickness: 2px;
}

.booking-special-price {
  color: #245546;
  font-weight: 900;
}

.booking-dot {
  color: var(--muted);
}

.booking-empty {
  display: grid;
  gap: 8px;
  padding: 48px 0;
  text-align: center;
}

.booking-empty strong {
  font-size: 1.2rem;
}

.booking-empty p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 560px) {
  .booking-shell {
    padding: 0;
  }

  .booking-card {
    width: 100%;
    min-height: calc(100vh - 64px);
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .booking-topbar {
    min-height: 86px;
    padding: 16px 22px 8px;
  }

  .booking-back {
    width: 48px;
    height: 48px;
  }

  .booking-service-list {
    padding: 8px 24px 32px;
  }

  .booking-variety-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .booking-topbar {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    padding-inline: 16px;
  }

  .booking-back {
    width: 44px;
    height: 44px;
  }

  .booking-brand > img {
    width: 52px;
    height: 52px;
  }

  .booking-brand strong {
    font-size: 1.08rem;
  }

  .booking-brand span {
    font-size: 0.82rem;
  }

  .booking-category-toggle {
    width: calc(100% - 32px);
    margin-inline: 16px;
  }

  .booking-service-list {
    padding-inline: 24px;
  }

  .booking-service-row {
    gap: 10px;
  }
}
.booking-service-points {
  display: inline-flex;
  width: max-content;
  margin-top: 4px;
  padding: 4px 9px;
  border-radius: 999px;
  color: #6d3438;
  background: rgba(245, 214, 198, 0.58);
  font-size: 0.68rem;
  font-weight: 800;
}

.booking-loyalty-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(109, 52, 56, 0.14);
  border-radius: 16px;
  background: rgba(255, 250, 242, 0.78);
  color: var(--ink, #191513);
  font-size: 0.88rem;
  font-weight: 800;
}

.booking-loyalty-toggle input {
  width: 18px;
  height: 18px;
  accent-color: #6d3438;
}

.booking-loyalty-note {
  margin: 0;
  color: var(--muted, #6f6460);
  font-size: 0.88rem;
  line-height: 1.45;
}
