/* ==========================================================================
   SORIAN JOYERIA - DISEÑO HAUTE JOAILLERIE (ALTA JOYERÍA DE AUTOR)
   Paleta: Obsidiana Imperial (#0B090E), Oro Líquido 24k (#E5B842), Rubí Terciopelo (#7A1220), Perla (#FAF6ED)
   ========================================================================== */

:root {
  /* ==========================================================================
     PALETA CROMÁTICA DE HAUTE JOAILLERIE (ALTA JOYERÍA FINA)
     ========================================================================== */
  /* Oro Noble 24k / Champán Imperial */
  --primary-gold: #E5B842;
  --primary-gold-light: #FFF1B8;
  --primary-gold-bright: #FFDF73;
  --primary-gold-dark: #A67C1E;
  --primary-gold-subtle: rgba(229, 184, 66, 0.14);

  /* Borgoña Imperial / Terciopelo Joyero */
  --primary-ruby: #8A1525;
  --primary-ruby-dark: #38060E;
  --primary-ruby-light: #B82236;
  --primary-ruby-surface: #1E0408;

  /* Fondos Sedosos, Obsidiana y Terciopelo Oscuro */
  --bg-dark: #0B090E;
  --bg-dark-card: #131017;
  --bg-dark-surface: #1B1722;
  --bg-ivory: #0E0C12;
  --bg-ivory-light: #16131C;
  --bg-ivory-warm: #110E15;

  /* Tipografía y Textos Finos */
  --text-dark: #FAF6ED;
  --text-muted: #A8A095;
  --text-light: #FFFFFF;
  --text-gold: #E5B842;
  --text-gold-light: #FFF1B8;

  /* Gradientes de Metal Noble & Seda */
  --gold-gradient: linear-gradient(135deg, #FFF6D6 0%, #F3CE65 25%, #E5B842 50%, #C99726 75%, #8A600D 100%);
  --gold-gradient-satin: linear-gradient(135deg, #FFF1B8 0%, #E5B842 45%, #A67C1E 100%);
  --gold-gradient-soft: linear-gradient(135deg, rgba(229, 184, 66, 0.2) 0%, rgba(255, 241, 184, 0.3) 50%, rgba(166, 124, 30, 0.15) 100%);
  --ruby-gradient: linear-gradient(135deg, #7A1220 0%, #9E1B2D 50%, #4D0812 100%);
  --ruby-gradient-soft: linear-gradient(135deg, rgba(122, 18, 32, 0.25) 0%, rgba(158, 27, 45, 0.35) 50%, rgba(77, 8, 18, 0.15) 100%);
  --dark-gradient: linear-gradient(135deg, #17131D 0%, #0B090E 100%);
  --glass-bg: rgba(11, 9, 14, 0.88);
  --glass-bg-scrolled: rgba(11, 9, 14, 0.96);
  --glass-dark: rgba(11, 9, 14, 0.94);

  /* Sistema de Bordes Finos de Orfebrería */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  --border-gold: rgba(229, 184, 66, 0.25);
  --border-gold-strong: rgba(229, 184, 66, 0.6);
  --border-gold-glow: rgba(255, 223, 115, 0.75);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.14);
  --border-glass: rgba(229, 184, 66, 0.35);

  /* Sombras y Auras Lumínicas de Joyería */
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
  --shadow-card: 0 12px 32px -6px rgba(0, 0, 0, 0.5), 0 6px 14px -4px rgba(229, 184, 66, 0.08);
  --shadow-luxury: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 24px rgba(229, 184, 66, 0.2);
  --shadow-hover: 0 24px 50px -8px rgba(0, 0, 0, 0.75), 0 0 32px rgba(229, 184, 66, 0.35);
  --shadow-glow-gold: 0 0 28px rgba(229, 184, 66, 0.45);
  --shadow-glow-ruby: 0 0 28px rgba(138, 21, 37, 0.45);

  /* Tipografías de Alta Joyería y Maison Editorial */
  --font-serif: 'Bodoni Moda', 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-heading: 'Bodoni Moda', 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-display: 'Bodoni Moda', 'Cinzel', 'Marcellus', Georgia, serif;
  --font-script: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Curvas de Animación Ultra Suaves */
  --ease-silky: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --transition-fast: all 0.2s var(--ease-soft);
  --transition-smooth: all 0.38s var(--ease-silky);
  --transition-luxury: all 0.65s var(--ease-silky);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  background-color: var(--bg-dark);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
}

/* Barra Indicadora de Progreso de Scroll */
#scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--gold-gradient);
  z-index: 100000;
  box-shadow: 0 0 16px rgba(229, 184, 66, 0.95);
  transition: width 0.12s var(--ease-soft);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #0B090E;
}
::-webkit-scrollbar-thumb {
  background: var(--primary-gold);
  border-radius: var(--radius-pill);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-gold-bright);
}

/* Typography & Utilitarios */
h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.font-heading {
  font-family: var(--font-heading);
}

.font-script {
  font-family: var(--font-script);
}

.text-gold {
  color: var(--primary-gold);
}

.text-ruby {
  color: var(--primary-ruby);
}

.gold-shimmer-text {
  background: linear-gradient(90deg, #C5A059 0%, #FBF2D8 35%, #C5A059 70%, #8E6B28 100%);
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shimmerSweep 4.5s linear infinite;
}

@keyframes shimmerSweep {
  to {
    background-position: 200% center;
  }
}

/* Canvas de Partículas */
#sparkle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
}

/* ==========================================================================
   0. SISTEMA DE ANIMACIONES SUAVES DE ENTRADA (REVEAL ENGINE - 100% ANDROID / MOBILE)
   ========================================================================== */
.reveal {
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 24px, 0);
  transition: opacity 0.85s var(--ease-silky), 
              transform 0.85s var(--ease-silky),
              visibility 0.85s var(--ease-silky);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.reveal.is-revealed {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0) scale(1);
}

.reveal-fade-up {
  transform: translate3d(0, 28px, 0);
}

.reveal-fade-down {
  transform: translate3d(0, -28px, 0);
}

.reveal-fade-left {
  transform: translate3d(-28px, 0, 0);
}

.reveal-fade-right {
  transform: translate3d(28px, 0, 0);
}

.reveal-zoom-in {
  transform: translate3d(0, 16px, 0) scale(0.95);
}

.reveal-flip-up {
  transform: translate3d(0, 24px, 0) scale(0.96);
}

.reveal-gold-glow {
  transform: translate3d(0, 20px, 0);
}

.reveal-gold-glow.is-revealed {
  animation: goldGlowPulse 2.4s ease-in-out infinite alternate;
}

@keyframes goldGlowPulse {
  0% { box-shadow: 0 4px 20px rgba(212, 175, 55, 0.15); }
  100% { box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4); }
}

.section-divider {
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  margin: 10px auto 0;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
  transition: width 1s var(--ease-silky);
}

.section-divider.is-revealed {
  width: 72px;
}

.delay-1 { transition-delay: 0.08s !important; }
.delay-2 { transition-delay: 0.16s !important; }
.delay-3 { transition-delay: 0.24s !important; }
.delay-4 { transition-delay: 0.32s !important; }
.delay-5 { transition-delay: 0.40s !important; }
.delay-6 { transition-delay: 0.48s !important; }
.delay-7 { transition-delay: 0.56s !important; }
.delay-8 { transition-delay: 0.64s !important; }

/* Botón Volver Arriba */
#back-to-top-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-gold-strong);
  color: var(--primary-ruby);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-card);
}

#back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

#back-to-top-btn:hover {
  background: var(--primary-ruby);
  color: #FFF;
  border-color: var(--primary-gold);
  transform: translateY(-4px) scale(1.05);
  box-shadow: var(--shadow-glow-ruby);
}

/* ==========================================================================
   1. INTRO CINEMÁTICA DE ALTA JOYERÍA (SORIAN SIGNATURE REVEAL)
   Ultra-profesional, sin barras de carga lentas ni porcentajes.
   ========================================================================== */
.sorian-signature-intro {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  min-height: -webkit-fill-available;
  background: radial-gradient(ellipse at 50% 45%, #18151D 0%, #0D0C0F 65%, #050406 100%);
  z-index: 999999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px;
  overflow: hidden;
  cursor: pointer;
  touch-action: none;
  -webkit-touch-callout: none;
  transition: opacity 0.75s var(--ease-silky), 
              transform 0.75s var(--ease-silky), 
              filter 0.75s var(--ease-silky),
              visibility 0.75s;
}

.sorian-signature-intro.intro-revealed {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.04);
  filter: blur(4px);
  pointer-events: none;
}

/* Luces y Atmósfera de Lujo */
.intro-ambient-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(197, 160, 89, 0.18) 0%, rgba(107, 22, 36, 0.08) 45%, transparent 75%);
  pointer-events: none;
  animation: introAuraBreath 4s ease-in-out infinite alternate;
}

.intro-gold-rays {
  position: absolute;
  width: 250%;
  height: 200px;
  background: linear-gradient(90deg, transparent 0%, rgba(247, 231, 180, 0.08) 50%, transparent 100%);
  transform: rotate(-35deg) translateY(-250%);
  pointer-events: none;
  animation: introRaySweep 5s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.intro-particles-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 195, 120, 0.22) 0%, rgba(197, 160, 89, 0.05) 50%, transparent 75%);
  filter: blur(35px);
  pointer-events: none;
  animation: introPulseGlow 3s ease-in-out infinite alternate;
}

