/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.2
 Text Domain:  woodmart
*/
/* Fix spacing inside reward boxes */
/* Fix layout of follow buttons */
.wlr-followup-section {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 8px;
    background-color: #42764c;
    color: white !important;
    float: none !important;
    justify-content: center;
    max-width: 160px;
}

/* Ensure icon and text show inline */
.wlr-followup-section i,
.wlr-followup-section a {
    color: white !important;
    font-size: 14px;
    display: flex;
    align-items: center;
}

/* Clean up anchor tag styles */
.wlr-followup-section a.wlr-button-text-color {
    text-decoration: none;
    font-weight: 500;
    padding: 4px 6px;
}

/* Make icon and text readable */
.wlr-followup-section span.wlr-button-text-color {
    display: inline !important;
    white-space: nowrap;
}

/* Prevent hiding due to float or overflow */
.wlr-followup-section br {
    display: none;
}

/* Fix the copy referral button layout */
.input-group-append {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background-color: #42764c;
    color: white;
    padding: 10px 16px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    gap: 8px;
    height: 100%;
    max-height: 50px;
}

/* Style inner icon and text */
.input-group-append i.wlr-icon {
    font-size: 18px;
    margin: 0;
    color: white !important;
}

.input-group-text.wlr-button-text-color {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0;
    background-color: transparent !important;
    border: none;
    font-weight: 500;
    font-size: 14px;
}

/* Remove unnecessary line breaks */
.input-group-text br {
    display: none;
}









/* GRID για Grouped Products */
.grouped_form table {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
    gap: 25px !important;
    border-collapse: separate !important;
}

.grouped_form table tbody,
.grouped_form table tr,
.grouped_form table td {
    display: block !important;
    background: #fff;
    padding: 10px;
    border: 1px solid #ddd !important;
    border-radius: 10px;
    text-align: center;
}

.grouped_form table td.woocommerce-grouped-product-list-item__image img {
    width: 120px !important;
    height: auto !important;
    margin: 0 auto 10px auto;
}

.grouped_form table td.woocommerce-grouped-product-list-item__quantity {
    margin-top: 10px;
}







.grouped_form table td.woocommerce-grouped-product-list-item__quantity input.qty {
    display: none !important;
}

.grouped_form table td.woocommerce-grouped-product-list-item__quantity::after {
    content: "✔";
    font-size: 22px;
    color: #3aa33a;
    display: inline-block;
    border: 2px solid #3aa33a;
    border-radius: 5px;
    width: 26px;
    height: 26px;
    line-height: 22px;
    cursor: pointer;
}

/* Crisp chat bubble — sit above Woodmart scroll-to-top arrow */
.crisp-client #crisp-chatbox .cc-13wro,
.cc-165wh[data-full-view="true"] .cc-lk42u .cc-13wro {
    bottom: 65px !important;
}

.scrollToTop {
    display: none !important;
}

/* Boei call/chat widget — deep mobile override (beats Boei inline styles) */
@media (max-width: 768px) {
    html body button#boei_button,
    html body #boei_button {
        position: fixed !important;
        bottom: 65px !important;
        top: auto !important;
        left: 30px !important;
        right: auto !important;
        border-radius: 7px !important;
        width: 60px !important;
        height: 60px !important;
        margin: 0 !important;
    }

    html body #boei_button #boei_button-image,
    html body #boei_button #boei_button-image span {
        border-radius: 7px !important;
    }

    html body #boei_container,
    html body #boei_container.boei-opened,
    html body #boei_container.boei-helper {
        position: fixed !important;
        bottom: 135px !important;
        top: auto !important;
        left: 30px !important;
        right: auto !important;
        margin: 0 !important;
        max-width: calc(100vw - 60px) !important;
    }

    html body #boei_trigger_message,
    html body #boei_trigger_message.boei-pre-opened,
    html body #boei_trigger_message.boei-hovered {
        position: fixed !important;
        bottom: 135px !important;
        top: auto !important;
        left: 30px !important;
        right: auto !important;
        margin: 0 !important;
        max-width: calc(100vw - 60px) !important;
    }
}
