/* StayEazy guest site — Airbnb-style layout in the StayEazy blue palette.
   The admin panel keeps using style.css. */

:root {
  --navy: #0B3A73;
  --blue: #1A67C9;
  --blue-dark: #0F4FA3;
  --sky: #9DC4F3;
  --pale: #EAF2FC;
  --tint: #F4F7FB;
  --ink: #1F2430;
  --muted: #5B6472;
  --line: #EBEBEB;
  --line-2: #DDDDDD;
  --field: #B0B7C3;
  --error: #B42318;
  --error-bg: #FEF3F2;
  --success: #067647;
  --success-bg: #ECFDF3;
  --warn: #93370D;
  --warn-bg: #FFFAEB;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 6px 20px rgba(11, 58, 115, .10);
  --shadow-lg: 0 10px 30px rgba(11, 58, 115, .18);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.5; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--blue); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; color: var(--ink); }
h1 { font-size: clamp(26px, 3.2vw, 34px); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: 22px; font-weight: 700; }
h3 { font-size: 17px; font-weight: 700; }
p { margin: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.icon { width: 24px; height: 24px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 200; padding: 10px 16px; border-radius: 10px; background: var(--navy); color: #fff; }
.skip-link:focus { left: 8px; color: #fff; }

.container { width: 100%; max-width: 1440px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container.narrow { max-width: 820px; }
.container.narrow-sm { max-width: 560px; }
.section { padding: 48px 0; }
.section-tight { padding: 24px 0 56px; }
.section-flush { padding: 8px 0 72px; }
.section-tint { background: var(--tint); border-top: 1px solid #E4E8EE; border-bottom: 1px solid #E4E8EE; }
.section-title { margin-bottom: 20px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }
.lead { font-size: 18px; line-height: 1.6; color: #3D4552; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.eyebrow-light { color: var(--sky); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.link-arrow, .link-under { font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.link-arrow:hover, .link-under:hover { color: var(--navy); }
.reset-link { font-weight: 600; color: var(--ink); text-decoration: underline; }
.prose { font-size: 16px; line-height: 1.7; }
.prose p + p { margin-top: 14px; }
.prose h2, .prose .h3 { margin: 28px 0 10px; }
.prose ul { padding-left: 22px; margin: 10px 0; }
.prose li + li { margin-top: 6px; }
.prose a { text-decoration: underline; font-weight: 600; }
.h3 { font-size: 20px; font-weight: 700; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 1px solid var(--blue); border-radius: var(--radius); background: var(--blue); color: #fff; font-weight: 700; font-size: 16px; cursor: pointer; text-align: center; transition: background .15s, border-color .15s; }
.btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-accent { background: var(--blue); border-color: var(--blue); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--tint); color: var(--ink); border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: transparent; text-decoration: underline; }
.btn-ghost:hover { background: var(--tint); color: var(--ink); border-color: transparent; }
.btn-white { background: #fff; color: var(--navy); border-color: #fff; }
.btn-white:hover { background: var(--pale); color: var(--navy); border-color: var(--pale); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; }
.text-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; font-size: 14px; font-weight: 600; text-decoration: underline; cursor: pointer; }
.text-btn:hover { background: var(--tint); }
.text-btn .icon { width: 16px; height: 16px; stroke-width: 2; }
.save-btn.is-saved .icon { fill: var(--blue); stroke: var(--blue); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 80px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.logo { flex: 0 0 auto; }
.logo img { height: 42px; width: auto; max-width: none; }
.header-tabs { display: flex; gap: 28px; }
.header-tabs a { padding: 10px 0; font-size: 15px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; }
.header-tabs a:hover { color: var(--ink); }
.header-tabs a.active { color: var(--navy); border-bottom-color: var(--navy); }
.search-pill { display: flex; align-items: center; height: 50px; padding: 0 8px 0 22px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; box-shadow: 0 2px 10px rgba(11, 58, 115, .08); color: var(--ink); font-size: 14px; font-weight: 600; white-space: nowrap; transition: box-shadow .15s; }
.search-pill:hover { color: var(--ink); box-shadow: var(--shadow); }
.search-pill > span:not(:first-child) { padding: 0 16px; border-left: 1px solid var(--line-2); }
.search-pill > span:first-child { padding-right: 16px; }
.search-pill .search-pill-guests { color: var(--muted); font-weight: 500; }
.search-pill .search-pill-btn { width: 34px; height: 34px; padding: 0 !important; border: 0 !important; border-radius: 50%; background: var(--blue); display: flex; align-items: center; justify-content: center; }
.search-pill-btn svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; }
.header-right { position: relative; display: flex; align-items: center; gap: 6px; }
.header-link { padding: 12px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink); }
.header-link:hover { background: var(--tint); color: var(--ink); }
.menu-btn { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 6px 0 14px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; cursor: pointer; transition: box-shadow .15s; }
.menu-btn:hover { box-shadow: var(--shadow); }
.menu-icon { width: 16px; height: 16px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; }
.menu-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; }
.menu-avatar svg { width: 18px; height: 18px; fill: #fff; }
.menu { display: none; position: absolute; top: 56px; right: 0; width: 250px; padding: 8px 0; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); z-index: 60; }
.menu.open { display: flex; flex-direction: column; }
.menu a { padding: 12px 18px; font-size: 14px; color: var(--ink); }
.menu a:hover { background: var(--tint); color: var(--ink); }
.menu .menu-strong { font-weight: 700; }

/* ---------- Home hero + search ---------- */
.hero { padding: 36px 0 8px; }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero h1 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.1; color: var(--navy); letter-spacing: -.02em; }
.hero-lead { max-width: 620px; margin-top: 12px; font-size: 17px; line-height: 1.55; color: var(--muted); }
.search-bar { margin-top: 26px; width: 100%; max-width: 900px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 8px; border: 1px solid var(--line-2); border-radius: 40px; background: #fff; box-shadow: var(--shadow); text-align: left; }
.sb-field { flex: 1 1 150px; min-width: 0; display: flex; flex-direction: column; gap: 2px; padding: 10px 22px; border-radius: 32px; cursor: pointer; }
.sb-field + .sb-field { border-left: 1px solid #E4E8EE; }
.sb-field:hover { background: var(--tint); }
.sb-where { flex: 1.4 1 200px; }
.sb-who { flex: .8 1 130px; }
.sb-field span { font-size: 12px; font-weight: 700; }
.sb-field input, .sb-field select { width: 100%; padding: 0; border: 0; outline: 0; background: transparent; font-size: 14px; color: var(--muted); }
.sb-field input::placeholder { color: var(--muted); }
.sb-submit { flex: 0 0 auto; margin-left: auto; display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--blue); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; }
.sb-submit:hover { background: var(--navy); }
.sb-submit svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }

/* ---------- Category bar ---------- */
.category-bar { margin-top: 28px; border-bottom: 1px solid var(--line); }
.category-scroll { display: flex; gap: 36px; overflow-x: auto; scrollbar-width: none; }
.category-scroll::-webkit-scrollbar { display: none; }
.category { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 2px; border-bottom: 2px solid transparent; font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.category .icon { width: 26px; height: 26px; stroke-width: 1.6; }
.category:hover { color: var(--ink); border-bottom-color: var(--line-2); }
.category.active { color: var(--navy); border-bottom-color: var(--navy); }

/* ---------- Section heads ---------- */
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 22px; }

/* ---------- Stay cards ---------- */
.stay-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 40px 24px; }
.stay-grid-results { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 36px 22px; }
.stay-card { position: relative; }
.stay-card-link { display: flex; flex-direction: column; gap: 12px; color: var(--ink); }
.stay-card-link:hover { color: var(--ink); }
.stay-card-img { position: relative; aspect-ratio: 20 / 19; border-radius: 16px; overflow: hidden; background: var(--pale); }
.stay-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.stay-card-link:hover .stay-card-img img { transform: scale(1.04); }
.chip { position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 700; color: var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.stay-card-body { display: flex; flex-direction: column; gap: 2px; font-size: 15px; line-height: 1.4; }
.stay-card-loc { font-weight: 700; }
.stay-card-body h3 { font-size: 15px; font-weight: 400; color: var(--muted); }
.stay-card-meta { color: var(--muted); }
.stay-card-price { margin-top: 4px; }
.stay-card-price strong { font-weight: 700; }
.heart { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; background: transparent; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.heart svg { width: 26px; height: 26px; fill: rgba(0, 0, 0, .45); stroke: #fff; stroke-width: 2; transition: transform .15s; }
.heart:hover svg { transform: scale(1.08); }
.heart.is-saved svg { fill: var(--blue); }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.feature { display: flex; flex-direction: column; gap: 10px; }
.feature-icon { width: 48px; height: 48px; border-radius: 14px; background: #fff; border: 1px solid #DCEAF9; display: flex; align-items: center; justify-content: center; color: var(--blue); }
.feature-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 18px; color: var(--navy); }
.feature p { font-size: 15px; line-height: 1.55; color: var(--muted); }

/* ---------- Places ---------- */
.places { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px 24px; }
.place { display: flex; align-items: center; gap: 14px; color: var(--ink); }
.place:hover { color: var(--ink); }
.place img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex: 0 0 auto; }
.place > span { display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.place > span > span { font-size: 14px; color: var(--muted); }

/* ---------- Owner banner ---------- */
.owner-banner { display: flex; flex-wrap: wrap; border-radius: 24px; overflow: hidden; background: var(--navy); color: #fff; }
.owner-copy { flex: 999 1 420px; padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.owner-copy .eyebrow { margin: 0; }
.owner-copy h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; color: #fff; }
.owner-copy p { max-width: 540px; font-size: 16px; line-height: 1.6; color: #DCEAF9; }
.owner-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 6px; }
.owner-sub { color: #fff; font-size: 14px; font-weight: 600; text-decoration: underline; }
.owner-sub:hover { color: var(--sky); }
.owner-art { flex: 1 1 300px; min-height: 240px; background: #DCEAF9; display: flex; align-items: center; justify-content: center; padding: 32px; }
.owner-art img { width: 100%; max-width: 300px; height: auto; }
.owner-banner-compact { align-items: center; padding: clamp(28px, 4vw, 48px); gap: 24px; justify-content: space-between; }
.owner-banner-compact .owner-copy { padding: 0; flex: 999 1 380px; }
.owner-banner-compact .btn { flex: 0 0 auto; }

/* ---------- Page heads / generic content ---------- */
.page-head { padding: clamp(32px, 5vw, 56px) 0 8px; }
.page-head h1 { color: var(--navy); font-size: clamp(30px, 4vw, 44px); letter-spacing: -.02em; }
.page-head .muted { margin-top: 10px; font-size: 17px; max-width: 640px; }
.crumbs { margin-bottom: 10px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: underline; }
.card { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); }
.form-card { display: flex; flex-direction: column; gap: 16px; }
.empty { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 48px 24px; }
.section .container.narrow > h1, .section .container.narrow-sm > h1 { color: var(--navy); margin-bottom: 8px; }
.section .container.narrow-sm > .muted { margin-bottom: 20px; }
.section .container.narrow.center > * + * { margin-top: 14px; }
.actions-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 16px; }

/* ---------- Forms ---------- */
.field-block { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.field-block input, .field-block select, .field-block textarea, .sort-form select { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid var(--field); border-radius: 10px; background: #fff; font-size: 16px; font-weight: 400; color: var(--ink); }
.field-block textarea { min-height: 0; padding: 12px 14px; resize: vertical; }
.field-block input:focus, .field-block select:focus, .field-block textarea:focus { outline: 2px solid var(--ink); outline-offset: -1px; border-color: var(--ink); }
.field-block .muted { font-weight: 400; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blue); flex: 0 0 auto; }
.check a { text-decoration: underline; font-weight: 700; color: var(--ink); }
.form-error { color: var(--error); font-size: 14px; font-weight: 600; margin-top: 8px; }
.alert { padding: 14px 16px; border-radius: var(--radius); font-size: 15px; line-height: 1.5; margin-bottom: 16px; border: 1px solid transparent; }
.alert-error { background: var(--error-bg); color: var(--error); border-color: #FECDCA; }
.alert-success { background: var(--success-bg); color: var(--success); border-color: #ABEFC6; }
.alert-info, .alert-notice { background: var(--pale); color: var(--navy); border-color: var(--sky); }
.alert-warning { background: var(--warn-bg); color: var(--warn); border-color: #FEDF89; }

/* ---------- Stays results ---------- */
.filter-bar { padding: 16px 0 0; border-bottom: 1px solid var(--line); }
.filter-form { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 6px; border: 1px solid var(--line-2); border-radius: 40px; box-shadow: 0 2px 10px rgba(11, 58, 115, .06); }
.ff-field { flex: 1 1 140px; min-width: 0; display: flex; flex-direction: column; gap: 2px; padding: 8px 20px; border-radius: 30px; cursor: pointer; }
.ff-field + .ff-field { border-left: 1px solid #E4E8EE; }
.ff-field:hover { background: var(--tint); }
.ff-wide { flex: 1.5 1 180px; }
.ff-narrow { flex: .7 1 110px; }
.ff-field span { font-size: 12px; font-weight: 700; }
.ff-field input { width: 100%; padding: 0; border: 0; outline: 0; background: transparent; font-size: 14px; color: var(--ink); }
.filter-form .sb-submit { height: 48px; }
.chips-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.pill { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; white-space: nowrap; }
.pill:hover { border-color: var(--ink); color: var(--ink); }
.pill.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.sort-form label { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.sort-form select { min-height: 40px; width: auto; padding: 0 12px; font-size: 14px; }
.results-layout { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px; }
.results-list { flex: 3 1 560px; min-width: 0; }
.results-head { margin-bottom: 20px; }
.results-head h1 { font-size: 22px; font-weight: 700; }
.results-head p { margin-top: 4px; font-size: 14px; }
.results-map { flex: 2 1 380px; min-width: 0; position: sticky; top: 100px; }
.map-canvas { height: calc(100vh - 130px); min-height: 420px; max-height: 760px; border-radius: 20px; overflow: hidden; border: 1px solid #DCEAF9; background: var(--pale); }
.map-pin-wrap { background: none; border: 0; }
.map-pin { display: inline-block; transform: translate(-50%, -50%); padding: 5px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); color: var(--ink); font: 800 14px/1.3 var(--font); white-space: nowrap; box-shadow: 0 2px 10px rgba(11, 58, 115, .25); cursor: pointer; transition: transform .12s, background .12s; }
.map-pin:hover, .map-pin.active { background: var(--navy); border-color: var(--navy); color: #fff; transform: translate(-50%, -50%) scale(1.08); }
.map-popup .leaflet-popup-content-wrapper { padding: 0; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); }
.map-popup .leaflet-popup-content { margin: 0; width: auto !important; }
.map-card { display: flex; gap: 12px; padding: 10px; color: var(--ink); font-family: var(--font); font-size: 14px; line-height: 1.4; }
.map-card:hover { color: var(--ink); }
.map-card img { width: 84px; height: 84px; border-radius: 10px; object-fit: cover; }
.map-card > span { display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.map-card > span > span { color: var(--muted); }
.map-card b { color: var(--ink); }

/* ---------- Stay page ---------- */
.stay-wrap { max-width: 1180px; padding-top: 24px; padding-bottom: 56px; }
.back-link { display: inline-block; font-size: 14px; font-weight: 600; color: var(--blue); margin-bottom: 6px; }
.stay-title { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 16px; margin-bottom: 20px; }
.stay-actions { display: flex; gap: 4px; }
.gallery { position: relative; display: grid; gap: 8px; border-radius: var(--radius-lg); overflow: hidden; height: clamp(260px, 36vw, 440px); }
.gallery-item { padding: 0; border: 0; background: var(--pale); cursor: pointer; overflow: hidden; min-height: 0; }
.gallery-item img, .gallery-placeholder { width: 100%; height: 100%; object-fit: cover; transition: filter .2s; }
.gallery-item:hover img { filter: brightness(.88); }
.gallery-n1 { grid-template-columns: 1fr; }
.gallery-n2 { grid-template-columns: 1fr 1fr; }
.gallery-n3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.gallery-n3 .gallery-main { grid-row: span 2; }
.gallery-n4 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.gallery-n4 .gallery-main { grid-row: span 2; }
.gallery-n4 .gallery-item:nth-of-type(4) { grid-column: span 2; }
.gallery-n5 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.gallery-n5 .gallery-main { grid-row: span 2; }
.gallery-all { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--ink); border-radius: 10px; background: #fff; font-size: 14px; font-weight: 600; cursor: pointer; }
.gallery-all .icon { width: 16px; height: 16px; stroke-width: 2; }
.gallery-all:hover { background: var(--tint); }

.stay-layout { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px; margin-top: 8px; }
.stay-main { flex: 999 1 520px; min-width: 0; }
.stay-block { padding: 28px 0; border-bottom: 1px solid var(--line); }
.stay-block > h2 { margin-bottom: 18px; }
.stay-intro { padding-top: 24px; }
.stay-intro h2 { margin-bottom: 4px !important; }
.host-row { display: flex; align-items: center; gap: 16px; }
.host-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--pale); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.host-avatar img { width: 38px; height: auto; }
.host-row div { display: flex; flex-direction: column; gap: 2px; }
.host-row .muted { font-size: 14px; }
.highlights { display: flex; flex-direction: column; gap: 22px; }
.highlight { display: flex; gap: 18px; align-items: flex-start; }
.highlight .icon { width: 26px; height: 26px; color: var(--navy); }
.highlight div { display: flex; flex-direction: column; gap: 2px; }
.highlight span { font-size: 14px; color: var(--muted); }
.amenities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px 24px; }
.amenities li { display: flex; align-items: center; gap: 14px; }

/* Calendar (rendered by app.js) */
.calendar { position: relative; display: flex; flex-wrap: wrap; gap: 32px 48px; margin-top: 18px; }
.cal-month { flex: 1 1 280px; min-width: 0; }
.cal-month h4 { text-align: center; font-size: 16px; font-weight: 700; line-height: 36px; margin-bottom: 10px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); row-gap: 2px; }
.cal-dow { text-align: center; font-size: 12px; font-weight: 600; color: var(--muted); padding-bottom: 6px; }
.cal-day { justify-self: center; width: 44px; height: 44px; max-width: 100%; border: 1px solid transparent; border-radius: 50%; background: transparent; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; }
.cal-day:hover:not(:disabled) { border-color: var(--ink); }
.cal-day:disabled { color: #9AA3B0; text-decoration: line-through; cursor: not-allowed; }
.cal-day.booked { color: #9AA3B0; text-decoration: line-through; }
.cal-day.in-range { background: var(--pale); border-radius: 0; width: 100%; }
.cal-day.selected { background: var(--navy); color: #fff; text-decoration: none; }
.cal-nav { position: absolute; top: 0; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; font-size: 24px; line-height: 1; color: var(--ink); cursor: pointer; z-index: 1; }
.cal-nav:hover:not(:disabled) { background: var(--tint); }
.cal-nav:disabled { color: #C4CAD3; cursor: default; }
.cal-prev { left: 0; }
.cal-next { right: 0; }

/* Booking card */
.booking-col { flex: 1 1 340px; min-width: 0; position: sticky; top: 104px; padding-top: 28px; }
.booking-card { padding: 24px; border: 1px solid var(--line-2); border-radius: 16px; box-shadow: var(--shadow); background: #fff; scroll-margin-top: 100px; }
.booking-price { margin-bottom: 18px; font-size: 16px; }
.booking-price strong { font-size: 22px; font-weight: 800; }
.date-box { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--field); border-radius: 12px; overflow: hidden; margin-bottom: 14px; }
.date-cell { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; min-width: 0; cursor: pointer; }
.date-cell + .date-cell { border-left: 1px solid var(--field); }
.date-cell-wide { grid-column: 1 / -1; border-left: 0 !important; border-top: 1px solid var(--field); }
.date-cell span { font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.date-cell input, .date-cell select { width: 100%; padding: 0; border: 0; outline: 0; background: transparent; font-size: 14px; color: var(--ink); }
.date-cell:focus-within { outline: 2px solid var(--ink); outline-offset: -2px; border-radius: 10px; }
.guest-fields { display: flex; flex-direction: column; gap: 12px; padding-top: 6px; }
.guest-fields[hidden] { display: none; }
.guest-fields h3 { font-size: 16px; margin-top: 4px; }
.guest-fields .field-block input, .guest-fields .field-block textarea { min-height: 46px; }
.booking-note { margin-top: 12px; }
.quote { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; font-size: 16px; }
.quote[hidden] { display: none; }
.quote > div { display: flex; justify-content: space-between; gap: 12px; }
.quote > div > span:first-child { text-decoration: underline; text-decoration-color: #C4CAD3; }
.quote-total { padding-top: 16px; border-top: 1px solid var(--line); font-weight: 800; }
.quote-total span:first-child { text-decoration: none !important; }
.booking-perk { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: 14px; color: var(--muted); }
.booking-perk .icon { width: 16px; height: 16px; stroke-width: 2.2; }

.stay-section { padding: 32px 0; border-top: 1px solid var(--line); }
.stay-section > h2 { margin-bottom: 18px; }
.map { height: 360px; border-radius: var(--radius-lg); overflow: hidden; background: var(--pale); margin-bottom: 16px; }
.map iframe { width: 100%; height: 100%; border: 0; }
.know-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.know-grid h3 { font-size: 16px; margin-bottom: 10px; }
.plain-list { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.mobile-book-bar { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(8, 22, 45, .94); display: flex; align-items: center; justify-content: center; padding: 64px 72px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; object-fit: contain; }
.lightbox-close, .lightbox-nav { position: absolute; width: 48px; height: 48px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox-close { top: 16px; left: 16px; }
.lightbox-nav.prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- About ---------- */
.about-hero { background: var(--tint); border-bottom: 1px solid #E4E8EE; }
.about-hero-inner { max-width: 1180px; display: flex; flex-wrap: wrap; align-items: center; gap: 40px; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px); }
.about-hero-copy { flex: 999 1 420px; }
.about-hero-copy h1 { font-size: clamp(32px, 4.5vw, 52px); line-height: 1.08; letter-spacing: -.02em; color: var(--navy); margin-bottom: 16px; }
.about-hero-logo { flex: 1 1 260px; display: flex; justify-content: center; }
.about-hero-logo img { width: 100%; max-width: 340px; height: auto; }
.split { max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 24px 40px; padding-bottom: 48px; }
.split > h2 { flex: 1 1 240px; font-size: 28px; font-weight: 800; color: var(--navy); }
.split > .prose { flex: 999 1 460px; font-size: 17px; }
.stat-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.stat { padding: 28px; border: 1px solid #E4E8EE; border-radius: var(--radius-lg); display: flex; flex-direction: column; gap: 8px; }
.stat-num { font-size: 36px; font-weight: 800; color: var(--blue); }
.stat p { font-size: 15px; color: var(--muted); line-height: 1.55; }
.section-flush .owner-banner-compact { max-width: 1180px; margin: 0 auto; }

/* ---------- Contact ---------- */
.contact-layout { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px; max-width: 1180px; }
.contact-layout > div { flex: 999 1 480px; min-width: 0; }
.contact-info { flex: 1 1 300px; background: var(--tint); border: 0; display: flex; flex-direction: column; gap: 16px; }
.contact-info a { font-weight: 700; overflow-wrap: anywhere; }
.page-head + .section .contact-layout, .page-head > .container { max-width: 1180px; }

/* ---------- Policies ---------- */
.policy-layout { max-width: 1180px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px; }
.policy-nav { flex: 1 1 220px; position: sticky; top: 104px; display: flex; flex-direction: column; gap: 2px; padding: 16px; border-radius: 16px; background: var(--tint); }
.policy-nav span { padding: 6px 10px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.policy-nav a { padding: 10px; border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--ink); }
.policy-nav a:hover { background: #fff; color: var(--ink); }
.policy-body { flex: 999 1 520px; min-width: 0; }
.policy-body section { padding: 0 0 32px; scroll-margin-top: 100px; }
.policy-body section + section { padding-top: 32px; border-top: 1px solid var(--line); }
.policy-body h2 { margin: 0 0 12px; font-size: 24px; font-weight: 800; }
.refund-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 6px 0 16px; }
.refund { padding: 18px; border-radius: 14px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.5; }
.refund strong { font-size: 20px; font-weight: 800; color: var(--navy); }
.refund-full { background: var(--pale); }
.refund-half { background: var(--tint); }
.refund-none { border: 1px solid var(--line-2); }
.refund-none strong { color: var(--ink); }

/* ---------- Booking confirmation (booking.php) ---------- */
.confirm-head { padding: 24px; border-radius: var(--radius-lg); background: var(--pale); border: 1px solid var(--sky); margin-bottom: 24px; }
.confirm-head h1 { color: var(--navy); margin-bottom: 8px; }
.confirm-head.status-confirmed { background: var(--success-bg); border-color: #ABEFC6; }
.confirm-head.status-confirmed h1 { color: var(--success); }
.confirm-head.status-pending { background: var(--warn-bg); border-color: #FEDF89; }
.confirm-head.status-pending h1 { color: var(--warn); }
.confirm-head.status-cancelled { background: var(--tint); border-color: var(--line-2); }
.confirm-head.status-cancelled h1 { color: var(--ink); }
.booking-summary { padding: 0; overflow: hidden; }
.summary-stay { display: flex; gap: 16px; align-items: center; padding: 20px; border-bottom: 1px solid var(--line); }
.summary-stay img { width: 112px; height: 96px; border-radius: 12px; object-fit: cover; flex: 0 0 auto; }
.summary-list { margin: 0; padding: 8px 20px 20px; }
.summary-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.summary-list > div:last-child { border-bottom: 0; }
.summary-list dt { color: var(--muted); }
.summary-list dd { margin: 0; text-align: right; }
.summary-total { font-weight: 800; }
.summary-total dt { color: var(--ink); }
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--tint); color: var(--ink); }
.badge-confirmed { background: var(--success-bg); color: var(--success); }
.badge-request { background: var(--pale); color: var(--navy); }
.badge-pending { background: var(--warn-bg); color: var(--warn); }
.badge-cancelled { background: #F2F4F7; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { margin-top: 24px; background: var(--tint); border-top: 1px solid #E4E8EE; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding-top: 48px; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; line-height: 1.6; color: var(--muted); max-width: 280px; }
.site-footer nav { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.site-footer nav h2 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.site-footer nav a, .site-footer nav span { color: var(--ink); overflow-wrap: anywhere; }
.site-footer nav a:hover { text-decoration: underline; color: var(--ink); }
.footer-bottom { margin-top: 40px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid #DDE3EB; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.footer-legal a { color: var(--muted); }
.footer-legal a:hover { color: var(--ink); text-decoration: underline; }
.footer-locale { display: flex; align-items: center; gap: 18px; font-weight: 600; color: var(--ink); }
.footer-locale span { display: inline-flex; align-items: center; gap: 6px; }
.footer-locale svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .header-tabs { display: none; }
  .search-pill .search-pill-guests { display: none; }
}
@media (max-width: 960px) {
  .results-map { position: static; flex-basis: 100%; }
  .map-canvas { height: 320px; min-height: 0; }
  .booking-col { position: static; flex-basis: 100%; }
  .policy-nav { position: static; }
}
@media (max-width: 760px) {
  .header-inner { min-height: 68px; }
  .logo img { height: 34px; }
  .header-link { display: none; }
  .search-pill { order: 3; flex: 1 1 100%; justify-content: space-between; height: 46px; margin-bottom: 10px; }
  .search-pill > span:nth-child(2) { display: none; }
  .search-bar, .filter-form { border-radius: 24px; }
  .sb-field + .sb-field, .ff-field + .ff-field { border-left: 0; }
  .sb-field, .ff-field { flex-basis: 45%; }
  .sb-where, .ff-wide { flex-basis: 100%; }
  .sb-submit { flex: 1 1 100%; justify-content: center; }
  .gallery { height: 260px; grid-template-columns: 1fr !important; grid-template-rows: 1fr !important; }
  .gallery .gallery-item:not(.gallery-main) { display: none; }
  .gallery .gallery-main { grid-row: auto; }
  .stay-layout { gap: 0; }
  .site-footer { padding-bottom: 0; }
  .mobile-book-bar { position: sticky; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px var(--gutter); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(11, 58, 115, .08); }
  .mobile-book-bar .btn { min-height: 46px; }
  .lightbox { padding: 72px 12px; }
  .lightbox-nav { top: auto !important; bottom: 16px; transform: none !important; }
  .cal-day { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
