/* Home-only presentation. Keep product-rail behavior isolated from shared storefront rules. */
body.home-page .home-hot-section {
  padding-block: clamp(2rem, 5vw, 4rem) !important;
  background: #fbf8f4 !important;
}

body.home-page .home-hot-header {
  display: flex !important;
  align-items: end !important;
  justify-content: space-between !important;
  gap: 1.25rem !important;
  margin-bottom: 1.25rem !important;
}

body.home-page .home-hot-header > div {
  display: grid;
  gap: 0.4rem;
}

body.home-page .home-hot-header h2 {
  margin: 0 !important;
  font-size: clamp(2rem, 4vw, 3rem) !important;
  line-height: 1 !important;
}

body.home-page .home-hot-header p {
  max-width: 34rem !important;
  margin: 0 !important;
  color: #655d62 !important;
  font-size: 0.9375rem !important;
  line-height: 1.5 !important;
}

body.home-page .home-hot-view-all {
  min-height: 2.75rem !important;
  padding-inline: 1.1rem !important;
  border-color: rgba(118, 84, 99, 0.3) !important;
  background: #fffdf9 !important;
  font-size: 0.8125rem !important;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease !important;
}

body.home-page .home-hot-view-all:hover,
body.home-page .home-hot-view-all:focus-visible {
  border-color: #765463 !important;
  background: #f6edf1 !important;
  color: #5d3f4d !important;
}

body.home-page .home-hot-scroll {
  width: 100% !important;
  margin-inline: 0 !important;
  overflow-x: auto !important;
  scroll-padding-inline: 0 !important;
  scroll-snap-type: x mandatory !important;
  scrollbar-width: none !important;
}

body.home-page .home-hot-scroll::-webkit-scrollbar {
  display: none !important;
}

body.home-page .home-hot-track {
  display: grid !important;
  width: max-content !important;
  min-width: 100% !important;
  grid-auto-flow: column !important;
  grid-auto-columns: clamp(15rem, 24vw, 17.5rem) !important;
  justify-content: start !important;
  gap: 1rem !important;
  padding: 0 !important;
}

body.home-page .home-hot-card {
  min-width: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(192, 165, 116, 0.48) !important;
  border-radius: 0.875rem !important;
  background: #fffdfb !important;
  box-shadow: none !important;
  scroll-snap-align: start !important;
  transition: border-color 160ms ease, transform 160ms ease !important;
}

body.home-page .home-hot-card:hover,
body.home-page .home-hot-card:focus-within {
  border-color: rgba(118, 84, 99, 0.55) !important;
  box-shadow: none !important;
  transform: translateY(-2px) !important;
}

body.home-page .home-hot-card a {
  display: grid !important;
  height: 100% !important;
  grid-template-rows: auto 1fr !important;
  color: inherit !important;
  text-decoration: none !important;
}

body.home-page .home-hot-media {
  display: grid !important;
  min-height: 15rem !important;
  aspect-ratio: 1 / 1 !important;
  place-items: center !important;
  padding: 1.25rem !important;
  background: #fff !important;
}

body.home-page .home-hot-card img {
  width: min(100%, 13.5rem) !important;
  height: auto !important;
  aspect-ratio: 1 !important;
  object-fit: contain !important;
  background: transparent !important;
}

body.home-page .home-hot-copy {
  display: grid !important;
  align-content: end !important;
  justify-items: stretch !important;
  gap: 0.75rem !important;
  padding: 1rem !important;
  text-align: center !important;
}

body.home-page .home-hot-fit {
  min-height: 1.875rem !important;
  justify-self: center !important;
  padding-inline: 0.75rem !important;
  font-size: 0.75rem !important;
  white-space: nowrap !important;
}

body.home-page .home-hot-button {
  width: 100% !important;
  min-height: 2.75rem !important;
  margin: 0 !important;
  padding-inline: 0.875rem !important;
  border-color: rgba(118, 84, 99, 0.32) !important;
  background: #fffdf9 !important;
  font-size: 0.8125rem !important;
  white-space: normal !important;
}

body.home-page .home-hot-card:hover .home-hot-button,
body.home-page .home-hot-card:focus-within .home-hot-button {
  border-color: #765463 !important;
  background: #765463 !important;
  color: #fff !important;
  transform: none !important;
}

body.home-page .home-hot-footer {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1rem;
}

body.home-page .home-hot-footer[hidden] {
  display: none !important;
}