@keyframes introAuraBreath {
  0% { opacity: 0.6; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1.08); }
}

@keyframes introRaySweep {
  0% { transform: rotate(-35deg) translateY(-300%); }
  45% { transform: rotate(-35deg) translateY(300%); }
  100% { transform: rotate(-35deg) translateY(300%); }
}

@keyframes introPulseGlow {
  0% { transform: scale(0.88); opacity: 0.5; }
  100% { transform: scale(1.18); opacity: 0.95; }
}

/* Escenario Central */
.intro-brand-stage {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 580px;
  width: 100%;
}

/* Sello / Emblema de Joyería */
.intro-emblem-seal {
  position: relative;
  width: 105px;
  height: 105px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.seal-outer-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px dashed rgba(197, 160, 89, 0.55);
  box-shadow: 0 0 25px rgba(197, 160, 89, 0.25);
  animation: sealSpinCW 24s linear infinite;
}

.seal-inner-pulse {
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  border: 1px solid rgba(247, 231, 180, 0.4);
  box-shadow: inset 0 0 15px rgba(197, 160, 89, 0.25);
  animation: sealSpinCCW 16s linear infinite;
}

@keyframes sealSpinCW {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes sealSpinCCW {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

.seal-diamond-core {
  position: relative;
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-diamond-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 16px rgba(197, 160, 89, 0.75));
  animation: diamondHover 2.8s ease-in-out infinite alternate;
}

@keyframes diamondHover {
  0% { transform: translateY(0) scale(0.97); }
  100% { transform: translateY(-3px) scale(1.04); }
}

.intro-sparkle-star {
  position: absolute;
  top: 6px;
  right: 10px;
  font-size: 0.9rem;
  color: #FFF5D6;
  text-shadow: 0 0 12px #FFF, 0 0 20px var(--primary-gold);
  animation: starBlink 2.2s ease-in-out infinite alternate;
}

@keyframes starBlink {
  0%, 100% { opacity: 0.2; transform: scale(0.6); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* Tipografía de Lujo con Destello Metálico */
.intro-typography-block {
  margin-bottom: 26px;
}

.intro-tagline-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: clamp(0.64rem, 1.8vw, 0.76rem);
  color: var(--primary-gold-light);
  letter-spacing: 5px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
  opacity: 0;
  transform: translateY(10px);
  animation: introElemFadeUp 0.8s 0.1s var(--ease-silky) forwards;
}

.intro-brand-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 6.5vw, 3.2rem);
  letter-spacing: 5px;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.15;
  opacity: 0;
  transform: translateY(14px);
  animation: introElemFadeUp 0.9s 0.25s var(--ease-silky) forwards;
}

