

/* ======================================
   MBOOKS — TIPOGRAFÍA CORPORATIVA
====================================== */

@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@400;500;600;700;800&display=swap');


/* ======================================
   1. PORTADA DE INICIO
   CONSERVAR DISEÑO ACTUAL
====================================== */

.home .site-header,
.home .entry-header,
.home .site-footer {
    display: none !important;
}

.home .site-content {
    padding: 0 !important;
    margin: 0 !important;
}

.home .site-content .wrap {
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.home .entry-content {
    display: block !important;
    width: 100%;
    max-width: none !important;
    min-height: 0;
    margin: 0 !important;
    padding: 0 !important;
}

/* Fondo azul */
.home .portada-mbooks {
    background-color: #50B5E8;
    width: 100%;
    height: 100dvh;
    min-height: 0;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 60px 6%;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Grupo izquierdo */
.home .portada-mbooks > .wp-block-group {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 1 1 55%;
    min-width: 0;
    gap: 0 !important;
}

/* Título */
.home .portada-mbooks h1 {
    font-family: 'League Spartan', sans-serif !important;
    font-weight: 800 !important;
    line-height: 1.1;
    color: #FFFFFF;
    text-align: center;
    margin: 0 !important;
}

/* Subtítulo */
.home .portada-mbooks p,
.home .portada-mbooks h6 {
    font-family: 'League Spartan', sans-serif !important;
    font-weight: 500 !important;
    line-height: 1.4;
    color: #FFFFFF;
    text-align: center;
    margin: 22px 0 0 !important;
}

/* Contenedor del botón */
.home .portada-mbooks .wp-block-buttons {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100%;
    margin: 30px 0 0 !important;
}

/* Botón */
.home .portada-mbooks .wp-block-button {
    width: auto !important;
    flex: 0 0 auto !important;
}

.home .portada-mbooks .wp-block-button__link {
    display: inline-block;
    width: auto !important;
    max-width: 100%;
    box-sizing: border-box;

    font-family: 'League Spartan', sans-serif !important;
    font-weight: 700 !important;

    background-color: #FFFFFF;
    color: #50B5E8;

    border-radius: 100px;
    padding: 16px 28px;
    text-decoration: none;
    white-space: nowrap;

    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
    transform-origin: center;
}

/* Animación del botón */
@media (hover: hover) {
    .home .portada-mbooks .wp-block-button__link:hover {
        transform: scale(1.08);
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    }
}

/* Logotipo MB */
.home .portada-mbooks > .wp-block-image {
    flex: 0 1 55.4%;
    min-width: 0;
    margin: 0;
}

.home .portada-mbooks > .wp-block-image img {
    display: block;
    width: 100%;
    max-width: 635px;
    height: auto;
    object-fit: contain;
}

/* Sin scroll en inicio */
.home {
    overflow-y: hidden;
}


/* ======================================
   2. BIBLIOTECA MBOOKS
====================================== */

/* Ampliar el contenedor del tema */
body.page:not(.home):has(.biblioteca-mbooks)
.site-content .wrap {
    max-width: none !important;
    width: 100% !important;
    padding-left: 4% !important;
    padding-right: 4% !important;
}

/* Contenido a ancho completo */
body.page:not(.home):has(.biblioteca-mbooks)
.entry-content {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Ocultar cabecera y pie */
body.page:not(.home):has(.biblioteca-mbooks)
.site-header,
body.page:not(.home):has(.biblioteca-mbooks)
.entry-header,
body.page:not(.home):has(.biblioteca-mbooks)
.site-footer {
    display: none !important;
}

/* Eliminar espacios del tema */
body.page:not(.home):has(.biblioteca-mbooks)
.site-content {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* ======================================
   3. TÍTULO PRINCIPAL
====================================== */

.titulo-biblioteca-mbooks {
    font-family: 'League Spartan', sans-serif !important;
    font-size: clamp(34px, 4vw, 52px) !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;

    color: #238DC4 !important;
    text-align: center !important;

    width: 100% !important;
    max-width: none !important;

    margin: 65px auto 25px !important;
    padding: 0 20px;
    box-sizing: border-box;
}


/* ======================================
   4. DISTRIBUCIÓN DE LOS LIBROS
====================================== */

.biblioteca-mbooks {
    display: flex !important;
    flex-direction: row;
    align-items: flex-start !important;
    justify-content: center !important;

    width: 100% !important;
    max-width: 1100px !important;

    /* Evitar altura excesiva */
    min-height: 0 !important;

    margin: 0 auto !important;
    padding: 10px 0 35px !important;
    box-sizing: border-box;

    /* Menos espacio entre libros */
    gap: 20px !important;
}

/* Columnas */
.biblioteca-mbooks > .wp-block-column {
    flex: 1 1 0 !important;
    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

/* Imágenes */
.biblioteca-mbooks .wp-block-image {
    width: 100% !important;
    max-width: 340px !important;
    margin: 0 auto !important;
}

.biblioteca-mbooks .wp-block-image img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain;
}


/* ======================================
   5. TÍTULOS DE LOS CUENTOS
====================================== */

.biblioteca-mbooks .titulo-libro-mbooks {
    font-family: 'League Spartan', sans-serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;

    color: #50B5E8 !important;
    text-align: center !important;

    width: 100%;
    max-width: 300px;
    min-height: 0;

    margin: 12px auto 0 !important;
    padding: 0 10px;

    display: flex;
    align-items: flex-start;
    justify-content: center;

    transition: color 0.3s ease,
                transform 0.3s ease;
}

/* Efecto sobre el título */
@media (hover: hover) {
    .biblioteca-mbooks .wp-block-column:hover
    .titulo-libro-mbooks {
        color: #238DC4 !important;
        transform: translateY(-3px);
    }
}


/* ======================================
   6. ANIMACIÓN DE LAS PORTADAS
====================================== */

.libro-mbooks {
    transition: transform 0.3s ease,
                filter 0.3s ease;
    transform-origin: center;
}

@media (hover: hover) {
    .libro-mbooks:hover {
        transform: scale(1.08);
        filter: drop-shadow(
            0 12px 15px rgba(0,0,0,0.15)
        );
        cursor: pointer;
    }
}


/* ======================================
   7. ADAPTACIÓN A MÓVILES
====================================== */

@media (max-width: 767px) {

    /* Inicio */
    .home .portada-mbooks {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 32px 24px;
        gap: 24px;
    }

    .home .portada-mbooks > .wp-block-group {
        flex: 0 1 auto;
        width: 100%;
    }

    .home .portada-mbooks h1 {
        font-size: clamp(28px, 7vw, 48px);
    }

    .home .portada-mbooks p,
    .home .portada-mbooks h6 {
        font-size: 16px;
    }

    .home .portada-mbooks .wp-block-buttons {
        margin-top: 24px !important;
    }

    .home .portada-mbooks .wp-block-button__link {
        white-space: normal;
        text-align: center;
    }

    .home .portada-mbooks > .wp-block-image {
        flex: 0 1 auto;
        width: 70%;
        max-width: 300px;
    }

    .home .portada-mbooks > .wp-block-image img {
        max-width: 100%;
        height: auto;
    }

    /* Título biblioteca */
    
/* TÍTULO DE LA BIBLIOTECA — EDITABLE */

.titulo-biblioteca-mbooks {
    font-family: 'League Spartan', sans-serif;
    font-weight: 800;
    line-height: 1.15;

    width: 100%;
    max-width: none;
    text-align: center;

    margin: 0 auto 25px !important;
    padding: 0 20px;
    box-sizing: border-box;
}


    /* Libros en vertical */
    .biblioteca-mbooks {
        flex-direction: column !important;
        align-items: center !important;
        min-height: 0 !important;
        padding: 20px 20px 50px !important;
        gap: 40px !important;
    }

    .biblioteca-mbooks > .wp-block-column {
        width: 100%;
        flex: 0 1 auto !important;
    }

    .biblioteca-mbooks .wp-block-image {
        max-width: 280px !important;
    }

    .biblioteca-mbooks .titulo-libro-mbooks {
        font-size: 20px !important;
        margin-top: 14px !important;
    }
}


/* ======================================
   8. ACCESIBILIDAD
====================================== */

@media (prefers-reduced-motion: reduce) {
    .libro-mbooks,
    .home .portada-mbooks .wp-block-button__link,
    .biblioteca-mbooks .titulo-libro-mbooks {
        transition: none;
    }
}

/* ======================================
   MBOOKS — CENTRADO DE LA BIBLIOTECA
====================================== */

/* Centrar el conjunto en la pantalla */
body.page:not(.home):has(.biblioteca-mbooks)
.entry-content {
    min-height: 100dvh !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    box-sizing: border-box;
    padding: 40px 4% !important;
}

/* Título principal */
body.page:not(.home):has(.biblioteca-mbooks)
.titulo-biblioteca-mbooks {
    margin: 0 auto 25px !important;
    width: 100% !important;
    text-align: center !important;
}

/* Tres libros juntos */
body.page:not(.home):has(.biblioteca-mbooks)
.biblioteca-mbooks {
    min-height: 0 !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* Adaptación a móviles */
@media (max-width: 767px) {
    body.page:not(.home):has(.biblioteca-mbooks)
    .entry-content {
        min-height: 100dvh !important;
        padding: 40px 20px !important;
    }
}
/* Detalle editorial del título MBooks */

.titulo-biblioteca-mbooks::after {
    content: "";
    display: block;
    width: 70px;
    height: 3px;
    background-color: #50B5E8;
    border-radius: 10px;
    margin: 16px auto 0;
}

/* MBOOKS — VOLVER AL INICIO */

.volver-mbooks {
    position: absolute;
    top: 35px;
    left: 5%;
    margin: 0 !important;
    z-index: 10;
}

.volver-mbooks a {
    font-family: 'League Spartan', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #238DC4 !important;
    text-decoration: none !important;
    display: inline-block;
    transition: transform 0.3s ease;
}

@media (hover: hover) {
    .volver-mbooks a:hover {
        transform: translateX(-5px);
    }
}

/* Ajuste en móviles */
@media (max-width: 767px) {
    .volver-mbooks {
        top: 20px;
        left: 24px;
    }
}

/* MBOOKS — SUBTÍTULO DE LA BIBLIOTECA */

.subtitulo-biblioteca-mbooks {
    font-family: 'League Spartan', sans-serif !important;
    font-size: 19px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;

    color: #238DC4 !important;
    text-align: center !important;

    width: 100%;
    margin: 0 auto !important;
    padding: 0 15px;
    box-sizing: border-box;
}

/* =====================================
   MBOOKS — COLORES UNIFICADOS
   SOLO BIBLIOTECA
===================================== */

/* Azul editorial MBooks */
body.page:not(.home):has(.biblioteca-mbooks) {
    --mbooks-azul: #238DC4;
}

/* Título y subtítulo */
body.page:not(.home):has(.biblioteca-mbooks)
.titulo-biblioteca-mbooks,
body.page:not(.home):has(.biblioteca-mbooks)
.subtitulo-biblioteca-mbooks {
    color: var(--mbooks-azul) !important;
}

/* Nombres de los cuentos */
body.page:not(.home):has(.biblioteca-mbooks)
.titulo-libro-mbooks {
    color: var(--mbooks-azul) !important;
}

/* Enlace volver a MBooks */
body.page:not(.home):has(.biblioteca-mbooks)
.volver-mbooks a {
    color: var(--mbooks-azul) !important;
}

/* Línea decorativa */
body.page:not(.home):has(.biblioteca-mbooks)
.titulo-biblioteca-mbooks::after {
    background-color: var(--mbooks-azul) !important;
}

/* Efecto al pasar el ratón */
@media (hover: hover) {
    body.page:not(.home):has(.biblioteca-mbooks)
    .wp-block-column:hover .titulo-libro-mbooks {
        color: #176B99 !important;
    }
}

/* MBOOKS — FONDO CON FORMAS ORGÁNICAS */

/* Fondo de la biblioteca */
body.page:not(.home):has(.biblioteca-mbooks) {
    background-color: #FFFFFF;
    position: relative;
}

/* Formas decorativas */
body.page:not(.home):has(.biblioteca-mbooks)::before,
body.page:not(.home):has(.biblioteca-mbooks)::after {
    content: "";
    position: fixed;
    width: 320px;
    height: 320px;
    background-color: #EAF6FC;
    border-radius: 60% 40% 65% 35% /
                   45% 60% 40% 55%;
    z-index: 0;
    pointer-events: none;
}



/* FORMA ORGÁNICA SUPERIOR DERECHA */

body.page:not(.home):has(.biblioteca-mbooks)::before {
    content: "";
    position: fixed;
    top: 20px;
    right: 20px;

    width: 230px;
    height: 230px;

    background-color: #EAF6FC;
    border-radius: 60% 40% 65% 35% /
                   45% 60% 40% 55%;

    transform: rotate(25deg);
    z-index: 2;
    pointer-events: none;
}

/* Mantener textos y libros por encima */
body.page:not(.home):has(.biblioteca-mbooks)
.site-content {
    position: relative;
    z-index: 3;
    background: transparent !important;
}



/* Forma inferior izquierda */
body.page:not(.home):has(.biblioteca-mbooks)::after {
    bottom: -160px;
    left: -110px;
    transform: rotate(-30deg);
}

/* Contenido por encima de las formas */
body.page:not(.home):has(.biblioteca-mbooks)
.site-content {
    position: relative;
    z-index: 1;
    background: transparent;
}

/* Adaptación a móviles */
@media (max-width: 767px) {
    body.page:not(.home):has(.biblioteca-mbooks)::before,
    body.page:not(.home):has(.biblioteca-mbooks)::after {
        width: 190px;
        height: 190px;
    }
}

/* MBOOKS — ESTRELLAS DECORATIVAS */

body.page:not(.home):has(.biblioteca-mbooks)
.site-content::before,
body.page:not(.home):has(.biblioteca-mbooks)
.site-content::after {
    content: "✦";
    position: absolute;
    font-family: sans-serif;
    color: #A7DDF4;
    pointer-events: none;
    z-index: 1;
}

/* Estrella izquierda */
body.page:not(.home):has(.biblioteca-mbooks)
.site-content::before {
    top: 24%;
    left: 7%;
    font-size: 40px;
}

/* Estrella derecha */
body.page:not(.home):has(.biblioteca-mbooks)
.site-content::after {
    bottom: 20%;
    right: 8%;
    font-size: 28px;
}

@media (max-width: 767px) {
    body.page:not(.home):has(.biblioteca-mbooks)
    .site-content::before,
    body.page:not(.home):has(.biblioteca-mbooks)
    .site-content::after {
        font-size: 20px;
    }
}

/* MBOOKS — FORMAS ORGÁNICAS BLANCAS */

/* Preparar la portada */
.home .portada-mbooks {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

/* Formas decorativas */
.home .portada-mbooks::before,
.home .portada-mbooks::after {
    content: "";
    position: absolute;
    background-color: #FFFFFF;
    pointer-events: none;
    z-index: 0;
    border-radius: 60% 40% 65% 35% /
                   45% 60% 40% 55%;
}

/* Esquina superior derecha */
.home .portada-mbooks::before {
    width: 310px;
    height: 260px;
    top: -145px;
    right: -130px;
    transform: rotate(25deg);
}

/* Esquina inferior izquierda */
.home .portada-mbooks::after {
    width: 340px;
    height: 270px;
    bottom: -155px;
    left: -130px;
    transform: rotate(-25deg);
}

/* Textos, botón y logo por encima */
.home .portada-mbooks > * {
    position: relative;
    z-index: 1;
}

/* Adaptación a móviles */
@media (max-width: 767px) {
    .home .portada-mbooks::before,
    .home .portada-mbooks::after {
        width: 180px;
        height: 160px;
    }
}


/* =====================================
   MBOOKS — LOGOTIPO FLOTANTE
===================================== */

/* Movimiento suave */
@keyframes mbooksFlotar {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* Animar solo el logotipo de inicio */
.home .portada-mbooks > .wp-block-image img {
    animation: mbooksFlotar 4s ease-in-out infinite;
    will-change: transform;
}

/* Respetar movimiento reducido */
@media (prefers-reduced-motion: reduce) {
    .home .portada-mbooks > .wp-block-image img {
        animation: none;
    }
}

/* MBOOKS — LOGO FLOTANTE INTERACTIVO */

/* Crecimiento suave del contenedor */
.home .portada-mbooks > .wp-block-image {
    transition: scale 0.35s ease;
    transform-origin: center;
}

/* Al pasar el ratón: crecer un 8 % */
@media (hover: hover) {
    .home .portada-mbooks > .wp-block-image:hover {
        scale: 1.08;
    }
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
    .home .portada-mbooks > .wp-block-image {
        transition: none;
    }
}

/* MBOOKS — BIBLIOTECA MÁS GRANDE */

/* Ampliar conjunto de libros */
.biblioteca-mbooks {
    max-width: 1350px !important;
    gap: 30px !important;
}

/* Portadas más grandes */
.biblioteca-mbooks .wp-block-image {
    max-width: 400px !important;
}

/* Títulos más grandes */
.biblioteca-mbooks .titulo-libro-mbooks {
    font-size: 24px !important;
    max-width: 380px !important;
    margin-top: 18px !important;
}

/* Adaptación a móviles */
@media (max-width: 767px) {
    .biblioteca-mbooks {
        gap: 40px !important;
    }

    .biblioteca-mbooks .wp-block-image {
        max-width: 300px !important;
    }

    .biblioteca-mbooks .titulo-libro-mbooks {
        font-size: 21px !important;
    }
}

/* MBOOKS — FONDO BLANCO DEL FLIPBOOK */

/* Fondo del visor */
.r3d-flipbook,
.real3dflipbook,
.flipbook-main-wrapper {
    background: transparent !important;
    background-color: transparent !important;
}

/* Contenedores del visor */
.r3d-flipbook-container,
.flipbook-container {
    background: transparent !important;
    background-color: transparent !important;
}


/* ======================================
   9. BOMBI — PRESENTACIÓN EDITORIAL
   Solo afecta a la página de Bombi
====================================== */

/* Quitar encabezado, pie y separaciones del tema */
body.page:has(.presentacion-bombi) .site-header,
body.page:has(.presentacion-bombi) .entry-header,
body.page:has(.presentacion-bombi) .site-footer {
    display: none !important;
}

body.page:has(.presentacion-bombi) .site-content,
body.page:has(.presentacion-bombi) .site-content .wrap,
body.page:has(.presentacion-bombi) .entry-content {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

body.page:has(.presentacion-bombi) .site-content .wrap,
body.page:has(.presentacion-bombi) .entry-content {
    max-width: none !important;
}

body.page:has(.presentacion-bombi) {
    background-color: #8ED1FC;
}

/* El enlace se posiciona respecto al contenido, no a la ventana.
   No ocupa espacio ni empuja las columnas. */
body.page:has(.presentacion-bombi) .entry-content {
    position: relative;
}

body.page:has(.presentacion-bombi) .volver-bombi {
    position: absolute !important;
    top: 30px !important;
    left: 5% !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 20 !important;
    width: max-content !important;
    max-width: 90% !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

body.page:has(.presentacion-bombi) .volver-bombi a,
body.page:has(.presentacion-bombi) .volver-bombi .wp-block-button__link {
    color: #FFFFFF !important;
    background: transparent !important;
    font-family: 'League Spartan', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    display: inline-block;
    padding: 0 !important;
    transition: transform .3s ease;
}

@media (hover: hover) {
    body.page:has(.presentacion-bombi) .volver-bombi a:hover {
        transform: translateX(-5px);
    }
}

/* Presentación de borde a borde, centrada verticalmente */
body.page:not(.home) .wp-block-columns.presentacion-bombi {
    width: 100vw !important;
    max-width: none !important;
    margin: 0 calc(50% - 50vw) !important;
    min-height: 100dvh !important;
    box-sizing: border-box;
    padding: 85px max(5%, calc((100vw - 1250px) / 2)) 65px !important;
    background: #8ED1FC !important;
    display: flex !important;
    flex-direction: row;
    align-items: center !important;
    justify-content: center !important;
    gap: 55px !important;
    position: relative !important;
    isolation: isolate;
    overflow: hidden;
}

/* Evitar desbordamiento: ambas columnas comparten el espacio disponible */
.presentacion-bombi > .wp-block-column {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    position: relative;
    z-index: 1;
    background: transparent !important;
}

/* Imagen y animación flotante */
.presentacion-bombi .libro-flotante-bombi {
    width: 100% !important;
    max-width: 520px !important;
    margin: 0 auto !important;
}

.presentacion-bombi .libro-flotante-bombi img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    animation: bombiFlotar 4s ease-in-out infinite;
}

@keyframes bombiFlotar {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

/* Tipografía y textos blancos */
.presentacion-bombi h1,
.presentacion-bombi h2,
.presentacion-bombi h3,
.presentacion-bombi p {
    font-family: 'League Spartan', sans-serif !important;
    color: #FFFFFF !important;
    background: transparent !important;
}

.presentacion-bombi h1,
.presentacion-bombi h2,
.presentacion-bombi h3 {
    font-weight: 800 !important;
    line-height: 1.15 !important;
}

.presentacion-bombi p {
    font-size: 19px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
}

/* Línea blanca debajo del título de la sinopsis */
.presentacion-bombi .wp-block-column:last-child > h1::after,
.presentacion-bombi .wp-block-column:last-child > h2::after {
    content: '';
    display: block;
    width: min(300px, 100%);
    height: 3px;
    margin: 20px 0 25px;
    border-radius: 10px;
    background: #FFFFFF;
}

/* Dos formas orgánicas blancas */
.wp-block-columns.presentacion-bombi::before,
.wp-block-columns.presentacion-bombi::after {
    content: '';
    position: absolute;
    z-index: 0;
    pointer-events: none;
    background: #FFFFFF;
    border-radius: 60% 40% 65% 35% / 45% 60% 40% 55%;
}

.wp-block-columns.presentacion-bombi::before {
    width: 383px;
    height: 332px;
    top: -187px;
    right: -145px;
    transform: rotate(25deg);
}

.wp-block-columns.presentacion-bombi::after {
    width: 408px;
    height: 340px;
    bottom: -196px;
    left: -145px;
    transform: rotate(-25deg);
}

/* Botón Amazon */
.presentacion-bombi .boton-amazon-bombi {
    margin-top: 25px !important;
}

.presentacion-bombi .boton-amazon-bombi .wp-block-button__link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 290px !important;
    min-height: 62px !important;
    box-sizing: border-box !important;
    padding: 19px 36px !important;
    border: none !important;
    border-radius: 100px !important;
    background: #FFFFFF !important;
    color: #238DC4 !important;
    font-family: 'League Spartan', sans-serif !important;
    font-size: 19px !important;
    font-weight: 800 !important;
    text-align: center !important;
    text-decoration: none !important;
    transition: transform .3s ease, box-shadow .3s ease;
}

@media (hover: hover) {
    .presentacion-bombi .boton-amazon-bombi .wp-block-button__link:hover {
        transform: scale(1.06);
        box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
    }
}

/* Móvil */
@media (max-width: 767px) {
    body.page:not(.home) .wp-block-columns.presentacion-bombi {
        flex-direction: column !important;
        min-height: 100dvh !important;
        padding: 95px 24px 45px !important;
        gap: 25px !important;
    }

    .presentacion-bombi > .wp-block-column {
        flex: 0 1 auto !important;
        width: 100% !important;
    }

    .presentacion-bombi .libro-flotante-bombi {
        max-width: 320px !important;
    }

    .presentacion-bombi p {
        font-size: 17px !important;
    }

    body.page:has(.presentacion-bombi) .volver-bombi {
        top: 20px !important;
        left: 24px !important;
    }

    .presentacion-bombi .boton-amazon-bombi .wp-block-button__link {
        min-width: 0 !important;
        width: 100% !important;
        min-height: 55px !important;
        font-size: 17px !important;
        padding: 16px 24px !important;
    }

    .wp-block-columns.presentacion-bombi::before {
        width: 230px;
        height: 210px;
    }

    .wp-block-columns.presentacion-bombi::after {
        width: 230px;
        height: 210px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .presentacion-bombi .libro-flotante-bombi img {
        animation: none !important;
    }
    .presentacion-bombi .boton-amazon-bombi .wp-block-button__link,
    body.page:has(.presentacion-bombi) .volver-bombi a {
        transition: none !important;
    }
}
