/* Scoped corrections: existing branding and other sections are unchanged. */
@media(min-width:901px){.home-work .hero-stage-one .hero-media{aspect-ratio:2 / 1}.home-work .hero-stage-one .hero-media>.hero-photo{object-fit:cover;object-position:center 54%}}
#models .kc-photo[data-house="85"]:not([data-slide]) .kc-front,#models .kc-photo[data-house="85"][data-slide="0"] .kc-front{object-fit:cover;object-position:center 50%}
#models .kc-content{padding:16px 22px 18px}
#models .kc-card .kc-name{margin-bottom:3px}
#models .kc-brand{margin-bottom:8px}
#models .kc-price{min-height:46px;display:flex;align-items:center;margin-bottom:9px;font-size:25px}
#models .kc-price.gold{margin-top:0;margin-bottom:9px;padding:6px 13px}
#models .kc-spec{min-height:43px;font-size:16px;line-height:1.35}
#models .kc-detail{margin-top:12px}
#models .kc-whitebox{margin-top:6px}
#models .kc-actions{padding-top:14px}
#models .kc-primary{padding:13px 8px}
#models .kc-secondary{margin-top:9px}
.house-detail-page .detail-grid>.house-photo{height:auto;max-height:none;object-fit:contain}
.house-detail-page .gallery-grid img{height:auto;aspect-ratio:1.5;object-fit:contain;background:transparent}
.house-detail-page .gallery-section{padding-bottom:25px}
.house-plan{padding-top:35px}
.house-plan h2{margin-bottom:15px}
.house-plan>p{color:var(--muted);font-size:15px}
.plan-enlarge{display:block;margin:25px 0;cursor:zoom-in}
.plan-enlarge img{display:block;width:100%;height:auto;object-fit:contain;border-radius:10px}
.photo-viewer{border:0;background:#f4f3ef;color:#292f2d;width:min(96vw,1600px);max-width:96vw;padding:18px;max-height:94vh;border-radius:12px}
.photo-viewer::backdrop{background:#17261fcc}
.viewer-toolbar{display:flex;gap:12px;justify-content:space-between;align-items:center;margin-bottom:12px}
.viewer-toolbar button{border:1px solid #b79b70;background:white;border-radius:7px;padding:8px 14px;cursor:pointer}
.viewer-scroll{overflow:auto;max-height:78vh;touch-action:pan-x pan-y pinch-zoom}
.viewer-scroll img{display:block;width:100%;max-width:none;height:auto;object-fit:contain;margin:auto}
.viewer-scroll.is-zoomed img{width:1800px}
@media(max-width:740px){#models .kc-content{padding:16px 18px}.house-plan{padding-top:25px}.house-plan h2{font-size:32px}.photo-viewer{padding:12px}.viewer-toolbar{gap:8px;font-size:12px}.viewer-toolbar button{padding:8px 10px}.house-detail-page .gallery-grid{grid-template-columns:1fr}.house-detail-page .gallery-grid img{aspect-ratio:auto}}
.house-detail-page .gallery-grid{align-items:start}.house-detail-page .gallery-grid img{aspect-ratio:auto}
.plan-enlarge img{width:auto;max-width:100%;max-height:70vh;margin:auto}
.viewer-scroll img{width:auto;max-width:100%;max-height:74vh}
.viewer-scroll.is-zoomed img{width:1800px;max-width:none;max-height:none}
#models .kc-price{height:51px;min-height:51px}


.house-detail-page .subpage{padding-top:35px;padding-bottom:0}.house-detail-page .subpage h1{margin-bottom:0}.house-detail-page .house-plan{padding-top:22px}
