/* Homepage scroll stability with the restored two-part hero. The document remains the only vertical scroller. */
html:has(body main > .hero) {
  width: 100%;
  max-width: 100%;
  height: auto !important;
  min-height: 100%;
  overflow-x: clip !important;
  overflow-y: auto !important;
  scroll-behavior: auto !important;
  overscroll-behavior-y: auto !important;
}
html:has(body main > .hero) body {
  width: 100%;
  max-width: 100%;
  height: auto !important;
  min-height: 100%;
  margin: 0;
  overflow: visible !important;
  touch-action: pan-y;
  overscroll-behavior-y: auto !important;
  position: static !important;
}
html:has(body main > .hero) body main { min-width: 0; }
html:has(body main > .hero) body main > .hero {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,.95fr) !important;
  align-items: center;
  min-height: 0 !important;
}
html:has(body main > .hero) .hero-brand-art {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  max-width: 560px;
  justify-self: end;
  overflow: hidden;
  background: #fbf5e6;
  border-radius: 4px;
  box-shadow: 0 18px 42px rgba(20,37,29,.10);
}
html:has(body main > .hero) .hero-brand-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
html:has(body main > .hero) .product-card {
  content-visibility: visible !important;
  contain: none !important;
  contain-intrinsic-size: auto !important;
}
@media (max-width: 700px) {
  html:has(body main > .hero) .site-header {
    position: relative !important;
    top: auto !important;
  }
  html:has(body main > .hero) body { touch-action: pan-y !important; }
  html:has(body main > .hero) body main > .hero {
    grid-template-columns: minmax(0,1fr) !important;
    gap: 22px;
    padding-top: 34px;
    padding-bottom: 42px;
  }
  html:has(body main > .hero) .hero-brand-art {
    justify-self: center;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 3 / 2;
  }
}
