.flipbook {
    position: relative;
    perspective: 2000px;
}

.page {
    width: 50%;
    height: 100%;
    position: absolute;
    top: 0;
    overflow: hidden;
    background: white;
    transform-origin: left center;
    transition: transform 0.9s ease;
}

.page img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: white;
}

.left {
    left: 0;
    z-index: 1;
}

.right {
    left: 50%;
    z-index: 2;
}

.flip-next {
    transform: rotateY(-180deg);
}

.flip-prev {
    transform: rotateY(180deg);
}

/* Evitar selección de texto en móvil */
* {
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

/* ------------------------------- */
/* 🔶 BOTONES DE CATEGORÍAS PRO    */
/* ------------------------------- */

.btnCategoria {
    padding: 10px 18px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    background: linear-gradient(135deg, #fbba33, #f4a321);
    color: #fff;
    transition: all .25s ease;
    box-shadow: 0 4px 10px rgba(251, 186, 51, 0.35);
}

.btnCategoria:hover {
    background: linear-gradient(135deg, #f4a321, #e39015);
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(251, 186, 51, 0.45);
}

.btnCategoria:active {
    transform: scale(0.96);
}

/* Estado activo (seleccionado) */
.btnCategoria.active {
    background: linear-gradient(135deg, #e39015, #c97a0f);
    box-shadow: 0 6px 16px rgba(227, 153, 21, 0.55);
}

/* Responsivo */
@media (max-width: 480px) {
    .btnCategoria {
        font-size: 13px;
        padding: 8px 14px;
        border-radius: 12px;
    }
}
