:root { 
    --primary: #CBA135; 
    --primary-hover: #E0B84F; 
    --dark: #121212; 
    --card: #1E1E1E; 
    --text: #EAEAEA; 
    --text-muted: #AAAAAA; 
    --success: #2E7D32; 
    --success-bg: #1B3E20; 
    --border: #333333; 
    --danger: #ff4d4d; 
}

/* --- PUNTERO TEMÁTICO FORZADO --- */
body { 
    margin: 0; 
    font-family: 'Poppins', sans-serif; 
    background-color: var(--dark); 
    color: var(--text); 
    padding-top: 80px; 
    scroll-behavior: smooth; 
    display: flex; 
    flex-direction: column; 
    min-height: 100vh; 
    cursor: url('/upload/mouse.png?v=2'), auto !important; 
}

button, a, .nav-btns a, input, select, .btn-icon, .btn-wa, .add, .contact, .btn-metodo, .btn-cupon, .logo, .btn-wsp-flotante, .social-icon, .cart-flotante {
    cursor: url('/upload/mouse.png?v=2'), pointer !important;
}
/* ------------------------ */

header { 
    position: fixed; 
    top: 0; 
    width: 100%; 
    height: 80px; 
    background: var(--dark); 
    border-bottom: 1px solid var(--border); 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 0 5%; 
    box-sizing: border-box; 
    z-index: 1000; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.5); 
}

.logo { font-size: 1.5rem; font-weight: bold; color: var(--text); display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo span { color: var(--primary); }
.nav-links { display: flex; gap: 25px; align-items: center; }
.nav-links a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 1rem; transition: 0.3s; }
.nav-links a:hover { color: var(--primary); }

/* --- CARRITO FLOTANTE MÓVIL --- */
.cart-flotante {
    display: none; /* Oculto por defecto en PC */
    background: var(--primary);
    color: var(--dark);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1.1rem;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(203, 161, 53, 0.4);
    transition: transform 0.2s;
    border: none;
}
.cart-flotante:active { transform: scale(0.95); }

.hero-banner { width: 100%; height: 450px; overflow: hidden; background: #000; }
.hero-banner img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0.9; }

main { max-width: 1400px; margin: auto; padding: 30px 20px; display: grid; grid-template-columns: 3fr 1fr; gap: 30px; flex-grow: 1; }
.seccion-info { background: var(--card); padding: 30px; border-radius: 15px; border: 1px solid var(--border); margin-bottom: 30px; }
.seccion-info h2 { color: var(--primary); border-bottom: 2px solid var(--primary); display: inline-block; padding-bottom: 5px; margin-top: 0; }
.seccion-info p { color: var(--text-muted); line-height: 1.6; }

.categoria-titulo { grid-column: 1 / -1; font-size: 1.4rem; border-left: 5px solid var(--primary); padding: 15px; margin: 30px 0 20px; color: var(--primary); text-transform: uppercase; font-weight: 900; background: var(--card); border-radius: 0 10px 10px 0; border: 1px solid var(--border); }
.productos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(23%, 1fr)); gap: 20px; }

.card { background: var(--card); border-radius: 10px; overflow: hidden; border: 1px solid var(--border); transition: 0.3s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.3); border-color: var(--primary); }
.card img { width: 100%; height: 120px; object-fit: cover; background: #222; }
.card-body { padding: 12px; flex-grow: 1; text-align: center; display: flex; flex-direction: column; justify-content: space-between; }
.card h4 { margin: 8px 0 4px; font-size: 1.05rem; color: var(--text); }
.price { font-size: 1.15rem; font-weight: bold; color: var(--primary); margin-bottom: 12px; }

button.add { background: transparent; color: var(--primary); border: 2px solid var(--primary); padding: 8px; width: 100%; border-radius: 6px; font-weight: bold; transition: 0.3s; font-size: 0.9rem; }
button.add:hover { background: var(--primary); color: var(--dark); }

.carrito { background: var(--card); padding: 25px; border-radius: 20px; border: 1px solid var(--border); height: fit-content; position: sticky; top: 100px; }
.carrito h3 { color: var(--primary); border-bottom: 1px solid var(--border); padding-bottom: 15px; margin-top: 0; }
.badge-envio { background: var(--success-bg); color: var(--text); padding: 12px; border-radius: 12px; font-weight: bold; display: flex; align-items: center; gap: 10px; margin: 15px 0; border: 1px solid var(--success); }

.btn-metodo { width: 48%; padding: 12px; border-radius: 8px; border: 2px solid var(--border); font-weight: bold; background: transparent; color: var(--text-muted); transition: 0.3s; }
.btn-metodo.active { background: var(--primary); color: var(--dark); border-color: var(--primary); }

input { background: var(--dark); border: 1px solid var(--border); color: var(--text); padding: 12px; border-radius: 8px; width: 100%; box-sizing: border-box; margin-bottom: 10px; outline: none; }
input:focus { border-color: var(--primary); }

button.contact { background: var(--primary); color: var(--dark); width: 100%; padding: 15px; border-radius: 12px; font-size: 1.1rem; border: none; font-weight: bold; transition: 0.3s; text-transform: uppercase;}
button.contact:hover { background: var(--primary-hover); box-shadow: 0 0 15px rgba(203, 161, 53, 0.4); }

.cupon-box { display: flex; gap: 10px; margin: 15px 0; border-top: 1px solid var(--border); padding-top: 15px; }
.cupon-box input { margin: 0; text-transform: uppercase; }
.btn-cupon { background: var(--border); color: var(--text); border: none; padding: 0 15px; border-radius: 8px; font-weight: bold; transition: 0.3s; }
.btn-cupon:hover { background: var(--primary); color: var(--dark); }
.descuento-aplicado { color: var(--success); font-weight: bold; display: none; justify-content: space-between; margin-bottom: 10px; font-size: 0.95rem; }

.contacto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 25px; }
.info-contacto { display: flex; flex-direction: column; gap: 20px; justify-content: center; }
.info-contacto h3 { color: var(--primary); margin: 0 0 5px 0; font-size: 1.1rem; display: flex; align-items: center; gap: 8px; }
.info-contacto p { margin: 0; color: var(--text); }
.info-contacto span { color: var(--text-muted); font-size: 0.95rem; display: block; margin-top: 3px; }

