:root { --cyan: #00acc1; --blue: #1a47b8; --red: #FF0000; }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; width: 100%; overflow-x: hidden; font-family: 'Fredoka', sans-serif; background: #fff; }

/* HEADER */
.header { text-align: center; padding: 15px 0; }
.main-logo { height: 75px; width: auto; }
.nav { background: var(--cyan); padding: 12px 0; display: flex; justify-content: center; gap: 20px; }
.nav a { color: white; text-decoration: none; font-weight: 700; font-size: 13px; text-transform: uppercase; }

.hero img { width: 100%; display: block; }

/* WRAPPER PRINCIPAL (Clave para que no se rompa nada) */
.main-wrapper { 
    width: 95%; 
    max-width: 1200px; 
    margin: 0 auto; 
    padding-bottom: 50px; 
}

.section-title { border-left: 5px solid var(--cyan); padding-left: 15px; margin: 40px 0 20px 0; font-size: 24px; color: #333; }

/* CARDS */
.product-card { background: white; border: 1px solid #eee; border-radius: 20px; padding: 15px; text-align: center; height: 100%; display: flex; flex-direction: column; }
.product-img { width: 100%; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; background: #f9f9f9; border-radius: 15px; margin-bottom: 15px; overflow: hidden; }
.product-img img { max-width: 90%; max-height: 90%; object-fit: contain; }
.price { font-size: 26px; font-weight: 700; margin: 5px 0; }
.promo-text { color: var(--blue); font-weight: 700; font-size: 12px; margin-bottom: 15px; }

.btns { display: flex; gap: 8px; margin-top: auto; }
.btn-wa, .btn-mp { flex: 1; padding: 12px 5px; border-radius: 25px; font-weight: 700; font-size: 11px; border: none; cursor: pointer; text-align: center; text-decoration: none; }
.btn-wa { border: 2px solid var(--blue); background: white; color: var(--blue); }
.btn-mp { background: var(--blue); color: white; animation: pulse 2s infinite; }

/* CATEGORÍAS (Corregido: Tamaño controlado) */
.category-slider img { width: 100%; border-radius: 15px; display: block; }

/* VIDEO 9:16 */
.video-card { max-width: 350px; margin: 0 auto; background: white; border-radius: 25px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border: 1px solid #eee; }
.video-media { position: relative; width: 100%; aspect-ratio: 9/16; background: #000; }
.video-media video { width: 100%; height: 100%; object-fit: cover; }
.mute-btn { position: absolute; top: 15px; right: 15px; background: rgba(0,0,0,0.5); color: white; border: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; z-index: 10; }
.video-info { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.btn-yt, .btn-buy-vid { padding: 14px; border-radius: 30px; text-decoration: none; color: white; font-weight: 700; font-size: 12px; text-align: center; display: flex; align-items: center; justify-content: center; gap: 8px; }
.btn-yt { background: var(--red); }
.btn-buy-vid { background: var(--blue); animation: pulse 2s infinite; }

/* BIG BANNERS */
.big-banners { display: flex; flex-direction: column; gap: 20px; margin-top: 40px; }
.banner-box { border-radius: 20px; overflow: hidden; transition: 0.4s; }
.banner-box img { width: 100%; display: block; }
.banner-box:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }

/* FICHA LOCAL */
.local-card { background: white; border: 1px solid #eee; border-radius: 25px; padding: 30px; display: flex; align-items: center; gap: 30px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.local-logo { width: 120px; height: auto; }
.btn-maps { color: var(--cyan); font-weight: 700; text-decoration: underline; display: inline-block; margin-top: 10px; }

/* FOOTER */
.footer { background: var(--cyan); color: white; padding: 60px 20px; text-align: center; }
.footer-content { max-width: 1200px; margin: 0 auto; }
.f-logo { height: 80px; background: white; padding: 15px; border-radius: 15px; margin-bottom: 20px; }
.f-social { display: flex; justify-content: center; gap: 30px; margin-top: 25px; }
.f-social i { font-size: 35px; color: white; transition: 0.3s; }
.f-social i:hover { transform: scale(1.2); }

/* UTILIDADES */
.wa-float { position: fixed; bottom: 30px; right: 30px; background: #25d366; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 1000; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.wa-float img { width: 35px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(26, 71, 184, 0.6); } 70% { box-shadow: 0 0 0 12px rgba(26, 71, 184, 0); } 100% { box-shadow: 0 0 0 0 rgba(26, 71, 184, 0); } }

/* RESPONSIVE */
@media (max-width: 768px) {
    .local-card { flex-direction: column; text-align: center; }
    .nav { gap: 10px; }
    .nav a { font-size: 11px; }
    .swiper-button-next, .swiper-button-prev { display: none; } /* En móvil se usa el dedo */
}