:root {
  /* Colores - Modo claro */
  --primary-dark: #1a2332;           
  --primary-color: #2a3442;          
  --primary-light: #ffffff;          
  --accent-color: #d4af37;           
  --text-color: #1a2332;             
  --text-light: #666;                
  --background-color: #ffffff;       
  --background-alt: #e7e7e7;         
  --background-light: #f8f9fa;       
  --border-color: #e0e0e0;           
  --error-color: #A83232;            
  --success-color: #3E8A50;
  
  /* Fuentes */
  --heading-font: 'Cormorant Garamond', serif;
  --body-font: 'Montserrat', sans-serif;
  
  /* Transiciones */
  --transition-speed: 0.3s;
}

/* Modo oscuro */
html[data-theme="dark"] {
  --primary-color: #4a5564;          
  --primary-light: #f8f6f0;          
  --primary-dark: #1a2332;           
  --accent-color: #d4af37;           
  --text-color: #e8e6e1;             
  --text-light: #b8b5b0;             
  --background-color: #0f1419;       
  --background-alt: #1a2332;         
  --background-light: #2a3442;       
  --border-color: #2a3442;  
}

/* Reset y estilos generales */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--body-font);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
  font-size: 16px;
  transition: background-color var(--transition-speed), color var(--transition-speed);
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }

p {
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-speed);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

/* Contenedor principal */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Botones generales */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: var(--body-font);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid var(--primary-color);
  border-radius: 4px;
  background-color: transparent;
  color: var(--primary-color);
  cursor: pointer;
  transition: all var(--transition-speed);
  text-align: center;
  text-decoration: none;
}

.btn:hover {
  background-color: var(--primary-color);
  color: var(--background-color);
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--background-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-outline {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--background-color);
}

.btn-secondary {
  background: var(--border-color);
  color: var(--text-color);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: var(--background-color);
  border-color: var(--primary-color);
}

/* Formularios generales */
.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-color);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  background-color: var(--background-color);
  color: var(--text-color);
  font-family: var(--body-font);
  font-size: 1rem;
  border-radius: 4px;
  transition: border-color var(--transition-speed);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* Secciones generales */
.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  color: var(--text-color);
  font-size: 2rem;
  font-weight: 600;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: var(--primary-color);
}

/* Utilidades */
.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 2rem;
}

.text-success {
  color: #28a745;
}

.text-info {
  color: #17a2b8;
}

/* Asegurar contraste en modo oscuro */
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4,
html[data-theme="dark"] h5,
html[data-theme="dark"] h6,
html[data-theme="dark"] p,
html[data-theme="dark"] span,
html[data-theme="dark"] .section-title {
  color: var(--text-color) !important;
}

/*
* Taika Joyería - Header, Banner y Navegación
*/

/* BANNER PROMOCIONAL FIJO */
.shipping-banner {
  background: var(--primary-dark);
  color: white;
  height: 50px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1002;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.shipping-banner-content {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.shipping-text {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-banner 35s linear infinite;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  padding-right: 50px;
}

.shipping-text::after {
  content: " • ENVÍO GRATIS A PARTIR DE $969.00 • LO NUEVO PARA ESTE VERANO ☀️ • ENVÍO GRATIS A PARTIR DE $969.00 • LO NUEVO PARA ESTE VERANO ☀️ • ENVÍO GRATIS A PARTIR DE $969.00 • LO NUEVO PARA ESTE VERANO ☀️";
}

@keyframes scroll-banner {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.shipping-banner-secondary {
  background: var(--primary-dark);
  color: white;
  height: 50px;
  position: relative;
  z-index: 10;
  overflow: hidden;
  display: flex;
  align-items: center;
  margin: 0;
}

.shipping-banner-secondary .shipping-banner-content {
  width: 100%;
  overflow: hidden;
  position: relative;
  will-change: transform;
  backface-visibility: hidden;
}

.shipping-banner-secondary .shipping-text {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-banner-secondary 35s linear infinite;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  padding-right: 50px;
}

/* USER DROPDOWN MEJORADO */
.user-dropdown {
  position: relative;
}

.account-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-color);
  text-decoration: none;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  cursor: pointer;
  background: transparent;
  border: none;
  font-size: 0.9rem;
}

.account-link:hover {
  background-color: var(--background-alt);
  color: var(--primary-color);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--background-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

.dropdown-item:hover {
  background-color: var(--background-alt);
}

.dropdown-divider {
  height: 1px;
  background-color: var(--border-color);
  margin: 0.5rem 0;
}

/* MOBILE MENU TOGGLE MEJORADO */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  gap: 0.25rem;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 2px;
  background-color: var(--text-color);
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* THEME TOGGLE ESPECÍFICO */
.theme-toggle {
  display: flex;
  align-items: center;
}

#theme-toggle-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--background-color);
  border: 2px solid var(--border-color);
  color: var(--text-color);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

#theme-toggle-btn:hover {
  background-color: var(--primary-color);
  color: var(--background-color);
  border-color: var(--primary-color);
  transform: scale(1.05);
}

.dark-icon,
.light-icon {
  position: absolute;
  transition: opacity 0.3s ease;
}

html[data-theme="light"] .light-icon {
  opacity: 0;
}

html[data-theme="dark"] .dark-icon {
  opacity: 0;
}

/* CART LINK MEJORADO */
.cart-link {
  position: relative;
  color: var(--text-color);
  text-decoration: none;
  font-size: 1.25rem;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.cart-link:hover {
  color: var(--primary-color);
  background-color: var(--background-alt);
}

.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--accent-color);
  color: var(--primary-dark);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.4rem;
  border-radius: 50%;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(25%, -25%);
}

/* NAV LINKS RESPONSIVE MEJORADO */
.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  background: transparent;
  transition: all 0.3s ease;
}

/* USERNAME/LOGIN TEXT RESPONSIVE */
.username,
.login-text {
  display: inline;
}

/* Animación diferente para evitar sincronización */
@keyframes scroll-banner-secondary {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Responsive para banner secundario */
@media (max-width: 768px) {
  .shipping-banner-secondary {
    height: 40px;
  }
  
  .shipping-banner-secondary .shipping-text {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .shipping-banner-secondary {
    height: 35px;
  }
  
  .shipping-banner-secondary .shipping-text {
    font-size: 0.7rem;
  }
}

/* Modo oscuro para banner secundario */
html[data-theme="dark"] .shipping-banner-secondary {
  background: #0f1419 !important;
  border-bottom: 1px solid var(--border-color);
}

/* HEADER PRINCIPAL */
.site-header {
  position: static;
  background-color: var(--background-color);
}

.header-content {
  position: fixed;
  top: 50px;
  left: 0;
  right: 0;
  z-index: 1001;
  background: var(--background-color);
  height: 80px;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.header-content.scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content-inner {
  max-width: 1200px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

/* LOGO */
.logo-container {
  flex: 0 0 auto;
}

.logo img {
  max-height: 70px;
}

.logo-dark {
  display: none;
}

html[data-theme="dark"] .logo-light {
  display: none;
}

html[data-theme="dark"] .logo-dark {
  display: block;
}

/* NAVEGACIÓN PRINCIPAL */
.main-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin: 0 1.5rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-color);
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--transition-speed);
}

.nav-links a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: width var(--transition-speed);
}

.nav-links a:hover:after,
.nav-links a.active:after {
  width: 100%;
}

/* ACCIONES DEL HEADER */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-actions > *:not(.theme-toggle) {
  font-size: 1.25rem;
  color: var(--text-color);
  cursor: pointer;
  transition: color var(--transition-speed);
}

.header-actions > *:not(.theme-toggle):hover {
  color: var(--primary-color);
}

/* BOTÓN MODO OSCURO INTEGRADO EN HEADER */
.header-actions .theme-toggle {
  display: flex;
  align-items: center;
}

.header-actions #theme-toggle-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--background-color);
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid var(--border-color);
  transition: all var(--transition-speed);
  font-size: 1rem;
}

.header-actions #theme-toggle-btn:hover {
  background-color: var(--primary-color);
  color: var(--background-color);
}

.header-actions .dark-icon {
  display: block;
}

.header-actions .light-icon {
  display: none;
}

html[data-theme="dark"] .header-actions .dark-icon {
  display: none;
}

html[data-theme="dark"] .header-actions .light-icon {
  display: block;
}

/* CARRITO */
.cart-link {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--primary-color);
  color: var(--background-color);
  border-radius: 50%;
  font-size: 0.75rem;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* MAIN CONTENT SPACING */
main {
  margin-top: 130px;
  position: relative;
  z-index: 5;
}

.home-page {
  margin-top: 0;
}

/* MENÚ MÓVIL */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  width: 30px;
  height: 20px;
  position: relative;
  cursor: pointer;
  z-index: 1003;
}

.mobile-menu-toggle span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: var(--text-color);
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: all var(--transition-speed);
}

