/* ================================================================
   BOOKING MODAL — TT Yachts Charter × AzurBook
   ================================================================ */

.book-cta-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 45;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 16px 28px;
  border-radius: 9999px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  box-shadow: 0 20px 40px -10px rgba(201, 169, 97, 0.4), 0 4px 12px rgba(10,22,40,0.2);
  transition: transform .3s, box-shadow .3s, background .3s;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.book-cta-float:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 24px 48px -10px rgba(201, 169, 97, 0.5), 0 6px 16px rgba(10,22,40,0.25);
}
.book-cta-float .arrow { font-size: 18px; line-height: 1; }

@media (max-width: 640px) {
  .book-cta-float { left: 16px; right: 16px; bottom: 16px; justify-content: center; }
}

/* ---------- MODAL SHELL ---------- */
.book-modal {
  position: fixed; inset: 0; z-index: 100;
  display: none;
  align-items: center; justify-content: center;
  /* Always show breathing room around the panel so the blurred backdrop is visible */
  padding: clamp(10px, 3vw, 32px);
  padding-top: max(clamp(10px, 3vw, 32px), env(safe-area-inset-top));
  padding-bottom: max(clamp(10px, 3vw, 32px), env(safe-area-inset-bottom));
  padding-left: max(clamp(10px, 3vw, 32px), env(safe-area-inset-left));
  padding-right: max(clamp(10px, 3vw, 32px), env(safe-area-inset-right));
}
.book-modal.open { display: flex; animation: fadeIn .4s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.book-backdrop {
  position: absolute; inset: 0;
  background: rgba(15, 27, 46, 0.42);
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
}

.book-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto minmax(0, 1fr);
  width: 100%;
  max-width: 1120px;
  /* Fits within modal padding — never bigger than the available area */
  height: 100%;
  max-height: 100%;
  margin: 0;
  background: rgba(253, 251, 246, 0.78);
  backdrop-filter: blur(36px) saturate(150%);
  -webkit-backdrop-filter: blur(36px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  /* Always rounded — fluid radius from mobile to desktop */
  border-radius: clamp(14px, 2vw, 22px);
  overflow: hidden;
  animation: slideUp .5s cubic-bezier(.2,.8,.2,1);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 0 0 1px rgba(201,169,97,0.08),
    0 40px 100px -20px rgba(15,27,46,0.55);
}
/* Subtle gold hairline reflect on the edge */
.book-panel::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(201,169,97,0.12), transparent 30%, transparent 70%, rgba(201,169,97,0.08));
  mix-blend-mode: soft-light;
}
@keyframes slideUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

@media (min-width: 900px) {
  .book-panel {
    grid-template-columns: minmax(320px, 36%) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    /* Cap so it doesn't feel oversized on huge desktops */
    max-height: min(92vh, 920px);
    box-shadow: 0 60px 120px -20px rgba(0,0,0,0.5);
  }
}

/* Stacked layout — only kicks in below the 2-column desktop breakpoint.
   All sizing handled by clamp() in base styles, so this block stays minimal:
   it just changes the layout direction and bounds the summary's height. */
@media (max-width: 899px) {
  .book-summary {
    border-right: 0;
    border-bottom: 1px solid rgba(201,169,97,0.14);
    /* Top strip — at most ~30% of the panel, but bounded so it never collapses */
    max-height: clamp(120px, 28svh, 240px);
  }
  .sum-total-amount { font-size: clamp(26px, 7vw, 36px); }
  .book-form { min-height: 0; }
  .book-footer { flex-wrap: wrap; }
  .book-footer .bk-btn { flex: 1 1 auto; min-width: 120px; }
}

/* Very narrow viewports (≤ 380px) — drop a couple of non-essential elements */
@media (max-width: 380px) {
  .book-summary .sum-rule { display: none; }
  .nav-status { display: none; }
}

/* ---------- LEFT SUMMARY ---------- */
.book-summary {
  background:
    linear-gradient(180deg, rgba(251,248,241,0.6) 0%, rgba(232,223,201,0.35) 100%);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  color: var(--ink);
  padding: clamp(14px, 2.6vw, 36px);
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.5vw, 18px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  position: relative;
  border-right: 1px solid rgba(201,169,97,0.14);
}

.sum-boat {
  display: flex; gap: clamp(10px, 1.5vw, 14px); align-items: center;
}
.sum-boat-text { min-width: 0; flex: 1 1 auto; }
.sum-controls {
  margin-left: auto;
  display: flex; align-items: center;
  gap: clamp(8px, 1.2vw, 14px);
  flex-shrink: 0;
}
/* Smaller close button to fit nicely in the summary header */
.book-summary .book-close {
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.55);
  border-color: rgba(10,22,40,0.12);
  font-size: 18px;
}
.sum-thumb {
  width: clamp(44px, 5vw, 64px);
  height: clamp(44px, 5vw, 64px);
  border-radius: clamp(8px, 1vw, 12px);
  object-fit: cover;
  border: 1px solid rgba(184,150,96,0.35);
  box-shadow: 0 8px 24px -8px rgba(26,35,50,0.2);
  flex-shrink: 0;
}
.sum-boat-name {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(15px, 1.6vw, 20px);
  font-weight: 500; letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
}
.sum-boat-kicker {
  font-size: clamp(9px, 0.9vw, 10.5px);
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-soft); margin-bottom: 4px; font-weight: 500;
}

.sum-rule { height: 1px; background: rgba(26,35,50,0.1); margin: 4px 0; }

