/* ════════════════════════════════════════
   Hero Slider — woocommerce.css additions
   Add to end of main.css OR keep separate
   ════════════════════════════════════════ */

/* ─── HERO SLIDER ─── */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: #0d0d0d;
}

/* Each slide */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* Image slide background */
.hero-slide__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Video slide */
.hero-slide__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay */
.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 13, 13, 0.45);
  /* Per-slide: override via style="--overlay-opacity: 0.6" */
  background: rgba(13, 13, 13, var(--overlay-opacity, 0.45));
}

/* Content inside each slide */
.hero-slide__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
  padding-top: 68px; /* header height */
}

.hero-slide__tag {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 5px;
  color: var(--gold);
  font-weight: 300;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-slide__heading {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 16px;
}
.hero-slide__heading span { color: var(--gold); }

.hero-slide__sub {
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  max-width: 420px;
  line-height: 1.85;
  margin-bottom: 36px;
  font-weight: 300;
}

.hero-slide__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ─── SLIDER CONTROLS ─── */
.hero-slider__prev,
.hero-slider__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  background: rgba(13,13,13,0.6);
  border: 1px solid rgba(201,169,110,0.3);
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.hero-slider__prev { left: 24px; }
.hero-slider__next { right: 24px; }
.hero-slider__prev:hover,
.hero-slider__next:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

/* ─── DOTS ─── */
.hero-slider__dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
  align-items: center;
}
.hero-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}
.hero-slider__dot.active {
  background: var(--gold);
  border-color: var(--gold);
  width: 24px;
  border-radius: 4px;
}

/* ─── SLIDE COUNTER ─── */
.hero-slider__counter {
  position: absolute;
  bottom: 28px;
  right: 40px;
  z-index: 10;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.4);
}

/* ─── PROGRESS BAR (per-slide timer) ─── */
.hero-slider__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--gold);
  width: 0%;
  transition: none;
  z-index: 10;
}
.hero-slider__progress.running {
  transition: width linear;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .hero-slide__content { padding: 0 24px; padding-top: 60px; }
  .hero-slide__heading { font-size: clamp(32px, 8vw, 52px); }
  .hero-slide__actions { flex-direction: column; gap: 12px; }
  .hero-slider__prev { left: 12px; width: 38px; height: 38px; }
  .hero-slider__next { right: 12px; width: 38px; height: 38px; }
}
