.hero-slider {
  position: relative;
  width: 100%;
  min-height: 520px;
  height: 74vh;
  max-height: 760px;
  overflow: hidden;
  background: transparent;
}

.hero-slider__track {
  display: flex;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.hero-slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.35s cubic-bezier(0.25,0.46,0.45,0.94),
              transform 1.2s cubic-bezier(0.25,0.46,0.45,0.94);
  will-change: opacity, transform;
  overflow: hidden;
  background: transparent;
}

.hero-slider__slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.hero-slider__slide.prev {
  opacity: 0;
  transform: scale(0.97);
  z-index: 1;
}

.hero-slider__media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 40%;
  width: 60% !important;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: transparent;
}

.hero-slider__media--video {
  background: transparent;
}

.hero-slider__overlay {
  position: absolute;
  inset: 0;
  background: transparent !important;
  z-index: 3;
}

[data-theme="light"] .hero-slider__overlay {
  background: transparent !important;
}

.hero-slider__content {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  padding: 0 6vw;
  padding-top: 56px;   
}

.hero-slider__text {
  max-width: 480px;
  transform: translateY(24px);
  opacity: 0;
  transition: transform 0.9s 0.25s cubic-bezier(0.22,1,0.36,1),
              opacity    0.9s 0.25s ease;
}

.hero-slider__slide.active .hero-slider__text {
  transform: translateY(0);
  opacity: 1;
}

