.toile-featured-product-3 {
  --toile-fp3-bg: #fffdf9;
  --toile-fp3-text: #1f1a17;
  --toile-fp3-muted: rgba(31, 26, 23, 0.62);
  --toile-fp3-line: rgba(31, 26, 23, 0.12);
  --toile-fp3-header-line: #3B2A23;
  --toile-fp3-card: #f7f3ee;
  --toile-fp3-badge-bg: rgba(255, 255, 255, 0.88);
  --toile-fp3-badge-text: #15110f;
  --toile-fp3-button-bg: #ffffff;
  --toile-fp3-button-icon: #15110f;
  background: var(--toile-fp3-bg);
  color: var(--toile-fp3-text);
  padding: 48px 0 88px;
}

.toile-featured-product-3__inner {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
}

.toile-featured-product-3__row {
  width: 100%;
}

.toile-featured-product-3__row--header {
  margin-bottom: 54px;
}

.toile-featured-product-3__row--cards {
  padding-top: 60px;
}

.toile-featured-product-3__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: stretch;
  padding: 0 48px;
  border-top: 1px solid var(--toile-fp3-header-line);
  border-bottom: 1px solid var(--toile-fp3-header-line);
}

.toile-featured-product-3__header-column {
  min-width: 0;
}

.toile-featured-product-3__header-column--heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.toile-featured-product-3__header-column--description {
  border-left: 1px solid var(--toile-fp3-line);
  padding-left: 48px;
  display: flex;
  align-items: center;
}

.toile-featured-product-3__heading {
  margin: 0;
  color: var(--toile-fp3-text);
  font-size: clamp(24px, 2vw, 32px);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 300;
  line-height: 0.9;
  padding-top: 20px;
}

.toile-featured-product-3__season {
  margin: 0;
  color: var(--toile-fp3-muted);
  font-size: 12px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  font-weight: 500;
}

.toile-featured-product-3__description {
  margin: 0;
  max-width: 440px;
  color: var(--toile-fp3-muted);
  font-size: 14px;
  line-height: 1.8;
  text-align: justify;
  padding-bottom: 20px;
}

.toile-featured-product-3__stage {
  position: relative;
  height: 540px;
  perspective: 1200px;
  overflow: visible;
  cursor: grab;
  touch-action: pan-y;
  padding-bottom: 80px;
}

.toile-featured-product-3__cards {
  position: relative;
  width: 100%;
  height: 100%;
}

.toile-featured-product-3__stage:active {
  cursor: grabbing;
}

.toile-featured-product-3__card {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(380px, calc(100vw - 72px));
  height: 500px;
  /* border-radius: 22px; */
  overflow: hidden;
  background: var(--toile-fp3-card);
  /* box-shadow: 0 18px 50px rgba(17, 12, 9, 0.08); */
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, 0, 0) scale(0.78);
  transition: transform 500ms ease, opacity 500ms ease, box-shadow 500ms ease;
}

.toile-featured-product-3__card.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.toile-featured-product-3__card.is-active {
  z-index: 70;
  pointer-events: auto;
  height: 500px;
  transform: translate3d(-50%, 0, 0) scale(1);
  /* clip-path: polygon(0% 0%, 100% 0%, 100% 100% 100%, calc(50% + 42px) 100%, 50% calc(100% - 41px), calc(50% - 42px) 100%, 0% 100%); */
  /* box-shadow: 0 26px 70px rgba(17, 12, 9, 0.16); */
  border-radius: 22px;
}

.toile-featured-product-3__card.is-active .toile-featured-product-3__card-reflection {
  opacity: 1;
}

.toile-featured-product-3__card.is-pos-1,
.toile-featured-product-3__card.is-pos--1,
.toile-featured-product-3__card.is-pos-2,
.toile-featured-product-3__card.is-pos--2,
.toile-featured-product-3__card.is-pos-3,
.toile-featured-product-3__card.is-pos--3 {
  opacity: 1;
}

.toile-featured-product-3__card.is-pos--1 {
  z-index: 55;
  transform: translate3d(calc(-50% - 320px), 0, -40px) scale(0.86);
}

.toile-featured-product-3__card.is-pos-1 {
  z-index: 55;
  transform: translate3d(calc(-50% + 320px), 0, -40px) scale(0.86);
}

.toile-featured-product-3__card.is-pos--2 {
  z-index: 40;
  transform: translate3d(calc(-50% - 440px), -8px, -90px) scale(0.76);
}

.toile-featured-product-3__card.is-pos-2 {
  z-index: 40;
  transform: translate3d(calc(-50% + 440px), -8px, -90px) scale(0.76);
}

.toile-featured-product-3__card.is-pos--3 {
  z-index: 25;
  transform: translate3d(calc(-50% - 560px), -14px, -130px) scale(0.64);
}

.toile-featured-product-3__card.is-pos-3 {
  z-index: 25;
  transform: translate3d(calc(-50% + 560px), -14px, -130px) scale(0.64);
}

.toile-featured-product-3__card-link,
.toile-featured-product-3__card-link:hover,
.toile-featured-product-3__card-link:focus {
  color: inherit;
  text-decoration: none;
}

