/* Dreamods · nuovo stile, parte «carrello» (solo demo, 04/11/2026): CARRELLO (/carrello/) e CASSA (/checkout/).
   Solo aspetto: nessun calcolo, testo legale, campo o riga cambia, e niente fa ricomparire cose nascoste (righe svuotate, «(facoltativo)»,
   copia nascosta della barra della spedizione). Ogni regola inizia con body.dm-stile-carrello e vale solo nel carrello o nella cassa
   (la pagina «ordine ricevuto» e quella di pagamento restano fuori). Plugin soglie, corrieri, home B2B, documento: solo CSS da fuori.
   Misure di bottoni e quantità da base.css: 40 px, 36 px nelle righe, 44 px «Procedi con l'ordine» ed «Effettua ordine». */

/* ───── Titoli: fascia blu dritta, larga quanto il testo ───── */
body.dm-stile-carrello.woocommerce-cart .dm-car-titolo,
body.dm-stile-carrello.woocommerce-cart .cart_totals thead th.product-name,
body.dm-stile-carrello.woocommerce-cart .dm-hb .dm-hb-suggeriti h3,
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) :is(.woocommerce-billing-fields > h3, #order_review_heading, .dm-nh-doc > h3, .woocommerce-additional-fields > h3) {
	display: inline-block; width: fit-content; max-width: 100%; margin: 0 0 12px; padding: 7px 14px 5px; border: 0; border-radius: 4px;
	background: var(--dm-primary); color: #fff; font-family: var(--dm-font-titoli); font-size: 18px; font-weight: 700; line-height: 1.15;
	letter-spacing: .02em; text-transform: uppercase; text-align: left }
body.dm-stile-carrello.woocommerce-cart .dm-car-titolo { margin: 0 0 16px; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem) }   /* come i titoli di catalogo, conto, bacheca */
body.dm-stile-carrello.woocommerce-cart .text-center > .dm-car-titolo { margin-bottom: 20px }
body.dm-stile-carrello.woocommerce-cart .dm-hb .dm-hb-suggeriti h3 { font-size: 15px }

/* Scritta sui prezzi per ruolo (inc/carrello.php) */
body.dm-stile-carrello:is(.woocommerce-cart, .woocommerce-checkout) .dm-car-etichetta { margin: 0 0 8px; color: var(--dm-text-muted); font-size: var(--dm-fs-xs); line-height: 1.35 }
body.dm-stile-carrello.woocommerce-cart .cart-wrapper > .dm-car-etichetta { text-align: right }

/* ───── Avvisi di WooCommerce e dei plugin nel carrello e nella cassa (anche quelli fuori dal contenitore degli avvisi, es. omaggi) ───── */
body.dm-stile-carrello:is(.woocommerce-cart, .woocommerce-checkout) .woocommerce :is(.woocommerce-message, .woocommerce-info, .woocommerce-error).message-wrapper {
	margin: 0 0 14px; padding: 10px 14px; border: 1px solid var(--dm-border); border-left: 4px solid var(--dm-primary); border-radius: var(--dm-radius);
	background: var(--dm-bg-soft); color: var(--dm-text); font-size: 14px; line-height: 1.4; text-align: left; list-style: none }
body.dm-stile-carrello:is(.woocommerce-cart, .woocommerce-checkout) .woocommerce .woocommerce-message.message-wrapper { border-left-color: var(--dm-success) }
body.dm-stile-carrello:is(.woocommerce-cart, .woocommerce-checkout) .woocommerce .woocommerce-error.message-wrapper { border-left-color: var(--dm-danger) }
body.dm-stile-carrello:is(.woocommerce-cart, .woocommerce-checkout) .woocommerce .message-wrapper .message-container { max-width: none; margin: 0; padding: 0; color: inherit; text-align: left }
body.dm-stile-carrello:is(.woocommerce-cart, .woocommerce-checkout) .woocommerce .woocommerce-error.message-wrapper :is(li, .alert-color) { margin: 0; color: var(--dm-danger) }
body.dm-stile-carrello:is(.woocommerce-cart, .woocommerce-checkout) .woocommerce .woocommerce-message.message-wrapper .message-icon { color: var(--dm-success) }
body.dm-stile-carrello:is(.woocommerce-cart, .woocommerce-checkout) .woocommerce .message-wrapper .message-container a:not(.button) { margin: 0 2px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px }   /* link dentro la frase dell'avviso: sottolineato (WCAG 1.4.1) */

/* ───── CARRELLO VUOTO ───── */
body.dm-stile-carrello.woocommerce-cart .woocommerce .wc-empty-cart-message .woocommerce-info.message-wrapper { max-width: 560px; margin: 0 auto 16px; padding: 20px 16px; border: 1px solid var(--dm-border);
	border-radius: var(--dm-radius); background: var(--dm-bg-soft); color: var(--dm-text); font-size: var(--dm-fs-m) }
body.dm-stile-carrello.woocommerce-cart .woocommerce .wc-empty-cart-message .message-wrapper .message-container { padding: 0; color: inherit; text-align: center }

