/* Carrello e checkout (agente cart) - presentazione coerente con catalogo e scheda prodotto */
body.woocommerce-cart,body.woocommerce-checkout{--tm-lime:#BBF121;--tm-green:#415A2F;--tm-border:#E1E1E1;--tm-soft:#F5F5F5;--tm-head:'Syne',serif;--tm-body:'Outfit',sans-serif;--tm-gut:max(24px,calc((100% - 1232px)/2))}

/* ---------- fascia titolo (come il catalogo) ---------- */
body.woocommerce-cart .site-content,body.woocommerce-checkout .site-content{padding:0!important}
body.woocommerce-cart .page-header-content,body.woocommerce-checkout .page-header-content{background:var(--tm-soft);border-bottom:1px solid var(--tm-border);padding:40px var(--tm-gut) 36px;margin:0;text-align:left}
body.woocommerce-cart .woocommerce-breadcrumb,body.woocommerce-checkout .woocommerce-breadcrumb{font:400 14px/1.6 var(--tm-body)!important;color:#666;margin:0 0 18px!important;text-align:left}
body.woocommerce-cart .woocommerce-breadcrumb a,body.woocommerce-checkout .woocommerce-breadcrumb a{color:#666}
body.woocommerce-cart .woocommerce-breadcrumb a:hover,body.woocommerce-checkout .woocommerce-breadcrumb a:hover{color:var(--tm-green)}
body.woocommerce-cart .woocommerce-breadcrumb .delimiter,body.woocommerce-checkout .woocommerce-breadcrumb .delimiter{display:inline-block;margin:0 8px!important;opacity:.5;font-size:0!important}
body.woocommerce-cart .woocommerce-breadcrumb .delimiter::before,body.woocommerce-checkout .woocommerce-breadcrumb .delimiter::before{content:"/"!important;font:400 14px var(--tm-body)!important;color:#666;vertical-align:baseline}
body.woocommerce-cart h1.page-title,body.woocommerce-checkout h1.page-title{font:700 clamp(40px,5vw,72px)/1.15 var(--tm-head)!important;color:#000;margin:0!important;text-align:left;text-transform:none;letter-spacing:0}
body.woocommerce-cart .site-content>article,body.woocommerce-checkout .site-content>article{max-width:1280px;margin:0 auto;padding:40px 24px 72px}
body.woocommerce-cart .site-content>article{box-sizing:border-box;width:100%}
body.woocommerce-checkout .site-content>article{box-sizing:border-box;width:100%}
body.woocommerce-cart .entry-content,body.woocommerce-checkout .entry-content{margin:0;padding:0;max-width:none}
@media(max-width:767px){
 body.woocommerce-cart .page-header-content,body.woocommerce-checkout .page-header-content{padding:28px 16px 28px}
 body.woocommerce-cart .site-content>article,body.woocommerce-checkout .site-content>article{padding:24px 16px 48px}
 body.woocommerce-cart h1.page-title,body.woocommerce-checkout h1.page-title{font-size:40px!important}
}

/* ---------- tipografia generale blocchi ---------- */
.wc-block-cart,.wc-block-checkout{font-family:var(--tm-body);color:#222;font-size:15px}
.wc-block-cart a,.wc-block-checkout a{color:var(--tm-green)}
.wc-block-cart h2,.wc-block-cart h3,.wc-block-checkout h2,.wc-block-checkout h3,
.wc-block-components-title,.wc-block-components-checkout-step__title,.wc-block-cart__totals-title{font-family:var(--tm-head)!important;font-weight:700!important;color:#000;text-transform:none!important;letter-spacing:0!important}

/* ---------- layout a due colonne ---------- */
.wc-block-components-sidebar-layout{gap:40px;align-items:flex-start;display:flex;flex-wrap:nowrap}
.wc-block-components-sidebar-layout .wc-block-components-main{flex:1 1 0;min-width:0;width:auto!important;padding:0!important;margin:0!important}
.wc-block-components-sidebar-layout .wc-block-components-sidebar{flex:0 0 380px;width:380px!important;padding:28px!important;margin:0!important;position:static}
.wc-block-components-sidebar-layout.is-medium,.wc-block-components-sidebar-layout.is-small,.wc-block-components-sidebar-layout.is-mobile{flex-direction:column}
.wc-block-components-sidebar-layout.is-medium .wc-block-components-sidebar,.wc-block-components-sidebar-layout.is-small .wc-block-components-sidebar,.wc-block-components-sidebar-layout.is-mobile .wc-block-components-sidebar{flex:none;width:100%!important;position:static}
.wc-block-components-sidebar-layout.is-medium .wc-block-components-main,.wc-block-components-sidebar-layout.is-small .wc-block-components-main,.wc-block-components-sidebar-layout.is-mobile .wc-block-components-main{width:100%!important;flex:none}
@media(max-width:767px){.wc-block-cart__sidebar,.wc-block-checkout__sidebar,.wc-block-components-sidebar-layout .wc-block-components-sidebar{padding:22px 18px!important}}
@media(max-width:1024px){.wc-block-components-sidebar-layout{flex-direction:column;gap:32px}.wc-block-components-sidebar-layout .wc-block-components-sidebar{flex:none;width:100%!important;position:static}.wc-block-components-sidebar-layout .wc-block-components-main{flex:none;width:100%!important}}

/* ---------- carrello: righe prodotto ---------- */
table.wc-block-cart-items{border:0!important;border-collapse:collapse;border-spacing:0;width:100%;margin:0}
table.wc-block-cart-items thead th{font:700 12px var(--tm-head)!important;text-transform:uppercase;letter-spacing:.08em;color:#666;padding:0 0 14px!important;border:0!important;border-bottom:1px solid var(--tm-border)!important;background:none}
table.wc-block-cart-items thead .wc-block-cart-items__header-total{text-align:right}
table.wc-block-cart-items .wc-block-cart-items__row{border:0!important}
table.wc-block-cart-items .wc-block-cart-items__row td{padding:24px 0!important;border:0!important;border-bottom:1px solid var(--tm-border)!important;vertical-align:top;background:none}
table.wc-block-cart-items .wc-block-cart-item__image{width:132px;padding-right:22px!important}
table.wc-block-cart-items .wc-block-cart-item__image a{display:block;background:var(--tm-soft);border-radius:16px;overflow:hidden;width:110px;height:110px;position:relative}
table.wc-block-cart-items .wc-block-cart-item__image img{width:100%!important;height:100%!important;max-width:none;object-fit:contain;mix-blend-mode:multiply;padding:8px;display:block;margin:0!important}
.wc-block-cart-item__wrap{display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.wc-block-cart-item__wrap>*{margin:0!important}
.wc-block-components-product-name{font:700 17px/1.3 var(--tm-head)!important;color:#000!important;text-decoration:none!important}
.wc-block-components-product-name:hover{color:var(--tm-green)!important}
.wc-block-cart-item__prices,.wc-block-components-product-price{font:400 14px var(--tm-body);color:#666}
.wc-block-components-product-price__value{font-family:var(--tm-head);font-weight:700;color:#000}
.wc-block-cart-item__total .wc-block-components-product-price__value{font-size:17px}
.wc-block-components-product-price del,.wc-block-components-product-price__regular{font:400 14px var(--tm-body)!important;color:#999!important;margin-right:6px}
.wc-block-components-product-price ins{text-decoration:none}
.wc-block-components-product-metadata,.wc-block-components-product-details{font:400 14px var(--tm-body);color:#666;margin:0}
.wc-block-components-product-details__name{font-weight:600;color:#000}
.wc-block-components-product-metadata__description{display:none}
.wc-block-cart-item__total{text-align:right;padding-left:16px!important}
.wc-block-cart-item__total .wc-block-cart-item__total-price-and-sale-badge-wrapper{display:flex;flex-direction:column;align-items:flex-end;gap:6px}
.wc-block-components-sale-badge{background:var(--tm-lime)!important;color:#000!important;border:0!important;border-radius:30px!important;font:700 11px/1.3 var(--tm-head)!important;text-transform:uppercase;padding:5px 12px!important;white-space:nowrap}
.wc-block-cart-item__quantity{display:flex;align-items:center;gap:16px;margin-top:6px}
.wc-block-cart-item__remove-link{font:500 13px var(--tm-body)!important;color:#666!important;text-decoration:underline!important;background:none!important;border:0!important;padding:0!important;cursor:pointer}
.wc-block-cart-item__remove-link:hover{color:#B3261E!important}

/* ---------- quantita' +/- ---------- */
.wc-block-components-quantity-selector{display:inline-flex!important;align-items:center;border:1.5px solid var(--tm-border)!important;border-radius:30px!important;background:#fff!important;width:auto!important;height:44px;margin:0!important;box-shadow:none!important;overflow:hidden}
.wc-block-components-quantity-selector::after{display:none!important;border:0!important}
.wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input{font:700 15px var(--tm-head)!important;color:#000!important;border:0!important;background:transparent!important;width:38px!important;min-width:0;height:100%!important;padding:0!important;text-align:center;box-shadow:none!important;-moz-appearance:textfield}
.wc-block-components-quantity-selector__button{background:transparent!important;border:0!important;color:#000!important;opacity:1!important;font:700 18px var(--tm-head)!important;width:38px;height:100%;min-width:0;padding:0!important;cursor:pointer;box-shadow:none!important;transition:.2s}
.wc-block-components-quantity-selector__button:hover:not(:disabled){background:var(--tm-lime)!important}
.wc-block-components-quantity-selector__button:disabled{opacity:.35!important;cursor:not-allowed}

/* ---------- riepilogo (card) ---------- */
.wc-block-cart__sidebar,.wc-block-checkout__sidebar{background:var(--tm-soft);border-radius:20px;padding:28px!important;box-sizing:border-box}
.wc-block-components-sidebar.wc-block-cart__sidebar{padding:28px!important}
.wc-block-cart__totals-title{font-size:22px!important;margin:0 0 16px!important;padding:0!important;border:0!important;text-align:left!important;text-transform:none!important}
.wc-block-components-totals-wrapper{padding:16px 0!important;border-top:1px solid var(--tm-border)!important;border-bottom:0!important}
.wc-block-components-totals-wrapper:first-child,.wc-block-cart__totals-title+.wc-block-components-totals-wrapper{border-top:0!important}
.wc-block-components-totals-item{font:400 15px var(--tm-body);color:#222}
.wc-block-components-totals-item__label{font-family:var(--tm-body)}
.wc-block-components-totals-item__value{font:700 15px var(--tm-head);color:#000}
.wc-block-components-totals-item__description{font-size:13px;color:#666}
.wc-block-components-totals-footer-item{padding:4px 0}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label{font:700 18px var(--tm-head)!important;color:#000}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,.wc-block-components-totals-footer-item .wc-block-components-formatted-money-amount{font:700 26px var(--tm-head)!important;color:#000}
.wc-block-components-totals-footer-item-tax{font-size:13px;color:#666}
.wc-block-components-totals-discount .wc-block-components-totals-item__value{color:var(--tm-green)}
.wc-block-components-totals-coupon__form{gap:8px}

/* codice sconto */
.wc-block-components-totals-coupon .wc-block-components-panel__button{font:700 14px var(--tm-head)!important;color:#000!important;padding:0!important;background:none!important;box-shadow:none!important;border:0!important}
.wc-block-components-totals-coupon .wc-block-components-panel__button:focus{outline:none;box-shadow:none}
.wc-block-components-totals-coupon .wc-block-components-panel__content{padding:14px 0 0!important}
.wc-block-components-totals-coupon__form{display:flex;gap:10px;align-items:flex-start}
.wc-block-components-totals-coupon__input{flex:1}
.wc-block-components-totals-coupon__button{flex:none;height:56px!important;min-width:0!important;padding:0 22px!important}

/* ---------- campi form ---------- */
.wc-block-components-text-input input,.wc-block-components-text-input textarea,.wc-block-components-textarea,
.wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
.wc-block-components-country-input select,.wc-block-components-state-input select,.wc-blocks-components-select .wc-blocks-components-select__select,
.wc-block-checkout__add-note textarea,.wc-block-components-address-form input{font:400 16px var(--tm-body)!important;color:#000!important;background:#fff!important;border:1.5px solid var(--tm-border)!important;border-radius:14px!important;box-shadow:none!important;transition:border-color .2s,box-shadow .2s}
.wc-block-components-text-input input,.wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input{height:56px;padding:22px 16px 6px!important}
.wc-block-components-textarea,.wc-block-checkout__add-note textarea{padding:14px 16px!important;border-radius:14px!important;min-height:96px}
.wc-block-components-text-input label,.wc-block-components-combobox .components-base-control__label,.wc-blocks-components-select__label{font-family:var(--tm-body)!important;color:#666!important}
.wc-block-components-text-input input:focus,.wc-block-components-textarea:focus,.wc-block-checkout__add-note textarea:focus,.wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input:focus,.wc-blocks-components-select .wc-blocks-components-select__select:focus,.wc-block-components-country-input select:focus{border-color:var(--tm-green)!important;box-shadow:0 0 0 3px rgba(187,241,33,.45)!important;outline:none!important}
.wc-blocks-components-select .wc-blocks-components-select__container{border-radius:14px!important;background:#fff}
.wc-blocks-components-select .wc-blocks-components-select__select{height:56px;padding:22px 36px 6px 16px!important}
.wc-block-components-text-input.has-error input,.wc-block-components-combobox.has-error input,.wc-blocks-components-select.has-error select{border-color:#B3261E!important;box-shadow:0 0 0 3px rgba(179,38,30,.12)!important}
.wc-block-components-validation-error,.wc-block-components-validation-error p{font:500 13px var(--tm-body)!important;color:#B3261E!important;margin:6px 0 0!important}
.wc-block-components-address-form{gap:0}

/* ---------- pulsanti (pillola lime) ---------- */
.wc-block-components-button:not(.is-link),.wc-block-cart__submit-button,.wc-block-components-checkout-place-order-button{background:var(--tm-lime)!important;color:#000!important;border:0!important;border-radius:30px!important;font:700 17px/1.2 var(--tm-head)!important;padding:16px 34px!important;min-height:56px;box-shadow:none!important;text-transform:none!important;letter-spacing:0!important;transition:.2s;cursor:pointer}
.wc-block-components-button:not(.is-link):hover:not(:disabled),.wc-block-cart__submit-button:hover,.wc-block-components-checkout-place-order-button:hover:not(:disabled){background:var(--tm-green)!important;color:#fff!important}
.wc-block-components-button:not(.is-link) .wc-block-components-button__text{font:inherit!important;color:inherit!important}
.wc-block-components-button:not(.is-link):disabled{opacity:.55;cursor:not-allowed}
.wc-block-components-button:not(.is-link):focus-visible{outline:3px solid var(--tm-green)!important;outline-offset:2px}
.wc-block-components-totals-coupon__button.wc-block-components-button{background:#000!important;color:#fff!important;font-size:14px!important;min-height:0}
.wc-block-components-totals-coupon__button.wc-block-components-button:hover:not(:disabled){background:var(--tm-green)!important}
.wc-block-cart__submit-container{padding:8px 0 0!important}
.wc-block-cart__submit-button{width:100%;text-align:center;display:flex;align-items:center;justify-content:center}
.wc-block-components-button.is-link,.wc-block-components-checkout-return-to-cart-button{font:600 14px var(--tm-body)!important;color:var(--tm-green)!important;background:none!important;text-decoration:underline}

/* ---------- checkout: struttura e passaggi ---------- */
.wc-block-components-totals-wrapper:empty{display:none!important}
.wc-block-checkout__main,.wc-block-checkout__form{padding:0!important}
.wc-block-components-checkout-step{padding:0!important;margin:0 0 36px!important;border:0!important}
.wc-block-components-checkout-step::before{display:none!important}
.wc-block-components-checkout-step__heading{margin:0 0 18px!important}
.wc-block-components-checkout-step__title{font-size:22px!important;line-height:1.2;margin:0!important}
.wc-block-components-checkout-step__description{font:400 14px var(--tm-body);color:#666;margin:0 0 14px}
.wc-block-components-checkout-step__container{padding:0!important}
.wc-block-checkout__sidebar .wc-block-components-order-summary__button-text,.wc-block-checkout__sidebar .wc-block-components-title{font:700 22px var(--tm-head)!important}
.wc-block-checkout__sidebar .wc-block-components-totals-wrapper:first-child{padding-top:0!important}
.wc-block-components-checkout-step .wc-block-components-address-form__address_2-toggle,.wc-block-components-address-form__address_2-toggle{font:500 14px var(--tm-body)!important;color:var(--tm-green)!important;text-decoration:underline;margin:6px 0 0}
.wc-block-checkout__guest-checkout-notice,.wc-block-checkout__login-prompt{font:400 14px var(--tm-body);color:#666}

/* riepilogo ordine nel checkout */
.wc-block-components-order-summary-item{padding:14px 0!important}
.wc-block-components-order-summary-item__image{width:64px!important;background:#fff;border-radius:12px;overflow:visible;padding:0!important;position:relative}
.wc-block-components-order-summary-item__image img{width:64px!important;height:64px;object-fit:contain;mix-blend-mode:multiply;border-radius:12px;padding:4px;box-sizing:border-box}
.wc-block-components-order-summary-item__quantity{background:#000!important;color:#fff!important;border:2px solid var(--tm-soft)!important;box-shadow:none!important;font:700 11px/1 var(--tm-head)!important;min-width:22px;height:22px;display:grid;place-items:center;padding:0 5px!important;border-radius:30px!important;top:-8px;right:-8px}
.wc-block-components-order-summary-item__description{padding-left:16px!important;padding-right:0!important}
.wc-block-components-order-summary-item__total-price{font:700 15px var(--tm-head)!important;color:#000}
.wc-block-components-order-summary .wc-block-components-product-name{font-size:15px!important}
.wc-block-components-order-summary .wc-block-components-product-metadata__description{display:none}
.wc-block-components-order-summary .wc-block-components-product-price{font-size:13px}
.wc-block-components-order-summary-item__individual-prices{display:none}
.wc-block-components-order-summary-item .wc-block-components-sale-badge{margin-top:4px}

/* ---------- radio personalizzati (spedizione e pagamento) ---------- */
.wc-block-components-radio-control{display:grid;gap:10px}
.wc-block-components-radio-control__option,.wc-block-components-radio-control-accordion-option{border:1.5px solid var(--tm-border)!important;border-radius:14px!important;background:#fff!important;padding:16px 18px 16px 52px!important;margin:0!important;box-shadow:none!important;position:relative;transition:border-color .2s,box-shadow .2s,background .2s}
.wc-block-components-radio-control__option-layout{padding:0}
.wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option,.wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option:has(:checked){border:0!important;border-radius:0!important;padding:0 0 0 34px!important;background:transparent!important;box-shadow:none!important}
.wc-block-components-radio-control-accordion-option{padding:16px 18px!important}
.wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__input{left:0!important}
.wc-block-components-radio-control__option-layout{width:100%}
.wc-block-components-radio-control__option:has(:checked),.wc-block-components-radio-control-accordion-option:has(:checked){border-color:var(--tm-green)!important;box-shadow:0 0 0 1px var(--tm-green)!important;background:#fff!important}
.wc-block-components-radio-control__option-checked{font-weight:inherit}
.wc-block-components-radio-control__option::after,.wc-block-components-radio-control-accordion-option::after{display:none!important}
.wc-block-components-radio-control .wc-block-components-radio-control__input{-webkit-appearance:none;appearance:none;position:absolute;left:18px;top:50%;transform:translateY(-50%);width:22px!important;height:22px!important;min-width:22px;margin:0!important;border:2px solid #bbb!important;border-radius:50%!important;background:#fff!important;box-shadow:none!important;cursor:pointer;transition:.15s}
.wc-block-components-radio-control .wc-block-components-radio-control__input:checked{border-color:var(--tm-green)!important;background:radial-gradient(circle,var(--tm-green) 0 5px,#fff 5.5px)!important}
.wc-block-components-radio-control .wc-block-components-radio-control__input:checked::before{display:none!important}
.wc-block-components-radio-control .wc-block-components-radio-control__input:focus-visible{outline:3px solid var(--tm-lime);outline-offset:2px}
.wc-block-components-radio-control__label,.wc-block-components-radio-control__description,.wc-block-components-radio-control__secondary-label{font:600 15px var(--tm-body)!important;color:#000}
.wc-block-components-radio-control__label{font-family:var(--tm-head)!important;font-weight:700!important;font-size:15px!important}
.wc-block-components-radio-control__description,.wc-block-components-radio-control__secondary-description{font:400 14px var(--tm-body)!important;color:#666;margin-top:4px}
.wc-block-components-radio-control__secondary-label{font:700 15px var(--tm-head)!important}
.wc-block-components-radio-control__option-layout .wc-block-components-radio-control__label-group{display:flex;justify-content:space-between;gap:12px}
.wc-block-components-radio-control-accordion-content{padding:10px 0 0 34px!important;font:400 14px var(--tm-body);color:#555}
.wc-block-components-radio-control-accordion-content:empty{display:none}

/* ---------- checkbox personalizzati ---------- */
.wc-block-components-checkbox{margin:14px 0 0}
.wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]{-webkit-appearance:none;appearance:none;width:22px!important;height:22px!important;min-width:22px;border:1.5px solid #bbb!important;border-radius:7px!important;background:#fff!important;margin:0!important;box-shadow:none!important;cursor:pointer;transition:.15s}
.wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:checked{background:var(--tm-green)!important;border-color:var(--tm-green)!important}
.wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:focus-visible{outline:3px solid var(--tm-lime);outline-offset:2px}
.wc-block-components-checkbox .wc-block-components-checkbox__mark{width:22px!important;height:22px!important;left:0;top:50%;transform:translateY(-50%);margin:0!important;fill:none!important;stroke:#fff;stroke-width:2;display:block}
.wc-block-components-checkbox .wc-block-components-checkbox__mark path{fill:#fff!important;stroke:none!important}
.wc-block-components-checkbox__label{font:400 15px/1.4 var(--tm-body)!important;color:#222}
.wc-block-components-checkbox>label,.wc-block-components-checkbox{display:flex}
.wc-block-components-checkbox label{display:flex!important;align-items:center;gap:12px;position:relative}

/* nota ordine, termini, azioni */
.wc-block-checkout__add-note{margin:0 0 28px}
.wc-block-checkout__add-note .wc-block-components-textarea{margin-top:14px;width:100%}
.wc-block-checkout__terms{font:400 13px/1.5 var(--tm-body)!important;color:#666;margin:0 0 20px!important;padding:18px 0 0;border-top:1px solid var(--tm-border)}
.wc-block-checkout__terms a{color:var(--tm-green)!important;text-decoration:underline}
.wc-block-checkout__actions{padding:0!important;margin:0!important}
.wc-block-checkout__actions_row{display:flex;align-items:center;gap:24px;flex-wrap:wrap}
.wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button{flex:1 1 260px}
.wc-block-components-checkout-return-to-cart-button{font:600 14px var(--tm-body)!important;color:var(--tm-green)!important;display:inline-flex;align-items:center;gap:6px}
.wc-block-components-checkout-return-to-cart-button svg{fill:currentColor}

/* avvisi e messaggi */
.wc-block-components-notice-banner{font:400 14px/1.5 var(--tm-body)!important;border-radius:14px!important;border-width:1.5px!important;padding:14px 18px!important;margin:0 0 20px!important}
.wc-block-components-notice-banner.is-error{background:#FDECEA!important;border-color:#B3261E!important;color:#5f1511!important}
.wc-block-components-notice-banner.is-success{background:#F1FBD3!important;border-color:var(--tm-green)!important;color:#243517!important}
.wc-block-components-notice-banner.is-info,.wc-block-components-notice-banner.is-warning{background:#FFF4DC!important;border-color:#E8C773!important;color:#7a5200!important}
.wc-block-components-notice-banner>svg{fill:currentColor!important;background:transparent!important}
.wc-block-components-notice-banner a{color:inherit!important;text-decoration:underline}
.wc-block-components-notice-banner .wc-block-components-button{background:none!important;color:inherit!important;min-height:0;padding:0!important}

.wc-block-components-order-summary-item{display:grid!important;grid-template-columns:64px 1fr auto;column-gap:14px;align-items:start;border-bottom:1px solid var(--tm-border)}
.wc-block-components-order-summary-item:last-child{border-bottom:0}
.wc-block-components-order-summary-item__image{grid-column:1;width:64px!important;height:64px;margin:0!important}
.wc-block-components-order-summary-item__description{grid-column:2;padding:0!important;width:auto!important;min-width:0}
.wc-block-components-order-summary-item__total-price{grid-column:3;margin:0!important;text-align:right!important;white-space:nowrap}
.wc-block-components-order-summary-item__description .wc-block-components-product-name{display:block;margin-bottom:4px}
.wc-block-components-order-summary__content{padding:0!important}
.wc-block-components-order-summary-item__total-price .wc-block-components-sale-badge{display:none}

/* ---------- ordine ricevuto / account (markup classico WooCommerce) ---------- */
.woocommerce-order{font:400 16px/1.6 var(--tm-body);color:#222}
.woocommerce-order .woocommerce-notice--success,.woocommerce-thankyou-order-received{background:#F1FBD3;border:1.5px solid var(--tm-green);color:#243517;border-radius:20px;padding:22px 26px;margin:0 0 28px;font:700 20px/1.3 var(--tm-head)}
.woocommerce-order ul.woocommerce-order-overview,ul.order_details{list-style:none;margin:0 0 36px;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:16px}
.woocommerce-order ul.woocommerce-order-overview li,ul.order_details li{background:var(--tm-soft);border:0;border-radius:16px;padding:18px 20px;margin:0;float:none;font:700 12px var(--tm-head);text-transform:uppercase;letter-spacing:.08em;color:#666}
.woocommerce-order ul.woocommerce-order-overview li strong,ul.order_details li strong{display:block;margin-top:8px;font:700 17px/1.3 var(--tm-head);text-transform:none;letter-spacing:0;color:#000;word-break:break-word}
.woocommerce-order .woocommerce-order-overview__payment-method,.woocommerce-order>p:not(.woocommerce-notice){color:#444}
.woocommerce-order h2,.woocommerce-order-details__title,.woocommerce-column__title,.woocommerce-order-downloads__title{font:700 26px/1.2 var(--tm-head)!important;color:#000;margin:0 0 18px!important;text-transform:none;letter-spacing:0}
.woocommerce-order-details,.woocommerce-customer-details{margin:0 0 36px}
.woocommerce-order table.shop_table{width:100%;border:1.5px solid var(--tm-border)!important;border-radius:20px!important;border-collapse:separate!important;border-spacing:0;overflow:hidden;background:#fff;margin:0}
.woocommerce-order table.shop_table th,.woocommerce-order table.shop_table td{padding:16px 22px!important;border:0!important;border-bottom:1px solid var(--tm-border)!important;font:400 15px/1.5 var(--tm-body);color:#222;text-align:left;vertical-align:top;background:none}
.woocommerce-order table.shop_table thead th{background:var(--tm-soft);font:700 12px var(--tm-head);text-transform:uppercase;letter-spacing:.08em;color:#666}
.woocommerce-order table.shop_table th:last-child,.woocommerce-order table.shop_table td:last-child{text-align:right}
.woocommerce-order table.shop_table tfoot th{font:700 15px var(--tm-head);color:#000;text-align:left}
.woocommerce-order table.shop_table tfoot tr:last-child th,.woocommerce-order table.shop_table tfoot tr:last-child td,.woocommerce-order table.shop_table tbody tr:last-child td{border-bottom:0!important}
.woocommerce-order table.shop_table tfoot tr:nth-last-child(2) td,.woocommerce-order table.shop_table tfoot tr:nth-last-child(2) th{font-weight:700;font-size:17px}
.woocommerce-order table.shop_table td.product-name a{font:700 15px var(--tm-head);color:#000}
.woocommerce-order table.shop_table td .woocommerce-Price-amount{font-family:var(--tm-head);font-weight:700;color:#000}
.woocommerce-order table.shop_table .product-quantity{font-weight:400;color:#666}
.woocommerce-order table.shop_table small.includes_tax,.woocommerce-order table.shop_table .shipped_via{font:400 12px var(--tm-body);color:#666}
.woocommerce-order .wc-item-meta{list-style:none;margin:6px 0 0;padding:0;font-size:13px;color:#666}
.woocommerce-order .wc-item-meta p{margin:0;display:inline}
.woocommerce-customer-details .woocommerce-columns--addresses{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.woocommerce-customer-details .woocommerce-columns--addresses::before,.woocommerce-customer-details .woocommerce-columns--addresses::after{display:none}
.woocommerce-customer-details .woocommerce-column{width:auto!important;float:none!important;background:var(--tm-soft);border-radius:20px;padding:24px 28px}
.woocommerce-customer-details address{font:400 15px/1.7 var(--tm-body);font-style:normal;border:0!important;padding:0!important;margin:0;color:#222;text-transform:none}
.woocommerce-customer-details address p{margin:6px 0 0}
.woocommerce-order a.button,.woocommerce-order .button{background:var(--tm-lime)!important;color:#000!important;border-radius:30px!important;font:700 15px var(--tm-head)!important;padding:14px 28px!important;border:0!important}
.woocommerce-order a.button:hover,.woocommerce-order .button:hover{background:var(--tm-green)!important;color:#fff!important}
.woocommerce-order .woocommerce-thankyou-order-failed{background:#FDECEA;border:1.5px solid #B3261E;color:#5f1511;border-radius:20px;padding:20px 24px;font:700 17px var(--tm-head)}
@media(max-width:767px){
 .woocommerce-customer-details .woocommerce-columns--addresses{grid-template-columns:1fr}
 .woocommerce-order table.shop_table th,.woocommerce-order table.shop_table td{padding:13px 16px!important}
 .woocommerce-order h2,.woocommerce-order-details__title,.woocommerce-column__title{font-size:22px!important}
 .woocommerce-order ul.woocommerce-order-overview{grid-template-columns:1fr 1fr}
}
.woocommerce-order ul.woocommerce-order-overview,.woocommerce-order ul.order_details{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important;gap:16px!important;width:100%!important}
.woocommerce-order ul.woocommerce-order-overview li{width:auto!important;margin:0!important;flex:none!important;border:0!important;min-width:0}
.woocommerce-order ul.woocommerce-order-overview li::after,.woocommerce-order ul.woocommerce-order-overview li::before{display:none!important}
.woocommerce-order .woocommerce-customer-details .woocommerce-columns--addresses{display:grid!important;grid-template-columns:1fr 1fr!important;gap:20px!important;width:100%!important;max-width:none!important;margin:0!important}
.woocommerce-customer-details .woocommerce-column__title{font-size:20px!important;margin-bottom:12px!important}
.woocommerce-order-details+.woocommerce-customer-details,.woocommerce-order .woocommerce-order-overview__payment-method{margin-top:0}
.woocommerce-order>p{margin:0 0 28px}
@media(max-width:767px){.woocommerce-order .woocommerce-customer-details .woocommerce-columns--addresses{grid-template-columns:1fr!important}.woocommerce-order ul.woocommerce-order-overview{grid-template-columns:1fr 1fr!important}}
.woocommerce-order ul.woocommerce-order-overview li strong{font:700 16px/1.3 var(--tm-head)!important;color:#000!important;text-transform:none!important;letter-spacing:0!important;display:block;margin-top:8px}
.woocommerce-order>p:not(.woocommerce-notice):not(.woocommerce-thankyou-order-received),.woocommerce-order .woocommerce-order-overview__payment-method+p{font:400 15px/1.6 var(--tm-body)!important;color:#444}
.woocommerce-order ul.woocommerce-order-overview{margin-bottom:24px!important}

/* ---------- carrello vuoto ---------- */
.wp-block-woocommerce-empty-cart-block{text-align:center;max-width:1100px;margin:0 auto;padding:24px 0 8px}
.wc-block-cart__empty-cart__title,.wp-block-woocommerce-empty-cart-block h2.with-empty-cart-icon{font:700 clamp(26px,3.2vw,36px)/1.2 var(--tm-head)!important;color:#000;margin:0 0 12px!important;text-align:center}
.wp-block-woocommerce-empty-cart-block h2.with-empty-cart-icon::before{width:84px!important;height:84px!important;margin:0 auto 22px!important;background-color:var(--tm-soft)!important;border-radius:50%;-webkit-mask:none!important;mask:none!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23415A2F' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 7h12l-1 12H7L6 7z'/%3E%3Cpath d='M9 7a3 3 0 0 1 6 0'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:center!important;background-size:38px!important;display:block!important;content:""!important}
.tm-empty-cart__text{font:400 17px/1.6 var(--tm-body);color:#666;margin:0 auto 24px;max-width:520px}
.tm-empty-cart__cta{margin:0 0 8px}
.tm-empty-cart__btn{display:inline-block;background:var(--tm-lime);color:#000!important;font:700 17px/1.2 var(--tm-head);padding:16px 34px;border-radius:30px;text-decoration:none!important;transition:.2s}
.tm-empty-cart__btn:hover{background:var(--tm-green);color:#fff!important}
.wp-block-woocommerce-empty-cart-block hr.wp-block-separator{border:0!important;border-top:1px solid var(--tm-border)!important;height:0!important;width:100%!important;max-width:none!important;margin:44px 0 40px!important;background:none!important;opacity:1}
.wp-block-woocommerce-empty-cart-block hr.wp-block-separator::before{display:none!important}
.wp-block-woocommerce-empty-cart-block h2.wp-block-heading:not(.with-empty-cart-icon){font:700 clamp(24px,2.6vw,32px)/1.2 var(--tm-head)!important;color:#000;margin:0 0 28px!important;text-align:left}
.wc-block-grid__products{display:grid!important;grid-template-columns:repeat(4,1fr);gap:20px;margin:0!important;padding:0!important;list-style:none}
.wc-block-grid__product{background:var(--tm-soft)!important;border-radius:16px;overflow:hidden;padding:0 0 22px!important;margin:0!important;width:auto!important;max-width:none!important;flex:none!important;text-align:left;position:relative;border:0!important;display:flex;flex-direction:column}
.wc-block-grid__product-link{text-decoration:none!important;color:inherit;display:block}
.wc-block-grid__product-image{background:var(--tm-soft)!important;margin:0!important}
.wc-block-grid__product-image img{width:100%!important;aspect-ratio:1/1;object-fit:contain;mix-blend-mode:multiply;padding:14px;display:block;margin:0!important}
.wc-block-grid__product-title{font:700 17px/1.25 var(--tm-head)!important;color:#000;padding:4px 20px 0;margin:0 0 8px!important}
.wc-block-grid__product-price{font:700 17px var(--tm-head);color:#000;padding:0 20px;margin:0 0 14px!important;text-align:left!important}
.wc-block-grid__product-price del{font:400 14px var(--tm-body);color:#999;margin-right:6px}
.wc-block-grid__product-price ins{text-decoration:none;background:none}
.wc-block-grid__product-onsale{position:absolute;top:12px;left:12px;right:auto!important;z-index:3;background:var(--tm-lime)!important;color:#000!important;border:0!important;border-radius:30px!important;font:700 11px/1.3 var(--tm-head)!important;text-transform:uppercase;padding:5px 12px!important;min-height:0}
.wc-block-grid__product-add-to-cart{margin:auto 0 0!important;padding:0 20px;text-align:left!important}
.wc-block-grid__product-add-to-cart .wp-block-button__link{background:var(--tm-green)!important;color:#fff!important;border-radius:30px!important;font:700 14px var(--tm-head)!important;padding:11px 22px!important;border:0!important;transition:.2s;display:inline-block}
.wc-block-grid__product-add-to-cart .wp-block-button__link:hover{background:var(--tm-lime)!important;color:#000!important}
@media(max-width:1024px){.wc-block-grid__products{grid-template-columns:repeat(2,1fr)}}
@media(max-width:480px){.wc-block-grid__products{gap:12px}.wc-block-grid__product-title,.wc-block-grid__product-price,.wc-block-grid__product-add-to-cart{padding-left:14px;padding-right:14px}}
.wp-block-woocommerce-empty-cart-block{max-width:none}
.wc-block-grid__product-link,.wc-block-grid__product-title{text-align:left!important}
table.wc-block-cart-items .wc-block-cart-items__row>td{display:table-cell}
.wc-block-cart.is-small table.wc-block-cart-items .wc-block-cart-items__row>td,.wc-block-cart.is-mobile table.wc-block-cart-items .wc-block-cart-items__row>td{display:block}
table.wc-block-cart-items .wc-block-cart-item__total .wc-block-cart-item__total-price-and-sale-badge-wrapper{align-items:flex-end}
table.wc-block-cart-items .wc-block-cart-items__row:last-child>td{border-bottom:1px solid var(--tm-border)!important}

/* carrello: layout compatto (tablet stretto e mobile) */
.wc-block-cart.is-mobile table.wc-block-cart-items thead,.wc-block-cart.is-small table.wc-block-cart-items thead{display:none}
.wc-block-cart.is-mobile table.wc-block-cart-items,.wc-block-cart.is-small table.wc-block-cart-items,.wc-block-cart.is-mobile table.wc-block-cart-items tbody,.wc-block-cart.is-small table.wc-block-cart-items tbody{display:block;width:100%}
.wc-block-cart.is-mobile .wc-block-cart-items__row,.wc-block-cart.is-small .wc-block-cart-items__row{display:grid!important;grid-template-columns:88px minmax(0,1fr)!important;column-gap:16px;padding:20px 0;border-bottom:1px solid var(--tm-border);width:100%}
.wc-block-cart.is-mobile table.wc-block-cart-items .wc-block-cart-items__row>td,.wc-block-cart.is-small table.wc-block-cart-items .wc-block-cart-items__row>td{border:0!important;padding:0!important}
.wc-block-cart.is-mobile .wc-block-cart-item__image,.wc-block-cart.is-small .wc-block-cart-item__image{grid-column:1;grid-row:1/span 2;width:88px!important;padding:0!important}
.wc-block-cart.is-mobile table.wc-block-cart-items .wc-block-cart-item__image a,.wc-block-cart.is-small table.wc-block-cart-items .wc-block-cart-item__image a{width:88px;height:88px}
.wc-block-cart.is-mobile .wc-block-cart-item__product,.wc-block-cart.is-small .wc-block-cart-item__product{grid-column:2;grid-row:1;min-width:0;width:auto!important}
.wc-block-cart.is-mobile .wc-block-cart-item__total,.wc-block-cart.is-small .wc-block-cart-item__total{grid-column:2;grid-row:2;text-align:left;padding:10px 0 0!important}
.wc-block-cart.is-mobile .wc-block-cart-item__total .wc-block-cart-item__total-price-and-sale-badge-wrapper,.wc-block-cart.is-small .wc-block-cart-item__total .wc-block-cart-item__total-price-and-sale-badge-wrapper{flex-direction:row;align-items:center;justify-content:flex-start;gap:10px;flex-wrap:wrap}
.wc-block-cart.is-mobile .wc-block-cart-item__total .wc-block-components-product-price__value,.wc-block-cart.is-small .wc-block-cart-item__total .wc-block-components-product-price__value{font-size:17px}
.wc-block-cart.is-mobile .wc-block-components-product-name,.wc-block-cart.is-small .wc-block-components-product-name{font-size:16px!important}

/* contenitore a tutta larghezza (la fascia titolo e' a pieno schermo come nel catalogo) */
body.woocommerce-cart .site-content-wrapper>.nova-container,body.woocommerce-checkout .site-content-wrapper>.nova-container{padding-left:0!important;padding-right:0!important;max-width:none!important}
body.woocommerce-cart .site-content-wrapper>.nova-container>.grid-x,body.woocommerce-checkout .site-content-wrapper>.nova-container>.grid-x{margin:0!important}
/* righe carrello compatte: posizionamento esplicito */
.wc-block-cart.is-mobile .wc-block-cart-item__product,.wc-block-cart.is-small .wc-block-cart-item__product{grid-column:2!important;grid-row:1!important}
.wc-block-cart.is-mobile .wc-block-cart-item__total,.wc-block-cart.is-small .wc-block-cart-item__total{grid-column:2!important;grid-row:2!important}
.wc-block-cart.is-mobile .wc-block-cart-item__image,.wc-block-cart.is-small .wc-block-cart-item__image{grid-column:1!important;grid-row:1/span 2!important}

/* riepilogo ordine a scomparsa (mobile / tablet) */
.wc-block-components-checkout-order-summary__title{border:0!important;padding:0!important;margin:0!important;display:flex;align-items:center;gap:12px;cursor:pointer}
.wc-block-components-checkout-order-summary__title-text{font:700 18px var(--tm-head)!important;color:#000;margin:0!important;padding:0!important}
.wc-block-components-checkout-order-summary__title-price{margin-left:auto;font:700 17px var(--tm-head)!important;color:#000}
.wc-block-components-checkout-order-summary__title-icon{fill:#000}
.wc-block-components-checkout-order-summary__content{border:0!important;padding:14px 0 0!important}
.wc-block-components-checkout-order-summary__content .wc-block-components-totals-wrapper:first-child{border-top:0!important}
.wc-block-checkout.is-mobile .wc-block-components-sidebar,.wc-block-checkout.is-small .wc-block-components-sidebar{margin-bottom:8px!important}
.wc-block-checkout__sidebar .wc-block-components-order-summary{padding:0!important}
.wc-block-components-order-summary-item__description .wc-block-components-product-metadata{margin-top:4px}
@media(max-width:767px){
 .wc-block-components-checkout-step__title{font-size:20px!important}
 .wc-block-checkout__actions_row{flex-direction:column-reverse;align-items:stretch;gap:16px}
 .wc-block-components-checkout-return-to-cart-button{justify-content:center}
}
.wc-block-checkout__main .wp-block-woocommerce-checkout-order-summary-block,.wc-block-checkout__main .wc-block-components-checkout-order-summary{background:var(--tm-soft);border-radius:20px;padding:22px 20px!important;border:0!important;margin:0 0 28px}
.wc-block-checkout__main .wc-block-components-order-summary-item__image{background:#fff;border-radius:12px}
.wc-block-components-address-card{border:1.5px solid var(--tm-border)!important;border-radius:14px!important;padding:16px 18px!important;background:#fff;font:400 14px/1.5 var(--tm-body)!important}
.wc-block-components-address-card address{font:400 14px/1.5 var(--tm-body)!important;color:#444;font-style:normal}
.wc-block-components-address-card__address-section--primary{font:700 15px var(--tm-head)!important;color:#000}
.wc-block-components-address-card__edit{font:600 14px var(--tm-body)!important;color:var(--tm-green)!important;text-decoration:underline}
.wp-block-woocommerce-checkout-order-summary-block{border:0!important}
@media(max-width:1024px){.wc-block-checkout.is-large .wc-block-checkout__sidebar{order:-1}}

/* tabella carrello: nessun riquadro attorno all'intestazione, solo una linea sottile tra le righe */
.wc-block-cart table.wc-block-cart-items,.wc-block-cart table.wc-block-cart-items thead,.wc-block-cart table.wc-block-cart-items tr.wc-block-cart-items__header,.wc-block-cart table.wc-block-cart-items th{border:0!important;box-shadow:none!important;background:transparent!important}
.wc-block-cart table.wc-block-cart-items th{padding-bottom:14px}
.wc-block-cart table.wc-block-cart-items tr.wc-block-cart-items__header{border-bottom:1px solid var(--tm-border,#E1E1E1)!important}
.wc-block-cart table.wc-block-cart-items td{border-top:0!important;border-left:0!important;border-right:0!important;border-bottom:1px solid var(--tm-border,#E1E1E1)!important}
.wc-block-cart table.wc-block-cart-items tbody tr:last-child td{border-bottom:0!important}

/* ===== Controllo mobile ===== */
/* barra "Procedi al pagamento" fissa: margini laterali, sfondo e ombra (prima il bottone toccava i bordi dello schermo) */
.wc-block-cart__submit-container--sticky{padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px))!important;background:#fff!important;border-top:1px solid var(--tm-border)!important;box-shadow:0 -6px 20px rgba(0,0,0,.08)!important;box-sizing:border-box;z-index:90}
/* rimuovi articolo: bersaglio tocco >= 40px */
.wc-block-cart-item__remove-link{min-width:40px!important;min-height:40px!important;display:inline-flex!important;align-items:center;justify-content:center}
/* «Effettua ordine»: in colonna la base flex 260px diventava altezza (bottone alto 260px) */
@media(max-width:767px){
 .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button{flex:0 0 auto!important;width:100%;height:auto}
}

/* ===== Cassa mobile/tablet: un solo riepilogo (quello a scomparsa in alto); sotto il form resta solo «Totale» ===== */
@media(max-width:1024px){
 .checkout-order-summary-block-fill .wp-block-woocommerce-checkout-order-summary-cart-items-block,
 .checkout-order-summary-block-fill .wp-block-woocommerce-checkout-order-summary-coupon-form-block,
 .checkout-order-summary-block-fill .wp-block-woocommerce-checkout-order-summary-totals-block{display:none!important}
 .wc-block-checkout__main .wp-block-woocommerce-checkout-order-summary-block{padding:16px 20px!important;margin:0 0 20px}
 .checkout-order-summary-block-fill .wc-block-components-totals-wrapper{border:0!important;padding:0!important}
}

/* ===== Account: fascia titolo come carrello/cassa ===== */
body.woocommerce-account{--tm-lime:#BBF121;--tm-green:#415A2F;--tm-border:#E1E1E1;--tm-soft:#F5F5F5;--tm-head:'Syne',serif;--tm-body:'Outfit',sans-serif;--tm-gut:max(24px,calc((100% - 1232px)/2))}
body.woocommerce-account .site-content{padding:0!important}
body.woocommerce-account .page-header-content{background:var(--tm-soft);border-bottom:1px solid var(--tm-border);padding:40px var(--tm-gut) 36px;margin:0;text-align:left}
body.woocommerce-account .woocommerce-breadcrumb{font:400 14px/1.6 var(--tm-body)!important;color:#666;margin:0 0 18px!important;text-align:left}
body.woocommerce-account .woocommerce-breadcrumb a{color:#666}
body.woocommerce-account .woocommerce-breadcrumb a:hover{color:var(--tm-green)}
body.woocommerce-account .woocommerce-breadcrumb .delimiter{display:inline-block;margin:0 8px!important;opacity:.5;font-size:0!important}
body.woocommerce-account .woocommerce-breadcrumb .delimiter::before{content:"/"!important;font:400 14px var(--tm-body)!important;color:#666;vertical-align:baseline}
body.woocommerce-account h1.page-title{font:700 clamp(40px,5vw,72px)/1.15 var(--tm-head)!important;color:#000;margin:0!important;text-align:left;text-transform:none;letter-spacing:0}
body.woocommerce-account .site-content>article{box-sizing:border-box;width:100%;max-width:1280px;margin:0 auto;padding:40px 24px 72px}
body.woocommerce-account .entry-content{margin:0;padding:0;max-width:none}
body.woocommerce-account .entry-content>.woocommerce{display:flex;gap:48px;align-items:flex-start;font-family:var(--tm-body);color:#222;font-size:15px}
@media(max-width:767px){
 body.woocommerce-account .page-header-content{padding:28px 16px}
 body.woocommerce-account .site-content>article{padding:24px 16px 48px}
 body.woocommerce-account h1.page-title{font-size:40px!important}
}

/* ---------- menu laterale ---------- */
body.woocommerce-account .woocommerce-MyAccount-navigation{float:none;width:260px;flex:0 0 260px;margin:0}
body.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0;display:grid;gap:6px}
body.woocommerce-account .woocommerce-MyAccount-navigation li{margin:0;padding:0;border:0}
body.woocommerce-account .woocommerce-MyAccount-navigation li a{display:block;padding:13px 22px;border-radius:30px;font:600 15px/1.2 var(--tm-head);color:#000;text-decoration:none;background:transparent;border:0;transition:.2s}
body.woocommerce-account .woocommerce-MyAccount-navigation li a:hover{background:var(--tm-soft)}
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{background:var(--tm-lime);color:#000}
body.woocommerce-account .woocommerce-MyAccount-navigation li a:focus-visible{outline:3px solid var(--tm-green);outline-offset:2px}
body.woocommerce-account .woocommerce-MyAccount-content{float:none;width:auto;flex:1 1 0;min-width:0;margin:0}
@media(max-width:900px){
 body.woocommerce-account .entry-content>.woocommerce{flex-direction:column;gap:28px}
 body.woocommerce-account .woocommerce-MyAccount-navigation{width:100%;flex:none}
 body.woocommerce-account .woocommerce-MyAccount-navigation ul{display:flex;overflow-x:auto;gap:8px;padding-bottom:4px;-webkit-overflow-scrolling:touch}
 body.woocommerce-account .woocommerce-MyAccount-navigation li{flex:0 0 auto}
 body.woocommerce-account .woocommerce-MyAccount-navigation li a{background:var(--tm-soft);padding:12px 20px;white-space:nowrap}
 body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{background:var(--tm-lime)}
}

/* ---------- contenuti, titoli, link ---------- */
body.woocommerce-account .woocommerce-MyAccount-content a:not(.button){color:var(--tm-green)}
body.woocommerce-account .woocommerce-MyAccount-content p{font:400 16px/1.6 var(--tm-body);margin:0 0 16px}
body.woocommerce-account .woocommerce h2,body.woocommerce-account .woocommerce h3,body.woocommerce-account .woocommerce-column__title{font:700 24px/1.2 var(--tm-head)!important;color:#000;text-transform:none;letter-spacing:0;margin:0 0 18px}
body.woocommerce-account .woocommerce-message,body.woocommerce-account .woocommerce-info,body.woocommerce-account .woocommerce-error{font:400 14px/1.5 var(--tm-body);border-radius:14px;border:1.5px solid var(--tm-border);border-top-width:1.5px;background:var(--tm-soft);color:#222;padding:14px 18px 14px 18px;margin:0 0 20px;list-style:none}
body.woocommerce-account .woocommerce-message::before,body.woocommerce-account .woocommerce-info::before,body.woocommerce-account .woocommerce-error::before{display:none}
body.woocommerce-account .woocommerce-error{border-color:#B3261E;color:#B3261E;background:#fff}
body.woocommerce-account .woocommerce-message .button,body.woocommerce-account .woocommerce-info .button{float:none;margin:0 0 0 12px}

/* ---------- tabelle (ordini, dettaglio ordine, download) ---------- */
body.woocommerce-account table.shop_table,body.woocommerce-account table.account-orders-table{width:100%;border:0!important;border-collapse:collapse;border-radius:0;margin:0 0 24px;font:400 15px/1.5 var(--tm-body)}
body.woocommerce-account table.shop_table th,body.woocommerce-account table.shop_table td{border:0!important;border-bottom:1px solid var(--tm-border)!important;padding:16px 12px;background:transparent;text-align:left;vertical-align:middle}
body.woocommerce-account table.shop_table thead th{font:700 13px var(--tm-head);color:#666;text-transform:uppercase;letter-spacing:.04em;padding-top:0;border-bottom:1px solid var(--tm-border)!important}
body.woocommerce-account table.shop_table tbody tr:last-child td{border-bottom:0!important}
body.woocommerce-account table.shop_table tfoot th,body.woocommerce-account table.shop_table tfoot td{font-weight:600}
body.woocommerce-account table.shop_table .woocommerce-orders-table__cell-order-number a{font:700 15px var(--tm-head);text-decoration:none}
body.woocommerce-account table.shop_table .woocommerce-orders-table__cell-order-actions{text-align:right}
body.woocommerce-account table.shop_table .woocommerce-orders-table__cell-order-actions .button+.button{margin-left:8px}
@media(max-width:767px){
 body.woocommerce-account table.shop_table_responsive tr{display:block;border:1.5px solid var(--tm-border);border-radius:14px;margin:0 0 14px;padding:6px 14px;background:#fff}
 body.woocommerce-account table.shop_table_responsive tr td{display:flex;justify-content:space-between;gap:16px;padding:10px 0;text-align:right!important;border-bottom:1px solid var(--tm-border)!important}
 body.woocommerce-account table.shop_table_responsive tr td:last-child{border-bottom:0!important}
 body.woocommerce-account table.shop_table_responsive tr td::before{float:none;font:700 13px var(--tm-head);color:#666;text-align:left}
 body.woocommerce-account table.shop_table_responsive tr td.woocommerce-orders-table__cell-order-actions{justify-content:flex-start;flex-wrap:wrap}
 body.woocommerce-account table.shop_table_responsive tr td.woocommerce-orders-table__cell-order-actions::before{display:none}
 body.woocommerce-account table.shop_table_responsive thead{display:none}
}

/* ---------- bottoni a pillola ---------- */
body.woocommerce-account .woocommerce a.button,body.woocommerce-account .woocommerce button.button,body.woocommerce-account .woocommerce input.button,body.woocommerce-account .woocommerce .woocommerce-Button{background:var(--tm-lime)!important;color:#000!important;border:0!important;border-radius:30px!important;font:700 15px/1.2 var(--tm-head)!important;padding:14px 28px!important;min-height:0;text-transform:none;letter-spacing:0;box-shadow:none;cursor:pointer;transition:.2s;display:inline-block;text-decoration:none}
body.woocommerce-account .woocommerce a.button:hover,body.woocommerce-account .woocommerce button.button:hover,body.woocommerce-account .woocommerce input.button:hover,body.woocommerce-account .woocommerce .woocommerce-Button:hover{background:var(--tm-green)!important;color:#fff!important}
body.woocommerce-account .woocommerce .button:focus-visible{outline:3px solid var(--tm-green);outline-offset:2px}

/* ---------- form come il checkout ---------- */
body.woocommerce-account .woocommerce form .form-row{padding:0;margin:0 0 18px}
body.woocommerce-account .woocommerce form .form-row label{font:500 14px var(--tm-body);color:#666;margin:0 0 6px;display:block;line-height:1.4}
body.woocommerce-account .woocommerce form .form-row label .required{color:#B3261E;text-decoration:none}
body.woocommerce-account .woocommerce form .form-row-first,body.woocommerce-account .woocommerce form .form-row-last{width:calc(50% - 8px)}
body.woocommerce-account .woocommerce form .form-row-first{float:left}
body.woocommerce-account .woocommerce form .form-row-last{float:right}
body.woocommerce-account .woocommerce form .form-row-wide,body.woocommerce-account .woocommerce form .clear{clear:both}
body.woocommerce-account .woocommerce input.input-text,body.woocommerce-account .woocommerce input[type=text],body.woocommerce-account .woocommerce input[type=email],body.woocommerce-account .woocommerce input[type=password],body.woocommerce-account .woocommerce input[type=tel],body.woocommerce-account .woocommerce textarea,body.woocommerce-account .woocommerce select,body.woocommerce-account .woocommerce .select2-container--default .select2-selection--single{font:400 16px var(--tm-body)!important;color:#000;background:#fff;border:1.5px solid var(--tm-border)!important;border-radius:14px!important;box-shadow:none!important;height:56px;padding:0 16px;width:100%;box-sizing:border-box;transition:border-color .2s,box-shadow .2s}
body.woocommerce-account .woocommerce textarea{height:auto;min-height:96px;padding:14px 16px}
body.woocommerce-account .woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered{line-height:53px;padding:0}
body.woocommerce-account .woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow{height:54px;right:10px}
body.woocommerce-account .woocommerce input.input-text:focus,body.woocommerce-account .woocommerce input[type=text]:focus,body.woocommerce-account .woocommerce input[type=email]:focus,body.woocommerce-account .woocommerce input[type=password]:focus,body.woocommerce-account .woocommerce input[type=tel]:focus,body.woocommerce-account .woocommerce select:focus,body.woocommerce-account .woocommerce textarea:focus{border-color:var(--tm-green)!important;box-shadow:0 0 0 3px rgba(187,241,33,.45)!important;outline:none}
body.woocommerce-account .woocommerce fieldset{border:0;padding:0;margin:8px 0 24px;clear:both}
body.woocommerce-account .woocommerce fieldset legend{font:700 20px var(--tm-head);color:#000;padding:0;margin:0 0 16px}
body.woocommerce-account .woocommerce form em,body.woocommerce-account .woocommerce form .description{font:400 13px var(--tm-body);color:#666;font-style:normal}
body.woocommerce-account .woocommerce .password-input{display:block;position:relative}
body.woocommerce-account .woocommerce .show-password-input{top:18px;right:14px}
body.woocommerce-account .woocommerce-form__label-for-checkbox{display:inline-flex;align-items:center;gap:10px;font:400 15px var(--tm-body);color:#222}
body.woocommerce-account .woocommerce input[type=checkbox]{width:20px;height:20px;accent-color:var(--tm-green);margin:0}
@media(max-width:767px){
 body.woocommerce-account .woocommerce form .form-row-first,body.woocommerce-account .woocommerce form .form-row-last{float:none;width:100%}
}

/* ---------- indirizzi ---------- */
body.woocommerce-account .woocommerce-Addresses{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px}
body.woocommerce-account .woocommerce-Addresses .woocommerce-Address{float:none;width:auto;max-width:none;border:1.5px solid var(--tm-border);border-radius:20px;padding:22px 24px;background:#fff}
body.woocommerce-account .woocommerce-Address-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 12px}
body.woocommerce-account .woocommerce-Address-title h2,body.woocommerce-account .woocommerce-Address-title h3{margin:0;font-size:20px!important}
body.woocommerce-account .woocommerce-Address-title a.edit{float:none;font:600 14px var(--tm-body);color:var(--tm-green);text-decoration:underline}
body.woocommerce-account address{font:400 15px/1.6 var(--tm-body);font-style:normal;color:#444}

/* ---------- login / registrazione / password dimenticata (ospite) ---------- */
body.woocommerce-account .entry-content>.woocommerce:has(.nova-login-wrapper),body.woocommerce-account .entry-content>.woocommerce:has(.woocommerce-ResetPassword),body.woocommerce-account .entry-content>.woocommerce:has(.lost_reset_password){display:block}
body.woocommerce-account .nova-login-wrapper .nova-form-container{display:flex;flex-wrap:wrap;gap:32px;margin:0;justify-content:flex-start}
body.woocommerce-account .nova-login-wrapper .nova-form-container>.cell{float:none;width:auto!important;flex:1 1 340px;max-width:520px;margin:0;padding:28px;border:1.5px solid var(--tm-border);border-radius:20px;background:#fff;box-sizing:border-box}
body.woocommerce-account .nova-login-wrapper h2.page-title{font:700 28px/1.2 var(--tm-head)!important;color:#000;margin:0 0 20px;text-align:left}
body.woocommerce-account .nova-login-wrapper form{border:0;padding:0;margin:0}
body.woocommerce-account .nova-login-wrapper .form-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:6px 0 0}
body.woocommerce-account .lost_password a,body.woocommerce-account .woocommerce-LostPassword a{font:600 14px var(--tm-body);color:var(--tm-green);text-decoration:underline}
body.woocommerce-account .woocommerce-ResetPassword,body.woocommerce-account form.lost_reset_password{max-width:520px;border:1.5px solid var(--tm-border);border-radius:20px;padding:28px;box-sizing:border-box}
body.woocommerce-account .woocommerce-form-login .woocommerce-form-login__rememberme{margin:0 0 6px}
body.woocommerce-account .woocommerce-MyAccount-navigation ul li{display:block;border:0}
body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation ul li a{padding:13px 22px;line-height:1.2}
body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation ul li a::before{display:none!important}
body.woocommerce-account .woocommerce-MyAccount-navigation ul{margin:0}
@media(max-width:900px){
 body.woocommerce-account .entry-content>.woocommerce{align-items:stretch}
 body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation ul li a{padding:12px 20px}
}
@media(max-width:767px){
 body.woocommerce-account table.shop_table_responsive tr th{display:flex;justify-content:space-between;gap:16px;padding:10px 0;text-align:right!important;border:0!important;border-bottom:1px solid var(--tm-border)!important;font:600 15px var(--tm-head)}
 body.woocommerce-account table.shop_table_responsive tr th::before{content:attr(data-title) ":";font:700 13px var(--tm-head);color:#666;text-align:left}
}
body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation ul li{display:block!important;border:0!important;margin:0!important}
body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation ul{overflow-y:hidden;scrollbar-width:none}
body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation ul::-webkit-scrollbar{display:none}
@media(max-width:767px){
 body.woocommerce-account table.shop_table_responsive tbody tr th{display:flex!important}
}
body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation{margin-bottom:0!important;margin-right:0!important}
body.woocommerce-account .nova-login-wrapper .form-actions{flex-direction:row!important;justify-content:flex-start;align-items:center}
body.woocommerce-account .nova-login-wrapper .form-actions .woocommerce-LostPassword{margin:0}
body.woocommerce-account .nova-login-wrapper .form-row input{margin-bottom:0}
body.woocommerce-account .woocommerce .password-input{display:block;position:relative}
body.woocommerce-account .woocommerce button.show-password-input{position:absolute!important;top:50%!important;right:8px!important;transform:translateY(-50%);width:40px!important;height:40px!important;min-height:0;padding:0!important;background:transparent!important;border:0!important;border-radius:50%!important;box-shadow:none!important;font-size:0!important;color:#666!important;cursor:pointer}
body.woocommerce-account .woocommerce button.show-password-input:hover{background:var(--tm-soft)!important;color:#000!important}
body.woocommerce-account .woocommerce .password-input input{padding-right:52px}
body.woocommerce-account .nova-login-wrapper .woocommerce-form-login__rememberme{margin:0 0 20px}
body.woocommerce-account .woocommerce button.show-password-input{display:none!important}