.mobile-menu-toggle span:nth-child(1) {
  top: 0px;
}

.mobile-menu-toggle span:nth-child(2) {
  top: 9px;
}

.mobile-menu-toggle span:nth-child(3) {
  top: 18px;
}

.mobile-menu-toggle.open span:nth-child(1) {
  top: 9px;
  transform: rotate(135deg);
}

.mobile-menu-toggle.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.mobile-menu-toggle.open span:nth-child(3) {
  top: 9px;
  transform: rotate(-135deg);
}

/* BOTÓN VOLVER ARRIBA */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-speed);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top button {
  background-color: var(--primary-color);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--background-color);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: background-color var(--transition-speed);
}

.back-to-top button:hover {
  background-color: var(--primary-dark);
}

/*
* FAQ STYLES
*/

.faq-section {
  padding: 2rem 0;
  min-height: 70vh;
  background-color: var(--background-color);
}

.faq-header {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-header h1 {
  font-family: var(--heading-font);
  font-size: 2.5rem;
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.faq-search {
  max-width: 600px;
  margin: 0 auto 3rem auto;
}

.search-box {
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 1rem 3rem 1rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: 25px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
  background-color: var(--background-color);
  color: var(--text-color);
}

.search-box input:focus {
  border-color: var(--primary-color);
}

.search-box i {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
}

.faq-categories {
  margin-bottom: 3rem;
}

.category-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--border-color);
  background: var(--background-color);
  color: var(--text-color);
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.tab-btn:hover,
.tab-btn.active {
  background: var(--primary-color);
  color: var(--background-color);
  border-color: var(--primary-color);
}

.faq-content {
  max-width: 900px;
  margin: 0 auto;
}

.faq-category {
  margin-bottom: 3rem;
}

.faq-category h2 {
  color: var(--text-color);
  font-family: var(--heading-font);
  font-size: 1.8rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 0.5rem;
}

.faq-item {
  background: var(--background-color);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: transform 0.3s ease;
  border: 1px solid var(--border-color);
}

.faq-item:hover {
  transform: translateY(-2px);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: var(--background-light);
}

.faq-question.active {
  background: var(--primary-color);
  color: var(--background-color);
}

.faq-question i {
  transition: transform 0.3s ease;
  font-size: 0.9rem;
}

.faq-question.active i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--background-light);
}

.faq-answer.active {
  max-height: 1000px;
}

.faq-answer p,
.faq-answer ul,
.faq-answer ol {
  padding: 0 1.5rem;
  color: var(--text-color);
}

.faq-answer p:first-child {
  padding-top: 1rem;
}

.faq-answer p:last-child,
.faq-answer ul:last-child,
.faq-answer ol:last-child {
  padding-bottom: 1.5rem;
}

.faq-answer ul,
.faq-answer ol {
  margin: 0.5rem 0;
}

.faq-answer li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.faq-answer a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.faq-answer a:hover {
  text-decoration: underline;
}

.faq-contact {
  background: var(--primary-dark);
  color: white;
  padding: 3rem;
  border-radius: 20px;
  text-align: center;
  margin-top: 4rem;
}

.faq-contact h2 {
  font-family: var(--heading-font);
  font-size: 2rem;
  margin-bottom: 1rem;
  color: white !important;
}

.faq-contact p {
  color: white !important;
}

.contact-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.contact-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  transition: background 0.3s ease;
}

.contact-option:hover {
  background: rgba(255,255,255,0.2);
}

.contact-option i {
  font-size: 2rem;
  color: var(--accent-color);
  flex-shrink: 0;
}

.contact-option h4 {
  margin: 0 0 0.25rem 0;
  font-size: 1.1rem;
  color: white !important;
}

.contact-option p {
  margin: 0 0 0.25rem 0;
  color: white !important;
}

.contact-option a {
  color: white;
  text-decoration: none;
}

.contact-option a:hover {
  text-decoration: underline;
}

.contact-option small {
  opacity: 0.8;
  font-size: 0.85rem;
  color: white;
}

.contact-cta {
  margin-top: 2rem;
}

.contact-cta .btn {
  background: var(--accent-color);
  color: var(--primary-dark);
  border-color: var(--accent-color);
}

.contact-cta .btn:hover {
  background: #c19b26;
  color: var(--primary-dark);
  border-color: #c19b26;
}

/* Estados ocultos para filtros */
.faq-category.hidden {
  display: none;
}

.faq-item.hidden {
  display: none;
}

/*
* PRIVACY STYLES
*/

.privacy-section {
  padding: 2rem 0;
  line-height: 1.6;
  background-color: var(--background-color);
}

.privacy-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--accent-color);
}

.privacy-header h1 {
  font-family: var(--heading-font);
  font-size: 2.5rem;
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.last-updated {
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.privacy-navigation {
  background: var(--background-light);
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 3rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border: 1px solid var(--border-color);
}

.privacy-navigation h3 {
  color: var(--text-color);
  margin-bottom: 1rem;
  font-family: var(--heading-font);
}

.nav-index {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0.5rem;
}

.nav-index li {
  margin: 0;
}

.nav-index a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text-color);
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.nav-index a:hover,
.nav-index a.active {
  background: var(--background-color);
  border-left-color: var(--accent-color);
  transform: translateX(5px);
  font-weight: 600;
}

.privacy-content {
  max-width: 1000px;
  margin: 0 auto;
}

.privacy-section-item {
  background: var(--background-color);
  margin-bottom: 2rem;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border: 1px solid var(--border-color);
}

.privacy-section-item h2 {
  color: var(--text-color);
  font-family: var(--heading-font);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 0.5rem;
}

.section-number {
  background: var(--accent-color);
  color: var(--primary-dark);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.company-info {
  background: var(--background-light);
  padding: 2rem;
  border-radius: 8px;
  margin: 1.5rem 0;
  border: 1px solid var(--border-color);
}

.company-info h3 {
  color: var(--text-color);
  font-family: var(--heading-font);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.info-item strong {
  color: var(--text-color);
  font-weight: 600;
}

.info-item span {
  color: var(--text-color);
}

.data-categories,
.finalidades-grid,
.transfers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.data-category,
.finalidad-category,
.transfer-item {
  background: var(--background-light);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--accent-color);
  border: 1px solid var(--border-color);
}

.data-category h3,
.finalidad-category h3 {
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.data-category i {
  color: var(--accent-color);
  font-size: 1.5rem;
}

.security-note {
  background: #e8f5e8;
  color: #2e7d32;
  padding: 1rem;
  border-radius: 6px;
  margin-top: 1rem;
  border-left: 4px solid #4caf50;
}

html[data-theme="dark"] .security-note {
  background: rgba(76, 175, 80, 0.1);
  color: #4caf50;
}

.consent-note {
  background: #fff3e0;
  color: #f57c00;
  padding: 1rem;
  border-radius: 6px;
  margin-top: 1rem;
  font-size: 0.9rem;
  border-left: 4px solid #ff9800;
}

html[data-theme="dark"] .consent-note {
  background: rgba(255, 152, 0, 0.1);
  color: #ff9800;
}

.consent-options {
  background: var(--background-light);
  padding: 2rem;
  border-radius: 8px;
  margin: 2rem 0;
  border: 1px solid var(--border-color);
}

.consent-controls {
  margin: 1.5rem 0;
}

.consent-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--background-color);
  border-radius: 6px;
  border: 1px solid var(--border-color);
}

.consent-item input[type="checkbox"] {
  margin-top: 0.25rem;
}

.consent-item label {
  cursor: pointer;
  line-height: 1.4;
  color: var(--text-color);
}

.arco-rights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.arco-right {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--background-light);
  border-radius: 8px;
  transition: transform 0.3s ease;
  border: 1px solid var(--border-color);
}

.arco-right:hover {
  transform: translateY(-5px);
}