.sum-line {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px;
  padding: clamp(3px, 0.5vw, 6px) 0;
  font-size: clamp(12.5px, 1.2vw, 14px);
}
.sum-line-key {
  color: rgba(26,35,50,0.5);
  font-size: clamp(9.5px, 0.9vw, 10.5px);
  letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500;
  white-space: nowrap;
}
.sum-line-val {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(13px, 1.3vw, 15px);
  color: var(--ink); text-align: right;
  min-width: 0;
  overflow-wrap: anywhere;
}
.sum-line-val.muted { color: rgba(26,35,50,0.4); font-style: italic; font-weight: 300; }

.sum-total {
  margin-top: auto;
  padding-top: clamp(10px, 1.5vw, 18px);
  border-top: 1px solid rgba(184,150,96,0.3);
}
.sum-total-label {
  font-size: clamp(9.5px, 0.9vw, 10.5px);
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(26,35,50,0.55);
}
.sum-total-amount {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
  color: var(--ink);
  margin-top: 6px;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}
.sum-fine {
  font-family: 'Montserrat', sans-serif;
  font-style: italic;
  font-size: clamp(11px, 1vw, 12px);
  color: rgba(26,35,50,0.5);
  margin-top: 6px;
}

/* ---------- RIGHT PANEL (STEPS) ---------- */
.book-form {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  background: rgba(253, 251, 246, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--ink);
  overflow: hidden;
  height: 100%;
  min-width: 0;
  min-height: 0;
}

.book-progress {
  display: flex; align-items: center; gap: 6px;
}
.book-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(26,35,50,0.18);
  transition: background .35s, transform .35s;
}
.book-dot.active {
  background: var(--ink);
  transform: scale(1.18);
}
.book-dot.done { background: rgba(26,35,50,0.45); }

.book-close {
  position: relative;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(10,22,40,0.15);
  display: grid; place-items: center;
  background: transparent;
  color: var(--navy);
  font-size: 20px; line-height: 1;
  cursor: pointer;
  transition: background .3s, border-color .3s;
}
.book-close:hover { background: rgba(10,22,40,0.06); border-color: rgba(10,22,40,0.25); }

.book-body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: clamp(16px, 3vw, 48px) clamp(14px, 3vw, 48px) clamp(10px, 1.5vw, 24px);
  min-height: 0;
}

.book-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(8px, 1.5vw, 16px);
  padding: clamp(12px, 2vw, 24px) clamp(14px, 3vw, 48px);
  padding-bottom: max(clamp(12px, 2vw, 24px), env(safe-area-inset-bottom));
  border-top: 1px solid rgba(10,22,40,0.08);
  background: #fff;
  position: relative;
}

/* ---------- STEP CONTENT ---------- */
.book-step { display: none; }
.book-step.active { display: block; animation: stepIn .4s ease; }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.step-kicker {
  font-size: clamp(9.5px, 1vw, 10.5px);
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-soft); font-weight: 500;
}
.step-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400; letter-spacing: -0.03em;
  font-weight: 300;
  font-size: clamp(1.15rem, 3vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-top: clamp(4px, 0.6vw, 10px);
  max-width: 540px;
}
.step-sub {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: clamp(12px, 1.3vw, 15px);
  color: rgba(10,22,40,0.6);
  margin-top: clamp(4px, 0.7vw, 10px);
  max-width: 520px;
  line-height: 1.45;
  font-style: italic;
}

/* ---------- FIELDS ---------- */
.field-grid { display: grid; gap: clamp(12px, 1.5vw, 16px); margin-top: clamp(18px, 3vw, 32px); }
.field-grid.two { grid-template-columns: 1fr; }
@media (min-width: 700px) { .field-grid.two { grid-template-columns: 1fr 1fr; } }

.field {
  display: flex; flex-direction: column; gap: 6px;
  position: relative;
}
.field-label {
  font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(10,22,40,0.55); font-weight: 500;
}
.field-input {
  background: #fff;
  border: 1px solid rgba(10,22,40,0.15);
  border-radius: 12px;
  padding: 14px 16px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500; letter-spacing: -0.02em;
  font-size: 17px;
  color: var(--navy);
  transition: border-color .25s, box-shadow .25s;
  width: 100%;
}
.field-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,97,0.18);
}
.field-input::placeholder { color: rgba(10,22,40,0.3); font-style: italic; }

/* ---------- FIELD VALIDATION ---------- */
.field-invalid .field-input {
  border-color: #c44545;
  background: #fff7f6;
  box-shadow: 0 0 0 3px rgba(196,69,69,0.12);
}
.field-invalid .field-label {
  color: #c44545;
}
.field-msg {
  margin: 4px 2px 0;
  font-size: 12px;
  letter-spacing: 0.01em;
  color: #c44545;
  display: flex; align-items: center; gap: 6px;
  animation: fieldMsgIn .28s cubic-bezier(.2,.9,.3,1);
  font-weight: 500;
}
.field-msg::before {
  content: "";
  width: 14px; height: 14px;
  flex: 0 0 14px;
  border-radius: 50%;
  background: #c44545;
  display: inline-block;
  position: relative;
  box-shadow: 0 0 0 3px rgba(196,69,69,0.15);
}
.field-msg::after {
  content: "!";
  position: absolute;
  margin-left: 3px;
  font-size: 10px; font-weight: 700;
  color: #fff;
  line-height: 14px;
}
@keyframes fieldMsgIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.field-input.shake { animation: fieldShake .42s cubic-bezier(.36,.07,.19,.97); }
@keyframes fieldShake {
  10%, 90% { transform: translateX(-1px); }
  20%, 80% { transform: translateX(2px); }
  30%, 50%, 70% { transform: translateX(-4px); }
  40%, 60% { transform: translateX(4px); }
}

