/* UG Eventi – Cart & Checkout V2. Visual-only CSS scoped to WooCommerce cart/checkout pages. */
body.ugccv2-page{
  --ugcc-yellow:#ffcf2d;--ugcc-navy:#202b3a;--ugcc-ink:#182333;
  --ugcc-muted:#687382;--ugcc-paper:#fbfaf7;--ugcc-border:#e6e4df;
  --ugcc-shadow:0 18px 52px rgba(26,36,49,.07);
  background:var(--ugcc-paper);color:var(--ugcc-ink);overflow-x:clip;
}
body.ugccv2-page *,body.ugccv2-page *::before,body.ugccv2-page *::after{box-sizing:border-box}
/* Suppress only Impreza's old page header/title; the new brand header is in the page content. */
body.ugccv2-page .l-header,
body.ugccv2-page #page-header,
body.ugccv2-page header.site-header:not(.ugccv2-header),
body.ugccv2-page .site-header:not(.ugccv2-header),
body.ugccv2-page .l-titlebar{display:none!important}
body.ugccv2-page .l-main,body.ugccv2-page .l-canvas{padding-top:0!important;margin-top:0!important}
body.ugccv2-page .l-main>.l-section:first-child{padding-top:0!important}
body.ugccv2-page .l-main>.l-section:first-child>.l-section-h{padding-top:0!important}
body.ugccv2-page .l-main{overflow:visible}
body.ugccv2-page a{transition:background .2s ease,color .2s ease,border-color .2s ease,box-shadow .2s ease,transform .2s ease}

