/* =====================================================
   RADIELECTRO - ESTILOS ULTRA MODERNOS 2025
   ===================================================== */

/* Variables - Paleta Moderna */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #0f172a;
    --accent: #06b6d4;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --text: #1e293b;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --bg: #f8fafc;
    --bg-card: #ffffff;
    --bg-dark: #0f172a;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
    
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    
    --font: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; min-height: 100vh; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; font-size: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 768px) { .container { padding: 0 16px; } }

/* HEADER */
.header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border-light); }
.header-top { background: linear-gradient(135deg, var(--secondary), #1e293b); color: white; padding: 10px 0; font-size: 0.85rem; }
.header-top-content { display: flex; justify-content: space-between; align-items: center; }
.contact-info { display: flex; gap: 24px; }
.contact-info a { color: rgba(255,255,255,0.9); display: flex; align-items: center; gap: 8px; font-weight: 500; }
.contact-info a:hover { color: var(--accent); }
.social-links { display: flex; gap: 12px; }
.social-links a { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-full); background: rgba(255,255,255,0.1); color: white; transition: var(--transition); }
.social-links a:hover { background: var(--primary); transform: translateY(-2px); }

.navbar { padding: 16px 0; }
.nav-content { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.logo { display: flex; align-items: center; gap: 12px; font-size: 1.5rem; font-weight: 700; }
.logo-icon { width: 48px; height: 48px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: white; font-size: 1.25rem; box-shadow: var(--shadow-md); }
.logo-text { background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.search-bar { flex: 1; max-width: 560px; position: relative; }
.search-bar input { width: 100%; padding: 14px 56px 14px 24px; border: 2px solid var(--border); border-radius: var(--radius-full); font-size: 0.95rem; background: var(--bg); transition: var(--transition); }
.search-bar input:focus { outline: none; border-color: var(--primary); background: white; box-shadow: var(--shadow-glow); }
.search-bar input::placeholder { color: var(--text-muted); }
.search-bar button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.search-bar button:hover { transform: translateY(-50%) scale(1.05); box-shadow: var(--shadow-md); }

.search-results { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: white; border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); max-height: 400px; overflow-y: auto; display: none; z-index: 100; border: 1px solid var(--border-light); }
.search-results.active { display: block; animation: slideDown 0.2s ease; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.search-result-item { display: flex; align-items: center; gap: 16px; padding: 12px 16px; cursor: pointer; transition: var(--transition-fast); border-bottom: 1px solid var(--border-light); }
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--bg); }
.search-result-item img { width: 56px; height: 56px; object-fit: contain; border-radius: var(--radius-sm); background: white; }
.search-result-info h4 { font-size: 0.9rem; font-weight: 500; margin-bottom: 4px; color: var(--text); }
.search-result-info span { color: var(--primary); font-weight: 600; }

.nav-actions { display: flex; align-items: center; gap: 16px; }
.cart-btn { position: relative; width: 48px; height: 48px; background: var(--bg); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--text); font-size: 1.25rem; transition: var(--transition); border: 2px solid var(--border); }
.cart-btn:hover { background: var(--primary); color: white; border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.cart-count { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; background: linear-gradient(135deg, var(--danger), #dc2626); color: white; font-size: 0.75rem; font-weight: 700; border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; padding: 0 6px; box-shadow: var(--shadow); }
.mobile-menu-btn { display: none; width: 48px; height: 48px; background: var(--bg); border-radius: var(--radius); align-items: center; justify-content: center; color: var(--text); font-size: 1.25rem; border: 2px solid var(--border); }

.categories-bar { background: white; border-top: 1px solid var(--border-light); padding: 12px 0; overflow-x: auto; }
.categories-nav { display: flex; gap: 8px; white-space: nowrap; padding-bottom: 4px; }
.category-link { padding: 10px 20px; background: var(--bg); border-radius: var(--radius-full); font-size: 0.9rem; font-weight: 500; color: var(--text-light); transition: var(--transition); border: 2px solid transparent; }
.category-link:hover { background: white; border-color: var(--primary-light); color: var(--primary); }
.category-link.active { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; box-shadow: var(--shadow); }

/* HERO */
.hero { background: linear-gradient(135deg, var(--secondary) 0%, #1e293b 50%, var(--primary-dark) 100%); min-height: 500px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.hero-slider { position: relative; z-index: 1; }
.hero-slide { display: none; padding: 80px 0; }
.hero-slide.active { display: block; animation: fadeIn 0.5s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.hero-content { max-width: 600px; color: white; }
.hero-badge { display: inline-block; background: linear-gradient(135deg, var(--warning), #d97706); color: white; padding: 8px 20px; border-radius: var(--radius-full); font-size: 0.85rem; font-weight: 600; margin-bottom: 24px; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.02); } }
.hero-content h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; margin-bottom: 20px; text-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.hero-content p { font-size: 1.15rem; opacity: 0.9; margin-bottom: 32px; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* BOTONES */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 28px; font-weight: 600; font-size: 0.95rem; border-radius: var(--radius); transition: var(--transition); border: 2px solid transparent; cursor: pointer; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5); }
.btn-secondary { background: white; color: var(--primary); border-color: var(--primary); }
.btn-secondary:hover { background: var(--primary); color: white; transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: white; border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { background: white; color: var(--secondary); border-color: white; }
.btn-success { background: linear-gradient(135deg, var(--success), #059669); color: white; box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4); }
.btn-success:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5); }
.btn-whatsapp { background: linear-gradient(135deg, #25d366, #128c7e); color: white; }
.btn-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4); }
.btn-block { width: 100%; }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }

/* PROMO BANNER */
.promo-banner { background: white; padding: 24px 0; border-bottom: 1px solid var(--border-light); }
.promo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.promo-item { display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: var(--bg); border-radius: var(--radius); transition: var(--transition); }
.promo-item:hover { background: white; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.promo-item i { font-size: 2rem; color: var(--primary); }
.promo-item.highlight { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; }
.promo-item.highlight i { color: white; }
.promo-item strong { display: block; font-size: 0.95rem; margin-bottom: 2px; }
.promo-item span { font-size: 0.8rem; opacity: 0.8; }

/* SECCIONES */
.section { padding: 80px 0; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; flex-wrap: wrap; gap: 20px; }
.section-header h2 { font-size: 1.75rem; font-weight: 700; color: var(--secondary); display: flex; align-items: center; gap: 12px; }
.section-header h2 i { color: var(--primary); }
.ver-todos { color: var(--primary); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.ver-todos:hover { gap: 12px; }
.filter-controls { display: flex; gap: 12px; }
.filter-select { padding: 12px 20px; border: 2px solid var(--border); border-radius: var(--radius); font-size: 0.9rem; background: white; cursor: pointer; transition: var(--transition); min-width: 180px; }
.filter-select:focus { outline: none; border-color: var(--primary); }

/* CATEGORIAS GRID */
.section-categories { background: linear-gradient(180deg, var(--bg) 0%, white 100%); }
.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.category-card { background: white; padding: 32px 24px; border-radius: var(--radius-lg); text-align: center; cursor: pointer; transition: var(--transition); border: 2px solid var(--border-light); position: relative; overflow: hidden; }
.category-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--primary), var(--accent)); opacity: 0; transition: var(--transition); }
.category-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); border-color: transparent; }
.category-card:hover::before { opacity: 1; }
.category-card > * { position: relative; z-index: 1; }
.category-card:hover .icon, .category-card:hover h3, .category-card:hover span { color: white; }
.category-card .icon { font-size: 3rem; display: block; margin-bottom: 16px; transition: var(--transition); }
.category-card h3 { font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: 8px; transition: var(--transition); }
.category-card span { font-size: 0.85rem; color: var(--text-muted); transition: var(--transition); }

/* PRODUCTOS GRID */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.product-card { background: white; border-radius: var(--radius-lg); overflow: hidden; position: relative; transition: var(--transition); border: 1px solid var(--border-light); }
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.product-badge { position: absolute; top: 16px; left: 16px; padding: 6px 14px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; border-radius: var(--radius-full); z-index: 10; background: linear-gradient(135deg, var(--danger), #dc2626); color: white; }
.product-badge.new { background: linear-gradient(135deg, var(--success), #059669); }
.product-badge.premium { background: linear-gradient(135deg, var(--warning), #d97706); }
.product-wishlist { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; background: white; border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; color: var(--text-muted); z-index: 10; transition: var(--transition); box-shadow: var(--shadow); }
.product-wishlist:hover { color: var(--danger); transform: scale(1.1); }
.product-wishlist.active { color: var(--danger); }
.product-wishlist.active i { font-weight: 900; }
.product-image { position: relative; height: 200px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 20px; overflow: hidden; border-bottom: 1px solid var(--border-light); }
.product-image img { max-width: 85%; max-height: 85%; width: auto; height: auto; object-fit: contain; transition: var(--transition); }
.product-card:hover .product-image img { transform: scale(1.05); }
.product-actions { position: absolute; bottom: 0; left: 0; right: 0; padding: 16px; display: flex; gap: 12px; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); opacity: 0; transform: translateY(20px); transition: var(--transition); }
.product-card:hover .product-actions { opacity: 1; transform: translateY(0); }
.product-actions button { flex: 1; padding: 12px; border-radius: var(--radius); font-size: 0.85rem; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; transition: var(--transition); }
.btn-add-cart { background: linear-gradient(135deg, var(--success), #059669); color: white; }
.btn-add-cart:hover { transform: scale(1.02); }
.btn-quick-view { background: white; color: var(--text); }
.btn-quick-view:hover { background: var(--bg); }
.product-info { padding: 20px; }
.product-category { display: inline-block; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--primary); margin-bottom: 8px; }
.product-name { font-size: 0.95rem; font-weight: 600; color: var(--text); margin-bottom: 12px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 42px; }
.product-name a:hover { color: var(--primary); }
.product-price { margin-bottom: 8px; }
.product-price .current { font-size: 1.5rem; font-weight: 700; color: var(--success); }
.product-price .original { font-size: 0.9rem; color: var(--text-muted); text-decoration: line-through; margin-left: 8px; }
.product-transfer { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--success); font-weight: 500; margin-bottom: 8px; }
.product-cuotas { font-size: 0.8rem; color: var(--text-light); }
.product-cuotas strong { color: var(--primary); }
.product-mobile-actions { display: none; padding: 0 20px 20px; }
.btn-add-cart-mobile { width: 100%; padding: 14px; background: linear-gradient(135deg, var(--success), #059669); color: white; border-radius: var(--radius); font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; }

/* LOAD MORE BUTTON */
.load-more-container { text-align: center; margin-top: 48px; }
#load-more-btn { padding: 16px 48px; font-size: 1rem; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; border-radius: var(--radius-full); box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4); transition: var(--transition); }
#load-more-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5); }
#load-more-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* NEWSLETTER */
.newsletter { background: linear-gradient(135deg, var(--secondary), var(--primary-dark)); padding: 80px 0; position: relative; overflow: hidden; }
.newsletter::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.newsletter-content { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; text-align: center; }
.newsletter-content > i { font-size: 3rem; color: var(--accent); }
.newsletter-content h3 { font-size: 1.5rem; color: white; margin-bottom: 4px; }
.newsletter-content p { color: rgba(255,255,255,0.8); }
.newsletter-form { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.newsletter-form input { padding: 16px 24px; border: none; border-radius: var(--radius-full); font-size: 1rem; min-width: 300px; background: rgba(255,255,255,0.1); color: white; border: 2px solid rgba(255,255,255,0.2); }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.6); }
.newsletter-form input:focus { outline: none; background: rgba(255,255,255,0.15); border-color: var(--accent); }
.newsletter-form button { border-radius: var(--radius-full); }

/* FOOTER */
.footer { background: var(--secondary); color: white; padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo { display: flex; align-items: center; gap: 12px; font-size: 1.5rem; font-weight: 700; margin-bottom: 20px; }
.footer-logo .logo-icon { background: linear-gradient(135deg, var(--primary), var(--accent)); }
.footer-logo .logo-text { color: white; -webkit-text-fill-color: white; }
.footer-col p { color: rgba(255,255,255,0.7); margin-bottom: 24px; line-height: 1.7; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 44px; height: 44px; background: rgba(255,255,255,0.1); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: white; transition: var(--transition); }
.footer-social a:hover { background: var(--primary); transform: translateY(-3px); }
.footer-col h4 { font-size: 1.1rem; margin-bottom: 24px; position: relative; padding-bottom: 12px; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 3px; background: var(--primary); border-radius: var(--radius-full); }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { color: rgba(255,255,255,0.7); transition: var(--transition); }
.footer-col ul a:hover { color: var(--accent); padding-left: 8px; }
.contact-list li { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,0.7); }
.contact-list i { width: 20px; color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 24px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.payment-methods { display: flex; gap: 8px; }

/* CART SIDEBAR */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); z-index: 1100; opacity: 0; visibility: hidden; transition: var(--transition); }
.cart-overlay.active { opacity: 1; visibility: visible; }
.cart-sidebar { position: fixed; top: 0; right: 0; width: 100%; max-width: 420px; height: 100vh; background: white; z-index: 1101; display: flex; flex-direction: column; transform: translateX(100%); transition: var(--transition); box-shadow: var(--shadow-xl); }
.cart-sidebar.active { transform: translateX(0); }
.cart-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--border-light); background: var(--bg); }
.cart-header h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; color: var(--secondary); }
.cart-close { width: 40px; height: 40px; background: white; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: var(--transition); }
.cart-close:hover { background: var(--danger); color: white; }
.cart-items { flex: 1; overflow-y: auto; padding: 20px 24px; }
.cart-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border-light); }
.cart-item:last-child { border-bottom: none; }
.cart-item-image { width: 80px; height: 80px; background: var(--bg); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cart-item-image img { max-width: 90%; max-height: 90%; object-fit: contain; }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 0.9rem; font-weight: 500; color: var(--text); margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cart-item-price { font-size: 1rem; font-weight: 700; color: var(--success); margin-bottom: 10px; }
.cart-item-qty { display: flex; align-items: center; gap: 8px; }
.cart-item-qty button { width: 32px; height: 32px; background: var(--bg); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--text); transition: var(--transition); border: 1px solid var(--border); }
.cart-item-qty button:hover { background: var(--primary); color: white; border-color: var(--primary); }
.cart-item-qty span { min-width: 32px; text-align: center; font-weight: 600; }
.cart-item-remove { color: var(--text-muted); transition: var(--transition); padding: 8px; }
.cart-item-remove:hover { color: var(--danger); }
.cart-empty { text-align: center; padding: 60px 24px; display: none; }
.cart-empty.show { display: block; }
.cart-empty i { font-size: 4rem; color: var(--border); margin-bottom: 20px; }
.cart-empty p { color: var(--text-muted); margin-bottom: 24px; }
.cart-footer { padding: 24px; border-top: 1px solid var(--border-light); background: var(--bg); }
.cart-subtotal, .cart-discount { display: flex; justify-content: space-between; margin-bottom: 12px; }
.cart-subtotal span:last-child { font-size: 1.25rem; font-weight: 700; color: var(--text); }
.cart-discount { color: var(--success); font-weight: 500; }
.cart-footer .btn { margin-top: 16px; }

/* MODAL PRODUCTO */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(8px); z-index: 1200; opacity: 0; visibility: hidden; transition: var(--transition); }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.9); width: 95%; max-width: 900px; max-height: 90vh; background: white; border-radius: var(--radius-xl); z-index: 1201; opacity: 0; visibility: hidden; transition: var(--transition); overflow: hidden; }
.modal.active { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.modal-close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; background: var(--bg); border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; color: var(--text); z-index: 10; transition: var(--transition); }
.modal-close:hover { background: var(--danger); color: white; }
.modal-content { display: grid; grid-template-columns: 1fr 1fr; max-height: 90vh; overflow-y: auto; }
.modal-image { background: #fff; padding: 32px; display: flex; align-items: center; justify-content: center; min-height: 350px; }
.modal-image img { max-width: 90%; max-height: 350px; width: auto; height: auto; object-fit: contain; }
.modal-info { padding: 32px; display: flex; flex-direction: column; overflow-y: auto; }
.modal-category { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; color: var(--primary); margin-bottom: 12px; }
.modal-title { font-size: 1.5rem; font-weight: 700; color: var(--text); margin-bottom: 16px; line-height: 1.3; }
.modal-price { font-size: 2rem; font-weight: 800; color: var(--success); margin-bottom: 8px; }
.modal-transfer { display: flex; align-items: center; gap: 8px; color: var(--success); font-weight: 500; margin-bottom: 24px; }
.modal-description { color: var(--text-light); line-height: 1.7; margin-bottom: 32px; }
.modal-actions { margin-top: 16px; display: flex; gap: 12px; flex-wrap: wrap; }
.modal-actions .btn { flex: 1; min-width: 180px; padding: 16px 24px; font-size: 1rem; }
.modal-actions .btn-secondary { background: linear-gradient(135deg, var(--warning), #d97706); color: white; border: none; }
.modal-actions .btn-secondary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4); }

/* WHATSAPP BUTTON */
.whatsapp-btn { position: fixed; bottom: 24px; right: 24px; width: 64px; height: 64px; background: linear-gradient(135deg, #25d366, #128c7e); color: white; font-size: 2rem; border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; z-index: 999; box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); transition: var(--transition); animation: pulse-shadow 2s infinite; }
@keyframes pulse-shadow { 0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); } 50% { box-shadow: 0 4px 40px rgba(37, 211, 102, 0.6); } }
.whatsapp-btn:hover { transform: scale(1.1) translateY(-4px); }

/* MOBILE MENU */
.mobile-menu { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); z-index: 1100; opacity: 0; visibility: hidden; transition: var(--transition); }
.mobile-menu.active { opacity: 1; visibility: visible; }
.mobile-menu-content { position: absolute; top: 0; left: 0; width: 280px; height: 100%; background: white; padding: 24px 0; transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; box-shadow: 4px 0 20px rgba(0,0,0,0.15); }
.mobile-menu.active .mobile-menu-content { transform: translateX(0); }
.mobile-menu-header { padding: 0 24px 20px; border-bottom: 1px solid var(--border-light); margin-bottom: 8px; }
.mobile-menu-header h3 { font-size: 1.25rem; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 10px; }
.mobile-menu-link { display: flex; align-items: center; gap: 12px; padding: 16px 24px; color: var(--text); font-size: 1rem; font-weight: 500; border-bottom: 1px solid var(--border-light); transition: var(--transition); }
.mobile-menu-link:hover, .mobile-menu-link.active { background: var(--primary-light); color: var(--primary); }
.mobile-menu-link.whatsapp { background: linear-gradient(135deg, #25d366, #128c7e); color: white; margin: 24px; border-radius: var(--radius); border: none; justify-content: center; }
.mobile-menu-link.whatsapp:hover { transform: scale(1.02); }
.mobile-menu-btn { display: none; width: 48px; height: 48px; background: var(--bg); border: 2px solid var(--border); border-radius: var(--radius); font-size: 1.25rem; color: var(--text); cursor: pointer; align-items: center; justify-content: center; transition: var(--transition); }
.mobile-menu-btn:hover { background: var(--primary); color: white; border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* RESPONSIVE */
@media (max-width: 1200px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 992px) { .promo-grid { grid-template-columns: repeat(2, 1fr); } .modal-content { grid-template-columns: 1fr; } .modal-image { padding: 24px; min-height: 250px; } .modal-image img { max-height: 250px; } .modal-info { padding: 24px; } }
@media (max-width: 768px) {
    .header-top { display: none; }
    .nav-content { flex-wrap: wrap; }
    .search-bar { order: 3; flex: 1 1 100%; max-width: 100%; margin-top: 12px; }
    .mobile-menu-btn { display: flex; }
    .categories-bar { display: none; }
    .hero-content h1 { font-size: 1.75rem; }
    .hero-slide { padding: 48px 0; }
    .promo-grid { grid-template-columns: 1fr; gap: 12px; }
    .section { padding: 48px 0; }
    .section-header { flex-direction: column; align-items: flex-start; }
    .filter-controls { width: 100%; }
    .filter-select { flex: 1; min-width: 0; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .product-card { border-radius: var(--radius); }
    .product-actions { display: none; }
    .product-mobile-actions { display: block; }
    .product-info { padding: 12px; }
    .product-name { font-size: 0.85rem; min-height: auto; }
    .product-price .current { font-size: 1.15rem; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .category-card { padding: 24px 16px; }
    .category-card .icon { font-size: 2rem; }
    .newsletter-content { flex-direction: column; }
    .newsletter-form { flex-direction: column; width: 100%; }
    .newsletter-form input { min-width: 100%; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .cart-sidebar { max-width: 100%; }
    .modal { width: 100%; height: 100%; max-height: 100%; border-radius: 0; }
    .modal-image { padding: 24px; max-height: 300px; }
    .modal-info { padding: 24px; }
    .modal-title { font-size: 1.25rem; }
    .modal-price { font-size: 1.5rem; }
    .whatsapp-btn { bottom: 16px; right: 16px; width: 56px; height: 56px; font-size: 1.5rem; }
}
@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
}

/* TOAST */
.toast { position: fixed; bottom: 100px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--secondary); color: white; padding: 16px 32px; border-radius: var(--radius-full); box-shadow: var(--shadow-xl); z-index: 2000; opacity: 0; visibility: hidden; transition: var(--transition); }
.toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.toast.success { background: linear-gradient(135deg, var(--success), #059669); }
.toast.error { background: linear-gradient(135deg, var(--danger), #dc2626); }