/* Floating footer notice for non-field validation errors (date, duration…) */
.book-notice {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 14px);
  transform: translate(-50%, 8px);
  background: var(--navy, #0a1628);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.01em;
  padding: 11px 18px;
  border-radius: 999px;
  box-shadow: 0 18px 40px -14px rgba(10,22,40,0.45), 0 2px 8px rgba(10,22,40,0.15);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity .28s, transform .28s cubic-bezier(.2,.9,.3,1);
  z-index: 20;
}
.book-notice::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 10px; height: 10px;
  background: var(--navy, #0a1628);
  transform: translateX(-50%) rotate(45deg);
  border-radius: 1px;
}
.book-notice.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- DURATION PILLS ---------- */
.pill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 20px;
}
.pill {
  position: relative;
  background: #fff;
  border: 1px solid rgba(10,22,40,0.15);
  border-radius: 14px;
  padding: 16px 14px;
  text-align: center;
  cursor: pointer;
  transition: all .25s;
}
.pill:hover { border-color: var(--gold-soft); }
.pill.selected { border-color: var(--gold); background: #FDF9EF; box-shadow: 0 4px 16px -4px rgba(201,169,97,0.25); }
.pill-dur { font-family: 'Montserrat', sans-serif; font-size: 22px; color: var(--navy); font-weight: 400; }
.pill-price { font-size: 12px; color: var(--gold-soft); margin-top: 4px; letter-spacing: 0.05em; }

/* ---------- GUESTS STEPPER ---------- */
.stepper {
  display: flex; align-items: center; justify-content: center; gap: 36px;
  margin-top: 40px;
}
.step-btn {
  width: 64px; height: 64px; border-radius: 50%;
  border: 1px solid rgba(10,22,40,0.2);
  background: #fff;
  font-size: 28px; line-height: 1;
  color: var(--navy);
  cursor: pointer;
  transition: all .25s;
  font-weight: 300;
}
.step-btn:hover { border-color: var(--gold); background: #FDF9EF; color: var(--gold-soft); }
.step-count {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400; letter-spacing: -0.03em;
  font-weight: 300;
  font-size: 84px;
  line-height: 1;
  color: var(--navy);
  min-width: 100px;
  text-align: center;
  letter-spacing: -0.03em;
}
.step-hint {
  text-align: center;
  margin-top: 18px;
  font-family: 'Montserrat', sans-serif; font-style: italic;
  color: rgba(10,22,40,0.5);
  font-size: 14px;
}

/* ---------- OPTION FLIP CARDS ---------- */
.opts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: clamp(14px, 2vw, 28px);
}
@media (min-width: 700px) { .opts-grid { grid-template-columns: 1fr 1fr; gap: 18px; } }
@media (max-width: 420px) { .opts-grid { grid-template-columns: 1fr; gap: 12px; } }

.opt-flip {
  position: relative;
  perspective: 1400px;
  aspect-ratio: 4 / 5;
  cursor: pointer;
}
@media (max-width: 600px) {
  .opt-flip { aspect-ratio: 3 / 4; }
}
@media (max-width: 420px) {
  .opt-flip { aspect-ratio: 16 / 11; }
}

/* Mobile: tighten back-face typography so the copy actually fits */
@media (max-width: 600px) {
  .opt-back { padding: 16px 14px 14px; }
  .opt-back-title { font-size: 17px; margin-top: 4px; }
  .opt-back-desc { font-size: 12.5px; line-height: 1.45; margin-top: 8px; }
  .opt-back-price { font-size: 19px; margin-top: 8px; }
  .opt-back-price small { font-size: 9.5px; }
  .opt-add-btn { margin-top: 8px; padding: 9px 14px; font-size: 10px; letter-spacing: 0.18em; }
  .opt-back-flip { width: 26px; height: 26px; top: 10px; right: 10px; font-size: 14px; }
}

.opt-flip-inner {
  position: relative;
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform 1s cubic-bezier(.2, .8, .2, 1);
  border-radius: 18px;
}
.opt-flip.flipped .opt-flip-inner { transform: rotateY(180deg); }

.opt-face {
  position: absolute; inset: 0;
  border-radius: 18px;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: 0 12px 40px -12px rgba(26,35,50,0.22);
  /* Belt-and-suspenders: iOS Safari sometimes ignores backface-visibility,
     so we also fade the off-side face out at the rotation midpoint. */
  transition: opacity .2s linear .45s;
}
.opt-flip:not(.flipped) .opt-back { opacity: 0; pointer-events: none; }
.opt-flip.flipped .opt-front { opacity: 0; pointer-events: none; }
.opt-flip.flipped .opt-back { opacity: 1; pointer-events: auto; }
.opt-flip:not(.flipped) .opt-front { opacity: 1; pointer-events: auto; }

.opt-front {
  background: linear-gradient(135deg, var(--cream-deep) 0%, var(--sand) 100%);
}
.opt-front img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2,.8,.2,1), filter .5s;
}
.opt-flip:hover .opt-front img { transform: scale(1.03); }

.opt-front-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15,27,46,0.15) 0%, rgba(15,27,46,0.1) 40%, rgba(15,27,46,0.78) 100%);
}

