:root {
    --b-blue: #1A237E; --b-yellow: #FFF159; --b-red: #cc0000;
    --neon-purple: rgba(138, 43, 226, 0.6); --neon-purple-soft: rgba(138, 43, 226, 0.3);
    --bg-light: #f0f4f8; 
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', Tahoma, Geneva, sans-serif; scroll-behavior: smooth;}
body { background-color: var(--bg-light); color: #333; position: relative; overflow-x: hidden; padding-top: 50px; }

.animated-background { position: fixed; top: -50%; left: -50%; width: 200%; height: 200%; z-index: -1; background: radial-gradient(circle at 50% 50%, rgba(138, 43, 226, 0.15), transparent 40%), radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.15), transparent 40%), radial-gradient(circle at 20% 80%, rgba(26, 35, 126, 0.1), transparent 40%); animation: floatingBG 30s infinite linear; }
@keyframes floatingBG { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.ticker-wrap { display: flex; overflow: hidden; background: linear-gradient(90deg, rgba(138, 43, 226, 0.95), rgba(26, 35, 126, 0.95)); border-bottom: 2px solid var(--b-yellow); padding: 10px 0; position: fixed; top: 0; left: 0; width: 100%; z-index: 2000; box-shadow: 0 5px 20px rgba(138, 43, 226, 0.6); }
.ticker-content { display: flex; flex-shrink: 0; min-width: 100%; animation: scrollTicker 40s linear infinite; }
.ticker-wrap:hover .ticker-content { animation-play-state: paused; } 
.ticker-group { display: flex; justify-content: space-around; min-width: 100%; flex-shrink: 0; }
.ticker-item { display: flex; align-items: center; font-size: 1.2rem; font-weight: 900; color: #FFD700; padding: 0 40px; white-space: nowrap; text-shadow: 2px 2px 4px rgba(48, 0, 89, 0.9), 0 0 12px rgba(138, 43, 226, 0.8); }
.ticker-logo { width: 28px; height: 28px; margin-right: 12px; border-radius: 50%; box-shadow: 0 0 10px var(--b-yellow); border: 2px solid white; background: white; object-fit: contain; }
@keyframes scrollTicker { from { transform: translateX(0); } to { transform: translateX(-100%); } }

.glass-effect, .glass-card { background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.2) 100%); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid rgba(255, 255, 255, 0.8); border-left: 1px solid rgba(255, 255, 255, 0.8); border-bottom: 1px solid rgba(255, 255, 255, 0.2); border-right: 1px solid rgba(255, 255, 255, 0.2); border-radius: 20px; box-shadow: 0 15px 35px var(--neon-purple-soft), inset 0 0 15px rgba(255,255,255,0.4); position: relative; overflow: hidden; }
.hidden { display: none !important; }
.glass-card::before { content: ''; position: absolute; top: 0; left: -150%; width: 50%; height: 100%; background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 100%); transform: skewX(-25deg); transition: left 0.7s ease; z-index: 10; pointer-events: none; }
.glass-card:hover::before { left: 150%; }

.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 10002; backdrop-filter: blur(5px); }
.custom-alert-modal { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 90%; max-width: 400px; padding: 30px; z-index: 10003; text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }

header { display: flex; justify-content: space-between; align-items: center; padding: 20px 5%; position: relative; z-index: 1000; border-radius: 0 0 30px 30px; background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%); backdrop-filter: blur(16px); border-bottom: 2px solid rgba(138, 43, 226, 0.4); box-shadow: 0 15px 40px var(--neon-purple-soft), inset 0 -5px 20px rgba(255,255,255,0.6); }
.logo { height: 140px; transition: 0.3s; position: relative; z-index: 11; filter: drop-shadow(0 5px 15px rgba(0,0,0,0.1)); } 
.logo:hover { transform: scale(1.05); }
.header-actions { display: flex; align-items: center; gap: 20px; position: relative; z-index: 11;}
.btn-ir-catalogo { background: linear-gradient(135deg, var(--b-blue), #2c38a1); color: var(--b-yellow); padding: 12px 25px; border-radius: 25px; border: 1px solid rgba(255,255,255,0.3); font-weight: bold; cursor: pointer; font-size: 1.1rem; transition: 0.3s; box-shadow: 0 5px 15px rgba(26, 35, 126, 0.4);}
.btn-ir-catalogo:hover { transform: translateY(-3px); background: var(--b-yellow); color: var(--b-blue); border-color: var(--b-blue);}
.cart-container { position: relative; cursor: pointer; display: inline-block; margin-right: 15px; }
.cart-icon { font-size: 2.2rem; color: var(--b-blue); transition: 0.3s; }
#cart-count { position: absolute; top: -10px; right: -15px; background: linear-gradient(135deg, var(--b-red), #ff3333); color: white; font-size: 0.9rem; font-weight: bold; min-width: 24px; height: 24px; border-radius: 50%; display: flex; justify-content: center; align-items: center; border: 2px solid white; box-shadow: 0 3px 10px rgba(204,0,0,0.4); }

.hero-news-wrapper { display: flex; gap: 30px; width: 100%; padding: 0 5%; margin: 30px 0; }
.hero-col { flex: 2; border-radius: 25px;} .news-col { flex: 1; border-radius: 25px;}
.slider-master { position: relative; overflow: hidden; height: 100%; border: 1px solid rgba(255,255,255,0.8); }
.mis-slides, .news-slides { display: none; width: 100%; height: 100%; cursor: pointer; position: relative;}
.banner-img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 25px;}
.prev, .next { cursor: pointer; position: absolute; top: 50%; width: auto; padding: 16px; margin-top: -22px; color: white; font-weight: bold; font-size: 24px; transition: 0.4s ease; border-radius: 0 10px 10px 0; background-color: rgba(26, 35, 126, 0.5); user-select: none; z-index: 15;}
.next { right: 0; border-radius: 10px 0 0 10px; }
.prev:hover, .next:hover { background-color: var(--b-yellow); color: var(--b-blue); }
.fade { animation-name: fadeAnim; animation-duration: 1.5s; }
@keyframes fadeAnim { from {opacity: .5} to {opacity: 1} }

.vinetas-seccion { margin: 20px 5%; padding: 25px; text-align: center; }
.titulo-mini { color: var(--b-blue); font-size: 1.8rem; margin-bottom: 25px; font-weight: bold; text-shadow: 0 2px 5px rgba(255,255,255,0.8);}
.vinetas-grid { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.vineta { display: flex; flex-direction: column; align-items: center; cursor: pointer; transition: 0.3s; width: 110px;}
.vineta:hover { transform: translateY(-10px); }
.vineta-icon { width: 80px; height: 80px; background: linear-gradient(135deg, var(--b-yellow), #ffdf00); color: var(--b-blue); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 2.2rem; box-shadow: 0 10px 20px rgba(0,0,0,0.15); margin-bottom: 12px; border: 3px solid white;}
.vineta span { font-weight: bold; color: var(--b-blue); font-size: 1rem; text-align: center; background: rgba(255,255,255,0.6); padding: 2px 10px; border-radius: 10px;}

.catalogo-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; margin-bottom: 30px; gap: 20px; flex-wrap: wrap;}
.btn-volver { background: linear-gradient(135deg, var(--b-red), #990000); color: white; padding: 10px 20px; border-radius: 20px; border: none; font-weight: bold; cursor: pointer; box-shadow: 0 5px 15px rgba(204,0,0,0.3);}
.search-bar { flex-grow: 1; display: flex; max-width: 600px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); border-radius: 25px; background: rgba(255,255,255,0.8);}
.search-bar input { width: 100%; padding: 15px 20px; border-radius: 25px 0 0 25px; border: 2px solid var(--b-blue); border-right: none; font-size: 1.1rem; background: transparent; outline: none;}
.btn-mic { background: transparent; border: 2px solid var(--b-blue); border-left: none; border-right: none; color: var(--b-blue); font-size: 1.3rem; padding: 0 15px; cursor: pointer; transition: 0.3s; outline: none;}
.btn-mic:hover { color: var(--neon-purple); transform: scale(1.1);}
.mic-recording { color: var(--b-red) !important; animation: pulseMic 1s infinite; }
@keyframes pulseMic { 0% { transform: scale(1); } 50% { transform: scale(1.3); } 100% { transform: scale(1); } }
.btn-buscar-lupa { padding: 15px 25px; background: var(--b-blue); color: white; border: none; border-radius: 0 25px 25px 0; cursor: pointer; font-size: 1.1rem;}

.category-filters { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.btn-filter { background: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.9); color: var(--b-blue); padding: 12px 25px; border-radius: 25px; cursor: pointer; font-weight: bold; font-size: 1.1rem; transition: 0.3s; box-shadow: 0 4px 10px rgba(0,0,0,0.05);}
.btn-filter.active, .btn-filter:hover { background: var(--b-blue); color: var(--b-yellow); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(26, 35, 126, 0.3); border-color: var(--b-blue);}

.timer-container { display: flex; justify-content: center; align-items: center; gap: 20px; background: linear-gradient(135deg, var(--b-red), #800000); border: 2px solid #ff4d4d; border-radius: 20px; padding: 15px 30px; margin-bottom: 30px; box-shadow: 0 10px 25px rgba(204, 0, 0, 0.5); animation: pulseGlow 2s infinite; }
.flash-icon { font-size: 2.5rem; color: var(--b-yellow); text-shadow: 0 0 10px var(--b-yellow);}
.timer-text p { color: white; font-weight: bold; font-size: 0.9rem; margin-bottom: 5px; letter-spacing: 1px;}
.timer-text h3 { color: var(--b-yellow); font-size: 2.2rem; font-family: monospace; text-shadow: 0 0 15px rgba(255, 241, 89, 0.8);}
@keyframes pulseGlow { 0% { box-shadow: 0 0 15px rgba(204, 0, 0, 0.5); } 50% { box-shadow: 0 0 30px rgba(204, 0, 0, 0.8); } 100% { box-shadow: 0 0 15px rgba(204, 0, 0, 0.5); } }

.contenedor-principal { padding: 0 5% 50px 5%; position: relative; z-index: 5;}
.encabezado-destacados { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; flex-wrap: wrap;}
.titulo-seccion { color: var(--b-blue); font-size: 2.5rem; text-shadow: 0 2px 10px rgba(255,255,255,0.8);}
.btn-secundario { background: rgba(255,255,255,0.5); border: 2px solid var(--b-blue); color: var(--b-blue); padding: 10px 20px; border-radius: 20px; font-weight: bold; cursor: pointer; transition: 0.3s;}
.btn-secundario:hover { background: var(--b-blue); color: white;}
.productos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 35px; }

.producto { padding: 0 0 20px 0; text-align: center; display: flex; flex-direction: column; justify-content: space-between; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.producto:hover { transform: translateY(-10px); box-shadow: 0 25px 50px var(--neon-purple), inset 0 0 20px rgba(255,255,255,0.8);}
.img-container { width: 100%; height: 260px; background: radial-gradient(circle, #ffffff 40%, #f4f4f4 100%); display: flex; align-items: center; justify-content: center; margin-bottom: 15px; border-radius: 20px 20px 0 0; padding: 15px; border-bottom: 1px solid rgba(0,0,0,0.05); box-shadow: inset 0 -10px 20px rgba(0,0,0,0.02); position: relative;}
.img-container img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); position: relative; z-index: 2; filter: drop-shadow(0 15px 15px rgba(0,0,0,0.15));}
.producto:hover .img-container img { transform: scale(1.15); } 
.tag-referencial { position: absolute; bottom: 8px; right: 12px; font-size: 0.65rem; color: #888; font-style: italic; z-index: 10; background: rgba(255,255,255,0.8); padding: 2px 6px; border-radius: 5px; box-shadow: 0 2px 5px rgba(0,0,0,0.05);}
.producto-agotado .img-container img { filter: grayscale(100%) contrast(120%) blur(1.5px) opacity(0.4); transform: scale(0.95); }
.producto-agotado:hover .img-container img { filter: grayscale(100%) blur(0px) opacity(0.6); transform: scale(1); }
.badge-agotado { background: linear-gradient(135deg, #444, #111); color: #FFF159; padding: 8px 15px; border-radius: 12px; font-size: 0.9rem; font-weight: bold; margin: 10px auto; border: 1px solid #666; position: relative; z-index: 2; box-shadow: 0 5px 15px rgba(0,0,0,0.3);}

.btn-oferta { background: linear-gradient(135deg, #d97b48, #8b4513); color: white; padding: 6px 18px; border-radius: 20px; border: 1px solid #ffb380; font-weight: bold; font-size: 0.85rem; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: auto; margin: 8px auto 0 auto; box-shadow: 0 3px 8px rgba(139, 69, 19, 0.3); position: relative; z-index: 12; transition: 0.3s; text-shadow: 0 1px 2px rgba(0,0,0,0.5); animation: pulseCopper 2s infinite; }
.btn-oferta i { font-size: 1rem; }
.btn-oferta:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(217, 123, 72, 0.6); background: linear-gradient(135deg, #e68a55, #9c511b);}
@keyframes pulseCopper { 0% { box-shadow: 0 0 4px rgba(139, 69, 19, 0.3); } 50% { box-shadow: 0 0 12px rgba(217, 123, 72, 0.7); } 100% { box-shadow: 0 0 4px rgba(139, 69, 19, 0.3); } }

.btn-encargar { background: linear-gradient(135deg, #25d366, #128c7e); color: white; padding: 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.3); font-weight: bold; cursor: pointer; width: calc(100% - 30px); margin: 0 15px 10px 15px; box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4); position: relative; z-index: 12; transition: 0.3s;}
.btn-encargar:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);}
.codigo-barra { position: absolute; top: 10px; left: 10px; background: rgba(26, 35, 126, 0.8); color: white; padding: 4px 10px; border-radius: 12px; font-size: 0.8rem; font-family: monospace; z-index: 11; box-shadow: 0 4px 10px rgba(0,0,0,0.2);}
.producto h3 { color: var(--b-blue); font-size: 1.3rem; margin: 0 15px 10px 15px; min-height: 50px; position: relative; z-index: 2;}

.precio-unico { color: var(--b-red); font-size: 2rem; font-weight: bold; margin-top: 10px; text-shadow: 0 2px 5px rgba(255,255,255,0.8); position: relative; z-index: 2;}
.precio-detalle { color: #333; font-size: 1.15rem; font-weight: 600; position: relative; z-index: 2; margin-bottom: 2px;}
.precio-mayor { color: var(--b-red); font-size: 2rem; font-weight: bold; text-shadow: 0 2px 5px rgba(255,255,255,0.8); position: relative; z-index: 2;}
.info-mayor { color: var(--b-blue); font-size: 0.95rem; font-weight: bold; margin-bottom: 15px; position: relative; z-index: 2;}
.nota-peso { font-size: 0.8rem; color: #666; font-style: italic; margin-bottom: 10px; position: relative; z-index: 2;}
.controles-compra { display: flex; gap: 10px; margin: auto 15px 0 15px; position: relative; z-index: 12;}
.btn-add { background: linear-gradient(135deg, var(--b-yellow), #ffdf00); color: var(--b-blue); padding: 12px; border-radius: 12px; border: none; font-weight: bold; cursor: pointer; flex-grow: 1; font-size: 1.1rem; box-shadow: 0 5px 15px rgba(255, 241, 89, 0.5); transition: 0.3s;}
.btn-add:hover { background: var(--b-blue); color: var(--b-yellow); transform: translateY(-2px);}
.input-qty { width: 65px; padding: 12px; border-radius: 12px; border: 2px solid var(--b-yellow); text-align: center; font-weight: bold; font-size: 1.1rem; background: rgba(255,255,255,0.9); outline: none;}
.input-qty::-webkit-inner-spin-button, .input-qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

#toast-container { position: fixed; top: 70px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.toast { background: linear-gradient(135deg, var(--b-blue), #2c38a1); color: white; padding: 15px 25px; border-radius: 12px; border-left: 6px solid var(--b-yellow); box-shadow: 0 10px 25px rgba(0,0,0,0.3); font-weight: bold; font-size: 1rem; animation: slideIn 0.5s, fadeOut 0.5s 3.5s forwards; border-top: 1px solid rgba(255,255,255,0.2);}
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }

.cart-modal { position: fixed; top: 100px; right: 2%; width: 440px; max-height: 80vh; overflow-y: auto; padding: 25px; z-index: 1001; }
.cart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.cart-header h2 { color: var(--b-blue); font-size: 1.5rem; margin:0;}
.close-btn { background: none; border: none; font-size: 1.8rem; cursor: pointer; color: var(--b-red); transition: 0.3s;}
.close-btn:hover { transform: rotate(90deg);}

.dopamine-container { margin-bottom: 20px; text-align: center; }
#dopamine-text { font-size: 0.95rem; font-weight: bold; color: var(--b-blue); margin-bottom: 8px; }
.dopamine-track { width: 100%; height: 12px; background: #ddd; border-radius: 10px; overflow: hidden; box-shadow: inset 0 2px 5px rgba(0,0,0,0.1);}
#dopamine-fill { height: 100%; width: 0%; background: linear-gradient(90deg, #ff4d4d, #ffdf00); transition: width 0.5s ease, background 0.5s ease; }
.dopamine-full { background: linear-gradient(90deg, #25d366, #128c7e) !important; box-shadow: 0 0 10px #25d366;}

.cross-sell-area { background: rgba(255,255,255,0.8); border-radius: 15px; padding: 15px; margin-bottom: 20px; border: 1px dashed var(--b-blue); }
.cross-sell-area h4 { color: var(--b-blue); font-size: 1.1rem; margin-bottom: 10px; text-align: center;}
.cross-sell-grid { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 10px;}
.cross-sell-grid::-webkit-scrollbar { height: 6px; }
.cross-sell-grid::-webkit-scrollbar-thumb { background: var(--b-yellow); border-radius: 10px; }
.cs-card { min-width: 140px; background: white; padding: 10px; border-radius: 10px; text-align: center; box-shadow: 0 3px 10px rgba(0,0,0,0.05); border: 1px solid #eee;}
.cs-card img { width: 60px; height: 60px; object-fit: contain; margin-bottom: 8px; }
.cs-card p { font-size: 0.8rem; font-weight: bold; color: var(--b-blue); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 5px;}
.cs-card .cs-price { color: var(--b-red); font-weight: bold; font-size: 1rem; margin-bottom: 8px;}
.cs-btn { background: var(--b-yellow); border: none; color: var(--b-blue); padding: 5px 10px; border-radius: 8px; font-weight: bold; cursor: pointer; width: 100%; font-size: 0.85rem;}

.cart-qty-controls { display: flex; align-items: center; border: 2px solid var(--b-yellow); border-radius: 8px; overflow: hidden;}
.cart-qty-controls button { background: white; border: none; color: var(--b-blue); padding: 5px 15px; font-size: 1.2rem; cursor: pointer; font-weight: bold; transition: 0.3s; }
.cart-qty-controls button:hover { background: var(--b-yellow); }
.cart-qty-controls input { width: 50px; border: none; border-left: 2px solid var(--b-yellow); border-right: 2px solid var(--b-yellow); text-align: center; font-weight: bold; font-size: 1rem; outline: none; padding: 5px 0;}
.cart-qty-controls input::-webkit-inner-spin-button, .cart-qty-controls input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.cart-total-area { font-size: 1.4rem; font-weight: bold; color: var(--b-blue); text-align: right; margin-bottom: 15px; background: rgba(255,255,255,0.5); padding: 10px; border-radius: 10px;}
.nota-legal-carrito { font-size: 0.8rem; color: #888; font-style: italic; margin-bottom: 20px; text-align: center; border-top: 1px dashed #ccc; padding-top: 10px;}
.btn-pago { width: 100%; padding: 15px; margin-bottom: 12px; border: none; border-radius: 12px; font-weight: bold; cursor: pointer; font-size: 1.1rem; color: white; transition: 0.3s;}
.btn-tarjeta { background: linear-gradient(135deg, #007bff, #0056b3); box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);}
.btn-transferencia { background: linear-gradient(135deg, var(--b-blue), #2c38a1); box-shadow: 0 5px 15px rgba(26, 35, 126, 0.4);}

#floating-cart-btn { position: fixed; bottom: 110px; right: 30px; background: linear-gradient(135deg, var(--b-blue), #2c38a1); color: var(--b-yellow); padding: 15px 25px; border-radius: 30px; font-weight: bold; font-size: 1.1rem; box-shadow: 0 10px 25px rgba(26, 35, 126, 0.5); border: 2px solid var(--b-yellow); cursor: pointer; z-index: 999; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
#floating-cart-btn:hover { transform: scale(1.05) translateY(-5px); box-shadow: 0 15px 30px rgba(26, 35, 126, 0.7);}
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; background: linear-gradient(135deg, #25d366, #128c7e); color: white; border-radius: 50%; width: 70px; height: 70px; display: flex; justify-content: center; align-items: center; font-size: 40px; box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5); z-index: 1000; transition: 0.3s; border: 2px solid rgba(255,255,255,0.4);}

/* ================= BOTÓN RUTA NEÓN ================= */
.btn-ruta { 
    position: relative;
    background: linear-gradient(135deg, #0052D4 0%, #4364F7 50%, #6FB1FC 100%);
    color: white; 
    padding: 18px 40px; 
    border-radius: 50px; 
    text-decoration: none; 
    font-weight: 900; 
    font-size: 1.2rem; 
    display: inline-flex; 
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    box-shadow: 0 10px 30px rgba(67, 100, 247, 0.5), inset 0 -3px 10px rgba(0,0,0,0.2), inset 0 3px 10px rgba(255,255,255,0.5); 
    border: 2px solid rgba(255,255,255,0.4);
    overflow: hidden;
    animation: pulseRuta 2s infinite;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 auto;
}
.btn-ruta i {
    font-size: 1.5rem;
    animation: driveArrow 1.5s infinite alternate ease-in-out;
}
.btn-ruta::before {
    content: ''; position: absolute; top: 0; left: -150%; width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg); transition: left 0.7s ease; z-index: 1;
}
.btn-ruta:hover::before { left: 150%; }
.btn-ruta:hover { 
    transform: translateY(-5px) scale(1.05); 
    box-shadow: 0 15px 40px rgba(111, 177, 252, 0.7), inset 0 0 20px rgba(255,255,255,0.6);
    background: linear-gradient(135deg, #4364F7 0%, #6FB1FC 100%);
}
@keyframes pulseRuta { 
    0% { box-shadow: 0 0 15px rgba(67, 100, 247, 0.4); } 
    50% { box-shadow: 0 0 35px rgba(111, 177, 252, 0.8); } 
    100% { box-shadow: 0 0 15px rgba(67, 100, 247, 0.4); } 
}
@keyframes driveArrow {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(5px) translateY(-5px); }
}

.ubicacion-home { margin: 40px 5%; padding: 40px; border-radius: 20px; }
.footer-monstruo { margin-top: 50px; padding: 50px 5% 20px 5%; border-radius: 40px 40px 0 0; border-bottom: none; background: rgba(255, 255, 255, 0.85); box-shadow: 0 -10px 30px rgba(0,0,0,0.05);}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; margin-bottom: 30px; }
.footer-col h3 { color: var(--b-blue); font-size: 1.4rem; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.footer-col h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 50px; height: 3px; background: var(--b-red); border-radius: 5px; }
.footer-logo { height: 70px; margin-bottom: 15px; }
.social-media a { width: 45px; height: 45px; background: var(--b-blue); color: white; border-radius: 50%; display: inline-flex; justify-content: center; align-items: center; font-size: 1.3rem; transition: 0.3s; text-decoration: none; margin-right: 10px;}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; color: #555;}
.footer-col ul li a { color: #555; text-decoration: none; font-weight: 500; transition: 0.3s; display: flex; align-items: center; gap: 10px; }
.btn-trabaja { background: linear-gradient(135deg, var(--b-red), #990000); color: white; padding: 12px 20px; border-radius: 20px; text-decoration: none; font-weight: bold; display: inline-block; margin-top: 10px; transition: 0.3s;}
.legal-text-footer { border-top: 1px solid rgba(0,0,0,0.1); padding-top: 20px; margin-bottom: 10px; font-size: 0.85rem; color: #666; text-align: center; font-style: italic;}
.footer-bottom { text-align: center; padding-top: 15px; color: #777; font-size: 0.9rem; }

@media (max-width: 768px) {
    body { padding-top: 60px;} 
    header { padding: 15px 5%; flex-direction: column; gap: 15px; border-radius: 0 0 20px 20px;}
    .logo { height: 110px; } 
    .header-actions { flex-direction: column; gap: 10px; width: 100%;}
    .btn-ir-catalogo { width: 100%; text-align: center;}
    .catalogo-header { flex-direction: column; align-items: stretch;}
    .cart-container { margin-right: 0;}
    .hero-news-wrapper { flex-direction: column; padding: 0 3%; margin: 20px 0;}
    .hero-col, .news-col { flex: none; width: 100%; height: 250px; }
    .cart-modal { width: 95%; right: 2.5%; }
    .timer-container { flex-direction: column; text-align: center;}
    .btn-ruta { padding: 15px 20px; font-size: 1rem; width: 100%; }
}