/* Product Spotlight — 50/50 milieu image + product details carousel */

.product-spotlight,
.product-spotlight.ComponentWrapper,
.product-spotlight.skeidar-block--contained,
.product-spotlight.skeidar-block--full {
  margin: 8px 0 0;
  padding: 0 40px;
  box-sizing: border-box;
  background: transparent;
}

@media (max-width: 599.95px) {
  .product-spotlight,
  .product-spotlight.ComponentWrapper,
  .product-spotlight.skeidar-block--contained,
  .product-spotlight.skeidar-block--full {
    margin-top: 4px;
    padding: 0 20px;
  }
}

.product-spotlight__viewport {
  position: relative;
  width: 100%;
}

.product-spotlight__track {
  display: flex;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
}

.product-spotlight__track::-webkit-scrollbar {
  display: none;
}

.product-spotlight__track.is-dragging {
  scroll-behavior: auto;
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.product-spotlight__slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  box-sizing: border-box;
}

.product-spotlight__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  width: 100%;
  min-height: 0;
}

@media (min-width: 900px) {
  .product-spotlight__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "media content";
    gap: 0;
    align-items: stretch;
  }

  .product-spotlight--media-right .product-spotlight__inner {
    grid-template-areas: "content media";
  }
}

.product-spotlight__media,
.product-spotlight__content {
  min-width: 0;
}

.product-spotlight__media {
  grid-area: media;
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e8e8e8;
}

@media (min-width: 900px) {
  .product-spotlight__media {
    aspect-ratio: unset;
    min-height: 480px;
    align-self: stretch;
  }
}

.product-spotlight__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 900px) {
  .product-spotlight__image {
    position: absolute;
    inset: 0;
  }
}

.product-spotlight__content {
  grid-area: content;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 32px 8px;
  box-sizing: border-box;
  background: #ffffff;
}

@media (min-width: 900px) {
  .product-spotlight__content {
    min-height: 480px;
    padding: 48px 40px;
  }
}

.product-spotlight__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  max-width: 28rem;
}

.product-spotlight__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 12px;
  border: 0;
  border-radius: 0;
  background: #000000;
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
}

.product-spotlight__cta:hover {
  color: #ffffff;
  opacity: 0.9;
}

.product-spotlight__title {
  margin: 0;
  color: #000000;
  font-size: clamp(1.5rem, 2vw + 0.75rem, 2.25rem);
  font-weight: 500;
  line-height: 1.15;
}

.product-spotlight__title a {
  color: inherit;
  text-decoration: none;
}

.product-spotlight__title a:hover {
  text-decoration: underline;
}

.product-spotlight__prices {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
}

.product-spotlight__list-price {
  color: #757575;
  font-size: 1.125rem;
  font-weight: 400;
  text-decoration: line-through;
}

.product-spotlight__sale-price {
  color: #c62828;
  font-size: 1.25rem;
  font-weight: 600;
}

/*
 * Live arrowsmall: 21×23 frosted square plate on the outer edges of the
 * whole box — left arrow | image | text | right arrow.
 */
.product-spotlight__arrow.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 23px;
  min-width: 21px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(248, 248, 248, 0.66);
  color: #000000;
  box-shadow: none;
  outline: none;
  transform: translateY(-50%);
  cursor: pointer;
  line-height: 0;
  -webkit-appearance: none;
  appearance: none;
  opacity: 0;
  pointer-events: none;
  transition: background 0.2s ease, opacity 0.3s ease;
}

.product-spotlight__arrow.carousel-arrow > svg {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
}

.product-spotlight__arrow--prev {
  left: 0;
}

.product-spotlight__arrow--next {
  right: 0;
}

.product-spotlight__viewport:hover .product-spotlight__arrow.carousel-arrow {
  opacity: 1;
  pointer-events: auto;
}

.product-spotlight__arrow.carousel-arrow:hover,
.product-spotlight__arrow.carousel-arrow:focus {
  background: rgba(248, 248, 248, 0.9);
  outline: none;
}

@media (hover: none) {
  .product-spotlight__arrow.carousel-arrow {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 899.95px) {
  .product-spotlight__arrow.carousel-arrow {
    opacity: 1;
    pointer-events: auto;
  }
}
