.product-detail-wide-image {
  margin-top: -40px;
}
.ingredient-carousel {
  position: relative;
  min-width: 0;
}
.ingredient-track {
  display: flex;
  width: 100%;
  scroll-behavior: smooth;
}
.ingredient-item {
  width: 25%;
  min-width: 0;
  box-sizing: border-box;
  padding: 12px;
  scroll-snap-align: start;
}
.ingredient-item img {
  display: block;
  width: 100%;
  height: auto;
}
.ingredient-arrow {
  position: absolute;
  top: calc(50% - 40px);
  font-size: 32px;
  background: #ffffffd9;
}
.ingredient-arrow:disabled {
  opacity: 0.25;
}
.ingredient-previous {
  left: -30px;
}
.ingredient-next {
  right: -30px;
}
.ingredient-pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 16px;
}
.ingredient-pagination button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 32px;
  border-radius: 4px;
}
.ingredient-pagination button::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-base-300);
}
.ingredient-pagination button[aria-current="true"]::before {
  background: var(--brand-ink);
}
@media (max-width: 1279px) {
  .ingredient-previous {
    left: -16px;
  }
  .ingredient-next {
    right: -16px;
  }
}
@media (max-width: 959px) {
  .ingredient-item {
    width: 50%;
  }
}
@media (max-width: 639px) {
  .product-detail-wide-image {
    margin-top: -20px;
  }
}
@media (max-width: 479px) {
  .ingredient-item {
    width: 100%;
    padding: 8px 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ingredient-track {
    scroll-behavior: auto;
  }
}
