/* Shared primitives stay in layers; this file owns all three catalog layouts. */
@import url('/housing/tourism.css?v=20261004-redesign1') layer(base);
@import url('/shared/interface.css?v=20261103-consistency');

.catalog-page{background:#f6f8fb;color:#182638;--tw-accent:#285cf4}
.catalog-page .tourism-wrap{width:min(1400px,calc(100% - 64px))}
.catalog-page .catalog-hero{height:144px;min-height:144px;background:#34526a;overflow:hidden}
.catalog-page .catalog-hero>img{object-position:center 55%;opacity:0}
.catalog-page .catalog-hero>img[data-ready]{opacity:1}
.catalog-page .catalog-hero:after{background:linear-gradient(90deg,#112538b8,#11253824 85%)}
.catalog-page .catalog-hero-copy{padding:32px 0}
.catalog-page .catalog-hero h1{font-size:30px;line-height:1.2;max-width:730px;margin:0 0 8px;letter-spacing:0}
.catalog-page .catalog-hero #catalog-intro{display:block;font-size:15px;line-height:1.5;max-width:550px;margin:0;color:#fff}
.catalog-page .housing-promises,.catalog-page .catalog-hero .tourism-eyebrow,.catalog-page .housing-discovery,.catalog-page .activity-filter-help,.catalog-page .activity-trip-banner,.catalog-page .catalog-price-note{display:none}
.catalog-page .catalog-searchbar{width:100%;max-width:100%;margin:0;padding:20px 0 16px;gap:12px;box-shadow:none;border:0;border-bottom:1px solid #dce2e9;border-radius:0;background:transparent;grid-template-columns:minmax(140px,1.3fr) repeat(3,minmax(130px,1fr)) 160px}
.catalog-page:not([data-catalog-category=apartments]) .catalog-searchbar{grid-template-columns:minmax(140px,1.3fr) repeat(2,minmax(130px,1fr)) 160px}
.catalog-page .catalog-searchbar>.btn{height:44px;white-space:nowrap}
.catalog-page .catalog-heading{gap:14px;margin:16px 0;min-height:44px}
.catalog-page .catalog-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;align-items:start}
.catalog-page .catalog-results{min-width:0;width:100%}
.catalog-page .catalog-filter-drawer{position:fixed;inset:0 0 0 auto;margin:0;width:min(400px,100%);height:100dvh;max-height:100dvh;max-width:100%;border:0;padding:24px;background:#fff;color:#182638;overflow:auto}
.catalog-filter-drawer::backdrop{background:#18263866}
.filter-drawer-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}
.filter-drawer-head h2{font-size:19px;margin:0}
.filter-drawer-head button{width:40px;height:40px;padding:0;font-size:22px}
.catalog-page .catalog-sidebar{padding:0;border:0;background:none;width:100%}
.catalog-page .catalog-sidebar>label{margin-bottom:16px}
.filter-drawer-apply{position:sticky;bottom:-24px;padding:16px 0;background:#fff;margin-top:20px}
.filter-drawer-apply button{width:100%}
.catalog-page .tw-listings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.catalog-page .tw-listing{display:flex;flex-direction:column;min-height:0;border-radius:8px;box-shadow:none;min-width:0}
.catalog-page .tw-listing-photo{height:auto;min-height:0;aspect-ratio:1.55;flex:none;border-radius:7px 7px 0 0;overflow:hidden}
.catalog-page .tw-listing-body{padding:18px;gap:10px;min-width:0}
.catalog-page .tw-listing-body h3{font-size:18px;line-height:1.35;font-weight:600;margin:0}
.catalog-page .tw-listing-meta{font-size:13px;line-height:1.5;margin:0;color:#607086}
.catalog-page .tw-price{font-size:19px;font-weight:600;margin:auto 0 0;padding-top:6px}
.catalog-page .tw-listing-body>.tw-owner{display:none}
.catalog-page .tw-category-label{left:12px;top:12px;border-radius:4px;padding:5px 9px;max-width:calc(100% - 72px)}
.catalog-page .tw-listing-actions{display:flex;margin-top:4px;gap:10px}
.catalog-page .tw-listing-actions button{display:none}
.catalog-page .tw-listing-actions a{flex:1;justify-content:center;min-height:40px;background:#285cf4;color:#fff}
.catalog-page .compare-toggle{width:auto;align-self:center;border:0;background:none;min-height:32px;padding:4px 8px;margin:0;color:#607086;font-size:12px}
.catalog-page .compare-toggle[aria-pressed=true]{color:#285cf4;background:#edf3ff}
.housing-features{display:flex;flex-wrap:wrap;gap:6px 12px;list-style:none;margin:0;padding:0;min-height:20px;font-size:12px;color:#607086}
.housing-features li{display:flex;align-items:center;gap:5px}
.housing-features svg{width:15px;height:15px;flex:none}
.catalog-favorite{position:absolute;top:10px;right:10px;width:40px;height:40px;border-radius:50%;border:1px solid #dfe5ec;background:#fff;display:grid;place-items:center;cursor:pointer;z-index:2;color:#182638}
.catalog-favorite svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8}
.catalog-favorite[aria-pressed=true]{color:#285cf4;background:#edf3ff}
.catalog-page .tw-admin-menu{top:56px}
.catalog-availability{font-size:12px;color:#28734f;margin:0}
.catalog-availability.is-unknown{color:#607086}
.catalog-page .housing-photo-nav{position:absolute;top:90px;width:44px;height:44px;border:1px solid #ffffff88;border-radius:50%;background:#fffffff0;display:grid;place-items:center;cursor:pointer;opacity:0;transition:opacity .16s}
.catalog-page .housing-photo-nav svg{width:18px;height:18px}
.catalog-page .housing-photo-nav.is-prev{left:10px}
.catalog-page .housing-photo-nav.is-next{left:auto;right:10px}
.catalog-page .tw-listing:hover .housing-photo-nav,.catalog-page .tw-listing:focus-within .housing-photo-nav{opacity:1}
.housing-photo-count{position:absolute;bottom:10px;right:12px;background:#152638b3;color:white;padding:2px 7px;border-radius:4px;font-size:11px}
.catalog-page .tourism-empty{border-radius:8px;min-height:240px}
.catalog-page .catalog-unit{grid-column:1/-1}
.catalog-page .comparison{border-radius:8px;margin-top:0}
.catalog-page .tourism-footer{margin-top:48px}
.catalog-page .tourism-footer-col strong{text-transform:none;letter-spacing:0}
.catalog-page #catalog-date-status:empty{display:none}
@media(min-width:1100px){
 .catalog-page .catalog-layout.has-filters{grid-template-columns:220px minmax(0,1fr)}
 .catalog-page .catalog-filter-drawer{position:sticky;inset:auto;top:96px;align-self:start;margin:0;width:100%;height:auto;max-height:calc(100dvh - 112px);padding:0 12px 12px 0;border-right:1px solid #dce2e9;background:transparent}
 .filter-drawer-apply{display:none}
}
@media(max-width:1099px){
 .catalog-page .catalog-searchbar,.catalog-page:not([data-catalog-category=apartments]) .catalog-searchbar{width:100%;max-width:100%;grid-template-columns:repeat(4,minmax(0,1fr))}
 .catalog-page .catalog-searchbar>.btn{grid-column:1/-1}
 .catalog-page:not([data-catalog-category=apartments]) .catalog-searchbar>label:nth-of-type(2){grid-column:span 2}
 .catalog-page .tw-listings{grid-template-columns:repeat(2,minmax(0,1fr))}
 .catalog-page .housing-photo-nav{opacity:1}
}
@media(max-width:800px){
 .catalog-page .site-header .site-header__inner{gap:8px}
 .catalog-page .site-header .site-header__brand{margin-right:auto;font-size:23px}
 .catalog-page .site-header .site-notifications{margin-left:0}
}
@media(max-width:360px){
 .catalog-page .site-header .site-header__inner{gap:4px}
 .catalog-page .site-header .site-header__brand{font-size:21px;gap:5px}
 .catalog-page .site-header .site-header__brand img{width:24px}
}
@media(max-width:650px){
 .catalog-page .tourism-wrap{width:calc(100% - 32px)}
 .catalog-page .catalog-hero{height:128px;min-height:128px}
 .catalog-page .catalog-hero h1{font-size:24px;line-height:1.2;max-width:450px}
 .catalog-page .catalog-hero #catalog-intro{font-size:13px;max-width:330px}
 .catalog-page .catalog-hero-copy{padding:24px 0}
 .catalog-page .catalog-searchbar,.catalog-page:not([data-catalog-category=apartments]) .catalog-searchbar{grid-template-columns:repeat(2,minmax(0,1fr));padding:16px 0;gap:12px;margin-top:0}
 .catalog-page:not([data-catalog-category=apartments]) .catalog-searchbar>label:nth-of-type(2){grid-column:auto}
 .catalog-page:not([data-catalog-category=apartments]) .catalog-searchbar>label:first-child{grid-column:1/-1}
 .catalog-page .catalog-searchbar input,.catalog-page .catalog-searchbar select{font-size:14px;padding:10px 8px}
 .catalog-page .catalog-heading{display:grid;grid-template-columns:auto 1fr 40px;gap:10px;margin:18px 0 16px}
 .catalog-page .tourism-count{grid-column:1/-1;grid-row:1;font-size:17px}
 .catalog-page #toggle-filters{min-width:0;font-size:12px;padding:8px 10px;min-height:44px}
 .catalog-page .catalog-sort{display:block;min-width:0}
 .catalog-page .catalog-sort span{display:none}
 .catalog-page .catalog-sort select{width:100%;font-size:12px;padding:10px 8px}
 .catalog-page .catalog-refresh{width:40px;min-height:44px}
 .catalog-page .tw-listings{grid-template-columns:minmax(0,1fr);gap:18px}
 .catalog-page .tw-listing-photo{height:auto;min-height:0;aspect-ratio:1.5}
 .catalog-page .tw-listing-body{padding:16px}
 .catalog-page .tourism-footer{display:grid;grid-template-columns:1fr 1fr;gap:24px}
 .catalog-page .tourism-footer-brand{grid-column:1/-1}
 .catalog-page .tourism-footer-col{min-width:0}
}
@media(prefers-reduced-motion:reduce){.catalog-page *{scroll-behavior:auto!important;transition:none!important}}

/* A stable card frame also reserves space while network requests are pending. */
.catalog-page .tw-listing-body{display:flex;flex-direction:column;flex:1}
.catalog-page .tw-listing-body h3{min-height:2.7em;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.catalog-page .housing-features{display:grid;grid-template-columns:1fr;align-content:start;gap:5px;min-height:66px}
.catalog-page .housing-features li{line-height:18px;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}
.catalog-page .housing-features svg{display:inline-block;vertical-align:-3px;margin-right:5px}
.catalog-page .tw-listing-actions a,.catalog-page .compare-toggle{min-height:44px}
.catalog-page .tw-listing-photo{background:#e8edf3;position:relative}
.catalog-page .tw-listing-photo img{width:100%;height:100%;object-fit:cover}
.catalog-page .tw-listing-photo img[hidden]{display:none}
.catalog-page .tw-photo-error{position:absolute;inset:0;display:grid;place-items:center;color:#64748b;font-size:13px}
.catalog-media{position:relative;aspect-ratio:1.55;flex:none}
.catalog-page .catalog-media .tw-listing-photo{height:100%;width:100%;aspect-ratio:auto}
.catalog-page .catalog-media .housing-photo-nav{top:50%;transform:translateY(-50%);z-index:2}
.catalog-skeleton{border:1px solid #e0e6ef;border-radius:8px;overflow:hidden;background:white;min-height:400px}
.skeleton-photo{aspect-ratio:1.55;background:#e5eaf1}
.skeleton-lines{height:175px;margin:20px;background:linear-gradient(#e9eef5,#e9eef5) 0 0/85% 18px no-repeat,linear-gradient(#e9eef5,#e9eef5) 0 32px/55% 14px no-repeat,linear-gradient(#e9eef5,#e9eef5) 0 64px/65% 14px no-repeat,linear-gradient(#e9eef5,#e9eef5) 0 115px/45% 22px no-repeat}
.catalog-retry{margin-left:12px;background:none;border:0;color:#245bea;text-decoration:underline;min-height:44px;cursor:pointer;font:inherit}
.catalog-page .catalog-results{min-height:440px}
@media(max-width:650px){.catalog-media{aspect-ratio:1.5}.catalog-page .tw-listing-body h3{min-height:0}.catalog-page .housing-features{min-height:0}}
