/* Booking engine (shared by every hotel). Brand comes only from theme.css: --color-primary / --color-secondary /
   --color-accent / fonts / --radius, so each hotel's booking pages match its website. */
body.booking {
  --bk-bg: color-mix(in srgb, var(--color-secondary) 35%, #F7F7F9);
  --bk-card: #FFFFFF;
  --bk-line: #E6E7EE;
  --bk-ink: #17192B;
  --bk-muted: #666B80;
  --bk-soft: color-mix(in srgb, var(--color-accent) 12%, #fff);
  --bk-dark: var(--color-primary);
  --bk-shadow: 0 1px 2px rgba(23, 25, 43, .04), 0 18px 40px rgba(23, 25, 43, .08);
  --bk-r: calc(var(--radius) + 10px);
  --bk-r-sm: calc(var(--radius) + 6px);
  background: var(--bk-bg);
  color: var(--bk-ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
.booking h1, .booking h2, .booking h3 { color: var(--bk-ink); font-family: var(--font-heading); letter-spacing: -.01em; }
.booking .container { max-width: 1180px; }

/* ---------- Header ---------- */
.bk-header { background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--bk-line); position: sticky; top: 0; z-index: 20; }
.bk-header-row { display: flex; align-items: center; gap: 14px; min-height: 68px; }
.bk-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; min-width: 0; }
.bk-brand .logo { max-height: 44px; width: auto; }
.bk-brand-mark {
  width: 38px; height: 38px; border-radius: var(--bk-r-sm); display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 700;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); flex-shrink: 0;
}
.bk-brand-name { font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem; color: var(--bk-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bk-header-links { display: flex; align-items: center; gap: 10px; }
.bk-phone { color: var(--bk-muted); text-decoration: none; font-size: .9rem; white-space: nowrap; }
.bk-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--bk-line); padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--bk-ink); font-size: .88rem; background: #fff; white-space: nowrap; transition: border-color .2s, color .2s; }
.bk-chip-count[hidden] { display: none; }
.bk-chip:hover { border-color: var(--color-accent); color: var(--color-accent); }
.bk-chip-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--color-accent); color: #fff; font-size: .72rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.bk-main { padding-top: 26px; padding-bottom: 120px; }
.bk-footer { color: var(--bk-muted); font-size: .85rem; padding: 24px 0 36px; text-align: center; }
.bk-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-top: 10px; }
.bk-legal a { color: var(--bk-muted); }

