*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Segoe UI',Tahoma,sans-serif;
    background:#f5f5f5;
    color:#111827;
}

/* TOPBAR */

.topbar{
    background:#111827;
    color:white;

    padding:12px 80px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    font-size:15px;
}

/* BANNER */

.banner-principal img{
    width:100%;
    display:block;
}

/* MENU */

.menu-fijo{
    position:sticky;
    top:0;

    z-index:999;

    background:white;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:15px 60px;

    box-shadow:0 2px 10px rgba(0,0,0,0.1);
}

.logo-menu img{
    width:120px;
}

.links-menu{
    display:flex;
    gap:25px;
}

.links-menu a{
    text-decoration:none;

    color:#111827;

    font-weight:bold;

    padding:12px 20px;

    border-radius:10px;

    transition:0.3s;
}

.links-menu a:hover{
    background:#E10600;
    color:white;
}

/* HERO */

.hero-home{
    min-height:520px;
    background:
        linear-gradient(120deg, rgba(17,24,39,.96), rgba(17,24,39,.88), rgba(225,6,0,.45)),
        url("../imagenes/banner.png");
    background-size:cover;
    background-position:center;
    display:grid;
    grid-template-columns:1.2fr .8fr;
    align-items:center;
    gap:40px;
    padding:80px 7%;
}

.etiqueta-hero{
    display:inline-block;
    background:#E10600;
    color:white;
    padding:10px 18px;
    border-radius:30px;
    font-weight:bold;
    margin-bottom:20px;
}

.hero-texto{
    color:white;
}

.hero-texto h1{
    font-size:62px;
    line-height:1.1;
    margin:0 0 25px;
}

.hero-texto p{
    font-size:22px;
    line-height:1.6;
    max-width:650px;
    color:#f3f4f6;
    margin-bottom:30px;
}

.hero-botones{
    display:flex;
    gap:18px;
}

.btn-rojo{
    background:#E10600;
    color:white;
    padding:15px 32px;
    border-radius:12px;
    text-decoration:none;
    font-weight:bold;
}

.btn-rojo:hover{
    background:#111827;
}

.btn-blanco{
    background:white;
    color:#111827;
    padding:15px 32px;
    border-radius:12px;
    text-decoration:none;
    font-weight:bold;
}

.btn-blanco:hover{
    background:#E10600;
    color:white;
}

.hero-card{
    background:rgba(255,255,255,.95);
    padding:35px;
    border-radius:22px;
    box-shadow:0 20px 40px rgba(0,0,0,.25);
    border-top:6px solid #E10600;
}

.hero-card h3{
    font-size:28px;
    margin-bottom:20px;
    color:#111827;
}

.hero-card p{
    font-size:20px;
    margin:15px 0;
    color:#374151;
    font-weight:600;
}

@media(max-width:900px){
    .hero-home{
        grid-template-columns:1fr;
        text-align:center;
        padding:60px 25px;
    }

    .hero-texto h1{
        font-size:42px;
    }

    .hero-botones{
        justify-content:center;
        flex-wrap:wrap;
    }
}

.btn-rojo{
    background:#E10600;
    color:white;

    padding:15px 35px;

    border-radius:10px;

    text-decoration:none;

    font-weight:bold;
}

.btn-rojo:hover{
    background:black;
}

.btn-negro{
    background:#111827;
    color:white;

    padding:15px 35px;

    border-radius:10px;

    text-decoration:none;

    font-weight:bold;
}

/* CATEGORIAS */

.categorias-home{
    padding:80px;
}

.categorias-home h2{
    text-align:center;

    font-size:55px;

    margin-bottom:60px;
}

.contenedor-categorias{
    display:flex;
    gap:35px;
    justify-content:center;
    flex-wrap:wrap;
}

.card-categoria{
    width:360px;

    background:white;

    border-radius:20px;

    overflow:hidden;

    box-shadow:0 10px 25px rgba(0,0,0,0.15);

    transition:0.3s;
}

.card-categoria:hover{
    transform:translateY(-10px);
}

.card-categoria img{
    width:100%;
    height:250px;
    object-fit:cover;
}

.info-categoria{
    padding:25px;
}

.info-categoria h3{
    font-size:35px;
    margin-bottom:15px;
}

.info-categoria p{
    font-size:20px;
    line-height:1.5;
    margin-bottom:25px;
}

.info-categoria a{
    background:#E10600;
    color:white;

    padding:12px 25px;

    border-radius:10px;

    text-decoration:none;

    font-weight:bold;
}

/* INFO */

