/* ============================================
   RESET Y CONFIGURACIÓN GENERAL
   ============================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {

    --primary-color: #0066cc; --primary-light: #4d94ff; --primary-dark: #004d99;
    --secondary-color: #ff9900; --light-color: #f8f9fa; --dark-color: #333333;
    --gray-light: #e9ecef; --gray-medium: #6c757d; --gray-dark: #343a40;
    --success-color: #28a745; --warning-color: #ffc107; --danger-color: #dc3545;
    --white: #ffffff; --black: #000000; --ml-yellow: #FFE600; --ml-blue: #2D3277;
    --font-main: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 'Poppins', 'Arial', sans-serif; --spacing-xs: 0.5rem;
    --spacing-sm: 1rem; --spacing-md: 1.5rem; --spacing-lg: 2rem;
    --spacing-xl: 3rem; --spacing-xxl: 5rem; --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.1); --shadow-lg: 0 8px 16px rgba(0,0,0,0.1);
    --shadow-xl: 0 12px 24px rgba(0,0,0,0.1); --border-radius-sm: 4px;
    --border-radius-md: 8px; --border-radius-lg: 12px; --border-radius-xl: 20px;
    --border-radius-round: 50%;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-main); color: var(--dark-color); line-height: 1.6; background-color: var(--white); overflow-x: hidden; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--spacing-md); }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
ul, ol { list-style: none; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }

/* ============================================
   UTILIDADES
   ============================================ */
.text-center { text-align: center; } .text-left { text-align: left; } .text-right { text-align: right; }
.mt-1 { margin-top: var(--spacing-xs); } .mt-2 { margin-top: var(--spacing-sm); } .mt-3 { margin-top: var(--spacing-md); } .mt-4 { margin-top: var(--spacing-lg); } .mt-5 { margin-top: var(--spacing-xl); }
.mb-1 { margin-bottom: var(--spacing-xs); } .mb-2 { margin-bottom: var(--spacing-sm); } .mb-3 { margin-bottom: var(--spacing-md); } .mb-4 { margin-bottom: var(--spacing-lg); } .mb-5 { margin-bottom: var(--spacing-xl); }
.p-1 { padding: var(--spacing-xs); } .p-2 { padding: var(--spacing-sm); } .p-3 { padding: var(--spacing-md); } .p-4 { padding: var(--spacing-lg); } .p-5 { padding: var(--spacing-xl); }
.d-flex { display: flex; } .d-block { display: block; } .d-none { display: none; }
.flex-column { flex-direction: column; } .flex-row { flex-direction: row; }
.justify-center { justify-content: center; } .justify-between { justify-content: space-between; }
.align-center { align-items: center; } .flex-wrap { flex-wrap: wrap; }

/* ============================================
   HEADER Y NAVEGACIÓN
   ============================================ */
.header { background-color: var(--white); box-shadow: var(--shadow-md); position: sticky; top: 0; z-index: 1000; padding: var(--spacing-xs) 0; }
.navbar { display: flex; justify-content: space-between; align-items: center; padding: var(--spacing-sm) 0; }
.logo-container { display: flex; align-items: center; gap: var(--spacing-sm); }
.logo { height: 50px; width: auto; transition: transform 0.3s ease; }
.logo:hover { transform: scale(1.05); }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-main { font-size: 1.5rem; font-weight: 700; color: var(--primary-color); font-family: var(--font-heading); }
.logo-accent { font-size: 1.2rem; font-weight: 600; color: var(--secondary-color); font-family: var(--font-heading); }

/* BUSCADOR */
.header-search { flex: 1; max-width: 400px; margin: 0 var(--spacing-lg); }
.search-form { display: flex; background: var(--white); border-radius: var(--border-radius-xl); overflow: hidden; border: 2px solid var(--gray-light); transition: border-color 0.3s ease; }
.search-form:focus-within { border-color: var(--primary-color); }
.search-form input { flex: 1; padding: 0.75rem var(--spacing-md); border: none; outline: none; font-size: 0.95rem; background: transparent; }
.search-form button { background: var(--primary-color); color: var(--white); border: none; padding: 0 var(--spacing-md); cursor: pointer; transition: background-color 0.3s ease; }
.search-form button:hover { background: var(--primary-dark); }

