/* ═══════════════════════════════════════════════════════════
   PRODUCT VISUALIZER – Immersive Scene Compositor
   Video background + transparent product overlay
   ═══════════════════════════════════════════════════════════ */

/* Break out of any parent container to go true full-bleed */
.single-op_landing .site-main,
.single-op_landing .op-landing {
  max-width: none;
  padding: 0;
  margin: 0;
  overflow-x: hidden;
}

/* Hide default header on landing pages – visualizer IS the hero */
.single-op_landing .site-header {
  display: none;
}

/* But always show footer */
.single-op_landing .site-footer {
  display: block;
  margin-top: 0;
}

.op-section--visualizer {
  width: 100vw !important;
  max-width: none !important;
  margin-left: 0 !important;
  padding: 0 !important;
}

.visualizer {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000;
}

/* ─── VIDEO LAYER ──────────────────────────────────────────── */

.visualizer__scene {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.visualizer__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* ─── PRODUCT OVERLAY ──────────────────────────────────────── */

.visualizer__product-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 8%;
  pointer-events: none;
}

.visualizer__product {
  max-height: 65%;
  max-width: 50%;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35))
          drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
  transition: filter 0.3s;
  will-change: transform;
}

/* ─── FEATURES – right side, cinematic reveal ────────────────── */

.visualizer__features {
  position: absolute;
  right: clamp(2rem, 5vw, 5rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 280px;
}

.visualizer__feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #fff;
  font-family: var(--font-editorial, 'Cormorant Garamond', serif);
  font-size: 1.1rem;
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.01em;
  line-height: 1.4;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  opacity: 0; /* GSAP controls */
}

.visualizer__feature-icon {
  flex-shrink: 0;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

/* ─── VIGNETTE OVERLAY ─────────────────────────────────────── */

.visualizer__vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(
    ellipse at center,
    transparent 50%,
    rgba(0, 0, 0, 0.25) 100%
  );
}

/* ─── CONTROLS ─────────────────────────────────────────────── */

.visualizer__controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 2rem clamp(1.5rem, 4vw, 4rem);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}

/* Scene Selector */
.visualizer__scenes {
  display: flex;
  gap: 0.5rem;
}

.visualizer__scene-btn {
  padding: 0.6rem 1.2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
}

.visualizer__scene-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.visualizer__scene-btn.is-active {
  background: rgba(255, 255, 255, 0.9);
  color: #111;
  border-color: transparent;
}

/* Product Selector */
.visualizer__products {
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
}

.visualizer__product-btn {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all 0.3s;
  padding: 4px;
}

.visualizer__product-btn:hover {
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.visualizer__product-btn.is-active {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.visualizer__product-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ─── LABEL – left side, vertically centered ─────────────────── */

.visualizer__label {
  position: absolute;
  left: clamp(2rem, 5vw, 5rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  color: #fff;
  max-width: 35%;
}

.visualizer__label-eyebrow {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1rem;
  padding-left: 2px;
}

.visualizer__label-name {
  font-family: var(--font-editorial, 'Cormorant Garamond', serif);
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  margin-bottom: 0.75rem;
}

.visualizer__label-price {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
  margin-bottom: 1.5rem;
  white-space: nowrap;
}

.visualizer__label-price del {
  opacity: 0.4;
  margin-right: 0.5rem;
}

/* ─── CTA – inside label block ────────────────────────────── */

.visualizer__cta {
  margin-top: 0.25rem;
}

.visualizer__cta .btn {
  pointer-events: auto;
  font-size: 0.65rem;
  padding: 0.9rem 2rem;
  letter-spacing: 0.18em;
}

/* ─── RESPONSIVE ───────────────────────────────────────────── */

@media (max-width: 768px) {
  .visualizer__features {
    display: none;
  }

  .visualizer {
    height: 100vh;
    height: 100dvh;
    max-height: none;
  }

  .visualizer__label {
    left: 1.25rem;
    max-width: 70%;
    top: auto;
    bottom: 10rem;
    transform: none;
  }

  .visualizer__label-eyebrow {
    font-size: 0.55rem;
    margin-bottom: 0.5rem;
  }

  .visualizer__label-name {
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
  }

  .visualizer__label-price {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .visualizer__cta .btn {
    font-size: 0.6rem;
    padding: 0.75rem 1.5rem;
  }

  .visualizer__controls {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
  }

  .visualizer__scenes {
    justify-content: flex-start;
    gap: 0.4rem;
  }

  .visualizer__scene-btn {
    padding: 0.5rem 0.9rem;
    font-size: 0.6rem;
  }

  .visualizer__products {
    justify-content: flex-start;
  }

  .visualizer__product-btn {
    width: 44px;
    height: 44px;
  }
}