/* ───── Barra della spedizione gratuita e prodotti abituali (plugin Home B2B, solo negozi) ───── */
body.dm-stile-carrello.woocommerce-cart .dm-hb .dm-hb-barra { margin: 0 0 14px; padding: 10px 14px 12px; border: 1px solid var(--dm-border); border-radius: var(--dm-radius); background: var(--dm-bg-soft) }
body.dm-stile-carrello.woocommerce-cart .dm-hb .dm-hb-barra-testo { margin-bottom: 8px; color: var(--dm-text); font-size: 14px; line-height: 1.4 }
body.dm-stile-carrello.woocommerce-cart .dm-hb .dm-hb-barra-testo strong { font-weight: 700 }
body.dm-stile-carrello.woocommerce-cart .dm-hb .dm-hb-barra-testo > span { color: var(--dm-text-muted); font-size: 12px }
body.dm-stile-carrello.woocommerce-cart .dm-hb .dm-hb-barra-testo span span { color: inherit; font-size: inherit }   /* il plugin dava #888 e 12 px anche agli importi (il «€» piccolo e grigio, 3,5:1) */
body.dm-stile-carrello.woocommerce-cart .dm-hb .dm-hb-barra-fondo { height: 8px; border-radius: var(--dm-radius-pill); background: var(--dm-border) }
body.dm-stile-carrello.woocommerce-cart .dm-hb .dm-hb-barra-fondo div { border-radius: var(--dm-radius-pill); background: var(--dm-primary) }
body.dm-stile-carrello.woocommerce-cart .dm-hb .dm-hb-barra.dm-ok .dm-hb-barra-fondo div { background: var(--dm-success) }
body.dm-stile-carrello.woocommerce-cart .dm-hb .dm-hb-card { margin: 0 0 14px; padding: 14px 16px 6px; border: 1px solid var(--dm-border); border-radius: var(--dm-radius); background: #fff }
body.dm-stile-carrello.woocommerce-cart .dm-hb .dm-hb-riga { gap: 10px; border-top-color: var(--dm-border) }
body.dm-stile-carrello.woocommerce-cart .dm-hb .dm-hb-img img { width: 52px; height: 52px; border-radius: var(--dm-radius); background: var(--dm-bg-soft) }
body.dm-stile-carrello.woocommerce-cart .dm-hb .dm-hb-nome a { color: var(--dm-text) }
body.dm-stile-carrello.woocommerce-cart .dm-hb .dm-hb-info { color: var(--dm-text-muted) }
body.dm-stile-carrello.woocommerce-cart .dm-hb .dm-hb-q { width: 64px !important; height: 36px !important; min-height: 0; border: 1px solid var(--dm-border-strong); border-radius: var(--dm-radius-pill) !important;
	box-shadow: none; font-size: 14px; font-weight: 600 }
/* il «+» del plugin era un quadrato nero alto 50 px (il tema dà ai <button> 2,5 volte la scritta): pillola rosa 36 × 36 come nelle righe */
body.dm-stile-carrello.woocommerce-cart .dm-hb .dm-hb-piu { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 36px; min-width: 36px; height: 36px; min-height: 0;
	margin: 0 !important; padding: 0 !important; border: 0; border-radius: var(--dm-radius-pill); background: var(--dm-accent-strong) !important; color: #fff !important; box-shadow: none;
	font-size: 20px; font-weight: 600; line-height: 1; letter-spacing: 0; text-transform: none }
body.dm-stile-carrello.woocommerce-cart .dm-hb .dm-hb-piu:hover { background: var(--dm-accent-strong-hover) !important }

/* ───── Soglie e omaggi (plugin soglie-omaggi): avvisi nei colori nuovi; il riquadro degli omaggi è una promozione dei negozi,
   quindi titolo sulla fascia rosa ruotata ───── */
body.dm-stile-carrello.woocommerce-cart .dm-so-progressi { margin: 0 0 12px; padding: 10px 14px; border: 1px solid var(--dm-border); border-left: 4px solid var(--dm-primary);
	border-radius: var(--dm-radius); background: var(--dm-pastel-azzurro); color: var(--dm-text); font-size: 14px; line-height: 1.4 }
body.dm-stile-carrello.woocommerce-cart .dm-so-box { margin: 14px 0; padding: 16px; border: 1px solid var(--dm-border); border-radius: var(--dm-radius); background: #fff; color: var(--dm-text) }
body.dm-stile-carrello.woocommerce-cart .dm-so-box h3 { display: inline-block; width: fit-content; max-width: 100%; margin: 0 0 12px; padding: 7px 14px 5px; border-radius: 4px;
	background: var(--dm-accent); color: #fff; font-family: var(--dm-font-titoli); font-size: 20px; font-weight: 700; line-height: 1.15; text-transform: uppercase; transform: rotate(var(--dm-ruota-a)) }
body.dm-stile-carrello.woocommerce-cart .dm-so-box summary { color: var(--dm-text); font-weight: 700 }
body.dm-stile-carrello.woocommerce-cart .dm-so-box p { font-size: 14px }
body.dm-stile-carrello.woocommerce-cart .dm-so-box .dm-so-gusti li { border-bottom-color: var(--dm-border) }
body.dm-stile-carrello.woocommerce-cart .dm-so-box .dm-so-gusti small { color: var(--dm-text-muted) }
body.dm-stile-carrello.woocommerce-cart .dm-so-box .dm-so-gusti input { height: 36px; min-height: 0; border-radius: var(--dm-radius-pill); box-shadow: none }
body.dm-stile-carrello.woocommerce-cart .dm-so-contatore.dm-troppi { color: var(--dm-danger) }
body.dm-stile-carrello.woocommerce-cart .dm-so-riga-omaggio td { background: var(--dm-pastel-rosa) }

/* ───── Tabella del carrello: un riquadro bianco ───── */
body.dm-stile-carrello.woocommerce-cart .woocommerce-cart-form table.shop_table.cart { margin: 0 0 14px; padding: 2px 16px; border: 1px solid var(--dm-border); border-collapse: separate;
	border-spacing: 0; border-radius: var(--dm-radius); background: #fff; font-size: 14px }
body.dm-stile-carrello.woocommerce-cart .shop_table.cart thead th { padding: 12px 8px 10px; border-bottom: 1px solid var(--dm-border); color: var(--dm-text-muted); font-size: 12px; letter-spacing: .06em }
body.dm-stile-carrello.woocommerce-cart .shop_table.cart thead th:first-child { padding-left: 0 }
body.dm-stile-carrello.woocommerce-cart .shop_table.cart thead th:last-child { padding-right: 0 }
body.dm-stile-carrello.woocommerce-cart .shop_table.cart td { border-bottom: 1px solid var(--dm-border); color: var(--dm-text); vertical-align: middle }
body.dm-stile-carrello.woocommerce-cart .shop_table.cart .cart_item td { padding-top: 12px; padding-bottom: 12px }
body.dm-stile-carrello.woocommerce-cart .shop_table.cart td.product-remove { width: 36px; padding-left: 0; padding-right: 4px }
body.dm-stile-carrello.woocommerce-cart .shop_table.cart a.remove { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 1px solid var(--dm-border-strong);
	border-radius: var(--dm-radius-pill); background: #fff; color: var(--dm-text-muted); font-size: 16px !important; font-weight: 600; line-height: 1 !important }
body.dm-stile-carrello.woocommerce-cart .shop_table.cart a.remove:hover { border-color: var(--dm-danger); background: #fff; color: var(--dm-danger) }
body.dm-stile-carrello.woocommerce-cart .shop_table.cart td.product-thumbnail { width: 76px; min-width: 64px; max-width: 76px; padding-right: 12px }
body.dm-stile-carrello.woocommerce-cart .shop_table.cart td.product-thumbnail img { display: block; width: 60px; max-width: none; height: 60px; padding: 4px; border-radius: var(--dm-radius);
	background: var(--dm-bg-soft); object-fit: contain }
body.dm-stile-carrello.woocommerce-cart .shop_table.cart td.product-name { font-size: 14px; line-height: 1.35 }
body.dm-stile-carrello.woocommerce-cart .shop_table.cart td.product-name > a { color: var(--dm-text); font-weight: 600 }
body.dm-stile-carrello.woocommerce-cart .shop_table.cart td.product-name > a:hover { color: var(--dm-primary); text-decoration: underline; text-underline-offset: 3px }
body.dm-stile-carrello.woocommerce-cart .shop_table.cart td.product-name :is(dl.variation, .wc-item-meta) { margin: 4px 0 0; color: var(--dm-text-muted); font-size: 12px }
body.dm-stile-carrello.woocommerce-cart .shop_table.cart :is(td.product-price, td.product-subtotal, .mobile-product-price) { color: var(--dm-text); font-weight: 700 }
body.dm-stile-carrello.woocommerce-cart .shop_table.cart :is(td.product-price, td.product-subtotal, .mobile-product-price) ins { text-decoration: none }
body.dm-stile-carrello.woocommerce-cart .shop_table.cart .mobile-product-price { font-size: 13px }
body.dm-stile-carrello.woocommerce-cart .shop_table.cart .mobile-product-price__qty { color: var(--dm-text-muted); font-weight: 600 }

/* Riga dei comandi: «Continua con gli acquisti» e «Aggiorna carrello» a sinistra; «Svuota carrello» è un link discreto a destra,
   nella riga sotto, lontano da «Aggiorna» (il plugin svuota subito, senza chiedere conferma) */
body.dm-stile-carrello.woocommerce-cart .shop_table.cart td.actions { padding: 14px 0 12px; border-bottom: 0 }
body.dm-stile-carrello.woocommerce-cart .shop_table.cart tr:last-child > td.actions { padding-top: 0; text-align: right }
body.dm-stile-carrello.woocommerce-cart .shop_table.cart tr:last-child > td.actions .wecb_emptycart { margin: 0 }
body.dm-stile-carrello.woocommerce-cart .shop_table.cart td.actions .continue-shopping { margin: 0 10px 8px 0 }
body.dm-stile-carrello.woocommerce-cart .shop_table.cart td.actions .button { margin: 0 0 8px }
body.dm-stile-carrello.woocommerce-cart .shop_table.cart td.actions .continue-shopping .button { margin: 0 }
body.dm-stile-carrello.woocommerce-cart .shop_table.cart td.actions .button-continue-shopping { padding-top: 9px; padding-bottom: 9px }   /* il bordo di 2 px la faceva alta 41 px */
/* 13/11/2026 (titolare: «svuota carrello con bottone rosso alla fine»): pulsante rosso pieno in fondo al carrello, a destra (prima un link
   grigio sottolineato). Al clic resta la domanda «Vuoi togliere tutti i prodotti dal carrello?» con «Sì, svuota» / «No» (mu-plugin svuota-carrello). */
body.dm-stile-carrello.woocommerce-cart .shop_table.cart a.button.wecb_emptycart { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; margin: 6px 0 0;
	padding: 8px 20px; border: 0; border-radius: var(--dm-radius-pill); background: var(--dm-danger) !important; box-shadow: none; color: #fff !important;
	font-size: 14px; font-weight: 700; line-height: 1.2; letter-spacing: 0; text-decoration: none; text-transform: none }
body.dm-stile-carrello.woocommerce-cart .shop_table.cart a.button.wecb_emptycart:hover { background: #a3161c !important; color: #fff !important }

/* ───── Riepilogo del carrello: riquadro grigio chiaro a destra (sotto la tabella al telefono) ───── */
body.dm-stile-carrello.woocommerce-cart .row-divided > .col + .col:not(.large-12) { border-left: 0 }
/* 13/11/2026: la colonna di destra non è più un riquadro unico: dentro, uno sotto l'altro, la spedizione gratuita (negozi),
   «Totale carrello» (il riquadro grigio) e «SALVA CARRELLO» */
body.dm-stile-carrello.woocommerce-cart .cart-collaterals .cart-sidebar { padding: 0; border: 0; background: transparent }
body.dm-stile-carrello.woocommerce-cart .cart-collaterals .cart_totals { padding: 16px 20px 6px; border: 1px solid var(--dm-border); border-radius: var(--dm-radius); background: var(--dm-bg-soft) }
body.dm-stile-carrello.woocommerce-cart .cart_totals > table:first-child { margin: 0 0 4px }
body.dm-stile-carrello.woocommerce-cart .cart_totals > table:first-child th { padding: 7px 14px 5px }
body.dm-stile-carrello.woocommerce-cart .cart_totals .wc-proceed-to-checkout { margin: 16px 0 12px; padding: 0 }

/* ───── Righe degli importi (carrello e cassa): accise, IVA, spedizione e contrassegno leggibili; totale grande blu notte (mai lime) ───── */
body.dm-stile-carrello.woocommerce-cart .cart_totals table.shop_table,
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) table.woocommerce-checkout-review-order-table { margin: 0; border: 0; font-size: 14px }
body.dm-stile-carrello.woocommerce-cart .cart_totals table.shop_table > tbody > tr > :is(th, td),
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) .woocommerce-checkout-review-order-table > :is(tbody, tfoot) > tr > :is(th, td) {
	padding: 9px 0; border-bottom: 1px solid var(--dm-border); color: var(--dm-text); font-size: 14px; line-height: 1.35; vertical-align: top }
body.dm-stile-carrello.woocommerce-cart .cart_totals table.shop_table > tbody > tr > th,
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) .woocommerce-checkout-review-order-table > tfoot > tr > th { font-weight: 500; letter-spacing: 0; text-transform: none }
body.dm-stile-carrello.woocommerce-cart .cart_totals table.shop_table > tbody > tr > td,
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) .woocommerce-checkout-review-order-table > tfoot > tr > td { padding-left: 12px; font-weight: 700 }
body.dm-stile-carrello.woocommerce-cart .cart_totals table.shop_table > tbody > tr > td.shipping__inner,
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) .woocommerce-checkout-review-order-table > tfoot > tr > td.shipping__inner { padding: 0; font-weight: 400 }
body.dm-stile-carrello:is(.woocommerce-cart, .woocommerce-checkout) .shipping__table { margin: 0; border: 0 }
body.dm-stile-carrello:is(.woocommerce-cart, .woocommerce-checkout) .shipping__table > tbody > tr > :is(th, td) { padding: 9px 0; border: 0; color: var(--dm-text); font-size: 14px; vertical-align: top }
body.dm-stile-carrello:is(.woocommerce-cart, .woocommerce-checkout) .shipping__table > tbody > tr > th { font-weight: 500; text-transform: none; letter-spacing: 0 }
body.dm-stile-carrello:is(.woocommerce-cart, .woocommerce-checkout) .shipping__table--multiple > tbody > tr > th { padding-bottom: 6px }
body.dm-stile-carrello:is(.woocommerce-cart, .woocommerce-checkout) .shipping__table--multiple > tbody > tr > td { padding-top: 0; text-align: left }
body.dm-stile-carrello:is(.woocommerce-cart, .woocommerce-checkout) .shop_table tr.fee > :is(th, td) { color: var(--dm-text) }
/* totale */
body.dm-stile-carrello.woocommerce-cart .cart_totals table.shop_table > tbody > tr.order-total > :is(th, td),
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) .woocommerce-checkout-review-order-table > tfoot > tr.order-total > :is(th, td) {
	padding-top: 12px; padding-bottom: 4px; border-top: 2px solid var(--dm-primary-dark); border-bottom: 0; vertical-align: baseline }
body.dm-stile-carrello.woocommerce-cart .cart_totals table.shop_table > tbody > tr.order-total > th,
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) .woocommerce-checkout-review-order-table tr.order-total > th {
	color: var(--dm-primary-dark); font-family: var(--dm-font-titoli); font-size: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em }