.opt-front-body {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  color: #fff;
  z-index: 2;
}
.opt-front-kicker {
  font-size: 9.5px; letter-spacing: 0.26em; text-transform: uppercase;
  color: rgba(255,255,255,0.75); font-weight: 500; margin-bottom: 4px;
}
.opt-front-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500; letter-spacing: -0.02em;
  font-weight: 300;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.opt-front-pill {
  margin-top: 10px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  background: rgba(255,255,255,0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  color: #fff;
  font-weight: 600;
  transition: all .25s;
}
.opt-flip:hover .opt-front-pill {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}
.opt-flip.selected .opt-front-pill {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}
.opt-pill-check {
  width: 12px; height: 12px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transition: all .25s;
  flex-shrink: 0;
}
.opt-flip.selected .opt-pill-check {
  background: var(--navy-deep);
}
.opt-flip.selected .opt-pill-check::after {
  content: "";
  width: 6px; height: 3.5px;
  border: 1.5px solid var(--gold);
  border-top: 0; border-right: 0;
  transform: rotate(-45deg) translate(0.5px, -1px);
}

/* Info button top-left on the front face — visual 30px, hit-area 44px via ::after */
.opt-info-btn {
  position: absolute; top: 14px; left: 14px;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.5);
  color: var(--ink);
  font-family: 'Montserrat', sans-serif;
  font-style: italic;
  font-size: 14px; line-height: 1;
  cursor: pointer;
  z-index: 3;
  transition: all .25s;
  font-weight: 500;
}
.opt-info-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
  transform: scale(1.05);
}
.opt-info-btn::after,
.opt-back-flip::after,
.book-close::after {
  content: "";
  position: absolute;
  inset: 50%;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
}

.opt-front-price {
  position: absolute; top: 14px; right: 14px;
  padding: 6px 12px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500; letter-spacing: -0.02em;
  font-size: 14px;
  color: var(--ink);
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 999px;
}

.opt-back {
  transform: rotateY(180deg);
  background: linear-gradient(160deg, #fff 0%, var(--paper) 100%);
  padding: 24px 20px 20px;
  display: flex; flex-direction: column;
  border: 1px solid rgba(201,169,97,0.25);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.opt-back::-webkit-scrollbar { width: 4px; }
.opt-back::-webkit-scrollbar-thumb { background: rgba(201,169,97,0.35); border-radius: 4px; }
.opt-back-kicker {
  font-size: 9.5px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-soft); font-weight: 500;
}
.opt-back-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500; letter-spacing: -0.02em;
  font-weight: 300;
  font-size: 22px; line-height: 1.1;
  color: var(--ink);
  margin-top: 8px;
  letter-spacing: -0.01em;
}
.opt-back-desc {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-style: italic;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(26,35,50,0.72);
  margin-top: 12px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  /* visual cue for scrollability */
  mask-image: linear-gradient(180deg, #000 calc(100% - 18px), transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 18px), transparent 100%);
  padding-right: 4px;
}
.opt-back-desc::-webkit-scrollbar { width: 3px; }
.opt-back-desc::-webkit-scrollbar-thumb { background: rgba(201,169,97,0.4); border-radius: 4px; }
.opt-back-price {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  color: var(--gold-soft);
  letter-spacing: -0.01em;
  margin-top: 12px;
  font-weight: 500; letter-spacing: -0.02em;
}
.opt-back-price small { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-family: 'Montserrat', sans-serif; color: rgba(26,35,50,0.5); margin-left: 6px; font-style: normal; font-variation-settings: initial; }

.opt-add-btn {
  margin-top: 12px;
  padding: 10px 18px;
  font-family: 'Montserrat', sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  background: var(--gold);
  color: var(--navy-deep);
  border: none; border-radius: 999px;
  cursor: pointer;
  transition: background .25s, transform .25s;
}
.opt-add-btn:hover { background: var(--gold-bright); transform: translateY(-1px); }
.opt-flip.selected .opt-add-btn { background: var(--ink); color: var(--paper); }

.opt-back-flip {
  position: absolute; top: 14px; right: 14px;
  width: 30px; height: 30px; border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(26,35,50,0.15);
  color: rgba(26,35,50,0.55);
  font-size: 16px; line-height: 1;
  cursor: pointer;
  transition: all .25s;
  z-index: 4;
}
.opt-back-flip:hover { border-color: var(--gold-soft); color: var(--gold-soft); }

/* Selected ring across both faces */
.opt-flip.selected .opt-face { box-shadow: 0 0 0 2px var(--gold), 0 12px 40px -12px rgba(201,169,97,0.4); }
.opt-check-badge {
  position: absolute; top: -10px; right: -10px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--gold);
  display: none;
  place-items: center;
  box-shadow: 0 8px 20px -6px rgba(201,169,97,0.5);
  z-index: 3;
  transform: scale(0.6);
  transition: transform .3s cubic-bezier(.2,1.5,.3,1);
}
.opt-flip.selected .opt-check-badge { display: grid; transform: scale(1); }
.opt-check-badge::after {
  content: "";
  width: 10px; height: 6px;
  border: 2px solid var(--navy-deep);
  border-top: 0; border-right: 0;
  transform: rotate(-45deg) translate(1px, -1px);
}

/* ---------- CALENDAR (glassmorphism reinforced) ---------- */
.bk-calendar {
  margin-top: clamp(8px, 1.5vw, 12px);
  padding: clamp(14px, 2.4vw, 26px);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.42) 0%, rgba(255,255,255,0.22) 100%);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 22px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.8) inset,
    0 -1px 0 rgba(201,169,97,0.18) inset,
    0 30px 60px -20px rgba(26,35,50,0.22),
    0 2px 0 rgba(201,169,97,0.12) inset;
  position: relative;
  overflow: hidden;
}
.bk-calendar::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,169,97,0.45), transparent);
  pointer-events: none;
}
.cal-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.cal-month {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500; letter-spacing: -0.02em;
  font-weight: 400;
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--ink);
}
.cal-nav {
  width: clamp(36px, 4vw, 44px);
  height: clamp(36px, 4vw, 44px);
  min-width: 44px; min-height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  color: var(--ink);
  font-size: 18px; line-height: 1;
  cursor: pointer;
  transition: all .3s;
  display: grid; place-items: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 4px 12px -2px rgba(26,35,50,0.08);
}
.cal-nav:hover { border-color: var(--gold); color: var(--gold-soft); background: rgba(253,249,239,0.8); }
.cal-nav:disabled { opacity: 0.3; cursor: not-allowed; }

