.cc_MO18yEsVMa_8KmkBTtUV8 .shop-the-look {
  position: relative;
  width: 100%;
}

.cc_MO18yEsVMa_8KmkBTtUV8 .inner-container {
  width: 100%;
  margin: 0 auto;
}

.cc_MO18yEsVMa_8KmkBTtUV8 .shop-the-look-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.cc_MO18yEsVMa_8KmkBTtUV8 .shop-the-look-inner.is-image-left .shop-the-look-media {
  order: -1;
}

.cc_MO18yEsVMa_8KmkBTtUV8 .shop-the-look-panel {
  display: flex;
  justify-content: center;
  padding: 40px 24px;
  background-color: var(--zAlzdS3AIy);
}

.cc_MO18yEsVMa_8KmkBTtUV8 .shop-the-look-panel-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  /* Grows with the viewport so the card keeps its proportion to the look image on large screens. */
  max-width: clamp(380px, 28vw, 560px);
}

.cc_MO18yEsVMa_8KmkBTtUV8 .shop-the-look-title {
  margin: 0 0 16px;
  color: var(--rivbgZ6Mbn);
  font-size: var(--title-fs, 24px);
  font-weight: var(--title-fw, 500);
  line-height: 1.5;
}

/* Image keeps the configured ratio as a minimum and stretches with the panel. */
.cc_MO18yEsVMa_8KmkBTtUV8 .shop-the-look-media {
  position: relative;
  overflow: hidden;
}

/* Size container lives on an inner frame: size containment on the media itself would drop the
   ::before ratio spacer and collapse its minimum height. */
.cc_MO18yEsVMa_8KmkBTtUV8 .shop-the-look-frame {
  position: absolute;
  inset: 0;
  container-type: size;
}

.cc_MO18yEsVMa_8KmkBTtUV8 .shop-the-look-media::before {
  content: "";
  display: block;
  width: 100%;
  aspect-ratio: var(--stl-ratio, 1024 / 740);
}

.cc_MO18yEsVMa_8KmkBTtUV8 .shop-the-look-image, .cc_MO18yEsVMa_8KmkBTtUV8 .shop-the-look-image-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cc_MO18yEsVMa_8KmkBTtUV8 .shop-the-look-image {
  display: block;
  object-fit: cover;
}

.cc_MO18yEsVMa_8KmkBTtUV8 .shop-the-look-image-placeholder {
  background-color: var(--zAlzdS3AIy);
}

/* Hotspots are positioned over the image's cover-cropped box, so they stay on the same spot of
   the picture at any viewport size. Falls back to the full container until the ratio is known. */
.cc_MO18yEsVMa_8KmkBTtUV8 .shop-the-look-hotspot-list {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cc_MO18yEsVMa_8KmkBTtUV8 .shop-the-look-hotspot-list .stl-hotspot {
  pointer-events: auto;
}

.cc_MO18yEsVMa_8KmkBTtUV8 .shop-the-look-media[style*="--stl-img-ratio"] .shop-the-look-hotspot-list {
  inset: auto;
  top: 50%;
  left: 50%;
  width: max(100cqw, calc(100cqh * var(--stl-img-ratio)));
  height: max(100cqh, calc(100cqw / var(--stl-img-ratio)));
  transform: translate(-50%, -50%);
}

/* Each item renders a card and a hotspot — keep only the part that belongs to each list. */
.cc_MO18yEsVMa_8KmkBTtUV8 .shop-the-look .shop-the-look-card-list .stl-hotspot {
  display: none;
}

.cc_MO18yEsVMa_8KmkBTtUV8 .shop-the-look .shop-the-look-hotspot-list .stl-card {
  display: none;
}

/* Before items hydrate and know their index, show the first card. */
.cc_MO18yEsVMa_8KmkBTtUV8 .shop-the-look .shop-the-look-card-list > :first-child .stl-card:not(.is-hydrated) {
  display: block;
}

@media (max-width: 1024px) {
  .cc_MO18yEsVMa_8KmkBTtUV8 .shop-the-look-panel {
    padding: 32px 24px;
  }

  .cc_MO18yEsVMa_8KmkBTtUV8 .shop-the-look-title {
    font-size: var(--title-fs-tablet, 20px);
    margin-bottom: 16px;
  }
}

@media (max-width: 768px) {
  .cc_MO18yEsVMa_8KmkBTtUV8 .shop-the-look-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .cc_MO18yEsVMa_8KmkBTtUV8 .shop-the-look-media {
    order: -1;
  }

  .cc_MO18yEsVMa_8KmkBTtUV8 .shop-the-look-media::before {
    aspect-ratio: var(--stl-ratio-mobile, 1024 / 740);
  }

  .cc_MO18yEsVMa_8KmkBTtUV8 .shop-the-look-panel {
    padding: 24px 16px 32px;
  }
}

@media (max-width: 768px) {
  .cc_MO18yEsVMa_8KmkBTtUV8 .shop-the-look-title {
    font-size: var(--title-fs-mobile, 20px);
  }
}
