/* Navegación compartida AKNAIA - Logo, iconos, carrito, idioma */
:root {
  --brand-primary: #8b6f47;
  --brand-secondary: #a68b5b;
  --text-dark: #2c2c2c;
}
.aknaia-nav {
  background: #ffffff !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.aknaia-nav.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.aknaia-nav .logo-container img {
  width: 175px;
  height: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
  transition: filter 0.3s ease;
}
.aknaia-nav .logo-container:hover img {
  filter: drop-shadow(0 4px 8px rgba(139, 111, 71, 0.2));
}
.aknaia-nav .nav-link {
  position: relative;
  font-size: 0.9375rem;
}
.aknaia-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
}
.aknaia-nav .nav-link:hover::after { width: 100%; }
.aknaia-nav .nav-link:hover { color: var(--brand-primary); transform: translateY(-1px); }
.aknaia-nav .nav-cart-icon {
  font-size: 1.35rem;
  padding: 0.5rem;
}
.aknaia-nav .nav-menu-icon {
  font-size: 1.35rem;
}
.aknaia-nav .lang-btn {
  color: var(--text-dark);
  font-weight: 500;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.875rem;
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
}
.aknaia-nav .lang-btn.active {
  color: var(--brand-primary);
  background-color: rgba(139, 111, 71, 0.1);
  font-weight: 600;
}
.aknaia-nav .lang-btn:hover {
  color: var(--brand-primary);
  background-color: rgba(139, 111, 71, 0.05);
}
.aknaia-nav .cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  font-size: 0.65rem;
  font-weight: 700;
  color: white;
  background: var(--brand-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.aknaia-nav #mobile-menu {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  background: #ffffff !important;
}
.aknaia-nav #mobile-menu.show {
  max-height: 500px;
  opacity: 1;
  padding: 1rem 0;
}
.aknaia-nav .mobile-menu-link {
  position: relative;
  display: block;
  margin: 0.25rem 1rem;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.aknaia-nav .mobile-menu-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, var(--brand-primary), var(--brand-secondary));
  transform: translateY(-50%);
  transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 0 2px 2px 0;
}
.aknaia-nav .mobile-menu-link:hover,
.aknaia-nav .mobile-menu-link:active {
  background: rgba(139, 111, 71, 0.08);
  transform: translateX(4px);
  color: var(--brand-primary);
}
.aknaia-nav .mobile-menu-link:hover::before { height: 70%; }
.aknaia-nav #menu-icon { transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.aknaia-nav #menu-btn.menu-open #menu-icon { transform: rotate(90deg); }

/* Móvil: logo más compacto, idioma más pequeño, ocultar botón Contacto */
@media (max-width: 1023px) {
  .aknaia-nav .logo-container img {
    width: 140px;
  }
  .aknaia-nav .language-selector .lang-btn {
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
    min-width: 1.5rem;
  }
  .aknaia-nav .language-selector span {
    font-size: 0.6rem;
  }
  .aknaia-nav .language-selector {
    gap: 0.25rem;
  }
  .aknaia-nav .btn-contacto-mobile {
    display: none !important;
  }
}

/* Badges de pruebas sociales - páginas de producto */
.product-badge {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.badge-mas-vendido {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
}
.badge-lanzamiento {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
}
.badge-stock-limitado {
  background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
}
.badge-oferta {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
}
.badge-favorito {
  background: linear-gradient(135deg, #db2777 0%, #be185d 100%);
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
}
