/* Brand and title share a row instead of competing for the same absolute position. */
body.msk-product-layout .summary.entry-summary .msk-product-heading{display:grid;grid-template-columns:minmax(0,1fr) 88px;align-items:start;gap:20px;width:100%;min-width:0;margin:0 0 20px;clear:both}
body.msk-product-layout .summary.entry-summary h1.product_title{min-width:0;max-width:100%;white-space:normal!important;overflow-wrap:anywhere;word-break:normal}
body.msk-product-layout .summary.entry-summary .msk-product-heading>h1.product_title{width:auto!important;margin:0!important;padding:0!important;line-height:1.12}
body.msk-product-layout .summary.entry-summary .msk-product-heading>.merk_image{position:static!important;inset:auto!important;float:none!important;display:flex;align-items:flex-start;justify-content:flex-end;width:88px!important;max-width:100%;height:80px!important;max-height:80px;margin:0!important;transform:none!important}
body.msk-product-layout .summary.entry-summary .msk-product-heading>.merk_image img{position:static!important;inset:auto!important;display:block;width:auto!important;height:auto!important;max-width:100%!important;max-height:80px;object-fit:contain;transform:none!important}
/* Bound the main vehicle photograph by the screen, with breathing room on every side. */
body.msk-vehicle-product{--msk-vehicle-photo-height:clamp(320px,calc(100svh - 290px),580px)}
body.msk-vehicle-product .woo-variation-gallery-wrapper,body.msk-vehicle-product .woocommerce-product-gallery{min-width:0!important;min-height:0!important;max-width:100%}
body.msk-vehicle-product .woo-variation-gallery-slider-wrapper{aspect-ratio:auto!important;height:var(--msk-vehicle-photo-height)!important;min-height:0!important;max-height:var(--msk-vehicle-photo-height)}
body.msk-vehicle-product .woo-variation-gallery-slider .slick-list,body.msk-vehicle-product .woocommerce-product-gallery .flex-viewport{height:var(--msk-vehicle-photo-height)!important;max-height:var(--msk-vehicle-photo-height)}
body.msk-vehicle-product .woo-variation-gallery-slider .wvg-gallery-image,body.msk-vehicle-product .woocommerce-product-gallery__image{height:var(--msk-vehicle-photo-height)!important;min-height:0}
body.msk-vehicle-product .woo-variation-gallery-slider .wvg-single-gallery-image-container,body.msk-vehicle-product .woocommerce-product-gallery__image>a{position:relative;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:var(--msk-vehicle-photo-height)!important;min-height:0;aspect-ratio:auto!important;padding:18px 24px;overflow:hidden;background:#fff}
body.msk-vehicle-product .woo-variation-gallery-slider img:not(.zoomImg),body.msk-vehicle-product .woocommerce-product-gallery__image img:not(.zoomImg){display:block;width:100%!important;height:100%!important;max-width:100%;max-height:100%;margin:0!important;object-fit:contain!important;object-position:center;transform:none!important}
body.msk-vehicle-product .woo-variation-gallery-wrapper .zoomImg,body.msk-vehicle-product .woocommerce-product-gallery .zoomImg{display:none!important}
body.msk-vehicle-product .woo-variation-gallery-thumbnail-slider img,body.msk-vehicle-product .flex-control-thumbs img{object-fit:contain!important}
/* The same complete vehicle view in category, related-product and homepage cards. */
li.product.msk-vehicle-card .product_image .img{background-size:contain!important;background-position:center!important;background-repeat:no-repeat!important;background-color:#fff;transform:none!important}
li.product.msk-vehicle-card .product_image img{object-fit:contain!important;object-position:center;transform:none!important}
/* The unified archive imports only part of the parts-shop stylesheet. Keep its
   header entrance in the same flow as the working product-page navigation. */
body.msk-catalog-unified.msk-switch-mounted header.header #msk-section-switch{position:static!important;inset:auto!important;width:auto!important;min-width:0;flex:0 0 auto;margin:0;padding:0;background:transparent;border:0;box-shadow:none}
@media(min-width:1200px){
  body.msk-catalog-unified.msk-switch-mounted header.header .brand{margin-right:0!important}
}
@media(min-width:1200px) and (max-width:1399px){
  body.msk-catalog-unified.msk-switch-mounted header.header .the_nav{gap:12px}
  body.msk-catalog-unified header.header #menu-hoofdmenu>li>a{font-size:12px;padding-left:9px;padding-right:9px}
}
@media(max-width:1199px){
  body.msk-catalog-unified.msk-switch-mounted header.header #msk-section-switch{position:absolute!important;top:auto!important;left:0!important;right:0!important;bottom:0!important;width:100%!important;background:#fff;border-top:1px solid #e5e9f0}
}
@media(max-width:767px){
  body.msk-product-layout .summary.entry-summary .msk-product-heading{grid-template-columns:minmax(0,1fr);gap:11px;margin-bottom:18px}
  body.msk-product-layout .summary.entry-summary .msk-product-heading>.merk_image{justify-content:flex-start;width:70px!important;height:52px!important;max-height:52px}
  body.msk-product-layout .summary.entry-summary .msk-product-heading>.merk_image img{max-height:52px}
  body.msk-vehicle-product{--msk-vehicle-photo-height:clamp(240px,min(85vw,58svh),420px)}
  body.msk-vehicle-product .woo-variation-gallery-slider .wvg-single-gallery-image-container,body.msk-vehicle-product .woocommerce-product-gallery__image>a{padding:12px 18px}
}
