/* ==========================================================================
   AETHERIAL PARFUMS / ALIMAPU — HAUTE PARFUMERIE DESIGN SYSTEM
   ========================================================================== */

:root {
  /* Brand Core Colors */
  --color-primary: #121316;               /* Obsidian Void */
  --color-on-primary: #ffffff;
  --color-primary-container: #1b1b1f;
  
  --color-secondary: #844e5f;             /* Dawn Rose Deep */
  --color-secondary-light: #e8a5b8;       /* Dawn Rose Petal */
  --color-secondary-fixed: #ffd9e2;
  --color-on-secondary-fixed: #350d1c;
  
  --color-tertiary: #2d5f8b;              /* Azure Mist Deep */
  --color-tertiary-light: #89b4e9;        /* Azure Mist Light */
  --color-tertiary-fixed: #d2e4ff;
  --color-on-tertiary-fixed: #001d36;
  
  --color-background: #f7f9fc;           /* Pearl Atmosphere */
  --color-surface: #f7f9fc;
  --color-surface-dim: #d8dadd;
  --color-surface-lowest: #ffffff;
  --color-surface-low: #f2f4f7;
  --color-surface-mid: #eceef1;
  --color-surface-high: #e6e8eb;
  --color-surface-highest: #e0e3e6;
  
  --color-on-surface: #191c1e;
  --color-on-surface-variant: #46464b;
  --color-outline: #76777b;
  --color-outline-variant: #c7c6cb;

  /* Typography */
  --font-serif: 'Bodoni Moda', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Radii */
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 2rem;
  --radius-xl: 3rem;
  --radius-full: 9999px;

  /* Elevation Shadows */
  --shadow-subtle: 0 4px 20px -2px rgba(25, 28, 30, 0.04);
  --shadow-glass: 0 16px 36px -12px rgba(137, 180, 233, 0.18);
  --shadow-hover: 0 24px 48px -8px rgba(18, 19, 22, 0.08), 0 8px 24px -4px rgba(232, 165, 184, 0.22);
  --shadow-modal: 0 32px 64px -16px rgba(18, 19, 22, 0.16);
}

/* Global Reset & Smooth Scroll */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--color-background);
  color: var(--color-on-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-surface-low);
}
::-webkit-scrollbar-thumb {
  background: var(--color-outline-variant);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-outline);
}

/* Typography Helpers */
.font-serif {
  font-family: var(--font-serif);
}
.font-sans {
  font-family: var(--font-sans);
}

/* Glassmorphism Styles */
.glass-panel {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-glass);
}

.glass-panel-hover {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.glass-panel-hover:hover {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.glass-nav {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(28px) saturate(170%);
  -webkit-backdrop-filter: blur(28px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 16px 40px -10px rgba(25, 28, 30, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.8);
}

/* Atmospheric Glows */
.ambient-glow-pink {
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 165, 184, 0.35) 0%, rgba(232, 165, 184, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-blue {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(137, 180, 233, 0.3) 0%, rgba(137, 180, 233, 0) 70%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

/* Animations */
@keyframes floatGentle {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(0.8deg);
  }
}

.animate-float {
  animation: floatGentle 6s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.06);
  }
}

.animate-pulse-glow {
  animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes luxuryMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.animate-luxury-marquee {
  display: flex;
  width: max-content;
  animation: luxuryMarquee 32s linear infinite;
}

.animate-luxury-marquee:hover {
  animation-play-state: paused;
}

.marquee-brand-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  user-select: none;
  text-decoration: none;
}

/* ==============================================================================
 * ALIMAPU — INDICADOR DE ESTATUS CLIENTE VIP LUMINOSO DORADO
 * ============================================================================== */
@keyframes vipGoldenHalo {
  0%, 100% {
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.45), 0 0 20px rgba(251, 191, 36, 0.35), inset 0 0 10px rgba(251, 191, 36, 0.2);
    border-color: #fcd34d;
  }
  50% {
    box-shadow: 0 0 18px rgba(245, 158, 11, 0.85), 0 0 32px rgba(251, 191, 36, 0.6), inset 0 0 14px rgba(251, 191, 36, 0.4);
    border-color: #fbbf24;
  }
}

.vip-pill-luminous {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.28) 0%, rgba(217, 119, 6, 0.18) 50%, rgba(251, 191, 36, 0.32) 100%);
  border: 2px solid #fbbf24;
  animation: vipGoldenHalo 2.5s infinite ease-in-out;
  color: #fffbeb;
}