.cal-dow {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 6px;
}
.cal-dow span {
  text-align: center;
  font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(26,35,50,0.45);
  padding: 6px 0;
  font-weight: 500;
}

.cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-cell {
  aspect-ratio: 1;
  border-radius: clamp(8px, 1vw, 10px);
  border: 1px solid transparent;
  background: transparent;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500; letter-spacing: -0.02em;
  font-size: clamp(12.5px, 1.4vw, 14px);
  color: var(--ink);
  cursor: pointer;
  transition: all .2s;
  display: grid; place-items: center;
  position: relative;
}
.cal-cell:hover:not(.past):not(.empty) {
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-color: rgba(201,169,97,0.35);
  transform: scale(1.05);
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset;
}
.cal-cell.empty { cursor: default; pointer-events: none; }
.cal-cell.past { opacity: 0.25; cursor: not-allowed; pointer-events: none; color: rgba(26,35,50,0.4); }
.cal-cell.today::after {
  content: "";
  position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--gold-soft);
}
.cal-cell.selected {
  background: transparent;
  color: var(--ink);
  font-weight: 500;
  border: 1.5px solid var(--gold);
  box-shadow:
    0 0 0 3px rgba(201,169,97,0.12),
    0 4px 14px -4px rgba(201,169,97,0.25);
}
.cal-cell.selected::after { background: var(--gold); bottom: 6px; width: 4px; height: 4px; }

/* Time picker row next to calendar */
.time-row {
  display: flex; align-items: center; gap: 14px;
  margin-top: 18px;
}
.time-row .field { flex: 1; }

/* When row (time + guests inline) */
.when-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 20px;
}
@media (max-width: 560px) { .when-row { grid-template-columns: 1fr; } }

/* Custom time picker */
.time-trigger {
  width: 100%;
  height: clamp(48px, 5vw, 54px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(12px, 1.6vw, 18px);
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(26,35,50,0.1);
  border-radius: 12px;
  color: var(--ink);
  cursor: pointer;
  transition: all .25s;
  text-align: left;
}
.time-trigger:hover, .time-trigger.open {
  border-color: rgba(26,35,50,0.25);
  background: rgba(255,255,255,0.68);
}
.time-trigger-value {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--ink);
  letter-spacing: -0.01em;
}
.time-trigger-arrow {
  opacity: 0.5;
  transition: transform .3s, opacity .25s;
}
.time-trigger:hover .time-trigger-arrow, .time-trigger.open .time-trigger-arrow { opacity: 0.85; }
.time-trigger.open .time-trigger-arrow { transform: rotate(180deg); }

.time-menu {
  position: absolute;
  margin-top: 8px;
  width: 100%;
  max-width: 320px;
  padding: 12px;
  background: rgba(253, 251, 246, 0.82);
  backdrop-filter: blur(32px) saturate(160%);
  -webkit-backdrop-filter: blur(32px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.72);
  border-radius: 18px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 0 0 1px rgba(201,169,97,0.1),
    0 30px 60px -20px rgba(15,27,46,0.35);
  display: none;
  z-index: 5;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .25s, transform .35s cubic-bezier(.2,.8,.2,1);
}
.time-menu.open {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.time-menu::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(201,169,97,0.4), transparent);
}
.time-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.time-slot {
  padding: 10px 0;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: var(--ink);
  background: transparent;
  border: 1px solid rgba(26,35,50,0.08);
  border-radius: 10px;
  cursor: pointer;
  transition: all .2s;
  letter-spacing: -0.005em;
}
.time-slot:hover {
  background: rgba(255,255,255,0.7);
  border-color: rgba(26,35,50,0.18);
}
.time-slot.selected {
  background: transparent;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(201,169,97,0.15);
  color: var(--ink);
  font-weight: 500;
}
.time-slot.suggested {
  position: relative;
}
.time-slot.suggested::after {
  content: "";
  position: absolute; top: 5px; right: 5px;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold);
}
.time-menu-header {
  font-size: 9.5px; letter-spacing: 0.26em; text-transform: uppercase;
  color: rgba(26,35,50,0.45); font-weight: 500;
  padding: 4px 6px 8px;
}

.stepper-inline {
  display: flex; align-items: center; gap: 16px;
  margin: 0;
  padding: 4px 6px;
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(26,35,50,0.1);
  border-radius: 12px;
  height: 54px;
}
.step-btn-sm {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(26,35,50,0.12);
  background: rgba(255,255,255,0.6);
  font-size: 18px; line-height: 1;
  color: var(--ink);
  cursor: pointer;
  transition: all .2s;
  font-weight: 300;
}
.step-btn-sm:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.step-count-sm {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 22px;
  color: var(--ink);
  min-width: 32px;
  text-align: center;
  flex: 1;
}
.field-hint {
  font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(26,35,50,0.4); font-style: italic; font-weight: 500;
  margin-top: 8px;
}

/* Unavailable calendar cells */
.cal-cell.unavailable {
  color: rgba(26,35,50,0.35);
  text-decoration: line-through;
  text-decoration-color: rgba(208,80,80,0.45);
  text-decoration-thickness: 1.2px;
  cursor: not-allowed;
  pointer-events: none;
}
.cal-cell.unavailable::after {
  content: "";
  position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 3px; border-radius: 50%;
  background: rgba(208,80,80,0.45);
}

