button,select{font:inherit}button{cursor:pointer}.preview-bar{padding:10px 20px;background:#e6edf8;text-align:center;font-size:12px;color:#213b76}.intro{max-width:1000px}.intro h1{max-width:900px}.intro .lead{max-width:690px}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}.filters{display:flex;gap:8px;flex-wrap:wrap}.filter{border:1px solid #ccd6e6;background:transparent;color:#213b76;padding:12px 18px;border-radius:30px}.filter[aria-pressed=true]{background:#213b76;color:white;border-color:#213b76}.count{color:#65728a;font-size:13px}.model-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.photo{display:block;position:relative;width:100%;padding:0;border:0;aspect-ratio:1.15;overflow:hidden;background:#e3edf5}.photo img{width:100%;height:100%;object-fit:cover}.badge{position:absolute;top:16px;left:16px;background:white;padding:8px 12px;border-radius:5px;font-size:12px;color:#213b76}.placeholder{position:absolute;bottom:10px;right:10px;background:#ffffffeb;color:#213b76;padding:5px 8px;font-size:10px;border-radius:4px}.model-info h2{font-size:24px}.muted{color:#65728a;font-size:13px;line-height:1.7}.price{font-size:20px;margin:22px 0}.configure-link{border:0;cursor:pointer;width:100%}.portal{margin:55px 0;background:#213b76;color:white;border-radius:14px;padding:40px;display:flex;justify-content:space-between;align-items:center;gap:35px}.portal h2{font-size:28px;font-weight:500;margin:0 0 13px}.portal p{max-width:620px;color:#e1e7f1;line-height:1.7;margin:0}.portal a{padding:16px 22px;border:1px solid #ffffff80;border-radius:7px;text-decoration:none;white-space:nowrap}.foot{padding:28px 5%;border-top:1px solid #dce3ed;font-size:12px;color:#65728a;display:flex;justify-content:space-between}.model-card[hidden]{display:none}dialog{border:0;border-radius:16px;padding:0;width:min(980px,94vw);max-height:92vh;color:#172c50}dialog::backdrop{background:#0d203ac9}.dialog-head{display:flex;justify-content:space-between;padding:18px 24px;align-items:center;border-bottom:1px solid #dce3ed}.close{background:none;border:1px solid #ced7e7;border-radius:50%;width:40px;height:40px;font-size:25px}.detail-grid{display:grid;grid-template-columns:1.1fr 1fr}.detail-image{width:100%;height:100%;min-height:360px;object-fit:cover}.detail-content{padding:30px}.detail-content h2{font-size:29px;font-weight:500}.detail-content p{line-height:1.7}.specs{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:22px 0}.specs dt{font-size:12px;color:#65728a}.specs dd{margin:6px 0;font-size:15px}.detail-content a{margin-top:12px;text-decoration:none;display:block}.note{background:#f1f5fa;padding:12px;font-size:12px;color:#65728a}.info-link{justify-content:center}@media(max-width:1000px){.model-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.model-grid{grid-template-columns:1fr}.toolbar{align-items:flex-start;flex-direction:column;gap:14px}.portal{display:block;padding:28px 22px;margin:35px 0}.portal a{display:block;text-align:center;margin-top:24px;white-space:normal}.portal h2{font-size:25px}.detail-grid{grid-template-columns:1fr}.detail-image{min-height:0;max-height:300px}.detail-content{padding:22px}.foot{gap:15px;flex-direction:column}.preview-bar{font-size:11px}.intro h1{font-size:40px}}
.portal{background:#fff;color:#172c50;border:1px solid #dce3ed;border-left:5px solid #213b76;box-shadow:0 6px 24px #172c5006}.portal p{color:#586780}.portal a{background:#213b76;color:white;border-color:#213b76;text-align:center;white-space:normal;min-width:240px}.portal a:hover{background:#142a59}.portal-brands{display:flex;align-items:center;gap:24px;margin-bottom:22px}.portal-brands img{width:92px;height:78px;object-fit:contain;background:#213b76;border-radius:6px}.brand-divider{height:42px;width:1px;background:#dce3ed}.subito-logo{display:inline-block;width:90px;height:26px;background:url(subito-brand-sprite.png) no-repeat 0 -55px}.portal h2{font-size:32px}@media(max-width:650px){.portal a{min-width:0}.portal h2{font-size:27px}}/* Subito brand accent; preserve original logo silhouette. */
.subito-logo{background:#f9423a;-webkit-mask:url(subito-brand-sprite.png) no-repeat 0 -55px;mask:url(subito-brand-sprite.png) no-repeat 0 -55px}
.gallery{background:#f3f5f9;min-width:0}.gallery .detail-image{height:auto;min-height:0;max-height:450px;object-fit:contain;display:block}.gallery-controls{display:flex;align-items:center;justify-content:space-between;padding:15px}.gallery-controls button{border:1px solid #ccd6e6;border-radius:50%;background:white;color:#213b76;width:40px;height:40px}.thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:0 15px 15px}.thumbs button{padding:0;border:2px solid transparent;background:none;border-radius:5px;overflow:hidden}.thumbs button[aria-pressed=true]{border-color:#213b76}.thumbs img{width:100%;height:65px;object-fit:cover;display:block}.price small{font-size:14px}.detail-grid{align-items:start}.detail-content h3{font-size:18px}
.listing-prices{margin:22px 0 10px;border-top:1px solid #dce3ed;border-bottom:1px solid #dce3ed}.listing-prices>div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 0}.listing-prices>div+div{border-top:1px solid #edf0f5}.listing-prices span{font-size:13px;color:#586780}.listing-prices strong{font-size:24px;font-weight:600;white-space:nowrap}.price-confirmation{font-size:11px;line-height:1.5;color:#65728a;margin:0 0 20px}

/* Keep details readable and controls reachable on phones. */
body.detail-open{overflow:hidden}dialog{overflow-y:auto;overscroll-behavior:contain;max-height:92dvh}.dialog-head{position:sticky;top:0;background:#fff;z-index:2}.detail-content{min-width:0}.count{max-width:460px;line-height:1.5}button:focus-visible,a:focus-visible{outline:3px solid #c58a3c;outline-offset:4px}.gallery-controls button,.close{min-width:44px;min-height:44px}@media(max-width:650px){dialog{width:calc(100% - 20px);max-height:94dvh}.dialog-head{padding:12px 16px}.gallery .detail-image{max-height:36dvh}.detail-content h2{font-size:25px}.listing-prices strong{font-size:22px}.thumbs button{min-height:44px}.detail-content .configure-link{white-space:normal;text-align:center}}
