/* A'ora product carousel using the supplied product photography. */
.aora {
  min-height: 0;
  overflow: hidden;
}

.aora.section {
  padding-top: 105px;
  padding-bottom: 105px;
}

.aora .aora-section-logo {
  width: min(260px, 66vw);
  margin-bottom: 12px;
}

.aora-spotlight {
  pointer-events: none;
}

.aora > .button {
  position: relative;
  z-index: 3;
  pointer-events: auto;
}

.product-track {
  display: flex;
  grid-template-columns: none;
  gap: 19px;
  width: max-content;
  max-width: none;
  margin: 38px 0 30px;
  padding: 10px max(7vw, calc((100vw - 1100px) / 2));
  text-align: center;
  animation: aora-product-scroll 32s linear infinite;
  will-change: transform;
}

.product-track.is-paused,
.product-track:hover,
.product-track:focus-within {
  animation-play-state: paused;
}

.product {
  flex: 0 0 clamp(175px, 17vw, 215px);
  min-height: 270px;
  padding: 0 0 18px;
  overflow: hidden;
  cursor: pointer;
  outline: none;
}

.product:focus-visible,
.product.is-selected {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), 0 22px 42px rgba(0, 0, 0, .55);
  transform: translateY(-10px);
}

.product img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.06);
  transition: transform .55s ease;
}

.product:hover img,
.product.is-selected img {
  transform: scale(1.08);
}

.product h3 {
  margin-top: 14px;
}

@keyframes aora-product-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 9.5px)); }
}

@media (prefers-reduced-motion: reduce) {
  .product-track { animation: none; transform: none; }
}

@media (max-width: 500px) {
  .aora.section {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .product-track { padding-left: 7vw; padding-right: 7vw; }
  .product { flex-basis: 215px; }
}
