/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@1,600;1,700&family=Poppins:wght@300;500&display=swap');

:root {
  /* Paleta de colores principal - Tema Moderno y Fresco */
  --color-primario: #4a6fa5;
  --color-primario-oscuro: #3a5a8c;
  --color-primario-claro: #6b8cae;
  --color-secundario: #ff7e5f;
  --color-fondo: #f8f9fa;
  --color-fondo-secundario: #e9ecef;
  --color-texto: #000000;
  --color-texto-claro: #333333;
  --color-borde: #dee2e6;
  --color-blanco: #ffffff;
  --color-exito: #28a745;
  --color-alerta: #ffc107;
  --color-peligro: #dc3545;
  --color-destacado: #6f42c1;
  --color-sombra: rgba(0, 0, 0, 0.05);
  
  /* Sombras */
  --sombra-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --sombra: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --sombra-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --sombra-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Bordes */
  --radio-borde: 0.75rem;
  --radio-borde-sm: 0.5rem;
  
  /* Transiciones */
  --transicion-rapida: all 0.2s ease-in-out;
  --transicion: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transicion-lenta: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Tipografía */
  --fuente-titulo: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --fuente-texto: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Espaciado */
  --espaciado-xs: 0.5rem;
  --espaciado-sm: 1rem;
  --espaciado-md: 1.5rem;
  --espaciado-lg: 2rem;
  --espaciado-xl: 3rem;
  
  /* Z-index */
  --z-index-nav: 1000;
  --z-index-modal: 2000;
  --z-index-toast: 3000;
  --z-index-whatsapp: 999;
}

/* ======================
   RESET Y BASE
   ====================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  font-family: var(--fuente-texto);
  line-height: 1.6;
  color: #000000;
  background-color: var(--color-fondo);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow-x: hidden;
}

/* ======================
   NAVBAR
   ====================== */
.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 20px;
  background: white;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: var(--z-index-nav);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  height: 80px;
  transition: var(--transicion);
}

.navbar.scrolled {
  padding: 10px 20px;
  height: 70px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 12px;
  transition: var(--transicion);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #333;
}

.logo:focus {
  outline: 2px solid var(--color-primario);
  outline-offset: 4px;
  border-radius: 4px;
}

.logo-img {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.logo:hover .logo-img {
  transform: scale(1.05);
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

@media (max-width: 576px) {
  .logo-text {
    font-size: 1.25rem;
  }
  
  .logo-img {
    width: 35px;
    height: 35px;
  }
}

/* Menú de navegación */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.nav-link {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primario);
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  color: var(--color-primario);
  outline: none;
}

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

/* Botón de menú móvil */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1002;
}

.menu-toggle:focus {
  outline: 2px solid var(--color-primario);
  outline-offset: 4px;
  border-radius: 4px;
}

.hamburger {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #333;
  border-radius: 3px;
  transition: var(--transicion);
}

/* Overlay del menú móvil */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: var(--transicion);
  z-index: 1000;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Estilos responsivos */
@media (max-width: 992px) {
  .menu-toggle {
    display: flex;
  }
  
  .main-nav {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 300px;
    height: calc(100vh - 80px);
    background: white;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 2rem;
    box-shadow: -2px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1001;
    overflow-y: auto;
  }
  
  .navbar.scrolled .main-nav {
    top: 70px;
    height: calc(100vh - 70px);
  }
  
  .main-nav.active {
    right: 0;
  }
  
  .nav-links {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  
  .nav-links li {
    border-bottom: 1px solid var(--color-borde);
  }
  
  .nav-link {
    display: block;
    padding: 1rem 0;
    font-size: 1rem;
  }
  
  .nav-link::after {
    display: none;
  }
}

@media (max-width: 576px) {
  .main-nav {
    width: 100%;
    right: -100%;
  }
  
  .logo-text {
    font-size: 1.25rem;
  }
  
  .logo-img {
    width: 35px;
    height: 35px;
  }
}

/* Clase para deshabilitar el scroll cuando el menú está abierto */
body.no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

/* Logo link styles */
.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.logo-img {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.3s ease;
  background-color: white;
  padding: 5px;
  border-radius: 50%;
  transition: transform 0.5s ease-in-out;
  animation: float 4s ease-in-out infinite;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.logo-text {
  display: inline-block;
  color: #333;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  padding: 0;
  line-height: 1;
  vertical-align: middle;
}

/* Contenedor principal de navegación */
.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Contenedor principal de navegación */
.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Contenedor del menú central */
.nav-center {
  flex: 1;
  display: flex;
  justify-content: center;
  margin: 0 20px;
}

/* Menú de navegación */
.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
  margin: 0;
  padding: 0;
  align-items: center;
}

/* Estilos para los enlaces de navegación */
.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s;
  padding: 8px 0;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: #8c33ff;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #8c33ff;
}