/* ---------- Hero + search ---------- */
.bk-hero {
  position: relative; overflow: hidden; border-radius: var(--bk-r); margin-bottom: 26px; padding: 56px 32px 28px; color: #fff;
  background: linear-gradient(135deg, var(--color-primary), color-mix(in srgb, var(--color-primary) 55%, var(--color-accent)));
  box-shadow: var(--bk-shadow);
}
.bk-hero-photo { position: absolute; inset: 0; }
.bk-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.bk-hero.has-photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, color-mix(in srgb, var(--color-primary) 45%, transparent) 0%, color-mix(in srgb, var(--color-primary) 88%, transparent) 100%);
}
.bk-hero-text { position: relative; z-index: 2; margin-bottom: 22px; }
.bk-eyebrow { margin: 0 0 6px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.bk-hero h1 { color: #fff; margin: 0; font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.1; }
.bk-search {
  position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end;
  background: #fff; color: var(--bk-ink); border-radius: var(--bk-r-sm); padding: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.22);
}
.bk-search .bk-field { flex: 1 1 140px; margin: 0; }
.bk-search .bk-field-date { flex: 1 1 170px; }
.bk-search .bk-field-sm { flex: 0 1 100px; }
.bk-search-btn { flex: 0 0 auto; min-height: 50px; padding-left: 30px; padding-right: 30px; }
.bk-ages { display: contents; }
.bk-ages[hidden], .bk-ages-note[hidden] { display: none; }
.bk-ages-note { flex: 1 1 100%; margin: 0; color: var(--bk-muted); }

/* ---------- Page heading (cart, checkout...) ---------- */
.bk-page-head { margin: 4px 0 18px; }
.bk-page-head h1 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.bk-page-head .bk-eyebrow { color: var(--color-accent); opacity: 1; }

/* ---------- Steps ---------- */
.bk-steps { list-style: none; display: flex; padding: 14px 18px; margin: 0 0 24px; background: #fff; border-radius: 999px; box-shadow: var(--bk-shadow); }
.bk-steps li { flex: 1; display: flex; align-items: center; gap: 10px; color: var(--bk-muted); font-size: .86rem; }
.bk-steps li:not(:last-child)::after { content: ""; flex: 1; height: 2px; background: var(--bk-line); margin: 0 10px; border-radius: 2px; }
.bk-steps li.done:not(:last-child)::after { background: var(--color-accent); }
.bk-step-dot {
  width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  background: #fff; border: 2px solid var(--bk-line); font-weight: 700; font-size: .8rem;
}
.bk-steps li.active { color: var(--bk-ink); font-weight: 600; }
.bk-steps li.active .bk-step-dot { border-color: var(--color-accent); color: var(--color-accent); box-shadow: 0 0 0 5px var(--bk-soft); }
.bk-steps li.done .bk-step-dot { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
@media (max-width: 760px) {
  .bk-steps { border-radius: var(--bk-r-sm); padding: 12px; }
  .bk-steps li { flex: 1 1 0; min-width: 0; gap: 6px; }
  .bk-steps li.active { flex: 0 0 auto; }
  .bk-steps li:not(:last-child)::after { margin: 0 6px; min-width: 6px; }
  .bk-step-text { display: none; }
  .bk-steps li.active .bk-step-text { display: inline; white-space: nowrap; }
  .bk-step-dot { width: 26px; height: 26px; }
}

/* ---------- Fields ---------- */
.bk-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; min-width: 0; }
.bk-field label { font-size: .74rem; font-weight: 700; color: var(--bk-muted); text-transform: uppercase; letter-spacing: .06em; }
.bk-field input, .bk-field select, .bk-field textarea {
  font: inherit; color: var(--bk-ink); padding: 12px 14px; min-height: 50px; border: 1px solid var(--bk-line); border-radius: var(--bk-r-sm);
  background: #FAFAFC; width: 100%; box-sizing: border-box; transition: border-color .2s, box-shadow .2s, background .2s;
}
.bk-field textarea { min-height: 100px; }
.bk-field input:focus, .bk-field select:focus, .bk-field textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 4px var(--bk-soft); background: #fff; }
.bk-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 16px; }

/* ---------- Buttons ---------- */
.bk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: var(--bk-r-sm); font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; border: 1px solid transparent; white-space: nowrap; transition: transform .15s, filter .15s, box-shadow .15s, background .15s; }
.bk-btn-primary { color: #fff; background: var(--color-accent); box-shadow: 0 10px 24px color-mix(in srgb, var(--color-accent) 35%, transparent); }
.bk-btn-primary:hover { filter: brightness(1.06); transform: translateY(-1px); }
.bk-btn-primary:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.bk-btn-ghost { background: #fff; border-color: var(--bk-line); color: var(--bk-ink); }
.bk-btn-ghost:hover { border-color: var(--color-accent); color: var(--color-accent); }
.bk-btn-danger { background: #fff; border-color: #F4B4C0; color: #C2264B; }
.bk-btn-danger:hover { background: #FFF0F3; }
.bk-btn-block { width: 100%; margin-top: 8px; }
.bk-btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.bk-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }

/* ---------- Alerts / misc ---------- */
.bk-alert { border-radius: var(--bk-r-sm); padding: 13px 16px; margin: 0 0 16px; font-size: .93rem; }
.bk-alert.info { background: #EEF4FF; color: #23407E; }
.bk-alert.error { background: #FFF0F3; color: #A51E40; }
.bk-alert.success { background: #EAFBF3; color: #11694F; }
/* Pay page: "Cancel and release the rooms" (quiet text button) */
.bk-release { margin-top: 10px; }
.bk-link-btn { background: none; border: 0; padding: 0; font: inherit; font-size: .88rem; color: var(--bk-muted, #6b7280); text-decoration: underline; cursor: pointer; }
.bk-link-btn:hover { color: #A51E40; }
.bk-muted { color: var(--bk-muted); }
.bk-small { font-size: .84rem; }

/* ---------- Results ---------- */
.bk-results-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 6px 0 16px; }
.bk-results-head h2 { margin: 0; font-size: 1.35rem; }
.bk-empty { background: #fff; border-radius: var(--bk-r); padding: 44px 24px; text-align: center; display: grid; gap: 6px; justify-items: center; box-shadow: var(--bk-shadow); color: var(--bk-muted); }
.bk-empty strong { color: var(--bk-ink); font-size: 1.15rem; }
.bk-empty-icon { font-size: 2.4rem; }
.bk-room { display: grid; grid-template-columns: 1fr; background: var(--bk-card); border-radius: var(--bk-r); box-shadow: var(--bk-shadow); overflow: hidden; margin-bottom: 22px; border: 2px solid transparent; transition: border-color .2s; }
.bk-room.is-highlighted { border-color: var(--color-accent); }
@media (min-width: 900px) { .bk-room { grid-template-columns: 340px 1fr; } }
.bk-room.is-unavailable { opacity: .65; }
.bk-room-media { position: relative; background: var(--bk-soft); min-height: 220px; }
.bk-room-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bk-room-placeholder { position: absolute; inset: 0; background: linear-gradient(135deg, var(--bk-soft), color-mix(in srgb, var(--color-primary) 25%, #fff)); }
.bk-badge { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 999px; font-size: .76rem; font-weight: 700; background: #fff; color: var(--bk-ink); box-shadow: 0 6px 16px rgba(0,0,0,.14); }
.bk-badge.hot { background: #E5484D; color: #fff; }
.bk-badge + .bk-badge { top: 48px; }
.bk-room-body { padding: 22px 24px; }
.bk-room-title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.bk-room-body h3 { margin: 0 0 8px; font-size: 1.45rem; }
.bk-facts { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.bk-facts li { font-size: .82rem; padding: 4px 10px; border-radius: 999px; background: #F2F3F7; color: var(--bk-ink); }
.bk-room-desc { margin: 6px 0 4px; font-size: .93rem; }
.bk-plan {
  display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 16px 18px; margin-top: 12px;
  border: 1.5px solid var(--bk-line); border-radius: var(--bk-r-sm); transition: border-color .2s, box-shadow .2s, background .2s;
}
.bk-plan:hover { border-color: color-mix(in srgb, var(--color-accent) 60%, var(--bk-line)); }
.bk-plan.is-selected { border-color: var(--color-accent); background: var(--bk-soft); box-shadow: 0 8px 20px color-mix(in srgb, var(--color-accent) 18%, transparent); }
.bk-plan-info strong { font-size: 1.02rem; }
.bk-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.bk-tag { font-size: .74rem; padding: 3px 10px; border-radius: 999px; background: #F1F2F8; color: var(--bk-ink); font-weight: 600; }
.bk-tag.ok { background: #E7F8F0; color: #137A57; }
.bk-tag.warn { background: #FFF1E3; color: #9A5300; }
.bk-price { font-size: 1.55rem; font-weight: 800; color: var(--bk-ink); line-height: 1.1; font-variant-numeric: tabular-nums; }
.bk-was { color: var(--bk-muted); font-size: .9rem; font-variant-numeric: tabular-nums; }
.bk-tag.deal { background: #E5484D; color: #fff; }
.bk-qty { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: .82rem; font-weight: 700; color: var(--bk-muted); text-transform: uppercase; letter-spacing: .05em; }
.bk-qty select { font: inherit; font-size: 1rem; font-weight: 700; color: var(--bk-ink); text-transform: none; min-width: 74px; padding: 9px 12px; border: 1.5px solid var(--bk-line); border-radius: var(--bk-r-sm); background: #fff; cursor: pointer; }
.bk-qty select:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 4px var(--bk-soft); }
.bk-plan.is-selected .bk-qty select { border-color: var(--color-accent); }
@media (max-width: 600px) { .bk-plan { grid-template-columns: 1fr; } }

/* Sticky selection bar */
.bk-selection-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 12px 0; color: #fff;
  background: color-mix(in srgb, var(--bk-dark) 96%, transparent); backdrop-filter: blur(10px); box-shadow: 0 -12px 30px rgba(0,0,0,.18);
  transform: translateY(0); transition: transform .3s; }
.bk-selection-bar .bk-muted { color: rgba(255,255,255,.75); }
.bk-selection-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.bk-selection-inner strong { display: block; font-size: 1.05rem; }
.bk-selection-total { display: flex; align-items: center; gap: 16px; }
.bk-selection-total .bk-price { color: #fff; }

/* ---------- Cards / layout (cart, checkout, payment) ---------- */
.bk-layout { display: grid; gap: 24px; align-items: start; }
@media (min-width: 960px) { .bk-layout { grid-template-columns: minmax(0, 1fr) 370px; } }
.bk-card { background: var(--bk-card); border-radius: var(--bk-r); padding: 26px; box-shadow: var(--bk-shadow); margin-bottom: 20px; }
.bk-card h1 { font-size: 1.6rem; margin: 0; }
.bk-card h2 { font-size: 1.3rem; margin: 0 0 6px; }
.bk-card-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.bk-narrow { max-width: 480px; margin: 0 auto; }
.bk-timer { background: #FFF4E0; color: #9A5B00; padding: 7px 14px; border-radius: 999px; font-size: .85rem; font-weight: 700; }
.bk-more { margin: 4px 0 14px; }
.bk-more summary { cursor: pointer; color: var(--color-accent); font-weight: 700; font-size: .9rem; margin-bottom: 10px; }
.bk-pay { border: 0; padding: 0; margin: 6px 0 16px; display: grid; gap: 10px; }
.bk-pay legend { font-weight: 700; margin-bottom: 10px; font-family: var(--font-heading); font-size: 1.1rem; }
.bk-radio-card { display: flex; gap: 12px; align-items: flex-start; padding: 15px 16px; border: 1.5px solid var(--bk-line); border-radius: var(--bk-r-sm); cursor: pointer; background: #fff; transition: border-color .2s, background .2s; }
.bk-radio-card input { margin-top: 4px; accent-color: var(--color-accent); width: 18px; height: 18px; }
.bk-radio-card span { display: grid; }
.bk-radio-card small { color: var(--bk-muted); }
.bk-radio-card:has(input:checked) { border-color: var(--color-accent); background: var(--bk-soft); }
.bk-check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--bk-muted); margin: 8px 0; }
.bk-check input { accent-color: var(--color-accent); margin-top: 3px; width: 18px; height: 18px; }
.bk-check a { color: var(--color-accent); }

/* Cart */
.bk-cart-rooms { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.bk-cart-rooms li { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--bk-line); border-radius: var(--bk-r-sm); }
.bk-cart-rooms li > div { display: grid; }
.bk-cart-no { width: 34px; height: 34px; border-radius: 50%; background: var(--bk-soft); color: var(--color-accent); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.bk-cart-price { font-weight: 800; font-variant-numeric: tabular-nums; }
.bk-extra-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 12px 0 16px; }
.bk-extra-tile { position: relative; display: grid; gap: 2px; padding: 14px 16px 14px 44px; border: 1.5px solid var(--bk-line); border-radius: var(--bk-r-sm); cursor: pointer; transition: border-color .2s, background .2s; }
.bk-extra-tile input { position: absolute; left: 16px; top: 17px; width: 18px; height: 18px; accent-color: var(--color-accent); }
.bk-extra-tile:has(input:checked), .bk-extra-tile.is-on { border-color: var(--color-accent); background: var(--bk-soft); }
.bk-extra-name { font-weight: 700; }
.bk-extra-price { color: var(--color-accent); font-weight: 700; font-size: .92rem; }
.bk-extra-price small { color: var(--bk-muted); font-weight: 400; }
.bk-extras-card.is-saving .bk-extra-grid { opacity: .6; pointer-events: none; }
.bk-extras-card [hidden] { display: none !important; }
.bk-cart-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 6px 0 8px; }
.bk-cart-actions form { margin: 0; }

/* ---------- Summary ---------- */
.bk-summary { background: var(--bk-card); border-radius: var(--bk-r); box-shadow: var(--bk-shadow); overflow: hidden; position: sticky; top: 90px; }
.bk-summary-head { padding: 22px 24px; color: #fff; background: linear-gradient(135deg, var(--color-primary), color-mix(in srgb, var(--color-primary) 60%, var(--color-accent))); }
.bk-summary-head small { opacity: .8; text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; }
.bk-summary-head h2 { color: #fff; margin: 2px 0; font-size: 1.25rem; }
.bk-summary-head span { opacity: .9; font-size: .88rem; }
.bk-summary-dates { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; padding: 18px 24px 0; }
.bk-summary-dates small { display: block; color: var(--bk-muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.bk-summary-dates div:last-child { text-align: right; }
.bk-nights { background: var(--bk-soft); color: var(--color-accent); font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.bk-summary > .bk-muted { padding: 0 24px; font-size: .88rem; }
.bk-nightly { padding: 0 24px; font-size: .88rem; }
.bk-nightly summary { cursor: pointer; color: var(--bk-muted); }
.bk-nightly table, .bk-totals { width: 100%; border-collapse: collapse; }
.bk-nightly td, .bk-totals td { padding: 6px 0; }
.bk-nightly td:last-child, .bk-totals td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.bk-totals { margin: 8px 24px 0; width: calc(100% - 48px); }
.bk-totals tr.total td { border-top: 1px dashed var(--bk-line); padding-top: 12px; font-weight: 800; font-size: 1.2rem; }
.bk-totals tr.paid td { color: #137A57; }
.bk-totals tr.extra small { display: block; color: var(--bk-muted); font-size: .78rem; }
.bk-policy { margin: 14px 24px 22px; padding: 11px 13px; background: #F7F8FC; border-radius: var(--bk-r-sm); font-size: .82rem; color: var(--bk-muted); }

/* ---------- Result states (confirmation, manage) ---------- */
.bk-result { text-align: center; padding: 12px 0 8px; }
.bk-result h1 { margin: 12px 0 6px; }
.bk-result-icon { width: 76px; height: 76px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 700; color: #fff; }
.bk-result.ok .bk-result-icon { background: linear-gradient(135deg, #34D399, #10B981); box-shadow: 0 14px 30px rgba(16,185,129,.35); }
.bk-result.wait .bk-result-icon { background: linear-gradient(135deg, #FBBF24, #F59E0B); }
.bk-result.off .bk-result-icon { background: linear-gradient(135deg, #FB7185, #E11D48); }
.bk-result-icon.spin { animation: bk-spin 1.6s linear infinite; }
@keyframes bk-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .bk-result-icon.spin { animation: none; } .bk-btn, .bk-selection-bar { transition: none; } }
.bk-ref { font-size: 1.15rem; letter-spacing: .06em; background: var(--bk-soft); color: var(--color-accent); padding: 2px 10px; border-radius: 8px; }
.bk-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 20px 0 4px; }
.bk-info-grid div { background: #F7F8FC; border-radius: var(--bk-r-sm); padding: 13px 15px; }
.bk-info-grid small { display: block; color: var(--bk-muted); font-size: .75rem; }
.bk-status { padding: 5px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; background: #F1F2F8; }
.bk-status.s-confirmed { background: #E7F8F0; color: #137A57; }
.bk-status.s-cancelled, .bk-status.s-expired { background: #FFF0F3; color: #A51E40; }
.bk-status.s-pendingpayment { background: #FFF4E0; color: #9A5B00; }
.bk-cancel-box { border: 1px solid #F6D2DA; background: #FFFAFB; border-radius: var(--bk-r-sm); padding: 16px 18px; margin: 18px 0; }
.bk-cancel-box h2 { margin: 0 0 6px; font-size: 1.1rem; }

/* ---------- Small screens ---------- */
@media (max-width: 600px) {
  .bk-phone { display: none; }
  .bk-brand-name { display: none; }
  .bk-header-links { gap: 6px; }
  .bk-chip { padding: 7px 11px; font-size: .82rem; }
  /* "Back to website": arrow only, the label stays for screen readers */
  .bk-chip-site .bk-chip-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .bk-selection-bar { padding: 10px 0; }
  .bk-selection-inner { gap: 8px; }
  .bk-hero { padding: 36px 16px 16px; }
  .bk-search { padding: 12px; }
  .bk-search .bk-field-date { flex: 1 1 100%; }
  .bk-search .bk-field-sm { flex: 1 1 28%; }
  .bk-search-btn { flex: 1 1 100%; }
  .bk-card { padding: 20px 16px; }
  .bk-room-body { padding: 18px 16px; }
  .bk-selection-total { width: 100%; justify-content: space-between; }
}

/* House rules on the confirmation (short rules from Hotel details). */
.bk-rules { text-align: left; margin: 18px 0 4px; padding: 16px 18px; border-radius: var(--bk-r-sm); background: #F7F8FC; }
.bk-rules h2 { margin: 0 0 6px; font-size: 1.05rem; }
.bk-rules-text { font-size: .9rem; color: var(--bk-muted); }
.bk-rules-text ul { margin: 0; padding-left: 18px; }
[data-bk-detail].is-warning { color: #b45309; font-weight: 600; }
/* Summary: long names (offers, extras) wrap inside the label column so amounts are never pushed out of the card. */
.bk-totals { table-layout: fixed; }
.bk-totals td:first-child { overflow-wrap: anywhere; word-break: break-word; padding-right: 10px; }
.bk-totals td:last-child { width: 38%; white-space: nowrap; vertical-align: top; }
.bk-totals tr.discount td { color: #15803d; font-weight: 600; } .bk-totals tr.discount small { display: block; font-weight: 400; color: var(--bk-muted); }

/* Form fields and buttons use the hotel font too (browsers give them their own font by default). */
.booking button, .booking input, .booking select, .booking textarea { font-family: inherit; }

/* =====================================================================================================================
   Booking engine refresh (Oct 2026): price calendar, rooms & guests drop-down, room details window, prices with taxes
   on their own line. Colours still come only from theme.css.
   ===================================================================================================================== */
/* The hero lets the date and guest drop-downs hang below it; only its photo and shade are clipped to the rounded box. */
.bk-hero { overflow: visible; z-index: 5; }
.bk-hero-photo { overflow: hidden; border-radius: inherit; }
.bk-hero.has-photo::before { border-radius: inherit; }
.bk-perks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 14px 0 0; font-size: .86rem; opacity: .92; }
.bk-perks li::before { content: "\2713"; margin-right: 6px; font-weight: 800; color: color-mix(in srgb, var(--color-accent) 40%, #fff); }

/* Search bar: dates · rooms & guests · Search */
.bk-search { align-items: flex-end; padding: 14px 16px; gap: 12px; border-radius: calc(var(--bk-r-sm) + 4px); }
.bk-dates { position: relative; display: flex; gap: 10px; flex: 0 1 380px; min-width: 0; }
.bk-dates .bk-field-date { flex: 1 1 0; margin: 0; }
.bk-dates.has-cal .bk-field-date { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bk-date-trigger, .bk-guests-sum {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 50px; padding: 4px 14px; text-align: left; cursor: pointer;
  background: #FAFAFC; border: 1px solid var(--bk-line); border-radius: var(--bk-r-sm); color: var(--bk-ink); font: inherit;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.bk-date-trigger:hover, .bk-guests-sum:hover, .bk-date-trigger[aria-expanded="true"], .bk-guests[open] .bk-guests-sum { border-color: var(--color-accent); background: #fff; }
.bk-date-trigger:focus-visible, .bk-guests-sum:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--bk-soft); border-color: var(--color-accent); }
.bk-date-part { display: grid; min-width: 0; }
.bk-date-part small, .bk-guests-label { font-size: .7rem; font-weight: 700; color: var(--bk-muted); text-transform: uppercase; letter-spacing: .06em; }
.bk-date-part strong { white-space: nowrap; font-size: .92rem; line-height: 1.2; }
.bk-date-part small { font-size: .64rem; }
.bk-date-arrow { color: var(--bk-muted); }
.bk-date-trigger .bk-nights { margin-left: auto; }

/* Calendar */
.bk-cal {
  position: absolute; z-index: 40; top: calc(100% + 10px); left: 0; width: min(720px, calc(100vw - 32px)); padding: 16px 18px 12px;
  background: #fff; color: var(--bk-ink); border-radius: var(--bk-r); box-shadow: 0 24px 60px rgba(17, 20, 40, .25); border: 1px solid var(--bk-line);
}
.bk-cal[hidden] { display: none; }
.bk-cal-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.bk-cal-title { margin: 0; font-weight: 700; font-size: .95rem; }
.bk-cal-nav { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--bk-line); background: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--bk-ink); }
.bk-cal-nav:hover:not(:disabled) { border-color: var(--color-accent); color: var(--color-accent); }
.bk-cal-nav:disabled { opacity: .3; cursor: default; }
.bk-cal-months { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.bk-cal-month-name { text-align: center; font-weight: 700; margin: 4px 0 8px; font-family: var(--font-heading); }
.bk-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px 0; }
.bk-cal-dow { text-align: center; font-size: .72rem; font-weight: 700; color: var(--bk-muted); padding: 4px 0; }
.bk-day {
  position: relative; display: grid; justify-items: center; align-content: center; gap: 1px; min-height: 46px; padding: 2px 0;
  border: 0; border-radius: 10px; background: transparent; cursor: pointer; color: var(--bk-ink); font: inherit;
}
.bk-day:hover:not(:disabled) { background: var(--bk-soft); }
.bk-day:focus-visible { outline: 2px solid var(--color-accent); outline-offset: -2px; }
.bk-day-n { font-weight: 600; font-size: .92rem; line-height: 1.1; }
.bk-day-p { font-size: .64rem; color: var(--bk-muted); line-height: 1.1; min-height: .75rem; font-variant-numeric: tabular-nums; }
.bk-day:disabled { cursor: default; color: #C3C6D3; }
.bk-day.is-sold { color: #9A9EB0; }
.bk-day.is-sold::after {
  content: ""; position: absolute; inset: 9px 12px; pointer-events: none;
  background: linear-gradient(45deg, transparent 46%, #C9CBD6 46%, #C9CBD6 54%, transparent 54%), linear-gradient(-45deg, transparent 46%, #C9CBD6 46%, #C9CBD6 54%, transparent 54%);
}
.bk-day.in-range { background: var(--bk-soft); border-radius: 0; }
.bk-day.is-start, .bk-day.is-end { background: var(--color-accent); color: #fff; border-radius: 12px; }
.bk-day.is-start .bk-day-p, .bk-day.is-end .bk-day-p { color: rgba(255, 255, 255, .85); }
.bk-cal-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--bk-line); font-size: .78rem; color: var(--bk-muted); }
.bk-cal-hint { color: #B45309; font-weight: 600; }
@media (max-width: 700px) {
  .bk-cal { position: fixed; left: 8px; right: 8px; top: auto; bottom: 8px; width: auto; max-height: 82vh; overflow-y: auto; }
  .bk-cal-months { grid-template-columns: 1fr; }
}

/* Rooms & guests drop-down */
.bk-guests { position: relative; flex: 1 1 220px; }
.bk-guests-sum { list-style: none; position: relative; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; padding-right: 38px; }
.bk-guests-sum::-webkit-details-marker { display: none; }
.bk-guests-sum strong { font-size: .98rem; }
.bk-guests-sum::after { content: "\25BE"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--bk-muted); }
.bk-guests-pop {
  position: absolute; z-index: 40; top: calc(100% + 10px); right: 0; width: min(360px, calc(100vw - 32px)); padding: 10px 18px 16px;
  background: #fff; color: var(--bk-ink); border-radius: var(--bk-r); box-shadow: 0 24px 60px rgba(17, 20, 40, .25); border: 1px solid var(--bk-line);
}
.bk-step-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--bk-line); }
.bk-step-label { display: grid; }
.bk-step-label label { font-weight: 700; font-size: .98rem; color: var(--bk-ink); }
.bk-step-label small { color: var(--bk-muted); font-size: .8rem; }
.bk-stepper { display: flex; align-items: center; gap: 6px; }
.bk-stepper select { width: 58px; min-height: 38px; padding: 6px 4px; text-align: center; text-align-last: center; font: inherit; font-weight: 700; border: 1px solid var(--bk-line); border-radius: 10px; background: #fff; color: var(--bk-ink); appearance: none; -webkit-appearance: none; }
.bk-step-btn { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--bk-line); background: #fff; color: var(--bk-ink); font-size: 1.15rem; line-height: 1; cursor: pointer; }
.bk-step-btn:hover:not(:disabled) { border-color: var(--color-accent); color: var(--color-accent); }
.bk-step-btn:disabled { opacity: .35; cursor: default; }
.bk-guests-pop .bk-ages { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px 12px; margin-top: 12px; }
.bk-guests-pop .bk-ages:empty { display: none; }
.bk-guests-pop .bk-field-age { margin: 0; }
.bk-guests-pop .bk-field-age select { min-height: 42px; padding: 8px 10px; }
.bk-guests-pop .bk-ages-note, .bk-guests-free { margin: 10px 0 0; }
.bk-guests-done { width: 100%; margin-top: 14px; }
.bk-search .bk-search-btn { flex: 0 0 auto; min-height: 50px; }
.bk-agehint { font-weight: 500; text-transform: none; letter-spacing: 0; opacity: .8; margin-left: 2px; }
.bk-search .bk-field-sm { flex: 0 1 110px; }
.bk-search .bk-guests-free { margin: 0; }
.bk-date-trigger, .bk-guests-sum { box-sizing: border-box; min-width: 0; }
/* The selection bar would cover an open picker on small screens. */
body:has(.bk-cal:not([hidden])) .bk-selection-bar, body:has(.bk-guests[open]) .bk-selection-bar { visibility: hidden; }
@media (max-width: 600px) {
  .bk-dates, .bk-guests { flex: 1 1 100%; }
  .bk-search .bk-search-btn { flex: 1 1 100%; min-height: 52px; }
  .bk-date-trigger { gap: 8px; padding: 8px 12px; }
  .bk-date-trigger .bk-nights { display: none; }
  .bk-guests-pop { left: 0; right: auto; }
  .bk-date-part strong { font-size: .9rem; }
  .bk-search .bk-field-sm { flex: 1 1 0; min-width: 0; align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; }
  .bk-search .bk-field-sm label { white-space: nowrap; }
  .bk-search .bk-field-sm .bk-agehint { display: block; margin: 2px 0 0; }
}

/* Room cards */
.bk-room { border: 1px solid var(--bk-line); }
@media (min-width: 900px) { .bk-room { grid-template-columns: 360px 1fr; } }
.bk-media-link { position: absolute; inset: 0; display: block; overflow: hidden; }
.bk-media-link img { transition: transform .5s; }
.bk-media-link:hover img { transform: scale(1.04); }
.bk-photo-count { position: absolute; right: 12px; bottom: 12px; padding: 5px 11px; border-radius: 999px; background: rgba(17, 20, 40, .72); color: #fff; font-size: .76rem; font-weight: 600; pointer-events: none; }
.bk-facts { gap: 6px 16px; margin: 4px 0 8px; }
.bk-facts li { background: none; padding: 0; color: var(--bk-muted); font-size: .86rem; }
.bk-ico { display: inline-block; width: 1.2em; text-align: center; filter: grayscale(1); opacity: .75; }
.bk-amenity-line { margin: 0 0 6px; }
.bk-details-link { display: inline-flex; align-items: center; gap: 4px; margin: 2px 0 8px; font-weight: 700; font-size: .92rem; color: var(--color-accent); text-decoration: none; }
.bk-details-link:hover { text-decoration: underline; }
.bk-meals { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 0; margin: 6px 0; font-size: .88rem; }
.bk-meals li::before { font-weight: 800; margin-right: 5px; }
.bk-meals li.yes { color: #137A57; }
.bk-meals li.yes::before { content: "\2713"; }
.bk-meals li.no { color: #B42318; }
.bk-meals li.no::before { content: "\2715"; }
.bk-plan-policy { display: block; margin-top: 4px; }
.bk-plan .bk-tag.deal { display: inline-block; margin: 2px 0; }
.bk-tax { color: var(--bk-muted); font-size: .84rem; font-variant-numeric: tabular-nums; }
.bk-selection-total small[hidden] { display: none; }

/* Room details window */
.bk-dialog {
  width: min(880px, calc(100vw - 24px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: var(--bk-r);
  color: var(--bk-ink); background: #fff; box-shadow: 0 30px 80px rgba(10, 12, 30, .35); overflow: hidden;
}
.bk-dialog[open] { display: flex; flex-direction: column; }
.bk-dialog::backdrop { background: rgba(12, 14, 30, .6); backdrop-filter: blur(3px); }
.bk-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--bk-line); }
.bk-dialog-head h2 { margin: 0; font-size: 1.35rem; }
.bk-dialog-close { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--bk-line); background: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--bk-ink); flex-shrink: 0; }
.bk-dialog-close:hover { border-color: var(--color-accent); color: var(--color-accent); }
.bk-dialog-body { overflow-y: auto; padding: 18px 20px 8px; }
.bk-dialog-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 20px; border-top: 1px solid var(--bk-line); background: #FAFAFC; }
.bk-dialog-sub { font-size: 1.05rem; margin: 18px 0 8px; }
.bk-gallery { position: relative; margin-bottom: 14px; }
.bk-gallery-main { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--bk-r-sm); scrollbar-width: none; }
.bk-gallery-main::-webkit-scrollbar { display: none; }
.bk-gallery-main:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
.bk-gallery-slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; aspect-ratio: 16 / 9; background: var(--bk-soft); }
.bk-gallery-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bk-gallery-nav { position: absolute; top: calc((100% - 74px) / 2); transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--bk-ink); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .2); }
.bk-gallery-nav.prev { left: 12px; }
.bk-gallery-nav.next { right: 12px; }
.bk-gallery-count { position: absolute; right: 12px; top: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(17, 20, 40, .72); color: #fff; font-size: .78rem; }
.bk-gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 2px; }
.bk-thumb { flex: 0 0 88px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: none; opacity: .7; }
.bk-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bk-thumb.is-on, .bk-thumb:hover { opacity: 1; border-color: var(--color-accent); }
.bk-facts-lg { gap: 8px 18px; }
.bk-facts-lg li { font-size: .92rem; color: var(--bk-ink); }
.bk-prose { font-size: .95rem; line-height: 1.6; color: #3A3E52; }
.bk-prose p { margin: 0 0 .8em; }
.bk-amenities { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px 16px; font-size: .9rem; }
.bk-amenities li::before { content: "\2713"; color: var(--color-accent); font-weight: 800; margin-right: 8px; }
.bk-know li::before { content: "\2022"; }
@media (max-width: 600px) {
  .bk-dialog { width: 100vw; max-width: 100vw; max-height: 100vh; height: 100vh; border-radius: 0; margin: 0; }
  .bk-gallery-thumbs { display: none; }
  .bk-gallery-nav { top: 50%; }
}
@media (prefers-reduced-motion: reduce) { .bk-media-link img { transition: none; } }

/* Search row: dates picker with its label above like the other fields. */
.bk-dates.has-cal { flex-direction: column; gap: 6px; }
.bk-dates-label { font-size: .74rem; font-weight: 700; color: var(--bk-muted); text-transform: uppercase; letter-spacing: .06em; }

/* Room card: one line of key facts, facilities as small chips. */
.bk-keyline { list-style: none; display: flex; flex-wrap: wrap; padding: 0; margin: 2px 0 10px; color: var(--bk-muted); font-size: .9rem; }
.bk-keyline li + li::before { content: "\00B7"; margin: 0 8px; color: #C3C6D3; }
.bk-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 10px; }
.bk-chips li { padding: 4px 10px; border-radius: 999px; background: #F3F4F8; color: #4A4F66; font-size: .8rem; }
.bk-chips li.more { background: transparent; border: 1px dashed var(--bk-line); }

/* Rate pills: green = included / flexible, grey = not included, amber = no refund, accent = offer. */
.bk-pills { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 8px 0 4px; }
.bk-pill { padding: 4px 11px; border-radius: 999px; font-size: .78rem; font-weight: 600; border: 1px solid transparent; }
.bk-pill.good { background: #E9F7F0; color: #12704F; }
.bk-pill.good::before { content: "\2713"; margin-right: 5px; }
.bk-pill.plain { background: #F3F4F8; color: #5B6075; }
.bk-pill.warn { background: #FFF4E5; color: #9A5B00; }
.bk-pill.deal { background: color-mix(in srgb, var(--color-accent) 14%, #fff); color: color-mix(in srgb, var(--color-accent) 75%, #000); }

/* Room details window: horizontal tabs. */
.bk-gallery-slide { aspect-ratio: 16 / 8; }
.bk-tabs { margin-top: 4px; }
.bk-tablist { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--bk-line); margin-bottom: 16px; scrollbar-width: none; }
.bk-tablist::-webkit-scrollbar { display: none; }
.bk-tabs:not(.is-tabbed) .bk-tablist { display: none; }
.bk-tab { flex: 0 0 auto; padding: 11px 14px; border: 0; border-bottom: 3px solid transparent; background: none; font: inherit; font-weight: 600; font-size: .92rem; color: var(--bk-muted); cursor: pointer; margin-bottom: -1px; }
.bk-tab:hover { color: var(--bk-ink); }
.bk-tab.is-on { color: var(--bk-ink); border-bottom-color: var(--color-accent); }
.bk-tab:focus-visible { outline: 2px solid var(--color-accent); outline-offset: -2px; border-radius: 6px 6px 0 0; }
.bk-tabpanel { padding-bottom: 8px; }
.bk-tabpanel[hidden] { display: none; }
.bk-tabs:not(.is-tabbed) .bk-tabpanel + .bk-tabpanel { border-top: 1px solid var(--bk-line); padding-top: 14px; }
.bk-keyfacts { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin-bottom: 14px; }
.bk-keyfacts div { padding: 10px 12px; border-radius: var(--bk-r-sm); background: #F7F8FC; }
.bk-keyfacts small { display: block; font-size: .72rem; color: var(--bk-muted); text-transform: uppercase; letter-spacing: .05em; }
.bk-keyfacts strong { font-size: .92rem; }
.bk-rules-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.bk-rules-list li { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--bk-line); border-radius: var(--bk-r-sm); font-size: .9rem; }
.bk-reviews { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.bk-reviews li { padding: 12px 14px; border-radius: var(--bk-r-sm); background: #F7F8FC; }
.bk-reviews p { margin: 6px 0 0; font-size: .9rem; }
.bk-review-head { display: flex; justify-content: space-between; gap: 10px; }
.bk-stars { color: #F5A524; letter-spacing: 1px; }

/* Header: brand with trust line, icon links, filled cart button. */
.bk-header { background: rgba(255, 255, 255, .86); box-shadow: 0 1px 0 var(--bk-line), 0 8px 30px rgba(17, 20, 40, .05); border-bottom: 0; }
.bk-header::before { content: ""; display: block; height: 3px; background: linear-gradient(90deg, var(--color-primary), var(--color-accent)); }
.bk-header-row { min-height: 72px; gap: 18px; }
.bk-brand { gap: 12px; }
.bk-brand .logo { max-height: 46px; border-radius: 8px; }
.bk-brand-mark { width: 44px; height: 44px; border-radius: 12px; font-size: 1.2rem; box-shadow: 0 6px 16px color-mix(in srgb, var(--color-accent) 30%, transparent); }
.bk-brand-text { display: grid; min-width: 0; line-height: 1.2; }
.bk-brand-name { font-size: 1.12rem; }
.bk-brand-sub { display: inline-flex; align-items: center; gap: 5px; font-size: .76rem; color: #12704F; font-weight: 600; white-space: nowrap; }
.bk-brand-sub svg { width: 14px; height: 14px; fill: currentColor; flex-shrink: 0; }
.bk-header-links { gap: 4px; }
.bk-hlink { display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border-radius: 10px; color: var(--bk-ink); text-decoration: none; font-size: .9rem; font-weight: 500; white-space: nowrap; transition: background .2s, color .2s; }
.bk-hlink svg, .bk-cart-btn svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.bk-hlink svg { color: var(--bk-muted); }
.bk-hlink:hover { background: var(--bk-soft); color: var(--color-accent); }
.bk-hlink:hover svg { color: var(--color-accent); }
.bk-hlink.bk-phone { color: var(--bk-muted); }
.bk-cart-btn { display: inline-flex; align-items: center; gap: 8px; margin-left: 6px; padding: 10px 16px; border-radius: 999px; background: var(--bk-ink); color: #fff; text-decoration: none; font-size: .9rem; font-weight: 600; white-space: nowrap; transition: background .2s, transform .2s; }
.bk-cart-btn:hover { background: var(--color-accent); transform: translateY(-1px); }
.bk-cart-btn .bk-chip-count { background: var(--color-accent); }
.bk-cart-btn:hover .bk-chip-count { background: #fff; color: var(--color-accent); }
.bk-hlink:focus-visible, .bk-cart-btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
@media (max-width: 960px) { .bk-hlink.bk-phone .bk-hlink-label { display: none; } }
@media (max-width: 760px) {
  .bk-brand-sub { display: none; }
  .bk-hlink .bk-hlink-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .bk-hlink { padding: 9px; }
  .bk-header .bk-phone { display: inline-flex; }
}
@media (max-width: 600px) {
  .bk-header-row { min-height: 62px; gap: 8px; }
  .bk-brand-name { display: block; font-size: 1rem; }
  .bk-cart-btn { padding: 9px 13px; margin-left: 2px; }
}

/* Rate rows: details | price | rooms on one compact row. */
.bk-plans { display: grid; gap: 10px; margin-top: 12px; }
.bk-plans .bk-plan { margin-top: 0; padding: 12px 16px; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px 22px; }
.bk-plan-info strong { display: block; }
.bk-plan .bk-pills { margin: 6px 0 0; }
.bk-plan-policy { font-size: .8rem; margin-top: 6px; }
.bk-plan-price { display: grid; justify-items: end; gap: 2px; text-align: right; }
.bk-plan-amount { display: flex; align-items: baseline; gap: 8px; }
.bk-plan .bk-price { font-size: 1.4rem; }
.bk-plan-price small { font-size: .8rem; }
.bk-plan-qty .bk-qty { flex-direction: column; align-items: stretch; gap: 4px; margin: 0; font-size: .7rem; }
.bk-plan-qty .bk-qty select { min-width: 70px; padding: 8px 10px; }
@media (max-width: 600px) {
  .bk-plans .bk-plan { grid-template-columns: minmax(0, 1fr) auto; padding: 12px 14px; }
  .bk-plan-info { grid-column: 1 / -1; }
  .bk-plan-price { justify-items: start; text-align: left; }
  .bk-plan-qty { align-self: end; }
}

/* Room details window: tabs fixed under the title, only the panel scrolls (never the page behind). */
html.bk-modal-open { overflow: hidden; }
.bk-dialog { height: min(760px, calc(100vh - 32px)); }
.bk-dialog > .bk-tablist { flex: 0 0 auto; margin: 0; padding: 0 20px; background: #fff; }
.bk-dialog .bk-dialog-body { flex: 1 1 auto; min-height: 0; overscroll-behavior: contain; padding-top: 16px; }
.bk-dialog-head, .bk-dialog-foot { flex: 0 0 auto; }
.bk-tab-count { display: inline-block; min-width: 20px; margin-left: 4px; padding: 1px 6px; border-radius: 999px; background: #F1F2F8; color: var(--bk-muted); font-size: .72rem; }
.bk-tab.is-on .bk-tab-count { background: var(--color-accent); color: #fff; }
.bk-dialog .bk-gallery { margin-bottom: 0; }
.bk-dialog .bk-gallery-slide { aspect-ratio: 2 / 1; }
.bk-dialog-foot .bk-btn { gap: 8px; }
@media (max-width: 600px) { .bk-dialog { height: 100vh; } .bk-dialog > .bk-tablist { padding: 0 12px; } }

/* Date picker: shaded preview while choosing the check-out (hover or drag). */
.bk-day.in-preview { background: color-mix(in srgb, var(--color-accent) 12%, #fff); border-radius: 0; }
.bk-day.is-preview-end { background: color-mix(in srgb, var(--color-accent) 35%, #fff); }
.bk-cal { user-select: none; }
.bk-deal { display: inline-block; padding: 2px 9px; border-radius: 6px; font-size: .74rem; font-weight: 700; background: #E9F7F0; color: #12704F; }
@media (max-width: 600px) {
  /* A logo says the name already; without one the name stays beside the initial. */
  .bk-brand.has-logo .bk-brand-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .bk-brand .logo { max-height: 40px; }
  .bk-dialog .bk-gallery-slide { aspect-ratio: 4 / 3; }
  .bk-dialog .bk-gallery-thumbs { display: flex; }
  .bk-dialog .bk-gallery-nav { top: calc((100% - 74px) / 2); }
  .bk-dialog-foot .bk-btn { flex: 1 1 100%; justify-content: center; }
}

/* Room card v3: room column (square photo, name, facts and facilities with icons) beside its rates. */
@media (min-width: 900px) { .bk-room { grid-template-columns: 310px 1fr; } }
.bk-room-side { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.bk-room-side .bk-room-media { aspect-ratio: 1 / 1; min-height: 0; border-radius: var(--bk-r-sm); overflow: hidden; }
.bk-room-side .bk-photo-count { pointer-events: auto; text-decoration: none; background: #fff; color: var(--color-accent); left: 12px; right: auto; font-weight: 700; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); }
.bk-room-side .bk-photo-count:hover { background: var(--color-accent); color: #fff; }
.bk-room-info { display: grid; gap: 8px; }
.bk-room-info .bk-room-title { align-items: flex-start; flex-wrap: nowrap; }
.bk-room-info h3 { margin: 0; font-size: 1.2rem; line-height: 1.25; }
.bk-room-info .bk-room-title .bk-small { white-space: nowrap; padding-top: 3px; }
.bk-from { margin: -2px 0 0; color: var(--bk-muted); font-size: .86rem; }
.bk-from strong { color: var(--bk-ink); }
.bk-room-info .bk-facts { display: grid; gap: 6px; margin: 0; }
.bk-room-info .bk-facts li, .bk-amen li { display: flex; align-items: center; gap: 8px; color: var(--bk-ink); font-size: .88rem; }
.bk-room-info .ht-ico, .bk-amen .ht-ico { width: 18px; height: 18px; flex-shrink: 0; color: var(--color-accent); }
.bk-amen { list-style: none; padding: 10px 0 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 7px 12px; border-top: 1px dashed var(--bk-line); }
.bk-amen li { font-size: .82rem; color: #4A4F66; min-width: 0; overflow-wrap: anywhere; }
.bk-amen-dialog { border-top: 0; padding: 0; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px 16px; }
.bk-amen-dialog li { font-size: .9rem; }
.bk-room-side .bk-details-link { margin: 0; }
.bk-room-body { padding: 16px 18px; }
@media (min-width: 900px) { .bk-room-body { border-left: 1px solid var(--bk-line); } }
.bk-room-body .bk-plans { margin-top: 0; }
@media (max-width: 899px) {
  .bk-room-side { display: grid; grid-template-columns: 130px 1fr; align-items: start; }
  .bk-room-side .bk-photo-count { left: 6px; bottom: 6px; padding: 3px 8px; font-size: .7rem; }
  .bk-room-side .bk-badge { left: 6px; top: 6px; padding: 3px 8px; font-size: .68rem; }
  .bk-room-body { padding-top: 0; }
}
@media (max-width: 420px) { .bk-amen { grid-template-columns: 1fr; } }

/* Cancellation tag + policy pop-up with the refund timeline. */
.bk-cxl { position: relative; display: inline-block; }
.bk-cxl > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.bk-cxl > summary::-webkit-details-marker { display: none; }
.bk-cxl > summary.bk-pill.good::before { content: none; }
.bk-cxl-i { display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid currentColor; font: 700 .62rem/1 Georgia, serif; font-style: italic; opacity: .8; }
.bk-cxl > summary:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.bk-cxl-pop { position: absolute; z-index: 40; top: calc(100% + 10px); left: 0; width: min(420px, 86vw); padding: 16px 18px 14px; border-radius: var(--bk-r-sm); background: #fff; color: var(--bk-ink);
  border: 1px solid var(--bk-line); box-shadow: 0 18px 40px rgba(17, 20, 40, .18); font-weight: 400; }
.bk-cxl-pop::before { content: ""; position: absolute; top: -7px; left: 24px; width: 12px; height: 12px; background: #fff; border-left: 1px solid var(--bk-line); border-top: 1px solid var(--bk-line); transform: rotate(45deg); }
.bk-cxl-title { display: block; font-size: 1rem; margin-bottom: 8px; }
.bk-cxl-text { margin: 0; font-size: .88rem; }
.bk-cxl-lines { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 5px; font-size: .86rem; }
.bk-cxl-lines li { display: flex; gap: 8px; }
.bk-cxl-lines li::before { content: "\2713"; color: #12704F; font-weight: 800; }
.bk-cxl-lines li.no::before { content: "\2022"; color: #9A5B00; }
.bk-cxl-bar { display: flex; height: 26px; border-radius: 999px; overflow: hidden; font-size: .72rem; font-weight: 700; }
.bk-cxl-seg { display: flex; align-items: center; justify-content: center; padding: 0 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.bk-cxl-seg.free { background: #1E9E78; color: #fff; }
.bk-cxl-seg.partial { background: #FFE9B8; color: #8A5300; }
.bk-cxl-seg.none { background: #FDE1E1; color: #B42318; }
.bk-cxl-seg + .bk-cxl-seg { border-left: 2px dashed #fff; }
.bk-cxl-axis { position: relative; display: flex; margin-top: 6px; padding-top: 2px; font-size: .72rem; font-weight: 700; color: var(--bk-ink); }
.bk-cxl-axis > span:not(.bk-cxl-now) { text-align: right; white-space: nowrap; }
.bk-cxl-axis small { display: block; font-weight: 500; color: var(--bk-muted); }
.bk-cxl-now { position: absolute; left: 0; top: 2px; }
.bk-g2 { flex: 2 1 0; } .bk-g3 { flex: 3 1 0; } .bk-g4 { flex: 4 1 0; } .bk-g5 { flex: 5 1 0; } .bk-g6 { flex: 6 1 0; } .bk-g7 { flex: 7 1 0; } .bk-g8 { flex: 8 1 0; } .bk-g10 { flex: 10 1 0; }
.bk-plan .bk-pills { overflow: visible; }
@media (max-width: 600px) { .bk-cxl-pop { left: -8px; } }
.bk-room { overflow: visible; } /* the cancellation pop-up may reach past the card */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bk-pills { align-items: center; }
.bk-cxl-axis { min-height: 34px; }
.bk-cxl-axis b { display: block; }
.bk-cxl-axis small { font-size: .68rem; }
/* The deadline date sits centred under the boundary between two stages; check-in at the right end. */
.bk-cxl-axis > .edge { position: relative; }
.bk-cxl-axis > .edge b, .bk-cxl-axis > .edge small { position: absolute; right: 0; transform: translateX(50%); text-align: center; white-space: nowrap; }
.bk-cxl-axis > .edge small { top: 15px; }
.bk-cxl-axis > .last { text-align: right; }
.bk-cxl:not([open]) .bk-cxl-pop { display: none; }
/* Phones: the policy opens as a card above the selection bar, full width. */
@media (max-width: 600px) {
  .bk-cxl-pop { position: fixed; left: 12px; right: 12px; top: auto; bottom: 96px; width: auto; z-index: 60; }
  .bk-cxl-pop::before { display: none; }
}
@media (max-width: 899px) {
  .bk-room { grid-template-columns: minmax(0, 1fr); }
  .bk-room-side { grid-template-columns: 120px minmax(0, 1fr); }
  .bk-room-info .bk-room-title { flex-wrap: wrap; }
  .bk-room-info .bk-room-title .bk-small { padding-top: 0; }
}

/* Room column v4: wider and shorter (facts on one wrapping row, 4:3 photo, 3 facility columns when they fit). */
@media (min-width: 900px) {
  .bk-room { grid-template-columns: 390px 1fr; }
  .bk-room-side .bk-room-media { aspect-ratio: 16 / 10; }
  .bk-room-info .bk-facts { display: flex; flex-wrap: wrap; gap: 6px 16px; }
  .bk-amen { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 12px; }
}

/* Manage booking: cancelled summary and the cancel confirmation. */
.bk-cancelled-box { border: 1px solid var(--bk-line); background: #FAFAFC; border-radius: var(--bk-r-sm); padding: 16px 18px; margin: 18px 0; }
.bk-cancelled-box h2 { margin: 0 0 10px; font-size: 1.1rem; }
.bk-cancelled-facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0 0 8px; font-size: .92rem; }
.bk-cancelled-facts dt { color: var(--bk-muted); }
.bk-cancelled-facts dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.bk-cancelled-facts dd.ok { color: #12704F; }
.bk-check { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: .92rem; }
.bk-check[hidden] { display: none; }
.bk-confirm { width: min(480px, calc(100vw - 24px)); height: auto; max-height: calc(100vh - 32px); }
.bk-confirm .bk-dialog-foot { justify-content: flex-end; }
@media (max-width: 600px) { .bk-confirm { margin: auto; max-width: calc(100vw - 24px); border-radius: var(--bk-r); height: auto; } }

/* Cart: room prices before tax with GST below (same basis as the summary), and the rooms total. */
.bk-cart-price { display: grid; justify-items: end; }
.bk-cart-price small { font-weight: 500; font-size: .78rem; color: var(--bk-muted, #6b7280); }
.bk-cart-sum { display: flex; justify-content: space-between; align-items: baseline; margin: 12px 4px 4px; font-weight: 700; }
.bk-cart-sum small { font-weight: 400; color: var(--bk-muted, #6b7280); }
.bk-nightly summary small, .bk-totals td small { font-weight: 400; color: var(--bk-muted, #6b7280); }

/* Problems the guest must not miss (booking.js): a bold banner at the top of the form, shaken once with a glowing border
   pulse; fields to fix are outlined red with their message. prefers-reduced-motion keeps the colours, drops the motion. */
.bk-problem { display: flex; align-items: flex-start; gap: 14px; margin: 0 0 18px; padding: 16px 18px; border-radius: var(--bk-r-sm);
  background: #FFF1F2; border: 2px solid #E11D48; color: #7F1D1D; box-shadow: 0 10px 26px -12px rgba(225, 29, 72, .45); outline: none; scroll-margin: 90px; }
.bk-problem-ico { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #E11D48; color: #fff;
  font-weight: 800; font-size: 1.15rem; line-height: 1; }
.bk-problem-text strong { display: block; font-size: 1.02rem; color: #9F1239; margin-bottom: 2px; }
.bk-problem-text p { margin: 0; font-size: .95rem; font-weight: 600; color: #7F1D1D; }
.bk-problem-text ul { margin: 4px 0 0; padding-left: 18px; font-size: .93rem; font-weight: 600; }
.bk-problem-text li + li { margin-top: 2px; }
.bk-problem-inline { border: 2px solid #E11D48; font-weight: 500; scroll-margin: 90px; }
.bk-problem:focus-visible, .bk-problem-inline:focus-visible { box-shadow: 0 0 0 4px rgba(225, 29, 72, .25); }
@keyframes bk-shake { 0%, 100% { transform: translateX(0); } 15% { transform: translateX(-9px); } 30% { transform: translateX(8px); }
  45% { transform: translateX(-6px); } 60% { transform: translateX(5px); } 75% { transform: translateX(-3px); } 90% { transform: translateX(2px); } }
@keyframes bk-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(225, 29, 72, .55), 0 10px 26px -12px rgba(225, 29, 72, .45); }
  50% { box-shadow: 0 0 0 9px rgba(225, 29, 72, 0), 0 10px 26px -12px rgba(225, 29, 72, .45); } }
.bk-attn { animation: bk-shake .5s cubic-bezier(.36, .07, .19, .97) .15s 1 both, bk-glow 1.2s ease-out .2s 3; }
@media (prefers-reduced-motion: reduce) {
  .bk-attn { animation: none; box-shadow: 0 0 0 4px rgba(225, 29, 72, .3); }
}
.bk-field input.bk-invalid, .bk-field select.bk-invalid, .bk-field textarea.bk-invalid { border-color: #E11D48 !important; background: #FFF7F8; box-shadow: 0 0 0 4px rgba(225, 29, 72, .12); }
.bk-field-bad > label { color: #BE123C; font-weight: 600; }
.bk-field-msg { display: block; margin-top: 5px; color: #BE123C; font-size: .84rem; font-weight: 600; flex-basis: 100%; }
.bk-check.bk-invalid, .bk-check.bk-field-bad { flex-wrap: wrap; color: #9F1239; background: #FFF1F2; border: 1.5px solid #FDA4AF; border-radius: var(--bk-r-sm); padding: 10px 12px; }
.bk-check.bk-field-bad input, .bk-check.bk-invalid input { outline: 2px solid #E11D48; outline-offset: 2px; }

/* The hotel's "Important notice" before payment, with the required "I have read this" tick. */
.bk-notice { margin: 4px 0 18px; padding: 16px 18px; border-radius: var(--bk-r-sm); background: #FFFBEB; border: 1.5px solid #F59E0B; color: #422006; scroll-margin: 90px; }
.bk-notice h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 1.02rem; color: #78350F; }
.bk-notice-ico { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #F59E0B; color: #fff; font-weight: 800; font-family: Georgia, serif; font-style: italic; font-size: .95rem; }
.bk-notice-body { font-size: .93rem; line-height: 1.55; }
.bk-notice-body > :first-child { margin-top: 0; }
.bk-notice-body > :last-child { margin-bottom: 0; }
.bk-notice-body ul { padding-left: 20px; margin: 6px 0; }
.booking .bk-notice-check { margin: 12px 0 0; padding: 10px 12px; border-radius: var(--bk-r-sm); background: #fff; border: 1px solid #FCD34D; color: var(--bk-ink); }
.bk-notice.bk-invalid { border-color: #E11D48; background: #FFF1F2; }
.bk-check.bk-invalid > span, .bk-check.bk-field-bad > span { flex: 1 1 0; min-width: 0; }

/* Heads-up (not an error): rooms split for the party, child ages needed, search expired. Amber, bold title, one pulse. */
.bk-heads-up { display: flex; align-items: flex-start; gap: 14px; margin: 0 0 18px; padding: 14px 18px; border-radius: var(--bk-r-sm);
  background: #FFFBEB; border: 2px solid #F59E0B; color: #422006; box-shadow: 0 10px 24px -14px rgba(217, 119, 6, .5); outline: none; scroll-margin: 90px; }
.bk-heads-up-ico { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #F59E0B; color: #fff;
  font-weight: 800; font-family: Georgia, serif; font-style: italic; font-size: 1.05rem; }
.bk-heads-up-text strong { display: block; font-size: 1rem; color: #92400E; margin-bottom: 2px; }
.bk-heads-up-text p { margin: 0; font-size: .97rem; font-weight: 600; color: #422006; line-height: 1.5; }
@keyframes bk-amber-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, .6), 0 10px 24px -14px rgba(217, 119, 6, .5); }
  50% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0), 0 10px 24px -14px rgba(217, 119, 6, .5); } }
.bk-heads-up.bk-attn-soft { animation: bk-amber-glow 1.2s ease-out .3s 3; }
@media (prefers-reduced-motion: reduce) { .bk-heads-up.bk-attn-soft { animation: none; box-shadow: 0 0 0 4px rgba(245, 158, 11, .3); } }

/* Promo code box on checkout (its own form above the guest details). */
.bk-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bk-promo { margin: 0 0 16px; }
.bk-promo summary { cursor: pointer; color: var(--color-accent); font-weight: 700; font-size: .9rem; }
.bk-promo-form { display: flex; gap: 8px; margin-top: 10px; }
.bk-promo-form input { flex: 1 1 auto; min-width: 0; padding: 11px 12px; border: 1px solid var(--bk-line, #d1d5db); border-radius: var(--bk-r-sm); font: inherit; text-transform: uppercase; letter-spacing: .04em; }
.bk-promo-form input.bk-invalid { border-color: #E11D48; background: #FFF7F8; }
.bk-promo-form .bk-btn { padding: 11px 18px; background: var(--color-accent); color: #fff; }
.bk-promo-on { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border: 1px dashed #16A34A; border-radius: var(--bk-r-sm); background: #F0FDF4; color: #14532D; font-size: .92rem; }
.bk-promo-error { margin: 8px 0 0; color: #9F1239; font-size: .9rem; }
.bk-req { color: #c0392b; font-weight: 700; }

/* Kind of stay (tent, villa, dorm bed...) above the room name on the booking page. */
.bk-kind {
  display: inline-block; align-self: flex-start; margin-bottom: 2px; padding: 2px 9px; border-radius: 999px;
  font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: color-mix(in srgb, var(--color-accent) 14%, transparent); color: var(--bk-ink);
}

/* ---- Room card offers (running period discounts): price before the offer struck through + "20% off" badge ---- */
.deal-badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: #12704f; color: #fff;
  font: 700 .72rem/1.35 var(--font-body, inherit); letter-spacing: .02em; text-transform: none; white-space: nowrap; vertical-align: middle; }
.price-was { color: var(--muted, #6b7280); font-weight: 500; font-size: .8em; text-decoration-thickness: 1.5px; margin-right: 2px; white-space: nowrap; }
.deal-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bk-from .deal-badge { margin-left: 4px; font-size: .72rem; padding: 2px 9px; border-radius: 6px; background: #e9f7f0; color: #12704f; }
.bk-from .price-was { color: var(--bk-muted); }
