/* House catalog only: shared card, compact homepage showcase and single page. */
.wwh-page,.wwh-home{color:var(--ww-color-ink);font-family:var(--ww-font-family);--wwh-muted:var(--ww-color-text-muted);--wwh-border:var(--ww-color-border)}
.wwh-page .screen-reader-text,.wwh-home .screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.wwh-page{padding-top:calc(var(--ww-header-height) + 24px);padding-bottom:64px}
.wwh-container{width:min(1380px,calc(100% - 32px));margin-inline:auto}
.wwh-breadcrumbs{font-size:13px;color:var(--wwh-muted);margin:20px 0 32px;overflow-wrap:anywhere}
.wwh-breadcrumbs a{text-decoration:underline;text-underline-offset:3px}
.wwh-heading{margin:0 0 32px;max-width:850px}
.wwh-page h1{font:400 clamp(38px,5vw,70px)/1.08 var(--ww-serif);letter-spacing:-.035em;margin:0 0 20px}
.wwh-page h2{font:400 clamp(28px,3vw,42px)/1.12 var(--ww-serif);margin:0 0 24px}
.wwh-page p{line-height:1.65}.wwh-eyebrow{font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--wwh-muted)}
.wwh-home-grid,.wwh-catalog-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:20px}
.wwh-card{min-width:0;display:flex;flex-direction:column;background:var(--ww-color-surface);border:1px solid var(--wwh-border);border-radius:var(--ww-radius,12px);overflow:hidden;box-shadow:var(--ww-shadow-sm)}
.wwh-card__media{display:block;aspect-ratio:1.7;overflow:hidden;background:var(--ww-color-surface-muted)}
.wwh-cover{display:block;width:100%;height:100%;object-fit:cover}
.wwh-placeholder{width:100%;height:100%;min-height:150px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:18px;padding:24px;color:var(--ww-color-brand);background:linear-gradient(140deg,var(--ww-color-canvas),var(--ww-color-surface-muted))}
.wwh-placeholder>span{font:400 clamp(27px,3vw,48px)/1.1 var(--ww-serif);overflow-wrap:anywhere}.wwh-placeholder small{font-size:12px;max-width:24ch;line-height:1.5;color:var(--wwh-muted)}
.wwh-card__body{display:flex;flex-direction:column;flex:1;padding:16px;position:relative}
.wwh-card .wwh-card__title{font:400 clamp(25px,2.2vw,36px)/1.1 var(--ww-serif);margin:0 0 8px;letter-spacing:-.02em}
.wwh-card__title a:hover{text-decoration:underline;text-underline-offset:4px}
.wwh-summary{font-size:13px;line-height:1.5!important;color:var(--wwh-muted);margin:0 0 14px;max-width:60ch}
.wwh-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px;padding:0;margin:0 0 16px}
.wwh-facts>div{min-width:0;display:grid;grid-template-columns:20px minmax(0,1fr);column-gap:7px;row-gap:2px;align-content:start}
.wwh-facts svg{grid-column:1;grid-row:1/3;width:20px;height:20px;margin-top:5px;color:var(--ww-color-brand)}
.wwh-facts dt{grid-column:2;grid-row:2;font-size:10px;color:var(--wwh-muted);line-height:1.25}
.wwh-facts dd{grid-column:2;grid-row:1;margin:0;font-size:13px;font-weight:500;line-height:1.3;white-space:nowrap}
.wwh-fact-unit{font-size:.85em}.wwh-card__link{margin-top:auto}
@media(min-width:768px){.wwh-facts{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.wwh-facts>div{grid-template-columns:17px minmax(0,1fr);column-gap:5px}.wwh-facts svg{width:17px;height:17px}.wwh-facts dd{font-size:12px}.wwh-facts dt{font-size:9px}}
@media(min-width:1024px){.wwh-home .wwh-card:not(.wwh-card--featured) .wwh-card__body{padding:16px 14px}.wwh-home .wwh-card:not(.wwh-card--featured) .wwh-summary{font-size:12px}.wwh-home .wwh-card:not(.wwh-card--featured) .wwh-facts{gap:5px}}
.wwh-card__link,.wwh-all{display:flex;align-items:center;justify-content:center;gap:12px;border:1px solid var(--ww-color-border-strong);border-radius:999px;min-height:46px;font-size:14px;padding:10px 16px;color:var(--ww-color-brand);transition:background var(--ww-duration-base)}
.wwh-card__link:hover,.wwh-all:hover{background:var(--ww-color-surface-muted)}
.wwh-all{white-space:nowrap}.wwh-home .wwh-all{align-self:flex-end}.wwh-home .whs-houses__heading{flex-wrap:wrap}
.wwh-popular{position:absolute;top:-48px;left:16px;padding:8px 14px;background:var(--ww-color-brand);color:white;font-size:10px;text-transform:uppercase;border-radius:999px}
.wwh-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:20px;background:var(--ww-color-surface-muted);border-radius:var(--ww-radius);align-items:end}
.wwh-filter-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:24px 0 16px;flex-wrap:wrap}
.wwh-filter-controls .wwh-count{margin:0}
.wwh-filter-toggle{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;padding:10px 16px;background:var(--ww-color-surface);color:var(--ww-color-brand);border:1px solid var(--ww-color-border-strong);border-radius:999px;font:inherit;font-size:14px}
.wwh-filter-badge{display:grid;place-items:center;min-width:22px;height:22px;padding-inline:5px;background:var(--ww-color-surface-muted);border-radius:50%;font-size:12px}
.wwh-filter-toggle[hidden],.wwh-filters[hidden]{display:none}
.wwh-filters{margin-bottom:24px}
.wwh-specs dt,.wwh-specs dd{overflow-wrap:anywhere}
.wwh-filters label{display:flex;flex-direction:column;gap:8px;font-size:13px;min-width:0}.wwh-filters fieldset{border:0;padding:0;margin:0;grid-column:1/-1;min-width:0}.wwh-filters legend{font-size:13px;margin-bottom:8px}.wwh-range{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.wwh-filters input,.wwh-filters select{width:100%;min-width:0;min-height:46px;padding:10px;border:1px solid var(--wwh-border);border-radius:8px;background:white;color:var(--ww-color-ink);font:inherit}.wwh-filters .ww-button{grid-column:1/-1}.wwh-reset{display:flex;align-items:center;min-height:44px;text-decoration:underline}
.wwh-count{font-size:14px;color:var(--wwh-muted);margin:24px 0}.wwh-empty{padding:48px 20px;text-align:center}.wwh-pagination{display:flex;flex-wrap:wrap;gap:10px;margin-top:36px}.wwh-pagination .page-numbers{padding:12px;min-width:44px;text-align:center;border:1px solid var(--wwh-border);border-radius:8px}.wwh-pagination .current{background:var(--ww-color-brand);color:white}
.wwh-hero-media{aspect-ratio:1.65;border-radius:var(--ww-radius);overflow:hidden;background:var(--ww-color-surface-muted)}
.wwh-section{padding-block:40px}.wwh-intro{display:grid;gap:32px}.wwh-lead{font-size:18px;color:var(--wwh-muted)}.wwh-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.wwh-actions .ww-button{white-space:normal;text-align:center;min-height:48px}
.wwh-specs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;margin:0}.wwh-specs>div{padding:14px 0;border-bottom:1px solid var(--wwh-border)}.wwh-specs dt{font-size:12px;line-height:1.4;color:var(--wwh-muted)}.wwh-specs dd{font-size:18px;margin:6px 0 0}
.wwh-reading{width:100%;max-width:none}.wwh-reading p,.wwh-reading li{line-height:1.8}.wwh-reading ul{padding-left:20px}.wwh-source{font-size:13px;color:var(--wwh-muted);overflow-wrap:anywhere}.wwh-source a{text-decoration:underline}
.wwh-intro .wwh-actions{margin-top:28px}
.wwh-build{padding:28px;background:var(--ww-color-surface-muted);border-radius:var(--ww-radius);display:grid;gap:20px}.wwh-build p{max-width:70ch;margin-bottom:0}
.wwh-media-grid{display:grid;grid-template-columns:1fr;gap:20px}.wwh-media-grid figure{margin:0;min-width:0}.wwh-media-grid a{display:block;aspect-ratio:1.5;background:white;border:1px solid var(--wwh-border);border-radius:12px;overflow:hidden}.wwh-media-grid img{width:100%;height:100%;object-fit:contain}.wwh-caption,.wwh-media-grid figcaption{font-size:12px;margin:12px 0;color:var(--wwh-muted)}
.wwh-lightbox{position:fixed;inset:0;border:0;margin:auto;padding:64px 52px 32px;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;background:rgba(10,20,15,.98);color:white}
.wwh-lightbox[open]{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:8px}.wwh-lightbox::backdrop{background:rgba(10,20,15,.95)}.wwh-lightbox figure{margin:0;min-width:0;text-align:center}.wwh-lightbox img{max-height:calc(100dvh - 170px);max-width:100%;object-fit:contain;touch-action:pan-y pinch-zoom}.wwh-lightbox figcaption{font-size:13px;margin-top:16px}.wwh-lightbox button{background:white;color:var(--ww-color-ink);border:0;border-radius:50%;width:44px;height:44px;font-size:22px}.wwh-lightbox [data-wwh-close]{position:absolute;top:16px;right:20px}
@media(min-width:768px){.wwh-container{width:min(1380px,calc(100% - 64px))}.wwh-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wwh-home-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wwh-home-grid .wwh-card--featured{grid-column:1/-1}.wwh-home-grid .wwh-card--featured .wwh-card__media{aspect-ratio:2.3}.wwh-filters{grid-template-columns:repeat(4,minmax(0,1fr))}.wwh-filters fieldset{grid-column:span 2}.wwh-filters .ww-button{grid-column:auto}.wwh-media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wwh-build{padding:48px}.wwh-section{padding-block:56px}}
@media(min-width:1024px){.wwh-home-grid{grid-template-columns:2.08fr 1fr 1fr;gap:8px}.wwh-home-grid .wwh-card--featured{grid-column:auto}.wwh-home-grid .wwh-card--featured .wwh-card__media{aspect-ratio:2.05}.wwh-home-grid .wwh-card:not(.wwh-card--featured) .wwh-card__media{aspect-ratio:1.28}.wwh-home-grid .wwh-card:not(.wwh-card--featured){margin-top:7px}.wwh-home-grid .wwh-card:not(.wwh-card--featured) h3{font-size:28px}.wwh-home .wwh-card--featured .wwh-facts{grid-template-columns:repeat(4,minmax(0,1fr))}.wwh-catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.wwh-intro{grid-template-columns:1fr 1fr;gap:64px}.wwh-hero-media{aspect-ratio:2.2}.wwh-filters{grid-template-columns:1.5fr repeat(4,minmax(0,1fr))}.wwh-filters fieldset{grid-column:auto}.wwh-build{grid-template-columns:1.4fr 1fr;align-items:center}}
@media(max-width:767px){.wwh-lightbox{padding-inline:8px}.wwh-home .whs-container{width:calc(100% - 32px)}.wwh-page .wwh-actions{align-items:stretch;flex-direction:column}.wwh-specs{gap:0 12px}.wwh-filters>label:last-of-type{grid-column:1/-1}}
@media(prefers-reduced-motion:reduce){.wwh-card__link,.wwh-all{transition:none}}
.wwh-details{margin-top:24px}.wwh-details summary{min-height:44px;padding:12px 0;cursor:pointer;color:var(--ww-color-brand)}
.wwh-lightbox-stage{overflow:hidden;display:flex;align-items:center;justify-content:center;height:calc(100dvh - 180px);touch-action:none}
.wwh-lightbox-stage img{touch-action:none;user-select:none;flex-shrink:0;will-change:transform}
.wwh-zoom{position:absolute;top:16px;left:20px;display:flex;gap:8px}.wwh-zoom [data-wwh-zoom-reset]{width:70px;border-radius:22px;font-size:14px}
@media(min-width:1024px){.wwh-media-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.wwh-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 16px;margin:24px 0;color:var(--wwh-muted)}.wwh-price strong{font-size:clamp(24px,3vw,34px);line-height:1.3;color:var(--wwh-text,#172338);overflow-wrap:anywhere}

