.wd_addon_item {
    border: 1px solid #CCC;
    border-radius: 8px;
    width: 20%;
    min-width: 195px;
    min-height: 100px;
    margin-left: 10px;
    margin-bottom: 5px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #FFF;
    flex: 0 0 auto;
    flex-direction: column;
}
.product_image_holder {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}
.product_image_holder img {
    max-height: 75px;
}
img.cat_item_img {
    max-height: 85px;
}
.product_inf {
    width: 78%;
    text-align: center;
}
.wd_custom_addons {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow: auto;
    padding-bottom: 5px;
}
p.product-title {
    font-size: 15px;
    line-height: 18px;
    margin-bottom: 0;
    color: #777777;
    max-height: 40px;
    overflow: hidden;
}
p.product-price {
    font-size: 15px;
    line-height: 18px;
    margin-bottom: 0;
    color: #000;
    max-height: 45px;
    overflow: hidden;
}
p.product-price{
    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;
    margin-bottom: 5px;
    padding-bottom: 5px;
    display: flex;
    justify-content: flex-start;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}
.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: #313335;
}
.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: #0B4BAB;
    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 #313335;
}

ul.tabs-nav::-webkit-scrollbar {
    height: 5px;
    border-radius: 10px;
}

ul.tabs-nav::-webkit-scrollbar-track {
    background: #EAEAEA;
    border-radius: 10px;
}

ul.tabs-nav::-webkit-scrollbar-thumb {
    background-color: #313335;
    border-radius: 10px;
    border: 2px solid #EAEAEA;
}

ul.tabs-nav li {
    padding: 5px 20px;
    border-radius: 10px;
    background: #E2E2E2;
    border: 1px solid #D4D9DD;
}
ul.tabs-nav li.active {
    background: #0B4BAB;
}
.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: #313335;
    border-radius: 10px;
    border: 3px solid #EAEAEA;
}

/* Custom scrollbar styling for Firefox */
.wd_custom_addons {
    scrollbar-color: #313335 #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;
}
@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;
}