.intro-shimmer-text {
  background: linear-gradient(
    90deg, 
    #FAF8F5 0%, 
    #F7E7B4 25%, 
    #C5A059 45%, 
    #FFFFFF 50%, 
    #E5C378 55%, 
    #C5A059 75%, 
    #FAF8F5 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldShimmerSweep 4.5s linear infinite;
  display: inline-block;
}

@keyframes goldShimmerSweep {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.intro-slogan-line {
  opacity: 0;
  transform: translateY(10px);
  animation: introElemFadeUp 1.2s 0.6s var(--ease-silky) forwards;
}

.intro-slogan-text {
  font-family: var(--font-serif);
  font-size: clamp(0.82rem, 2.4vw, 1.05rem);
  color: rgba(250, 248, 245, 0.85);
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 400;
  font-style: italic;
  display: inline-block;
  animation: sloganExpand 4.2s 0.6s var(--ease-silky) forwards;
}

@keyframes sloganExpand {
  0% { letter-spacing: 3px; }
  100% { letter-spacing: 7px; }
}

@keyframes introElemFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Botón de Entrada Instantánea */
.intro-explore-direct-btn {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-gold-strong);
  color: var(--primary-gold-light);
  font-family: var(--font-serif);
  font-size: clamp(0.72rem, 1.8vw, 0.8rem);
  font-weight: 600;
  letter-spacing: 3px;
  padding: 10px 28px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(12px);
  animation: introElemFadeUp 0.8s 0.55s var(--ease-silky) forwards;
}

.intro-explore-direct-btn:hover {
  background: var(--gold-gradient);
  color: var(--bg-dark);
  border-color: #FFF5D6;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 25px rgba(197, 160, 89, 0.45);
}

.intro-explore-direct-btn i {
  transition: transform 0.25s var(--ease-soft);
}

.intro-explore-direct-btn:hover i {
  transform: translateX(4px);
}

/* ==========================================================================
   MOTOR DE ENTRADA POST-INTRO & COREOGRAFÍA DE TODAS LAS PRESENTACIONES
   ========================================================================== */
body.intro-loading {
  overflow: hidden !important;
  height: 100vh !important;
}

body.has-preloader:not(.intro-finished) .top-bar,
body.has-preloader:not(.intro-finished) .main-header,
body.has-preloader:not(.intro-finished) .hero-subtitle-badge,
body.has-preloader:not(.intro-finished) .hero-editorial-title,
body.has-preloader:not(.intro-finished) .hero-editorial-desc,
body.has-preloader:not(.intro-finished) .hero-cta-group,
body.has-preloader:not(.intro-finished) .floating-concierge {
  opacity: 0 !important;
  visibility: hidden !important;
}

body.intro-finished .top-bar {
  animation: entranceTopBar 0.9s 0.05s var(--ease-silky) both;
}

body.intro-finished .main-header {
  animation: entranceHeader 1s 0.15s var(--ease-silky) both;
}

body.intro-finished .hero-editorial-bg {
  animation: entranceHeroBg 2.5s 0.05s var(--ease-silky) both;
}

body.intro-finished .hero-subtitle-badge {
  animation: entranceBadge 1s 0.25s var(--ease-silky) both;
}

body.intro-finished .hero-editorial-title {
  animation: entranceHeroTitle 1.1s 0.38s var(--ease-silky) both;
}

body.intro-finished .hero-editorial-desc {
  animation: entranceHeroDesc 1.1s 0.52s var(--ease-silky) both;
}

body.intro-finished .hero-cta-group {
  animation: entranceButtons 1.1s 0.66s var(--ease-silky) both;
}

body.intro-finished .floating-concierge {
  animation: entranceConcierge 0.9s 0.95s var(--ease-spring) both;
}

/* Destello de brillo de oro sobre el botón CTA principal al terminar el intro */
body.intro-finished .hero-cta-group .btn-luxury-gold::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -100%;
  width: 60%;
  height: 200%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
  animation: buttonLuxuryGleam 1.5s 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes buttonLuxuryGleam {
  0% { left: -100%; opacity: 0; }
  30% { opacity: 1; }
  100% { left: 220%; opacity: 0; }
}

/* Keyframes de Entrada de Presentación (GPU Accelerated 60/120 FPS) */
@keyframes entranceTopBar {
  0% {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes entranceHeader {
  0% {
    opacity: 0;
    transform: translate3d(0, -20px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes entranceHeroBg {
  0% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1.01);
  }
}

@keyframes entranceBadge {
  0% {
    opacity: 0;
    transform: translate3d(0, -16px, 0) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes entranceHeroTitle {
  0% {
    opacity: 0;
    transform: translate3d(0, 26px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes entranceHeroDesc {
  0% {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes entranceButtons {
  0% {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes entranceConcierge {
  0% {
    opacity: 0;
    transform: translate3d(0, 24px, 0) scale(0.85);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

/* Animaciones de Entrada Específicas para Bloques de Presentación al Scroll */
.value-box {
  transition: transform 0.4s var(--ease-silky), box-shadow 0.4s var(--ease-silky), border-color 0.4s ease;
}

.value-box:hover {
  transform: translate3d(0, -6px, 0) scale(1.02);
  border-color: var(--primary-gold);
  box-shadow: 0 16px 36px rgba(212, 175, 55, 0.22), 0 4px 12px rgba(139, 30, 40, 0.08);
}

.four-cs-card {
  transition: transform 0.4s var(--ease-silky), box-shadow 0.4s var(--ease-silky), border-color 0.4s ease;
}

.four-cs-card:hover {
  transform: translate3d(0, -6px, 0) scale(1.02);
  border-color: var(--primary-gold);
  box-shadow: 0 16px 36px rgba(212, 175, 55, 0.22), 0 4px 12px rgba(139, 30, 40, 0.08);
}

.product-card {
  animation: productCardFadeIn 0.7s var(--ease-silky) forwards;
}

@keyframes productCardFadeIn {
  0% {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Soporte para Accesibilidad (Reduced Motion) */
@media (prefers-reduced-motion: reduce) {
  body.intro-finished .top-bar,
  body.intro-finished .main-header,
  body.intro-finished .hero-editorial-bg,
  body.intro-finished .floating-concierge {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   2. TOP BAR CON NOTIFICACIONES (LUXURY RUBY & GOLD)
   ========================================================================== */
.top-bar {
  background: linear-gradient(90deg, #240308 0%, #460914 50%, #240308 100%);
  color: #F8EEDB;
  font-size: 0.74rem;
  padding: 8px 20px;
  letter-spacing: 0.8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 100;
  border-bottom: 1px solid rgba(226, 183, 85, 0.35);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.top-bar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(226, 183, 85, 0.85) 50%, transparent 100%);
  animation: topBarLineShimmer 4s ease-in-out infinite alternate;
}

@keyframes topBarLineShimmer {
  0% { opacity: 0.3; }
  100% { opacity: 1; filter: drop-shadow(0 0 5px #E2B755); }
}

.top-bar-marquee {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 400;
}

.top-bar-marquee i {
  color: var(--primary-gold-light);
  filter: drop-shadow(0 0 4px rgba(226, 183, 85, 0.7));
  animation: starTwinkle 2.5s ease-in-out infinite alternate;
}

@keyframes starTwinkle {
  0% { transform: scale(0.9); opacity: 0.75; }
  100% { transform: scale(1.15); opacity: 1; filter: drop-shadow(0 0 8px #FFF2C8); }
}

.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-bar .admin-portal-link {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(226, 183, 85, 0.4);
  font-size: 0.7rem;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  transition: all 0.3s ease;
}

.top-bar .admin-portal-link:hover {
  background: var(--primary-gold);
  color: #1C1A18;
  border-color: #FFF2C8;
  box-shadow: 0 0 12px rgba(226, 183, 85, 0.6);
  transform: translateY(-1px);
}

.currency-select {
  background: rgba(0, 0, 0, 0.3);
  color: #FFFFFF;
  border: 1px solid var(--border-gold);
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  outline: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.currency-select:hover, .currency-select:focus {
  border-color: var(--primary-gold-light);
}

.sound-toggle-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(226, 183, 85, 0.35);
  color: var(--primary-gold-light);
  cursor: pointer;
  font-size: 0.85rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.sound-toggle-btn:hover {
  transform: scale(1.15);
  color: #FFF;
  border-color: #FFF2C8;
  background: rgba(139, 30, 40, 0.6);
  box-shadow: 0 0 12px rgba(226, 183, 85, 0.6);
}

/* ==========================================================================
   3. HEADER & BARRA DE MENÚ CON ANIMACIÓN FLUIDA
   ========================================================================== */
.main-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(11, 9, 14, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(229, 184, 66, 0.25);
  z-index: 999;
  transition: padding 0.4s var(--ease-silky), 
              background-color 0.4s var(--ease-silky), 
              box-shadow 0.4s var(--ease-silky),
              border-color 0.4s var(--ease-silky);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.5);
}

.main-header.scrolled {
  background: rgba(11, 9, 14, 0.98);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.8), 0 1px 3px rgba(229, 184, 66, 0.3);
  border-bottom-color: rgba(229, 184, 66, 0.5);
}

.main-header.scrolled .header-inner {
  padding: 8px 20px;
}

.main-header.scrolled .brand-logo-img {
  height: 36px;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: padding 0.35s var(--ease-silky);
}

/* Botón Hamburguesa */
.mobile-menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(229, 184, 66, 0.3);
  font-size: 1.25rem;
  color: #FFF1B8;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

.mobile-menu-toggle:hover {
  background: rgba(229, 184, 66, 0.2);
  color: #FFFFFF;
  border-color: #FFDF73;
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(229, 184, 66, 0.4);
}

/* Navegación de Escritorio */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 24px;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: #EDE8DF;
  font-family: var(--font-serif);
  font-size: 0.84rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  position: relative;
  padding: 6px 4px;
  font-weight: 500;
  transition: color 0.3s var(--ease-silky), transform 0.3s var(--ease-silky);
  display: inline-block;
}

.nav-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(229, 184, 66, 0.1);
  border-radius: var(--radius-xs);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.3s var(--ease-silky), transform 0.3s var(--ease-silky);
  z-index: -1;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0%;
  height: 2px;
  background: var(--gold-gradient);
  border-radius: var(--radius-pill);
  box-shadow: 0 0 8px rgba(229, 184, 66, 0.8);
  transition: width 0.35s var(--ease-silky);
}

.nav-link:hover {
  color: #FFDF73;
  transform: translateY(-1px);
  text-shadow: 0 0 10px rgba(229, 184, 66, 0.6);
}

.nav-link:hover::before {
  opacity: 1;
  transform: scale(1);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: #FFDF73;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(229, 184, 66, 0.5);
}

/* Logo */
.brand-logo-wrap {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03), inset 0 0 6px rgba(212, 175, 55, 0.08);
  transition: all 0.3s var(--ease-silky);
}

.brand-logo-wrap:hover {
  transform: translateY(-2px) scale(1.03);
  border-color: var(--primary-gold);
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.3), inset 0 0 10px rgba(212, 175, 55, 0.15);
}

.brand-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  border-radius: 2px;
  transition: height 0.35s var(--ease-silky);
}

.brand-logo-fallback {
  text-align: center;
}

.brand-logo-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--primary-ruby);
  letter-spacing: 2.5px;
  font-weight: 700;
}

.brand-logo-sub {
  font-family: var(--font-serif);
  font-size: 0.58rem;
  letter-spacing: 2px;
  color: var(--primary-gold-dark);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-action-btn {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border-gold);
  color: var(--text-dark);
  font-size: 1.15rem;
  cursor: pointer;
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-subtle);
}

.header-action-btn:hover {
  background: var(--bg-ivory-light);
  color: var(--primary-ruby);
  border-color: var(--primary-ruby);
  transform: translateY(-2px) scale(1.05);
  box-shadow: var(--shadow-card);
}

.badge-count {
  position: absolute;
  top: -3px;
  right: -3px;
  background: var(--ruby-gradient);
  color: #FFF;
  font-size: 0.62rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #FFF;
  box-shadow: 0 2px 6px rgba(139, 30, 40, 0.4);
  padding: 0 3px;
  animation: badgePop 0.35s var(--ease-spring);
}

@keyframes badgePop {
  0% { transform: scale(0.4); }
  70% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.admin-portal-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid var(--border-gold-strong);
  border-radius: var(--radius-pill);
  color: var(--primary-ruby);
  font-family: var(--font-serif);
  font-size: 0.72rem;
  letter-spacing: 0.8px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.admin-portal-link:hover {
  background: var(--primary-gold);
  color: #121013;
  box-shadow: var(--shadow-glow-gold);
  transform: translateY(-1px);
}

/* ==========================================================================
   4. DRAWER MENÚ MÓVIL
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 5, 10, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-silky), visibility 0.4s var(--ease-silky);
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: -330px;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background: linear-gradient(175deg, #15111B 0%, #0C0A10 100%);
  box-shadow: 18px 0 50px rgba(0, 0, 0, 0.85), inset -1px 0 0 rgba(229, 184, 66, 0.25);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  padding: 28px 22px;
  border-right: 1px solid rgba(229, 184, 66, 0.35);
  transition: transform 0.45s var(--ease-silky), left 0.45s var(--ease-silky);
}

.mobile-nav-drawer.active {
  left: 0;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(229, 184, 66, 0.25);
}

.mobile-nav-header span {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #FFF1B8 0%, #E5B842 60%, #FAF6ED 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #E5B842;
  text-shadow: 0 0 15px rgba(229, 184, 66, 0.35);
}

.mobile-nav-header button,
#mobile-menu-close {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(229, 184, 66, 0.3) !important;
  color: #FAF6ED !important;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem !important;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mobile-nav-header button:hover,
#mobile-menu-close:hover {
  background: rgba(138, 21, 37, 0.4) !important;
  border-color: var(--primary-gold) !important;
  color: #FFF1B8 !important;
  transform: rotate(90deg);
  box-shadow: 0 0 15px rgba(229, 184, 66, 0.35);
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-nav-links li {
  opacity: 0;
  transform: translateX(-18px);
  transition: opacity 0.4s var(--ease-silky), transform 0.4s var(--ease-silky);
}

.mobile-nav-drawer.active .mobile-nav-links li {
  opacity: 1;
  transform: translateX(0);
}

.mobile-nav-drawer.active .mobile-nav-links li:nth-child(1) { transition-delay: 0.08s; }
.mobile-nav-drawer.active .mobile-nav-links li:nth-child(2) { transition-delay: 0.14s; }
.mobile-nav-drawer.active .mobile-nav-links li:nth-child(3) { transition-delay: 0.20s; }
.mobile-nav-drawer.active .mobile-nav-links li:nth-child(4) { transition-delay: 0.26s; }
.mobile-nav-drawer.active .mobile-nav-links li:nth-child(5) { transition-delay: 0.32s; }
.mobile-nav-drawer.active .mobile-nav-links li:nth-child(6) { transition-delay: 0.38s; }
.mobile-nav-drawer.active .mobile-nav-links li:nth-child(7) { transition-delay: 0.44s; }

.mobile-nav-links a {
  text-decoration: none;
  color: #E2DFD7;
  font-family: var(--font-serif);
  font-size: 0.88rem;
  letter-spacing: 1.2px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(24, 20, 30, 0.7);
  border: 1px solid rgba(229, 184, 66, 0.16);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.mobile-nav-links a i {
  color: var(--primary-gold);
  filter: drop-shadow(0 0 6px rgba(229, 184, 66, 0.5));
  font-size: 0.95rem;
  transition: transform 0.3s ease;
}

.mobile-nav-links a.active, 
.mobile-nav-links a:hover {
  color: #FFF2C0;
  background: linear-gradient(135deg, rgba(138, 21, 37, 0.45) 0%, rgba(229, 184, 66, 0.22) 100%);
  border-color: rgba(229, 184, 66, 0.75);
  font-weight: 600;
  transform: translateX(5px);
  box-shadow: 0 4px 18px rgba(229, 184, 66, 0.2), inset 0 0 14px rgba(229, 184, 66, 0.1);
}

.mobile-nav-links a:hover i,
.mobile-nav-links a.active i {
  transform: scale(1.15);
  color: #FFDF73;
}

/* ==========================================================================
   5. BOTONES Y COMPONENTES REFINADOS
   ========================================================================== */
.btn-luxury {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-family: var(--font-serif);
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--radius-pill);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  text-align: center;
  border: 1px solid transparent;
  box-shadow: var(--shadow-card);
}

.btn-luxury::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transition: left 0.7s var(--ease-silky);
}

.btn-luxury:hover::after {
  left: 120%;
}

.btn-luxury-ruby {
  background: linear-gradient(135deg, #781420 0%, #A31D2C 50%, #5E0E17 100%);
  color: #FFFFFF;
  border: 1px solid rgba(226, 183, 85, 0.65);
  box-shadow: 0 4px 18px rgba(120, 20, 32, 0.45), 0 0 10px rgba(226, 183, 85, 0.2);
  position: relative;
  overflow: hidden;
}

.btn-luxury-ruby::before {
  content: '';
  position: absolute;
  top: 0;
  left: -140%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  animation: buttonLuxuryGleam 4.5s ease-in-out infinite;
}

.btn-luxury-ruby:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 26px rgba(163, 29, 44, 0.65), 0 0 18px rgba(226, 183, 85, 0.4);
  border-color: #FFDF80;
  color: #FFFFFF;
}

.btn-luxury-ruby i {
  color: #FFDF80;
  filter: drop-shadow(0 0 4px rgba(255, 223, 128, 0.7));
}

.btn-luxury-gold {
  background: var(--gold-gradient-satin);
  color: #1A1408;
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 6px 22px rgba(197, 160, 89, 0.38);
}

.btn-luxury-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(197, 160, 89, 0.58), var(--shadow-glow-gold);
  color: #0E0C06;
}

.btn-luxury-outline {
  background: rgba(255, 255, 255, 0.06);
  color: #FFF;
  border: 1px solid var(--border-gold-strong);
  backdrop-filter: blur(4px);
}

.btn-luxury-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #FFF;
  color: #FFF;
  transform: translateY(-3px);
}

.section-padding {
  padding: 70px 20px;
  max-width: 1320px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

.section-header {
  text-align: center;
  margin-bottom: 42px;
}

.section-tag {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary-gold);
  display: inline-block;
  margin-bottom: 8px;
  font-weight: 600;
  text-shadow: 0 0 12px rgba(229, 184, 66, 0.4);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4.2vw, 2.7rem);
  color: #FAF6ED;
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF1B8 40%, #E5B842 80%, #FFF1B8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.25;
  filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.6));
}

/* ==========================================================================
   6. SECCIÓN HERO DE MARCA (SORIAN, tu manera de brillar)
   ========================================================================== */
.hero-editorial {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0D0C0E;
  color: #FFFFFF;
  text-align: center;
  padding: 90px 20px 80px;
}

.hero-editorial-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1599643478518-a784e5dc4c8f?auto=format&fit=crop&w=1920&q=85') center/cover no-repeat;
  filter: brightness(0.38) contrast(1.15) saturate(1.1);
  transform: scale(1.02);
  transition: transform 12s cubic-bezier(0.1, 1, 0.1, 1);
}

.hero-editorial:hover .hero-editorial-bg {
  transform: scale(1.07);
}

.hero-editorial-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(18, 16, 20, 0.45) 0%, rgba(13, 12, 14, 0.88) 75%, rgba(10, 9, 11, 0.96) 100%);
}

.hero-editorial-content {
  position: relative;
  z-index: 10;
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Ambient Halo detrás del título */
.hero-ambient-halo {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(650px, 92vw);
  height: min(360px, 65vw);
  background: radial-gradient(ellipse at center, rgba(226, 183, 85, 0.18) 0%, rgba(139, 30, 40, 0.08) 45%, transparent 70%);
  pointer-events: none;
  z-index: -1;
  filter: blur(42px);
  animation: heroAuraBreath 6s ease-in-out infinite alternate;
}

@keyframes heroAuraBreath {
  0% { transform: translate(-50%, -50%) scale(0.92); opacity: 0.65; }
  100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

/* Badge Pill Superior */
.hero-badge-pill,
.hero-subtitle-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 24px;
  background: rgba(18, 15, 20, 0.82);
  border: 1px solid rgba(226, 183, 85, 0.52);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 16px rgba(226, 183, 85, 0.15), inset 0 0 12px rgba(226, 183, 85, 0.1);
  margin-bottom: 24px;
  max-width: 95%;
  transition: all 0.35s var(--ease-silky);
}

.hero-badge-pill:hover,
.hero-subtitle-badge:hover {
  border-color: #FFF2C8;
  box-shadow: 0 6px 28px rgba(226, 183, 85, 0.4), inset 0 0 16px rgba(226, 183, 85, 0.2);
  transform: translateY(-2px);
}

.hero-badge-icon {
  color: #F8E8BE;
  font-size: 0.85rem;
  filter: drop-shadow(0 0 6px rgba(226, 183, 85, 0.9));
  animation: badgeIconPulse 2.5s ease-in-out infinite alternate;
}

@keyframes badgeIconPulse {
  0% { transform: scale(1); filter: drop-shadow(0 0 4px rgba(226, 183, 85, 0.7)); }
  100% { transform: scale(1.15); filter: drop-shadow(0 0 10px #FFECA8); }
}

.hero-badge-text {
  font-family: var(--font-body);
  font-size: clamp(0.68rem, 1.7vw, 0.8rem);
  letter-spacing: 2.8px;
  text-transform: uppercase;
  color: #FAF7F2;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

/* Título Principal Editorial (Haute Joaillerie) */
.hero-editorial-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 22px;
  line-height: 1.15;
  text-align: center;
  width: 100%;
  max-width: 100%;
}

.hero-title-brand {
  font-family: 'Bodoni Moda', 'Cinzel', 'Playfair Display', Georgia, serif;
  font-size: clamp(2.8rem, 7.8vw, 5.4rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: linear-gradient(115deg, #FFFFFF 0%, #FFF8E7 15%, #E2B755 38%, #FFFFFF 55%, #C5A059 75%, #FFFFFF 100%);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 28px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 18px rgba(226, 183, 85, 0.35));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: goldLuxurySheenFlow 6s ease-in-out infinite alternate;
  cursor: default;
  transition: filter 0.4s ease, transform 0.4s ease;
  will-change: background-position;
}

.hero-title-brand:hover {
  filter: drop-shadow(0 0 35px rgba(226, 183, 85, 0.7)) drop-shadow(0 6px 30px rgba(0, 0, 0, 0.95));
  transform: translateY(-1px) scale(1.01);
}

.brand-gold-dot {
  color: #E2B755;
  -webkit-text-fill-color: #E2B755;
  display: inline-block;
  animation: dotGlowBlink 3s ease-in-out infinite alternate;
}

@keyframes dotGlowBlink {
  0% { filter: drop-shadow(0 0 4px #E2B755); transform: scale(1); }
  100% { filter: drop-shadow(0 0 12px #FFF2C8); transform: scale(1.1); }
}

.hero-title-slogan {
  font-family: 'Cormorant Garamond', 'Bodoni Moda', 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.3rem, 6.4vw, 4.4rem);
  color: #F8E8BE;
  letter-spacing: 0.02em;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.35em;
  line-height: 1.2;
  position: relative;
  text-align: center;
  max-width: 95vw;
}

.hero-slogan-text-holder {
  display: inline-block;
  color: #F8E8BE;
  background: linear-gradient(120deg, #FFFFFF 0%, #FFF8E2 20%, #E2B755 45%, #FFFFFF 65%, #DFB44C 85%, #FFFFFF 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 16px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 12px rgba(226, 183, 85, 0.25));
  animation: goldLuxurySheenFlow 5.5s ease-in-out infinite alternate;
  will-change: background-position;
  word-break: normal;
  overflow-wrap: break-word;
}

.hero-cursor-line {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-style: normal;
  font-size: 0.65em;
  color: #FFDF80;
  -webkit-text-fill-color: #FFDF80;
  margin-left: 6px;
  vertical-align: middle;
  filter: drop-shadow(0 0 8px rgba(255, 223, 128, 0.95)) drop-shadow(0 0 16px rgba(226, 183, 85, 0.7));
  animation: diamondCursorSparkle 1.1s ease-in-out infinite;
  user-select: none;
}

@keyframes diamondCursorSparkle {
  0%, 100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    filter: drop-shadow(0 0 8px #FFDF80) drop-shadow(0 0 16px #E2B755);
  }
  50% {
    opacity: 0.35;
    transform: scale(0.85) rotate(45deg);
    filter: drop-shadow(0 0 2px #E2B755);
  }
}

/* Descripción */
.hero-editorial-desc {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 2.1vw, 1.15rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 650px;
  margin: 0 auto 36px;
  font-weight: 300;
  line-height: 1.68;
  letter-spacing: 0.4px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

/* Grupo de Botones de Acción */
.hero-cta-group {
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.btn-hero-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 36px;
  background: linear-gradient(135deg, #FFF0B8 0%, #E2B755 35%, #B88922 80%, #E2B755 100%);
  background-size: 200% auto;
  color: #1A1202;
  font-family: var(--font-body);
  font-size: clamp(0.76rem, 1.7vw, 0.85rem);
  letter-spacing: 2.6px;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 30px rgba(226, 183, 85, 0.5), 0 8px 24px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.35s var(--ease-silky);
}

.btn-hero-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -140%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-25deg);
  animation: buttonLuxuryGleam 4s ease-in-out infinite;
}

.btn-hero-gold:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 45px rgba(226, 183, 85, 0.85), 0 12px 32px rgba(0, 0, 0, 0.6);
  color: #000000;
  background-position: 100% center;
}

.btn-hero-gold i {
  font-size: 0.9rem;
  color: #1A1202;
  transition: transform 0.3s ease;
}

.btn-hero-gold:hover i {
  transform: scale(1.2) rotate(15deg);
}

.btn-hero-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 36px;
  background: rgba(18, 15, 20, 0.75);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: clamp(0.76rem, 1.7vw, 0.85rem);
  letter-spacing: 2.2px;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(226, 183, 85, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45), inset 0 0 12px rgba(226, 183, 85, 0.08);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.35s var(--ease-silky);
}

.btn-hero-instagram:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #FFF2C8;
  color: #FFFFFF;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(226, 183, 85, 0.3);
}

.btn-hero-instagram i {
  font-size: 1.05rem;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 6px rgba(220, 39, 67, 0.6));
  transition: transform 0.3s ease;
}

.btn-hero-instagram:hover i {
  transform: scale(1.2) rotate(-8deg);
}

/* Tarjetas de Valores de Taller Independiente */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1220px;
  margin: 0 auto;
}

.value-box {
  background: linear-gradient(145deg, rgba(24, 20, 29, 0.95), rgba(13, 11, 16, 0.98));
  border: 1px solid rgba(229, 184, 66, 0.3);
  border-radius: var(--radius-md);
  padding: 36px 26px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 14px rgba(229, 184, 66, 0.05);
  transition: all 0.4s var(--ease-silky);
  position: relative;
  overflow: hidden;
}

.value-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity 0.35s var(--ease-silky);
}

.value-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.7), 0 0 28px rgba(229, 184, 66, 0.3);
  border-color: rgba(229, 184, 66, 0.75);
}

.value-box:hover::before {
  opacity: 1;
}

.value-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(229, 184, 66, 0.2) 0%, rgba(138, 21, 37, 0.25) 100%);
  border: 1px solid rgba(229, 184, 66, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #FFDF73;
  margin: 0 auto 20px;
  transition: all 0.4s var(--ease-silky);
  box-shadow: 0 0 16px rgba(229, 184, 66, 0.2);
}

.value-box:hover .value-icon {
  background: var(--gold-gradient);
  color: #120E04;
  transform: scale(1.12) rotate(6deg);
  box-shadow: 0 0 24px rgba(229, 184, 66, 0.8);
}

.value-box h3 {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  color: #FAF6ED;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.value-box p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.68;
}

/* Guía 4Cs */
.four-cs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.four-cs-card {
  background: linear-gradient(145deg, rgba(24, 20, 29, 0.95), rgba(13, 11, 16, 0.98));
  border: 1px solid rgba(229, 184, 66, 0.25);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), inset 0 0 10px rgba(229, 184, 66, 0.04);
  transition: all 0.4s var(--ease-silky);
}

.four-cs-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 24px rgba(229, 184, 66, 0.25);
  border-color: rgba(229, 184, 66, 0.65);
}

.four-cs-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(229, 184, 66, 0.18) 0%, rgba(138, 21, 37, 0.2) 100%);
  border: 1px solid rgba(229, 184, 66, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #FFDF73;
  margin: 0 auto 16px;
  transition: all 0.4s var(--ease-silky);
}

.four-cs-card:hover .four-cs-icon {
  background: var(--gold-gradient);
  color: #120E04;
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(229, 184, 66, 0.7);
}

.four-cs-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: #FAF6ED;
  margin-bottom: 8px;
}

.four-cs-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   7. TIENDA & CATÁLOGO (tienda.html)
   ========================================================================== */
.shop-hero-banner {
  background: radial-gradient(circle at 50% 30%, #221D22 0%, #110F12 100%);
  color: #FFF;
  padding: 56px 20px 48px;
  text-align: center;
  border-bottom: 1px solid var(--border-gold);
  position: relative;
}

.shop-catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  max-width: 1340px;
  margin: 36px auto 70px;
  padding: 0 20px;
}

.shop-sidebar {
  background: linear-gradient(175deg, #15111B 0%, #0C0A10 100%);
  border: 1px solid rgba(229, 184, 66, 0.35);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  height: fit-content;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), inset 0 0 20px rgba(229, 184, 66, 0.05);
  position: sticky;
  top: 90px;
  transition: var(--transition-smooth);
}

.sidebar-widget {
  margin-bottom: 26px;
}

.sidebar-widget:last-child {
  margin-bottom: 0;
}

.widget-title {
  font-family: var(--font-serif);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #FFF1B8 0%, #E5B842 60%, #FAF6ED 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #E5B842;
  border-bottom: 1px solid rgba(229, 184, 66, 0.25);
  padding-bottom: 10px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.widget-title i {
  color: var(--primary-gold);
  filter: drop-shadow(0 0 5px rgba(229, 184, 66, 0.5));
}

.category-list-filter {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-category-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: #DDD8D0;
  font-size: 0.86rem;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(229, 184, 66, 0.12);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
}

.filter-category-link:hover, 
.filter-category-link.active {
  background: linear-gradient(135deg, rgba(138, 21, 37, 0.45) 0%, rgba(229, 184, 66, 0.22) 100%);
  color: #FFF2C0;
  border-color: rgba(229, 184, 66, 0.75);
  font-weight: 600;
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(229, 184, 66, 0.18);
}

/* Grid de Productos */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-gold-strong);
}

.product-badge-wrap {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-badge {
  font-family: var(--font-serif);
  font-size: 0.64rem;
  letter-spacing: 0.6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.product-badge.badge-ruby { background: var(--ruby-gradient); color: #FFF; }
.product-badge.badge-gold { background: var(--gold-gradient); color: #121214; }
.product-badge.badge-dark { background: #1C1B1E; color: #FFF; }
.product-badge.badge-discount { background: #E53935; color: #FFF; font-weight: 800; }

.product-wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-subtle);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
}

.product-wishlist-btn:hover, .product-wishlist-btn.active {
  color: var(--primary-ruby);
  background: #FFF;
  border-color: var(--primary-ruby);
  transform: scale(1.1);
  box-shadow: var(--shadow-glow-ruby);
}

.product-img-wrapper {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: #F7F5F0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-silky);
}

.product-card:hover .product-img {
  transform: scale(1.08);
}

.product-quick-view-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(18, 18, 20, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 10px;
  display: flex;
  justify-content: center;
  transform: translateY(100%);
  transition: transform 0.35s var(--ease-silky);
}

.product-card:hover .product-quick-view-overlay {
  transform: translateY(0);
}

.quick-view-btn {
  background: transparent;
  border: 1px solid var(--primary-gold);
  color: var(--primary-gold-light);
  font-family: var(--font-serif);
  font-size: 0.72rem;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition-fast);
}

.quick-view-btn:hover {
  background: var(--primary-gold);
  color: #121013;
}

.product-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category-tag {
  font-size: 0.68rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary-gold-dark);
  margin-bottom: 4px;
  font-weight: 600;
}

.product-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
  line-height: 1.35;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: var(--primary-gold);
  margin-bottom: 10px;
}

.product-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.product-price {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-ruby);
}

.product-old-price {
  font-size: 0.78rem;
  text-decoration: line-through;
  color: var(--text-muted);
  margin-left: 6px;
}

.add-to-cart-btn {
  background: var(--primary-ruby);
  color: #FFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(107, 22, 36, 0.35);
  transition: var(--transition-smooth);
}

.add-to-cart-btn:hover {
  background: var(--primary-gold);
  color: #1C1A18;
  border-color: var(--primary-gold);
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--shadow-glow-gold);
}

