﻿/* ============================================================
   Book a Table - v2 "Night in Piazza"
   Dark mood + pink riot. No cream. Mobile-first.
   ============================================================ */

:root {
  --bk-bg:        #1a1c20;
  --bk-bg-2:      #23262d;
  --bk-bg-3:      #2c2e35;
  --bk-line:      rgba(255,255,255,0.10);
  --bk-line-2:    rgba(255,255,255,0.20);
  --bk-ink:       #ffffff;
  --bk-ink-mute:  rgba(255,255,255,0.58);
  --bk-pink:      #faa8b5;
  --bk-pink-deep: #e3869b;
  --bk-pink-soft: #f5c1cd;
  --bk-bordeaux:  #580207;
  --bk-error:     #ff8a8a;
  --bk-success:   #9ff0bc;
}

body.page-id-25 main.wp-block-group,
body.page-id-25 .entry-content {
  margin-bottom: 0 !important;
}

/* ---------- Section shell -------------------------------------- */

.bk {
  background: var(--bk-bg);
  color: var(--bk-ink);
  padding: clamp(40px, 7vw, 96px) clamp(16px, 5vw, 80px)
           calc(env(safe-area-inset-bottom, 0px) + clamp(140px, 14vw, 64px));
  margin-top: 0;
  position: relative;
  overflow: hidden;
}

/* soft pink blush in the top-right corner */
.bk::before {
  content: "";
  position: absolute;
  top: -10vw; right: -10vw;
  width: 60vw; height: 60vw;
  max-width: 720px; max-height: 720px;
  background: radial-gradient(closest-side, rgba(250,168,181,0.22), transparent 70%);
  pointer-events: none;
  filter: blur(20px);
}
.bk::after {
  content: "";
  position: absolute;
  bottom: -8vw; left: -8vw;
  width: 50vw; height: 50vw;
  max-width: 620px; max-height: 620px;
  background: radial-gradient(closest-side, rgba(227,134,155,0.18), transparent 70%);
  pointer-events: none;
  filter: blur(20px);
}

.bk-intro {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto clamp(28px, 4vw, 48px);
  color: var(--bk-ink-mute);
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.55;
}

.bk-intro p {
  max-width: 72ch;
  margin: 0;
}

.bk-intro a {
  color: var(--bk-pink);
  font-weight: 700;
  text-underline-offset: 0.2em;
}

