/* A hotel's own booking page: calm, photo-led, phone first (same family as the payment page). */
:root { --ink: #1b2230; --muted: #5e6778; --line: #e6e1d8; --bg: #f4f2ee; --card: #fff; --green: #14482a; --brand: #14482a; --bad: #8a1c1c; --r: 12px; --hfont: Georgia, 'Times New Roman', serif; --bfont: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color-scheme: light; }
:root { --green-2: color-mix(in srgb, var(--brand) 12%, #fff); }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: #fff; color: var(--ink); font: 16px/1.6 var(--bfont); -webkit-font-smoothing: antialiased; }
h1, h2, h3, .bk-btn, .bk-rate-p b, .bk-sum-r.total b, .bk-sum-r.now b { font-family: var(--hfont); font-weight: 400; }
.bk-wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.bk-hero { background: var(--bg) center / cover no-repeat; border-bottom: 1px solid var(--line); }
.bk-hero.has-photo { color: #fff; border: 0; }
.bk-top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 84px; }
.bk-brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.bk-logo { height: 52px; width: auto; }
.bk-wordmark { height: 46px; width: auto; }
.bk-hero:not(.has-photo) .bk-wordmark { filter: invert(1); }
.bk-lang { display: flex; gap: 4px; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.bk-lang a, .bk-lang span { padding: 4px 10px; }
.bk-lang a { color: inherit; opacity: .75; text-decoration: none; }
.bk-lang span { border-bottom: 1px solid currentColor; font-weight: 500; }
.bk-curbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 0 16px; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.bk-curbar-l { font-size: 14px; color: var(--muted); }
.bk-curbar-s { display: grid; grid-template-columns: 1fr 1fr; flex: 1 1 280px; max-width: 420px; border: 1px solid var(--green); border-radius: var(--r); overflow: hidden; }
.bk-curbar-s button { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 10px; border: 0; background: #fff; color: var(--green); font: inherit; font-size: 15px; font-weight: 500; letter-spacing: .03em; cursor: pointer; }
.bk-curbar-s button + button { border-left: 1px solid var(--green); }
.bk-curbar-s button[aria-pressed="true"] { background: var(--green); color: #fff; }
.bk-flag { font-size: 20px; line-height: 1; }
.bk-fx { margin: 4px 0 0; font-size: 12px; color: var(--muted); text-align: right; }
.bk-hero-t { padding: 36px 0 92px; text-align: center; }
.bk-tag { margin: 0 0 6px; font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.bk-h1 { margin: 0 0 6px; font-size: 44px; line-height: 1.15; text-transform: uppercase; letter-spacing: .02em; }
.bk-sub { margin: 0; opacity: .9; }
.bk-hero:not(.has-photo) .bk-sub { color: var(--muted); }
.bk-search { position: relative; margin-top: -56px; display: grid; grid-template-columns: repeat(2, minmax(0, 1.2fr)) repeat(2, minmax(0, .7fr)) minmax(0, 1fr) auto; gap: 10px; align-items: end; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 8px 30px rgba(20, 20, 10, .12); }
.bk-f { display: grid; gap: 4px; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.bk-f input { font: inherit; font-size: 16px; text-transform: none; letter-spacing: 0; color: var(--ink); padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; min-width: 0; }
.bk-btn { padding: 13px 28px; border: 0; border-radius: var(--r); background: var(--green); color: #fff; font-size: 16px; letter-spacing: .02em; cursor: pointer; white-space: nowrap; }
.bk-btn:hover { filter: brightness(1.1); }
.bk-msg { min-height: 1.5em; margin: 12px 2px; color: var(--green); font-weight: 500; }
.bk-msg.bad { color: var(--bad); }
.bk-count { margin: 6px 2px 12px; color: var(--muted); font-size: 14px; }
.bk-rooms { display: grid; gap: 18px; padding-bottom: 32px; }
.bk-room { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: 0 2px 12px rgba(20, 30, 50, .05); }
.bk-ph { position: relative; background: #ddd; min-height: 260px; }
.bk-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bk-ph-b { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); font-size: 22px; line-height: 1; cursor: pointer; }
.bk-ph-b.l { left: 10px; } .bk-ph-b.r { right: 10px; }
.bk-ph-n { position: absolute; bottom: 10px; right: 10px; padding: 2px 8px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 12px; }
.bk-room-b { padding: 18px 20px; display: grid; gap: 8px; align-content: start; }
.bk-room-b h2 { margin: 0; font-size: 26px; line-height: 1.2; }
.bk-meta { margin: 0; color: var(--muted); font-size: 14px; }
.bk-feat { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 4px 0; padding: 0; list-style: none; }
.bk-feat li { display: flex; align-items: center; gap: 7px; font-size: 14px; color: var(--ink); }
.bk-desc { margin: 0; color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bk-desc.open { -webkit-line-clamp: unset; }
.bk-more { justify-self: start; padding: 0; border: 0; background: none; color: var(--green); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
.bk-rates { display: grid; gap: 10px; margin-top: 6px; }
.bk-rate { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); }
.bk-rate.best { border-color: var(--brand); background: var(--green-2); }
.bk-rate-t { display: flex; flex-direction: column; gap: 2px; align-self: stretch; }
.bk-rate-t .bk-save { order: -1; } /* owner: the saving top left… */
.bk-rate-t .bk-left { margin-top: auto; padding-top: 10px; } /* …rooms left bottom left */
.bk-rate-t strong { font-size: 14px; font-weight: 400; color: var(--muted); letter-spacing: .02em; } /* owner: same size as "You save", plain… */
.bk-save { color: var(--green); font-size: 14px; font-weight: 600; line-height: 1.3; } /* …only "You save" bold and in colour */
.bk-left { color: var(--bad); font-size: 13px; }
.bk-rate-p { display: grid; justify-items: end; align-self: stretch; align-content: end; }
.bk-rate-p s { color: var(--muted); font-size: 13px; }
.bk-rate-p b { font-size: 24px; }
.bk-rate-p small { color: var(--muted); font-size: 12px; }
.bk-for { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.bk-rate-p .bk-tax, .bk-rate-t .bk-left { font-size: 13px; line-height: 1.3; } /* owner: "Only 1 left" and the IVA line level, same size */
.bk-rate-p .bk-tax { color: var(--ink); }
.bk-near { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin-top: 14px; }
.bk-near-b { display: grid; gap: 4px; padding: 14px 12px; border: 1px solid var(--green); border-radius: var(--r); background: #fff; color: var(--ink, #1a1b1a); font: inherit; cursor: pointer; }
.bk-near-b b { font-size: 15px; } .bk-near-b span { font-size: 13px; color: var(--muted); }
.bk-near-b:hover, .bk-near-b:focus-visible { background: var(--green); color: #fff; } .bk-near-b:hover span, .bk-near-b:focus-visible span { color: #fff; }
.bk-loading, .bk-empty { padding: 28px; text-align: center; color: var(--muted); background: var(--card); border-radius: var(--r); border: 1px solid var(--line); }
.bk-spin { display: inline-block; width: 18px; height: 18px; margin-right: 8px; vertical-align: -3px; border: 3px solid var(--line); border-top-color: var(--green); border-radius: 50%; animation: bk-spin .9s linear infinite; }
@keyframes bk-spin { to { transform: rotate(360deg); } }
.bk-foot { padding: 16px 16px 40px; color: var(--muted); font-size: 13px; }
@media (max-width: 860px) {
  .bk-search { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .bk-search > .bk-f { grid-column: span 3; }
  .bk-search > .bk-f.bk-n { grid-column: span 3; }
  .bk-promo, .bk-search .bk-btn { grid-column: 1 / -1; }
  .bk-search > .bk-f.bk-promo { grid-column: 1 / -1; }
  .bk-room { grid-template-columns: 1fr; }
  .bk-ph { min-height: 220px; }
  .bk-rate { grid-template-columns: 1fr auto; }
  .bk-rate .bk-pick { grid-column: span 2; }
  .bk-h1 { font-size: 30px; }
  .bk-hero-t { padding: 20px 0 76px; }
  .bk-wordmark { height: 36px; }
}

/* Step 2: the stay and the guest's details */
.bk-co { padding: 20px 0 40px; }
.bk-back { margin: 0 0 14px; padding: 0; border: 0; background: none; color: var(--green); font: inherit; font-weight: 600; cursor: pointer; }
.bk-co-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.bk-guest, .bk-sum { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 2px 12px rgba(20, 30, 50, .05); }
.bk-guest { padding: 20px; display: grid; gap: 14px; }
.bk-guest h2 { margin: 0; font-size: 28px; text-transform: uppercase; letter-spacing: .02em; }
.bk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bk-f.wide { grid-column: span 2; }
.bk-f select, .bk-f textarea { font: inherit; font-size: 16px; text-transform: none; letter-spacing: 0; color: var(--ink); padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; min-width: 0; width: 100%; }
.bk-f input { width: 100%; }
.bk-policy { padding: 12px 14px; background: var(--bg); border-radius: var(--r); }
.bk-policy h3 { margin: 0 0 6px; font-size: 15px; }
.bk-policy ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; }
.bk-agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.bk-agree input { width: 20px; height: 20px; margin: 0; accent-color: var(--green); flex: none; }
.bk-go { width: 100%; padding: 14px; font-size: 17px; }
.bk-sum { overflow: hidden; position: sticky; top: 16px; }
.bk-sum-img { width: 100%; height: 170px; object-fit: cover; display: block; }
.bk-sum-b { padding: 16px 18px; display: grid; gap: 10px; }
.bk-sum-b h3 { margin: 0; font-size: 24px; }
.bk-sum-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bk-sum-dates div { display: grid; }
.bk-sum-dates small { color: var(--muted); font-size: 12px; }
.bk-sum-lines, .bk-due { display: grid; gap: 6px; }
.bk-sum-r { display: flex; justify-content: space-between; gap: 10px; font-size: 15px; }
.bk-sum-r span { color: var(--muted); }
.bk-sum-r b { font-weight: 400; } /* owner: line amounts plain, the total bold */
.bk-sum-r.total { padding-top: 6px; border-top: 1px solid var(--line); font-size: 17px; }
.bk-sum-r.total span { color: var(--ink); font-weight: 600; }
.bk-sum .bk-sum-r.total b { font-family: var(--bfont); font-weight: 700; }
.bk-due { padding: 12px 14px; background: var(--green-2); border-radius: var(--r); }
.bk-sum-r.now { font-size: 17px; }
.bk-sum-r.now span, .bk-sum-r.now b { color: var(--green); font-weight: 700; }
@media (max-width: 860px) {
  .bk-co-grid { grid-template-columns: 1fr; }
  .bk-sum { position: static; order: -1; }
  .bk-grid { grid-template-columns: 1fr; }
  .bk-f.wide { grid-column: auto; }
}

/* Amenity icons and the inclusions line (e.g. breakfast) */
.bk-ic { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--brand); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.bk-incl { display: flex; align-items: center; gap: 8px; margin: 2px 0; padding: 8px 12px; background: var(--green-2); color: var(--green); font-size: 15px; font-weight: 600; }
.bk-incl .bk-ic { width: 18px; height: 18px; stroke: var(--green); }

/* Step 3: payment on the page, confirmation */
.bk-pay #bk-buttons, .bk-pay #bk-screen { min-height: 8px; }
.bk-test { margin: 0; padding: 10px 14px; background: #fff4d6; color: #6b4b00; font-size: 14px; }
.bk-safe { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.bk-done { margin: 30px auto; max-width: 640px; padding: 34px 26px; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.bk-done.ok { background: var(--green-2); border-color: color-mix(in srgb, var(--brand) 40%, #fff); }
.bk-done-ic { display: inline-grid; place-items: center; width: 60px; height: 60px; margin-bottom: 12px; border-radius: 50%; background: var(--green); color: #fff; font-size: 30px; }
.bk-done .bk-h1 { font-size: 32px; }
.bk-done p { margin: 8px 0; }

/* Phone: country code + number */
.bk-phone { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 8px; }
.bk-phone select, .bk-phone input { font: inherit; font-size: 16px; color: var(--ink); padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; min-width: 0; width: 100%; text-transform: none; letter-spacing: 0; }

/* From the details step on: a slim header with the logo only; on phones the card form comes before the summary */
.bk-compact .bk-hero-t { display: none; }
.bk-compact .bk-hero { background-position: center 40%; }
.bk-compact .bk-top-in { min-height: 64px; }
.bk-compact .bk-wordmark { height: 34px; }
.bk-compact .bk-co { padding-top: 14px; }
@media (max-width: 860px) {
  .bk-paying .bk-sum { order: 1; }
  .bk-compact .bk-sum-img { height: 120px; }
}

/* Compact stay summary */
.bk-sum { padding: 14px 16px; display: grid; gap: 10px; }
.bk-sum-head { display: flex; gap: 12px; align-items: center; }
.bk-sum-thumb { width: 64px; height: 64px; object-fit: cover; flex: none; }
.bk-sum-head h3 { margin: 0; font-size: 20px; line-height: 1.2; }
.bk-sum-head .bk-meta { margin: 2px 0 0; font-size: 13px; }
.bk-sum-r.save span, .bk-sum-r.save b { color: var(--green); font-weight: 600; } /* the direct-booking discount, a line of the bill */
.bk-sum-r.sub { padding-top: 4px; border-top: 1px dashed var(--line); }
.bk-price summary { cursor: pointer; color: var(--muted); font-size: 13px; text-decoration: underline; }
.bk-price { display: grid; gap: 4px; }
.bk-price[open] { padding-bottom: 4px; }
.bk-sum .bk-sum-r.total { padding-top: 0; border-top: 0; }
.bk-due { padding: 10px 12px; }

/* Header like ecotica.com: the logo in the centre, "EN / ES" on the right */
.bk-top-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.bk-brand { justify-self: center; }
.bk-lang { justify-self: end; gap: 6px; font-family: Roboto, var(--bfont); font-size: 11px; font-weight: 500; letter-spacing: 2px; }
.bk-lang a, .bk-lang span { padding: 4px 0; border: 0; }
.bk-lang a { opacity: .6; }
.bk-lang a:hover { opacity: 1; }
.bk-lang span { opacity: 1; font-weight: 600; }
.bk-lang i { font-style: normal; opacity: .6; }

/* The hotel's own website menu (☰ top left) and footer, so the booking page feels like part of the hotel's site. */
.bk-menu-btn { justify-self: start; width: 44px; height: 44px; display: grid; align-content: center; gap: 6px; padding: 0 8px; background: none; border: 0; color: inherit; cursor: pointer; }
.bk-menu-btn span { display: block; height: 1px; background: currentColor; width: 26px; }
.bk-drawer { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.45); }
.bk-drawer[hidden] { display: none; }
.bk-drawer-in { position: absolute; inset: 0 auto 0 0; width: min(470px, 100%); background: #1d1d1b; color: #fff; padding: 72px 40px 40px; overflow-y: auto; }
.bk-drawer-x { position: absolute; top: 18px; right: 22px; background: none; border: 0; color: #fff; font-size: 34px; line-height: 1; cursor: pointer; }
.bk-drawer-nav { display: grid; gap: 6px; margin-bottom: 30px; }
.bk-drawer-nav a { color: #fff; text-decoration: none; font-family: var(--hfont, Georgia, serif); font-size: 28px; line-height: 1.25; text-transform: uppercase; letter-spacing: .02em; }
.bk-drawer-nav a:hover { opacity: .7; }
.bk-drawer .bk-lang { color: #fff; justify-self: start; }
.bk-site-foot { border-top: 1px solid #e8e2d8; background: #fff; padding: 44px 0 36px; text-align: center; color: var(--muted); font-size: 14px; line-height: 1.7; }
.bk-site-foot a { color: var(--ink); text-decoration: none; }
.bk-site-foot a:hover { text-decoration: underline; }
.bk-flogo { width: 110px; height: auto; margin: 0 auto 14px; display: block; }
.bk-fl { margin: 0 0 18px; }
.bk-fnav, .bk-fsoc, .bk-flegal { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin: 0 0 14px; }
.bk-fnav a { text-transform: uppercase; font-size: 12px; letter-spacing: .12em; }
.bk-flegal a { font-size: 12px; color: var(--muted); }

/* A taller photo at the top (owner 2026-11-13: less squashed), still compact once a room is picked. */
.bk-hero.has-photo .bk-hero-t { padding: 90px 0 150px; }
@media (max-width: 700px) { .bk-hero.has-photo .bk-hero-t { padding: 60px 0 120px; } }
.bk-compact .bk-hero.has-photo .bk-hero-t { padding: 0; }

/* Same header as the hotel's website (ecotica.com): full width, 110px tall, ☰ and EN / ES 30–80px from the edges, the logo 145px wide on phones and 190px from tablets up. */
.bk-top-in, .bk-compact .bk-top-in { min-height: 110px; padding: 30px clamp(30px, 8vw, 80px); }
.bk-wordmark, .bk-compact .bk-wordmark { height: auto; width: 145px; display: block; }
@media (min-width: 768px) { .bk-wordmark, .bk-compact .bk-wordmark { width: 190px; } }
.bk-menu-btn { width: 35px; height: 50px; padding: 0; gap: 6px; }
.bk-menu-btn span { width: 35px; }
@media (max-width: 767px) { .bk-brand { transform: translateY(5px); } }

.bk-empty .bk-btn { margin-top: 12px; }
.bk-or { margin: 16px 0 0; }

/* Like Cloudbeds' booking page (owner 2026-11-14): ADD → quantity / adults / children → the basket → Book now. */
.bk-modal { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; background: rgba(20, 20, 18, .45); }
.bk-modal-c { width: 100%; max-width: 460px; max-height: 92vh; overflow: auto; padding: 20px; background: var(--card); border-radius: var(--r) var(--r) 0 0; box-shadow: 0 -10px 40px rgba(0, 0, 0, .2); }
@media (min-width: 721px) { .bk-modal { align-items: center; } .bk-modal-c { border-radius: var(--r); } }
.bk-modal-c h3 { margin: 0; font-size: 22px; }
.bk-cnt-box { display: grid; gap: 10px; margin-top: 14px; padding: 14px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); }
.bk-cnt-box small { justify-self: end; color: var(--muted); font-size: 12px; }
.bk-cnt { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 500; }
.bk-cnt-c { display: grid; grid-template-columns: 42px 44px 42px; align-items: center; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.bk-cnt-c button { height: 40px; border: 0; background: none; color: var(--ink); font-size: 20px; cursor: pointer; }
.bk-cnt-c button:disabled { opacity: .3; cursor: default; }
.bk-cnt-c b { text-align: center; font-size: 16px; font-weight: 500; }
.bk-modal-b { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.bk-btn.bk-line { background: #fff; color: var(--ink); border: 1px solid var(--ink); }
.bk-bar { position: sticky; bottom: 0; z-index: 5; margin-top: 14px; padding: 12px 16px; background: var(--card); border: 1px solid var(--green); border-radius: var(--r); box-shadow: 0 -6px 24px rgba(20, 20, 10, .12); }
.bk-bar-l { display: grid; gap: 6px; margin: 0 0 10px; padding: 0 0 10px; list-style: none; border-bottom: 1px solid var(--line); font-size: 14px; }
.bk-bar-l li { display: grid; grid-template-columns: 1fr auto 28px; gap: 8px; align-items: center; }
.bk-x { width: 28px; height: 28px; border: 0; background: none; color: var(--muted); font-size: 20px; cursor: pointer; }
.bk-bar-t { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bk-bar-t b { display: block; font-size: 19px; }
.bk-bar-t small { color: var(--muted); font-size: 13px; }

/* Checkout with several rooms: each room with its photo, guests and price. */
.bk-sum-many { display: block; }
.bk-sum-rms { display: grid; gap: 10px; margin-top: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); } /* owner: a line between the rooms and the bill */
.bk-sum-rm { display: grid; grid-template-columns: auto 1fr auto 28px; gap: 10px; align-items: center; }
.bk-sum-rm > div { display: grid; gap: 2px; }
.bk-sum-rm small { color: var(--muted); font-size: 13px; }
.bk-sum-rm-p { white-space: nowrap; font-weight: 400; }
/* The ADD window's live price, extra guests included (owner 2026-11-14). */
.bk-add-p { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; margin: 14px 0 0; }
.bk-add-p b { font-size: 20px; }
.bk-add-p small { color: var(--muted); font-size: 13px; }
/* Owner: a line between the extra guests and the IVA, like the one above "Room after discount". */
.bk-sum-r.xg { padding-bottom: 4px; border-bottom: 1px dashed var(--line); }
