/* KOCOONYA TEST 80 — Feuille publique unique, ordre de cascade du TEST 79.6 conservé. */

/* ===== styles.css ===== */
/* TEST 71 : Figtree chargee comme police Web sur toutes les pages.
   Si le service de polices est indisponible, utiliser la police systeme. */
:root {
  --ink: #25172E;
  --ink-soft: #5C4B5B;
  --muted: #7A6879;
  --cream: #FAF7FA;
  --paper: #ffffff;
  --wash: #FAF7FA;
  --line: #E8DDE7;
  --rose: #ED106E;
  --rose-deep: #730848;
  --plum: #730848;
  --plum-deep: #4B052F;
  --fuchsia: #F00775;
  --gold: #c48b53;
  --green: #327260;
  --shadow: 0 16px 40px rgba(65, 38, 111, .08);
  --radius: 22px;
  --radius-small: 12px;
  --header-height: 76px;
  --content-max: 1440px;
  font-family: "Figtree", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  background: var(--wash);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--wash); color: var(--ink); min-width: 320px; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.shell { width: min(var(--content-max), calc(100% - 64px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 20; height: var(--header-height); background: rgba(255, 252, 250, .92); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(231, 224, 241, .88); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 225px; }
.brand-picture { display: block; flex: 0 1 auto; line-height: 0; }
.brand-logo { display: block; width: clamp(150px, 14vw, 190px); height: auto; max-height: 54px; object-fit: contain; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 14px; background: var(--rose-deep); color: var(--rose); font-size: 27px; line-height: 1; }
.brand strong { display: block; font-size: 16px; letter-spacing: -.02em; }
.brand small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; }
.header-host { margin-left: auto; min-height: 42px; padding: 0 14px; white-space: nowrap; gap: 8px; }
.header-host small { padding: 3px 7px; border-radius: 999px; background: #eee8ff; color: var(--plum-deep); font-size: 10px; line-height: 1.2; }
.account-button, .menu-toggle { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--plum-deep); }
.account-button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.account-button:hover, .account-button:focus-visible, .menu-toggle:hover, .menu-toggle:focus-visible { border-color: var(--rose-deep); background: #f5f1ff; }
.menu-toggle { display: none; border-radius: 12px; }
.menu-toggle span { display: block; width: 17px; height: 1.5px; margin: 2px 0; border-radius: 999px; background: currentColor; }
.mobile-menu { border-top: 1px solid var(--line); background: rgba(255, 252, 250, .98); box-shadow: 0 14px 22px rgba(65, 38, 111, .08); }
.mobile-menu-inner { display: grid; gap: 4px; padding: 10px 0 14px; }
.mobile-menu button { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 0 10px; border: 0; border-radius: 11px; background: transparent; color: var(--ink); text-align: left; font-size: 14px; font-weight: 750; }
.mobile-menu button:hover, .mobile-menu button:focus-visible { background: #f5f1ff; color: var(--plum-deep); }
.mobile-menu small { padding: 3px 7px; border-radius: 999px; background: #eee8ff; color: var(--plum-deep); font-size: 10px; }

.button { border: 1px solid transparent; border-radius: 999px; min-height: 46px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 750; font-size: 14px; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--rose-deep); color: #fff; box-shadow: 0 8px 18px rgba(115, 8, 72, .18); }
.button-primary:hover { background: var(--plum-deep); }
.button-soft { background: #FAF1F6; color: var(--plum-deep); border-color: #E6CFDC; }
.button-ghost { background: transparent; color: var(--plum-deep); border-color: var(--line); }
.icon-button { display: grid; place-items: center; border: 1px solid var(--line); width: 40px; height: 40px; border-radius: 50%; background: var(--paper); color: var(--ink); font-size: 24px; line-height: 1; }

.hero { padding: 76px 0 52px; background: radial-gradient(circle at 84% 22%, rgba(237, 16, 110, .16) 0, rgba(237, 16, 110, .07) 17%, transparent 35%), linear-gradient(120deg, #FAF7FA 0%, #FBF4F8 58%, #F8EEF4 100%); }
.hero-grid { display: grid; grid-template-columns: 1fr; align-items: end; gap: 0; }
.eyebrow { margin: 0 0 12px; color: var(--rose-deep); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 1040px; margin-bottom: 20px; font-size: clamp(2.2rem, 4.5vw, 3.8rem); line-height: 1; letter-spacing: -.065em; }
h2 { margin-bottom: 10px; font-size: clamp(1.75rem, 3.4vw, 2.65rem); line-height: 1.05; letter-spacing: -.055em; }
h3 { margin-bottom: 8px; font-size: clamp(1.2rem, 2.1vw, 1.55rem); line-height: 1.1; letter-spacing: -.035em; }
.hero-lead { max-width: 590px; margin-bottom: 24px; color: var(--ink-soft); font-size: 18px; line-height: 1.55; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--plum); font-size: 13px; font-weight: 700; }
.hero-note { display: flex; gap: 14px; padding: 22px; border: 1px solid rgba(200, 121, 136, .24); border-radius: 20px; background: rgba(255, 255, 255, .55); box-shadow: 0 12px 32px rgba(76, 45, 68, .05); }
.note-icon { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 13px; background: var(--ink); color: var(--rose); }
.hero-note strong { display: block; margin-bottom: 6px; }
.hero-note p { margin-bottom: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.5; }

.search-zone { padding: 0 0 56px; margin-top: -12px; }
.search-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.compact-heading { align-items: center; margin-bottom: 24px; }
.compact-heading h2 { margin-bottom: 0; }
.quiet-label, .step-label { color: var(--muted); font-size: 12px; font-weight: 700; }
.search-fields { display: grid; grid-template-columns: 1fr 1fr minmax(270px, 1.75fr) .9fr 1fr minmax(150px, .85fr); gap: 12px; align-items: start; }
.field { display: grid; grid-template-rows: 16px 48px; align-content: start; gap: 7px; min-width: 0; color: var(--ink-soft); font-size: 12px; font-weight: 800; }
.field input, .field select, .natural-panel textarea { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 12px; padding: 0 13px; color: var(--ink); background: #fffdfb; outline: none; }
.field input:focus, .field select:focus, textarea:focus { border-color: var(--rose-deep); box-shadow: 0 0 0 3px rgba(124, 58, 237, .12); }
.input-with-action { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; align-items: center; height: 48px; }
.input-with-icon { position: relative; min-width: 0; }
.input-with-icon > span { position: absolute; top: 50%; left: 13px; transform: translateY(-50%); color: var(--rose-deep); font-size: 18px; }
.input-with-icon input { padding-left: 38px; }
.location-suggestions {
  position: absolute;
  z-index: 45;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  width: auto;
  max-height: min(320px, calc(100vh - 170px));
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(36, 27, 47, .14);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.field-location { position: relative; }
.results-search-destination { position: relative; }
.results-location-suggestions { top: calc(100% + 8px); left: 0; right: 0; width: auto; margin-top: 0; }
.suggestion { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 54px; padding: 10px 14px; border: 0; border-bottom: 1px solid #f2eaea; background: var(--paper); text-align: left; color: var(--ink); }
.suggestion:last-child { border-bottom: 0; }
.suggestion > span { min-width: 0; font-size: 14px; font-weight: 800; }
.suggestion small { flex: 0 1 auto; max-width: 62%; color: var(--muted); font-size: 11px; line-height: 1.3; text-align: right; }
.suggestion mark { border-radius: 3px; background: #ede9fe; color: var(--plum-deep); }
.suggestion:hover, .suggestion:focus-visible, .suggestion.is-highlighted { background: #faf8ff; color: var(--plum-deep); }
.suggestion:focus-visible { outline: 2px solid rgba(124, 58, 237, .35); outline-offset: -2px; }
@media (max-width: 720px) {
  .suggestion { align-items: flex-start; flex-direction: column; gap: 3px; }
  .suggestion small { max-width: 100%; text-align: left; }
}
.date-field small { color: var(--muted); font-size: 11px; font-weight: 500; }
.date-help { display: block; margin-top: -12px; color: var(--muted); font-size: 11px; }
.price-input { position: relative; }
.price-input input { padding-right: 82px; }
.price-input span { position: absolute; top: 50%; right: 12px; transform: translateY(-50%); color: var(--muted); font-size: 11px; pointer-events: none; }
.quick-dates { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 22px; }
.date-chip { min-height: 34px; padding: 0 13px; border: 1px solid #ddd1fb; border-radius: 999px; background: #faf8ff; color: var(--plum); font-size: 12px; font-weight: 800; }
.date-chip:hover, .date-chip.is-active { background: var(--rose); border-color: var(--rose); color: var(--ink); }
.date-chip.is-text { border-color: transparent; background: transparent; text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.advanced-details { border-top: 1px solid var(--line); padding-top: 17px; }
.advanced-details summary, .manual-details summary { cursor: pointer; color: var(--plum-deep); font-size: 14px; font-weight: 800; list-style: none; }
.advanced-details summary::-webkit-details-marker, .manual-details summary::-webkit-details-marker { display: none; }
.advanced-details summary span { margin-left: 10px; color: var(--muted); font-size: 12px; font-weight: 500; }
.advanced-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; }
.search-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 22px; }
.natural-mini { display: flex; align-items: center; gap: 11px; min-width: 0; }
.natural-symbol { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: #eee8ff; color: var(--rose-deep); font-size: 24px; }
.natural-mini strong, .natural-mini small { display: block; }
.natural-mini strong { font-size: 13px; }
.natural-mini small { margin-top: 2px; color: var(--muted); font-size: 11px; }
.search-submit { min-width: 150px; }
.search-fields .search-submit { width: 100%; height: 48px; min-height: 48px; align-self: start; }

.natural-panel { margin-top: 16px; padding: 22px; border: 1px solid #ddd1fb; border-radius: 18px; background: #faf8ff; }
.natural-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.natural-header h3 { margin-bottom: 5px; }
.natural-header p { margin-bottom: 5px; color: var(--ink-soft); font-size: 14px; line-height: 1.45; }
.natural-header small { color: var(--muted); font-size: 12px; }
.natural-panel textarea { display: block; min-height: 84px; padding: 13px; resize: vertical; }
.natural-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; margin-top: 12px; }
.voice-status { min-height: 18px; margin: 10px 0 0; color: var(--plum); font-size: 12px; }
.understood-panel { margin-top: 16px; padding: 16px; border: 1px solid #ddd1fb; border-radius: 14px; background: var(--paper); }
.understood-panel strong { display: block; margin-bottom: 8px; }
.understood-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 13px; }
.understood-tag { padding: 7px 10px; border-radius: 999px; background: #f1ebff; color: var(--plum-deep); font-size: 12px; font-weight: 750; }

.results-section { padding: 10px 0 78px; background: #fbf8f6; }
.results-topline { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.results-edit { margin-left: auto; white-space: nowrap; }
.results-topline h2 { margin-bottom: 7px; }
.section-support { margin-bottom: 0; color: var(--ink-soft); font-size: 14px; }
.sort-field { display: grid; gap: 5px; min-width: 190px; color: var(--muted); font-size: 11px; font-weight: 800; }
.sort-field select { min-height: 38px; border: 1px solid var(--line); border-radius: 999px; padding: 0 12px; background: var(--paper); color: var(--ink); font-size: 12px; font-weight: 750; }
.view-switcher { display: flex; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.view-button { min-width: 74px; border: 0; border-radius: 999px; padding: 9px 14px; background: transparent; color: var(--muted); font-size: 13px; font-weight: 800; }
.view-button.is-active { background: var(--ink); color: white; }
.results-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; align-items: start; gap: 20px; }
.results-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 22px; }
.results-layout.is-map-mode { grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr); }
.results-layout.is-map-mode .results-list { max-height: 710px; overflow: auto; padding-right: 4px; gap: 14px; }
.results-layout.is-map-mode .listing-main { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: stretch; }
.results-layout.is-map-mode .listing-copy { padding: 15px; }
.results-layout.is-map-mode .listing-media .gallery { height: 100%; aspect-ratio: 4 / 3; }
.results-layout.is-map-mode .listing-head h3 { font-size: 18px; }
.results-layout.is-map-mode .distance { margin: 9px 0; }
.results-layout.is-map-mode .amenity-line { margin: 10px 0; }
.results-layout.is-map-mode .amenity:nth-child(n+3), .results-layout.is-map-mode .listing-reasons { display: none; }
.results-layout.is-map-mode .listing-footer { margin-top: 10px; }
.listing-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: 0 12px 28px rgba(48, 26, 49, .06); }
.listing-main { display: block; min-height: 0; }
.listing-media { position: relative; }
.gallery { position: relative; aspect-ratio: 16 / 9; min-height: 0; overflow: hidden; background: #eee8ff; touch-action: pan-y; }
.gallery-image { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.gallery::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(36, 23, 47, .18), transparent 32%, rgba(36, 23, 47, .32)); }
.gallery-hover-label {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  color: var(--plum-deep);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 850;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) translateY(5px);
  transition: opacity .18s ease, transform .18s ease;
  backdrop-filter: blur(4px);
  box-shadow: 0 10px 22px rgba(36, 27, 47, .14);
  white-space: nowrap;
}
.gallery-hover-label.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%);
}
.gallery-nav { position: absolute; z-index: 2; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid rgba(255, 255, 255, .55); border-radius: 50%; background: rgba(36, 23, 47, .7); color: white; line-height: 0; }
.gallery-nav:hover { background: var(--ink); }
.gallery-prev { top: 50%; left: 13px; transform: translateY(-50%); }
.gallery-next { top: 50%; right: 13px; transform: translateY(-50%); }
.chevron { display: block; width: 9px; height: 9px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; }
.chevron-left { transform: rotate(-135deg); margin-left: 4px; }
.chevron-right { transform: rotate(45deg); margin-right: 4px; }
.gallery-count { position: absolute; z-index: 2; right: 13px; bottom: 13px; padding: 5px 8px; border-radius: 999px; background: rgba(36, 23, 47, .76); color: white; font-size: 11px; font-weight: 800; }
.availability-chip { position: absolute; z-index: 2; top: 14px; left: 14px; padding: 7px 10px; border-radius: 999px; background: #faf8ff; color: var(--ink); font-size: 11px; font-weight: 850; }
.availability-chip.hot { background: var(--fuchsia); color: #fff; }
.listing-copy { position: relative; display: flex; flex-direction: column; min-height: 180px; padding: 18px 18px 20px; background: var(--paper); }
.listing-head { display: flex; justify-content: space-between; gap: 15px; }
.listing-head h3 { margin-bottom: 5px; font-size: 18px; }
.listing-location { margin-bottom: 0; color: var(--muted); font-size: 13px; }
.listing-location-type { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.listing-card-actions, .detail-heading-actions { display: flex; align-items: flex-start; gap: 7px; }
.listing-card-tools { position: absolute; z-index: 4; top: 13px; right: 13px; left: 13px; display: flex; align-items: flex-start; justify-content: space-between; pointer-events: none; }
.listing-card-tools .favorite-button { pointer-events: auto; }
.favorite-button { display: grid; place-items: center; flex: 0 0 auto; width: 35px; height: 35px; padding: 0 0 1px; border: 1px solid #ddd1fb; border-radius: 50%; background: var(--paper); color: var(--rose-deep); font-size: 20px; line-height: 1; }
.favorite-button:hover, .favorite-button.is-active { border-color: var(--rose); background: #f1ebff; color: var(--plum-deep); }
.favorite-action { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 5px 10px 5px 5px; border: 1px solid transparent; border-radius: 999px; background: transparent; color: var(--plum-deep); font-size: 13px; font-weight: 800; line-height: 1.15; white-space: nowrap; }
.favorite-action:hover, .favorite-action:focus-visible { border-color: #ddd1fb; background: #f5f1ff; }
.favorite-action .favorite-icon { display: block; width: 30px; height: 30px; overflow: visible; }
.favorite-action .favorite-icon path { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.favorite-action.is-active .favorite-icon path { fill: currentColor; }
.distance { margin: 16px 0 13px; color: var(--plum); font-size: 12px; font-weight: 800; }
.price-line { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.price-line strong { font-size: 21px; letter-spacing: -.04em; }
.price-line span { color: var(--muted); font-size: 12px; white-space: nowrap; }
.price-line-label { margin: 15px 0 0; color: var(--ink-soft); font-size: 13px; }
.price-line-label strong { color: var(--ink); font-size: 21px; letter-spacing: -.04em; }
.real-total { margin-top: 6px; color: var(--ink-soft); font-size: 13px; }
.real-total strong { color: var(--ink); }
.amenity-line { display: block; overflow: hidden; margin: 12px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.amenity { padding: 0; border-radius: 0; background: transparent; color: inherit; font-size: inherit; font-weight: inherit; }
.card-price { display: flex; align-items: baseline; gap: 8px; margin: auto 0 0; padding-top: 15px; color: var(--ink); }
.card-price strong { font-size: 18px; letter-spacing: -.035em; }
.card-availability { margin: 7px 0 0; color: var(--green); font-size: 11px; font-weight: 800; }
.card-availability.pending { color: var(--gold); }
.card-open-link { display: block; width: max-content; margin-top: 10px; color: var(--plum-deep); font-size: 11px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.listing-reasons { display: grid; gap: 5px; margin: auto 0 17px; padding: 0; list-style: none; color: var(--ink-soft); font-size: 12px; }
.listing-reasons li::before { content: "✓"; margin-right: 7px; color: var(--green); font-weight: 900; }
.listing-reasons li.warning::before { content: "•"; color: var(--gold); }
.listing-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.availability-note { color: var(--green); font-size: 12px; font-weight: 800; }
.availability-note.pending { color: var(--gold); }
.small-button { min-height: 38px; padding: 0 14px; font-size: 12px; }
.listing-detail { padding: 22px; border-top: 1px solid var(--line); background: #fffdfb; }
.detail-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; }
.detail-grid h4 { margin: 0 0 8px; font-size: 14px; }
.detail-grid p { margin-bottom: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.55; }
.detail-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: 13px; }
.detail-list li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 7px; }
.detail-list li:last-child { border-bottom: 0; }
.detail-list strong { color: var(--ink); }
.gallery-detail { aspect-ratio: 16 / 9; height: auto; min-height: 0; border-radius: 16px; margin-bottom: 18px; }

.detail-page-section { padding: 42px 0 84px; background: #fbf8f6; }
.detail-page { min-width: 0; }
.detail-back-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 20px; }
.back-link { color: var(--plum); font-size: 13px; font-weight: 800; }
.detail-note { color: var(--muted); font-size: 12px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 390px); gap: 34px; align-items: start; }
.detail-main-column { min-width: 0; }
.detail-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); gap: 26px; align-items: start; }
.detail-gallery-wrap .gallery { border-radius: var(--radius); box-shadow: var(--shadow); }
.detail-intro { padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); box-shadow: 0 12px 25px rgba(48, 26, 49, .05); }
.detail-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.detail-intro h1 { max-width: 620px; margin-bottom: 8px; font-size: clamp(2rem, 4vw, 3.5rem); }
.detail-location { margin-bottom: 0; color: var(--muted); font-size: 15px; }
.detail-distance { margin: 17px 0 12px; color: var(--plum); font-size: 13px; font-weight: 800; }
.detail-highlight-amenities { margin: 18px 0 16px; padding-top: 15px; border-top: 1px solid var(--line); }
.detail-mini-label { margin: 0 0 8px; color: var(--plum); font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.detail-highlight-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 12px; }
.detail-highlight-amenity { display: flex; align-items: center; gap: 7px; min-width: 0; color: var(--ink-soft); font-size: 12px; font-weight: 750; line-height: 1.3; }
.detail-highlight-amenity .amenity-icon { flex-basis: 25px; width: 25px; height: 25px; }
.detail-highlight-amenity .amenity-svg { width: 22px; height: 22px; }
.detail-price { display: flex; align-items: baseline; gap: 8px; }
.detail-price strong { font-size: 30px; letter-spacing: -.05em; }
.detail-price span { color: var(--muted); font-size: 13px; }
.detail-price-label { margin: 0; color: var(--ink-soft); font-size: 14px; }
.detail-total { margin: 7px 0 12px; color: var(--ink-soft); font-size: 14px; }
.detail-total strong { color: var(--ink); }
.detail-availability { display: inline-flex; padding: 7px 10px; border-radius: 999px; background: #eaf4ec; color: var(--green); font-size: 12px; font-weight: 800; }
.detail-availability.pending { background: #fff2df; color: #9a6432; }
.booking-panel { display: grid; gap: 13px; margin-top: 22px; padding: 18px; border: 1px solid #ddd1fb; border-radius: 17px; background: var(--paper); box-shadow: 0 12px 25px rgba(65, 38, 111, .06); }
.booking-panel strong, .booking-panel span { display: block; }
.booking-panel strong { font-size: 13px; }
.booking-panel span { margin-top: 4px; color: var(--muted); font-size: 12px; }
.booking-button { width: 100%; }
.booking-availability {
  padding: 10px 12px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 850;
}
.booking-availability-available { background: #edf8f0; color: #28794a; }
.booking-availability-unavailable { background: #fff0f1; color: #9b4853; }
.booking-availability-pending { background: #fff5e8; color: #98601e; }
.booking-price-summary {
  display: flex;
  flex-direction: column;
  align-items: baseline;
  gap: 2px;
  margin: -3px 0 0;
  color: var(--plum);
  font-size: 17px;
  font-weight: 850;
}
.booking-price-summary strong { color: var(--plum); font-size: 20px; }
.booking-price-total {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}
.booking-contact-secondary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 2px;
}
.booking-contact-secondary > span {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.booking-contact-secondary .contact-link {
  margin: 0;
  white-space: nowrap;
}
.detail-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; margin-top: 30px; }
.detail-main-column { min-width: 0; }
.detail-section { padding: 26px 0; border-top: 1px solid var(--line); }
.detail-section h2 { margin-bottom: 12px; font-size: clamp(1.45rem, 2.4vw, 2rem); }
.detail-description, .detail-privacy, .map-section p, .reviews-card p { color: var(--ink-soft); font-size: 15px; line-height: 1.65; }
.detail-privacy { margin-bottom: 0; font-size: 13px; }
.detail-amenities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px 18px; }
.detail-amenities > span { display: flex; align-items: center; gap: 10px; min-height: 49px; padding: 8px 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink-soft); font-size: 13px; font-weight: 700; }
.amenity-icon { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 0; background: transparent; color: var(--rose-deep); font-size: 12px; font-weight: 900; }
.amenity-svg { display: block; width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.equipment-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.equipment-group h3 { margin-bottom: 9px; font-size: 15px; }
.equipment-group .simple-list { gap: 6px; font-size: 13px; }
.detail-two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.simple-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: 14px; line-height: 1.45; }
.simple-list li::before { content: "•"; margin-right: 8px; color: var(--rose-deep); }
.map-section { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.map-section h2 { margin-bottom: 5px; }
.map-section p { margin-bottom: 0; }
.detail-aside { position: sticky; top: calc(var(--header-height) + 18px); display: grid; align-content: start; gap: 14px; }
.contact-card, .reviews-card { padding: 20px; border: 1px solid var(--line); border-radius: 17px; background: var(--paper); }
.contact-card h3 { font-size: 18px; }
.contact-card a { display: block; margin-top: 10px; color: var(--plum); font-size: 13px; font-weight: 800; }
.contact-card small, .reviews-card p { display: block; margin: 15px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.reviews-card strong { font-size: 14px; }
.nearby-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

.discovery-section { padding: 10px 0 70px; background: var(--wash); }
.discovery-grid { display: grid; gap: 34px; }
.discovery-block { min-width: 0; }
.discovery-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 15px; }
.discovery-heading .eyebrow { margin-bottom: 6px; }
.discovery-heading h2 { margin-bottom: 0; font-size: clamp(1.35rem, 2.8vw, 1.9rem); }
.discovery-heading > span { color: var(--muted); font-size: 12px; font-weight: 750; white-space: nowrap; }
.discovery-title-mobile { display: none; }
.discovery-eyebrow-mobile { display: none; }
.search-title-mobile { display: none; }
.discovery-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.discovery-card { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--paper); box-shadow: 0 10px 25px rgba(65, 38, 111, .05); }

.map-panel { position: sticky; top: calc(var(--header-height) + 16px); padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: 0 10px 25px rgba(48, 26, 49, .05); }
.map-toolbar { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 12px; font-size: 12px; }
.map-toolbar span { color: var(--muted); }
.demo-map { position: relative; height: 490px; overflow: hidden; border-radius: 17px; background: #eadfdb; background-image: linear-gradient(35deg, transparent 47%, rgba(255, 255, 255, .72) 48%, rgba(255, 255, 255, .72) 50%, transparent 51%), linear-gradient(120deg, transparent 38%, rgba(255, 255, 255, .62) 39%, rgba(255, 255, 255, .62) 41%, transparent 42%); }
.map-water { position: absolute; top: -10%; right: -8%; width: 56%; height: 42%; border-radius: 50%; background: #c9dce0; transform: rotate(15deg); }
.map-road { position: absolute; height: 3px; background: rgba(255,255,255,.8); transform-origin: left center; }
.road-one { width: 125%; top: 54%; left: -12%; transform: rotate(-21deg); }
.road-two { width: 110%; top: 26%; left: -4%; transform: rotate(34deg); }
.road-three { width: 90%; top: 79%; left: 8%; transform: rotate(8deg); }
.map-label { position: absolute; color: rgba(75, 62, 72, .65); font-size: 11px; font-weight: 800; }
.map-label-one { left: 21%; top: 57%; }
.map-label-two { left: 58%; top: 26%; }
.map-label-three { right: 10%; top: 45%; }
.map-pin { position: absolute; z-index: 2; display: grid; place-items: center; min-width: 66px; height: 31px; padding: 0 8px; border: 2px solid #fff; border-radius: 999px; background: var(--ink); color: #fff8f3; font-size: 10px; font-weight: 850; white-space: nowrap; box-shadow: 0 5px 12px rgba(36, 23, 47, .18); transform: translate(-50%, -50%); }
.map-pin:hover, .map-pin.is-active { background: var(--rose-deep); color: #fff; }
.map-pin span { transform: none; }
.map-preview { position: absolute; z-index: 1001000; width: min(255px, calc(100% - 24px)); isolation: isolate; pointer-events: auto; }
.map-preview::before { content: ""; position: absolute; z-index: 0; inset: -14px; border-radius: 26px; background: transparent; pointer-events: auto; }
.map-preview::after { content: ""; position: absolute; z-index: 1; width: 12px; height: 12px; border: 1px solid rgba(124, 58, 237, .14); background: #fff; transform: rotate(45deg); }
.map-preview[data-placement="above"]::after { right: calc(50% - 6px); bottom: -7px; border-top: 0; border-left: 0; }
.map-preview[data-placement="below"]::after { right: calc(50% - 6px); top: -7px; border-right: 0; border-bottom: 0; }
.map-preview[data-placement="left"]::after { right: -7px; top: calc(50% - 6px); border-left: 0; border-bottom: 0; }
.map-preview[data-placement="right"]::after { left: -7px; top: calc(50% - 6px); border-top: 0; border-right: 0; }
.map-preview-card { position: relative; z-index: 2; overflow: hidden; border: 1px solid rgba(124, 58, 237, .16); border-radius: 15px; background: #fff; box-shadow: 0 15px 31px rgba(36, 23, 47, .2); cursor: pointer; }
.map-preview-card:hover { border-color: rgba(124, 58, 237, .3); box-shadow: 0 17px 36px rgba(36, 23, 47, .24); }
.map-preview-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #eee9f7; touch-action: pan-y; }
.map-preview-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.map-preview-close { position: absolute; z-index: 3; top: 8px; right: 8px; display: grid; width: 28px; height: 28px; padding: 0; place-items: center; border: 1px solid rgba(255, 255, 255, .78); border-radius: 50%; background: rgba(36, 23, 47, .7); color: #fff; font-size: 20px; font-weight: 500; line-height: 1; cursor: pointer; }
.map-preview-close:hover { background: var(--plum); }
.map-preview-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.map-preview-nav { position: absolute; top: 50%; display: grid; width: 30px; height: 30px; padding: 0; place-items: center; border: 1px solid rgba(255, 255, 255, .72); border-radius: 50%; background: rgba(36, 23, 47, .54); color: #fff; transform: translateY(-50%); transition: background .16s ease, transform .16s ease; }
.map-preview-nav:hover { background: rgba(124, 58, 237, .92); }
.map-preview-nav:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.map-preview-prev { left: 8px; }
.map-preview-next { right: 8px; }
.map-preview-nav .chevron { width: 8px; height: 8px; border-width: 2px; }
.map-preview-count { position: absolute; right: 8px; bottom: 8px; padding: 2px 6px; border-radius: 999px; background: rgba(36, 23, 47, .65); color: #fff; font-size: 10px; font-weight: 800; }
.map-preview-body { display: grid; gap: 3px; padding: 10px 11px 11px; }
.map-preview-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 7px; }
.map-preview-heading strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-size: 14px; }
.map-preview-heading b { flex: 0 0 auto; color: var(--plum); font-size: 12px; }
.map-preview-location, .map-preview-body small { color: var(--muted); font-size: 11px; }
.map-preview-body small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.map-preview-availability { color: var(--plum); font-size: 11px; font-weight: 750; }
.map-preview-cta { justify-self: start; margin-top: 3px; padding: 0; border: 0; background: transparent; color: var(--plum); font: inherit; font-size: 11px; font-weight: 850; text-decoration: underline; text-underline-offset: 3px; }
.map-preview-cta:hover { color: var(--rose-deep); }
.map-note { margin: 12px 0 0; color: var(--muted); font-size: 11px; line-height: 1.4; }

.host-section { padding: 62px 0 84px; background: linear-gradient(135deg, #FAF7FA, #FBF4F8); }
.host-layout { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: 42px; }
.host-intro h2 { max-width: 480px; }
.host-intro > p:not(.eyebrow) { max-width: 460px; color: var(--ink-soft); font-size: 16px; line-height: 1.55; }
.host-title-mobile, .host-copy-mobile { display: none; }
.host-benefits { display: grid; gap: 9px; margin-top: 24px; color: var(--plum); font-size: 13px; font-weight: 750; }
.host-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.host-card > .section-heading { margin-bottom: 20px; }
.seller-form { margin-top: 20px; }
.seller-grid, .review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 16px; }
.field-wide, .review-wide { grid-column: 1 / -1; }
.manual-details { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.manual-details[open] summary { margin-bottom: 16px; }
.seller-review { margin-top: 16px; padding-top: 18px; border-top: 1px solid #ddd1fb; }
.review-field label, .photo-picker { display: grid; gap: 7px; color: var(--ink-soft); font-size: 12px; font-weight: 800; }
.review-field input, .review-field textarea, .review-field select { width: 100%; border: 1px solid var(--line); border-radius: 11px; padding: 10px 12px; background: #fffdfb; color: var(--ink); }
.review-field textarea { min-height: 84px; resize: vertical; }
.check-row { display: flex; flex-wrap: wrap; gap: 15px; align-items: center; padding: 8px 0; color: var(--ink-soft); font-size: 13px; }
.check-row label { display: inline-flex; gap: 7px; align-items: center; }
.photo-picker { padding: 13px; border: 1px dashed var(--rose-deep); border-radius: 12px; background: #faf8ff; }
.photo-picker input { font-weight: 500; }
.photo-picker small { color: var(--muted); font-weight: 500; }
.review-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.review-status { margin: 12px 0 0; color: var(--green); font-size: 13px; font-weight: 750; }

.lightbox { position: fixed; z-index: 50; inset: 0; display: grid; place-items: center; padding: 24px; }
.lightbox-backdrop { position: absolute; inset: 0; border: 0; background: rgba(26, 16, 31, .88); }
.lightbox-content { position: relative; width: min(920px, 100%); max-height: 90vh; display: grid; place-items: center; }
.lightbox-content img { max-width: 100%; max-height: 85vh; border-radius: 15px; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.lightbox-close { position: absolute; z-index: 4; top: -14px; right: -14px; background: rgba(255, 250, 246, .92); }
.lightbox-prev { top: 50%; left: 12px; transform: translateY(-50%); }
.lightbox-next { top: 50%; right: 12px; transform: translateY(-50%); }
.lightbox-count { right: 50%; bottom: -2px; transform: translateX(50%); }

.booking-modal { position: fixed; z-index: 60; inset: 0; display: grid; place-items: center; padding: 20px; }
.booking-modal-backdrop { position: absolute; inset: 0; border: 0; background: rgba(26, 16, 31, .55); }
.booking-modal-content { position: relative; width: min(430px, 100%); padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); box-shadow: 0 24px 70px rgba(36, 23, 47, .24); }
.booking-modal-content h2 { margin-bottom: 10px; font-size: 26px; }
.booking-modal-content p:not(.eyebrow) { color: var(--ink-soft); font-size: 14px; line-height: 1.55; }
.booking-modal-note { color: var(--muted) !important; font-size: 12px !important; }
.booking-modal-content .button { margin-top: 10px; }
.booking-modal-close { position: absolute; top: 14px; right: 14px; }
.contact-modal { position: fixed; z-index: 65; inset: 0; display: grid; place-items: center; padding: 20px; }
.contact-modal-backdrop { position: absolute; inset: 0; border: 0; background: rgba(26, 16, 31, .55); }
.contact-modal-content { position: relative; width: min(520px, 100%); max-height: min(720px, 92vh); overflow: auto; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); box-shadow: 0 24px 70px rgba(36, 23, 47, .24); }
.contact-modal-content h2 { margin-bottom: 10px; font-size: 26px; }
.contact-modal-content > p:not(.eyebrow) { color: var(--ink-soft); font-size: 14px; line-height: 1.55; }
.contact-modal-content form { display: grid; gap: 13px; margin-top: 18px; }
.contact-modal-content .field { gap: 6px; }
.contact-modal-content textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px; color: var(--ink); background: #fffdfb; resize: vertical; }
.contact-modal-content textarea:focus { border-color: var(--rose-deep); box-shadow: 0 0 0 3px rgba(124, 58, 237, .12); outline: none; }
.contact-modal-close { position: absolute; top: 14px; right: 14px; }
.contact-form-status { min-height: 18px; margin: 0; color: var(--green); font-size: 13px; font-weight: 750; }
.contact-link { display: block; margin-top: 10px; padding: 0; border: 0; background: transparent; color: var(--plum); font-size: 13px; font-weight: 800; text-align: left; }
.contact-link:hover { color: var(--rose-deep); text-decoration: underline; text-underline-offset: 3px; }
.return-highlight { animation: return-highlight 1.5s ease-out; }
@keyframes return-highlight {
  0%, 100% { box-shadow: 0 12px 28px rgba(48, 26, 49, .06); }
  25%, 70% { box-shadow: 0 0 0 4px rgba(200, 121, 136, .25), 0 16px 32px rgba(200, 121, 136, .14); }
}

.site-footer { padding: 24px 0; background: var(--ink); color: #fff7f1; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; font-size: 12px; }
.footer-inner > span:nth-child(2) { color: #cbbbc9; }
.footer-inner nav { display: flex; gap: 13px; color: #ecd7db; }

@media (min-width: 981px) {
  .hero-copy h1 { max-width: none; white-space: nowrap; font-size: clamp(2.5rem, 4vw, 3.4rem); }
  .account-intro h2,
  .account-intro > p:not(.eyebrow) { white-space: nowrap; }
  .account-intro h2 { font-size: clamp(2rem, 3.2vw, 2.8rem); }
}

@media (max-width: 980px) {
  .search-fields { grid-template-columns: 1fr 1fr 1.35fr .82fr .92fr; }
  .field-location { grid-column: span 2; }
  .advanced-grid { grid-template-columns: repeat(2, 1fr); }
  .results-layout { grid-template-columns: 1fr; }
  .map-panel { position: relative; top: auto; }
  .demo-map { height: 390px; }
}

@media (max-width: 720px) {
  .discovery-title-desktop { display: none; }
  .discovery-title-mobile { display: inline; white-space: nowrap; }
  .search-title-desktop { display: none; }
  .search-title-mobile { display: inline; white-space: nowrap; }
  :root { --header-height: 66px; }
  .shell { width: min(100% - 28px, 600px); }
  .site-header { height: auto; }
  .header-inner { min-height: 66px; flex-wrap: wrap; gap: 5px 12px; padding: 10px 0; }
  .brand { min-width: 0; }
  .brand small { display: none; }
  .header-host { display: flex; margin-left: auto; min-height: 38px; padding: 4px 10px; font-size: 11px; }
  .hero { padding: 48px 0 38px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  h1 { max-width: 560px; font-size: clamp(2rem, 9.2vw, 2.7rem); line-height: 1.05; }
  .hero-lead { font-size: 16px; }
  .search-zone { margin-top: -5px; }
  .search-card { padding: 18px; border-radius: 18px; }
  .compact-heading { margin-bottom: 18px; }
  .quiet-label { display: none; }
  .search-fields { grid-template-columns: 1fr 1fr; gap: 10px; }
  .field-location { grid-column: 1 / -1; }
  .field { grid-template-rows: auto auto; }
  .input-with-action { grid-template-columns: 1fr; gap: 6px; height: auto; }
  .advanced-grid { grid-template-columns: 1fr; }
  .advanced-details summary span { display: block; margin: 4px 0 0; }
  .search-actions { align-items: stretch; flex-direction: column; gap: 14px; }
  .natural-mini { align-items: flex-start; }
  .natural-mini .button { margin-left: auto; padding: 0 12px; }
  .search-submit { width: 100%; }
  .natural-panel { padding: 16px; }
  .natural-header { gap: 10px; }
  .natural-header p { font-size: 13px; }
  .natural-actions { justify-content: stretch; }
  .natural-actions .button { flex: 1 1 170px; }
  .results-section { padding-bottom: 58px; }
  .results-topline { align-items: flex-start; flex-direction: column; gap: 14px; }
  .sort-field { width: 100%; }
  .results-edit { margin-left: 0; }
  .view-switcher { position: fixed; z-index: 18; right: 14px; bottom: 14px; align-self: auto; width: auto; box-shadow: 0 10px 24px rgba(36, 23, 47, .18); }
  .view-button { flex: 1; }
  .results-layout.is-map-mode { display: block; }
  .results-layout.is-map-mode .results-list { display: none; }
  .results-layout.is-map-mode .map-panel { min-height: 560px; }
  .results-layout.is-map-mode .demo-map { height: min(68vh, 620px); min-height: 500px; }
  .map-preview { width: min(255px, calc(100% - 20px)); }
  .map-preview-heading { align-items: flex-start; flex-direction: column; gap: 2px; }
  .map-preview-heading b { font-size: 13px; }
  .map-preview-nav { width: 32px; height: 32px; }
  .listing-main { display: block; }
  .gallery { height: auto; min-height: 0; aspect-ratio: 16 / 9; }
  .listing-copy { padding: 17px; }
  .listing-head h3 { font-size: 20px; }
  .price-line strong { font-size: 19px; }
  .price-line-label strong { font-size: 19px; }
  .listing-detail { padding: 17px; }
  .detail-grid { grid-template-columns: 1fr; gap: 18px; }
  .gallery-detail { height: auto; min-height: 0; aspect-ratio: 16 / 9; }
  .detail-page-section { padding: 26px 0 92px; }
  .detail-top, .detail-body, .detail-layout { grid-template-columns: 1fr; }
  .detail-aside { position: static; order: -1; }
  .detail-intro { padding: 18px; }
  .detail-intro h1 { font-size: clamp(2rem, 9vw, 2.8rem); }
  .detail-body { margin-top: 12px; }
  .detail-aside { order: -1; grid-template-columns: 1fr 1fr; }
  .nearby-grid { grid-template-columns: 1fr 1fr; }
  .host-section { padding: 46px 0 62px; }
  .host-layout { grid-template-columns: 1fr; gap: 24px; }
  .host-card { padding: 18px; }
  .seller-grid, .review-grid { grid-template-columns: 1fr; }
  .field-wide, .review-wide { grid-column: auto; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-inner nav { flex-wrap: wrap; }
  .detail-amenities, .equipment-groups { grid-template-columns: 1fr; }
  .discovery-section { padding: 0 0 48px; }
  .discovery-heading { align-items: flex-start; flex-direction: column; gap: 6px; }
  .discovery-heading h2 { font-size: 21px; }
  .discovery-row { display: flex; gap: 12px; overflow-x: auto; padding: 2px 1px 8px; scroll-snap-type: x proximity; }
  .discovery-card { flex: 0 0 min(78vw, 290px); scroll-snap-align: start; }
}

@media (max-width: 430px) {
  .brand strong { font-size: 14px; }
  .brand-mark { width: 36px; height: 36px; font-size: 24px; }
  h1 { font-size: clamp(1.85rem, 9vw, 2.3rem); }
  h2 { font-size: clamp(1.55rem, 7vw, 1.8rem); }
  .search-fields { grid-template-columns: 1fr; }
  .field-location { grid-column: auto; }
  .price-line { display: block; }
  .price-line span { display: block; margin-top: 4px; }
  .natural-mini { display: grid; grid-template-columns: auto 1fr; }
  .natural-mini .button { grid-column: 2; margin-left: 0; justify-self: start; }
  .detail-heading { display: block; }
  .detail-price strong { font-size: 26px; }
  .detail-two-columns, .detail-aside, .nearby-grid { grid-template-columns: 1fr; }
  .booking-contact-secondary { align-items: flex-start; flex-direction: column; gap: 4px; }
  .map-section { align-items: flex-start; flex-direction: column; }
  .map-section .button { width: 100%; }
}

/* Current Love Room identity and lightweight support surfaces. */
body { background: var(--wash); }
.hero { background: radial-gradient(circle at 84% 22%, rgba(237, 16, 110, .16) 0, rgba(237, 16, 110, .07) 17%, transparent 35%), linear-gradient(120deg, #FAF7FA 0%, #FBF4F8 58%, #F8EEF4 100%); }
.results-section, .detail-page-section { background: #fbfaff; }
.host-section { background: linear-gradient(135deg, #FFFCFA, #F5F3FF); }
.search-card, .account-card { box-shadow: 0 16px 40px rgba(65, 38, 111, .08); }
.date-chip, .understood-tag, .availability-chip { background: #f5f1ff; }
.date-chip:hover, .date-chip.is-active { background: var(--rose); border-color: var(--rose); color: var(--ink); }
.natural-panel { border-color: #ddd1fb; background: #faf8ff; }
.natural-symbol, .amenity-icon { background: #eee8ff; color: var(--plum-deep); }
.listing-card, .discovery-card, .map-panel, .detail-intro, .contact-card, .reviews-card { box-shadow: 0 12px 28px rgba(65, 38, 111, .06); }
.gallery-image {
  cursor: pointer;
}
.availability-chip.hot { background: var(--fuchsia); color: #fff; }
.gallery-stack { min-width: 0; }
.gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 10px 1px 1px; scrollbar-width: thin; }
.gallery-thumb { flex: 0 0 72px; width: 72px; height: 48px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 9px; background: var(--paper); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.is-active { border-color: var(--rose-deep); box-shadow: 0 0 0 2px rgba(124, 58, 237, .12); }
.account-section { position: relative; isolation: isolate; overflow: hidden; min-height: 650px; padding: 92px 0 110px; background: #f5f3ff; }
.account-section::after { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(255, 252, 250, .74) 0%, rgba(255, 252, 250, .58) 42%, rgba(245, 243, 255, .48) 100%); }
.account-background-media { position: absolute; z-index: 0; inset: 0; display: block; pointer-events: none; }
.account-background-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.78) blur(1px); transform: scale(1.02); }
.account-layout { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, .9fr) minmax(360px, 520px); align-items: center; gap: 70px; }
.account-intro { padding: 34px 0; }
.account-intro h2 { max-width: none; margin-bottom: 14px; color: var(--ink); }
.account-intro > p:not(.eyebrow) { max-width: none; color: var(--ink-soft); font-size: 17px; line-height: 1.55; }
.account-title-mobile { display: none; }
.account-copy-mobile { display: none; }
.account-points { display: grid; gap: 10px; margin-top: 26px; color: var(--plum-deep); font-size: 13px; font-weight: 750; }
.account-card { padding: 32px; border: 1px solid rgba(255, 255, 255, .78); border-radius: 22px; background: rgba(255, 252, 250, .94); box-shadow: 0 22px 55px rgba(65, 38, 111, .16); backdrop-filter: blur(10px); }
.account-card h3 { margin-bottom: 24px; font-size: clamp(1.55rem, 2.5vw, 2rem); }
.account-card form { display: grid; gap: 14px; }
.account-card .button { width: 100%; }
.account-card .account-status { margin-top: 2px; }
.account-status { min-height: 18px; margin: 0; color: var(--green); font-size: 12px; font-weight: 750; }
.help-widget { position: fixed; z-index: 30; right: 22px; bottom: 20px; display: grid; justify-items: end; gap: 10px; }
.help-toggle { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--rose-deep); color: white; font-size: 22px; font-weight: 700; box-shadow: 0 12px 26px rgba(65, 38, 111, .24); }
.help-toggle:hover, .help-toggle:focus-visible { background: var(--plum-deep); }
.help-panel { width: min(320px, calc(100vw - 32px)); padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); box-shadow: 0 18px 44px rgba(65, 38, 111, .18); }
.help-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.help-panel-head strong { font-size: 14px; line-height: 1.35; }
.help-close { width: 27px; height: 27px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--ink-soft); font-size: 18px; line-height: 1; }
.help-actions { display: grid; gap: 6px; }
.help-actions button { min-height: 39px; padding: 0 11px; border: 1px solid var(--line); border-radius: 10px; background: #faf8ff; color: var(--ink); text-align: left; font-size: 12px; font-weight: 750; }
.help-actions button:hover, .help-actions button:focus-visible { border-color: var(--rose-deep); background: #f1ebff; color: var(--plum-deep); }
.team-contact-modal { position: fixed; z-index: 66; inset: 0; display: grid; place-items: center; padding: 20px; }
.team-contact-modal .contact-modal-backdrop { position: absolute; inset: 0; border: 0; background: rgba(26, 16, 31, .55); }
.team-contact-modal .contact-modal-content { position: relative; width: min(520px, 100%); max-height: min(720px, 92vh); overflow: auto; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); box-shadow: 0 24px 70px rgba(36, 23, 47, .24); }
.team-contact-modal .contact-modal-content > p:not(.eyebrow) { color: var(--ink-soft); font-size: 14px; line-height: 1.55; }
.team-contact-modal .contact-modal-content form { display: grid; gap: 13px; margin-top: 18px; }
.team-contact-modal .contact-modal-content textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px; color: var(--ink); background: #fffdfb; resize: vertical; }
.has-detail .help-widget { bottom: 20px; }
.return-highlight { animation-name: return-highlight-purple; }
@keyframes return-highlight-purple {
  0%, 100% { box-shadow: 0 12px 28px rgba(65, 38, 111, .06); }
  25%, 70% { box-shadow: 0 0 0 4px rgba(124, 58, 237, .22), 0 16px 32px rgba(124, 58, 237, .12); }
}

@media (max-width: 720px) {
  .header-host { display: none; }
  .header-inner { flex-wrap: nowrap; }
  .brand { flex: 1; margin-right: auto; }
  .account-button, .menu-toggle { flex: 0 0 40px; width: 40px; height: 40px; }
  .menu-toggle { display: grid; }
  .account-section { min-height: 720px; padding: 36px 0 78px; }
  .account-section::after { background: linear-gradient(180deg, rgba(255, 252, 250, .76) 0%, rgba(255, 252, 250, .62) 46%, rgba(245, 243, 255, .58) 100%); }
  .account-layout { grid-template-columns: 1fr; gap: 12px; }
  .account-intro { padding: 4px 0; }
  .account-intro h2 { margin-bottom: 6px; }
  .account-intro > p:not(.eyebrow) { margin-bottom: 0; }
  .account-title-desktop { display: none; }
  .account-title-mobile { display: inline; white-space: nowrap; }
  .account-copy-desktop { display: none; }
  .account-copy-mobile { display: inline; white-space: nowrap; font-size: .9em; }
  .account-card { padding: 22px; }
  .help-widget { right: 14px; bottom: 16px; }
  body.has-detail .help-widget { bottom: 82px; }
  body.has-results .help-widget { bottom: 82px; }
  .help-toggle { width: 44px; height: 44px; }
  .help-panel { width: min(310px, calc(100vw - 28px)); }
  .gallery-thumbs { padding-top: 8px; }
}

@media (min-width: 721px) {
  .menu-toggle, .mobile-menu { display: none !important; }
}

/* Listing cards: one visual language for results, selections and nearby recommendations. */
.listing-card { cursor: pointer; }
.listing-card .gallery { border-radius: var(--radius) var(--radius) 0 0; }
.listing-card .gallery-image { transition: transform .22s ease; }
.listing-card:hover .gallery-image { transform: scale(1.025); }
@media (hover: none), (pointer: coarse) {
  .gallery-hover-label { display: none; }
}
.listing-card:focus-visible { outline: 3px solid rgba(124, 58, 237, .25); outline-offset: 3px; }
.listing-card .listing-head { min-height: 45px; }
.listing-card .favorite-button { border-color: rgba(255, 255, 255, .7); box-shadow: 0 5px 15px rgba(36, 27, 47, .14); }
.listing-card .card-open-link { pointer-events: auto; }
.listing-card-selection, .listing-card-nearby { height: 100%; }
.listing-card-selection .listing-copy, .listing-card-nearby .listing-copy { min-height: 172px; }
.results-layout.is-map-mode .results-list { grid-template-columns: 1fr; }
.results-layout.is-map-mode .listing-card .listing-copy { min-height: 0; padding: 15px; }
.results-layout.is-map-mode .listing-card .listing-head h3 { font-size: 17px; }
.results-layout.is-map-mode .listing-card .amenity-line { margin-top: 8px; }
.results-layout.is-map-mode .listing-card .card-price { padding-top: 10px; }
.results-layout.is-map-mode .listing-card .card-open-link { margin-top: 7px; }
.host-intro h2 { max-width: none; white-space: nowrap; font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
.host-intro > p:not(.eyebrow) { white-space: nowrap; }
.host-section { background: linear-gradient(135deg, #FFFCFA, #F5F3FF); }
.field input, .field select, .natural-panel textarea, .review-field input, .review-field textarea, .review-field select { background: #FFFCFA; }
.favorite-button:hover, .favorite-button.is-active { border-color: var(--rose); background: #f1ebff; color: var(--plum-deep); }

@media (max-width: 1100px) and (min-width: 721px) {
  .results-list, .discovery-row, .nearby-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .host-intro h2 { white-space: normal; }
  .host-intro > p:not(.eyebrow) { white-space: normal; }
}

@media (max-width: 720px) {
  .results-list, .discovery-row, .nearby-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
  .discovery-row { overflow: visible; padding: 0; scroll-snap-type: none; }
  .discovery-card { flex: none; }
  .listing-card .listing-copy { min-height: 170px; padding: 17px; }
  .listing-card .listing-head h3 { font-size: 20px; }
  .listing-card .card-price strong { font-size: 20px; }
  .host-title-desktop, .host-copy-desktop { display: none; }
  .host-title-mobile, .host-copy-mobile { display: inline; }
  .host-intro h2 { white-space: nowrap; font-size: clamp(1.75rem, 8vw, 2.25rem); }
  .host-intro > p:not(.eyebrow) { white-space: normal; }
  .detail-amenities { grid-template-columns: 1fr; }
}

/* Listing reference pass: large image cards on List, compact rows beside the Map. */
.results-section { background: var(--wash); }
.results-topline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: end;
  gap: 18px 28px;
  margin-bottom: 28px;
}
.results-topline-left {
  display: flex;
  align-items: end;
  gap: 28px;
  min-width: 0;
}
.results-topline-left > div { min-width: 0; }
.results-topline h2 {
  margin-bottom: 6px;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  letter-spacing: -.045em;
}
.results-topline .section-support { font-size: 13px; }
.results-topline .sort-field { min-width: 220px; }
.results-topline .sort-field select { min-height: 40px; }
.results-topline .view-switcher { justify-self: center; }
.results-topline .results-edit { margin-left: 0; justify-self: end; }
.results-layout { grid-template-columns: minmax(0, 1fr) 350px; gap: 24px; }
.results-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 16px; align-items: start; }
.listing-card {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.listing-main { position: relative; display: block; }
.listing-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  background: #eee8ff;
  box-shadow: 0 12px 26px rgba(65, 38, 111, .08);
}
.listing-card .gallery {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border-radius: inherit;
}
.listing-copy {
  position: relative;
  z-index: 3;
  width: calc(100% - 38px);
  min-height: 130px;
  margin: -24px auto 0;
  padding: 16px 18px 14px;
  border: 1px solid rgba(231, 224, 241, .94);
  border-radius: 19px;
  background: var(--paper);
  box-shadow: 0 12px 26px rgba(65, 38, 111, .09);
}
.listing-card .listing-head { min-height: 0; }
.listing-card .listing-head h3 {
  margin-bottom: 5px;
  font-size: clamp(1rem, 1.45vw, 1.2rem);
}
.listing-card .listing-location { font-size: 12px; }
.listing-card .amenity-line {
  margin-top: 12px;
  font-size: 12px;
}
.listing-card .card-price {
  justify-content: flex-end;
  margin-top: 15px;
  padding-top: 0;
}
.listing-card .card-price strong { font-size: clamp(1.05rem, 1.55vw, 1.25rem); }
.listing-card .card-availability {
  margin-top: 3px;
  text-align: right;
}
.listing-card-selection .listing-copy,
.listing-card-nearby .listing-copy {
  min-height: 130px;
}

.results-layout.is-map-mode {
  grid-template-columns: minmax(390px, .43fr) minmax(0, .57fr);
  gap: 22px;
}
.results-layout.is-map-mode .results-list {
  grid-template-columns: 1fr;
  max-height: calc(100vh - 250px);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 2px 6px 4px 0;
  gap: 14px;
}
.results-layout.is-map-mode .listing-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 8px 20px rgba(65, 38, 111, .07);
}
.results-layout.is-map-mode .listing-main {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  align-items: stretch;
}
.results-layout.is-map-mode .listing-media {
  min-height: 132px;
  aspect-ratio: auto;
  border-radius: 18px 0 0 18px;
  box-shadow: none;
}
.results-layout.is-map-mode .listing-card .gallery {
  height: 100%;
  aspect-ratio: auto;
  border-radius: inherit;
}
.results-layout.is-map-mode .listing-copy {
  width: auto;
  min-height: 132px;
  margin: 0;
  padding: 14px 16px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  justify-content: center;
}
.results-layout.is-map-mode .listing-card .listing-head h3 { font-size: 16px; }
.results-layout.is-map-mode .listing-card .amenity-line {
  margin-top: 8px;
  font-size: 11px;
}
.results-layout.is-map-mode .listing-card .card-price {
  justify-content: flex-start;
  margin-top: 10px;
}
.results-layout.is-map-mode .listing-card .card-price strong { font-size: 17px; }
.results-layout.is-map-mode .listing-card .card-availability { text-align: left; }
.results-layout.is-map-mode .map-panel {
  position: sticky;
  top: calc(var(--header-height) + 16px);
  height: calc(100vh - var(--header-height) - 120px);
  min-height: 600px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.results-layout.is-map-mode .map-toolbar {
  min-height: 38px;
  padding: 0 4px 10px;
}
.results-layout.is-map-mode .demo-map {
  height: calc(100% - 38px);
  min-height: 560px;
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(65, 38, 111, .1);
}

.lightbox { padding: 0; }
.lightbox-content {
  width: 100vw;
  height: 100vh;
  max-height: none;
}
.lightbox-content img {
  max-width: calc(100vw - 150px);
  max-height: calc(100vh - 100px);
  border-radius: 8px;
}
.lightbox-close {
  top: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, .94);
}
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-content .gallery-nav {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, .16);
}
.lightbox-content .gallery-nav:hover { background: rgba(255, 255, 255, .28); }
.lightbox-count {
  bottom: 24px;
  padding: 7px 10px;
  background: rgba(0, 0, 0, .55);
}

@media (max-width: 1100px) and (min-width: 721px) {
  .results-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .results-layout.is-map-mode { grid-template-columns: minmax(330px, .43fr) minmax(0, .57fr); }
}

@media (max-width: 720px) {
  .results-topline {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 14px 12px;
  }
  .results-topline-left {
    display: block;
    grid-column: 1 / -1;
  }
  .results-topline .sort-field {
    min-width: 0;
    max-width: 260px;
    margin-top: 14px;
  }
  .results-topline .view-switcher {
    justify-self: start;
    position: static;
    width: max-content;
    box-shadow: none;
  }
  .results-topline .results-edit {
    justify-self: end;
    min-height: 40px;
    padding: 0 12px;
    font-size: 12px;
  }
  .results-layout { grid-template-columns: 1fr; }
  .results-list { grid-template-columns: 1fr; gap: 26px; }
  .listing-media { border-radius: 19px; }
  .listing-copy {
    width: calc(100% - 24px);
    min-height: 132px;
    margin-top: -16px;
    padding: 15px 16px 14px;
    border-radius: 17px;
  }
  .listing-card .listing-head h3 { font-size: 19px; }
  .listing-card .card-price strong { font-size: 20px; }
  .results-layout.is-map-mode { display: block; }
  .results-layout.is-map-mode .results-list { display: none; }
  .results-layout.is-map-mode .map-panel {
    position: relative;
    top: auto;
    height: calc(100vh - 172px);
    min-height: 520px;
  }
  .results-layout.is-map-mode .demo-map {
    height: calc(100% - 38px);
    min-height: 480px;
    border-radius: 20px;
  }
  .lightbox-content img {
    max-width: calc(100vw - 34px);
    max-height: calc(100vh - 120px);
    border-radius: 5px;
  }
  .lightbox-close { top: 14px; right: 14px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-content .gallery-nav { width: 44px; height: 44px; }
}

/* Home discovery: one centered selection, matching the reference composition. */
@media (min-width: 721px) {
  .discovery-section > .shell {
    width: min(1660px, calc(100% - 56px));
  }
}

.discovery-section {
  padding: 78px 0 92px;
  background: var(--cream);
}
.discovery-grid {
  display: block;
}
.discovery-heading {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-bottom: 34px;
  text-align: center;
}
.discovery-heading .eyebrow { margin-bottom: 0; }
.discovery-heading h2 {
  margin-bottom: 8px;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  letter-spacing: -.05em;
}
.discovery-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 0 8px 22px rgba(65, 38, 111, .06);
}
.discovery-tab {
  min-height: 42px;
  padding: 0 21px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.discovery-tab:hover,
.discovery-tab:focus-visible,
.discovery-tab.is-active {
  background: var(--rose-deep);
  color: #fff;
}
.discovery-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}
.discovery-row .listing-media {
  aspect-ratio: 1.55 / 1;
}
.discovery-row .listing-card-selection .listing-copy {
  min-height: 0;
  margin-top: -22px;
  padding: 13px 18px 12px;
}
.discovery-row .listing-card-selection .listing-card-tools {
  right: 14px;
  left: auto;
}
.discovery-row .listing-card .listing-head h3 {
  font-size: clamp(1rem, 1.45vw, 1.18rem);
}
.discovery-row .listing-card .listing-location { font-size: 12px; }
.discovery-row .listing-card .amenity-line {
  margin-top: 7px;
  font-size: 11px;
}
.discovery-row .listing-card-selection .selection-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 11px;
}
.discovery-row .listing-card-selection .selection-footer .card-open-link {
  flex: 0 1 auto;
  margin-top: 0;
  color: var(--plum-deep);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}
.discovery-row .listing-card-selection .selection-footer .card-price {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  text-align: right;
}
.discovery-row .listing-card-selection .card-price strong {
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  white-space: nowrap;
}
.discovery-row .listing-card .card-availability { display: none; }
.discovery-row .listing-card .card-open-link {
  display: block;
  text-decoration: none;
}
.discovery-row .listing-card .card-open-link:hover,
.discovery-row .listing-card .card-open-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.listing-card .card-open-link { display: block; }
.listing-card .availability-chip {
  top: 14px;
  left: 58px;
}
.discovery-cta {
  display: flex;
  width: max-content;
  margin: 36px auto 0;
  min-height: 44px;
  border-color: var(--rose-deep);
  color: var(--plum-deep);
}
.discovery-cta:hover,
.discovery-cta:focus-visible {
  background: #eee8ff;
}

@media (max-width: 1100px) and (min-width: 721px) {
  .discovery-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .discovery-tab { padding: 0 15px; }
}

@media (max-width: 720px) {
  .discovery-section > .shell {
    width: calc(100% - 32px);
  }
  .discovery-section { padding: 54px 0 68px; }
  .discovery-heading { margin-bottom: 26px; }
  .discovery-heading h2 { font-size: clamp(1.65rem, 7.5vw, 2rem); }
  .discovery-tabs {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: none;
  }
  .discovery-tabs::-webkit-scrollbar { display: none; }
  .discovery-tab { flex: 0 0 auto; padding: 0 15px; font-size: 12px; }
  .discovery-row {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 0 2px 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .discovery-row::-webkit-scrollbar { display: none; }
  .discovery-row .listing-card {
    flex: 0 0 calc(100vw - 48px);
    max-width: 430px;
    scroll-snap-align: center;
  }
  .discovery-row .listing-media {
    aspect-ratio: 16 / 9;
  }
  .discovery-row .listing-card .listing-copy {
    min-height: 0;
  }
  .discovery-row .listing-card-selection .selection-footer { gap: 8px; }
  .discovery-row .listing-card-selection .selection-footer .card-open-link {
    max-width: 125px;
    font-size: 12px;
    line-height: 1.2;
    white-space: normal;
  }
  .discovery-cta { margin-top: 26px; }
  .listing-card .availability-chip { left: 55px; }
}

/* Results template: compact search bar and a Nestenn-inspired command row. */
.results-section {
  padding: 0 0 86px;
  background: #fbf8f6;
}
.results-shell {
  width: min(1500px, calc(100% - 48px));
}
.results-search-strip {
  display: grid;
  grid-template-columns: minmax(116px, .82fr) minmax(116px, .82fr) minmax(220px, 1.6fr) minmax(112px, .72fr) minmax(150px, 1fr) auto auto;
  align-items: end;
  gap: 12px;
  padding: 16px 0 20px;
  border-bottom: 1px solid var(--line);
}
.results-search-field {
  display: grid;
  grid-template-rows: 15px 46px;
  gap: 6px;
  min-width: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}
.results-search-field input,
.results-search-field select,
.results-price-input input,
.results-criteria summary {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  outline: none;
}
.results-search-field select {
  appearance: none;
  padding-right: 30px;
  background-image: linear-gradient(45deg, transparent 50%, var(--plum) 50%), linear-gradient(135deg, var(--plum) 50%, transparent 50%);
  background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  font: inherit;
}
.results-search-field input:focus,
.results-search-field select:focus,
.results-price-input input:focus,
.results-criteria summary:focus-visible {
  border-color: var(--rose-deep);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, .12);
}
.results-price-input {
  position: relative;
}
.results-price-input input { padding-right: 28px; }
.results-price-input span {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.results-criteria {
  position: relative;
  min-width: 128px;
}
.results-criteria summary {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--plum-deep);
  font-size: 12px;
  font-weight: 800;
  list-style: none;
  white-space: nowrap;
}
.results-criteria summary::-webkit-details-marker { display: none; }
.results-criteria[open] summary { background: #f1ebff; border-color: #d9c9fb; }
.results-criteria-panel {
  position: absolute;
  z-index: 12;
  top: calc(100% + 9px);
  right: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 12px;
  width: min(570px, 78vw);
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 18px 42px rgba(65, 38, 111, .15);
}
.results-criteria-panel label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}
.results-criteria-panel select {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 9px;
  background: #fffdfb;
  color: var(--ink);
  font-size: 12px;
}
.results-search-submit {
  min-height: 46px;
  padding: 0 20px;
}
.results-count-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 12px;
}
.results-count-row h2 {
  margin-bottom: 4px;
  font-size: clamp(1.05rem, 1.7vw, 1.38rem);
  letter-spacing: -.035em;
}
.results-count-row .section-support { font-size: 12px; }
.results-edit {
  border: 0;
  padding: 8px 0;
  background: transparent;
  color: var(--plum-deep);
  font-size: 12px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.results-controls {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}
.results-controls .sort-field { justify-self: start; }
.results-controls .view-switcher { justify-self: end; }
.results-controls .sort-field select { min-height: 42px; background: var(--paper); }
.results-controls .view-switcher {
  min-width: 292px;
  justify-content: center;
  padding: 4px;
  box-shadow: 0 6px 18px rgba(65, 38, 111, .06);
}
.results-controls .view-button {
  flex: 1 1 50%;
  min-height: 38px;
}
.results-controls .view-button.is-active { background: var(--rose-deep); }
.results-layout:not(.is-map-mode) { display: block; }
.results-layout:not(.is-map-mode) .results-list { width: 100%; }
.results-layout:not(.is-map-mode) .map-panel { display: none; }
.results-layout.is-map-mode {
  grid-template-columns: minmax(410px, .43fr) minmax(0, .57fr);
  gap: 24px;
}
.results-layout.is-map-mode .results-list,
.results-layout.is-map-mode .map-panel { min-width: 0; }
@media (max-width: 1100px) and (min-width: 721px) {
  .results-shell { width: min(100% - 32px, 1100px); }
  .results-search-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .results-search-submit { width: 100%; }
  .results-layout.is-map-mode {
    grid-template-columns: minmax(330px, .43fr) minmax(0, .57fr);
  }
}

@media (max-width: 720px) {
  .results-shell { width: calc(100% - 32px); }
  .results-search-strip {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 14px 0 17px;
  }
  .results-search-destination,
  .results-criteria,
  .results-search-submit,
  .results-search-submit-stack { grid-column: 1 / -1; }
  .results-criteria summary { justify-content: flex-start; padding-left: 16px; }
  .results-criteria-panel {
    position: static;
    grid-template-columns: 1fr;
    width: 100%;
    margin-top: 8px;
    box-shadow: none;
  }
  .results-search-submit { width: 100%; }
  .results-count-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 19px 0 12px;
  }
  .results-count-row h2 { font-size: 20px; }
  .results-controls {
    grid-template-columns: 1fr auto;
    gap: 12px;
    margin-bottom: 22px;
  }
  .results-controls .sort-field {
    grid-column: 1 / -1;
    width: 100%;
  }
  .results-controls .sort-field select { width: 100%; }
  .results-controls .view-switcher {
    justify-self: start;
    min-width: 0;
    width: 100%;
  }
  .results-layout.is-map-mode { display: block; }
  .results-layout.is-map-mode .results-list { display: none; }
  .results-layout.is-map-mode .map-panel {
    position: relative;
    top: auto;
    height: calc(100vh - 250px);
    min-height: 510px;
  }
  .results-layout.is-map-mode .demo-map {
    height: calc(100% - 38px);
    min-height: 470px;
  }
}

/* Home search: a centered, compact composition matching the reference. */
.search-zone {
  margin-top: 0;
  padding: 26px 0 42px;
  background: var(--cream);
}
.search-zone > .shell {
  width: min(1500px, calc(100% - 48px));
}
.search-card {
  padding: 30px 34px 24px;
}
.search-intro {
  width: 100%;
  text-align: center;
}
.search-intro .eyebrow {
  margin-bottom: 9px;
  color: var(--rose-deep);
  font-size: 11px;
  letter-spacing: .16em;
}
.search-intro h2 {
  margin-bottom: 0;
  font-size: clamp(1.65rem, 2.7vw, 2.25rem);
}
.compact-heading {
  display: block;
  margin-bottom: 28px;
}
.search-fields {
  grid-template-columns: minmax(120px, .85fr) minmax(120px, .85fr) minmax(270px, 1.8fr) minmax(125px, .78fr) minmax(145px, 1fr) minmax(132px, .9fr);
  align-items: end;
  justify-content: center;
  max-width: 1420px;
  margin: 0 auto;
}
.search-fields .search-submit {
  align-self: end;
  margin: 0;
}
.quick-dates {
  justify-content: center;
  margin: 18px 0 16px;
}
.date-help {
  display: block;
  margin: 0 0 15px;
  text-align: center;
}
.advanced-details {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.advanced-details summary {
  display: inline-block;
}
.advanced-grid {
  max-width: 1100px;
  margin: 18px auto 0;
  text-align: left;
}

@media (max-width: 1100px) and (min-width: 721px) {
  .search-zone > .shell { width: min(100% - 32px, 1100px); }
  .search-card { padding-inline: 22px; }
  .search-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .search-fields .field-location { grid-column: span 2; }
  .search-fields .search-submit { width: 100%; }
}

@media (max-width: 720px) {
  .search-zone { padding: 18px 0 32px; }
  .search-zone > .shell { width: calc(100% - 32px); }
  .search-card { padding: 22px 16px 20px; }
  .search-intro .eyebrow {
    font-size: 10px;
    letter-spacing: .10em;
    line-height: 1.45;
  }
  .search-intro h2 { font-size: clamp(1.45rem, 7vw, 1.85rem); }
  .compact-heading { margin-bottom: 22px; }
  .search-fields { grid-template-columns: 1fr; gap: 10px; }
  .search-fields .field-location { grid-column: auto; }
  .search-fields .search-submit { width: 100%; }
  .quick-dates { gap: 6px; margin: 16px 0 14px; }
  .date-chip { padding-inline: 12px; }
  .advanced-details { text-align: left; }
  .advanced-details summary { display: block; }
  .advanced-grid { margin-top: 15px; }
}

/* Shared Love Room cards: a quiet image hierarchy and a balanced card footer. */
.listing-card .listing-card-tools {
  top: 16px;
  right: 16px;
  left: auto;
  z-index: 6;
}
.listing-card .favorite-button {
  width: 42px;
  height: 42px;
  border-color: rgba(255, 255, 255, .76);
  background: rgba(255, 255, 255, .94);
  color: var(--plum-deep);
  font-size: 23px;
  box-shadow: 0 8px 18px rgba(36, 27, 47, .16);
}
.listing-card .favorite-button:hover,
.listing-card .favorite-button:focus-visible,
.listing-card .favorite-button.is-active {
  border-color: #fff;
  background: #f1ebff;
  color: var(--rose-deep);
}
.listing-card .availability-chip {
  top: 16px;
  left: 16px;
  z-index: 5;
  min-height: 34px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: var(--plum-deep);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .005em;
  box-shadow: 0 8px 18px rgba(36, 27, 47, .14);
}
.listing-card .availability-chip.hot {
  background: var(--fuchsia);
  color: #fff;
  box-shadow: 0 8px 18px rgba(217, 70, 239, .26);
}

/* Keep the availability text optically centered inside its compact pill. */
.listing-card .availability-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  min-height: 34px;
  padding: 0 13px;
  line-height: 1.1;
}

@media (max-width: 720px) {
  .listing-card .availability-chip {
    height: 32px;
    min-height: 32px;
    padding-inline: 11px;
  }
}

.listing-card .listing-head { align-items: flex-start; }
.listing-card .listing-head h3 {
  color: var(--ink);
}
.listing-card .listing-location,
.listing-card .amenity-line {
  color: #756a88;
}
.listing-card .card-price,
.listing-card .card-price strong {
  color: var(--plum);
}
.listing-card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
}
.listing-card-price-group {
  min-width: 0;
}
.listing-card .listing-card-footer .card-price {
  justify-content: flex-start;
  margin: 0;
  padding: 0;
  text-align: left;
}
.listing-card .listing-card-footer .card-availability {
  margin-top: 4px;
  text-align: left;
}
.listing-card .listing-card-footer .card-open-link {
  flex: 0 0 auto;
  width: auto;
  margin: 0 0 1px auto;
  color: var(--plum-deep);
  font-size: 11px;
  font-weight: 800;
  text-align: right;
  text-decoration: none;
  white-space: nowrap;
}
.listing-card .listing-card-footer .card-open-link:hover,
.listing-card .listing-card-footer .card-open-link:focus-visible {
  color: var(--rose-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.discovery-row .listing-card-selection .listing-card-tools { right: 16px; }
.discovery-row .listing-card-selection .listing-card-footer {
  align-items: flex-end;
  margin-top: 11px;
}
.discovery-row .listing-card-selection .listing-card-footer .card-open-link {
  margin: 0 0 1px auto;
  color: var(--plum-deep);
  font-size: 11px;
  white-space: nowrap;
}
.results-layout.is-map-mode .listing-card .listing-card-footer {
  margin-top: 10px;
}
@media (max-width: 720px) {
  .listing-card .listing-card-tools { top: 13px; right: 13px; }
  .listing-card .availability-chip { top: 13px; left: 13px; }
  .listing-card .favorite-button { width: 40px; height: 40px; }
  .listing-card-footer {
    align-items: flex-end;
    gap: 8px;
  }
  .listing-card .listing-card-price-group {
    flex: 1 1 auto;
    min-width: 0;
  }
  .listing-card .listing-card-footer .card-open-link {
    flex: 0 1 auto;
    max-width: 48%;
    margin-bottom: 1px;
    font-size: 10px;
    line-height: 1.2;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .listing-card .listing-card-footer .card-price strong { font-size: 19px; }
  .detail-highlight-grid { gap: 7px 8px; }
  .detail-highlight-amenity { font-size: 11px; }
}

/* Search readability and centered discovery heading. */
.search-fields .field {
  grid-template-rows: 18px 48px;
  gap: 8px;
  font-size: 13.5px;
}
.search-fields .field input,
.search-fields .field select {
  font-size: 15px;
}
.search-fields .input-with-icon input,
.search-fields .price-input input {
  font-size: 15px;
}

.search-fields .search-submit {
  font-size: 15px;
  font-weight: 800;
}
.search-zone .date-chip {
  min-height: 38px;
  padding-inline: 15px;
  font-size: 13px;
}
.search-zone .advanced-details summary {
  font-size: 15px;
}
.search-zone .advanced-details summary span {
  font-size: 13px;
}
.search-fields .field-location .input-with-icon input {
  font-size: 12px;
}
.discovery-heading {
  display: grid;
  justify-items: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-inline: auto;
  text-align: center;
}
.discovery-heading .eyebrow,
.discovery-heading h2,
.discovery-heading .discovery-tabs {
  margin-inline: auto;
}
.discovery-heading .eyebrow { margin-bottom: 0; }
.discovery-heading h2 { margin-bottom: 8px; }
.discovery-tabs { justify-content: center; }

@media (max-width: 720px) {
  .search-fields .field {
    grid-template-rows: 18px 48px;
    gap: 7px;
    font-size: 13px;
  }
  .search-fields .field-location {
    grid-template-rows: 18px auto;
  }
  .search-fields .field-location .input-with-action {
    height: auto;
  }
  .search-fields .field input,
  .search-fields .field select,
  .search-fields .input-with-icon input,
  .search-fields .price-input input {
    font-size: 15px;
  }

  .search-fields .search-submit { font-size: 15px; }
  .search-zone .date-chip {
    min-height: 38px;
    padding-inline: 13px;
    font-size: 13px;
  }
  .search-zone .advanced-details summary { font-size: 14px; }
  .search-zone .advanced-details summary span { font-size: 12px; }
  .discovery-heading { gap: 8px; }
  .discovery-heading h2 { text-align: center; }
}

/* Keep the complete discovery heading centered at every viewport width. */
.discovery-heading {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  max-width: 100%;
  margin: 0 auto 34px !important;
  text-align: center !important;
}
.discovery-heading .eyebrow,
.discovery-heading h2 {
  width: max-content;
  max-width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}
.discovery-tabs {
  display: flex;
  width: max-content !important;
  max-width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
  justify-content: center !important;
}

@media (max-width: 720px) {
  .discovery-heading {
    width: 100% !important;
    margin-bottom: 26px !important;
  }
  .discovery-tabs {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 360px) !important;
    overflow: visible !important;
    gap: 4px !important;
    justify-content: center !important;
  }
  .discovery-tab {
    width: 100%;
  }
  .discovery-tab-favourites { display: none; }
}

/* Keep the homepage light: three cards on desktop, one swipeable card on mobile. */
.discovery-carousel-controls {
  display: none;
}

.discovery-mobile-favourites {
  display: none;
}

@media (max-width: 720px) {
  .discovery-eyebrow-desktop { display: none; }
  .discovery-eyebrow-mobile { display: block; }

  .discovery-mobile-favourites {
    display: block;
    margin-top: 42px;
    padding-top: 34px;
    border-top: 1px solid rgba(102, 73, 153, .14);
  }

  .discovery-mobile-favourites-heading {
    display: grid;
    justify-items: center;
    gap: 6px;
    margin-bottom: 20px;
    text-align: center;
  }

  .discovery-mobile-favourites-heading .eyebrow {
    margin: 0;
  }

  .discovery-mobile-favourites-heading h3 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(1.35rem, 6vw, 1.7rem);
    letter-spacing: -.04em;
  }

  .discovery-row {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden;
    padding: 2px 0 8px !important;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }

  .discovery-row::-webkit-scrollbar {
    display: none;
  }

  .discovery-row .listing-card {
    flex: 0 0 100% !important;
    width: 100%;
    scroll-snap-align: start;
  }

  .discovery-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 40px;
    margin-top: 2px;
  }

  .discovery-carousel-controls > span {
    min-width: 42px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-align: center;
  }

  .discovery-carousel-button {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--paper);
    color: var(--plum-deep);
    box-shadow: 0 6px 16px rgba(65, 38, 111, .08);
  }

  .discovery-carousel-button:disabled {
    opacity: .45;
    cursor: default;
  }

  .discovery-carousel-button:not(:disabled):active {
    transform: translateY(1px);
  }
}

/* Results controls and the shared lightweight date picker. */
.results-search-strip {
  grid-template-columns: minmax(132px, .9fr) minmax(132px, .9fr) minmax(220px, 1.55fr) minmax(132px, .75fr) minmax(164px, 1fr) minmax(148px, .8fr) minmax(148px, .85fr);
  align-items: stretch;
  gap: 14px;
  padding: 22px 0 20px;
  border-bottom: 0;
}
.results-search-field,
.results-criteria {
  min-height: 86px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 7px 18px rgba(65, 38, 111, .045);
}
.results-search-field {
  grid-template-rows: 18px 1fr;
  gap: 8px;
  padding: 12px 14px 10px;
  font-size: 12px;
}
.results-search-field input,
.results-search-field select,
.results-price-input input {
  min-height: 42px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 15px;
}
.results-search-field select {
  padding-right: 28px;
  border: 0;
  background-color: transparent;
  background-position: calc(100% - 14px) 50%, calc(100% - 9px) 50%;
}
.results-search-field input:focus,
.results-search-field select:focus,
.results-price-input input:focus {
  border: 0;
  box-shadow: none;
}
.results-price-input {
  min-height: 42px;
  border: 0;
}
.results-price-input span { font-size: 15px; }
.results-criteria {
  position: relative;
  min-width: 0;
  padding: 12px 14px 10px;
}
.results-criteria summary {
  min-height: 42px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  justify-content: flex-start;
  color: var(--plum-deep);
  font-size: 14px;
}
.results-search-submit {
  align-self: stretch;
  min-height: 86px;
  border: 1px solid var(--rose-deep);
  border-radius: 16px;
  background: var(--rose-deep);
  color: #fff;
  font-size: 14px;
  box-shadow: 0 8px 18px rgba(124, 58, 237, .18);
}
.results-count-row {
  padding-top: 8px;
}
.results-count-row .section-support:empty {
  display: none;
}
.results-controls {
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  margin-bottom: 30px;
}
.results-controls .sort-field {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 246px;
  min-height: 56px;
  padding: 7px 12px 7px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 7px 18px rgba(65, 38, 111, .045);
  color: var(--muted);
  font-size: 12px;
}
.results-controls .sort-field span {
  flex: 0 0 auto;
  color: var(--ink-soft);
  font-weight: 800;
}
.results-controls .sort-field select {
  min-height: 42px;
  min-width: 0;
  padding: 0 26px 0 0;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}
.results-controls .sort-field select:focus {
  border: 0;
  box-shadow: none;
}
.results-controls .view-switcher {
  min-width: 340px;
  min-height: 58px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 7px 18px rgba(65, 38, 111, .045);
}
.results-controls .view-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  border-radius: 14px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 850;
}
.results-controls .view-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.results-controls .view-button.is-active {
  background: var(--rose-deep);
  color: #fff;
  box-shadow: 0 7px 16px rgba(124, 58, 237, .2);
}
.date-picker-modal {
  position: fixed;
  z-index: 75;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}
.date-picker-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(36, 27, 47, .48);
}
.date-picker-panel {
  position: relative;
  width: min(760px, 100%);
  max-height: min(850px, 92vh);
  overflow: auto;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 24px 80px rgba(36, 27, 47, .24);
  animation: date-picker-in .18s ease both;
}
@keyframes date-picker-in {
  from { opacity: 0; transform: translateY(6px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.date-picker-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.date-picker-header h2 {
  margin-bottom: 5px;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}
.date-picker-header p:last-child {
  display: inline-block;
  margin: 8px 0 0;
  padding: 9px 12px;
  border: 1px solid #ddd1fb;
  border-radius: 11px;
  background: #f5f1ff;
  color: var(--plum-deep);
  font-size: 16px;
  font-weight: 850;
  line-height: 1.35;
  letter-spacing: .005em;
}
.date-picker-close {
  position: static;
  flex: 0 0 auto;
}
.date-picker-toolbar {
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  align-items: center;
  gap: 12px;
  margin: 22px 0 12px;
  color: var(--ink);
  text-align: center;
}
.date-picker-toolbar > span {
  font-size: 14px;
  font-weight: 850;
  text-transform: capitalize;
}
.calendar-nav {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0 0 3px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--plum-deep);
  font-size: 27px;
  line-height: 1;
}
.calendar-nav:hover,
.calendar-nav:focus-visible {
  border-color: var(--lilac);
  background: var(--wash);
}
.date-picker-months {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  padding: 8px 4px 14px;
}
.date-availability-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 0;
  padding: 0;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  white-space: nowrap;
}
.date-availability-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.availability-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .95);
}
.availability-dot.available { background: #4da873; }
.availability-dot.pending { background: #d9903d; }
.availability-dot.unavailable { background: #c66a72; }
.calendar-month h3 {
  margin-bottom: 13px;
  color: var(--ink);
  font-size: 15px;
  text-align: center;
  text-transform: capitalize;
}
.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}
.calendar-weekdays {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-align: center;
}
.calendar-grid {
  row-gap: 4px;
}
.calendar-empty,
.calendar-day {
  aspect-ratio: 1;
  min-width: 0;
}
.calendar-day {
  position: relative;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
}
.calendar-day::after {
  content: "";
  position: absolute;
  bottom: 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d7cddd;
}
.calendar-day.availability-available::after { background: #4da873; }
.calendar-day.availability-pending::after { background: #d9903d; }
.calendar-day.availability-unavailable::after { background: #c66a72; }
.calendar-day.is-disabled::after { opacity: .55; }
.calendar-day.is-arrival::after,
.calendar-day.is-departure::after { background: #fff; }
.calendar-day:hover:not(:disabled),
.calendar-day:focus-visible {
  border-color: var(--lilac);
  background: var(--wash);
}
.calendar-day.is-disabled {
  color: #c6bdcc;
  text-decoration: line-through;
  cursor: not-allowed;
}
.calendar-day.is-today {
  border-color: var(--lilac);
}
.calendar-day.is-in-range {
  border-radius: 9px;
  background: #f0eaff;
  color: var(--plum-deep);
}
.calendar-day.is-arrival,
.calendar-day.is-departure {
  border-color: var(--rose-deep);
  border-radius: 50%;
  background: var(--rose-deep);
  color: #fff;
}
.date-picker-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}
.date-picker-clear {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--plum-deep);
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.booking-date-heading span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}
.booking-date-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.booking-date-field {
  display: grid;
  gap: 5px;
  min-height: 62px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fffdfb;
  color: var(--ink);
  text-align: left;
}
.booking-date-field:hover,
.booking-date-field:focus-visible {
  border-color: var(--lilac);
  box-shadow: 0 0 0 3px rgba(167, 139, 250, .14);
}
.booking-date-field span {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}
.booking-date-field strong {
  font-size: 13px;
}

@media (max-width: 720px) {
  .results-search-strip {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 14px 0 17px;
  }
  .results-search-field,
  .results-criteria,
  .results-search-submit,
  .results-search-submit-stack {
    min-height: 78px;
  }
  .results-search-destination,
  .results-criteria,
  .results-search-submit,
  .results-search-submit-stack {
    grid-column: 1 / -1;
  }
  .results-search-submit {
    min-height: 54px;
  }
  .results-controls {
    grid-template-columns: 1fr auto;
    gap: 10px;
  }
  .results-controls .sort-field {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
  }
  .results-controls .view-switcher {
    width: 100%;
    min-width: 0;
  }
  .date-picker-modal {
    padding: 0;
    place-items: stretch;
  }
  .date-picker-panel {
    width: 100%;
    max-height: none;
    height: 100%;
    overflow: auto;
    padding: 20px 16px max(20px, env(safe-area-inset-bottom));
    border: 0;
    border-radius: 0;
  }
  .date-picker-toolbar {
    margin-top: 24px;
  }
  .date-picker-months {
    display: block;
    padding-inline: 0;
  }
  .calendar-month-secondary {
    display: none;
  }
  .calendar-weekdays,
  .calendar-grid {
    gap: 6px;
  }
  .calendar-day {
    min-height: 42px;
    border-radius: 50%;
    font-size: 14px;
  }
  .calendar-day.is-in-range {
    border-radius: 12px;
  }
  .date-picker-footer {
    position: sticky;
    bottom: 0;
    margin-inline: -16px;
    padding: 14px 16px max(14px, env(safe-area-inset-bottom));
    background: rgba(255, 252, 250, .96);
  }
  .date-picker-footer .button {
    min-height: 48px;
  }
  .date-availability-legend {
    gap: 6px;
    font-size: 10px;
  }
  .date-availability-legend span {
    gap: 4px;
  }
  .date-availability-legend .availability-dot {
    width: 7px;
    height: 7px;
  }
  .date-picker-footer {
    gap: 6px;
  }
  .date-picker-footer .date-picker-clear {
    font-size: 11px;
  }
  .date-picker-footer .button {
    min-height: 44px;
    padding-inline: 8px;
    font-size: 11px;
  }
}

/* The search action stays visibly active in every results mode. */
.button.button-primary.search-submit,
.button.button-primary.results-search-submit {
  border-color: var(--rose-deep);
  background-color: var(--rose-deep);
  color: #fff;
}

.button.button-primary.search-submit:hover:not(:disabled),
.button.button-primary.search-submit:focus-visible,
.button.button-primary.results-search-submit:hover:not(:disabled),
.button.button-primary.results-search-submit:focus-visible {
  border-color: var(--plum-deep);
  background-color: var(--plum-deep);
  color: #fff;
}

.button.button-primary.search-submit:focus-visible,
.button.button-primary.results-search-submit:focus-visible {
  outline: 3px solid rgba(167, 139, 250, .46);
  outline-offset: 3px;
}

/* Keep the tablet results template inside the viewport. The desktop search
   tracks are intentionally generous, but must collapse before tablet widths. */
@media (max-width: 1100px) and (min-width: 721px) {
  .results-search-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .results-controls {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
    gap: 12px;
  }

  .results-controls .sort-field,
  .results-controls .view-switcher {
    min-width: 0;
    width: 100%;
  }

  .results-layout.is-map-mode {
    grid-template-columns: minmax(0, .43fr) minmax(0, .57fr);
  }
}

.button.button-primary.search-submit:active:not(:disabled),
.button.button-primary.results-search-submit:active:not(:disabled) {
  background-color: #4c1d95;
  border-color: #4c1d95;
  color: #fff;
  transform: translateY(1px);
}

.button.button-primary.search-submit:disabled,
.button.button-primary.results-search-submit:disabled {
  background-color: #c4b5fd;
  border-color: #c4b5fd;
  color: rgba(255, 255, 255, .86);
  cursor: not-allowed;
  box-shadow: none;
}

/* Lightweight map interactions: the map stays CSS-only until the user opens Carte. */
.demo-map {
  isolation: isolate;
}
.map-stage {
  position: absolute;
  z-index: 1;
  inset: -8%;
  touch-action: none;
  transform-origin: center;
  transition: transform .2s ease;
  will-change: transform;
}
.map-stage #map-pins {
  position: absolute;
  inset: 0;
}
.map-controls {
  position: absolute;
  z-index: 5;
  top: 14px;
  right: 14px;
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 13px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 8px 18px rgba(36, 27, 47, .12);
}
.map-controls button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0 0 3px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}
.map-controls button:last-child { border-bottom: 0; }
.map-controls button:hover,
.map-controls button:focus-visible {
  background: var(--wash);
  color: var(--plum-deep);
  outline: none;
}
.map-area-action {
  position: absolute;
  z-index: 6;
  top: 14px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
}
.map-area-action button {
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid rgba(124, 58, 237, .24);
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: var(--plum-deep);
  font-size: 12px;
  font-weight: 850;
  box-shadow: 0 8px 18px rgba(36, 27, 47, .12);
}
.map-area-action button:hover,
.map-area-action button:focus-visible {
  background: var(--plum-deep);
  color: #fff;
  outline: none;
}
.map-area-action span {
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}
.map-pin {
  transition: background .16s ease, box-shadow .16s ease, transform .16s ease, z-index .16s ease;
}
.map-pin:hover,
.map-pin.is-active,
.map-pin.is-highlighted {
  z-index: 8;
  background: var(--rose-deep);
  color: #fff;
  box-shadow: 0 9px 20px rgba(124, 58, 237, .26);
  transform: translate(-50%, -50%) scale(1.1);
}
.results-layout.is-map-mode .listing-card {
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.results-layout.is-map-mode .listing-card.is-map-highlighted {
  border-color: var(--plum);
  background: #fbf9ff;
  box-shadow: 0 12px 28px rgba(124, 58, 237, .2);
  transform: translateY(-1px);
}

.results-empty-state {
  display: grid;
  justify-items: start;
  gap: 9px;
  min-height: 210px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 10px 25px rgba(65, 38, 111, .05);
}
.results-empty-state h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
}
.results-empty-state p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.results-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 9px;
}
.results-empty-actions .button {
  min-height: 42px;
  padding-inline: 15px;
  font-size: 13px;
}

.results-layout.is-map-mode .listing-card.map-click-highlight {
  animation: map-card-focus 1.7s ease both;
}

@keyframes map-card-focus {
  0%, 100% { box-shadow: 0 12px 28px rgba(124, 58, 237, .17); }
  35% { border-color: var(--plum); box-shadow: 0 16px 34px rgba(124, 58, 237, .3); }
}

@media (max-width: 720px) {
  .map-area-action {
    top: 12px;
    max-width: calc(100% - 100px);
  }
  .map-area-action button {
    min-height: 42px;
    padding-inline: 13px;
    white-space: nowrap;
  }
  .map-area-action span {
    display: none;
  }
}

/* Map selection: keep the linked result unmistakable without becoming flashy. */
.results-layout.is-map-mode .listing-card.is-map-highlighted {
  box-sizing: border-box;
  border: 2px solid var(--plum);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fbf9ff;
  box-shadow:
    0 16px 34px rgba(124, 58, 237, .22),
    inset 0 0 0 1px rgba(167, 139, 250, .16);
  transform: translateY(-2px);
}

.results-layout.is-map-mode .listing-card.is-map-highlighted .listing-copy {
  background: #fbf9ff;
}

.results-layout.is-map-mode .listing-card.map-click-highlight {
  animation: map-card-focus-strong 260ms ease-out;
}

@keyframes map-card-focus-strong {
  0% {
    box-shadow:
      0 16px 34px rgba(124, 58, 237, .22),
      inset 0 0 0 1px rgba(167, 139, 250, .16);
  }
  45% {
    box-shadow:
      0 20px 42px rgba(124, 58, 237, .34),
      inset 0 0 0 2px rgba(167, 139, 250, .24);
  }
  100% {
    box-shadow:
      0 16px 34px rgba(124, 58, 237, .22),
      inset 0 0 0 1px rgba(167, 139, 250, .16);
  }
}

/* Results desktop: use a wider, more open canvas like the reference portals. */
@media (min-width: 1101px) {
  .results-shell {
    width: min(1760px, calc(100% - 40px));
  }

  .results-search-strip {
    gap: 16px;
  }

  .results-list {
    gap: 30px 26px;
  }

  .results-layout.is-map-mode {
    grid-template-columns: minmax(460px, .43fr) minmax(0, .57fr);
    gap: 26px;
  }

  .results-layout.is-map-mode .results-list {
    padding-right: 8px;
  }
}

/* Map mode: two photo-led cards in a scrollable rail, inspired by the reference capture. */
@media (min-width: 1101px) {
  .results-layout.is-map-mode {
    grid-template-columns: minmax(0, .49fr) minmax(0, .51fr);
    gap: 28px;
    align-items: stretch;
  }

  .results-layout.is-map-mode .results-list {
    max-height: calc(100vh - 258px);
    padding: 2px 10px 12px 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
    align-content: start;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
  }

  .results-layout.is-map-mode .listing-card {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .results-layout.is-map-mode .listing-main {
    display: block;
  }

  .results-layout.is-map-mode .listing-media {
    min-height: 0;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(65, 38, 111, .08);
  }

  .results-layout.is-map-mode .listing-copy {
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 11px 4px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .results-layout.is-map-mode .listing-card .gallery {
    height: 100%;
    aspect-ratio: auto;
    border-radius: inherit;
  }

  .results-layout.is-map-mode .listing-card .listing-head h3 {
    font-size: 16px;
  }

  .results-layout.is-map-mode .listing-card .listing-location {
    font-size: 12px;
  }

  .results-layout.is-map-mode .listing-card .amenity-line {
    margin-top: 7px;
    font-size: 11px;
  }

  .results-layout.is-map-mode .listing-card-footer {
    align-items: end;
    margin-top: 8px;
  }

  .results-layout.is-map-mode .listing-card .card-price {
    justify-content: flex-start;
    margin-top: 0;
  }

  .results-layout.is-map-mode .listing-card .card-price strong {
    font-size: 17px;
  }

  .results-layout.is-map-mode .listing-card .card-availability {
    text-align: left;
  }

  .results-layout.is-map-mode .listing-card .card-open-link {
    display: inline-flex;
    font-size: 11px;
    white-space: nowrap;
  }

  .results-layout.is-map-mode .listing-card .listing-card-footer .card-open-link {
    display: inline-flex;
  }

  .results-layout.is-map-mode .map-panel {
    top: calc(var(--header-height) + 12px);
    height: calc(100vh - var(--header-height) - 70px);
    min-height: 680px;
  }

  .results-layout.is-map-mode .demo-map {
    height: calc(100% - 38px);
    min-height: 640px;
    border-radius: 26px;
  }
}

.demo-map .leaflet-container {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  background: #e9e4ef;
  font: inherit;
}

.demo-map .leaflet-control-zoom {
  display: none;
}

.demo-map .leaflet-control-attribution {
  padding: 2px 5px;
  border-radius: 5px 0 0;
  background: rgba(255, 255, 255, .82);
  color: #5b5363;
  font-size: 9px;
}

.demo-map .leaflet-control-attribution a {
  color: var(--plum-deep);
}

.map-price-marker-wrap {
  overflow: visible;
  background: transparent;
  border: 0;
}

.map-price-marker {
  display: grid;
  place-items: center;
  min-width: 68px;
  min-height: 36px;
  padding: 0 11px;
  border: 2px solid rgba(255, 255, 255, .98);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 5px 16px rgba(36, 27, 47, .2);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  transition: background .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.map-price-marker-wrap:hover,
.map-price-marker-wrap.is-highlighted {
  z-index: 1000000 !important;
}

.map-search-marker-wrap {
  overflow: visible;
  border: 0;
  background: transparent;
  pointer-events: none;
}

.map-search-marker {
  display: block;
  width: 14px;
  height: 14px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--plum-deep);
  box-shadow: 0 3px 10px rgba(72, 36, 122, .28);
  transform: translate(-50%, -50%);
}

.map-search-marker-fallback {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.map-search-radius {
  position: absolute;
  z-index: 1;
  min-width: 16%;
  min-height: 16%;
  border: 1px solid rgba(124, 58, 237, .38);
  border-radius: 50%;
  background: rgba(167, 139, 250, .1);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.map-price-marker-wrap:hover .map-price-marker,
.map-price-marker-wrap.is-highlighted .map-price-marker {
  background: var(--rose-deep);
  color: #fff;
  box-shadow: 0 10px 24px rgba(124, 58, 237, .3);
  transform: translate(-50%, -50%) scale(1.1);
}

.map-loading {
  position: absolute;
  z-index: 8;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #eee9f7, #e4ddea);
  color: var(--plum-deep);
  font-size: 13px;
  font-weight: 800;
}

.map-loading-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--fuchsia);
  box-shadow: 0 0 0 6px rgba(217, 70, 239, .1);
}

/* Map mode keeps the result rail fully scrollable without showing a scrollbar. */
@media (min-width: 721px) {
  .results-layout.is-map-mode .results-list {
    height: calc(100vh - var(--header-height) - 70px);
    max-height: calc(100vh - var(--header-height) - 70px);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scrollbar-gutter: auto;
    overscroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
  }

  .results-layout.is-map-mode .results-list::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
  }
}

@media (max-width: 720px) {
  .results-empty-state {
    min-height: 190px;
    padding: 24px;
  }

  .results-empty-actions {
    width: 100%;
  }

  .results-empty-actions .button {
    flex: 1 1 100%;
  }
}

/* Shared search reset action: stays attached to the primary search button. */
.search-submit-stack,
.results-search-submit-stack {
  display: grid;
  width: 100%;
  justify-items: stretch;
  align-self: end;
}

.search-submit-stack {
  gap: 6px;
}

.results-search-submit-stack {
  align-self: stretch;
  min-height: 86px;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 5px;
}

.search-submit-stack .search-submit,
.results-search-submit-stack .results-search-submit {
  width: 100%;
}

.results-search-submit-stack .results-search-submit {
  min-height: 54px;
  height: auto;
}

.search-reset-link {
  min-height: 24px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: var(--plum);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: underline;
  text-decoration-color: rgba(124, 58, 237, .35);
  text-underline-offset: 3px;
}

.search-reset-link:hover,
.search-reset-link:focus-visible {
  color: var(--plum-deep);
  text-decoration-color: currentColor;
}

.search-reset-link:focus-visible {
  outline: 2px solid rgba(167, 139, 250, .46);
  outline-offset: 2px;
  border-radius: 6px;
}

@media (max-width: 720px) {
  .search-submit-stack,
  .results-search-submit-stack {
    width: 100%;
  }

  .results-search-submit-stack {
    min-height: 84px;
  }

  .search-reset-link {
    font-size: 12px;
  }
}

/* Shared mobile card footer: the price and CTA always stay in the bottom row. */
@media (max-width: 720px) {
  .listing-card .listing-card-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: clamp(7px, 2.6vw, 12px);
    margin-top: clamp(10px, 3vw, 14px);
  }

  .listing-card .listing-card-footer .listing-card-price-group {
    flex: 1 1 48%;
    min-width: 0;
  }

  .listing-card .listing-card-footer .card-open-link,
  .discovery-row .listing-card-selection .listing-card-footer .card-open-link {
    flex: 0 1 52%;
    width: auto;
    max-width: 52%;
    min-width: 0;
    margin: 0 0 1px auto;
    padding: 2px 0;
    font-size: clamp(9px, 2.8vw, 12px);
    line-height: 1.15;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .listing-card .listing-card-footer .card-price strong {
    font-size: clamp(16px, 4.5vw, 19px);
    line-height: 1.15;
  }
}

/* Mobile date-picker hierarchy: instruction, legend and actions stay distinct. */
@media (max-width: 720px) {
  #date-picker-summary .date-picker-summary-separator {
    display: none;
  }
  #date-picker-summary .date-picker-summary-departure {
    display: block;
  }
  .date-picker-footer {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "legend legend"
      "clear done";
    align-items: center;
    gap: 8px;
    padding-top: 12px;
  }
  .date-picker-footer .date-availability-legend {
    grid-area: legend;
    justify-content: center;
    width: 100%;
    padding-bottom: 2px;
  }
  .date-picker-footer .date-picker-clear {
    grid-area: clear;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 10px;
    border: 1px solid #ddd1fb;
    border-radius: 10px;
    background: #f5f1ff;
    color: var(--plum-deep);
    font-size: 12px;
    text-decoration: none;
    white-space: nowrap;
  }
  .date-picker-footer .date-picker-clear:focus-visible,
  .date-picker-footer .date-picker-clear:hover {
    border-color: var(--lilac);
    background: #eee8ff;
  }
  .date-picker-footer > .button {
    grid-area: done;
    justify-self: end;
  }
}

/* Result cards: give the price its own line, then place availability and CTA below. */
@media (max-width: 720px) {
  .listing-card:not(.listing-card-selection) .listing-card-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 52%);
    align-items: end;
    column-gap: 8px;
    row-gap: 5px;
  }
  .listing-card:not(.listing-card-selection) .listing-card-price-group {
    display: contents;
  }
  .listing-card:not(.listing-card-selection) .card-price {
    grid-column: 1 / -1;
    grid-row: 1;
    margin: 0 0 3px;
    padding: 0;
  }
  .listing-card:not(.listing-card-selection) .card-availability {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
    text-align: left;
    white-space: nowrap;
  }
  .listing-card:not(.listing-card-selection) .card-open-link {
    grid-column: 2;
    grid-row: 2;
    width: auto;
    max-width: 100%;
    margin: 0 0 1px auto;
  }
}

/* Keep the initial mobile calendar instruction compact and on one line. */
@media (max-width: 720px) {
  #date-picker-summary {
    white-space: nowrap;
    font-size: clamp(10px, 3.15vw, 14px);
    letter-spacing: -.01em;
  }
  #date-picker-summary .date-picker-summary-separator,
  #date-picker-summary .date-picker-summary-departure {
    display: inline;
  }
}

/* Mobile discovery sections share one typographic system. Desktop remains unchanged. */
@media (max-width: 720px) {
  .discovery-heading,
  .discovery-mobile-favourites-heading {
    align-items: center;
    justify-items: center;
    gap: 8px;
    text-align: center;
  }

  .discovery-heading {
    margin-bottom: 26px !important;
  }

  .discovery-mobile-favourites-heading {
    margin-bottom: 26px;
  }

  .discovery-heading .eyebrow,
  .discovery-mobile-favourites-heading .eyebrow {
    margin: 0;
    color: var(--rose-deep);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: .12em;
    text-align: center;
    text-transform: uppercase;
  }

  .discovery-heading h2,
  .discovery-mobile-favourites-heading h3 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(1.65rem, 7.5vw, 2rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.05em;
    text-align: center;
  }
}

/* Keep the mobile hero intro optically centered inside the search card. */
@media (max-width: 720px) {
  .search-intro {
    display: flex;
    width: 100%;
    max-width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-inline: auto;
    padding-inline: 0;
    text-align: center;
  }

  .search-intro .eyebrow,
  .search-intro h2 {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    text-align: center;
  }

  .search-intro .eyebrow {
    margin-bottom: 9px;
  }

  .search-intro h2 {
    text-wrap: balance;
  }

  .search-title-mobile {
    display: block;
    width: 100%;
    text-align: center;
  }
}

/* Keep arrow taps isolated from the gallery/card surface on touch devices. */
.gallery {
  -webkit-tap-highlight-color: transparent;
}

.gallery:focus {
  outline: none;
}

.gallery:focus-visible {
  outline: 3px solid rgba(124, 58, 237, .28);
  outline-offset: -3px;
}

.gallery-nav {
  -webkit-tap-highlight-color: transparent;
}

.gallery-nav:focus {
  outline: none;
}

.gallery-nav:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@media (hover: none), (pointer: coarse) {
  .gallery-nav:active {
    background: rgba(36, 23, 47, .82);
  }
}

/* Fluid mobile hero centering: use the full symmetric card width at every viewport size. */
@media (max-width: 720px) {
  .search-card {
    box-sizing: border-box;
  }

  .search-card > .compact-heading,
  .search-intro {
    box-sizing: border-box;
    inline-size: 100%;
    max-inline-size: 100%;
    margin-inline: 0;
    padding-inline: 0;
  }

  .search-intro {
    display: grid;
    place-items: center;
    text-align: center;
  }

  .search-intro .eyebrow,
  .search-intro h2,
  .search-title-mobile {
    box-sizing: border-box;
    inline-size: 100%;
    max-inline-size: 100%;
    margin-inline: 0;
    text-align: center;
  }

  .search-title-mobile {
    display: block;
    white-space: normal;
    overflow-wrap: anywhere;
    text-wrap: balance;
  }
}

/* Keep the mobile hero title on one line at common phone widths. */
@media (max-width: 720px) {
  .search-intro h2 {
    font-size: clamp(1.375rem, 6vw, 1.5rem);
    letter-spacing: -.035em;
  }
}

@media (min-width: 350px) and (max-width: 720px) {
  .search-title-mobile {
    white-space: nowrap;
  }
}

/* The listing article is keyboard-focusable; prevent Android tap feedback from tinting the whole card. */
.listing-card {
  -webkit-tap-highlight-color: transparent;
}

.listing-card:focus {
  outline: none;
}

.listing-card:focus-visible {
  outline: 3px solid rgba(124, 58, 237, .25);
  outline-offset: 3px;
}

/* Final mobile detail polish. */
@media (max-width: 720px) {
  .detail-note {
    display: none;
  }

  .detail-distance {
    display: grid;
    gap: 3px;
  }

  .detail-distance-primary {
    color: var(--plum);
    font-weight: 850;
  }

  .detail-distance-secondary {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
  }

  .reviews-card-empty {
    display: none;
  }

  .simple-list {
    gap: 7px;
    font-size: 13px;
    line-height: 1.35;
  }

  .detail-page-section {
    padding-bottom: 76px;
  }

  .help-widget,
  body.has-detail .help-widget,
  body.has-results .help-widget {
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
  }

  .help-toggle {
    width: 42px;
    height: 42px;
    font-size: 20px;
  }

  .site-footer {
    padding: 18px 0;
  }

  .footer-inner {
    gap: 10px;
    font-size: 11px;
  }

  .footer-inner nav {
    gap: 8px 11px;
  }
}

/* Account page mobile finishing pass. */
@media (max-width: 720px) {
  .account-section {
    min-height: 0;
    padding-bottom: 112px;
  }

  .account-section::after {
    background: transparent;
  }

  .account-background-media {
    display: none;
  }

  .account-background-media img {
    /* Keep the upper room composition; exclude furniture legs on mobile. */
    height: 160%;
    object-position: center top;
    transform: none;
    filter: saturate(.88) blur(.7px);
  }

  .account-card > .eyebrow {
    display: none;
  }

  .account-card {
    padding: 20px;
  }

  .account-card h3 {
    margin-bottom: 18px;
  }

  .account-card form {
    gap: 11px;
  }


  body.has-account .help-widget {
    right: 12px;
    bottom: max(16px, env(safe-area-inset-bottom));
  }
}

/* Multi-select criteria panel */
.criteria-picker { position: relative; border-top: 1px solid var(--line); padding-top: 16px; }
.criteria-picker-inner { position: relative; }
.criteria-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 0; background: transparent; color: var(--plum-deep); cursor: pointer; padding: 0; text-align: left; font: inherit; font-size: 14px; font-weight: 800; }
.criteria-trigger small { color: var(--muted); font-size: 12px; font-weight: 500; }
.criteria-panel { position: absolute; z-index: 30; inset: calc(100% + 14px) 0 auto; background: var(--paper, #fff); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 18px 48px rgba(45, 27, 70, .16); padding: 20px; }
.criteria-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.criteria-panel-head strong { display: block; color: var(--ink); font-size: 18px; }
.criteria-panel-head p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.criteria-close { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--plum-deep); font-size: 22px; line-height: 1; cursor: pointer; }
.criteria-panel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; max-height: min(58vh, 440px); overflow-y: auto; padding-right: 4px; }
.criteria-category { border: 0; margin: 0; padding: 0; min-width: 0; }
.criteria-category legend { color: var(--plum-deep); font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 9px; }
.criteria-options { display: flex; flex-wrap: wrap; gap: 8px; }
.criteria-option { position: relative; display: inline-flex; align-items: center; min-height: 38px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper, #fff); color: var(--ink); cursor: pointer; padding: 8px 12px; font-size: 13px; line-height: 1.2; transition: border-color .16s ease, background-color .16s ease, color .16s ease; }
.criteria-option input { position: absolute; opacity: 0; pointer-events: none; }
.criteria-option:has(input:checked) { border-color: #b69bea; background: #f0e9ff; color: var(--plum-deep); }
.criteria-option:focus-within { outline: 3px solid rgba(126, 65, 231, .2); outline-offset: 2px; }
.criteria-panel-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; border-top: 1px solid var(--line); margin-top: 20px; padding-top: 16px; }
.criteria-panel-actions .button { min-height: 42px; }
.criteria-backdrop { display: none; }
.criteria-category[hidden] { display: none; }
@media (max-width: 760px) {
  .criteria-trigger { align-items: flex-start; flex-direction: column; gap: 4px; }
  .criteria-trigger small { display: block; }
  .criteria-panel { position: fixed; inset: auto 0 0; z-index: 110; max-height: min(82vh, 680px); overflow: auto; border-radius: 24px 24px 0 0; padding: 20px 18px calc(20px + env(safe-area-inset-bottom)); box-shadow: 0 -18px 48px rgba(45, 27, 70, .2); }
  .criteria-backdrop { display: block; position: fixed; inset: 0; z-index: 109; background: rgba(32, 21, 46, .26); }
  .criteria-panel-grid { grid-template-columns: 1fr; max-height: none; overflow: visible; gap: 20px; }
  .criteria-panel-actions { position: sticky; bottom: 0; background: var(--paper, #fff); margin-inline: -18px; padding: 14px 18px calc(4px + env(safe-area-inset-bottom)); }
  .criteria-panel-actions .button-primary { flex: 1; }
}

/* V5.7 final cascade: keep the interaction palette and compact controls
   authoritative after the historical V173 compatibility rules. */
.sort-select-native { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
.sort-select-trigger { border-color: var(--line); background: var(--paper); color: var(--ink); }
.sort-select-trigger:focus-visible, .sort-select-menu button:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 2px; }
.sort-select-menu button:hover, .sort-select-menu button:focus-visible, .sort-select-menu button.is-selected { background: #FCF3F7; color: var(--plum-deep); }
.map-preview-heading { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; align-items: start !important; gap: 3px !important; }
.map-preview-heading strong, .map-preview-heading b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.criteria-trigger > span { white-space: nowrap; }
.criteria-trigger { flex-wrap: nowrap; }
.criteria-trigger > small { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.price-origin-note { display: block; margin-top: 2px; color: var(--muted); font-size: 9px; }
.location-detail-map { min-height: 320px; }
@media (max-width: 720px) {
  .criteria-trigger { flex-wrap: wrap; }
  .criteria-trigger > small { white-space: normal; }
  .location-detail-map { min-height: min(55vh, 340px); }
  .team-contact-modal .contact-modal-content .field { grid-template-rows: auto auto; }
}

/* LOT 9 V5.7 — public currency preference, accessible sort listbox and
   on-demand approximate location map. */
.currency-switcher { display: inline-flex; align-items: center; margin-left: auto; }
.currency-switcher select {
  min-height: 32px; padding: 0 24px 0 9px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--paper); color: var(--plum-deep); font-size: 11px; font-weight: 850;
}
.sort-select-native { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.sort-field { position: relative; }
.sort-select-trigger { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font: inherit; font-size: 12px; font-weight: 750; text-align: left; cursor: pointer; }
.sort-select-trigger:focus-visible { border-color: var(--rose-deep); outline: 2px solid rgba(237,16,110,.24); outline-offset: 2px; box-shadow: 0 0 0 3px rgba(237,16,110,.12); }
.sort-select-menu { position: absolute; z-index: 40; inset: calc(100% + 6px) 0 auto; display: grid; gap: 3px; padding: 6px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); box-shadow: 0 16px 36px rgba(36,23,47,.18); }
.sort-select-menu button { min-height: 36px; padding: 7px 10px; border: 0; border-radius: 9px; background: transparent; color: var(--ink); font: inherit; font-size: 12px; text-align: left; cursor: pointer; }
.sort-select-menu button:hover, .sort-select-menu button:focus-visible, .sort-select-menu button.is-selected { background: #FCF3F7; color: var(--plum-deep); outline: none; }
.price-origin-note { display: block; margin-top: 2px; color: var(--muted); font-size: 9px; font-weight: 650; letter-spacing: .01em; }
.price-per-night { white-space: nowrap; }
.map-preview-heading { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 3px; }
.map-preview-heading strong { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.map-preview-heading b { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.location-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.location-map-modal { position: fixed; z-index: 68; inset: 0; display: grid; place-items: center; padding: 20px; }
.location-map-modal .contact-modal-backdrop { position: absolute; inset: 0; border: 0; background: rgba(26,16,31,.55); }
.location-map-content { position: relative; width: min(720px, 100%); padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); box-shadow: 0 24px 70px rgba(36,23,47,.24); }
.location-map-note { margin: 4px 0 12px; color: var(--ink-soft); font-size: 13px; line-height: 1.45; }
.location-detail-map { min-height: 320px; border-radius: 14px; overflow: hidden; background: #FAF7FA; }
.location-map-content .contact-form-status { margin-top: 8px; }
.criteria-trigger > span { white-space: nowrap; }

/* Native control reset: browser blue/orange affordances are replaced by the
   Kocoonya focus ring while preserving native keyboard semantics. */
select, input, textarea, button { accent-color: var(--rose-deep); }
select:focus, input:focus, textarea:focus, button:focus-visible { outline-color: var(--rose-deep); }
select:focus, input:focus, textarea:focus { border-color: var(--rose-deep); box-shadow: 0 0 0 3px rgba(237,16,110,.12); }

@media (max-width: 720px) {
  .currency-switcher { margin-left: auto; margin-right: 2px; }
  .currency-switcher select { min-height: 30px; padding-inline: 7px 18px; font-size: 10px; }
  .location-map-modal { padding: 10px; place-items: start center; padding-top: max(10px, env(safe-area-inset-top)); }
  .location-map-content { width: 100%; max-height: calc(100dvh - 20px); overflow: auto; padding: 20px 16px 16px; border-radius: 18px; }
  .location-detail-map { min-height: min(55vh, 340px); }
  .location-actions { justify-content: flex-start; }
  .team-contact-modal { padding: 10px; place-items: start center; padding-top: max(10px, env(safe-area-inset-top)); }
  .team-contact-modal .contact-modal-content { max-height: calc(100dvh - 20px); padding: 20px 16px 16px; border-radius: 18px; }
  .team-contact-modal .contact-modal-content form { gap: 9px; margin-top: 12px; }
  .team-contact-modal .contact-modal-content > p:not(.eyebrow) { margin-bottom: 8px; }
  .team-contact-modal .contact-modal-content .field { grid-template-rows: auto auto; }
  .sort-select-menu { inset-inline: 0; }
}

/* Mobile results: keep the first listing immediately below the controls and reuse the full photo-led card. */
@media (max-width: 720px) {
  .results-section {
    padding-bottom: calc(118px + env(safe-area-inset-bottom));
  }

  .results-search-strip {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .results-count-row {
    padding-top: 12px;
    padding-bottom: 8px;
  }

  .results-controls {
    gap: 10px;
    margin-bottom: 14px;
  }

  .results-layout:not(.is-map-mode) .results-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    width: 100%;
    padding: 0 0 106px;
  }

  .results-layout:not(.is-map-mode) .results-list .listing-card {
    width: 100%;
    min-width: 0;
  }

  .results-layout:not(.is-map-mode) .results-list .listing-media {
    aspect-ratio: 16 / 9;
    min-height: 0;
    border-radius: 19px;
  }

  .results-layout:not(.is-map-mode) .results-list .listing-copy {
    width: calc(100% - 24px);
    min-height: 0;
    margin: -16px auto 0;
    padding: 15px 16px 14px;
    border-radius: 17px;
  }

  .results-layout:not(.is-map-mode) .results-list .listing-card .listing-head h3 {
    font-size: clamp(18px, 5.3vw, 21px);
  }

  .results-layout:not(.is-map-mode) .results-list .listing-card .amenity-line {
    margin-top: 10px;
    line-height: 1.35;
  }

  .results-layout:not(.is-map-mode) .results-list .listing-card .listing-card-footer {
    margin-top: 12px;
  }

  .results-layout:not(.is-map-mode) .results-list .listing-card .card-availability {
    display: block;
    margin-top: 4px;
    text-align: left;
  }

  body.has-results .view-switcher {
    bottom: max(14px, env(safe-area-inset-bottom));
  }
}

/* On mobile results, center the help button on the same horizontal band as Liste/Carte. */
@media (max-width: 720px) {
  body.has-results .help-widget {
    bottom: calc(max(12px, env(safe-area-inset-bottom)) + 10px);
  }
}

/* Give the mobile help panel more usable width while keeping equal screen margins. */
@media (max-width: 720px) {
  .help-panel {
    width: min(390px, calc(100vw - 24px));
    padding: 18px;
  }
}

/* In mobile map mode, keep help visually separate from the active Carte segment. */
@media (max-width: 720px) {
  body.has-results.has-map-results .help-widget {
    bottom: calc(max(12px, env(safe-area-inset-bottom)) + 68px);
  }

  body.has-results.has-map-results .help-toggle {
    border: 2px solid var(--paper);
    box-shadow: 0 8px 22px rgba(36, 27, 47, .28);
  }
}

/* Mobile detail favourite row: equal-height controls with true shared centering. */
@media (max-width: 720px) {
  .detail-heading {
    display: block;
  }

  .detail-heading-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 12px;
  }

  .detail-heading-actions .favorite-action {
    box-sizing: border-box;
    height: 44px;
    min-height: 44px;
    margin: 0;
  }

  .detail-heading-actions .favorite-action {
    gap: 7px;
    padding-inline: 4px 8px;
    font-size: clamp(11px, 3.1vw, 13px);
  }
}

/* LOT 9 final responsive corrections. */
.discovery-empty {
  width: 100%;
  margin: 8px 0;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}
.discovery-empty p {
  margin: 0;
}
.discovery-empty-state {
  grid-column: 1 / -1;
  justify-self: center;
  display: grid;
  flex: 0 1 620px;
  justify-items: center;
  width: min(100%, 620px);
  max-width: 100%;
  margin: 8px auto;
  padding: 30px 28px;
  border-color: #e5dbf8;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #fff 0%, #faf8ff 100%);
  box-shadow: 0 12px 28px rgba(65, 38, 111, .07);
  text-align: center;
}
.discovery-empty-state h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.05rem, 2.1vw, 1.3rem);
  line-height: 1.25;
  letter-spacing: -.025em;
}
.discovery-empty-state p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}
.discovery-empty-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  margin-top: 18px;
  padding-inline: 20px;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}
.discovery-empty-link:focus-visible {
  outline: 3px solid rgba(124, 58, 237, .2);
  outline-offset: 3px;
}
@media (max-width: 720px) {
  .discovery-empty-state {
    padding: 24px 18px;
  }
  .discovery-empty-state p {
    font-size: 13px;
  }
}

/* A single homepage card remains compact and centered at every width. */
.discovery-row:has(> .listing-card:only-child) {
  justify-content: center;
}
.discovery-row:has(> .listing-card:only-child) > .listing-card {
  width: min(100%, 380px);
  justify-self: center;
}
.listing-card .card-price strong {
  white-space: nowrap;
}

@media (max-width: 720px) {
  body.has-results .results-section {
    padding-bottom: calc(164px + env(safe-area-inset-bottom));
  }

  body.has-results .view-switcher {
    bottom: max(18px, env(safe-area-inset-bottom));
  }

  body.has-results .help-widget {
    right: 14px;
    bottom: calc(max(18px, env(safe-area-inset-bottom)) + 62px);
  }

  body.has-results.has-map-results .help-widget {
    bottom: calc(max(18px, env(safe-area-inset-bottom)) + 112px);
  }

  .discovery-row:has(> .listing-card:only-child) {
    justify-content: center;
    overflow-x: visible;
  }

  .discovery-row:has(> .listing-card:only-child) > .listing-card {
    flex-basis: min(78vw, 290px);
  }
}

@media (max-width: 900px) and (min-width: 721px) {
  .search-fields .search-submit-stack {
    grid-column: 1 / -1;
    width: 240px;
    justify-self: center;
  }

  .results-layout:not(.is-map-mode) .results-list:has(> .listing-card:only-child) {
    display: flex;
    justify-content: center;
  }

  .results-layout:not(.is-map-mode) .results-list:has(> .listing-card:only-child) > .listing-card {
    width: min(100%, 560px);
  }
}

/* LOT 9 V5 — Kocoonya palette and intelligent discovery-card alignment. */
.site-header {
  background: rgba(250, 247, 250, .94);
  border-bottom-color: rgba(232, 221, 231, .9);
}
.mobile-menu { background: rgba(250, 247, 250, .98); }
.header-host small,
.mobile-menu small,
.natural-symbol,
.date-chip,
.understood-tag,
.availability-chip,
.photo-picker,
.help-actions button { background: #FAF1F6; }
.account-button:hover,
.account-button:focus-visible,
.menu-toggle:hover,
.menu-toggle:focus-visible,
.mobile-menu button:hover,
.mobile-menu button:focus-visible,
.discovery-cta:hover,
.discovery-cta:focus-visible,
.help-actions button:hover,
.help-actions button:focus-visible { background: #F5E7EF; }
.hero { background: radial-gradient(circle at 84% 22%, rgba(237, 16, 110, .16) 0, rgba(237, 16, 110, .07) 17%, transparent 35%), linear-gradient(120deg, #FAF7FA 0%, #FBF4F8 58%, #F8EEF4 100%); }
.host-section { background: linear-gradient(135deg, #FAF7FA, #FBF4F8); }
.results-section,
.detail-page-section { background: #FCF9FB; }
.natural-panel { border-color: #E6CFDC; background: #FCF6F9; }
.discovery-empty-state { border-color: #E6CFDC; background: #fff; }
.discovery-empty-link:focus-visible { outline-color: rgba(115, 8, 72, .24); }
.favorite-button:hover,
.favorite-button.is-active { background: #F7EAF1; }
.gallery { background: #F5EAF1; }
.date-chip:hover,
.date-chip.is-active { background: #F9E2EC; border-color: var(--rose); color: var(--plum-deep); }
.availability-chip.hot { background: var(--rose-deep); color: #fff; }

.discovery-row:has(> .listing-card:only-child) {
  grid-template-columns: minmax(0, 380px);
  justify-content: center;
}
.discovery-row:has(> .listing-card:nth-child(2):last-child) {
  grid-template-columns: repeat(2, minmax(0, min(380px, calc((100% - 22px) / 2))));
  justify-content: center;
  gap: 22px;
}
.discovery-row:has(> .listing-card:nth-child(2):last-child) > .listing-card {
  width: 100%;
  justify-self: stretch;
}

@media (max-width: 720px) {
  .brand-logo { width: 144px; max-height: 42px; }
  .discovery-row:has(> .listing-card:only-child),
  .discovery-row:has(> .listing-card:nth-child(2):last-child) {
    grid-template-columns: none;
    justify-content: initial;
  }
  .discovery-row:has(> .listing-card:nth-child(2):last-child) > .listing-card {
    width: 100%;
  }
}


.booking-availability-mobile { display: none !important; }

@media (max-width: 720px) {
  .booking-availability-desktop { display: none !important; }
  .booking-availability-mobile { display: inline !important; white-space: nowrap; }
}

/* Favorites: shared local collection access and page. */
.favorites-button {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--plum-deep);
}
.favorites-button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.favorites-button.has-favorites svg { fill: currentColor; }
.favorites-button:hover, .favorites-button:focus-visible { border-color: var(--rose-deep); background: #f5f1ff; }
.favorites-count { position: absolute; top: -4px; right: -4px; display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border: 2px solid var(--paper); border-radius: 999px; background: var(--rose-deep); color: #fff; font-size: 10px; font-weight: 850; line-height: 1; }
.favorites-section { min-height: calc(100vh - var(--header-height)); padding: 54px 0 96px; background: var(--wash); }
.favorites-heading { max-width: 760px; margin-bottom: 30px; }
.favorites-heading h1 { margin-bottom: 10px; font-size: clamp(2rem, 4vw, 3.3rem); }
.favorites-heading > p:last-child { margin: 0; color: var(--ink-soft); font-size: 16px; }
.favorites-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.favorites-empty { padding: 42px 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); text-align: center; box-shadow: var(--shadow); }
.favorites-empty h2 { margin-bottom: 10px; font-size: clamp(1.35rem, 3vw, 2rem); }
.favorites-empty p { margin-bottom: 22px; color: var(--muted); }
@media (max-width: 980px) {
  .favorites-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .favorites-button { flex-basis: 40px; width: 40px; height: 40px; }
  .favorites-section { padding: 30px 0 calc(70px + env(safe-area-inset-bottom)); }
  .favorites-heading { margin-bottom: 22px; }
  .favorites-heading h1 { font-size: clamp(1.85rem, 8vw, 2.35rem); }
  .favorites-heading > p:last-child { font-size: 14px; }
  .favorites-grid { grid-template-columns: 1fr; gap: 16px; }
  .favorites-empty { padding: 32px 18px; }
}

.favorites-copy-mobile { display: none; }
@media (max-width: 720px) {
  .favorites-copy-desktop { display: none; }
  .favorites-copy-mobile { display: inline; }
}

/* One shared favorite icon: the button owns the centering, the SVG owns the drawing. */
.favorite-button {
  display: grid;
  place-items: center;
  padding: 0;
  line-height: 0;
}
.favorite-button .favorite-icon {
  display: block;
  width: 24px;
  height: 24px;
  overflow: visible;
}
.favorite-button .favorite-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.favorite-button.is-active .favorite-icon path { fill: currentColor; }
.favorites-button svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.favorites-button.has-favorites svg path { fill: currentColor; }
.favorite-feedback {
  position: fixed;
  z-index: 10050;
  pointer-events: none;
  padding: 7px 10px;
  border: 1px solid #e3dafa;
  border-radius: 999px;
  background: rgba(255, 255, 255, .97);
  color: var(--plum-deep);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.1;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(65, 38, 111, .12);
  opacity: 0;
  transform: translateY(2px);
  transition: opacity .18s ease, transform .18s ease;
}
.favorite-feedback.is-visible { opacity: 1; transform: translateY(0); }
@media (max-width: 720px) {
  .listing-card .favorite-button { min-width: 42px; min-height: 42px; }
  .listing-card .favorite-button .favorite-icon { width: 24px; height: 24px; }
}
@media (max-width: 720px) {
  .favorites-empty p { display: none; }
}

/* Mobile detail highlights: slightly larger, still compact two-column read. */
@media (max-width: 720px) {
  .detail-highlight-grid { gap: 8px 9px; }
  .detail-highlight-amenity {
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
  }
  .detail-highlight-amenity .amenity-icon {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
  }
  .detail-highlight-amenity .amenity-svg {
    width: 24px;
    height: 24px;
  }
}

/* Calendar month labels: the toolbar is the single mobile heading;
   desktop keeps one heading per visible month. */
@media (max-width: 720px) {
  .date-picker-months .calendar-month h3 {
    display: none;
  }
}
@media (min-width: 721px) {
  .date-picker-toolbar > span {
    display: none;
  }
}

/* Keep the mobile card footer on one balanced line at narrow widths. */
@media (max-width: 720px) {
  .listing-card .listing-card-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
  }
  .listing-card .listing-card-price-group {
    flex: 1 1 auto;
    min-width: 0;
  }
  .listing-card .card-price {
    justify-content: flex-start;
    margin: 0;
    white-space: nowrap;
  }
  .listing-card .card-price strong {
    display: block;
    min-width: 0;
    font-size: clamp(.82rem, 3.7vw, 1rem);
    letter-spacing: -.045em;
    white-space: nowrap;
  }
  .listing-card .card-open-link,
  .discovery-row .listing-card-selection .selection-footer .card-open-link {
    flex: 0 0 auto;
    max-width: none;
    font-size: clamp(.64rem, 2.9vw, .75rem);
    line-height: 1.15;
    white-space: nowrap;
  }
}

/* Shared normalized selectors in the owner form */
.seller-equipment-picker { display:grid; gap:10px; min-height:48px; }
.seller-equipment-priority, .seller-equipment-list { display:flex; flex-wrap:wrap; gap:8px; }
.seller-equipment-chip { position:relative; display:inline-flex; align-items:center; min-height:38px; padding:8px 12px; border:1px solid var(--line); border-radius:999px; background:var(--paper,#fff); color:var(--ink); font-size:13px; line-height:1.2; cursor:pointer; }
.seller-equipment-chip input { position:absolute; opacity:0; pointer-events:none; }
.seller-equipment-chip:has(input:checked) { border-color:#b69bea; background:#f0e9ff; color:var(--plum-deep); }
.seller-equipment-chip:focus-within { outline:3px solid rgba(126,65,231,.2); outline-offset:2px; }
.seller-equipment-more { border-top:1px solid var(--line); padding-top:8px; }
.seller-equipment-more summary { color:var(--plum-deep); font-size:13px; font-weight:800; cursor:pointer; }
@media (max-width:720px) { .seller-equipment-chip { min-height:42px; font-size:12px; padding:9px 11px; } .seller-equipment-list { max-height:260px; overflow:auto; padding-top:10px; } }

/* Publication review: compact, production-ready owner step */
.review-heading { display:block; margin-bottom:20px; }
.review-step-meta { display:flex; align-items:center; justify-content:space-between; gap:14px; }
.review-step-meta .eyebrow { margin:0; }
.review-heading h3 { margin:7px 0 0; max-width:100%; font-size:clamp(15px,2.5vw,21px); line-height:1.2; white-space:nowrap; }
.review-amenities-picker { display:flex; flex-wrap:wrap; gap:8px; max-height:220px; overflow:auto; padding:2px; }
.review-amenity-chip { position:relative; display:inline-flex; align-items:center; min-height:38px; padding:8px 11px; border:1px solid var(--line); border-radius:999px; background:var(--paper,#fff); color:var(--ink); font-size:12px; line-height:1.2; cursor:pointer; }
.review-amenity-chip input { position:absolute; opacity:0; pointer-events:none; }
.review-amenity-chip:has(input:checked) { border-color:#b69bea; background:#f0e9ff; color:var(--plum-deep); }
.review-amenity-chip:focus-within { outline:3px solid rgba(126,65,231,.2); outline-offset:2px; }
.availability-note { padding:13px 15px; border:1px solid #e5dbf8; border-radius:12px; background:#faf8ff; }
.availability-note strong { color:var(--plum-deep); }
.availability-note p { margin:4px 0 0; color:var(--muted); font-size:13px; }
.photo-picker-title { display:flex; align-items:center; gap:8px; color:var(--plum-deep); font-size:14px; font-weight:850; }
.photo-picker-title span { display:grid; width:28px; height:28px; place-items:center; border-radius:8px; background:#eee7ff; font-size:18px; }
.photo-picker input { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; clip-path:inset(50%); }
.photo-picker { position:relative; cursor:pointer; }
.seller-photo-preview { display:flex; gap:6px; margin-top:7px; }
.seller-photo-preview:empty { display:none; }
.seller-photo-preview img { width:46px; height:46px; border-radius:8px; object-fit:cover; }
@media (max-width:720px) {
  .review-heading h3 { font-size:clamp(14px,4.1vw,18px); letter-spacing:-.02em; }
  .review-amenity-chip { min-height:40px; }
  .availability-note p { font-size:12px; }
}

/* Compact, categorized equipment selection shared by the owner form and review */
.seller-equipment-summary { margin-bottom:10px; color:var(--plum-deep); font-size:12px; font-weight:850; }
.seller-equipment-categories { display:grid; gap:14px; }
.seller-equipment-category { min-width:0; margin:0; padding:10px 0 0; border:0; border-top:1px solid var(--line); }
.seller-equipment-category legend { padding:0; color:var(--plum-deep); font-size:12px; font-weight:850; }
.seller-equipment-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px 18px; margin-top:6px; }
.seller-equipment-option { display:flex; align-items:center; gap:8px; min-height:40px; color:var(--ink-soft); font-size:13px; line-height:1.25; cursor:pointer; }
.seller-equipment-option input { position:absolute; opacity:0; pointer-events:none; }
.seller-equipment-check { display:grid; flex:0 0 18px; width:18px; height:18px; place-items:center; border:1.5px solid #cbbbe9; border-radius:5px; background:#fff; }
.seller-equipment-option input:checked + .seller-equipment-check { border-color:var(--plum); background:var(--plum); }
.seller-equipment-option input:checked + .seller-equipment-check::after { width:8px; height:4px; border-bottom:2px solid #fff; border-left:2px solid #fff; content:""; transform:rotate(-45deg) translateY(-1px); }
.seller-equipment-option:focus-within { outline:3px solid rgba(126,65,231,.16); outline-offset:2px; border-radius:6px; }
.review-amenities-picker .seller-equipment-categories { gap:12px; }
@media (min-width:1000px) { .seller-equipment-options { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:720px) { .seller-equipment-options { gap:3px 10px; } .seller-equipment-option { min-height:42px; font-size:12px; } }

/* Mobile owner equipment accordions: one page scroll, no nested scrollbar */
.seller-equipment-categories { overflow:visible; }
.seller-equipment-category { padding:0; border-top:1px solid var(--line); }
.seller-equipment-category summary { display:flex; align-items:center; justify-content:space-between; min-height:44px; padding:9px 0; color:var(--plum-deep); font-size:13px; font-weight:850; cursor:pointer; list-style:none; }
.seller-equipment-category summary::-webkit-details-marker { display:none; }
.seller-equipment-category summary::after { content:"›"; color:var(--plum); font-size:23px; font-weight:500; line-height:1; transform:rotate(0deg); transition:transform .16s ease; }
.seller-equipment-category[open] summary::after { transform:rotate(90deg); }
.seller-equipment-category summary:focus-visible { outline:3px solid rgba(126,65,231,.18); outline-offset:2px; border-radius:6px; }
.review-amenities-picker { max-height:none; overflow:visible; }

.owner-address-field small { display:block; color:var(--muted); font-size:13px; line-height:1.5; margin-top:5px; }
.owner-address-field #owner-public-city { color:var(--plum-deep); }
@media (max-width:720px) {
  .owner-address-field small { font-size:clamp(12px,3.1vw,13px); }
}

/* Final public-state color normalization: no geometry or interaction changes. */
.suggestion:hover,
.suggestion:focus-visible,
.suggestion.is-highlighted,
.date-chip,
.natural-panel,
.understood-tag,
.favorite-action:hover,
.favorite-action:focus-visible,
.help-actions button,
.results-criteria[open] summary,
.criteria-option:has(input:checked),
.seller-equipment-chip:has(input:checked),
.review-amenity-chip:has(input:checked),
.availability-note { background: #FCF3F7; }
.date-chip,
.natural-panel,
.understood-panel,
.favorite-button,
.favorite-action:hover,
.booking-panel,
.seller-review,
.results-criteria[open] summary,
.criteria-option:has(input:checked),
.seller-equipment-chip:has(input:checked),
.review-amenity-chip:has(input:checked),
.availability-note { border-color: #E6CFDC; }
.map-preview-card { border-color: rgba(115, 8, 72, .16); }
.map-preview-card:hover { border-color: rgba(115, 8, 72, .34); }
.map-preview-nav:hover { background: rgba(115, 8, 72, .92); }
.favorite-feedback { border-color: #E6CFDC; }

/* LOT 9 V5.1 — targeted Windows/Chrome corrections. */
/* The owner form grows with its accordions; nothing in it is positioned out
   of flow, so the footer always follows the complete form. */
.host-section,
.host-layout,
.host-card,
.seller-form,
.seller-grid,
.seller-equipment-field,
.seller-equipment-picker,
.seller-equipment-categories,
.seller-equipment-category,
.seller-equipment-options {
  min-width: 0;
}
.host-section { overflow: visible; }
.host-card { height: auto; overflow: visible; }
.seller-form { display: flex; flex-direction: column; align-items: stretch; }
.seller-form > .button-primary { position: static; align-self: flex-start; clear: both; margin-top: 8px; }
.seller-equipment-category,
.seller-equipment-category[open] { height: auto; }
.seller-equipment-option { min-width: 0; overflow-wrap: anywhere; }
.seller-equipment-option > span:last-child { min-width: 0; }
.site-footer { position: relative; clear: both; }

/* The equipment picker is a variable-height field.  The generic .field
   contract intentionally remains two fixed rows for ordinary inputs, but it
   must not constrain this accordion to a 48px second row. */
.seller-equipment-field {
  display: block;
  height: auto;
  grid-template-rows: none;
}
.seller-equipment-field > span {
  display: block;
  margin-bottom: 8px;
}
.seller-equipment-field .seller-equipment-picker {
  min-height: 0;
  height: auto;
}
.seller-equipment-field .seller-equipment-categories,
.seller-equipment-field .seller-equipment-category[open] .seller-equipment-options {
  height: auto;
  max-height: none;
  overflow: visible;
}
.seller-equipment-field .seller-equipment-option {
  overflow-wrap: anywhere;
}

/* Give the account hero a little breathing room below the sticky header. */
@media (min-width: 721px) {
  .account-section { padding-top: 108px; }
}
@media (max-width: 720px) {
  .account-section { padding-top: 54px; }
}

/* The detail title shares the row with the favourite action without wrapping
   or pushing that action outside its panel. */
.detail-heading > div:first-child { flex: 1 1 auto; min-width: 0; }
.detail-heading .detail-title {
  min-width: 0;
  max-width: 100%;
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  line-height: 1.08;
}
.detail-heading-actions { flex: 0 0 auto; min-width: 0; }
@media (max-width: 720px) {
  .detail-heading .detail-title { font-size: clamp(1.45rem, 7vw, 2.2rem); }
}

/* A selected day keeps its contrast even when hovered or keyboard-focused. */
.calendar-day.is-arrival:hover:not(:disabled),
.calendar-day.is-arrival:focus-visible,
.calendar-day.is-departure:hover:not(:disabled),
.calendar-day.is-departure:focus-visible {
  border-color: var(--rose-deep);
  background: var(--rose-deep);
  color: #fff;
  -webkit-text-fill-color: #fff;
}

/* LOT 9 V5.3 — targeted account spacing and premium highlight icons. */
.account-section { margin-top: 32px; }

/* « À retenir » uses a light circular halo instead of the old square cue. */
.detail-highlight-amenity .amenity-icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  padding: 6px;
  border: 1px solid #E6CFDC;
  border-radius: 50%;
  background: #FCF3F7;
  color: var(--plum);
  box-shadow: 0 5px 14px rgba(115, 8, 72, .08), inset 0 0 0 1px rgba(255, 255, 255, .7);
}
.detail-highlight-amenity .amenity-svg {
  width: 27px;
  height: 27px;
  stroke-width: 1.8;
}
.detail-highlight-amenity:nth-child(odd) .amenity-icon {
  background: #FFF7FA;
  color: var(--rose-deep);
}

/* V5.4 — the full equipment list shares the premium circular treatment. */
.detail-amenities > span > .amenity-icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  padding: 5px;
  border: 1px solid #E6CFDC;
  border-radius: 50%;
  background: #FCF3F7;
  color: var(--plum);
  box-shadow: 0 4px 12px rgba(115, 8, 72, .07), inset 0 0 0 1px rgba(255, 255, 255, .72);
}
.detail-amenities > span:nth-child(odd) > .amenity-icon {
  background: #FFF7FA;
  color: var(--rose-deep);
}
.detail-amenities > span > .amenity-icon .amenity-svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.8;
}
.detail-back-row { justify-content: flex-start; }
.favorite-feedback {
  max-width: calc(100vw - 16px);
  text-align: center;
}
@media (max-width: 720px) {
  .account-section { margin-top: 32px; }
  .detail-highlight-amenity { gap: 9px; }
  .detail-highlight-amenity .amenity-icon {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
    padding: 5px;
  }
  .detail-highlight-amenity .amenity-svg {
    width: 24px;
    height: 24px;
  }
  .detail-amenities > span > .amenity-icon {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
    padding: 4px;
  }
  .detail-amenities > span > .amenity-icon .amenity-svg {
    width: 24px;
    height: 24px;
  }
}

/* LOT 9 V5.5 — Kocoonya filter states, open categories and compact spacing. */
.favorite-feedback {
  white-space: nowrap;
  max-width: calc(100vw - 16px);
}

/* Remove the legacy lilac/mauve surfaces from results and filter controls. */
.results-section,
.detail-page-section { background: var(--cream); }
.results-criteria[open] summary,
.results-criteria summary:hover,
.results-criteria summary:focus-visible {
  background: #FCF3F7;
  border-color: var(--rose);
  color: var(--plum-deep);
}
.criteria-option:has(input:checked),
.seller-equipment-chip:has(input:checked),
.review-amenity-chip:has(input:checked) {
  border-color: var(--rose);
  background: #FCF3F7;
  color: var(--plum-deep);
}
.criteria-option:focus-within,
.seller-equipment-chip:focus-within,
.review-amenity-chip:focus-within {
  outline: 3px solid rgba(237, 16, 110, .2);
  outline-offset: 2px;
}

/* Categories are real details elements and are intentionally open initially. */
.criteria-category {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  padding: 0 12px;
}
.criteria-category > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  color: var(--plum-deep);
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .08em;
  list-style: none;
  text-transform: uppercase;
}
.criteria-category > summary::-webkit-details-marker { display: none; }
.criteria-category > summary::after {
  content: "+";
  color: var(--rose-deep);
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
}
.criteria-category[open] > summary::after { content: "−"; }
.criteria-category > .criteria-options { padding: 0 0 12px; }

/* Native controls inherit the brand instead of browser blue/orange accents. */
input[type="checkbox"],
input[type="radio"] { accent-color: var(--rose-deep); }
select:focus,
input:focus,
textarea:focus {
  outline-color: var(--rose);
}
select option:checked {
  background: var(--rose-deep);
  color: #fff;
}

/* Bring the moment section closer to the search card without collapsing it. */
.search-zone { padding-bottom: 30px; }
.discovery-section { padding-top: 46px; }
@media (max-width: 1100px) and (min-width: 721px) {
  .search-zone { padding-bottom: 26px; }
  .discovery-section { padding-top: 40px; }
}
@media (max-width: 720px) {
  .search-zone { padding-bottom: 20px; }
  .discovery-section { padding-top: 34px; }
}

/* LOT 9 V5.6 — usable criteria panel and explicit checkbox controls. */
.criteria-picker { min-width: 0; }
.criteria-panel {
  left: auto;
  right: 0;
  width: min(760px, calc(100vw - 48px));
  max-width: calc(100vw - 48px);
  overflow: visible;
  border-color: #E6CFDC;
}
.criteria-panel-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  max-height: min(64vh, 560px);
  overflow-x: hidden;
}
.criteria-category {
  min-width: 0;
  padding: 0 12px;
  border-color: #E6CFDC;
  background: var(--paper);
}
.criteria-category > .criteria-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 12px;
  padding: 6px 0 12px;
}
.criteria-option {
  position: static;
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  min-height: 40px;
  padding: 6px 4px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.criteria-option input {
  position: static;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 0;
  opacity: 1;
  pointer-events: auto;
  accent-color: var(--rose-deep);
}
.criteria-option span { min-width: 0; }
.criteria-option:hover { background: #FCF3F7; }
.criteria-option:has(input:checked) {
  border: 0;
  background: #FCF3F7;
  color: var(--plum-deep);
  font-weight: 800;
}
.criteria-option:focus-within {
  outline: 2px solid rgba(237, 16, 110, .32);
  outline-offset: 1px;
}
.criteria-panel-head,
.criteria-panel-actions { min-width: 0; }
.criteria-panel-head strong,
.criteria-panel-head p { overflow-wrap: anywhere; }

/* Keep all public control states on the Kocoonya palette. Native select popups
   remain accessible; their closed/focus/selected states no longer use the
   browser's orange/blue outline or accent. */
.results-search-field input:focus,
.results-search-field select:focus,
.results-price-input input:focus,
.results-criteria summary:focus-visible,
.field input:focus,
.field select:focus,
.natural-panel textarea:focus,
.criteria-trigger:focus-visible,
.criteria-close:focus-visible {
  border-color: var(--rose-deep);
  outline: 2px solid rgba(237, 16, 110, .24);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(237, 16, 110, .12);
}
.results-search-field select,
.results-controls .sort-field select,
.field select,
.results-criteria-panel select {
  accent-color: var(--rose-deep);
}
.results-search-field select option:checked,
.results-controls .sort-field select option:checked,
.field select option:checked,
.results-criteria-panel select option:checked {
  background: var(--rose-deep);
  color: #fff;
}

/* At 360px the step label sits above the title so the heading remains a
   single readable line without changing the form's content. */
@media (max-width: 430px) {
  .host-card > .section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
  .host-card > .section-heading > .step-label {
    grid-row: 1;
    justify-self: start;
  }
  .host-card > .section-heading > div { grid-row: 2; min-width: 0; }
  .host-card > .section-heading h3 {
    margin: 0;
    max-width: 100%;
    font-size: clamp(16px, 5.1vw, 20px);
    letter-spacing: -.045em;
    line-height: 1.1;
    white-space: nowrap;
  }
}

@media (max-width: 760px) {
  .criteria-panel {
    position: fixed;
    inset: auto 0 0;
    width: 100%;
    max-width: none;
    max-height: min(88vh, 760px);
    overflow: auto;
    border-radius: 24px 24px 0 0;
    padding: 20px 18px calc(20px + env(safe-area-inset-bottom));
  }
  .criteria-panel-grid {
    grid-template-columns: 1fr;
    max-height: none;
    overflow: visible;
    gap: 12px;
  }
  .criteria-category > .criteria-options { grid-template-columns: 1fr; }
  .criteria-option { min-height: 44px; padding: 7px 4px; }
  .criteria-panel-actions {
    position: sticky;
    bottom: 0;
    margin-inline: -18px;
    padding: 14px 18px calc(4px + env(safe-area-inset-bottom));
    background: var(--paper);
  }
  .criteria-panel-actions .button-primary { flex: 1; }
}

/* Kocoonya TEST n°17 : demande simple ; aucune disponibilité garantie. */
.inquiry-dates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.inquiry-dates .field{min-width:0}
.inquiry-dates input{width:100%;min-width:0;max-width:100%;box-sizing:border-box}
.inquiry-privacy{margin:0;color:var(--muted);font-size:12px;line-height:1.5}
.booking-external-link{display:block;text-align:center;font-size:12px;font-weight:750;color:var(--plum);text-decoration:underline;text-underline-offset:3px}
@media(max-width:380px){.inquiry-dates{grid-template-columns:1fr}}

#contact-form .contact-form-status{color:#a93450}
#contact-form .contact-form-status.is-success{color:var(--green)}

/* TEST 70 — hiérarchie des prix, sans statut de disponibilité redondant. */
.listing-card .card-price {display:flex;flex-wrap:wrap;align-items:baseline;justify-content:flex-start;gap:4px 8px;color:#790a4f;margin-top:6px}
.listing-card .card-price .price-prefix {font-size:12px;font-weight:650;color:#6f576b}
.listing-card .card-price strong.card-price-amount {font-size:clamp(23px,2.1vw,29px);font-weight:850;color:#790a4f;line-height:1.13;letter-spacing:-.035em}
.listing-card .card-price .price-per-night {font-size:12px;color:#68576a}
.results-layout.is-map-mode .listing-card .card-price strong.card-price-amount {font-size:23px}
.map-preview-heading {gap:8px !important}
.map-preview-heading b.map-preview-price {display:flex;align-items:baseline;gap:4px;flex-wrap:wrap;max-width:100%;white-space:normal;min-width:0}
.map-preview-price-label,.map-preview-night {font-size:11px;font-weight:600;color:#806b7a}
.map-preview-heading b.map-preview-price strong {font-size:18px;font-weight:850;color:#790a4f;letter-spacing:-.03em}
@media(max-width:720px){.listing-card .card-price strong.card-price-amount{font-size:clamp(22px,5.8vw,27px)}.map-preview-heading b.map-preview-price strong{font-size:17px}}


/* ===== styles-v5-7.css ===== */
/* LOT 9 V5.7 — final public-only overrides. Keep this small stylesheet
   separate so the V5.6 source remains an auditable baseline. */
.currency-switcher { display: inline-flex; align-items: center; margin-left: auto; }
.currency-switcher select { min-height: 32px; padding: 0 24px 0 9px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--plum-deep); font-size: 11px; font-weight: 850; }
.sort-field { position: relative; }
.sort-select-native { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
.sort-select-trigger { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font: inherit; font-size: 12px; font-weight: 750; text-align: left; cursor: pointer; }
.sort-select-trigger:focus-visible { border-color: var(--rose-deep); outline: 2px solid rgba(237,16,110,.24); outline-offset: 2px; box-shadow: 0 0 0 3px rgba(237,16,110,.12); }
.sort-select-menu { position: absolute; z-index: 40; inset: calc(100% + 6px) 0 auto; display: grid; gap: 3px; padding: 6px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); box-shadow: 0 16px 36px rgba(36,23,47,.18); }
.sort-select-menu button { min-height: 36px; padding: 7px 10px; border: 0; border-radius: 9px; background: transparent; color: var(--ink); font: inherit; font-size: 12px; text-align: left; cursor: pointer; }
.sort-select-menu button:hover, .sort-select-menu button:focus-visible, .sort-select-menu button.is-selected { background: #FCF3F7; color: var(--plum-deep); outline: none; }
.price-origin-note { display: block; margin-top: 2px; color: var(--muted); font-size: 9px; font-weight: 650; letter-spacing: .01em; }
.price-per-night { white-space: nowrap; }
.map-preview-heading { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; align-items: start !important; gap: 3px !important; }
.map-preview-heading strong, .map-preview-heading b { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.criteria-trigger { flex-wrap: nowrap; }
.criteria-trigger > span { white-space: nowrap; }
.criteria-trigger > small { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.location-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.location-map-modal { position: fixed; z-index: 68; inset: 0; display: grid; place-items: center; padding: 20px; }
.location-map-modal .contact-modal-backdrop { position: absolute; inset: 0; border: 0; background: rgba(26,16,31,.55); }
.location-map-content { position: relative; width: min(720px, 100%); padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); box-shadow: 0 24px 70px rgba(36,23,47,.24); }
.location-map-note { margin: 4px 0 12px; color: var(--ink-soft); font-size: 13px; line-height: 1.45; }
.location-detail-map { min-height: 320px; border-radius: 14px; overflow: hidden; background: #FAF7FA; }
.location-map-content .contact-form-status { margin-top: 8px; }
select:focus, input:focus, textarea:focus, button:focus-visible { outline-color: var(--rose-deep); }
select:focus, input:focus, textarea:focus { border-color: var(--rose-deep); box-shadow: 0 0 0 3px rgba(237,16,110,.12); }
@media (max-width: 720px) {
  .currency-switcher { margin-left: auto; margin-right: 2px; }
  .currency-switcher select { min-height: 30px; padding-inline: 7px 18px; font-size: 10px; }
  .criteria-trigger { flex-wrap: wrap; }
  .criteria-trigger > small { white-space: normal; }
  .location-actions { justify-content: flex-start; }
  .location-map-modal { padding: 10px; place-items: start center; padding-top: max(10px, env(safe-area-inset-top)); }
  .location-map-content { width: 100%; max-height: calc(100dvh - 20px); overflow: auto; padding: 20px 16px 16px; border-radius: 18px; }
  .location-detail-map { min-height: min(55vh, 340px); }
  .team-contact-modal { padding: 10px; place-items: start center; padding-top: max(10px, env(safe-area-inset-top)); }
  .team-contact-modal .contact-modal-content { max-height: calc(100dvh - 20px); padding: 20px 16px 16px; border-radius: 18px; }
  .team-contact-modal .contact-modal-content form { gap: 9px; margin-top: 12px; }
  .team-contact-modal .contact-modal-content .field { grid-template-rows: auto auto; }
  .sort-select-menu { inset-inline: 0; }
}


/* ===== styles-v5-8.css ===== */
/* Kocoonya LOT 9 V5.8 — lightweight public/owner refinements.
   This file is loaded after the audited V5.7 layers so the baseline remains
   easy to compare and roll back. */

/* Accessible custom listboxes replace browser-native blue popup styling while
   retaining the real select as the form value and event source. */
.k-select { position: relative; display: block; min-width: 0; }
.k-select-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.k-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper, #fff);
  color: var(--ink);
  font: inherit;
  font-size: inherit;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
}
.k-select-trigger::after { content: "⌄"; flex: 0 0 auto; color: var(--plum); font-size: 15px; line-height: 1; }
.k-select-trigger:focus-visible,
.k-select-trigger[aria-expanded="true"] {
  border-color: var(--rose-deep);
  outline: 2px solid rgba(237, 16, 110, .24);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(237, 16, 110, .12);
}
.k-select-menu {
  position: absolute;
  z-index: 80;
  inset: calc(100% + 6px) 0 auto;
  display: grid;
  gap: 3px;
  max-height: min(300px, 52vh);
  overflow: auto;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper, #fff);
  box-shadow: 0 16px 36px rgba(36, 23, 47, .18);
}
.k-select-menu[hidden] { display: none; }
.k-select-option {
  min-height: 38px;
  padding: 8px 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  text-align: left;
  cursor: pointer;
}
.k-select-option:hover,
.k-select-option:focus-visible,
.k-select-option[aria-selected="true"] { background: #FCF3F7; color: var(--plum-deep); outline: none; }
.currency-switcher .k-select-trigger { min-height: 32px; padding-inline: 9px 8px; font-size: 11px; }
.currency-switcher .k-select-menu { min-width: 92px; }

/* Keep price suffixes intact, including nested currency symbols. */
.price-input { min-width: 0; }
.price-input > input { padding-right: 104px; }
.price-input > span {
  position: absolute;
  top: 50%;
  right: 12px;
  min-width: 76px;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.15;
  text-align: right;
  white-space: nowrap;
  pointer-events: none;
}
.price-input > span [data-budget-currency-symbol] { position: static; min-width: 0; transform: none; }
.results-price-input { min-width: 0; }
.results-price-input input { padding-right: 48px; }
.results-price-input > span { min-width: 32px; white-space: nowrap; text-align: right; }

/* Marker badges and popups grow for CHF and keep title/price independently
   readable rather than clipping a longer currency string. */
.map-pin {
  width: max-content;
  min-width: 66px;
  max-width: min(42vw, 118px);
  height: auto;
  min-height: 31px;
  padding: 6px 10px;
  box-sizing: border-box;
  line-height: 1.1;
}
.map-pin span { display: block; max-width: 100%; white-space: nowrap; }
.map-price-marker { width: max-content; min-width: 68px; max-width: min(42vw, 132px); min-height: 36px; height: auto; padding: 7px 12px; box-sizing: border-box; line-height: 1.1; }
.map-preview-card { width: min(300px, calc(100vw - 28px)); max-width: calc(100vw - 28px); }
.map-preview-heading { min-width: 0; }
.map-preview-heading strong, .map-preview-heading b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* The owner introduction and form share one centred column on wide screens;
   variable-height equipment accordions remain in normal document flow. */
.host-layout { display: block; width: min(100%, 860px); margin-inline: auto; }
.host-intro { max-width: 800px; margin: 0 auto 28px; text-align: center; }
.host-intro h2, .host-intro > p:not(.eyebrow) { max-width: none; margin-inline: auto; }
.host-card { width: min(100%, 800px); margin-inline: auto; }
.seller-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.seller-equipment-field { grid-column: 1 / -1; }
.seller-equipment-summary { display: block; margin-bottom: 18px; }
.seller-equipment-categories { gap: 16px; }
.seller-equipment-options { gap: 6px 20px; }
.seller-equipment-option { display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: center; gap: 9px; min-width: 0; }
.seller-equipment-option > span:last-child { min-width: 0; }
.review-amenities-picker .seller-equipment-summary { margin-bottom: 18px; }
.review-amenities-picker .seller-equipment-options { gap: 6px 20px; }
.time-select-group { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.time-select-group .k-select-trigger { min-height: 44px; }
@media (max-width: 720px) {
  .host-layout { width: min(100%, 560px); }
  .host-intro { margin-bottom: 22px; }
  .seller-grid { grid-template-columns: 1fr; }
  .seller-equipment-field { grid-column: auto; }
  .seller-equipment-options, .review-amenities-picker .seller-equipment-options { grid-template-columns: 1fr; gap: 5px; }
  .seller-equipment-option { min-height: 42px; }
  .price-input > input { padding-right: 98px; }
  .price-input > span { right: 10px; min-width: 72px; }
  .map-price-marker { max-width: min(54vw, 132px); }
}

/* Explicit route transition reset prevents a stale help panel/toggle state
   from remaining hidden after Help → Ajouter or another SPA navigation. */
.help-widget { z-index: 40; }
.help-widget[hidden], .help-toggle[hidden] { display: none !important; }

/* Preserve native focus semantics for controls not enhanced as listboxes. */
input[type="checkbox"], input[type="radio"] { accent-color: var(--rose-deep); }



/* ===== styles-v5-9.css ===== */
/* Kocoonya LOT 9 V5.9 — targeted, additive refinements. */

/* A wider owner workspace lets the two-column form breathe without changing
   the compact public shell. */
.host-layout { width: min(100%, 1180px); }
.host-intro { max-width: 1080px; }
.host-card { width: min(100%, 1160px); }
.seller-equipment-field {
  display: block;
  min-width: 0;
  grid-template-rows: none;
  height: auto;
  align-self: start;
}
.seller-equipment-field > span { display: block; margin-bottom: 18px; }
.seller-equipment-field .seller-equipment-picker,
.seller-equipment-field .seller-equipment-categories,
.seller-equipment-field .seller-equipment-category,
.seller-equipment-field .seller-equipment-category[open],
.seller-equipment-field .seller-equipment-category[open] .seller-equipment-options {
  height: auto;
  min-height: 0;
  overflow: visible;
}
.seller-equipment-field .seller-equipment-summary { margin: 0 0 18px; }
.seller-equipment-field .seller-equipment-categories { margin-top: 0; }

/* The public help bubble stays inside safe areas and above the mobile mode bar. */
.help-widget { max-width: calc(100vw - 32px); }
@media (max-width: 720px) {
  .host-layout { width: min(100%, calc(100vw - 32px)); }
  .host-card { width: 100%; }
  .help-widget {
    right: max(16px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
    max-width: calc(100vw - 32px);
  }
  body.has-results .help-widget { bottom: calc(max(18px, env(safe-area-inset-bottom)) + 68px); }
  body.has-results.has-map-results .help-widget { bottom: calc(max(18px, env(safe-area-inset-bottom)) + 118px); }
}
.team-contact-modal .contact-modal-close {
  position: sticky;
  top: -8px;
  z-index: 3;
  float: right;
  margin: -8px -8px 0 12px;
}

/* Detail map is interactive after the explicit user action; the public point
   is a broad zone and never an address marker. */
.location-detail-map { touch-action: none; overscroll-behavior: contain; }

/* Static help route */
.owner-help-section { padding: 40px 0 80px; }
.owner-help-layout { width: min(100%, 900px); margin-inline: auto; }
.owner-help-intro { text-align: center; margin-bottom: 24px; }
.owner-help-faq { display: grid; gap: 10px; }
.owner-help-faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--paper, #fff); overflow: hidden; }
.owner-help-faq summary { padding: 16px 18px; color: var(--plum-deep); font-weight: 800; cursor: pointer; list-style: none; }
.owner-help-faq summary::-webkit-details-marker { display: none; }
.owner-help-faq summary::after { content: "＋"; float: right; color: var(--plum); }
.owner-help-faq details[open] summary::after { content: "−"; }
.owner-help-faq details > p { margin: 0; padding: 0 18px 17px; color: var(--ink-soft); line-height: 1.55; }
.owner-help-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.discovery-carousel-controls[hidden] { display: none !important; }

/* Booking values are deliberately larger, while the source amount is still
   converted/formatted only at display time. */
.booking-price-summary { gap: 8px; margin-top: 2px; }
.booking-nightly-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px; color: var(--plum); white-space: nowrap; }
.booking-nightly-amount { font-size: 27px; font-weight: 900; line-height: 1.05; }
.booking-nightly-unit { font-size: 15px; font-weight: 800; }
.booking-price-total { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px; color: var(--ink-soft); font-size: 14px; }
.booking-price-total strong { color: var(--plum); font-size: 19px; font-weight: 900; }
.booking-price-summary small { font-size: .58em; }
@media (max-width: 720px) {
  .booking-nightly-amount { font-size: 24px; }
  .booking-nightly-unit { font-size: 14px; }
  .booking-price-total { font-size: 13px; }
  .booking-price-total strong { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .owner-help-faq summary::after { transition: none; }
}


/* ===== styles-v5-10.css ===== */
/* Kocoonya LOT 9 V5.10 — transversal responsive and cache-safe layer.
   The V5.7–V5.9 sheets remain the audited base; this file contains only the
   final breakpoint corrections and is loaded last. */

html, body { max-width: 100%; }
body { overflow-x: clip; }
.shell,
.host-layout,
.account-layout,
.owner-help-layout,
.search-card,
.host-card,
.account-card,
.results-shell,
.favorites-shell,
.detail-page { min-width: 0; }
.host-layout > *, .account-layout > *, .results-layout > *, .favorites-grid > *, .seller-grid > * { min-width: 0; }
img, svg, video, iframe { max-width: 100%; }

/* Tablet: use the available width deliberately instead of compressing a
   presentation column beside the login form. */
@media (max-width: 900px) and (min-width: 721px) {
  .account-layout { grid-template-columns: 1fr; gap: 26px; }
  .account-intro { padding: 0; text-align: center; }
  .account-intro > p:not(.eyebrow), .account-intro h2 { margin-inline: auto; }
  .account-card { width: min(100%, 520px); margin-inline: auto; }
  .favorites-grid:has(> .listing-card:only-child) { display: flex; justify-content: center; }
  .favorites-grid:has(> .listing-card:only-child) > .listing-card { width: min(100%, 560px); }
  .host-layout { width: min(100%, 1120px); }
  .host-card { width: 100%; }
  .help-widget { right: 18px; bottom: 24px; }
}

/* Tablet search: three balanced rows, no orphaned action block. */
@media (max-width: 900px) and (min-width: 721px) {
  .search-zone > .shell { width: calc(100% - 32px); }
  .search-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .search-fields .field-location { grid-column: span 2; }
  .search-fields .search-submit-stack { grid-column: 1 / -1; width: min(100%, 250px); justify-self: center; }
  .quick-dates { flex-wrap: wrap; }
}

/* Mobile: no nowrap title can force the host layout wider than the viewport. */
@media (max-width: 720px) {
  .shell { width: calc(100% - 32px); }
  .host-layout { width: calc(100vw - 32px); }
  .host-intro h2, .host-intro > p:not(.eyebrow) { white-space: normal; overflow-wrap: anywhere; }
  .host-intro h2 { font-size: clamp(1.5rem, 7.6vw, 2.15rem); }
  .seller-grid { min-width: 0; }
  .search-zone > .shell { width: calc(100vw - 32px); }
  .account-layout { min-width: 0; }
  .account-title-mobile, .account-copy-mobile { white-space: normal; }
  .help-widget,
  body.has-detail .help-widget,
  body.has-results .help-widget,
  body.has-owner-help .help-widget { right: max(16px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); }
  body.has-results .help-widget { bottom: calc(max(18px, env(safe-area-inset-bottom)) + 68px); }
  body.has-results.has-map-results .help-widget { bottom: calc(max(18px, env(safe-area-inset-bottom)) + 118px); }
  .owner-help-section { padding-bottom: 130px; }
}

/* The contact/help card has extra breathing room so the fixed help control
   cannot mask the last FAQ action on short screens. */
.owner-help-demo-note { margin: 10px auto 0; color: var(--muted); font-size: 11px; text-align: center; }
.owner-help-static .owner-help-demo-note { color: #6c5c68; font-size: 12px; }
.owner-help-faq details { overflow: visible; }

/* Converted prices explain the source amount on a separate, readable line. */
.price-origin-note { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; font-weight: 650; line-height: 1.25; white-space: normal; }
.booking-price-origin { display: block; margin-top: 0; color: var(--muted); font-size: 11px; line-height: 1.35; }
.booking-nightly-amount .price-origin-note { display: none; }

@media (max-width: 430px) {
  .booking-nightly-row, .booking-price-total { gap: 5px; }
  .booking-nightly-amount { font-size: 23px; }
  .booking-price-total strong { font-size: 17px; }
}


/* ===== styles-v5-11.css ===== */
/* Kocoonya LOT 9 V5.11 — tablet header protection.
   The account and favourites controls keep a real circular hit area while
   text controls yield width first. This layer is loaded after V5.10. */

@media (min-width: 721px) and (max-width: 1024px) {
  .header-inner { gap: 12px; }
  .brand { min-width: 0; flex: 1 1 auto; }
  .brand-logo { width: clamp(140px, 20vw, 180px); max-width: 100%; }

  .currency-switcher { flex: 0 0 auto; min-width: 0; margin-left: 0; }
  .currency-switcher .k-select { flex: 0 0 auto; }
  .currency-switcher .k-select-trigger {
    min-width: 58px;
    padding-inline: 8px;
    white-space: nowrap;
  }

  .header-host {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 180px;
    margin-left: 0;
    padding-inline: 10px;
    font-size: 12px;
  }
  .header-host-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .header-host-label-full, .header-host-label-short { white-space: nowrap; }
  .header-host-label-short { display: none !important; }

  /* Never allow flexbox to turn a circular control into an oval. */
  .account-button,
  .favorites-button {
    flex: 0 0 44px;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
  }
  .account-button svg { width: 22px; height: 22px; }
  .favorites-button svg { width: 22px; height: 22px; }
}

/* At the narrowest tablet widths, shorten the secondary owner label instead
   of sacrificing the icon proportions or the touch targets. */
@media (min-width: 721px) and (max-width: 820px) {
  .header-host { max-width: 104px; }
  .header-host-label-full { display: none !important; }
  .header-host-label-short { display: inline !important; }
  .header-host small { display: none; }
}

/* Keep the already validated compact mobile header non-shrinking as well. */
@media (max-width: 720px) {
  .account-button { flex: 0 0 40px; min-width: 40px; }
  .favorites-button { flex: 0 0 42px; min-width: 42px; }
}

/* Desktop only: the home criteria drawer is part of the search card. It must
   add height to that card instead of floating over the discovery section. */
@media (min-width: 1025px) {
  .search-card .criteria-picker { position: relative; }
  .search-card .criteria-panel {
    position: static;
    inset: auto;
    width: 100%;
    max-width: none;
    margin-top: 16px;
    box-shadow: none;
  }
  .search-card .criteria-panel-grid {
    max-height: none;
    overflow: visible;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* V5.11 corrective 08 — smartphone detail order, criteria drawer and safe
   bottom controls. This block is intentionally capped at 720px so the
   validated tablet (721–1024px) and desktop layouts remain unchanged. */
@media (max-width: 720px) {
  /* The existing nodes are moved by applyMobileDetailFlow(); this makes the
     DOM order and the visual order identical without a duplicate gallery. */
  .detail-layout.detail-mobile-flow { display: block; }
  .detail-layout.detail-mobile-flow .detail-main-column {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }
  .detail-mobile-identification {
    order: 0;
    margin-bottom: 14px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--paper);
    box-shadow: 0 10px 22px rgba(48, 26, 49, .05);
  }
  .detail-mobile-identification .detail-heading { margin: 0; }
  .detail-mobile-identification .detail-distance { margin-bottom: 0; }
  .detail-layout.detail-mobile-flow > .detail-main-column > .detail-gallery-wrap,
  .detail-layout.detail-mobile-flow > .detail-main-column > .detail-highlight-amenities,
  .detail-layout.detail-mobile-flow > .detail-main-column > .detail-section,
  .detail-layout.detail-mobile-flow > .detail-main-column > .booking-panel,
  .detail-layout.detail-mobile-flow > .detail-main-column > .contact-card,
  .detail-layout.detail-mobile-flow > .detail-main-column > .reviews-card {
    width: 100%;
    min-width: 0;
  }
  .detail-layout.detail-mobile-flow > .detail-main-column > .detail-gallery-wrap { margin-bottom: 2px; }
  .detail-layout.detail-mobile-flow > .detail-main-column > .detail-gallery-wrap .gallery-stack,
  .detail-layout.detail-mobile-flow > .detail-main-column > .detail-gallery-wrap .gallery-detail { width: 100%; }
  .detail-layout.detail-mobile-flow > .detail-main-column > .detail-highlight-amenities {
    margin: 0 0 14px;
    padding: 13px 0 0;
    border-top: 1px solid var(--line);
  }
  .detail-layout.detail-mobile-flow > .detail-main-column > .booking-panel { margin: 4px 0 0; }
  .detail-layout.detail-mobile-flow > .detail-main-column > .contact-card,
  .detail-layout.detail-mobile-flow > .detail-main-column > .reviews-card { margin-top: 14px; }

  /* Keep the drawer header, scrollable options and action bar as three
     separate rows. The options can reach their final checkbox above the bar,
     even on short phones and when the keyboard changes the viewport. */
  .criteria-panel {
    height: min(82dvh, 680px);
    max-height: min(82dvh, 680px);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .criteria-panel-head { min-height: 0; }
  .criteria-panel-grid {
    min-height: 0;
    max-height: none;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    padding: 0 4px 28px 0;
  }
  .criteria-panel-actions {
    position: static;
    margin-inline: -18px;
    padding: 14px 18px max(8px, env(safe-area-inset-bottom));
    background: var(--paper, #fff);
  }
  body:has(.criteria-picker.is-open) .help-widget {
    visibility: hidden;
    pointer-events: none;
  }

  /* The fixed results switcher and help control each get their own band; the
     extra section padding keeps the last card and footer reachable. */
  body.has-results .results-section {
    padding-bottom: calc(124px + env(safe-area-inset-bottom));
  }
  body.has-results .help-widget {
    bottom: calc(78px + env(safe-area-inset-bottom));
  }
  body.has-results.has-map-results .help-widget {
    bottom: calc(132px + env(safe-area-inset-bottom));
  }
  body.has-detail .help-widget {
    bottom: calc(16px + env(safe-area-inset-bottom));
  }
  body.help-critical-visible .help-widget {
    visibility: hidden;
    pointer-events: none;
  }

  /* Comfortable editing area, limited to the owner review on phones. */
  #review-description {
    min-height: 132px;
    width: 100%;
    resize: vertical;
  }
  .review-heading { scroll-margin-top: calc(76px + env(safe-area-inset-top)); }
}

/* V5.11 complete tablet layout: preserve readable single-view results and
   give the owner form/criteria panel room to grow instead of compressing it. */
@media (min-width: 721px) and (max-width: 1024px) {
  .search-fields { align-items: end; }
  .results-search-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .results-search-destination { grid-column: span 2; }
  .results-criteria { grid-column: span 1; }
  .results-search-submit-stack { grid-column: 1 / -1; width: min(100%, 250px); justify-self: center; }
  .results-layout.is-map-mode { display: block; }
  .results-layout.is-map-mode .results-list,
  .results-layout.is-map-mode .map-panel { width: 100%; }
  .results-layout.is-map-mode .results-list { display: none; }
  .results-layout.is-map-mode .map-panel { min-height: 560px; }
  .results-controls .view-switcher { min-width: 260px; }
  .listing-card .listing-head h3 { font-size: 19px; }
  .listing-card .listing-copy { min-width: 0; }
  .detail-layout, .detail-top, .detail-body { grid-template-columns: 1fr; }
  .detail-aside { position: static; order: -1; }
  .detail-top { gap: 18px; }
  .detail-intro h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
  .detail-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .seller-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
  .seller-equipment-field { grid-column: 1 / -1; display: block; min-height: 0; grid-template-rows: none; }
  .seller-equipment-picker { min-height: 0; }
  .seller-equipment-categories { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .seller-equipment-category { min-width: 0; }
  .seller-equipment-options { grid-template-columns: 1fr; }
  .criteria-panel { max-width: min(720px, calc(100vw - 32px)); }
  .criteria-panel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .criteria-options { grid-template-columns: 1fr; }
}

/* Equipment controls are content-sized: opened categories must expand the
   white owner card and push the submit action/footer down naturally. */
.seller-equipment-field { min-height: 0; grid-template-rows: none; }
.seller-equipment-field > span { display: block; margin-bottom: 8px; }
.seller-equipment-picker { min-width: 0; }
.seller-equipment-categories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.review-amenities-picker .seller-equipment-categories { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.seller-equipment-summary { grid-column: 1 / -1; margin-bottom: 10px; color: var(--plum-deep); font-size: 12px; font-weight: 800; }
.seller-equipment-category { min-width: 0; align-self: start; }
.seller-equipment-category summary { cursor: pointer; }
.seller-equipment-options { display: grid; gap: 6px; margin-top: 8px; }
.seller-equipment-option { min-width: 0; overflow-wrap: anywhere; }
.seller-grid > .seller-equipment-field + * { clear: both; }

/* UX-03: group desktop header actions and preserve the validated mobile layout. */
@media (min-width: 1025px) {
  .site-header .currency-switcher { margin-left: auto; }
  .site-header .header-host { margin-left: 0; }
}

/* UX-03: readable owner form labels and controls without changing public typography. */
.host-card .field > span,
.host-card .review-field > label,
.host-card .photo-picker { font-size: 14px; }
.host-card .field input,
.host-card .field select,
.host-card .review-field input,
.host-card .review-field select,
.host-card .review-field textarea { font-size: 15px; }
.host-card .field small,
.host-card .review-field small,
.host-card .availability-note p { font-size: 13px; }
.seller-equipment-summary { font-size: 13px; }
.seller-equipment-category summary { font-size: 15px; }
.seller-equipment-option { font-size: 14px; }
.review-heading { scroll-margin-top: 96px; }
.review-step-meta .eyebrow { font-size: 13px; }

/* UX-03: categories get readable widths; options use a calmer internal grid. */
.seller-equipment-categories,
.review-amenities-picker .seller-equipment-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
.seller-equipment-options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 18px; }
.seller-equipment-field .seller-equipment-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.owner-address-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.owner-address-grid > :first-child,
.owner-address-grid > :nth-child(2) { grid-column: 1 / -1; }

/* UX-03: the results criteria drawer participates in normal document flow. */
@media (min-width: 721px) {
  .results-search-strip .criteria-picker { grid-column: span 2; }
  .results-search-strip .criteria-picker.is-open { grid-column: 1 / -1; }
  .results-search-strip .criteria-trigger { align-items: flex-start; flex-direction: column; justify-content: center; gap: 3px; }
  .results-search-strip .criteria-trigger > small { white-space: normal; overflow: visible; text-overflow: clip; font-size: 12px; }
  .results-search-strip .criteria-panel { position: static; inset: auto; width: 100%; max-width: none; margin-top: 12px; box-shadow: none; }
  .results-search-strip .criteria-panel-grid { max-height: none; overflow: visible; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .results-search-strip .criteria-panel-actions { justify-content: flex-end; }
}

/* UX-04: target the rendered amount spans themselves, after all legacy sheets. */
.detail-page .booking-panel .booking-price-summary { margin-top: 10px; gap: 11px; }
.detail-page .booking-panel .booking-nightly-amount,
.detail-page .booking-panel .booking-nightly-amount .booking-price-value {
  color: var(--plum);
  font-size: 28px !important;
  font-weight: 900;
  line-height: 1.05;
}
.detail-page .booking-panel .booking-nightly-unit { font-size: 16px; font-weight: 800; }
.detail-page .booking-panel .booking-price-total { font-size: 16px; }
.detail-page .booking-panel .booking-price-total strong,
.detail-page .booking-panel .booking-price-total .booking-total-value {
  color: var(--plum);
  font-size: 23px !important;
  font-weight: 900;
  line-height: 1.1;
}

@media (max-width: 1024px) {
  .seller-equipment-categories,
  .review-amenities-picker .seller-equipment-categories { grid-template-columns: 1fr; }
  .seller-equipment-options,
  .seller-equipment-field .seller-equipment-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .host-card .field > span,
  .host-card .review-field > label,
  .host-card .photo-picker { font-size: 13px; }
  .host-card .field input,
  .host-card .field select,
  .host-card .review-field input,
  .host-card .review-field select,
  .host-card .review-field textarea { font-size: 15px; }
  .seller-equipment-option { font-size: 14px; }
  .owner-address-grid { grid-template-columns: 1fr; }
  .owner-address-grid > * { grid-column: 1 / -1; }
  .detail-page .booking-panel .booking-nightly-amount,
  .detail-page .booking-panel .booking-nightly-amount .booking-price-value { font-size: 26px !important; }
  .booking-nightly-unit { font-size: 15px; }
  .booking-price-total { font-size: 14px; }
  .detail-page .booking-panel .booking-price-total strong,
  .detail-page .booking-panel .booking-price-total .booking-total-value { font-size: 21px !important; }
}

/* UX-04: titles wrap at word boundaries; no artificial ellipsis or mid-word break. */
.detail-heading .detail-title {
  max-width: none;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  display: block;
}

@media (max-width: 1280px) {
  .detail-heading { display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .detail-heading-actions { justify-self: start; }
  .detail-heading .detail-title {
    max-width: 100%;
  }
}

/* Criteria uses the brand focus colour for every native control state. */
.criteria-option input:focus-visible,
.results-criteria-panel select:focus-visible,
.search-card input:focus-visible,
.search-card select:focus-visible { accent-color: var(--plum); outline-color: var(--rose-deep); }
.criteria-category summary:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 3px; }

@media (max-width: 720px) {
  .seller-equipment-categories { grid-template-columns: 1fr; }
  .review-amenities-picker .seller-equipment-categories { grid-template-columns: 1fr; }
  .detail-title { max-width: calc(100vw - 120px); }
}

/* V5.11 corrective 06 — tablet-only final pass.  Desktop (1025px and up)
   and the validated smartphone rules stay untouched. */
@media (min-width: 721px) and (max-width: 1024px) {
  /* Keep every header action intact: the owner CTA may yield logo space, but
     its full label and the marketing badge must never be ellipsized. */
  .header-inner { gap: 10px; }
  .brand { flex: 0 1 180px; min-width: 132px; }
  .brand-logo { width: clamp(132px, 17vw, 180px); }
  .header-host {
    flex: 0 0 auto;
    max-width: none;
    min-width: max-content;
    padding-inline: 8px;
    font-size: 11px;
    gap: 7px;
  }
  .header-host-label {
    min-width: max-content;
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
  }
  .header-host small { display: inline-block; flex: 0 0 auto; white-space: nowrap; }
  .account-button,
  .favorites-button { flex: 0 0 44px; min-width: 44px; width: 44px; height: 44px; min-height: 44px; }

  /* The home criteria drawer participates in normal flow on tablet, exactly
     like the validated desktop implementation. */
  .search-card .criteria-picker { position: relative; }
  .search-card .criteria-panel {
    position: static;
    inset: auto;
    width: 100%;
    max-width: none;
    margin-top: 16px;
    box-shadow: none;
  }
  .search-card .criteria-panel-grid {
    max-height: none;
    overflow: visible;
    gap: 16px;
  }
  .search-card .criteria-option {
    overflow-wrap: normal;
    word-break: normal;
    white-space: normal;
  }
  .search-card .criteria-panel-actions { justify-content: flex-end; }

  /* The explanatory currency note belongs to the field and gets the full
     form width instead of competing with the select's grid column. */
  .seller-grid > .field:has(#seller-currency-help) {
    grid-template-rows: auto auto auto;
  }
  .seller-grid > .field:has(#seller-currency-help) small {
    grid-column: 1 / -1;
    white-space: nowrap;
    font-size: 13px;
    line-height: 1.3;
  }
  .review-grid > .review-field:has(#review-currency) {
    grid-column: 1 / -1;
  }
  .review-grid > .review-field:has(#review-currency) small {
    display: block;
    white-space: nowrap;
    font-size: 13px;
    line-height: 1.3;
  }
}

/* At narrower tablet widths, one category per row is more readable than a
   compressed two-column category grid.  Options still use two balanced
   columns inside the wider category. */
@media (min-width: 721px) and (max-width: 899px) {
  .search-card .criteria-panel-grid { grid-template-columns: 1fr; }
  .search-card .criteria-category > .criteria-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* From 900px upward two category cards fit comfortably; their options remain
   one column so labels never become narrow or split awkwardly. */
@media (min-width: 900px) and (max-width: 1024px) {
  .search-card .criteria-panel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-card .criteria-category > .criteria-options { grid-template-columns: 1fr; }
}

/* The help bubble must not cover a checkbox or the action row while the
   in-flow tablet drawer is open. It returns as soon as the drawer closes. */
@media (min-width: 721px) and (max-width: 1024px) {
  body:has(.search-card .criteria-picker.is-open) .help-widget {
    visibility: hidden;
    pointer-events: none;
  }
}

/* V5.11 corrective 07 — detail pages and tablet header alignment. */
@media (min-width: 721px) and (max-width: 1024px) {
  /* Keep the logo left while the complete action group hugs the right edge. */
  .site-header .currency-switcher { margin-left: auto; }
  .site-header .header-host { margin-left: 0; }

  /* The helper moves the existing nodes into this order only on tablet. */
  .detail-layout.detail-tablet-flow { display: block; }
  .detail-layout.detail-tablet-flow .detail-main-column {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }
  .detail-tablet-identification {
    margin-bottom: 18px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--paper);
    box-shadow: 0 12px 25px rgba(48, 26, 49, .05);
  }
  .detail-tablet-identification .detail-heading { margin: 0; }
  .detail-tablet-identification .detail-distance { margin-bottom: 0; }
  .detail-layout.detail-tablet-flow > .detail-main-column > .detail-gallery-wrap {
    width: 100%;
    margin-bottom: 2px;
  }
  .detail-layout.detail-tablet-flow > .detail-main-column > .detail-gallery-wrap .gallery-stack,
  .detail-layout.detail-tablet-flow > .detail-main-column > .detail-gallery-wrap .gallery-detail {
    width: 100%;
  }
  .detail-layout.detail-tablet-flow > .detail-main-column > .detail-highlight-amenities {
    margin: 0 0 16px;
    padding: 15px 0 0;
    border-top: 1px solid var(--line);
  }
  .detail-layout.detail-tablet-flow > .detail-main-column > .detail-section {
    width: 100%;
  }
  .detail-layout.detail-tablet-flow > .detail-main-column > .booking-panel {
    width: 100%;
    margin: 4px 0 0;
  }
  .detail-layout.detail-tablet-flow > .detail-main-column > .contact-card,
  .detail-layout.detail-tablet-flow > .detail-main-column > .reviews-card {
    width: 100%;
    margin-top: 14px;
  }

  /* Move the floating help control away from the lower booking/gallery action
     area while keeping it fixed and accessible during scrolling. */
  body.has-detail .help-widget {
    right: 24px;
    bottom: 88px;
  }
}

/* V5.11 corrective 10 — final cascade for the two independent mobile help
   states. Closed map mode matches closed list mode; open panels share the
   existing map-mode breathing room above the fixed view switcher. */
@media (max-width: 720px) {
  body.has-results.has-map-results .help-widget {
    bottom: calc(78px + env(safe-area-inset-bottom));
  }
  body.has-results:has(.help-panel:not([hidden])) .help-widget {
    bottom: calc(132px + env(safe-area-inset-bottom));
  }
}

/* V17-01 : calendar unique et copies compactes pour les demandes de disponibilité. */
.booking-availability-pending { white-space: nowrap; }
.inquiry-dates .inquiry-date-button {
  width:100%; min-height:44px; box-sizing:border-box; text-align:left;
  display:flex; align-items:center; justify-content:flex-start; padding:10px 12px;
  background:#fffdfb; color:var(--ink); border:1px solid var(--line); border-radius:12px;
}
.inquiry-dates .inquiry-date-button strong { font:inherit; font-weight:650; }
.inquiry-dates .inquiry-date-button:focus-visible { outline:2px solid var(--rose-deep); outline-offset:2px; }
#contact-modal-subtitle, .inquiry-privacy { white-space: nowrap; }
.inquiry-privacy { font-size: clamp(9px, 2.55vw, 12px); }
@media(max-width:390px) {
 #contact-modal-subtitle { font-size: clamp(10px, 3vw, 12px); }
 .booking-availability-pending { font-size:clamp(10px,2.8vw,12px); }
}

/* V5.11 - confirmation explicite apres l'envoi d'une demande (formulaire TEST et production). */
#contact-modal.is-sent .contact-modal-content > .eyebrow,
#contact-modal.is-sent #contact-modal-subtitle { display: none; }
#contact-modal.is-sent #contact-modal-title { margin: 20px 0 0; text-align: center; font-size: clamp(21px, 5vw, 26px); }
#contact-modal.is-sent #contact-modal-title:focus { outline: none; }
.inquiry-confirmation { display: grid; justify-items: center; gap: 16px; text-align: center; margin-top: 18px; }
.inquiry-confirmation-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--green); color: white; font-size: 30px; line-height: 1; font-weight: 800; grid-row: 1; }
#contact-modal.is-sent .inquiry-confirmation-icon { margin-top: -4px; }
.inquiry-confirmation p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.55; }
.inquiry-confirmation .inquiry-confirmation-dates { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: #faf7f9; font-weight: 750; color: var(--ink); }
.inquiry-confirmation .inquiry-confirmation-note { font-size: 12px; color: var(--muted); }
.inquiry-confirmation .button { width: 100%; }

/* TEST 57 — Respecter les paragraphes du descriptif, lisible sur tous les écrans. */
.detail-description {white-space:pre-line;line-height:1.78;max-width:75ch;overflow-wrap:anywhere;}
@media(max-width:640px){.detail-description{line-height:1.7;}}

/* TEST 62 — Facebook officiel : zéro SDK, rendu uniquement avec URL vérifiée. */
.kocoonya-social-home[hidden],.kocoonya-footer-facebook[hidden]{display:none!important}
.kocoonya-social-home{margin-block:clamp(16px,3vw,40px);padding-inline:20px}
.kocoonya-social-inner{display:flex;align-items:center;gap:clamp(12px,2.5vw,25px);padding:clamp(20px,4vw,35px);background:linear-gradient(125deg,#fff9fc 0%,#f9ecf4 100%);border:1px solid #ecd4df;border-radius:23px;box-shadow:0 9px 25px #4a133018}
.kocoonya-social-symbol{flex:none;display:grid;place-items:center;width:53px;height:53px;border-radius:16px;background:#79004d;color:white}
.kocoonya-social-symbol svg{width:26px;height:26px}
.kocoonya-social-copy{flex:1;min-width:0}.kocoonya-social-copy .kocoonya-social-kicker{margin:0 0 5px;font-size:11px;color:#9d3a68;font-weight:850;letter-spacing:.11em}
.kocoonya-social-copy h2{font-size:clamp(19px,2.5vw,26px);line-height:1.22;color:#34182e;margin:0 0 7px}
.kocoonya-social-copy>p:last-child{font-size:14px;line-height:1.55;color:#6a5262;margin:0}
.kocoonya-social-cta{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:#79004d;border:1px solid #79004d;color:white!important;border-radius:999px;padding:13px 17px;text-decoration:none!important;font-size:13px;font-weight:800;white-space:nowrap;min-height:45px}
.kocoonya-social-cta:hover{background:#a42e70;border-color:#a42e70}
.kocoonya-social-cta:focus-visible,.kocoonya-footer-facebook:focus-visible{outline:3px solid #cb70a8;outline-offset:3px}
.kocoonya-footer-facebook{display:inline-flex;align-items:center;gap:7px;font-size:12px;opacity:.9;color:inherit!important;text-decoration:none}
.kocoonya-footer-facebook svg{width:17px;height:17px}
@media(max-width:690px){.kocoonya-social-inner{flex-direction:column;align-items:flex-start}.kocoonya-social-symbol{width:44px;height:44px;border-radius:12px}.kocoonya-social-cta{width:100%}}


/* ===== styles-test79.css ===== */
/* KOCOONYA TEST 79 — fiche Love Room responsive. Référence maquette validée.
   Les règles sont ciblées pour ne pas modifier l'accueil, la recherche ni l'admin. */
:root{--k79-wine:#79004c;--k79-blush:#fff0f6}
.detail-page{max-width:1380px;margin-inline:auto}
.detail-page .detail-heading{min-width:0;gap:14px}
.detail-page .detail-heading > div:first-child{min-width:0;flex:1}
.detail-page .detail-heading .detail-title{max-width:100%;font-family:"Figtree", "Segoe UI", system-ui, sans-serif;font-weight:700;font-size:clamp(1.75rem,2.55vw,2.75rem);line-height:1.12;letter-spacing:-.035em;white-space:normal;overflow-wrap:break-word;hyphens:auto;text-wrap:balance;margin:.42em 0 .5em}
.detail-page .detail-location{display:flex;align-items:flex-start;gap:7px;line-height:1.45;font-size:14px;white-space:normal;overflow-wrap:anywhere}
.detail-page .detail-location:before{content:'⌖';font-size:22px;line-height:.8;color:var(--k79-wine);flex:none}
.detail-page .detail-intro{padding:clamp(16px,1.7vw,24px);border-color:#eedce6;box-shadow:0 12px 30px #370b2410}
.detail-page .detail-price-label{display:block;margin:14px 0 4px;padding:18px 20px;border:1px solid #efd3e0;border-radius:15px;background:linear-gradient(120deg,#ffedf4,#fff7fa 85%);color:#8b365d;font-size:14px;line-height:1.55;font-weight:700}
.detail-page .detail-price-label strong{display:inline-block;color:var(--k79-wine);font-size:clamp(27px,3vw,37px);line-height:1;letter-spacing:-.045em;margin:0 4px 0 5px}
.detail-page .booking-panel{border-color:#f0d8e5;margin-top:12px;padding:clamp(13px,1.5vw,20px);background:#fff}
.detail-page .booking-panel .booking-availability-pending{text-align:center}
.detail-page .detail-section{min-width:0}
.detail-page .detail-section h2{font-size:clamp(1.4rem,2vw,1.9rem)}
.detail-page .detail-section[data-detail-experience] .detail-description{max-width:100%;line-height:1.78;white-space:pre-line;text-wrap:pretty;font-size:clamp(14px,1.1vw,16px);margin:14px 0 0}
.detail-page .detail-section[data-detail-experience]{padding-top:26px}
.detail-page .detail-two-columns{gap:clamp(16px,2vw,30px);align-items:start}
.detail-page .detail-two-columns > div{min-width:0;padding:20px 22px;background:linear-gradient(180deg,#fff,#fffbfd);border:1px solid #eedce6;border-radius:17px}
.detail-page .detail-two-columns .eyebrow{font-size:12px}
.detail-page .detail-two-columns .simple-list{gap:9px;line-height:1.65;overflow-wrap:anywhere}
.detail-page .detail-two-columns .simple-list li{position:relative;padding-left:16px;margin:0}
.detail-page .detail-two-columns .simple-list li::before{position:absolute;left:0}
.detail-page .detail-highlight-grid{gap:11px}
.detail-page .detail-highlight-amenity{white-space:normal;overflow-wrap:anywhere}
.detail-page .detail-heading-actions{flex:none}
.detail-page .detail-heading .favorite-action-label{font-size:11px}
.detail-page .contact-card,.detail-page .reviews-card{border-color:#eedce6;box-shadow:0 10px 26px #42192a0c}
.detail-page .owner-phone-action{margin-top:12px;display:flex;justify-content:center;align-items:center;gap:8px;width:100%;box-sizing:border-box;border:1px solid #e4bad0;border-radius:22px;padding:11px;font-weight:800;font-family:inherit;font-size:13px;color:var(--k79-wine);background:white;cursor:pointer;text-decoration:none}
.detail-page .owner-phone-action[hidden]{display:none!important}
.detail-page .detail-video-section{grid-column:1/-1;padding:24px 0}
.detail-page .detail-video-cta{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:20px;border:1px solid #efd1e0;border-radius:18px;background:#fff7fa}
.detail-page .detail-video-cta a{font-weight:800;border-radius:30px;background:var(--k79-wine);color:white;padding:11px 18px;text-decoration:none}
.detail-page .reviews-list{display:grid;gap:12px;margin-top:16px}
.detail-page .review-item{border-top:1px solid #f1dae5;padding-top:12px}
.detail-page .review-item .stars{font-size:17px;color:#9a004f;letter-spacing:1px}
.detail-page .review-item p{margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.detail-page .review-button{display:block;margin-top:13px;padding:10px 15px;border:1px solid #e6c0d3;border-radius:999px;background:white;color:var(--k79-wine);font-size:13px;font-weight:800;cursor:pointer}
.k79-review-dialog{width:min(94vw,490px);max-height:min(94vh,800px);overflow-y:auto;border:1px solid #edcfe0;border-radius:22px;background:#fff;padding:clamp(20px,4vw,30px);box-shadow:0 20px 65px #2209164d;color:#32162a}
.k79-review-dialog::backdrop{background:#210917a9}
.k79-review-dialog h2{font:700 clamp(1.4rem,4vw,1.85rem)/1.12 "Figtree", "Segoe UI", system-ui, sans-serif;margin-bottom:12px;color:#730044}
.k79-review-dialog .k79-close{float:right;border:0;background:#f9eff4;border-radius:50%;width:34px;height:34px;cursor:pointer}
.k79-review-dialog label{display:grid;gap:6px;margin-top:12px;font-size:12px;font-weight:800}
.k79-review-dialog input,.k79-review-dialog select,.k79-review-dialog textarea{width:100%;min-width:0;padding:11px;border:1px solid #e6cedd;border-radius:10px;background:white;color:#2e1a2a;box-sizing:border-box;font:inherit;font-weight:450}
.k79-review-dialog .k79-form-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;margin-top:16px}
.k79-review-dialog button[type=submit]{border:0;border-radius:24px;background:#79004c;color:white;padding:12px 18px;font-weight:850;cursor:pointer}
.k79-review-dialog .k79-hint{font-size:12px;color:#66535e;line-height:1.5}
.k79-review-dialog .k79-consent{display:flex;align-items:flex-start;gap:10px;font-weight:500}
.k79-review-dialog .k79-consent input{width:auto;margin:2px 0}
@media(min-width:1025px){
 .detail-page .detail-layout{grid-template-columns:minmax(0,1.45fr) minmax(340px,.73fr);column-gap:clamp(22px,3vw,40px);row-gap:0}
 .detail-page .detail-layout > .detail-main-column{display:contents}
 .detail-page .detail-layout > .detail-main-column > .detail-gallery-wrap{grid-column:1;grid-row:1}
 .detail-page .detail-layout > .detail-aside{grid-column:2;grid-row:1 / span 2;position:static}
 .detail-page .detail-layout > .detail-main-column > .detail-section{grid-column:1/-1}
 .detail-page .detail-layout > .detail-main-column > .detail-section[data-detail-experience]{grid-column:1;grid-row:2}
 .detail-page .detail-section[data-detail-experience] .detail-description{columns:1;max-width:100%;}
 .detail-page .detail-two-columns{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)}
 .detail-page .detail-intro .detail-highlight-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(min-width:721px) and (max-width:1024px){
 .detail-page .detail-layout.detail-tablet-flow>.detail-main-column>.detail-tablet-identification{order:0;max-width:100%;padding:0;border:none;box-shadow:none;background:transparent}
 .detail-page .detail-layout.detail-tablet-flow>.detail-main-column>.detail-gallery-wrap{order:-1;margin-bottom:16px}
 .detail-page .detail-layout.detail-tablet-flow>.detail-main-column>.detail-highlight-amenities{display:block}
 .detail-page .detail-two-columns{grid-template-columns:repeat(2,minmax(0,1fr))}
 .detail-page .detail-section[data-detail-experience] .detail-description{columns:2 270px;column-gap:26px}
 .detail-page .detail-title{font-size:clamp(1.7rem,4vw,2.5rem)!important}
}
@media(max-width:720px){
 .detail-page .detail-layout.detail-mobile-flow>.detail-main-column>.detail-gallery-wrap{order:-1}
 .detail-page .detail-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:7px}
 .detail-page .detail-heading .detail-title{font-size:clamp(1.7rem,7vw,2.5rem)!important;max-width:100%;overflow-wrap:break-word}
 .detail-page .detail-heading-actions{grid-column:2;grid-row:1}
 .detail-page .detail-location{font-size:13px}
 .detail-page .detail-price-label{padding:15px 16px}
 .detail-page .detail-two-columns{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
 .detail-page .detail-two-columns>div{padding:15px}
 .detail-page .detail-section[data-detail-experience] .detail-description{columns:1;font-size:14px;line-height:1.75}
 .detail-page .detail-video-cta{padding:16px}
 .detail-page .detail-video-cta a{width:100%;text-align:center}
}
@media(max-width:375px){.detail-page .detail-heading{grid-template-columns:minmax(0,1fr)}.detail-page .detail-heading-actions{grid-column:1;grid-row:auto}.detail-page .detail-location{font-size:12px}}


/* TEST 79.3 — Fiche Kocoonya : grille compacte, géolocalisation, prix, zoom séparé. */
.detail-page .detail-heading {display:block;position:relative;min-width:0}
.detail-page .detail-heading > div:first-child {min-width:0;width:100%;padding:0}
.detail-page .detail-heading .eyebrow {max-width:calc(100% - 115px);margin-bottom:12px}
.detail-page .detail-heading-actions {position:absolute;right:-6px;top:-8px;z-index:1}
.detail-page .detail-heading .detail-title {
  font-family:"Figtree", "Segoe UI", system-ui, sans-serif;font-size:clamp(25px,2.2vw,31px)!important;
  font-weight:700;line-height:1.12;letter-spacing:-.034em;
  margin:0 0 11px;overflow:visible;text-overflow:clip;
  white-space:normal;overflow-wrap:break-word;hyphens:manual;text-wrap:pretty;
}
.detail-page .detail-location {display:flex;align-items:center;gap:7px;font-size:14px;line-height:1.45;white-space:normal;overflow-wrap:break-word;margin:0 0 8px}
.detail-page .detail-location:before {content:none!important}
.detail-page .detail-location-pin {display:block;flex:0 0 17px;width:17px;height:17px;fill:none;stroke:#8b064f;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.detail-page .detail-price-label {padding:17px 19px;margin:16px 0 5px;display:flex;flex-direction:column;align-items:flex-start;gap:3px;line-height:1.2}
.detail-page .detail-price-prefix {font-size:12px;font-weight:650;line-height:1.3;color:#8c315f}
.detail-page .detail-price-line {display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.detail-page .detail-price-label .detail-price-line strong {font-family:"Figtree", "Segoe UI", system-ui, sans-serif;font-weight:700;font-size:clamp(32px,3vw,40px);line-height:1.05;letter-spacing:-.045em;margin:0;color:#79004c}
.detail-page .detail-price-unit {font-size:14px;color:#81164f;font-weight:700}
.detail-page .equipment-flat-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px}
.detail-page .equipment-flat-item {display:flex;align-items:center;gap:10px;min-width:0;min-height:64px;padding:12px 14px;border:1px solid #f0dce7;border-radius:13px;background:#fff;box-sizing:border-box}
.detail-page .equipment-flat-item .amenity-icon {flex:0 0 36px;width:36px;height:36px;display:grid;place-items:center;border:1px solid #eed3e2;border-radius:50%;background:#fff6fa}
.detail-page .equipment-flat-copy {display:flex;flex-direction:column;gap:4px;min-width:0;overflow-wrap:break-word}
.detail-page .equipment-flat-copy strong {font-size:13px;color:#331a35;font-weight:750;line-height:1.25}
.detail-page .equipment-flat-copy small {font-size:11px;color:#8b5673;line-height:1.25}
.detail-page .detail-stay-terms {padding-bottom:26px}
.detail-page .detail-stay-terms>.eyebrow {margin-bottom:14px}
.detail-page .stay-time-cards {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.detail-page .stay-time-card {display:flex;gap:13px;align-items:center;min-height:72px;background:#fff9fc;border:1px solid #efdae6;border-radius:14px;padding:13px 17px;box-sizing:border-box}
.detail-page .stay-time-card>span:last-child {display:grid;gap:3px}
.detail-page .stay-time-card small {font-size:12px;color:#836176}
.detail-page .stay-time-card strong {font-size:20px;color:#720245}
.detail-page .stay-time-icon {flex:0 0 35px;width:35px;height:35px;display:grid;place-items:center;border-radius:50%;background:#f9e9f1;color:#85084c;font-size:20px}
.detail-page .stay-terms-copy {max-width:100%;display:grid;gap:11px;margin-top:20px;font-size:14px;line-height:1.75;color:#514053;overflow-wrap:break-word}
.detail-page .stay-terms-copy p {margin:0;max-width:100%;text-wrap:pretty}
.detail-page .stay-cancellation-note {margin:15px 0 0;font-size:13px;line-height:1.6;color:#665163}
.detail-page .stay-options-block {margin-top:20px;padding-top:18px;border-top:1px solid #efdfeb}
.detail-page .stay-options-block h3 {font-size:16px;margin:0 0 10px}
.detail-page .stay-options-list {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;list-style:none;padding:0;margin:0}
.detail-page .stay-options-list li {padding:11px 13px;border:1px solid #f0dce7;border-radius:10px;background:#fff9fc;font-size:13px;overflow-wrap:anywhere}
.gallery-detail .gallery-image {cursor:zoom-in}
.gallery-detail .gallery-zoom-action {position:absolute;top:13px;right:13px;z-index:4;display:grid;place-items:center;width:39px;height:39px;border:1px solid #efd8e5;border-radius:50%;background:rgba(255,250,253,.94);color:#82044f;cursor:zoom-in;box-shadow:0 5px 18px #2d112534;transition:background .18s,transform .18s}
.gallery-detail .gallery-zoom-action svg {width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round}
.gallery-detail .gallery-zoom-action:hover {background:white;transform:scale(1.04)}
.gallery-detail .gallery-zoom-action:focus-visible {outline:3px solid #b54a84;outline-offset:3px}
.gallery-detail .gallery-nav {z-index:5;top:50%;}
.gallery-detail .gallery-count {bottom:13px;right:13px;top:auto}
@media (min-width:1025px){
 .detail-page .detail-heading .detail-title{font-size:clamp(26px,2vw,30px)!important}
 .detail-page .detail-section[data-detail-experience] .detail-description{max-width:100%}
}
@media (min-width:721px) and (max-width:1024px){
 .detail-page .equipment-flat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .detail-page .detail-heading .detail-title{font-size:clamp(25px,3.2vw,35px)!important}
}
@media (max-width:720px){
 .detail-page .detail-heading{display:block;grid-template-columns:none}
 .detail-page .detail-heading-actions{position:absolute;right:0;top:-7px;grid-column:auto;grid-row:auto}
 .detail-page .detail-heading .detail-title{font-size:clamp(25px,6vw,32px)!important}
 .detail-page .detail-location{font-size:13px}
 .detail-page .equipment-flat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .detail-page .equipment-flat-item{padding:10px;gap:8px;min-height:63px}
 .detail-page .equipment-flat-item .amenity-icon{flex-basis:31px;width:31px;height:31px}
 .detail-page .equipment-flat-copy strong{font-size:12px}
 .detail-page .stay-time-card{padding:11px;min-height:65px;gap:8px}
 .detail-page .stay-time-card strong{font-size:17px}
 .detail-page .stay-terms-copy{font-size:13px;line-height:1.75}
 .detail-page .stay-options-list{grid-template-columns:1fr}
 .gallery-detail .gallery-zoom-action{width:36px;height:36px;top:10px;right:10px}
}
@media (max-width:350px){
 .detail-page .equipment-flat-grid{grid-template-columns:minmax(0,1fr)}
 .detail-page .stay-time-cards{grid-template-columns:minmax(0,1fr)}
}
@media (prefers-reduced-motion:reduce){.gallery-detail .gallery-zoom-action{transition:none}}

/* TEST 79.4 — Corrections demandées sur captures réelles */
/* Suppression de la loupe rose : photo agrandissable par clic, flèches inchangées. */
.gallery-detail .gallery-zoom-action{display:none!important}
/* Titre, favoris et localisation sur trois rangées logiques, sans chevauchement. */
.detail-page .detail-heading{display:grid!important;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto auto;align-items:center;gap:0 8px;position:relative}
.detail-page .detail-heading>div:first-child{display:contents}
.detail-page .detail-heading .eyebrow{grid-column:1;grid-row:1;min-width:0;max-width:none;margin:0 0 10px}
.detail-page .detail-heading-actions{grid-column:2;grid-row:1;position:static!important;z-index:auto;min-width:0;justify-self:end;align-self:start}
.detail-page .detail-heading .detail-title{grid-column:1/-1;grid-row:2;min-width:0;max-width:none;margin:0 0 10px;font-size:clamp(25px,2vw,30px)!important;text-wrap:balance}
.detail-page .detail-heading .detail-location{grid-column:1/-1;grid-row:3;min-width:0;margin:0 0 5px}
/* Prix sur une ligne : compact mais hiérarchisé et sans déborder à 320px. */
.detail-page .detail-price-label{display:flex!important;flex-direction:row!important;flex-wrap:nowrap;justify-content:flex-start;align-items:baseline;gap:7px;padding:15px 15px;white-space:nowrap;min-width:0}
.detail-page .detail-price-prefix{flex:0 0 auto;font-size:clamp(10px,1vw,12px)}
.detail-page .detail-price-line{display:inline-flex;align-items:baseline;gap:5px;flex:0 1 auto;min-width:0;flex-wrap:nowrap;white-space:nowrap}
.detail-page .detail-price-label .detail-price-line strong{font-size:clamp(26px,2.8vw,36px);line-height:1}
.detail-page .detail-price-unit{font-size:clamp(11px,1.2vw,14px)}
/* Carte : lorsqu'OSM ne charge pas, proposer une sortie utile et compacte. */
.location-map-fallback{height:100%;min-height:260px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;text-align:center;padding:20px;box-sizing:border-box;background:linear-gradient(145deg,#fff7fb,#f9f1f7);border:1px dashed #e7bfd3;border-radius:14px;color:#4a2a40}
.location-map-fallback-pin{font-size:35px;color:#850044;line-height:1}
.location-map-fallback strong{font-size:17px}
.location-map-fallback p{font-size:13px;line-height:1.55;max-width:340px;margin:0}
.location-map-fallback a{font-weight:750;font-size:13px;color:#850044;text-decoration:underline;text-underline-offset:3px}
@media(max-width:720px){
 .detail-page .detail-heading .detail-title{font-size:clamp(23px,6.6vw,32px)!important}
 .detail-page .detail-heading-actions .favorite-action-label{display:none!important}
 .detail-page .detail-heading-actions .favorite-action{display:grid;place-items:center;min-height:40px;min-width:40px;padding:5px;border-radius:50%}
 .detail-page .detail-heading .eyebrow{max-width:none!important}
 .detail-page .detail-price-label{gap:6px;padding:14px 11px}
 .detail-page .detail-price-label .detail-price-line strong{font-size:clamp(24px,7vw,31px)}
 .detail-page .detail-price-unit{font-size:12px}
 .location-map-fallback{min-height:240px}
}
@media(max-width:350px){
 .detail-page .detail-price-label{gap:5px;padding:13px 8px}
 .detail-page .detail-price-prefix{font-size:10px}
 .detail-page .detail-price-label .detail-price-line strong{font-size:25px}
 .detail-page .detail-price-unit{font-size:11px}
}


/* TEST 79.6 — Figtree unifiee et tarif indivisible sur les cartes publiques.
   Les autres tailles, couleurs et composants du TEST 79.5 sont conserves. */
.detail-page .detail-heading .detail-title {
  font-family: "Figtree", "Segoe UI", system-ui, sans-serif !important;
  font-weight: 800;
  letter-spacing: -.04em;
}
.detail-page .detail-price-label .detail-price-line strong {
  font-family: "Figtree", "Segoe UI", system-ui, sans-serif !important;
  font-weight: 850;
}
.k79-review-dialog h2 {
  font-family: "Figtree", "Segoe UI", system-ui, sans-serif !important;
}
/* Associer visuellement le prix et son unite, sans couper « / nuit ». */
.listing-card .card-price {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 5px;
  white-space: nowrap;
}
.listing-card .card-price .price-prefix { flex: 0 0 auto; }
.listing-card .card-price .card-price-suffix {
  display: inline-flex;
  align-items: baseline;
  flex: 0 0 auto;
  gap: 4px;
  white-space: nowrap;
}
.listing-card .card-price strong.card-price-amount { white-space: nowrap; }
.listing-card .card-price .price-per-night { white-space: nowrap; }
/* Sur les cartes compactes de l'accueil, placer le CTA sous le tarif :
   cela laisse toute la largeur au prix et evite les collisions. */
.discovery-row .listing-card-selection .selection-footer {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  align-items: start;
  justify-items: start;
  gap: 7px;
}
.discovery-row .listing-card-selection .selection-footer .card-price {
  flex: initial;
  text-align: left;
  justify-content: flex-start;
  gap: 4px;
}
.discovery-row .listing-card-selection .selection-footer .card-open-link {
  justify-self: end;
  margin: 0;
}
/* Le prix ne doit pas pousser le lien hors de la carte en petit format. */
@media(max-width:720px) {
  .listing-card .listing-card-footer:has(.card-price-suffix) {
    flex-wrap: wrap;
  }
  .listing-card .listing-card-footer:has(.card-price-suffix) .card-open-link {
    margin-left: auto;
  }
  .discovery-row .listing-card-selection .selection-footer {
    display: grid;
    grid-template-columns: minmax(0,1fr);
  }
}
@media(max-width:360px) {
  .listing-card .card-price { gap: 3px; }
  .listing-card .card-price .price-prefix,
  .listing-card .card-price .price-per-night { font-size: 10px; }
  .listing-card .card-price strong.card-price-amount { font-size: 22px; }
}


/* TEST 80.3 — Contact lisible et tactile sur tous les écrans. */
.detail-page .contact-link-cta{display:flex;align-items:center;gap:11px;width:100%;min-height:48px;margin-top:14px;padding:11px 13px;border:1px solid #eccfe0;border-radius:13px;background:#fff8fb;color:#79004c;text-align:left;font:750 13px/1.4 "Figtree",system-ui,sans-serif;cursor:pointer;transition:background .16s,border-color .16s}
.detail-page .contact-link-cta:hover{background:#fcecf4;border-color:#d7a4c1;text-decoration:none}
.detail-page .contact-link-cta:focus-visible{outline:3px solid #d49ac0;outline-offset:3px}
.detail-page .contact-link-cta span{flex:1;min-width:0}
.detail-page .contact-link-cta svg{display:block;flex:none;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.detail-page .contact-link-icon{width:21px;height:21px}.detail-page .contact-link-chevron{width:17px;height:17px}
.k79-review-dialog .k79-hint{max-width:41ch;font-size:clamp(12px,1vw,13px);line-height:1.6;text-wrap:pretty;margin:0 0 15px;overflow-wrap:break-word}
.k79-review-dialog .k79-consent{display:flex;align-items:flex-start;gap:10px;margin:18px 0 16px;font-size:12px;line-height:1.5;font-weight:500}
.k79-review-dialog .k79-consent input{flex:none;width:15px;height:15px;margin:2px 0 0}
.k79-review-dialog #k79-captcha{margin:18px 0 16px;min-height:65px;max-width:100%;overflow-x:auto;overflow-y:hidden}
.k79-review-dialog .k79-form-actions{margin-top:15px}
@media(max-width:440px){.k79-review-dialog{padding:18px 15px;max-height:calc(100dvh - 24px)}.k79-review-dialog .k79-hint{max-width:100%;line-height:1.55}.detail-page .contact-link-cta{font-size:12px;gap:9px;padding:12px 10px;min-height:48px}}
@media(prefers-reduced-motion:reduce){.detail-page .contact-link-cta{transition:none}}

/* TEST 80.3 — Choix simple pour les propriétaires depuis la page Ajouter. */
.seller-site-entry{padding:16px 17px;margin-bottom:18px;background:#fff7fb;border:1px solid #eed2e0;border-radius:16px}
.seller-site-entry h4{font-size:clamp(1rem,2vw,1.2rem);margin:7px 0 5px;color:#3b1730}
.seller-site-entry p{font-size:.89rem;color:#61465c;line-height:1.6;margin:5px 0 13px}
.seller-site-entry .seller-assist-tag{font-size:.7rem;letter-spacing:.09em;text-transform:uppercase;color:#880952;font-weight:800}
.seller-site-intake label{display:block;font-size:.8rem;font-weight:750;margin-bottom:7px}
.seller-site-row{display:flex;gap:9px;align-items:stretch;flex-wrap:wrap}
.seller-site-row input{flex:1 1 210px;min-width:0;min-height:44px;box-sizing:border-box;padding:11px 13px;border:1px solid #e4c5d5;border-radius:10px;background:#fff;font:inherit}
.seller-site-row button{flex:none;min-height:44px}
.seller-site-intake small{display:block;margin-top:9px;color:#795d71;font-size:.75rem;line-height:1.5}
.seller-manual-label{font-size:.78rem;color:#745366;font-weight:750;margin:12px 0 17px;text-align:center}
@media(max-width:540px){.seller-site-entry{padding:14px}.seller-site-row button{width:100%}}

/* TEST 80.5 — navigation juridique compacte et responsive */
.kocoonya-legal-footer-links{display:flex;justify-content:center;gap:8px 18px;align-items:center;flex-wrap:wrap;flex-basis:100%;padding-top:6px}
.kocoonya-legal-footer-links a{font:500 .8rem/1.45 Figtree,system-ui,sans-serif;color:inherit;text-decoration:none;opacity:.88}
.kocoonya-legal-footer-links a:hover{text-decoration:underline;opacity:1}
@media(max-width:600px){.kocoonya-legal-footer-links{column-gap:12px;row-gap:10px;text-align:center;padding:12px 10px}.kocoonya-legal-footer-links a{font-size:.77rem}}

/* TEST 80.5.1 — pied de page commun, accessible et lisible */
.site-footer .kocoonya-legal-footer{border-top:1px solid rgba(255,255,255,.19);max-width:1200px;margin:19px auto 0;padding:19px 20px 1px;display:flex;flex-wrap:wrap;gap:12px 24px;align-items:center;justify-content:center;text-align:center}
.site-footer .kocoonya-legal-footer-label{font:700 .71rem/1.45 Figtree,system-ui,sans-serif;letter-spacing:.075em;text-transform:uppercase;color:#ead3df}
.site-footer .kocoonya-legal-footer-links{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:9px 21px;min-width:0;margin:0;padding:0}
.site-footer .kocoonya-legal-footer-links a{font:500 .80rem/1.5 Figtree,system-ui,sans-serif;color:#fff5fb;text-decoration:none;opacity:1;overflow-wrap:break-word}
.site-footer .kocoonya-legal-footer-links a:hover,.site-footer .kocoonya-legal-footer-links a:focus-visible{text-decoration:underline;text-underline-offset:3px}
.site-footer .kocoonya-legal-footer-links a:focus-visible{outline:2px solid #fff;outline-offset:4px;border-radius:2px}
@media(max-width:680px){.site-footer .kocoonya-legal-footer{margin-top:15px;padding:17px 15px 0;flex-direction:column;gap:11px}.site-footer .kocoonya-legal-footer-links{gap:13px 18px}.site-footer .kocoonya-legal-footer-links a{font-size:.81rem;line-height:1.5}}
@media(max-width:360px){.site-footer .kocoonya-legal-footer-links{display:grid;grid-template-columns:1fr 1fr;column-gap:12px;row-gap:12px}.site-footer .kocoonya-legal-footer-links a:last-child{grid-column:1/-1}}

/* TEST 80.5.8 — Lancer la vidéo d'une Love Room en un clic, juste après la galerie. */
.detail-page .detail-video-feature{width:100%;min-width:0;margin:12px 0 18px;position:relative;isolation:isolate;align-self:stretch}
.detail-page .detail-video-preview{position:relative;display:block;box-sizing:border-box;width:100%;height:clamp(138px,18vw,195px);padding:0;overflow:hidden;border:1px solid #e7c2d5;border-radius:19px;background:#2d1525;color:#fff;cursor:pointer;text-align:left;box-shadow:0 8px 22px rgba(62,13,43,.09);font-family:inherit}
.detail-page .detail-video-preview-image{display:block;width:100%;height:100%;object-fit:cover;object-position:center 48%;opacity:.62;filter:brightness(.72);transition:transform .24s ease,opacity .24s ease}
.detail-page .detail-video-preview-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:16px;padding:16px 22px;background:linear-gradient(90deg,rgba(45,10,35,.75),rgba(45,10,35,.27));pointer-events:none}
.detail-page .detail-video-preview-icon{flex:none;display:grid;place-items:center;width:68px;height:68px;border-radius:50%;background:#fff;color:#79004c;box-shadow:0 4px 22px rgba(20,2,14,.23);transition:transform .2s ease}
.detail-page .detail-video-preview-copy{display:grid;gap:6px;line-height:1.25;min-width:0}
.detail-page .detail-video-preview-copy strong{font-size:clamp(18px,2.4vw,26px);font-weight:850;letter-spacing:-.02em;color:#fff}
.detail-page .detail-video-preview-copy small{font-size:13px;font-weight:600;color:#fff9fb}
.detail-page .detail-video-preview:hover .detail-video-preview-image{transform:scale(1.025);opacity:.75}
.detail-page .detail-video-preview:hover .detail-video-preview-icon{transform:scale(1.07)}
.detail-page .detail-video-preview:focus-visible{outline:3px solid #9b135d;outline-offset:4px}
.detail-page .detail-video-player{display:block;width:100%;aspect-ratio:16/9;min-height:0;border:0;border-radius:18px;background:#1f1820}
@media(min-width:1025px){
 .detail-page .detail-layout>.detail-main-column>.detail-video-feature{grid-column:1;grid-row:2;margin-top:12px;margin-bottom:12px}
 .detail-page .detail-layout>.detail-main-column>.detail-section[data-detail-experience]{grid-column:1;grid-row:3}
 .detail-page .detail-layout>.detail-aside{grid-row:1 / span 3}
}
@media(min-width:721px) and (max-width:1024px){
 .detail-page .detail-layout.detail-tablet-flow>.detail-main-column>.detail-video-feature{order:-1;margin:0 0 18px}
}
@media(max-width:720px){
 .detail-page .detail-layout.detail-mobile-flow>.detail-main-column>.detail-video-feature{order:-1;margin:10px 0 17px}
 .detail-page .detail-video-preview{height:146px;border-radius:15px}
 .detail-page .detail-video-preview-overlay{gap:12px;padding:14px}
 .detail-page .detail-video-preview-icon{width:53px;height:53px}
 .detail-page .detail-video-preview-copy strong{font-size:18px}
 .detail-page .detail-video-preview-copy small{font-size:11px}
 .detail-page .detail-video-player{border-radius:14px}
}
@media(prefers-reduced-motion:reduce){.detail-page .detail-video-preview-image,.detail-page .detail-video-preview-icon{transition:none}}

/* TEST 80.6.1 — Choix du mois d'un avis : presentation Kocoonya, sans calendrier natif. */
.k79-review-dialog .k8061-month-field{display:grid;gap:7px;min-width:0;margin-top:14px}
.k79-review-dialog .k8061-month-caption{font-size:12px;font-weight:800;color:#32162a}
.k79-review-dialog .k8061-month-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:46px;padding:11px 13px;background:#fff;color:#7b6772;border:1px solid #e6cedd;border-radius:12px;text-align:left;cursor:pointer;font:600 13px/1.4 "Figtree",system-ui,sans-serif;box-sizing:border-box}
.k79-review-dialog .k8061-month-trigger.has-value{color:#32162a;font-weight:800}
.k79-review-dialog .k8061-month-trigger svg{width:20px;height:20px;fill:none;stroke:#79004c;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.k79-review-dialog .k8061-month-trigger:hover,.k79-review-dialog .k8061-month-trigger:focus-visible{border-color:#b56898;outline:2px solid transparent;box-shadow:0 0 0 3px #f6dbea}
.k79-review-dialog .k8061-month-panel{min-width:0;padding:14px;border:1px solid #edcedf;background:linear-gradient(180deg,#fff,#fff9fc);border-radius:16px;box-shadow:0 6px 22px #4c153016}
.k79-review-dialog .k8061-month-panel[hidden]{display:none!important}
.k79-review-dialog .k8061-month-toolbar{display:grid;grid-template-columns:38px minmax(0,1fr) 38px;align-items:center;gap:10px;margin-bottom:14px;text-align:center}
.k79-review-dialog .k8061-year-title{font:850 16px "Figtree",system-ui,sans-serif;color:#32162a}
.k79-review-dialog .k8061-year-nav{display:grid;place-items:center;width:38px;height:38px;padding:0 0 3px;border:1px solid #ead3df;border-radius:50%;background:#fff;color:#79004c;cursor:pointer;font:600 26px/1 "Figtree",sans-serif}
.k79-review-dialog .k8061-year-nav:hover:not(:disabled),.k79-review-dialog .k8061-year-nav:focus-visible{border-color:#ac6090;background:#fff0f6;outline:2px solid transparent}
.k79-review-dialog .k8061-year-nav:disabled{opacity:.35;cursor:not-allowed}
.k79-review-dialog .k8061-month-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.k79-review-dialog .k8061-month-choice{min-width:0;min-height:43px;padding:8px 4px;border:1px solid #eddae4;background:#fff;color:#442136;border-radius:12px;cursor:pointer;font:750 12px "Figtree",system-ui,sans-serif;text-transform:capitalize}
.k79-review-dialog .k8061-month-choice.is-current:not(.is-selected){border-color:#bb8aa8;background:#fff6fa}
.k79-review-dialog .k8061-month-choice.is-selected{border-color:#79004c;background:#79004c;color:#fff}
.k79-review-dialog .k8061-month-choice:hover:not(:disabled),.k79-review-dialog .k8061-month-choice:focus-visible{outline:2px solid #b56898;outline-offset:1px}
.k79-review-dialog .k8061-month-choice:disabled{opacity:.34;cursor:not-allowed}
.k79-review-dialog .k8061-month-hint{margin:13px 0 0;color:#755969;font-size:11px;line-height:1.5}
@media(max-width:390px){.k79-review-dialog .k8061-month-panel{padding:11px}.k79-review-dialog .k8061-month-grid{gap:6px}.k79-review-dialog .k8061-month-choice{font-size:11px}}
@media(prefers-reduced-motion:reduce){.k79-review-dialog .k8061-month-trigger{scroll-behavior:auto}}

/* TEST 80.7.57 — fiches : supprimer les lignes CSS grid fantomes entre galerie et experience. */
@media(min-width:1025px){
 .detail-page .detail-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,350px);align-items:start;gap:clamp(18px,2.3vw,32px);grid-auto-rows:auto}
 .detail-page .detail-layout>.detail-main-column{display:flex;flex-direction:column;gap:0;min-width:0;grid-column:1;grid-row:1}
 .detail-page .detail-layout>.detail-aside{grid-column:2;grid-row:1;position:relative;top:auto;align-content:start;align-self:start}
 .detail-page .detail-layout>.detail-main-column>.detail-gallery-wrap,
 .detail-page .detail-layout>.detail-main-column>.detail-video-feature,
 .detail-page .detail-layout>.detail-main-column>.detail-section[data-detail-experience]{grid-column:auto;grid-row:auto;min-width:0}
 .detail-page .detail-layout>.detail-main-column>.detail-section[data-detail-experience]{padding-top:20px;margin-top:20px}
 .detail-page .detail-extended-80757{display:grid;gap:0;margin-top:22px;min-width:0}
 .detail-page .detail-extended-80757>.detail-section{min-width:0}
 .detail-page .detail-extended-80757 .equipment-flat-grid{width:100%}
}

/* TEST 80.7.87 — deux lignes stables en fiche, sur toutes les largeurs */
.booking-price-origin.k80787-conversion-note { display: flex; flex-direction: column; gap: 3px; line-height: 1.45; margin-top: 7px; }
.booking-price-origin.k80787-conversion-note > span { display: block; overflow-wrap: anywhere; }
