/*
Theme Name: Betheme Child
Theme URI: https://themes.muffingroup.com/betheme
Author: Muffin group
Author URI: https://muffingroup.com
Description: Child Theme for Betheme
Template: betheme
Version: 2.0.2
*/


.supermarket-category-grid,
.supermarket-subcategory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.woocommerce-order-received .woocommerce-order-details {
  width:100% !important;
}

#woo_order_tip_cash {
  display: none !important;
}

.supermarket-category,
.supermarket-subcategory {
  text-align: center;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 15px;
  transition: all 0.3s ease;
  background: #fff;
}

.mfn-close-icon .icon {
    color: #000;
    font-size: 40px;
    font-weight: 600;
}

.select2-container .select2-selection--single {
    height: auto !important;
    padding: 0 !important;
    border: 1px solid #000 !important;
}

.woocommerce-thankyou-order-received:before {
    color: #000;
    background-color: #ffdf04;
    
}

.woocommerce-order-received .woocommerce-customer-details {
  display: none !important;
}

.pagina_oferte_container {
  margin-top:50px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    display: none;
}

.mfn-cart-holder {
    right: -650px;
    width: 650px;
    max-width: 100%;
}

.informatii_suplimentare_sezlong h6 {
  color:red;
  font-weight: 600;
}

.woocommerce .column_product_cart_button .cart {
  flex-wrap: wrap;
}

.order_tip_title {
  margin-bottom:10px;
}

.af_addon_field_show {
  width: 100%;
  margin-top: 50px;
}

.xoo-qv-main .quantity {
  width:25% !important;
}

.single.single-product .quantity {
  width:25% !important;
}

.mfn-cart-holder .mfn-ch-content .mfn-ch-product .woocommerce-Price-amount {
    color: #000;
}

h2 {
    letter-spacing: 0px;
}
.mfn-woo-cart-link {
  display: none !important;
}

ul.fss-cart-topping-list {
    font-size: 12px;
    font-weight: 600;
}

.woo_order_tip {
  padding: 10px;
  margin-bottom: 10px;
  margin-right: 5px;
}

.af_addon_field_class span {
  font-size: 16px;
  font-weight: 600;
}
.restaurant-category-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8f6f2;
  margin-bottom: 20px;
  position: sticky;
  z-index: 3;
  padding: 10px 0;
}

.restaurant-category-slider {
  overflow-x: auto;
  scroll-behavior: smooth;
  flex: 1;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;     /* Firefox */
}

.woocommerce-cart .wc-block-components-totals-shipping .wc-block-components-totals-item__label, .woocommerce-cart .wc-block-components-totals-shipping .wc-block-components-totals-item__value ,.woocommerce-cart .wc-block-components-totals-shipping .wc-block-components-totals-shipping__via {
  display: none;
}

.is-large.wc-block-cart .wc-block-components-sidebar .wc-block-components-totals-shipping__options {
    margin-top: 0;
}


.wc-block-components-shipping-address {
    margin: 0 !important;
}

.restaurant-category-slider::-webkit-scrollbar {
  display: none;
}

.restaurant-category-scroll {
  display: flex;
  gap: 10px;
  padding: 10px 0;
}

.category-slider-btn {
  background: #f1c40f;
  border: none;
  font-size: 24px;
  padding: 8px 12px;
  cursor: pointer;
}

.restaurant-category-link a {
  padding: 8px 14px;
  border-radius: 20px;
  text-decoration: none;
  color: #333;
  white-space: nowrap;
}

.woocommerce table.shop_table td.product-name .variation {
  display: flex
;
  flex-wrap: wrap;
}

.woocommerce table.shop_table td.product-name .variation dt {
  width: 50%;
  margin: 0;
}

.woocommerce td.product-name dl.variation dd {
  margin: 0;
  width: 50%;
  padding: 0;
  border: 0;
}

.container_new.restaurant-category-slider {
    background: #f9f7f3;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
    overflow-x: auto;
    white-space: nowrap;
}
.restaurant-category-scroll {
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: flex-start;
  overflow-y: scroll;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE 10+ */
  padding-left: 50px;
  padding-right: 50px;
}