/* Botón de menú móvil */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1002;
  margin-left: 15px;
}

.menu-toggle i {
  font-size: 24px;
  color: #333;
}

/* Overlay para el menú móvil */
.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s;
}

.menu-overlay.active {
  display: block;
  opacity: 1;
}

/* Estilos para móviles */
@media (max-width: 992px) {
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
  }

  .menu-toggle .hamburger {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #333;
    transition: all 0.3s;
  }

  .menu-toggle.active .hamburger:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
  }

  .menu-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
    transform: scale(0);
  }

  .menu-toggle.active .hamburger:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    gap: 0;
    padding: 20px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 12px 20px;
  }

  .nav-links a.active::after {
    display: none;
  }

  .nav-links a.active {
    background-color: #f8f9fa;
  }
}

.nav-links li {
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 0;
  position: relative;
  font-family: 'Poppins', sans-serif;
}

.nav-links a.active {
  color: #8c33ff;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #8c33ff;
}

.nav-links a:hover {
  color: #8c33ff;
}

/* Búsqueda */
.nav-search {
  position: relative;
  width: 250px;
  margin-right: 20px;
}

.search-form {
  position: relative;
  width: 100%;
}

.search-input {
  width: 100%;
  padding: 10px 40px 10px 15px;
  border: 1px solid var(--color-borde);
  border-radius: 30px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  background-color: #f8f9fa;
}

.search-input:focus {
  outline: none;
  border-color: var(--color-primario);
  box-shadow: 0 0 0 2px rgba(74, 111, 165, 0.2);
  background-color: white;
}

.search-button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--color-primario);
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Iconos */
.nav-icons {
  display: flex;
  align-items: center;
  gap: 15px;
}

.search-btn,
.user-btn,
.cart-link {
  color: #444;
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.search-btn:hover,
.user-btn:hover,
.cart-link:hover {
  color: #8c33ff;
  background-color: rgba(140, 51, 255, 0.1);
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #2d3559;
  color: white;
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  padding: 2px 5px;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Botón de menú móvil */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1002;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
}

.hamburger {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #333;
  transition: all 0.3s ease;
  transform-origin: center;
}

.menu-toggle.active .hamburger:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.menu-toggle.active .hamburger:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.menu-toggle.active .hamburger:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* ======================
   HERO BANNER
   ====================== */
.hero-banner {
  position: relative;
  height: 80vh;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: white;
  text-align: left;
  padding: 0 5%;
  margin-top: 80px;
  margin-bottom: 4rem;
  background-color: #000;
  overflow: hidden;
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  animation: fadeInUp 1s ease-out;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-text p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.btn-hero {
  display: inline-block;
  background-color: var(--color-primario);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-hero:hover {
  background-color: var(--color-primario-oscuro);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

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

/* ======================
   CONTENIDO PRINCIPAL
   ====================== */
.main-content {
  flex: 1;
  padding: 40px 0;
  background-color: #fff;
  width: 100%;
  margin: 80px auto 0;
  max-width: 100%;
  box-sizing: border-box;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 3rem;
  color: var(--color-texto);
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--color-primario);
}

/* Product grid styles are now in productos.css */

/* Product card styles are now in productos.css */
/* Product card styles - moved to productos.css */
.product-card {
  /* Reset base styles - actual styles are in productos.css */
  all: unset;
}

/* Responsive container for the products grid */
.products-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

/* Responsive typography */
:root {
  --font-size-sm: clamp(0.8rem, 0.5vw + 0.7rem, 0.9rem);
  --font-size-md: clamp(0.9rem, 1vw + 0.7rem, 1rem);
  --font-size-lg: clamp(1rem, 1.2vw + 0.7rem, 1.25rem);
  --font-size-xl: clamp(1.25rem, 1.5vw + 0.8rem, 1.5rem);
}

/* Base responsive adjustments */
html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  width: 100%;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.product-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--color-primario);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 2;
}

.product-info {
  padding: 1.25rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  color: #333;
  line-height: 1.4;
  height: 2.8em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-price {
  margin: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.current-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primario);
}

.old-price {
  font-size: 0.9rem;
  color: #999;
  text-decoration: line-through;
}

.product-buttons {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #f0f0f0;
}

.btn-view-details,
.add-to-cart-btn {
  flex: 1;
  padding: 0.6rem 0.75rem;
  border: none;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-view-details {
  background: #f8f9fa;
  color: #555;
  border: 1px solid #e9ecef;
}

.btn-view-details:hover {
  background: #e9ecef;
  color: #333;
  transform: translateY(-2px);
}

.add-to-cart-btn {
  background: var(--color-primario);
  color: white;
}

.add-to-cart-btn:hover {
  background: var(--color-primario-oscuro);
  transform: translateY(-2px);
}

/* ======================
   FOOTER
   ====================== */
.footer {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #fff;
  padding: 3rem 0 1rem;
  position: relative;
  margin-top: 4rem;
  font-size: 0.95rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 3.5rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
  padding: 0 2rem;
}

.footer-section h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--color-primario);
}

