/* =========================================
   CONFIGURACIÓN GENERAL
========================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    min-height: 100%;
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
}

body {
    overflow-x: hidden;
}

.pagina {
    width: 100%;
    display: flex;
    flex-direction: column;
}


/* =========================================
   BANNER SUPERIOR
========================================= */

.banner-superior {
    width: 100%;
    position: relative;
    background: #f5f5f5;
}

.imagen-banner {
    display: block;
    width: 100%;
    height: auto;
}


/* =========================================
   MENU DE CATEGORÍAS
========================================= */

.menu-categorias {
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 30px;

    padding: 20px;

    background: #ffffff;
}


/* Botones */

.boton-categoria {
    border: none;

    padding: 14px 35px;

    min-width: 150px;

    font-size: 22px;
    font-weight: 500;

    cursor: pointer;

    border-radius: 5px;

    background: #eeeeee;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease;
}

.boton-categoria:hover {
    transform: translateY(-2px);
    background: #dddddd;
}

.boton-categoria:active {
    transform: scale(0.97);
}


/* =========================================
   CONTENIDO CENTRAL
========================================= */

main {
    width: 100%;
}


/* Ocultar contenido */

.oculto {
    display: none !important;
}


/* =========================================
   PROMOCIONES
========================================= */

.promociones {
    width: 100%;
    padding: 25px 30px 35px;

    background: #ffffff;
}


/* =========================================
   GALERÍA DE PROMOCIONES
========================================= */

.galeria {
    width: 100%;

    display: grid;

    grid-template-columns: repeat(
        auto-fit,
        minmax(280px, 1fr)
    );

    gap: 20px;

    max-width: 1400px;

    margin: 0 auto;
}


/* Imagen individual */

.galeria img {
    width: 100%;
    height: auto;

    display: block;

    object-fit: contain;

    border-radius: 5px;
}


/* =========================================
   FOOTER
========================================= */

.footer {
    width: 100%;
    background: #f5f5f5;
}

.imagen-footer {
    display: block;

    width: 100%;
    height: auto;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 768px) {

    .menu-categorias {
        gap: 12px;
        padding: 15px 10px;
    }

    .boton-categoria {
        min-width: 0;
        flex: 1;

        padding: 12px 10px;

        font-size: 18px;
    }

    .promociones {
        padding: 15px;
    }

    .galeria {
        grid-template-columns: repeat(
            auto-fit,
            minmax(220px, 1fr)
        );

        gap: 15px;
    }
}


/* =========================================
   CELULAR
========================================= */

@media (max-width: 480px) {

    .menu-categorias {
        gap: 8px;
        padding: 10px 8px;
    }

    .boton-categoria {
        padding: 10px 5px;
        font-size: 15px;
    }

    .promociones {
        padding: 10px;
    }

    .galeria {
        grid-template-columns: 1fr;
        gap: 12px;
    }

}

/* =========================================
   MENU DE CATEGORÍAS
========================================= */

.menu-categorias {
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 25px;

    padding: 25px 20px;

    background: #ffffff;
}


/* =========================================
   BOTONES
========================================= */

.boton-categoria {
    position: relative;

    min-width: 170px;

    padding: 15px 32px;

    border: none;
    border-radius: 12px;

    background: #28c9ff;

    color: #333333;

    font-size: 20px;
    font-weight: 600;

    cursor: pointer;

    /* Sombra inicial */
    box-shadow:
        0 4px 10px rgba(0, 0, 0, 0.12),
        0 1px 3px rgba(0, 0, 0, 0.08);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease;
}


/* Línea decorativa inferior */

.boton-categoria::after {
    content: "";

    position: absolute;

    left: 20%;
    right: 20%;
    bottom: 0;

    height: 3px;

    border-radius: 10px;

    background: #333333;

    opacity: 0.15;

    transition:
        left 0.25s ease,
        right 0.25s ease,
        opacity 0.25s ease;
}


/* =========================================
   EFECTO AL PASAR EL MOUSE
========================================= */

.boton-categoria:hover {

    transform: translateY(-4px);

    box-shadow:
        0 8px 18px rgba(0, 0, 0, 0.16),
        0 3px 6px rgba(0, 0, 0, 0.10);

    background: #fafafa;
}


.boton-categoria:hover::after {

    left: 10%;
    right: 10%;

    opacity: 0.35;
}


/* =========================================
   EFECTO AL PRESIONAR
========================================= */

.boton-categoria:active {

    transform: translateY(-1px) scale(0.98);

    box-shadow:
        0 3px 7px rgba(0, 0, 0, 0.12);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 768px) {

    .menu-categorias {

        gap: 12px;

        padding: 18px 10px;
    }


    .boton-categoria {

        min-width: 0;

        flex: 1;

        padding: 13px 10px;

        font-size: 18px;

        border-radius: 10px;
    }

}


/* =========================================
   CELULAR
========================================= */

@media (max-width: 480px) {

    .menu-categorias {

        gap: 8px;

        padding: 14px 8px;
    }


    .boton-categoria {

        padding: 11px 6px;

        font-size: 15px;

        border-radius: 9px;
    }

}