/* ═════════════ Booking request page for ads (/book) — made for phones first ═════════════ */
body[data-page="book"] { padding-bottom: 0; }
.bk { min-height: 100svh; display: flex; flex-direction: column; max-width: 560px; margin: 0 auto; }
.bk-top { position: sticky; top: 0; z-index: 5; display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; height: 54px; padding: 0 8px; padding-top: env(safe-area-inset-top); background: #0e0d0cf2; backdrop-filter: blur(10px); }
.bk-back { width: 44px; height: 44px; display: grid; place-items: center; }
.bk-back svg { width: 22px; height: 22px; fill: none; stroke: var(--text); stroke-width: 1.6; }
.bk-logo { grid-column: 2; display: flex; align-items: center; justify-content: center; gap: 8px; font: 400 10px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; white-space: nowrap; }
.bk-logo img { width: 30px; height: auto; }
.bk-count { font-size: 12px; color: var(--muted); text-align: right; padding-right: 8px; }
.bk-bar { height: 2px; background: var(--line); }
.bk-bar i { display: block; height: 100%; width: 0; background: var(--gold); transition: width .45s ease; }

.bk-main { flex: 1; padding: 22px 16px calc(96px + env(safe-area-inset-bottom)); }
.bk-step { animation: bk-in .3s ease both; }
.bk-step.from-left { animation-name: bk-back; }
@keyframes bk-in { from { opacity: 0; transform: translateX(20px); } }
@keyframes bk-back { from { opacity: 0; transform: translateX(-20px); } }

.bk-h { font: 300 34px/1.1 var(--serif); }
.bk-h em { font-style: italic; color: var(--gold); }
.bk-sub { color: var(--muted); margin: 6px 0 18px; font-size: 15px; line-height: 1.5; }
.bk-sub b { color: var(--text); font-weight: 400; }

/* Events: 6 photo tiles, 2 per row, short enough that all fit on one phone screen */
.bk-events { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bk-ev { position: relative; height: clamp(96px, 17svh, 150px); overflow: hidden; border: 1.5px solid var(--line); background: var(--surface); text-align: left; transition: border-color .2s, transform .12s; -webkit-tap-highlight-color: transparent; }
.bk-ev:active { transform: scale(.97); }
.bk-ev img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; opacity: .6; transition: opacity .2s; }
.bk-ev::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, #0e0d0ce6, #0e0d0c00 70%); }
.bk-ev b { position: absolute; left: 12px; bottom: 9px; z-index: 1; font: 400 22px/1 var(--serif); }
.bk-tick { position: absolute; top: 8px; right: 8px; z-index: 1; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid #efe9e1aa; background: #0e0d0c66; transition: background .2s, border-color .2s; }
.bk-ev.on { border-color: var(--gold); }
.bk-ev.on img { opacity: .95; }
.bk-ev.on .bk-tick { background: var(--gold); border-color: var(--gold); }
.bk-ev.on .bk-tick::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid #0e0d0c; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Days: four big squares */
.bk-days { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bk-day { position: relative; aspect-ratio: 1.35; display: grid; place-content: center; gap: 2px; border: 1.5px solid var(--line); background: var(--surface); transition: border-color .2s, background .2s, transform .12s; -webkit-tap-highlight-color: transparent; }
.bk-day:active { transform: scale(.97); }
.bk-day b { font: 300 46px/1 var(--serif); }
.bk-day small { color: var(--muted); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.bk-day.tip::before { content: "Most chosen"; position: absolute; top: 8px; left: 0; right: 0; text-align: center; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.bk-day.on { border-color: var(--gold); background: var(--gold-soft); }
.bk-day.on b { color: var(--gold); }

/* Team: one-tap rows */
.bk-list { display: grid; gap: 8px; }
.bk-opt { position: relative; display: grid; gap: 3px; text-align: left; padding: 15px 44px 15px 16px; border: 1.5px solid var(--line); background: var(--surface); transition: border-color .2s, background .2s, transform .12s; -webkit-tap-highlight-color: transparent; }
.bk-opt:active { transform: scale(.98); }
.bk-opt b { font-weight: 300; font-size: 17px; line-height: 1.3; }
.bk-opt::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border: solid var(--muted); border-width: 1.5px 1.5px 0 0; transform: translateY(-50%) rotate(45deg); }
.bk-opt.on { border-color: var(--gold); background: var(--gold-soft); }
.bk-opt.on::after { border-color: var(--gold); }
.bk-price { color: var(--gold); font-size: 13px; }

/* Date + city */
.bk-when { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 18px 0 8px; }
.bk-date { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; padding: 0 14px; height: 56px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; font-size: 16px; color: var(--muted); }
.bk-date span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-date.has { color: var(--text); border-color: var(--gold); }
.bk-date input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; color-scheme: dark; cursor: pointer; }
.bk-date svg { width: 20px; height: 20px; fill: none; stroke: var(--gold); stroke-width: 1.4; flex: none; }
.bk-cities { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bk-chip { height: 56px; padding: 0 14px; border: 1.5px solid var(--line); background: var(--surface); font-size: 16px; transition: border-color .2s, background .2s; -webkit-tap-highlight-color: transparent; }
.bk-chip.on { border-color: var(--gold); background: var(--gold-soft); color: var(--gold); }
.bk-input { display: block; width: 100%; height: 58px; padding: 0 16px; margin-top: 8px; background: var(--surface); border: 1.5px solid var(--line); color: var(--text); font: 300 17px var(--sans); outline: none; border-radius: 0; transition: border-color .2s; -webkit-appearance: none; }
.bk-input::placeholder { color: #8a8278; }
.bk-input:focus { border-color: var(--gold); }

/* Contact */
.bk-form { display: grid; gap: 2px; }
.bk-err { color: #e8907f; font-size: 14px; margin-top: 6px; }
.bk-err:empty { display: none; }
.bk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Bottom button, always within thumb reach */
.bk-foot { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(to top, #0e0d0c 75%, #0e0d0c00); }
.bk-next { display: flex; justify-content: center; width: 100%; max-width: 528px; margin: 0 auto; padding: 0; height: 56px; align-items: center; font-size: 13px; }
.bk-next:disabled { background: var(--surface); color: var(--muted); border-color: var(--line); cursor: default; }

/* Thank you */
.bk-done { text-align: center; padding-top: 7svh; }
.bk-done .bk-sub { max-width: 32ch; margin: 12px auto 0; }
.bk-check { width: 72px; height: 72px; margin: 0 auto 22px; }
.bk-check svg { width: 100%; height: 100%; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bk-check circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: bk-draw .7s ease forwards; }
.bk-check path { stroke-dasharray: 36; stroke-dashoffset: 36; animation: bk-draw .4s .6s ease forwards; }
@keyframes bk-draw { to { stroke-dashoffset: 0; } }
.bk-done-actions { display: grid; gap: 16px; margin-top: 32px; }
.bk-done-actions .btn { justify-content: center; height: 56px; }
.bk-wa { color: var(--muted); font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 360px) {
  .bk-h { font-size: 30px; }
  .bk-logo span { display: none; }
}
@media (min-width: 700px) {
  .bk-main { padding-top: 48px; }
  .bk-h { font-size: 44px; }
  .bk-ev { height: 160px; }
}
@media (prefers-reduced-motion: reduce) {
  .bk-step, .bk-check circle, .bk-check path { animation: none; stroke-dashoffset: 0; }
}