/* Personalizador de Grabado Láser (Ocultado a petición) */
#estudio-grabado,
.customizer-section,
a[href*="estudio-grabado"],
a[href*="grabado"] {
  display: none !important;
}

.customizer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.customizer-preview-container {
  background: radial-gradient(circle at center, #2B282F 0%, #161518 100%);
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
  position: relative;
  border: 1px solid var(--border-gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.5);
}

.jewelry-render-canvas-wrap {
  position: relative;
  width: 240px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jewelry-mockup-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

.live-engraving-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(60, 40, 10, 0.88);
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  letter-spacing: 1px;
  pointer-events: none;
  max-width: 150px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.customizer-controls {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.custom-text-input {
  width: 100%;
  padding: 12px 16px;
  background: #18171B;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  color: #FFF;
  font-size: 0.92rem;
  outline: none;
  transition: var(--transition-fast);
}

.custom-text-input:focus {
  border-color: var(--primary-gold-light);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
}

.font-selector-pills, .metal-selector-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill-option {
  padding: 9px 16px;
  background: #18171B;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  color: #FFF;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.pill-option:hover {
  border-color: var(--primary-gold);
  transform: translateY(-2px);
}

.pill-option.active {
  background: var(--gold-gradient);
  color: #121214;
  border-color: var(--primary-gold);
  font-weight: 700;
  box-shadow: var(--shadow-glow-gold);
}

/* ==========================================================================
   8. PANEL DE ADMINISTRACIÓN (ADMIN SUITE RESPONSIVO & ANIMADO)
   ========================================================================== */
.admin-main-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(13, 12, 15, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-gold-strong);
  z-index: 999;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}

.admin-header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-header-brand-block {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.admin-suite-emblem {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.15);
  border: 1px solid var(--border-gold-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-gold-light);
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(197, 160, 89, 0.25);
  animation: emblemSoftBreath 3s ease-in-out infinite alternate;
}

@keyframes emblemSoftBreath {
  0% { transform: scale(0.96); box-shadow: 0 0 10px rgba(197, 160, 89, 0.2); }
  100% { transform: scale(1.04); box-shadow: 0 0 20px rgba(197, 160, 89, 0.4); }
}

.admin-brand-texts {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.admin-brand-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-brand-main-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 2px;
}

.admin-badge-suite {
  background: var(--ruby-gradient);
  color: #FFFFFF;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 1px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.admin-session-status {
  font-size: 0.68rem;
  color: #81C784;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.admin-status-dot {
  width: 6px;
  height: 6px;
  background: #4CAF50;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
  animation: adminStatusPulse 2s infinite;
}

@keyframes adminStatusPulse {
  0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(76, 175, 80, 0); }
  100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

.admin-header-actions-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.admin-header-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-view-store {
  background: var(--ruby-gradient);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 14px rgba(107, 22, 36, 0.4);
}

.btn-view-store:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107, 22, 36, 0.6), var(--shadow-glow-ruby);
  color: #FFF;
}

