.block-pricing {
    /* Gutter lateral con el token compartido: sin él, entre 921px y ~1240px
       el grid de 3 cards ocupaba todo el ancho y quedaba a ras de la ventana. */
    padding: var(--wp--custom--section--y) var(--wp--custom--section--x);
    text-align: center;
}

.block-pricing.fondo-white-04 {
    background-color: var(--wp--preset--color--white-04);
    color: var(--wp--preset--color--black);
}

.block-pricing.fondo-white-02 {
    background-color: var(--wp--preset--color--white-02);
    color: var(--wp--preset--color--black);
}

.block-pricing.fondo-black {
    background-color: var(--wp--preset--color--black);
    color: var(--wp--preset--color--white);
}

.block-pricing.fondo-main-blue {
    background-color: var(--wp--preset--color--main--blue);
    color: var(--wp--preset--color--white);
}

.inner-pricing {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    row-gap: 46px;
}

.pricing-eyebrow {
    display: inline-flex;
    align-items: center;
    align-self: center;
    column-gap: 8px;
    padding: 8px 16px;
    border: 1px solid var(--wp--preset--color--transparent--blue);
    border-radius: var(--wp--custom--radius--full);
    background-color: var(--wp--preset--color--transparent--blue);
    color: var(--wp--preset--color--main-blue);
    font-size: var(--wp--preset--font-size--small);
    font-weight: var(--wp--custom--weight-700);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.pricing-eyebrow-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.block-pricing .titulo-bloque {
    margin: 0;

}

.block-pricing-grid {
    display: grid;
    /*grid-template-columns: repeat(auto-fit, minmax(313px, 1fr));*/
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    justify-content: center;
}

.item-plan {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-bottom: 30px;
    border-radius: var(--wp--custom--radius--lg);
    background-color: var(--wp--preset--color--white-03);
    transition: background-color 0.25s ease;
    box-shadow: var(--shadow-card);
    text-align: left;
}

.taco-azul {
    color: white;
    background-color: var(--wp--preset--color--main--blue);
    padding: 19px 0;
    display: flex;
    flex-direction: column;
    row-gap: 4px;
}

.plan-antetitulo,
.plan-titulo {
    margin: 0;
    font-size: var(--wp--preset--font-size-h6);
    line-height: var(--wp--preset--line-height-h6);
    font-weight: var(--wp--custom--weight-700);
}

.plan-titulo {
    text-transform: uppercase;
    text-align: center;
}

.plan-descripcion {
    padding: 24px 0 24px 20px;
    color: var(--wp--preset--color--main--blue);
    font-weight: var(--wp--custom--weight-700);
    font-size: var(--wp--preset--font-size-h5);
    margin: 0 48px 0 0;
    max-width: 225px;
}

.plan-caracteristicas {
    padding: 24px 0;
    margin: 0 24px;
    border-top: 1px solid var(--wp--preset--color--grey-05);
    border-bottom: 1px solid var(--wp--preset--color--grey-05);
    display: flex;
    flex-direction: column;
    row-gap: 24px;
    list-style-type: none;
    min-height: 210px;
}

.plan-caracteristicas li {
    color: var(--wp--preset--color--black);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: baseline;
    font-size: var(--wp--preset--font-size--medium);
    line-height: var(--wp--preset--line-height--medium);
}

.check-list-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: var(--wp--preset--color--white-02);
    color: var(--wp--preset--color--black);
}

.plan-precio-container {
    padding-top: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    row-gap: 4px;
}

.plan-precio-container p {
    margin: 0;
}

.plan-precio {
    font-size: var(--wp--preset--font-size-h6);
    line-height: var(--wp--preset--line-height-h6);
    font-weight: var(--wp--custom--weight-700);

}

.plan-precio.has-h-4-font-size {
    color: var(--wp--preset--color--main--blue);
    font-weight: var(--wp--custom--weight-700);
    font-size: var(--wp--preset--font-size-h4) !important;
}

.plan-permanencia {
    color: var(--wp--preset--color--main--blue);
    font-weight: var(--wp--custom--weight-500);
}

/* 1230px, no 920px: por debajo las 3 cards en fila quedan demasiado estrechas
   (precios y características partidos en muchas líneas), así que pasan a una
   columna a la vez que el menú a hamburguesa, como el resto de bloques de
   varias columnas. El gutter lateral sigue bajando a x-mobile en 920px. */
@media (max-width: 1230px) {
    .block-pricing-grid {
        grid-template-columns: repeat(1, 1fr);
        margin: 0 auto;
    }
}

@media (max-width: 920px) {
    .block-pricing {
        padding: var(--wp--custom--section--y-mobile) var(--wp--custom--section--x-mobile);
    }

    .plan-caracteristicas {
        row-gap: 16px;
        min-height: 170px;
    }

    .plan-caracteristicas li {
        color: var(--wp--preset--color--black);
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 10px;
        align-items: baseline;
        font-size: var(--wp--preset--font-size--small);
        line-height: var(--wp--preset--line-height--small);
    }
}