.wd_addon_item {
    border: 1px solid #160041;
    border-radius: 0;
    width: 30%;
    min-width: 250px;
    min-height: 144.5px;
    margin-left: 10px;
    margin-bottom: 5px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #FFF;
    flex: 0 0 auto; /* Ensure items don't shrink */
}
.product_image_holder {
    width: 25%;
    margin-left: 14px;
}
.product_inf {
    width: 78%;
}
.wd_custom_addons {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow: auto;
    padding-bottom: 5px;
}
p.product-title, p.product-price {
    font-size: 15px;
    font-weight: 600;
}
span.reg_price {
    font-size: 14px;
    color: #777;
}
p.wd_caculate {
    text-align: right;
}
.wd_caculators {
    margin: 20px 0;
}
.woocommerce div.product.elementor form.cart.variations_form .woocommerce-variation-add-to-cart,.woocommerce div.product.elementor form.cart:not(.grouped_form):not(.variations_form) {
    margin: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: block !important;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
}
.wd-addons-tabs .tabs-nav {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: flex-start;
    margin-bottom: 10px;
    padding-bottom: 15px;
}
.wd-product-addons h2 {
    font-size: 20px;
    font-weight: 700;
}
.wd-addons-tabs .tabs-nav li {
    margin-left: 10px;
    cursor: pointer;
}
.wd-addons-tabs .tabs-nav li a {
    text-decoration: none;
    color: #333;
}
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}
.wd_addon_item{
    position: relative;
}
.wd_addon_item .check_holder {
    position: absolute;
    top: 4px;
    right: 4px;
    color: #FFF;
    font-weight: bold;
    background: #160041;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    border-radius: 50%;
    display: none;
}
.wd_addon_item.selected .check_holder {
    display: block;
}
.wd_addon_item.selected{
    border: 1px solid #000;
}
ul.tabs-nav li {
    padding: 0 15px;
    border-radius: 0;
    background: #EAEAEA;
}
ul.tabs-nav li.active {
    background: #160041;
}
.wd-addons-tabs .tabs-nav li.active a {
    color: #FFF;
}
.wd_custom_addons::-webkit-scrollbar {
    height: 12px;
    border-radius: 10px;
}

.wd_custom_addons::-webkit-scrollbar-track {
    background: #EAEAEA;
    border-radius: 10px;
}

.wd_custom_addons::-webkit-scrollbar-thumb {
    background-color: #160041;
    border-radius: 10px;
    border: 3px solid #EAEAEA;
}

/* Custom scrollbar styling for Firefox */
.wd_custom_addons {
    scrollbar-color: #160041 #EAEAEA;
    scrollbar-width: thin;
    scrollbar-width: 12px; /* Ensure it's the same size as WebKit */
    border-radius: 0;
}
span#wd_extra_sub_totals, span#wd_extra_totals {
    font-weight: 700;
}
@media(max-width:786px){
    /* Ensure the parent ul element has a flex layout and allows horizontal scroll */
    .tabs-nav {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: thin;
    }

    /* Style for the scrollbar */
    .tabs-nav::-webkit-scrollbar {
        height: 8px;
    }

    .tabs-nav::-webkit-scrollbar-thumb {
        background-color: #888;
        border-radius: 10px;
    }

    .tabs-nav::-webkit-scrollbar-thumb:hover {
        background-color: #555;
    }

    /* Ensure all li elements have equal width */
    .tabs-nav li {
        flex: 0 0 auto; /* Prevent items from shrinking or growing */
        width: auto; /* You can set a fixed width if necessary */
        padding: 0 10px; /* Optional: add padding for spacing */
        white-space: nowrap; /* Prevent text from wrapping */
    }
    .wd-addons-tabs .tabs-nav li {
        margin-right: 0;
        cursor: pointer;
        margin-left: 5px;
    }

}
p.special_price {
    font-size: 13px;
    font-weight: 600;
    color: #CD372C;
    margin-bottom: 5px;
}