.btn-logout-lock {
  background: rgba(255, 255, 255, 0.08);
  color: #FFCDD2;
  border: 1px solid rgba(255, 205, 210, 0.35);
}

.btn-logout-lock:hover {
  background: rgba(183, 28, 28, 0.25);
  border-color: #EF5350;
  color: #FFF;
  transform: translateY(-2px);
}

.admin-container {
  max-width: 1340px;
  margin: 0 auto;
  padding: 28px 20px 70px;
}

.admin-header-box {
  background: radial-gradient(circle at 60% 40%, #201A24 0%, #0D0C0F 100%);
  border: 1px solid var(--border-gold-strong);
  border-radius: var(--radius-md);
  padding: 30px;
  color: #FFF;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45), inset 0 0 20px rgba(197, 160, 89, 0.08);
  position: relative;
  overflow: hidden;
}

.admin-header-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold-gradient);
}

.admin-header-box-info {
  flex-grow: 1;
}

.admin-banner-tag {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-gold-light);
  display: inline-block;
  margin-bottom: 6px;
  font-weight: 600;
}

.admin-banner-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 600;
  letter-spacing: 1px;
  color: #FFFFFF;
  margin: 4px 0 10px;
  line-height: 1.2;
}

.admin-banner-heading em {
  font-family: var(--font-heading);
  font-style: italic;
  color: #F8E8BE;
  font-weight: 400;
}