.bk-wrap {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

/* ---------- Header --------------------------------------------- */

.bk-head {
  grid-column: 1 / -1;
  display: grid;
  gap: 14px;
  padding-bottom: clamp(24px, 4vw, 40px);
  margin-bottom: clamp(24px, 4vw, 40px);
  border-bottom: 1px solid var(--bk-line);
}

.bk-eyebrow {
  margin: 0;
  color: var(--bk-pink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.bk-title {
  margin: 0;
  font-weight: 900;
  font-size: clamp(44px, 9vw, 112px);
  letter-spacing: -0.045em;
  line-height: 0.88;
  text-wrap: balance;
}
.bk-title .bk-blush { color: var(--bk-pink); }

.bk-lead {
  margin: 0;
  color: var(--bk-ink-mute);
  font-size: clamp(15px, 1.6vw, 18px);
  max-width: 46ch;
  line-height: 1.45;
}

/* ---------- Card (booking app) --------------------------------- */

.bk-card {
  grid-column: 1 / 2;
  min-width: 0;
  display: grid;
  gap: clamp(28px, 4vw, 48px);
}

/* ---------- Step common ---------------------------------------- */

.bk-step {
  display: grid;
  gap: 16px;
  scroll-margin-top: clamp(20px, 4vw, 40px);
}
.bk-step[hidden] { display: none !important; }

.bk-step__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}

.bk-step__no {
  font-variant-numeric: tabular-nums;
  color: var(--bk-pink);
  font-weight: 900;
  font-size: clamp(14px, 1.6vw, 16px);
  letter-spacing: 0.1em;
  line-height: 1;
  padding: 4px 8px;
  border: 1px solid var(--bk-pink);
  border-radius: 999px;
}

.bk-step__title {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--bk-ink);
}

.bk-step__hint {
  margin: 0;
  color: var(--bk-ink-mute);
  font-size: 0.85rem;
  line-height: 1.45;
}

/* visually-hidden helpers (keep native control accessible to JS) */
.bk-sr-select {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ---------- Chips (PAX + TIME) --------------------------------- */

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

.bk-chip {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  min-height: 48px;
  min-width: 48px;
  padding: 10px 18px;
  border: 1px solid var(--bk-line-2);
  border-radius: 999px;
  background: transparent;
  color: var(--bk-ink);
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.005em;
  line-height: 1;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.bk-chip:hover:not(:disabled):not(.is-selected):not([aria-checked="true"]):not([aria-pressed="true"]) {
  border-color: var(--bk-pink);
  color: var(--bk-pink);
}

.bk-chip.is-selected,
.bk-chip[aria-checked="true"],
.bk-chip[aria-pressed="true"] {
  background: var(--bk-pink);
  border-color: var(--bk-pink);
  color: #2a0a12;
}

.bk-chip:disabled {
  opacity: 0.32;
  cursor: not-allowed;
}

.bk-service-options .bk-chip,
.bk-room-options .bk-chip {
  min-width: min(100%, 128px);
}

.bk-service-options .bk-chip {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  line-height: 1.1;
}

.bk-chip__label {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.bk-chip__special,
.bk-chip__event-date {
  display: block;
  font-size: 0.66rem;
  line-height: 1.1;
}

.bk-chip__special {
  color: var(--bk-pink);
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bk-chip__event-date {
  color: var(--bk-ink-mute);
  font-weight: 650;
  text-transform: capitalize;
}

.bk-chip.is-special-service {
  border-color: rgba(250, 168, 181, 0.72);
  box-shadow: inset 0 0 0 1px rgba(250, 168, 181, 0.08);
}

.bk-chip.is-special-service.is-selected .bk-chip__special,
.bk-chip.is-special-service[aria-checked="true"] .bk-chip__special,
.bk-chip.is-special-service.is-selected .bk-chip__event-date,
.bk-chip.is-special-service[aria-checked="true"] .bk-chip__event-date {
  color: rgba(42, 10, 18, 0.78);
}

/* ---------- Calendar strip ------------------------------------- */

.bk-cal-nav {
  margin-left: auto;
  display: flex;
  gap: 6px;
  align-items: center;
}

.bk-cal-jump {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 16px 0 14px;
  border: 1px solid var(--bk-line-2);
  border-radius: 999px;
  background: var(--bk-surface);
  color: var(--bk-ink);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
  user-select: none;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}
.bk-cal-jump:hover,
.bk-cal-jump:focus-within {
  border-color: var(--bk-pink);
  color: var(--bk-pink);
}
.bk-cal-jump svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.bk-cal-jump input[type="date"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  font: inherit;
  border: 0;
  padding: 0;
  color: transparent;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
}
.bk-cal-jump input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.bk-cal-jump input[type="date"]::-webkit-date-and-time-value {
  text-align: left;
}

.bk-cal-status {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  margin-bottom: 6px;
  border: 1px dashed var(--bk-line-2);
  border-radius: 14px;
  background: rgba(250,168,181,0.06);
  font-size: 0.88rem;
  color: var(--bk-ink);
}
.bk-cal-status.is-visible { display: inline-flex; }
.bk-cal-status::before {
  content: "*";
  color: var(--bk-pink);
  font-size: 1rem;
  line-height: 1;
}
.bk-cal-status b { font-weight: 700; color: var(--bk-pink); }
.bk-cal-status button {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--bk-ink-mute);
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 140ms ease;
}
.bk-cal-status button:hover { color: var(--bk-pink); }

.bk-cal-arrow {
  appearance: none;
  width: 38px; height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--bk-line-2);
  border-radius: 999px;
  background: transparent;
  color: var(--bk-ink);
  font-size: 18px;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}
.bk-cal-arrow:hover {
  border-color: var(--bk-pink);
  color: var(--bk-pink);
}

.bk-cal {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78px;
  gap: 10px;
  padding: 4px 2px 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(250,168,181,0.4) transparent;
  -webkit-overflow-scrolling: touch;
}
.bk-cal::-webkit-scrollbar { height: 6px; }
.bk-cal::-webkit-scrollbar-thumb {
  background: rgba(250,168,181,0.4);
  border-radius: 999px;
}

.booking-day {
  appearance: none;
  cursor: pointer;
  scroll-snap-align: start;
  border: 1px solid var(--bk-line-2);
  border-radius: 18px;
  background: var(--bk-bg-2);
  color: var(--bk-ink);
  min-height: 96px;
  padding: 14px 6px 12px;
  display: grid;
  align-content: center;
  gap: 6px;
  text-align: center;
  font-family: inherit;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.booking-day span {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--bk-ink-mute);
}

.booking-day strong {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-transform: capitalize;
  white-space: nowrap;
}

.booking-day:hover:not(:disabled) {
  border-color: var(--bk-pink);
  transform: translateY(-2px);
}

.booking-day.is-selected {
  background: var(--bk-pink);
  border-color: var(--bk-pink);
  color: #2a0a12;
}
.booking-day.is-selected span { color: rgba(42,10,18,0.7); }

.booking-day.is-unavailable {
  cursor: default;
  opacity: 0.28;
  background: transparent;
}
.booking-day.is-unavailable:hover {
  border-color: var(--bk-line-2);
  transform: none;
}

.booking-day.is-special-day {
  min-height: 108px;
  border-color: rgba(250, 168, 181, 0.72);
  background:
    radial-gradient(circle at 100% 0, rgba(250, 168, 181, 0.24), transparent 52%),
    var(--bk-bg-2);
}

.booking-day.is-special-day small {
  color: var(--bk-pink);
  font-size: 0.55rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.booking-day.is-special-day .booking-day__special {
  display: block;
  max-width: 100%;
  line-height: 1.15;
  overflow-wrap: anywhere;
  white-space: normal;
}

.booking-day.is-special-day.is-selected {
  border-color: var(--bk-pink);
  background: var(--bk-pink);
  color: #2a0a12;
  box-shadow: 0 0 0 2px rgba(250, 168, 181, 0.22);
}

.booking-day.is-special-day.is-selected span,
.booking-day.is-special-day.is-selected small {
  color: rgba(42, 10, 18, 0.78);
}

/* ---------- Special-day request ------------------------------- */

.bk-special-day {
  display: grid;
  gap: clamp(24px, 4vw, 36px);
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(250, 168, 181, 0.46);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0, rgba(250, 168, 181, 0.22), transparent 46%),
    rgba(255, 255, 255, 0.035);
  scroll-margin-top: clamp(20px, 4vw, 40px);
}

.bk-special-day[hidden],
.bk-special-day [hidden] {
  display: none !important;
}

.bk-tips[hidden],
.bk-cta[hidden] {
  display: none !important;
}

.bk-special-day__message {
  display: grid;
  gap: 12px;
}

.bk-special-day__date,
.bk-special-day__required,
.bk-special-day__privacy,
.bk-special-day__status,
.bk-special-day__subtitle,
.bk-special-day__body,
.bk-special-day__success h3,
.bk-special-day__success p {
  margin: 0;
}

.bk-special-day__date {
  color: var(--bk-pink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.bk-special-day__title {
  max-width: 18ch;
  margin: 0;
  color: var(--bk-ink);
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.98;
  text-wrap: balance;
}

.bk-special-day__subtitle {
  max-width: 48ch;
  color: var(--bk-pink-soft);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 700;
  line-height: 1.35;
}

.bk-special-day__body {
  max-width: 66ch;
  color: var(--bk-ink-mute);
  font-size: 1rem;
  line-height: 1.65;
  white-space: pre-line;
}

.bk-special-day__info-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-self: start;
}

.bk-special-day__info {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--bk-pink);
  border-radius: 999px;
  background: transparent;
  color: var(--bk-pink);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.035em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.bk-special-day__info[hidden] {
  display: none !important;
}

.bk-special-day__info:hover {
  background: var(--bk-pink);
  color: #2a0a12;
}

.bk-special-day__info--page::after {
  content: "\2197";
  margin-left: 8px;
  font-size: 0.95em;
}

.bk-special-day__info:focus-visible {
  outline: 2px solid var(--bk-pink);
  outline-offset: 3px;
}

.bk-special-day-info-dialog {
  width: min(720px, calc(100% - 32px));
  max-width: 720px;
  max-height: min(88dvh, 820px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(250, 168, 181, 0.66);
  border-radius: 26px;
  background: #191b20;
  color: var(--bk-ink);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.58);
}

.bk-special-day-info-dialog:not([open]) {
  display: none;
}

.bk-special-day-info-dialog[open] {
  animation: bk-special-day-info-in 180ms ease-out both;
}

.bk-special-day-info-dialog::backdrop {
  background: rgba(8, 9, 12, 0.82);
  backdrop-filter: blur(6px);
}

@keyframes bk-special-day-info-in {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.bk-special-day-info {
  position: relative;
  display: grid;
  gap: 18px;
  padding: clamp(26px, 5vw, 46px);
  background:
    radial-gradient(circle at 100% 0, rgba(250, 168, 181, 0.16), transparent 42%),
    #191b20;
}

.bk-special-day-info__close {
  appearance: none;
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(250, 168, 181, 0.5);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.22);
  color: var(--bk-ink);
  font: inherit;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.bk-special-day-info__eyebrow,
.bk-special-day-info__title,
.bk-special-day-info__content p,
.bk-special-day-info__content h2,
.bk-special-day-info__content h3,
.bk-special-day-info__content blockquote {
  margin: 0;
}

.bk-special-day-info__eyebrow {
  padding-right: 52px;
  color: var(--bk-pink);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.bk-special-day-info__title {
  max-width: 18ch;
  padding-right: 40px;
  color: var(--bk-ink);
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1;
  text-wrap: balance;
  outline: 0;
}

.bk-special-day-info__content {
  display: grid;
  gap: 14px;
  color: var(--bk-ink-mute);
  font-size: 1rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.bk-special-day-info__content h2,
.bk-special-day-info__content h3 {
  color: var(--bk-ink);
  line-height: 1.15;
}

.bk-special-day-info__content ul,
.bk-special-day-info__content ol {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 1.35em;
}

.bk-special-day-info__content blockquote {
  padding-left: 15px;
  border-left: 3px solid var(--bk-pink);
}

.bk-special-day-info__content a {
  color: var(--bk-pink);
  font-weight: 700;
  text-underline-offset: 3px;
}

.bk-special-day-info__content img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-block: 4px;
  border-radius: 16px;
  object-fit: cover;
}

.bk-special-day-info__actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 4px;
}

.bk-special-day-info__actions button {
  appearance: none;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid var(--bk-pink);
  border-radius: 999px;
  background: var(--bk-pink);
  color: #2a0a12;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.bk-special-day-info__close:focus-visible,
.bk-special-day-info__actions button:focus-visible,
.bk-special-day-info__content a:focus-visible {
  outline: 2px solid var(--bk-pink);
  outline-offset: 3px;
}

.bk-special-day__form {
  display: grid;
  gap: 22px;
}

.bk-special-day__required,
.bk-special-day__privacy,
.bk-special-day__status {
  color: var(--bk-ink-mute);
  font-size: 0.82rem;
  line-height: 1.5;
}

.bk-special-day__required span,
.bk-special-day__privacy a {
  color: var(--bk-pink);
}

.bk-special-day__privacy a {
  font-weight: 700;
  text-underline-offset: 3px;
}

.bk-special-day__status:empty {
  display: none;
}

.bk-special-day__status.is-error {
  color: var(--bk-error);
}

.bk-special-day__submit {
  appearance: none;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 13px 22px;
  border: 1px solid var(--bk-pink);
  border-radius: 999px;
  background: var(--bk-pink);
  color: #2a0a12;
  font: inherit;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
  cursor: pointer;
}

.bk-special-day__submit:hover:not(:disabled) {
  border-color: #ffd0d9;
  background: #ffd0d9;
}

.bk-special-day__submit:disabled {
  cursor: wait;
  opacity: 0.58;
}

.bk-special-day__submit:focus-visible,
.bk-special-day__privacy a:focus-visible {
  outline: 2px solid var(--bk-pink);
  outline-offset: 3px;
}

.bk-special-day__success {
  display: grid;
  gap: 16px;
  outline: 0;
}

.bk-special-day__success-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--bk-success);
  border-radius: 50%;
  color: var(--bk-success);
  font-size: 28px;
  line-height: 1;
}

.bk-special-day__success h3 {
  color: var(--bk-ink);
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1;
}

.bk-special-day__success p {
  max-width: 58ch;
  color: var(--bk-ink-mute);
  line-height: 1.6;
}

/* ---------- Time slots ----------------------------------------- */

.bk-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
  gap: 10px;
}

.booking-slot {
  appearance: none;
  cursor: pointer;
  min-height: 52px;
  padding: 10px 8px;
  border: 1px solid var(--bk-line-2);
  border-radius: 14px;
  background: var(--bk-bg-2);
  color: var(--bk-ink);
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.booking-slot:hover:not(:disabled) {
  border-color: var(--bk-pink);
  transform: translateY(-1px);
}

.booking-slot.is-selected {
  background: var(--bk-pink);
  border-color: var(--bk-pink);
  color: #2a0a12;
}

/* ---------- Form ----------------------------------------------- */

.bk-form { gap: 18px; }

.bk-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
}

.bk-input {
  position: relative;
  display: grid;
  gap: 6px;
  min-width: 0;
}

.bk-input > span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bk-ink-mute);
}
.bk-input > span em {
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.85em;
  color: var(--bk-ink-mute);
  opacity: 0.85;
}

.bk-input input,
.bk-input select,
.bk-input textarea {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 14px 0 12px;
  border: 0;
  border-bottom: 1.5px solid var(--bk-line-2);
  border-radius: 0;
  background: transparent;
  color: var(--bk-ink);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.3;
  outline: none;
  transition: border-color 140ms ease, background-color 140ms ease;
}

.bk-input input::placeholder,
.bk-input textarea::placeholder {
  color: rgba(255,255,255,0.28);
}

.bk-input input:focus,
.bk-input select:focus,
.bk-input textarea:focus,
.bk-input input:hover,
.bk-input select:hover,
.bk-input textarea:hover {
  border-bottom-color: var(--bk-pink);
}

.bk-input select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 34px;
  background-image: linear-gradient(45deg, transparent 50%, var(--bk-pink) 50%),
                    linear-gradient(135deg, var(--bk-pink) 50%, transparent 50%);
  background-position: calc(100% - 16px) 50%, calc(100% - 10px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.bk-input select option {
  background: var(--bk-bg-2);
  color: var(--bk-ink);
}

.bk-input textarea {
  resize: vertical;
  min-height: 88px;
  line-height: 1.45;
  padding-top: 12px;
}

.bk-input--wide { grid-column: 1 / -1; }

.bk-input--prefix { max-width: 140px; }
.bk-input--prefix input { font-variant-numeric: tabular-nums; }

/* ---------- Card pre-authorization ----------------------------- */

.bk-preauthorization-notice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(255, 180, 196, 0.34);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 180, 196, 0.14), transparent 48%),
    rgba(255, 255, 255, 0.035);
}

