/* ==============================> CLASTER DE PRODUCTOS */

.wd-hover-with-fade.hover-ready:is(:hover, .state-hover) .content-product-imagin {
    visibility: hidden !important;
}
.wd-product .product-label.onsale {
    background-color: rgb(222 21 21) !important;
}

.wd-product {
    padding: 8px;
    border: 1px solid var(--e-global-color-736c22f);
    background: #fff;
    border-radius: var(--wd-form-brd-radius);
    transition: 0.4s ease-in-out !important;
    background: #fff;
}

.wd-product:hover {
    border-color: var(--e-global-color-primary) !important;
    background: #F6F6F6 !important;
    transform: scale(1.03);
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.16);
}

.wd-product:hover .product-wrapper {
    transform: translatey(0);
    transform: translatex(0);
}

.wd-product .wd-product-thumb img {
    aspect-ratio: 1/1;
    object-fit: cover;
}


.wd-product .price {
    display: flex !important;
    flex-direction: row;
    gap: 16px;
    width: -webkit-fill-available;
    justify-content: center;
}

/* Cambiar la dirección del contenedor de texto del producto */
.wd-product .wd-entities-title, 
.wd-product .price {
    display: block;
}

.wd-product .price .amount .woocommerce-Price-currencySymbol {
    font-size: 16px;
    vertical-align: super;
    left: 0;
}

.wd-product .product-element-bottom {
    display: flex;
    flex-direction: column;
}

/* Forzar que el precio suba y el título baje */
.wd-product .price {
    order: 1 !important;
    margin-top: 4px !important;
    margin-bottom: 5px;
    font-size: 22px !important;
    font-weight: bold;
    color: #000;
}

.wd-product .price del {
    font-size: 50%;
    margin-bottom: -8px;
}

.price sup {
    font-size: 0.6em;
    vertical-align: super;
    top: 3px;
    left: 3px;
    font-weight: bold;
}

@media(max-width:768px) {
    .wd-product {
        padding: 8px;
    }

    .wd-product .price {
        display: flex !important;
        align-items: flex-start;
        flex-direction: column;
    }
}