/* Accommodation uses Discover's shared palette, headings, carousel and list proportions. */
html:has(.stays-page) { height: auto; min-height: 100%; overflow-x: hidden; overflow-y: auto !important; }
body:has(.stays-page) {
    --stay-bg: var(--evont-web-background, #fff);
    --stay-surface: var(--evont-web-surface, #fff);
    --stay-raised: var(--evont-web-raised, #f5f5f5);
    --stay-text: var(--evont-web-text, #111);
    --stay-muted: var(--evont-web-muted, #737373);
    --stay-line: var(--evont-web-border, #00000014);
    --stay-pink: var(--evont-pink, #fe187d);
    height: auto; min-height: 100vh; margin: 0; background: var(--stay-bg); color: var(--stay-text);
    font-family: 'Poppins', sans-serif; overflow-x: clip; overflow-y: visible !important; touch-action: auto;
}
.stays-page { width: min(1376px, 90%); margin: 0 auto; padding: 150px 0 48px; }
.stays-page *, .stays-directory-sheet * { box-sizing: border-box; }
.stays-page h1, .stays-page h2, .stays-page h3, .stays-page p { display: block; margin: 0; }
.stays-page button, .stays-page select, .stays-directory-sheet button { font-family: inherit; }
.stays-page a { color: inherit; text-decoration: none; }
.stays-page [hidden] { display: none !important; }
.stays-rail, .stays-directory-sheet .ng-mobile-accommodation-modal-content { -webkit-overflow-scrolling: touch; touch-action: auto; }
.stays-page :is(a, button, select, [tabindex]):focus-visible, .stays-directory-sheet :is(a, button, [tabindex]):focus-visible { outline: 2px solid var(--stay-pink) !important; outline-offset: 3px; }
.stays-intro { padding: 0 0 28px; }
.stays-total { font-size: 10px; font-weight: 400; text-transform: uppercase; color: var(--stay-muted); }
.stays-intro h1 { margin-top: 4px; font-size: 38px; font-weight: 800; text-transform: uppercase; line-height: 1; }
.stays-city { display: flex !important; align-items: center; gap: 6px; margin-top: 8px !important; font-size: 13px; font-weight: 700; text-transform: uppercase; }
.stays-eyebrow { font-size: 10px; font-weight: 700; line-height: 1.4; text-transform: uppercase; color: var(--stay-pink); }
/* Same simple, separate selector surfaces as Discover's city selector. */
.stays-filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin: 0 0 32px; }
.stays-filters label { display: grid; gap: 6px; flex: 1; min-width: 0; }
.stays-filters label > span { font-size: 10px; color: var(--stay-muted); }
.stays-filters select { width: 100%; min-height: 46px; padding: 12px; border: 1px solid var(--stay-line); border-radius: 6px; background: var(--stay-raised); color: var(--stay-text); font-size: 13px; font-weight: 600; cursor: pointer; color-scheme: inherit; }
.stays-filters > button { min-height: 46px; padding: 12px 22px; border: 0; border-radius: 6px; background: var(--stay-pink); color: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase; cursor: pointer; }
.stays-filters > button > span { margin-left: 12px; }
.stays-clear { padding: 12px 0; font-size: 11px; text-decoration: underline !important; color: var(--stay-muted) !important; }
.stays-section { margin: 0 0 36px; scroll-margin-top: 120px; }
.stays-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.stays-section-heading > div:first-child { padding-left: 12px; border-left: 1px solid var(--stay-pink); }
.stays-section-heading .stays-eyebrow { display: none; }
.stays-section h2 { font-size: 24px; font-weight: 900; text-transform: uppercase; line-height: 1.1; color: var(--stay-text); }
.stays-carousel-nav { display: flex; gap: 8px; }
.stays-carousel-nav button { width: 36px; height: 36px; padding: 0; border: 1px solid var(--stay-line); border-radius: 6px; background: var(--stay-surface); color: var(--stay-text); font-size: 19px; cursor: pointer; }
.stays-carousel-nav button:hover { background: var(--stay-raised); }
.stays-carousel-nav button:disabled { opacity: .3; cursor: default; }
.stays-rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; padding-bottom: 12px; }
.stays-rail::-webkit-scrollbar { display: none; }
.stays-rail-hint { display: none !important; }
.stays-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
/* Property cards keep EVONT's palette with landscape photos and practical stay details. */
.stay-card { position: relative; display: flex; flex-direction: column; width: 100%; min-width: 0; margin: 0; padding: 0; border: 1px solid var(--stay-line); border-radius: 12px; background: var(--stay-surface); color: var(--stay-text); text-align: left; cursor: pointer; overflow: hidden; scroll-snap-align: start; box-shadow: var(--evont-box-shadows, 0 2px 7px #0000000d); transition: border-color .2s, transform .2s ease-out; }
.stay-card:hover { border-color: var(--stay-pink); }
.stay-card:active { transform: scale(.98); }
.stay-card-media { position: relative; display: block; flex: none; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: var(--stay-raised); }
.stay-card-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.stay-card-placeholder { display: grid; place-items: center; height: 100%; font-size: 44px; color: var(--stay-muted); }
.stay-card svg { display: inline-block; width: 14px; height: 14px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.stay-card-type, .stay-card-badge, .stay-card-photo-count { position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: 5px; padding: 6px 9px; border-radius: 6px; font-size: 10px; font-weight: 600; line-height: 1.3; }
.stay-card-type { top: 12px; left: 12px; background: #fffef5f2; color: #24242d; }
.stay-card-badge { top: 12px; right: 12px; background: var(--stay-pink); color: #fff; }
.stay-card--featured .stay-card-badge { background: #f3e4b9; color: #51421d; }
.stays-section--promoted .stay-card-badge { background: var(--stay-pink); color: #fff; }
.stay-card-photo-count { bottom: 10px; right: 10px; background: #101014b8; color: #fff; font-size: 9px; font-weight: 500; }
.stay-card-photo-count svg { width: 12px; height: 12px; }
.stay-card-body { display: flex; flex-direction: column; flex: 1; min-width: 0; width: 100%; padding: 18px; }
.stay-card-body > strong { color: inherit; font-size: 19px; font-weight: 650; line-height: 1.3; overflow-wrap: anywhere; }
.stay-card-location { display: flex; align-items: center; gap: 5px; margin-top: 8px; color: var(--stay-muted); font-size: 11px; font-weight: 500; }
.stay-card-location svg { color: var(--stay-pink); }
.stay-card-address { display: block; margin-top: 3px; padding-left: 19px; font-size: 10px; color: var(--stay-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stay-card-amenities { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 16px 0; color: var(--stay-muted); font-size: 10px; }
.stay-card-amenities:empty { display: none; }
.stay-card-amenities > span { display: inline-flex; align-items: center; gap: 5px; }
.stay-card-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--stay-line); }
.stay-card-price b { font-size: 23px; font-weight: 700; letter-spacing: -.03em; }
.stay-card-price small { font-size: 10px; color: var(--stay-muted); }
.stay-card-more { display: inline-flex; align-items: center; gap: 12px; margin-left: auto; padding: 8px 11px; border-radius: 6px; background: var(--stay-raised); font-size: 10px; font-weight: 600; color: var(--stay-pink); }
.stay-card--featured .stay-card-media { aspect-ratio: 4 / 3; }
.stays-result-count { color: var(--stay-muted); font-size: 10px; white-space: nowrap; }
.stays-pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 28px 0 0; }
.stays-pagination .page-numbers { display: grid; place-items: center; min-width: 40px; min-height: 40px; padding: 10px; border: 1px solid var(--stay-line); border-radius: 6px; color: var(--stay-text); font-size: 11px; }
.stays-pagination .current { background: var(--stay-pink); color: #fff; }
.stays-empty { padding: 36px 20px; background: var(--stay-surface); border-radius: 6px; text-align: center; }
.stays-empty > span { color: var(--stay-pink); font-size: 36px; }
.stays-empty h3 { margin: 12px 0; font-size: 18px; font-weight: 800; text-transform: uppercase; }
.stays-empty p { color: var(--stay-muted); font-size: 12px; }
.stays-empty a { display: inline-block; margin-top: 16px; color: var(--stay-pink); font-size: 12px; }
.stays-owner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px; border-radius: 6px; background: var(--stay-raised); }
.stays-owner h2 { font-size: 24px; font-weight: 800; line-height: 1.1; text-transform: uppercase; }
.stays-owner p { margin-top: 10px !important; color: var(--stay-muted); font-size: 12px; line-height: 1.6; }
.stays-owner button { padding: 12px 20px; border: 0; border-radius: 6px; background: var(--stay-pink); color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; white-space: nowrap; cursor: pointer; }
html.stays-detail-open { overflow: hidden !important; }
html.stays-detail-open body { overflow: hidden !important; }
html.ng-contact-modal-open:has(.stays-page),
html.ng-contact-modal-open body:has(.stays-page) { overflow: hidden !important; }
.stays-noscript { margin: 24px; color: var(--stay-muted); font-size: 13px; text-align: center; }

@media (max-width: 1024px) {
    .stays-rail { grid-auto-columns: 43%; gap: 20px; }
    .stays-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .stays-page { width: 90%; padding: 22vw 0 8vw; }
    .stays-intro { padding: 0 0 5vw; }
    .stays-total { font-size: 2vw; }
    .stays-intro h1 { margin-top: 0; font-size: 7vw; }
    .stays-city { margin-top: 4px !important; gap: 1.5vw; font-size: 3vw; }
    .stays-filters { gap: 10px; margin-bottom: 6vw; }
    .stays-filters label { flex: 1 1 calc(50% - 5px); }
    .stays-filters label > span { font-size: 2.3vw; }
    .stays-filters select { font-size: 3vw; padding: 12px 8px; }
    .stays-filters > button { flex: 1 1 100%; font-size: 3vw; }
    .stays-clear { width: 100%; padding: 0; font-size: 2.5vw; }
    .stays-section { margin-bottom: 6vw; }
    .stays-section-heading { margin-bottom: 2.5vw; gap: 10px; }
    .stays-section-heading > div:first-child { padding-left: 3vw; }
    .stays-section h2 { font-size: 5vw; }
    .stays-carousel-nav { gap: 5px; flex-shrink: 0; }
    .stays-carousel-nav button { width: 30px; height: 30px; font-size: 16px; }
    .stays-rail { width: 100vw; margin-left: -5vw; padding: 2.5vw 5vw 5vw; grid-auto-columns: 76vw; gap: 6vw; scroll-padding-left: 5vw; }
    .stays-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .stay-card-body { padding: 16px; }
    .stay-card-body > strong { font-size: 18px; }
    .stay-card-amenities { gap: 8px 12px; }
    .stay-card-price b { font-size: 22px; }
    .stays-result-count { font-size: 2.3vw; }
    .stays-owner { display: block; padding: 5vw; }
    .stays-owner h2 { font-size: 4.5vw; }
    .stays-owner p { font-size: 3vw; }
    .stays-owner button { margin-top: 16px; width: 100%; font-size: 3vw; }
}
@media (prefers-reduced-motion: reduce) { .stay-card { transition: none; } }

/* Paid listings retain the 2-column, 12-item paging with shared NG cards. */
.stays-rail.stays-rail--pages { width: 100%; margin-left: 0; padding: 0 0 12px; grid-auto-columns: 100%; gap: 20px; scroll-padding-left: 0; }
.stays-paid-page { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; min-width: 0; align-content: start; scroll-snap-align: start; }
.stays-paid-counter { margin-top: 10px !important; color: var(--stay-muted); font-size: 11px; text-align: center; }

/* The directory opens NG's actual info sheet inside a native modal. */
.stays-directory-sheet { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; font-family: inherit; }
.stays-directory-sheet::backdrop { background: rgb(4 4 7 / 78%); }
.stays-directory-sheet h2, .stays-directory-sheet h3 { display: block; }
@media (min-width: 769px) {
    .stays-directory-sheet { width: min(760px, calc(100% - 48px)); height: 90dvh; margin: auto; border-radius: 24px; }
    .stays-directory-sheet .ng-mobile-accommodation-modal-panel { width: 100%; height: 90dvh; }
    .stays-directory-sheet .ng-mobile-accommodation-modal-content { height: 90dvh; }
    .stays-directory-sheet .ng-mobile-accommodation-modal-close { width: 40px; height: 40px; top: 16px; right: 16px; border-width: 1px; font-size: 26px; }
    .stays-directory-sheet .ng-mobile-accommodation-detail-hero { min-height: 340px; }
    .stays-directory-sheet .ng-mobile-accommodation-detail-hero-copy { padding: 32px; }
    .stays-directory-sheet .ng-mobile-accommodation-detail-hero-copy > p { font-size: 12px; letter-spacing: 1px; }
    .stays-directory-sheet .ng-mobile-accommodation-detail-hero-copy > h2 { margin-top: 10px; font-size: 42px; }
    .stays-directory-sheet .ng-mobile-accommodation-detail-hero-copy > span { margin-top: 12px; font-size: 14px; }
    .stays-directory-sheet .ng-mobile-accommodation-detail-body { padding: 28px 32px 40px; }
    .stays-directory-sheet .ng-mobile-accommodation-detail-description { font-size: 14px; }
    .stays-directory-sheet .ng-mobile-accommodation-detail-amenities { margin-top: 28px; }
    .stays-directory-sheet .ng-mobile-accommodation-detail-amenities > h3 { margin-bottom: 12px; font-size: 18px; }
    .stays-directory-sheet .ng-mobile-accommodation-detail-amenity-list { gap: 8px; }
    .stays-directory-sheet .ng-mobile-accommodation-detail-amenity-list > span { padding: 8px 12px; font-size: 12px; }
    .stays-directory-sheet .ng-mobile-accommodation-detail-price { margin-top: 28px; padding: 20px; border-radius: 16px; }
    .stays-directory-sheet .ng-mobile-accommodation-detail-price > small { font-size: 11px; }
    .stays-directory-sheet .ng-mobile-accommodation-detail-price > strong { margin-top: 4px; font-size: 28px; }
    .stays-directory-sheet .ng-mobile-accommodation-detail-facts { margin-top: 16px; }
    .stays-directory-sheet .ng-mobile-accommodation-detail-facts > div { padding: 12px 2px; gap: 12px; border-width: 1px; }
    .stays-directory-sheet .ng-mobile-accommodation-detail-facts dt, .stays-directory-sheet .ng-mobile-accommodation-detail-facts dd { font-size: 13px; }
    .stays-directory-sheet .ng-mobile-accommodation-detail-actions { margin-top: 24px; gap: 8px; }
    .stays-directory-sheet .ng-mobile-accommodation-detail-actions > a { min-height: 48px; padding: 12px 16px; border-width: 1px; font-size: 14px; }
}
