/* The featured photo owns a square, fluid row; the details never cover it. */
#home .hero-editorial-product,
#home .hero-editorial-product.hero-has-selection {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  align-content: start !important;
  justify-items: stretch !important;
  gap: clamp(10px, 1.5vw, 16px) !important;
  width: 100% !important;
  max-width: min(650px, 100%) !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  padding: clamp(12px, 2vw, 22px) !important;
  overflow: visible !important;
  contain: layout style !important;
}

#home .hero-editorial-product .hero-shoe,
#home .hero-editorial-product.hero-has-selection .hero-shoe {
  position: relative !important;
  grid-row: 1 !important;
  inset: auto !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  transform: none !important;
}

#home .hero-editorial-product .hero-shoe-slide {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

#home .hero-editorial-product .hero-shoe img,
#home .hero-editorial-product.hero-has-selection .hero-shoe img {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  padding: clamp(10px, 2.5vw, 22px) !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
}

#home .hero-editorial-product .hero-product-card,
#home .hero-editorial-product.hero-has-selection .hero-product-card {
  position: relative !important;
  grid-row: 2 !important;
  inset: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 !important;
}

/* Keep the default "See product details" line under the pair name on the left. */
#home .hero-editorial-product:not(.hero-has-selection) .hero-product-card > b {
  grid-area: hint !important;
  grid-column: 1 !important;
  grid-row: 2 !important;
  justify-self: start !important;
  align-self: start !important;
  text-align: left !important;
}

@media (max-width: 600px) {
  #home .hero-editorial-product,
  #home .hero-editorial-product.hero-has-selection {
    gap: 10px !important;
    padding: 12px !important;
  }
}
