.dealer-page{max-width:1440px;margin:auto;padding:50px 5% 80px}.dealer-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:30px}.dealer-heading h1{font-size:clamp(2rem,5vw,3.8rem);letter-spacing:-.045em;margin:14px 0}.dealer-heading p{color:#7a8491}.dealer-toolbar{display:flex;gap:14px;margin-bottom:20px}.dealer-toolbar input{flex:1;min-width:0}.dealer-toolbar input,.dealer-toolbar select{padding:14px;border:1px solid #dce1e7;border-radius:6px;background:#fff;font:inherit}#dealer-map{height:510px;border:1px solid #dce1e7;border-radius:12px;z-index:0}.dealer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.dealer-card{background:white;border:1px solid #e3e6ea;border-radius:10px;padding:24px;display:flex;flex-direction:column;gap:12px;scroll-margin-top:140px}.dealer-card.selected{border-color:#d52c33;box-shadow:0 0 0 2px #d52c3322}.dealer-card h2{font-size:21px;margin:0}.dealer-card p{margin:0;color:#7a8491}.dealer-card a{overflow-wrap:anywhere}.dealer-card .dealer-actions{display:flex;gap:20px;margin-top:auto;padding-top:18px;border-top:1px solid #e3e6ea}.dealer-actions button{border:0;background:none;color:#d52c33;cursor:pointer;font:inherit;padding:0}.dealer-pin{background:#d52c33;border:3px solid white;border-radius:50%;box-shadow:0 2px 8px #0004}.dealer-cluster{display:grid;place-items:center;background:#222b37;color:white;border:3px solid white;border-radius:50%;font-weight:700;font-size:16px}.leaflet-popup-content{font-family:inherit;line-height:1.6}.leaflet-popup-content h3{font-size:18px}.vilpra-original{object-fit:contain;width:120px;height:auto}.mini-brand{display:inline-flex;align-items:center;gap:12px}body>header nav{flex-wrap:wrap}@media(max-width:900px){.dealer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dealer-toolbar{flex-wrap:wrap}.dealer-toolbar input{flex-basis:100%}}@media(max-width:600px){.dealer-grid{grid-template-columns:1fr}.dealer-heading{align-items:start;flex-direction:column}.dealer-toolbar select{flex:1;min-width:0}#dealer-map{height:400px}.dealer-page{padding-top:30px}}
.dealer-toolbar input{width:auto;flex:1 1 320px}.dealer-toolbar select{width:auto;flex:0 1 260px}.dealer-toolbar button{flex-shrink:0;white-space:nowrap}@media(max-width:600px){.dealer-toolbar input{flex-basis:100%;width:100%}.dealer-toolbar select{flex:1 1 150px}}
/* Keep map contact popups independent from page heading styles. */
#dealer-map .leaflet-popup-content{margin:20px 24px 20px 20px;font-family:inherit;font-size:14px;line-height:1.55;max-width:calc(100vw - 100px)}
#dealer-map .dealer-popup{display:flex;flex-direction:column;gap:10px;min-width:0}
#dealer-map .dealer-popup h2{font-size:20px;line-height:1.25;font-weight:700;letter-spacing:normal;margin:0 0 3px;color:#222b37;overflow-wrap:anywhere;word-break:normal}
#dealer-map .dealer-popup p{font-size:14px;line-height:1.55;margin:0;color:#657080;overflow-wrap:anywhere}
#dealer-map .dealer-popup a{display:block;font-size:14px;line-height:1.55;overflow-wrap:anywhere;word-break:normal;white-space:normal;text-decoration:none}
#dealer-map .dealer-popup a:hover{text-decoration:underline}
#dealer-map .dealer-popup>p:last-child{margin-top:5px;padding-top:12px;border-top:1px solid #e3e6ea}
#dealer-map .leaflet-popup-close-button{font-size:22px;width:28px;height:28px;line-height:28px}
