/*
Theme Name: My Custom smallbusiness theme
Template: small-business-extend
*/
/* Hide product picker initially until JS moves it to left column */
#bundle_product_picker {
    position: relative;
    display: none;
    /* shown after JS moves it */
}

#bundle_product_picker.picker-moved {
    display: block !important;
}

#bundle_product_picker select {
    width: 100%;
    padding: 6px 8px;
    margin-top: 4px;
}

/* Hide the product image gallery when picker is active */
.bundle-picker-active .woocommerce-product-gallery__wrapper,
.bundle-picker-active .woocommerce-product-gallery .flex-viewport,
.bundle-picker-active .woocommerce-product-gallery .flex-control-thumbs,
.bundle-picker-active #previewImage {
    display: none !important;
}

/* Product grid â€” 2 columns matching existing pattern */
#bundle_product_grid {
    /* stallioni
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    */
    /* display: block; */
    max-height: 750px; 
    overflow-y: auto; 
    margin-bottom: 40px; 
    scrollbar-width:thin;
}

#bundle_product_grid .wcpb-addon-title {
    font-size: 12px;
    font-weight: normal !important;
    line-height: 1.3;
    /* margin: 0px !important; */
    color: #333;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    height: 45px;
    overflow: hidden !important;
    min-width: 190px;    
}

#bundle_product_grid .wcpb-addon-box-items.elementor-col-50 {
    width: 50%;
    box-sizing: border-box;
    /* border: 1px solid #e8e8e8; */
    border-radius: 0;
    margin: 0px !important;
}

#bundle_product_grid .wcpb-addon-box-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8px;
    min-height: 110px;   
}

#bundle_product_grid .wcpb-left {
    flex: 1;
    min-width: 0;
    padding-right: 5px;
}

#bundle_product_grid .wcpb-right {
    flex: 0 0 auto;
    text-align: right;
}

#bundle_product_grid .wcpb-addon-title {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 4px;
    color: #333;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

#bundle_product_grid .wcpb-addon-price {
    display: block;
    font-size: 13px;
    font-weight: bold;
    color: #04093a;
    margin-bottom: 2px;
}

#bundle_product_grid .wcpb-addon-price .woocommerce-Price-currencySymbol {
    font-weight: normal;
}

#bundle_product_grid .stock.in-stock {
    color: #0f834d;
    font-size: 11px;
}

#bundle_product_grid .stock.available-on-backorder {
    color: #c77c00;
    font-size: 11px;
}

#bundle_product_grid .wcpb-addon-image {
    text-align: center;
}

#bundle_product_grid .wcpb-addon-image img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 3px;
}

#bundle_product_grid .wcpb-addon-quantity {
    margin-top: 4px;
}

#bundle_product_grid .wcpb-addon-add,
#bundle_product_grid .wcpb-addon-bars {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.15s;
}

#bundle_product_grid .wcpb-addon-add {
    background: #04093a;
    color: #fff;
}

#bundle_product_grid .wcpb-addon-add:hover {
    background: #1a237e;
}

#bundle_product_grid .wcpb-addon-bars {
    background: #04093a;
    color: #fff;
}

#bundle_product_grid .wcpb-addon-bars:hover {
    background: #1a237e;
}

#bundle_product_grid .bundle-picker-card.hidden-by-filter {
    display: none !important;
}

/* Product detail popup */
#bundle_product_grid .des {
    padding: 10px;
    background: #f9f9f9;
    border-top: 1px solid #ddd;
}

#bundle_product_grid .des .close {
    text-align: center;
    cursor: pointer;
    font-weight: bold;
    z-index: 9999;
    position: absolute;
    right: 10px;
    background: red;
    font-size: 11px;
    border-radius: 50%;
    color: #fff;
    width: 18px;
    height: 18px;
}

/* Extra selected items table (right side, in form) */
.bundle-extra-selected-wrap {
    margin: 15px 0;
    padding: 10px 0;
    border-top: 1px solid #e0e0e0;
}

.bundle-extra-selected-wrap h4 {
    margin: 0 0 8px;
    font-size: 14px;
}

.search_text {
    padding: 5px !important; 
    border-radius: 4px; 
    border: 1px solid #ccc; 
    /* min-width: 200px; */
}

.bundle-extra-selected-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
    font-size: 13px;
}

.bundle-extra-selected-table th {
    text-align: left;
    padding: 6px 8px;
    border-bottom: 2px solid #04093a;
    font-size: 12px;
    color: #666;
}

.bundle-extra-selected-table td {
    padding: 6px 8px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.bundle-extra-selected-table img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 3px;
}

.bundle-extra-selected-table .bundle-remove-btn {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    font-size: 16px;
    padding: 2px 6px;
}

.bundle-extra-selected-table .bundle-remove-btn:hover {
    color: #a71d2a;
}

.bundle-selected-empty {
    color: #999;
    font-size: 12px;
    font-style: italic;
}

/* Subtotal section */
.bundle-total-subtotal {
    margin: 15px 0;
    padding: 12px 0;
    border-top: 2px solid #04093a;
}

.bundle-subtotal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.bundle-subtotal-table td {
    padding: 4px 0;
}

.bundle-subtotal-table .bundle-subtotal-value {
    text-align: right;
    white-space: nowrap;
}

