/* Kubhuka hotel starter — plain CSS, no build step, mobile first.
   Shared by every theme. Colours and fonts are set per theme in config/themes.php;
   these are the defaults (the Lodge theme). */
:root {
  --bg: #f7f3ea; --surface: #fffdf8; --on-primary: #fff; --field: #fff;
  --primary: #354d3b; --primary-dark: #26392c; --primary-soft: #edf2e9; --primary-tint: #dce5d8;
  --accent: #c96b3c; --accent-soft: #f8e7d9; --accent-ink: #8d4b27;
  --ink: #252822; --muted: #74776e; --line: #e7e2d8;
  --bad: #9b2c22; --bad-soft: #fbe4e1;
  --font-heading: Georgia, "Times New Roman", serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 18px; --btn-radius: 999px; --field-radius: 10px; --shadow: 0 12px 35px #20261b12;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; background: var(--bg); color: var(--ink); font: 15px/1.55 var(--font-body); }
img { display: block; max-width: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 500; }
.container { width: min(var(--container, 1160px), calc(100% - 32px)); margin: auto; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.hidden { display: none !important; }
.icon { width: 1.15em; height: 1.15em; display: inline-block; vertical-align: -.2em; flex: none; }
.icon-star { fill: currentColor; stroke: none; }

/* Buttons and links */
.btn { border: 0; border-radius: var(--btn-radius); padding: 12px 18px; cursor: pointer; display: inline-flex; align-items: center;
  justify-content: center; gap: 8px; font-weight: 650; text-decoration: none; }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-terra { background: var(--accent); color: var(--on-primary); }
.btn-light { background: var(--field); color: var(--primary); border: 1px solid var(--line); }
.btn-danger { background: var(--field); color: var(--bad); border: 1px solid #e8c5c0; }
.btn-block { width: 100%; }
.text-link { font-weight: 700; color: var(--primary); white-space: nowrap; }
.text-link:hover { text-decoration: underline; }

/* Header */
.sandbox { background: #fef3c7; color: #92400e; text-align: center; font-size: 13px; padding: 6px 12px; }
.hd-row { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .18em; font-size: 12px; text-transform: uppercase; line-height: 1.25; }
.brand-name { max-width: 9em; }
.brand-mark { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--primary);
  color: var(--on-primary); font: 19px var(--font-heading); letter-spacing: 0; }
.brand-logo { height: 40px; width: auto; max-width: 140px; object-fit: contain; }
.nav { display: none; gap: 25px; color: #4e554c; font-size: 14px; }
.nav a:hover, .nav a.active { color: var(--primary); }
.nav a.active { font-weight: 700; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions form { margin: 0; }
.icon-btn .icon { width: 19px; height: 19px; }
.icon-btn { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); display: grid;
  place-items: center; padding: 0; color: var(--ink); cursor: pointer; }
.header-actions .btn { padding: 10px 16px; }

/* Header pieces used by the other themes */
.header-link { display: none; font-size: 14px; }
.header-link:hover { color: var(--primary); }
.menu-toggle { position: relative; }
.menu-toggle summary { list-style: none; cursor: pointer; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: var(--btn-radius);
  display: grid; place-content: center; gap: 4px; background: var(--surface); }
.menu-toggle summary::-webkit-details-marker { display: none; }
.menu-toggle summary span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
.menu-panel { position: absolute; right: 0; top: 50px; z-index: 20; width: min(280px, calc(100vw - 32px)); background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px; display: grid; gap: 2px; }
.menu-panel a:not(.btn) { padding: 10px 12px; border-radius: 10px; }
.menu-panel a:not(.btn):hover, .menu-panel a.active { background: var(--primary-soft); color: var(--primary); }
.menu-panel .btn { margin-top: 6px; }
.centered { text-align: center; justify-content: center; }
.section-head.centered > div { margin: 0 auto; max-width: 640px; }
.footer-top { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.footer-top p { margin: 0; }

/* Flash messages */
.flash { padding: 13px 15px; border-radius: 12px; margin: 0 0 18px; font-size: 14px; }
.flash.ok { background: var(--primary-soft); color: var(--primary); }
.flash.bad { background: var(--bad-soft); color: var(--bad); }

/* Home hero */
.hero { position: relative; overflow: hidden; min-height: 610px; border-radius: 24px; background: #3e4d3d; color: var(--on-primary);
  display: flex; align-items: flex-end; padding: 28px; margin: 0 auto 25px; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero:before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, #10170fe8 0%, #10170f4d 45%, #10170f05 100%); }
.hero-content { position: relative; z-index: 2; max-width: 680px; width: 100%; }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: 11px; font-weight: 750; }
.hero h1, .page-hero h1 { font: 500 clamp(42px, 7vw, 76px)/.98 var(--font-heading); letter-spacing: -.04em; margin: 18px 0; }
.hero p { max-width: 450px; color: #f0eee7; }

/* Search bar */
.booking-bar { background: var(--surface); color: var(--ink); border-radius: 18px; padding: 14px; display: grid; grid-template-columns: 1fr;
  gap: 10px; box-shadow: var(--shadow); margin-top: 26px; }
.booking-bar.flat { margin: 0 0 28px; box-shadow: 0 4px 16px #20261b06; border: 1px solid var(--line); }

/* Forms */
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field label, .label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: var(--field-radius); background: var(--field);
  padding: 12px; color: var(--ink); min-height: 46px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid #35553b55; border-color: var(--primary); }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.full { grid-column: 1 / -1; }
.check { display: flex; gap: 10px; align-items: center; font-size: 14px; margin: 14px 0; }
.check input { width: 18px; height: 18px; accent-color: var(--primary); }
.choice { display: flex; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
  margin-bottom: 8px; background: var(--field); cursor: pointer; }
.choice input { accent-color: var(--primary); }
.notice { padding: 13px 15px; background: var(--primary-soft); border-radius: 12px; color: var(--primary); font-size: 13px; }

/* Sections */
.section { padding: calc(var(--section-pad, 42px) * var(--space, 1)) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 20px; }
.section h2, .page-title { font: 500 clamp(30px, 4vw, 46px)/1.08 var(--font-heading); letter-spacing: -.025em; margin: 0; }
.section-head p { color: var(--muted); margin: 7px 0 0; }
.sub-title { font: 500 28px/1.15 var(--font-heading); margin: 0 0 16px; }

/* Cards */
.room-grid, .feature-grid, .card-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.room-card, .feature-card, .panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 4px 16px #20261b06; }
.room-card { display: flex; flex-direction: column; }
.room-card > img, .room-card > a > img { width: 100%; height: 220px; }
.room-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.room-body h3 { font: 500 24px var(--font-heading); margin: 0 0 6px; }
.room-body .muted { margin: 0; }
.meta { display: flex; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: 13px; margin: 12px 0; }
.room-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line);
  padding-top: 14px; margin-top: auto; }
.price strong { font-size: 19px; }
.price { margin: 0; }
.feature-card { padding: 24px; }
.feature-card .symbol { font-size: 26px; color: var(--accent); }
.feature-card .symbol .icon { width: 30px; height: 30px; }
.feature-card h3 { font: 500 23px var(--font-heading); margin: 10px 0 5px; }
.feature-card p { margin: 0; }
.amenity { display: flex; align-items: center; gap: 10px; padding: 16px 18px; font-weight: 650; }
.amenity .icon { color: var(--accent); }
.split { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; }
.split img { width: 100%; height: 360px; border-radius: var(--radius); }
.offer-card img { width: 100%; height: 200px; }
.offer-card .room-body h3 { font-size: 26px; }

/* Inner pages */
.page-hero { padding: 42px 0 26px; }
.page-hero p { color: var(--muted); max-width: 600px; }
.breadcrumbs { font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.breadcrumbs a:hover { color: var(--primary); }
.page-layout { display: grid; grid-template-columns: 1fr; gap: 20px; padding-bottom: 50px; align-items: start; }
.panel { padding: 20px; }
.panel + .panel { margin-top: 20px; }
.panel h2, .panel h3 { margin-top: 0; }
.panel h2 { font-size: 28px; line-height: 1.15; }
.room-detail-image { width: 100%; height: 330px; border-radius: var(--radius); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; margin-top: 10px; }
.thumbs img { width: 100%; aspect-ratio: 4 / 3; border-radius: 10px; }
.summary-row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.summary-row.total { font-size: 18px; font-weight: 800; border-bottom: 0; }
.summary-thumb { width: 100%; height: 155px; border-radius: 12px; margin-bottom: 14px; }
.empty { padding: 34px 24px; text-align: center; }
.empty p { color: var(--muted); max-width: 440px; margin: 8px auto 18px; }
.policies p { margin: 0 0 10px; font-size: 14px; }
.policies p:last-child { margin-bottom: 0; }
details.panel summary { cursor: pointer; font-weight: 700; color: var(--primary); list-style: none; }
details.panel summary::-webkit-details-marker { display: none; }
details.panel summary:after { content: " +"; }
details.panel[open] summary:after { content: " −"; }
details.panel[open] summary { margin-bottom: 16px; }

/* Lists: menus, packages, venues, services */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 24px; }
.chip { border: 1px solid var(--line); background: var(--field); padding: 8px 14px; border-radius: 999px; font-size: 14px; }
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.active { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.menu-category { margin: 26px 0 0; }
.menu-category:first-child { margin-top: 0; }
.menu-category h3 { font: 500 22px var(--font-heading); margin: 0 0 4px; }
.menu-item { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.menu-item:last-child { border-bottom: 0; }
.menu-item strong { display: block; }
.menu-item p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.menu-price { font-weight: 750; white-space: nowrap; color: var(--primary); }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.tag { display: inline-flex; background: var(--primary-soft); color: var(--primary); padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.ticks { list-style: none; padding: 0; margin: 12px 0; }
.ticks li { padding: 4px 0 4px 24px; position: relative; font-size: 14px; }
.ticks li:before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 14px; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.capacity { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; margin: 14px 0; }
.capacity div { background: var(--field); border: 1px solid var(--line); border-radius: 12px; padding: 10px; text-align: center; }
.capacity strong { display: block; font: 500 22px var(--font-heading); }
.capacity span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.rates { display: flex; gap: 18px; flex-wrap: wrap; margin: 12px 0; font-size: 14px; }
.rates strong { font-size: 17px; }

/* Account and bookings */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0; }
.tab { border: 1px solid var(--line); background: var(--field); padding: 9px 14px; border-radius: 999px; font-size: 14px; }
.tab.active { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.account-welcome { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.account-welcome h2 { margin: 0; }
.account-welcome p { margin: 3px 0 0; }
.avatar { width: 54px; height: 54px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--primary-tint);
  color: var(--primary); font-weight: 800; font-size: 20px; }
.booking-item { display: grid; grid-template-columns: 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.booking-item h3 { margin: 7px 0 3px; font-size: 22px; }
.booking-item p { margin: 0; }
.status { display: inline-flex; background: #e4eddf; color: var(--primary); padding: 4px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; }
.status.pending { background: var(--accent-soft); color: var(--accent-ink); }
.status.off { background: #eee9e0; color: var(--muted); }
.pager { display: flex; gap: 14px; align-items: center; margin-top: 16px; font-size: 14px; }

/* Group site */
.hotel-card .room-body h3 a:hover { color: var(--primary); }
.result { display: grid; grid-template-columns: 1fr; gap: 0; margin-bottom: 18px; }
.result > img { width: 100%; height: 200px; }
.result-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }

/* Theme preview bar (only while previewing themes) */
.theme-switcher { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; justify-content: center; padding: 7px 12px;
  background: #1f2937; color: #e5e7eb; font: 12px/1.4 ui-sans-serif, system-ui, sans-serif; }
.theme-switcher a { padding: 3px 10px; border-radius: 999px; border: 1px solid #4b5563; }
.theme-switcher a.active, .theme-switcher a:hover { background: #fff; color: #111; }

/* Widgets shared by every theme */
.bleed { width: auto; max-width: none; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.intro { text-align: center; max-width: 760px; margin: 0 auto; }
.intro p { color: var(--muted); font-size: 17px; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; text-align: center; }
.stat strong { display: block; font: 500 clamp(30px, 4vw, 42px)/1.1 var(--font-heading); color: var(--primary); }
.stat span { color: var(--muted); font-size: 13px; }
.quote-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.quote { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex;
  flex-direction: column; justify-content: space-between; gap: 16px; }
.quote blockquote { margin: 0; font: 500 20px/1.4 var(--font-heading); }
.quote figcaption { font-size: 13px; }
.quote figcaption span { color: var(--muted); }
.host-role { color: var(--accent); font-weight: 700; margin: 6px 0 12px; }
.cta-banner { background: var(--primary); color: var(--on-primary); border-radius: var(--radius); padding: 34px 28px; display: flex;
  flex-direction: column; gap: 20px; align-items: flex-start; }
.cta-banner h2 { color: inherit; }
.cta-banner p { opacity: .85; max-width: 560px; margin: 10px 0 0; }
.faq-list { display: grid; gap: 10px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) * .7); padding: 16px 20px; }
.faq-item summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:after { content: "+"; color: var(--accent); font-size: 20px; line-height: 1; }
.faq-item[open] summary:after { content: "−"; }
.faq-item p { color: var(--muted); margin: 10px 0 0; }
.enquiry { align-items: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.map { width: 100%; height: 360px; border: 0; border-radius: var(--radius); display: block; }
.venue-table { padding: 8px 20px; }
.venue-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.venue-row:last-child { border-bottom: 0; }
.venue-row strong { grid-column: 1 / -1; }
.venue-row span:before { content: attr(data-label) ": "; color: var(--muted); font-size: 12px; }
.venue-head { display: none; }
.conference-invite img { height: 300px; }

/* Events, dining menus, services orders and booking extras */
.venue-card { margin-bottom: 20px; }
.package-card { margin: 0; }
.outlet-grid { display: grid; grid-template-columns: 1fr; gap: 18px; padding-bottom: 20px; }
.menu-list { list-style: none; padding: 0; margin: 10px 0 14px; display: grid; gap: 6px; }
.menu-list li { display: flex; justify-content: space-between; gap: 10px; align-items: center; font-size: 14px; }
.menu-list a { font-weight: 600; }
.menu-panel { margin-bottom: 20px; }
.menu-columns { display: grid; grid-template-columns: 1fr; gap: 6px 40px; }
.menu-photo { width: 64px; height: 64px; border-radius: calc(var(--radius) * .5); flex: none; }
.menu-item { align-items: flex-start; }
.menu-item > div { flex: 1; }
.service-buy { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.qty { width: 74px; border: 1px solid var(--line); border-radius: var(--field-radius); padding: 8px 10px; background: var(--field); color: var(--ink); font: inherit; }
.addon-row { align-items: center; }
.venue-choice { align-items: flex-start; }
.venue-choice-text { display: flex; flex-direction: column; gap: 2px; }
.extra-row { align-items: center; }
.inline-form { display: inline; margin: 0 0 0 8px; }
.link-button { background: none; border: 0; padding: 0; color: var(--bad); text-decoration: underline; cursor: pointer; font: inherit; font-size: 13px; }
.segmented-site { border: 0; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.segmented-site legend { margin-bottom: 8px; }
.segmented-site label { cursor: pointer; }
.segmented-site input { position: absolute; opacity: 0; }
.segmented-site span { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--btn-radius); background: var(--field); font-size: 14px; }
.segmented-site input:checked + span { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.segmented-site input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }

/* Footer */
.site-footer { padding: 35px 0; border-top: 1px solid var(--line); margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.footer-grid > div:first-child { grid-column: 1 / -1; }
.site-footer p, .site-footer a, .site-footer button { color: var(--muted); font-size: 13px; }
.site-footer a:hover { color: var(--primary); }
.site-footer strong { font-size: 13px; }
.site-footer button { background: none; border: 0; padding: 0; cursor: pointer; }
.footer-note { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 18px; }

/* Mobile tab bar (themes with mobile_nav: tabs); room for it below the footer */
.has-tabs { padding-bottom: 72px; }
.mobile-nav { position: fixed; z-index: 10; bottom: 0; left: 0; right: 0; display: flex; justify-content: space-around;
  padding: 10px 8px calc(10px + env(safe-area-inset-bottom)); background: #fffdf8f2; backdrop-filter: blur(16px); border-top: 1px solid var(--line); }
.mobile-nav a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10px; color: var(--muted); }
.mobile-nav a.active { color: var(--primary); font-weight: 800; }
.mobile-nav .icon { width: 22px; height: 22px; }

@media (min-width: 650px) {
  .outlet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu-columns { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .quote-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cta-banner { flex-direction: row; align-items: center; justify-content: space-between; padding: 44px; }
  .venue-row { grid-template-columns: 2fr repeat(4, 1fr); align-items: center; }
  .venue-row strong { grid-column: auto; }
  .venue-row span:before { content: none; }
  .venue-head { display: grid; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
  .hero { min-height: 660px; padding: 52px; }
  .booking-bar { grid-template-columns: 1fr 1fr 1fr auto; align-items: end; padding: 16px; }
  .booking-bar.with-city { grid-template-columns: 1fr 1fr 1fr 1fr auto; }
  .room-grid, .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr 1fr; }
  .page-layout { grid-template-columns: minmax(0, 1.5fr) minmax(280px, .8fr); }
  .page-layout > aside { position: sticky; top: 20px; }
  .room-detail-image { height: 470px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
  .result { grid-template-columns: 220px 1fr; gap: 20px; }
  .result > img { height: 100%; min-height: 180px; border-radius: 12px; }
  .mobile-nav { display: none; }
}
@media (min-width: 980px) {
  .has-tabs { padding-bottom: 0; }
  .nav { display: flex; }
  .header-link { display: inline; }
  .menu-toggle { display: none; }
  .room-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero { min-height: 700px; }
  .room-card > img, .room-card > a > img { height: 245px; }
  .page-hero { padding-top: 58px; }
  .page-layout { gap: 26px; }
  .panel { padding: 26px; }
}
@media (max-width: 979px) and (min-width: 650px) {
  /* Tablets: no room for the full menu, so keep the tab bar. */
  .mobile-nav { display: flex; }
}

/* Several rooms in one booking: "Add to stay" on a room card, and the selection panel */
.room-add { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px; border: 1px dashed var(--line); border-radius: calc(var(--radius) * .6); background: var(--field); }
.room-add .room-add-btn { margin-left: auto; padding: 9px 14px; gap: 6px; }
.room-add .room-add-btn:disabled { opacity: .55; cursor: not-allowed; }
.room-add.is-full { border-style: solid; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); overflow: hidden; }
.stepper-btn { width: 34px; height: 34px; border: 0; background: none; color: var(--primary); font-size: 18px; line-height: 1; cursor: pointer; }
.stepper-btn:hover:not(:disabled) { background: var(--primary-soft); }
.stepper-btn:disabled { color: var(--muted); cursor: default; }
.stepper input { width: 34px; border: 0; background: none; text-align: center; font-weight: 700; padding: 0; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
[data-left-for].is-low { color: var(--bad); font-weight: 700; }
.stay-cart { margin: 0 0 24px; }
.stay-cart .summary-row form { display: inline; }
.stay-cart .actions { display: flex; justify-content: flex-end; margin-top: 12px; }

/* "Your stay": floating button and dialog (stay.js) */
.stay-fab { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px;
  border: 0; border-radius: 999px; background: var(--primary); color: #fff; font: 600 14px/1 var(--font-body, inherit); box-shadow: 0 10px 28px rgba(0,0,0,.22); cursor: pointer; }
.stay-fab svg { width: 18px; height: 18px; }
.stay-badge { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #fff; color: var(--primary); display: inline-grid; place-items: center; font-size: 12px; font-weight: 800; }
.stay-fab.bump { animation: stay-bump .45s ease; }
@keyframes stay-bump { 30% { transform: scale(1.12); } 60% { transform: scale(.96); } }
.has-tabs .stay-fab { bottom: 84px; }
.stay-dialog { width: min(520px, calc(100vw - 32px)); border: 0; border-radius: var(--radius); padding: 22px; background: var(--surface); color: inherit; box-shadow: 0 30px 70px rgba(0,0,0,.3); }
.stay-dialog::backdrop { background: rgba(15, 20, 25, .45); }
.stay-dialog-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.stay-dialog-head h2 { margin: 0; }
.stay-dialog-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px; flex-wrap: wrap; }
.stay-line form { display: inline; margin-left: 8px; }

/* Toasts (site.js siteToast) */
.toast-stack { position: fixed; top: 18px; right: 18px; z-index: 80; display: flex; flex-direction: column; gap: 10px; max-width: min(380px, calc(100vw - 36px)); }
.toast { display: flex; align-items: center; gap: 12px; padding: 13px 15px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(0,0,0,.16); font-size: 14px; animation: toast-in .25s ease; transition: opacity .35s, transform .35s; }
.toast span { flex: 1; }
.toast.ok { border-left: 4px solid var(--primary); }
.toast.bad { border-left: 4px solid var(--bad); }
.toast.leaving { opacity: 0; transform: translateY(-6px); }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .toast, .stay-fab.bump { animation: none; transition: none; } }

/* Booking form: how we may contact you, and the terms */
.contact-choices { display: grid; gap: 8px; margin: 8px 0 18px; }
.contact-choices .choice.locked { opacity: .75; }
.terms-check { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0; font-size: 14px; }
.terms-check input { margin-top: 3px; accent-color: var(--primary); }
.terms h2 { font-size: 19px; margin: 22px 0 8px; }
.terms h2:first-child { margin-top: 0; }

/* A room type the guest has in their stay */
.room-card { position: relative; }
.room-card.is-picked { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary-soft); }
.in-stay { position: absolute; top: 12px; left: 12px; z-index: 2; border: 0; border-radius: 999px; padding: 6px 12px; cursor: pointer;
  background: var(--primary); color: var(--on-primary, #fff); font-weight: 700; font-size: 12px; box-shadow: 0 6px 16px rgba(0,0,0,.2); }
.in-stay:hover { filter: brightness(1.08); }

/* Booking form: the contact choices dialog (booking.js) */
.contact-dialog { width: min(560px, calc(100vw - 32px)); border: 0; border-radius: var(--radius); padding: 22px; background: var(--surface); color: inherit; box-shadow: 0 30px 70px rgba(0,0,0,.3); }
.contact-dialog::backdrop { background: rgba(15, 20, 25, .45); }
.contact-dialog .contact-choices { margin-bottom: 0; }
.contact-dialog.flash-in { animation: contact-flash .55s ease; }
@keyframes contact-flash { 0% { opacity: 0; transform: translateY(14px) scale(.97); } 60% { opacity: 1; transform: scale(1.015); box-shadow: 0 0 0 6px var(--primary-soft), 0 30px 70px rgba(0,0,0,.3); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .contact-dialog.flash-in { animation: none; } }
.contact-summary { margin: 4px 0 18px; padding: 12px 14px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); font-size: 14px; }
.text-button { background: none; border: 0; padding: 0; color: inherit; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }

/* Group link: rooms and their members */
.group-room { margin-bottom: 16px; }
.group-room-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.group-room-head h2 { margin: 0; }
.group-member-actions { display: inline-flex; gap: 10px; align-items: center; }
.group-member-actions select { width: auto; padding: 4px 8px; font-size: 13px; }
.inline-form { display: inline; }