.hero-slider__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.hero-slider__eyebrow-bar {
  width: 32px;
  height: 1.5px;
  background: var(--gold, #C9972C);
  flex-shrink: 0;
}

.hero-slider__eyebrow-label {
  font-family: var(--font-ui, 'Josefin Sans', sans-serif);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold, #C9972C);
}

.hero-slider__title {
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: clamp(2.4rem, 5.2vw, 4.8rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--white, #F5F0EB);
  margin-bottom: 16px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.45);
}

[data-theme="light"] .hero-slider__title { color: var(--text-primary, #1A1208); }

.hero-slider__title em {
  font-style: italic;
  color: var(--gold, #C9972C);
}

.hero-slider__subtitle {
  font-size: clamp(0.85rem, 1.3vw, 1rem);
  line-height: 1.75;
  color: rgba(200,191,181,0.85);
  max-width: 420px;
  margin-bottom: 32px;
  text-shadow: 0 1px 12px rgba(0,0,0,0.6);
}

[data-theme="light"] .hero-slider__subtitle { color: var(--text-secondary, #5C4A38); }

.hero-slider__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-slider__buy-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui, 'Josefin Sans', sans-serif);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 15px 34px;
  background: var(--gold, #C9972C);
  color: #0a0a0a;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(201,151,44,0.25);
}

.hero-slider__buy-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-bright, #E8B84B);
  opacity: 0;
  transition: opacity 0.3s;
}

.hero-slider__buy-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(201,151,44,0.4);
}

.hero-slider__buy-btn:hover::before { opacity: 1; }

.hero-slider__buy-btn span { position: relative; z-index: 1; }

.hero-slider__buy-btn svg { position: relative; z-index: 1; }

.hero-slider__outline-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui, 'Josefin Sans', sans-serif);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 15px 28px;
  border: 1px solid rgba(245,240,235,0.35);
  color: var(--white, #F5F0EB);
  border-radius: 3px;
  cursor: pointer;
  background: transparent;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  text-decoration: none;
}

.hero-slider__outline-btn:hover {
  border-color: var(--gold, #C9972C);
  color: var(--gold, #C9972C);
}

[data-theme="light"] .hero-slider__outline-btn {
  border-color: rgba(26,18,8,0.3);
  color: var(--text-primary, #1A1208);
}

.hero-slider__video-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 16px 8px 10px;
  border: 1px solid rgba(201,151,44,0.4);
  border-radius: 20px;
  color: var(--gold, #C9972C);
  background: rgba(201,151,44,0.08);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.hero-slider__video-badge:hover {
  background: rgba(201,151,44,0.15);
  border-color: var(--gold, #C9972C);
}

.hero-slider__video-badge .play-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold, #C9972C);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-slider__video-badge .play-dot svg {
  fill: #0a0a0a;
  width: 8px;
  height: 8px;
  margin-left: 1px;
}

.hero-slider__controls {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.hero-slider__dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: rgba(245,240,235,0.35);
  cursor: pointer;
  transition: width 0.4s cubic-bezier(0.34,1.56,0.64,1), background 0.3s;
  border: none;
  padding: 0;
}

.slider-dot.active {
  width: 28px;
  background: var(--gold, #C9972C);
}

.hero-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(10,10,10,0.45);
  border: 1px solid rgba(245,240,235,0.15);
  color: var(--white, #F5F0EB);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-slider__nav:hover {
  background: rgba(201,151,44,0.25);
  border-color: var(--gold, #C9972C);
  transform: translateY(-50%) scale(1.08);
}

.hero-slider__nav--prev { left: 24px; }
.hero-slider__nav--next { right: 24px; }

.hero-slider__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--gold, #C9972C);
  z-index: 5;
  width: 0%;
  transition: width linear;
  transform-origin: left;
}

.hero-slider__mute-btn {
  position: absolute;
  bottom: 40px;
  right: 24px;
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(10,10,10,0.5);
  border: 1px solid rgba(245,240,235,0.2);
  color: var(--white, #F5F0EB);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.2s;
  font-size: 14px;
}

.hero-slider__mute-btn:hover {
  background: rgba(201,151,44,0.2);
  border-color: var(--gold, #C9972C);
}

.hero-slider__slide-counter {
  position: absolute;
  top: 50%;
  right: 28px;
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.slide-counter-line {
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, rgba(245,240,235,0.3), transparent);
}

.slide-counter-num {
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: 0.85rem;
  color: rgba(245,240,235,0.5);
  writing-mode: vertical-rl;
  letter-spacing: 0.1em;
}

.slide-counter-current {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--gold, #C9972C);
  line-height: 1;
}

.video-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.96);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.video-modal-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

.video-modal {
  width: 100%;
  max-width: 960px;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  transform: scale(0.94);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
  box-shadow: 0 32px 80px rgba(0,0,0,0.9);
}

.video-modal-backdrop.open .video-modal {
  transform: scale(1);
}

.video-modal video,
.video-modal iframe {
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
  background: #000;
}

.video-modal__close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--black-card, #161616);
  border: 1px solid var(--black-border, #222);
  color: var(--white, #F5F0EB);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.2s;
  z-index: 10;
}

.video-modal__close:hover {
  background: var(--ruby, #9B1B30);
  border-color: var(--ruby, #9B1B30);
}

@media (max-width: 768px) {
  .hero-slider__nav { display: none; }
  .hero-slider__slide-counter { display: none; }
  .hero-slider__mute-btn { bottom: 80px; right: 16px; }
  .hero-slider__controls { bottom: 28px; gap: 16px; }
  .hero-slider__content { padding: 0 24px; padding-top: 80px; }
  .hero-slider__buy-btn { padding: 14px 28px; }
  .hero-slider__actions { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 480px) {
  .hero-slider__title { font-size: clamp(2rem, 9vw, 2.8rem); }
  .hero-slider__subtitle { font-size: 0.9rem; }
  .slider-dot { width: 5px; height: 5px; }
  .slider-dot.active { width: 22px; }
}

@media (hover: none) {
  .hero-slider__slide.active .hero-slider__text {
    transition-delay: 0.15s;
  }
}

.hero-slider__price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 24px;
}
.hero-slider__price-old {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(245,240,235,.38);
  text-decoration: line-through;
}
.hero-slider__price-now {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--gold, #C9972C);
  letter-spacing: -0.01em;
  text-shadow: 0 0 32px rgba(201,151,44,0.3);
}

.hero-slider__ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 13px 22px;
  border: 1px solid rgba(245,240,235,.2);
  color: rgba(245,240,235,.6);
  border-radius: 3px;
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.hero-slider__ghost-btn:hover {
  border-color: rgba(245,240,235,.5);
  color: var(--white);
}

.slider-depth-layer {
  display: none !important;
}

.cat-page-banner {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  background: transparent;
}
.cat-page-banner__bg {
  position: absolute;
  inset: 0;
  background: transparent;
}
.cat-page-banner__depth-a {
  display: none !important;
}
.cat-page-banner__depth-b {
  display: none !important;
}
.cat-page-banner__content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: 72px;
}
@media(max-width:768px) {
  .cat-page-banner { height: 200px; }
  .hero-slider__ghost-btn { display: none; }
  .hero-slider__price-now { font-size: 1.5rem; }
}

@media (max-width: 768px) {
  .hero-slider {
    min-height: unset !important;
    height: auto !important;
  }

  /* Inactive slides hidden, active slide sits in flow */
  .hero-slider__slide {
    position: absolute !important;
    inset: 0;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.35s ease, transform 1.2s ease;
    overflow: hidden;
  }

  .hero-slider__slide.active {
    position: relative !important;
    opacity: 1 !important;
    transform: scale(1) !important;
    z-index: 2;
    min-height: 300px;
  }

  .hero-slider__slide.prev {
    position: absolute !important;
    opacity: 0 !important;
    transform: scale(0.97) !important;
    z-index: 1;
  }

  .slider-depth-layer { display: none !important; }

  /* Image fills the whole slide */
  .hero-slider__media {
    position: absolute !important;
    inset: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 30% !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }

  /* Keep overlay so text stays readable over the image */
  .hero-slider__overlay {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(
      to top,
      rgba(0,0,0,0.82) 0%,
      rgba(0,0,0,0.45) 45%,
      rgba(0,0,0,0.18) 100%
    ) !important;
    z-index: 3 !important;
  }

  .hero-slider__content {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    padding: 16px 20px 56px !important;
    z-index: 4;
    align-items: flex-end;
    display: flex;
  }

  .hero-slider__text {
    max-width: 100%;
    width: 100%;
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }

  .hero-slider__slide.active .hero-slider__text {
    transform: none !important;
    opacity: 1 !important;
  }

  .hero-slider__eyebrow { margin-bottom: 6px; }
  .hero-slider__eyebrow-bar { width: 18px; }
  .hero-slider__eyebrow-label { font-size: 0.58rem; letter-spacing: 0.15em; }

  .hero-slider__title {
    font-size: clamp(1.25rem, 5.5vw, 1.9rem) !important;
    margin-bottom: 6px;
    line-height: 1.1;
  }

  .hero-slider__subtitle {
    font-size: 0.78rem;
    line-height: 1.5;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 100%;
  }

  .hero-slider__price-row { margin-bottom: 10px; }
  .hero-slider__price-now { font-size: 1.2rem !important; }
  .hero-slider__price-old { font-size: 0.8rem !important; }

  .hero-slider__actions { flex-direction: row; gap: 8px; align-items: center; flex-wrap: wrap; }
  .hero-slider__buy-btn {
    padding: 11px 22px !important;
    font-size: 0.65rem !important;
    letter-spacing: 0.12em;
  }
  .hero-slider__outline-btn { padding: 10px 16px; font-size: 0.62rem; }
  .hero-slider__ghost-btn   { display: none; }

  /* Dots sit below the slide, in normal flow */
  .hero-slider__controls {
    position: relative !important;
    bottom: auto !important;
    padding: 10px 0 12px;
    justify-content: center;
    gap: 10px;
    z-index: 5;
  }

  .hero-slider__nav { display: none !important; }
  .hero-slider__slide-counter { display: none !important; }

  /* Progress bar below the image */
  .hero-slider__progress {
    position: relative !important;
    bottom: auto !important;
    height: 2px;
    border-radius: 1px;
    margin: 0;
    display: block;
  }

  .slider-dot { width: 6px; height: 6px; min-width: unset; }
  .slider-dot.active { width: 22px; }
}

@media (max-width: 480px) {
  .hero-slider__subtitle { display: block; font-size: 0.75rem; -webkit-line-clamp: 2; }
  .hero-slider__slide.active { min-height: 260px; }
  .hero-slider__title { font-size: clamp(1.1rem, 5vw, 1.5rem) !important; }
}

.hero-slider--banner {
  aspect-ratio: 16 / 9;
  height: auto;
  max-height: 92vh;
  min-height: 420px;
}

.hero-slider--banner .hero-slider__media--fullbleed {
  position: absolute;
  inset: 0;
  left: 0 !important;
  width: 100% !important;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;   
  -webkit-mask-image: none !important;
  mask-image: none !important;
  transform: scale(1.04);
  transition: transform 8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-slider--banner .hero-slider__slide.active .hero-slider__media--fullbleed {
  transform: scale(1);
}

.hero-slider--banner .hero-slider__overlay--banner {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: transparent !important;
}

.hero-slider--banner .hero-slider__slide--align-left   .hero-slider__content { justify-content: flex-start; }
.hero-slider--banner .hero-slider__slide--align-center .hero-slider__content { justify-content: center; }
.hero-slider--banner .hero-slider__slide--align-right  .hero-slider__content { justify-content: flex-end; }

.hero-slider--banner .hero-slider__slide--align-center .hero-slider__text { text-align: center; max-width: 680px; }
.hero-slider--banner .hero-slider__slide--align-center .hero-slider__eyebrow { justify-content: center; }
.hero-slider--banner .hero-slider__slide--align-center .hero-slider__actions { justify-content: center; }

.hero-slider--banner .hero-slider__slide--align-right  .hero-slider__text { text-align: right; }
.hero-slider--banner .hero-slider__slide--align-right  .hero-slider__eyebrow { justify-content: flex-end; }
.hero-slider--banner .hero-slider__slide--align-right  .hero-slider__actions { justify-content: flex-end; }

.hero-slider--banner .hero-slider__title {
  font-size: clamp(2.6rem, 5.6vw, 5.4rem);
}

.hero-slider--banner .slider-depth-layer { display: none !important; }

@media (max-width: 1024px) {
  .hero-slider--banner {
    aspect-ratio: 4 / 3;
    min-height: 360px;
  }
}

@media (max-width: 768px) {
  .hero-slider--banner {
    aspect-ratio: 4 / 3;
    min-height: 300px;
    height: auto !important;
  }

  .hero-slider--banner .hero-slider__slide {
    position: absolute !important;
    inset: 0;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.35s ease, transform 1.2s ease;
  }

  .hero-slider--banner .hero-slider__slide.active {
    position: relative !important;
    opacity: 1 !important;
    transform: scale(1) !important;
    z-index: 2;
    width: 100%;
  }

  .hero-slider--banner .hero-slider__slide.prev {
    position: absolute !important;
    opacity: 0 !important;
    transform: scale(0.97) !important;
    z-index: 1;
  }

  .hero-slider--banner .hero-slider__media--fullbleed {
    object-position: center 25%;
  }

  /* Restore overlay so text is legible */
  .hero-slider--banner .hero-slider__overlay--banner {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(
      to top,
      rgba(0,0,0,0.88) 0%,
      rgba(0,0,0,0.50) 40%,
      rgba(0,0,0,0.15) 100%
    ) !important;
    z-index: 3 !important;
  }

  .hero-slider--banner .hero-slider__content {
    position: absolute !important;
    inset: 0 !important;
    padding: 16px 20px 60px !important;
    align-items: flex-end;
    justify-content: flex-start !important;
  }

  .hero-slider--banner .hero-slider__text {
    max-width: 100%;
    width: 100%;
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
    text-align: left !important;
  }

  /* Force all alignment variants to left-align on mobile */
  .hero-slider--banner .hero-slider__slide--align-center .hero-slider__content,
  .hero-slider--banner .hero-slider__slide--align-right  .hero-slider__content {
    justify-content: flex-start;
  }
  .hero-slider--banner .hero-slider__slide--align-center .hero-slider__text,
  .hero-slider--banner .hero-slider__slide--align-right  .hero-slider__text {
    text-align: left;
  }
  .hero-slider--banner .hero-slider__slide--align-center .hero-slider__eyebrow,
  .hero-slider--banner .hero-slider__slide--align-right  .hero-slider__eyebrow {
    justify-content: flex-start;
  }
  .hero-slider--banner .hero-slider__slide--align-center .hero-slider__actions,
  .hero-slider--banner .hero-slider__slide--align-right  .hero-slider__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-slider--banner {
    aspect-ratio: 4 / 3;
    min-height: 260px;
  }

  .hero-slider--banner .hero-slider__title {
    font-size: clamp(1.15rem, 5.5vw, 1.7rem) !important;
  }

  .hero-slider--banner .hero-slider__subtitle {
    font-size: 0.78rem;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}