.wd_addon_item{
    border-radius: 10px;
    width: 24%;
    min-width: 250px;
    min-height: 100px;
    margin-left: 10px;
    margin-bottom: 5px;
    padding: 20px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #FFF;
    border: 1px solid #CCC;
    flex: 0 0 auto;
}
iframe.wd-product-view-iframe .wd_addon_item {
    min-width: 230px!important;
}
.product_image_holder {
    width: 25%;
    margin-left: 14px;
}
.product_image_holder img {
    max-height: 50px;
}
img.cat_item_img {
    max-height: 85px;
}
.product_inf {
    width: 78%;
}
.wd_custom_addons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    overflow: auto;
    padding-bottom: 5px;
    border-radius: 0 !important;
    row-gap: 5px;
}
p.product-title, p.product-price {
    font-size: 15px;
    line-height: 16px;
    margin-bottom: 0;
    color: var(--e-global-color-6892210);
    max-height: 65px;
    overflow: hidden;
    font-weight: 400;
}
p.product-price{
    font-weight: 600;
    margin-top: 10px;
}
span.reg_price {
    font-size: 14px;
    color: #777;
}
p.wd_caculate {
    text-align: right;
    font-size: 18px;
}
.wd_caculators {
    display: flex;
    flex-direction: row;
    column-gap: 15px;
    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: 5px;
    padding-bottom: 5px;
    margin-top: 5px;
}
.wd-product-addons h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}
.wd-addons-tabs .tabs-nav li {
    margin-left: 10px;
    cursor: pointer;
}

.wd-addons-tabs .tabs-nav li a{
    text-decoration: none;
    color: var(--e-global-color-6892210);
    font-size: 15px;
    font-weight: 700;
}
.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: #0046FF;
    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 #0046FF;
}
ul.tabs-nav li {
    padding: 5px 20px;
    padding-right: 24px;
    position: relative;
}
ul.tabs-nav li.active {
    border-bottom: 1px solid #0046FF;
}
.wd-addons-tabs .tabs-nav li.active a {
    color: var(--e-global-color-primary);
}
.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: var(--e-global-color-6892210);
    border-radius: 10px;
    border: 3px solid #EAEAEA;
}

ul.tabs-nav li .tab-selection-count {
    position: absolute;
    top: 7px;
    right: 3px;
    font-size: 12px;
    color: #FFF;
    background: #0046FF;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    text-align: center;
    line-height: 18px;
    border-radius: 9px;
    pointer-events: none;
    font-weight: 700;
    display: none;
}
ul.tabs-nav li.has-selection .tab-selection-count {
    display: block;
}

/* Custom scrollbar styling for Firefox */
.wd_custom_addons {
    scrollbar-color: var(--e-global-color-6892210) #EAEAEA;
    scrollbar-width: thin;
    scrollbar-width: 12px; /* Ensure it's the same size as WebKit */
    border-radius: 10px;
}
span#wd_extra_sub_totals, span#wd_extra_totals {
    font-weight: 700;
    color: var(--e-global-color-6892210);
}
@media(max-width:786px){
    /* Ensure the parent ul element has a flex layout and allows horizontal scroll */
    .tabs-nav {
        display: flex;
        flex-wrap: wrap;
        overflow-x: auto;
        scrollbar-width: thin;
        flex-direction: row;
        gap: 5px;
    }

    /* 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;
    }

    .tabs-nav li {
        flex: 0 0 auto; 
        width: auto; 
        padding: 0 10px; 
        white-space: nowrap; 
    }
    .wd-addons-tabs .tabs-nav li {
        margin-right: 0;
        cursor: pointer;
        margin-left: 5px;
    }
    .wd_custom_addons{
        gap: 10px;
    }
    .wd_addon_item {
        width: 100%;
        min-width: auto;
        min-height: 88px;
        margin-left: 0;
        margin-bottom: 0;
        padding: 10px 10px;
        display: flex;
        background: #FFF;
        flex: 0 0 auto;
        align-items: center;
        flex-direction: row;
    }
p.product-title{
        font-size: 13px;
        font-weight: 600;
        line-height: 18px;
        /* max-height: fit-content; */
        max-height: 35px;
    }
.product_image_holder{
    width: 50%;
    margin-left: 0;
}
.product_inf {
    width: 100%;
}
.wd_custom_addons {
    max-height: 335px;
    overflow: auto;
}
.wd-addons-tabs .tabs-nav{
    justify-content: center;
}

}
p.special_price {
    font-size: 13px;
    font-weight: 600;
    color: #CD372C;
    margin-bottom: 5px;
}
.product_inf .product-description {
    font-size: 13px;
    color: #000;
    line-height: 14px;
    font-weight: 600;
    margin-top: 5px;
}