/* Exact visual language of Home V2, with absolute links back to Home V2 anchors. */
body.ugccv2-page .ugccv2-top{width:100vw;max-width:none;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);color:var(--ugcc-ink);font-family:inherit}
body.ugccv2-page .ugccv2-header{position:relative;z-index:110;padding:14px 0 8px;background:rgba(251,250,247,.98);border-bottom:1px solid #e6e2d8;box-shadow:0 8px 30px rgba(24,32,45,.035)}
body.ugccv2-page .ugccv2-header-inner{width:min(1460px,calc(100% - 64px));min-height:68px;margin:0 auto;display:grid;grid-template-columns:minmax(270px,.9fr) auto minmax(270px,.9fr);align-items:center;gap:26px}
body.ugccv2-page .ugccv2-brand{min-width:0;display:inline-flex;align-items:center;gap:12px;color:var(--ugcc-navy)!important;text-decoration:none!important}
body.ugccv2-page .ugccv2-brand img{display:block;width:48px;height:48px;flex:0 0 48px;object-fit:contain}
body.ugccv2-page .ugccv2-brand span{display:block;min-width:0}
body.ugccv2-page .ugccv2-brand strong{display:block;font-size:13px;line-height:1.08;letter-spacing:.09em;white-space:nowrap;font-weight:850}
body.ugccv2-page .ugccv2-brand small{display:block;margin-top:5px;font-size:8px;line-height:1.1;color:#858b94;font-weight:800;letter-spacing:.1em;white-space:nowrap}
body.ugccv2-page .ugccv2-nav{display:flex;align-items:center;justify-content:center;gap:4px;padding:5px;border:1px solid rgba(225,221,211,.88);background:rgba(255,255,255,.76);border-radius:999px;box-shadow:0 5px 18px rgba(24,32,45,.035)}
body.ugccv2-page .ugccv2-nav a{display:inline-flex;align-items:center;min-height:40px;padding:0 15px;border-radius:999px;color:#59616d!important;text-decoration:none!important;font-size:11px;font-weight:850;letter-spacing:.025em;white-space:nowrap}
body.ugccv2-page .ugccv2-nav a:hover{color:var(--ugcc-navy)!important;background:#f7f3e9}
body.ugccv2-page .ugccv2-header-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px}
body.ugccv2-page .ugccv2-header-cta{display:inline-flex;min-height:46px;padding:0 18px;align-items:center;justify-content:center;gap:9px;border-radius:999px;background:var(--ugcc-navy);color:#fff!important;text-decoration:none!important;font-size:11px;line-height:1;font-weight:900;white-space:nowrap;box-shadow:0 11px 24px rgba(24,32,45,.14)}
body.ugccv2-page .ugccv2-header-cta:hover{color:#fff!important;transform:translateY(-2px);box-shadow:0 15px 30px rgba(24,32,45,.2)}
body.ugccv2-page .ugccv2-header-cta span{color:var(--ugcc-yellow);font-size:15px}
body.ugccv2-page .ugccv2-cart-link{width:45px;height:45px;border:1px solid var(--ugcc-border);border-radius:50%;background:#fff;color:var(--ugcc-navy)!important;text-decoration:none!important;display:inline-flex;align-items:center;justify-content:center;gap:2px;position:relative;flex:0 0 45px}
body.ugccv2-page .ugccv2-cart-link>span{position:absolute;top:-5px;right:-5px;min-width:21px;height:21px;padding:0 3px;display:flex;align-items:center;justify-content:center;border-radius:999px;background:var(--ugcc-yellow);font-size:10px;font-weight:850}
body.ugccv2-page .ugccv2-menu-toggle{display:none;width:46px;height:46px;border:1px solid var(--ugcc-border);border-radius:50%;background:#fff;padding:0;align-items:center;justify-content:center;flex-direction:column;gap:4px;cursor:pointer}
body.ugccv2-page .ugccv2-menu-toggle span{display:block;width:17px;height:2px;border-radius:10px;background:var(--ugcc-navy);transition:transform .2s ease,opacity .2s ease}
body.ugccv2-page .ugccv2-menu-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(6px) rotate(45deg)}
body.ugccv2-page .ugccv2-menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
body.ugccv2-page .ugccv2-menu-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

/* Branded title / checkout progress: above WC's own content. */
body.ugccv2-page .ugccv2-intro{max-width:1460px;width:calc(100% - 64px);margin:0 auto;padding:43px 0 33px}
body.ugccv2-page .ugccv2-intro-top{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}
body.ugccv2-page .ugccv2-eyebrow{color:#7b6c35;font-size:11px;letter-spacing:.17em;font-weight:900;display:inline-flex;align-items:center;gap:12px}
body.ugccv2-page .ugccv2-eyebrow i{display:inline-block;width:6px;height:6px;background:var(--ugcc-yellow);border-radius:50%}
body.ugccv2-page .ugccv2-intro-top>a{color:var(--ugcc-navy)!important;text-decoration:none!important;font-size:12px;font-weight:800;border-bottom:1px solid #c9c6be;padding-bottom:3px}
body.ugccv2-page .ugccv2-intro-top>a:hover{border-color:var(--ugcc-yellow)}
body.ugccv2-page .ugccv2-intro-main{display:flex;align-items:end;justify-content:space-between;gap:30px}
body.ugccv2-page .ugccv2-intro h1{font-size:clamp(37px,4.6vw,62px)!important;letter-spacing:-.045em;line-height:1.06;font-weight:850;margin:0 0 12px;color:var(--ugcc-navy)!important}
body.ugccv2-page .ugccv2-intro p{font-size:16px!important;line-height:1.65;color:var(--ugcc-muted)!important;margin:0;max-width:600px}
body.ugccv2-page .ugccv2-progress{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex:0 0 auto;padding-bottom:7px}
body.ugccv2-page .ugccv2-progress>a,body.ugccv2-page .ugccv2-progress>span:not(.ugccv2-progress-line){display:flex;align-items:center;gap:7px;color:#939ba5!important;text-decoration:none!important;white-space:nowrap}
body.ugccv2-page .ugccv2-progress a span,body.ugccv2-page .ugccv2-progress>span:not(.ugccv2-progress-line)>span{display:inline-flex;width:29px;height:29px;align-items:center;justify-content:center;border-radius:50%;border:1px solid #d5d9dc;background:#fff;color:#7a8490;font-size:10px;font-weight:900}
body.ugccv2-page .ugccv2-progress b{font-size:11px;font-weight:800}
body.ugccv2-page .ugccv2-progress .is-current{color:var(--ugcc-navy)!important}
body.ugccv2-page .ugccv2-progress .is-current>span{background:var(--ugcc-yellow);border-color:var(--ugcc-yellow);color:var(--ugcc-navy)}
body.ugccv2-page .ugccv2-progress .is-done>span{background:var(--ugcc-navy);border-color:var(--ugcc-navy);color:#fff}
body.ugccv2-page .ugccv2-progress-line{width:24px;height:1px;background:#d8d8d4}

/* Keep the WooCommerce application intact; format its existing cart/checkout. */
body.ugccv2-page .woocommerce{color:var(--ugcc-ink);font-family:inherit;font-size:15px;line-height:1.55}
body.ugccv2-page .woocommerce a{color:var(--ugcc-navy)}
body.ugccv2-page .woocommerce a:hover{color:#986a00}
body.ugccv2-page .woocommerce h2,body.ugccv2-page .woocommerce h3{color:var(--ugcc-navy)!important;letter-spacing:-.025em}
body.ugccv2-page .woocommerce h2{font-size:25px;line-height:1.25}
body.ugccv2-page .woocommerce h3{font-size:22px;line-height:1.25}
body.ugccv2-page .woocommerce table.shop_table{border:1px solid var(--ugcc-border)!important;border-radius:20px!important;border-collapse:separate!important;border-spacing:0!important;overflow:hidden;background:#fff;margin:0 0 22px;box-shadow:var(--ugcc-shadow);width:100%}
body.ugccv2-page .woocommerce table.shop_table thead{background:#f5f3ec}
body.ugccv2-page .woocommerce table.shop_table th{font-size:11px;font-weight:900!important;letter-spacing:.06em;text-transform:uppercase;color:#697481;padding:18px 22px;border:0!important}
body.ugccv2-page .woocommerce table.shop_table td{border-top:1px solid #edeae4!important;padding:19px 22px;vertical-align:middle}
body.ugccv2-page .woocommerce table.shop_table tr:first-child td{border-top:0}
body.ugccv2-page .woocommerce table.shop_table td.product-name{font-weight:750;color:var(--ugcc-navy)}
body.ugccv2-page .woocommerce table.shop_table td.product-name a{text-decoration:none;font-weight:850}
body.ugccv2-page .woocommerce table.shop_table td.product-name dl.variation{margin:10px 0 0;font-weight:400;font-size:13px;color:var(--ugcc-muted)}
body.ugccv2-page .woocommerce table.shop_table td.product-name dl.variation dt{font-weight:750;color:#5a6675;clear:both}
body.ugccv2-page .woocommerce table.shop_table td.product-name dl.variation dd{margin:0 0 5px 4px;float:none;display:inline-block}
body.ugccv2-page .woocommerce table.shop_table .amount{font-weight:850;color:var(--ugcc-navy)}
body.ugccv2-page .woocommerce .quantity .qty{max-width:76px;min-width:58px;min-height:42px;padding:9px 4px;text-align:center;border:1px solid #d9dcd9;border-radius:11px;background:#fff;color:var(--ugcc-navy);font-weight:750}
body.ugccv2-page .woocommerce .remove{display:inline-flex!important;align-items:center;justify-content:center;width:30px;height:30px;border:1px solid #eadbdb;border-radius:50%;background:#fff;color:#955252!important;font-size:21px!important;line-height:1}
body.ugccv2-page .woocommerce .remove:hover{background:#fff3f3!important;border-color:#e8b9b9;color:#9f3030!important}
body.ugccv2-page .woocommerce .button,body.ugccv2-page .woocommerce button.button,body.ugccv2-page .woocommerce a.button,body.ugccv2-page .woocommerce input.button,
body.ugccv2-page .wc-block-components-button{border:0;border-radius:999px!important;padding:15px 23px!important;min-height:49px;background:var(--ugcc-navy)!important;color:#fff!important;text-decoration:none!important;font-size:13px!important;font-weight:850!important;line-height:1.35!important;letter-spacing:0;text-shadow:none!important;box-shadow:none;cursor:pointer}
body.ugccv2-page .woocommerce .button:hover,body.ugccv2-page .woocommerce button.button:hover,body.ugccv2-page .woocommerce a.button:hover,body.ugccv2-page .woocommerce input.button:hover,
body.ugccv2-page .wc-block-components-button:hover{background:#344357!important;color:#fff!important;transform:translateY(-1px)}
body.ugccv2-page .woocommerce .button:disabled,body.ugccv2-page .woocommerce button.button:disabled,body.ugccv2-page .wc-block-components-button:disabled{opacity:.5!important;transform:none!important;cursor:not-allowed}
body.ugccv2-page .woocommerce .checkout-button,body.ugccv2-page .woocommerce #place_order,body.ugccv2-page .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button{background:var(--ugcc-yellow)!important;color:var(--ugcc-navy)!important;box-shadow:0 12px 23px rgba(255,207,45,.17)}
body.ugccv2-page .woocommerce .checkout-button:hover,body.ugccv2-page .woocommerce #place_order:hover,body.ugccv2-page .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button:hover{background:#f4c11b!important;color:var(--ugcc-navy)!important}
body.ugccv2-page .woocommerce .woocommerce-message,body.ugccv2-page .woocommerce .woocommerce-info,body.ugccv2-page .woocommerce .woocommerce-error,
body.ugccv2-page .wc-block-components-notice-banner{border-radius:14px!important;border:1px solid #e7e5df!important;background:#fff!important;color:var(--ugcc-navy)!important;box-shadow:0 8px 28px rgba(24,32,45,.04);margin-bottom:22px!important;padding:18px 20px!important}
body.ugccv2-page .woocommerce .woocommerce-error{border-color:#ebc5c5!important}
body.ugccv2-page .woocommerce .woocommerce-message:before,body.ugccv2-page .woocommerce .woocommerce-info:before{color:#9e7911}
body.ugccv2-page .woocommerce .woocommerce-error:before{color:#a33b3b}
body.ugccv2-page .woocommerce .input-text,body.ugccv2-page .woocommerce select,body.ugccv2-page .woocommerce textarea,
body.ugccv2-page .wc-block-components-text-input input,body.ugccv2-page .wc-block-components-combobox input,
body.ugccv2-page .wc-block-components-select select{min-height:49px;border:1px solid #dadcd9!important;border-radius:11px!important;background:#fff!important;color:var(--ugcc-navy)!important;box-shadow:none!important;padding:12px 13px!important;line-height:1.4}
body.ugccv2-page .woocommerce textarea{min-height:112px!important}
body.ugccv2-page .woocommerce .input-text:focus,body.ugccv2-page .woocommerce select:focus,body.ugccv2-page .woocommerce textarea:focus,
body.ugccv2-page .wc-block-components-text-input input:focus{outline:2px solid rgba(255,207,45,.72)!important;outline-offset:1px;border-color:#caa63a!important}
body.ugccv2-page .woocommerce .form-row label{font-size:13px;font-weight:750;color:#425061;margin-bottom:6px}
body.ugccv2-page .woocommerce .form-row .required{color:#af7640}
body.ugccv2-page .woocommerce .select2-container .select2-selection--single{border-radius:11px!important;border:1px solid #dadcd9!important;background:#fff!important;min-height:49px!important;padding:9px 3px}
body.ugccv2-page .woocommerce .select2-container .select2-selection--single .select2-selection__arrow{top:11px}
body.ugccv2-page .woocommerce input[type=checkbox],body.ugccv2-page .woocommerce input[type=radio]{accent-color:#e3aa00}

/* CART: item list and totals are two distinct visual areas; no template overrides. */
body.ugccv2-is-cart .woocommerce-cart-form{margin-bottom:26px}
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table{box-shadow:var(--ugcc-shadow)}
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table td.product-thumbnail img{width:70px!important;max-width:70px!important;height:70px;object-fit:cover;border-radius:13px;background:#f4f1ea}
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table td.product-name{min-width:160px}
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table td.actions{padding:18px 22px!important;background:#fcfbf8}
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table td.actions .coupon{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table td.actions .coupon input.input-text{min-width:160px;width:auto;min-height:49px}
body.ugccv2-is-cart .woocommerce .cart-collaterals{display:flex;justify-content:flex-end;margin-bottom:38px}
body.ugccv2-is-cart .woocommerce .cart-collaterals .cart_totals{float:none!important;width:min(100%,510px)!important;padding:29px 29px 25px;border:1px solid var(--ugcc-border);border-radius:24px;background:#fff;box-shadow:var(--ugcc-shadow)}
body.ugccv2-is-cart .woocommerce .cart-collaterals .cart_totals h2{margin:0 0 18px;font-size:24px!important}
body.ugccv2-is-cart .woocommerce .cart-collaterals .cart_totals .shop_table{box-shadow:none;border:0!important;margin:0 0 19px;background:transparent}
body.ugccv2-is-cart .woocommerce .cart-collaterals .cart_totals .shop_table tr th,
body.ugccv2-is-cart .woocommerce .cart-collaterals .cart_totals .shop_table tr td{padding:13px 0!important;border-top:1px solid #ece9e2!important}
body.ugccv2-is-cart .woocommerce .cart-collaterals .cart_totals .shop_table tr:first-child th,
body.ugccv2-is-cart .woocommerce .cart-collaterals .cart_totals .shop_table tr:first-child td{border-top:0!important}
body.ugccv2-is-cart .woocommerce .cart-collaterals .cart_totals .order-total .amount{font-size:24px!important}
body.ugccv2-is-cart .woocommerce .cart-collaterals .cart_totals .wc-proceed-to-checkout{padding:8px 0 0}
body.ugccv2-is-cart .woocommerce .cart-collaterals .cart_totals .checkout-button{display:flex!important;align-items:center;justify-content:center;width:100%;margin:0!important;font-size:15px!important}
body.ugccv2-is-cart .woocommerce .cart-empty{font-size:22px;font-weight:850;color:var(--ugcc-navy);margin-top:15px}
body.ugccv2-is-cart .woocommerce .return-to-shop{margin-bottom:55px}

/* CHECKOUT: retain all WC fields, seat data, notices, gateways and validation. */
body.ugccv2-is-checkout .woocommerce form.checkout{margin-bottom:40px}
body.ugccv2-is-checkout .woocommerce form.checkout::after{content:"";display:block;clear:both}
body.ugccv2-is-checkout .woocommerce form.checkout>.col2-set{width:59%;float:left;clear:left;padding:28px 30px;border:1px solid var(--ugcc-border);border-radius:24px;background:#fff;box-shadow:var(--ugcc-shadow);margin:0 0 24px}
body.ugccv2-is-checkout .woocommerce form.checkout>.col2-set .col-1,
body.ugccv2-is-checkout .woocommerce form.checkout>.col2-set .col-2{width:100%;float:none;margin:0}
body.ugccv2-is-checkout .woocommerce form.checkout>.col2-set .col-2{margin-top:24px}
body.ugccv2-is-checkout .woocommerce form.checkout>.col2-set h3{font-size:24px!important;margin:0 0 24px}
body.ugccv2-is-checkout .woocommerce #order_review_heading{width:38%;float:right;clear:right;margin:0 0 0;padding:24px 27px 13px;background:#fff;border:1px solid var(--ugcc-border);border-bottom:0;border-radius:24px 24px 0 0;font-size:24px!important;line-height:1.2}
body.ugccv2-is-checkout .woocommerce #order_review{width:38%;float:right;clear:right;padding:0 27px 24px;background:#fff;border:1px solid var(--ugcc-border);border-top:0;border-radius:0 0 24px 24px;box-shadow:var(--ugcc-shadow);margin:0 0 24px}
body.ugccv2-is-checkout .woocommerce #order_review .shop_table{border:0!important;box-shadow:none;margin-bottom:22px}
body.ugccv2-is-checkout .woocommerce #order_review .shop_table th,
body.ugccv2-is-checkout .woocommerce #order_review .shop_table td{padding:14px 5px!important;font-size:13px!important}
body.ugccv2-is-checkout .woocommerce #order_review .shop_table th{font-size:11px!important}
body.ugccv2-is-checkout .woocommerce #order_review .shop_table thead{background:transparent}
body.ugccv2-is-checkout .woocommerce #order_review .order-total .amount{font-size:21px!important}
body.ugccv2-is-checkout .woocommerce #payment{border:1px solid #e8e5dd!important;border-radius:17px!important;background:#faf9f5!important;overflow:hidden;margin-top:10px}
body.ugccv2-is-checkout .woocommerce #payment ul.payment_methods{padding:20px 17px!important;border-bottom:1px solid #eae6dc!important}
body.ugccv2-is-checkout .woocommerce #payment ul.payment_methods li{margin:0 0 10px!important}
body.ugccv2-is-checkout .woocommerce #payment .payment_box{border-radius:10px!important;background:#f0ede5!important;font-size:13px!important}
body.ugccv2-is-checkout .woocommerce #payment .payment_box::before{border-bottom-color:#f0ede5!important}
body.ugccv2-is-checkout .woocommerce #payment .place-order{padding:18px!important}
body.ugccv2-is-checkout .woocommerce #payment .place-order #place_order{width:100%;float:none!important;min-height:54px!important;font-size:15px!important}
body.ugccv2-is-checkout .woocommerce .woocommerce-terms-and-conditions-wrapper{font-size:13px;line-height:1.6}
body.ugccv2-is-checkout .woocommerce .woocommerce-checkout-review-order-table td.product-name{font-weight:750}
body.ugccv2-is-checkout .woocommerce .ugep-checkout-continue-box{border:1px solid #eee3c1;background:#fff8df;border-radius:17px;box-shadow:none;margin:0 0 26px}
/* Order received: Woo order detail remains fully visible. */
body.ugccv2-is-checkout .woocommerce .woocommerce-order-overview{padding:23px!important;border:1px solid var(--ugcc-border);border-radius:18px;background:#fff;display:flex;flex-wrap:wrap;gap:14px;margin-bottom:25px}
body.ugccv2-is-checkout .woocommerce .woocommerce-order-overview li{margin:0!important;padding:0 17px 0 0!important;border-right:1px solid var(--ugcc-border);font-size:12px!important;line-height:1.7}
body.ugccv2-is-checkout .woocommerce .woocommerce-order-overview li:last-child{border:0}

/* WooCommerce Blocks: keep the original React application and gateway integrations. */
body.ugccv2-page .wp-block-woocommerce-cart,
body.ugccv2-page .wp-block-woocommerce-checkout{font-family:inherit;margin-bottom:45px;color:var(--ugcc-navy)}
body.ugccv2-page .wc-block-cart__main,
body.ugccv2-page .wc-block-cart__sidebar,
body.ugccv2-page .wc-block-checkout__main,
body.ugccv2-page .wc-block-checkout__sidebar{min-width:0}
body.ugccv2-page .wc-block-cart-items,
body.ugccv2-page .wc-block-components-totals-wrapper,
body.ugccv2-page .wc-block-components-checkout-step{border-color:var(--ugcc-border)!important}
body.ugccv2-page .wc-block-cart-items,
body.ugccv2-page .wc-block-cart__sidebar,
body.ugccv2-page .wc-block-checkout__sidebar,
body.ugccv2-page .wc-block-checkout__main{background:#fff;border:1px solid var(--ugcc-border);border-radius:22px;padding:24px;box-shadow:var(--ugcc-shadow)}
body.ugccv2-page .wc-block-cart-items{padding:12px 20px}
body.ugccv2-page .wc-block-cart-items__header{background:#f7f5f0}
body.ugccv2-page .wc-block-components-order-summary__button-text,
body.ugccv2-page .wc-block-components-sidebar-layout h2,
body.ugccv2-page .wc-block-components-title{color:var(--ugcc-navy);font-weight:850}
body.ugccv2-page .wc-block-components-product-name{text-decoration:none!important;color:var(--ugcc-navy)!important;font-weight:850}
body.ugccv2-page .wc-block-components-product-metadata{color:var(--ugcc-muted)}
body.ugccv2-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__value{font-size:23px;font-weight:900}
body.ugccv2-page .wc-block-checkout__actions_row{gap:12px}
body.ugccv2-page .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button{min-height:54px}
body.ugccv2-page .wc-block-components-radio-control__option,
body.ugccv2-page .wc-block-components-checkbox{color:var(--ugcc-navy)}

@media(max-width:1120px){
  body.ugccv2-page .ugccv2-header-inner{grid-template-columns:minmax(240px,1fr) auto}
  body.ugccv2-page .ugccv2-nav{position:absolute;top:calc(100% + 7px);left:18px;right:18px;display:none;padding:9px;border-radius:22px;background:rgba(255,255,255,.98);box-shadow:0 22px 60px rgba(24,32,45,.16)}
  body.ugccv2-page .ugccv2-header.menu-open .ugccv2-nav{display:grid;grid-template-columns:repeat(4,1fr)}
  body.ugccv2-page .ugccv2-nav a{justify-content:center;min-height:46px}
  body.ugccv2-page .ugccv2-menu-toggle{display:flex}
  body.ugccv2-page .ugccv2-intro-main{align-items:flex-start;flex-direction:column;gap:22px}
  body.ugccv2-page .ugccv2-progress{justify-content:flex-start}
}
@media(max-width:767px){
  body.ugccv2-page .ugccv2-header{padding:7px 0 5px}
  body.ugccv2-page .ugccv2-header-inner{width:calc(100% - 24px);min-height:58px;grid-template-columns:minmax(0,1fr) auto;gap:10px}
  body.ugccv2-page .ugccv2-brand{gap:8px}
  body.ugccv2-page .ugccv2-brand img{width:40px;height:40px;flex-basis:40px}
  body.ugccv2-page .ugccv2-brand strong{font-size:10px;letter-spacing:.045em}
  body.ugccv2-page .ugccv2-brand small{font-size:6.5px;letter-spacing:.045em;margin-top:3px}
  body.ugccv2-page .ugccv2-cart-link{width:40px;height:40px;flex-basis:40px}
  body.ugccv2-page .ugccv2-header-cta{display:none}
  body.ugccv2-page .ugccv2-menu-toggle{width:43px;height:43px}
  body.ugccv2-page .ugccv2-nav{left:12px;right:12px;top:calc(100% + 5px)}
  body.ugccv2-page .ugccv2-header.menu-open .ugccv2-nav{grid-template-columns:1fr}
  body.ugccv2-page .ugccv2-nav a{justify-content:flex-start;padding:0 16px;font-size:12px}
  body.ugccv2-page .ugccv2-intro{width:calc(100% - 32px);padding:28px 0 24px}
  body.ugccv2-page .ugccv2-eyebrow{font-size:9px;letter-spacing:.1em;gap:7px}
  body.ugccv2-page .ugccv2-intro-top{align-items:flex-start;flex-direction:column;gap:13px;margin-bottom:19px}
  body.ugccv2-page .ugccv2-intro h1{font-size:37px!important;margin-bottom:10px}
  body.ugccv2-page .ugccv2-intro p{font-size:14px!important}
  body.ugccv2-page .ugccv2-progress{gap:6px;max-width:100%;flex-wrap:wrap}
  body.ugccv2-page .ugccv2-progress b{font-size:10px}
  body.ugccv2-page .ugccv2-progress-line{width:12px}
  body.ugccv2-page .ugccv2-progress a span,body.ugccv2-page .ugccv2-progress>span:not(.ugccv2-progress-line)>span{width:26px;height:26px}
  body.ugccv2-page .woocommerce table.shop_table td,body.ugccv2-page .woocommerce table.shop_table th{padding:14px 12px}
  body.ugccv2-is-cart .woocommerce-cart-form table.shop_table td.product-thumbnail img{width:52px!important;height:52px}
  body.ugccv2-is-cart .woocommerce-cart-form table.shop_table td.actions{padding:16px 13px!important}
  body.ugccv2-is-cart .woocommerce-cart-form table.shop_table td.actions .coupon{width:100%;float:none}
  body.ugccv2-is-cart .woocommerce-cart-form table.shop_table td.actions .coupon input.input-text{width:100%;flex:1 1 150px;min-width:0}
  body.ugccv2-is-cart .woocommerce-cart-form table.shop_table td.actions .coupon button{flex:1 1 auto}
  body.ugccv2-is-cart .woocommerce .cart-collaterals .cart_totals{width:100%!important;padding:23px 20px}
  body.ugccv2-is-checkout .woocommerce form.checkout>.col2-set,
  body.ugccv2-is-checkout .woocommerce #order_review_heading,
  body.ugccv2-is-checkout .woocommerce #order_review{float:none;clear:both;width:100%}
  body.ugccv2-is-checkout .woocommerce form.checkout>.col2-set{padding:23px 19px;margin-bottom:24px}
  body.ugccv2-is-checkout .woocommerce #order_review_heading{padding:23px 18px 12px}
  body.ugccv2-is-checkout .woocommerce #order_review{padding:0 18px 20px}
  body.ugccv2-is-checkout .woocommerce #order_review .shop_table th,
  body.ugccv2-is-checkout .woocommerce #order_review .shop_table td{padding:12px 4px!important}
  body.ugccv2-page .wc-block-cart-items,
  body.ugccv2-page .wc-block-cart__sidebar,
  body.ugccv2-page .wc-block-checkout__sidebar,
  body.ugccv2-page .wc-block-checkout__main{padding:14px;border-radius:16px}
}
@media(prefers-reduced-motion:reduce){body.ugccv2-page *{scroll-behavior:auto!important;transition:none!important}}

/* v0.1.1 – Only the vertical rhythm and readability of cart / checkout / order received.
   The approved header, navigation, Home V2 and all WooCommerce forms are untouched. */
body.ugccv2-page .ugccv2-intro{padding-top:27px;padding-bottom:15px}
body.ugccv2-page .ugccv2-intro-top{margin-bottom:13px}
body.ugccv2-page .ugccv2-intro h1{font-size:clamp(36px,4.1vw,56px)!important;margin-bottom:8px}
body.ugccv2-page .ugccv2-intro p{line-height:1.45}
/* Themes may add a second top gutter to the WooCommerce content after our intro. */
body.ugccv2-page .ugccv2-top + .woocommerce,
body.ugccv2-page .ugccv2-top + .wp-block-woocommerce-cart,
body.ugccv2-page .ugccv2-top + .wp-block-woocommerce-checkout{margin-top:0!important;padding-top:0!important}
body.ugccv2-page .ugccv2-top + p:empty{display:none!important}
body.ugccv2-page .ugccv2-top ~ .woocommerce{padding-top:0!important}
/* Existing 'continue shopping' notice belongs to Product Block: restyle, don't re-render. */
body.ugccv2-is-checkout .ugep-checkout-continue-box{
  display:flex;align-items:center;justify-content:space-between;gap:20px;
  background:#fff8e6!important;border:1px solid #eadcb0!important;
  color:var(--ugcc-navy)!important;border-radius:20px!important;
  padding:20px 23px!important;margin:0 0 22px!important;box-shadow:none!important;
}
body.ugccv2-is-checkout .ugep-checkout-continue-text strong{
  color:#8d6100!important;font-size:18px!important;line-height:1.28!important;
}
body.ugccv2-is-checkout .ugep-checkout-continue-text span{
  color:#455265!important;font-size:14px!important;line-height:1.55!important;
}
body.ugccv2-is-checkout .ugep-checkout-continue-button{
  flex:0 0 auto;white-space:normal;max-width:340px;
  background:var(--ugcc-yellow)!important;color:var(--ugcc-navy)!important;
  border:0!important;border-radius:999px!important;
  padding:14px 20px!important;line-height:1.25!important;
  font-size:12px!important;font-weight:900!important;text-align:center;
}
body.ugccv2-is-checkout .ugep-checkout-continue-button:hover,
body.ugccv2-is-checkout .ugep-checkout-continue-button:focus-visible{
  background:#f3c322!important;color:var(--ugcc-navy)!important;
}
/* Order confirmation gets a coordinated, readable success statement. */
body.ugccv2-is-checkout .woocommerce-order .woocommerce-notice--success,
body.ugccv2-is-checkout .woocommerce-order .woocommerce-thankyou-order-received{
  display:block;margin:0 0 20px!important;padding:17px 21px!important;
  border:1px solid #d8e9db;border-left:4px solid #328554;
  border-radius:12px;background:#f2f9f3;color:var(--ugcc-navy)!important;
  font-size:20px!important;font-weight:750;line-height:1.4;
}
@media(max-width:767px){
  body.ugccv2-page .ugccv2-intro{padding-top:19px;padding-bottom:12px}
  body.ugccv2-page .ugccv2-intro-top{margin-bottom:12px}
  body.ugccv2-page .ugccv2-intro h1{font-size:clamp(32px,8vw,39px)!important}
  body.ugccv2-is-checkout .ugep-checkout-continue-box{flex-direction:column;align-items:stretch;padding:17px!important;gap:13px}
  body.ugccv2-is-checkout .ugep-checkout-continue-button{width:100%;max-width:none}
  body.ugccv2-is-checkout .woocommerce-order .woocommerce-notice--success,
  body.ugccv2-is-checkout .woocommerce-order .woocommerce-thankyou-order-received{font-size:17px!important;padding:15px!important}
}

/* v0.1.2: SAME menu on /prodotti-evento/, without styling product blocks or forms.
   Never apply .ugccv2-page: that class owns the cart and checkout styles only. */
body.ugccv2-products-page{
  --ugcc-yellow:#ffcf2d;--ugcc-navy:#202b3a;--ugcc-ink:#182333;
  --ugcc-muted:#687382;--ugcc-paper:#fbfaf7;--ugcc-border:#e6e4df;
}
body.ugccv2-products-page .l-header,
body.ugccv2-products-page #page-header,
body.ugccv2-products-page header.site-header:not(.ugccv2-header),
body.ugccv2-products-page .site-header:not(.ugccv2-header),
body.ugccv2-products-page .l-titlebar{display:none!important}
body.ugccv2-products-page .l-main,
body.ugccv2-products-page .l-canvas{padding-top:0!important;margin-top:0!important}
body.ugccv2-products-page .l-main>.l-section:first-child{padding-top:0!important}
body.ugccv2-products-page .l-main>.l-section:first-child>.l-section-h{padding-top:0!important}
body.ugccv2-products-page .ugccv2-top *,
body.ugccv2-products-page .ugccv2-top *::before,
body.ugccv2-products-page .ugccv2-top *::after{box-sizing:border-box}
body.ugccv2-products-page .ugccv2-top{width:100vw;max-width:none;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);color:var(--ugcc-ink);font-family:inherit}
body.ugccv2-products-page .ugccv2-header{position:relative;z-index:110;padding:14px 0 8px;background:rgba(251,250,247,.98);border-bottom:1px solid #e6e2d8;box-shadow:0 8px 30px rgba(24,32,45,.035)}
body.ugccv2-products-page .ugccv2-header-inner{width:min(1460px,calc(100% - 64px));min-height:68px;margin:0 auto;display:grid;grid-template-columns:minmax(270px,.9fr) auto minmax(270px,.9fr);align-items:center;gap:26px}
body.ugccv2-products-page .ugccv2-brand{min-width:0;display:inline-flex;align-items:center;gap:12px;color:var(--ugcc-navy)!important;text-decoration:none!important}
body.ugccv2-products-page .ugccv2-brand img{display:block;width:48px;height:48px;flex:0 0 48px;object-fit:contain}
body.ugccv2-products-page .ugccv2-brand span{display:block;min-width:0}
body.ugccv2-products-page .ugccv2-brand strong{display:block;font-size:13px;line-height:1.08;letter-spacing:.09em;white-space:nowrap;font-weight:850}
body.ugccv2-products-page .ugccv2-brand small{display:block;margin-top:5px;font-size:8px;line-height:1.1;color:#858b94;font-weight:800;letter-spacing:.1em;white-space:nowrap}
body.ugccv2-products-page .ugccv2-nav{display:flex;align-items:center;justify-content:center;gap:4px;padding:5px;border:1px solid rgba(225,221,211,.88);background:rgba(255,255,255,.76);border-radius:999px;box-shadow:0 5px 18px rgba(24,32,45,.035)}
body.ugccv2-products-page .ugccv2-nav a{display:inline-flex;align-items:center;min-height:40px;padding:0 15px;border-radius:999px;color:#59616d!important;text-decoration:none!important;font-size:11px;font-weight:850;letter-spacing:.025em;white-space:nowrap}
body.ugccv2-products-page .ugccv2-nav a:hover{color:var(--ugcc-navy)!important;background:#f7f3e9}
body.ugccv2-products-page .ugccv2-header-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px}
body.ugccv2-products-page .ugccv2-header-cta{display:inline-flex;min-height:46px;padding:0 18px;align-items:center;justify-content:center;gap:9px;border-radius:999px;background:var(--ugcc-navy);color:#fff!important;text-decoration:none!important;font-size:11px;line-height:1;font-weight:900;white-space:nowrap;box-shadow:0 11px 24px rgba(24,32,45,.14)}
body.ugccv2-products-page .ugccv2-header-cta:hover{color:#fff!important;transform:translateY(-2px);box-shadow:0 15px 30px rgba(24,32,45,.2)}
body.ugccv2-products-page .ugccv2-header-cta span{color:var(--ugcc-yellow);font-size:15px}
body.ugccv2-products-page .ugccv2-cart-link{width:45px;height:45px;border:1px solid var(--ugcc-border);border-radius:50%;background:#fff;color:var(--ugcc-navy)!important;text-decoration:none!important;display:inline-flex;align-items:center;justify-content:center;gap:2px;position:relative;flex:0 0 45px}
body.ugccv2-products-page .ugccv2-cart-link>span{position:absolute;top:-5px;right:-5px;min-width:21px;height:21px;padding:0 3px;display:flex;align-items:center;justify-content:center;border-radius:999px;background:var(--ugcc-yellow);font-size:10px;font-weight:850}
body.ugccv2-products-page .ugccv2-menu-toggle{display:none;width:46px;height:46px;border:1px solid var(--ugcc-border);border-radius:50%;background:#fff;padding:0;align-items:center;justify-content:center;flex-direction:column;gap:4px;cursor:pointer}
body.ugccv2-products-page .ugccv2-menu-toggle span{display:block;width:17px;height:2px;border-radius:10px;background:var(--ugcc-navy);transition:transform .2s ease,opacity .2s ease}
body.ugccv2-products-page .ugccv2-menu-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(6px) rotate(45deg)}
body.ugccv2-products-page .ugccv2-menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
body.ugccv2-products-page .ugccv2-menu-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
@media(max-width:1120px){
  body.ugccv2-products-page .ugccv2-header-inner{grid-template-columns:minmax(240px,1fr) auto}
  body.ugccv2-products-page .ugccv2-nav{position:absolute;top:calc(100% + 7px);left:18px;right:18px;display:none;padding:9px;border-radius:22px;background:rgba(255,255,255,.98);box-shadow:0 22px 60px rgba(24,32,45,.16)}
  body.ugccv2-products-page .ugccv2-header.menu-open .ugccv2-nav{display:grid;grid-template-columns:repeat(4,1fr)}
  body.ugccv2-products-page .ugccv2-nav a{justify-content:center;min-height:46px}
  body.ugccv2-products-page .ugccv2-menu-toggle{display:flex}
}
@media(max-width:767px){
  body.ugccv2-products-page .ugccv2-header{padding:7px 0 5px}
  body.ugccv2-products-page .ugccv2-header-inner{width:calc(100% - 24px);min-height:58px;grid-template-columns:minmax(0,1fr) auto;gap:10px}
  body.ugccv2-products-page .ugccv2-brand{gap:8px}
  body.ugccv2-products-page .ugccv2-brand img{width:40px;height:40px;flex-basis:40px}
  body.ugccv2-products-page .ugccv2-brand strong{font-size:10px;letter-spacing:.045em}
  body.ugccv2-products-page .ugccv2-brand small{font-size:6.5px;letter-spacing:.045em;margin-top:3px}
  body.ugccv2-products-page .ugccv2-cart-link{width:40px;height:40px;flex-basis:40px}
  body.ugccv2-products-page .ugccv2-header-cta{display:none}
  body.ugccv2-products-page .ugccv2-menu-toggle{width:43px;height:43px}
  body.ugccv2-products-page .ugccv2-nav{left:12px;right:12px;top:calc(100% + 5px)}
  body.ugccv2-products-page .ugccv2-header.menu-open .ugccv2-nav{grid-template-columns:1fr}
  body.ugccv2-products-page .ugccv2-nav a{justify-content:flex-start;padding:0 16px;font-size:12px}
}

/* v0.1.3: tighten the start of /prodotti-evento/ below the shared header. */
body.ugccv2-products-page .ugccv2-top + *,
body.ugccv2-products-page .ugccv2-top + div,
body.ugccv2-products-page .ugccv2-top + section,
body.ugccv2-products-page .ugccv2-top + .l-section,
body.ugccv2-products-page .ugccv2-top + .vc_row,
body.ugccv2-products-page .ugccv2-top + .wpb-content-wrapper{
  margin-top:0!important;
  padding-top:0!important;
}
body.ugccv2-products-page .l-main .ugccv2-top ~ .w-separator:first-of-type,
body.ugccv2-products-page .l-main .ugccv2-top ~ .vc_empty_space:first-of-type{
  display:none!important;
}
body.ugccv2-products-page .l-main .ugccv2-top ~ .l-section:first-of-type,
body.ugccv2-products-page .l-main .ugccv2-top ~ section:first-of-type,
body.ugccv2-products-page .l-main .ugccv2-top ~ div:first-of-type{
  margin-top:0!important;
  padding-top:0!important;
}

/* v0.2.0 — intestazione compatta della pagina prodotti */
body.ugccv2-products-listing-page .ugccv2-products-intro{width:100%;background:#202b3a;color:#fff;border-bottom:1px solid rgba(255,207,45,.45)}
body.ugccv2-products-listing-page .ugccv2-products-intro-inner{width:min(1460px,calc(100% - 64px));margin:0 auto;padding:34px 0 32px}
body.ugccv2-products-listing-page .ugccv2-products-kicker{display:flex;align-items:center;gap:10px;color:#ffcf2d;font-size:10px;line-height:1.3;font-weight:900;letter-spacing:.16em}
body.ugccv2-products-listing-page .ugccv2-products-kicker i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#ffcf2d}
body.ugccv2-products-listing-page .ugccv2-products-intro h1{margin:12px 0 7px!important;color:#fff!important;font-size:clamp(34px,4vw,56px)!important;line-height:1!important;letter-spacing:-.045em!important;font-weight:850!important}
body.ugccv2-products-listing-page .ugccv2-products-intro p{margin:0!important;max-width:760px;color:rgba(255,255,255,.74)!important;font-size:16px!important;line-height:1.55!important}
/* neutralizza il grande vuoto ereditato dal builder prima del primo prodotto */
body.ugccv2-products-listing-page .ugccv2-top + *{margin-top:0!important;padding-top:30px!important}
body.ugccv2-products-listing-page .l-main .l-section:first-of-type>.l-section-h{padding-top:30px!important}
@media(max-width:767px){body.ugccv2-products-listing-page .ugccv2-products-intro-inner{width:calc(100% - 28px);padding:24px 0 23px}body.ugccv2-products-listing-page .ugccv2-products-intro p{font-size:14px!important}body.ugccv2-products-listing-page .ugccv2-top + *{padding-top:18px!important}}


/* v0.2.2 — cart layout refinement. Only Classic WooCommerce cart; no template/JS changes.
   Keep each seat/intestatario meta in the original WooCommerce cart row. */
body.ugccv2-is-cart .l-main .woocommerce,
body.ugccv2-is-cart .l-main .wp-block-woocommerce-cart{
  width:100%;max-width:1460px;min-width:0;margin-left:auto;margin-right:auto;
}
body.ugccv2-is-cart .woocommerce .woocommerce-cart-form{
  display:block;float:none!important;clear:both;width:100%!important;max-width:100%!important;
  margin:0 0 24px!important;
}
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart{
  width:100%!important;max-width:100%;table-layout:fixed!important;
  margin:0!important;border-spacing:0!important;border-radius:22px!important;
}
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart th,
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart td{
  box-sizing:border-box;text-align:left;vertical-align:middle;
  white-space:normal;overflow-wrap:anywhere;
}
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart th.product-remove,
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart td.product-remove{width:5%;text-align:center;padding-left:10px!important;padding-right:4px!important}
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart th.product-thumbnail,
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart td.product-thumbnail{width:10%;padding-left:7px!important;padding-right:7px!important}
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart th.product-name,
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart td.product-name{width:43%;min-width:0!important;padding-left:16px!important;padding-right:18px!important}
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart th.product-price,
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart td.product-price{width:13%;white-space:normal}
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart th.product-quantity,
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart td.product-quantity{width:14%;text-align:center}
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart th.product-subtotal,
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart td.product-subtotal{width:15%;text-align:right}
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart td.product-name a{
  display:inline-block;line-height:1.4;font-size:16px!important;
}
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart td.product-name dl.variation,
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart td.product-name .wc-item-meta{
  font-size:13px!important;line-height:1.55;max-width:100%;overflow-wrap:anywhere;
}
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart td.product-name dl.variation dt,
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart td.product-name dl.variation dd,
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart td.product-name .wc-item-meta li{
  overflow-wrap:anywhere;max-width:100%;
}
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart td.product-thumbnail img{
  display:block;width:64px!important;max-width:100%!important;height:64px!important;object-fit:cover;
}
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart td.actions{
  padding:17px 20px!important;background:#faf8f3;
}
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart td.actions .coupon{
  display:flex!important;align-items:center;gap:9px;max-width:100%;
}
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart td.actions .coupon input.input-text{
  width:190px!important;min-width:0!important;max-width:100%!important;
}
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart td.actions button[name="update_cart"]{
  float:right;max-width:100%;
}
body.ugccv2-is-cart .woocommerce .cart-collaterals{
  float:none!important;clear:both;width:100%!important;max-width:100%;
  display:flex!important;align-items:flex-start;justify-content:flex-end;
  margin:0 0 28px!important;
}
body.ugccv2-is-cart .woocommerce .cart-collaterals::after{content:"";display:block;clear:both}
body.ugccv2-is-cart .woocommerce .cart-collaterals .cart_totals{
  float:none!important;max-width:100%;width:min(100%,520px)!important;
  margin:0!important;box-sizing:border-box;
}
body.ugccv2-is-cart .woocommerce .cart-collaterals .cart_totals table{table-layout:auto!important}
body.ugccv2-is-cart .woocommerce .cart-collaterals .cart_totals td{
  text-align:right;overflow-wrap:anywhere;
}
body.ugccv2-is-cart .woocommerce .cart-collaterals .cart_totals .checkout-button{
  white-space:normal;text-align:center;
}

/* Existing WooCommerce markup becomes readable cards on narrower screens.
   The item row and its metadata stay intact; no custom quantity/seat controls. */
@media (max-width:980px){
  body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart,
  body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart tbody{
    display:block!important;width:100%!important;table-layout:auto!important;
    border:0!important;border-radius:0!important;background:transparent!important;
    box-shadow:none!important;overflow:visible!important;
  }
  body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart thead{display:none!important}
  body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart tr.cart_item{
    display:grid!important;position:relative;
    grid-template-columns:70px minmax(0,1fr);column-gap:14px;row-gap:0;
    padding:18px 18px 10px;margin:0 0 15px;
    border:1px solid var(--ugcc-border);border-radius:18px;
    background:#fff;box-shadow:0 7px 22px rgba(26,36,49,.05);
  }
  body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart tr.cart_item>td{
    display:block!important;width:auto!important;min-width:0!important;max-width:none!important;
    grid-column:1/-1;position:static;border:0!important;padding:10px 0!important;
    text-align:left!important;float:none!important;background:transparent!important;
  }
  body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart tr.cart_item>td.product-thumbnail{
    grid-column:1;grid-row:1;padding:0!important;
  }
  body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart tr.cart_item>td.product-thumbnail img{
    width:68px!important;height:68px!important;max-width:68px!important;border-radius:12px;
  }
  body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart tr.cart_item>td.product-name{
    grid-column:2;grid-row:1;align-self:center;padding:0 32px 12px 0!important;
  }
  body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart tr.cart_item>td.product-remove{
    position:absolute!important;right:14px;top:15px;z-index:1;
    width:30px!important;height:30px!important;padding:0!important;text-align:center!important;
  }
  body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart tr.cart_item>td.product-name::before,
  body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart tr.cart_item>td.product-thumbnail::before,
  body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart tr.cart_item>td.product-remove::before{
    display:none!important;content:none!important;
  }
  body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart tr.cart_item>td.product-price,
  body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart tr.cart_item>td.product-quantity,
  body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart tr.cart_item>td.product-subtotal{
    display:flex!important;align-items:center;justify-content:space-between;gap:14px;
    border-top:1px solid #ece8df!important;min-height:48px;
  }
  body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart tr.cart_item>td.product-price::before,
  body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart tr.cart_item>td.product-quantity::before,
  body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart tr.cart_item>td.product-subtotal::before{
    display:block!important;float:none!important;width:auto!important;height:auto!important;
    font-size:12px!important;line-height:1.35;font-weight:750!important;
    color:#647082!important;text-transform:none!important;margin:0!important;
  }
  body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart tr.cart_item>td.product-price::before{content:"Prezzo"!important}
  body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart tr.cart_item>td.product-quantity::before{content:"Quantità"!important}
  body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart tr.cart_item>td.product-subtotal::before{content:"Totale"!important}
  body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart tr.cart_item>td.product-subtotal .amount{
    font-size:17px;font-weight:850;
  }
  body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart tr:not(.cart_item)>td.actions{
    display:block!important;width:100%!important;padding:17px!important;
    border:1px solid var(--ugcc-border)!important;border-radius:17px!important;
    background:#faf8f3!important;
  }
  body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart tr:not(.cart_item){display:block!important}
  body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart td.actions .coupon{width:100%;flex-wrap:wrap}
  body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart td.actions .coupon input.input-text{
    flex:1 1 160px;width:auto!important;
  }
  body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart td.actions button[name="update_cart"]{
    float:none!important;display:block;width:100%;margin:12px 0 0!important;
  }
  body.ugccv2-is-cart .woocommerce .cart-collaterals{display:block!important}
  body.ugccv2-is-cart .woocommerce .cart-collaterals .cart_totals{
    width:100%!important;max-width:100%!important;
  }
}
@media (max-width:520px){
  body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart tr.cart_item{
    grid-template-columns:54px minmax(0,1fr);gap:10px;padding:14px 13px 8px;
  }
  body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart tr.cart_item>td.product-thumbnail img{
    width:54px!important;height:54px!important;max-width:54px!important;
  }
  body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart tr.cart_item>td.product-name{
    padding-right:24px!important;
  }
  body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart tr.cart_item>td.product-name a{
    font-size:14px!important;
  }
  body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart td.actions .coupon{
    flex-direction:column;align-items:stretch;
  }
  body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart td.actions .coupon input.input-text,
  body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart td.actions .coupon button{
    width:100%!important;flex:0 0 auto;
  }
  body.ugccv2-is-cart .woocommerce .cart-collaterals .cart_totals{
    padding:20px 16px!important;border-radius:18px;
  }
  body.ugccv2-is-cart .woocommerce .cart-collaterals .cart_totals .shop_table th,
  body.ugccv2-is-cart .woocommerce .cart-collaterals .cart_totals .shop_table td{
    padding:12px 4px!important;
  }
}

/* v0.2.3 — full-width cart, aligned with the new UG site visual system.
   Only WooCommerce's cart view; checkout, products and shared menus are untouched. */
body.ugccv2-is-cart .l-main .l-section-h:has(.woocommerce-cart-form),
body.ugccv2-is-cart .l-main .l-section-h:has(.wp-block-woocommerce-cart){
  box-sizing:border-box;
  width:min(1760px,calc(100% - 56px))!important;
  max-width:none!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:0!important;
  padding-right:0!important;
}
body.ugccv2-is-cart .l-main .l-section:has(.woocommerce-cart-form),
body.ugccv2-is-cart .l-main .l-section:has(.wp-block-woocommerce-cart){
  padding-top:0!important;
}
body.ugccv2-is-cart .l-main .l-section-h:has(.woocommerce-cart-form) .woocommerce,
body.ugccv2-is-cart .l-main .l-section-h:has(.wp-block-woocommerce-cart) .wp-block-woocommerce-cart{
  box-sizing:border-box;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding-top:0!important;
}
body.ugccv2-is-cart .ugccv2-top + .w-separator,
body.ugccv2-is-cart .ugccv2-top + .vc_empty_space{display:none!important}
body.ugccv2-is-cart .ugccv2-intro{padding-bottom:15px!important}
body.ugccv2-is-cart .woocommerce-cart-form{padding-top:0!important}

/* The cart is one generous, legible, branded surface. */
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart{
  background:#fff!important;
  border:1px solid #e4e4e2!important;
  border-radius:25px!important;
  box-shadow:0 18px 50px rgba(25,34,47,.07)!important;
  overflow:hidden;
}
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart thead{
  background:#202b3a!important;
}
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart thead th{
  background:#202b3a!important;
  color:#fff!important;
  border-bottom:3px solid #ffcf2d!important;
  padding-top:21px!important;
  padding-bottom:21px!important;
  font-size:12px!important;
  font-weight:850!important;
  letter-spacing:.075em;
}
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart tr.cart_item{
  background:#fff;
}
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart tr.cart_item:nth-child(even){
  background:#fdfcf9;
}
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart tr.cart_item>td{
  padding-top:24px!important;
  padding-bottom:24px!important;
  border-top:1px solid #eeeae1!important;
}
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart td.product-thumbnail img{
  width:76px!important;
  height:76px!important;
  max-width:100%!important;
  border-radius:14px;
}
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart td.product-name>a{
  font-size:17px!important;
  font-weight:850!important;
  line-height:1.35;
  color:#202b3a!important;
}
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart td.product-name dl.variation,
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart td.product-name .wc-item-meta{
  margin-top:12px!important;
  padding:10px 12px!important;
  background:#f8f6ef;
  border-left:3px solid #ffcf2d;
  border-radius:0 9px 9px 0;
  color:#4f5c6d!important;
}
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart td.product-name [class*="timer"],
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart td.product-name [class*="countdown"]{
  border-radius:11px!important;
  background:#f5f1e5!important;
  color:#202b3a!important;
}
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart td.product-name [class*="timer"] *,
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart td.product-name [class*="countdown"] *{
  color:#202b3a!important;
}
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart td.product-price .amount,
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart td.product-subtotal .amount{
  font-size:17px!important;
  font-weight:850!important;
  color:#202b3a!important;
}
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart td.product-subtotal,
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart th.product-subtotal{
  text-align:right!important;
}
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart td.actions{
  background:#fbfaf6!important;
  padding:22px 26px!important;
}
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart td.actions .coupon input.input-text{
  width:240px!important;
  min-height:48px!important;
}
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart td.actions .coupon .button{
  min-height:48px!important;
  font-size:12px!important;
}
body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart td.actions button[name="update_cart"]{
  min-height:48px!important;
  font-size:12px!important;
}

/* A full-width order summary instead of a tiny detached box at bottom-right. */
body.ugccv2-is-cart .woocommerce .cart-collaterals{
  display:block!important;
  width:100%!important;
  margin:20px 0 40px!important;
}
body.ugccv2-is-cart .woocommerce .cart-collaterals .cart_totals{
  box-sizing:border-box;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(250px,360px);
  column-gap:38px;
  align-items:center;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:27px 34px!important;
  border:1px solid #344355!important;
  border-radius:24px!important;
  background:#202b3a!important;
  box-shadow:0 18px 44px rgba(26,36,49,.09)!important;
  color:#fff!important;
}
body.ugccv2-is-cart .woocommerce .cart-collaterals .cart_totals>h2{
  grid-column:1/-1;
  margin:0 0 12px!important;
  font-size:24px!important;
  font-weight:850!important;
  color:#fff!important;
}
body.ugccv2-is-cart .woocommerce .cart-collaterals .cart_totals>table{
  grid-column:1;
  width:100%!important;
  margin:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.ugccv2-is-cart .woocommerce .cart-collaterals .cart_totals .shop_table tr th,
body.ugccv2-is-cart .woocommerce .cart-collaterals .cart_totals .shop_table tr td{
  background:transparent!important;
  color:#ecf0f5!important;
  border-color:rgba(255,255,255,.16)!important;
  font-size:15px!important;
}
body.ugccv2-is-cart .woocommerce .cart-collaterals .cart_totals .shop_table th{
  text-transform:none!important;
  letter-spacing:0!important;
}
body.ugccv2-is-cart .woocommerce .cart-collaterals .cart_totals .shop_table .amount,
body.ugccv2-is-cart .woocommerce .cart-collaterals .cart_totals .order-total .amount{
  color:#ffcf2d!important;
  font-size:25px!important;
  font-weight:900!important;
}
body.ugccv2-is-cart .woocommerce .cart-collaterals .cart_totals .wc-proceed-to-checkout{
  grid-column:2;
  padding:0!important;
  margin:0!important;
}
body.ugccv2-is-cart .woocommerce .cart-collaterals .cart_totals .checkout-button{
  min-height:56px!important;
  background:#ffcf2d!important;
  color:#202b3a!important;
  font-size:14px!important;
  font-weight:900!important;
  box-shadow:none!important;
}
body.ugccv2-is-cart .woocommerce .cart-collaterals .cart_totals .checkout-button:hover{
  background:#f1be1b!important;
  color:#202b3a!important;
}
@media(max-width:980px){
  body.ugccv2-is-cart .l-main .l-section-h:has(.woocommerce-cart-form),
  body.ugccv2-is-cart .l-main .l-section-h:has(.wp-block-woocommerce-cart){
    width:calc(100% - 32px)!important;
  }
  body.ugccv2-is-cart .woocommerce .cart-collaterals .cart_totals{
    grid-template-columns:minmax(0,1fr)!important;
    row-gap:15px;
    padding:24px!important;
  }
  body.ugccv2-is-cart .woocommerce .cart-collaterals .cart_totals>table,
  body.ugccv2-is-cart .woocommerce .cart-collaterals .cart_totals .wc-proceed-to-checkout{
    grid-column:1!important;
  }
  body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart tr.cart_item>td{
    padding-top:10px!important;
    padding-bottom:10px!important;
  }
  body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart tr.cart_item>td.product-thumbnail{
    padding:0!important;
  }
  body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart tr.cart_item>td.product-name{
    padding:0 32px 12px 0!important;
  }
  body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart tr.cart_item>td.product-remove{
    padding:0!important;
  }
  body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart td.actions{
    padding:18px!important;
  }
}
@media(max-width:520px){
  body.ugccv2-is-cart .l-main .l-section-h:has(.woocommerce-cart-form),
  body.ugccv2-is-cart .l-main .l-section-h:has(.wp-block-woocommerce-cart){
    width:calc(100% - 24px)!important;
  }
  body.ugccv2-is-cart .woocommerce .cart-collaterals .cart_totals{
    padding:19px 16px!important;
  }
  body.ugccv2-is-cart .woocommerce-cart-form table.shop_table.cart td.actions .coupon input.input-text{
    width:100%!important;
  }
}


/* v0.2.4 — remove the two oversized empty gutters ONLY on the cart page.
   The Impreza section/wrapper can add vertical padding above/below WC's cart. */
body.ugccv2-is-cart .l-main,
body.ugccv2-is-cart .l-canvas{
  min-height:0!important;
  padding-bottom:0!important;
  margin-bottom:0!important;
}
body.ugccv2-is-cart .l-main .l-section:has(.woocommerce-cart-form),
body.ugccv2-is-cart .l-main .l-section:has(.wp-block-woocommerce-cart){
  min-height:0!important;
  margin-top:0!important;
  margin-bottom:0!important;
  padding-top:0!important;
  padding-bottom:0!important;
}
body.ugccv2-is-cart .l-main .l-section-h:has(.woocommerce-cart-form),
body.ugccv2-is-cart .l-main .l-section-h:has(.wp-block-woocommerce-cart){
  min-height:0!important;
  padding-top:0!important;
  padding-bottom:0!important;
}
body.ugccv2-is-cart .l-main .l-section-h:has(.woocommerce-cart-form)>.wpb_wrapper,
body.ugccv2-is-cart .l-main .l-section-h:has(.wp-block-woocommerce-cart)>.wpb_wrapper{
  min-height:0!important;
  padding-top:0!important;
  padding-bottom:0!important;
  margin-top:0!important;
  margin-bottom:0!important;
}
body.ugccv2-is-cart .woocommerce-cart-form{
  margin-top:0!important;
  margin-bottom:14px!important;
}
body.ugccv2-is-cart .woocommerce .cart-collaterals{
  margin-top:12px!important;
  margin-bottom:22px!important;
  padding-top:0!important;
  padding-bottom:0!important;
}
body.ugccv2-is-cart .l-main .l-section:has(.woocommerce-cart-form) .w-separator:empty,
body.ugccv2-is-cart .l-main .l-section:has(.woocommerce-cart-form) .vc_empty_space:empty{
  height:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
}
@media (max-width:767px){
  body.ugccv2-is-cart .woocommerce .cart-collaterals{
    margin-top:8px!important;
    margin-bottom:18px!important;
  }
}

/* v0.2.6 — Match the established navy/yellow menu on Cambio Nome only.
   The optional Menu Footer Style plugin does not enqueue its CSS on this route. */
body.ugnc-page.ugccv2-products-page .ugccv2-header{
  background:#202b3a!important;border-bottom:2px solid rgba(255,207,45,.54)!important;
  box-shadow:0 12px 30px rgba(10,17,27,.15)!important;color:#fff;
}
body.ugnc-page.ugccv2-products-page .ugccv2-brand img{background:#fff;border:2px solid rgba(255,255,255,.85);border-radius:50%;padding:3px}
body.ugnc-page.ugccv2-products-page .ugccv2-brand,
body.ugnc-page.ugccv2-products-page .ugccv2-brand strong{color:#fff!important}
body.ugnc-page.ugccv2-products-page .ugccv2-brand small{color:#ffcf2d!important}
body.ugnc-page.ugccv2-products-page .ugccv2-nav{background:#192331!important;border:1px solid rgba(255,255,255,.19)!important;box-shadow:0 6px 20px rgba(8,13,22,.12)!important}
body.ugnc-page.ugccv2-products-page .ugccv2-nav a{color:#f4f6f9!important}
body.ugnc-page.ugccv2-products-page .ugccv2-nav a:hover{background:#354354!important;color:#ffcf2d!important}
body.ugnc-page.ugccv2-products-page .ugccv2-header-cta{background:#ffcf2d!important;color:#192331!important;box-shadow:0 9px 25px rgba(0,0,0,.14)!important}
body.ugnc-page.ugccv2-products-page .ugccv2-header-cta:hover{background:#ffda59!important;color:#192331!important}
body.ugnc-page.ugccv2-products-page .ugccv2-header-cta span{color:#192331!important}
body.ugnc-page.ugccv2-products-page .ugccv2-cart-link,
body.ugnc-page.ugccv2-products-page .ugccv2-menu-toggle{background:rgba(255,255,255,.085)!important;border-color:rgba(255,255,255,.30)!important;color:#fff!important}
body.ugnc-page.ugccv2-products-page .ugccv2-cart-link>span{background:#ffcf2d!important;color:#192331!important}
body.ugnc-page.ugccv2-products-page .ugccv2-menu-toggle span{background:#fff!important}
body.ugnc-page.ugccv2-products-page .ugccv2-header a:focus-visible,
body.ugnc-page.ugccv2-products-page .ugccv2-header button:focus-visible{outline:3px solid #ffcf2d!important;outline-offset:3px!important}
@media(max-width:1120px){
  body.ugnc-page.ugccv2-products-page .ugccv2-nav{background:#192331!important;border-color:rgba(255,255,255,.23)!important;box-shadow:0 20px 48px rgba(9,15,23,.3)!important}
}

/* v0.2.8 — Checkout only: hide product thumbnails/images.
   Keep cart visuals unchanged; checkout shows only useful purchase data. */
body.ugccv2-is-checkout .woocommerce-checkout-review-order-table th.product-thumbnail,
body.ugccv2-is-checkout .woocommerce-checkout-review-order-table td.product-thumbnail,
body.ugccv2-is-checkout .woocommerce-checkout-review-order-table img[class*="attachment-woocommerce"],
body.ugccv2-is-checkout .woocommerce-checkout-review-order-table img[class*="woocommerce_thumbnail"],
body.ugccv2-is-checkout .wc-block-components-order-summary-item__image,
body.ugccv2-is-checkout .wc-block-components-order-summary-item__image img,
body.ugccv2-is-checkout .wc-block-checkout__sidebar .wc-block-components-product-image,
body.ugccv2-is-checkout .wc-block-checkout__sidebar .wc-block-components-product-image img{
  display:none!important;
}
body.ugccv2-is-checkout .wc-block-components-order-summary-item__description,
body.ugccv2-is-checkout .wc-block-components-order-summary-item__info{
  padding-left:0!important;
  margin-left:0!important;
}