.footer-section p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
  padding: 0.3rem 0;
}

.footer-links a:hover {
  color: var(--color-primario-claro);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--color-primario);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #888;
}

/* Botón de WhatsApp flotante */
.whatsapp-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 999;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-button:hover {
  background-color: #128C7E;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* ======================
   RESPONSIVE
   ====================== */

/* Tablets grandes y laptops pequeñas */
@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
  
  .hero-text h1 {
    font-size: 3rem;
  }
  
  .navbar {
    padding: 15px 30px;
  }
}

/* Tablets */
@media (max-width: 992px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav-center {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 300px;
    height: calc(100vh - 80px);
    background: white;
    flex-direction: column;
    justify-content: flex-start;
    padding: 2rem;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    z-index: 999;
    overflow-y: auto;
  }
  
  .nav-center.active {
    left: 0;
  }
  
  .nav-links {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }
  
  .nav-links li {
    width: 100%;
  }
  
  .nav-links a {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 4px;
  }
  
  .nav-links a:hover,
  .nav-links a.active {
    background-color: #f8f9fa;
  }
  
  .nav-links a.active::after {
    display: none;
  }
  
  .nav-search {
    width: 100%;
    margin: 1rem 0;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
}

/* Móviles grandes */
@media (max-width: 768px) {
  .navbar {
    padding: 12px 20px;
    height: 70px;
  }
  
  .logo-img {
    height: 35px;
  }
  
  .logo-text {
    font-size: 1.25rem;
  }
  
  .hero-banner {
    height: 60vh;
    min-height: 400px;
    margin-top: 70px;
    padding: 0 3%;
  }
  
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .hero-text p {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .whatsapp-button {
    width: 50px;
    height: 50px;
    font-size: 25px;
    bottom: 20px;
    right: 20px;
  }
}

/* Móviles pequeños */
@media (max-width: 576px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 0.5rem;
  }
  
  .navbar {
    padding: 10px 15px;
    height: 65px;
  }
  
  .nav-center {
    width: 85%;
  }
  
  .hero-text h1 {
    font-size: 1.75rem;
  }
  
  .hero-text p {
    font-size: 0.95rem;
  }
  
  .btn-hero {
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .product-card {
    max-width: 400px;
    margin: 0 auto;
  }
}

/* Muy pequeños */
@media (max-width: 360px) {
  .navbar {
    padding: 8px 10px;
  }
  
  .logo-text {
    font-size: 1.1rem;
  }
  
  .hero-text h1 {
    font-size: 1.5rem;
  }
  
  .products-grid {
    gap: 0.75rem;
  }
}