.vip-pill-luminous .vip-dot {
  background: radial-gradient(circle, #fef08a 0%, #f59e0b 75%, #d97706 100%);
  box-shadow: 0 0 10px #fbbf24, 0 0 18px #f59e0b;
  animation: pulse 1.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  border: 1px solid #fef9c3;
}

.vip-pill-off {
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  box-shadow: none;
  animation: none;
  color: rgba(255, 255, 255, 0.55);
}

.vip-pill-off .vip-dot {
  background: rgba(255, 255, 255, 0.25);
  box-shadow: none;
  animation: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Toast Notification */
#toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.5rem;
  background: rgba(18, 19, 22, 0.95);
  backdrop-filter: blur(16px);
  color: #ffffff;
  border-radius: var(--radius-full);
  box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.25);
  transform: translateY(100px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

#toast-notification.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Print Styles for Voucher */
@media print {
  body * {
    visibility: hidden;
  }
  #voucherCardContainer, #voucherCardContainer * {
    visibility: visible;
  }
  #voucherCardContainer {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: none !important;
    border: 1px solid #ccc !important;
  }
}

/* ==========================================================================
   PARALLAX, ROLLSCROLLING & LUXURY MOTION SYSTEM
   ========================================================================== */

/* 1. Global Scroll Progress Bar (Rollscrolling tracker) */
#scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #844e5f, #e8a5b8, #89b4e9, #d2e4ff);
  width: 0%;
  z-index: 99999;
  transition: width 0.08s ease-out;
  pointer-events: none;
  box-shadow: 0 0 10px rgba(232, 165, 184, 0.7);
}

/* 2. Ambient Cursor Light Aura */
.cursor-aura {
  position: fixed;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 165, 184, 0.12) 0%, rgba(137, 180, 233, 0.06) 45%, transparent 70%);
  pointer-events: none;
  z-index: 5;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s ease;
  will-change: transform, left, top;
}

/* 3. Reveal on Scroll (Cascade Animations) */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* 4. Parallax Background & Rollscroll Layers */
.parallax-viewport {
  overflow: hidden;
  position: relative;
}

