/* ==============================> 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;
}

.single-product .elementor-widget-wd_single_product_add_to_cart form.cart {
    display: flex;
    flex-direction: column;
    align-content: space-around;
}

.single-product .elementor-widget-wd_single_product_meta .sku_wrapper {
    margin: 0 !important;
}

.single-product .elementor-widget-wd_single_product_meta .posted_in {
    font-weight: 600;
}

.single-product form.cart .quantity::after {
    content: "¡Aprovecha hoy esta oferta!";
    font-size: 13px;
    font-weight: 600;
    line-height: 14.06px;
    text-align: left;
    text-decoration-skip-ink: none;
    color: rgb(65, 174, 59);
    position: absolute;
    right: 0px;
    top: 12px;
}

.single-product .wa-order-class button {
    box-shadow: none !important;
    background: #25d366 !important;
}

.single-product .wa-order-class:hover {
    background: none;
}

.single-product .single_add_to_cart_button:hover,
.single-product .wa-order-class:hover {
    transform: scale(1.05);
    box-shadow: none !important;
}

.single-product .price {
    margin-top: 10px !important;
    order: 3;
    font-size: 100%;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.single-product .price del {
    font-size: 12px !important;
}

.single-product .price ins {
    font-size: 20px !important;
}

.single-product .discount-percentage {
    color: #41ae3b;
    font-weight: bold;
    font-size: 15px;
}

/* CONTENIDO DE PRODUCTO Y PRODUCTOS RELACIONADOS */

.elementor-widget-wd_single_product_content .elementor-widget-container:before {
    content: "Descripción";
    display: block;
    font-size: 24px;
    line-height: 28px;
    font-weight: 600;
    color: var(--e-global-color-primary);
    padding-bottom: 12px;
    margin-bottom: 16px;
    border-bottom: 1px solid #EBEBEB;
}


.tabs-surcom .wc-tabs-wrapper {
    padding: 24px 16px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0px 0px 16px -8px rgba(0, 0, 0, 0.16);
}

.productos-relacionados .elementor-widget-container:before {
    content: "Productos relacionados";
    display: block;
    font-size: 24px;
    line-height: 28px;
    font-weight: 600;
    color: var(--e-global-color-primary);
    padding-bottom: 12px;
    margin-bottom: 16px;
    border-bottom: 1px solid #EBEBEB;
}

.elementor-widget-wd_single_product_tabs .wc-tabs-wrapper {
    background: #F1F1F1;
    border-radius: 16px;
    padding: 24px;
}

/*.woocommerce-Tabs-panel--description :is(h2) {
    background: #dfdfdf;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 900;
}*/

/* 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;
    }

    .single-product form.variations_form .woocommerce-variation-add-to-cart {
        flex-wrap: wrap !important;
    }

    .btn-wsp-product {
        max-width: stretch;
    }
}