/* The hotels section (catalog, a hotel, booking, status). Builds on style.css, brand.css and pages.css: the same
   fields, buttons and type; only what the section adds is here. */
.booking-main [hidden]{display:none!important}
.booking-main{padding-top:48px}
.booking-root{min-height:40vh}
.booking-loading{color:var(--muted);font-size:15px;padding:24px 0}
.booking-back{margin:0 0 18px;font-size:15px}
.booking-back .text-link{font-size:15px}
.booking-note{font-size:14px;color:var(--ink);background:#eef2ef;border-radius:12px;padding:12px 16px;margin:0 0 18px}
.booking-note:empty{display:none}
.booking-main [tabindex="-1"]:focus{outline:none}
.booking-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:20px}
.booking-actions .button{margin-top:0;width:auto}
.booking-state{background:#f0f3f1;border-radius:24px;padding:32px;margin:12px 0 28px;max-width:760px}
.booking-state h1,.booking-state h2{font-size:clamp(24px,3vw,32px);font-weight:550;letter-spacing:-.03em;margin:0 0 12px}
.booking-state p{margin:0 0 10px;font-size:16px;line-height:1.6}
.booking-state-error{background:#fbefee}
.booking-state-error h1,.booking-state-error h2{color:#8a1c12}
.booking-state-unknown{background:#fff6e5}
.booking-state-ok{background:#e8f4ec}
.booking-state-ok h2{color:#14532d}
.booking-reference strong{font-size:22px;letter-spacing:.04em;color:var(--ink)}
.text-button{background:none;border:0;padding:6px 0;color:#006e93;font:inherit;font-size:15px;text-decoration:underline;cursor:pointer}
.text-button:focus-visible,.booking-main a:focus-visible,.booking-main button:focus-visible{outline:3px solid #0087b366;outline-offset:2px}

/* catalog */
.catalog-filters{display:flex;flex-wrap:wrap;gap:16px;align-items:end;background:#f0f3f1;border-radius:20px;padding:20px 22px;margin:8px 0 28px}
.catalog-filters .field{margin:0;min-width:200px;flex:1 1 200px}
.catalog-filter-actions{display:flex;gap:16px;align-items:center}
.catalog-filter-actions .button{margin:0;width:auto;min-height:46px}
.hotel-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:24px}
.hotel-card{background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;display:flex;flex-direction:column}
.hotel-card-photo{width:100%;aspect-ratio:4/3;object-fit:cover;background:#e7ece9;display:block;height:auto}
.hotel-card-nophoto{background:linear-gradient(135deg,#e7ece9,#dfe8ef);aspect-ratio:3/1}
.hotel-card-body{padding:18px 20px 22px;display:flex;flex-direction:column;gap:6px;flex:1}
.hotel-card h2{font-size:21px;font-weight:600;letter-spacing:-.02em;margin:0;overflow-wrap:anywhere}
.hotel-card h2 a{color:var(--ink)}
.hotel-card-city{color:var(--muted);margin:0;font-size:14px}
.hotel-card-tagline{margin:0;font-size:15px;overflow-wrap:anywhere}
.hotel-card .text-link{margin-top:auto;font-size:15px;color:#006e93;text-decoration:underline;text-underline-offset:3px}
/* The storefront list (HOTEL_STOREFRONTS): a card per hotel, the button to its own site and the address it opens. */
.storefront-list{list-style:none;padding:0;margin:8px 0 28px}
.storefront-card .booking-actions{margin-top:auto;padding-top:12px}
.storefront-card .booking-actions .button{width:100%;justify-content:center;text-align:center}
.storefront-demo{background:#fff6e5;border-radius:12px;padding:10px 14px;margin:6px 0 0;font-size:14px;line-height:1.5}
.storefront-host{color:var(--muted);font-size:14px;margin:6px 0 0;overflow-wrap:anywhere}
.amenity-list{list-style:none;display:flex;flex-wrap:wrap;gap:6px;padding:0;margin:6px 0}
.amenity-list li{background:#eef2ef;border-radius:100px;padding:3px 11px;font-size:13px;overflow-wrap:anywhere}

/* one hotel */
.hotel-intro .eyebrow{color:var(--muted);font-size:15px;margin:0}
.hotel-intro h1{overflow-wrap:anywhere}
.hotel-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;margin:8px 0 28px}
.hotel-photo{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:16px;background:#e7ece9}
.hotel-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,400px);gap:40px;align-items:start}
.hotel-main section{margin-top:28px}
.hotel-main h2{font-size:24px;font-weight:600;letter-spacing:-.02em;margin:0 0 12px}
.hotel-description{white-space:pre-line;font-size:16px;line-height:1.65;overflow-wrap:anywhere}
.hotel-facts{display:grid;grid-template-columns:max-content 1fr;gap:6px 18px;margin:18px 0;font-size:15px}
.hotel-facts dt{color:var(--muted)}
.hotel-facts dd{margin:0;overflow-wrap:anywhere}
.category-card{border:1px solid var(--line);border-radius:16px;padding:18px 20px;margin-bottom:14px;background:#fff}
.category-card h3{margin:0 0 4px;font-size:19px;overflow-wrap:anywhere}
.category-capacity{color:var(--muted);font-size:14px;margin:0 0 8px}
.category-description{white-space:pre-line;font-size:15px;margin:0 0 6px;overflow-wrap:anywhere}
.category-photos{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:12px}
.category-photo{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:10px;background:#e7ece9}
.hotel-contacts{padding-left:18px;font-size:15px}
.hotel-side{position:sticky;top:20px}
.stay-form,.booking-closed{background:#f0f3f1;border-radius:24px;padding:26px 24px}
.stay-form h2,.booking-closed h2{font-size:22px;font-weight:600;margin:0 0 6px}
.stay-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.stay-room{border:1px solid var(--line);border-radius:14px;padding:14px 14px 4px;margin:0 0 14px;background:#fff}
.stay-room legend{font-weight:600;font-size:14px;padding:0 6px}
.stay-ages{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}
.stay-form .button{width:100%;margin:6px 0 0}
.stay-form .button.secondary{margin-bottom:12px}
.booking-form-error{margin:0 0 12px}

/* booking */
.booking-summary{font-size:16px;color:var(--muted)}
.booking-steps{display:flex;flex-wrap:wrap;gap:8px 22px;list-style:none;counter-reset:step;padding:0;margin:0 0 24px;font-size:14px;color:var(--muted)}
.booking-steps li{counter-increment:step}
.booking-steps li::before{content:counter(step) ". "}
.booking-steps li.current{color:var(--ink);font-weight:650}
.booking-area{max-width:760px}
.offer{background:#fff;border:1px solid var(--line);border-radius:24px;padding:26px 28px;margin-bottom:24px}
.offer h2{font-size:24px;font-weight:600;margin:0 0 8px}
.offer h3{font-size:17px;margin:20px 0 6px}
.offer-rooms{list-style:none;padding:0;margin:12px 0}
.offer-rooms li,.offer-total{display:flex;justify-content:space-between;gap:16px;padding:8px 0;border-bottom:1px solid var(--line);font-size:15px}
.offer-total{border-bottom:0;font-size:19px;margin:4px 0 0}
.offer-terms{padding-left:20px;font-size:15px;margin:0}
.guest-form,.code-form,.confirm-form{background:#f0f3f1;border-radius:24px;padding:26px 28px}
.guest-form h2,.code-form h2,.confirm-form h2{font-size:22px;font-weight:600;margin:0 0 12px}
.guest-form .button,.confirm-form .button{width:auto;margin-top:6px}
#f-code{max-width:220px;font-size:22px;letter-spacing:.3em;font-variant-numeric:tabular-nums}
.field input[aria-invalid=true],.field select[aria-invalid=true]{border-color:#b42318}
.header-hotels{font-size:14px;font-weight:600}
.header-hotels[aria-current=page]{text-decoration:underline;text-underline-offset:4px}

@media(max-width:900px){.hotel-layout{grid-template-columns:1fr}.hotel-side{position:static}}
@media(max-width:620px){
  .booking-main{padding-top:28px}
  .booking-state,.offer,.guest-form,.code-form,.confirm-form,.stay-form,.booking-closed{padding:20px 18px;border-radius:18px}
  .catalog-filters{padding:16px}
  .catalog-filter-actions{width:100%}
  .stay-row,.stay-ages{grid-template-columns:1fr}
  .hotel-facts{grid-template-columns:1fr;gap:0}
  .hotel-facts dd{margin-bottom:8px}
  .booking-actions .button,.guest-form .button,.confirm-form .button{width:100%}
  .header-hotels{font-size:12px}
}
