.shop-the-look {
  display: block;
  color: var(--shop-the-look-text-color);
  background: var(--shop-the-look-background);
  font-family: var(--shop-the-look-body-font);
  font-style: var(--shop-the-look-body-font-style);
}

.shop-the-look__inner {
  max-width: var(--shop-the-look-max-width);
  margin: 0 auto;
}

.shop-the-look__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-block-end: 34px;
  text-align: center;
}

.shop-the-look__heading {
  margin: 0;
  color: var(--shop-the-look-heading-color);
  font-family: var(--shop-the-look-heading-font);
  font-size: var(--shop-the-look-heading-size);
  font-style: var(--shop-the-look-heading-font-style);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.shop-the-look__description {
  max-width: 760px;
  margin: 0;
}

.shop-the-look__see-all {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  min-height: 42px;
  padding: 10px 24px;
  color: inherit;
  text-decoration: none;
  border: 1px solid currentColor;
}

.shop-the-look__see-all svg {
  width: 16px;
  height: 16px;
}

.shop-the-look__tabs {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-block-end: 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

.shop-the-look__tabs::-webkit-scrollbar {
  display: none;
}

.shop-the-look__tab {
  flex: 0 0 auto;
  min-width: 86px;
  min-height: 36px;
  padding: 8px 24px;
  color: var(--shop-the-look-tab-color);
  white-space: nowrap;
  cursor: pointer;
  background: var(--shop-the-look-tab-background);
  border: 0;
  border-radius: 999px;
}

.shop-the-look__tab.is-active {
  color: var(--shop-the-look-tab-active-color);
  background: var(--shop-the-look-tab-active-background);
}

.shop-the-look__tab:focus-visible,
.shop-the-look__see-all:focus-visible,
.shop-the-look__arrow:focus-visible,
.shop-the-look__anchor-trigger:focus-visible,
.shop-the-look__show-products:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.shop-the-look__panel[hidden] {
  display: none;
}

.shop-the-look__carousel {
  position: relative;
}

.shop-the-look__track {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.shop-the-look__track::-webkit-scrollbar {
  display: none;
}

.shop-the-look__slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 100%;
  scroll-snap-align: start;
}

.shop-the-look__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgb(var(--color-image-background));
}

.shop-the-look__idea-link,
.shop-the-look__image,
.shop-the-look__placeholder {
  display: block;
  width: 100%;
  height: 100%;
}

.shop-the-look__image,
.shop-the-look__placeholder {
  object-fit: cover;
}


.shop-the-look__anchors {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shop-the-look__anchor {
  position: absolute;
  inset-block-start: var(--desktop-top);
  inset-inline-start: var(--desktop-left);
  z-index: 3;
  pointer-events: auto;
}

.shop-the-look__anchor-trigger {
  position: relative;
  display: block;
  width: 32px;
  height: 32px;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.shop-the-look__anchor-trigger::before,
.shop-the-look__anchor-trigger::after {
  position: absolute;
  inset: 0;
  width: 14px;
  height: 14px;
  margin: auto;
  content: "";
  background: #fff;
  border-radius: 50%;
}

.shop-the-look__anchor-trigger::after {
  opacity: 0.55;
  animation: shop-the-look-pulse 2s infinite;
}

.shop-the-look__anchor-card {
  position: absolute;
  inset-block-start: 20px;
  inset-inline-start: 50%;
  z-index: 4;
  display: flex;
  gap: 14px;
  align-items: center;
  width: max-content;
  min-width: 280px;
  max-width: 360px;
  padding: 14px;
  color: rgb(var(--color-text));
  text-decoration: none;
  pointer-events: none;
  visibility: hidden;
  background: rgb(var(--color-background));
  box-shadow: 0 8px 24px rgb(0 0 0 / 14%);
  opacity: 0;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  transform: translateX(-50%);
}

.shop-the-look__anchor:hover .shop-the-look__anchor-card,
.shop-the-look__anchor.is-open .shop-the-look__anchor-card {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
}

.shop-the-look__anchor-info,
.shop-the-look__product-info {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.shop-the-look__anchor-title,
.shop-the-look__product-title {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.shop-the-look__anchor-image,
.shop-the-look__product-image {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  overflow: hidden;
}

.shop-the-look__anchor-image img,
.shop-the-look__anchor-image svg,
.shop-the-look__product-image img,
.shop-the-look__product-image svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.shop-the-look__show-products {
  position: absolute;
  inset-block-end: 18px;
  inset-inline-start: 18px;
  z-index: 2;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 38px;
  padding: 8px 16px;
  color: #fff;
  cursor: pointer;
  background: rgb(0 0 0 / 66%);
  border: 0;
}

.shop-the-look__show-products-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.shop-the-look__show-products-icon svg {
  width: 20px;
  height: 20px;
}

.shop-the-look__show-products.is-hidden-state .shop-the-look__show-products-icon::after {
  position: absolute;
  inset-inline-start: 50%;
  inset-block-start: 50%;
  width: 2px;
  height: 26px;
  content: "";
  background: currentColor;
  transform: translate(-50%, -50%) rotate(35deg);
}

.shop-the-look__slide.is-anchors-hidden .shop-the-look__anchors {
  visibility: hidden;
}

.shop-the-look__scene-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


.shop-the-look__arrow {
  position: absolute;
  inset-block-start: 50%;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 56px;
  color: #000;
  cursor: pointer;
  background: color-mix(in srgb, var(--shop-the-look-arrow-background) 82%, transparent);
  border: 0;
  transform: translateY(-50%);
}

.shop-the-look__arrow[hidden] {
  display: none;
}

.shop-the-look__arrow--previous {
  inset-inline-start: 0;
}

.shop-the-look__arrow--next {
  inset-inline-end: 0;
}

.shop-the-look__arrow--previous svg {
  transform: rotate(180deg);
}

.shop-the-look__dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  min-height: 14px;
  margin-block-start: 14px;
}

.shop-the-look__dot {
  width: 32px;
  height: 4px;
  padding: 0;
  cursor: pointer;
  background: var(--shop-the-look-dot-color);
  border: 0;
}

.shop-the-look__dot.is-active {
  background: var(--shop-the-look-dot-active-color);
}

@media (max-width: 959px) {
  .shop-the-look__header {
    gap: 14px;
    margin-block-end: 28px;
  }

  .shop-the-look__heading {
    font-size: var(--shop-the-look-heading-size-mobile);
  }

  .shop-the-look__see-all {
    min-width: 180px;
    min-height: 40px;
  }

  .shop-the-look__tabs {
    gap: 10px;
    margin-inline: -12px;
    padding-inline: 12px;
  }

  .shop-the-look__tab {
    min-width: auto;
    padding: 9px 18px;
    border-radius: 0;
  }
.shop-the-look__anchor {
    inset-block-start: var(--mobile-top);
    inset-inline-start: var(--mobile-left);
  }

  .shop-the-look__anchor-card {
    min-width: 240px;
    max-width: 280px;
  }

  .shop-the-look__anchor-image,
  .shop-the-look__product-image {
    flex-basis: 64px;
    width: 64px;
    height: 64px;
  }

  .shop-the-look__show-products {
    inset-block-end: 12px;
    inset-inline-start: 12px;
  }

  .shop-the-look__arrow {
    width: 32px;
    height: 48px;
  }
}

@keyframes shop-the-look-pulse {
  0% {
    box-shadow: 0 0 0 0 rgb(255 255 255 / 65%);
  }

  70% {
    box-shadow: 0 0 0 10px rgb(255 255 255 / 15%);
  }

  100% {
    box-shadow: 0 0 0 0 rgb(255 255 255 / 0%);
  }
}