/* SUGGESTION CARD (upsell) */
.suggest-card {
  margin-top: clamp(16px, 2.5vw, 28px);
  background: rgba(255,255,255,0.62);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.75);
  border-radius: 22px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 30px 60px -24px rgba(26,35,50,0.2);
  position: relative;
  overflow: hidden;
}

/* Full-art hero image at top of card */
.suggest-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cream-deep), var(--sand));
}
@media (min-width: 700px) { .suggest-image { aspect-ratio: 21 / 9; } }
.suggest-image img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2,.8,.2,1);
}
.suggest-card:hover .suggest-image img { transform: scale(1.03); }
.suggest-image::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,27,46,0) 0%, rgba(15,27,46,0) 60%, rgba(15,27,46,0.35) 100%);
  pointer-events: none;
}

/* Floating price chip, glass, over the image */
.suggest-price-float {
  position: absolute;
  top: 16px; right: 16px;
  display: flex; flex-direction: column; align-items: flex-end;
  gap: 1px;
  padding: 12px 16px;
  background: rgba(234, 243, 231, 0.78);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(120, 158, 99, 0.28);
  border-radius: 12px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 12px 24px -8px rgba(15,27,46,0.2);
  z-index: 2;
}

.suggest-inner {
  padding: clamp(14px, 2.2vw, 26px) clamp(14px, 2.4vw, 28px);
}
.suggest-body { min-width: 0; }

.suggest-body { min-width: 0; }
.suggest-kicker {
  font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold-soft); font-weight: 600;
  margin-bottom: 6px;
}
.suggest-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: clamp(18px, 2.4vw, 24px);
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.suggest-desc {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: clamp(12.5px, 1.3vw, 13.5px);
  color: rgba(26,35,50,0.72);
  line-height: 1.5;
  margin-top: 10px;
  max-width: 440px;
}

/* Subtle green-highlighted discount block */
.suggest-price {
  display: flex; flex-direction: column; align-items: flex-end;
  gap: 2px;
  padding: 14px 18px;
  background: rgba(234, 243, 231, 0.45);
  border: 1px solid rgba(120, 158, 99, 0.18);
  border-radius: 12px;
  min-width: 130px;
}
.suggest-price-was {
  font-family: 'Montserrat', sans-serif;
  font-size: 12.5px;
  color: rgba(26,35,50,0.4);
  text-decoration: line-through;
  text-decoration-color: rgba(26,35,50,0.3);
}
.suggest-price-now {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 28px;
  color: #4a7c4e;
  letter-spacing: -0.025em;
  line-height: 1;
}
.suggest-price-note {
  font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: #4a7c4e;
  font-weight: 500;
  margin-top: 2px;
  opacity: 0.75;
}

.suggest-actions {
  display: flex; gap: clamp(8px, 1vw, 12px); flex-wrap: wrap;
  margin-top: clamp(14px, 2vw, 20px);
}
.suggest-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: clamp(11px, 1.4vw, 14px) clamp(16px, 2vw, 22px);
  flex: 1 1 130px;
  min-height: 44px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 500;
  border-radius: 999px;
  cursor: pointer;
  transition: all .25s;
  border: 1px solid transparent;
}
.suggest-yes {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.suggest-yes:hover {
  background: #0f1e35;
  transform: translateY(-1px);
}
.suggest-yes.active {
  background: #4a7c4e;
  border-color: #4a7c4e;
}
.suggest-btn-check {
  width: 16px; height: 16px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: none;
  place-items: center;
  position: relative;
}
.suggest-yes.active .suggest-btn-check {
  display: grid;
  background: rgba(255,255,255,0.25);
}
.suggest-yes.active .suggest-btn-check::after {
  content: "";
  width: 6px; height: 3.5px;
  border: 1.5px solid #fff;
  border-top: 0; border-right: 0;
  transform: rotate(-45deg) translate(0.5px, -1px);
}
.suggest-no {
  background: transparent;
  color: rgba(26,35,50,0.55);
  border-color: rgba(26,35,50,0.15);
}
.suggest-no:hover {
  color: var(--ink);
  border-color: rgba(26,35,50,0.35);
  background: rgba(255,255,255,0.4);
}
.suggest-footnote {
  margin-top: 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11.5px;
  color: rgba(26,35,50,0.42);
  font-style: italic;
  text-align: center;
}

/* DEPOSIT HEADLINE (payment step) */
.deposit-headline {
  display: flex; align-items: baseline; gap: clamp(12px, 2vw, 24px);
  flex-wrap: wrap;
  margin-top: 14px;
  padding-bottom: clamp(14px, 2vw, 22px);
  border-bottom: 1px solid rgba(26,35,50,0.08);
}
.deposit-number {
  display: flex; align-items: baseline; flex-shrink: 0;
  line-height: 0.9;
}
.deposit-pct {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: clamp(4rem, 11vw, 6.5rem);
  color: var(--ink);
  letter-spacing: -0.06em;
}
.deposit-pct-sign {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: var(--gold-soft);
  margin-left: 2px;
  letter-spacing: -0.02em;
}
.deposit-hint {
  font-family: 'Montserrat', sans-serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(12.5px, 1.3vw, 14px);
  color: rgba(26,35,50,0.6);
  max-width: 320px;
  line-height: 1.4;
  flex: 1 1 200px;
}

.pay-fine {
  margin-top: 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11.5px;
  color: rgba(26,35,50,0.4);
  font-style: italic;
  letter-spacing: 0.02em;
  text-align: right;
}

/* ---------- CHEF PREFERENCES PANEL ---------- */
.chef-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .7s cubic-bezier(.2,.8,.2,1), opacity .5s, margin-top .5s;
  margin-top: 0;
}
.chef-panel.open {
  max-height: 1800px;
  opacity: 1;
  margin-top: 28px;
}
.chef-panel-inner {
  padding: 24px 26px 22px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid rgba(201, 169, 97, 0.3);
  border-radius: 18px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 24px 50px -20px rgba(26,35,50,0.14);
  position: relative;
}

