/* ==============================> CLASTER DE PRODUCTOS */

.wd-hover-with-fade.hover-ready:is(:hover, .state-hover) .content-product-imagin {
    visibility: hidden !important;
}

.wd-product {
    padding: 12px;
	border-radius: 12px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.08);
    transition: 0.4s ease-in-out !important;
    background: #fff;
}

.wd-product:hover {
    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;
    }
}

/* ==============================> "ATRIBUTO VELOCIDAD DE IMPRESIÓN EN EL LOOP" */

/* -> Contenedor */
.wd-velocidad-impresion {
    margin-top: 0;
    font-size: 12px;
    line-height: 16px;
    color: #555555;
    opacity: 0;
    transform: translateY(8px);
    animation: wdFadeInUp 0.5s ease forwards;
    transition: all 0.3s ease;
    -webkit-font-smoothing: antialiased;
    backface-visibility: hidden;
}

/* -> Título */
.wd-velocidad-impresion .wd-velocidad-titulo {
    font-weight: 600;
    color: var(--e-global-color-primary);
}

/* -> Valor */
.wd-velocidad-impresion .wd-velocidad-valor {
    font-weight: 400;
    color: #333333;
    transition: color 0.3s ease;
}

/* -> Efecto Hover */
.products .product:hover .wd-velocidad-impresion {
    transform: translateY(0);
    color: #222222;
}

.products .product:hover .wd-velocidad-valor {
    color: var(--e-global-color-primary);
}

/* -> Animación de Entrada */
@keyframes wdFadeInUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==============================> RESPONSIVE */

/* -> Tablets */
@media (max-width: 1024px) {
    .wd-velocidad-impresion {
        font-size: 12px;
    }
}

/* -> Móviles */
@media (max-width: 768px) {
    .wd-velocidad-impresion {
        font-size: 12px;
        margin-top: 4px;
    }
}

/* ==============================> BOTON WHATSAPP PRODUCTO */

.boton-whatsapp-producto {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #25d366 !important;
    color: #ffffff !important;
    padding: 12px;
    font-size: 14px;
    transition: all .4s ease-in-out;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.2) !important;
}

.boton-whatsapp-producto:hover {
    background: #128c7e;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    color: #ffffff !important;
}

.boton-whatsapp-producto:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(37, 211, 102, 0.2);
}

.boton-whatsapp-producto i{
    font-size: 18px;
}


.boton-whatsapp-producto span {
    position: relative;
    z-index: 1;
}

.boton-whatsapp-producto::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: width 0.3s ease;
}

.boton-whatsapp-producto:hover::before {
    width: 100%;
}


/* -> DESACTIVAR ENLACE PRODUCTO */

.wd-product .product-image-link {
    pointer-events: none;
    cursor: default;
}

.wd-product .wd-entities-title a {
    pointer-events: none;
    cursor: default;
    color: var(--e-global-color-primary);
    text-decoration: none;
    font-weight: 900;
}

.wd-product .wd-entities-title a:hover {
    color: var(--e-global-color-primary);
    transition: color 0.3s ease;
}


/* -> CONTENEDOR BOTON */

.wd-add-btn {
    margin-top: 15px;
}

.wd-add-btn-replace {
    width: 100%;
}


/* ==============================> RESPONSIVE MOVIL */

@media (max-width: 768px) {
    
    .boton-whatsapp-producto {
        padding: 10px 18px;
        font-size: 13px;
    }
    
    .wd-product {
        margin-bottom: 20px;
    }
    
    .product-wrapper {
        padding: 10px;
    }
}


/* ==============================> RESPONSIVE TABLET */

@media (min-width: 769px) and (max-width: 1024px) {
    
    .boton-whatsapp-producto {
        padding: 11px 20px;
        font-size: 13px;
    }
}


/* ==============================> COMPATIBILIDAD iOS */

.boton-whatsapp-producto {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.boton-whatsapp-producto:active {
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

@supports (-webkit-overflow-scrolling: touch) {
    .boton-whatsapp-producto {
        -webkit-appearance: none;
        appearance: none;
    }
}


/* ==============================> ANIMACIONES SUAVES */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wd-product .boton-whatsapp-producto {
    animation: fadeIn 0.4s ease-out;
}

.wd-product:hover .boton-whatsapp-producto {
    animation: none;
}