.product-detail h1 {
  font-size: 3rem;
}
.home-gallery-section {
  min-height: 28rem;
}

.home-gallery-bg {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  pointer-events: none;
  opacity: 0.55;
}

.home-gallery-fade {
  position: absolute;
  left: 0;
  right: 0;
  height: 35%;
  z-index: 2;
  pointer-events: none;
}

.home-gallery-fade--top {
  top: 0;
  background: linear-gradient(to bottom, var(--cream) 0%, transparent 100%);
}

.home-gallery-fade--bottom {
  bottom: 0;
  /*background: linear-gradient(to top, var(--cream) 0%, transparent 100%);*/
}

.home-gallery-row {
  overflow: hidden;
  width: 100%;
}

.home-gallery-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.home-gallery-track--left {
  animation: home-gallery-scroll-left 45s linear infinite;
}

.home-gallery-track--right {
  animation: home-gallery-scroll-right 50s linear infinite;
}

.home-gallery-set {
  display: flex;
  gap: 1.25rem;
  padding-right: 1.25rem;
  flex-shrink: 0;
}

.home-gallery-item {
  flex-shrink: 0;
  width: 16rem;
  height: 11rem;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(44, 24, 16, 0.12);
}

.home-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes home-gallery-scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes home-gallery-scroll-right {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-gallery-track--left,
  .home-gallery-track--right {
    animation: none;
  }
}

@media (min-width: 768px) {
  .home-gallery-item {
    width: 20rem;
    height: 13rem;
  }
}

.sticky-images-container {
  -webkit-border-bottom-right-radius: 10px;
  -webkit-border-bottom-left-radius: 10px;
  -moz-border-radius-bottomright: 10px;
  -moz-border-radius-bottomleft: 10px;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
}

.home-products-carousel {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 1.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  user-select: none;
  -webkit-overflow-scrolling: touch;
}

.home-products-carousel.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.home-products-carousel.is-dragging .home-products-carousel__item {
  pointer-events: none;
}

.home-products-carousel::-webkit-scrollbar {
  display: none;
}

.home-products-carousel__item {
  flex: 0 0 calc(100% - 2rem);
  width: calc(100% - 2rem);
  min-width: calc(100% - 2rem);
  max-width: calc(100% - 2rem);
  scroll-snap-align: start;
}

@media (min-width: 640px) {
  .home-products-carousel__item {
    flex: 0 0 calc(50% - 0.75rem);
    width: calc(50% - 0.75rem);
    min-width: calc(50% - 0.75rem);
    max-width: calc(50% - 0.75rem);
  }
}

@media (min-width: 1024px) {
  .home-products-carousel__item {
    flex: 0 0 calc(25% - 1.125rem);
    width: calc(25% - 1.125rem);
    min-width: calc(25% - 1.125rem);
    max-width: calc(25% - 1.125rem);
  }
}