.arco-icon {
  width: 60px;
  height: 60px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.arco-icon i {
  font-size: 1.5rem;
  color: var(--primary-dark);
}

.arco-content h3 {
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.arco-content p {
  color: var(--text-color);
}

.process-steps {
  margin: 2rem 0;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--background-light);
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--accent-color);
  color: var(--primary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h4 {
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.step-content p,
.step-content ul,
.step-content li {
  color: var(--text-color);
}

.cookies-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.cookie-type {
  padding: 2rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  transition: border-color 0.3s ease;
  background: var(--background-color);
}

.cookie-type:hover {
  border-color: var(--accent-color);
}

.cookie-type h3 {
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.cookie-type p {
  color: var(--text-color);
}

.cookie-controls {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.cookie-note {
  font-size: 0.9rem;
  color: var(--text-light);
  font-style: italic;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
  margin: 2rem 0;
}

.contact-section,
.authority-section {
  padding: 2rem;
  background: var(--background-light);
  border-radius: 12px;
  border-left: 4px solid var(--accent-color);
  border: 1px solid var(--border-color);
}

.contact-details,
.authority-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item,
.authority-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item i {
  color: var(--accent-color);
  font-size: 1.2rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.contact-item div strong,
.authority-item strong {
  color: var(--text-color);
}

.contact-item div p,
.contact-item div small,
.authority-item span {
  color: var(--text-color);
}

/*
* Hero Carousel y Secciones del Home
*/

.hero-carousel {
  position: relative;
  height: 65vh;
  min-height: 450px;
  max-height: 600px;
  overflow: hidden;
  margin-top: 130px;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

/* SLIDES - MEJORAS DE CALIDAD DE IMAGEN */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  /* MEJORAS PARA CALIDAD DE IMAGEN */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  image-rendering: optimizeQuality;
}

.slide.active {
  opacity: 1;
}

/* OVERLAY - REDUCIR OPACIDAD PARA MENOS OSCURIDAD */
.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* OVERLAY MÁS SUTIL - MENOS OSCURO */
  background: linear-gradient(
    135deg, 
    rgba(26, 35, 50, 0.1) 0%, 
    rgba(26, 35, 50, 0.3) 100%
  );
  z-index: 1;
}

/* CONTENIDO DEL SLIDE */
.slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 2rem;
}

/* TÍTULO DEL HERO - MEJORAR LEGIBILIDAD */
.hero-title {
  font-family: var(--heading-font);
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 3px;
  /* SOMBRA MÁS SUAVE PARA MEJOR LEGIBILIDAD */
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.8),
    0 4px 8px rgba(0, 0, 0, 0.6),
    0 6px 12px rgba(0, 0, 0, 0.4);
  margin: 0;
  text-transform: uppercase;
  color: white !important;
  /* CONTORNO SUTIL PARA MAYOR CONTRASTE */
  -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.3);
}

/* DOTS DE NAVEGACIÓN */
.carousel-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 3;
}

.carousel-dots .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.8);
  position: relative;
}

.carousel-dots .dot:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.1);
}

