.hz-home-products-grid :is(.wd-products, .products, .wd-grid):has(> .wd-product) {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px 0;
}
.hz-home-products-grid :is(.wd-products, .products, .wd-grid) > .wd-product {
  width: auto !important;
  min-width: 0;
  max-width: none !important;
}
@media (max-width: 1024px) {
  .hz-home-products-grid :is(.wd-products, .products, .wd-grid):has(> .wd-product) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .hz-home-products-grid :is(.wd-products, .products, .wd-grid):has(> .wd-product) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.elementor-element-fa60e6e .hz-home-products-grid :is(.wd-products,.products,.wd-grid):has(> .wd-product) {
  gap: clamp(9px, 1.35vw, 18px);
  align-items: stretch;
}
.elementor-element-fa60e6e .hz-home-products-grid .wd-product > .wd-product-wrapper {
  height: 100%;
  border: 1px solid #171717;
  background: #fff;
}
.elementor-element-fa60e6e .hz-home-products-grid .wd-product-thumb {
  position: relative;
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 0;
  background: #f4f4f4;
}
.elementor-element-fa60e6e .hz-home-products-grid .wd-product-thumb > .wd-product-img-hover { display: none !important; }
.hz-home-products-grid .wd-product-thumb > .wd-product-img-link,
.hz-home-products-grid .hz-card-photo-track > a {
  display: block;
  aspect-ratio: 1;
}
.hz-home-products-grid .wd-product-thumb > .wd-product-img-link img,
.hz-home-products-grid .hz-card-photo-track img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hz-home-products-grid .hz-card-photo-track {
  display: flex;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  width: 100%;
  height: 100%;
}
.hz-home-products-grid .hz-card-photo-track::-webkit-scrollbar { display: none; }
.hz-home-products-grid .hz-card-photo-track > a { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; }
.hz-home-products-grid .hz-card-photo-track:focus-visible { outline: 2px solid #111; outline-offset: -3px; }
.hz-home-products-grid .hz-card-photo-controls {
  position: absolute; bottom: 2px; left: 50%; translate: -50% 0;
  display: flex; gap: 0; align-items: center; z-index: 4;
}
.hz-home-products-grid .hz-card-photo-controls button {
  position: relative; isolation: isolate; padding: 0; margin: 0; width: 44px; height: 44px;
  min-height: 44px; color: #111; border: 0; background: transparent; font: 22px/1 Arial,sans-serif;
}
.hz-home-products-grid .hz-card-photo-controls button::before {
  content: ''; position: absolute; inset: 7px; border-radius: 50%; background: #fff;
  border: 1px solid #ddd; z-index: -1;
}
.hz-home-products-grid .hz-card-photo-controls button:focus-visible { outline: 2px solid #111; outline-offset: -4px; }
.hz-home-products-grid .hz-card-photo-count {
  background: #fff; color: #111; border-radius: 12px; padding: 2px 6px; white-space: nowrap;
  font: 600 10px/1.3 Arial,sans-serif; pointer-events: none;
}
.elementor-element-fa60e6e .hz-home-products-grid .wd-product-thumb > :is(.wd-wishlist-btn,.hz-guest-product-heart) {
  position: absolute !important; top: 3px !important; right: 3px !important;
  bottom: auto !important; left: auto !important; margin: 0;
  width: 44px; height: 44px; z-index: 6;
  opacity: 1 !important; visibility: visible !important; transform: none !important;
}
.elementor-element-fa60e6e .hz-home-products-grid .wd-product-thumb > .wd-wishlist-btn > a {
  width: 44px; height: 44px; display: grid; place-items: center; position: relative;
  isolation: isolate; color: #111; opacity: 1 !important; visibility: visible !important;
  background: transparent; transform: none !important;
}
.hz-home-products-grid .wd-product-thumb > .wd-wishlist-btn > a::before {
  content: ''; position: absolute; inset: 5px; border-radius: 50%; background: #fff; border: 1px solid #ddd; z-index: -1;
}
.hz-home-products-grid .wd-product-thumb > .wd-wishlist-btn > a:focus-visible { outline: 2px solid #111; outline-offset: -4px; }
.hz-home-products-grid .wd-product-wrapper > .wp-block-wd-container {
  padding: 9px 6px 10px;
  border-top: 1px solid #e5e5e5;
  min-width: 0;
}
.elementor-element-fa60e6e .hz-home-products-grid .wd-loop-prod-title {
  margin: 0; min-width: 0; width: 100%; text-align: center;
  font-size: clamp(12px, 1.3vw, 15px); line-height: 1.28;
  min-height: 2.56em; align-content: center;
}
.hz-home-products-grid .wd-loop-prod-title a { white-space: normal; overflow-wrap: anywhere; }
.elementor-element-fa60e6e .hz-home-products-grid .wd-loop-prod-price { font-size: clamp(11px, 1.15vw, 14px); line-height: 1.3; text-align: center; }

/* The homepage's second native product widget duplicates the same catalogue. */
body.home .elementor-element.elementor-element-02752a2 { display: none !important; }

.elementor-element-fa60e6e .hz-home-products-grid .wd-product-thumb > .product-labels {
  position: absolute !important;
  top: 8px !important; left: 8px !important; right: auto !important; bottom: auto !important;
  margin: 0; z-index: 5; transform: none !important; pointer-events: none;
}
.hz-home-products-grid .product-labels .onsale {
  min-height: 0; min-width: 0; padding: 4px 6px; border-radius: 0;
  background: #151515; color: #fff; white-space: nowrap;
  font: 700 10px/1.1 Arial,sans-serif;
}
.hz-home-products-grid .hz-card-swatches { display: grid; justify-items: center; gap: 3px; margin-top: 5px; width: 100%; }
.hz-home-products-grid .hz-card-swatches-options { display: flex; justify-content: center; flex-wrap: wrap; }
.hz-home-products-grid .hz-card-swatches button {
  display: grid; place-items: center; padding: 0; margin: 0; min-width: 30px; min-height: 30px;
  border: 0; background: transparent; color: #111; box-shadow: none;
}
.hz-home-products-grid .hz-card-swatches button span {
  display: grid; place-items: center; width: 16px; height: 16px; border: 1px solid #888;
  border-radius: 2px; font: 700 9px/1 Arial,sans-serif; text-transform: uppercase;
}
.hz-home-products-grid .hz-card-swatches button[aria-pressed=true] span,
.hz-home-products-grid .hz-card-swatches button:focus-visible span { outline: 1px solid #171717; outline-offset: 2px; }
.hz-home-products-grid .hz-card-colour-name { font: 500 10px/1.2 Arial,sans-serif; color: #555; text-align: center; }
