/* AutaElektryczne.pl 1.1.61 — scoped vehicle detail. Loaded after frontend.css. */
body.ae-detail-page{background:#f5f7fa;color:#152841}
body.ae-detail-page .ae-header{background:linear-gradient(110deg,#102a4c 0%,#1b3159 64%,#45275b 100%);box-shadow:none}
body.ae-detail-page .ae-header::before{opacity:0!important}
body.ae-detail-page .ae-main{min-height:50vh}
body.ae-detail-page .ae-detail-premium{max-width:1440px;width:calc(100% - 64px);margin:0 auto;padding:28px 0 90px;color:#152841}
.ae-detail-premium *{box-sizing:border-box}
.ae-detail-premium .ae-detail-breadcrumb{margin:0 0 23px;gap:9px;line-height:1.45;color:#7b899c;font-size:11px}
.ae-detail-premium .ae-detail-breadcrumb span[aria-current]{color:#243f62}
.ae-detail-premium .ae-detail-demo{border-radius:3px;margin-bottom:17px}
.ae-dp-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;margin:0 0 28px}
.ae-dp-eyebrow{font-size:10px;letter-spacing:.16em;font-weight:700;color:#7e90a9;margin:0 0 7px}
.ae-dp-heading h1{font-size:clamp(26px,2.7vw,37px);letter-spacing:-.038em;line-height:1.18;font-weight:760;margin:0 0 7px;color:#112847}
.ae-dp-variant{font-size:13px;color:#647590;margin:0 0 10px}
.ae-dp-meta{display:flex;flex-wrap:wrap;gap:0 15px;color:#5e6e84;font-size:12px}
.ae-dp-meta span+span::before{content:'·';margin-right:15px;color:#9aa8b9}
.ae-dp-actions{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end;max-width:570px}
.ae-dp-action{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap;border:1px solid #dce4ee;border-radius:5px;background:#fff;color:#354a67;padding:9px 11px;font:600 11px/1.2 inherit;cursor:pointer;text-decoration:none;min-height:35px}
.ae-dp-action:hover,.ae-dp-action:focus-visible{border-color:#99afd1;color:#126be4}
.ae-dp-action[aria-pressed=true]{color:#a93485;border-color:#d8a1ca}
.ae-dp-action>span{font-size:20px;line-height:12px}
.ae-dp-layout{display:grid;grid-template-columns:minmax(0,65fr) minmax(320px,35fr);gap:28px;align-items:start}
.ae-dp-maincol,.ae-dp-side{min-width:0}
.ae-dp-side{align-self:stretch}
.ae-dp-maincol{display:flex;flex-direction:column;gap:21px}
.ae-dp-gallery{min-width:0}
.ae-dp-hero-photo{display:block;position:relative;width:100%;aspect-ratio:16/10;padding:0;border:0;border-radius:5px;overflow:hidden;background:#e8edf3;cursor:zoom-in}
.ae-dp-hero-photo>img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;background:#e8edf3}
.ae-dp-photo-count{position:absolute;bottom:15px;left:15px;padding:7px 11px;border-radius:3px;background:rgba(13,30,53,.85);color:white;font-size:12px;font-weight:650}
.ae-dp-expand{position:absolute;right:15px;bottom:15px;padding:7px 11px;border-radius:3px;background:rgba(13,30,53,.78);color:#fff;font-size:11px}
.ae-dp-thumbnails{display:flex;flex-wrap:nowrap;gap:9px;overflow-x:auto;padding:10px 1px 5px;scrollbar-width:thin;scroll-snap-type:x proximity}
.ae-dp-thumbnail{flex:0 0 95px;width:95px;height:65px;border:2px solid transparent;border-radius:4px;padding:0;background:#e6edf4;cursor:pointer;overflow:hidden;scroll-snap-align:start;opacity:.77}
.ae-dp-thumbnail img{width:100%;height:100%;object-fit:cover;display:block}
.ae-dp-thumbnail.is-current{border-color:#2086ec;opacity:1}
.ae-dp-thumbnail:hover{opacity:1}
.ae-dp-no-photo{display:grid;place-items:center;min-height:340px;padding:30px;background:#e9eef5;text-align:center;color:#72829a;font-size:13px;border-radius:5px}
.ae-dp-section{min-width:0;padding:26px 28px;background:#fff;border:1px solid #e7ebf1;border-radius:5px;box-shadow:none}
.ae-dp-section>h2,.ae-dp-title-row h2{font-size:19px;letter-spacing:-.024em;margin:0 0 23px;color:#17304d;font-weight:730}
.ae-dp-section h3{font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:#647993;margin:23px 0 11px;font-weight:740}
.ae-dp-section h3:first-of-type{margin-top:0}
.ae-dp-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));row-gap:24px;column-gap:20px}
.ae-dp-facts>div{min-width:0;display:flex;flex-direction:column;gap:7px}
.ae-dp-facts span{font-size:11px;color:#7c8ca1;line-height:1.35}
.ae-dp-facts strong{font-size:14px;color:#1a3150;font-weight:710;line-height:1.3;overflow-wrap:anywhere}
.ae-dp-ev{background:linear-gradient(115deg,#f9fcff,#fff 68%);border-color:#dbe7f5}
.ae-dp-title-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:19px}
.ae-dp-title-row h2{margin:0}
.ae-dp-title-row span{font-size:10px;letter-spacing:.12em;color:#4283c4;font-weight:730}
.ae-dp-data-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px;row-gap:0;margin:0}
.ae-dp-data-grid>div{display:flex;justify-content:space-between;align-items:baseline;gap:15px;min-width:0;padding:13px 0;border-bottom:1px solid #edf0f4}
.ae-dp-data-grid dt{font-size:12px;color:#75869b;line-height:1.45;min-width:0}
.ae-dp-data-grid dd{margin:0;font-size:12px;color:#1b3454;text-align:right;font-weight:680;min-width:0;overflow-wrap:anywhere;line-height:1.45}
.ae-dp-disclaimer{font-size:11px;line-height:1.65;color:#8190a4;margin:17px 0 0}
.ae-dp-description{color:#415773;font-size:14px;line-height:1.9;white-space:normal;overflow-wrap:anywhere}
.ae-dp-description.is-collapsed{max-height:270px;overflow:hidden;mask-image:linear-gradient(#000 72%,transparent);-webkit-mask-image:linear-gradient(#000 72%,transparent)}
.ae-dp-more{border:0;background:transparent;color:#1688ec;font-size:12px;font-weight:700;cursor:pointer;padding:13px 0 0}
.ae-dp-features{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px}
.ae-dp-features li{position:relative;padding-left:19px;color:#415a77;font-size:13px;line-height:1.5}
.ae-dp-features li::before{content:'✓';position:absolute;left:0;color:#397cd2}
.ae-dp-side-sticky{position:sticky;top:calc(var(--ae-header-height,82px) + 18px);display:flex;flex-direction:column;gap:15px}
.ae-dp-price-panel,.ae-dp-seller{padding:26px;background:#fff;border:1px solid #e5ebf3;border-radius:5px;min-width:0}
.ae-dp-availability{display:flex;align-items:center;gap:9px;color:#658299;font-size:11px;font-weight:660;margin-bottom:14px}
.ae-dp-status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#339bb4}
.ae-dp-price{font-size:clamp(31px,3vw,44px);line-height:1.12;letter-spacing:-.045em;font-weight:780;color:#142d4e;white-space:nowrap}
.ae-dp-price-label{font-size:11px;color:#7c8a9c;margin:8px 0 25px}
.ae-dp-primary{display:flex;width:100%;align-items:center;justify-content:center;text-align:center;min-height:48px;padding:10px 15px;color:#fff!important;font-size:13px;font-weight:720;border-radius:5px;text-decoration:none;background:linear-gradient(105deg,#148ee9,#6262d1,#b22eb0)}
.ae-dp-primary:hover{filter:brightness(1.06)}
.ae-dp-contact-note{color:#75869c;font-size:12px;line-height:1.65;margin:13px 0 0}
.ae-dp-seller-head{display:flex;align-items:center;gap:13px}
.ae-dp-avatar{display:grid;place-items:center;width:48px;height:48px;flex:0 0 48px;border-radius:50%;background:#f2f4f7;border:1px solid #e6ebf2;color:#8a94a3;font-weight:730;font-size:21px}
.ae-dp-small-label{color:#8292a7;letter-spacing:.1em;font-size:9px;font-weight:700}
.ae-dp-seller h2{font-size:16px;font-weight:720;color:#1e3551;line-height:1.3;margin:4px 0}
.ae-dp-seller-type{font-size:11px;color:#7a8ca3}
.ae-dp-seller-location{display:flex;justify-content:space-between;gap:12px;margin-top:23px;padding-top:17px;border-top:1px solid #edf0f4;font-size:12px;color:#7386a0}
.ae-dp-seller-location strong{color:#203a5b}
.ae-dp-seller-count{font-size:12px;color:#72849b;margin:15px 0 0}
.ae-dp-similar{margin:42px 0 0}
.ae-dp-similar-heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-bottom:18px}
.ae-dp-similar-heading h2{font-size:20px;color:#17304c;letter-spacing:-.02em;margin:0}
.ae-dp-similar-heading a{color:#2885de;font-size:12px}
.ae-dp-similar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.ae-dp-similar-card{display:block;overflow:hidden;border:1px solid #e4eaf1;border-radius:5px;background:#fff;color:#1b3553;text-decoration:none;min-width:0}
.ae-dp-similar-card img,.ae-dp-similar-no-photo{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;background:#e7edf4}
.ae-dp-similar-no-photo{display:grid;place-items:center;color:#8897a9;font-size:11px}
.ae-dp-similar-card>div:last-child{display:flex;flex-direction:column;gap:7px;padding:14px}
.ae-dp-similar-card strong{font-size:13px;line-height:1.4}
.ae-dp-similar-card span{font-size:11px;color:#8190a4}
.ae-dp-similar-card b{font-size:16px;color:#152d4d}
.ae-dp-lightbox[hidden]{display:none!important}
.ae-dp-lightbox{position:fixed;inset:0;z-index:100000;background:#0b111d;display:flex;align-items:center;justify-content:center;touch-action:pan-y}
.ae-dp-lightbox>img{width:calc(100% - 130px);height:calc(100% - 96px);object-fit:contain;cursor:zoom-in;transition:transform .2s ease;transform-origin:center}
.ae-dp-lightbox.is-zoomed>img{transform:scale(1.75);cursor:zoom-out}
.ae-dp-lightbox-bar{position:absolute;top:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 25px;color:#fff;font-size:12px;z-index:2;background:linear-gradient(#0b111d,transparent)}
.ae-dp-lightbox-bar>div{display:flex;gap:10px}
.ae-dp-lightbox button{cursor:pointer;color:#fff;background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.16);padding:10px 13px;border-radius:3px}
.ae-dp-lightbox-prev,.ae-dp-lightbox-next{position:absolute;top:50%;transform:translateY(-50%);font-size:28px!important;z-index:2}
.ae-dp-lightbox-prev{left:15px}.ae-dp-lightbox-next{right:15px}
.ae-dp-mobile-sticky{display:none}
@media(max-width:1050px){.ae-dp-layout{grid-template-columns:minmax(0,61fr) minmax(280px,39fr);gap:18px}.ae-dp-price-panel,.ae-dp-seller,.ae-dp-section{padding:20px}.ae-dp-facts{grid-template-columns:repeat(3,minmax(0,1fr))}.ae-dp-similar-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:780px){body.ae-detail-page .ae-detail-premium{width:calc(100% - 32px);padding-top:18px;padding-bottom:120px}.ae-dp-heading{display:block;margin-bottom:20px}.ae-dp-actions{margin-top:16px;justify-content:flex-start;max-width:none}.ae-dp-layout{display:flex;flex-direction:column;gap:20px}.ae-dp-side{display:contents;width:100%;order:0}.ae-dp-maincol{display:contents}.ae-dp-gallery{order:-2;width:100%}.ae-dp-side-sticky{position:static;display:contents}.ae-dp-price-panel{order:-1;width:100%}.ae-dp-keyfacts{order:1;width:100%}.ae-dp-ev{order:2;width:100%}.ae-dp-maincol>.ae-dp-section:not(.ae-dp-keyfacts):not(.ae-dp-ev){order:3;width:100%}.ae-dp-seller{order:4;width:100%}.ae-dp-gallery{width:100%}.ae-dp-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.ae-dp-similar{margin-top:30px}.ae-dp-mobile-sticky{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:1000;align-items:center;justify-content:space-between;gap:15px;background:#fff;border-top:1px solid #dce5ee;padding:12px 18px calc(12px + env(safe-area-inset-bottom));box-shadow:0 -4px 14px rgba(14,36,70,.07)}.ae-dp-mobile-sticky strong{font-size:20px;color:#16304f;white-space:nowrap}.ae-dp-mobile-sticky a{padding:13px 16px;background:linear-gradient(110deg,#148ee9,#655cce,#b02dac);color:#fff;border-radius:4px;font-weight:680;font-size:12px;text-decoration:none}.ae-dp-lightbox>img{width:calc(100% - 68px);height:calc(100% - 105px)}.ae-dp-lightbox-prev{left:5px}.ae-dp-lightbox-next{right:5px}}
@media(max-width:480px){.ae-dp-heading h1{font-size:25px}.ae-dp-action{font-size:10px;padding:8px}.ae-dp-price{font-size:34px}.ae-dp-section{padding:21px 18px}.ae-dp-data-grid{grid-template-columns:1fr}.ae-dp-thumbnail{flex-basis:78px;width:78px;height:56px}.ae-dp-similar-grid{grid-template-columns:1fr}.ae-dp-similar-card{display:grid;grid-template-columns:120px minmax(0,1fr)}.ae-dp-similar-card img,.ae-dp-similar-no-photo{height:100%;aspect-ratio:auto}}
@media print{body.ae-detail-page .ae-header,body.ae-detail-page .ae-footer,.ae-dp-actions,.ae-dp-mobile-sticky,.ae-dp-lightbox,.ae-dp-thumbnails{display:none!important}.ae-dp-layout{display:block}.ae-dp-side-sticky{position:static}.ae-dp-section,.ae-dp-price-panel,.ae-dp-seller{break-inside:avoid}}

/* v1.1.62 — minimalne akcje, bez tla i ramek, tylko na stronie ogloszenia */
body.ae-detail-page .ae-dp-action,
body.ae-detail-page .ae-dp-action:hover,
body.ae-detail-page .ae-dp-action:focus-visible {
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  padding:8px 7px!important;
  min-height:32px;
}
body.ae-detail-page .ae-dp-action:hover {color:#126be4!important;text-decoration:underline;text-underline-offset:3px}
body.ae-detail-page .ae-dp-action:focus-visible {outline:2px solid #1684df;outline-offset:3px}
body.ae-detail-page .ae-detail-premium {padding-top:38px}
