/* ========================================================
   WOOCOMMERCE — LISTADOS, CATEGORÍAS, BADGES
   ======================================================== */

.price del, ins {
    text-decoration: none !important;
}

.woocommerce ul.products li.product .price {
    display: flex;
    flex-direction: column;
    font-size: clamp(17px, 1.5vw, 22px);
}

li.product .price del span {
    text-decoration: line-through;
    font-size: clamp(14px, 1.2vw, 18px);
}

.price {
    display: flex;
    flex-direction: column;
    line-height: 1.0;
}

.woocommerce ul.products li.product {
    position: relative;
}

/* UNIFICACIÓN PRECIO + BADGE */
.woocommerce ul.products li.product .price,
.pagelayer-product-price,
.price {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}
/*
.woocommerce ul.products li.product .price ins,
.woocommerce div.product .price ins,
.price ins,
.price > span:not(del),
.pagelayer-product-price ins {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    text-decoration: none !important;
    background: transparent !important;
    width: auto !important;
    white-space: nowrap !important;
}*/

.price .woocommerce-Price-amount,
.price ins .woocommerce-Price-amount {
    display: inline-block !important;
    width: auto !important;
    margin: 0 !important;
}

.badge-descuento-ml {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #00a650 !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    padding: 3px 6px !important;
    border-radius: 3px !important;
    letter-spacing: 0.3px !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    vertical-align: middle !important;
    margin: 0 0 0 6px !important;
    position: relative !important;
    top: -1px !important;
}

span.onsale {
    background-color: #ff003cff;
    font-family: Roboto Condensed;
    font-size: 22px !important;
}