/* ACCIONES HEADER */
.header-actions { display: flex; align-items: center; gap: var(--spacing-md); }
.cart-badge { position: relative; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: var(--light-color); border-radius: var(--border-radius-round); color: var(--dark-color); font-size: 1.2rem; transition: all 0.3s ease; }
.cart-badge:hover { background: var(--primary-color); color: var(--white); }
.cart-count { position: absolute; top: -5px; right: -5px; background: var(--danger-color); color: var(--white); border-radius: var(--border-radius-round); width: 20px; height: 20px; font-size: 0.75rem; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.ml-icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: var(--ml-yellow); color: var(--ml-blue); border-radius: var(--border-radius-round); font-size: 1.2rem; transition: all 0.3s ease; }
.ml-icon:hover { transform: scale(1.1); box-shadow: var(--shadow-md); }

/* NAVEGACIÓN */
.nav-links { display: flex; gap: var(--spacing-md); align-items: center; }
.nav-links a { font-weight: 500; font-size: 0.95rem; padding: var(--spacing-xs) var(--spacing-sm); border-radius: var(--border-radius-md); transition: all 0.3s ease; position: relative; }
.nav-links a:hover { color: var(--primary-color); background: rgba(0, 102, 204, 0.1); }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 0; height: 2px; background: var(--primary-color); transition: width 0.3s ease; }
.nav-links a:hover::after { width: 70%; }
.ml-button { background: linear-gradient(135deg, var(--ml-yellow), #ffd700); color: var(--ml-blue) !important; font-weight: 600 !important; padding: 0.6rem 1.5rem !important; border-radius: var(--border-radius-xl) !important; border: none !important; display: flex; align-items: center; gap: var(--spacing-xs); transition: all 0.3s ease !important; }
.ml-button:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); background: linear-gradient(135deg, #ffd700, var(--ml-yellow)) !important; }

/* MENÚ MÓVIL */
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.5rem; color: var(--dark-color); cursor: pointer; width: 40px; height: 40px; border-radius: var(--border-radius-md); transition: background-color 0.3s ease; }
.mobile-menu-btn:hover { background: var(--gray-light); }

/* ============================================
   HERO SECTION
   ============================================ */
.hero { background: linear-gradient(135deg, rgba(0, 51, 102, 0.9), rgba(0, 102, 204, 0.9)); color: var(--white); padding: var(--spacing-xxl) 0; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="white" opacity="0.05"/></svg>'); background-size: cover; }
.hero-content { position: relative; z-index: 1; text-align: center; max-width: 800px; margin: 0 auto; }
.hero h1 { font-size: 3.5rem; font-weight: 800; margin-bottom: var(--spacing-md); line-height: 1.1; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); animation: fadeInUp 0.8s ease forwards; }
.hero h2 { font-size: 1.8rem; font-weight: 400; margin-bottom: var(--spacing-lg); opacity: 0.95; animation: fadeInUp 0.8s ease 0.2s forwards; opacity: 0; }
.hero p { font-size: 1.2rem; margin-bottom: var(--spacing-xl); opacity: 0.9; max-width: 600px; margin-left: auto; margin-right: auto; animation: fadeInUp 0.8s ease 0.4s forwards; opacity: 0; }
.hero-buttons { display: flex; gap: var(--spacing-md); justify-content: center; flex-wrap: wrap; margin-bottom: var(--spacing-xl); animation: fadeInUp 0.8s ease 0.6s forwards; opacity: 0; }

/* ============================================
   BOTONES
   ============================================ */
.btn-primary, .btn-secondary { display: inline-flex; align-items: center; justify-content: center; gap: var(--spacing-xs); padding: 0.9rem 2rem; border-radius: var(--border-radius-xl); font-weight: 600; font-size: 1rem; cursor: pointer; transition: all 0.3s ease; border: 2px solid transparent; text-align: center; line-height: 1; }
.btn-primary { background: var(--primary-color); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-secondary { background: #25D366; color: var(--white); border-color: var(--white); }
.btn-secondary:hover { background: var(--white); color: var(--primary-color); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.whatsapp-btn { background: #25D366; color: var(--white); }
.whatsapp-btn:hover { background: #128C7E; transform: translateY(-2px); box-shadow: 0 8px 16px rgba(37, 211, 102, 0.3); }

.btn-ml1{background:var(--ml-yellow);color:var(--ml-blue);border:2px solid rgba(0,0,0,0.06);font-weight: 600; font-size: 1rem;padding:0.9rem 2rem;border-radius:var(--border-radius-xl);}
.btn-ml1:hover{ background: #ff9900; transform: translateY(-2px); box-shadow: 0 8px 16px rgba(37, 211, 102, 0.3); }


/* ============================================
   SELLO MERCADO LIBRE
   ============================================ */
.mercado-libre-badge { animation: fadeInUp 0.8s ease 0.8s forwards; opacity: 0; }
.ml-seal { display: inline-flex; align-items: center; gap: var(--spacing-sm); background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); padding: var(--spacing-sm) var(--spacing-lg); border-radius: var(--border-radius-xl); border: 1px solid rgba(255, 255, 255, 0.2); }
.ml-seal i { font-size: 2rem; color: var(--ml-yellow); }
.ml-info { display: flex; flex-direction: column; gap: 2px; }
.ml-info span { font-weight: 600; font-size: 0.9rem; }
.stars { display: flex; align-items: center; gap: 2px; }
.stars i { font-size: 0.8rem; color: #FFD700; }
.rating { font-size: 0.8rem; opacity: 0.9; margin-left: var(--spacing-xs); }

/* ============================================
   RESULTADOS DE BÚSQUEDA
   ============================================ */
.search-results { background: var(--light-color); padding: var(--spacing-xl) 0; margin: 0; }
.no-results { text-align: center; padding: var(--spacing-xl); background: var(--white); border-radius: var(--border-radius-lg); box-shadow: var(--shadow-md); }

/* ============================================
   CATEGORÍAS
   ============================================ */
.categories { padding: var(--spacing-xxl) 0; background: var(--white); }
.categories-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--spacing-lg); margin-top: var(--spacing-xl); }
.category-card { background: var(--white); border-radius: var(--border-radius-lg); padding: var(--spacing-lg); text-align: center; box-shadow: var(--shadow-md); transition: all 0.3s ease; border: 2px solid transparent; }
.category-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); border-color: var(--primary-color); }
.category-icon { width: 70px; height: 70px; background: linear-gradient(135deg, var(--primary-color), var(--primary-light)); border-radius: var(--border-radius-round); display: flex; align-items: center; justify-content: center; margin: 0 auto var(--spacing-md); color: var(--white); font-size: 1.8rem; }
.category-card h3 { color: var(--dark-color); margin-bottom: var(--spacing-xs); font-size: 1.2rem; }
.category-card p { color: var(--gray-medium); font-size: 0.9rem; }

/* ============================================
   PRODUCTOS DESTACADOS
   ============================================ */
.featured-products { padding: var(--spacing-xxl) 0; background: var(--light-color); }
.section-title { text-align: center; margin-bottom: var(--spacing-xl); }
.section-title h2 { font-size: 2.5rem; color: var(--primary-dark); margin-bottom: var(--spacing-sm); position: relative; display: inline-block; }
.section-title h2::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 80px; height: 4px; background: var(--secondary-color); border-radius: 2px; }
.section-title p { color: var(--gray-medium); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.mercado-libre-notice { display: inline-flex; align-items: center; gap: var(--spacing-xs); background: rgba(255, 230, 0, 0.1); padding: var(--spacing-xs) var(--spacing-md); border-radius: var(--border-radius-xl); margin-top: var(--spacing-md); color: var(--ml-blue); font-weight: 500; }
.mercado-libre-notice i { color: var(--ml-yellow); }

/* ============================================
   GRID DE PRODUCTOS
   ============================================ */

.product-image-container{height:240px;background:#fff;display:flex;align-items:center;justify-content:center;}
.product-image{width:100%;height:100%;object-fit:contain;transform:none !important;}
.product-card:hover .product-image{transform:none;}

/*.product-image-container { position: relative; overflow: hidden; height: 200px; }
.product-image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-image { transform: scale(1.05); }*/

.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--spacing-lg); margin-bottom: var(--spacing-xl); }
.product-card { background: var(--white); border-radius: var(--border-radius-lg); overflow: hidden; box-shadow: var(--shadow-md); transition: all 0.3s ease; position: relative; height: 100%; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); }
.product-badge { position: absolute; top: 15px; right: 15px; background: var(--secondary-color); color: var(--white); padding: 0.3rem 0.8rem; border-radius: var(--border-radius-xl); font-size: 0.75rem; font-weight: 600; z-index: 2; }
.product-info { padding: var(--spacing-lg); flex: 1; display: flex; flex-direction: column; }
.product-info h3 { color: var(--dark-color); font-size: 1.1rem; margin-bottom: var(--spacing-sm); line-height: 1.3; flex: 1; }

/* COMPARACIÓN DE PRECIOS */
.price-comparison{display:flex;gap:12px;margin:var(--spacing-md) 0;}
.our-price,.ml-price{flex:1;padding:12px;border-radius:var(--border-radius-md);text-align:center;background:#f8f9fa;}
.our-price{border:2px solid #25D366;background:#f3fcf6;}
.ml-price{border:2px solid var(--gray-light);}
.our-price span,.ml-price span{display:block;font-size:0.8rem;color:var(--gray-medium);margin-bottom:4px;}
.our-price strong,.ml-price strong{font-size:1.3rem;font-weight:700;}
.our-price strong{color:#128C7E;}
.ml-price strong{color:var(--gray-dark);}



/* CARACTERÍSTICAS */
.product-features { margin: var(--spacing-md) 0; flex: 1; }
.product-features ul { display: flex; flex-direction: column; gap: 6px; }
.product-features li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.85rem; color: var(--gray-medium); }
.product-features i { color: var(--success-color); font-size: 0.8rem; margin-top: 2px; flex-shrink: 0; }

/* ACCIONES DUALES */

.dual-actions{display:flex;flex-direction:column;gap:10px;margin-top:var(--spacing-md);}
.dual-actions .btn,.dual-actions a.btn{width:100%;justify-content:center;padding:0.75rem 0.9rem;border-radius:var(--border-radius-xl);font-weight:700;line-height:1;}


/*.dual-actions { display: flex; gap: var(--spacing-sm); margin-top: var(--spacing-md); }
.dual-actions .btn { flex: 1; padding: 0.7rem; font-size: 0.9rem; }*/
.add-cart-form { flex: 1; }
.add-cart-form button { width: 100%; justify-content: center; }
.additional-options { margin-top: var(--spacing-sm); text-align: center; }
.whatsapp-link { display: inline-flex; align-items: center; gap: 6px; color: var(--primary-color); font-size: 0.85rem; font-weight: 500; transition: color 0.3s ease; }
.whatsapp-link:hover { color: #25D366; }

.triple-actions{display:flex;gap:10px;margin-bottom:15px;flex-wrap:wrap;}
.triple-actions .btn-primary,.triple-actions .btn-secondary,.triple-actions .btn-tertiary{flex:1 1 0;min-width:0;padding:12px;text-align:center;font-size:0.85rem;border-radius:6px;text-decoration:none;display:flex;align-items:center;justify-content:center;gap:6px;transition:all 0.3s;}
.triple-actions .btn-primary{background:var(--primary-color);color:#fff;}
.triple-actions .btn-primary:hover{background:var(--primary-dark);transform:translateY(-2px);}
.triple-actions .btn-secondary{background:#25D366;color:#fff;}
.triple-actions .btn-secondary:hover{background:#128C7E;transform:translateY(-2px);}
.triple-actions .btn-tertiary{background:var(--ml-yellow);color:var(--ml-blue);}
.triple-actions .btn-tertiary:hover{filter:brightness(0.95);transform:translateY(-2px);}


/* VER TODOS */
.view-all-section { text-align: center; margin-top: var(--spacing-xl); }

/* ============================================
   CARRITO DE COMPRAS
   ============================================ */
.shopping-cart { padding: var(--spacing-xxl) 0; background: var(--white); }
.cart-header { text-align: center; margin-bottom: var(--spacing-xl); }
.cart-header h2 { font-size: 2.2rem; color: var(--primary-dark); margin-bottom: var(--spacing-xs); }
.cart-header p { color: var(--gray-medium); font-size: 1.1rem; }
.empty-cart { text-align: center; padding: var(--spacing-xxl) 0; background: var(--light-color); border-radius: var(--border-radius-lg); }
.empty-cart i { color: var(--gray-light); font-size: 4rem; margin-bottom: var(--spacing-lg); }
.empty-cart h3 { color: var(--gray-medium); margin-bottom: var(--spacing-sm); }
.empty-cart p { color: var(--gray-medium); }

/* ITEMS DEL CARRITO */
.cart-items { background: var(--white); border-radius: var(--border-radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.cart-item { display: grid; grid-template-columns: 100px 1fr auto auto; gap: var(--spacing-lg); align-items: center; padding: var(--spacing-lg); border-bottom: 1px solid var(--gray-light); }
.cart-item:last-child { border-bottom: none; }
.cart-item-image { width: 100px; height: 100px; object-fit: cover; border-radius: var(--border-radius-md); }
.cart-item-details { flex: 1; }
.cart-item-details h4 { color: var(--dark-color); margin-bottom: var(--spacing-xs); font-size: 1.1rem; }
.item-price { color: var(--primary-color); font-weight: 600; font-size: 1rem; }
.cart-item-quantity { color: var(--gray-medium); font-size: 0.95rem; }
.cart-item-total { color: var(--dark-color); font-weight: 700; font-size: 1.2rem; }

/* RESUMEN DEL CARRITO */
.cart-summary { padding: var(--spacing-xl); background: var(--light-color); border-top: 2px solid var(--gray-light); }
.summary-row { display: flex; justify-content: space-between; align-items: center; padding: var(--spacing-sm) 0; color: var(--gray-medium); }
.summary-row.total { border-top: 2px solid var(--gray-light); padding-top: var(--spacing-md); margin-top: var(--spacing-md); color: var(--dark-color); font-size: 1.3rem; font-weight: 700; }
.free-shipping { color: var(--success-color); font-weight: 600; }
.cart-actions { display: flex; gap: var(--spacing-md); justify-content: center; margin-top: var(--spacing-xl); }
.cart-actions .btn { min-width: 200px; }

/* ============================================
   SERVICIOS
   ============================================ */
.services { padding: var(--spacing-xxl) 0; background: var(--light-color); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: var(--spacing-lg); margin-top: var(--spacing-xl); }
.service-card { background: var(--white); border-radius: var(--border-radius-lg); padding: var(--spacing-xl); text-align: center; box-shadow: var(--shadow-md); transition: all 0.3s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); }
.service-icon { width: 80px; height: 80px; background: linear-gradient(135deg, var(--primary-color), var(--primary-light)); border-radius: var(--border-radius-round); display: flex; align-items: center; justify-content: center; margin: 0 auto var(--spacing-lg); color: var(--white); font-size: 2rem; }
.service-card h3 { color: var(--dark-color); margin-bottom: var(--spacing-sm); font-size: 1.3rem; }
.service-card p { color: var(--gray-medium); line-height: 1.6; }

/* ============================================
   CONTACTO - ESTILOS ESPECÍFICOS
   ============================================ */
.contact { padding: var(--spacing-xxl) 0; background: var(--white); }
.contact .section-title h2 { font-size: 2.2rem; color: var(--primary-dark); margin-bottom: 0.5rem; }
.contact .section-title p { color: var(--gray-medium); font-size: 1rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-xl); margin-top: var(--spacing-xl); }
.contact-info { background: var(--light-color); padding: var(--spacing-lg); border-radius: var(--border-radius-lg); display: flex; flex-direction: column; gap: var(--spacing-lg); }
.contact-item { display: flex; align-items: flex-start; gap: var(--spacing-md); padding-bottom: var(--spacing-md); border-bottom: 1px solid var(--gray-light); }
.contact-item:last-child { border-bottom: none; padding-bottom: 0; }
.contact-icon { width: 50px; height: 50px; background: var(--primary-color); color: var(--white); border-radius: var(--border-radius-round); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.contact-item h4 { color: var(--primary-dark); font-size: 1.1rem; margin-bottom: 0.25rem; }
.contact-item a { color: var(--primary-color); font-weight: 500; display: block; margin-bottom: 0.25rem; }
.contact-item a:hover { color: var(--primary-dark); text-decoration: underline; }
.contact-item p { color: var(--gray-medium); font-size: 0.95rem; line-height: 1.5; }

/* FORMULARIO DE CONTACTO */
.contact-form { background: var(--white); border: 1px solid var(--gray-light); padding: var(--spacing-xl); border-radius: var(--border-radius-lg); box-shadow: var(--shadow-md); }
.contact-form h3 { color: var(--primary-dark); font-size: 1.4rem; margin-bottom: var(--spacing-lg); padding-bottom: 0.5rem; border-bottom: 2px solid var(--secondary-color); }
.form-group { margin-bottom: var(--spacing-md); }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 0.9rem var(--spacing-md); border: 2px solid var(--gray-light); border-radius: var(--border-radius-md); font-size: 1rem; transition: all 0.3s ease; background: var(--white); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1); }
.form-group textarea { min-height: 150px; resize: vertical; }
.contact-form .btn-primary { width: 100%; margin-top: var(--spacing-md); }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: var(--gray-dark); color: var(--white); padding: var(--spacing-xxl) 0 var(--spacing-xl); }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: var(--spacing-xl); margin-bottom: var(--spacing-xl); }
.footer-about { display: flex; flex-direction: column; gap: var(--spacing-md); }
.footer-logo { display: flex; align-items: center; gap: var(--spacing-sm); margin-bottom: var(--spacing-sm); }
.footer-logo img { height: 40px; }
.footer-about p { color: rgba(255, 255, 255, 0.7); line-height: 1.6; font-size: 0.95rem; }
.social-links { display: flex; gap: var(--spacing-sm); margin-top: var(--spacing-md); }
.social-links a { width: 40px; height: 40px; background: rgba(255, 255, 255, 0.1); border-radius: var(--border-radius-round); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.1rem; transition: all 0.3s ease; }
.social-links a:hover { background: var(--primary-color); transform: translateY(-3px); }
.footer-links h4 { color: var(--white); margin-bottom: var(--spacing-lg); font-size: 1.2rem; position: relative; padding-bottom: var(--spacing-xs); }
.footer-links h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 2px; background: var(--primary-color); }
.footer-links ul { display: flex; flex-direction: column; gap: var(--spacing-sm); }
.footer-links li a { color: rgba(255, 255, 255, 0.7); transition: all 0.3s ease; display: flex; align-items: center; gap: var(--spacing-xs); }
.footer-links li a:hover { color: var(--white); padding-left: 5px; }
.footer-payment { display: flex; flex-direction: column; gap: var(--spacing-md); }
.payment-icons { display: flex; gap: var(--spacing-sm); font-size: 2rem; color: rgba(255, 255, 255, 0.7); margin-bottom: var(--spacing-sm); }
.payment-note { display: flex; align-items: center; gap: var(--spacing-xs); color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; }
.payment-note i { color: var(--success-color); }
.footer-bottom { text-align: center; padding-top: var(--spacing-xl); border-top: 1px solid rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.5); font-size: 0.9rem; }

/* ============================================
   WHATSAPP FLOTANTE
   ============================================ */
.whatsapp-fixed { position: fixed; bottom: var(--spacing-lg); right: var(--spacing-lg); width: 60px; height: 60px; background: #25D366; color: var(--white); border-radius: var(--border-radius-round); display: flex; align-items: center; justify-content: center; font-size: 30px; text-decoration: none; z-index: 999; box-shadow: var(--shadow-lg); transition: all 0.3s ease; }
.whatsapp-fixed:hover { transform: scale(1.1); box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4); }

/* ============================================
   NOTIFICACIONES
   ============================================ */
.notification { position: fixed; top: var(--spacing-lg); right: var(--spacing-lg); background: var(--success-color); color: var(--white); padding: var(--spacing-md) var(--spacing-lg); border-radius: var(--border-radius-md); z-index: 1000; animation: slideIn 0.3s ease; display: none; max-width: 350px; box-shadow: var(--shadow-lg); }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .hero h1 { font-size: 2.8rem; } .section-title h2 { font-size: 2rem; } .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .header-search { max-width: 300px; margin: 0 var(--spacing-sm); } .mobile-menu-btn { display: block; }
    .nav-links { position: fixed; top: 80px; left: -100%; width: 100%; flex-direction: column; background-color: var(--white); padding: var(--spacing-lg); box-shadow: var(--shadow-lg); transition: left 0.3s ease; z-index: 999; }
    .nav-links.active { left: 0; } .hero h1 { font-size: 2.2rem; } .hero h2 { font-size: 1.4rem; }
    .hero p { font-size: 1rem; } .hero-buttons { flex-direction: column; align-items: center; }
    .products-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
    .cart-item { grid-template-columns: 80px 1fr; gap: var(--spacing-md); } .cart-item-quantity, .cart-item-total { grid-column: 1 / -1; }
    .cart-actions { flex-direction: column; } .cart-actions .btn { width: 100%; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); } .services-grid { grid-template-columns: 1fr; }
    .contact-info, .contact-form { padding: var(--spacing-md); }
}