body.dm-stile-carrello.woocommerce-cart .cart_totals table.shop_table > tbody > tr.order-total > td .amount,
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) .woocommerce-checkout-review-order-table tr.order-total > td .amount {
	color: var(--dm-primary-dark); font-family: var(--dm-font-titoli); font-size: 28px; font-weight: 700; line-height: 1.1 }
body.dm-stile-carrello.woocommerce-cart .cart_totals table.shop_table > tbody > tr.order-total > td .includes_tax .amount,
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) .woocommerce-checkout-review-order-table tr.order-total > td .includes_tax .amount {
	font-family: var(--dm-font-testo); font-size: inherit; line-height: inherit; color: inherit }
body.dm-stile-carrello:is(.woocommerce-cart, .woocommerce-checkout) .shop_table :is(.tax_label, .includes_tax) { color: var(--dm-text-muted); font-size: 12px; font-weight: 400 }
body.dm-stile-carrello:is(.woocommerce-cart, .woocommerce-checkout) .shop_table tr.order-total .includes_tax { display: block; margin-top: 2px }

/* ───── Spedizioni (carrello e cassa) come riquadri da cliccare: quello scelto ha il bordo blu e il fondo azzurro chiaro.
   Tutto il riquadro si clicca (la scritta si allunga sul riquadro), solo CSS. La nota del corriere (plugin corrieri) da trasparente a grigio
   leggibile. Con un solo corriere (privati) resta una riga semplice. ───── */
body.dm-stile-carrello:is(.woocommerce-cart, .woocommerce-checkout) #shipping_method { margin: 0; padding: 0 }
body.dm-stile-carrello:is(.woocommerce-cart, .woocommerce-checkout) #shipping_method > li { min-height: 0; margin: 0; list-style: none }
body.dm-stile-carrello:is(.woocommerce-cart, .woocommerce-checkout) #shipping_method > li .shipping__list_label { padding: 0; opacity: 1; color: var(--dm-text); font-weight: 600 }
body.dm-stile-carrello:is(.woocommerce-cart, .woocommerce-checkout) #shipping_method > li:has(> input[type=radio]) { position: relative; display: block; margin: 0 0 8px; padding: 10px 12px 10px 38px;
	border: 1px solid var(--dm-border-strong); border-radius: var(--dm-radius); background: #fff; text-align: left }
body.dm-stile-carrello:is(.woocommerce-cart, .woocommerce-checkout) #shipping_method > li > input[type=radio] { position: absolute; top: 12px; left: 13px; width: 16px; height: 16px; margin: 0; accent-color: var(--dm-primary) }
body.dm-stile-carrello:is(.woocommerce-cart, .woocommerce-checkout) #shipping_method > li:has(> input[type=radio]) > .shipping__list_label { display: block; margin: 0; text-align: left; cursor: pointer }
body.dm-stile-carrello:is(.woocommerce-cart, .woocommerce-checkout) #shipping_method > li:has(> input[type=radio]) > .shipping__list_label::after { content: ""; position: absolute; inset: 0; border-radius: inherit }
body.dm-stile-carrello:is(.woocommerce-cart, .woocommerce-checkout) #shipping_method > li:has(> input[type=radio]:checked) { border-color: var(--dm-primary); background: var(--dm-pastel-azzurro); box-shadow: inset 0 0 0 1px var(--dm-primary) }
body.dm-stile-carrello:is(.woocommerce-cart, .woocommerce-checkout) #shipping_method > li:has(> input[type=radio]:focus-visible) { outline: 3px solid var(--dm-focus); outline-offset: 2px }
body.dm-stile-carrello:is(.woocommerce-cart, .woocommerce-checkout) #shipping_method > li:has(> input[type=radio]) .amount { font-weight: 700 }
body.dm-stile-carrello:is(.woocommerce-cart, .woocommerce-checkout) #shipping_method .dm-cor-nota { margin: 3px 0 0 !important; opacity: 1 !important; color: var(--dm-text-muted); font-size: 12px !important; font-weight: 400; line-height: 1.35; text-align: left }
body.dm-stile-carrello:is(.woocommerce-cart, .woocommerce-checkout) #shipping_method > li:not(:has(> input[type=radio])) { display: block; text-align: right }
body.dm-stile-carrello:is(.woocommerce-cart, .woocommerce-checkout) #shipping_method > li:not(:has(> input[type=radio])) .dm-cor-nota { text-align: right }
body.dm-stile-carrello.woocommerce-cart .woocommerce-shipping-destination { margin: 4px 0 2px; color: var(--dm-text-muted); font-size: 13px; line-height: 1.4 }
body.dm-stile-carrello.woocommerce-cart .woocommerce-shipping-destination strong { color: var(--dm-text) }
body.dm-stile-carrello.woocommerce-cart .shipping-calculator-button { display: inline-flex; align-items: center; min-height: 28px; font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px }
body.dm-stile-carrello.woocommerce-cart .shipping__table--multiple :is(.woocommerce-shipping-destination, .woocommerce-shipping-calculator) { text-align: left }
body.dm-stile-carrello.woocommerce-cart .shipping-calculator-form { text-align: left }