.info-home{
    padding:80px;
    background:#f5f5f5;

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.card-info{
    background:white;

    padding:35px;

    border-radius:20px;

    box-shadow:0 10px 25px rgba(0,0,0,0.08);

    transition:0.3s;

    border-top:5px solid #E10600;
}

.card-info:hover{
    transform:translateY(-10px);
}

.card-info h3{
    color:#E10600;

    font-size:28px;

    margin-bottom:20px;
}

.card-info p{
    font-size:18px;

    line-height:1.7;

    color:#374151;
}

/* FOOTER */

.footer{
    background:#111827;
    color:white;

    padding:50px 80px;

    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;

    margin-top:50px;
}

.footer h3{
    margin-bottom:15px;
}

/* RESPONSIVE */

@media(max-width:900px){

    .topbar{
        padding:12px 20px;
        flex-direction:column;
        gap:10px;
    }

    .menu-fijo{
        flex-direction:column;
        gap:20px;
    }

    .hero-home{
        padding:40px 20px;
        height:auto;
    }

    .hero-texto h1{
        font-size:42px;
    }

    .hero-texto p{
        font-size:20px;
    }

    .categorias-home{
        padding:40px 20px;
    }

    .categorias-home h2{
        font-size:38px;
    }

}

/* PRODUCTOS DESTACADOS */

.productos-destacados{
    padding:80px;
    background:#ffffff;
}

.productos-destacados h2{
    text-align:center;
    font-size:50px;
    margin-bottom:50px;
}

.grid-destacados{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
}

.card-destacado{
    background:#f5f5f5;

    border-radius:20px;

    overflow:hidden;

    box-shadow:0 8px 20px rgba(0,0,0,0.1);

    transition:0.3s;

    text-align:center;
}

.card-destacado:hover{
    transform:translateY(-10px);
}

.card-destacado img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.card-destacado h3{
    margin:20px 0 10px;
    font-size:24px;
}

.precio-destacado{
    color:#E10600;
    font-size:28px;
    font-weight:bold;
    margin-bottom:20px;
}

.btn-rojo{
    display:inline-block;

    background:#E10600;
    color:white;

    padding:12px 25px;

    border-radius:10px;

    text-decoration:none;

    font-weight:bold;

    margin-bottom:25px;
}

.btn-rojo:hover{
    background:#111827;
}

/* CARRITO EN MENÚ */

.carrito-menu{
    background:#E10600;
    color:white !important;
    display:flex;
    gap:8px;
    align-items:center;
}

.carrito-menu strong{
    font-size:14px;
}

/* PRODUCTOS DESTACADOS */

.productos-destacados{
    padding:80px;
    background:#fff;
}

.productos-destacados h2{
    text-align:center;
    font-size:45px;
    margin-bottom:50px;
    color:#111827;
}

.grid-destacados{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:30px;
}

.card-destacado{
    background:#f5f5f5;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 8px 20px rgba(0,0,0,.12);
    text-align:center;
    transition:.3s;
}

.card-destacado:hover{
    transform:translateY(-8px);
}

.card-destacado img{
    width:100%;
    height:210px;
    object-fit:cover;
}

.card-destacado h3{
    font-size:22px;
    margin:20px 10px 10px;
}

.precio-destacado{
    color:#E10600;
    font-size:25px;
    font-weight:bold;
    margin-bottom:20px;
}

/* FOOTER PRO */

.footer-pro{
    background:#111827;
    color:white;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:35px;
    padding:55px 80px;
}

.footer-pro h3{
    margin-bottom:15px;
    color:white;
}

.footer-pro p{
    line-height:1.6;
    color:#d1d5db;
}

.footer-pro a{
    display:block;
    color:#d1d5db;
    text-decoration:none;
    margin-bottom:10px;
}

.footer-pro a:hover{
    color:#E10600;
}

/* WHATSAPP */

.whatsapp-float{
    position:fixed;
    right:25px;
    bottom:25px;
    width:60px;
    height:60px;
    background:#25D366;
    color:white;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:30px;
    text-decoration:none;
    box-shadow:0 8px 20px rgba(0,0,0,.25);
    z-index:9999;
}

.whatsapp-float:hover{
    background:#111827;
}

/* RESPONSIVE */

@media(max-width:800px){
    .productos-destacados{
        padding:40px 20px;
    }

    .footer-pro{
        padding:40px 25px;
    }

    .carrito-menu{
        justify-content:center;
    }
}

/* FOOTER */

.footer-pro{
    background:#111827;

    color:white;

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:40px;

    padding:60px 80px;
}

.footer-pro h3{
    margin-bottom:20px;

    font-size:24px;

    color:#ffffff;
}

.footer-pro p{
    line-height:1.8;

    color:#d1d5db;

    margin-bottom:10px;
}

.footer-pro a{
    display:block;

    color:#d1d5db;

    text-decoration:none;

    margin-bottom:12px;

    transition:0.3s;
}

.footer-pro a:hover{
    color:#E10600;
}

/* REDES */

.redes-footer a{
    background:#1f2937;

    padding:12px 18px;

    border-radius:10px;

    margin-bottom:12px;

    display:flex;

    align-items:center;

    gap:10px;

    font-weight:bold;
}

.redes-footer a:hover{
    background:#E10600;

    color:white;
}

.footer-pro{
    background:#111827;
    color:white;
    display:grid;
    grid-template-columns:1.2fr 0.8fr 1fr 1fr;
    gap:40px;
    padding:60px 80px 25px;
    border-top:6px solid #E10600;
    align-items:start;
}

.footer-col{
    max-width:100%;
}
.footer-col h3{
    font-size:24px;
    margin-bottom:18px;
    color:#fff;
}

.footer-col p{
    color:#d1d5db;
    line-height:1.7;
    margin-bottom:10px;
}

.footer-col a{
    display:block;
    color:#d1d5db;
    text-decoration:none;
    margin-bottom:12px;
    transition:.3s;
}

.footer-col a:hover{
    color:#E10600;
    padding-left:5px;
}

.redes-footer a{
    background:#1f2937;
    padding:12px 18px;
    border-radius:12px;
    font-weight:bold;
}

.redes-footer a:hover{
    background:#E10600;
    color:white;
    padding-left:18px;
}

.footer-copy{
    grid-column:1 / -1;
    text-align:center;
    border-top:1px solid #374151;
    padding-top:20px;
    color:#d1d5db;
}

.whatsapp-float{
    position:fixed;
    right:25px;
    bottom:25px;
    width:60px;
    height:60px;
    background:#25D366;
    color:white;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:30px;
    text-decoration:none;
    box-shadow:0 8px 25px rgba(0,0,0,.30);
    z-index:9999;
}

.whatsapp-float:hover{
    background:#111827;
}

@media(max-width:800px){
    .footer-pro{
        padding:40px 25px 20px;
    }
}

.footer-pro{
    justify-content:center;
}

.footer-col{
    max-width:320px;
}

@media(max-width:1000px){
    .footer-pro{
        grid-template-columns:1fr 1fr;
    }
}

@media(max-width:700px){
    .footer-pro{
        grid-template-columns:1fr;
        padding:40px 25px 20px;
    }
}

/* =========================
RESPONSIVE GENERAL
========================= */

@media(max-width:900px){

    .menu-fijo{
        flex-direction:column;
        gap:20px;
        padding:20px;
    }

    .links-menu{
        flex-wrap:wrap;
        justify-content:center;
    }

    .hero-home{
        grid-template-columns:1fr;
        text-align:center;
        padding:60px 25px;
    }

    .hero-texto h1{
        font-size:42px;
    }

    .hero-botones{
        justify-content:center;
        flex-wrap:wrap;
    }

    .contenedor-categorias{
        flex-direction:column;
        align-items:center;
    }

    .info-home{
        grid-template-columns:1fr;
        padding:50px 25px;
    }

    .grid-destacados{
        grid-template-columns:1fr;
    }

    .footer-pro{
        grid-template-columns:1fr;
        text-align:center;
        padding:40px 25px;
    }

    .redes-footer{
        align-items:center;
    }

}

/* CELULARES */

@media(max-width:600px){

    .topbar{
        flex-direction:column;
        gap:10px;
        text-align:center;
        padding:15px;
    }

    .banner-principal img{
        height:auto;
    }

    .hero-texto h1{
        font-size:34px;
    }

    .hero-texto p{
        font-size:18px;
    }

    .btn-rojo,
    .btn-negro,
    .btn-blanco{
        width:100%;
        text-align:center;
    }

    .card-categoria{
        width:100%;
    }

    .productos-destacados{
        padding:50px 20px;
    }

}

.estado{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:10px 18px;
    border-radius:30px;
    color:#fff;
    font-weight:700;
    font-size:13px;
    min-width:140px;
    white-space:nowrap;
    text-align:center;
}

/* COLORES */

.pendiente{
    background:#f59e0b;
}

.pagado{
    background:#16a34a;
}

.proceso{
    background:#2563eb;
}

.enviado{
    background:#7c3aed;
}

.entregado{
    background:#059669;
}

.cancelado{
    background:#dc2626;
}

.tabla-admin table{
    width:100%;
    min-width:1200px;
}

.tabla-admin{
    overflow-x:auto;
}

.tabla-admin td,
.tabla-admin th{
    white-space:nowrap;
}

.estado{
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    padding:10px 20px;
    border-radius:30px;
    color:white;
    font-weight:700;
    font-size:13px;
    min-width:130px;
    white-space:nowrap !important;
    text-align:center;
}

nav a{
    display:flex;
    align-items:center;
    gap:12px;
}

nav a i{
    width:20px;
    text-align:center;
    font-size:16px;
}