.wd-bundle-offer-box {
    border: 2px solid #dcdcdc;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    background: #F5F5F5;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.wd-bundle-title {
    font-size: 20px;
    color: #2a2a72;
    margin-bottom: 20px;
    text-align: center;
}
.wd-bundle-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.wd-bundle-card {
    border: 2px solid #e1e1e1;
    border-radius: 10px;
    background: #ffffff;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s;
    width: 49%;
    display: flex;
	flex-wrap: wrap;
    flex-direction: row;
    align-content: center;
    align-items: center;
    justify-content: center;
}
.wd-bundle-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.wd-bundle-card .thumb {
    width: 40%;
}
.wd-bundle-card .info {
    width: 60%;
}
.wd-bundle-card .thumb img {
    max-width: 100px;
    height: auto;
    margin-bottom: 10px;
    border-radius: 6px;
}
.wd-bundle-card .name {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 5px;
    line-height: 16px;
}
.wd-bundle-card .name a{
	color: #020082;
}
.wd-bundle-card .price {
    font-size: 14px;
    color: #2051A9;
    font-weight: 700;
}
.wd-bundle-total {
    margin-top: 20px;
    font-size: 18px;
    color: #000;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    justify-content: center;
}
.wd-bundle-saved{
    background: yellow;
    padding: 0 10px;
}
.wd-bundle-btn {
    background: #0073aa;
    color: white !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.2s;
}
.wd-bundle-btn:hover {
    background: #005d8c;
}
.wd-bundle-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0; top: 0;
    width: 100%; height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
}
.wd-bundle-modal-content {
    background-color: #fff;
    margin: auto;
    padding: 30px 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 600px;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.wd-bundle-modal-close {
    color: #aaa;
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.wd-bundle-modal-close:hover {
    color: black;
}
#wd-bundle-variations-container {
    margin-top: 20px;
}
.wd-bundle-variation-block {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}
.wd-bundle-variation-block label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
.wd-bundle-offer-box {
    position: relative;
}
#wd-bundle-variations-inline {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.97);
    z-index: 10;
    padding: 30px 20px;
    display: none;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    backdrop-filter: blur(2px);
}
.wd-bundle-variations-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}
.wd-bundle-variations-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.bundle-variation-group {
    margin-top: 5px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: flex-start;
    align-items: flex-start;
}
.bundle-attr-label {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 15px;
    cursor: pointer;
}
.bundle-variation-options {
    margin-top: 5px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    display: none;
}

.bundle-option {
    padding: 6px 12px;
    background: #eee;
    border: 1px solid #ccc;
    cursor: pointer;
    transition: 0.2s ease;
    border-radius: 4px;
}

.bundle-option:hover,
.bundle-option.active {
    background: #CCC!important;
    color: #000!important;
    border-color: #CCC!important;
    border: 1px solid #000!important;
}
button.bundle-option {
    padding: 0 8px;
    font-size: 14px;
    background: #FFF;
    color: #000;
    border: 1px solid #000;
}
.bundle-attr-label.missing {
    border: 2px solid red;
    padding: 0 5px;
    border-radius: 5px;
	font-size: 14px;
}
.var_btn_wrap{
    display: flex;
    flex-direction: row;
    gap: 5px;
    flex-wrap: wrap;
}
.totals_bndl{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    justify-content: center;
    column-gap: 50px;
    row-gap: 15px;
}
button.button.alt.wd-bundle-btn{
    background-color: var(--e-global-color-primary)!important;
    color: #FFF;
}
@media(max-width:786px){
    .wd-bundle-card{
        width:100%;
    }
}
.wd-bundle-total del {
    font-size: 18px;
}
.bundle-attr-label strong {
    font-weight: 700;
}
/* תיאור טאב */
.wd-tab-description {
    background: #f8f9fa;
    padding: 15px;
    margin: 10px 0 20px 0;
    border-left: 3px solid #007cba;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

.wd-tab-description p {
    margin: 0 0 10px 0;
}

.wd-tab-description p:last-child {
    margin-bottom: 0;
}
/* ייבוא תוספות ממוצר אחר */
.wd-import-addons-field {
    background: #f9f9f9;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 20px;
}

.wd-import-addons-field .acf-label {
    font-weight: bold;
    color: #333;
}

.wd-import-addons-field .acf-input {
    margin-top: 10px;
}