/* ================================
   EXPLORE STYLES – SLIDER LAYOUT
   ================================ */

/* Outer wrapper so it clears the fixed header and aligns with hero */
.explore-slider-wrapper {
  width: 100%;
  max-width: 1400px;
  margin: 110px auto 40px;     /* space below header */
  padding: 0 30px;
  box-sizing: border-box;
}

/* Hide the headline if markup still has it */
.explore-title {
  display: none;
}

/* Slider shell */
.explore-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Viewport masks overflow */
.explore-viewport {
  overflow: hidden;
  width: 100%;
}

/* Track that JS moves left/right */
.explore-track {
  display: flex;
  align-items: stretch;
  gap: 24px;
  will-change: transform;
  transform: translateX(0);
  transition: transform 0.4s ease;
}

/* Product cards reused from snippet but constrained for slider */
.explore-track .product-card {
  flex: 0 0 calc((100% - 48px) / 3); /* 3 cards on desktop */
  text-decoration: none;
  color: inherit;
}

/* Image container */
.explore-track .product-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.explore-track .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Title under image */
.explore-track .product-card h3 {
  font-family: 'Stack Sans Headline', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 12px 0 0;
}

/* Slider arrows */
.explore-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #3F4144;
  color: #FFFFFF;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
}

/* Bring arrows fully inside the viewport */
.explore-arrow--prev {
  left: 10px;
}

.explore-arrow--next {
  right: 10px;
}

.explore-arrow:focus {
  outline: 2px solid #A3A19D;
  outline-offset: 2px;
}

/* ================================
   RESPONSIVE
   ================================ */

@media (max-width: 1000px) {
  .explore-slider-wrapper {
    margin-top: 90px;
    padding: 0 16px;
  }

  .explore-track .product-card {
    flex: 0 0 80%;        /* one big card per view, with a peek of next one */
  }

  .explore-arrow {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }

  .explore-arrow--prev {
    left: 6px;
  }

  .explore-arrow--next {
    right: 6px;
  }
}
