/* ==========================================================================
   Vamos app layer — loaded last.
   One set of tokens + the app shell, photo experience and crisp-pass fixes.
   Same direction as the coastal redesign: cream, sand, Vamos red, rounded.
   ========================================================================== */
:root {
  --vamos-red: #b62025;
  --vamos-red-deep: #8f1b1f;
  --cream: #fcf6ec;
  --sand: #eadfd1;
  --sand-strong: #dbcbbc;
  --ink: #0c0c0c;
  --ink-soft: #303336;
  --muted: #626a70;
  --wa-green: #1d8a4e;
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-xl: 24px;
  --r-pill: 999px;
  --shadow-float: 0 12px 32px rgba(46, 30, 16, .16), 0 0 0 1px rgba(234, 223, 209, .9);
  --shadow-soft: 0 6px 18px rgba(46, 30, 16, .08);
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --tabbar-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

/* ---------- crisp base ---------- */
html { -webkit-text-size-adjust: 100%; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; -webkit-tap-highlight-color: transparent; }
h1, h2, h3 { text-wrap: balance; }
/* Display type: Jakarta at 800 with gentler tracking reads crisper than 900 at -.055em. */
h1, h2 { letter-spacing: -.03em !important; }
h3 { letter-spacing: -.015em; }
p, li { text-wrap: pretty; }
::selection { background: rgba(182, 32, 37, .16); }
:where(a, button, summary, input, select, [tabindex]):focus-visible { outline: 2px solid var(--vamos-red); outline-offset: 3px; }
/* Press feedback only on the app's own controls. Never transform existing site buttons:
   the card photo arrows rely on their own transform, and moving them mid-press cancels the click. */
:is(.app-button, .app-tab, .app-pill, .vg-cta-btn) { transition: transform .16s var(--ease-out), background-color .2s, color .2s, box-shadow .2s; }
:is(.app-button, .app-tab, .vg-cta-btn):active { transform: scale(.97); }
html.vg-lock, html.sheet-open { overflow: hidden; }
.site-header { transition: box-shadow .25s ease, background-color .25s ease; }
html.is-scrolled .site-header { box-shadow: 0 1px 0 rgba(234, 223, 209, .9), 0 10px 28px rgba(46, 30, 16, .06); }

/* ---------- page transitions ---------- */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
.app-tabbar { view-transition-name: app-tabbar; }
.page-property .top-gallery-section .gallery-main img { view-transition-name: stay-photo; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; animation-timing-function: ease; }
::view-transition-group(stay-photo) { animation-duration: .42s; animation-timing-function: var(--ease-out); }
::view-transition-image-pair(stay-photo) { border-radius: var(--r-lg); overflow: hidden; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* ---------- image placeholders: the dominant colour shows until the photo paints (no opacity tricks) ---------- */

/* ---------- property cards ---------- */
.property-image { border-radius: var(--r-lg); isolation: isolate; }
.property-card .property-image img { will-change: auto; }
.property-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.property-price { font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.property-media-price { background: linear-gradient(transparent, rgba(12, 8, 6, .62)); }
.property-rating { min-height: 22px; display: flex; align-items: center; gap: 4px; }
.property-rating-new .property-new-badge { display: inline-flex; align-items: center; height: 20px; padding: 0 9px; border: 1px solid var(--sand); border-radius: var(--r-pill); background: var(--cream); color: #7b5a35; font-size: 10.5px; font-weight: 700; letter-spacing: .02em; }
.property-card .app-save,
.saved-card .app-save { position: absolute; top: 12px; right: 12px; z-index: 4; width: 38px; height: 38px; min-height: 38px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--ink-soft); box-shadow: 0 2px 10px rgba(0, 0, 0, .14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.app-save .ui-icon { width: 19px; height: 19px; }
.app-save:hover { color: var(--vamos-red); }
:is(.app-save, .app-pill, .vg-icon-btn).is-saved { color: #fff; background: var(--vamos-red); }
.app-pill.is-saved, .vg-icon-btn.is-saved { border-color: var(--vamos-red); }
.is-saved .ui-icon path { fill: currentColor; }
.pop { animation: vamos-pop .38s var(--ease-out); }
@keyframes vamos-pop { 0% { transform: scale(1); } 35% { transform: scale(1.22); } 100% { transform: scale(1); } }

/* ---------- homepage hero: same shape, capped to the screen height on short laptops ---------- */
@media (min-width: 1100px) {
  .page-home .hero-panel { height: clamp(600px, min(56.28vw, calc(100svh - 48px)), 923px); }
}
/* Phones/tablets: WhatsApp lives in the tab bar, so the hero corner offers Vee instead (same shape). */
.page-home .hero-help-vee { display: none; }
@media (max-width: 1099px) {
  .page-home .coastal-hero .hero-help.has-vee .hero-help-wa { display: none; }
  .page-home .coastal-hero .hero-help.has-vee .hero-help-vee { display: block; }
  .page-home .hero-help-vee button.hero-whatsapp-link { padding: 0; border: 0; background: none; font: inherit; color: var(--red); font-size: 17px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
}

/* ---------- bottom tab bar ---------- */
.app-tabbar { display: none; }
@media (max-width: 1099px) {
  .app-tabbar { position: fixed; left: 10px; right: 10px; bottom: calc(10px + var(--safe-b)); z-index: 45; height: var(--tabbar-h); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; padding: 6px; border-radius: 22px; background: rgba(255, 255, 255, .93); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px); box-shadow: var(--shadow-float); transition: transform .32s var(--ease-out); }
  .app-tabbar.has-vee { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .app-tabbar.is-tucked { transform: translateY(calc(100% + 24px + var(--safe-b))); }
  .app-tab { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 0; padding: 0; border: 0; border-radius: 16px; background: transparent; color: #6d6560; font: 600 10.5px/1.1 'Plus Jakarta Sans', Arial, sans-serif; letter-spacing: .01em; text-decoration: none; }
  .app-tab .ui-icon { width: 22px; height: 22px; }
  .app-tab.is-active { background: var(--cream); color: var(--vamos-red); }
  .app-tab.is-active .ui-icon { stroke-width: 2.1; }
  .app-tab--wa .ui-icon { color: var(--wa-green); }
  .app-tab-badge { position: absolute; top: 5px; left: calc(50% + 5px); min-width: 17px; height: 17px; padding: 0 4px; display: grid; place-items: center; border-radius: 9px; background: var(--vamos-red); color: #fff; font-size: 10px; font-weight: 800; }
  .page-property .app-tabbar { display: none; }
  body:not(.page-property) { padding-bottom: calc(var(--tabbar-h) + 22px + var(--safe-b)); }
  body:not(.page-property) .site-footer { padding-bottom: 12px; }
  /* Vee lives in the tab bar below 1100px (property pages have no tab bar). */
  body:not(.page-property) #nzoka-widget-root #nzoka-toggle-btn { display: none !important; }
}
/* Property pages: Vee moves into the booking bar, which only exists below 992px. */
@media (max-width: 991px) {
  body.page-property #nzoka-widget-root #nzoka-toggle-btn { display: none !important; }
}

/* ---------- toast ---------- */
.app-toast { position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + 26px + var(--safe-b)); z-index: 2147483647; display: flex; align-items: center; gap: 14px; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: var(--r-pill); background: #1b1614; color: #fff; font-size: 13px; font-weight: 600; box-shadow: 0 12px 30px rgba(0, 0, 0, .25); transform: translate(-50%, 16px); opacity: 0; transition: opacity .24s ease, transform .24s var(--ease-out); pointer-events: none; }
.app-toast.is-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.app-toast a { color: #ffc9a6; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 1100px) { .app-toast { bottom: 28px; } }
.page-property .app-toast { bottom: calc(86px + var(--safe-b)); }

/* ---------- Vee launcher in Vamos colours (desktop) ---------- */
body #nzoka-widget-root #nzoka-toggle-btn { width: 58px; height: 58px; border: 0; background: var(--vamos-red); color: #fff; box-shadow: 0 10px 26px rgba(143, 27, 31, .32); animation: none; }
body #nzoka-widget-root #nzoka-toggle-btn:hover { transform: translateY(-2px); background: var(--vamos-red-deep); }
body #nzoka-widget-root #nzoka-toggle-btn .nzoka-launcher-svg { width: 26px; height: 26px; color: #fff; }
@media (max-width: 767px) {
  body #nzoka-widget-root #nzoka-chat-wrap { inset: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important; width: 100% !important; max-width: none !important; height: 100dvh !important; border-radius: 0 !important; }
}

/* ---------- shared app pieces ---------- */
.app-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 22px; border: 0; border-radius: var(--r-pill); background: var(--vamos-red); color: #fff !important; font-size: 14px; font-weight: 700; text-decoration: none; }
.app-button:hover { background: var(--vamos-red-deep); }
.app-button--ghost { background: #fff; color: var(--vamos-red) !important; box-shadow: inset 0 0 0 1px var(--sand-strong); }
.app-button--wa { background: var(--wa-green); }
.app-button--wa:hover { background: #166f3e; }
.app-pill { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 15px; border: 1px solid var(--sand-strong) !important; border-radius: var(--r-pill); background: #fff !important; color: var(--ink-soft) !important; font-size: 13px; font-weight: 600; }
.app-pill:hover { border-color: var(--vamos-red) !important; color: var(--vamos-red) !important; transform: none; }
.app-pill.is-saved { background: var(--vamos-red) !important; color: #fff !important; }
.mobile-install { min-height: 44px; margin-top: 8px; padding: 0 16px; border: 1px dashed var(--sand-strong); border-radius: var(--r-pill); background: var(--cream); color: var(--vamos-red); font-weight: 700; }

/* ==========================================================================
   Property page
   ========================================================================== */
.page-property .detail-topline { display: flex; align-items: center; gap: 12px; }
.page-property .app-back { display: none; align-items: center; gap: 4px; min-height: 36px; padding: 0 12px 0 6px; border-radius: var(--r-pill); background: #fff; color: var(--ink-soft); font-size: 12px; font-weight: 700; box-shadow: inset 0 0 0 1px var(--sand); }
.page-property .detail-meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 8px; }
.page-property .detail-meta-row .detail-rating { margin-top: 0; }
.page-property .detail-actions { display: flex !important; gap: 8px; align-items: center; }
.page-property .detail-actions button { min-height: 40px; }

/* ---- closed gallery: the original 5-photo grid stays; only the opened experience changes ---- */
.page-property .top-gallery-section .gallery-tile { cursor: zoom-in; }

/* ---- photo tour (masonry) ---- */
.vg-tour { padding: 0; border: 0; color: var(--ink); background: #fff; }
.vg-tour[open] { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; animation: vg-rise .34s var(--ease-out); }
.vg-tour::backdrop { background: rgba(20, 14, 10, .5); }
@keyframes vg-rise { from { transform: translateY(28px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes vg-fade { from { opacity: 0; } to { opacity: 1; } }
.vg-tour-bar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: calc(12px + env(safe-area-inset-top, 0px)) 20px 12px; border-bottom: 1px solid var(--sand); background: rgba(255, 255, 255, .96); }
.vg-tour-title { min-width: 0; display: grid; gap: 1px; }
.vg-tour-title strong { overflow: hidden; font-size: 15px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; text-overflow: ellipsis; }
.vg-tour-title span { color: var(--muted); font-size: 12px; }
.vg-tour-actions { display: flex; gap: 8px; }
.vg-icon-btn { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid var(--sand-strong); border-radius: 50%; background: #fff; color: var(--ink-soft); }
.vg-icon-btn:hover { border-color: var(--vamos-red); color: var(--vamos-red); }
.vg-icon-btn .ui-icon { width: 20px; height: 20px; }
.vg-tour-body { overflow-y: auto; overscroll-behavior: contain; padding: 28px 24px 40px; -webkit-overflow-scrolling: touch; }
.vg-row { display: flex; align-items: flex-start; gap: 10px; width: 100%; max-width: 980px; margin: 0 auto 10px; }
.vg-tour .vg-tile { position: relative; flex: 1 1 auto; width: auto; height: auto; min-width: 0; padding: 0; border: 0; overflow: hidden; opacity: 1; background: var(--cream); border-radius: var(--r-md); cursor: zoom-in; }
.vg-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vg-tile:hover img { transform: scale(1.025); }
.vg-tile:focus-visible { outline: 3px solid var(--vamos-red); outline-offset: 2px; }
.vg-tour .vg-row--wide .vg-tile { flex: 1 1 100%; aspect-ratio: 3 / 2; }
.vg-tour .vg-row--pair .vg-tile { flex: var(--r, 1.5) 1 0; aspect-ratio: var(--r, 1.5); }
.vg-row--mosaic { display: grid; grid-template-columns: 1.55fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); align-items: stretch; aspect-ratio: 1.75; }
.vg-tour .vg-row--mosaic .vg-tile { width: 100%; height: 100%; }
.vg-row--mosaic .vg-tile:first-child { grid-row: 1 / 3; }
.vg-row--mosaic:nth-of-type(8n+7) { grid-template-columns: 1fr 1.55fr; }
.vg-row--mosaic:nth-of-type(8n+7) .vg-tile:first-child { grid-column: 2; grid-row: 1 / 3; }
.vg-row--mosaic:nth-of-type(8n+7) .vg-tile:not(:first-child) { grid-column: 1; }
.vg-tour-cta { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 20px calc(12px + var(--safe-b)); border-top: 1px solid var(--sand); background: var(--cream); }
.vg-tour-cta > div { display: grid; line-height: 1.3; }
.vg-tour-cta strong { color: var(--vamos-red); font-size: 17px; font-weight: 800; }
.vg-tour-cta > div > span { display: none; }
.vg-tour-cta small { color: var(--muted); font-size: 11.5px; }
.vg-cta-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; border: 0; border-radius: var(--r-pill); background: var(--vamos-red); color: #fff; font-size: 14px; font-weight: 700; white-space: nowrap; }
.vg-cta-btn:hover { background: var(--vamos-red-deep); }
@media (max-width: 767px) {
  .vg-tour-bar { padding-inline: 12px; gap: 10px; }
  .vg-tour-actions .vg-icon-btn { width: 40px; height: 40px; }
  .vg-tour-body { padding: 12px 10px 28px; }
  .vg-row { gap: 6px; margin-bottom: 6px; }
  .vg-tour .vg-tile { border-radius: var(--r-sm); }
  .vg-row--mosaic { aspect-ratio: 1.3; }
  .vg-cta-btn { min-height: 46px; padding: 0 16px; font-size: 13px; }
}

/* ---- single-photo viewer ---- */
.vg-viewer { padding: 0; border: 0; color: #fff; background: #100c0a; }
.vg-viewer[open] { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; overflow: hidden; animation: vg-fade .24s ease; }
.vg-viewer::backdrop { background: #100c0a; }
.vg-viewer-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: calc(10px + env(safe-area-inset-top, 0px)) 16px 10px; }
.vg-viewer-count { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .04em; color: rgba(255, 255, 255, .86); }
.vg-icon-btn--dark { border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08); color: #fff; }
.vg-icon-btn--dark:hover { border-color: #fff; background: rgba(255, 255, 255, .16); color: #fff; }
.vg-viewer-track { display: flex; min-height: 0; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior: contain; }
.vg-viewer-track::-webkit-scrollbar { display: none; }
.vg-viewer-track.is-zoomed { overflow: hidden; }
.vg-slide { flex: 0 0 100%; min-width: 0; height: 100%; margin: 0; padding: 4px 0 8px; display: grid; place-items: center; overflow: hidden; scroll-snap-align: center; scroll-snap-stop: always; }
.vg-slide img { width: auto; height: auto; max-width: min(100%, 1500px); max-height: 100%; object-fit: contain; border-radius: 4px; transition: transform .28s var(--ease-out); cursor: zoom-in; user-select: none; -webkit-user-drag: none; }
.vg-slide img.is-zoomed { cursor: grab; touch-action: none; transition: transform .12s linear; }
/* Keep intrinsic photo dimensions inside the desktop viewer's available row. */
@media (min-width: 768px) {
  .vg-viewer .vg-slide { grid-template: minmax(0, 1fr) / minmax(0, 1fr); min-height: 0; }
  .vg-viewer .vg-slide img { width: auto; height: auto; min-width: 0; min-height: 0; object-position: center; }
}
.vg-nav { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; margin-top: -26px; padding: 0; border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.vg-nav:hover { background: rgba(255, 255, 255, .2); }
.vg-nav--prev { left: 20px; }
.vg-nav--next { right: 20px; }
.vg-viewer-hint { margin: 0; padding: 4px 16px calc(12px + var(--safe-b)); color: rgba(255, 255, 255, .5); font-size: 11.5px; text-align: center; }
@media (max-width: 767px) { .vg-nav { width: 44px; height: 44px; margin-top: -22px; } .vg-nav--prev { left: 10px; } .vg-nav--next { right: 10px; } }

/* ---- content blocks ---- */
.page-property .stay-highlights { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.page-property .stay-highlights li { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 13px; border: 1px solid var(--sand); border-radius: var(--r-pill); background: #fff; color: var(--ink-soft); font-size: 13px; font-weight: 600; }
.page-property .stay-highlights .ui-icon { width: 17px; height: 17px; color: var(--vamos-red); }
.page-property .vamos-host-line { display: flex; align-items: center; gap: 12px; color: var(--ink-soft); font-size: 15px; }
.page-property .vamos-host-line > span:last-child { display: grid; gap: 2px; }
.page-property .vamos-host-line small { color: var(--muted); font-size: 12.5px; font-weight: 400; }
.page-property .vamos-host-mark { flex: 0 0 48px; width: 48px; height: 48px; overflow: hidden; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--sand), var(--shadow-soft); }
.page-property .vamos-host-mark img { width: 100%; height: 100%; object-fit: contain; }
.page-property .property-accomodation-detals-v5 { display: none; }
.page-property .detail-list li strong { font-variant-numeric: tabular-nums; }
.page-property .detail-list .detail-ref { opacity: .8; }
.page-property .area-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border: 1px solid var(--sand); border-radius: var(--r-lg); background: linear-gradient(135deg, #fcf6ec 0%, #fff 100%); }
.page-property .area-card-pin { flex: 0 0 48px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--r-md); background: #fff; color: var(--vamos-red); box-shadow: var(--shadow-soft); }
.page-property .area-card strong { font-size: 16px; letter-spacing: -.02em; }
.page-property .area-card p { margin: 4px 0 10px; color: var(--muted); font-size: 13.5px; }
.page-property .area-card a { color: var(--vamos-red); font-size: 13px; font-weight: 700; }
.page-property .map-section .block-body { display: grid; gap: 18px; }
.page-property .terms-list strong { font-weight: 600; }
.page-property .similar-section > h2 { text-wrap: balance; }

/* ---- booking card: unchanged behaviour; phone booking bar restyled only ---- */
@media (max-width: 991px) {
  .page-property .mobile-booking-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px calc(12px + var(--safe-b)); border-top: 1px solid var(--sand); background: rgba(252, 246, 236, .96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 -6px 22px rgba(46, 30, 16, .08); }
  .page-property .mobile-booking-bar strong { color: var(--ink); font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
  .page-property .mobile-booking-actions { display: flex; align-items: center; gap: 8px; }
  .page-property .mobile-booking-bar button[data-scroll-to-enquiry] { min-height: 48px; padding: 0 22px; border-radius: var(--r-pill); background: var(--vamos-red); font-size: 14px; font-weight: 700; }
  .page-property .booking-bar-vee { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--sand-strong); border-radius: 50%; background: #fff; color: var(--vamos-red); }
  .page-property .booking-bar-vee[hidden] { display: none; }
  .page-property .site-footer { padding-bottom: calc(96px + var(--safe-b)); }
  .page-property .app-back { display: inline-flex; }
  .page-property .detail-topline .breadcrumbs { display: none; }
}
@media (min-width: 992px) { .page-property .booking-bar-vee { display: none !important; } }
@media (max-width: 600px) {
  .page-property .title-section { padding: 16px 18px 20px; }
  .page-property .detail-actions { margin-top: 14px; }
  .page-property .detail-actions .app-pill { min-height: 38px; padding: 0 13px; font-size: 12.5px; }
}

/* ==========================================================================
   Search results
   ========================================================================== */
.page-catalog .archive-count { font-family: inherit; }
.page-catalog .sort-select { border-radius: var(--r-pill); }
body .mobile-search-dialog[open] { animation: vg-rise .3s var(--ease-out); }
@media (max-width: 767px) {
  body .mobile-search-dialog[open] { width: 100%; max-width: 100%; margin: auto 0 0; border-radius: 26px 26px 0 0; max-height: 92dvh; overflow-y: auto; padding-bottom: var(--safe-b); }
  body .mobile-search-dialog .mobile-search-dialog-inner::before { content: ''; display: block; width: 42px; height: 5px; margin: -10px auto 14px; border-radius: 3px; background: var(--sand-strong); }
  body .mobile-search-dialog::backdrop { background: rgba(20, 14, 10, .5); }
}

/* ==========================================================================
   Saved + offline pages
   ========================================================================== */
.app-page { min-height: 60vh; }
.app-page-head { padding: 48px 0 20px; }
.app-page-head h1 { margin-top: 6px; font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; letter-spacing: -.045em; }
.app-page-lede { max-width: 560px; margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.saved-shell { padding-bottom: 64px; }
.saved-grid { margin-top: 12px; }
.saved-grid.is-loading { min-height: 240px; border-radius: var(--r-lg); background: linear-gradient(90deg, #f6efe4 0%, #fcf6ec 50%, #f6efe4 100%); background-size: 200% 100%; animation: vamos-shimmer 1.2s linear infinite; }
@keyframes vamos-shimmer { to { background-position: -200% 0; } }
.saved-card .property-image { aspect-ratio: 1.5; }
.saved-card .property-image img { width: 100%; height: 100%; object-fit: cover; }
.saved-card .property-body { padding: 14px 4px 6px; }
.saved-card .property-title { font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
.saved-card .property-location, .saved-card .property-facts { color: var(--muted); font-size: 12.5px; }
.saved-empty { display: grid; justify-items: center; gap: 12px; max-width: 460px; margin: 24px auto; padding: 40px 28px; border: 1px dashed var(--sand-strong); border-radius: var(--r-xl); background: var(--cream); text-align: center; }
.saved-empty[hidden] { display: none; }
.saved-empty-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--vamos-red); box-shadow: var(--shadow-soft); }
.saved-empty h2 { font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.saved-empty p { color: var(--muted); }
.saved-share { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; padding: 20px 22px; border-radius: var(--r-xl); background: var(--cream); }
.saved-share[hidden] { display: none; }
.saved-share p { max-width: 520px; color: var(--ink-soft); }
.offline-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