.restaurant-category-scroll::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.restaurant-category-link a {
  font-family: 'Futura PT', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #000;
  text-transform: uppercase;
  text-decoration: none;
  padding: 11px 10px;
  transition: color 0.2s ease-in-out;
  position: relative;
  display: block;
}
.restaurant-category-link a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -6px;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #000;
    transition: width 0.3s ease-in-out;
}
.restaurant-category-link a:hover::after {
    width: 100%;
}
.restaurant-category-link a:hover {
    color: #ffdf04;
}

.mfn-header-scrolled .container_new.restaurant-category-slider-wrapper {
  position: fixed;
  top: 114px;
  width: 100%;
}
body.admin-bar.mfn-header-scrolled .container_new.restaurant-category-slider-wrapper {
  top: 144px;
}

.mfn-header-scrolled .header_custom_new {
    top: 0;
    position: fixed;
    width: 100%;
    z-index: 1;
}

.mfn-header-scrolled .promo_bar_mob {
  display: none;
}

body.admin-bar.mfn-header-scrolled .header_custom_new {
  top: 46px;
}

body.admin-bar.mfn-header-scrolled .header_desk {
    top: 32px;
}

.restaurant-category-link .active {
  background-color: #ffdf04;
}
.container_new.restaurant-category-slider {
  background: #f9f7f3;
  padding: 15px 0;
  border-bottom: 1px solid #ddd;
  overflow: hidden; /* scoatem scroll-ul */
  position: relative;
}

.restaurant-category-link .count {
  font-size: 16px;
  color: #999;
  margin-left: 4px;
}

.category-slider-inner {
  display: flex;
  transition: transform 0.3s ease;
  gap: 10px;
  padding: 0 40px; /* spațiu pentru butoane */
}

.category-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: #fff;
  border: 1px solid #ddd;
  padding: 5px 10px;
  cursor: pointer;
}

.category-slider-btn.prev { left: 5px; }
.category-slider-btn.next { right: 5px; }
 

.mfn-product-badges span.onsale, .woocommerce .mfn-product-badges span.onsale {
  padding: 7px 24px;
  background: #c00;
  border-radius: 6px;
  color: #fff;
  font-weight: 600;
  font-size: 18px;
}

.freya_sync_commentary {
  width: 100%;
}

.woocommerce ul.products li.product .price del {
  color: #c00;
  opacity: 1;
  order: 2;
  margin-left: 10px;
}



.products .desc .price {
  display: flex !important;
}

.woocommerce ul#shipping_method li label {
  margin-bottom: 0;
}

.woocommerce ul#shipping_method {
  
  display: flex
;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.woocommerce ul#shipping_method li input {
  margin: 0px .4375em 0 0;
}

.woocommerce ul#shipping_method li {
  display: flex
;
  align-items: center;
  justify-content: flex-end;
}

.campuri_aditionale .woocommerce-input-wrapper {
  display: flex;
  align-items: center;
}
.campuri_aditionale .input-radio {
  margin-top:0;
}
.campuri_aditionale label {
  margin-bottom:0;
}
.campuri_aditionale  .woocommerce-input-wrapper label {
  font-size: 20px;
  font-weight: 600;
}
.side-buttons {
  position: fixed;
  bottom: 0;
  left: 10px;
  z-index: 7;
  display: flex
;
  align-items: flex-end;
  justify-content: center;
}


.sl_principal {
  border-radius: 30px;
  overflow: hidden;
}

.product-closed-message {
  font-size:14px;
  color:red;
  font-weight:600;
  display: flex;
  align-items: center;
}

.product-open-message {
  font-size: 14px;
  color: green;
  font-weight: 600;
  display: flex
;
  align-items: center;
}

.side-buttons a {
  display: block;
  border-radius: 10px 10px 0 0;
  font-family: 'Bold', 'Helvetica Neue', 'Helvetica', 'Arial', 'Tahoma', 'Verdana', sans-serif;
  font-display: fallback;
  color: #000000;
  background: #ffdf04;
  border: 1px solid #000000;
  border-bottom: 0 none;
  padding: 10px;
  margin-right: 10px;
  font-size: 18px;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  -ms-transition: all 0.25s ease;
  transition: all 0.25s ease;
  font-weight: 800;
  text-decoration: none;
}

.side-buttons a:hover {
  padding: 10px 10px 20px;
}

