/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/


.wd-tools-text .amount {
    color: #000;
}

.wpcf7 form:not(.sent) .wpcf7-response-output,
.mc4wp-error,
.mc4wp-notice,
:is(.woocommerce-error, .woocommerce-info) {
    background: #000 !important;
}

/* Single Product Page - Layout adjustments */
.single-product .cart {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin-bottom: 20px !important;
    width: 100% !important;
}

/* Row 1: Qty, Add to Cart, Contact */
.single-product .cart .quantity {
    order: 1 !important;
    margin-right: 15px !important;
    margin-bottom: 10px !important;
}

.single-product .cart .single_add_to_cart_button {
    order: 2 !important;
    margin-bottom: 10px !important;
    width: auto !important;
    flex: none !important;
    display: inline-block !important;
}

.single-product .contact-buttons-wrapper {
    order: 3 !important;
    display: inline-flex !important;
    align-items: center !important;
    margin-left: 10px !important;
    flex: none !important;
    margin-bottom: 10px !important;
}

/* Force New Line after Contact wrapper */
.single-product .cart::after {
    content: "";
    order: 4 !important;
    flex-basis: 100% !important;
    width: 100% !important;
    height: 0 !important;
    display: block !important;
}

/* Row 2: Raty and Comfino */
.single-product .eraty-image-button,
.single-product .eraty-evaluate-button,
.single-product [id^="comfino-widget"]:not(script),
.single-product .comfino-banner-container,
.single-product .comfino-widget-banner {
    order: 5 !important;
    display: inline-flex !important;
    align-items: center !important;
    vertical-align: middle !important;
    margin-bottom: 15px !important;
    margin-right: 15px !important;
    width: auto !important;
    flex: none !important;
}

.single-product .cart .after-cart-lub {
    margin: 0 10px 0px -9px;
    display: inline-block;
    vertical-align: middle;
    font-weight: 600;
}

.single-product .cart .single_call_button {
    margin-right: 10px;
    background-color: var(--btn-bgcolor, #F3F3F3) !important;
    color: #333 !important;
    padding: 8px 12px !important;
    /* Reduced padding */
    border-radius: 0 !important;
    font-size: 14px !important;
    text-transform: none !important;
    font-weight: 500 !important;
    border: none !important;
    white-space: nowrap !important;
    /* Force text to stay on one line */
}

.single-product .cart .single_call_button:hover {
    background-color: #e5e5e5 !important;
}

.single-product .eraty-image-button {
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .single-product .cart {
        justify-content: center !important;
    }

    .single-product .contact-buttons-wrapper {
        width: 100%;
        justify-content: center;
        margin-left: 0;
        order: 3 !important;
    }

    /* Force break after Qty on very small screens? No, stick to user's plan */

    .single-product .cart .after-cart-lub {
        display: block;
        margin: 10px 10px;
    }
}