.admin-banner-subtext {
  font-size: clamp(0.82rem, 1.8vw, 0.9rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 680px;
  line-height: 1.55;
  font-weight: 300;
}

.btn-add-jewelry-hero {
  white-space: nowrap;
  padding: 13px 26px;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: #FFF;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity 0.3s var(--ease-silky);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-gold-strong);
}

.stat-card:hover::after {
  opacity: 1;
}

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: rgba(197, 160, 89, 0.14);
  color: var(--primary-ruby);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.stat-card:hover .stat-icon {
  background: var(--ruby-gradient);
  color: #FFF;
  transform: scale(1.08);
}

.stat-info h4 {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-weight: 600;
}

.stat-value {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--primary-ruby);
}

.admin-nav-tabs-wrapper {
  margin-bottom: 26px;
  border-bottom: 1px solid var(--border-gold);
}

.admin-nav-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.admin-nav-tabs::-webkit-scrollbar {
  display: none;
}

.admin-tab-btn {
  padding: 11px 20px;
  background: #FFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.admin-tab-btn:hover {
  color: var(--primary-ruby);
  border-color: var(--border-gold);
  background: #F5F0E8;
  transform: translateY(-1px);
}

.admin-tab-btn.active {
  background: var(--ruby-gradient);
  color: #FFF;
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 14px rgba(107, 22, 36, 0.35);
}

.admin-tab-btn.active i {
  color: var(--primary-gold-light);
}

.tab-pill-badge {
  background: rgba(197, 160, 89, 0.2);
  color: var(--primary-gold-dark);
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
}

.admin-tab-btn.active .tab-pill-badge {
  background: rgba(255, 255, 255, 0.22);
  color: #FFF;
}

.admin-tab-content {
  animation: adminTabFadeIn 0.4s var(--ease-silky) forwards;
}

@keyframes adminTabFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.admin-panel-card {
  background: #FFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold);
  padding: 28px;
  box-shadow: var(--shadow-card);
  margin-bottom: 32px;
  color: #1C1A18;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
  min-width: 650px;
}

.admin-table th {
  background: #FAF7F2;
  padding: 13px 16px;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary-ruby);
  border-bottom: 2px solid var(--border-gold);
}

.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #E8E2D8;
  vertical-align: middle;
  color: #1C1A18;
}

.admin-table td strong {
  color: #1C1A18;
  font-weight: 700;
}

/* ── Admin form labels & inputs always readable on white ── */
.admin-panel-card label,
.form-group label {
  color: #1C1A18;
  font-weight: 600;
}

.admin-input {
  color: #1C1A18;
}

.admin-mobile-card p,
.admin-mobile-card span,
.admin-mobile-card .label {
  color: #1C1A18;
}

.table-product-img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-gold);
}

.badge-status {
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 600;
  display: inline-block;
}

.badge-status.active { background: #E8F5E9; color: #2E7D32; border: 1px solid #C8E6C9; }
.badge-status.inactive { background: #FFEBEE; color: #C62828; border: 1px solid #FFCDD2; }

.action-btn-sm {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-subtle);
  background: #FFF;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.action-btn-sm:hover {
  border-color: var(--primary-gold);
  background: var(--bg-ivory);
  color: var(--primary-ruby);
  transform: scale(1.08);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.admin-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  background: #FFF;
  transition: var(--transition-fast);
}

.admin-input:focus {
  border-color: var(--primary-ruby);
  box-shadow: 0 0 0 3px rgba(139, 30, 40, 0.12);
}

.preset-img-btn {
  background: var(--bg-ivory);
  border: 1px solid var(--border-gold);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-family: var(--font-serif);
  color: var(--primary-ruby);
  cursor: pointer;
  transition: var(--transition-fast);
  font-weight: 600;
}

.preset-img-btn:hover {
  background: var(--primary-ruby);
  color: #FFF;
  border-color: var(--primary-ruby);
}

/* Botón de Gestión de Categorías en Toolbar */
.btn-manage-categories-pill {
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(197, 160, 89, 0.25);
  transition: var(--transition-smooth);
}

.btn-manage-categories-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.45);
}

/* ==========================================
   GESTOR DE FOTOGRAFÍA & GALERÍA (ADMIN)
   ========================================== */
.admin-photo-manager-box {
  background: #FFF;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 18px;
  margin: 14px 0;
  box-shadow: var(--shadow-subtle);
}

.img-upload-tabs-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 10px;
  overflow-x: auto;
}

.img-tab-btn {
  background: var(--bg-ivory);
  border: 1px solid var(--border-subtle);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.img-tab-btn:hover {
  border-color: var(--primary-gold);
  color: var(--primary-ruby);
  background: #FFF;
}

.img-tab-btn.active {
  background: var(--ruby-gradient);
  color: #FFF;
  border-color: var(--primary-ruby);
  box-shadow: 0 3px 10px rgba(139, 30, 40, 0.28);
}

.img-tab-btn.active i {
  color: var(--primary-gold-light);
}

.img-panel-content {
  margin-bottom: 14px;
  animation: adminTabFadeIn 0.3s var(--ease-silky) forwards;
}

.gallery-upload-dropzone {
  border: 2px dashed var(--primary-gold);
  background: rgba(244, 239, 230, 0.4);
  border-radius: var(--radius-md);
  padding: 22px 16px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.gallery-upload-dropzone:hover {
  background: rgba(244, 239, 230, 0.85);
  border-color: var(--primary-ruby);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.dropzone-circle-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.18);
  border: 1px solid var(--border-gold);
  color: var(--primary-ruby);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: var(--transition-smooth);
}

.gallery-upload-dropzone:hover .dropzone-circle-icon {
  background: var(--ruby-gradient);
  color: #FFF;
  transform: scale(1.1);
}

.dropzone-texts strong {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--text-dark);
  display: block;
  margin-bottom: 3px;
}

