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

:root {
    --rosa: #e90070;
    --rosa-claro: #fff0f7;
    --negro: #101114;
    --gris: #666;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #151515;
    background: white;
    overflow-x: hidden;
}


/* ================= HEADER ================= */

.header {
    background: var(--negro);
    display: flex;
    align-items: center;
    padding: 12px 3%;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.logo {
    width: 150px;
    flex-shrink: 0;
}

.logo img {
    width: 130px;
    display: block;
}

.menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu a {
    color: white;
    text-decoration: none;
    font-size: 11px;
    font-weight: bold;
    position: relative;
    padding: 8px 0;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.menu a:hover {
    color: var(--rosa);
}

.menu .activo::after {
    content: "";
    position: absolute;
    height: 3px;
    background: var(--rosa);
    bottom: 0;
    left: 0;
    right: 0;
}


/* ================= BUSCADOR ================= */

.buscador {
    width: 200px;
    height: 35px;
    background: white;
    border-radius: 25px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    flex-shrink: 0;
}

.buscador input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 11px;
}

.buscador i {
    color: var(--rosa);
}


/* ================= CARRITO ================= */

.carrito {
    position: relative;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
    cursor: pointer;
}

.carrito span {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 16px;
    height: 16px;
    background: var(--rosa);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 9px;
}


/* ================= BANNER ================= */

.hero {
    width: 100%;
}

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


/* ================= PROMOCIONES (GRILLA 4 COLUMNAS) ================= */

.promociones {
    background: var(--rosa-claro);
    padding: 35px 4%;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 20px;
    align-items: start;
}


/* ================= INFORMACIÓN ================= */

.promo-info {
    padding: 10px;
}

.etiqueta {
    display: inline-block;
    background: var(--rosa);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
}

.promo-info h1 {
    font-size: 38px;
    line-height: .95;
    margin-top: 15px;
}

.promo-info h1 span {
    display: block;
    color: var(--rosa);
}

.promo-info h2 {
    font-size: 15px;
    margin-top: 12px;
}


/* ================= MINI BENEFICIOS ================= */

.mini-beneficios {
    display: flex;
    margin-top: 25px;
    gap: 10px;
}

.mini-beneficios div {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-right: 10px;
    border-right: 1px solid #ccc;
}

.mini-beneficios i {
    font-size: 17px;
}

.mini-beneficios p {
    font-size: 8.5px;
    font-weight: bold;
}

.frase {
    margin-top: 20px;
    font-size: 16px;
    font-style: italic;
}


/* ================= PRODUCTOS ================= */

.producto {
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 22px 18px 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.producto img {
    width: 100%;
    height: 130px;
    object-fit: contain;
    display: block;
    margin-bottom: 10px;
}

.descuento {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--rosa);
    color: white;
    padding: 6px 11px;
    border-radius: 0 0 12px 0;
    font-weight: bold;
    font-size: 12px;
}

.producto small {
    font-size: 10px;
    font-weight: bold;
    color: #444;
}

.producto h3 {
    font-size: 16px;
    margin-top: 3px;
}

.producto p {
    color: var(--gris);
    font-size: 11px;
    margin-top: 4px;
}

.producto del {
    display: block;
    color: #888;
    font-size: 11px;
    margin-top: 10px;
}

.producto strong {
    display: block;
    color: var(--rosa);
    font-size: 17px;
    margin-top: 2px;
}

.producto button.btn-ver-mas {
    width: 100%;
    border: none;
    background: var(--rosa);
    color: white;
    padding: 9px;
    border-radius: 20px;
    margin-top: 10px;
    font-weight: bold;
    cursor: pointer;
    font-size: 12px;
}

.producto button.btn-ver-mas:hover {
    background: #c70060;
}


/* ================= VENTANA MODAL ================= */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 15px;
}

.modal-contenido {
    background: white;
    width: 100%;
    max-width: 450px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 15px;
    padding: 25px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.modal-cerrar,
.modal-cerrar-checkout {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
    color: #888;
}

.modal-cerrar:hover,
.modal-cerrar-checkout:hover {
    color: var(--rosa);
}

.modal-contenido img {
    width: 100%;
    height: 130px;
    object-fit: contain;
    margin-bottom: 10px;
}

.modal-descripcion {
    color: var(--gris);
    font-size: 11.5px;
    margin-top: 8px;
    line-height: 1.4;
    white-space: pre-line;
    text-align: left;
    background: #fafafa;
    padding: 10px;
    border-radius: 8px;
}

.btn-whatsapp {
    display: block;
    width: 100%;
    background: #25D366;
    color: white;
    text-align: center;
    padding: 12px;
    border-radius: 25px;
    font-weight: bold;
    text-decoration: none;
    margin-top: 15px;
    font-size: 14px;
}

.btn-whatsapp:hover {
    background: #1EBE5D;
}


/* ================= BARRA BENEFICIOS ================= */

.barra-beneficios {
    min-height: 75px;
    background: var(--negro);
    color: white;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 0 4%;
}

.barra-beneficios > div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-right: 1px solid #444;
}

.barra-beneficios > div:last-child {
    border: none;
}

.barra-beneficios i {
    font-size: 22px;
    color: var(--rosa);
}

.barra-beneficios b,
.barra-beneficios small {
    display: block;
}

.barra-beneficios b {
    font-size: 10.5px;
}

.barra-beneficios small {
    color: #aaa;
    font-size: 8.5px;
    margin-top: 3px;
}


/* ================= FOOTER ================= */

footer {
    min-height: 70px;
    background: var(--negro);
    color: white;
    border-top: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 4%;
    font-size: 11px;
}

footer img {
    width: 120px;
}

.redes {
    display: flex;
    gap: 12px;
    font-size: 16px;
}

.redes i:hover {
    color: var(--rosa);
}


/* ================= RESPONSIVE PARA CELULARES ================= */

@media (max-width: 900px) {
    .header {
        padding: 10px 12px;
        gap: 10px;
    }

    .logo {
        width: 130px;
        order: 1;
    }

    .carrito {
        order: 2;
        margin-left: auto;
    }

    .buscador {
        order: 3;
        width: 100%;
        margin: 0;
    }

    .menu {
        order: 4;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
        justify-content: flex-start;
    }

    .promociones {
        grid-template-columns: 1fr;
        padding: 20px 15px;
    }

    .barra-beneficios {
        grid-template-columns: 1fr 1fr;
        padding: 10px;
    }

    .barra-beneficios > div {
        padding: 10px;
        border-bottom: 1px solid #444;
        border-right: none;
    }

    footer {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}
/* ================= CORRECCIÓN DE GRILLA PARA CELULARES.HTML ================= */
.contenedor-productos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    width: 100%;
    margin-top: 20px;
}

main.promociones {
    display: block !important;
    padding: 30px 4% !important;
}