body.home-page .home-hot-status {
  color: #765463;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

body.home-page .home-hot-controls {
  display: flex;
  gap: 0.5rem;
}

body.home-page .home-hot-controls button {
  display: inline-grid;
  width: 2.75rem;
  min-width: 2.75rem;
  height: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(118, 84, 99, 0.32);
  border-radius: 50%;
  background: #fffdf9;
  color: #765463;
  place-items: center;
  font: inherit;
  cursor: pointer;
}

body.home-page .home-hot-controls button:hover,
body.home-page .home-hot-controls button:focus-visible {
  border-color: #765463;
  background: #f6edf1;
}

body.home-page .home-hot-controls button:disabled {
  cursor: default;
  opacity: 0.35;
}

/* A single product is a complete feature card, not a one-item carousel. */
body.home-page .home-hot-track[data-item-count="1"] {
  width: 100% !important;
  grid-auto-columns: minmax(0, 48rem) !important;
  justify-content: center !important;
}

body.home-page .home-hot-track[data-item-count="1"] .home-hot-card a {
  grid-template-columns: minmax(15rem, 1.1fr) minmax(13rem, 0.9fr) !important;
  grid-template-rows: 1fr !important;
}

body.home-page .home-hot-track[data-item-count="1"] .home-hot-media {
  min-height: 19rem !important;
  aspect-ratio: auto !important;
}

body.home-page .home-hot-track[data-item-count="1"] .home-hot-card img {
  width: min(100%, 17rem) !important;
}

body.home-page .home-hot-track[data-item-count="1"] .home-hot-copy {
  align-content: center !important;
  padding: clamp(1.25rem, 4vw, 2.5rem) !important;
}

@media (max-width: 47.5rem) {
  body.home-page .home-hot-section {
    padding-block: 1.75rem 2.25rem !important;
  }

  body.home-page .home-hot-header {
    align-items: start !important;
    gap: 0.75rem !important;
    margin-bottom: 1rem !important;
  }

  body.home-page .home-hot-header h2 {
    font-size: clamp(1.875rem, 8vw, 2.25rem) !important;
  }

  body.home-page .home-hot-header p {
    max-width: 26rem !important;
    font-size: 0.8125rem !important;
  }

  body.home-page .home-hot-view-all {
    min-height: 2.5rem !important;
    padding-inline: 0.875rem !important;
    font-size: 0.75rem !important;
  }

  body.home-page .home-hot-scroll {
    width: auto !important;
    margin-inline: calc(-1 * var(--vl-fluid-gutter)) !important;
    scroll-padding-inline: var(--vl-fluid-gutter) !important;
  }

  body.home-page .home-hot-track {
    grid-auto-columns: clamp(13rem, 50vw, 14.5rem) !important;
    gap: 0.75rem !important;
    padding-inline: var(--vl-fluid-gutter) !important;
  }

  body.home-page .home-hot-media {
    min-height: 0 !important;
    padding: 1rem !important;
  }

  body.home-page .home-hot-card img {
    width: min(100%, 10.5rem) !important;
  }

  body.home-page .home-hot-copy {
    padding: 0.875rem !important;
  }

  body.home-page .home-hot-fit {
    font-size: 0.6875rem !important;
  }

  body.home-page .home-hot-button {
    min-height: 2.75rem !important;
    font-size: 0.75rem !important;
  }

  body.home-page .home-hot-footer {
    margin-top: 0.75rem;
  }

  body.home-page .home-hot-track[data-item-count="1"] {
    grid-auto-columns: minmax(0, 100%) !important;
    padding-inline: 0 !important;
  }

  body.home-page .home-hot-section.is-single .home-hot-scroll {
    margin-inline: 0 !important;
    scroll-padding-inline: 0 !important;
  }

  body.home-page .home-hot-track[data-item-count="1"] .home-hot-card a {
    grid-template-columns: minmax(8.5rem, 1fr) minmax(8.5rem, 0.9fr) !important;
  }

  body.home-page .home-hot-track[data-item-count="1"] .home-hot-media {
    min-height: 14rem !important;
    padding: 0.875rem !important;
  }

  body.home-page .home-hot-track[data-item-count="1"] .home-hot-card img {
    width: min(100%, 12.5rem) !important;
  }

  body.home-page .home-hot-track[data-item-count="1"] .home-hot-copy {
    padding: 1rem !important;
  }
}

@media (max-width: 23.75rem) {
  body.home-page .home-hot-header p {
    display: none !important;
  }

  body.home-page .home-hot-track[data-item-count="1"] .home-hot-card a {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto 1fr !important;
  }

  body.home-page .home-hot-track[data-item-count="1"] .home-hot-media {
    min-height: 0 !important;
    aspect-ratio: 1 / 0.82 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home-page .home-hot-card,
  body.home-page .home-hot-view-all,
  body.home-page .home-hot-controls button {
    transition: none !important;
  }
}