/* ───── CASSA ───── */
/* Passi «Carrello › Dettagli › Ordine completato»: il passo di adesso sulla fascia blu, gli altri in grigio leggibile */
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) .checkout-page-title .page-title-inner { padding-top: 6px; padding-bottom: 0; min-height: 0 }
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) nav.checkout-breadcrumbs { flex-wrap: wrap; gap: 4px 0; padding: 16px 0 6px; font-size: 18px; line-height: 1.15; letter-spacing: .02em }
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) nav.checkout-breadcrumbs a { color: var(--dm-text-muted); font-family: var(--dm-font-titoli); font-weight: 600 }
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) nav.checkout-breadcrumbs a:hover { color: var(--dm-primary) }
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) nav.checkout-breadcrumbs a.current { padding: 7px 14px 5px; border-radius: 4px; background: var(--dm-primary); color: #fff; font-weight: 700 }
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) nav.checkout-breadcrumbs .divider { top: 0; margin: 0 .5em; color: var(--dm-border-strong) }

/* Dati del cliente in riquadri bianchi: fatturazione (con il documento dei privati) e spedizione con le note */
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) #customer_details > .clear { margin: 0 0 16px; padding: 18px 20px 8px; border: 1px solid var(--dm-border);
	border-radius: var(--dm-radius); background: #fff }
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) .woocommerce-billing-fields { padding-top: 0; border-top: 0 }
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) #ship-to-different-address { margin: 0 0 10px; padding: 0; color: var(--dm-text); font-family: var(--dm-font-testo);
	font-size: 15px; font-weight: 600; line-height: 1.35; letter-spacing: 0; text-transform: none }
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) #ship-to-different-address label { display: inline-flex; align-items: center; gap: 8px; min-height: 28px; margin: 0;
	font-weight: 600; cursor: pointer }
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) #ship-to-different-address input { margin: 0 }
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) #thmaf-enable-multiple-shipping { margin: 0 8px 0 0; vertical-align: middle }

/* Documento d'identità dei privati (nuova home, documento.php): un riquadro grigio chiaro con il bordo blu a sinistra */
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) .dm-nh-doc { margin: 18px 0 14px; padding: 14px 16px 2px; border: 1px solid var(--dm-border);
	border-left: 4px solid var(--dm-primary); border-radius: var(--dm-radius); background: var(--dm-bg-soft) }
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) .dm-nh-doc > h3 { margin-bottom: 8px !important }
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) .dm-nh-doc > p:not(.form-row) { color: var(--dm-text); font-size: 13px !important; line-height: 1.45 }

/* Campi compatti e allineati: etichette 13 px, campi 40 px (16 px di scritta al telefono, così iPhone non ingrandisce la pagina) */
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) form.checkout .form-row { margin-bottom: 12px; padding: 0 }   /* solo il margine sotto: quello a destra tiene distanti Nome e Cognome */
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) form.checkout .form-row > label:not(.checkbox) { display: block; margin: 0 0 4px; color: var(--dm-text);
	font-size: 13px; font-weight: 600; line-height: 1.3; text-transform: none; letter-spacing: 0 }
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) form.checkout .form-row :is(input.input-text, select, textarea) { height: 40px; min-height: 40px; margin: 0; padding: 0 12px;
	background-color: #fff; box-shadow: none; color: var(--dm-text); font-size: 15px }
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) form.checkout .form-row select:is(select, .input-text) { padding-right: 32px }
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) form.checkout .form-row textarea:is(textarea, .input-text) { height: auto; min-height: 76px; padding: 10px 12px; line-height: 1.4 }
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) form.checkout .form-row :is(input.input-text, select, textarea):focus { border-color: var(--dm-primary) }
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) form.checkout .select2-container .select2-selection--single { height: 40px; padding: 0 32px 0 12px; border-color: var(--dm-border-strong); border-radius: var(--dm-radius);
	background-color: #fff; box-shadow: none }
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) form.checkout .select2-container .select2-selection--single .select2-selection__rendered { padding-left: 0; line-height: 38px; color: var(--dm-text); font-size: 15px }
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) form.checkout .select2-container .select2-selection--single .select2-selection__arrow { height: 38px }
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) form.checkout .form-row .select2-container { margin-bottom: 0 }
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) form.checkout .form-row.woocommerce-invalid :is(input.input-text, select) { border-color: var(--dm-danger) }
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) form.checkout .form-row .required { color: var(--dm-danger) }
/* «Sei un'azienda? ○ Società ○ Privato» (plugin fiscalità): le due scelte in riga, senza un asterisco per ogni scelta */
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) .form-row.pvtazd .woocommerce-input-wrapper { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px }
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) .form-row.pvtazd .woocommerce-input-wrapper input.input-radio { margin: 0; accent-color: var(--dm-primary) }
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) .form-row.pvtazd label.radio { display: inline-flex; align-items: center; min-height: 28px; margin: 0 14px 0 0;
	color: var(--dm-text); font-size: 14px; font-weight: 500 }
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) .form-row.pvtazd label.radio .required { display: none }
/* Rubrica degli indirizzi (plugin themehigh): bottone a contorno piccolo, scelta «più indirizzi» come una casella normale */
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) :is(#billing_tiles, #shipping_tiles) { margin: 0 0 12px }
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) .thmaf-add-adr.btn-checkout { margin: 0; padding: 0 }
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) a.btn-add-adrs-checkout.button { min-height: 36px; margin: 0; padding: 7px 14px; font-size: 13px }
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) label[for=thmaf-enable-multiple-shipping] { display: inline-flex; align-items: center; min-height: 28px; margin: 0 0 8px;
	color: var(--dm-text); font-size: 14px; font-weight: 500 }

/* Riepilogo dell'ordine: riquadro grigio chiaro (prima bordo blu di 2 px) */
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) form.checkout .col-inner.has-border { padding: 18px 20px 20px; border: 1px solid var(--dm-border);
	border-radius: var(--dm-radius); background: var(--dm-bg-soft) }
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) .woocommerce-checkout-review-order-table thead th { padding: 6px 0 8px; border-bottom: 1px solid var(--dm-border);
	color: var(--dm-text-muted); font-size: 12px; letter-spacing: .06em }
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) .woocommerce-checkout-review-order-table .cart_item td.product-name { color: var(--dm-text); font-weight: 500 }
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) .woocommerce-checkout-review-order-table .cart_item .product-quantity { color: var(--dm-text-muted); font-weight: 700; white-space: nowrap }
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) .woocommerce-checkout-review-order-table .cart_item td.product-total { padding-left: 12px; font-weight: 700; white-space: nowrap }

/* Pagamenti come riquadri da cliccare (bonifico, contrassegno): quello scelto con il bordo blu; la descrizione del metodo scelto dentro il riquadro */
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) #payment { margin-top: 16px; background: transparent }
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) #payment ul.payment_methods { margin: 0 0 12px; padding: 0; border: 0 }
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) #payment ul.payment_methods > li { position: relative; margin: 0 0 8px; padding: 11px 12px 11px 38px;
	border: 1px solid var(--dm-border-strong); border-radius: var(--dm-radius); background: #fff; list-style: none; line-height: 1.35 }
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) #payment ul.payment_methods > li > input.input-radio { position: absolute; top: 13px; left: 13px; width: 16px; height: 16px;
	margin: 0; accent-color: var(--dm-primary) }
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) #payment ul.payment_methods > li > label { display: block; margin: 0; color: var(--dm-text); font-size: 14px; font-weight: 600; cursor: pointer }
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) #payment ul.payment_methods > li:not(:has(> input:checked)) > label::after { content: ""; position: absolute; inset: 0; border-radius: inherit }
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) #payment ul.payment_methods > li:has(> input:checked) { border-color: var(--dm-primary); background: var(--dm-pastel-azzurro); box-shadow: inset 0 0 0 1px var(--dm-primary) }
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) #payment ul.payment_methods > li:has(> input:focus-visible) { outline: 3px solid var(--dm-focus); outline-offset: 2px }
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) #payment ul.payment_methods > li img { max-height: 22px; vertical-align: middle }
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) #payment .payment_box { margin: 6px 0 0; padding: 0; border: 0; background: transparent; color: var(--dm-text);
	font-size: 13px; line-height: 1.45 }
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) #payment .payment_box::before { display: none }
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) #payment .payment_box p { margin: 0; font-size: inherit }
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) #payment .place-order { margin: 0; padding: 0 }
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) #payment #place_order { display: block; float: none; width: 100%; min-height: 44px; margin: 4px 0 0; padding: 11px 24px; font-size: 15px }
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) .woocommerce-privacy-policy-text p { margin: 12px 0 0; color: var(--dm-text-muted); font-size: 12px; line-height: 1.45 }
body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) .woocommerce-privacy-policy-text a { text-decoration: underline; text-underline-offset: 2px }

