/***************************************************************
 * Offerte Editor Styles (inspired by your existing theme CSS)
 **************************************************************/

/* Container for the offerte editor */
#sofp_offerte {
  max-width: 1080px;
  margin: 0 auto;
  font-family: var(--font);
  /* Basiskleur achtergrond (optioneel) */
  background-color: var(--bg, #f4f4f4);
  color: var(--primary, #333);
  line-height: 1.6;
  padding: 0px;
}

/* Eventuele foutmeldingen */
.error {
  color: #d00;
  font-weight: bold;
  margin-bottom: 10px;
  background-color: white;
  padding: 10px;
  padding-top: 16px;
  padding-left: 46px;
  position: relative;
  border-radius: 4px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
  margin-bottom: 20px;
}
.error::after{
  width: 50px;
  height: 100%;
  content: '';
  position: absolute;
  top: 0px;
  left: 0px;
  background-size: 25px;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url('data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cpath%20fill%3D%22%23eb3f00%22%20d%3D%22M22.0488001%2C18.0287141%20C22.5852265%2C18.9942816%2022.2373389%2C20.2118882%2021.2717714%2C20.7483146%20C20.9746554%2C20.913379%2020.640374%2C21%2020.3004855%2C21%20L3.69951446%2C21%20C2.59494496%2C21%201.69951446%2C20.1045695%201.69951446%2C19%20C1.69951446%2C18.6601115%201.78613546%2C18.3258301%201.95119991%2C18.0287141%20L10.2516854%2C3.08784017%20C10.7881118%2C2.1222727%2012.0057184%2C1.77438511%2012.9712859%2C2.31081148%20C13.297766%2C2.49218933%2013.5669367%2C2.76136004%2013.7483146%2C3.08784017%20L22.0488001%2C18.0287141%20Z%20M12%2C4.05912603%20L3.69951446%2C19%20L20.3004855%2C19%20L12%2C4.05912603%20Z%20M11%2C9.5%20C11%2C8.94771525%2011.4477153%2C8.5%2012%2C8.5%20C12.5522847%2C8.5%2013%2C8.94771525%2013%2C9.5%20L13%2C13%20C13%2C13.5522847%2012.5522847%2C14%2012%2C14%20C11.4477153%2C14%2011%2C13.5522847%2011%2C13%20L11%2C9.5%20Z%20M12%2C17.5%20C11.3096441%2C17.5%2010.75%2C16.9403559%2010.75%2C16.25%20C10.75%2C15.5596441%2011.3096441%2C15%2012%2C15%20C12.6903559%2C15%2013.25%2C15.5596441%2013.25%2C16.25%20C13.25%2C16.9403559%2012.6903559%2C17.5%2012%2C17.5%20Z%22%2F%3E%0A%3C%2Fsvg%3E%0A');
}

/* Form-groepen voor nette uitlijning */
.form-group {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex-wrap: nowrap;
  align-content: center;
  align-items: flex-start;
  font-family: var(--font);
}

/* Datumvelden (Flatpickr) */
.sofp_table_inline_field,
div.form-group > textarea,
div.form-group > select,
div.form-group input,
.date-input {
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
  /* margin-bottom: 10px; */
  background-color: #ffffff;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  transition: all 0.3s ease;
}
.sofp_table_inline_field,
div.form-group > textarea:focus,
div.form-group > select:focus,
  div.form-group input:focus,
.date-input:focus {
  outline: none;
  border-color: var(--secondary, #91b7df);
}

/* Repeater items container */
.item-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 0.5rem;
}
.item-row label {
  margin-right: 6px;
  margin-bottom: 4px;
  font-weight: 500;
}
.item-row input {
  margin-right: 10px;
  margin-bottom: 4px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 6px;
  transition: all 0.3s ease;
}
.item-row input:focus {
  outline: none;
  border-color: var(--secondary, #91b7df);
}
.item-row button {
  background: var(--primary, #0073aa);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 6px 10px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.item-row button:hover {
  background: var(--secondary, #91b7df);
}


/* Hover/active states (inspired by your transitions) */
button,
.sofp_product_item {
  transition: all 500ms cubic-bezier(0.250, 0.250, 0.000, 0.985);
  transition-timing-function: cubic-bezier(0.250, 0.250, 0.000, 0.985);
}
button:hover,
.sofp_product_item:hover {
  transform: scale(1.05);
}
button:active,
.sofp_product_item:active {
  transform: scale(0.95);
}

/****************************************************************
 * Hieronder enkele voorbeelden van hoe je bestaande thema-CSS 
 * kunt hergebruiken of uitbreiden voor de offerte-editor 
 * (indien nodig).
 ****************************************************************/

/* Uit jouw thema: basis layout voor de pagina-inhoud */
.sof_page {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.sof_page_inner {
  width: 80%;
  max-width: 1080px;
}

/* Een wit blok voor de content */
.product_page_content {
  background-color: #ffffff;
  border-radius: 6px;
  margin-top: 30px;
  padding: 20px;
}

/* Kopteksten */
.product_page_head_content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--font);
  font-size: 32px;
  font-weight: 600;
  color: var(--primary, #333);
}

/* Breadcrumb-stijlen (optioneel) */
.sofp_breadcrumb_cats {
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
}
.sofp_breadcrumb_cats > * {
  text-decoration: none;
  color: var(--secondary, #91b7df);
  font-size: 16px;
  position: relative;
  font-family: var(--font);
}
.sofp_breadcrumb_cats > *:hover {
  filter: brightness(0.8);
}

/* Responsive voorbeeld: item-row op mobiel onder elkaar */
@media (max-width: 600px) {
  .item-row {
    flex-direction: column;
    align-items: flex-start;
  }
}


.editor_body{
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
}
.sofp_span2{
  grid-column: span 2;
}


.sofp_item_editor {
  grid-column: 1 / span 2;
  background-color: white;
  padding: 0px;
  border-radius: 3px;
}

.editor_body > h2 {
  font-size: 20px;
  font-weight: 600;
}

.sofp_item_editor > h3 {
  margin: 0px;
  margin-bottom: 2px;
  font-size: 23px;
}

button {}

.sofp_item_editor > button {
  background-color: var(--secondary);
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
}

.sofp_item_editor > p {
  width: 100%;
  background-color: #fafafa;
  padding: 10px;
  margin-top: 20px;
}
.sofp_span2{
  grid-column: span 2;
}
.sofp_offerteform_action{
background-color: var(--primary);
color: white;
padding: 10px 20px;
}
.sofp_table_inline_field{
width: 100%;
}
/* style jquery ui autocomplete */
.ui-autocomplete {
max-height: 200px;
overflow-y: auto;
/* prevent horizontal scrollbar */
overflow-x: hidden;
z-index: 1000;
background-color: white;
border: 1px solid #ccc;
border-radius: 4px;
padding: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
z-index: 999999999999999999;
}
.ui-autocomplete li {
list-style-type: none;
padding: 5px;
cursor: pointer;
}
.ui-autocomplete li:hover {
background-color: #f4f4f4;
}
.ui-autocomplete li.ui-state-focus {
background-color: #f4f4f4;
}
.ui-autocomplete li.ui-state-active {
background-color: #f4f4f4;
}
.ui-autocomplete li.ui-state-active a {
color: white;
}
.ui-autocomplete li a {
text-decoration: none;
color: #333;
}
.sofp_offerte_tile {background-color: white;padding: 10px;border-radius: 3px;margin-bottom: 10px;width: 100%;display: flex;flex-direction: row;justify-content: space-between!important;!importan;!importa;!import;!impor;!impo;!imp;!im;!i;!;align-items: center!important;!importan;!importa;!import;!impor;!impo;!imp;!im;!i;!;margin: 0px;padding: 0px;}
.sofp_offerte_tile > h3{
color: var(--primary);
font-size: 20px;
margin: 0px;
}
.sofp_offerte_tile > p{
margin: 0px;
margin-top: 10px;
}
.sofp_offerte_tile > *{
margin: 0px;
padding: 0px!important;
}
.sofp_offerte_tile > a{background-color: var(--secondary);color: white;padding: 10px 20px;border-radius: 4px;margin-top: 0px;padding: 10px 20px!important;padding-top: 12px!important;!importan;!importa;!import;!impor;!impo;!imp;!im;!i;!;padding-right: 40px!important;!importan;!importa;!import;!impor;!impo;!imp;!im;!i;!;}

.editor_body > h2{
  font-size: 30px;
}
.sof_subtotal {
  border-top: 2px solid rgb(203, 203, 203);
  margin-top: 20px;
  display: flex;
  grid-template-columns: 200px 1fr;
  grid-gap: 10px;
  justify-content: space-between;
  padding: 20px;
}
.product_page_content.sofp_offerte_editor ,
.product_page_content.sofp_offerte_editor > .product_page_desc
{
  padding: 0px;
  width: 100%;
  margin: 0px;
  float:left;
}

.sofp_item_editor > button {
  margin-left: 20px;
}
.sof_subtotalpricing {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 230px;
  align-items: stretch;
}
.sof_subtotal_price {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}


.sof_productadd_modal {
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 999999999999999999;
  background-color: #000000b0;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.sof_productadd_modal_inner {
  background-color: white;
  padding: 0;
  border-radius: 5px;
  width: calc(100% - 20px);
  box-sizing: border-box;
  max-width: 600px;
  min-width: 210px;
}
.sof_productmodal_header {
  padding: 10px;
  border-bottom: 2px solid #f5f5f5;
}

.sof_productmodal_content {
  padding: 10px;
}

.sof_productmodal_content > p {
  color: var(--primary);
  font-weight: 400;
}

.sof_productmodal_header > h2 {
  font-size: 19px;
  padding-top: 6px;
  padding-left: 15px;
  padding-right: 15px;
  font-weight: 500;
}

.sof_productadd_modal_selects {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.sof_select_item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.sof_select_item > select {
  height: 35px;
  background-color: #f5f5f5;
  border-radius: 4px;
  border: 0px solid red;
}
.sof_modal_actions {
  display: flex;
  flex-direction: row;
  align-content: center;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  margin-top: 10px;
  padding: 10px;
}

.sof_modal_actions > * {
  margin: 0px;
}
button.sof_btn_danger{
  background-color: #eb7859 !important;
}
.sof_productmodal_content_img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.sof_productmodal_content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 10px;
}

.sof_productmodal_col2 > .sof_productadd_modal_inner{
  width: 100%;
  max-width: 700px;
}


.sof_buttons_offerteeditor {
  display: flex;
  width: 100%;
  float: left;
  grid-column: 1 / span 2;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

button.sof_btn.sof_btn_primary.sof_export_btns {
  color: black!important;
  background-color: #eaeaea;
}
button.sof_btn.sof_btn_primary.sof_export_btns::after{
  filter: invert(1)!important;
}
button.sof_btn.sof_btn_secondary {
  background-color: #ededed!important;
  color: black !important;
}
.sof_inline_delete{
  background-image: url('data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cpath%20fill%3D%22%23ffffff%22%20d%3D%22M8%2C6%20L8%2C4%20C8%2C2.8954305%208.8954305%2C2%2010%2C2%20L14%2C2%20C15.1045695%2C2%2016%2C2.8954305%2016%2C4%20L16%2C6%20L21%2C6%20C21.5522847%2C6%2022%2C6.44771525%2022%2C7%20C22%2C7.55228475%2021.5522847%2C8%2021%2C8%20L19%2C8%20L19%2C20%20C19%2C21.1045695%2018.1045695%2C22%2017%2C22%20L7%2C22%20C5.8954305%2C22%205%2C21.1045695%205%2C20%20L5%2C8%20L3%2C8%20C2.44771525%2C8%202%2C7.55228475%202%2C7%20C2%2C6.44771525%202.44771525%2C6%203%2C6%20L8%2C6%20Z%20M10%2C6%20L14%2C6%20L14%2C4%20L10%2C4%20L10%2C6%20Z%20M7%2C8%20L7%2C20%20L17%2C20%20L17%2C8%20L7%2C8%20Z%20M9%2C11%20C9%2C10.4477153%209.44771525%2C10%2010%2C10%20C10.5522847%2C10%2011%2C10.4477153%2011%2C11%20L11%2C17%20C11%2C17.5522847%2010.5522847%2C18%2010%2C18%20C9.44771525%2C18%209%2C17.5522847%209%2C17%20L9%2C11%20Z%20M13%2C11%20C13%2C10.4477153%2013.4477153%2C10%2014%2C10%20C14.5522847%2C10%2015%2C10.4477153%2015%2C11%20L15%2C17%20C15%2C17.5522847%2014.5522847%2C18%2014%2C18%20C13.4477153%2C18%2013%2C17.5522847%2013%2C17%20L13%2C11%20Z%22%2F%3E%0A%3C%2Fsvg%3E%0A');
  background-size: 20px;
  background-repeat: no-repeat;
  background-position: center;
  width: 20px;
  height: 20px;
}
button.sof_btn.sof_btn_primary.sof_inline_delete.sof_export_btns {
  height: 54px;
  padding: 10px 27px;
  background-color: #de6a55;
}
button.sof_btn.sof_btn_primary.sof_inline_delete.sof_export_btns::after {
  display: none!important;
}

@media screen and (max-width: 700px){
  .editor_body{
    display: flex!important;
    flex-direction: column;
  }
  table.editor_table_body > tr > td{
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .sof_productmodal_content {
    display: grid;
    grid-template-columns: 1fr;
}

.sof_productmodal_content_img {
    min-height: 120px;
}

.sof_productadd_modal_selects > div.sof_select_item {
    width: 100%;
    display: flex;
    flex-direction: column;
}
.sof_productadd_modal_selects > div.sof_select_item > input{
  width: 100%;
  border: 0px solid red!important;
  border-radius: 4px;
  height: 35px;
  background-color: #f5f5f5;
}
.sof_modal_actions.sof_offerte_modaledit_action {
  display: flex;
  flex-direction: column;/***************************************************************
  * Offerte Editor Styles (inspired by your existing theme CSS)
  **************************************************************/
 
 /* Container for the offerte editor */
 #sofp_offerte {
   max-width: 1080px;
   margin: 0 auto;
   font-family: var(--font);
   /* Basiskleur achtergrond (optioneel) */
   background-color: var(--bg, #f4f4f4);
   color: var(--primary, #333);
   line-height: 1.6;
   padding: 0px;
 }
 
 /* Eventuele foutmeldingen */
 .error {
   color: #d00;
   font-weight: bold;
   margin-bottom: 10px;
 }
 
 /* Form-groepen voor nette uitlijning */
 .form-group {
   margin-bottom: 0;
   display: flex;
   flex-direction: column;
   justify-content: flex-start;
   flex-wrap: nowrap;
   align-content: center;
   align-items: flex-start;
 }
 
 /* Datumvelden (Flatpickr) */
 .sofp_table_inline_field,
 div.form-group > textarea,
 div.form-group input,
 .date-input {
   padding: 10px;
   width: 100%;
   box-sizing: border-box;
   /* margin-bottom: 10px; */
   background-color: #ffffff;
   border: 1px solid #ccc;
   border-radius: 5px;
   font-size: 16px;
   transition: all 0.3s ease;
 }
 .sofp_table_inline_field,
 div.form-group > textarea:focus,
   div.form-group input:focus,
 .date-input:focus {
   outline: none;
   border-color: var(--secondary, #91b7df);
 }
 
 /* Repeater items container */
 .item-row {
   display: flex;
   flex-wrap: wrap;
   align-items: center;
   margin-bottom: 0.5rem;
 }
 .item-row label {
   margin-right: 6px;
   margin-bottom: 4px;
   font-weight: 500;
 }
 .item-row input {
   margin-right: 10px;
   margin-bottom: 4px;
   background-color: #fff;
   border: 1px solid #ccc;
   border-radius: 4px;
   padding: 6px;
   transition: all 0.3s ease;
 }
 .item-row input:focus {
   outline: none;
   border-color: var(--secondary, #91b7df);
 }
 .item-row button {
   background: var(--primary, #0073aa);
   color: #fff;
   border: none;
   border-radius: 4px;
   padding: 6px 10px;
   cursor: pointer;
   transition: background 0.3s ease;
 }
 .item-row button:hover {
   background: var(--secondary, #91b7df);
 }
 
 
 /* Hover/active states (inspired by your transitions) */
 button,
 .sofp_product_item {
   transition: all 500ms cubic-bezier(0.250, 0.250, 0.000, 0.985);
   transition-timing-function: cubic-bezier(0.250, 0.250, 0.000, 0.985);
 }
 button:hover,
 .sofp_product_item:hover {
   transform: scale(1.05);
 }
 button:active,
 .sofp_product_item:active {
   transform: scale(0.95);
 }
 
 /****************************************************************
  * Hieronder enkele voorbeelden van hoe je bestaande thema-CSS 
  * kunt hergebruiken of uitbreiden voor de offerte-editor 
  * (indien nodig).
  ****************************************************************/
 
 /* Uit jouw thema: basis layout voor de pagina-inhoud */
 .sof_page {
   width: 100%;
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
 }
 .sof_page_inner {
   width: 80%;
   max-width: 1080px;
 }
 
 /* Een wit blok voor de content */
 .product_page_content {
   background-color: #ffffff;
   border-radius: 6px;
   margin-top: 30px;
   padding: 20px;
 }
 
 /* Kopteksten */
 .product_page_head_content {
   display: flex;
   flex-direction: column;
   gap: 10px;
   font-family: var(--font);
   font-size: 32px;
   font-weight: 600;
   color: var(--primary, #333);
 }
 
 /* Breadcrumb-stijlen (optioneel) */
 .sofp_breadcrumb_cats {
   cursor: pointer;
   display: flex;
   flex-direction: row;
   align-items: center;
   gap: 18px;
 }
 .sofp_breadcrumb_cats > * {
   text-decoration: none;
   color: var(--secondary, #91b7df);
   font-size: 16px;
   position: relative;
   font-family: var(--font);
 }
 .sofp_breadcrumb_cats > *:hover {
   filter: brightness(0.8);
 }
 
 /* Responsive voorbeeld: item-row op mobiel onder elkaar */
 @media (max-width: 600px) {
   .item-row {
     flex-direction: column;
     align-items: flex-start;
   }
 }
 
 
 .editor_body{
   display: grid;
   grid-template-columns: 1fr 1fr;
   grid-gap: 20px;
 }
 .sofp_span2{
   grid-column: span 2;
 }
 
 
 .sofp_item_editor {
   grid-column: 1 / span 2;
   background-color: white;
   padding: 0px;
   border-radius: 3px;
 }
 
 .editor_body > h2 {
   font-size: 20px;
   font-weight: 600;
 }
 
 .sofp_item_editor > h3 {
   margin: 0px;
   margin-bottom: 2px;
   font-size: 23px;
 }
 
 button {}
 
 .sofp_item_editor > button {
   background-color: var(--secondary);
   color: white;
   padding: 10px 20px;
   border-radius: 4px;
 }
 
 .sofp_item_editor > p {
   width: 100%;
   background-color: #fafafa;
   padding: 10px;
   margin-top: 20px;
 }
 .sofp_span2{
   grid-column: span 2;
 }
 .sofp_offerteform_action{
 background-color: var(--primary);
 color: white;
 padding: 10px 20px;
 }
 .sofp_table_inline_field{
 width: 100%;
 }
 /* style jquery ui autocomplete */
 .ui-autocomplete {
 max-height: 200px;
 overflow-y: auto;
 /* prevent horizontal scrollbar */
 overflow-x: hidden;
 z-index: 1000;
 background-color: white;
 border: 1px solid #ccc;
 border-radius: 4px;
 padding: 10px;
 box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
 z-index: 999999999999999999;
 }
 .ui-autocomplete li {
 list-style-type: none;
 padding: 5px;
 cursor: pointer;
 }
 .ui-autocomplete li:hover {
 background-color: #f4f4f4;
 }
 .ui-autocomplete li.ui-state-focus {
 background-color: #f4f4f4;
 }
 .ui-autocomplete li.ui-state-active {
 background-color: #f4f4f4;
 }
 .ui-autocomplete li.ui-state-active a {
 color: white;
 }
 .ui-autocomplete li a {
 text-decoration: none;
 color: #333;
 }
 .sofp_offerte_tile {background-color: white;padding: 10px;border-radius: 3px;margin-bottom: 10px;width: 100%;display: flex;flex-direction: row;justify-content: space-between!important;!importan;!importa;!import;!impor;!impo;!imp;!im;!i;!;align-items: center!important;!importan;!importa;!import;!impor;!impo;!imp;!im;!i;!;margin: 0px;padding: 0px;}
 .sofp_offerte_tile > h3{
 color: var(--primary);
 font-size: 20px;
 margin: 0px;
 }
 .sofp_offerte_tile > p{
 margin: 0px;
 margin-top: 10px;
 }
 .sofp_offerte_tile > *{
 margin: 0px;
 padding: 0px!important;
 }
 .sofp_offerte_tile > a{background-color: var(--secondary);color: white;padding: 10px 20px;border-radius: 4px;margin-top: 0px;padding: 10px 20px!important;padding-top: 12px!important;!importan;!importa;!import;!impor;!impo;!imp;!im;!i;!;padding-right: 40px!important;!importan;!importa;!import;!impor;!impo;!imp;!im;!i;!;}
 
 div#sofp_offerte_add {
   margin-top: 20px;
   background-color: white;
   padding: 10px;
 }
 
 div#sofp_offerte_add > button {
   padding: 11px 33px 9px 16px;
   margin: 0px!important;!importan;!importa;!import;!impor;!impo;!imp;!im;!i;!;
   width: 120px!important;!importan;!importa;!import;!impor;!impo;!imp;!im;!i;!;
   text-align: left;
 }
 
 div#sofp_offerte_add > input {
   height: 100%;
   height: 41px;
   width: calc(100% - 140px);
 }
 
 div#sofp_offerte_add {
   display: flex;
   flex-direction: row;
   align-content: center;
   align-items: stretch;
   gap: 15px;
 }
 .editor_body > h2{
   font-size: 30px;
 }
 .sof_subtotal {
   border-top: 2px solid rgb(203, 203, 203);
   margin-top: 20px;
   display: flex;
   grid-template-columns: 200px 1fr;
   grid-gap: 10px;
   justify-content: space-between;
   padding: 20px;
 }
 .product_page_content.sofp_offerte_editor ,
 .product_page_content.sofp_offerte_editor > .product_page_desc
 {
   padding: 0px;
   width: 100%;
   margin: 0px;
   float:left;
 }
 
 .sofp_item_editor > button {
   margin-left: 20px;
 }
 .sof_subtotalpricing {
   display: flex;
   flex-direction: column;
   justify-content: flex-end;
   width: 230px;
   align-items: stretch;
 }
 .sof_subtotal_price {
   display: flex;
   flex-direction: row;
   justify-content: space-between;
 }
 
 
 .sof_productadd_modal {
   position: fixed;
   top: 0px;
   left: 0px;
   z-index: 999999999999999999;
   background-color: #000000b0;
   width: 100vw;
   height: 100vh;
   display: flex;
   flex-direction: column;
   flex-wrap: nowrap;
   align-content: center;
   justify-content: center;
   align-items: center;
 }
 
 .sof_productadd_modal_inner {
   background-color: white;
   padding: 0;
   border-radius: 5px;
   width: calc(100% - 20px);
   box-sizing: border-box;
   max-width: 600px;
   min-width: 210px;
 }
 .sof_productmodal_header {
   padding: 10px;
   border-bottom: 2px solid #f5f5f5;
 }
 
 .sof_productmodal_content {
   padding: 10px;
 }
 
 .sof_productmodal_content > p {
   color: var(--primary);
   font-weight: 400;
 }
 
 .sof_productmodal_header > h2 {
   font-size: 19px;
   padding-top: 6px;
   padding-left: 15px;
   padding-right: 15px;
   font-weight: 500;
 }
 
 .sof_productadd_modal_selects {
   display: flex;
   flex-direction: column;
   align-items: stretch;
   gap: 10px;
 }
 
 .sof_select_item {
   display: flex;
   flex-direction: column;
   align-items: stretch;
 }
 
 .sof_select_item > select {
   height: 35px;
   background-color: #f5f5f5;
   border-radius: 4px;
   border: 0px solid red;
 }
 .sof_modal_actions {
   display: flex;
   flex-direction: row;
   align-content: center;
   justify-content: center;
   align-items: center;
   gap: 10px;
   margin-bottom: 20px;
   margin-top: 10px;
   padding: 10px;
 }
 
 .sof_modal_actions > * {
   margin: 0px;
 }
 button.sof_btn_danger{
   background-color: #eb7859 !important;
 }
 .sof_productmodal_content_img {
   width: 100%;
   height: 100%;
   min-height: 260px;
   background-size: contain;
   background-repeat: no-repeat;
   background-position: center;
 }
 
 .sof_productmodal_content {
   display: grid;
   grid-template-columns: 1fr 1fr;
   grid-gap: 10px;
 }
 
 .sof_productmodal_col2 > .sof_productadd_modal_inner{
   width: 100%;
   max-width: 700px;
 }
 
 
 .sof_buttons_offerteeditor {
   display: flex;
   width: 100%;
   float: left;
   grid-column: 1 / span 2;
   flex-direction: row;
   justify-content: flex-end;
   align-items: center;
   gap: 10px;
 }
 
 button.sof_btn.sof_btn_primary.sof_export_btns {
   color: black!important;
   background-color: #eaeaea;
 }
 button.sof_btn.sof_btn_primary.sof_export_btns::after{
   filter: invert(1)!important;
 }
 button.sof_btn.sof_btn_secondary {
   background-color: #ededed!important;
   color: black !important;
 }
 .sof_inline_delete{
   background-image: url('data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cpath%20fill%3D%22%23ffffff%22%20d%3D%22M8%2C6%20L8%2C4%20C8%2C2.8954305%208.8954305%2C2%2010%2C2%20L14%2C2%20C15.1045695%2C2%2016%2C2.8954305%2016%2C4%20L16%2C6%20L21%2C6%20C21.5522847%2C6%2022%2C6.44771525%2022%2C7%20C22%2C7.55228475%2021.5522847%2C8%2021%2C8%20L19%2C8%20L19%2C20%20C19%2C21.1045695%2018.1045695%2C22%2017%2C22%20L7%2C22%20C5.8954305%2C22%205%2C21.1045695%205%2C20%20L5%2C8%20L3%2C8%20C2.44771525%2C8%202%2C7.55228475%202%2C7%20C2%2C6.44771525%202.44771525%2C6%203%2C6%20L8%2C6%20Z%20M10%2C6%20L14%2C6%20L14%2C4%20L10%2C4%20L10%2C6%20Z%20M7%2C8%20L7%2C20%20L17%2C20%20L17%2C8%20L7%2C8%20Z%20M9%2C11%20C9%2C10.4477153%209.44771525%2C10%2010%2C10%20C10.5522847%2C10%2011%2C10.4477153%2011%2C11%20L11%2C17%20C11%2C17.5522847%2010.5522847%2C18%2010%2C18%20C9.44771525%2C18%209%2C17.5522847%209%2C17%20L9%2C11%20Z%20M13%2C11%20C13%2C10.4477153%2013.4477153%2C10%2014%2C10%20C14.5522847%2C10%2015%2C10.4477153%2015%2C11%20L15%2C17%20C15%2C17.5522847%2014.5522847%2C18%2014%2C18%20C13.4477153%2C18%2013%2C17.5522847%2013%2C17%20L13%2C11%20Z%22%2F%3E%0A%3C%2Fsvg%3E%0A');
   background-size: 20px;
   background-repeat: no-repeat;
   background-position: center;
   width: 20px;
   height: 20px;
 }
 button.sof_btn.sof_btn_primary.sof_inline_delete.sof_export_btns {
   height: 54px;
   padding: 10px 27px;
   background-color: #de6a55;
 }
 button.sof_btn.sof_btn_primary.sof_inline_delete.sof_export_btns::after {
   display: none!important;
 }
 
 @media screen and (max-width: 700px){
   .editor_body{
     display: flex!important;
     flex-direction: column;
   }
   table.editor_table_body > tr > td{
     display: flex;
     flex-direction: column;
     gap: 10px;
   }
   .sof_productmodal_content {
     display: grid;
     grid-template-columns: 1fr;
 }
 
 .sof_productmodal_content_img {
     min-height: 120px;
 }
 
 .sof_productadd_modal_selects > div.sof_select_item {
     width: 100%;
     display: flex;
     flex-direction: column;
 }
 .sof_productadd_modal_selects > div.sof_select_item > input{
   width: 100%;
   border: 0px solid red!important;
   border-radius: 4px;
   height: 35px;
   background-color: #f5f5f5;
 }
 .sof_modal_actions.sof_offerte_modaledit_action {
   display: flex;
   flex-direction: column;
   align-items: stretch;
 }
 .sof_modal_actions.sof_offerte_modaledit_action > button{
   width: 100%;
   padding: 10px!important;
 }
 div.sof_subtotal{
   display: flex;
   flex-direction: column;
   gap: 10px;
 }
 
 }
 
 /* Tippy styles for theme "sof_exportmodal" */
 .tippy-box[data-theme~='sof_exportmodal'] {
   width: 200px;
   height: 150px;
   background-color: white;
   border: 1px solid #ccc;
   border-radius: 4px;
   box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
   padding: 10px;
 }
 
 .tippy-box[data-theme~='sof_exportmodal'] .tippy-content {
   font-family: var(--font);
   font-size: 14px;
   color: var(--primary, #333);
   padding: 10px;
 }

 
 button.sof_export_option {
   width: 100%;
   background-color: #efefef;
   height: 32px;
   border-radius: 3px;
   text-align:left!important;
   padding-left: 40px;
   color: black!important;
   margin-bottom: 6px;
   font-family: var(--font);
   padding-top: 5px;
   color: Var(--primary);
   font-size: 17px;
   position: relative;
 }
  align-items: stretch;
}
.sof_modal_actions.sof_offerte_modaledit_action > button{
  width: 100%;
  padding: 10px!important;
}
div.sof_subtotal{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

}



.sofp_products_overview {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  grid-column: 1 / span 2;
  /* background-color: #acacac1f; */
  /* padding: 10px; */
  border-radius: 7px;
}

.sofp_product {
  width: 100%;
  display: grid;
  grid-template-columns: 40px 1fr;
  grid-gap: 20px;
  background-color: white;
  padding: 10px;
  box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;
  border-radius: 4px;
  box-sizing: border-box;
  padding: 10px;
}

.sofp_product_content {
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  align-items: stretch;
  gap: 5px;
  padding-top: 5px;
}

.sofp_product_img {
  height: 40px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}


.sofp_chooseimage {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 10px;
  width: 100%;
}
.sofp_chooseimage .sofp_chooseimage_el {
  padding: 10px;
  border-radius: 4px;
  cursor: pointer;

}
.sofp_chooseimage .sofp_chooseimage_el .sofp_chooseimg {
  width: 100%;
  position:relative;
  max-height: 100px;
  height: 120px;
  background-size: contain;
  background-position: center;
  mix-blend-mode: multiply;
  background-repeat: no-repeat;
}
.sofp_chooseimage .sofp_chooseimage_el .sofp_chooselabel {
  text-align:center;
  font-size: 14px;
}

.sofp_chooseimage_active{
  border: 3px solid var(--secondary);
  background-color: white;
}
.sof_btn.sof_btn_primary.sofpbtn_disabled,
.sof_btn.sof_btn_primary:disabled{
  background-color: #323232;
  color: #c2c2c2;
}

.sofp_offer_banner {
  background-color: #dcdcdc;
  padding: 7px;
  width: 100%;
  color: white;
  grid-column: 1 / span 2;
  padding-top: 10px;
  border-radius: 3px;
  color: black;
}

button.sofp_exportbtn_innactive {
  opacity: 0.5;
  pointer-events: none;
}
.sof_productadd_modal_inner.sof_checkout_modal > .sof_productmodal_content {
  display: flex;
  display;
  flex-direction: column;
  align-items: center;
}

.form-group.sof_field_invalid {
  position: relative;
}

.form-group.sof_field_invalid::after {
  position: absolute;
  content: "";
  right: 0px;
  top: 0px;
  width: 25px;
  height: 25px;
  background-image: url('data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cpath%20fill%3D%22%23ff0000%22%20d%3D%22M22.0488001%2C18.0287141%20C22.5852265%2C18.9942816%2022.2373389%2C20.2118882%2021.2717714%2C20.7483146%20C20.9746554%2C20.913379%2020.640374%2C21%2020.3004855%2C21%20L3.69951446%2C21%20C2.59494496%2C21%201.69951446%2C20.1045695%201.69951446%2C19%20C1.69951446%2C18.6601115%201.78613546%2C18.3258301%201.95119991%2C18.0287141%20L10.2516854%2C3.08784017%20C10.7881118%2C2.1222727%2012.0057184%2C1.77438511%2012.9712859%2C2.31081148%20C13.297766%2C2.49218933%2013.5669367%2C2.76136004%2013.7483146%2C3.08784017%20L22.0488001%2C18.0287141%20Z%20M12%2C4.05912603%20L3.69951446%2C19%20L20.3004855%2C19%20L12%2C4.05912603%20Z%20M11%2C9.5%20C11%2C8.94771525%2011.4477153%2C8.5%2012%2C8.5%20C12.5522847%2C8.5%2013%2C8.94771525%2013%2C9.5%20L13%2C13%20C13%2C13.5522847%2012.5522847%2C14%2012%2C14%20C11.4477153%2C14%2011%2C13.5522847%2011%2C13%20L11%2C9.5%20Z%20M12%2C17.5%20C11.3096441%2C17.5%2010.75%2C16.9403559%2010.75%2C16.25%20C10.75%2C15.5596441%2011.3096441%2C15%2012%2C15%20C12.6903559%2C15%2013.25%2C15.5596441%2013.25%2C16.25%20C13.25%2C16.9403559%2012.6903559%2C17.5%2012%2C17.5%20Z%22%2F%3E%0A%3C%2Fsvg%3E%0A');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.editor_body > * ,
.editor_body > * > *,
.editor_body > * > * > * {
  font-family: var(--font);
  font-size: 16px;
}


.sof_subtotal.sof_levering_config {
    display: flex;
    flex-direction: column;
}

.sof_levering_actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 10px;
}

.sof_levering_action_item {
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    justify-content: center;
    background-color: #f4f4f4;
    padding: 20px;
    gap: 4px;
    border-radius: 6px;
    cursor: pointer;
}
.sof_levering_action_item > *{
  cursor: pointer;
}

.sof_levering_action_item > img {
    height: 70px;
}

.sof_levering_action_item > strong {
    font-size: 18px;
    font-weight: 600;
}

.sof_levering_action_item > span {
    font-size: 16px;
    font-weight: 400;
}

.sof_levering_breadcrumbs {
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    justify-content: flex-start;
    gap: 30px;
}

.sof_levering_breadcrumb > img {
    width: 30px;
}

.sof_levering_breadcrumb {
    padding-top: 12px;
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    gap: 5px;
    background-color: #ffffff;
    padding: 5px 10px;
    opacity: 0.7;
    position: relative;
    cursor: pointer;
    background-color: #f4f4f4;
}
#levering_gemonteerd::after,
#levering_ongemonteerd::after {
  content: "";
  position: absolute;
  right: -30px;
  top: 0px;
  width: 30px;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cpath%20fill%3D%22%237d7d7d%22%20d%3D%22M15.5857864,12%20L7.29289322,20.2928932%20C6.90236893,20.6834175,6.90236893,21.3165825,7.29289322,21.7071068%20C7.68341751,22.0976311,8.31658249,22.0976311,8.70710678,21.7071068%20L17.7071068,12.7071068%20C18.0976311,12.3165825,18.0976311,11.6834175,17.7071068,11.2928932%20L8.70710678,2.29289322%20C8.31658249,1.90236893,7.68341751,1.90236893,7.29289322,2.29289322%20C6.90236893,2.68341751,6.90236893,3.31658249,7.29289322,3.70710678%20L15.5857864,12%20Z%22/%3E%0A%3C/svg%3E');
  background-size: 20px;
  background-position: center;
  background-repeat: no-repeat;
}