.chef-panel-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold-soft); font-weight: 600;
}
.chef-panel-kicker::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,97,0.2);
}
.chef-panel-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500; letter-spacing: -0.02em;
  font-weight: 300;
  font-size: 24px;
  line-height: 1.1;
  color: var(--ink);
  margin-top: 8px;
  letter-spacing: -0.01em;
}
.chef-panel-sub {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-style: italic;
  font-size: 13.5px;
  color: rgba(26,35,50,0.6);
  margin-top: 4px;
}

.chef-section { margin-top: 22px; }
.chef-section-label {
  font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(26,35,50,0.55); font-weight: 500;
  margin-bottom: 10px;
}

.chef-pills {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.chef-pill {
  padding: 9px 16px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500; letter-spacing: -0.02em;
  font-size: 13.5px;
  color: var(--ink);
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(26,35,50,0.12);
  border-radius: 9999px;
  cursor: pointer;
  transition: all .25s;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.chef-pill:hover {
  border-color: rgba(201,169,97,0.5);
  background: rgba(253,249,239,0.8);
}
.chef-pill.selected {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
  box-shadow: 0 6px 16px -4px rgba(201,169,97,0.35);
  font-weight: 500;
}

.chef-notes {
  margin-top: 10px;
  width: 100%;
  min-height: 84px;
  resize: vertical;
  padding: 14px 16px;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(26,35,50,0.12);
  border-radius: 14px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: var(--ink);
  transition: border-color .25s, box-shadow .25s;
}
.chef-notes:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,97,0.18);
}
.chef-notes::placeholder {
  color: rgba(26,35,50,0.35);
  font-style: italic;
}

/* ---------- CHEF HERO STRIP ---------- */
.chef-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  border-radius: 14px;
  overflow: hidden;
  margin: -6px -4px 18px;
  min-height: 180px;
}
.chef-hero-slot {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cream-deep), var(--sand));
  min-height: 180px;
}
.chef-hero-slot img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2,.8,.2,1);
}
.chef-panel.open .chef-hero-slot img { transform: scale(1.02); }
.chef-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,27,46,0.15) 0%, rgba(15,27,46,0.85) 100%);
  pointer-events: none;
  border-radius: 14px;
}
.chef-hero-caption {
  position: absolute;
  left: 20px; right: 20px; bottom: 18px;
  color: #fff;
  z-index: 2;
}
.chef-hero-caption .chef-panel-kicker {
  color: var(--gold-bright);
}
.chef-hero-caption .chef-panel-kicker::before {
  background: var(--gold-bright);
  box-shadow: 0 0 0 3px rgba(212,181,116,0.25);
}
.chef-hero-caption .chef-panel-title {
  color: #fff;
  font-size: 26px;
  margin-top: 6px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.chef-hero-caption .chef-panel-sub {
  color: rgba(255,255,255,0.78);
  margin-top: 4px;
  max-width: 480px;
}

.chef-section-header {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 10px;
  gap: 12px;
}
.chef-section-header .chef-section-label { margin-bottom: 0; }
.chef-section-hint {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(26,35,50,0.4); font-style: italic;
  font-family: 'Montserrat', sans-serif;
}

/* ---------- MENU GRID (image cards) ---------- */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
@media (max-width: 900px) {
  .menu-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
}

.menu-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border: 0;
  background: linear-gradient(135deg, var(--cream-deep), var(--sand));
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s;
  box-shadow: 0 6px 18px -6px rgba(26,35,50,0.18);
}
.menu-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(26,35,50,0.22);
}
.menu-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2,.8,.2,1);
}
.menu-card:hover img { transform: scale(1.06); }

.menu-card-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,27,46,0.05) 0%, rgba(15,27,46,0.25) 45%, rgba(15,27,46,0.88) 100%);
}

.menu-card-body {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  color: #fff;
  text-align: left;
  z-index: 2;
}
.menu-card-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500; letter-spacing: -0.02em;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.menu-card-tagline {
  font-family: 'Montserrat', sans-serif;
  font-style: italic;
  font-weight: 300;
  font-size: 11px;
  color: rgba(255,255,255,0.75);
  margin-top: 3px;
  line-height: 1.3;
}

.menu-card-check {
  position: absolute;
  top: 8px; right: 8px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.5);
  display: grid; place-items: center;
  transition: all .25s;
  z-index: 3;
  transform: scale(0.7);
  opacity: 0;
}
.menu-card.selected .menu-card-check {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1);
  opacity: 1;
  box-shadow: 0 8px 20px -6px rgba(201,169,97,0.5);
}
.menu-card.selected .menu-card-check::after {
  content: "";
  width: 10px; height: 6px;
  border: 2px solid var(--navy-deep);
  border-top: 0; border-right: 0;
  transform: rotate(-45deg) translate(1px, -1px);
}

.menu-card.selected {
  box-shadow: 0 0 0 2px var(--gold), 0 16px 40px -12px rgba(201,169,97,0.35);
}

