/* ================================
   PRODUCT SECTION - SEASON'S TOP PICKS
   ================================ */
.products {
  background-color: #fff;
  padding: 64px 0 80px;
  overflow: hidden;
}

.products__container {
  max-width: 1440px;
  margin: 0 auto;
}

.products__header {
  text-align: center;
  margin-bottom: 48px;
  padding: 0 20px;
}

.products__title {
  font-family: var(--font-headline);
  font-weight: var(--weight-semibold);
  font-size: 32px;
  line-height: 1.3;
  color: var(--velvet-black);
  margin-bottom: 12px;
}

.products__title-accent {
  font-family: var(--font-handwriting);
  font-weight: var(--weight-regular);
  color: var(--imperial-purple);
  font-size: 42px;
  margin: 0 4px;
}

.products__subtitle {
  font-family: var(--font-body);
  font-weight: var(--weight-light);
  font-size: 14px;
  line-height: 1.6;
  color: var(--velvet-black);
}

.products__subtitle-accent {
  font-family: var(--font-body);
  font-weight: var(--weight-semibold);
  color: var(--imperial-purple);
}

/* Counter Animation */
#customer-counter {
  display: inline-block;
  min-width: 2.5em;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.products__slider-wrapper {
  position: relative;
  margin-bottom: 40px;
}

.products__slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding: 0 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.products__slider::-webkit-scrollbar {
  display: none;
}

.products__nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}

.products__nav-arrow:hover {
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.products__nav-arrow--left {
  left: 8px;
  display: none;
}

.products__nav-arrow--right {
  right: 8px;
}

.products__nav-arrow svg {
  width: 24px;
  height: 24px;
  stroke: var(--velvet-black);
  stroke-width: 2;
}

.product-card {
  position: relative;
  background-color: transparent;
  flex: 0 0 calc(50% - 10px);
  min-width: calc(50% - 10px);
}

.product-card__badges {
  position: absolute;
  top: 16px;
  left: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 70%;
}

.product-card__badge {
  font-family: var(--font-body);
  font-weight: var(--weight-light);
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
}

.product-card__badge--popular {
  background-color: #dbcce6;
  color: var(--imperial-purple);
}

.product-card__badge--bestseller {
  background-color: var(--champagne-gold);
  color: var(--pearl-white);
}

.product-card__badge-icon {
  width: 10px;
  height: 10px;
}

.product-card__image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 425 / 499;
  max-height: 450px;
  overflow: hidden;
  background-color: #e8e8e8;
  border-radius: 0;
  margin-bottom: 14px;
}

.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.product-card__image--hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.product-card:hover .product-card__image--default {
  opacity: 0;
}

.product-card:hover .product-card__image--hover {
  opacity: 1;
}

.product-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 25%;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0) 0%,
    rgba(10, 10, 10, 0.6) 60%,
    rgba(10, 10, 10, 0.8) 100%
  );
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 5;
}

.product-card:hover .product-card__overlay {
  opacity: 1;
}

.product-card__add-btn {
  background-color: transparent;
  color: var(--pearl-white);
  font-family: var(--font-body);
  font-weight: var(--weight-light);
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: border-color 0.2s ease;
}

.product-card__add-btn:hover {
  border-color: var(--pearl-white);
}

.product-card__info {
  padding: 0;
}

.product-card__brand {
  font-family: var(--font-body);
  font-weight: var(--weight-light);
  font-size: 11px;
  line-height: 1.4;
  color: var(--champagne-gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.product-card__name {
  font-family: var(--font-headline);
  font-weight: var(--weight-semibold);
  font-size: 15px;
  line-height: 1.4;
  color: var(--velvet-black);
  margin-bottom: 6px;
}

.product-card__price {
  font-family: var(--font-body);
  font-weight: var(--weight-light);
  font-size: 13px;
  color: var(--velvet-black);
}

/* Product Card Links - Transparent styling */
.product-card__image-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.product-card__name-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.product-card__name-link:hover {
  color: inherit;
}

.products__more {
  text-align: center;
  padding: 0 20px;
}

.products__more-btn {
  background-color: transparent;
  color: var(--imperial-purple);
  font-family: var(--font-body);
  font-weight: var(--weight-light);
  font-size: 14px;
  padding: 14px 32px;
  border: 1px solid var(--imperial-purple);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.products__more-btn:hover {
  background-color: var(--imperial-purple);
  color: var(--pearl-white);
}

/* ================================
   TABLET & DESKTOP (768px+)
   ================================ */
@media (min-width: 768px) {
  .products {
    padding: 80px 0 100px;
  }

  .products__header {
    margin-bottom: 56px;
    padding: 0 60px;
  }

  .products__title {
    font-size: 40px;
  }

  .products__title-accent {
    font-size: 52px;
  }

  .products__subtitle {
    font-size: 16px;
  }

  .products__slider {
    padding: 0 60px;
    gap: 24px;
  }

  .product-card {
    flex: 0 0 280px;
    min-width: 280px;
  }

  .product-card__badges {
    top: 20px;
    left: 0;
  }

  .product-card__badge {
    font-size: 11px;
    padding: 5px 10px;
  }

  .product-card__image-container {
    aspect-ratio: 3 / 4.2;
    margin-bottom: 16px;
  }

  .product-card__overlay {
    padding-bottom: 20px;
  }

  .product-card__add-btn {
    font-size: 13px;
    padding: 14px 28px;
  }

  .product-card__brand {
    font-size: 12px;
    margin-bottom: 6px;
  }

  .product-card__name {
    font-size: 17px;
    margin-bottom: 8px;
  }

  .product-card__price {
    font-size: 14px;
  }

  .products__more {
    padding: 0 60px;
  }

  .products__more-btn {
    font-size: 15px;
    padding: 16px 40px;
  }

  .products__nav-arrow--left {
    left: 20px;
  }

  .products__nav-arrow--right {
    right: 20px;
  }
}
