.elementor-218 .elementor-element.elementor-element-420c0d4d{--display:flex;}/* Start custom CSS *//* =========================================================
   B2BKing Purchase List - WordPress CSS Compatible
   Da usare in: Aspetto > Personalizza > CSS aggiuntivo
   ========================================================= */

/* ---------- Contenitore pagina account ---------- */

.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-account .entry-content,
.woocommerce-account .site-main,
.woocommerce-account .content-area,
.woocommerce-account .woocommerce,
.woocommerce-account .woocommerce-page {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.woocommerce-account .woocommerce-MyAccount-content {
  padding: 0 24px !important;
}

/* ---------- Wrapper B2BKing ---------- */

.b2bking_bulkorder_form_container_content {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* reset piccoli elementi che rompono il layout */
.b2bking_bulkorder_form_container_content p,
.b2bking_bulkorder_form_container_bottom p {
  margin: 0 !important;
  padding: 0 !important;
}

.b2bking_bulkorder_form_container_content br,
.b2bking_bulkorder_form_container_bottom br,
.b2bking_bulkorder_form_container_newline_button br,
.b2bking_bulkorder_form_container_bottom_add_button br,
.b2bking_bulkorder_form_container_bottom_update_button br,
.b2bking_bulkorder_form_container_bottom_delete_button br {
  display: none !important;
}

/* ---------- Header tabella ---------- */

.b2bking_bulkorder_form_container_content_header {
  display: grid !important;
  grid-template-columns: minmax(0, 1.4fr) 110px 140px;
  gap: 12px !important;
  align-items: center !important;
  padding: 10px 0 8px 0 !important;
  border-bottom: 1px solid #e5e7eb !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #4b5563 !important;
}

.b2bking_bulkorder_form_container_content_header_product,
.b2bking_bulkorder_form_container_content_header_qty,
.b2bking_bulkorder_form_container_content_header_subtotal {
  margin: 0 !important;
  padding: 0 !important;
}

/* ---------- Riga prodotto ---------- */

.b2bking_bulkorder_form_container_content_line {
  display: grid !important;
  grid-template-columns: minmax(0, 1.4fr) 110px 140px;
  gap: 12px !important;
  align-items: center !important;
  padding: 12px 0 !important;
  border-bottom: 1px solid #edf0f4 !important;
}

/* template nuova linea */
.b2bking_bulkorder_form_newline_template .b2bking_bulkorder_form_container_content_line {
  display: grid !important;
  grid-template-columns: minmax(0, 1.4fr) 110px 140px;
  gap: 12px !important;
  align-items: center !important;
}

/* ---------- Campo prodotto ---------- */

.b2bking_bulkorder_form_container_content_line_product {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.b2bking_bulkorder_form_container_content_line_product input[readonly],
.b2bking_bulkorder_form_container_content_line input[readonly] {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  box-sizing: border-box !important;
  min-height: 42px !important;
  padding: 10px 14px !important;
  border-radius: 8px !important;
  border: 1px solid #d1d5db !important;
  background: #f9fafb !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #065f46 !important;
  box-shadow: none !important;
}

/* livesearch */
.b2bking_bulkorder_form_container_content_line_livesearch {
  grid-column: 1 / -1 !important;
}

/* ---------- Pulsante Cancella ---------- */

.b2bking_bulkorder_clear {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 32px !important;
  padding: 4px 10px !important;
  margin-right: 6px !important;
  border-radius: 999px !important;
  border: 1px solid #fecaca !important;
  background: #fef2f2 !important;
  color: #b91c1c !important;
  font-size: 12px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  text-decoration: none !important;
}

/* ---------- Quantità ---------- */

.b2bking_bulkorder_form_container_content_line_qty {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 70px !important;
  min-width: 70px !important;
  min-height: 38px !important;
  box-sizing: border-box !important;
  text-align: center !important;
  border-radius: 8px !important;
  border: 1px solid #d1d5db !important;
  background: #ffffff !important;
  padding: 6px 8px !important;
  box-shadow: none !important;
}

/* ---------- Subtotale ---------- */

.b2bking_bulkorder_form_container_content_line_subtotal {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  min-height: 38px !important;
  text-align: right !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  color: #111827 !important;
  white-space: nowrap !important;
}

/* ---------- Bottone nuova linea ---------- */

.b2bking_bulkorder_form_container_newline_container {
  margin: 18px 0 !important;
  display: flex !important;
  justify-content: flex-start !important;
}

.b2bking_bulkorder_form_container_newline_button {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-height: 40px !important;
  padding: 8px 14px !important;
  border-radius: 999px !important;
  border: none !important;
  background: #0ea5e9 !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

.b2bking_bulkorder_form_container_newline_button_icon {
  display: block !important;
}

/* ---------- Bottom area: pulsanti + totale ---------- */

.b2bking_bulkorder_form_container_bottom {
  margin-top: 22px !important;
  padding-top: 14px !important;
  border-top: 1px solid #e5e7eb !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.b2bking_bulkorder_form_container_bottom_add {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  align-items: center !important;
}

/* ---------- Pulsanti finali ---------- */

.b2bking_bulkorder_form_container_bottom_add_button,
.b2bking_bulkorder_form_container_bottom_update_button,
.b2bking_bulkorder_form_container_bottom_delete_button {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-height: 44px !important;
  padding: 10px 14px !important;
  border-radius: 999px !important;
  border: none !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  color: #ffffff !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

.b2bking_bulkorder_form_container_bottom_add_button_icon,
.b2bking_bulkorder_form_container_bottom_update_button_icon,
.b2bking_bulkorder_form_container_bottom_delete_button_icon {
  display: block !important;
}

.b2bking_bulkorder_form_container_bottom_add_button {
  background: #16a34a !important;
}

.b2bking_bulkorder_form_container_bottom_add_button:hover {
  background: #15803d !important;
}

.b2bking_bulkorder_form_container_bottom_update_button {
  background: #0ea5e9 !important;
}

.b2bking_bulkorder_form_container_bottom_update_button:hover {
  background: #0284c7 !important;
}

.b2bking_bulkorder_form_container_bottom_delete_button {
  background: #ef4444 !important;
}

.b2bking_bulkorder_form_container_bottom_delete_button:hover {
  background: #dc2626 !important;
}

/* ---------- Totale ---------- */

.b2bking_bulkorder_form_container_bottom_total {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  min-height: 44px !important;
  margin-left: auto !important;
  font-size: 14px !important;
  color: #111827 !important;
  white-space: nowrap !important;
}

.b2bking_bulkorder_form_container_bottom_total strong {
  font-weight: 700 !important;
}

/* ---------- Tablet / Mobile ---------- */

@media (max-width: 767px) {

  .woocommerce-account .woocommerce-MyAccount-content {
    padding: 0 16px !important;
  }

  .b2bking_bulkorder_form_container_content_header {
    display: none !important;
  }

  .b2bking_bulkorder_form_container_content_line,
  .b2bking_bulkorder_form_newline_template .b2bking_bulkorder_form_container_content_line {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid #e5e7eb !important;
  }

  .b2bking_bulkorder_form_container_content_line_product {
    margin-bottom: 0 !important;
  }

  .b2bking_bulkorder_clear {
    margin-right: 0 !important;
    margin-bottom: 6px !important;
  }

  .b2bking_bulkorder_form_container_content_line_qty {
    width: 100% !important;
    max-width: 120px !important;
    justify-content: flex-start !important;
  }

  .b2bking_bulkorder_form_container_content_line_subtotal {
    justify-content: flex-start !important;
    text-align: left !important;
    margin-top: 0 !important;
  }

  .b2bking_bulkorder_form_container_newline_container {
    justify-content: stretch !important;
  }

  .b2bking_bulkorder_form_container_newline_button {
    width: 100% !important;
  }

  .b2bking_bulkorder_form_container_bottom {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .b2bking_bulkorder_form_container_bottom_add {
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
  }

  .b2bking_bulkorder_form_container_bottom_add_button,
  .b2bking_bulkorder_form_container_bottom_update_button,
  .b2bking_bulkorder_form_container_bottom_delete_button {
    width: 100% !important;
  }

  .b2bking_bulkorder_form_container_bottom_total {
    width: 100% !important;
    justify-content: flex-start !important;
    text-align: left !important;
    margin-left: 0 !important;
  }
}

/* ---------- Mobile piccolo ---------- */

@media (max-width: 480px) {

  .woocommerce-account .woocommerce-MyAccount-content {
    padding: 0 12px !important;
  }

  .b2bking_bulkorder_form_container_content_line_product input[readonly],
  .b2bking_bulkorder_form_container_content_line input[readonly] {
    font-size: 13px !important;
    padding: 9px 12px !important;
  }

  .b2bking_bulkorder_form_container_bottom_add_button,
  .b2bking_bulkorder_form_container_bottom_update_button,
  .b2bking_bulkorder_form_container_bottom_delete_button,
  .b2bking_bulkorder_form_container_newline_button {
    font-size: 12px !important;
  }
}
	
	
/* Cancella X: spostalo sulla riga quantità, affiancato all'input qty */
.b2bking_bulkorder_clear {
  position: static !important;
  float: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 36px !important;
  padding: 4px 10px !important;
  margin: 0 !important;
  border-radius: 999px !important;
  border: 1px solid #fecaca !important;
  background: #fef2f2 !important;
  color: #b91c1c !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  vertical-align: middle !important;
}

/* I 3 pulsanti bottom allineati verticalmente */
.b2bking_bulkorder_form_container_bottom_add {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px !important;
}

.b2bking_bulkorder_form_container_bottom_add > p {
  margin: 0 !important;
  padding: 0 !important;
  display: contents !important;
}

.b2bking_bulkorder_form_container_bottom_add_button,
.b2bking_bulkorder_form_container_bottom_update_button,
.b2bking_bulkorder_form_container_bottom_delete_button {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-height: 46px !important;
  height: 46px !important;
  padding: 0 16px !important;
  margin: 0 !important;
  border-radius: 999px !important;
  border: none !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  color: #ffffff !important;
  vertical-align: middle !important;
  box-sizing: border-box !important;
}

	
	 /* posizione pulsante cancella */
@media (max-width:665px){

 /* B2bking bulkorder clear */
 .elementor-widget-text-editor .b2bking_bulkorder_clear{
  top:76px;
 }
 
}

@media (max-width:420px){

 /* B2bking bulkorder clear */
 .elementor-widget-text-editor .b2bking_bulkorder_clear{
  left:112px;
 }
 
 /* Input */
 .elementor-widget-text-editor input[type=number]{
  position:relative;
  left:-21px;
 }
 
}
	
.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--bulkorder {
  display: none !important;
}/* End custom CSS */