.toile-featured-product-3__card-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: visible;
}

.toile-featured-product-3__card-media,
.toile-featured-product-3__card-media img {
  width: 100%;
  height: 100%;
}

.toile-featured-product-3__card-media {
  overflow: hidden;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.toile-featured-product-3__card-media img {
  display: block;
  object-fit: cover;
  -webkit-user-drag: none;
  user-select: none;
  opacity: 0;
  pointer-events: none;
}

.toile-featured-product-3__card-reflection {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 100%;
  height: 128px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: scaleY(-1);
  transform-origin: top center;
  transition: opacity 400ms ease;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
}

.toile-featured-product-3__card-reflection::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255, 253, 249, 0.12), rgba(255, 253, 249, 0.94));
}

.toile-featured-product-3__card-reflection img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: blur(1px) saturate(0.92);
  -webkit-user-drag: none;
  user-select: none;
}

.toile-featured-product-3__card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(10,10,10,0.04) 46%, rgba(10,10,10,0.38) 100%);
}

.toile-featured-product-3__badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--toile-fp3-badge-bg);
  color: var(--toile-fp3-badge-text);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
}

.toile-featured-product-3__card-copy {
  margin-top: auto;
  display: grid;
  gap: 6px;
  justify-items: end;
  text-align: right;
}

.toile-featured-product-3__card-title {
  margin: 0;
  color: #fff;
  font-size: clamp(20px, 1.6vw, 28px);
  line-height: 1.12;
  font-weight: 400;
}

.toile-featured-product-3__card-price {
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 1.4;
}

.toile-featured-product-3__cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: -112px;
  position: relative;
  z-index: 80;
}

.toile-featured-product-3__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--toile-fp3-button-bg);
  color: var(--toile-fp3-button-icon);
  text-decoration: none;
  border: 4px solid transparent;
  box-shadow: 0 20px 40px rgba(17, 12, 9, 0.12);
  transform: rotate(45deg);
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.toile-featured-product-3__cta:hover,
.toile-featured-product-3__cta:focus-visible {
  transform: rotate(45deg) scale(1.08);
  box-shadow: 0 24px 48px rgba(17, 12, 9, 0.18);
}

.toile-featured-product-3__cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  transform: rotate(-45deg);
}

.toile-featured-product-3__cta-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

@media (max-width: 1199px) {
  .toile-featured-product-3__card.is-pos--1 {
    transform: translate3d(calc(-50% - 250px), 0, -40px) scale(0.82);
  }

  .toile-featured-product-3__card.is-pos-1 {
    transform: translate3d(calc(-50% + 250px), 0, -40px) scale(0.82);
  }

  .toile-featured-product-3__card.is-pos--2,
  .toile-featured-product-3__card.is-pos-2 {
    opacity: 0.82;
  }

  .toile-featured-product-3__card.is-pos--2 {
    transform: translate3d(calc(-50% - 360px), -6px, -80px) scale(0.7);
  }

  .toile-featured-product-3__card.is-pos-2 {
    transform: translate3d(calc(-50% + 360px), -6px, -80px) scale(0.7);
  }

  .toile-featured-product-3__card.is-pos--3,
  .toile-featured-product-3__card.is-pos-3 {
    opacity: 0;
  }
}

@media (max-width: 991px) {
  .toile-featured-product-3 {
    padding: 32px 0 72px;
  }

  .toile-featured-product-3__inner {
    width: min(100%, calc(100% - 28px));
  }

  .toile-featured-product-3__header {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 10px;
  }

  .toile-featured-product-3__row--header {
    margin-bottom: 1px;
  }

  .toile-featured-product-3__header-column--description {
    border-left: 0;
    padding-left: 0;
    padding-top: 18px;
    border-top: 1px solid var(--toile-fp3-line);
  }

  .toile-featured-product-3__stage {
    height: 440px;
    overflow: visible;
    cursor: default;
    padding-bottom: 36px;
  }

  .toile-featured-product-3__cards {
    position: relative;
    width: 100%;
    height: 100%;
  }

  .toile-featured-product-3__card {
    width: min(280px, calc(100vw - 96px));
    height: 380px;
  }

  .toile-featured-product-3__card.is-active {
    height: 380px;
    transform: translate3d(-50%, 0, 0) scale(1);
  }

  .toile-featured-product-3__card.is-pos--1 {
    transform: translate3d(calc(-50% - 120px), 0, -35px) scale(0.82);
  }

  .toile-featured-product-3__card.is-pos-1 {
    transform: translate3d(calc(-50% + 120px), 0, -35px) scale(0.82);
  }

  .toile-featured-product-3__card.is-pos--2,
  .toile-featured-product-3__card.is-pos-2,
  .toile-featured-product-3__card.is-pos--3,
  .toile-featured-product-3__card.is-pos-3 {
    opacity: 0;
    pointer-events: none;
  }

  .toile-featured-product-3__card-reflection {
    display: none;
  }

  .toile-featured-product-3__cta-wrap {
    margin-top: -68px;
  }
}