.dropzone-texts p {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin: 0;
}

.btn-gallery-trigger {
  padding: 8px 18px;
  font-size: 0.74rem;
  margin-top: 4px;
}

.product-image-live-preview-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-ivory);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-top: 10px;
}

.preview-thumb-box {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-gold-strong);
  overflow: hidden;
  background: #FFF;
  flex-shrink: 0;
  box-shadow: var(--shadow-subtle);
}

.preview-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-meta-details {
  flex-grow: 1;
}

.preview-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: #E8F5E9;
  color: #2E7D32;
  border: 1px solid #C8E6C9;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.preview-filename-label {
  display: block;
  font-size: 0.76rem;
  color: var(--text-dark);
  font-weight: 500;
  margin-top: 5px;
  word-break: break-all;
}

/* ==========================================
   PERSONALIZADOR DE DISEÑO, PORTADA & CMS (ADMIN)
   ========================================== */
.cms-customizer-card {
  background: #FFF;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
}

.cms-customizer-card:hover {
  box-shadow: var(--shadow-card);
}

.cms-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 14px;
}

.cms-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--ruby-gradient);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(139, 30, 40, 0.25);
}

.cms-card-header h4 {
  font-family: var(--font-serif);
  color: var(--primary-ruby);
  font-size: 1.15rem;
  margin-bottom: 3px;
}

.cms-card-header p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

/* Grilla de Presets Tipográficos */
.cms-font-presets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.cms-font-card {
  background: var(--bg-ivory);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px;
  cursor: pointer;
  position: relative;
  transition: var(--transition-smooth);
  text-align: left;
}

.cms-font-card:hover {
  border-color: var(--primary-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-subtle);
}

.cms-font-card.active {
  border-color: var(--primary-ruby);
  background: #FFF8F6;
  box-shadow: 0 0 0 3px rgba(139, 30, 40, 0.12), var(--shadow-subtle);
}

.cms-font-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.cms-font-card-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-dark);
}

.cms-font-active-badge {
  display: none;
  font-size: 0.68rem;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--primary-ruby);
  color: #FFF;
  font-weight: 600;
}

.cms-font-card.active .cms-font-active-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.cms-font-card-sample {
  font-size: 1.25rem;
  color: var(--primary-ruby);
  margin-bottom: 6px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cms-font-card-desc {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Caja de Preview de Tipografía en Vivo */
.font-live-preview-box {
  background: var(--bg-ivory-warm);
  border: 1px dashed var(--primary-gold);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-top: 14px;
  transition: var(--transition-smooth);
}

/* Hero Background Live Preview */
.cms-hero-bg-preview-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  background: #FFF;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

.cms-hero-bg-preview-img {
  width: 100%;
  height: 110px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #1a1a1a;
  border-right: 1px solid var(--border-subtle);
}

@media (max-width: 640px) {
  .cms-hero-bg-preview-card {
    grid-template-columns: 1fr;
  }
  .cms-hero-bg-preview-img {
    height: 140px;
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }
}

/* ==========================================
   GESTOR DE CATEGORÍAS (LISTADO & ITEMS)
   ========================================== */
.category-admin-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #FFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  transition: var(--transition-fast);
}

.category-admin-row:hover {
  border-color: var(--border-gold);
  background: var(--bg-ivory);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.category-row-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-icon-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.15);
  color: var(--primary-ruby);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.category-row-texts strong {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--text-dark);
  display: block;
}

.category-row-texts span {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.category-row-actions {
  display: flex;
  gap: 6px;
}

.admin-mobile-cards-list {
  display: none;
  flex-direction: column;
  gap: 16px;
  margin-top: 14px;
}

.admin-mobile-card {
  background: #FFF;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-subtle);
  color: #1C1A18;
}

.admin-mobile-card-img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-gold);
  flex-shrink: 0;
}

/* Pantalla de Bloqueo / Auth Gate de Admin */
#admin-auth-gate {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, #1E1A22 0%, #0D0C0E 100%);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.auth-card {
  background: rgba(26, 22, 30, 0.95);
  border: 1px solid var(--border-gold-strong);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  width: 100%;
  max-width: 440px;
  text-align: center;
  color: #FFF;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), var(--shadow-glow-gold);
  backdrop-filter: blur(12px);
  animation: silkyFadeUp 0.6s var(--ease-silky) forwards;
}

.auth-icon-wrap {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  border: 2px solid var(--primary-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary-gold);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.35);
}

.auth-input-field {
  position: relative;
  margin-bottom: 14px;
}

.auth-input-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-gold);
  font-size: 0.95rem;
  pointer-events: none;
}

.auth-text-input,
.auth-password-input {
  width: 100%;
  padding: 13px 44px 13px 44px;
  background: rgba(10, 8, 12, 0.82);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-pill);
  color: #FFF;
  font-family: var(--font-body);
  font-size: 0.92rem;
  letter-spacing: 1px;
  text-align: left;
  outline: none;
  transition: var(--transition-fast);
}

.auth-text-input:focus,
.auth-password-input:focus {
  border-color: var(--primary-gold-light);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.28);
  background: rgba(15, 12, 18, 0.95);
}

.auth-password-field .auth-text-input,
.auth-password-field .auth-password-input {
  padding-right: 46px;
}

.auth-eye-toggle {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--primary-gold);
  cursor: pointer;
  font-size: 1.1rem;
}

.shake-animation {
  animation: shakeKeyframes 0.45s ease-in-out;
}

@keyframes shakeKeyframes {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-10px); }
  40%, 80% { transform: translateX(10px); }
}

/* Buscador y Filtros en Admin */
.admin-toolbar {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.admin-search-input-wrap {
  position: relative;
  flex-grow: 1;
  min-width: 260px;
}

.admin-search-input-wrap i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-gold);
}

.admin-search-input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  outline: none;
  background: #FFF;
  color: #1C1A18;
  transition: var(--transition-fast);
}

.admin-search-input:focus {
  border-color: var(--primary-ruby);
  box-shadow: 0 0 0 3px rgba(139, 30, 40, 0.12);
}

.admin-filter-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.admin-filter-pill {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-family: var(--font-serif);
  font-weight: 600;
  border: 1px solid var(--border-gold);
  background: #FFF;
  color: #1C1A18;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.admin-filter-pill.active, .admin-filter-pill:hover {
  background: var(--primary-ruby);
  color: #FFF;
  border-color: var(--primary-ruby);
}

/* Switch para Cupones */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #CCC;
  transition: 0.3s;
  border-radius: 24px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: #2E7D32;
}

input:checked + .toggle-slider:before {
  transform: translateX(20px);
}

/* ==========================================================================
   9. CARRITO & MODALES (DARK OBSIDIAN & LIQUID GOLD)
   ========================================================================== */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background: linear-gradient(175deg, #15111B 0%, #0C0A10 100%);
  box-shadow: -18px 0 50px rgba(0, 0, 0, 0.85), inset 1px 0 0 rgba(229, 184, 66, 0.25);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease-silky), visibility 0.45s;
  border-left: 1px solid rgba(229, 184, 66, 0.35);
  visibility: hidden;
}

.cart-drawer.active {
  transform: translateX(0);
  visibility: visible;
}

.cart-drawer-header {
  padding: 22px 24px;
  border-bottom: 1px solid rgba(229, 184, 66, 0.25);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(22, 18, 28, 0.95);
}

.cart-drawer-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  background: linear-gradient(135deg, #FFF1B8 0%, #E5B842 60%, #FAF6ED 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #E5B842;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
}

.cart-drawer-title i {
  color: var(--primary-gold);
  filter: drop-shadow(0 0 6px rgba(229, 184, 66, 0.5));
}

.cart-drawer-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(229, 184, 66, 0.3);
  font-size: 1.1rem;
  color: #FAF6ED;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cart-drawer-close:hover {
  background: rgba(138, 21, 37, 0.4);
  border-color: var(--primary-gold);
  color: #FFF1B8;
  transform: rotate(90deg);
  box-shadow: 0 0 15px rgba(229, 184, 66, 0.35);
}

.free-shipping-bar {
  padding: 12px 20px;
  background: rgba(26, 21, 33, 0.9);
  border-bottom: 1px solid rgba(229, 184, 66, 0.18);
  font-size: 0.78rem;
  text-align: center;
  color: #EAE6DF;
}

.shipping-progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  margin-top: 8px;
  overflow: hidden;
  border: 1px solid rgba(229, 184, 66, 0.15);
}

.shipping-progress-fill {
  height: 100%;
  background: var(--gold-gradient-satin);
  width: 65%;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 10px rgba(229, 184, 66, 0.7);
}

.cart-items-list {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-item-card {
  display: flex;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(229, 184, 66, 0.15);
  align-items: center;
}

.cart-item-img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(229, 184, 66, 0.3);
}

.cart-item-details {
  flex-grow: 1;
}

.cart-item-name {
  font-family: var(--font-serif);
  font-size: 0.88rem;
  font-weight: 600;
  color: #FAF6ED;
}

.cart-item-price {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: #FFDF73;
  font-weight: 700;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.qty-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(229, 184, 66, 0.3);
  color: #FAF6ED;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: var(--transition-fast);
}

