/* ==============================> CLASTER DE PRODUCTOS */

.wd-hover-with-fade.hover-ready:is(:hover, .state-hover) .content-product-imagin {
    visibility: hidden !important;
}

.wd-product {
    border-radius: 4px;
    padding: 14px;
    border: 1px solid #D5DFE4;
    transition: 0.4s ease-in-out;
    background: #fff;
}

.wd-product:hover {
    border-color: var(--e-global-color-primary) !important;
    background: #fff !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 .price {
    display: flex !important;
    flex-direction: row-reverse;
    align-items: flex-end;
    gap: 12px;
}

@media(max-width:768px) {
    .wd-product {
        padding: 8px;
    }

    .wd-product .price {
        display: flex !important;
        align-items: flex-start;
        flex-direction: column;
    }
}

/* ==============================> CLASTER: PRECIO Y DESCUENTO */

/* -> CONTENEDOR DE PRECIO */
.wd-product .wrap-price .price {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    gap: 2px 8px;
}

/* -> PRECIO ANTERIOR */
.wd-product .wrap-price .price del {
	flex: 0 0 100%;
	order: 1;
	font-size: 12px;
	line-height: 1.2;
	color: #999;
	opacity: 1;
}

/* -> PRECIO ACTUAL */
.wd-product .wrap-price .price ins {
	order: 2;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--e-global-color-primary);
	text-decoration: none;
	background: transparent;
}

/* -> ETIQUETA DE DESCUENTO */
.wd-product .wrap-price .price .cls-dscto {
    order: 3;
    display: inline-block;
    padding: 2px 6px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
    color:#fff;
    background: #ff6a10;
    border-radius: 4px;
    transition: background-color .3s ease, color .3s ease, transform .3s ease;
}

.wd-product:hover .wrap-price .price .cls-dscto {
	color: #fff;
	background: var(--e-global-color-secondary);
	-webkit-transform: translateY(-1px);
	transform: translateY(-1px);
}

/* -> ETIQUETA ORIGINAL DE OFERTA */
.wd-product .product-labels .onsale {
	display: none;
}

/* ==============================> CLASTER: RESPONSIVE */

/* -> MÓVIL (hasta 768px) */
@media (max-width: 768px) {
	.wd-product .wrap-price .price ins {
		font-size: 18px;
	}

	.wd-product .wrap-price .price .cls-dscto {
		font-size: 11px;
	}
}