.parallax-roll-img {
  will-change: transform;
  transform: scale(1.15) translateY(0);
  transition: transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.parallax-monumental-text {
  will-change: transform, opacity;
  transition: transform 0.1s linear, opacity 0.1s linear;
}

.parallax-clouds {
  will-change: transform;
  transition: transform 0.12s linear;
}

/* 5. Shimmer Luxury Shine for Accents */
@keyframes luxuryShimmer {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

.shimmer-badge {
  position: relative;
  overflow: hidden;
}

.shimmer-badge::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: luxuryShimmer 4s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

/* 6. Floating Scroll to Top Pill */
.scroll-top-btn {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 80;
  transform: translateY(80px) scale(0.9);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-top-btn.visible {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.scroll-top-btn:hover {
  transform: translateY(-4px) scale(1.05);
}

/* 7. Interactive Olfactive Notes Wave */
@keyframes olfactiveWave {
  0%, 100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(1.4);
  }
}

.animate-olfactive-wave {
  animation: olfactiveWave 2s ease-in-out infinite;
}

/* 8. Luxury Glass Pill Glow on Hover */
.luxury-interactive-card {
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.luxury-interactive-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -10px rgba(18, 19, 22, 0.12), 0 10px 25px -5px rgba(232, 165, 184, 0.25);
}

/* 9. Glassmorphic Brand Capsule & Dynamic Glass Shimmer Animation */
@keyframes glassLightSweep {
  0% {
    transform: translateX(-160%) skewX(-25deg);
    opacity: 0;
  }
  15% {
    opacity: 0.9;
  }
  50%, 100% {
    transform: translateX(280%) skewX(-25deg);
    opacity: 0;
  }
}

.glass-brand-capsule {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  padding: 0.4rem 1.15rem;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-full);
  box-shadow: 0 12px 30px -6px rgba(255, 255, 255, 0.45), 0 6px 16px -4px rgba(25, 28, 30, 0.08), inset 0 1px 2px 0 rgba(255, 255, 255, 0.95);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 640px) {
  .glass-brand-capsule {
    padding: 0.48rem 1.45rem;
    background: rgba(255, 255, 255, 0.45);
    box-shadow: 0 14px 35px -8px rgba(255, 255, 255, 0.4), 0 8px 20px -4px rgba(25, 28, 30, 0.08), inset 0 1px 2px 0 rgba(255, 255, 255, 0.95);
  }
}

.glass-brand-capsule:hover {
  background: rgba(255, 255, 255, 0.55);
  transform: translateY(-2px);
  box-shadow: 0 20px 45px -8px rgba(255, 255, 255, 0.45), 0 12px 28px -4px rgba(25, 28, 30, 0.12);
}

.glass-brand-capsule::after {
  content: '';
  position: absolute;
  top: -30%;
  left: -30%;
  width: 60%;
  height: 160%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  animation: glassLightSweep 4.5s cubic-bezier(0.25, 1, 0.5, 1) infinite;
  pointer-events: none;
}

.glass-brand-text {
  font-family: 'Bodoni Moda', serif;
  font-variation-settings: 'opsz' 18, 'wght' 680;
  font-weight: 700;
  background: linear-gradient(135deg, #320420 0%, #5d0936 28%, #8a134d 55%, #bd1d6a 82%, #e53282 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0.25px rgba(50, 4, 32, 0.45);
  filter: drop-shadow(0 1px 3px rgba(50, 4, 32, 0.25)) drop-shadow(0 2px 8px rgba(189, 29, 106, 0.18));
  letter-spacing: 0.11em;
  white-space: nowrap;
  text-align: center;
}

@media (min-width: 640px) {
  .glass-brand-text {
    letter-spacing: 0.13em;
    -webkit-text-stroke: 0.3px rgba(50, 4, 32, 0.4);
  }
}

/* 10. Best Sellers Luxury Glassmorphism & Specular Shine Effects */
@keyframes glassShineSweep {
  0% {
    transform: translateX(-180%) skewX(-25deg);
    opacity: 0;
  }
  15% {
    opacity: 0.85;
  }
  45%, 100% {
    transform: translateX(320%) skewX(-25deg);
    opacity: 0;
  }
}

.bestseller-glass-card {
  position: relative;
  background: rgba(14, 16, 22, 0.45);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 1.5rem;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.35);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.bestseller-glass-card::after {
  content: '';
  position: absolute;
  top: -40%;
  left: -40%;
  width: 50%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: glassShineSweep 5.5s cubic-bezier(0.25, 1, 0.5, 1) infinite;
  pointer-events: none;
  z-index: 20;
}

.bestseller-glass-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 24px 50px -10px rgba(0, 0, 0, 0.65), 0 0 35px rgba(233, 30, 99, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.6);
  transform: translateY(-8px) scale(1.02);
}

.glass-bestsellers-header {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1.25rem;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  overflow: hidden;
}

.glass-bestsellers-header::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  animation: glassShineSweep 7s cubic-bezier(0.25, 1, 0.5, 1) infinite;
  pointer-events: none;
}

/* 11. VIP Animated Light-Border Badge (Óvalo con Luces en Movimiento) */
@keyframes rotateBorderLights {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes vipPillGlowPulse {
  0%, 100% {
    box-shadow: 0 0 16px -2px rgba(245, 158, 11, 0.35), 0 0 28px -4px rgba(217, 41, 114, 0.25), 0 4px 12px rgba(0, 0, 0, 0.4);
  }
  50% {
    box-shadow: 0 0 26px 1px rgba(245, 158, 11, 0.55), 0 0 38px 0px rgba(217, 41, 114, 0.4), 0 4px 16px rgba(0, 0, 0, 0.5);
  }
}

.vip-animated-badge-wrapper {
  position: relative;
  display: inline-flex;
  padding: 1.5px;
  border-radius: 9999px;
  overflow: hidden;
  animation: vipPillGlowPulse 4s ease-in-out infinite;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.vip-animated-badge-wrapper:hover {
  transform: translateY(-1.5px) scale(1.02);
}

.vip-badge-light-beam {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 520px;
  height: 520px;
  transform: translate(-50%, -50%);
  background: conic-gradient(
    from 0deg at 50% 50%,
    transparent 0deg,
    rgba(245, 158, 11, 0.1) 25deg,
    #f59e0b 55deg,
    #fef08a 85deg,
    #ffffff 90deg,
    #fef08a 95deg,
    #f59e0b 125deg,
    rgba(245, 158, 11, 0.1) 155deg,
    transparent 180deg,
    rgba(217, 41, 114, 0.1) 205deg,
    #d92972 235deg,
    #fbcfe8 265deg,
    #ffffff 270deg,
    #fbcfe8 275deg,
    #d92972 305deg,
    rgba(217, 41, 114, 0.1) 335deg,
    transparent 360deg
  );
  animation: rotateBorderLights 3.6s linear infinite;
  pointer-events: none;
}

.vip-badge-inner {
  position: relative;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.15rem;
  border-radius: 9999px;
  background: rgba(22, 24, 31, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* ==========================================================================
   JUSTIFICACIÓN ORDENADA PARA TEXTOS DE MÁS DE 2 LÍNEAS
   ========================================================================== */
.text-justify-multiline,
.faq-content > div {
  text-align: justify !important;
  text-justify: inter-word;
}




