html body.home-page .home-subcategory-panel-head h2,
html body.home-page .home-section-title-row h2,
html body.home-page .home-related-searches-head h2,
html body.home-page .home-related-search-group h3 {
  font-size: clamp(0.98rem, 1.5vw, 1.14rem) !important;
}

@media (min-width: 769px) {
  html body.home-page main#productCoreContent .home-hero-title-text {
    color: var(--ink) !important;
    font-family: var(--ui-font-family) !important;
    font-size: 0.94rem !important;
    font-style: normal !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    letter-spacing: 0 !important;
  }
}

@media (min-width: 993px) {
  html body.home-page .home-subcategory-panel-head {
    display: flex !important;
    width: calc(90% - 1px) !important;
    max-width: calc(90% - 1px) !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1rem !important;
  }

  html body.home-page .home-subcategory-carousel-controls {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.5rem;
  }

  html body.home-page .home-subcategory-carousel-controls[hidden] {
    display: none !important;
  }

  html body.home-page .home-subcategory-carousel-button {
    display: inline-flex;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f2f2f2;
    color: #222;
    box-shadow: none;
    cursor: pointer;
    transition:
      background-color 160ms ease,
      color 160ms ease,
      opacity 160ms ease;
  }

  html body.home-page .home-subcategory-carousel-button:hover:not(:disabled) {
    background: #e8e8e8;
  }

  html body.home-page .home-subcategory-carousel-button:focus-visible {
    outline: 2px solid #222;
    outline-offset: 2px;
  }

  html body.home-page .home-subcategory-carousel-button:disabled {
    background: #f7f7f7;
    color: #b7b7b7;
    cursor: default;
    opacity: 0.72;
  }

  html body.home-page .home-subcategory-carousel-button svg {
    width: 17px;
    height: 17px;
    pointer-events: none;
  }

  html body.home-page .home-subcategory-grid {
    display: grid !important;
    width: calc(90% - 1px) !important;
    max-width: calc(90% - 1px) !important;
    grid-template-columns: none !important;
    grid-template-rows: auto !important;
    grid-auto-flow: column !important;
    grid-auto-columns: calc((100% - 80px) / 9) !important;
    align-items: start !important;
    justify-content: start !important;
    gap: 10px !important;
    padding: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: none !important;
  }

  html body.home-page .home-subcategory-grid::-webkit-scrollbar {
    display: none !important;
  }

  html body.home-page .home-subcategory-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    aspect-ratio: auto !important;
    scroll-snap-align: start !important;
    scroll-snap-stop: always;
  }

  html body.home-page .home-subcategory-card img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
  }
}

@media (max-width: 992px) {
  html body.home-page .home-subcategory-carousel-controls {
    display: none !important;
  }
}