@media (max-width: 480px) {
    .container { padding: 0 var(--spacing-sm); } .header-search { display: none; } .logo-text { display: none; }
    .hero h1 { font-size: 1.8rem; } .hero h2 { font-size: 1.2rem; } .section-title h2 { font-size: 1.6rem; }
    .products-grid { grid-template-columns: 1fr; } .price-comparison { flex-direction: column; gap: var(--spacing-sm); }
    .dual-actions { flex-direction: column; } .categories-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; } .whatsapp-fixed { bottom: 15px; right: 15px; width: 50px; height: 50px; font-size: 24px; }
    .contact-item { flex-direction: column; text-align: center; } .contact-icon { margin: 0 auto; }
}

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

/* ============================================
   ESTILOS ADICIONALES PARA FILTROS Y DETALLES
   ============================================ */
.filtros-categorias { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 30px; }
.filtro-btn { padding: 8px 20px; border: 2px solid var(--primary-color); background: transparent; color: var(--primary-color); border-radius: 20px; cursor: pointer; font-weight: 500; transition: all 0.3s ease; }
.filtro-btn:hover, .filtro-btn.active { background: var(--primary-color); color: white; }
.marca { color: #666; font-size: 0.9rem; margin-bottom: 10px; }
.stock-info { display: flex; align-items: center; gap: 5px; color: #28a745; font-size: 0.85rem; margin-top: 10px; }
.small-text { font-size: 0.85rem; color: #888; margin-top: 5px; }

/* ============================================
   DEBUG PARA IMÁGENES QUE NO CARGAN
   ============================================ */
img[src=""] { border: 2px dashed red; min-height: 50px; background: #f0f0f0; }
img:not([src]) { border: 2px dashed orange; min-height: 50px; background: #f8f8f8; }
.logo:before { content: "VF"; display: none; }
.logo[src=""], .logo:not([src]), .logo[src*="1.png"]:not([src]) { position: relative; }
.logo[src=""]:before, .logo:not([src]):before { content: "VF"; display: flex; align-items: center; justify-content: center; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: var(--primary-color); color: white; font-weight: bold; font-size: 1.2rem; border-radius: 5px; }