/* DRIM® — stili di carrello, cassa, conferma, area clienti e schermo d'accesso (solo in quelle pagine: inc/assets.php).
   Colori, caratteri e componenti comuni stanno in drim.css, che è dentro ogni pagina. */

/* ---------- Carrello e cassa: i blocchi di WooCommerce nei colori del negozio ---------- */
.page-shop .page-body { padding-top: 12px; }
.page-shop .wc-block-components-main, .page-shop .wc-block-components-sidebar { font-size: 1.0625rem; }
.page-shop :is(.wc-block-components-title, .wc-block-components-checkout-step__title, .wc-block-cart__totals-title) { font-family: var(--f-display); font-weight: 800; color: var(--notte); letter-spacing: -.005em; }
.page-shop .wc-block-cart__totals-title { font-size: .9375rem; }
.page-shop :is(.wc-block-components-text-input input, .wc-block-components-text-input textarea, .wc-blocks-components-select .wc-blocks-components-select__select, .wc-block-components-textarea, .wc-block-components-totals-coupon input, .wc-block-components-text-input.is-active input) { border: 1.5px solid var(--salvia-40); border-radius: 14px; background-color: #fff; color: var(--antracite); }
.page-shop .wc-blocks-components-select .wc-blocks-components-select__container { border-radius: 14px; }
.page-shop :is(.wc-block-components-text-input input, .wc-blocks-components-select__select, .wc-block-components-textarea):focus { border-color: var(--notte); outline: 2px solid var(--notte); outline-offset: 1px; box-shadow: none; }
.page-shop .wc-block-components-text-input label, .page-shop .wc-blocks-components-select__label { color: var(--pietra); }
.page-shop :is(.wc-block-components-button:not(.is-link):not(.wc-block-components-totals-coupon-link), .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button, .pwgc-apply-gift-card-button) { min-height: 54px; border: 0; border-radius: 999px; background: var(--notte); color: #fff; font: 800 1.0625rem/1 var(--f-display); box-shadow: 0 10px 22px -12px rgba(63, 74, 64, .7); transition: background-color .2s, transform .15s var(--ease-out); }
.page-shop :is(.wc-block-components-button:not(.is-link):not(.wc-block-components-totals-coupon-link), .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button, .pwgc-apply-gift-card-button):hover { background: var(--notte-scura); color: #fff; }
.page-shop .wc-block-components-button:not(.is-link):active { transform: scale(.98); }
.page-shop .pwgc-apply-gift-card-button { width: 100%; margin-top: 8px; }
#pwgc-redeem-gift-card-form { display: grid; gap: 8px; }
#pwgc-redeem-gift-card-form label { font-weight: 700; color: var(--antracite); }
#pwgc-redeem-gift-card-number { width: 100%; min-height: 50px; padding: 10px 14px; border: 1.5px solid var(--salvia-40); border-radius: 14px; background: #fff; font-size: 1.0625rem; }
#pwgc-redeem-gift-card-number:focus { outline: 2px solid var(--notte); outline-offset: 1px; border-color: var(--notte); }
#pwgc-redeem-gift-card-form .pwgc-apply-gift-card-button { background: #fff; color: var(--notte); box-shadow: inset 0 0 0 2px var(--notte); }
#pwgc-redeem-gift-card-form .pwgc-apply-gift-card-button:hover { background: var(--salvia-10); color: var(--notte); }
.page-shop :is(.wc-block-components-radio-control__option, .wc-block-components-radio-control-accordion-option, .wc-block-checkout__shipping-method-option) { border-radius: 14px; }
.page-shop .wc-block-checkout__shipping-method-option--selected, .page-shop .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option--checked-option-highlighted, .page-shop .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted { box-shadow: inset 0 0 0 2px var(--notte); }
.page-shop .wc-block-components-radio-control__input:checked { border-color: var(--notte); }
.page-shop .wc-block-components-radio-control__input:checked::before { background: var(--notte); }
.page-shop .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] { border-color: var(--salvia-80); border-radius: 6px; }
.page-shop .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked { background: var(--notte); border-color: var(--notte); }
.page-shop .wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: #fff; }
.page-shop .wc-block-components-product-name { font-family: var(--f-display); font-weight: 800; color: var(--notte); text-decoration: none; }
.page-shop :is(.wc-block-cart-item__image img, .wc-block-components-order-summary-item__image img) { border-radius: 14px; }
.page-shop .wc-block-components-totals-footer-item .wc-block-components-totals-item__value, .page-shop .wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font: 900 1.375rem/1.2 var(--f-display); color: var(--antracite); }
.page-shop .wc-block-components-formatted-money-amount { font-variant-numeric: tabular-nums; }
.page-shop .wc-block-components-panel__button, .page-shop .wc-block-components-totals-coupon-link { color: var(--notte); font-weight: 700; }
.page-shop .wc-block-cart .wc-block-cart__totals-title, .page-shop .wc-block-components-sidebar-layout .wc-block-components-main { color: var(--antracite); }
.page-shop .wc-block-checkout__actions_row .wc-block-components-checkout-return-to-cart-button { color: var(--notte); font-weight: 700; }

/* Carrello e cassa: testi leggibili (minimo 15px), niente maiuscole, riquadri e scelte come nel resto del negozio. */
.page-shop :is(.wc-block-components-product-metadata, .wc-block-components-product-details, .wc-block-components-totals-item__description, .wc-block-components-totals-item__label, .wc-block-components-radio-control__label, .wc-block-components-radio-control__secondary-label, .wc-block-components-radio-control__description, .wc-block-components-checkbox__label, .wc-block-components-shipping-rates-control__package, .wc-block-checkout__shipping-method-option-title, .wc-block-checkout__shipping-method-option-price, .wc-block-components-checkout-step__description, .wc-block-components-address-card, .wc-block-checkout__terms, .wc-block-components-order-summary-item__description, .wc-block-components-text-input label, .wc-blocks-components-select__label) { font-size: .9375rem; line-height: 1.45; }
.page-shop .wc-block-components-product-metadata, .page-shop .wc-block-components-product-details { color: var(--pietra); }
.page-shop :is(.wc-block-cart-items__header, .wc-block-cart-items__header span, .wc-block-components-sidebar .wc-block-components-title) { text-transform: none; letter-spacing: 0; }
.page-shop .wc-block-cart-items__header { font: 800 .9375rem/1.3 var(--f-display); color: var(--pietra); }
.page-shop :is(.wc-block-cart-items, .wc-block-components-order-summary) .wc-block-components-product-name { font-size: 1.0625rem !important; line-height: 1.3; } /* WooCommerce lo rimpicciolisce a 13px */
.page-shop :is(.wp-block-woocommerce-checkout-order-summary-block, .wc-block-cart__sidebar .wc-block-components-totals-wrapper:first-child) { border-radius: var(--radius); }
.page-shop .wp-block-woocommerce-checkout-order-summary-block { border: var(--line); }
.page-shop .wc-block-checkout__shipping-method-option { min-height: 56px; border: 1.5px solid var(--salvia-40); border-radius: 14px; }
.page-shop .wc-block-checkout__shipping-method-option--selected { border-color: var(--notte); }
.page-shop .wc-block-components-radio-control__option, .page-shop .wc-block-components-radio-control-accordion-option { border-color: var(--salvia-40); }
.page-shop :is(.wc-block-components-radio-control__input, .wc-block-components-checkbox__input, .wc-block-checkout__shipping-method-option, .wc-block-components-button, .wc-block-components-panel__button, .wc-block-components-quantity-selector__button, .wc-block-cart-item__remove-link):focus-visible { outline: 3px solid var(--notte); outline-offset: 2px; box-shadow: none; }
/* cassa (blocco di WooCommerce): riepilogo come quello del carrello, niente testi da 13px */
.page-shop .wp-block-woocommerce-checkout-order-summary-block { background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.page-shop :is(.is-mobile, .is-small) .wp-block-woocommerce-checkout-order-summary-block { padding: 2px 18px 6px; }
/* da telefono il riepilogo sta in cima, nella scheda: margini interni uguali per titolo, articoli, codici e totali (cliente, 28/10) */
.page-shop :is(.is-mobile, .is-small) .wp-block-woocommerce-checkout-order-summary-block :is(.wc-block-components-checkout-order-summary__title, .wc-block-components-order-summary, .wc-block-components-totals-item, .wc-block-components-totals-wrapper, .wc-block-components-panel, .wc-block-components-totals-coupon) { padding-left: 0; padding-right: 0; }
.page-shop :is(.is-mobile, .is-small) .wc-block-components-checkout-order-summary__title { min-height: 60px; border: 0; }
.page-shop :is(.is-mobile, .is-small) .wc-block-components-checkout-order-summary__content { border-top: var(--line); border-bottom: 0; }
/* da telefono il riepilogo c'è anche in fondo, sopra il pulsante d'ordine: niente seconda cornice dentro la scheda,
   margini uguali per tutto (gift card compresa) e spazio prima del pulsante (Marco, 29/10) */
.page-shop :is(.is-mobile, .is-small) .checkout-order-summary-block-fill { margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
.page-shop .wp-block-woocommerce-checkout-order-summary-block #pwgc-redeem-gift-card-container { padding-left: 0; padding-right: 0; } /* il plugin delle gift card ha i suoi 16 px */
.page-shop .wc-block-checkout__actions .wp-block-woocommerce-checkout-order-summary-block { margin: 0 0 18px; }
.page-shop .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title-text { color: var(--notte); font: 900 1.375rem/1.2 var(--f-display); }
.page-shop .wc-block-components-order-summary-item .price { color: var(--pietra); font: 400 .875rem/1.4 var(--f-text); }
.page-shop .wc-block-components-order-summary-item__total-price :is(.wc-block-components-product-price, .wc-block-components-formatted-money-amount) { color: var(--antracite); font: 800 1.0625rem/1.3 var(--f-display); }
.page-shop :is(.wc-block-checkout__guest-checkout-notice, .wc-block-components-address-form__address_2-toggle, .wc-block-components-radio-control-accordion-content, .wc-block-components-checkout-step__description, .wc-block-components-validation-error, .wc-block-components-totals-coupon__form label, [class*="pwgc"] label) { font-size: .9375rem; line-height: 1.45; }
.page-shop .wc-block-components-quantity-selector { min-height: 44px; border: 1.5px solid var(--salvia-40); border-radius: 999px; overflow: hidden; }
.page-shop .wc-block-components-quantity-selector::after { display: none; }
.page-shop .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button { min-width: 44px; min-height: 44px; color: var(--notte); font-size: 1.25rem; }
.page-shop .wc-block-components-quantity-selector .wc-block-components-quantity-selector__input { min-height: 44px; font-size: 16px; font-weight: 700; }
.page-shop .wc-block-cart-item__remove-link { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
@media (max-width: 599px) {
	/* sul telefono il totale della riga esce dallo schermo e ripete il prezzo: resta il prezzo sotto il nome */
	.page-shop .wc-block-cart-items__header-total, .page-shop .wc-block-cart-items .wc-block-cart-item__total { display: none; }
}

/* ---------- Acquisto: i tre passi, le rassicurazioni, il carrello vuoto, la conferma ---------- */
.flow-steps { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 18px 0 0; padding: 0; counter-reset: none; }
.flow-steps li { display: inline-flex; align-items: center; gap: 10px; color: var(--pietra); font: 700 1rem/1.2 var(--f-display); }
.flow-n { display: inline-grid; place-items: center; width: 32px; height: 32px; border: 1.5px solid var(--salvia-40); border-radius: 50%; background: #fff; color: var(--pietra); font: 800 .9375rem/1 var(--f-display); }
.flow-n .icon { width: 16px; height: 16px; }
.flow-steps .is-done { color: var(--notte); }
.flow-steps .is-done .flow-n { border-color: var(--salvia); background: var(--salvia); color: #fff; }
.flow-steps .is-now { color: var(--notte); }
.flow-steps .is-now .flow-n { border-color: var(--notte); background: var(--notte); color: #fff; }
/* da telefono: tre colonne con la linea che unisce i passi, così stanno su una riga */
@media (max-width: 599px) {
	.flow-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; max-width: 420px; }
	.flow-steps li { position: relative; flex-direction: column; gap: 6px; text-align: center; font-size: .875rem; }
	.flow-steps li + li::before { content: ""; position: absolute; top: 14px; left: calc(-50% + 22px); right: calc(50% + 22px); height: 2px; border-radius: 2px; background: var(--salvia-40); }
	.flow-steps li.is-done::before, .flow-steps li.is-now::before { background: var(--salvia); }
	.flow-n { width: 30px; height: 30px; }
}
.shop-trust { display: grid; gap: 14px; list-style: none; margin: clamp(32px, 4vw, 48px) 0 0; padding: clamp(18px, 3vw, 26px); border-radius: var(--radius); background: var(--salvia-10); }
.shop-trust li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.shop-trust .icon { width: 22px; height: 22px; margin-top: 1px; color: var(--notte); }
.shop-trust .mii-bar { width: 22px; height: 6px; margin-top: 8px; } /* la bandiera al posto dell'icona (10/11) */
.shop-trust strong { display: block; color: var(--notte); font: 800 1rem/1.3 var(--f-display); }
.shop-trust span { color: var(--antracite); font-size: .9375rem; line-height: 1.45; }
@media (min-width: 900px) { .shop-trust { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; } }
.cart-empty-drim { padding-block: 8px 12px; }
.cart-empty-moon { width: 110px; height: auto; margin-bottom: 16px; }
.cart-empty-drim h2 { margin: 0 0 .3em; font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem); font-weight: 900; }
.cart-empty-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 22px 0 0; }
.cart-empty-title { margin: clamp(36px, 5vw, 56px) 0 0; font: 800 1.25rem/1.3 var(--f-display); color: var(--notte); }
.cart-empty-drim .shelf-grid { margin-top: 16px; }
.cart-empty-drim .card-media { background: var(--nuvola); }
.thanks { max-width: 880px; }
.thanks-head { position: relative; padding: clamp(22px, 4vw, 36px); border-radius: var(--radius-lg); background: var(--salvia-10); }
.thanks-head h2 { margin: 0 0 .3em; font-size: clamp(1.875rem, 1.4rem + 2vw, 2.75rem); font-weight: 900; }
.thanks-head .lead { margin: 0; }
.thanks-head.is-failed { background: #fbefee; }
.thanks-moon { width: 88px; height: auto; margin-bottom: 14px; }
.thanks-steps { display: grid; gap: 0; list-style: none; margin: 26px 0 0; padding: 0; counter-reset: passo; }
.thanks-steps li { position: relative; display: grid; gap: 2px; padding: 14px 0 14px 52px; border-bottom: var(--line); counter-increment: passo; color: var(--antracite); }
.thanks-steps li::before { content: counter(passo); position: absolute; left: 0; top: 14px; display: grid; place-items: center; width: 34px; height: 34px; border: 1.5px solid var(--salvia-40); border-radius: 50%; color: var(--pietra); font: 800 .9375rem/1 var(--f-display); }
.thanks-steps .is-now::before { border-color: var(--notte); background: var(--notte); color: #fff; }
.thanks-steps .is-done::before { content: ""; border-color: var(--salvia); background: var(--salvia) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 16px no-repeat; }
.thanks-steps strong { color: var(--notte); font: 800 1.0625rem/1.3 var(--f-display); }
.thanks-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 26px 0; }
.thanks-facts div { padding: 14px 16px; border: var(--line); border-radius: 18px; background: #fff; }
.thanks-facts dt { color: var(--pietra); font-size: .875rem; }
.thanks-facts dd { margin: 2px 0 0; color: var(--antracite); font: 800 1.0625rem/1.3 var(--f-display); font-variant-numeric: tabular-nums; }
@media (min-width: 760px) { .thanks-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.thanks-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 22px 0 0; }
.thanks-end { margin-top: 36px; padding-top: 26px; border-top: var(--line); }
:is(.thanks, .order-view) .woocommerce-bacs-bank-details, :is(.thanks, .order-view) .woocommerce-order-details, :is(.thanks, .order-view) .woocommerce-customer-details { margin-top: 30px; }
:is(.thanks, .order-view) :is(.wc-bacs-bank-details-heading, .woocommerce-order-details__title, .woocommerce-column__title) { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); }
:is(.thanks, .order-view) .wc-bacs-bank-details { display: grid; gap: 6px; list-style: none; margin: 0; padding: 18px 20px; border-radius: 18px; background: #fff; border: var(--line); }
:is(.thanks, .order-view) .wc-bacs-bank-details li { display: flex; flex-wrap: wrap; gap: 4px 10px; }
:is(.thanks, .order-view) .wc-bacs-bank-details strong { font-variant-numeric: tabular-nums; }
:is(.thanks, .order-view) table.shop_table { width: 100%; border: var(--line); border-radius: 18px; border-collapse: separate; border-spacing: 0; overflow: hidden; }
:is(.thanks, .order-view) table.shop_table :is(th, td) { padding: 12px 14px; border-bottom: 1px solid var(--salvia-20); text-align: left; vertical-align: top; }
:is(.thanks, .order-view) table.shop_table tfoot tr:last-child :is(th, td) { border-bottom: 0; font: 800 1.0625rem var(--f-display); color: var(--antracite); }
:is(.thanks, .order-view) .woocommerce-customer-details address { padding: 16px 18px; border: var(--line); border-radius: 18px; font-style: normal; line-height: 1.6; }
:is(.thanks, .order-view) .woocommerce-columns--addresses { display: grid; gap: 18px; }
@media (min-width: 760px) { :is(.thanks, .order-view) .woocommerce-columns--addresses { grid-template-columns: 1fr 1fr; } }
:is(.thanks, .order-view) .woocommerce-columns--addresses .woocommerce-column { float: none; width: auto; }
/* dati del bonifico: etichetta sopra, valore grande (non le colonne maiuscole di WooCommerce) */
.thanks ul.wc-bacs-bank-details li { display: block; float: none; margin: 0; padding: 0; border: 0; color: var(--pietra); font-size: .9375rem; line-height: 1.4; text-transform: none; }
.thanks ul.wc-bacs-bank-details li strong { display: block; margin-top: 2px; color: var(--antracite); font-size: 1.125rem; line-height: 1.4; }
.thanks ul.wc-bacs-bank-details li + li { margin-top: 10px; }
/* telefono ed email del cliente con le icone del sito */
body .woocommerce .woocommerce-customer-details :is(.woocommerce-customer-details--phone, .woocommerce-customer-details--email) { position: relative; padding-left: 28px; }
body .woocommerce .woocommerce-customer-details :is(.woocommerce-customer-details--phone, .woocommerce-customer-details--email)::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; margin: 0; background: var(--salvia); font-family: inherit; line-height: 1; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
body .woocommerce .woocommerce-customer-details .woocommerce-customer-details--phone { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); }
body .woocommerce .woocommerce-customer-details .woocommerce-customer-details--email { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E"); }

/* ---------- Area clienti: accesso e nuovo account, bacheca a riquadri ---------- */
.account-entry { display: grid; gap: clamp(18px, 3vw, 32px); align-items: start; max-width: 1040px; }
@media (min-width: 900px) { .account-entry { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); } }
.account-card { padding: clamp(22px, 3vw, 36px); border: var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.account-card-new { background: var(--salvia-10); box-shadow: none; }
.account-card h2 { margin: 0 0 .2em; font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.125rem); font-weight: 900; }
.account-card-lead { margin: 0 0 18px; color: var(--pietra); }
.page-shop .woocommerce .account-card :is(form.login, form.register) { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; }
.account-main { animation: rise .7s var(--ease-out) both; }
.account-optional { color: var(--pietra); font-weight: 400; }
.account-hint { display: block; margin-top: 6px; color: var(--pietra); font-size: .9375rem; line-height: 1.4; }
.page-shop .woocommerce form .form-row.account-login-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 16px; margin: 4px 0 18px; }
.page-shop .woocommerce form .form-row.account-login-row::before, .page-shop .woocommerce form .form-row.account-login-row::after { content: none; }
.page-shop .woocommerce form .form-row label.woocommerce-form-login__rememberme { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin: 0; font-weight: 400; }
.account-lost { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.page-shop .woocommerce .account-submit { margin: 0; }
.page-shop .woocommerce .account-submit .button { float: none; width: 100%; min-height: 56px; margin: 0; font-size: 1.125rem; }
.account-switch { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--salvia-20); color: var(--pietra); }
.account-switch a { font-weight: 800; }
/* il lato scuro: vantaggi dell'account, luna e stelle che brillano */
.account-side { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(24px, 3.4vw, 40px); border-radius: var(--radius-lg); background: var(--notte); color: #fff; animation: rise .8s .08s var(--ease-out) both; }
.account-side h2 { position: relative; margin: 0 0 .3em; color: #fff; font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.125rem); font-weight: 900; }
.account-side-lead { position: relative; margin: 0 0 18px; color: rgba(255, 255, 255, .86); }
/* il logo DRIM® completo (luna, orsetto e scritta) in fondo al riquadro scuro */
.account-side-logo { position: relative; display: block; width: 132px; height: auto; margin: 26px 0 0 auto; }
.account-side-star { position: absolute; width: 16px; color: #fff; opacity: .5; pointer-events: none; animation: twinkle 3.2s ease-in-out infinite; }
.account-side-star.s1 { top: 22px; right: 28px; }
.account-side-star.s2 { bottom: 34%; right: 44%; width: 10px; animation-delay: 1.1s; }
@media (max-width: 899px) { .account-side-star.s2 { bottom: 120px; right: 200px; } }
.account-side .btn { position: relative; margin-top: 4px; }
.account-side .account-guest { position: relative; margin-top: 20px; border-top-color: rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .82); }
.account-perks { position: relative; display: grid; gap: 12px; list-style: none; margin: 0 0 22px; padding: 0; }
.account-perks li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; font-weight: 600; }
.account-perks .icon { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; }
.account-side .account-perks strong { display: block; color: #fff; font: 800 1.0625rem/1.3 var(--f-display); }
.account-perks.is-long li { align-items: start; }
.account-perks.is-long span { color: rgba(255, 255, 255, .8); font-weight: 400; line-height: 1.45; }
.account-guest { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--salvia-20); color: var(--pietra); font-size: .9375rem; }
/* misuratore della password di WooCommerce (registrazione, password nuova, i tuoi dati) */
.page-shop .woocommerce .woocommerce-password-strength { margin-top: 8px; padding: 8px 12px; border: 0; border-radius: 10px; font-size: .9375rem; font-weight: 700; line-height: 1.35; text-align: left; }
.page-shop .woocommerce .woocommerce-password-strength:is(.short, .bad) { background: #fbefee; color: #8a2c22; }
.page-shop .woocommerce .woocommerce-password-strength.good { background: #fbf2df; color: #6b4e12; }
.page-shop .woocommerce .woocommerce-password-strength.strong { background: var(--salvia-10); color: var(--notte); }
.page-shop .woocommerce .woocommerce-password-hint { display: block; margin-top: 6px; color: var(--pietra); font-size: .875rem; line-height: 1.4; }
.page-shop .woocommerce .form-row:has(.woocommerce-password-hint) .account-hint { display: none; }
.account-hello { margin: 0 0 22px; font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); }
.account-welcome { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; max-width: 760px; margin: 0 0 24px; padding: clamp(18px, 3vw, 28px); border-radius: var(--radius); background: var(--salvia-10); animation: rise .7s var(--ease-out) both; }
.account-welcome-moon { width: 64px; height: auto; animation: rise .8s var(--ease-out) both; }
.account-welcome p { margin: 0 0 12px; }
.account-welcome-title { color: var(--notte); font: 900 clamp(1.25rem, 1.1rem + .8vw, 1.625rem)/1.2 var(--f-display); }
.account-tiles { display: grid; gap: 12px; list-style: none; margin: 0 0 24px; padding: 0; }
.account-tiles a { display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; min-height: 84px; padding: 14px 18px; border: var(--line); border-radius: 20px; background: #fff; color: var(--antracite); text-decoration: none; transition: border-color .2s, background-color .2s, transform .2s var(--ease-out); }
.account-tiles a:hover { border-color: var(--salvia-60); background: var(--salvia-10); transform: translateY(-2px); }
.account-tiles .icon { grid-row: 1 / 3; width: 48px; height: 48px; padding: 12px; border-radius: 50%; background: var(--salvia-10); color: var(--notte); }
.account-tiles strong { align-self: end; color: var(--notte); font: 800 1.125rem/1.25 var(--f-display); }
.account-tiles span { align-self: start; color: var(--pietra); font-size: .9375rem; }
@media (min-width: 760px) { .account-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Raccolta punti nell'area clienti: il saldo su un cielo notte, come il riquadro dei vantaggi */
.points-hero { position: relative; overflow: hidden; display: grid; justify-items: start; gap: 6px; max-width: 760px; margin: 0 0 22px; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: radial-gradient(120% 90% at 85% 0%, var(--salvia) 0%, var(--notte) 55%, var(--notte-scura) 100%); color: #fff; animation: rise .7s var(--ease-out) both; }
.points-sky { position: absolute; inset: 0; pointer-events: none; }
.points-star { position: absolute; width: 16px; color: #fff; opacity: .55; animation: twinkle 3.2s ease-in-out infinite; }
.points-star-1 { top: 24px; right: 32px; }
.points-star-2 { top: 46%; right: 22%; width: 10px; animation-delay: 1.2s; }
.points-eyebrow { margin: 0; color: rgba(255, 255, 255, .78); font: 800 .8125rem/1.2 var(--f-display); letter-spacing: .08em; text-transform: uppercase; }
.points-number { margin: 0; font: 800 1.375rem/1.1 var(--f-display); }
.points-number strong { font-size: clamp(3rem, 2.2rem + 4vw, 4.5rem); font-weight: 900; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.points-worth { margin: 0 0 6px; color: rgba(255, 255, 255, .9); font: 800 1.125rem/1.3 var(--f-display); }
.points-state { position: relative; max-width: 46ch; margin: 4px 0 10px; color: rgba(255, 255, 255, .86); }
.points-state strong { color: #fff; }
.points-meter { width: min(100%, 360px); height: 10px; margin-top: 6px; border-radius: 99px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.points-meter span { display: block; width: var(--progress, 0%); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #fff, var(--salvia-20)); animation: cart-grow 1.2s .2s var(--ease-out) both; }
.points-hero .btn { position: relative; }
.entry-content .points-hero strong { color: #fff; }
.entry-content .points-how { padding-left: 0; }
.points-how { display: grid; gap: 10px; max-width: 760px; margin: 0 0 12px; padding: 0; list-style: none; counter-reset: punti; }
.points-how li { position: relative; display: grid; gap: 2px; padding: 14px 16px 14px 60px; border: var(--line); border-radius: 18px; background: #fff; color: var(--pietra); counter-increment: punti; }
.points-how li::before { content: counter(punti); position: absolute; left: 14px; top: 14px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--salvia-10); color: var(--notte); font: 900 .9375rem/1 var(--f-display); }
.points-how strong { color: var(--notte); font: 800 1.0625rem/1.3 var(--f-display); }
@media (min-width: 900px) { .points-how { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.points-note { max-width: 760px; margin: 0 0 30px; color: var(--pietra); font-size: .9375rem; }
.points-title { margin: 0 0 12px; font-size: clamp(1.375rem, 1.2rem + .8vw, 1.75rem); }
.entry-content .points-history { max-width: 760px; margin: 0; padding: 0; list-style: none; border-top: var(--line); }
.points-history li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 4px; border-bottom: var(--line); }
.points-history-what { display: grid; gap: 2px; min-width: 0; color: var(--antracite); font-weight: 600; }
.points-history-what a { font-weight: 700; }
.points-history time { color: var(--pietra); font-size: .875rem; font-weight: 400; }
.points-history-num { flex: none; min-width: 3.5em; padding: 4px 10px; border-radius: 99px; background: var(--salvia-10); color: var(--notte); font: 900 1rem/1.3 var(--f-display); text-align: center; font-variant-numeric: tabular-nums; }
.points-history .is-minus .points-history-num { background: var(--nuvola); color: var(--pietra); }
.points-empty { color: var(--pietra); }

/* Gift card dell'account: ogni carta come una carta vera, saldo grande, codice da copiare */
.entry-content .gc-list { display: grid; gap: 14px; max-width: 860px; margin: 0 0 26px; padding: 0; list-style: none; }
.gc-item { display: grid; gap: 14px; padding: 14px; border: var(--line); border-radius: var(--radius); background: #fff; animation: rise .6s var(--ease-out) both; }
@media (min-width: 640px) { .gc-item { grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); align-items: center; } }
.gc-face { position: relative; display: grid; align-content: space-between; aspect-ratio: 1.586; padding: 18px; border-radius: 16px; background: radial-gradient(120% 120% at 100% 0%, var(--salvia-80), var(--salvia) 45%, var(--notte) 100%); color: #fff; box-shadow: 0 14px 30px -16px rgba(63, 74, 64, .7); overflow: hidden; }
.gc-face::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 80%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.gc-logo { width: 56px; height: auto; }
.gc-balance { position: relative; margin: 0; font: 900 clamp(1.75rem, 1.4rem + 1.6vw, 2.25rem)/1 var(--f-display); font-variant-numeric: tabular-nums; }
.gc-state { position: relative; margin: 4px 0 0; color: rgba(255, 255, 255, .85); font-size: .875rem; font-weight: 700; }
.gc-item.is-spent .gc-face { background: linear-gradient(135deg, var(--salvia-40), var(--salvia-60)); box-shadow: none; }
.gc-body { display: grid; gap: 8px; min-width: 0; }
.gc-code { display: grid; gap: 2px; margin: 0; }
.gc-code span { color: var(--pietra); font-size: .875rem; }
.gc-code code { color: var(--antracite); font: 700 1.125rem/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .04em; overflow-wrap: anywhere; }
.gc-expires { margin: 0; color: var(--pietra); font-size: .9375rem; }
.gc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 4px; }
.gc-form { margin: 0; }
.gc-actions .btn-light { border: 1.5px solid var(--salvia-40); }
.gc-remove { min-height: 40px; padding: 0 4px; border: 0; background: none; color: var(--pietra); font: 600 .9375rem/1 var(--f-text); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.gc-check { max-width: 560px; margin: 0 0 26px; }
.gc-check-form { display: grid; gap: 14px; justify-items: start; }
.gc-check-form .field { width: 100%; }
.gc-check-form input[name="drim_gc_number"] { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .04em; text-transform: uppercase; }
.gc-save { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--antracite); font-weight: 600; cursor: pointer; }
.gc-save input { width: 20px; height: 20px; accent-color: var(--notte); }
.gc-sent { max-width: 760px; margin: 0 0 20px; }
.gc-sent h2 { margin: 0 0 10px; font-size: clamp(1.375rem, 1.2rem + .8vw, 1.75rem); }
.entry-content .gc-sent ul { margin: 0 0 10px; padding: 0; list-style: none; border-top: var(--line); }
.gc-sent li { padding: 12px 4px; border-bottom: var(--line); color: var(--pietra); }
.gc-sent li strong { color: var(--antracite); }
.gc-buy { margin: 0; }

/* Carrello: i punti, sotto il codice sconto */
.cart-points { display: grid; gap: 10px; justify-items: start; margin-top: 14px; padding: 14px 16px; border: 1.5px solid var(--salvia-20); border-radius: 18px; background: var(--salvia-10); }
.cart-points p { margin: 0; line-height: 1.45; }
.cart-points .icon { width: 20px; height: 20px; flex: none; color: var(--notte); }
.cart-points-head { display: flex; align-items: center; gap: 10px; color: var(--antracite); font-weight: 600; }
.cart-points-head strong { color: var(--notte); font-family: var(--f-display); font-weight: 900; }
.cart-points-text { color: var(--pietra); font-size: .9375rem; }
.cart-points-earn { display: flex; align-items: flex-start; gap: 10px; padding-top: 10px; border-top: 1px solid var(--salvia-20); color: var(--pietra); font-size: .9375rem; }
.cart-points-earn strong { color: var(--notte); }
.cart-points.is-guest { display: flex; align-items: flex-start; gap: 10px; }
.cart-points.is-guest a { font-weight: 800; }

/* Scheda: quanti punti fa guadagnare l'arredo */
.account-help { color: var(--pietra); }
.order-help { margin-top: 28px; color: var(--pietra); }
.order-help a, .account-help a { overflow-wrap: anywhere; }
.page-shop .woocommerce-MyAccount-content { max-width: 1040px; }
.page-shop .woocommerce-MyAccount-content > p:first-child { font-size: 1.0625rem; }
.page-shop .woocommerce table.woocommerce-orders-table, .page-shop .woocommerce table.order_details { width: 100%; }
.page-shop .woocommerce table.shop_table th { font: 800 .9375rem/1.3 var(--f-display); color: var(--notte); text-transform: none; }
.page-shop .woocommerce address { font-style: normal; line-height: 1.6; }
.page-shop .woocommerce fieldset { margin: 24px 0 0; padding: 18px 20px; border: var(--line); border-radius: 20px; }
.page-shop .woocommerce fieldset legend { padding: 0 8px; font: 800 1.0625rem var(--f-display); color: var(--notte); }
.page-shop .woocommerce .woocommerce-message, .page-shop .woocommerce .woocommerce-info { margin: 0 0 20px; }
/* avvisi di WooCommerce: niente icona del suo font (da noi non c'è) */
body :is(.woocommerce-message, .woocommerce-info, .woocommerce-error)::before { content: none; display: none; }

/* Password dimenticata, password nuova: un riquadro stretto con la luna */
.account-narrow { max-width: 560px; }
.account-moon { width: 88px; height: auto; margin-bottom: 16px; }
.page-shop .woocommerce .account-card form.lost_reset_password { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; }
.account-back { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--salvia-20); }
.account-back a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--notte); font-weight: 700; }
.account-back .icon { width: 18px; height: 18px; }

/* I tuoi dati: nome ed email, poi la password */
.account-form { display: grid; gap: clamp(16px, 2.5vw, 24px); max-width: 760px; }
.account-pair { display: grid; gap: 0 16px; }
@media (min-width: 520px) { .account-pair { grid-template-columns: 1fr 1fr; } }
.page-shop .woocommerce .account-pair .form-row { float: none; width: auto; }
.page-shop .woocommerce .account-card fieldset { margin: 0; padding: 0; border: 0; border-radius: 0; }
.page-shop .woocommerce .account-card fieldset legend { margin: 0 0 .2em; padding: 0; font: 900 clamp(1.625rem, 1.3rem + 1.2vw, 2.125rem)/1.15 var(--f-display); color: var(--notte); }
.account-save { margin: 0; }

/* I tuoi ordini: una scheda per ordine */
.account-orders { display: grid; gap: 12px; max-width: 760px; list-style: none; margin: 0; padding: 0; }
.account-order { padding: 16px 18px; border: var(--line); border-radius: 20px; background: #fff; }
.account-order-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin: 0; }
.account-order-head a { color: var(--notte); font: 800 1.1875rem/1.25 var(--f-display); text-decoration: none; }
.account-order-head a:hover { text-decoration: underline; }
.order-status { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px; background: var(--salvia-10); color: var(--notte); font: 700 .875rem/1 var(--f-display); }
.order-status.status-pending, .order-status.status-on-hold { background: #fbf2df; color: #6b4e12; }
.order-status.status-completed { background: var(--notte); color: #fff; }
.order-status:is(.status-cancelled, .status-failed, .status-refunded) { background: #f1efec; color: var(--pietra); }
.account-order-meta { display: flex; flex-wrap: wrap; gap: 2px 14px; margin: 6px 0 0; color: var(--pietra); font-variant-numeric: tabular-nums; }
.account-order-meta span { color: var(--antracite); }
.account-order-extra { margin-top: 8px; }
.account-order-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.page-shop .woocommerce .account-order-actions .button { min-height: 44px; padding: 0 18px; font-size: 1rem; }
.page-shop .woocommerce .account-order-actions .button:not(.pay) { border: 1.5px solid var(--salvia-40); background: #fff; color: var(--notte); }
.page-shop .woocommerce .account-order-actions .button:not(.pay):hover { border-color: var(--notte); background: var(--salvia-10); color: var(--notte); }
.account-orders-pages { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.account-empty { padding-top: 8px; }
/* Un ordine: stato in evidenza, aggiornamenti del negozio */
.order-view { max-width: 880px; }
.order-view-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 8px; }
.order-view-head p { margin: 0; color: var(--pietra); }
.order-view-head p :is(time, strong) { color: var(--antracite); font-weight: 700; font-variant-numeric: tabular-nums; }
.order-notes { display: grid; gap: 10px; list-style: none; margin: 0; }
.order-notes li { padding: 14px 18px; border: var(--line); border-left: 4px solid var(--salvia); border-radius: 14px; background: #fff; }
.order-notes .meta { margin: 0 0 4px; color: var(--pietra); font-size: .9375rem; }
.order-notes .description p { margin: 0; }
.page-shop .woocommerce .order-view .order-actions-button { min-height: 44px; margin: 0 6px 6px 0; padding: 0 18px; font-size: 1rem; }
.page-shop .woocommerce .order-view .order-actions-button:not(.pay) { border: 1.5px solid var(--salvia-40); background: #fff; color: var(--notte); }

/* Pagare un ordine già fatto: il riquadro dei metodi come il resto della cassa (non il lilla di WooCommerce) */
.page-shop #payment#payment { margin-top: 20px; border: var(--line); border-radius: 20px; background: #fff; }
.page-shop #payment#payment ul.payment_methods { padding: 16px 18px; border-bottom: 1px solid var(--salvia-20); }
.page-shop #payment#payment ul.payment_methods li { line-height: 1.5; }
.page-shop #payment#payment ul.payment_methods li > label { font-weight: 700; color: var(--antracite); }
.page-shop #payment#payment div.payment_box { margin: 10px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--salvia-10); color: var(--antracite); font-size: .9375rem; }
.page-shop #payment#payment div.payment_box::before { border-bottom-color: var(--salvia-10); }
.page-shop #payment#payment div.form-row { margin: 0; padding: 16px 18px; }
.page-shop #payment#payment .woocommerce-privacy-policy-text p { margin: 0 0 12px; color: var(--pietra); font-size: .9375rem; }
.page-shop #payment#payment #place_order { width: 100%; margin-top: 12px; }

/* Indirizzi: un riquadro per indirizzo */
.account-addresses { display: grid; gap: 16px; max-width: 1040px; }
@media (min-width: 760px) { .account-addresses { grid-template-columns: 1fr 1fr; } }
.account-address { display: flex; flex-direction: column; align-items: flex-start; box-shadow: none; }
.account-card.account-address h2 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); }
.account-address address { flex: 1 1 auto; margin: 6px 0 16px; }
.account-none { color: var(--pietra); }
/* Modifica indirizzo: il paese unico (Italia) è un testo, la provincia ha la tendina come gli altri campi */
.page-shop .woocommerce .woocommerce-address-fields__field-wrapper { display: grid; gap: 0 16px; max-width: 760px; }
@media (min-width: 620px) {
	.page-shop .woocommerce .woocommerce-address-fields__field-wrapper { grid-template-columns: 1fr 1fr; }
	.page-shop .woocommerce .woocommerce-address-fields__field-wrapper .form-row-wide { grid-column: 1 / -1; }
	/* CAP e città, provincia e telefono a coppie */
	.page-shop .woocommerce .woocommerce-address-fields__field-wrapper :is([id$="_postcode_field"], [id$="_city_field"], [id$="_state_field"], [id$="_phone_field"]) { grid-column: auto; }
}
.page-shop .woocommerce .woocommerce-address-fields__field-wrapper .form-row { float: none; width: auto; }
.page-shop .woocommerce form .form-row .woocommerce-input-wrapper select.country_to_state--single { min-height: 0; padding: 0; border: 0; background: none; color: var(--antracite); font-weight: 700; -webkit-appearance: none; appearance: none; pointer-events: none; }
.page-shop .select2-container .select2-selection--single { height: 52px; border: 1.5px solid var(--salvia-40); border-radius: 14px; background: #fff; }
.page-shop .select2-container .select2-selection--single .select2-selection__rendered { padding: 0 44px 0 16px; color: var(--antracite); font-size: 1.0625rem; line-height: 49px; }
.page-shop .select2-container .select2-selection--single .select2-selection__arrow { top: 0; right: 10px; height: 49px; }
.page-shop .select2-container:is(.select2-container--focus, .select2-container--open) .select2-selection--single { border-color: var(--notte); outline: 2px solid var(--notte); outline-offset: 1px; }
body .select2-dropdown { border: 1.5px solid var(--salvia-40); border-radius: 14px; overflow: hidden; }
body .select2-search--dropdown .select2-search__field { min-height: 44px; padding: 0 12px; border: 1.5px solid var(--salvia-40); border-radius: 10px; font-size: 1rem; }
body .select2-results__option { padding: 10px 14px; }
body .select2-container--default .select2-results__option--highlighted[aria-selected], body .select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--notte); color: #fff; }

/* ---------- Area clienti (moduli classici di WooCommerce) ---------- */
.page-shop .woocommerce :is(form.login, form.register, form.lost_reset_password, form.checkout_coupon) { margin: 0 0 2em; padding: clamp(18px, 3vw, 28px); border: var(--line); border-radius: var(--radius); background: #fff; }
.page-shop .woocommerce h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); }
.page-shop .woocommerce form > h2 { font-weight: 800; }
.page-shop .woocommerce form .form-row { margin: 0 0 14px; padding: 0; }
.page-shop .woocommerce form .form-row label { margin-bottom: 6px; font-weight: 700; color: var(--antracite); line-height: 1.4; }
.page-shop .woocommerce form .form-row .required { color: var(--pietra); text-decoration: none; }
.page-shop .woocommerce :is(form .form-row input.input-text, form .form-row textarea, form .form-row select, .woocommerce-Input) { min-height: 52px; padding: 12px 16px; border: 1.5px solid var(--salvia-40); border-radius: 14px; background: #fff; font-size: 1.0625rem; line-height: 1.4; }
.page-shop .woocommerce :is(form .form-row input.input-text, form .form-row textarea, form .form-row select):focus { border-color: var(--notte); outline: 2px solid var(--notte); outline-offset: 1px; }
.page-shop .woocommerce .password-input { display: block; }
.page-shop .woocommerce .show-password-input { top: 50%; right: 12px; transform: translateY(-50%); }
.page-shop .woocommerce :is(button.button, a.button, input.button, .woocommerce-Button) { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--notte); color: #fff; font: 800 1.0625rem/1 var(--f-display); text-decoration: none; transition: background-color .2s; }
.page-shop .woocommerce :is(button.button, a.button, input.button, .woocommerce-Button):hover { background: var(--notte-scura); color: #fff; }
.page-shop .woocommerce .woocommerce-form-login__rememberme { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 400; }
.page-shop .woocommerce form.login .form-row:has(.woocommerce-form-login__submit) { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.page-shop .woocommerce .show-password-input { top: 50%; right: 6px; width: 44px; height: 44px; margin: 0; transform: translateY(-50%); background: none; }
.page-shop .woocommerce .show-password-input::before, .page-shop .woocommerce .show-password-input::after { content: ""; position: absolute; inset: 0; margin: auto; width: 20px; height: 20px; background: var(--notte); font-family: inherit; -webkit-mask: var(--eye) center / contain no-repeat; mask: var(--eye) center / contain no-repeat; }
.page-shop .woocommerce .show-password-input::before { display: none; }
.page-shop .woocommerce .show-password-input { --eye: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.06 12.35a1 1 0 0 1 0-.7 10.75 10.75 0 0 1 19.88 0 1 1 0 0 1 0 .7 10.75 10.75 0 0 1-19.88 0'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.page-shop .woocommerce .show-password-input.display-password { --eye: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.73 5.08A10.43 10.43 0 0 1 12 5c7 0 10 7 10 7a13.16 13.16 0 0 1-1.67 2.68'/%3E%3Cpath d='M6.61 6.61A13.53 13.53 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61'/%3E%3Cpath d='M9.88 9.88a3 3 0 1 0 4.24 4.24'/%3E%3Cpath d='m2 2 20 20'/%3E%3C/svg%3E"); }
.page-shop .woocommerce input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--notte); }
.page-shop .woocommerce .lost_password a { font-weight: 700; }
.page-shop .woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 24px; padding: 0; }
.page-shop .woocommerce-MyAccount-navigation a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--salvia-40); border-radius: 999px; background: #fff; color: var(--antracite); font: 700 1rem/1 var(--f-display); text-decoration: none; }
.page-shop .woocommerce-MyAccount-navigation .is-active a { border-color: var(--notte); background: var(--notte); color: #fff; }
.page-shop .woocommerce table.shop_table { border: var(--line); border-radius: 18px; border-collapse: separate; overflow: hidden; }
.page-shop .woocommerce table.shop_table :is(th, td) { padding: 12px 14px; border-color: var(--salvia-20); }
@media (min-width: 900px) {
	.page-shop .woocommerce-account .woocommerce-MyAccount-navigation, .page-shop .woocommerce-MyAccount-navigation { float: none; width: auto; }
	.page-shop .woocommerce-MyAccount-content { float: none; width: auto; }
	.page-shop .woocommerce .u-columns.col2-set { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
	.page-shop .woocommerce .u-columns.col2-set > div { float: none; width: auto; }
	.page-shop .woocommerce .u-columns.col2-set::before, .page-shop .woocommerce .u-columns.col2-set::after { display: none; }
}

/* ---------- Schermo d'accesso: accesso, registrazione, password per chi non è entrato ----------
   Pagina fissa senza testata né piè di pagina: non scorre la pagina, scorre solo il riquadro del modulo. Da computer a
   sinistra il lato scuro con i vantaggi; sul telefono una barra con il logo e «Torna al negozio». */
html.is-auth, body.is-auth { height: 100%; overflow: hidden; overscroll-behavior: none; }
body.is-auth { background: var(--salvia-10); }
.auth { position: fixed; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr); background: var(--salvia-10); }
.auth-panel { display: flex; flex-direction: column; min-width: 0; min-height: 0; height: 100%; }
.auth-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: max(10px, env(safe-area-inset-top)) var(--gutter) 10px; border-bottom: 1px solid var(--salvia-20); background: var(--salvia-10); }
.auth-logo { display: inline-flex; border-radius: 12px; }
.auth-logo-img { display: block; width: 104px; height: auto; }
.auth-back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px 0 10px; border-radius: 999px; background: #fff; color: var(--notte); font-weight: 700; text-decoration: none; box-shadow: 0 1px 3px rgba(76, 88, 76, .12); transition: background .2s; }
.auth-back:hover { background: var(--salvia-20); }
.auth-back .icon { width: 18px; height: 18px; }
.auth-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scrollbar-gutter: stable; }
.auth-inner { display: flex; flex-direction: column; justify-content: center; width: min(100% - 2 * var(--gutter), 480px); min-height: 100%; margin: 0 auto; padding: clamp(18px, 4vh, 40px) 0 max(28px, env(safe-area-inset-bottom)); animation: rise .6s var(--ease-out) both; }
.auth.is-register .auth-inner { width: min(100% - 2 * var(--gutter), 580px); }
.auth-title { margin: 0 0 .15em; color: var(--notte); font: 900 clamp(2rem, 1.55rem + 1.8vw, 2.875rem)/1.05 var(--f-display); letter-spacing: -.01em; }
.auth-lead { margin: 0 0 20px; color: var(--pietra); font-size: 1.0625rem; }
.auth .account-card { padding: clamp(20px, 3vw, 32px); }
.auth .account-card form.login, .auth .account-card form.register, .auth .account-card form.lost_reset_password { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; }
/* password dimenticata e nuova: titolo e testo li dà già lo schermo */
.auth .account-narrow { max-width: none; }
.auth .account-narrow > :is(h2, .account-card-lead), .auth .account-moon { display: none; }
.auth-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; margin: 22px 0 0; font-size: .9375rem; }
.auth-legal a { display: inline-flex; align-items: center; min-height: 44px; color: var(--pietra); }
/* registrazione dettagliata: gruppi con il loro titolo, nome e cognome affiancati, CAP stretto e città larga */
.page-shop .woocommerce .account-card fieldset.auth-group { min-width: 0; margin: 0 0 6px; padding: 0; border: 0; }
.page-shop .woocommerce .account-card fieldset.auth-group + fieldset.auth-group { padding-top: 16px; border-top: 1px solid var(--salvia-20); }
.page-shop .woocommerce .account-card fieldset.auth-group legend { margin: 0 0 6px; padding: 0; color: var(--notte); font: 800 1.125rem/1.3 var(--f-display); }
.auth-row { display: grid; gap: 0 12px; }
@media (min-width: 440px) {
	.auth-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.auth-row.is-cap { grid-template-columns: 8rem minmax(0, 1fr); }
}
.page-shop .woocommerce .auth-hint { margin: -6px 0 12px; }
.page-shop .woocommerce form .form-row select.auth-select { width: 100%; }
.auth-consents { padding-bottom: 4px; }
.page-shop .woocommerce .auth-consents label { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; min-height: 44px; margin: 0; font-weight: 400; line-height: 1.45; }
.page-shop .woocommerce .auth-consents input[type="checkbox"] { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--notte); }
.auth-consents a { font-weight: 700; }
.account-consent label { display: inline-flex; gap: 10px; align-items: start; }
/* il lato scuro, da computer */
.auth-brand { display: none; }
@media (min-width: 900px) {
	.auth { grid-template-columns: minmax(340px, 40%) minmax(0, 1fr); }
	.auth-brand { position: relative; grid-column: 1; grid-row: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; overflow: hidden; padding: clamp(32px, 4vw, 64px); background: var(--notte); color: #fff; }
	.auth-panel { grid-column: 2; grid-row: 1; }
	.auth-bar { justify-content: flex-end; border-bottom: 0; }
	.auth-logo { display: none; }
	.auth-brand-home { position: relative; align-self: flex-start; border-radius: 12px; }
	.auth-brand-mark { display: block; width: 132px; height: auto; }
	.auth-brand-body { position: relative; max-width: 440px; animation: rise .8s .08s var(--ease-out) both; }
	.auth-brand h2 { margin: 0 0 .55em; color: #fff; font: 900 clamp(1.75rem, 1.25rem + 1.3vw, 2.5rem)/1.1 var(--f-display); }
	.auth-brand-lead { margin: 0; color: rgba(255, 255, 255, .86); font-size: 1.0625rem; line-height: 1.5; }
	.auth-brand .account-perks strong { display: block; color: #fff; font: 800 1.0625rem/1.3 var(--f-display); }
	.auth-brand .btn { position: relative; }
	.auth-moon { position: absolute; right: -70px; bottom: -70px; width: 280px; height: auto; color: #fff; opacity: .07; pointer-events: none; }
	.auth-star { position: absolute; color: #fff; opacity: .5; pointer-events: none; animation: twinkle 3.2s ease-in-out infinite; }
	.auth-star.s1 { top: 14%; right: 16%; width: 16px; }
	.auth-star.s2 { top: 40%; right: 9%; width: 10px; animation-delay: 1.1s; }
	.auth-star.s3 { bottom: 22%; left: 46%; width: 12px; animation-delay: 2.1s; }
}
@media (prefers-reduced-motion: reduce) { .auth-inner, .auth-brand-body, .auth-star { animation: none; } }

/* Buono di benvenuto nella bacheca dell'account (fymera-core 59-benvenuto.php) */
.account-voucher { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; max-width: 760px; margin: 0 0 24px; padding: 18px 20px; border: 2px dashed var(--salvia-60); border-radius: var(--radius); background: #fff; }
.account-voucher .icon { width: 42px; height: 42px; padding: 10px; border-radius: 50%; background: var(--salvia-10); color: var(--notte); }
.account-voucher p { margin: 0; }
.account-voucher-title { margin-bottom: 4px !important; color: var(--notte); font: 800 1.125rem/1.3 var(--f-display); }
.account-voucher-code { padding: 2px 8px; border-radius: 8px; background: var(--salvia-10); color: var(--notte); font: 800 1rem/1.4 var(--f-display); letter-spacing: .04em; white-space: nowrap; }

/* ---------- Cassa su misura (Marco, 29/10: «rendila come tutto il sito») ----------
   Resta il blocco di WooCommerce (fattura, ritiro a Nettuno, gift card e pagamenti passano da lì), vestito come il
   negozio: ogni passo è una scheda con il suo numero, consegna, corriere e pagamento sono riquadri grandi, il
   riepilogo da computer resta di lato mentre si scorre, da telefono una barra in basso porta al pagamento (drim.js).
   I titoli dei passi sono in inc/checkout.php. */
.page-shop .wp-block-woocommerce-checkout { margin-top: 8px; }
.page-shop .wc-block-checkout__form { counter-reset: passo; }
.page-shop .wc-block-checkout__form > .wc-block-components-checkout-step { margin: 0 0 16px; padding: clamp(18px, 3vw, 28px); border: var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 14px 34px -28px rgba(76, 88, 76, .55); }
.page-shop .wc-block-checkout__form > .wc-block-components-checkout-step:has(.wc-block-components-checkout-step__title) { counter-increment: passo; }
.page-shop .wc-block-checkout__form > .tempi { margin: 0 0 16px; }
.page-shop .wc-block-checkout__form > .wc-block-components-checkout-step :is(.wc-block-components-checkout-step__container, .wc-block-components-checkout-step__content) { margin: 0; padding: 0; border: 0; }
.page-shop .wc-block-checkout__form > .wc-block-components-checkout-step::before, .page-shop .wc-block-checkout__form > .wc-block-components-checkout-step::after { content: none; }
.page-shop .wc-block-components-checkout-step__heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin: 0 0 16px; }
.page-shop .wc-block-checkout__form .wc-block-components-checkout-step__title { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--notte); font: 900 clamp(1.25rem, 1.1rem + .6vw, 1.5rem)/1.2 var(--f-display); }
.page-shop .wc-block-checkout__form > .wc-block-components-checkout-step .wc-block-components-checkout-step__title::before { content: counter(passo); display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--notte); color: #fff; font: 800 1rem/1 var(--f-display); }
.page-shop .wc-block-components-checkout-step__heading-content a { color: var(--notte); font-weight: 700; }
.page-shop .wc-block-components-checkout-step__description { margin: -6px 0 14px; color: var(--pietra); font-size: 1rem; }
.page-shop .wc-block-checkout__guest-checkout-notice { margin: 8px 0 0; color: var(--pietra); font-size: .9375rem; }
.page-shop .wc-block-checkout__form > #order-notes { padding-block: 14px; }
/* come lo ricevi: spedizione o ritiro come due riquadri grandi */
.page-shop .wc-block-checkout__shipping-method-container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0; border: 0; background: none; }
.page-shop .wc-block-checkout__shipping-method-option { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; min-height: 76px; margin: 0; padding: 14px 16px; border: 1.5px solid var(--salvia-40); border-radius: 18px; background: #fff; color: var(--notte); text-align: left; box-shadow: none; transition: border-color .2s, background-color .2s; }
.page-shop .wc-block-checkout__shipping-method-option:hover { border-color: var(--salvia-80); }
.page-shop .wc-block-checkout__shipping-method-option--selected { border-color: var(--notte); background: var(--salvia-10); box-shadow: none; }
.page-shop .wc-block-checkout__shipping-method-option-title { color: var(--notte); font: 800 1.0625rem/1.2 var(--f-display); }
.page-shop .wc-block-checkout__shipping-method-option-price { color: var(--pietra); font-size: .9375rem; }
.page-shop .wc-block-checkout__shipping-method-option .wc-block-checkout__shipping-method-option-icon { color: var(--notte); }
/* corriere, punto di ritiro e pagamento: riquadri staccati, quello scelto in verde salvia */
.page-shop .wc-block-checkout__form :is(.wc-block-components-radio-control, .wc-block-components-radio-control--highlight-checked) { display: grid; gap: 10px; border: 0; box-shadow: none; }
.page-shop .wc-block-checkout__form .wc-block-components-radio-control--highlight-checked::after { content: none; display: none; }
.page-shop .wc-block-checkout__form :is(.wc-block-components-radio-control__option, .wc-block-components-radio-control-accordion-option) { margin: 0; border: 1.5px solid var(--salvia-40); border-radius: 18px; background: #fff; box-shadow: none; }
.page-shop .wc-block-checkout__form .wc-block-components-radio-control__option { padding: 16px 18px 16px 56px; }
.page-shop .wc-block-checkout__form .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option { border: 0; background: none; }
.page-shop .wc-block-checkout__form :is(.wc-block-components-radio-control__option--checked-option-highlighted, .wc-block-components-radio-control-accordion-option--checked-option-highlighted) { border-color: var(--notte); background: var(--salvia-10); box-shadow: none; }
.page-shop .wc-block-checkout__form .wc-block-components-radio-control__input { left: 18px; width: 24px; height: 24px; border: 2px solid var(--salvia-80); }
.page-shop .wc-block-checkout__form .wc-block-components-radio-control__label { color: var(--notte); font: 800 1.0625rem/1.3 var(--f-display); }
.page-shop .wc-block-checkout__form .wc-block-components-radio-control__secondary-label { color: var(--antracite); font: 800 1.0625rem/1.3 var(--f-display); }
.page-shop .wc-block-checkout__form .wc-block-components-radio-control__description { color: var(--pietra); font-size: .9375rem; }
.page-shop .wc-block-checkout__form .wc-block-components-radio-control-accordion-content { padding: 0 18px 16px 56px; color: var(--pietra); font-size: 1rem; line-height: 1.5; }
/* consensi e condizioni in un riquadro leggero, poi il pulsante grande */
.page-shop .wc-block-checkout__terms { margin: 4px 0 16px; padding: 16px 18px; border: 0; border-radius: 18px; background: var(--salvia-10); }
.page-shop .wc-block-checkout__terms::before { content: none; }
.page-shop .wc-block-checkout__terms a { color: var(--notte); font-weight: 700; }
.page-shop .wc-block-checkout__actions { margin: 0 0 8px; }
.page-shop .wc-block-checkout__actions_row { display: flex; flex-wrap: wrap-reverse; align-items: center; justify-content: space-between; gap: 14px 20px; }
.page-shop .wc-block-checkout .wc-block-components-checkout-place-order-button.wc-block-components-button:not(.is-link) { min-height: 62px; padding: 0 32px; font: 800 1.125rem/1.2 var(--f-display); letter-spacing: .005em; box-shadow: 0 14px 30px -16px rgba(76, 88, 76, .8); }
.page-shop .wc-block-checkout .wc-block-components-checkout-place-order-button::before { content: ""; width: 18px; height: 18px; margin-right: 10px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center / contain no-repeat; }
.page-shop .wc-block-components-checkout-return-to-cart-button { display: inline-flex; align-items: center; min-height: 44px; color: var(--notte); font-weight: 700; }
@media (max-width: 699px) {
	.page-shop .wc-block-checkout__actions_row { flex-direction: column-reverse; align-items: stretch; }
	.page-shop .wc-block-checkout .wc-block-components-checkout-place-order-button.wc-block-components-button:not(.is-link) { width: 100%; min-height: 58px; padding: 0 18px; font-size: 1rem; }
	.page-shop .wc-block-components-checkout-return-to-cart-button { justify-content: center; }
	.page-shop .wc-block-checkout__shipping-method-option { min-height: 68px; }
}
/* riepilogo: da computer resta a fianco mentre si scorre */
@media (min-width: 1000px) {
	.page-shop .wc-block-checkout.is-large .wc-block-checkout__sidebar { position: sticky; top: calc(var(--header-h, 76px) + 20px); align-self: flex-start; }
	.page-shop .wc-block-checkout.is-large .wp-block-woocommerce-checkout-order-summary-block { padding: 6px 24px 10px; }
	.page-shop .wc-block-checkout.is-large .wp-block-woocommerce-checkout-order-summary-block :is(.wc-block-components-checkout-order-summary__title, .wc-block-components-order-summary, .wc-block-components-totals-item, .wc-block-components-totals-wrapper, .wc-block-components-panel, .wc-block-components-totals-coupon) { padding-left: 0; padding-right: 0; }
}
/* barra del totale da telefono (drim.js): finché il pulsante d'ordine non è in vista */
/* riga dei pagamenti accettati sotto il totale, in cassa (drim.js) e nel carrello */
.page-shop .wc-block-checkout .pay { margin: 10px 0 2px; }
.page-shop .cart_totals .pay { margin-top: 14px; justify-content: center; }
.pay-bar { display: none; }
@media (max-width: 699px) {
	.pay-bar { position: fixed; right: 0; bottom: 0; left: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gutter) max(10px, env(safe-area-inset-bottom)); border-top: var(--line); background: rgba(255, 255, 255, .96); box-shadow: 0 -12px 30px -22px rgba(76, 88, 76, .6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform .3s var(--ease-out); }
	.pay-bar.is-hidden { transform: translateY(110%); }
	.pay-bar-total { display: grid; line-height: 1.15; }
	.pay-bar-total small { color: var(--pietra); font-size: .875rem; }
	.pay-bar-total strong { color: var(--antracite); font: 900 1.375rem/1.15 var(--f-display); font-variant-numeric: tabular-nums; }
	.pay-bar .btn { min-height: 52px; padding: 0 22px; white-space: nowrap; }
	body:has(.pay-bar:not(.is-hidden)) .site-footer { padding-bottom: 84px; }
}

/* ---------- Recesso online (/mio-account/recesso/, art. 54-bis): la scelta «Da cosa recedi?» come le scelte della cassa ---------- */
.page-shop .woocommerce-OrderWithdrawalForm fieldset { margin: 4px 0 18px; padding: 0; border: 0; }
.page-shop .woocommerce-OrderWithdrawalForm fieldset legend { margin: 0 0 10px; padding: 0; border: 0; background: none; color: var(--antracite); font: 700 1rem/1.3 var(--f-text); }
.page-shop .woocommerce-order-withdrawal-content__radio-label { display: flex; align-items: center; gap: 12px; min-height: 52px; margin: 0 0 8px; padding: 12px 16px; border: 1.5px solid var(--salvia-40); border-radius: 14px; background: #fff; font-weight: 700; cursor: pointer; }
.page-shop .woocommerce-order-withdrawal-content__radio-label:has(input:checked) { border-color: var(--notte); box-shadow: inset 0 0 0 1px var(--notte); }
.page-shop .woocommerce-OrderWithdrawalForm input[type="radio"] { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--notte); }

/* ---------- Ordine ricevuto su misura (29/10): schede bianche come la cassa, righe con le foto, consegna e dati ---------- */
.thanks-card { margin-top: 18px; padding: clamp(18px, 3vw, 26px); border: var(--line); border-radius: 22px; background: #fff; }
.thanks-card-title { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); }
.thanks-card-title .icon { flex: none; width: 22px; height: 22px; color: var(--salvia); }
.thanks-rows { display: grid; margin: 0; }
.thanks-rows > div { display: grid; grid-template-columns: minmax(96px, 30%) minmax(0, 1fr); gap: 4px 14px; align-items: center; padding: 10px 0; border-top: 1px solid var(--salvia-20); }
.thanks-rows > div:first-child { padding-top: 0; border-top: 0; }
.thanks-rows dt { color: var(--pietra); font-size: .9375rem; }
.thanks-rows dd { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin: 0; color: var(--antracite); font-weight: 700; overflow-wrap: anywhere; }
.thanks-rows.is-compact > div { padding: 6px 0; }
.thanks-mono { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.thanks-note { margin: 14px 0 0; color: var(--pietra); font-size: .9375rem; }
.thanks-items { display: grid; margin: 0; padding: 0; list-style: none; }
.thanks-item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--salvia-20); }
.thanks-item:first-child { padding-top: 0; border-top: 0; }
.thanks-item-photo img { display: block; width: 64px; height: 64px; object-fit: cover; border-radius: 14px; background: var(--salvia-10); }
.thanks-item-text { display: grid; gap: 2px; min-width: 0; }
.thanks-item-name { color: var(--notte); font: 800 1rem/1.3 var(--f-display); text-decoration: none; overflow-wrap: anywhere; }
a.thanks-item-name:hover { text-decoration: underline; }
.thanks-item-meta, .thanks-item-qty { color: var(--pietra); font-size: .875rem; }
.thanks-item-price { color: var(--antracite); font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.thanks-totals { display: grid; margin: 14px 0 0; padding-top: 6px; border-top: var(--line); }
.thanks-totals > div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; }
.thanks-totals dt { color: var(--pietra); }
.thanks-totals dd { margin: 0; color: var(--antracite); text-align: right; font-variant-numeric: tabular-nums; }
.thanks-totals .is-total { margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--salvia-20); }
.thanks-totals .is-total :is(dt, dd) { color: var(--antracite); font: 800 1.125rem/1.3 var(--f-display); }
.thanks-totals .is-total .includes_tax { display: block; color: var(--pietra); font: 400 .8125rem/1.3 var(--f-text); }
.thanks-cols { display: grid; gap: 0 18px; }
@media (min-width: 760px) { .thanks-cols { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); align-items: start; } }
.thanks-card address { margin: 0; font-style: normal; line-height: 1.6; }
.thanks-card p { margin: 0; }
.thanks-line { display: flex; align-items: center; gap: 8px; margin: 10px 0 0 !important; color: var(--antracite); }
.thanks-line .icon { flex: none; width: 18px; height: 18px; color: var(--salvia); }
.thanks-sub { margin: 16px 0 6px !important; color: var(--notte); font: 800 1rem var(--f-display); }
.thanks-email { overflow-wrap: anywhere; }
@media (max-width: 480px) {
	.thanks-rows > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
	.thanks-item { grid-template-columns: 56px minmax(0, 1fr); }
	.thanks-item-photo img { width: 56px; height: 56px; }
	.thanks-item-price { grid-column: 2; }
}
/* i titoli delle schede stanno dentro .entry-content, che dà ai h2 un margine sopra: qui no */
.entry-content .thanks .thanks-card-title { margin: 0 0 14px; }
.thanks-rows .btn { min-height: 36px; padding: 0 14px; border: 1.5px solid var(--salvia-40); border-radius: 999px; background: #fff; color: var(--notte); font-size: .875rem; }
.thanks-rows .btn:hover { border-color: var(--notte); background: var(--salvia-10); }


/* cassa a 320 px (telefono piccolo o con lo zoom): qualcosa nei blocchi di WooCommerce sfora di 2 px a destra e la
   pagina si spostava di lato; il contenuto resta nel suo riquadro (10/11, controllo telefono al 100%) */
.page-shop .wc-block-checkout { overflow-x: clip; overflow-clip-margin: 0px; }