/* ───── Telefono ───── */
@media (max-width: 849px) {
	body.dm-stile-carrello.woocommerce-cart .cart-collaterals .cart-sidebar { margin-top: 8px }
}
@media (max-width: 767px) {
	body.dm-stile-carrello.woocommerce-cart .dm-car-titolo { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem) }
	body.dm-stile-carrello.woocommerce-cart .woocommerce-cart-form table.shop_table.cart { padding: 0 12px }
	body.dm-stile-carrello.woocommerce-cart .shop_table.cart td.product-thumbnail { width: 56px; min-width: 52px; max-width: 56px; padding-right: 8px }
	body.dm-stile-carrello.woocommerce-cart .shop_table.cart td.product-thumbnail img { width: 48px; height: 48px; padding: 3px }
	body.dm-stile-carrello.woocommerce-cart .shop_table.cart td.product-remove { width: 32px }
	body.dm-stile-carrello.woocommerce-cart .cart-collaterals .cart-sidebar { padding: 14px 14px 4px }
	body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) #customer_details > .clear { padding: 14px 14px 4px }
	body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) form.checkout .col-inner.has-border { padding: 14px 14px 16px }
	body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) form.checkout .form-row :is(input.input-text, select, textarea),
	body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) form.checkout .select2-container .select2-selection--single .select2-selection__rendered { font-size: 16px }
	body.dm-stile-carrello.woocommerce-checkout:not(.woocommerce-order-received, .woocommerce-order-pay) nav.checkout-breadcrumbs { font-size: 16px }
}

/* ───── 13/11/2026, titolare · Colonna di destra del carrello: spedizione gratuita + «Raggiungi la spedizione gratuita» (negozi, plugin Home
   B2B 0.3.5), poi «Totale carrello», poi «SALVA CARRELLO» (plugin Bacheca 0.4.7, apre la finestra del nome). Al telefono tutto sotto la tabella. ───── */
body.dm-stile-carrello.woocommerce-cart .cart-sidebar .dm-hb.dm-hb-carrello { max-width: none; margin: 0 0 14px !important }
body.dm-stile-carrello.woocommerce-cart .cart-sidebar .dm-hb .dm-hb-barra { margin: 0 0 12px }
body.dm-stile-carrello.woocommerce-cart .cart-sidebar .dm-hb .dm-hb-card { margin: 0; padding: 14px 16px 12px }
body.dm-stile-carrello.woocommerce-cart .cart-sidebar .dm-hb .dm-hb-riga { padding: 8px 0 }
body.dm-stile-carrello.woocommerce-cart .cart-sidebar .dm-hb .dm-hb-nome { flex: 1 1 auto; min-width: 0; font-size: 14px; line-height: 1.3 }
body.dm-stile-carrello.woocommerce-cart .cart-sidebar .dm-hb .dm-hb-img img { width: 44px; height: 44px }
body.dm-stile-carrello.woocommerce-cart .cart-sidebar .dm-hb .dm-hb-shop-riga { margin: 10px 0 0 }
body.dm-stile-carrello.woocommerce-cart .cart-sidebar .dm-hb .dm-hb-solo .dm-hb-shop-riga { margin: 0 }
body.dm-stile-carrello.woocommerce-cart .cart-sidebar .dm-hb a.dm-hb-shop,
body.dm-stile-carrello.woocommerce-cart .cart-sidebar .dm-bb-car-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 40px; margin: 0;
	padding: 8px 18px; border: 2px solid var(--dm-primary) !important; border-radius: var(--dm-radius-pill); background: #fff !important; box-shadow: none;
	color: var(--dm-primary) !important; font-size: 15px; font-weight: 700; line-height: 1.2; letter-spacing: .02em; text-decoration: none; text-transform: none; cursor: pointer }