.bundle-subtotal-total-row td {
    padding-top: 8px;
    border-top: 1px solid #ddd;
    font-size: 15px;
}

.bundle-extra-reset {
    font-size: 12px;
    padding: 6px 16px;
    margin-top: 5px;
}

/* Slider styles for detail popups */
#bundle_product_grid .slider {
    text-align: center;
}

#bundle_product_grid .slider .inner {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

#bundle_product_grid .slider .item {
    width: 100%;
    position: absolute;
    display: none;
}

#bundle_product_grid .slider .item.active {
    position: relative;
    display: block;
}

#bundle_product_grid .slider .prev,
#bundle_product_grid .slider .next {
    border: none;
    border-radius: 5px;
    background: #04093a;
    color: #fff;
    font-size: 16px;
    padding: 2px 8px;
    cursor: pointer;
    height: 24px;
}

#bundle_product_grid .slider .prev:hover,
#bundle_product_grid .slider .next:hover {
    background: #1a237e;
}

#bundle_product_grid select, #bundle_product_grid input, #bundle_product_grid .wcpb-addon-box-items .elementor-col-100 span select, #bundle_product_grid .wcpb-addon-box-items .elementor-col-100 span input, .bundle_form_object
{
    font-family: calibri !important;
    font-size: 14px !important;
}

 .bundle_form_container {
     max-width: 48%;
     width: 48%;
     display:inline-block;
     text-align: left;
 }

.wcpb-top .filter-reset {
    border-radius: 0px !important;
}

.specialProduct {
    /* width: 100% !important; */
    background-color: #41BDF5; 
    background-image: url("395171050_638598598436937_7469747869876971156_n.png");
    /* background-repeat: no-repeat; */
    background-size: contain;
}

.su-accordion .su-spoiler {
  margin-bottom: .5em;
  border: 1px solid lightgray;
  /* padding-right: 20px; */
}
.su-spoiler-title {
  position: relative;
  cursor: pointer;
  min-height: 20px;
  line-height: 20px;
  padding: 7px 10px 7px 7px;
    padding-right: 10px;
    padding-left: 7px;
  font-weight: 700;
  font-size: 13px;
  background-color: gray;
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
  color: white;
}
.su-spoiler-style-default > .su-spoiler-title > .su-spoiler-icon {
  /* left: 7px; */
  left: unset !important;
  right: 7px !important;
  font-size: 11px;
  font-weight: normal;
  background-color: red;
  border-radius: 50px;
}

.su-spoiler-content {
  padding: 0px 14px;
  transition: padding-top .2s;
}
.su-spoiler-style-default > .su-spoiler-content {
  /* padding: 1em 0 1em 27px; */
    padding: 0px 14px !important;
}
.su-spoiler-content ul {
  padding: 0 0 00px 00px;
  display: block;
  margin-bottom: 10px;
  margin-left: 10px;
}

.servicii {
    background-color: crimson;
    color: white;
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 14px;
    margin-top: 5px;
}

.woocommerce .product .product_title {
    background-color: inherit !important;    
}

.bundled_product_summary .bundled_product_images img {
    border: 1px solid gray;
    border-radius: 7px;
}

@media screen and (max-width:1024px){ 
    #content .specialProdut {
        width: 100% !important
    }    
    .specialProduct {
        width: 100% !important;
    }
}
.pizda{
  background-color: gray;
  width: 100%;
  display: block;
  padding: 5px 10px;
  color: white;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  margin-bottom: 5px; 
  border: 1px solid whitesmoke;  
}

.ft {
  /* position: absolute;
  top: 3px;
  right: 5px; */
  padding: 2px 7px 2px 7px;
  border-radius: 50px;
  color: white;
  height: 22px;
  cursor: pointer;
  background-color: red;
  font-size: 12px;
  float: right;
}

#preloader {
    z-index:1;
    display:flex;
    position:fixed;
    width:100%;
    height:100%;
    opacity:0.8;
    background-color:lightgray;
    text-align:center;
    vertical-align:middle;
    font-size:16px;
    font-weight:bold;
    align-items:center;
}

#filterObjects{
  margin-top: 10px;
  padding-left: 10px;    
}

.thumbUtilizare {
    width:28px !important; 
    height:28px !important;
    /* background-color:lightblue; */
    border:1px solid gray; 
    border-radius:3px; 
    position: absolute;
    bottom:15px; 
    /* right: -10px; */
}

/* Responsive */
@media screen and (max-width: 1280px) {
    #vizualizare_desktop {
        display: block;
    }
    
    #bundle_product_grid {
        max-height:350px;
        margin-bottom:0px;             
    }
    #bundle_product_grid .wcpb-addon-box-items.elementor-col-50 {
        width: 100%;
    }
    
    table.bundled_products .bundled_item_images_col {
        display: table-cell !important;
        width: 20% !important;
        max-width: 100px !important;
        min-width: unset !important;
    }    
    
    table.bundled_products .bundled_item_details_col{
        display: table-cell !important;
        width: 70% !important;
    }
    table.bundled_products .bundled_item_details_col * {
        font-size: 12px !important;
    }
    table.bundled_products .bundled_item_qty_col {
        display: table-cell !important;
        width:10% !important;
        max-width: 150px;
    }    
    .bundle_form_container * {
        font-size: 12px;
    }
}
