/* ==============================> PLANTILLA DE PRODUCTO */

.wd-single-price .price {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 16px;
}

.single-product form:not(.variations_form).cart {
    flex-wrap: nowrap;
}

.single-product form.variations_form .woocommerce-variation-add-to-cart {
    flex-wrap: nowrap;
}

/* BOTON DE WHATSAPP EN FICHA DE PRODUCTO */

.btn-wsp-product {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366;
    color: white;
    padding: 10px 15px;
    border-radius: var(--btn-accented-brd-radius);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    vertical-align: middle;
    transition: background 0.3s;
    height: auto;
    max-width: fit-content;
}

.btn-wsp-product:hover {
    background-color: #128C7E;
    color: white;
}

.btn-wsp-product i {
    margin-right: 5px;
    font-size: 16px;
}

/* RESPONSIVE */

@media(max-width: 768px) {
    .single-product form.cart {
        flex-wrap: wrap;
    }
}



/* ==============================> "CAMPO PERSONALIZADO - PRODUCTO" */

/* -> Contenedor */
.woocommerce .campo-personalizado-producto {
    display: inline-block;
    margin: 6px 0 4px;
    padding: 3px 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--e-global-color-primary);
    border: 1px solid var(--e-global-color-primary);
    border-radius: 4px;
    opacity: 0;
    transform: translateY(6px);
    animation: entrada-campo 0.35s ease forwards;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
    -webkit-animation: entrada-campo 0.35s ease forwards;
}

/* -> Hover */
.woocommerce .campo-personalizado-producto:hover {
    background-color: var(--e-global-color-primary);
    color: #fff;
    transform: translateY(0) scale(1.03);
}

/* -> Animación de entrada */
@keyframes entrada-campo {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@-webkit-keyframes entrada-campo {
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
    }
}

/* -> Tablet */
@media (max-width: 1024px) {
    .woocommerce .campo-personalizado-producto {
        font-size: 12px;
        padding: 3px 8px;
    }
}

/* -> Móvil */
@media (max-width: 768px) {
    .woocommerce .campo-personalizado-producto {
        font-size: 11px;
        padding: 2px 7px;
        margin: 4px 0 3px;
    }
}