body.dm-stile-carrello.woocommerce-cart .cart-sidebar .dm-hb a.dm-hb-shop:hover,
body.dm-stile-carrello.woocommerce-cart .cart-sidebar .dm-bb-car-btn:not([disabled]):hover { background: var(--dm-primary) !important; color: #fff !important }
/* «SALVA CARRELLO»: sotto il riquadro del totale, più grande del link di prima (16 px, maiuscolo come i titoli del sito) */
body.dm-stile-carrello.woocommerce-cart .cart-sidebar .dm-bb-car-salva { margin: 14px 0 0; scroll-margin-top: 140px }
body.dm-stile-carrello.woocommerce-cart .cart-sidebar .dm-bb-car-salva form { margin: 0 }
body.dm-stile-carrello.woocommerce-cart .cart-sidebar .dm-bb-car-btn { min-height: 44px; font-size: 16px; letter-spacing: .06em; text-transform: uppercase }
body.dm-stile-carrello.woocommerce-cart .cart-sidebar .dm-bb-car-btn[disabled] { border-color: var(--dm-border-strong) !important; color: var(--dm-text-muted) !important; cursor: not-allowed; opacity: 1 }
body.dm-stile-carrello.woocommerce-cart .cart-sidebar .dm-bb-car-nota { margin: 8px 0 0; color: var(--dm-text-muted); font-size: 13px; line-height: 1.4; text-align: center }
body.dm-stile-carrello.woocommerce-cart .cart-sidebar .dm-bb-car-nota a { color: var(--dm-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px }
body.dm-stile-carrello.woocommerce-cart .cart-sidebar .dm-bb-car-fatto { margin: 10px 0 0; padding: 10px 14px; border: 1px solid var(--dm-border); border-left: 4px solid var(--dm-success);
	border-radius: var(--dm-radius); background: #fff; font-size: 14px; line-height: 1.4 }
body.dm-stile-carrello.woocommerce-cart .cart-sidebar .dm-bb-car-fatto p { margin: 0 }
body.dm-stile-carrello.woocommerce-cart .cart-sidebar .dm-bb-car-fatto .dm-bb-car-nota { text-align: left }
body.dm-stile-carrello.woocommerce-cart .cart-sidebar .dm-bb-rinomina { margin: 6px 0 0 }
body.dm-stile-carrello.woocommerce-cart .cart-sidebar .dm-bb-rinomina summary { display: inline-block; color: var(--dm-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; list-style: none }
body.dm-stile-carrello.woocommerce-cart .cart-sidebar .dm-bb-rinomina summary::-webkit-details-marker { display: none }
body.dm-stile-carrello.woocommerce-cart .cart-sidebar .dm-bb-rin { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0 }
body.dm-stile-carrello.woocommerce-cart .cart-sidebar .dm-bb-rin input[type=text] { flex: 1 1 180px; height: 36px; min-height: 0; margin: 0; padding: 0 12px; border: 1px solid var(--dm-border-strong); border-radius: var(--dm-radius-pill); font-size: 14px }
body.dm-stile-carrello.woocommerce-cart .cart-sidebar .dm-bb-rin button { flex: none; min-height: 36px; margin: 0; padding: 6px 16px; border: 0; border-radius: var(--dm-radius-pill);
	background: var(--dm-primary); color: #fff; font-size: 14px; font-weight: 700; text-transform: none; letter-spacing: 0 }
body.dm-stile-carrello.woocommerce-cart .cart-sidebar .dm-bb-vis { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0) }

/* Finestra «Salva carrello» (dialog): stessa misura e stessi pulsanti della finestra della Partita IVA */
body.dm-stile-carrello dialog.dm-bb-pop { width: min(440px, calc(100vw - 32px)); max-width: none; margin: auto; padding: 0; border: 0; border-radius: 12px; background: #fff; color: var(--dm-text);
	box-shadow: 0 10px 40px rgba(0, 0, 0, .25) }
body.dm-stile-carrello dialog.dm-bb-pop::backdrop { background: rgba(10, 20, 40, .55) }
body.dm-stile-carrello dialog.dm-bb-pop form { margin: 0; padding: 22px 20px 20px; font-size: 15px; line-height: 1.45 }
body.dm-stile-carrello dialog.dm-bb-pop h3 { margin: 0 0 8px; color: var(--dm-primary-dark); font-family: var(--dm-font-titoli); font-size: 22px; font-weight: 700; line-height: 1.15;
	letter-spacing: .02em; text-transform: uppercase }
body.dm-stile-carrello dialog.dm-bb-pop p { margin: 0 0 14px; color: var(--dm-text) }
body.dm-stile-carrello dialog.dm-bb-pop label { display: block; margin: 0 0 6px; color: var(--dm-text); font-size: 14px; font-weight: 700 }
body.dm-stile-carrello dialog.dm-bb-pop input[type=text] { width: 100%; height: 44px; min-height: 0; margin: 0; padding: 0 14px; border: 1px solid var(--dm-border-strong); border-radius: 8px;
	box-shadow: none; font-size: 16px }
body.dm-stile-carrello dialog.dm-bb-pop input[type=text]:focus { border-color: var(--dm-primary); outline: 2px solid var(--dm-focus); outline-offset: 1px }
body.dm-stile-carrello dialog.dm-bb-pop .dm-bb-pop-tasti { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin: 18px 0 0 }
body.dm-stile-carrello dialog.dm-bb-pop .dm-bb-pop-tasti button { min-height: 40px; margin: 0; padding: 8px 22px; border-radius: var(--dm-radius-pill); font-size: 15px; font-weight: 700;
	letter-spacing: .04em; line-height: 1.2; text-transform: uppercase; cursor: pointer }
body.dm-stile-carrello dialog.dm-bb-pop .dm-bb-pop-no { border: 1px solid var(--dm-border-strong); background: #fff; color: var(--dm-text) }
body.dm-stile-carrello dialog.dm-bb-pop .dm-bb-pop-si { border: 0; background: var(--dm-primary); color: #fff }
body.dm-stile-carrello dialog.dm-bb-pop .dm-bb-pop-si:hover { background: var(--dm-primary-dark) }

/* ───── 13/11/2026, titolare («metti l'ordine in alto dei passi fin dal carrello»): passi dell'ordine (inc/carrello.php, dm_car_passi) in cima a
   carrello, «Spedizione gratuita», cassa e ordine ricevuto. Righe colorate sopra le scritte, niente cerchi: fatti blu, attuale rosa, dopo grigi. ───── */
body.dm-stile-carrello .dm-passi { display: flex; gap: 8px; max-width: 1200px; margin: 0 0 22px; padding: 0; list-style: none }
body.dm-stile-carrello .dm-passi li { flex: 1 1 0; min-width: 0; margin: 0; padding: 8px 2px 0; border-top: 4px solid var(--dm-border); color: var(--dm-text-muted);
	font-size: 14px; font-weight: 600; line-height: 1.3; list-style: none }
body.dm-stile-carrello .dm-passi li.dm-passo-fatto { border-top-color: var(--dm-primary); color: var(--dm-primary) }
body.dm-stile-carrello .dm-passi li.dm-passo-ora { border-top-color: var(--dm-accent-strong); color: var(--dm-text); font-weight: 800 }
body.dm-stile-carrello .dm-passi .dm-passi-n { font-weight: 800 }
body.dm-stile-carrello .dm-passi a { color: inherit; text-decoration: underline; text-underline-offset: 3px }
@media (max-width: 549px) { body.dm-stile-carrello .dm-passi { gap: 4px; margin-bottom: 16px } body.dm-stile-carrello .dm-passi li { font-size: 12px } }

/* I passi nostri prendono il posto di quelli del tema («Carrello › Dettagli checkout › Ordine completato», in cima a cassa e ordine ricevuto): niente doppioni */
body.dm-stile-carrello.woocommerce-checkout .checkout-page-title { display: none }
body.dm-stile-carrello.woocommerce-checkout .dm-passi { margin-top: 26px }
body.dm-stile-carrello.woocommerce-order-received .dm-passi { margin-bottom: 8px }

/* Barra della spedizione gratuita (13/11/2026, titolare: «metti solo TI MANCANO €… ALLA SPEDIZIONE GRATUITA, rendila più grande e facile da leggere,
   tanto nel totale carrello c'è scritto tutto»): scritta grande nel carattere dei titoli, importo in rosa, riga di avanzamento sotto */
body.dm-stile-carrello.woocommerce-cart .cart-sidebar .dm-hb .dm-hb-barra { padding: 14px 16px 14px }
body.dm-stile-carrello.woocommerce-cart .cart-sidebar .dm-hb .dm-hb-barra-testo { margin: 0 0 10px; color: var(--dm-primary-dark); font-family: var(--dm-font-titoli); font-size: 24px;
	font-weight: 700; line-height: 1.15; letter-spacing: .02em; text-transform: uppercase }
body.dm-stile-carrello.woocommerce-cart .cart-sidebar .dm-hb .dm-hb-barra-testo strong,
body.dm-stile-carrello.woocommerce-cart .cart-sidebar .dm-hb .dm-hb-barra-testo strong :is(span, bdi) { color: var(--dm-accent-strong); font: inherit; white-space: nowrap }
body.dm-stile-carrello.woocommerce-cart .cart-sidebar .dm-hb .dm-hb-barra.dm-ok .dm-hb-barra-testo,
body.dm-stile-carrello.woocommerce-cart .cart-sidebar .dm-hb .dm-hb-barra.dm-ok .dm-hb-barra-testo strong { color: var(--dm-success) }
body.dm-stile-carrello.woocommerce-cart .cart-sidebar .dm-hb .dm-hb-barra-fondo { height: 10px }
@media (max-width: 549px) { body.dm-stile-carrello.woocommerce-cart .cart-sidebar .dm-hb .dm-hb-barra-testo { font-size: 21px } }

/* Finestra «Ti mancano X € alla spedizione gratuita» (Home B2B: 0.3.5 del 13/11/2026 nella cassa; 0.3.7 del 16/11/2026 nel CARRELLO, a ogni «Procedi
   con l'ordine» sotto la soglia). Morbida, come la proposta del chiosco. X in alto a destra per restare nel carrello; per ogni prodotto quantità
   − numero + (pillola come nelle righe del sito, parte da 0) e ✓ rosa che compare quando la quantità è più di 0 (solo ✓ mette nel carrello);
   «Vai ai prodotti» a sinistra e «Continua con l'ordine» a destra, uguali (blu pieno, 44 px). */
body.dm-stile-carrello dialog.dm-hb-pop { width: min(560px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 0;
	border-radius: 12px; background: #fff; color: var(--dm-text); box-shadow: 0 10px 40px rgba(0, 0, 0, .25) }
body.dm-stile-carrello dialog.dm-hb-pop::backdrop { background: rgba(10, 20, 40, .45) }
body.dm-stile-carrello dialog.dm-hb-pop .dm-hb-pop-dentro { position: relative; padding: 22px 20px 20px; font-size: 15px; line-height: 1.45 }
body.dm-stile-carrello dialog.dm-hb-pop .dm-hb-pop-x { position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; justify-content: center; width: 36px;
	height: 36px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: var(--dm-radius-pill); background: transparent; color: var(--dm-text-muted); font-size: 28px;
	font-weight: 400; line-height: 1; text-transform: none; letter-spacing: 0; cursor: pointer }
body.dm-stile-carrello dialog.dm-hb-pop .dm-hb-pop-x:hover { background: var(--dm-bg-soft); color: var(--dm-text) }
body.dm-stile-carrello dialog.dm-hb-pop h3 { margin: 0 0 6px; padding-right: 40px; color: var(--dm-primary-dark); font-family: var(--dm-font-titoli); font-size: 24px; font-weight: 700;
	line-height: 1.15; letter-spacing: .02em; text-transform: uppercase }
body.dm-stile-carrello dialog.dm-hb-pop h3 strong, body.dm-stile-carrello dialog.dm-hb-pop h3 strong :is(span, bdi) { color: var(--dm-accent-strong); font: inherit; white-space: nowrap }
body.dm-stile-carrello dialog.dm-hb-pop.dm-raggiunta h3, body.dm-stile-carrello dialog.dm-hb-pop.dm-raggiunta h3 strong { color: var(--dm-success) }
/* 24/11/2026 (titolare: «in questo pop up la spedizione, il costo deve pulsare»): la cifra che manca alla spedizione gratuita pulsa;
   si ferma quando la spedizione gratuita è raggiunta e per chi ha chiesto al sistema meno movimento */
body.dm-stile-carrello dialog.dm-hb-pop:not(.dm-raggiunta) h3 strong { display: inline-block; margin: 0 .18em; transform-origin: 50% 60%; animation: dm-hb-pulsa 1.1s ease-in-out infinite }
@keyframes dm-hb-pulsa { 0%, 100% { transform: scale(1); text-shadow: none } 50% { transform: scale(1.1); text-shadow: 0 0 14px rgba(200, 55, 122, .35) } }
@media (prefers-reduced-motion: reduce) { body.dm-stile-carrello dialog.dm-hb-pop h3 strong { animation: none } }
/* 24/11/2026 (titolare: «la stessa cosa sulla parola gratuita, in rosa», poi «anzi fallo pulsare»): «gratuita» nel colore della cifra e pulsa con lei */
body.dm-stile-carrello dialog.dm-hb-pop:not(.dm-raggiunta) h3 .dm-hb-gratuita { display: inline-block; color: var(--dm-accent-strong); transform-origin: 0 60%; animation: dm-hb-pulsa 1.1s ease-in-out infinite }
@media (prefers-reduced-motion: reduce) { body.dm-stile-carrello dialog.dm-hb-pop h3 .dm-hb-gratuita { animation: none } }
body.dm-stile-carrello dialog.dm-hb-pop .dm-hb-pop-sotto { margin: 0 0 8px; color: var(--dm-text-muted); font-size: 14px }
body.dm-stile-carrello dialog.dm-hb-pop .dm-hb-pop-lista { max-height: min(56vh, 400px); margin: 0; padding: 0; overflow-y: auto; overscroll-behavior: contain; list-style: none }
body.dm-stile-carrello dialog.dm-hb-pop .dm-hb-pop-riga { display: flex; align-items: center; gap: 10px; margin: 0; padding: 8px 0; border-top: 1px solid var(--dm-border); list-style: none }
body.dm-stile-carrello dialog.dm-hb-pop .dm-hb-pop-img { flex: none; width: 44px }
body.dm-stile-carrello dialog.dm-hb-pop .dm-hb-pop-img img { display: block; width: 44px; height: 44px; border-radius: var(--dm-radius); background: var(--dm-bg-soft); object-fit: contain }
body.dm-stile-carrello dialog.dm-hb-pop .dm-hb-pop-nome { flex: 1 1 auto; min-width: 0; color: var(--dm-text); font-size: 14px; font-weight: 600; line-height: 1.3 }
body.dm-stile-carrello dialog.dm-hb-pop .dm-hb-pop-prezzo { display: block; color: var(--dm-text-muted); font-size: 13px; font-weight: 500 }
body.dm-stile-carrello dialog.dm-hb-pop .dm-hb-pop-prezzo del { opacity: .7 }
body.dm-stile-carrello dialog.dm-hb-pop .dm-hb-pop-prezzo ins { color: var(--dm-text); font-weight: 700; text-decoration: none }
body.dm-stile-carrello dialog.dm-hb-pop .dm-hb-pop-azioni { display: inline-flex; flex: none; align-items: center; gap: 6px }
body.dm-stile-carrello dialog.dm-hb-pop .dm-hb-pop-qta { display: inline-flex; align-items: stretch; height: 36px; margin: 0; padding: 0; border: 1px solid var(--dm-border-strong);
	border-radius: var(--dm-radius-pill); background: #fff; overflow: hidden }
body.dm-stile-carrello dialog.dm-hb-pop :is(.dm-hb-pop-meno, .dm-hb-pop-piu) { flex: none; width: 34px; height: auto; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0;
	background: transparent; box-shadow: none; color: var(--dm-text); font-size: 18px; font-weight: 600; line-height: 1; text-transform: none; letter-spacing: 0; cursor: pointer }
body.dm-stile-carrello dialog.dm-hb-pop :is(.dm-hb-pop-meno, .dm-hb-pop-piu):hover { background: var(--dm-bg-soft) }
body.dm-stile-carrello dialog.dm-hb-pop input.dm-hb-pop-num { flex: 0 0 42px; width: 42px; height: auto; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0;
	background: transparent; box-shadow: none; color: var(--dm-text); font-size: 14px; font-weight: 600; text-align: center; -moz-appearance: textfield }
body.dm-stile-carrello dialog.dm-hb-pop input.dm-hb-pop-num::-webkit-outer-spin-button, body.dm-stile-carrello dialog.dm-hb-pop input.dm-hb-pop-num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0 }
body.dm-stile-carrello dialog.dm-hb-pop .dm-hb-pop-riga.dm-scelto .dm-hb-pop-qta { border-color: var(--dm-accent-strong) }
body.dm-stile-carrello dialog.dm-hb-pop .dm-hb-pop-ok { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; min-height: 0; margin: 0;
	padding: 0 10px; border: 0; border-radius: var(--dm-radius-pill); background: var(--dm-accent-strong); color: #fff; font-size: 17px; font-weight: 700; line-height: 1;
	text-transform: none; letter-spacing: 0; cursor: pointer }
body.dm-stile-carrello dialog.dm-hb-pop .dm-hb-pop-ok:hover { background: var(--dm-accent-strong-hover) }
body.dm-stile-carrello dialog.dm-hb-pop .dm-hb-pop-ok[hidden] { visibility: hidden }   /* tiene il posto: la riga non si sposta quando compare */
body.dm-stile-carrello dialog.dm-hb-pop .dm-hb-pop-riga.dm-fatto .dm-hb-pop-ok { background: var(--dm-success); font-size: 13px; cursor: default }
body.dm-stile-carrello dialog.dm-hb-pop .dm-hb-pop-riga.dm-fatto .dm-hb-pop-qta { opacity: .5; pointer-events: none }
body.dm-stile-carrello dialog.dm-hb-pop .dm-hb-pop-esito { min-height: 1.2em; margin: 8px 0 0; color: var(--dm-text-muted); font-size: 13px }
body.dm-stile-carrello dialog.dm-hb-pop .dm-hb-pop-tasti { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin: 12px 0 0 }
body.dm-stile-carrello dialog.dm-hb-pop :is(.dm-hb-pop-prodotti, .dm-hb-pop-continua) { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
	min-height: 44px; margin: 0; padding: 8px 24px; border: 0; border-radius: var(--dm-radius-pill); background: var(--dm-primary); color: #fff; font-size: 15px; font-weight: 700;
	line-height: 1.2; text-decoration: none; text-transform: none; letter-spacing: 0; cursor: pointer }
body.dm-stile-carrello dialog.dm-hb-pop :is(.dm-hb-pop-prodotti, .dm-hb-pop-continua):hover { background: var(--dm-primary-dark); color: #fff }
body.dm-stile-carrello.woocommerce-cart a.checkout-button.dm-attesa { opacity: .7; cursor: progress }
@media (max-width: 549px) {
	body.dm-stile-carrello dialog.dm-hb-pop h3 { font-size: 21px }
	body.dm-stile-carrello dialog.dm-hb-pop .dm-hb-pop-riga { display: grid; grid-template-columns: 44px 1fr; column-gap: 10px; row-gap: 6px }
	body.dm-stile-carrello dialog.dm-hb-pop .dm-hb-pop-azioni { grid-column: 2 }
	body.dm-stile-carrello dialog.dm-hb-pop .dm-hb-pop-tasti { flex-direction: column; align-items: stretch }
	body.dm-stile-carrello dialog.dm-hb-pop :is(.dm-hb-pop-prodotti, .dm-hb-pop-continua) { width: 100% }
}
/* Con la finestra aperta niente doppione dell'avviso dell'assistente («Ti mancano X € per la spedizione gratuita»): una proposta sola */
body.dm-stile-carrello:has(dialog.dm-hb-pop[open]) #dm-as-bolla { display: none !important }

/* Cassa «Dati e pagamento»: indirizzi a riquadri come in Il mio account → Rubrica indirizzi (16/11/2026, inc/carrello.php). I campi restano nella
   pagina: si vedono solo con «Modifica» (classe dm-ind-aperto sul blocco). Riquadri bianchi con bordo leggero, quello in uso con bordo blu e «Selezionato»;
   «Modifica» bianco con bordo blu e «Seleziona» blu pieno, 36 px come in Il mio account. */
body.dm-stile-carrello.woocommerce-checkout .dm-ind-on:not(.dm-ind-aperto) :is(.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper) { display: none !important }   /* i plugin delle rubriche gli mettono display:block in linea */
body.dm-stile-carrello.woocommerce-checkout .dm-ind-on:not(.dm-ind-aperto) > .dm-ind-chiudi,
body.dm-stile-carrello.woocommerce-checkout .dm-ind-on:not(.dm-ind-aperto) .shipping_address > .dm-ind-chiudi { display: none }
body.dm-stile-carrello.woocommerce-checkout .dm-ind-on.dm-ind-aperto .dm-ind-fatt { display: none }
body.dm-stile-carrello.woocommerce-checkout .dm-ind-on:not(.dm-ind-aperto) > .form-row { display: none !important }   /* P.IVA, codice fiscale, PEC, SDI accanto alla fatturazione */
body.dm-stile-carrello.woocommerce-checkout .dm-ind-on #ship-to-different-address,
body.dm-stile-carrello.woocommerce-checkout .dm-ind-on #shipping_address_book_field { display: none !important }
body.dm-stile-carrello.woocommerce-checkout .dm-ind { margin: 0 0 14px }
body.dm-stile-carrello.woocommerce-checkout .dm-ind-titolo { margin: 0 0 12px; color: var(--dm-primary-dark); font-family: var(--dm-font-titoli); font-size: 20px; font-weight: 700;
	letter-spacing: .02em; text-transform: uppercase }
body.dm-stile-carrello.woocommerce-checkout .dm-ind-griglia { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px }
body.dm-stile-carrello.woocommerce-checkout .dm-ind-griglia.dm-ind-uno { grid-template-columns: minmax(0, 1fr) }
body.dm-stile-carrello.woocommerce-checkout .dm-ind-box { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 14px 16px; border: 1px solid var(--dm-border);
	border-radius: var(--dm-radius); background: #fff }
body.dm-stile-carrello.woocommerce-checkout .dm-ind-box.dm-ind-scelto { border: 2px solid var(--dm-primary); padding: 13px 15px }
body.dm-stile-carrello.woocommerce-checkout .dm-ind-testa { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px }
body.dm-stile-carrello.woocommerce-checkout .dm-ind-testa strong { color: var(--dm-text); font-size: 15px; font-weight: 700; line-height: 1.3 }
body.dm-stile-carrello.woocommerce-checkout .dm-ind-badge { flex: none; padding: 2px 8px; border-radius: var(--dm-radius-pill); background: var(--dm-pastel-azzurro); color: var(--dm-primary-dark);
	font-size: 12px; font-weight: 700; line-height: 1.4; white-space: nowrap }
body.dm-stile-carrello.woocommerce-checkout .dm-ind-badge.dm-ind-badge-scelto { background: var(--dm-primary); color: #fff }
body.dm-stile-carrello.woocommerce-checkout .dm-ind-righe { color: var(--dm-text); font-size: 14px; line-height: 1.45 }
body.dm-stile-carrello.woocommerce-checkout .dm-ind-extra { color: var(--dm-text-muted); font-size: 13px; line-height: 1.45 }
body.dm-stile-carrello.woocommerce-checkout .dm-ind-tasti { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 2px }
body.dm-stile-carrello.woocommerce-checkout .dm-ind-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; margin: 0; padding: 7px 14px;
	border: 1px solid var(--dm-primary); border-radius: var(--dm-radius-pill); background: #fff; color: var(--dm-primary); font: 600 13px/1.2 var(--dm-font-testo); letter-spacing: 0;
	text-transform: none; box-shadow: none; cursor: pointer }
body.dm-stile-carrello.woocommerce-checkout .dm-ind-btn:hover { background: var(--dm-pastel-azzurro); color: var(--dm-primary-dark) }
body.dm-stile-carrello.woocommerce-checkout .dm-ind-btn.dm-pieno { background: var(--dm-primary); color: #fff }
body.dm-stile-carrello.woocommerce-checkout .dm-ind-btn.dm-pieno:hover { background: var(--dm-primary-dark); color: #fff }
body.dm-stile-carrello.woocommerce-checkout .dm-ind-nuovo { margin: 10px 0 0 }
body.dm-stile-carrello.woocommerce-checkout .dm-ind-link { min-height: 36px; margin: 0; padding: 0; border: 0; background: none; color: var(--dm-primary); font: 600 14px/1.2 var(--dm-font-testo);
	text-decoration: underline; text-underline-offset: .15em; text-transform: none; letter-spacing: 0; cursor: pointer }
body.dm-stile-carrello.woocommerce-checkout .dm-ind-chiudi { display: flex; align-items: center; gap: 12px; margin: 4px 0 12px }
body.dm-stile-carrello.woocommerce-checkout .dm-ind-avviso { color: var(--dm-danger); font-size: 13px; font-weight: 600 }
@media (max-width: 549px) { body.dm-stile-carrello.woocommerce-checkout .dm-ind-griglia { grid-template-columns: minmax(0, 1fr) } }

/* Ordine completato (16/11/2026, inc/carrello.php): «Torna alla home» (blu pieno) e «I miei ordini» (bordo blu) nel riquadro del grazie; finestra
   «Grazie per il tuo ordine!» come la finestra del carrello (X in alto a destra, tasti 44 px). */
.dm-grazie-tasti, .dm-grazie-pop-tasti { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0 }
.dm-grazie-pop-tasti { justify-content: flex-end }
.dm-grazie-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin: 0; padding: 8px 22px; border: 2px solid var(--dm-primary, #3b4da8);
	border-radius: 999px; background: var(--dm-primary, #3b4da8); color: #fff !important; font-size: 15px; font-weight: 700; line-height: 1.2; text-decoration: none !important; text-transform: none }
.dm-grazie-btn:hover { background: var(--dm-primary-dark, #1f2a5c); border-color: var(--dm-primary-dark, #1f2a5c) }
.dm-grazie-btn.dm-grazie-bordo { background: #fff; color: var(--dm-primary, #3b4da8) !important }
.dm-grazie-btn.dm-grazie-bordo:hover { background: var(--dm-pastel-azzurro, #e8eefc); color: var(--dm-primary-dark, #1f2a5c) !important }
dialog.dm-grazie-pop { width: min(460px, calc(100vw - 32px)); max-width: none; margin: auto; padding: 0; border: 0; border-radius: 12px; background: #fff; color: var(--dm-text, #1f2a5c);
	box-shadow: 0 10px 40px rgba(0, 0, 0, .25) }
dialog.dm-grazie-pop::backdrop { background: rgba(10, 20, 40, .45) }
dialog.dm-grazie-pop .dm-grazie-dentro { position: relative; padding: 24px 22px 22px; font-size: 15px; line-height: 1.5 }
dialog.dm-grazie-pop .dm-grazie-x { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 999px;
	background: transparent; color: var(--dm-text-muted, #5b6787); font-size: 28px; font-weight: 400; line-height: 1; cursor: pointer }
dialog.dm-grazie-pop .dm-grazie-x:hover { background: var(--dm-bg-soft, #f3f5fb) }
dialog.dm-grazie-pop h3 { margin: 0 0 6px; padding-right: 40px; color: var(--dm-primary-dark, #1f2a5c); font-family: var(--dm-font-titoli, inherit); font-size: 24px; font-weight: 700;
	line-height: 1.15; letter-spacing: .02em; text-transform: uppercase }
dialog.dm-grazie-pop p { margin: 0 0 8px }
dialog.dm-grazie-pop .dm-grazie-num { color: var(--dm-text-muted, #5b6787) }
/* 17/11/2026: dati del bonifico nella finestra «Grazie» (intestatario, banca, IBAN con «Copia», causale, importo) */
dialog.dm-grazie-pop .dm-grazie-bonifico { margin: 12px 0 12px; padding: 12px 14px; border: 1px solid var(--dm-border, #d9deee); border-radius: 10px; background: var(--dm-pastel-azzurro, #e8eefc) }
dialog.dm-grazie-pop .dm-grazie-bon-t { margin: 0 0 6px; font-weight: 700; color: var(--dm-primary-dark, #1f2a5c) }
dialog.dm-grazie-pop .dm-grazie-riga { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding: 3px 0; font-size: 14px }
dialog.dm-grazie-pop .dm-grazie-riga > span { min-width: 84px; color: var(--dm-text-muted, #5b6787) }
dialog.dm-grazie-pop .dm-grazie-riga > strong { color: var(--dm-text, #1f2a5c); overflow-wrap: anywhere }
dialog.dm-grazie-pop .dm-grazie-iban > strong { font-size: 15px; letter-spacing: .02em }
dialog.dm-grazie-pop .dm-grazie-copia { min-height: 0; margin: 0 0 0 auto; padding: 3px 12px; border: 1.5px solid var(--dm-primary, #3b4da8); border-radius: 999px; background: #fff;
	color: var(--dm-primary, #3b4da8); font-size: 13px; font-weight: 600; line-height: 1.4; text-transform: none; letter-spacing: 0; cursor: pointer }
dialog.dm-grazie-pop .dm-grazie-copia:hover { background: var(--dm-primary, #3b4da8); color: #fff }
dialog.dm-grazie-pop .dm-grazie-bon-n { margin: 6px 0 0; font-size: 13px; color: var(--dm-text-muted, #5b6787) }
dialog.dm-grazie-pop { max-height: calc(100vh - 32px); overflow-y: auto }
@media (max-width: 549px) { .dm-grazie-pop-tasti .dm-grazie-btn { width: 100% } dialog.dm-grazie-pop h3 { font-size: 21px } }