.icon-gradient { background: -webkit-linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.link-ig { color: var(--text); text-decoration: none; font-weight: bold; transition: 0.3s; }
.link-ig:hover { color: var(--primary); }

.btn-wsp-flotante { position: fixed; bottom: 2rem; right: 2rem; z-index: 9999; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.btn-wsp-ping { position: absolute; width: 100%; height: 100%; border-radius: 50%; background-color: #25D366; opacity: 0.75; animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite; }
@keyframes ping { 75%, 100% { transform: scale(1.8); opacity: 0; } }
.btn-wsp-icon { position: relative; background-color: #25D366; color: white; width: 4rem; height: 4rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 25px rgba(37,211,102,0.4); transition: transform 0.3s; }
.btn-wsp-icon i { font-size: 2.2rem; }
.btn-wsp-flotante:hover .btn-wsp-icon { transform: scale(1.1); }
.btn-wsp-tooltip { position: absolute; right: 5.5rem; background-color: white; color: #0f172a; padding: 0.5rem 1rem; border-radius: 0.75rem; font-size: 0.9rem; font-weight: bold; box-shadow: 0 10px 15px rgba(0,0,0,0.1); opacity: 0; transform: translateX(-10px); transition: all 0.3s; white-space: nowrap; pointer-events: none; }
.btn-wsp-flotante:hover .btn-wsp-tooltip { opacity: 1; transform: translateX(0); }

footer { text-align: center; padding: 40px 20px; background-color: var(--dark); border-top: 1px solid var(--border); color: var(--text-muted); font-size: 0.95rem; margin-top: auto; }
.dev-link { color: var(--primary); text-decoration: none; font-weight: bold; transition: 0.3s; }
.dev-link:hover { color: var(--primary-hover); text-decoration: underline; }

.social-container { margin-bottom: 20px; display: flex; justify-content: center; gap: 15px; }
.social-icon { display: inline-flex; align-items: center; justify-content: center; width: 45px; height: 45px; border-radius: 50%; color: white; text-decoration: none; font-size: 1.5rem; transition: 0.3s; box-shadow: 0 4px 10px rgba(0,0,0,0.3); }
.social-icon:hover { transform: scale(1.1); }
.social-icon.inst { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%); }
.social-icon.wsp { background: #25D366; }

@media (max-width: 1100px) { 
    .productos-grid { grid-template-columns: repeat(auto-fill, minmax(45%, 1fr)); } 
}

@media (max-width: 900px) { 
    main { display: flex; flex-direction: column; }
    main > div { display: contents; }
    #nosotros { order: 1; }
    #pedidos { order: 2; }
    .carrito { order: 3; position: static; margin-top: 30px; margin-bottom: 30px; scroll-margin-top: 90px; }
    #contactanos { order: 4; margin-top: 0; }
    .nav-links { display: none; } 
    .hero-banner { height: 250px; } 
    .btn-wsp-tooltip { display: none; } 
    .contacto-grid { grid-template-columns: 1fr; } 
    
    /* Activar el botón burbuja en celulares usando flex */
    .cart-flotante { display: flex; }
}