.restaurant_inchis {
  font-size: 20px;
  color: red;
  text-align: center;
  font-weight: 800;
  margin-bottom: 20px !important;
  margin-top: 20px !important;
}

.xoo-qv-summary p.price {
  font-size: 24px !important;
  font-weight: 800 !important;
  color: #000 !important;
}



.xoo-qv-summary h1.product_title.entry-title {
  font-size: 26px;
  font-weight: 800;
  line-height: 36px;
  margin-bottom:0px;
  margin-top: 30px;
  color: #000;
}

.supermarket-category:hover,
.supermarket-subcategory:hover {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.supermarket-category img,
.supermarket-subcategory img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
}

.all-restaurants-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width:100%;
    margin-bottom:30px;
  }
  
  .restaurant-box {
    display: flex;
    align-items: center;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    background: #fff;
    transition: box-shadow 0.3s ease;
  }
  
  .restaurant-box a {
    display: flex;
    text-decoration: none;
    color: inherit;
    width: 100%;
    align-items:center;
  }

  .info_restaurant {
    color: #fff;
    font-size: 38px;
    font-weight: 800;
}
  
  .restaurant-box:hover {
    box-shadow: 0 0 10px rgba(0,0,0,0.08);
  }
  
  .restaurant-thumbnail {
    width: 135px;
    min-width: 135px;
    height: 135px;
    overflow: hidden;
    margin-right: 20px;
    border-right: 1px solid #e6e6e6;
  }
  
  .restaurant-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
  }
  
  .restaurant-info {
    flex: 1;
  }
  
  .restaurant-name {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 5px;
  }
  
  .restaurant-description {
    color: #666;
    font-size: 14px;
  }

  .restaurant-hero {
    text-align: center;
    position: relative;
    margin-bottom: 30px;
  }
  
 .restaurant-banner {
    width: 100%;
    height: 450px;
    background-size: cover;
    background-position: bottom;
    display: flex;
    align-items: center;
    justify-content: center;
    background-repeat: no-repeat;
}

  #Content {
    padding-top: 0;
}
  
 .restaurant-logo {
    position: absolute;
    top: 400px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #fff;
}

  #Header_wrapper {
    display: none !important;
  }
  
  .restaurant-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  
  .restaurant-title {
    margin-top: 50px;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 0;
  }

  ::marker {
    display: none !important;
    content: '';
  }
  
  .restaurant-category-section {
    margin-bottom: 40px !important;
    margin-top: 0px !important;
}
  
  .restaurant-category-title {
    font-size: 22px;
    border-bottom: 2px solid #eee;
    background: #ffdf04;
    border-radius: 10px;
    padding: 0 30px;
}
  
  .restaurant-products-grid {
     display: flex
;
    flex-wrap: wrap;/* 4 coloane pe rând */
    gap: 20px; /* spațiu între elemente */
    margin-top: 20px;
  }

  .container_new {
    width: 1440px;
    margin: 0 auto;
    max-width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

   .wc-block-components-sidebar {
    background: #f7f7f7;
    padding: 20px;
    border-radius: 20px;
}
    .woocommerce-MyAccount-navigation-link--downloads {
        display: none!important;
    }

 

/* .custom_box .image_links a, .box_slider .image_links a {
  display: none !important;
} */

.custom_box .image_links a.mfn-wish-button, .box_slider .image_links a.mfn-wish-button {
  display: flex !important;
  opacity:1 !important; 
}

.box_slider .desc .xoo-qv-button {
  display: none !important;
}

.custom_box {
    background-color: #fff;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    position: relative;
    width: calc(25% - 15px);
}

.custom_box .desc .xoo-qv-button {
  display: none !important;
}

.custom_box .isotope-item {
  border-radius: 10px;
    border: 1px solid #e6e6e6;
    background-color: white;
    cursor: pointer;
    position: relative;
}

.custom_box .isotope-item .desc {
  padding:15px;
}

.custom_box .isotope-item .desc .mfn-wish-button, .products .isotope-item .desc .mfn-wish-button {
  display: none;
}


.restaurant-products-grid .isotope-item:hover {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.restaurant-products-grid .isotope-item .image_frame {
  margin-bottom: 15px;
}

.restaurant-products-grid .isotope-item .image_frame img {
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
  border-radius: 10px;
}

.restaurant-products-grid .isotope-item .desc h4 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.restaurant-products-grid .isotope-item .desc .price {
  font-size: 24px;
  line-height: 34px;
  font-weight: 800;
  color: #000000;
}

.icon_cart_abs {
  position: absolute;
  right: 15px;
  bottom: 20px;
  background: #ffdf04;
  padding: 10px;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  cursor: pointer;
}

.restaurant-products-grid .isotope-item .desc .price bdi {
  color: #000000;
}

.restaurant-products-grid .isotope-item .desc .product-loop-thumb {
  margin-bottom: 10px;
}

.restaurant-products-grid .isotope-item .desc .add_to_cart_button {
  background-color: #ffdf04;
  color: white;
  border: none;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.restaurant-products-grid .isotope-item .desc .add_to_cart_button:hover {
  background-color: #e5c200;
}

.woocommerce ul.products:not(.list) li.product.has-background-color .desc {
  text-align: left;
}


.products .mfn-woo-product-title, .custom_box .mfn-woo-product-title {
  
  min-height: 56px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.xoo-qv-container {
  max-width: 700px;
  max-height: 100%;
  height: 90vh;
  border-radius: 10px;
    overflow: hidden;
}

.xooqv-cross:before {
  color: #000;
}

.xoo-qv-main::-webkit-scrollbar {
  width: 0;
  background: transparent;
}

.xoo-qv-close.xoo-qv.xooqv-cross {
  background: rgba(255, 255, 255, 0.7);
  padding: 7px;
  border-radius: 50%;
  top: 70px;
  z-index: 9;
  right: 30px;
}

.xoo-qv-container {
  padding: 0 !important;
}

.xoo-qv-images {
  width: 100% !important;
  float: none;
}

#freya_sync_commentary {
  resize: vertical;
  max-height: initial;
  padding: 6px 12px;
  font-size: 14px;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 50px;
  margin-bottom:30px;
}

.xoo-qv-summary button.single_add_to_cart_button.button.alt {
  width: calc(100% - 134px);
}

.xoo-qv-summary .mfn-wish-button {
  display: none !important;
}

.xoo-qv-summary  form.cart {
  display: block;
}

.xoo-qv-summary  .form-row {
  padding: 0;
}

.xoo-qv-images img {
  height: 400px !important;
  object-fit: cover;
}

.product_meta {
  display: none;
}

.xoo-qv-summary {
  width: 100% !important;
  float: none !important;
  padding: 0 20px 10px 20px;
  box-sizing: border-box;
}

.xoo-qv-plink {
  display: none;
}

.woocommerce .woocommerce-product-details__short-description {
  font-size: 18px;
  line-height: 28px;
}

.af_addon_field_class {
  position: relative;
  margin-bottom: 15px;
}

/* Ascundem radio-ul default */
.af_addon_field_class input[type="radio"] {
  opacity: 0;
  position: absolute;
  z-index: -1;
}

/* Stil pentru label-ul custom */
.af_addon_field_class label {
  position: relative;
  padding-left: 35px;
  cursor: pointer;
  display: inline-block;
  font-size: 16px;
  line-height: 22px;
  color: #333;
}

/* Cercul mare */
.af_addon_field_class label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #ccc;
  background-color: #fff;
  transition: all 0.3s ease;
}

/* Cercul activ */
.af_addon_field_class input[type="radio"]:checked + label::before {
  border-color: #ffdf04;
  background-color: #ffdf04;
  box-shadow: 0 0 0 4px rgba(218, 208, 6, 0.2);
}

/* Cerc mic interior */
.af_addon_field_class label::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s ease;
}

/* Styles for af_addon_total_price table */
.af_addon_total_price {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  display: none !important;
}

.af_addon_total_price td {
  padding: 12px 15px;
  font-size: 16px;
  color: #333;
  vertical-align: top;
  border-bottom: 1px solid #eee;
}

.af_addon_total_price .product-name-and-quantity {
  font-weight: 700;
  color: #000;
}

.af_addon_total_price ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.af_addon_total_price ul li {
  margin-bottom: 4px;
  font-size: 15px;
  color: #555;
}

.af_addon_total_price .product-sub-total-final td {
  font-weight: 700;
  font-size: 18px;
  color: #000;
  border: none;
  background-color: #f9f9f9;
}

.af_addon_total_price .product_sub_total_final_td {
  text-align: right;
}

#product_option_selected_name ul {
  text-align: left;
  padding-left: 12px;
}



