/* ===== MENU MODERNO SIN TRANSPARENCIAS - FORZADO ===== */
/* Variables de color OKLCH modernas */
:root {
  --lime-vibrant: oklch(84.1% 0.238 128.85);
  --purple-vibrant: oklch(54.6% 0.245 262.881);
  --purple-deep: oklch(51.1% 0.262 276.966);
  --orange-vibrant: oklch(58.6% 0.253 17.585);
}

/* FUERZA LOS ESTILOS DEL HEADER - SIN TRANSPARENCIAS */
body header,
html header,
header {
  position: fixed !important;
  width: 100% !important;
  top: 0 !important;
  left: 0 !important;
  z-index: 1000 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  
  /* Fondo blanco sólido - SIN TRANSPARENCIAS */
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  backdrop-filter: none !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

/* Anular cualquier clase que pueda cambiar la apariencia */
body header.fixed,
body header.scrolled,
body header.active,
html header.fixed,
html header.scrolled,
html header.active,
header.fixed,
header.scrolled,
header.active {
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  backdrop-filter: none !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

/* NAV NAVIGATION FORZADO */
body header nav,
html header nav,
header nav {
  padding: 16px 105px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
  background: transparent !important;
}

/* Estilos modernos para nav items - MÁXIMA ESPECIFICIDAD */
body header nav .nav .nav-item,
html header nav .nav .nav-item,
header nav .nav .nav-item,
body header nav .nav .nav-links-group .nav-links-container .nav-item,
html header nav .nav .nav-links-group .nav-links-container .nav-item,
header nav .nav .nav-links-group .nav-links-container .nav-item {
  position: relative !important;
}

body header nav .nav .nav-item .nav-link,
html header nav .nav .nav-item .nav-link,
header nav .nav .nav-item .nav-link,
body header nav .nav .nav-links-group .nav-links-container .nav-item .nav-link,
html header nav .nav .nav-links-group .nav-links-container .nav-item .nav-link,
header nav .nav .nav-links-group .nav-links-container .nav-item .nav-link {
  font-weight: 600 !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  color: #000000 !important;
  padding: 12px 20px !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  position: relative !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  white-space: nowrap !important;
}

body header nav .nav .nav-item .nav-link span,
html header nav .nav .nav-item .nav-link span,
header nav .nav .nav-item .nav-link span,
body header nav .nav .nav-links-group .nav-links-container .nav-item .nav-link span,
html header nav .nav .nav-links-group .nav-links-container .nav-item .nav-link span,
header nav .nav .nav-links-group .nav-links-container .nav-item .nav-link span {
  position: relative !important;
  z-index: 2 !important;
  transition: color 0.3s ease !important;
  color: #000000 !important;
}

/* Efecto hover moderno - SIN GRADIENTES */
body header nav .nav .nav-item .nav-link:hover,
html header nav .nav .nav-item .nav-link:hover,
header nav .nav .nav-item .nav-link:hover,
body header nav .nav .nav-links-group .nav-links-container .nav-item .nav-link:hover,
html header nav .nav .nav-links-group .nav-links-container .nav-item .nav-link:hover,
header nav .nav .nav-links-group .nav-links-container .nav-item .nav-link:hover {
  color: var(--purple-vibrant) !important;
  transform: translateY(-2px) !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

body header nav .nav .nav-item .nav-link:hover span,
html header nav .nav .nav-item .nav-link:hover span,
header nav .nav .nav-item .nav-link:hover span,
body header nav .nav .nav-links-group .nav-links-container .nav-item .nav-link:hover span,
html header nav .nav .nav-links-group .nav-links-container .nav-item .nav-link:hover span,
header nav .nav .nav-links-group .nav-links-container .nav-item .nav-link:hover span {
  color: var(--purple-vibrant) !important;
}

/* Estados activos - SOLO CAMBIO DE COLOR */
body header nav .nav .nav-item.active .nav-link,
html header nav .nav .nav-item.active .nav-link,
header nav .nav .nav-item.active .nav-link,
body header nav .nav .nav-links-group .nav-links-container .nav-item.active .nav-link,
html header nav .nav .nav-links-group .nav-links-container .nav-item.active .nav-link,
header nav .nav .nav-links-group .nav-links-container .nav-item.active .nav-link {
  color: var(--purple-vibrant) !important;
  font-weight: 700 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

body header nav .nav .nav-item.active .nav-link span,
html header nav .nav .nav-item.active .nav-link span,
header nav .nav .nav-item.active .nav-link span,
body header nav .nav .nav-links-group .nav-links-container .nav-item.active .nav-link span,
html header nav .nav .nav-links-group .nav-links-container .nav-item.active .nav-link span,
header nav .nav .nav-links-group .nav-links-container .nav-item.active .nav-link span {
  color: var(--purple-vibrant) !important;
}

/* LOGO MODERNO */
body header nav .brand img,
html header nav .brand img,
header nav .brand img {
  height: 60px !important;
  width: auto !important;
  transition: transform 0.3s ease !important;
}

body header nav .brand:hover img,
html header nav .brand:hover img,
header nav .brand:hover img {
  transform: scale(1.05) !important;
}

/* NAV TOGGLER */
body header nav .nav-toggler,
html header nav .nav-toggler,
header nav .nav-toggler {
  display: none !important;
  background: rgba(245, 245, 245, 0.8) !important;
  border: none !important;
  padding: 8px !important;
  border-radius: 12px !important;
  transition: all 0.3s ease !important;
}

body header nav .nav-toggler:hover,
html header nav .nav-toggler:hover,
header nav .nav-toggler:hover {
  background: rgba(230, 230, 230, 0.9) !important;
  transform: scale(1.05) !important;
}

body header nav .nav-toggler svg,
html header nav .nav-toggler svg,
header nav .nav-toggler svg {
  stroke: #000000 !important;
  transition: all 0.3s ease !important;
}

body header nav .nav-toggler:hover svg,
html header nav .nav-toggler:hover svg,
header nav .nav-toggler:hover svg {
  stroke: var(--purple-vibrant) !important;
  transform: scale(1.1) !important;
}

@media screen and (max-width: 992px) {
  body header nav .nav-toggler,
  html header nav .nav-toggler,
  header nav .nav-toggler {
    display: block !important;
  }
  
  body header nav,
  html header nav,
  header nav {
    padding: 12px 20px !important;
  }
}

/* OVERLAY */
body header nav .overlay,
html header nav .overlay,
header nav .overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(0, 0, 0, 0.6) !important;
  backdrop-filter: blur(8px) !important;
  visibility: hidden !important;
  opacity: 0 !important;
  z-index: 998 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

body header nav .overlay.active,
html header nav .overlay.active,
header nav .overlay.active {
  visibility: visible !important;
  opacity: 1 !important;
}

/* NAV PRINCIPAL ESTRUCTURA CORREGIDA */
body header nav .nav,
html header nav .nav,
header nav .nav {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 16px !important;
  visibility: visible !important;
  opacity: 1 !important;
  flex: 1 !important;
  margin-left: 40px !important;
}

/* Contenedor de los links principales de navegación */
body header nav .nav .nav-links-group,
html header nav .nav .nav-links-group,
header nav .nav .nav-links-group {
  display: flex !important;
  align-items: center !important;
  flex: 1 !important;
  justify-content: center !important;
}

body header nav .nav .nav-links-group .nav-links-container,
html header nav .nav .nav-links-group .nav-links-container,
header nav .nav .nav-links-group .nav-links-container {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body header nav .nav .close-menu,
html header nav .nav .close-menu,
header nav .nav .close-menu {
  display: none !important;
}

body header nav .nav .brand,
html header nav .nav .brand,
header nav .nav .brand {
  display: none !important;
}

/* INDICADOR ACTIVO - LÍNEA DEBAJO */
body header nav .nav .nav-item.active .nav-link::after,
html header nav .nav .nav-item.active .nav-link::after,
header nav .nav .nav-item.active .nav-link::after,
body header nav .nav .nav-links-group .nav-links-container .nav-item.active .nav-link::after,
html header nav .nav .nav-links-group .nav-links-container .nav-item.active .nav-link::after,
header nav .nav .nav-links-group .nav-links-container .nav-item.active .nav-link::after {
  content: '' !important;
  position: absolute !important;
  bottom: -4px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 20px !important;
  height: 3px !important;
  background: var(--purple-vibrant) !important;
  border-radius: 2px !important;
  z-index: 3 !important;
  display: block !important;
}

/* PROFILE CART CONTAINER - ALINEADO A LA DERECHA */
body header nav .nav .profile-cart,
html header nav .nav .profile-cart,
header nav .nav .profile-cart {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  position: relative !important;
  margin-left: auto !important;
}

/* Botón moderno de perfil - login */
header nav .nav .profile-cart .profile.modern-login {
  background: linear-gradient(135deg, 
    var(--purple-vibrant) 0%,
    var(--purple-deep) 100%);
  color: white;
  padding: 14px 24px;
  border-radius: 12px;
  border: none;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
}

header nav .nav .profile-cart .profile.modern-login::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.2), 
    transparent);
  transition: left 0.5s ease;
}

header nav .nav .profile-cart .profile.modern-login:hover::before {
  left: 100%;
}

header nav .nav .profile-cart .profile.modern-login:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.4);
}

