/* ==========================================================
   ALHENA FRAGRANCE — LUXURY TOKENS & STYLES (WCAG 2.1 AA)
   Paleta Base: Marfil Cálido (#F9F6F0), Oro Rosa (#D8A882),
                Bronce Cobrizo (#A66D4E), Café Oscuro (#502C1B)
   Paleta Navideña de Lujo: Rojo Rubí (#9B1B30), Oro Champagne (#D4AF37),
                            Verde Pino (#1D432C), Blanco Nieve (#F9FBFD)
========================================================== */

:root {
  --color-ivory: #F9F6F0;
  --color-rose-gold: #D8A882;
  --color-copper: #A66D4E;
  --color-copper-dark: #8A5337;
  --color-deep-coffee: #502C1B;

  /* Tokens Navideños Elegantes */
  --color-navidad-red: #9B1B30;
  --color-navidad-red-dark: #781223;
  --color-navidad-gold: #D4AF37;
  --color-navidad-gold-light: #FAF4E6;
  --color-navidad-green: #1D432C;
  --color-navidad-green-dark: #132F1E;
}

/* Accessible focus visible rings for keyboard navigation (WCAG 2.1 AA) */
:focus-visible {
  outline: 2px solid var(--color-deep-coffee) !important;
  outline-offset: 3px !important;
  border-radius: 8px;
}

/* Touch targets: Ensure interactive elements satisfy touch-target sizes */
button, a, input, select {
  touch-action: manipulation;
}