.bk-preauthorization-notice[hidden] { display: none !important; }

.bk-preauthorization-notice__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 180, 196, 0.46);
  border-radius: 50%;
  background: rgba(255, 180, 196, 0.12);
}

.bk-preauthorization-notice__icon::before {
  content: "\2713";
  color: var(--bk-pink);
  font-size: 1.05rem;
  font-weight: 900;
}

.bk-preauthorization-notice__body {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.bk-preauthorization-notice__title,
.bk-preauthorization-notice__copy,
.bk-preauthorization-notice__policy {
  margin: 0;
}

.bk-preauthorization-notice__title {
  color: var(--bk-ink);
  font-size: 0.92rem;
  font-weight: 800;
}

.bk-preauthorization-notice__copy {
  color: var(--bk-ink-mute);
  font-size: 0.82rem;
  line-height: 1.45;
}

.bk-preauthorization-notice__policy {
  margin-top: 3px;
  color: var(--bk-pink-soft);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.45;
}

html.is-booking-payment-open,
html.is-booking-payment-open body,
html.is-booking-confirmation-open,
html.is-booking-confirmation-open body {
  overflow: hidden;
}

.bk-preauthorization-dialog {
  width: min(520px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 26px;
  background: transparent;
  color: #1a1f36;
}

.bk-preauthorization-dialog:not([open]) { display: none; }

.bk-preauthorization-dialog[open] {
  animation: bk-payment-dialog-in 180ms ease-out both;
}

.bk-preauthorization-dialog::backdrop {
  background: rgba(6, 7, 12, 0.82);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
  animation: bk-payment-backdrop-in 160ms ease-out both;
}

@keyframes bk-payment-dialog-in {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes bk-payment-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.bk-preauthorization {
  position: relative;
  display: grid;
  gap: 12px;
  max-height: calc(100dvh - 32px);
  padding: clamp(20px, 4vw, 26px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(99, 91, 255, 0.16);
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0, rgba(99, 91, 255, 0.1), transparent 34%),
    #ffffff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.5);
  color: #1a1f36;
}

.bk-preauthorization__close {
  position: absolute;
  z-index: 1;
  top: 14px;
  right: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  padding: 0 0 2px;
  border: 1px solid #d8dee9;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: #425466;
  cursor: pointer;
  font: inherit;
  font-size: 1.5rem;
  line-height: 1;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.bk-preauthorization__close:hover:not(:disabled) {
  border-color: #aab4c2;
  background: #f6f9fc;
  color: #1a1f36;
}

.bk-preauthorization__close:disabled { cursor: wait; opacity: 0.45; }

.bk-preauthorization__brand-row {
  display: flex;
  min-height: 32px;
  align-items: center;
  justify-content: flex-end;
  padding-right: 42px;
}

.bk-preauthorization__stripe-badge {
  display: inline-flex;
  flex: 0 0 auto;
  border-radius: 6px;
}

.bk-preauthorization__stripe-badge:focus-visible {
  outline: 3px solid rgba(99, 91, 255, 0.28);
  outline-offset: 3px;
}

.bk-preauthorization__stripe-badge img {
  display: block;
  width: 132px;
  height: auto;
}

.bk-preauthorization__head {
  display: grid;
  gap: 4px;
}

.bk-preauthorization__eyebrow,
.bk-preauthorization__head h4,
.bk-preauthorization__amount,
.bk-preauthorization__copy,
.bk-preauthorization__secure,
.bk-preauthorization__message,
.bk-card-errors {
  margin: 0;
}

.bk-preauthorization__eyebrow {
  color: #635bff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bk-preauthorization__head h4 {
  color: #1a1f36;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  line-height: 1.15;
}

.bk-preauthorization__amount {
  padding: 12px 14px;
  border: 1px solid #d9d6fe;
  border-radius: 14px;
  background: #f5f3ff;
  color: #29245c;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.4;
}

.bk-preauthorization__copy,
.bk-preauthorization__secure {
  color: #596780;
  font-size: 0.88rem;
  line-height: 1.5;
}

.bk-preauthorization__secure {
  text-align: center;
  font-size: 0.78rem;
}

.bk-preauthorization__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bk-preauthorization__facts li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #425466;
  font-size: 0.79rem;
  line-height: 1.4;
}

.bk-preauthorization__facts li > span {
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  flex: 0 0 auto;
  margin-top: 1px;
  border-radius: 50%;
  background: #e9e7ff;
  color: #635bff;
  font-size: 0.68rem;
  font-weight: 900;
}

.bk-card-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.bk-card-field {
  min-width: 0;
}

.bk-card-field--number {
  grid-column: 1 / -1;
}

.bk-preauthorization__card-label {
  margin: 0 0 6px;
  color: #30313d;
  font-size: 0.78rem;
  font-weight: 800;
}

.bk-card-element {
  min-height: 54px;
  padding: 16px;
  border: 1.5px solid #cfd7e6;
  border-radius: 12px;
  background: #ffffff;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.bk-card-element.StripeElement--focus {
  border-color: #635bff;
  box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.12);
}

.bk-card-element.StripeElement--invalid {
  border-color: #df1b41;
}

.bk-card-errors {
  color: #df1b41;
  font-size: 0.86rem;
  line-height: 1.4;
}

.bk-card-errors:empty { display: none; }

.bk-preauthorization__consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid #d8dee9;
  border-radius: 12px;
  background: #f6f9fc;
  color: #425466;
  cursor: pointer;
  font-size: 0.79rem;
  line-height: 1.45;
}

.bk-preauthorization__consent[hidden] { display: none; }

.bk-preauthorization__consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: #635bff;
}