.cart .single_add_to_cart_button {
  width:60% !important;
  margin-left:3%;
  margin-right:3%;
}

.mfn-wish-button {
  width:9%;
  margin:0;
}

.woocommerce-cart .woocommerce-shipping-destination {
  display: none;
}

.product-sub-total-final, .product_option_selected_price {
  background: #f9f9f9;
}

/* Când e selectat */
.af_addon_field_class input[type="radio"]:checked + label::after {
  opacity: 1;
}

/* Dezactivează selectarea textului din categoriile sliderului (și opțional din întregul slider) */
.restaurant-category-scroll,
.restaurant-category-scroll * {
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

.mfn-cart-holder .mfn-ch-content .mfn-ch-product .mfn-chp-info dl.variation dd {
  font-weight: 600;
}

.mfn-cart-holder .mfn-ch-content .mfn-ch-product .mfn-chp-info dl.variation dd p, .mfn-cart-holder .mfn-ch-content .mfn-ch-product .mfn-chp-info dl.variation dd p span {
  color: #000 !important;
  font-weight: 600;
}

.xoo-qv-summary .cart .single_add_to_cart_button {
  width: 72% !important;
  margin-right: 0%;
}

p.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received {
    color: #000;
    font-weight: 600;
    font-size: 18px;
    width: 100%;
    order: -2;
}

.fss-cart-topping-list {
  margin-left:0;
}

.woocommerce-order-received .woocommerce-order {
    display: flex
;
    flex-wrap: wrap;
}





section.woocommerce-order-details {
    order: -1;
}

.column_column ul, .column_helper ul, .column_post_content ul, .column_product_content .source-editor ul, .column_product_short_description ul, .column_visual ul, .elementor-widget-text-editor ul, .icon_box ul, .mfn-acc ul, .mfn-toggle .toggle-content ul, .post-excerpt ul, .the_content_wrapper ul, .ui-tabs-panel ul {
    margin: 0;
}

.woocommerce table.shop_table td.product-price, .woocommerce table.shop_table td.product-subtotal {
    color: #000;
    font-weight: 600;
}

.cart .quantity {
    width: auto;
    margin: 0 !important;
}



@media (max-width: 992px) {
  .restaurant-products-grid {
      gap: 10px;
  }

  .custom_box {
      width: calc(50% - 5px);
  }

   .xoo-qv-images img {
      object-fit: cover;
  }

  .mfn-header-scrolled .container_new.restaurant-category-slider-wrapper {
    top: 99px;
  }

  .restaurant-category-link a:hover {
    color: #000;
  }

  .xoo-qv-summary .cart .single_add_to_cart_button {
    padding: 0; 
    height: 52px;
    font-size: 14px;
  }

  .mfn-be-checkout .woocommerce:not(.mfn-cart-tmpl-builder) .woocommerce-checkout {
    margin-top: 0;
  }

  .fss-cart-topping-list {
    margin-left:0 !important;
  }

  div#order_review {
      order: 1;
      padding: 20px 5px !important;
  }

  

  .wc-block-components-sidebar.wc-block-cart__sidebar.wp-block-woocommerce-cart-totals-block {
      padding: 20px !important;
      box-sizing: border-box;
  }

  .mfn-cart-step {
      padding: 30px 0 10px;
  }

  body.admin-bar.mfn-header-scrolled .container_new.restaurant-category-slider-wrapper {
      top: 144px;
  }

  .xoo-qv-container {
    left: 4%;
    right: 4%;
  }

  .restaurant-category-title {
    font-size: 18px;
    padding: 0 15px;
}

     .restaurant-category-scroll {
        gap: 20px;
        padding-left: 40px;
        padding-right: 40px;
    }

  .restaurant-category-link a {
      font-size: 12px;
      padding: 6px 5px;
  }

  .container_new {
    padding:0 10px;
  }
}

@media(max-width:600px) {
  .restaurant-banner {
    height: 130px;
    background-size: cover;
  }

  .restaurant-logo {
    top: 136px;
  }

  .restaurant-title {
    margin-top: 93px;
  }
}

@media (max-width: 320px) {
  .custom_box {
    width: calc(100% - 10px);
  }
}

