/* China Parts: original department photos from Salla gallery, 1440 x 472. */
#cp-model-parts .cp-departments{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}
#cp-model-parts .cp-department[href*="cp_part=brakes"]{--cp-photo-width:288;--cp-photo-size:500%;--cp-photo-position:0%}
#cp-model-parts .cp-department[href*="cp_part=suspension"]{--cp-photo-width:252;--cp-photo-size:571.428571%;--cp-photo-position:24.242424%}
#cp-model-parts .cp-department[href*="cp_part=body"]{--cp-photo-width:324;--cp-photo-size:444.444444%;--cp-photo-position:48.387097%}
#cp-model-parts .cp-department[href*="cp_part=cooling"]{--cp-photo-width:252;--cp-photo-size:571.428571%;--cp-photo-position:72.727273%}
#cp-model-parts .cp-department[href*="cp_part=engine"]{--cp-photo-width:324;--cp-photo-size:444.444444%;--cp-photo-position:100%}
#cp-model-parts .cp-department:is([href*="cp_part=engine"],[href*="cp_part=cooling"],[href*="cp_part=body"],[href*="cp_part=suspension"],[href*="cp_part=brakes"]) .cp-department-icon{--cp-photo-height:220px;width:calc(var(--cp-photo-height) * var(--cp-photo-width) / 472);height:var(--cp-photo-height);flex:0 0 auto;border-radius:12px;background-color:#e6e6e6;background-image:url("https://cdn.files.salla.network/other/2016345713/a337c4be-f77c-4e84-ae43-831e40a46602-original.webp");background-repeat:no-repeat;background-size:var(--cp-photo-size) 100%;background-position:var(--cp-photo-position) center}
#cp-model-parts .cp-department:is([href*="cp_part=engine"],[href*="cp_part=cooling"],[href*="cp_part=body"],[href*="cp_part=suspension"],[href*="cp_part=brakes"]) .cp-department-icon svg{display:none}
@media(max-width:700px){#cp-model-parts .cp-departments{grid-template-columns:repeat(2,minmax(0,1fr))}#cp-model-parts .cp-department:is([href*="cp_part=engine"],[href*="cp_part=cooling"],[href*="cp_part=body"],[href*="cp_part=suspension"],[href*="cp_part=brakes"]) .cp-department-icon{--cp-photo-height:clamp(135px,45vw,190px)}}
/* CP performance: reserve the real banner image ratios before download. */
[component-id="1267895310"] picture img{display:block;width:100%;aspect-ratio:1440 / 575}
[component-id="2000996872"] picture img{display:block;width:100%;aspect-ratio:3 / 1}
@media(max-width:767px){[component-id="1267895310"] picture img{aspect-ratio:4 / 3}}

/* Keep brand links in one row before the Salla slider hydrates. */
#main-links-0:not(.hydrated){display:block;overflow:hidden;min-height:144px}
#main-links-0:not(.hydrated)>[slot="items"]{display:flex;flex-wrap:nowrap}
#main-links-0:not(.hydrated)>[slot="items"]>.swiper-slide{flex-shrink:0}

/* Reserve the final carousel and asynchronously inserted header space. */
#main-links-0{display:block;height:144px;min-height:144px}
body.index #cp-trust-bar{min-height:59px}
body.index:not(:has(#cp-trust-bar)) .store-header::before{content:"";display:block;height:59px}
body.index salla-advertisement:not(.hydrated){display:block;min-height:46px}
@media(max-width:1023px){body.index .top-navbar{min-height:52px}}
@media(max-width:640px){body.index #cp-trust-bar{min-height:92px}body.index:not(:has(#cp-trust-bar)) .store-header::before{height:92px}}