/*
 * Custom style goes here.
 * CLS / Core Web Vitals – reserved image space (2026-08-06)
 */

/* Product cards: keep square slot before image loads */
.product-miniature .product-thumbnail,
.product-miniature .product__card-img,
.product-miniature .thumbnail.product-thumbnail {
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
}

.product-miniature img.js-qv-product-covers,
.product-miniature .product-thumbnail img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
}

/* Brand / manufacturer logos on homepage */
img.replace-2x,
.front-bi-4 img.replace-2x,
img.manufacturer-logo {
  width: auto;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  display: inline-block;
}

/* Homeslider: reserve space to avoid hero jump */
.homeslider-container,
.homeslider-container .rslides,
.homeslider-container .slide .photos {
  width: 100%;
}

.homeslider-container .slide .photos img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Header logo */
#header .logo img,
.header-top .logo img,
a.logo img {
  height: auto;
  max-width: 100%;
}
