/* ==========================================================================
   LUXURY COSMETICS HERO SLIDER (RTL & ELEMENTOR READY)
   ========================================================================== */

:root {
  --lhs-pink-light: #F8E7EC;
  --lhs-pink-mid: #E7C8D3;
  --lhs-pink-accent: #D89CB2;
  --lhs-plum-dark: #A76C88;
  --lhs-deep-burgundy: #4A2C3A;
  --lhs-pure-white: #FFFFFF;
  --lhs-font-serif: "IRANSans", "Vazirmatn", "Playfair Display", Georgia, serif;
  --lhs-font-sans: "IRANSans", "Vazirmatn", -apple-system, BlinkMacSystemFont, sans-serif;
  --lhs-anim-duration: 900ms;
}

.lhs-hero-container {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background-color: var(--lhs-deep-burgundy);
  font-family: var(--lhs-font-sans);
  color: var(--lhs-pure-white);
  user-select: none;
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
}

.elementor-widget-luxury_hero_slider {
  width: 100%;
  margin: 0;
}

.lhs-slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

/* اسلایدها */
.lhs-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  will-change: transform, opacity, filter;
  transition: 
    opacity var(--lhs-anim-duration) cubic-bezier(0.16, 1, 0.3, 1),
    filter var(--lhs-anim-duration) cubic-bezier(0.16, 1, 0.3, 1),
    transform var(--lhs-anim-duration) cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0s linear var(--lhs-anim-duration);
  transform: translateY(40px) scale(1.05);
  filter: blur(20px);
}

.lhs-slide.is-active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
  transform: translateY(0) scale(1);
  filter: blur(0px);
  transition-delay: 0s;
}

.lhs-slide.is-exiting {
  opacity: 0;
  filter: blur(20px);
  transform: translateY(-20px) scale(0.95);
}

/* پس‌زمینه */
.lhs-bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.lhs-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 10s ease-out;
}

.lhs-slide.is-active .lhs-bg-image {
  transform: scale(1.1);
}

.lhs-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(74, 44, 58, 0.6) 0%, rgba(20, 10, 15, 0.85) 100%);
}

.lhs-pink-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(-135deg, rgba(216, 156, 178, 0.25) 0%, rgba(167, 108, 136, 0.1) 50%, transparent 100%);
  mix-blend-mode: overlay;
}

.lhs-glass-backdrop {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.lhs-particle-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* گرید محتوا - راست‌چین (متن راست، محصول چپ) */
.lhs-content-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  padding: 0 4rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 2rem;
  box-sizing: border-box;
}

.lhs-text-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 620px;
}

.lhs-subtitle {
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--lhs-pink-mid);
  margin-bottom: 1rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.lhs-heading {
  font-family: var(--lhs-font-serif);
  font-size: clamp(2.2rem, 4.5vw, 4.2rem);
  line-height: 1.2;
  font-weight: 400;
  color: var(--lhs-pure-white);
  margin: 0 0 1.5rem 0;
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.8s ease 0.35s, transform 0.8s ease 0.35s;
}

.lhs-description {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--lhs-pink-light);
  font-weight: 300;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 0.5s, transform 0.8s ease 0.5s;
}

.lhs-slide.is-active .lhs-subtitle,
.lhs-slide.is-active .lhs-heading,
.lhs-slide.is-active .lhs-description {
  opacity: 1;
  transform: translateY(0);
}

.lhs-button-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 0.65s, transform 0.8s ease 0.65s;
}

.lhs-slide.is-active .lhs-button-group {
  opacity: 1;
  transform: translateY(0);
}

.lhs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.1rem 2.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.lhs-btn-primary {
  background-color: var(--lhs-pure-white);
  color: var(--lhs-deep-burgundy) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.lhs-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(255, 255, 255, 0.25);
  background-color: var(--lhs-pink-light);
}

.lhs-arrow-icon {
  transition: transform 0.3s ease;
}

.lhs-btn-primary:hover .lhs-arrow-icon {
  transform: translateX(-4px);
}

.lhs-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--lhs-pure-white) !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lhs-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--lhs-pure-white);
  transform: translateY(-3px);
}

/* تصویر محصول سه بعدی */
.lhs-product-column {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lhs-product-stage {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lhs-neon-halo {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 60px rgba(248, 231, 236, 0.3), inset 0 0 40px rgba(248, 231, 236, 0.2);
  pointer-events: none;
}

.lhs-ambient-bloom {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--lhs-pink-accent) 0%, transparent 70%);
  opacity: 0.35;
  filter: blur(50px);
  pointer-events: none;
}

.lhs-product-wrapper {
  position: relative;
  width: 85%;
  height: 85%;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  animation: lhsFloat 6s ease-in-out infinite;
  will-change: transform;
}

.lhs-product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.lhs-glass-reflection {
  position: absolute;
  inset: 0;
  background: linear-gradient(-135deg, rgba(255, 255, 255, 0.25) 0%, transparent 40%, rgba(255, 255, 255, 0.05) 100%);
  pointer-events: none;
}

.lhs-marble-platform {
  position: absolute;
  bottom: -20px;
  width: 90%;
  height: 20px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  filter: blur(12px);
}

@keyframes lhsFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(-1.5deg); }
}

/* کنترل‌ها */
.lhs-controls {
  position: absolute;
  bottom: 2.5rem;
  left: 0;
  width: 100%;
  z-index: 10;
  padding: 0 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

.lhs-pagination {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.lhs-dot {
  background: none;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  outline: none;
}

.lhs-dot-number {
  font-family: var(--lhs-font-serif);
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s ease;
}

.lhs-dot-line {
  width: 40px;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.lhs-dot.is-active .lhs-dot-number {
  color: var(--lhs-pure-white);
  font-weight: 600;
}

.lhs-dot.is-active .lhs-dot-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--lhs-pure-white);
  animation: lhsProgress var(--lhs-autoplay-duration, 6000ms) linear forwards;
}

@keyframes lhsProgress {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.lhs-arrows {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lhs-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
  color: var(--lhs-pure-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.lhs-arrow:hover {
  background: var(--lhs-pure-white);
  color: var(--lhs-deep-burgundy);
  transform: scale(1.05);
}

/* ریسپانسو موبایل */
@media (max-width: 1024px) {
  .lhs-content-grid {
    padding: 0 2rem;
    grid-template-columns: 1fr;
  }
  .lhs-product-column {
    display: none;
  }
}

@media (max-width: 768px) {
  .lhs-content-grid {
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    padding: 3rem 1.5rem 6rem;
  }

  .lhs-product-column {
    display: flex;
    height: 220px;
    width: 100%;
  }

  .lhs-product-stage {
    max-width: 200px;
  }

  .lhs-neon-halo {
    width: 180px;
    height: 180px;
  }

  .lhs-heading {
    font-size: 2rem;
  }

  .lhs-description {
    font-size: 0.95rem;
  }

  .lhs-button-group {
    width: 100%;
    flex-direction: column;
    gap: 0.75rem;
  }

  .lhs-btn {
    width: 100%;
  }

  .lhs-controls {
    padding: 0 1.5rem;
    bottom: 1.5rem;
  }
}