/* ========== באנדלים ========== */
.wd-bundle-wrapper {
    margin: 30px 0;
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.wd-bundle-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 20px;
    text-align: center;
}

.wd-bundle-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--e-global-color-6892210);
    margin: 0;
}

.wd-bundle-price-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wd-bundle-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--e-global-color-6892210);
}

.wd-bundle-content {
    position: relative;
}

.wd-bundle-products-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    margin-bottom: 10px;
}

.wd-bundle-product-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wd-bundle-product-item:hover {
    border-color: var(--e-global-color-6892210);
    box-shadow: 0 4px 16px rgba(10, 45, 89, 0.2), 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.wd-bundle-product-image {
    width: 100%;
    height: 120px;
    margin-bottom: 12px;
    border-radius: 6px;
    overflow: hidden;
    background: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    border: none;
    outline: none;
}

.wd-bundle-product-image img {
    height: 100% !important;
    object-fit: contain;
    padding: 0;
    box-shadow: none;
    filter: none;
    border: none;
    outline: none;
}

.wd-bundle-product-info {
    width: 100%;
}

.wd-bundle-product-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--e-global-color-6892210);
    margin-bottom: 8px;
    line-height: 1.4;
    min-height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wd-bundle-product-name .wd-bundle-main-label {
    display: block;
    font-size: 11px;
    color: #666;
    font-weight: 400;
    margin-top: 4px;
    font-style: italic;
}

.wd-bundle-product-price {
    font-size: 15px;
    color: var(--e-global-color-6892210);
    font-weight: 500;
}

.wd-bundle-savings {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 15px 20px;
    background: #f5f5f5;
    border-radius: 8px;
    margin-bottom: 0;
    color: var(--e-global-color-6892210);
    font-weight: 600;
    flex-wrap: wrap;
    direction: rtl;
}

.wd-bundle-savings-icon {
    font-size: 20px;
}

.wd-bundle-savings-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.wd-bundle-original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
    font-weight: 500;
}

.wd-bundle-bundle-price {
    color: var(--e-global-color-6892210);
    font-size: 16px;
    font-weight: 700;
}

.wd-bundle-savings-text {
    color: var(--e-global-color-6892210);
    font-size: 14px;
    font-weight: 600;
}

.wd-bundle-actions {
    margin-top: 0;
    margin-right: 0;
}

.wd-bundle-add-to-cart {
    background: var(--e-global-color-6892210) ;
    color: #fff ;
    border: none ;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.wd-bundle-add-to-cart:hover {
    background: #3A4693 ;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 45, 89, 0.3);
}

.wd-bundle-add-to-cart:active {
    transform: translateY(0);
}

.wd-bundle-add-to-cart.loading {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

.wd-bundle-button-icon {
    font-size: 20px;
}

.wd-bundle-button-text{
    font-size: 15px;
    font-family: inherit;
}
button.wd-bundle-add-to-cart.button{
    border-radius: 25px;
}
@media (max-width: 1200px) {
    .wd-bundle-products-list {
        grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    }
}

@media (max-width: 992px) {
    .wd-bundle-products-list {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }
}

@media (max-width: 768px) {
    .wd-bundle-wrapper {
        padding: 10px;
    }
    
    .wd-bundle-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .wd-bundle-title {
        font-size: 22px;
    }
    
    .wd-bundle-price {
        font-size: 22px;
    }
    
    .wd-bundle-products-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .wd-bundle-product-item {
        flex-direction: column;
        text-align: center;
        padding: 12px;
    }
    
    .wd-bundle-product-image {
        width: 100%;
        height: 120px;
        margin-bottom: 10px;
        margin-left: 0;
    }
    
    .wd-bundle-product-info {
        width: 100%;
        text-align: center;
    }
    
    .wd-bundle-product-name {
        min-height: auto;
    }
    
    .wd-bundle-savings {
        justify-content: center;
    }
    
    .wd-bundle-add-to-cart {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 16px;
    }
}

/* CUSTOM */
.wd-bundle-header {
    background: #DDDDDD;
    padding: 10px;
    border-radius: 10px;
}
h3.wd-bundle-title, .wd-bundle-price{
    color: #0065F8;
    font-size: 20px;
    font-weight: 500;
}
.wd-bundle-header{
    margin-bottom: 0;
}
.wd-bundle-savings{
   background: #FFF; 
}
.wd-bundle-add-to-cart{
    width: 100%!important;
    background-color: #7DFF00!important;
    color: var(--e-global-color-6892210)!important;
    font-family: inherit!important;
    padding: 15px 20px!important;
    border-radius: 10px!important;
}