/* QJ_SELLO_AGOTADO_FICHA_V1 */

/* Solo disponibilidad agotada en ficha individual */
body.single-product .summary .stock.out-of-stock,
body.single-product .summary .woocommerce-variation-availability .stock.out-of-stock {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 150px !important;
    min-height: 48px !important;

    padding: 7px 12px !important;
    margin: 12px 0 !important;

    background: #FFFFFF !important;
    border: 3px double #C40000 !important;
    border-radius: 5px !important;

    box-sizing: border-box !important;

    font-size: 0 !important;
    line-height: 1 !important;

    transform: rotate(0deg) !important;
}

/* Texto del sello */
body.single-product .summary .stock.out-of-stock::after,
body.single-product .summary .woocommerce-variation-availability .stock.out-of-stock::after {
    content: "AGOTADO" !important;

    display: block !important;

    color: #C40000 !important;
    font-size: 22px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: 1px !important;

    font-family: Arial, sans-serif !important;

    text-align: center !important;
}

/* El sello no aparece para productos disponibles */
body.single-product .summary .stock.in-stock::after,
body.single-product .summary .stock.on-backorder::after {
    content: none !important;
}

/* Móvil */
@media (max-width: 600px) {
    body.single-product .summary .stock.out-of-stock {
        width: 128px !important;
        min-height: 42px !important;
    }

    body.single-product .summary .stock.out-of-stock::after {
        font-size: 19px !important;
    }
}

/* FIN QJ_SELLO_AGOTADO_FICHA_V1 */
