/* ============================================================================
   Booking page — same warm paper, a calmer layout: steps on the left,
   a live ticket on the right that fills in as you go.
   ========================================================================== */
.bk-body { background: var(--cream); }
.proto { margin: 0; padding: 9px 16px; display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; text-align: center; font-size: 0.84rem; font-weight: 550; color: #E7D3E2; background: var(--plum-deep); }
.proto__tag { font: 750 0.66rem/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--plum-deep); padding: 5px 9px; border-radius: 999px; background: linear-gradient(180deg, #FFDA82, #EEA623); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6); }
.bk-nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.bk-back .i { width: 16px; height: 16px; }
/* never squeezed: the long label only once there's room beside the logo and the language/theme buttons */
.bk-back { flex: none; }
@media (max-width: 640px) { .bk-back .hide-sm { display: none; } .bk-back .show-sm { display: inline; } }
@media (max-width: 359px) { .bk-nav .brand__name { display: none; } }
.bk-back:hover .i--arrow-l { transform: scaleX(-1) translateX(3px); }
@media (max-width: 420px) {
  .bk-nav { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
  .bk-nav .brand { grid-column: 1 / -1; }
  .bk-nav .prefs { margin: 0; justify-self: start; }
  .bk-nav .lang__menu { left: 0; right: auto; }
}

.bk-hero { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; padding: 36px 0 30px; }
.bk-hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.bk-hero .lede { margin: 16px 0 0; text-align: left; }
.bk-hero__fruit { width: 230px; text-align: center; }
.bk-hero__fruit canvas { width: 230px; height: 230px; display: block; cursor: var(--spoon); touch-action: pan-y; }
.bk-hero__fruit .hand { margin-top: -6px; font-size: 1.3rem; }
@media (max-width: 720px) {
  .bk-hero { grid-template-columns: 1fr; padding-top: 16px; }
  .bk-hero__fruit { display: none; }
}

.bk-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; padding-bottom: 80px; }
@media (max-width: 980px) { .bk-grid { grid-template-columns: 1fr; } }

/* steps */
.bk-form { display: grid; gap: 20px; }
.bk-step { margin: 0; border: 0; padding: 26px 28px 28px; background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); min-width: 0; }
@media (max-width: 560px) { .bk-step { padding: 22px 18px; border-radius: 26px; } }
.bk-step legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font: 560 1.55rem/1.1 var(--font-display); font-variation-settings: 'SOFT' 100; }
.bk-step legend + * { clear: both; }
.bk-num { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; font: 700 0.92rem/1 var(--font-body); background: linear-gradient(180deg, var(--raised-top), var(--raised-bottom)); color: var(--plum-ink); box-shadow: inset 0 1px 0 var(--raised-hi), 0 0 0 1px rgba(74, 29, 78, 0.16); transition: all 0.35s var(--ease-spring); }
.bk-step.is-done .bk-num { background: var(--gold); color: transparent; box-shadow: none; position: relative; }
.bk-step.is-done .bk-num { background: var(--i-check-ink) center / 15px no-repeat, linear-gradient(180deg, #FFDA82, #EEA623); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 0 0 1px rgba(150, 86, 0, 0.3), 0 6px 12px -6px rgba(214, 138, 10, 0.7); }
.bk-hint { margin-top: 14px; color: var(--ink-soft); font-size: 0.95rem; }
.bk-hint a, .meetup a, .bk-step a { color: var(--plum-2); font-weight: 700; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.bk-hint b { color: var(--ink); }
.bk-error { display: none; margin: -6px 0 14px; color: #B3261E; font-weight: 650; font-size: 0.9rem; }
.bk-step > .bk-error, .bk-reveal > .bk-error { margin-top: 10px; }
.field__label { display: block; margin-top: 4px; }
.bk-error.is-on { display: block; animation: shake 0.4s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

/* class choice */
.bk-classes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .bk-classes { grid-template-columns: 1fr; } }
.bk-class { position: relative; display: grid; border-radius: 22px; overflow: hidden; cursor: pointer; background: var(--cream); box-shadow: 0 0 0 1px rgba(74, 29, 78, 0.14), 0 8px 18px -14px rgba(43, 15, 47, 0.4); transition: box-shadow 0.3s, transform 0.35s var(--ease-out); }
.bk-class:hover { transform: translateY(-2px); }
.bk-class input { position: absolute; opacity: 0; pointer-events: none; }
.bk-class__sky { height: 110px; display: block; }
.bk-class__sky svg { width: 100%; height: 100%; display: block; }
.bk-class__body { padding: 14px 18px 16px; display: grid; gap: 2px; }
.bk-class__name { font-weight: 800; display: flex; gap: 8px; align-items: center; }
.bk-class__time { font: 560 1.6rem/1.1 var(--font-display); }
.bk-class__meta { font-size: 0.88rem; color: var(--ink-soft); }
.bk-tag { font: 600 1.05rem/1 var(--font-hand); color: var(--gold-deep); background: rgba(242, 174, 46, 0.16); padding: 2px 8px; border-radius: 999px; }
.bk-tick { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 252, 246, 0.82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: inset 0 1px 0 var(--raised-hi), 0 0 0 1px rgba(74, 29, 78, 0.2), 0 4px 10px -4px rgba(43, 15, 47, 0.3); transition: all 0.35s var(--ease-spring); }
.bk-class:has(input:checked) { box-shadow: 0 0 0 2px var(--plum), 0 14px 28px -16px rgba(74, 29, 78, 0.55); }
.bk-class:has(input:checked) .bk-tick { background: var(--i-check-gold) center / 15px no-repeat, linear-gradient(180deg, #66305F, #3B1440); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 0 1px #2B0F2F, 0 6px 14px -6px rgba(74, 29, 78, 0.7); transform: scale(1.08); }
.bk-class:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 3px; }

/* date picker: month grid + a panel for the chosen day */
.bk-step[data-step='date'] { container-type: inline-size; }
.picker { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
@container (max-width: 600px) {
  .picker { grid-template-columns: 1fr; }
  .dayview { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; row-gap: 12px; }
  .dayview__dow, .dayview__date { grid-column: 1; }
  .dayview__slots { grid-column: 2; grid-row: 1 / span 3; }
  .dayview__cancel, .dayview__hint { grid-column: 1 / -1; }
  .dayview--empty { display: flex; }
}
@container (max-width: 420px) {
  .dayview { grid-template-columns: 1fr; }
  .dayview__slots { grid-column: 1; grid-row: auto; }
}
.cal { background: var(--cream); border-radius: 24px; padding: 16px 16px 12px; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.cal__head { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; margin-bottom: 8px; }
.cal__head .round-btn { width: 40px; height: 40px; }
.cal__title { text-align: center; font: 560 1.25rem/1 var(--font-display); font-variation-settings: 'SOFT' 100; }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal__dow span { text-align: center; font-size: 0.7rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); padding: 8px 0 6px; }
.cal__grid { row-gap: 2px; }
.cal__day { position: relative; justify-self: center; width: min(100%, 44px); aspect-ratio: 1; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; color: var(--ink); font-weight: 650; font-size: 0.95rem; font-variant-numeric: tabular-nums; display: grid; place-items: center; transition: background 0.2s, color 0.2s, transform 0.25s var(--ease-out), box-shadow 0.25s; }
.cal__day:hover:not(:disabled) { background: #fff; box-shadow: 0 0 0 1px rgba(74, 29, 78, 0.16), 0 6px 12px -8px rgba(43, 15, 47, 0.4); transform: translateY(-1px); }
.cal__day:disabled { color: rgba(42, 20, 48, 0.24); cursor: default; }
.cal__day.is-weekend:not(:disabled):not([aria-selected='true']) { color: var(--plum-2); }
.cal__day.is-today:not([aria-selected='true']) { box-shadow: inset 0 0 0 1.5px rgba(184, 110, 6, 0.55); }
.cal__day.is-few::after, .cal__day.is-full::after { content: ''; position: absolute; bottom: 12%; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; }
.cal__day.is-few::after { background: var(--gold-deep); }
.cal__day.is-full::after { background: rgba(179, 38, 30, 0.55); }
.cal__day.is-full span { text-decoration: line-through; text-decoration-color: rgba(179, 38, 30, 0.45); }
.cal__day[aria-selected='true'] { color: #FFD36B; background: linear-gradient(180deg, #66305F, #3B1440); box-shadow: 0 0 0 1px #2B0F2F, 0 0 0 4px rgba(242, 174, 46, 0.45), 0 10px 18px -8px rgba(74, 29, 78, 0.6); animation: pop 0.4s var(--ease-spring); }
.cal__day[aria-selected='true']::after { background: #FFD36B; }
@keyframes pop { from { transform: scale(0.7); } }
.cal__legend { display: flex; justify-content: center; gap: 16px; margin-top: auto; padding-top: 10px; font-size: 0.8rem; color: var(--ink-soft); }
.cal__legend span { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.dot--few { background: var(--gold-deep); }
.dot--full { background: rgba(179, 38, 30, 0.55); }

.dayview { border-radius: 24px; padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 14px; background: linear-gradient(170deg, #FFFDF8 0%, #FBF0DC 100%); box-shadow: inset 0 1px 0 var(--raised-hi), 0 0 0 1px rgba(74, 29, 78, 0.12), 0 16px 30px -24px rgba(43, 15, 47, 0.5); animation: capIn 0.4s var(--ease-out); }
.dayview--empty { align-items: center; justify-content: center; text-align: center; gap: 8px; background: repeating-linear-gradient(-45deg, rgba(74, 29, 78, 0.025) 0 10px, transparent 10px 20px), var(--cream); box-shadow: inset 0 0 0 1.5px rgba(74, 29, 78, 0.12); }
.dayview__art { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; color: var(--plum-2); background: linear-gradient(180deg, var(--raised-top), var(--raised-bottom)); box-shadow: inset 0 1px 0 var(--raised-hi), 0 0 0 1px rgba(74, 29, 78, 0.12), 0 10px 18px -12px rgba(43, 15, 47, 0.45); margin-bottom: 6px; }
.dayview__art .i { width: 26px; height: 26px; }
.dayview__title { font: 560 1.35rem/1.1 var(--font-display); font-variation-settings: 'SOFT' 100; }
.dayview__sub { color: var(--ink-soft); font-size: 0.92rem; max-width: 26ch; }
.dayview__dow { font: 700 0.74rem/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--plum-2); }
.dayview__date { display: flex; align-items: baseline; gap: 12px; margin-top: -6px; }
.dayview__num { font: 600 4.2rem/0.9 var(--font-display); font-variation-settings: 'SOFT' 100, 'WONK' 1; color: var(--plum-ink); letter-spacing: -0.03em; }
.dayview__month { font: 500 1.1rem/1.2 var(--font-display); color: var(--ink-soft); }
.dayview__slots { display: grid; gap: 8px; }
.slot { display: grid; gap: 8px; width: 100%; text-align: left; padding: 12px 14px; border: 0; border-radius: 16px; cursor: pointer; background: #fff; box-shadow: 0 0 0 1px rgba(74, 29, 78, 0.14), 0 6px 14px -12px rgba(43, 15, 47, 0.5); transition: box-shadow 0.25s, transform 0.3s var(--ease-out); }
.slot:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(74, 29, 78, 0.32), 0 10px 18px -12px rgba(43, 15, 47, 0.5); }
.slot.is-on { box-shadow: 0 0 0 2px var(--plum), 0 12px 22px -14px rgba(74, 29, 78, 0.65); }
.slot.is-off { opacity: 0.55; cursor: default; background: transparent; }
.slot__top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.slot__name { font-weight: 800; }
.slot__time { font-size: 0.86rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.slot__meter { height: 5px; border-radius: 5px; background: rgba(74, 29, 78, 0.08); overflow: hidden; }
.slot__meter span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #93B832, #C4C23A); transition: width 0.6s var(--ease-out); }
.slot.is-few .slot__meter span { background: linear-gradient(90deg, #F2AE2E, #E0482D); }
.slot__seats { font-size: 0.84rem; font-weight: 650; color: var(--leaf); }
.slot.is-few .slot__seats { color: var(--gold-deep); }
.slot.is-off .slot__seats { color: #8E1F18; }
.dayview__cancel { display: flex; gap: 8px; align-items: flex-start; margin-top: auto; padding: 10px 12px; border-radius: 14px; font-size: 0.86rem; background: rgba(127, 163, 58, 0.12); box-shadow: inset 0 0 0 1px rgba(76, 122, 54, 0.18); }
.dayview__cancel .i { flex: none; width: 16px; height: 16px; color: var(--leaf); margin-top: 1px; }
.dayview__hint { margin-top: auto; font-family: var(--font-hand); font-size: 1.25rem; color: var(--plum-2); }

/* counters */
.counters { display: grid; gap: 4px; }
.counter { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 4px; border-bottom: 2px dashed var(--line); }
.counter:last-child { border-bottom: 0; }
.counter__label { font-weight: 800; font-size: 1.05rem; }
.counter__sub { color: var(--ink-soft); font-size: 0.9rem; }
.counter__ctl { display: flex; align-items: center; gap: 12px; }
.counter__ctl .round-btn { width: 42px; height: 42px; }
.counter__ctl .round-btn .i { width: 16px; height: 16px; }
.counter output { min-width: 2ch; text-align: center; font: 600 1.5rem/1 var(--font-display); font-variant-numeric: tabular-nums; }
.counter output.bump { animation: pop 0.35s var(--ease-spring); }

/* options */
.bk-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
@media (max-width: 560px) { .bk-options { grid-template-columns: 1fr; } }
.bk-option { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 18px; background: var(--cream); box-shadow: 0 0 0 1px rgba(74, 29, 78, 0.14); cursor: pointer; transition: box-shadow 0.25s, background 0.25s; }
.bk-option:hover { box-shadow: 0 0 0 1px rgba(74, 29, 78, 0.3); }
.bk-option input, .check input { -webkit-appearance: none; appearance: none; flex: none; width: 22px; height: 22px; margin: 1px 0 0; cursor: pointer; border-radius: 50%; background: linear-gradient(180deg, var(--raised-top), var(--raised-bottom)); box-shadow: inset 0 1px 0 var(--raised-hi), 0 0 0 1.5px rgba(74, 29, 78, 0.3); transition: background 0.25s, box-shadow 0.25s, transform 0.3s var(--ease-spring); }
.bk-option input:checked { background: radial-gradient(circle, #FFD36B 0 4px, transparent 4.6px), linear-gradient(180deg, #66305F, #3B1440); box-shadow: 0 0 0 1.5px #2B0F2F, 0 4px 10px -4px rgba(74, 29, 78, 0.6); }
.check input { border-radius: 7px; }
.check input:checked { background: var(--i-check-gold) center / 15px no-repeat, linear-gradient(180deg, #66305F, #3B1440); box-shadow: 0 0 0 1.5px #2B0F2F, 0 4px 10px -4px rgba(74, 29, 78, 0.6); transform: scale(1.04); }
.bk-option input:focus-visible, .check input:focus-visible { outline: none; box-shadow: 0 0 0 1.5px var(--plum), 0 0 0 5px rgba(242, 174, 46, 0.45); }
.bk-option span { display: grid; gap: 2px; }
.bk-option small { color: var(--ink-soft); font-size: 0.88rem; }
.bk-option:has(input:checked) { box-shadow: 0 0 0 2px var(--plum), 0 12px 24px -16px rgba(74, 29, 78, 0.5); background: #fff; }
.bk-reveal { animation: capIn 0.4s var(--ease-out); }
.meetup { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 18px; background: rgba(127, 163, 58, 0.12); }
.meetup svg { width: 44px; height: 44px; flex: none; }
.meetup a .i { width: 14px; height: 14px; }

/* fields */
.field { display: grid; gap: 6px; margin-bottom: 14px; flex: 1; min-width: 0; }
.field > span, .field__label { font-weight: 700; font-size: 0.92rem; }
.field em, .field__label em { font-style: normal; font-weight: 500; color: var(--ink-soft); }
.field input, .field textarea, .phone select, .phone input {
  font: inherit; color: var(--ink); background: #fff; border: 0; border-radius: 14px; padding: 0 16px; height: 50px; width: 100%;
  box-shadow: inset 0 1px 2px rgba(43, 15, 47, 0.06), 0 0 0 1px rgba(74, 29, 78, 0.18);
  transition: box-shadow 0.25s var(--ease-out);
}
.field textarea { height: auto; padding: 13px 16px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: rgba(94, 71, 98, 0.55); }
.field input:hover, .field textarea:hover, .phone select:hover, .phone input:hover { box-shadow: inset 0 1px 2px rgba(43, 15, 47, 0.06), 0 0 0 1px rgba(74, 29, 78, 0.32); }
.field input:focus, .field textarea:focus, .phone select:focus, .phone input:focus { outline: none; box-shadow: 0 0 0 1.5px var(--plum-2), 0 0 0 5px rgba(242, 174, 46, 0.32); }
.field input.is-bad, .phone input.is-bad { box-shadow: 0 0 0 1.5px #B3261E, 0 0 0 5px rgba(179, 38, 30, 0.12); }
.phone select { -webkit-appearance: none; appearance: none; padding: 0 34px 0 14px; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E2C6C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E") right 10px center / 18px no-repeat, #fff; }
.field textarea { resize: vertical; min-height: 90px; }
.field-row { display: flex; gap: 14px; }
.field--sm { flex: 0 0 140px; }
@media (max-width: 640px) { .field-row { flex-direction: column; gap: 0; } .field--sm { flex: 1; } }
.phone { display: flex; gap: 8px; }
.phone select { width: auto; flex: 0 0 auto; max-width: 168px; }
/* narrow phones: the country gets its own line, so neither it nor the number is squeezed */
@media (max-width: 440px) { .phone { flex-wrap: wrap; } .phone select { flex: 1 1 100%; max-width: none; } }
.diet { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 16px; }
.diet label { cursor: pointer; }
.diet input { position: absolute; opacity: 0; pointer-events: none; }
.diet span { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 15px 0 12px; border-radius: 999px; background: linear-gradient(180deg, var(--raised-top), var(--raised-bottom)); box-shadow: inset 0 1px 0 var(--raised-hi), 0 0 0 1px rgba(74, 29, 78, 0.14), 0 6px 12px -10px rgba(43, 15, 47, 0.4); font-weight: 650; font-size: 0.92rem; transition: all 0.25s var(--ease-out); }
.diet span::before { content: ''; width: 14px; height: 14px; background: var(--plum-2); -webkit-mask: var(--i-plus) center / contain no-repeat; mask: var(--i-plus) center / contain no-repeat; transition: transform 0.35s var(--ease-spring); }
.diet label:hover span { box-shadow: inset 0 1px 0 var(--raised-hi), 0 0 0 1px rgba(74, 29, 78, 0.3), 0 8px 14px -10px rgba(43, 15, 47, 0.45); }
.diet input:checked + span { color: #fff; background: linear-gradient(180deg, #6A9A48, #4C7A36); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 0 0 1px #3E6A2C, 0 8px 16px -8px rgba(76, 122, 54, 0.7); }
.diet input:checked + span::before { background: #fff; -webkit-mask-image: var(--i-check); mask-image: var(--i-check); transform: scale(1.1); }
.diet input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.fine { margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--ink-soft); }
.fine li { padding-left: 26px; position: relative; }
.fine li::before { content: ''; position: absolute; left: 4px; top: 8px; width: 9px; height: 12px; border-radius: 50%; background: var(--seed); box-shadow: 0 0 0 2.5px var(--gold); transform: rotate(25deg); }
.fine b { color: var(--ink); }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; cursor: pointer; }

.bk-submit { width: 100%; justify-content: space-between; font-size: 1.1rem; }
.bk-submit__end { display: inline-flex; align-items: center; gap: 12px; margin-right: calc((var(--h) - var(--chip)) / 2 - var(--px)); }
.bk-submit__end .btn__price { margin-right: 0; font-size: 1.05rem; padding: 0 18px; }
.bk-submit__note { font: 600 1.15rem/1 var(--font-hand); color: rgba(255, 233, 196, 0.75); }
@media (max-width: 480px) { .bk-submit__note { display: none; } }
.bk-small { text-align: center; color: var(--ink-soft); font-size: 0.9rem; margin-top: -6px; }

/* ticket */
.ticket { position: sticky; top: 24px; background: var(--paper); border-radius: 26px 26px 0 0; box-shadow: var(--shadow), inset 0 0 0 1px var(--line); filter: drop-shadow(0 18px 24px rgba(43, 15, 47, 0.12)); }
.ticket::after { content: ''; position: absolute; left: 0; right: 0; bottom: -12px; height: 12px; background: radial-gradient(circle at 10px 0, var(--paper) 10px, transparent 10.5px) 0 0 / 20px 12px repeat-x; }
.ticket__sky { height: 96px; border-radius: 26px 26px 0 0; overflow: hidden; background: linear-gradient(180deg, #F6E7CC, #FBF3E4); }
.ticket__sky svg { width: 100%; height: 100%; display: block; }
.ticket__body { padding: 20px 24px 26px; }
.ticket__eyebrow { font: 700 0.74rem/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--plum-2); }
.ticket__title { font: 560 1.6rem/1.1 var(--font-display); margin: 6px 0 14px; }
.ticket__rows { margin: 0; display: grid; gap: 8px; }
.ticket__rows div, .ticket__lines div { display: flex; justify-content: space-between; gap: 12px; }
.ticket__rows dt { color: var(--ink-soft); }
.ticket__rows dd { margin: 0; font-weight: 700; text-align: right; }
.ticket__lines { margin-top: 14px; padding-top: 14px; border-top: 2px dashed var(--line); display: grid; gap: 6px; color: var(--ink-soft); }
.ticket__lines b { color: var(--ink); font-weight: 700; }
.ticket__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding-top: 14px; border-top: 2px dashed var(--line); }
.ticket__total span { font-weight: 800; }
.ticket__total strong { font: 600 2.3rem/1 var(--font-display); color: var(--plum-ink); }
.ticket__total strong.bump { animation: pop 0.4s var(--ease-spring); display: inline-block; }
.ticket__pay { text-align: right; font-family: var(--font-hand); font-size: 1.3rem; color: var(--leaf); }
.ticket__cancel { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 14px; border-radius: 14px; background: rgba(127, 163, 58, 0.12); box-shadow: inset 0 0 0 1px rgba(76, 122, 54, 0.18); font-size: 0.9rem; color: var(--ink); }
.ticket__cancel .i { color: var(--leaf); width: 16px; height: 16px; }
.ticket__help { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--ink-soft); }
.ticket__help p { font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.ticket__help a { color: var(--plum-2); font-weight: 650; }
@media (max-width: 980px) { .ticket { position: relative; top: 0; order: 2; } }

/* sticky mobile bar */
.bk-bar { display: none; }
@media (max-width: 980px) {
  .bk-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50;
    padding: 10px 10px 10px 20px; border-radius: 999px; background: rgba(43, 15, 47, 0.94); color: var(--on-plum); backdrop-filter: blur(10px);
    box-shadow: 0 16px 40px -12px rgba(43, 15, 47, 0.6); transition: transform 0.4s var(--ease-out);
  }
  .bk-bar.is-hidden { transform: translateY(140%); }
  .bk-bar__total { font: 600 1.4rem/1 var(--font-display); color: var(--gold-2); }
  .bk-bar__sub { font-size: 0.8rem; color: #D8C3D3; }
  .bk-body { padding-bottom: 80px; }
}

/* confirmation */
.done { position: relative; max-width: 720px; margin: 10px auto 90px; padding: 56px 40px 44px; text-align: center; background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); overflow: hidden; }
.done:focus { outline: none; }
.done__burst { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.done > *:not(canvas) { position: relative; }
.done__thai { font-size: 2.6rem; color: var(--gold-deep); line-height: 1.2; }
.done h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.done__lede { margin-top: 12px; color: var(--ink-soft); font-size: 1.1rem; }
.done__card { margin: 26px auto 0; max-width: 460px; text-align: left; background: var(--cream); border-radius: 20px; padding: 18px 22px; display: grid; gap: 6px; }
.done__card div { display: flex; justify-content: space-between; gap: 12px; }
.done__card dt { color: var(--ink-soft); }
.done__card dd { margin: 0; font-weight: 700; text-align: right; }
.done__next { text-align: left; max-width: 460px; margin: 26px auto 0; padding-left: 22px; display: grid; gap: 8px; color: var(--ink-soft); }
.done__next b { color: var(--ink); }
.done__next a { color: var(--plum-2); font-weight: 700; }
.done__btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 28px 0 18px; }
@media (max-width: 520px) {
  .done { padding: 44px 20px 34px; }
  .done__btns .btn { width: 100%; --px: 18px; }
}
@media (max-width: 360px) { .done__btns .btn { font-size: 0.95rem; } }
.footer--slim { padding: 30px 0 40px; font-size: 0.85rem; }

/* WhatsApp opt-in */
.wa-opt { display: flex; gap: 14px; align-items: flex-start; margin: 4px 0 18px; padding: 14px 16px; border-radius: 18px; cursor: pointer; background: rgba(37, 211, 102, 0.07); box-shadow: inset 0 0 0 1px rgba(30, 150, 80, 0.2); }
.wa-opt input { -webkit-appearance: none; appearance: none; flex: none; position: relative; width: 44px; height: 26px; margin: 2px 0 0; border-radius: 999px; cursor: pointer; background: rgba(74, 29, 78, 0.18); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12); transition: background 0.25s; order: 3; margin-left: auto; }
.wa-opt input::before { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25); transition: transform 0.3s var(--ease-spring); }
.wa-opt input:checked { background: #1FA855; }
.wa-opt input:checked::before { transform: translateX(18px); }
.wa-opt input:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.wa-opt__icon { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(180deg, #34D07A, #1FA855); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 6px 12px -6px rgba(31, 168, 85, 0.7); }
.wa-opt__icon .i { width: 19px; height: 19px; }
.wa-opt > span:last-of-type { display: grid; gap: 2px; font-size: 0.95rem; }
.wa-opt small { color: var(--ink-soft); font-size: 0.86rem; line-height: 1.4; }

/* card fee line + busy button */
.ticket__fee span { color: var(--gold-deep); }
.bk-error--submit { text-align: center; margin: 4px 0 0; }
.bk-submit.is-busy { pointer-events: none; }
.bk-submit.is-busy > span:first-child::after { content: ''; display: inline-block; width: 15px; height: 15px; margin-left: 10px; vertical-align: -2px; border-radius: 50%; border: 2px solid rgba(255, 245, 230, 0.35); border-top-color: #FFF5E6; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.done__ref { margin-top: 14px; color: var(--ink-soft); }
.done__ref b { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--plum-ink); background: rgba(242, 174, 46, 0.18); padding: 3px 10px; border-radius: 8px; margin-left: 6px; letter-spacing: 0.04em; }

/* ---------- dark ---------- */
[data-theme='dark'] .bk-step.is-done .bk-num { color: transparent; }
[data-theme='dark'] .bk-error { color: #FF9D8F; }
[data-theme='dark'] :is(.bk-class, .bk-option) { box-shadow: 0 0 0 1px var(--line), 0 8px 18px -14px rgba(0, 0, 0, 0.7); }
[data-theme='dark'] .bk-option:has(input:checked) { background: var(--raised-top); box-shadow: 0 0 0 2px var(--gold-deep), 0 12px 24px -16px rgba(0, 0, 0, 0.7); }
[data-theme='dark'] .bk-class:has(input:checked) { box-shadow: 0 0 0 2px var(--gold-deep), 0 12px 24px -16px rgba(0, 0, 0, 0.7); }
[data-theme='dark'] .cal__day:hover:not(:disabled) { background: var(--raised-top); box-shadow: 0 0 0 1px var(--line), 0 6px 12px -8px rgba(0, 0, 0, 0.6); }
[data-theme='dark'] .dayview { background: linear-gradient(170deg, #2C1C32 0%, #241628 100%); }
[data-theme='dark'] .dayview--empty { background: repeating-linear-gradient(-45deg, rgba(255, 236, 214, 0.03) 0 10px, transparent 10px 20px), var(--cream); }
[data-theme='dark'] .slot { background: var(--raised-top); box-shadow: 0 0 0 1px var(--line); }
[data-theme='dark'] .slot__meter { background: rgba(255, 236, 214, 0.1); }
[data-theme='dark'] .slot.is-off .slot__seats { color: #FF9D8F; }
[data-theme='dark'] .meetup { background: rgba(127, 163, 58, 0.14); }
[data-theme='dark'] :is(.field input, .field textarea, .phone select, .phone input) { background-color: var(--raised-bottom); color: var(--ink); }
[data-theme='dark'] :is(.field input, .field textarea)::placeholder { color: rgba(245, 234, 220, 0.42); }
[data-theme='dark'] .phone select option { background: var(--paper); color: var(--ink); }
[data-theme='dark'] .wa-opt { background: rgba(37, 211, 102, 0.08); }
[data-theme='dark'] .wa-opt input { background: rgba(255, 236, 214, 0.18); }
[data-theme='dark'] .wa-opt input:checked { background: #1FA855; }
[data-theme='dark'] .ticket__sky { background: linear-gradient(180deg, #2B1A31, #1E1222); }
[data-theme='dark'] :is(.field input, .field textarea, .phone select, .phone input):not(:hover):not(:focus):not(.is-bad) { box-shadow: inset 0 0 0 1px rgba(255, 228, 206, 0.16); }
[data-theme='dark'] :is(.bk-option input, .check input):not(:checked) { box-shadow: inset 0 0 0 1.5px rgba(255, 228, 206, 0.38); }