/* Hide scrollbar for category tabs */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Smooth keyframe animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleUp {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.animate-fade-in {
  animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-scale-up {
  animation: scaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Touch active styles */
button:active, a:active {
  transition: transform 0.1s ease;
}

/* Selection style */
::selection {
  background-color: var(--color-navidad-red);
  color: #FFFFFF;
}

/* ==========================================================
   TEMÁTICA NAVIDEÑA DE LUJO — ALHENA HOLIDAY STYLES
========================================================== */

/* Nieve etérea y sutil (sin bloquear clics ni navegación) */
#snow-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 38;
  opacity: 0.85;
}

/* Resplandores y brillos navideños de alta gama */
.glow-holiday-gold {
  box-shadow: 0 0 20px -3px rgba(212, 175, 55, 0.45);
}

.glow-holiday-red {
  box-shadow: 0 0 22px -4px rgba(155, 27, 48, 0.4);
}

/* Efecto de destello dorado sutil */
@keyframes holidayShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.holiday-shimmer {
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(212,175,55,0.25) 50%, rgba(255,255,255,0) 100%);
  background-size: 200% 100%;
  animation: holidayShimmer 4.5s infinite ease-in-out;
}

/* Badges y lazos navideños */
.badge-navidad-oro {
  background: linear-gradient(135deg, #FAF4E6 0%, #F5E6C8 100%);
  color: #781223;
  border: 1px solid rgba(212, 175, 55, 0.5);
}

.badge-navidad-rojo {
  background: linear-gradient(135deg, #9B1B30 0%, #781223 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* ==========================================================
   MARCO DE GUIRNALDA NAVIDEÑA DE LUJO (ALHENA GARLAND FRAME)
   ========================================================== */
@keyframes fairyTwinkle {
  0%, 100% {
    opacity: 0.95;
    filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.85));
  }
  50% {
    opacity: 0.45;
    filter: drop-shadow(0 0 1px rgba(212, 175, 55, 0.25));
  }
}

.garland-bulb-a {
  animation: fairyTwinkle 2.6s ease-in-out infinite;
}

.garland-bulb-b {
  animation: fairyTwinkle 3.2s ease-in-out 1.1s infinite;
}

.garland-strip-top {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='22' viewBox='0 0 96 22'%3E%3Cpath d='M0,6 Q24,13 48,6 T96,6' fill='none' stroke='%23132F1E' stroke-width='4.5'/%3E%3Cpath d='M4,4 L12,13 M14,3 L20,14 M24,4 L31,13 M34,3 L41,14 M44,4 L51,14 M54,3 L62,13 M64,4 L72,14 M74,3 L82,13 M84,4 L92,13' stroke='%231D432C' stroke-width='2.4' stroke-linecap='round'/%3E%3Cpath d='M9,3 L16,11 M29,3 L36,11 M49,3 L56,11 M69,3 L76,11 M89,3 L95,11' stroke='%232D6242' stroke-width='1.8' stroke-linecap='round'/%3E%3Ccircle cx='18' cy='9' r='2.6' fill='%239B1B30'/%3E%3Ccircle cx='22' cy='11' r='2.1' fill='%23781223'/%3E%3Ccircle cx='48' cy='12' r='3' fill='%23D4AF37'/%3E%3Ccircle cx='47' cy='11' r='1' fill='%23FAF4E6'/%3E%3Ccircle cx='78' cy='10' r='2.5' fill='%239B1B30'/%3E%3Ccircle cx='94' cy='9' r='2.3' fill='%23D4AF37'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: top center;
}

.garland-strip-bottom {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='22' viewBox='0 0 96 22'%3E%3Cpath d='M0,16 Q24,9 48,16 T96,16' fill='none' stroke='%23132F1E' stroke-width='4.5'/%3E%3Cpath d='M4,18 L12,9 M14,19 L20,8 M24,18 L31,9 M34,19 L41,8 M44,18 L51,8 M54,19 L62,9 M64,18 L72,8 M74,19 L82,9 M84,18 L92,9' stroke='%231D432C' stroke-width='2.4' stroke-linecap='round'/%3E%3Cpath d='M9,19 L16,11 M29,19 L36,11 M49,19 L56,11 M69,19 L76,11 M89,19 L95,11' stroke='%232D6242' stroke-width='1.8' stroke-linecap='round'/%3E%3Ccircle cx='18' cy='13' r='2.6' fill='%239B1B30'/%3E%3Ccircle cx='48' cy='10' r='3' fill='%23D4AF37'/%3E%3Ccircle cx='78' cy='12' r='2.5' fill='%239B1B30'/%3E%3Ccircle cx='94' cy='13' r='2.3' fill='%23D4AF37'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: bottom center;
}

.garland-strip-left {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='96' viewBox='0 0 20 96'%3E%3Cpath d='M5,0 Q11,24 5,48 T5,96' fill='none' stroke='%23132F1E' stroke-width='4'/%3E%3Cpath d='M3,4 L12,12 M2,14 L13,20 M3,24 L12,31 M2,34 L13,41 M3,44 L13,51 M2,54 L12,62 M3,64 L13,72 M2,74 L12,82 M3,84 L12,92' stroke='%231D432C' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M3,10 L10,16 M3,30 L10,36 M3,50 L10,56 M3,70 L10,76' stroke='%232D6242' stroke-width='1.6' stroke-linecap='round'/%3E%3Ccircle cx='9' cy='18' r='2.4' fill='%239B1B30'/%3E%3Ccircle cx='11' cy='48' r='2.7' fill='%23D4AF37'/%3E%3Ccircle cx='9' cy='78' r='2.4' fill='%239B1B30'/%3E%3C/svg%3E");
  background-repeat: repeat-y;
  background-position: left center;
}

.garland-strip-right {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='96' viewBox='0 0 20 96'%3E%3Cpath d='M15,0 Q9,24 15,48 T15,96' fill='none' stroke='%23132F1E' stroke-width='4'/%3E%3Cpath d='M17,4 L8,12 M18,14 L7,20 M17,24 L8,31 M18,34 L7,41 M17,44 L7,51 M18,54 L8,62 M17,64 L7,72 M18,74 L8,82 M17,84 L8,92' stroke='%231D432C' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M17,10 L10,16 M17,30 L10,36 M17,50 L10,56 M17,70 L10,76' stroke='%232D6242' stroke-width='1.6' stroke-linecap='round'/%3E%3Ccircle cx='11' cy='18' r='2.4' fill='%239B1B30'/%3E%3Ccircle cx='9' cy='48' r='2.7' fill='%23D4AF37'/%3E%3Ccircle cx='11' cy='78' r='2.4' fill='%239B1B30'/%3E%3C/svg%3E");
  background-repeat: repeat-y;
  background-position: right center;
}

@media (prefers-reduced-motion: reduce) {
  .garland-bulb-a,
  .garland-bulb-b,
  .holiday-shimmer {
    animation: none !important;
  }
}