.bk-preauthorization__consent:focus-within {
  border-color: #635bff;
  box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.12);
}

.bk-preauthorization__consent a {
  color: #263c8f;
  font-weight: 800;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}

.bk-preauthorization__consent a:hover,
.bk-preauthorization__consent a:focus-visible {
  color: #17265f;
}

.bk-preauthorization__message {
  color: #596780;
  font-size: 0.84rem;
  line-height: 1.45;
}

.bk-preauthorization__message:empty { display: none; }
.bk-preauthorization__message.is-error { color: #df1b41; }
.bk-preauthorization__message.is-success { color: #0e7c66; }

.bk-preauthorization__actions {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  gap: 10px;
  padding-top: 2px;
}

.bk-preauthorization__cancel,
.bk-preauthorization__submit {
  appearance: none;
  min-height: 50px;
  padding: 12px 17px;
  border-radius: 12px;
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease, opacity 140ms ease;
}

.bk-preauthorization__cancel {
  border: 1px solid #cfd7e6;
  background: #ffffff;
  color: #425466;
}

.bk-preauthorization__cancel:hover:not(:disabled) { background: #f6f9fc; }

.bk-preauthorization__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #635bff;
  background: #635bff;
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(99, 91, 255, 0.24);
}

.bk-preauthorization__submit:hover:not(:disabled) {
  border-color: #5148e5;
  background: #5148e5;
}

.bk-preauthorization__cancel:disabled,
.bk-preauthorization__submit:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.bk-card.is-payment-locked #booking-pax-chips,
.bk-card.is-payment-locked #booking-calendar,
.bk-card.is-payment-locked #booking-slots,
.bk-card.is-payment-locked #booking-service-options,
.bk-card.is-payment-locked #booking-room-options,
.bk-card.is-payment-locked .bk-cal-nav,
.bk-card.is-payment-locked .bk-grid {
  pointer-events: none;
}

/* ---------- Reservation confirmation dialog -------------------- */

.bk-confirmation-dialog {
  width: min(520px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 26px;
  background: transparent;
  color: var(--bk-ink);
}

.bk-confirmation-dialog:not([open]) { display: none; }

.bk-confirmation-dialog[open] {
  animation: bk-confirmation-dialog-in 180ms ease-out both;
}

.bk-confirmation-dialog::backdrop {
  background: rgba(6, 7, 12, 0.82);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
  animation: bk-payment-backdrop-in 160ms ease-out both;
}

@keyframes bk-confirmation-dialog-in {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.bk-confirmation {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 14px;
  max-height: calc(100dvh - 32px);
  padding: clamp(28px, 5vw, 42px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(255, 181, 193, 0.3);
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 0, rgba(255, 181, 193, 0.16), transparent 38%),
    #202227;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.54);
  color: var(--bk-ink);
  text-align: center;
}

.bk-confirmation__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  padding: 0 0 2px;
  border: 1px solid var(--bk-line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--bk-ink);
  cursor: pointer;
  font: inherit;
  font-size: 1.5rem;
  line-height: 1;
  transition: background 140ms ease, border-color 140ms ease;
}

.bk-confirmation__close:hover {
  border-color: rgba(255, 181, 193, 0.65);
  background: rgba(255, 181, 193, 0.12);
}

.bk-confirmation__mark {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--bk-pink);
  color: #1a0810;
  box-shadow: 0 12px 30px rgba(255, 181, 193, 0.22);
  font-size: 1.75rem;
  font-weight: 900;
}

.bk-confirmation__eyebrow,
.bk-confirmation h4,
.bk-confirmation__copy {
  margin: 0;
}

.bk-confirmation__guarantee {
  max-width: 420px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 181, 193, 0.22);
  border-radius: 14px;
  background: rgba(255, 181, 193, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  line-height: 1.5;
}

.bk-confirmation__guarantee[hidden] { display: none; }

.bk-confirmation__eyebrow {
  color: var(--bk-pink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bk-confirmation h4 {
  max-width: 390px;
  color: var(--bk-ink);
  font-size: clamp(1.65rem, 5vw, 2.35rem);
  line-height: 1.1;
}

.bk-confirmation h4:focus { outline: none; }

.bk-confirmation__copy {
  max-width: 420px;
  color: var(--bk-ink-mute);
  font-size: 0.92rem;
  line-height: 1.55;
}

.bk-confirmation__reference {
  display: grid;
  width: min(100%, 360px);
  gap: 6px;
  margin-top: 4px;
  padding: 16px 18px;
  border: 1px solid var(--bk-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.bk-confirmation__reference span {
  color: var(--bk-ink-mute);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bk-confirmation__reference strong {
  overflow-wrap: anywhere;
  color: var(--bk-ink);
  font-size: clamp(1rem, 4vw, 1.25rem);
  letter-spacing: 0.03em;
}

.bk-confirmation__actions {
  display: grid;
  width: min(100%, 360px);
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 4px;
}

.bk-confirmation__manage,
.bk-confirmation__done {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.bk-confirmation__manage {
  border: 1px solid var(--bk-pink);
  background: var(--bk-pink);
  color: #1a0810;
}

.bk-confirmation__done {
  border: 1px solid var(--bk-line);
  background: transparent;
  color: var(--bk-ink);
}

.bk-confirmation__manage:hover,
.bk-confirmation__done:hover {
  background: #ffd0d9;
  color: #1a0810;
}

.bk-confirmation__close:focus-visible,
.bk-confirmation__manage:focus-visible,
.bk-confirmation__done:focus-visible {
  outline: 3px solid rgba(255, 181, 193, 0.48);
  outline-offset: 3px;
}

/* ---------- Sticky CTA bar ------------------------------------- */

.bk-cta {
  position: sticky;
  bottom: 0;
  left: 0; right: 0;
  margin: 8px -16px -24px;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  background: rgba(26,28,32,0.92);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-top: 1px solid var(--bk-line);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  z-index: 5;
}

.bk-cta__sum {
  min-width: 0;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.25;
  color: var(--bk-ink);
}

.bk-cta__sum.is-empty {
  color: var(--bk-ink-mute);
  font-weight: 500;
  font-style: italic;
}

.bk-cta__btn {
  appearance: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--bk-pink);
  color: #1a0810;
  font-family: inherit;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  transition: background 140ms ease, color 140ms ease, transform 140ms ease, opacity 140ms ease;
}

.bk-cta__btn .bk-arr {
  display: inline-flex;
  width: 22px; height: 22px;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: transform 160ms ease;
}

.bk-cta__btn:hover:not(:disabled) {
  background: #ffd0d9;
}
.bk-cta__btn:hover:not(:disabled) .bk-arr { transform: translateX(3px); }

.bk-cta__btn:disabled {
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.45);
  cursor: not-allowed;
}

.bk-msg {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--bk-ink-mute);
  min-height: 0;
}
.bk-msg:empty { display: none; }
.bk-msg.is-error   { color: var(--bk-error); }
.bk-msg.is-success { color: var(--bk-success); }
.bk-msg.is-error a,
.bk-msg.is-success a {
  color: var(--bk-pink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bk-cta__terms {
  grid-column: 1 / -1;
  margin: -2px 0 0;
  color: var(--bk-ink-mute);
  font-size: 0.75rem;
  line-height: 1.35;
}

.bk-cta__terms[hidden] {
  display: none;
}

.bk-cta__terms a {
  color: var(--bk-pink);
  font-weight: 700;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}

.bk-cta__terms a:hover,
.bk-cta__terms a:focus-visible {
  color: #ffd0d9;
}

/* ---------- Manage reservation --------------------------------- */

.bk-msg--panel {
  padding: 16px 18px;
  border: 1px solid var(--bk-line);
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
}

.bk-manage {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
}

.bk-manage[hidden] {
  display: none !important;
}

.bk-manage-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.bk-manage-summary p {
  margin: 0;
  min-width: 0;
  padding: 16px;
  display: grid;
  gap: 8px;
  border: 1px solid var(--bk-line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(250,168,181,0.08), rgba(250,168,181,0.02));
}

.bk-manage-summary span {
  color: var(--bk-pink);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.bk-manage-summary strong {
  min-width: 0;
  color: var(--bk-ink);
  font-size: clamp(16px, 1.7vw, 20px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.bk-cta--manage {
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.bk-cta__btn--secondary {
  border: 1px solid var(--bk-line-2);
  background: transparent;
  color: var(--bk-ink);
}

.bk-cta__btn--secondary:hover:not(:disabled) {
  border-color: var(--bk-pink);
  background: transparent;
  color: var(--bk-pink);
}

.bk-form .booking-message { display: none; }

/* loading/empty states (booking.js renders these inside slots/calendar) */
.booking-empty,
.booking-loading {
  min-height: 48px;
  display: flex;
  align-items: center;
  color: var(--bk-ink-mute);
  font-style: italic;
  font-size: 0.95rem;
  padding: 0 4px;
}
.booking-api-error {
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
  color: var(--bk-error);
  font-style: normal;
}
.booking-api-retry {
  appearance: none;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--bk-pink);
  border-radius: 999px;
  background: transparent;
  color: var(--bk-ink);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  cursor: pointer;
}
.booking-api-retry:hover {
  background: var(--bk-pink);
  color: #2a0a12;
}
.booking-api-retry:focus-visible {
  outline: 2px solid var(--bk-pink);
  outline-offset: 3px;
}
.bk-cal .booking-empty,
.bk-cal .booking-loading {
  grid-row: 1 / -1;
  min-width: 240px;
}

/* ---------- Aside ---------------------------------------------- */

.bk-tips {
  grid-column: 2 / 3;
  position: sticky;
  top: 24px;
  padding: 24px;
  border: 1px solid var(--bk-line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(250,168,181,0.06), rgba(250,168,181,0));
}

.bk-tips__kicker {
  margin: 0 0 14px;
  color: var(--bk-pink);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bk-tips ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.bk-tips li {
  position: relative;
  padding-left: 18px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.78);
}
.bk-tips li::before {
  content: "*";
  position: absolute;
  left: 0; top: 0;
  color: var(--bk-pink);
  font-size: 0.85rem;
  line-height: 1.6;
}
.bk-tips b { color: var(--bk-ink); font-weight: 700; }
.bk-tips a {
  color: var(--bk-pink);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}

/* ---------- Responsive ----------------------------------------- */

@media (max-width: 980px) {
  .bk-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .bk-tips {
    grid-column: 1 / -1;
    position: static;
  }
  .bk-manage-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .bk-cta--manage {
    grid-template-columns: 1fr;
  }
  .bk-cta--manage .bk-cta__btn {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .bk {
    padding-left: 16px;
    padding-right: 16px;
  }
  .bk-title {
    font-size: clamp(40px, 13vw, 64px);
  }
  .bk-step__head { gap: 10px 12px; }
  .bk-cal-nav {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
  }
  .bk-cal-jump {
    flex: 1;
    min-width: 0;
    justify-content: center;
    min-height: 44px;
  }
  .bk-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .bk-manage-summary,
  .bk-cta--manage {
    grid-template-columns: 1fr;
  }
  .bk-cta--manage .bk-cta__btn {
    justify-content: center;
  }
  .bk-input--prefix {
    grid-column: 1 / 2;
    max-width: 140px;
  }
  .bk-input--phone {
    grid-column: 1 / -1;
  }
  .bk-slots {
    grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
  }
  .bk-cal {
    grid-auto-columns: 70px;
    /* bleed into the section padding for an edge-to-edge scroller */
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .booking-day { min-height: 84px; border-radius: 14px; }
  .booking-day.is-special-day { min-height: 104px; }
  .bk-special-day {
    padding: 24px 18px;
    border-radius: 22px;
  }
  .bk-special-day__submit {
    width: 100%;
  }
  .bk-special-day__info {
    width: 100%;
  }
  .bk-special-day-info-dialog {
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 8px);
    margin: auto 8px 8px;
    border-radius: 22px;
  }
  .bk-special-day-info {
    min-height: 0;
    padding: 28px 20px max(24px, env(safe-area-inset-bottom, 0px));
  }
  .bk-special-day-info__actions button {
    width: 100%;
  }
  .bk-cta__btn { padding: 12px 18px; }
  .bk-preauthorization-dialog {
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 8px);
    margin: auto 8px 0;
  }
  .bk-preauthorization {
    gap: 12px;
    max-height: calc(100dvh - 8px);
    padding: 22px 18px max(20px, env(safe-area-inset-bottom, 0px));
    border-radius: 22px 22px 0 0;
  }
  .bk-preauthorization__brand-row {
    align-items: center;
    flex-direction: row;
    justify-content: flex-end;
    padding-right: 44px;
  }
  .bk-preauthorization__facts {
    grid-template-columns: 1fr;
  }
  .bk-preauthorization__actions {
    grid-template-columns: 1fr;
  }
  .bk-preauthorization__submit { grid-row: 1; }
  .bk-preauthorization__cancel { grid-row: 2; }
  .bk-confirmation-dialog {
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 8px);
    margin: auto 8px 8px;
  }
  .bk-confirmation {
    max-height: calc(100dvh - 16px);
    padding: 28px 20px 24px;
    border-radius: 22px;
  }
  .bk-confirmation__actions { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .bk-cta {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 8px;
    padding-top: 8px;
    padding-bottom: max(8px, env(safe-area-inset-bottom, 0px));
  }
  .bk-cta__sum {
    font-size: 0.82rem;
    line-height: 1.15;
  }
  .bk-cta__btn {
    min-height: 48px;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    font-size: 0.88rem;
    line-height: 1.05;
  }
  .bk-cta .bk-msg {
    font-size: 0.78rem;
    line-height: 1.25;
  }
  .bk-cta__terms {
    font-size: 0.7rem;
    line-height: 1.2;
  }
  body.page-id-25 .bk .bk-cta--manage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.page-id-25 .bk .bk-cta--manage .bk-cta__sum,
  body.page-id-25 .bk .bk-cta--manage .bk-msg {
    grid-column: 1 / -1;
  }
  body.page-id-25 .bk .bk-cta--manage .bk-cta__btn {
    min-width: 0;
    padding-block: 8px;
    font-size: 0.84rem;
  }
  .bk-card-fields {
    grid-template-columns: 1fr;
  }
  .bk-card-field--number {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bk-special-day-info-dialog[open],
  .bk-special-day-info-dialog::backdrop,
  .bk-preauthorization-dialog[open],
  .bk-preauthorization-dialog::backdrop,
  .bk-confirmation-dialog[open],
  .bk-confirmation-dialog::backdrop {
    animation: none;
  }
}