.carousel-dots .dot.active {
  background: white;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.carousel-dots .dot.active::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  top: -7px;
  left: -7px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

/* ========================================================================= */
/*   VERSIÓN ALTERNATIVA: OVERLAY MUY SUTIL (USAR SI QUIERES AÚN MENOS OSCURIDAD) */
/* ========================================================================= */

/* Descomenta esta sección si quieres un overlay aún más sutil */
/*
.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg, 
    rgba(26, 35, 50, 0.05) 0%, 
    rgba(26, 35, 50, 0.15) 100%
  );
  z-index: 1;
}
*/

/* ========================================================================= */
/*   VERSIÓN SIN OVERLAY (USAR SOLO SI QUIERES ELIMINAR COMPLETAMENTE LA OSCURIDAD) */
/* ========================================================================= */

/* Descomenta esta línea si quieres eliminar completamente el overlay */
/*
.slide-overlay {
  display: none;
}
*/

/* ========================================================================= */
/*   RESPONSIVE DESIGN                                                     */
/* ========================================================================= */

/* Tablets (hasta 768px) */
@media (max-width: 768px) {
  .hero-carousel {
    height: 50vh;
    min-height: 400px;
    margin-top: 120px;
  }
  
  .hero-title {
    font-size: 2.5rem;
    letter-spacing: 2px;
  }
  
  .carousel-dots {
    bottom: 1rem;
    gap: 0.5rem;
  }
  
  .carousel-dots .dot {
    width: 12px;
    height: 12px;
  }
}

/* Móviles (hasta 480px) */
@media (max-width: 480px) {
  .hero-carousel {
    height: 45vh;
    min-height: 350px;
    margin-top: 115px;
  }
  
  .hero-title {
    font-size: 2rem;
    letter-spacing: 1px;
  }
}

/* ========================================================================= */
/*   CORRECCIONES MODO OSCURO                                              */
/* ========================================================================= */

html[data-theme="dark"] .slide-overlay {
  background: linear-gradient(
    135deg, 
    rgba(15, 20, 25, 0.1) 0%, 
    rgba(15, 20, 25, 0.3) 100%
  );
}

/* SECCIÓN DE PRODUCTOS DESTACADOS */
.featured-products-section {
  padding: 4rem 0;
  background: var(--background-alt);
}

.products-grid-8 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.products-grid-8 .product-card {
  background: var(--background-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  position: relative;
}

.products-grid-8 .product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.products-grid-8 .product-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.products-grid-8 .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.products-grid-8 .product-card:hover .product-image img {
  transform: scale(1.1);
}

.products-grid-8 .product-info {
  padding: 1.5rem;
  text-align: center;
}

.products-grid-8 .product-title {
  font-size: 1rem;
  color: var(--text-color);
  margin-bottom: 0.75rem;
  font-weight: 400;
  line-height: 1.4;
  min-height: 2.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.products-grid-8 .product-price {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 1.25rem;
}

.add-to-cart-btn {
  background: var(--primary-dark);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: 100%;
}

.add-to-cart-btn:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
}

/* ========================================================================= */
/*   RESPONSIVE DESIGN PARA GRID DE PRODUCTOS                              */
/* ========================================================================= */

/* Tablets grandes (hasta 1024px) */
@media (max-width: 1024px) {
  .products-grid-8 {
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
  }
  
  .products-grid-8 .product-image {
      height: 200px;
  }
}

/* Tablets (hasta 768px) */
@media (max-width: 768px) {
  .featured-products-section {
      padding: 3rem 0;
  }
  
  .products-grid-8 {
      grid-template-columns: repeat(2, 1fr);
      gap: 1.5rem;
      padding: 0 1rem;
  }
  
  .products-grid-8 .product-image {
      height: 180px;
  }
  
  .products-grid-8 .product-info {
      padding: 1.25rem;
  }
  
  .products-grid-8 .product-title {
      font-size: 0.9rem;
      min-height: 2.4rem;
  }
  
  .products-grid-8 .product-price {
      font-size: 1.1rem;
  }
}

/* Móviles grandes (hasta 576px) */
@media (max-width: 576px) {
  .featured-products-section {
      padding: 2rem 0;
  }
  
  .products-grid-8 {
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;
      padding: 0 0.5rem;
  }
  
  .products-grid-8 .product-image {
      height: 160px;
  }
  
  .products-grid-8 .product-info {
      padding: 1rem;
  }
  
  .products-grid-8 .product-title {
      font-size: 0.85rem;
      min-height: 2rem;
      margin-bottom: 0.5rem;
  }
  
  .products-grid-8 .product-price {
      font-size: 1rem;
      margin-bottom: 1rem;
  }
  
  .add-to-cart-btn {
      padding: 0.6rem 1rem;
      font-size: 0.8rem;
  }
}

/* Móviles pequeños (hasta 480px) */
@media (max-width: 480px) {
  .products-grid-8 {
      grid-template-columns: repeat(2, 1fr);
      gap: 0.75rem;
  }
  
  .products-grid-8 .product-image {
      height: 140px;
  }
  
  .products-grid-8 .product-info {
      padding: 0.75rem;
  }
  
  .products-grid-8 .product-title {
      font-size: 0.8rem;
      min-height: 1.8rem;
  }
  
  .add-to-cart-btn {
      padding: 0.5rem 0.75rem;
      font-size: 0.75rem;
  }
}
/* ========================================================================= */
/*   CORRECCIÓN ESTILOS PÁGINA DETALLE DE PRODUCTO - TAIKA JOYERÍA         */
/* ========================================================================= */

/* SECCIÓN PRINCIPAL DEL DETALLE DE PRODUCTO */
.product-detail-section {
  padding: 3rem 0;
  background: var(--background-color);
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

/* ========================================================================= */
/*   GALERÍA DE IMÁGENES - CORRECCIÓN PRINCIPAL                           */
/* ========================================================================= */

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-main-image {
  width: 100%;
  height: 500px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--background-alt);
  position: relative;
}

.product-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-main-image:hover img {
  transform: scale(1.05);
}

/* THUMBNAILS DE LA GALERÍA */
.product-thumbnails {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.thumbnail {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--border-color);
  cursor: pointer;
  transition: all 0.3s ease;
  background: var(--background-alt);
}

.thumbnail:hover {
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

.thumbnail.active {
  border-color: var(--accent-color);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========================================================================= */
/*   INFORMACIÓN DEL PRODUCTO                                              */
/* ========================================================================= */

.product-info {
  padding: 2rem 0;
}

/* BADGE DE PRODUCTO DESTACADO */
.product-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.product-badge.featured {
  background: linear-gradient(135deg, var(--accent-color), #c19b26);
  color: var(--primary-dark);
}

/* CATEGORÍA DEL PRODUCTO */
.product-category {
  color: var(--accent-color);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

/* TÍTULO DEL PRODUCTO */
.product-title {
  font-family: var(--heading-font);
  font-size: 2.5rem;
  color: var(--text-color);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  font-weight: 600;
}

/* CONTENEDOR DE PRECIOS */
.product-price-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.product-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-color);
  font-family: var(--heading-font);
}

.product-price-original {
  font-size: 1.5rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.discount-badge {
  background: #e74c3c;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* DESCRIPCIÓN CORTA */
.product-short-description {
  color: var(--text-color);
  line-height: 1.7;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* ESTADO DEL STOCK */
.product-stock {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  margin-bottom: 2rem;
}

.product-stock.in-stock {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.product-stock.low-stock {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}

.product-stock.out-of-stock {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* ========================================================================= */
/*   FORMULARIO DE AÑADIR AL CARRITO                                       */
/* ========================================================================= */

.cart-form {
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

/* CONTROL DE CANTIDAD */
.quantity-control {
  display: flex;
  align-items: center;
  gap: 0;
  width: fit-content;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.quantity-btn {
  background: var(--background-alt);
  border: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-color);
  font-weight: 600;
}

.quantity-btn:hover {
  background: var(--accent-color);
  color: var(--primary-dark);
}

.quantity-input {
  border: none;
  width: 60px;
  height: 40px;
  text-align: center;
  font-weight: 600;
  color: var(--text-color);
  background: var(--background-color);
}

.quantity-input:focus {
  outline: none;
}

/* BOTONES DE ACCIÓN */
.product-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn-add-cart {
  background: var(--primary-dark);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-add-cart:hover {
  background: var(--accent-color);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.btn-buy-now {
  background: var(--accent-color);
  color: var(--primary-dark);
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-buy-now:hover {
  background: #c19b26;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

/* ========================================================================= */
/*   METADATOS Y COMPARTIR                                                 */
/* ========================================================================= */

.product-meta {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--background-alt);
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.meta-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.meta-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.meta-label {
  font-weight: 600;
  color: var(--text-color);
}

.meta-value {
  color: var(--text-light);
}

.meta-value a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.meta-value a:hover {
  color: #c19b26;
}

/* COMPARTIR EN REDES SOCIALES */
.product-social {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--background-alt);
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.social-label {
  font-weight: 600;
  color: var(--text-color);
  margin-right: 0.5rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  color: white;
}

.social-link:nth-child(1) {
  background: #3b5998;
}

.social-link:nth-child(2) {
  background: #1da1f2;
}

.social-link:nth-child(3) {
  background: #bd081c;
}

.social-link:nth-child(4) {
  background: #25d366;
}

.social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ========================================================================= */
/*   PESTAÑAS DE INFORMACIÓN ADICIONAL                                     */
/* ========================================================================= */

.product-tabs {
  margin-top: 3rem;
  border-top: 1px solid var(--border-color);
  padding-top: 3rem;
}

.tab-nav {
  display: flex;
  gap: 0;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.tab-btn {
  background: none;
  border: none;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
}

.tab-btn.active,
.tab-btn:hover {
  color: var(--accent-color);
  border-bottom-color: var(--accent-color);
}

.tab-content {
  display: none;
  padding: 2rem;
  background: var(--background-alt);
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.tab-content.active {
  display: block;
}

.tab-content h3 {
  color: var(--text-color);
  margin-bottom: 1rem;
  font-family: var(--heading-font);
}

.tab-content p {
  color: var(--text-color);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.tab-content ul {
  color: var(--text-color);
  line-height: 1.7;
  padding-left: 1.5rem;
}

/* ========================================================================= */
/*   PRODUCTOS RELACIONADOS                                                */
/* ========================================================================= */

.related-products-section {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-color);
}

.related-products-section h2 {
  font-family: var(--heading-font);
  font-size: 2rem;
  color: var(--text-color);
  text-align: center;
  margin-bottom: 3rem;
}

.related-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.related-product-card {
  background: var(--background-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.related-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.related-product-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.related-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.related-product-card:hover .related-product-image img {
  transform: scale(1.1);
}

.related-product-info {
  padding: 1.5rem;
  text-align: center;
}

.related-product-title {
  font-size: 1rem;
  color: var(--text-color);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.related-product-title a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.related-product-title a:hover {
  color: var(--accent-color);
}

.related-product-price {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-color);
}

/* ========================================================================= */
/*   RESPONSIVE DESIGN                                                     */
/* ========================================================================= */

/* Tablets grandes (hasta 1024px) */
@media (max-width: 1024px) {
  .product-detail {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .product-main-image {
    height: 400px;
  }
  
  .product-title {
    font-size: 2rem;
  }
  
  .related-products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablets (hasta 768px) */
@media (max-width: 768px) {
  .product-detail-section {
    padding: 2rem 0;
  }
  
  .product-detail {
    gap: 2rem;
    padding: 0 1rem;
  }
  
  .product-main-image {
    height: 350px;
  }
  
  .product-title {
    font-size: 1.8rem;
  }
  
  .product-price {
    font-size: 1.5rem;
  }
  
  .product-actions {
    flex-direction: column;
  }
  
  .related-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .tab-nav {
    flex-wrap: wrap;
  }
  
  .tab-btn {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
}

/* Móviles (hasta 576px) */
@media (max-width: 576px) {
  .product-detail {
    padding: 0 0.5rem;
  }
  
  .product-main-image {
    height: 300px;
  }
  
  .product-title {
    font-size: 1.5rem;
  }
  
  .product-price {
    font-size: 1.3rem;
  }
  
  .product-thumbnails {
    justify-content: center;
  }
  
  .thumbnail {
    width: 60px;
    height: 60px;
  }
  
  .btn-add-cart,
  .btn-buy-now {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .related-products-grid {
    grid-template-columns: 1fr;
  }
  
  .product-social {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .tab-content {
    padding: 1.5rem;
  }
}

/* ========================================================================= */
/*   CORRECCIONES MODO OSCURO                                              */
/* ========================================================================= */

html[data-theme="dark"] .product-detail-section {
  background: var(--background-color);
}

html[data-theme="dark"] .product-main-image {
  border-color: var(--border-color);
  background: var(--background-alt);
}

html[data-theme="dark"] .thumbnail {
  border-color: var(--border-color);
  background: var(--background-alt);
}

html[data-theme="dark"] .product-meta,
html[data-theme="dark"] .product-social,
html[data-theme="dark"] .tab-content {
  background: var(--background-alt);
  border-color: var(--border-color);
}

html[data-theme="dark"] .quantity-btn {
  background: var(--background-alt);
  color: var(--text-color);
}

html[data-theme="dark"] .quantity-input {
  background: var(--background-color);
  color: var(--text-color);
}

html[data-theme="dark"] .related-product-card {
  background: var(--background-color);
  border-color: var(--border-color);
}

html[data-theme="dark"] .related-product-card:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}
/* SECCIÓN NEWSLETTER */
.newsletter-section-home {
  background: var(--primary-dark) !important;
  color: white !important;
  padding: 3.5rem 0;
  text-align: center;
}

.newsletter-content-home {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-content-home h2 {
  font-family: var(--heading-font);
  font-size: 2.2rem;
  margin-bottom: 2rem;
  font-weight: 400;
  color: white !important;
}

.newsletter-form-home {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  max-width: 500px;
  margin: 0 auto;
}

.form-group-home {
  display: flex;
  gap: 0.75rem;
  width: 100%;
}

.form-group-home input {
  flex: 1;
  padding: 0.875rem 1.25rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  background: white;
  color: var(--text-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-group-home input::placeholder {
  color: #999;
}

.form-group-home button {
  background: var(--accent-color) !important;
  color: var(--primary-dark) !important;
  border: none;
  padding: 0.875rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.form-group-home button:hover {
  background: #c19b26 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* SECCIÓN INSTAGRAM */
.instagram-section-home {
  padding: 4rem 0;
  background: var(--background-alt);
}

.instagram-header {
  text-align: center;
  margin-bottom: 3rem;
}

.instagram-title {
  font-family: var(--heading-font);
  font-size: 2.5rem;
  color: var(--text-color) !important;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.instagram-subtitle {
  color: var(--text-color) !important;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.instagram-stats {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-color) !important;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-color) !important;
  margin-top: 0.25rem;
}

.instagram-feed-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.instagram-feed-grid .instagram-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 1;
  transition: transform 0.3s ease;
}

.instagram-feed-grid .instagram-item:hover {
  transform: translateY(-5px);
}

.instagram-feed-grid .instagram-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.instagram-feed-grid .instagram-item:hover img {
  transform: scale(1.1);
}

.instagram-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 35, 50, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.instagram-feed-grid .instagram-item:hover .instagram-overlay {
  opacity: 1;
}

.instagram-overlay i {
  font-size: 2rem;
  color: white;
}

/* SECCIÓN RECOMENDACIONES */
.recommendations-section {
  padding: 4rem 0;
  background: var(--background-color);
}

.recommendations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.recommendation-item {
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.recommendation-item:hover {
  transform: translateY(-5px);
}

.recommendation-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.recommendation-item:hover img {
  transform: scale(1.05);
}

/* OCULTAR SECCIONES NO DESEADAS - SOLO EN HOME */
.home-page .values-section,
.home-page .about-section,
.home-page .blog-section {
  display: none !important;
}

.home-page + .newsletter-section {
  display: none !important;
}

/*
* Footer y Elementos Generales
*/

.site-footer {
  background: var(--primary-dark) !important;
  color: white !important;
  padding: 3rem 0 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-column {
  margin-bottom: 2rem;
}

.footer-column h3 {
  color: white !important;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  position: relative;
  font-family: var(--body-font);
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-color);
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 0.75rem;
}

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.footer-column ul li a:hover {
  color: var(--accent-color) !important;
  transform: translateX(5px);
}

.footer-column ul li a::before {
  content: '→';
  margin-right: 0.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.footer-column ul li a:hover::before {
  opacity: 1;
}

/* NEWSLETTER FOOTER */
.newsletter-form-footer {
  margin: 1rem 0 2rem 0;
}

.form-group-footer {
  display: flex;
  gap: 0;
}

.form-group-footer input {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-right: none;
  border-radius: 4px 0 0 4px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 0.9rem;
}

.form-group-footer input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.form-group-footer input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.form-group-footer button {
  background: var(--accent-color);
  color: var(--primary-color);
  border: 1px solid var(--accent-color);
  border-radius: 0 4px 4px 0;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-group-footer button:hover {
  background: #e6c200;
  transform: translateY(-1px);
}

/* REDES SOCIALES */
.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--accent-color);
  color: var(--primary-color) !important;
  transform: translateY(-3px);
}

/* FOOTER BOTTOM */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  margin-top: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-info p {
  margin: 0.5rem 0;
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 0.85rem;
}

.footer-info a {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none;
}

.footer-info a:hover {
  color: var(--accent-color) !important;
}

.footer-certifications {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
}

.cert-item i {
  color: var(--accent-color);
}

/* BREADCRUMBS OCULTOS */
.breadcrumbs {
  display: none !important;
}

/* NEWSLETTER GENERAL (NO HOME) */
.newsletter-section {
  background-color: var(--background-alt);
  padding: 4rem 0;
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-form .form-group {
  display: flex;
  margin-top: 1.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-right: none;
  border-radius: 4px 0 0 4px;
}

.newsletter-form button {
  background-color: var(--primary-color);
  color: var(--background-color);
  padding: 0 1.5rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid var(--primary-color);
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: background-color var(--transition-speed);
}

.newsletter-form button:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

/* PRODUCTOS GENERALES */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.product-card {
  background-color: var(--background-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-card-img {
  position: relative;
  height: 0;
  padding-bottom: 100%;
  overflow: hidden;
}

.product-card-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed);
}

.product-card:hover .product-card-img img {
  transform: scale(1.05);
}

.product-card-content {
  padding: 1.5rem;
  text-align: center;
}

.product-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-color);
}

.product-price {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1.1rem;
}

/* PAGINACIÓN */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.pagination-item {
  margin: 0 0.25rem;
}

.pagination-link {
  display: block;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  color: var(--text-color);
  font-size: 0.875rem;
  border-radius: 4px;
  transition: all var(--transition-speed);
}

.pagination-link:hover,
.pagination-link.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--background-color);
}

/* MENSAJES DE ALERTA */
.alert {
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
}

.alert-success {
  background-color: rgba(62, 138, 80, 0.15);
  color: var(--success-color);
  border: 1px solid var(--success-color);
}

.alert-error {
  background-color: rgba(168, 50, 50, 0.15);
  color: var(--error-color);
  border: 1px solid var(--error-color);
}

.form-error {
  color: var(--error-color);
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(31, 29, 32, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: var(--background-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2rem;
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
  transition: color var(--transition-speed);
}

.close-modal:hover {
  color: var(--primary-color);
}

/* FILTROS DE PRODUCTOS */
.shop-filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 2rem 0;
  padding: 1.5rem;
  background-color: var(--background-alt);
  border-radius: 8px;
  gap: 2rem;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-group label {
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 0;
  white-space: nowrap;
  font-size: 0.8rem;
}

.filter-group:first-child label {
  display: none;
}

.categories-nav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.categories-nav a {
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  font-size: 0.8rem;
  transition: all var(--transition-speed);
  white-space: nowrap;
  flex-shrink: 0;
  color: var(--text-color);
}

.categories-nav a:hover,
.categories-nav a.active {
  background-color: var(--primary-color);
  color: var(--background-color);
  border-color: var(--primary-color);
}

.filter-select {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  background-color: var(--background-color);
  font-size: 0.875rem;
  cursor: pointer;
  min-width: 180px;
  color: var(--text-color);
}

.filter-select:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* RESPONSIVE STYLES */
@media (max-width: 768px) {
  /* Banner móvil */
  .shipping-banner {
    height: 40px;
  }
  
  .shipping-text {
    font-size: 0.75rem;
  }
  
  /* Header móvil */
  .header-content {
    top: 40px;
  }
  
  .header-content-inner {
    padding: 0 1rem;
  }
  
  .logo img {
    max-height: 60px;
  }
  
  /* Main content móvil */
  main {
    margin-top: 120px;
  }
  
  /* Header actions móvil */
  .header-actions {
    gap: 0.75rem;
  }
  
  .header-actions > *:not(.theme-toggle) {
    font-size: 1.1rem;
  }
  
  .header-actions #theme-toggle-btn {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
  
  /* Menú móvil */
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 120px;
    left: 0;
    right: 0;
    background: var(--background-color);
    flex-direction: column;
    padding: 2rem 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    z-index: 999;
    display: none;
    border-top: 1px solid var(--border-color);
  }
  
  .nav-links.open {
    display: flex;
  }
  
  .nav-links li {
    margin: 0.75rem 0;
    text-align: center;
  }

  /* FAQ móvil */
  .faq-header h1 {
    font-size: 2rem;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .category-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 1rem;
  }
  
  .tab-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }
  
  .faq-question {
    font-size: 1rem;
    padding: 1rem;
  }
  
  .faq-answer p,
  .faq-answer ul,
  .faq-answer ol {
    padding: 0 1rem;
  }
  
  .faq-answer p:first-child {
    padding-top: 0.75rem;
  }
  
  .faq-answer p:last-child,
  .faq-answer ul:last-child,
  .faq-answer ol:last-child {
    padding-bottom: 1rem;
  }
  
  .contact-options {
    grid-template-columns: 1fr;
  }
  
  .contact-option {
    flex-direction: column;
    text-align: center;
  }
  
  .faq-contact {
    padding: 2rem 1rem;
  }

  /* Privacy móvil */
  .privacy-header h1 {
    font-size: 2rem;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .nav-index {
    grid-template-columns: 1fr;
  }
  
  .privacy-section-item {
    padding: 1.5rem;
  }
  
  .privacy-section-item h2 {
    font-size: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .data-categories,
  .finalidades-grid,
  .transfers-grid,
  .arco-rights {
    grid-template-columns: 1fr;
  }
  
  .step {
    flex-direction: column;
    text-align: center;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }

  /* Hero móvil */
  .hero-carousel {
    height: 50vh;
    min-height: 400px;
    margin-top: 120px;
  }
  
  .hero-title {
    font-size: 2.5rem;
    letter-spacing: 2px;
  }
  
  .carousel-dots {
    bottom: 1rem;
    gap: 0.5rem;
  }
  
  .carousel-dots .dot {
    width: 12px;
    height: 12px;
  }
  
  /* Productos móvil */
  .products-grid-8 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  /* Instagram móvil */
  .instagram-feed-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Recomendaciones móvil */
  .recommendations-grid {
    grid-template-columns: 1fr;
  }
  
  /* Newsletter móvil */
  .form-group-home {
    flex-direction: column;
    gap: 1rem;
  }
  
  .newsletter-content-home h2 {
    font-size: 1.8rem;
  }

  /* Footer móvil */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-bottom {
    padding-top: 1.5rem;
  }
  
  .footer-social {
    gap: 1rem;
  }
  
  .footer-social a {
    width: 36px;
    height: 36px;
    font-size: 1.1rem !important;
  }
  
  /* Newsletter responsive */
  .newsletter-form .form-group {
    flex-direction: column;
  }
  
  .newsletter-form input {
    border-right: 1px solid var(--border-color);
    border-radius: 4px;
    margin-bottom: 1rem;
  }
  
  .newsletter-form button {
    border-radius: 4px;
  }

  /* Filtros responsive */
  .shop-filters {
    flex-direction: column !important;
    gap: 1.5rem !important;
    align-items: stretch !important;
  }
  
  .filter-group {
    width: 100% !important;
    justify-content: flex-start !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
  }
  
  .filter-group label {
    margin-bottom: 0 !important;
    font-size: 0.875rem !important;
  }
  
  .categories-nav {
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    width: 100% !important;
  }
  
  .categories-nav a {
    font-size: 0.75rem !important;
    padding: 0.4rem 0.8rem !important;
  }
  
  .filter-select {
    width: 100% !important;
    max-width: 250px !important;
    font-size: 0.875rem !important;
  }
}

@media (max-width: 480px) {
  /* Banner extra pequeño */
  .shipping-banner {
    height: 35px;
  }
  
  .shipping-text {
    font-size: 0.7rem;
  }
  
  /* Header extra pequeño */
  .header-content {
    top: 35px;
  }
  
  /* Main content extra pequeño */
  main {
    margin-top: 115px;
  }
  
  /* Menu móvil extra pequeño */
  .nav-links {
    top: 115px;
  }
  
  /* Header actions extra pequeño */
  .header-actions {
    gap: 0.5rem;
  }
  
  .header-actions #theme-toggle-btn {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }

  /* FAQ extra pequeño */
  .search-box input {
    padding: 0.75rem 2.5rem 0.75rem 0.75rem;
  }
  
  .faq-category h2 {
    font-size: 1.5rem;
  }

  /* Privacy extra pequeño */
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .consent-item {
    flex-direction: column;
    gap: 0.5rem;
  }

  /* Hero extra pequeño */
  .hero-carousel {
    height: 45vh;
    min-height: 350px;
    margin-top: 115px;
  }
  
  .hero-title {
    font-size: 2rem;
    letter-spacing: 1px;
  }
  
  /* Productos extra pequeño */
  .products-grid-8 {
    grid-template-columns: 1fr;
  }

  /* Filtros extra pequeño */
  .categories-nav a {
    font-size: 0.7rem !important;
    padding: 0.3rem 0.6rem !important;
  }
  
  .filter-select {
    max-width: 200px !important;
    font-size: 0.8rem !important;
  }

  /* Footer extra pequeño */
  .footer-social a {
    width: 32px;
    height: 32px;
    font-size: 1rem !important;
  }
}
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 120px;
    left: 0;
    right: 0;
    background: var(--background-color);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    padding: 2rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s ease;
  }
  
  .nav-links.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .nav-links li {
    margin: 0;
    text-align: center;
  }
  
  .nav-links a {
    display: block;
    padding: 1rem 2rem;
    font-size: 1rem;
  }
  
  .username,
  .login-text {
    display: none;
  }

  /* Footer responsive */
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .nav-links {
    top: 105px;
  }

  /* Footer mobile */
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-certifications {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .form-group-footer {
    max-width: 300px;
    margin: 0 auto;
  }
  
  .footer-column ul li a::before {
    display: none;
  }
  
  .footer-social {
    justify-content: center;
  }
}

/* ========================================================================= */
/*   MODO OSCURO ADICIONAL                                                  */
/* ========================================================================= */

html[data-theme="dark"] .dropdown-menu {
  background: var(--background-color);
  border-color: var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .nav-links {
  background: var(--background-color);
  border-color: var(--border-color);
}
@media (max-width: 576px) {
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}

/* AJUSTES FINALES MODO OSCURO */
html[data-theme="dark"] .shipping-banner {
  background: #0f1419 !important;
  border-bottom: 1px solid var(--border-color);
}

html[data-theme="dark"] .header-content {
  background: var(--background-color) !important;
  border-bottom: 1px solid var(--border-color);
}

html[data-theme="dark"] .newsletter-section-home {
  background: #0f1419 !important;
}

html[data-theme="dark"] .site-footer {
  background: var(--primary-dark) !important;
}

html[data-theme="dark"] .modal-content {
  background: var(--background-color);
  border-color: var(--border-color);
}

html[data-theme="dark"] .featured-products-section {
  background: var(--background-alt);
}

html[data-theme="dark"] .instagram-section-home {
  background: var(--background-alt);
}

html[data-theme="dark"] .recommendations-section {
  background: var(--background-color);
}

/* OPTIMIZACIÓN DE RENDIMIENTO */
.shipping-banner-content {
  will-change: transform;
  backface-visibility: hidden;
}

/* Z-INDEX FINAL */
.shipping-banner {
  z-index: 1002;
}

.header-content {
  z-index: 1001;
}

.nav-links {
  z-index: 999;
}

.back-to-top {
  z-index: 1000;
}

.modal {
  z-index: 1003;
}

/* CORRECCIONES ADICIONALES MODO OSCURO */
html[data-theme="dark"] .faq-section {
  background-color: var(--background-color);
}

html[data-theme="dark"] .privacy-section {
  background-color: var(--background-color);
}

html[data-theme="dark"] .faq-item {
  background: var(--background-color);
  border-color: var(--border-color);
}

html[data-theme="dark"] .privacy-section-item {
  background: var(--background-color);
  border-color: var(--border-color);
}

html[data-theme="dark"] .faq-question:hover {
  background: var(--background-light);
}

html[data-theme="dark"] .faq-question.active {
  background: var(--primary-color);
  color: var(--background-color);
}

html[data-theme="dark"] .faq-answer {
  background: var(--background-light);
}

html[data-theme="dark"] .tab-btn {
  background: var(--background-color);
  color: var(--text-color);
  border-color: var(--border-color);
}

html[data-theme="dark"] .tab-btn:hover,
html[data-theme="dark"] .tab-btn.active {
  background: var(--primary-color);
  color: var(--background-color);
  border-color: var(--primary-color);
}

html[data-theme="dark"] .search-box input {
  background-color: var(--background-color);
  color: var(--text-color);
  border-color: var(--border-color);
}

html[data-theme="dark"] .privacy-navigation {
  background: var(--background-light);
  border-color: var(--border-color);
}

html[data-theme="dark"] .company-info {
  background: var(--background-light);
  border-color: var(--border-color);
}

html[data-theme="dark"] .data-category,
html[data-theme="dark"] .finalidad-category,
html[data-theme="dark"] .transfer-item {
  background: var(--background-light);
  border-color: var(--border-color);
}

html[data-theme="dark"] .consent-options {
  background: var(--background-light);
  border-color: var(--border-color);
}

html[data-theme="dark"] .consent-item {
  background: var(--background-color);
  border-color: var(--border-color);
}

html[data-theme="dark"] .arco-right {
  background: var(--background-light);
  border-color: var(--border-color);
}

html[data-theme="dark"] .step {
  background: var(--background-light);
  border-color: var(--border-color);
}

html[data-theme="dark"] .cookie-type {
  background: var(--background-color);
  border-color: var(--border-color);
}

html[data-theme="dark"] .contact-section,
html[data-theme="dark"] .authority-section {
  background: var(--background-light);
  border-color: var(--border-color);
}

/* CORRECCIONES ESPECÍFICAS PARA HOME EN MODO OSCURO */
html[data-theme="dark"] .featured-products-section {
  background: var(--background-alt);
}

html[data-theme="dark"] .products-grid-8 .product-card {
  background: var(--background-color);
  border-color: var(--border-color);
}

html[data-theme="dark"] .products-grid-8 .product-title {
  color: var(--text-color) !important;
}

html[data-theme="dark"] .products-grid-8 .product-price {
  color: var(--text-color) !important;
}

html[data-theme="dark"] .newsletter-section-home {
  background: var(--primary-dark) !important;
}

html[data-theme="dark"] .form-group-home input {
  background: var(--background-color) !important;
  color: var(--text-color) !important;
  border: 1px solid var(--border-color) !important;
}

html[data-theme="dark"] .form-group-home input::placeholder {
  color: var(--text-light) !important;
}

html[data-theme="dark"] .instagram-section-home {
  background: var(--background-alt);
}

html[data-theme="dark"] .recommendations-section {
  background: var(--background-color);
}

/* ASEGURAR VISIBILIDAD DE TEXTO EN MODO OSCURO */
html[data-theme="dark"] .faq-answer p,
html[data-theme="dark"] .faq-answer ul,
html[data-theme="dark"] .faq-answer ol,
html[data-theme="dark"] .faq-answer li {
  color: var(--text-color) !important;
}

html[data-theme="dark"] .privacy-section-item p,
html[data-theme="dark"] .privacy-section-item ul,
html[data-theme="dark"] .privacy-section-item ol,
html[data-theme="dark"] .privacy-section-item li {
  color: var(--text-color) !important;
}

html[data-theme="dark"] .step-content p,
html[data-theme="dark"] .step-content ul,
html[data-theme="dark"] .step-content li {
  color: var(--text-color) !important;
}

/* ASEGURAR LINKS VISIBLES EN MODO OSCURO */
html[data-theme="dark"] .faq-answer a,
html[data-theme="dark"] .privacy-section-item a,
html[data-theme="dark"] .nav-index a {
  color: var(--accent-color) !important;
}

html[data-theme="dark"] .faq-answer a:hover,
html[data-theme="dark"] .privacy-section-item a:hover,
html[data-theme="dark"] .nav-index a:hover {
  color: #c19b26 !important;
}

/* CORRECCIÓN FINAL CONTRASTE TEXTO */
html[data-theme="dark"] .category-description,
html[data-theme="dark"] .data-sources p,
html[data-theme="dark"] .international-transfers p,
html[data-theme="dark"] .revocation-consent p,
html[data-theme="dark"] .cookie-management p {
  color: var(--text-color) !important;
}

html[data-theme="dark"] .contact-item div p,
html[data-theme="dark"] .contact-item div small,
html[data-theme="dark"] .authority-item span {
  color: var(--text-color) !important;
}

/* CORRECCIÓN DE PLACEHOLDERS EN FORMULARIOS */
html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
  color: var(--text-light) !important;
}

/*
* ABOUT PAGE STYLES
*/

.about-section {
  padding: 4rem 0;
  background-color: var(--background-color);
}

.about-header {
  text-align: center;
  margin-bottom: 4rem;
}

.page-title {
  font-family: var(--heading-font);
  font-size: 3rem;
  color: var(--text-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-text h2 {
  font-family: var(--heading-font);
  font-size: 2.2rem;
  color: var(--text-color);
  margin-bottom: 2rem;
  font-weight: 500;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

/* MISSION SECTION */
.mission-section {
  padding: 5rem 0;
  background: var(--background-alt);
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.mission-card {
  background: var(--background-color);
  padding: 3rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.mission-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
}

.mission-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.mission-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-color), #c19b26);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem auto;
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.mission-icon i {
  font-size: 2rem;
  color: var(--primary-dark);
}

.mission-card h2 {
  font-family: var(--heading-font);
  font-size: 2rem;
  color: var(--text-color);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.mission-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.values-list {
  list-style: none;
  padding: 0;
  text-align: left;
}

.values-list li {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-color);
  position: relative;
  padding-left: 1.5rem;
}

.values-list li::before {
  content: '✨';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2rem;
}

.values-list li strong {
  color: var(--accent-color);
  font-weight: 600;
}

/* TEAM SECTION */
.team-section {
  padding: 5rem 0;
  background: var(--background-color);
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-color);
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* CONTENEDOR PRINCIPAL DEL EQUIPO */
.team-single {
  display: flex;
  justify-content: center;
  max-width: 500px;
  margin: 0 auto;
}

.team-member-featured {
  background: var(--background-color);
  padding: 3rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  position: relative;
  width: 100%;
}

.team-member-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
}

.team-member-featured:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

/* IMAGEN CIRCULAR EN LA PARTE SUPERIOR */
.team-member-featured .team-member-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 2rem auto;
  border: 4px solid var(--accent-color);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
  position: relative;
}

.team-member-featured .team-member-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.team-member-featured:hover .team-member-img img {
  transform: scale(1.1);
}

/* INFORMACIÓN DEL MIEMBRO */
.team-member-featured .team-member-info {
  padding: 0;
  text-align: center;
  background: transparent;
}

.team-member-featured .team-member-info h3 {
  font-family: var(--heading-font);
  font-size: 1.8rem;
  color: var(--text-color);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.team-member-featured .team-member-position {
  color: var(--accent-color);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
}

.team-member-featured .team-member-position::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: var(--accent-color);
}

.team-member-featured .team-member-bio {
  color: var(--text-color);
  line-height: 1.7;
  font-size: 1rem;
  max-width: 100%;
  margin: 0;
}

/* GRID PARA MÚLTIPLES MIEMBROS (mantenemos por si acaso) */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.team-member {
  background: var(--background-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.team-member-img {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.team-member-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.team-member:hover .team-member-img img {
  transform: scale(1.1);
}

.team-member-info {
  padding: 2rem;
  text-align: center;
}

.team-member-info h3 {
  font-family: var(--heading-font);
  font-size: 1.5rem;
  color: var(--text-color);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.team-member-position {
  color: var(--accent-color);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.team-member-bio {
  color: var(--text-color);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* RESPONSIVE DESIGN */
@media (max-width: 968px) {
  .team-single {
    max-width: 450px;
    padding: 0 1rem;
  }
  
  .team-member-featured {
    padding: 2.5rem;
  }
  
  .team-member-featured .team-member-img {
    width: 110px;
    height: 110px;
    flex-shrink: 0;
  }
  
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .team-member-featured {
    padding: 2rem;
  }
  
  .team-member-featured .team-member-img {
    width: 100px;
    height: 100px;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
    aspect-ratio: 1;
  }
  
  .team-member-featured .team-member-info h3 {
    font-size: 1.6rem;
  }
  
  .team-member-featured .team-member-position {
    font-size: 0.9rem;
    letter-spacing: 1.5px;
  }
  
  .team-member-featured .team-member-bio {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  .team-member-img {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .team-single {
    padding: 0 0.5rem;
  }
  
  .team-member-featured {
    padding: 1.5rem;
    border-radius: 12px;
  }
  
  .team-member-featured .team-member-img {
    width: 90px;
    height: 90px;
    border-width: 3px;
    flex-shrink: 0;
    aspect-ratio: 1;
    min-width: 90px;
    min-height: 90px;
  }
  
  .team-member-featured .team-member-info h3 {
    font-size: 1.4rem;
  }
  
  .team-member-featured .team-member-position {
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
  }
  
  .team-member-featured .team-member-bio {
    font-size: 0.9rem;
  }
  
  .team-member-info {
    padding: 1.5rem;
  }
}

@media (max-width: 360px) {
  .team-member-featured {
    padding: 1.25rem;
  }
  
  .team-member-featured .team-member-img {
    width: 80px;
    height: 80px;
    border-width: 3px;
    flex-shrink: 0;
    aspect-ratio: 1;
    min-width: 80px;
    min-height: 80px;
    margin-bottom: 1.25rem;
  }
  
  .team-member-featured .team-member-info h3 {
    font-size: 1.3rem;
  }
  
  .team-member-featured .team-member-position {
    font-size: 0.8rem;
  }
  
  .team-member-featured .team-member-bio {
    font-size: 0.85rem;
  }
}
/* TESTIMONIALS SECTION */
.testimonials-section {
  padding: 5rem 0;
  background: var(--background-alt);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial {
  background: var(--background-color);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  position: relative;
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.testimonial-quote {
  position: absolute;
  top: -15px;
  left: 3rem;
  width: 40px;
  height: 40px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.testimonial-quote i {
  color: var(--primary-dark);
  font-size: 1.2rem;
}

.testimonial-content {
  margin-bottom: 2rem;
}

.testimonial-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-color);
  font-style: italic;
  margin-top: 1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid var(--accent-color);
}

.testimonial-author-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-author-info h4 {
  color: var(--text-color);
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.testimonial-author-info p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0;
}
/* MODO OSCURO ESPECÍFICO PARA ABOUT */
html[data-theme="dark"] .about-section {
  background-color: var(--background-color);
}

html[data-theme="dark"] .mission-section {
  background: var(--background-alt);
}

html[data-theme="dark"] .team-section {
  background: var(--background-color);
}

html[data-theme="dark"] .testimonials-section {
  background: var(--background-alt);
}

html[data-theme="dark"] .mission-card {
  background: var(--background-color);
  border-color: var(--border-color);
}

html[data-theme="dark"] .team-member {
  background: var(--background-color);
  border-color: var(--border-color);
}

html[data-theme="dark"] .team-member-featured {
  background: var(--background-color);
  border-color: var(--border-color);
}

html[data-theme="dark"] .team-member-featured .team-member-info {
  background: var(--background-color);
}

html[data-theme="dark"] .testimonial {
  background: var(--background-color);
  border-color: var(--border-color);
}
/* ========================================================================= */
/*   CORRECCIONES FINALES - FOOTER Y CART                                  */
/* ========================================================================= */

/* NEWSLETTER FOOTER - BOTÓN CORREGIDO */
.form-group-footer button {
  background: var(--accent-color) !important;
  color: var(--primary-dark) !important;
  border: 1px solid var(--accent-color) !important;
  border-radius: 0 4px 4px 0;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.form-group-footer button:hover {
  background: #c19b26 !important;
  color: var(--primary-dark) !important;
  border-color: #c19b26 !important;
  transform: translateY(-1px);
}

.form-group-footer button i {
  color: var(--primary-dark) !important;
  font-size: 1rem;
}

/* FOOTER BOTTOM - CENTRADO CORREGIDO */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.footer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 800px;
}

.footer-info p {
  margin: 0.3rem 0;
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 0.85rem;
  text-align: center;
}

.footer-address,
.footer-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-address i,
.footer-contact i {
  color: var(--accent-color);
  font-size: 0.9rem;
}

.footer-certifications {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  white-space: nowrap;
}

.cert-item i {
  color: var(--accent-color);
  font-size: 1.1rem;
}

/* CART COUNT BADGE - POSICIONAMIENTO CORREGIDO */
.cart-link {
  position: relative;
  color: var(--text-color);
  text-decoration: none;
  font-size: 1.25rem;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-link:hover {
  color: var(--primary-color);
  background-color: var(--background-alt);
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: var(--accent-color) !important;
  color: var(--primary-dark) !important;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.35rem;
  border-radius: 50%;
  min-width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border: 1px solid var(--background-color);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* ICONOS REDES SOCIALES - CONSISTENCIA */
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.footer-social a:hover {
  background: var(--accent-color);
  color: var(--primary-dark) !important;
  transform: translateY(-3px);
}

.footer-social a i {
  color: inherit;
}

/* RESPONSIVE CORRECCIONES */
@media (max-width: 768px) {
  .footer-bottom {
    padding-top: 1.5rem;
    gap: 1rem;
  }
  
  .footer-certifications {
    flex-direction: column;
    gap: 1rem;
  }
  
  .footer-address,
  .footer-contact {
    flex-direction: column;
    gap: 0.25rem;
  }
  
  .form-group-footer {
    max-width: 300px;
    margin: 0 auto;
  }
  
  .cart-count {
    top: -3px;
    right: -3px;
    min-width: 14px;
    height: 14px;
    font-size: 0.65rem;
    padding: 0.1rem 0.25rem;
  }
}

@media (max-width: 480px) {
  .footer-social {
    justify-content: center;
    gap: 0.75rem;
  }
  
  .footer-social a {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }
  
  .footer-certifications {
    align-items: center;
    gap: 0.75rem;
  }
  
  .cert-item {
    font-size: 0.8rem;
  }
  
  .cart-count {
    min-width: 12px;
    height: 12px;
    font-size: 0.6rem;
  }
}

/* MODO OSCURO - AJUSTES ESPECÍFICOS */
html[data-theme="dark"] .featured-products-section {
  background: var(--background-alt);
}

html[data-theme="dark"] .products-grid-8 .product-card {
  background: var(--background-color);
  border-color: var(--border-color);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

html[data-theme="dark"] .products-grid-8 .product-card:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

html[data-theme="dark"] .products-grid-8 .product-title {
  color: var(--text-color) !important;
}

html[data-theme="dark"] .products-grid-8 .product-price {
  color: var(--text-color) !important;
}

html[data-theme="dark"] .add-to-cart-btn {
  background: var(--primary-dark);
}

html[data-theme="dark"] .add-to-cart-btn:hover {
  background: var(--accent-color);
}

/* ASEGURAR CONTRASTE EN FOOTER */
.footer-column p {
  color: rgba(255, 255, 255, 0.8) !important;
  line-height: 1.6;
}

.footer-column p strong {
  color: var(--accent-color) !important;
}

/* Corrección específica para el botón SUSCRIBIRME */
#newsletter-submit,
.newsletter-form button[type="submit"] {
    background: #d1ab32 !important;
    color: #1a252f !important;
    border: none !important;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.5px;
}

#newsletter-submit:hover,
.newsletter-form button[type="submit"]:hover {
    background: #c19b26 !important;
    color: #1a252f !important;
    transform: translateY(-1px);
}

/* Asegurar que el texto del botón sea visible */
#newsletter-submit .button-text,
.newsletter-form .button-text {
    color: #1a252f !important;
}

/* Corrección para spinner de loading */
#newsletter-submit .button-loading i,
.newsletter-form .button-loading i {
    color: #1a252f !important;
}

.radio-container {
  position: relative;
}

.radio-custom {
  transition: all 0.3s ease;
}

.shipping-option-label:hover {
  border-color: var(--primary-color) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.payment-method:hover {
  border-color: var(--primary-color) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.payment-icon {
  transition: all 0.3s ease;
}

.payment-method:hover .payment-icon {
  transform: scale(1.1);
}

/* Corrección específica para círculos de métodos de pago */
.payment-method input[type="radio"]:checked + .radio-custom {
  border-color: var(--primary-color);
}

.payment-method input[type="radio"]:checked + .radio-custom::after {
  transform: translate(-50%, -50%) scale(1);
}
/* static/css/styles.css - Corrección del Overlay de Loading */

/* =====================================================================
   OVERLAY Y NOTIFICACIONES - CORREGIDO PARA MEJOR VISIBILIDAD
   ===================================================================== */
   .loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* ✅ FONDO MÁS OSCURO PARA MEJOR CONTRASTE */
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    /* ✅ ASEGURAR TEXTO BLANCO SIEMPRE VISIBLE */
    color: #ffffff !important;
    font-family: var(--body-font), Arial, sans-serif;
    text-align: center;
    backdrop-filter: blur(3px);
}

.loading-content {
    background: rgba(26, 35, 50, 0.95);
    padding: 2.5rem 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--accent-color);
    max-width: 400px;
    width: 90%;
}

.loading-content h3 {
    /* ✅ TÍTULO COMPLETAMENTE VISIBLE */
    color: #ffffff !important;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    font-family: var(--heading-font);
}

.loading-content p {
    /* ✅ TEXTO SECUNDARIO VISIBLE */
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1rem;
    margin: 0;
    opacity: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 6px solid rgba(255, 255, 255, 0.2);
    border-top: 6px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
    /* ✅ SPINNER MÁS VISIBLE */
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

/* ✅ ANIMACIÓN MEJORADA DEL SPINNER */
@keyframes spin {
    0% { 
        transform: rotate(0deg);
    }
    100% { 
        transform: rotate(360deg);
    }
}

/* ✅ VERSIÓN ESPECÍFICA PARA MODO OSCURO */
html[data-theme="dark"] .loading-overlay {
    background: rgba(0, 0, 0, 0.9);
}

html[data-theme="dark"] .loading-content {
    background: rgba(15, 20, 25, 0.98);
    border-color: var(--accent-color);
}

html[data-theme="dark"] .loading-content h3 {
    color: #ffffff !important;
}

html[data-theme="dark"] .loading-content p {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* ✅ VERSIÓN ESPECÍFICA PARA MODO CLARO */
html[data-theme="light"] .loading-overlay {
    background: rgba(26, 35, 50, 0.9);
}

html[data-theme="light"] .loading-content {
    background: rgba(26, 35, 50, 0.95);
}

html[data-theme="light"] .loading-content h3 {
    color: #ffffff !important;
}

html[data-theme="light"] .loading-content p {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* ✅ SPINNER ESPECÍFICO PARA PAYPAL */
.paypal-loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top: 4px solid #0070ba;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

/* ✅ NOTIFICACIONES MEJORADAS */
.notifications-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    pointer-events: none;
}

.notification {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    pointer-events: auto;
    cursor: pointer;
    max-width: 350px;
    word-wrap: break-word;
    animation: slideInRight 0.4s ease;
    border-left: 4px solid transparent;
    backdrop-filter: blur(10px);
}

.notification-success {
    background: linear-gradient(135deg, var(--success-color) 0%, #2d7a3d 100%);
    color: white !important;
    border-left-color: #ffffff;
}

.notification-error {
    background: linear-gradient(135deg, var(--error-color) 0%, #8b1e1e 100%);
    color: white !important;
    border-left-color: #ffffff;
}

.notification-warning {
    background: linear-gradient(135deg, #f39c12 0%, #d68910 100%);
    color: white !important;
    border-left-color: #ffffff;
}

.notification-info {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white !important;
    border-left-color: #ffffff;
}

/* ✅ ASEGURAR VISIBILIDAD EN TODAS LAS NOTIFICACIONES */
.notification i {
    color: white !important;
    margin-right: 0.5rem;
}

.notification span {
    color: white !important;
    font-weight: 500;
}

.notification-close {
    background: none;
    border: none;
    color: white !important;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    float: right;
    margin-left: 1rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.notification-close:hover {
    opacity: 1;
}

/* ✅ ANIMACIONES MEJORADAS */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* ✅ RESPONSIVE PARA OVERLAYS */
@media (max-width: 768px) {
    .loading-content {
        padding: 2rem;
        max-width: 320px;
    }
    
    .loading-content h3 {
        font-size: 1.3rem;
    }
    
    .loading-content p {
        font-size: 0.9rem;
    }
    
    .loading-spinner {
        width: 50px;
        height: 50px;
        border-width: 5px;
    }
    
    .notification {
        max-width: 280px;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 480px) {
    .loading-content {
        padding: 1.5rem;
        max-width: 280px;
    }
    
    .loading-content h3 {
        font-size: 1.2rem;
    }
    
    .loading-spinner {
        width: 40px;
        height: 40px;
        border-width: 4px;
    }
}