/* Homepage category carousel below the hero. */
body.home #et-boc .lc-category-urls-section .lc-category-carousel-ready .et_pb_group_carousel_track {
  display: none !important;
}

body.home .lc-category-urls-section .lc-category-carousel-ready .et_pb_group_carousel_dots {
  display: none !important;
}

body.home .lc-category-urls-section .lc-category-carousel-track {
  display: flex;
  gap: 8%;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

body.home .lc-category-urls-section .lc-category-carousel-track::-webkit-scrollbar {
  display: none;
}

body.home .lc-category-urls-section .lc-category-carousel-card {
  flex: 0 0 calc((100% - 16%) / 3) !important;
  width: calc((100% - 16%) / 3) !important;
  max-width: none !important;
  margin: 0 !important;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

body.home .lc-category-urls-section .lc-category-carousel-card img {
  transition: transform 0.35s ease;
}

body.home .lc-category-urls-section .lc-category-carousel-card:hover img {
  transform: scale(1.04);
}

@media (max-width: 767px) {
  body.home .lc-category-urls-section .lc-category-carousel-track {
    gap: 14px;
  }

  body.home .lc-category-urls-section .lc-category-carousel-card {
    flex-basis: calc(50% - 7px) !important;
    width: calc(50% - 7px) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home .lc-category-urls-section .lc-category-carousel-track {
    scroll-behavior: auto;
  }

  body.home .lc-category-urls-section .lc-category-carousel-card img {
    transition: none;
  }
}

