/* Full navigation on phones, with progressive enhancement; the desktop menu is unchanged. */
body>header .customer-menu-toggle{display:none}
body>header .customer-menu-toggle[hidden],body>header .nav.customer-menu-ready>.menu[hidden]{display:none!important}
@media(max-width:850px){
 body>header .nav>.menu{display:flex;flex-wrap:wrap;flex-basis:100%;width:100%;max-width:none;gap:4px;overflow:visible;white-space:normal}
 body>header .nav>.menu>a{display:inline-flex;align-items:center;min-height:44px;padding:10px 12px;white-space:normal;text-decoration:none}
 body>header .nav.customer-menu-ready{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px 16px;min-height:80px;padding-top:12px;padding-bottom:12px}
 body>header .nav.customer-menu-ready>.brand-lockup{grid-column:1;min-width:0;max-width:100%;width:auto;justify-content:flex-start}
 body>header .nav.customer-menu-ready>.customer-menu-toggle{grid-column:2;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-width:78px;min-height:44px;margin:0;padding:10px 12px;border:1px solid #b9cbdc;border-radius:7px;background:#fff;color:#073d74;font:650 13px/1.4 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;box-shadow:none;cursor:pointer}
 body>header .customer-menu-toggle:after{content:"☰";font-size:17px;font-weight:400;line-height:1}
 body>header .customer-menu-toggle[aria-expanded=true]:after{content:"×";font-size:22px}
 body>header .customer-menu-toggle:hover{border-color:#073d74;background:#edf3f9}
 body>header .customer-menu-toggle:focus-visible{outline:3px solid #0069ad;outline-offset:3px}
 body>header .nav.customer-menu-ready>.menu{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;width:100%;max-height:calc(100vh - 120px);max-height:calc(100dvh - 120px);margin:2px 0 0;padding:12px 0 2px;border-top:1px solid #dce4ed;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
 body>header .nav.customer-menu-ready>.menu>a{display:flex;align-items:center;min-height:46px;margin:0;padding:11px 13px;border-radius:6px;color:#294763;background:#f5f8fb;font-size:14px;line-height:1.5;white-space:normal}
 body>header .nav.customer-menu-ready>.menu>a:hover,body>header .nav.customer-menu-ready>.menu>a[aria-current=page]{background:#e8f0f8;color:#073d74}
 body>header .nav.customer-menu-ready>.menu>a:focus-visible{outline:3px solid #0069ad;outline-offset:-3px}
}
@media(max-width:540px){
 body>header .nav.customer-menu-ready{min-height:74px;gap:8px 10px;padding-top:11px;padding-bottom:11px}
 body>header .nav.customer-menu-ready>.brand-lockup{gap:12px}
 body>header .nav.customer-menu-ready .brand-wordmark{min-width:108px;gap:4px}
 body>header .nav.customer-menu-ready .wordmark-top{font-size:28px;gap:6px}
 body>header .nav.customer-menu-ready .wordmark-bottom{font-size:10px;letter-spacing:5px}
 body>header .nav.customer-menu-ready .wordmark-dot{width:23px;height:8px}
 body>header .nav.customer-menu-ready .brand-powered{min-width:98px;padding-left:12px;gap:3px}
 body>header .nav.customer-menu-ready .brand-powered>span{font-size:9px;letter-spacing:.3px}
 body>header .nav.customer-menu-ready .brand-powered img{width:84px;max-width:100%;height:auto;padding:3px 0}
 body>header .nav.customer-menu-ready>.customer-menu-toggle{min-width:72px;gap:7px;padding:10px 9px;font-size:12px}
 body>header .nav.customer-menu-ready>.menu{grid-template-columns:1fr;max-height:calc(100vh - 100px);max-height:calc(100dvh - 100px);padding-top:10px}
 body>header .nav.customer-menu-ready>.menu>a{min-height:46px;padding:11px 13px;font-size:14px}
}
@media(max-width:350px){
 body>header .nav.customer-menu-ready{gap:8px}
 body>header .nav.customer-menu-ready>.brand-lockup{gap:9px}
 body>header .nav.customer-menu-ready .brand-wordmark{min-width:99px}
 body>header .nav.customer-menu-ready .wordmark-top{font-size:25px}
 body>header .nav.customer-menu-ready .wordmark-bottom{font-size:9px;letter-spacing:4.8px}
 body>header .nav.customer-menu-ready .brand-powered{min-width:91px;padding-left:9px}
 body>header .nav.customer-menu-ready .brand-powered img{width:78px}
 body>header .nav.customer-menu-ready>.customer-menu-toggle{min-width:65px;gap:6px;padding:10px 8px}
}
/* A linked statement of the real KlodiCars Google rating, supplied in the HTML. */
a.google-trust{display:inline-flex;align-items:center;gap:12px;max-width:100%;margin:18px 0 0;padding:10px 0;background:transparent;border:0;border-radius:0;color:#1e3d5b;text-align:left;text-decoration:none;font-size:12px;line-height:1.5}
a.google-trust .trust-stars{flex-shrink:0;color:#8b5700;font-size:20px;line-height:1.2;letter-spacing:1px;white-space:nowrap}
a.google-trust .trust-copy{display:flex;flex-direction:column;gap:3px;min-width:0;color:#526277}
a.google-trust .trust-copy strong{color:#234565;font-size:12px;font-weight:650;line-height:1.45}
a.google-trust .trust-copy>span{font-size:11px;line-height:1.5;color:#526277}
a.google-trust .trust-arrow{align-self:center;margin-left:2px;color:#073d74;font-size:17px}
a.google-trust:hover .trust-copy strong{text-decoration:underline;text-underline-offset:3px}
a.google-trust:focus-visible{outline:3px solid #0069ad;outline-offset:4px;border-radius:4px}
a.google-trust.google-trust--compact,a.google-trust.compact,.panel a.google-trust{display:flex;flex-wrap:wrap;gap:6px 10px;width:100%;margin:14px 0 0;padding:14px 0 0;border-top:1px solid #dce4ed;min-height:44px}
a.google-trust.google-trust--compact .trust-stars,a.google-trust.compact .trust-stars,.panel a.google-trust .trust-stars{font-size:17px;letter-spacing:.5px}
a.google-trust.google-trust--compact .trust-copy,a.google-trust.compact .trust-copy,.panel a.google-trust .trust-copy{flex:1 1 170px}
a.google-trust.google-trust--compact .trust-copy strong,a.google-trust.compact .trust-copy strong,.panel a.google-trust .trust-copy strong{font-size:11px}
a.google-trust.google-trust--compact .trust-copy>span,a.google-trust.compact .trust-copy>span,.panel a.google-trust .trust-copy>span{font-size:10px}
@media(max-width:540px){
 a.google-trust{gap:9px;margin-top:13px}
 a.google-trust .trust-stars{font-size:17px;letter-spacing:.5px}
 a.google-trust .trust-copy strong{font-size:11px}
 a.google-trust .trust-copy>span{font-size:10px}
 a.google-trust .trust-arrow{font-size:15px;margin-left:0}
}
/* Fast, explicit availability choices keep the existing catalogue filter semantics. */
.showroom .availability-shortcuts{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 15px}
.showroom .availability-shortcuts a{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 15px;border:1px solid #c7d4e1;border-radius:8px;background:#fff;color:#234565;font-size:13px;font-weight:650;line-height:1.4;text-align:center;text-decoration:none}
.showroom .availability-shortcuts a[aria-current=page]{background:#073d74;border-color:#073d74;color:#fff}
.showroom .availability-shortcuts a:hover{border-color:#073d74;background:#edf3f9;color:#073d74}
.showroom .availability-shortcuts .shortcut-ready>span{color:#237a50;font-size:12px}
.showroom .availability-shortcuts .shortcut-ready[aria-current=page]>span{color:#b9f4d1}
/* Only the display frame is adjusted; the original photograph and full gallery stay intact. */
.showroom .offer-card .photo .vehicle-frame{position:relative;display:block;width:100%;aspect-ratio:16/10;overflow:hidden;background:#fff}
.showroom .offer-card .photo .vehicle-frame img{position:absolute;inset:0;display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:contain;transform:none;transform-origin:50% 50%}
.showroom .offer-card .photo .vehicle-frame[data-cropped=true] img{transform:translate(var(--vehicle-crop-x),var(--vehicle-crop-y)) scale(var(--vehicle-crop-scale))}
/* Keep the actual vehicle, price and contact close to the start of an offer. */
.showroom.offer-page .crumbs{margin-top:14px;font-size:11px}
.showroom.offer-page main>.detail-heading{padding:12px 0 14px}
.showroom.offer-page .detail-heading>.eyebrow{display:none}
.showroom.offer-page .detail-heading h1{max-width:1100px;margin:0 0 8px;font-size:36px;line-height:1.18;letter-spacing:-1px}
.showroom.offer-page .detail-meta{font-size:12px}
.showroom.offer-page .detail-jumps{margin-top:7px;gap:4px 20px}
.showroom.offer-page .detail-jumps a{min-height:32px;font-size:12px}
.showroom.offer-page .vehicle-layout{margin-top:18px}
.showroom .hero-terms{margin-top:8px}
@media(max-width:850px){
 .showroom.offer-page .detail-heading h1{font-size:30px}
 .showroom .catalogue-tools,.showroom :is(#zdjecia,#wyposazenie,#dane-techniczne){scroll-margin-top:95px}
 .showroom .vehicle-layout>.panel{top:auto}
}
@media(max-width:540px){
 .showroom .availability-shortcuts{display:grid;grid-template-columns:auto minmax(0,1fr);gap:7px;margin-bottom:12px}
 .showroom .availability-shortcuts a{padding:9px 10px;font-size:11px}
 .showroom .availability-shortcuts a:last-child{grid-column:1/-1;justify-content:flex-start;border:0;padding:3px 0;min-height:36px;background:transparent}
 .showroom.offer-page .crumbs{margin-top:12px;font-size:10px}
 .showroom.offer-page main>.detail-heading{padding:10px 0 12px}
 .showroom.offer-page .detail-heading h1{font-size:26px;line-height:1.16;letter-spacing:-.65px}
 .showroom.offer-page .detail-jumps{gap:3px 16px;margin-top:6px}
 .showroom.offer-page .detail-jumps a{min-height:32px;font-size:11px}
 .showroom.offer-page .vehicle-layout{margin-top:14px}
}

/* Direct assistance inside the mobile menu; existing open/close behavior is retained. */
body>header .customer-menu-contact{display:none}
@media(max-width:850px){
 body>header .nav.customer-menu-ready>.menu>.customer-menu-contact{display:grid;grid-column:1/-1;grid-template-columns:1fr 1fr;gap:8px;padding:0 0 14px;margin:0 0 6px;border-bottom:1px solid #dce4ed;min-width:0}
 body>header .customer-menu-hours{grid-column:1/-1;color:#526578;font-size:11px;line-height:1.5;white-space:normal}
 body>header .customer-menu-contact>a{display:flex;min-width:0;min-height:58px;justify-content:center;align-items:center;gap:5px;padding:10px;border:1px solid #b9cbdc;border-radius:7px;white-space:normal;text-align:center;text-decoration:none;font-size:13px;line-height:1.4}
 body>header .customer-menu-contact>.customer-menu-call{flex-direction:column;background:#073d74;border-color:#073d74;color:#fff}
 body>header .customer-menu-call>span{font-size:11px;font-weight:500}
 body>header .customer-menu-call>strong{color:inherit;font-size:16px;line-height:1.3;white-space:nowrap}
 body>header .customer-menu-contact>.customer-menu-help{background:#fff;color:#073d74;font-weight:650}
 body>header .customer-menu-contact>.customer-menu-call:hover{background:#344957;border-color:#344957;color:#fff}
 body>header .customer-menu-contact>.customer-menu-help:hover{background:#edf3f9;color:#073d74}
 body>header .customer-menu-contact>a:focus-visible{outline:3px solid #0069ad;outline-offset:-4px}
}
