.product-slider {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  position: relative;
  padding: 6px 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: auto;
  cursor: grab;
}

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

.product-slider.is-dragging {
  cursor: grabbing;
}

.slider-track {
  display: flex;
  gap: 20px;
  align-items: stretch;
  animation: slider-marquee var(--duration, 40s) linear infinite;
  will-change: transform;
}

.product-card {
  flex: 0 0 calc((100% - 80px) / 5);
  min-width: 200px;
  text-decoration: none;
  color: inherit;
}

.product-thumb {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #f5f5f5;
  aspect-ratio: 3 / 4;
}

.product-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease;
}

.product-thumb .hover-img {
  opacity: 0;
}

.product-card:hover .product-thumb .hover-img {
  opacity: 1;
}

.product-card:hover .product-thumb img:not(.hover-img) {
  opacity: 0;
}

.product-card:hover {
  opacity: 0.92;
}

.product-meta {
  margin-top: 8px;
}

.product-meta .name {
  font-weight: 500;
  margin-bottom: 2px;
  font-size: 14px;
  line-height: 1.35;
}

.product-meta .price {
  font-weight: 400;
  color: #111;
  font-size: 13px;
  line-height: 1.3;
}

.product-thumb .tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 8px;
  border-radius: 0;
  font-size: 12px;
  color: #fff;
  background: #111;
}

.product-thumb .tag.sale {
  background: #ef4444;
}

.product-thumb .tag.new {
  background: #111827;
  left: auto;
  right: 10px;
}

.product-thumb .tag.sold {
  top: auto;
  bottom: 10px;
  background: #6b7280;
}

.collection-card {
  min-height: 320px;
  aspect-ratio: 16 / 9;
}

.collection-card:hover {
  opacity: 0.92;
}

.collection-card img,
.collection-card video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.object-fit-cover {
  object-fit: cover;
}

.collection-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), transparent 70%);
}

.footer-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: auto;
  border-radius: 0;
}

.footer-banner img,
.footer-banner video {
  object-fit: cover;
  border-radius: 0;
}

.footer-overlay {
  position: absolute;
  inset: 0;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.25));
}

.btn-lookbook {
  border-radius: 0;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  padding: 10px 18px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.btn-lookbook:hover {
  background: #fff;
  color: #000;
}

@media (max-width: 767.98px) {
  .footer-overlay {
    padding: 16px;
    align-items: center;
  }
}

@keyframes slider-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 991.98px) {
  .product-card {
    flex: 0 0 calc((100% - 40px) / 3);
  }
}

@media (max-width: 767.98px) {
  .collection-banners-row {
    --bs-gutter-x: 0;
    --bs-gutter-y: 12px;
    margin-left: 0;
    margin-right: 0;
  }

  .collection-banner-col {
    padding-left: 0;
    padding-right: 0;
  }

  .collection-card {
    min-height: 0;
    aspect-ratio: auto;
  }

  .collection-card img,
  .collection-card video,
  .collection-card .object-fit-cover {
    width: 100%;
    height: auto !important;
  }

  .product-slider {
    width: calc(100% - 24px);
    margin-left: 12px;
    margin-right: 12px;
  }

  .product-card {
    flex: 0 0 calc((100% - 20px) / 2.05);
    max-width: calc((100% - 20px) / 2.05);
    min-width: 0;
  }

  .slider-track {
    gap: 10px;
  }

  .product-meta {
    margin-top: 6px;
  }

  .product-meta .name {
    font-size: 12px;
    line-height: 1.3;
  }

  .product-meta .price {
    font-size: 11px;
    line-height: 1.25;
  }

  .product-thumb .tag {
    font-size: 10px;
    padding: 3px 6px;
    top: 8px;
    left: 8px;
  }

  .product-thumb .tag.new {
    right: 8px;
  }

  .product-thumb .tag.sold {
    bottom: 8px;
  }
}

@media (max-width: 575.98px) {
  .product-card {
    flex: 0 0 calc((100% - 20px) / 2.05);
    max-width: calc((100% - 20px) / 2.05);
    min-width: 0;
  }
}