header nav .nav .profile-cart .profile.modern-login svg {
  filter: none;
  stroke: white;
}

/* Botón logged usuario - MANTIENE EL MISMO ESTILO AZUL */
header nav .nav .profile-cart button.logged {
  background: linear-gradient(135deg, 
    var(--purple-vibrant) 0%,
    var(--purple-deep) 100%);
  color: white;
  padding: 14px 24px;
  border-radius: 12px;
  border: none;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

header nav .nav .profile-cart button.logged:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.4);
}

header nav .nav .profile-cart button.logged svg {
  transition: transform 0.3s ease;
}

/* Animación del SVG cuando el menú está activo */
header nav .nav .profile-cart .sessions.active ~ button.logged svg,
header nav .nav .profile-cart button.logged.active svg {
  transform: rotate(180deg);
}

/* Icono del carrito moderno */
header nav .nav .profile-cart .cart {
  background: rgba(245, 245, 245, 0.8);
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

header nav .nav .profile-cart .cart:hover {
  background: rgba(230, 230, 230, 0.9);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border-color: var(--purple-vibrant);
}

header nav .nav .profile-cart .cart svg {
  stroke: #000000;
  transition: all 0.3s ease;
}

header nav .nav .profile-cart .cart:hover svg {
  stroke: var(--purple-vibrant);
  transform: scale(1.1);
}

header nav .nav .close-menu svg {
  stroke: #000000;
  transition: all 0.3s ease;
  cursor: pointer;
}

header nav .nav .close-menu:hover svg {
  stroke: var(--purple-vibrant);
  transform: scale(1.1) rotate(90deg);
}

/* Dropdown moderno para sesiones - SOLO CON CLICK */
header nav .nav .profile-cart .sessions {
  position: absolute;
  top: 100%;
  right: 0;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 16px 0;
  margin-top: 12px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1001;
}

/* Estado activo del dropdown - controlado por JavaScript */
header nav .nav .profile-cart .sessions.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

header nav .nav .profile-cart .sessions::before {
  content: '';
  position: absolute;
  top: -8px;
  right: 24px;
  width: 16px;
  height: 16px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: none;
  border-right: none;
  transform: rotate(45deg);
  border-radius: 2px;
}

header nav .nav .profile-cart .sessions .nav-item {
  margin: 0;
}

header nav .nav .profile-cart .sessions .nav-item .nav-link {
  color: #000000;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

header nav .nav .profile-cart .sessions .nav-item .nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--purple-vibrant);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

header nav .nav .profile-cart .sessions .nav-item .nav-link:hover::before {
  transform: scaleY(1);
}

header nav .nav .profile-cart .sessions .nav-item .nav-link:hover {
  background: rgba(124, 58, 237, 0.05);
  color: var(--purple-vibrant);
  transform: translateX(8px);
}

/* Estilos responsive modernos */
@media screen and (max-width: 992px) {
  body header nav .nav,
  html header nav .nav,
  header nav .nav {
    position: fixed !important;
    width: 85% !important;
    max-width: 400px !important;
    height: 100vh !important;
    top: 0 !important;
    right: -100% !important;
    z-index: 999 !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    padding: 24px !important;
    gap: 0 !important;
    margin-left: 0 !important;
    
    background: #ffffff !important;
    border-left: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15) !important;
    
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow-y: auto !important;
  }
  
  body header nav .nav.active,
  html header nav .nav.active,
  header nav .nav.active {
    right: 0 !important;
  }
  
  /* Estructura responsiva del nav-links-group */
  body header nav .nav .nav-links-group,
  html header nav .nav .nav-links-group,
  header nav .nav .nav-links-group {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    flex: none !important;
    justify-content: flex-start !important;
    width: 100% !important;
    order: 2 !important;
  }
  
  body header nav .nav .nav-links-group .nav-links-container,
  html header nav .nav .nav-links-group .nav-links-container,
  header nav .nav .nav-links-group .nav-links-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }
  
  body header nav .nav .close-menu,
  html header nav .nav .close-menu,
  header nav .nav .close-menu {
    display: flex !important;
    justify-content: flex-end !important;
    margin-bottom: 24px !important;
    cursor: pointer !important;
    padding: 12px !important;
    border-radius: 12px !important;
    background: rgba(245, 245, 245, 0.8) !important;
    transition: all 0.3s ease !important;
    order: 1 !important;
  }
  
  body header nav .nav .close-menu:hover,
  html header nav .nav .close-menu:hover,
  header nav .nav .close-menu:hover {
    background: rgba(230, 230, 230, 0.9) !important;
    transform: scale(1.05) !important;
  }
  
  body header nav .nav .brand,
  html header nav .nav .brand,
  header nav .nav .brand {
    display: block !important;
    text-align: center !important;
    margin-bottom: 32px !important;
    padding-bottom: 24px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    order: 1.5 !important;
  }
  
  body header nav .nav .brand img,
  html header nav .nav .brand img,
  header nav .nav .brand img {
    height: 50px !important;
  }
  
  body header nav .nav .nav-links-group .nav-links-container .nav-item,
  html header nav .nav .nav-links-group .nav-links-container .nav-item,
  header nav .nav .nav-links-group .nav-links-container .nav-item {
    margin: 8px 0 !important;
  }
  
  body header nav .nav .nav-links-group .nav-links-container .nav-item .nav-link,
  html header nav .nav .nav-links-group .nav-links-container .nav-item .nav-link,
  header nav .nav .nav-links-group .nav-links-container .nav-item .nav-link {
    padding: 16px 20px !important;
    border-radius: 12px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #000000 !important;
    background: rgba(245, 245, 245, 0.5) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }
  
  body header nav .nav .nav-links-group .nav-links-container .nav-item .nav-link:hover,
  html header nav .nav .nav-links-group .nav-links-container .nav-item .nav-link:hover,
  header nav .nav .nav-links-group .nav-links-container .nav-item .nav-link:hover,
  body header nav .nav .nav-links-group .nav-links-container .nav-item.active .nav-link,
  html header nav .nav .nav-links-group .nav-links-container .nav-item.active .nav-link,
  header nav .nav .nav-links-group .nav-links-container .nav-item.active .nav-link {
    background: rgba(230, 230, 230, 0.8) !important;
    color: var(--purple-vibrant) !important;
    transform: translateX(8px) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    border-color: var(--purple-vibrant) !important;
  }
  
  body header nav .nav .profile-cart,
  html header nav .nav .profile-cart,
  header nav .nav .profile-cart {
    margin-top: auto !important;
    padding-top: 24px !important;
    border-top: 1px solid rgba(0, 0, 0, 0.1) !important;
    flex-direction: column !important;
    gap: 16px !important;
    align-items: stretch !important;
    margin-left: 0 !important;
    order: 3 !important;
  }
  
  /* Botones de perfil en móvil - ancho completo */
  body header nav .nav .profile-cart button,
  html header nav .nav .profile-cart button,
  header nav .nav .profile-cart button,
  body header nav .nav .profile-cart .profile.modern-login,
  html header nav .nav .profile-cart .profile.modern-login,
  header nav .nav .profile-cart .profile.modern-login {
    width: 100% !important;
    justify-content: center !important;
    padding: 16px 24px !important;
    margin-bottom: 12px !important;
    display: block !important;
    text-align: center !important;
  }
  
  /* Carrito en móvil - centrado y con margen */
  body header nav .nav .profile-cart .cart,
  html header nav .nav .profile-cart .cart,
  header nav .nav .profile-cart .cart {
    align-self: center !important;
    width: auto !important;
    margin-top: 8px !important;
    padding: 14px 16px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
  
  /* Espaciado adicional para mejor presentación en móvil */
  body header nav .nav .profile-cart .profile.modern-login svg,
  html header nav .nav .profile-cart .profile.modern-login svg,
  header nav .nav .profile-cart .profile.modern-login svg {
    margin-right: 8px !important;
  }
  
  /* Asegura que el dropdown de sesiones mantenga el control por JavaScript en móvil */
  body header nav .nav .profile-cart .sessions,
  html header nav .nav .profile-cart .sessions,
  header nav .nav .profile-cart .sessions {
    position: static !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-10px) !important;
    background: rgba(245, 245, 245, 0.95) !important;
    border-radius: 12px !important;
    margin-top: 16px !important;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    width: 100% !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }
  
  /* Estado activo en móvil */
  body header nav .nav .profile-cart .sessions.active,
  html header nav .nav .profile-cart .sessions.active,
  header nav .nav .profile-cart .sessions.active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
  }
  
  body header nav .nav .profile-cart .sessions::before,
  html header nav .nav .profile-cart .sessions::before,
  header nav .nav .profile-cart .sessions::before {
    display: none !important;
  }
}

/* Animaciones modernas */
@keyframes slideInDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInScale {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ===== FINAL DEL ARCHIVO MENU-MODERN.CSS - VERSION BLANCA FORZADA ===== */
/* Si ves este comentario en las herramientas de desarrollador, el archivo se está cargando correctamente */