/* ---------- DOT / ICON PILLS ---------- */
.chef-pill-dot { padding-left: 10px; padding-right: 16px; gap: 8px; display: inline-flex; align-items: center; }
.chef-pill-dot-swatch {
  width: 12px; height: 12px; border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.6), 0 2px 4px rgba(26,35,50,0.15);
  flex-shrink: 0;
}
.chef-pill-icon { padding-left: 10px; gap: 8px; display: inline-flex; align-items: center; }
.chef-pill-emoji {
  font-size: 15px;
  line-height: 1;
  filter: saturate(120%);
}

/* ---------- PAYMENT ---------- */
.pay-wrap { margin-top: 28px; }
.pay-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; color: rgba(10,22,40,0.55);
  letter-spacing: 0.14em; text-transform: uppercase;
}
.pay-badge::before {
  content: "";
  width: 10px; height: 10px; border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16,185,129,0.18);
}

/* ---------- BUTTONS ---------- */
.bk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: clamp(12px, 1.4vw, 14px) clamp(18px, 2.5vw, 28px);
  min-height: 44px;
  border-radius: 9999px;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(10.5px, 1.1vw, 11.5px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s;
  border: none;
  white-space: nowrap;
}
.bk-btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset, 0 10px 22px -8px rgba(15,27,46,0.35);
}
.bk-btn-primary:hover {
  background: #0f1e35;
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.12) inset, 0 14px 28px -8px rgba(15,27,46,0.45);
}
.bk-btn-ghost {
  background: rgba(255,255,255,0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(26,35,50,0.7);
  border: 1px solid rgba(26,35,50,0.1);
}
.bk-btn-ghost:hover { color: var(--ink); border-color: rgba(26,35,50,0.25); background: rgba(255,255,255,0.7); }
.bk-btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none !important; }

/* ---------- SUCCESS ---------- */
.success-wrap {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 20px 0 40px;
  min-height: 400px;
}
.success-check {
  width: 96px; height: 96px; border-radius: 50%;
  background: linear-gradient(135deg, #D4B574, #8B7348);
  display: grid; place-items: center;
  margin-bottom: 32px;
  animation: pop .6s cubic-bezier(.2,1.5,.3,1);
  box-shadow: 0 20px 40px -10px rgba(201,169,97,0.4);
}
@keyframes pop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.success-check::after {
  content: "";
  width: 34px; height: 18px;
  border: 3px solid #0A1628;
  border-top: 0; border-right: 0;
  transform: rotate(-45deg) translateY(-3px);
}
.success-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400; letter-spacing: -0.03em;
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 520px;
}
.success-title em { font-style: italic; color: var(--gold-soft); font-weight: 400; }
.success-sub {
  font-family: 'Montserrat', sans-serif;
  font-style: italic;
  font-size: 17px;
  color: rgba(10,22,40,0.65);
  margin-top: 18px;
  max-width: 440px;
  line-height: 1.5;
}
.success-ref {
  margin-top: 32px;
  padding: 16px 24px;
  border: 1px dashed rgba(201,169,97,0.5);
  border-radius: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 500;
}
.success-ref strong { color: var(--navy); letter-spacing: 0.1em; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: 400; }

/* Enriched confirmation page */
.success-kicker {
  font-size: clamp(9.5px, 1vw, 10.5px);
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold-soft); font-weight: 600;
  margin-top: -8px;
  margin-bottom: 8px;
}
.success-sub strong {
  color: var(--navy);
  font-style: normal;
  font-weight: 500;
  border-bottom: 1px dashed rgba(201,169,97,0.5);
}
.success-card {
  margin-top: clamp(20px, 3vw, 32px);
  width: 100%;
  max-width: 460px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: clamp(14px, 2vw, 18px);
  padding: clamp(16px, 2.5vw, 24px);
  text-align: left;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 0 0 1px rgba(201,169,97,0.1),
    0 30px 60px -22px rgba(15,27,46,0.25);
}
.success-card-head {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(26,35,50,0.08);
}
.success-card-kicker {
  font-size: 9.5px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-soft); font-weight: 600;
}
.success-card-boat {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--navy);
  margin-top: 4px;
  letter-spacing: -0.01em;
}
.success-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
  padding: 14px 0;
}
@media (max-width: 420px) {
  .success-card-grid { grid-template-columns: 1fr; gap: 10px; }
}
.success-cell {
  display: flex; flex-direction: column; gap: 2px;
}
.success-cell-key {
  font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(26,35,50,0.5); font-weight: 500;
}
.success-cell-val {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: clamp(13.5px, 1.4vw, 15px);
  color: var(--navy);
}
.success-card-total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 14px;
  border-top: 1px solid rgba(184,150,96,0.3);
}
.success-total-key {
  font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(26,35,50,0.55); font-weight: 500;
}
.success-total-val {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--navy);
  letter-spacing: -0.02em;
}
.success-foot {
  margin-top: clamp(16px, 2.5vw, 24px);
  font-size: clamp(12px, 1.2vw, 13px);
  color: rgba(26,35,50,0.55);
  font-style: italic;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
}
.success-foot a {
  color: var(--gold-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(201,169,97,0.3);
  white-space: nowrap;
}
.success-foot a:hover { color: var(--navy); border-color: var(--navy); }

/* ---------- SCROLLBAR ---------- */
.book-body::-webkit-scrollbar, .book-summary::-webkit-scrollbar { width: 6px; }
.book-body::-webkit-scrollbar-thumb { background: rgba(10,22,40,0.15); border-radius: 10px; }
.book-summary::-webkit-scrollbar-thumb { background: rgba(245,241,232,0.1); border-radius: 10px; }

/* Prevent body scroll when modal open */
body.book-open { overflow: hidden; }
