.showcase {
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background-color: #17191c;
  color: #f3f1ec;
  padding: clamp(55px, 7vw, 92px) 0;
}

.showcase__container {
  width: min(100% - 48px, 1440px);
  margin-inline: auto;
}

.showcase__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: clamp(30px, 4vw, 50px);
}

.showcase__eyebrow {
  margin-bottom: 16px;
  color: #e0555d;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.showcase h2 {
  max-width: 750px;
  font-size: clamp(2.7rem, 5vw, 5.3rem);
  font-weight: 620;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.showcase h2 span {
  display: block;
  color: #aeb2b7;
}

.showcase__all {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}

.product-carousel {
  position: relative;
}

.product-carousel__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
}

.product-carousel__track::-webkit-scrollbar {
  display: none;
}

.product-carousel__track {
  scrollbar-width: none;
}

.product-carousel__track .product-card {
  flex: 0 0 calc((100% - 3 * 16px) / 4);
  scroll-snap-align: start;
}

.product-carousel__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background-color: rgba(23, 25, 28, 0.75);
  color: #f3f1ec;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transform: translateY(-50%);
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    opacity 180ms ease;
}

.product-carousel__nav:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background-color: rgba(23, 25, 28, 0.9);
}

.product-carousel__nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.product-carousel__nav--prev {
  left: -8px;
}

.product-carousel__nav--next {
  right: -8px;
}

.product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: #202327;
  opacity: 1;
  transition:
    border-color 220ms ease,
    transform 350ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product-card:hover {
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-7px);
}

.product-card__visual {
  position: relative;
  display: grid;
  aspect-ratio: 0.88;
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(circle at 50% 45%, #ffffff, #deddd8 72%),
    #efeee9;
}

.product-card__visual img {
  width: auto;
  height: 74%;
  object-fit: contain;
  filter: drop-shadow(0 24px 18px rgba(0, 0, 0, 0.25));
  transition: transform 450ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product-card:hover .product-card__visual img {
  transform: translateY(-9px) scale(1.02);
}

.product-card__size {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 7px 10px;
  border: 1px solid rgba(23, 25, 28, 0.18);
  border-radius: 999px;
  color: #45494d;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.product-card__content {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  padding: 22px;
}

.product-card__category {
  margin-bottom: 10px;
  color: #b8bbc0;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-card h3 {
  color: #f3f1ec;
  font-size: 1.25rem;
  line-height: 1.25;
}

.product-card__description {
  margin-top: 13px;
  color: #a7abb0;
  font-size: 0.87rem;
  line-height: 1.6;
}

.product-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  margin-top: auto;
  padding-top: 24px;
}

.product-card__detail {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.78rem;
  font-weight: 700;
}

.product-card__buy {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 2px;
  font-size: 0.72rem;
  font-weight: 700;
  transition:
    color 180ms ease,
    background-color 180ms ease;
}

.product-card__buy:hover {
  background-color: #f3f1ec;
  color: #17191c;
}

.showcase.motion-ready .showcase__heading,
.showcase.motion-ready .product-card {
  opacity: 0;
  transform: translateY(35px);
}

.showcase.motion-ready.is-visible .showcase__heading,
.showcase.motion-ready.is-visible .product-card {
  opacity: 1;
  transform: translateY(0);
}

.showcase__heading,
.product-card {
  transition:
    opacity 650ms ease,
    transform 650ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 220ms ease;
}

.showcase.is-visible .product-card:nth-child(1) { transition-delay: 80ms; }
.showcase.is-visible .product-card:nth-child(2) { transition-delay: 150ms; }
.showcase.is-visible .product-card:nth-child(3) { transition-delay: 220ms; }
.showcase.is-visible .product-card:nth-child(4) { transition-delay: 290ms; }

.showcase.motion-ready.is-visible .product-card:hover {
  transform: translateY(-7px);
}

@media (max-width: 1100px) {
  .product-carousel__track .product-card {
    flex-basis: calc((100% - 16px) / 2);
  }
}

@media (max-width: 760px) {
  .showcase {
    padding: 50px 0 56px;
  }

  .showcase__container {
    width: 100%;
  }

  .showcase__heading {
    display: grid;
    padding-inline: 16px;
  }

  .showcase h2 {
    font-size: clamp(2.65rem, 12vw, 4rem);
  }

  .showcase__all {
    width: max-content;
  }

  .product-carousel__track {
    gap: 13px;
    padding: 0 16px 20px;
    scroll-padding-left: 16px;
  }

  .product-carousel__track .product-card {
    flex: 0 0 min(82vw, 345px);
  }

  .product-carousel__nav {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }

  .product-carousel__nav--prev {
    left: 4px;
  }

  .product-carousel__nav--next {
    right: 4px;
  }

  .product-card__content {
    min-height: 250px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .showcase__heading,
  .product-card,
  .product-card__visual img {
    transition: none;
  }
}
