/*
Theme Name: DFD Native Child
Template: dfd-native
Version: 1.0.0
*/

/* CARRELLO: nascondi qualsiasi importo monetario */
.woocommerce-cart .wc-block-cart-items__header-total,
.woocommerce-cart .wc-block-cart-item__prices,
.woocommerce-cart .wc-block-cart-item__total,
.woocommerce-cart .woocommerce-Price-amount,
.woocommerce-cart td.product-price,
.woocommerce-cart th.product-price,
.woocommerce-cart td.product-subtotal,
.woocommerce-cart th.product-subtotal {
    display: none !important;
}

/* CHECKOUT: nascondi gli importi nelle righe ordine */
.woocommerce-checkout .woocommerce-Price-amount,
.woocommerce-checkout-review-order-table th.product-total,
.woocommerce-checkout-review-order-table td.product-total {
    display: none !important;
}

/* (opzionale) togli le intestazioni Prezzo/Subtotale dal carrello */
.woocommerce-cart table.shop_table th.product-price,
.woocommerce-cart table.shop_table th.product-subtotal {
    display: none !important;
}

/* CARRELLO BLOCK: nasconde il valore dei totali */
.wc-block-cart .wc-block-components-totals-item__value {
    visibility: hidden !important;
}

/* Mostra testo personalizzato al posto del totale */
.wc-block-cart .wc-block-components-totals-item__value::after {
    content: "Da definire in preventivo";
    visibility: visible;
}

/* CHECKOUT BLOCK: stesso comportamento */
.wc-block-checkout .wc-block-components-totals-item__value {
    visibility: hidden !important;
}

.wc-block-checkout .wc-block-components-totals-item__value::after {
    content: "Da definire in preventivo";
    visibility: visible;
}

.product .wcb2b_login_message {
	margin-top: 30px;
}

.diadema-b2b-wrap { max-width: 720px; margin: 0 auto; }
.diadema-b2b-form { background:#fff; border:1px solid #e6e6e6; border-radius:10px; padding:24px; }
.diadema-b2b-form p { margin: 0 0 14px; }
.diadema-b2b-form label { display:block; font-weight:600; margin-bottom:6px; }
.diadema-b2b-form input { width:100%; padding:10px 12px; border:1px solid #ddd; border-radius:8px; }
.diadema-b2b-form button { padding:10px 14px; border-radius:8px; }
.diadema-b2b-note { font-size: 13px; opacity: .85; margin-top: 10px; }
.diadema-b2b-success { background:#e8fff0; border:1px solid #b7f0c9; padding:12px; border-radius:8px; margin-bottom:14px; }
.b2b-auth-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.b2b-auth-card {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  padding: 32px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.04);
}

.b2b-auth-subtitle {
  font-size: 14px;
  opacity: .8;
  margin-bottom: 24px;
}

@media (max-width: 900px) {
  .b2b-auth-grid { grid-template-columns: 1fr; }
}