.qty-btn:hover {
  background: var(--primary-gold);
  color: #121013;
  border-color: #FFF;
}

.cart-item-remove {
  background: none;
  border: none;
  color: #A09890;
  cursor: pointer;
  padding: 6px;
  transition: var(--transition-fast);
}

.cart-item-remove:hover {
  color: #FF5E73;
}

.cart-drawer-footer {
  padding: 20px 24px;
  background: rgba(19, 16, 24, 0.98);
  border-top: 1px solid rgba(229, 184, 66, 0.25);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.88rem;
  color: #E2DFD7;
}

.cart-summary-total {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFF1B8;
  border-top: 1px dashed rgba(229, 184, 66, 0.3);
  padding-top: 10px;
  margin-top: 8px;
  text-shadow: 0 0 10px rgba(229, 184, 66, 0.3);
}

.coupon-input-wrap {
  display: flex;
  gap: 8px;
  margin: 12px 0;
}

.coupon-input {
  flex-grow: 1;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(229, 184, 66, 0.3);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  text-transform: uppercase;
  color: #FAF6ED;
  outline: none;
}

.coupon-input:focus {
  border-color: var(--primary-gold);
  box-shadow: 0 0 10px rgba(229, 184, 66, 0.3);
}

.coupon-btn {
  background: linear-gradient(135deg, #781420 0%, #A31D2C 100%);
  color: #FFF;
  border: 1px solid rgba(229, 184, 66, 0.4);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.coupon-btn:hover {
  background: var(--gold-gradient-satin);
  color: #121013;
  border-color: #FFF;
}

/* Modales */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 5, 10, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-silky), visibility 0.4s var(--ease-silky);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-card {
  background: linear-gradient(170deg, #17131F 0%, #0E0B13 100%);
  color: #FAF6ED;
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(229, 184, 66, 0.4);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(229, 184, 66, 0.18);
  position: relative;
  padding: 32px 28px;
  transform: scale(0.94) translateY(20px);
  transition: transform 0.45s var(--ease-silky);
}

.modal-overlay.active .modal-card {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(229, 184, 66, 0.3);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 1.1rem;
  color: #FAF6ED;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.modal-close-btn:hover {
  background: rgba(138, 21, 37, 0.45);
  color: #FFF1B8;
  border-color: var(--primary-gold);
  transform: rotate(90deg);
  box-shadow: 0 0 15px rgba(229, 184, 66, 0.4);
}

/* Tarjeta 3D Checkout */
.credit-card-preview {
  width: 100%;
  max-width: 340px;
  height: 190px;
  background: linear-gradient(135deg, #1C1A1D 0%, #351015 50%, #121013 100%);
  border: 1px solid var(--primary-gold);
  border-radius: var(--radius-md);
  padding: 20px;
  color: #FFF;
  margin: 0 auto 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card), var(--shadow-glow-gold);
}

.card-chip {
  width: 40px;
  height: 28px;
  background: linear-gradient(135deg, #D4AF37 0%, #FFF2B2 50%, #99741F 100%);
  border-radius: var(--radius-xs);
}

.card-num-display {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.15rem;
  letter-spacing: 2.5px;
}

.card-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 0.78rem;
}

/* Concierge Flotante */
.floating-concierge {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
}

.concierge-toggle-btn {
  background: var(--ruby-gradient);
  color: #FFF;
  border: 2px solid var(--primary-gold);
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(139, 30, 40, 0.45);
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 0.84rem;
  transition: var(--transition-smooth);
}

.concierge-toggle-btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 28px rgba(139, 30, 40, 0.6), var(--shadow-glow-gold);
}

.concierge-chat-box {
  position: absolute;
  bottom: 65px;
  right: 0;
  width: 320px;
  background: #FFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold-strong);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: silkyFadeUp 0.35s var(--ease-silky) forwards;
}

.concierge-chat-box.active {
  display: flex;
}

.concierge-chat-header {
  background: var(--ruby-gradient);
  color: #FFF;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.concierge-chat-body {
  padding: 16px;
  max-height: 240px;
  overflow-y: auto;
  font-size: 0.84rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-bubble-agent {
  background: #F4EFE6;
  padding: 10px 14px;
  border-radius: var(--radius-sm) var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-dark);
  border: 1px solid var(--border-subtle);
}

.chat-bubble-user {
  background: var(--ruby-gradient);
  color: #FFF;
  padding: 10px 14px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 var(--radius-sm);
  align-self: flex-end;
}

.concierge-chat-footer {
  padding: 12px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  gap: 8px;
}

/* Toast */
#toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #1C1B1E;
  color: #FFF;
  border-left: 4px solid var(--primary-gold);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.84rem;
  animation: silkyFadeUp 0.4s var(--ease-silky) forwards;
}

/* ==========================================================================
   10. FOOTER ELEGANTE
   ========================================================================== */
.main-footer {
  background: #08070A;
  color: #FAF7F2;
  padding: 70px 20px 28px;
  border-top: 1px solid rgba(229, 184, 66, 0.4);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8), 0 -1px 12px rgba(229, 184, 66, 0.15);
  position: relative;
  z-index: 5;
}

.footer-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 36px;
  margin-bottom: 45px;
}

.footer-brand h3 {
  color: var(--primary-gold);
  font-size: 1.45rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.footer-brand p {
  color: #A6A099;
  font-size: 0.88rem;
  line-height: 1.65;
  max-width: 320px;
  margin-bottom: 18px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  color: var(--primary-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.social-link:hover {
  background: var(--primary-gold);
  color: #1C1A18;
  transform: translateY(-3px) scale(1.1);
  box-shadow: var(--shadow-glow-gold);
}

.footer-column h4 {
  font-size: 0.95rem;
  color: #FFF;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--primary-ruby);
  border-radius: var(--radius-pill);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #A6A099;
  text-decoration: none;
  font-size: 0.84rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary-gold-light);
  transform: translateX(4px);
  display: inline-block;
}

.footer-bottom {
  max-width: 1320px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: #7A746E;
  flex-wrap: wrap;
  gap: 14px;
}

.payment-badges {
  display: flex;
  gap: 14px;
  font-size: 1.3rem;
  color: #C0B9AF;
}

/* ==========================================================================
   11. RESPONSIVE Y MEDIA QUERIES (320px a 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-menu {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .shop-catalog-layout {
    grid-template-columns: 1fr;
  }
  .shop-sidebar {
    position: static;
    margin-bottom: 24px;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .four-cs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .admin-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar {
    padding: 6px 14px;
    justify-content: space-between;
  }
  .top-bar-marquee {
    font-size: 0.68rem;
  }
  .top-bar-marquee span:not(:first-child) {
    display: none;
  }
  .top-bar .admin-portal-link {
    display: none;
  }
  .header-inner {
    padding: 10px 14px;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .header-actions .btn-luxury {
    padding: 6px 14px !important;
    font-size: 0.72rem !important;
    letter-spacing: 1px !important;
    box-shadow: none !important;
  }
  .hero-editorial {
    min-height: 80vh;
    padding: 50px 16px 60px;
  }
  .hero-badge-pill,
  .hero-subtitle-badge {
    font-size: 0.68rem;
    padding: 6px 14px;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
    gap: 8px;
  }
  .hero-badge-text {
    font-size: 0.68rem;
    letter-spacing: 1.4px;
  }
  .hero-title-brand {
    font-size: clamp(2.0rem, 9.5vw, 3.1rem);
    letter-spacing: 0.08em;
    line-height: 1.1;
  }
  .hero-title-slogan {
    font-size: clamp(1.5rem, 6.8vw, 2.3rem);
    min-height: 1.4em;
    line-height: 1.25;
    padding: 0 4px;
  }
  .hero-editorial-desc {
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 26px;
    padding: 0 4px;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    gap: 12px;
  }
  .btn-hero-gold,
  .btn-hero-instagram,
  .hero-cta-group .btn-luxury {
    width: 100%;
    min-width: 0;
    padding: 13px 20px;
    font-size: 0.76rem;
  }
  .floating-concierge {
    bottom: 16px;
    right: 16px;
    z-index: 998;
  }
  .concierge-toggle-btn {
    padding: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(139, 30, 40, 0.45);
  }
  .concierge-toggle-btn span {
    display: none;
  }
  .concierge-toggle-btn i {
    font-size: 1.15rem;
    margin: 0;
  }
  .concierge-chat-box {
    width: calc(100vw - 32px);
    right: 0;
    bottom: 56px;
  }
  .admin-container {
    padding: 16px 12px 50px;
  }
  .table-responsive {
    display: none;
  }
  .admin-mobile-cards-list {
    display: flex;
  }
  .customizer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .customizer-section {
    padding: 24px 16px;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .four-cs-grid {
    grid-template-columns: 1fr;
  }
  .admin-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .modal-card {
    padding: 20px 16px;
    width: 95vw;
  }
  .cart-drawer {
    max-width: 100vw;
  }
}

@media (max-width: 540px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  .product-img-wrapper {
    height: 230px;
  }
  .section-padding {
    padding: 50px 14px;
  }
  .admin-header-box {
    padding: 20px 16px;
    flex-direction: column;
    text-align: center;
  }
  .admin-header-box button {
    width: 100%;
  }
  .admin-stats-grid {
    grid-template-columns: 1fr;
  }
}
