body.ncsm-theme.woocommerce,body.ncsm-theme.woocommerce-page{background:#fff}.woocommerce .ncsm-main{padding:38px 0 72px}.woocommerce .woocommerce-breadcrumb{font-size:9.5px;color:var(--ncsm-muted);margin:0 0 18px}.woocommerce .woocommerce-breadcrumb a{color:var(--ncsm-muted);text-decoration:none}.woocommerce .woocommerce-products-header{background:linear-gradient(135deg,#fff5f5,#fff5f5);border-radius:14px;padding:28px 32px;margin:0 0 18px}.woocommerce .woocommerce-products-header__title{font-size:clamp(30px,4vw,44px);letter-spacing:-.04em;margin:0;line-height:1.06;font-weight:650}.woocommerce .woocommerce-result-count{color:var(--ncsm-muted);font-size:10.5px}.woocommerce .woocommerce-ordering select{border:1px solid var(--ncsm-border);height:36px;border-radius:7px;padding:0 30px 0 10px;background:#fff;font-size:10px}.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:20px}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}.woocommerce ul.products li.product{width:auto!important;margin:0!important;float:none!important;border:1px solid #eef0f5;border-radius:11px;background:#fff;padding:7px 7px 13px;overflow:hidden;transition:.2s}.woocommerce ul.products li.product:hover{transform:translateY(-2px);box-shadow:var(--ncsm-shadow)}.woocommerce ul.products li.product a img{aspect-ratio:1/1.02;object-fit:cover;border-radius:8px;margin:0 0 10px;background:#f3f5f9}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:13px!important;line-height:1.3;padding:0 4px!important;margin:0 0 6px!important;font-weight:650}.woocommerce ul.products li.product .price{padding:0 4px;color:var(--ncsm-text)!important;font-size:10.5px!important;font-weight:650}.ncsm-product-more{display:flex!important;justify-content:space-between;align-items:center;margin:9px 4px 0;border-top:1px solid #f0f1f4;padding-top:8px;text-decoration:none!important;font-size:10px;font-weight:650;color:#c1121f!important}.woocommerce nav.woocommerce-pagination ul{border:0!important;display:flex;gap:6px}.woocommerce nav.woocommerce-pagination ul li{border:0!important}.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{min-width:35px;height:35px;border:1px solid var(--ncsm-border);border-radius:8px;display:grid;place-items:center;padding:0;font-size:10px}.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--ncsm-dark);color:#fff}
.single-product .ncsm-main{background:#fff}.single-product div.product{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(310px,.75fr);column-gap:28px;align-items:start}.single-product div.product .woocommerce-product-gallery{width:100%!important;float:none!important;margin:0!important;border:1px solid #eef0f5;border-radius:13px;padding:8px;background:#fff;overflow:hidden}.single-product div.product .woocommerce-product-gallery img{border-radius:9px}.single-product div.product .summary{width:100%!important;float:none!important;margin:0!important;position:sticky;top:82px}.single-product div.product .product_title{font-size:clamp(30px,3.8vw,42px);line-height:1.04;letter-spacing:-.04em;margin:0 0 8px;font-weight:650}.single-product .woocommerce-product-details__short-description{color:var(--ncsm-muted);font-size:12px}.single-product .ncss-tagline{font-size:13px}.single-product .ncss-purchase-box,.single-product .ncss-tech-meta{box-shadow:none!important}.single-product .woocommerce-tabs,.single-product .related.products,.single-product .upsells.products,.single-product .ncss-extra-wrap{grid-column:1/-1}.single-product .woocommerce-tabs{margin-top:34px}.single-product .woocommerce-tabs ul.tabs{display:flex;gap:6px;padding:0!important;margin:0 0 14px!important}.single-product .woocommerce-tabs ul.tabs:before{display:none!important}.single-product .woocommerce-tabs ul.tabs li{border:1px solid var(--ncsm-border)!important;background:#fff!important;border-radius:999px!important;padding:0!important;margin:0!important}.single-product .woocommerce-tabs ul.tabs li:before,.single-product .woocommerce-tabs ul.tabs li:after{display:none!important}.single-product .woocommerce-tabs ul.tabs li a{padding:7px 12px!important;font-size:10px!important}.single-product .woocommerce-tabs .panel{border:1px solid var(--ncsm-border);border-radius:13px;padding:22px!important;font-size:12px}.woocommerce-message,.woocommerce-info,.woocommerce-error{border:1px solid var(--ncsm-border)!important;border-top:2px solid var(--ncsm-primary)!important;border-radius:10px;background:#fff!important;padding:15px 18px 15px 42px!important;font-size:11px}.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{border-radius:7px!important;font-weight:650!important;font-size:11px!important}.woocommerce-account .woocommerce{display:grid;grid-template-columns:205px 1fr;gap:20px}.woocommerce-account .woocommerce-MyAccount-navigation{width:auto!important;float:none!important}.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;padding:8px;margin:0;border:1px solid var(--ncsm-border);border-radius:12px;background:#fff}.woocommerce-account .woocommerce-MyAccount-navigation li a{display:block;padding:9px 10px;border-radius:7px;text-decoration:none;font-size:11px}.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{background:#fff0f1;color:var(--ncsm-primary);font-weight:650}.woocommerce-account .woocommerce-MyAccount-content{width:auto!important;float:none!important;border:1px solid var(--ncsm-border);border-radius:12px;padding:22px;background:#fff;font-size:12px}.woocommerce-cart table.cart,.woocommerce-checkout .woocommerce-checkout-review-order,.woocommerce-checkout form.checkout .col2-set{border-radius:12px;overflow:hidden}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.select2-container--default .select2-selection--single{border:1px solid var(--ncsm-border)!important;border-radius:7px!important;min-height:40px;padding:7px 10px;background:#fff;font-size:11px}
@media(max-width:1000px){.woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}.single-product div.product{grid-template-columns:minmax(0,1.3fr) minmax(290px,.8fr)}}
@media(max-width:820px){.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}.single-product div.product{grid-template-columns:1fr}.single-product div.product .summary{position:static;margin-top:20px!important}.woocommerce-account .woocommerce{grid-template-columns:1fr}.woocommerce-account .woocommerce-MyAccount-navigation ul{display:flex;overflow-x:auto;gap:3px}.woocommerce-account .woocommerce-MyAccount-navigation li{min-width:max-content}}
@media(max-width:560px){.woocommerce .ncsm-main{padding:27px 0 52px}.woocommerce .woocommerce-products-header{padding:22px 18px}.woocommerce ul.products{grid-template-columns:1fr}.single-product div.product .product_title{font-size:32px}.single-product .woocommerce-tabs ul.tabs{overflow-x:auto;white-space:nowrap}.woocommerce-account .woocommerce-MyAccount-content{padding:17px}}

/* ==========================================================
   NC SOFTWARE MARKET 1.2 - ARCHIVI SOFTWARE
   Sidebar filtri + griglia/lista + card coerenti con la home
   ========================================================== */
.ncsm-shop-archive{padding:26px 0 72px!important;background:#fff}
.ncsm-shop-shell{width:min(calc(100% - 48px),1540px);margin:0 auto}
.ncsm-shop-breadcrumb{max-width:1240px;margin:0 auto 14px}.ncsm-shop-breadcrumb .woocommerce-breadcrumb{margin:0!important}
.ncsm-shop-hero{margin:0 0 24px;padding:31px 38px;border-radius:18px;background:linear-gradient(135deg,#fff5f5 0%,#fff5f5 55%,#fff5f5 100%)}
.ncsm-shop-eyebrow{display:block;margin-bottom:5px;color:#c1121f;font-size:10px;line-height:1;text-transform:uppercase;letter-spacing:.11em;font-weight:700}
.ncsm-shop-hero h1{margin:0;color:#101828;font-size:clamp(34px,3.2vw,48px);line-height:1.04;letter-spacing:-.04em;font-weight:680}
.ncsm-shop-description{max-width:720px;margin:9px 0 0!important;color:#667085;font-size:13.5px;line-height:1.6}.ncsm-shop-description p{margin:0}
.ncsm-shop-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:28px;align-items:start}
.ncsm-shop-sidebar{position:sticky;top:82px;display:grid;gap:13px;min-width:0}
.ncsm-shop-sidebar-head{display:none}
.ncsm-shop-widget{margin:0!important;padding:19px;border:1px solid #e8ebf1;border-radius:14px;background:#fff;box-shadow:0 9px 24px rgba(30,45,80,.025)}
.ncsm-shop-widget-title{margin:0 0 13px!important;color:#101828;font-size:15px!important;line-height:1.2;font-weight:680!important;letter-spacing:-.015em}
.ncsm-shop-widget ul{list-style:none;margin:0!important;padding:0!important}.ncsm-shop-widget li{margin:0!important;padding:0!important;border-bottom:1px solid #f1f2f5}.ncsm-shop-widget li:last-child{border-bottom:0}
.ncsm-shop-widget li a{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 0;color:#4f5868;text-decoration:none!important;font-size:12.5px;line-height:1.3;transition:.18s}.ncsm-shop-widget li a:hover{color:#c1121f}.ncsm-shop-widget .count{margin-left:auto;color:#98a0ae;font-size:10.5px}
.ncsm-shop-widget select{width:100%;min-height:40px;border:1px solid #e2e6ed;border-radius:8px;background:#fff;padding:0 10px;font-size:12px}
.ncsm-shop-widget input[type="search"],.ncsm-shop-widget input[type="text"],.ncsm-shop-widget input[type="number"]{width:100%;min-height:40px;border:1px solid #e2e6ed;border-radius:8px;background:#fff;padding:0 11px;font-size:12px;box-shadow:none}
.ncsm-shop-widget-search form,.ncsm-shop-widget .woocommerce-product-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px}.ncsm-shop-widget-search button,.ncsm-shop-widget .woocommerce-product-search button{min-width:40px;border:0;border-radius:8px;background:#fff5f5;color:#a90f18;font-size:0}.ncsm-shop-widget-search button:after,.ncsm-shop-widget .woocommerce-product-search button:after{content:'⌕';font-size:18px}
.ncsm-shop-tags,.ncsm-shop-widget .tagcloud{display:flex;flex-wrap:wrap;gap:6px}.ncsm-shop-tags a,.ncsm-shop-widget .tagcloud a{display:inline-flex!important;align-items:center;min-height:28px;padding:0 9px!important;border:1px solid #e7eaf0;border-radius:999px;color:#657084!important;background:#fafbfc;font-size:10.5px!important;text-decoration:none!important}.ncsm-shop-tags a:hover,.ncsm-shop-widget .tagcloud a:hover{border-color:#f6c9cd;background:#fff5f5;color:#a90f18!important}
.ncsm-shop-content{min-width:0}
.ncsm-shop-toolbar{min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:17px;padding:8px 10px 8px 14px;border:1px solid #edf0f4;border-radius:12px;background:#f9fafc}
.ncsm-shop-toolbar-left,.ncsm-shop-toolbar-right{display:flex;align-items:center;gap:10px}.ncsm-shop-toolbar-right{margin-left:auto}.ncsm-shop-result-count .woocommerce-result-count{float:none!important;margin:0!important;color:#747d8c;font-size:12px!important}.ncsm-shop-ordering .woocommerce-ordering{float:none!important;margin:0!important}.ncsm-shop-ordering .woocommerce-ordering select{height:36px!important;font-size:11.5px!important}
.ncsm-view-switch{display:flex;gap:5px}.ncsm-view-switch button{width:36px;height:36px;display:grid;place-items:center;border:1px solid #e1e5ec;border-radius:8px;background:#fff;color:#647084;cursor:pointer;transition:.18s}.ncsm-view-switch button:hover{border-color:#cfd6e2;color:#26344c}.ncsm-view-switch button.is-active{border-color:#17191d;background:#17191d;color:#fff}.ncsm-view-switch svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.ncsm-view-switch svg rect{fill:none;stroke:currentColor}
.ncsm-shop-filter-toggle{display:none;align-items:center;gap:6px;height:36px;padding:0 11px;border:1px solid #e1e5ec;border-radius:8px;background:#fff;color:#334155;font-size:11px;font-weight:650;cursor:pointer}.ncsm-shop-filter-close{display:none}
/* Griglia: 4 colonne su desktop ampio, 3 sulle larghezze intermedie. */
.ncsm-shop-archive .ncsm-catalog-products ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:17px!important;margin:0!important}
.ncsm-shop-archive .ncsm-catalog-products ul.products:before,.ncsm-shop-archive .ncsm-catalog-products ul.products:after{display:none!important}
.ncsm-shop-archive ul.products li.product.ncsm-catalog-card{display:flex!important;flex-direction:column;width:auto!important;min-width:0;margin:0!important;padding:7px!important;float:none!important;border:1px solid #e9edf3;border-radius:12px;background:#fff;overflow:hidden;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.ncsm-shop-archive ul.products li.product.ncsm-catalog-card:hover{transform:translateY(-2px);border-color:#dde3ed;box-shadow:0 14px 34px rgba(29,49,93,.075)}
.ncsm-catalog-image{display:block;aspect-ratio:1/1.02;border-radius:9px;overflow:hidden;background:#f3f5f9}.ncsm-catalog-image img{display:block!important;width:100%!important;height:100%!important;margin:0!important;object-fit:cover;border-radius:0!important}
.ncsm-catalog-body{display:flex;flex:1;flex-direction:column;padding:11px 5px 5px;min-width:0}.ncsm-catalog-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#8b94a3;font-size:10px;line-height:1.2;text-transform:uppercase;letter-spacing:.045em}.ncsm-catalog-meta em{font-style:normal;white-space:nowrap}
.ncsm-shop-archive ul.products li.product .ncsm-catalog-title{margin:7px 0 5px!important;padding:0!important;font-size:15.5px!important;line-height:1.28!important;font-weight:680!important;letter-spacing:-.012em}.ncsm-catalog-title a{color:#101828!important;text-decoration:none!important}
.ncsm-catalog-tagline{margin:0 0 12px!important;min-height:38px;color:#697386;font-size:12px;line-height:1.5}
.ncsm-catalog-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:10px;border-top:1px solid #eef0f4}.ncsm-catalog-price{color:#101828;font-size:12.5px;font-weight:700}.ncsm-catalog-price .amount{font-weight:700}.ncsm-catalog-actions{display:flex;align-items:center;gap:10px}.ncsm-catalog-actions a{color:#c1121f!important;text-decoration:none!important;font-size:11.5px;font-weight:680}.ncsm-catalog-actions .ncsm-demo-link{font-size:14px}.ncsm-catalog-actions .ncsm-product-more{display:inline!important;margin:0!important;padding:0!important;border:0!important;font-size:11.5px!important}
/* Lista: stessa card, ma più descrittiva e orizzontale. */
.ncsm-shop-shell.is-list .ncsm-catalog-products ul.products{grid-template-columns:1fr!important;gap:12px!important}
.ncsm-shop-shell.is-list ul.products li.product.ncsm-catalog-card{display:grid!important;grid-template-columns:240px minmax(0,1fr);align-items:stretch;padding:7px!important}
.ncsm-shop-shell.is-list .ncsm-catalog-image{height:190px;aspect-ratio:auto}.ncsm-shop-shell.is-list .ncsm-catalog-body{justify-content:center;padding:18px 20px}.ncsm-shop-shell.is-list ul.products li.product .ncsm-catalog-title{font-size:18px!important;margin-top:8px!important}.ncsm-shop-shell.is-list .ncsm-catalog-tagline{max-width:760px;min-height:0;font-size:13px;line-height:1.55;margin-bottom:16px!important}.ncsm-shop-shell.is-list .ncsm-catalog-meta{justify-content:flex-start;gap:18px}.ncsm-shop-shell.is-list .ncsm-catalog-footer{margin-top:0}.ncsm-shop-shell.is-list .ncsm-catalog-price{font-size:13.5px}.ncsm-shop-shell.is-list .ncsm-catalog-actions a{font-size:12px}
.ncsm-shop-archive nav.woocommerce-pagination{margin-top:30px}.ncsm-shop-archive nav.woocommerce-pagination ul{justify-content:center}
.ncsm-filter-backdrop{display:none}
/* Correlati/upsell: la stessa resa senza forzare la sidebar. */
.single-product ul.products li.product.ncsm-catalog-card{padding:7px!important}.single-product .ncsm-catalog-body{padding:10px 5px 5px}.single-product .ncsm-catalog-title{font-size:14.5px!important}.single-product .ncsm-catalog-tagline{font-size:11.5px;min-height:34px}.single-product .ncsm-catalog-footer{font-size:11px}
@media(max-width:1320px){.ncsm-shop-shell{width:min(calc(100% - 36px),1320px)}.ncsm-shop-layout{grid-template-columns:230px minmax(0,1fr);gap:22px}.ncsm-shop-archive .ncsm-catalog-products ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:980px){.ncsm-shop-shell{width:min(calc(100% - 28px),980px)}.ncsm-shop-layout{display:block}.ncsm-shop-filter-toggle{display:inline-flex}.ncsm-shop-sidebar{position:fixed;z-index:1300;left:0;top:0;bottom:0;width:min(86vw,320px);padding:18px;background:#fff;overflow:auto;transform:translateX(-103%);transition:transform .22s ease;box-shadow:18px 0 45px rgba(16,24,40,.12)}.ncsm-shop-shell.filters-open .ncsm-shop-sidebar{transform:translateX(0)}.ncsm-shop-sidebar-head{display:flex;align-items:center;justify-content:space-between;margin:0 0 14px}.ncsm-shop-sidebar-head strong{font-size:17px}.ncsm-shop-filter-close{display:grid;place-items:center;width:34px;height:34px;border:1px solid #e3e7ed;border-radius:50%;background:#fff;color:#334155;font-size:22px;line-height:1;cursor:pointer}.ncsm-filter-backdrop{position:fixed;z-index:1250;inset:0;background:rgba(15,23,42,.28);backdrop-filter:blur(1px)}.ncsm-shop-shell.filters-open .ncsm-filter-backdrop{display:block}.ncsm-shop-archive .ncsm-catalog-products ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important}.ncsm-shop-shell.is-list ul.products li.product.ncsm-catalog-card{grid-template-columns:210px minmax(0,1fr)}}
@media(max-width:760px){.ncsm-shop-archive{padding-top:16px!important}.ncsm-shop-shell{width:calc(100% - 22px)}.ncsm-shop-hero{padding:25px 22px;margin-bottom:17px}.ncsm-shop-hero h1{font-size:35px}.ncsm-shop-toolbar{align-items:stretch;flex-direction:column;padding:10px}.ncsm-shop-toolbar-left,.ncsm-shop-toolbar-right{width:100%;justify-content:space-between}.ncsm-shop-toolbar-right{margin:0}.ncsm-shop-ordering{flex:1}.ncsm-shop-ordering .woocommerce-ordering{width:100%}.ncsm-shop-ordering .woocommerce-ordering select{width:100%}.ncsm-shop-archive .ncsm-catalog-products ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.ncsm-shop-shell.is-list ul.products li.product.ncsm-catalog-card{grid-template-columns:150px minmax(0,1fr)}.ncsm-shop-shell.is-list .ncsm-catalog-image{height:145px}.ncsm-shop-shell.is-list .ncsm-catalog-body{padding:11px 13px}.ncsm-shop-shell.is-list ul.products li.product .ncsm-catalog-title{font-size:15.5px!important}.ncsm-shop-shell.is-list .ncsm-catalog-tagline{font-size:11.5px;margin-bottom:9px!important}}
@media(max-width:520px){.ncsm-shop-archive .ncsm-catalog-products ul.products{grid-template-columns:1fr!important}.ncsm-shop-result-count{display:none}.ncsm-shop-toolbar-left{width:auto}.ncsm-shop-toolbar{flex-direction:row;align-items:center}.ncsm-shop-toolbar-right{flex:1}.ncsm-shop-shell.is-list ul.products li.product.ncsm-catalog-card{grid-template-columns:112px minmax(0,1fr)}.ncsm-shop-shell.is-list .ncsm-catalog-image{height:112px}.ncsm-shop-shell.is-list .ncsm-catalog-body{padding:8px 10px}.ncsm-shop-shell.is-list .ncsm-catalog-meta{font-size:8.5px;gap:8px}.ncsm-shop-shell.is-list ul.products li.product .ncsm-catalog-title{font-size:14px!important;margin:5px 0!important}.ncsm-shop-shell.is-list .ncsm-catalog-tagline{display:none}.ncsm-shop-shell.is-list .ncsm-catalog-footer{padding-top:7px}.ncsm-shop-shell.is-list .ncsm-catalog-price{font-size:11px}.ncsm-shop-shell.is-list .ncsm-catalog-actions a{font-size:10px}}
body.ncsm-filters-open{overflow:hidden}

/* ==========================================================
   NC SOFTWARE MARKET 1.2.1 - SINGOLO SOFTWARE
   Contenitore leggibile, nessuna sovrapposizione, sezioni in colonna
   ========================================================== */
.single-product .ncsm-single-product-page{padding:30px 0 72px;background:#fff}
.single-product .ncsm-single-product-shell{width:min(calc(100% - 56px),1480px);margin:0 auto}
.single-product .ncsm-single-product-shell>div.product{display:grid;grid-template-columns:minmax(0,1.28fr) minmax(360px,.72fr);gap:30px 34px;align-items:start;width:100%;margin:0}
.single-product .ncsm-single-product-shell div.product .woocommerce-product-gallery{width:100%!important;max-width:none!important;float:none!important;margin:0!important;padding:9px;border:1px solid #e8ebf1;border-radius:15px;background:#fff;overflow:hidden}
.single-product .ncsm-single-product-shell div.product .woocommerce-product-gallery__wrapper{margin:0!important}
.single-product .ncsm-single-product-shell div.product .woocommerce-product-gallery img{display:block;width:100%;height:auto;max-height:720px;object-fit:contain;border-radius:11px;background:#f8fafc}
.single-product .ncsm-single-product-shell div.product .summary{width:100%!important;float:none!important;margin:0!important;position:static!important;top:auto!important;min-width:0}
.single-product .ncsm-single-product-shell div.product .product_title{font-size:clamp(34px,3.1vw,48px);line-height:1.04;margin:8px 0 10px;font-weight:680}
.single-product .ncsm-single-product-shell .woocommerce-product-details__short-description,.single-product .ncsm-single-product-shell .ncss-tagline{font-size:14px;line-height:1.55}
.single-product .ncsm-single-product-shell .ncss-purchase-box{margin:18px 0 14px;padding:20px;border-radius:14px}
.single-product .ncsm-single-product-shell .ncss-plan-tab{min-height:46px;font-size:12.5px}
.single-product .ncsm-single-product-shell .ncss-plan-price{font-size:31px}
.single-product .ncsm-single-product-shell .ncss-plan-license{font-size:13px}
.single-product .ncsm-single-product-shell .ncss-plan-benefits{gap:8px;font-size:12.5px;line-height:1.45}
.single-product .ncsm-single-product-shell .ncss-buy-button{min-height:48px!important;font-size:15px!important;line-height:1!important;font-weight:700!important;border-radius:8px!important}
.single-product .ncsm-single-product-shell .ncss-demo-button{min-height:44px;font-size:12.5px;border-radius:8px}
.single-product .ncsm-single-product-shell .ncss-tech-meta{border-radius:14px;padding:8px 17px}
.single-product .ncsm-single-product-shell .ncss-tech-meta>div{padding:10px 0;font-size:11.5px}

/* Le sezioni informative non entrano più sotto/sopra la colonna acquisto. */
.single-product .ncsm-single-product-shell .ncss-extra-wrap{grid-column:1/-1!important;display:grid!important;grid-template-columns:1fr!important;gap:14px!important;width:100%;margin:12px 0 0!important}
.single-product .ncsm-single-product-shell .ncss-extra-card{width:100%;min-width:0;padding:24px 26px;border-radius:14px}
.single-product .ncsm-single-product-shell .ncss-extra-card h2{font-size:20px!important;margin:0 0 15px!important}
.single-product .ncsm-single-product-shell .ncss-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 28px;font-size:12.5px}
.single-product .ncsm-single-product-shell .ncss-extra-card ul{font-size:12.5px;line-height:1.65}
.single-product .ncsm-single-product-shell .ncss-changelog{font-size:12px;line-height:1.6;overflow:auto}
.single-product .ncsm-single-product-shell .ncss-doc-card p,.single-product .ncsm-single-product-shell .ncss-doc-card a{font-size:12.5px}

.single-product .ncsm-single-product-shell .woocommerce-tabs,.single-product .ncsm-single-product-shell .related.products,.single-product .ncsm-single-product-shell .upsells.products{grid-column:1/-1;width:100%}
.single-product .ncsm-single-product-shell .woocommerce-tabs{margin-top:8px}
.single-product .ncsm-single-product-shell .woocommerce-tabs .panel{font-size:13px;line-height:1.65;padding:24px!important}
.single-product .ncsm-single-product-shell .woocommerce-tabs ul.tabs li a{font-size:11.5px!important;padding:8px 13px!important}

@media(max-width:1100px){
  .single-product .ncsm-single-product-shell{width:min(calc(100% - 36px),1480px)}
  .single-product .ncsm-single-product-shell>div.product{grid-template-columns:minmax(0,1.1fr) minmax(330px,.9fr);gap:24px}
  .single-product .ncsm-single-product-shell div.product .woocommerce-product-gallery img{max-height:620px}
}
@media(max-width:850px){
  .single-product .ncsm-single-product-page{padding:22px 0 52px}
  .single-product .ncsm-single-product-shell{width:min(calc(100% - 24px),1480px)}
  .single-product .ncsm-single-product-shell>div.product{grid-template-columns:1fr;gap:18px}
  .single-product .ncsm-single-product-shell div.product .woocommerce-product-gallery img{max-height:none}
  .single-product .ncsm-single-product-shell .ncss-feature-grid{grid-template-columns:1fr}
}
@media(max-width:560px){
  .single-product .ncsm-single-product-shell{width:calc(100% - 20px)}
  .single-product .ncsm-single-product-shell .ncss-extra-card{padding:20px 18px}
  .single-product .ncsm-single-product-shell .ncss-buy-button{min-height:48px!important;font-size:14px!important}
}

/* NC Software Market 1.2.2 - compact single product side panel */
@media(min-width:821px){
  .single-product .ncsm-single-product-shell .ncss-purchase-box{margin:12px 0 10px;padding:16px}
  .single-product .ncsm-single-product-shell .ncss-plan-tabs{margin:-16px -16px 12px}
  .single-product .ncsm-single-product-shell .ncss-plan-tab{min-height:40px}
  .single-product .ncsm-single-product-shell .ncss-plan-license{margin-bottom:8px}
  .single-product .ncsm-single-product-shell .ncss-plan-benefits{gap:5px;margin:9px 0 12px}
  .single-product .ncsm-single-product-shell .ncss-buy-button{min-height:46px!important}
  .single-product .ncsm-single-product-shell .ncss-demo-button{min-height:40px;margin-top:7px}
  .single-product .ncsm-single-product-shell .ncss-tech-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;padding:7px 15px}
  .single-product .ncsm-single-product-shell .ncss-tech-meta>div{display:grid;grid-template-columns:1fr;gap:3px;padding:8px 0;border-bottom:1px solid #f0f1f4;font-size:11px}
  .single-product .ncsm-single-product-shell .ncss-tech-meta>div:nth-last-child(-n+2){border-bottom:0}
  .single-product .ncsm-single-product-shell .ncss-tech-meta span{font-size:10.5px}
  .single-product .ncsm-single-product-shell .ncss-tech-meta strong{text-align:left;font-size:11.5px}
}
@media(max-width:820px){
  .single-product .ncsm-single-product-shell .ncss-tech-meta{display:block}
  .single-product .ncsm-single-product-shell .ncss-tech-meta>div{display:flex;justify-content:space-between;gap:18px}
  .single-product .ncsm-single-product-shell .ncss-tech-meta strong{text-align:right}
}

/* NC Software Market 1.2.3 - plan tabs */
.single-product .ncsm-single-product-shell .ncss-plan-tabs{
  border:1px solid #dfe5f0;
  border-radius:10px 10px 0 0;
  overflow:hidden;
  border-bottom:0;
}
.single-product .ncsm-single-product-shell .ncss-plan-tab{
  min-height:50px;
  background:#2b2e34!important;
  color:#fff!important;
  border:0!important;
  border-right:1px solid rgba(255,255,255,.18)!important;
  font-size:14px!important;
  line-height:1.2;
  font-weight:700!important;
  transition:background .18s ease,transform .18s ease;
}
.single-product .ncsm-single-product-shell .ncss-plan-tab:last-child{
  border-right:0!important;
}
.single-product .ncsm-single-product-shell .ncss-plan-tab:hover{
  background:#8f0d17!important;
}
.single-product .ncsm-single-product-shell .ncss-plan-tab.is-active{
  background:linear-gradient(90deg,#c1121f 0%,#c1121f 100%)!important;
  color:#fff!important;
}
@media(max-width:700px){
  .single-product .ncsm-single-product-shell .ncss-plan-tab{
    min-height:46px;
    font-size:13px!important;
  }
}

/* ==========================================================
   NC Software Market 1.2.4 - Carrello e checkout
   Layout centrato, spaziature coerenti e pulsanti leggibili.
   Compatibile sia con WooCommerce Blocks sia con i template classici.
   ========================================================== */
.ncsm-transaction-page{
  padding:42px 0 76px;
  background:#fff;
}
.ncsm-transaction-shell{
  width:min(calc(100% - 48px),var(--ncsm-container));
  margin:0 auto;
}
.ncsm-transaction-shell .entry-content,
.ncsm-transaction-shell .woocommerce,
.ncsm-transaction-shell .wp-block-woocommerce-cart,
.ncsm-transaction-shell .wp-block-woocommerce-checkout{
  width:100%;
  max-width:none!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.ncsm-transaction-shell h1,
.ncsm-transaction-shell .wp-block-post-title{
  margin:0 0 30px!important;
  color:#101828;
  font-size:clamp(36px,4vw,48px)!important;
  line-height:1.05!important;
  letter-spacing:-.04em!important;
  font-weight:680!important;
}

/* Cart Blocks */
.ncsm-cart-page .wc-block-cart{
  gap:34px!important;
}
.ncsm-cart-page .wc-block-cart-items,
.ncsm-cart-page .wc-block-cart__sidebar,
.ncsm-cart-page .wc-block-components-sidebar-layout .wc-block-components-main,
.ncsm-cart-page .wc-block-components-sidebar-layout .wc-block-components-sidebar{
  min-width:0;
}
.ncsm-cart-page .wc-block-cart-items{
  border:1px solid #e7ebf2!important;
  border-radius:16px!important;
  overflow:hidden;
  background:#fff;
}
.ncsm-cart-page .wc-block-cart-items thead{
  background:#fafafa;
}
.ncsm-cart-page .wc-block-cart-items th{
  padding:16px 18px!important;
  color:#667085!important;
  font-size:12px!important;
  font-weight:650!important;
  text-transform:none!important;
}
.ncsm-cart-page .wc-block-cart-items td{
  padding-top:20px!important;
  padding-bottom:20px!important;
  border-color:#edf0f5!important;
}
.ncsm-cart-page .wc-block-cart-item__image img{
  border-radius:9px;
}
.ncsm-cart-page .wc-block-components-product-name{
  color:#101828!important;
  font-size:15px!important;
  line-height:1.3!important;
  font-weight:680!important;
}
.ncsm-cart-page .wc-block-components-product-price,
.ncsm-cart-page .wc-block-cart-item__total-price-and-sale-badge-wrapper{
  color:#101828!important;
  font-size:14px!important;
  font-weight:650!important;
}
.ncsm-cart-page .wc-block-cart-item__product .wc-block-components-product-metadata,
.ncsm-cart-page .wc-block-components-product-details{
  color:#667085!important;
  font-size:12px!important;
  line-height:1.55!important;
}
.ncsm-cart-page .wc-block-cart__sidebar{
  padding:22px!important;
  border:1px solid #e7ebf2!important;
  border-radius:16px!important;
  background:#fff!important;
  align-self:start;
}
.ncsm-cart-page .wc-block-cart__totals-title{
  margin:0 0 10px!important;
  padding:0 0 14px!important;
  color:#101828!important;
  font-size:15px!important;
  font-weight:700!important;
  text-transform:none!important;
}
.ncsm-cart-page .wc-block-components-totals-wrapper{
  border-color:#edf0f5!important;
}
.ncsm-cart-page .wc-block-components-totals-item__label,
.ncsm-cart-page .wc-block-components-totals-item__value{
  font-size:14px!important;
}
.ncsm-cart-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.ncsm-cart-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__value{
  color:#101828!important;
  font-size:19px!important;
  font-weight:700!important;
}

/* Checkout Blocks */
.ncsm-checkout-page .wc-block-checkout,
.ncsm-checkout-page .wc-block-components-sidebar-layout{
  gap:34px!important;
}
.ncsm-checkout-page .wc-block-components-sidebar-layout .wc-block-components-main{
  padding-right:0!important;
}
.ncsm-checkout-page .wc-block-components-checkout-step{
  margin:0 0 18px!important;
  padding:22px!important;
  border:1px solid #e7ebf2!important;
  border-radius:14px!important;
  background:#fff!important;
}
.ncsm-checkout-page .wc-block-components-checkout-step__heading{
  margin-bottom:17px!important;
}
.ncsm-checkout-page .wc-block-components-checkout-step__title,
.ncsm-checkout-page .wc-block-components-title{
  color:#101828!important;
  font-size:19px!important;
  line-height:1.25!important;
  font-weight:700!important;
}
.ncsm-checkout-page .wc-block-components-sidebar{
  align-self:start;
  padding:22px!important;
  border:1px solid #e7ebf2!important;
  border-radius:16px!important;
  background:#fff!important;
}
.ncsm-checkout-page .wc-block-components-order-summary .wc-block-components-product-name{
  color:#101828!important;
  font-size:14px!important;
  font-weight:680!important;
}
.ncsm-checkout-page .wc-block-components-text-input input,
.ncsm-checkout-page .wc-block-components-combobox .wc-block-components-combobox-control input,
.ncsm-checkout-page .wc-block-components-address-form select{
  min-height:46px!important;
  border:1px solid #dfe4ec!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#101828!important;
  font-size:13px!important;
}

/* Primary buttons: always readable. */
.ncsm-transaction-page .wc-block-components-button:not(.is-link),
.ncsm-transaction-page .wp-element-button,
.ncsm-transaction-page .wc-block-cart__submit-button,
.ncsm-transaction-page .wc-block-components-checkout-place-order-button,
.ncsm-transaction-page .checkout-button,
.ncsm-transaction-page #place_order,
.ncsm-transaction-page .button.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt{
  min-height:48px!important;
  border:0!important;
  border-radius:9px!important;
  background:linear-gradient(90deg,#c1121f 0%,#8f0d17 100%)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-size:14px!important;
  line-height:1.2!important;
  font-weight:700!important;
  text-decoration:none!important;
  box-shadow:none!important;
}
.ncsm-transaction-page .wc-block-components-button:not(.is-link) span,
.ncsm-transaction-page .wp-element-button span,
.ncsm-transaction-page .wc-block-cart__submit-button span,
.ncsm-transaction-page .wc-block-components-checkout-place-order-button span,
.ncsm-transaction-page .checkout-button span,
.ncsm-transaction-page #place_order span{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
.ncsm-transaction-page .wc-block-components-button:not(.is-link):hover,
.ncsm-transaction-page .wp-element-button:hover,
.ncsm-transaction-page .checkout-button:hover,
.ncsm-transaction-page #place_order:hover{
  filter:brightness(.97);
  transform:translateY(-1px);
}
.ncsm-transaction-page .wc-block-components-button:disabled,
.ncsm-transaction-page .wc-block-components-button[aria-disabled="true"],
.ncsm-transaction-page .button:disabled{
  opacity:.55!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

/* Classic cart / checkout fallback */
.ncsm-transaction-page table.shop_table,
.ncsm-transaction-page .cart_totals,
.ncsm-transaction-page .woocommerce-checkout-review-order,
.ncsm-transaction-page .woocommerce-billing-fields,
.ncsm-transaction-page .woocommerce-additional-fields{
  border-color:#e7ebf2!important;
  border-radius:14px!important;
}
.ncsm-transaction-page .cart_totals,
.ncsm-transaction-page .woocommerce-checkout-review-order{
  padding:22px;
  background:#fff;
}
.ncsm-transaction-page .woocommerce-checkout .col2-set,
.ncsm-transaction-page .woocommerce-checkout-review-order{
  margin-bottom:24px;
}

@media(max-width:900px){
  .ncsm-transaction-page{padding:30px 0 58px}
  .ncsm-transaction-shell{width:min(calc(100% - 28px),1240px)}
  .ncsm-cart-page .wc-block-cart,
  .ncsm-checkout-page .wc-block-checkout,
  .ncsm-checkout-page .wc-block-components-sidebar-layout{gap:22px!important}
}
@media(max-width:700px){
  .ncsm-transaction-shell{width:calc(100% - 20px)}
  .ncsm-transaction-shell h1,
  .ncsm-transaction-shell .wp-block-post-title{margin-bottom:22px!important;font-size:34px!important}
  .ncsm-cart-page .wc-block-cart__sidebar,
  .ncsm-checkout-page .wc-block-components-sidebar,
  .ncsm-checkout-page .wc-block-components-checkout-step{padding:17px!important}
}


/* ==========================================================
   NC Software Market 1.2.5 - transaction pages hard fix
   Cart/checkout are WordPress pages when WooCommerce Blocks are used,
   therefore the centered shell is applied through page.php too.
   ========================================================== */
body.woocommerce-cart .ncsm-transaction-page,
body.woocommerce-checkout .ncsm-transaction-page{
  padding:42px 0 76px!important;
}
body.woocommerce-cart .ncsm-transaction-shell,
body.woocommerce-checkout .ncsm-transaction-shell{
  width:min(calc(100% - 48px),1240px)!important;
  max-width:1240px!important;
  margin:0 auto!important;
  padding:0!important;
}
body.woocommerce-cart .ncsm-transaction-article,
body.woocommerce-checkout .ncsm-transaction-article,
body.woocommerce-cart .ncsm-transaction-content,
body.woocommerce-checkout .ncsm-transaction-content{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}
body.woocommerce-cart .ncsm-transaction-content > *,
body.woocommerce-checkout .ncsm-transaction-content > *,
body.woocommerce-cart .wp-block-woocommerce-cart.alignwide,
body.woocommerce-checkout .wp-block-woocommerce-checkout.alignwide,
body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-checkout .wp-block-woocommerce-checkout{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
}
body.woocommerce-cart .ncsm-transaction-title,
body.woocommerce-checkout .ncsm-transaction-title{
  margin:0 0 28px!important;
  padding:0!important;
}

/* Woo Blocks sometimes set button text independently from the button itself. */
body.woocommerce-cart .wc-block-components-button,
body.woocommerce-checkout .wc-block-components-button,
body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-cart .wc-block-cart__submit-button *,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button *,
body.woocommerce-cart .wc-block-components-button *,
body.woocommerce-checkout .wc-block-components-button *{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button{
  background:linear-gradient(90deg,#c1121f 0%,#8f0d17 100%)!important;
  border:0!important;
  border-radius:9px!important;
  min-height:50px!important;
  font-size:14px!important;
  font-weight:700!important;
}
body.woocommerce-cart .wc-block-cart__submit-button[aria-disabled="true"],
body.woocommerce-checkout .wc-block-components-checkout-place-order-button[disabled],
body.woocommerce-checkout .wc-block-components-checkout-place-order-button[aria-disabled="true"]{
  opacity:.55!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

@media(max-width:900px){
  body.woocommerce-cart .ncsm-transaction-shell,
  body.woocommerce-checkout .ncsm-transaction-shell{
    width:min(calc(100% - 28px),1240px)!important;
  }
}
@media(max-width:700px){
  body.woocommerce-cart .ncsm-transaction-shell,
  body.woocommerce-checkout .ncsm-transaction-shell{
    width:calc(100% - 20px)!important;
  }
}

/* ==========================================================
   NC Software Market 1.2.6 - cart / checkout desktop columns
   Keep the WooCommerce Blocks main column and summary sidebar
   on the same row and remove the empty gap caused by the
   default flex widths/paddings.
   ========================================================== */
@media (min-width:901px){
  body.woocommerce-cart .wc-block-components-sidebar-layout,
  body.woocommerce-checkout .wc-block-components-sidebar-layout{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(320px,360px)!important;
    grid-template-areas:"main sidebar"!important;
    column-gap:30px!important;
    row-gap:0!important;
    align-items:start!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
  }

  body.woocommerce-cart .wc-block-components-sidebar-layout > .wc-block-components-main,
  body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-components-main,
  body.woocommerce-cart .wc-block-cart__main,
  body.woocommerce-checkout .wc-block-checkout__main{
    grid-area:main!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
    padding-left:0!important;
    padding-right:0!important;
    float:none!important;
    flex:none!important;
    box-sizing:border-box!important;
  }

  body.woocommerce-cart .wc-block-components-sidebar-layout > .wc-block-components-sidebar,
  body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-components-sidebar,
  body.woocommerce-cart .wc-block-cart__sidebar,
  body.woocommerce-checkout .wc-block-checkout__sidebar{
    grid-area:sidebar!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
    float:none!important;
    flex:none!important;
    align-self:start!important;
    position:relative!important;
    top:auto!important;
    box-sizing:border-box!important;
  }

  body.woocommerce-cart .wc-block-cart__sidebar,
  body.woocommerce-checkout .wc-block-checkout__sidebar,
  body.woocommerce-checkout .wc-block-components-sidebar{
    margin-top:0!important;
  }
}

/* On tablet/mobile the summary intentionally moves below the main content. */
@media (max-width:900px){
  body.woocommerce-cart .wc-block-components-sidebar-layout,
  body.woocommerce-checkout .wc-block-components-sidebar-layout{
    display:block!important;
    width:100%!important;
  }
  body.woocommerce-cart .wc-block-components-sidebar-layout > .wc-block-components-sidebar,
  body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-components-sidebar{
    width:100%!important;
    margin-top:22px!important;
  }
}

/* ==========================================================
   NC Software Market 1.2.7 - deterministic cart / checkout
   The theme renders classic WooCommerce shortcodes on these
   two pages so the desktop two-column layout is fully controlled.
   ========================================================== */
body.woocommerce-cart .ncsm-classic-transaction .woocommerce,
body.woocommerce-checkout .ncsm-classic-transaction .woocommerce{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}

/* CART: products left, totals right. */
@media (min-width: 901px){
  body.woocommerce-cart .ncsm-classic-transaction .woocommerce{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 360px!important;
    grid-template-areas:
      "notices notices"
      "cart totals"!important;
    gap:28px 30px!important;
    align-items:start!important;
  }
  body.woocommerce-cart .ncsm-classic-transaction .woocommerce-notices-wrapper{
    grid-area:notices!important;
  }
  body.woocommerce-cart .ncsm-classic-transaction form.woocommerce-cart-form{
    grid-area:cart!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
  }
  body.woocommerce-cart .ncsm-classic-transaction .cart-collaterals{
    grid-area:totals!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    float:none!important;
  }
  body.woocommerce-cart .ncsm-classic-transaction .cart-collaterals .cart_totals{
    width:100%!important;
    margin:0!important;
    float:none!important;
  }
  body.woocommerce-cart .ncsm-classic-transaction .cart-collaterals .cross-sells{
    display:none!important;
  }
}

body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart{
  width:100%!important;
  margin:0!important;
  border:1px solid #e7ebf2!important;
  border-radius:16px!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  overflow:hidden;
  background:#fff!important;
}
body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart th{
  padding:15px 16px!important;
  background:#fafafa!important;
  color:#667085!important;
  font-size:12px!important;
  font-weight:650!important;
}
body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td{
  padding:18px 16px!important;
  border-color:#edf0f5!important;
  vertical-align:middle!important;
}
body.woocommerce-cart .ncsm-classic-transaction .product-thumbnail img{
  width:72px!important;
  border-radius:9px!important;
}
body.woocommerce-cart .ncsm-classic-transaction .product-name a{
  color:#101828!important;
  font-size:15px!important;
  font-weight:700!important;
}
body.woocommerce-cart .ncsm-classic-transaction .cart_totals{
  padding:22px!important;
  border:1px solid #e7ebf2!important;
  border-radius:16px!important;
  background:#fff!important;
  box-sizing:border-box!important;
}
body.woocommerce-cart .ncsm-classic-transaction .cart_totals h2{
  margin:0 0 16px!important;
  font-size:20px!important;
  font-weight:700!important;
}
body.woocommerce-cart .ncsm-classic-transaction .cart_totals table{
  width:100%!important;
  margin:0 0 18px!important;
}
body.woocommerce-cart .ncsm-classic-transaction .wc-proceed-to-checkout{
  padding:0!important;
}

/* CHECKOUT: customer fields left, order summary/payment right. */
@media (min-width: 901px){
  body.woocommerce-checkout .ncsm-classic-transaction form.woocommerce-checkout{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 390px!important;
    grid-template-areas:
      "customer review-title"
      "customer review"!important;
    column-gap:32px!important;
    row-gap:0!important;
    align-items:start!important;
    width:100%!important;
    margin:0!important;
  }
  body.woocommerce-checkout .ncsm-classic-transaction #customer_details{
    grid-area:customer!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    float:none!important;
  }
  body.woocommerce-checkout .ncsm-classic-transaction #order_review_heading{
    grid-area:review-title!important;
    width:100%!important;
    margin:0!important;
    padding:0 0 14px!important;
    float:none!important;
    font-size:20px!important;
    line-height:1.25!important;
    font-weight:700!important;
  }
  body.woocommerce-checkout .ncsm-classic-transaction #order_review{
    grid-area:review!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    float:none!important;
    align-self:start!important;
  }
}

body.woocommerce-checkout .ncsm-classic-transaction #customer_details .col-1,
body.woocommerce-checkout .ncsm-classic-transaction #customer_details .col-2{
  width:100%!important;
  float:none!important;
  margin:0 0 18px!important;
}
body.woocommerce-checkout .ncsm-classic-transaction .woocommerce-billing-fields,
body.woocommerce-checkout .ncsm-classic-transaction .woocommerce-shipping-fields,
body.woocommerce-checkout .ncsm-classic-transaction .woocommerce-additional-fields{
  padding:22px!important;
  border:1px solid #e7ebf2!important;
  border-radius:14px!important;
  background:#fff!important;
  box-sizing:border-box!important;
}
body.woocommerce-checkout .ncsm-classic-transaction #order_review{
  padding:22px!important;
  border:1px solid #e7ebf2!important;
  border-radius:16px!important;
  background:#fff!important;
  box-sizing:border-box!important;
}
body.woocommerce-checkout .ncsm-classic-transaction #order_review table.shop_table{
  width:100%!important;
  margin:0 0 18px!important;
  border:0!important;
}
body.woocommerce-checkout .ncsm-classic-transaction #payment{
  margin:0!important;
  background:#fafafa!important;
  border-radius:12px!important;
}

/* Fields and buttons: consistent and always readable. */
body.woocommerce-cart .ncsm-classic-transaction input,
body.woocommerce-checkout .ncsm-classic-transaction input,
body.woocommerce-checkout .ncsm-classic-transaction select,
body.woocommerce-checkout .ncsm-classic-transaction textarea,
body.woocommerce-checkout .ncsm-classic-transaction .select2-selection{
  border-color:#dfe4ec!important;
  border-radius:9px!important;
}
body.woocommerce-cart .ncsm-classic-transaction .button,
body.woocommerce-cart .ncsm-classic-transaction .checkout-button,
body.woocommerce-checkout .ncsm-classic-transaction #place_order,
body.woocommerce-checkout .ncsm-classic-transaction button.button,
body.woocommerce-checkout .ncsm-classic-transaction a.button{
  min-height:48px!important;
  border:0!important;
  border-radius:9px!important;
  background:linear-gradient(90deg,#c1121f 0%,#8f0d17 100%)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-size:14px!important;
  line-height:1.2!important;
  font-weight:700!important;
  box-shadow:none!important;
}
body.woocommerce-cart .ncsm-classic-transaction .button *,
body.woocommerce-cart .ncsm-classic-transaction .checkout-button *,
body.woocommerce-checkout .ncsm-classic-transaction #place_order *,
body.woocommerce-checkout .ncsm-classic-transaction button.button *,
body.woocommerce-checkout .ncsm-classic-transaction a.button *{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
body.woocommerce-cart .ncsm-classic-transaction .checkout-button,
body.woocommerce-checkout .ncsm-classic-transaction #place_order{
  width:100%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}

@media (max-width:900px){
  body.woocommerce-cart .ncsm-classic-transaction .woocommerce,
  body.woocommerce-checkout .ncsm-classic-transaction form.woocommerce-checkout{
    display:block!important;
  }
  body.woocommerce-cart .ncsm-classic-transaction .cart-collaterals,
  body.woocommerce-checkout .ncsm-classic-transaction #order_review{
    margin-top:24px!important;
  }
  body.woocommerce-checkout .ncsm-classic-transaction #order_review_heading{
    margin-top:24px!important;
  }
}

/* ==========================================================
   NC Software Market 1.3.0 - sidebar categorie
   ========================================================== */
.ncsm-shop-sidebar{top:104px}
.ncsm-shop-widget-title{font-size:16px!important;margin-bottom:15px!important}
.ncsm-shop-widget li a,
.ncsm-shop-widget .wp-block-woocommerce-product-categories a,
.ncsm-shop-widget .wc-block-product-categories-list-item__name{
  padding:10px 0!important;
  font-size:14px!important;
  line-height:1.35!important;
  font-weight:520!important;
  color:#4d5869!important;
}
.ncsm-shop-widget li a:hover,
.ncsm-shop-widget .wp-block-woocommerce-product-categories a:hover{color:var(--ncsm-primary)!important}
.ncsm-shop-sidebar .count,
.ncsm-shop-sidebar .wc-block-product-categories-list-item-count,
.ncsm-shop-sidebar .wc-block-product-categories-list-item__count,
.ncsm-shop-sidebar .wp-block-woocommerce-product-categories .count{
  display:none!important;
}
@media(max-width:980px){.ncsm-shop-sidebar{top:0}}

/* ==========================================================
   NC Software Market 1.4.0 - Woo system pages + account UI
   ========================================================== */

/* Archivio: hero molto più sottile, senza descrizione. */
.ncsm-shop-hero.ncsm-compact-hero{
  margin:0 0 16px!important;
  padding:17px 30px 18px!important;
  min-height:0!important;
  border-radius:16px!important;
}
.ncsm-shop-hero.ncsm-compact-hero .ncsm-shop-eyebrow{
  display:block;
  margin:0 0 5px!important;
  font-size:9px!important;
  line-height:1!important;
  font-weight:750!important;
  letter-spacing:.12em!important;
}
.ncsm-shop-hero.ncsm-compact-hero h1{
  margin:0!important;
  font-size:clamp(27px,2.4vw,34px)!important;
  line-height:1.05!important;
  letter-spacing:-.035em!important;
  font-weight:680!important;
}
.ncsm-shop-hero .ncsm-shop-description{display:none!important}

/* Shell comune per tutte le pagine Woo di sistema. */
.ncsm-woo-system-page{
  padding:28px 0 70px!important;
  background:#fff;
}
.ncsm-system-shell{
  width:min(calc(100% - 48px),var(--ncsm-container));
  max-width:var(--ncsm-container);
  margin:0 auto;
}
.ncsm-system-hero{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:92px;
  margin:0 0 18px;
  padding:16px 28px 17px;
  border-radius:16px;
  background:linear-gradient(135deg,#fff5f5 0%,#fff5f5 55%,#fff5f5 100%);
}
.ncsm-system-eyebrow{
  display:block;
  margin:0 0 5px;
  color:#c1121f;
  font-size:9px;
  line-height:1;
  font-weight:750;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.ncsm-system-hero h1{
  margin:0!important;
  color:#101828;
  font-size:clamp(26px,2.35vw,33px)!important;
  line-height:1.04!important;
  letter-spacing:-.035em!important;
  font-weight:680!important;
}
.ncsm-system-article,
.ncsm-system-content,
.ncsm-system-content>.woocommerce{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}

/* Non serve più il vecchio titolo enorme nelle transazioni. */
.ncsm-woo-system-page .ncsm-transaction-title,
.ncsm-woo-system-page>.ncsm-page-title{display:none!important}

/* ACCOUNT -------------------------------------------------- */
body.woocommerce-account .ncsm-woo-system-page .woocommerce{
  display:grid!important;
  grid-template-columns:235px minmax(0,1fr)!important;
  gap:20px!important;
  align-items:start!important;
}
body.woocommerce-account .woocommerce-MyAccount-navigation{
  width:100%!important;
  float:none!important;
  margin:0!important;
  padding:8px!important;
  border:1px solid #e4e8ef!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 8px 30px rgba(15,23,42,.025);
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul{
  display:block!important;
  overflow:visible!important;
  list-style:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
}
body.woocommerce-account .woocommerce-MyAccount-navigation li{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  margin:0 0 3px!important;
  padding:0!important;
  border:0!important;
}
body.woocommerce-account .woocommerce-MyAccount-navigation li:last-child{margin-bottom:0!important}
body.woocommerce-account .woocommerce-MyAccount-navigation li a{
  display:flex!important;
  align-items:center!important;
  min-height:43px!important;
  padding:0 13px!important;
  border-radius:8px!important;
  color:#4f5d70!important;
  text-decoration:none!important;
  font-size:13px!important;
  line-height:1.25!important;
  font-weight:580!important;
  transition:.18s ease;
}
body.woocommerce-account .woocommerce-MyAccount-navigation li a:hover{
  background:#fafafa!important;
  color:#c1121f!important;
}
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{
  background:linear-gradient(90deg,#fff0f1 0%,#fff5f5 100%)!important;
  color:#c1121f!important;
  font-weight:700!important;
}
body.woocommerce-account .woocommerce-MyAccount-content{
  width:100%!important;
  min-width:0!important;
  float:none!important;
  margin:0!important;
  padding:24px 26px!important;
  border:1px solid #e4e8ef!important;
  border-radius:14px!important;
  background:#fff!important;
  color:#344054!important;
  font-size:13px!important;
  line-height:1.65!important;
  box-shadow:0 8px 30px rgba(15,23,42,.025);
}
body.woocommerce-account .woocommerce-MyAccount-content>p:first-child{margin-top:0!important}
body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce-MyAccount-content h3{
  color:#101828!important;
  font-weight:700!important;
}
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table{
  overflow:hidden;
  margin:0!important;
  border:1px solid #e7ebf2!important;
  border-radius:11px!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  background:#fff!important;
}
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table th{
  padding:13px 14px!important;
  background:#fafafa!important;
  color:#667085!important;
  font-size:11px!important;
  font-weight:700!important;
}
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table td{
  padding:14px!important;
  border-color:#edf0f5!important;
  font-size:12.5px!important;
}
body.woocommerce-account .woocommerce-MyAccount-content .button{
  min-height:38px!important;
  padding:0 14px!important;
  border:0!important;
  border-radius:8px!important;
  background:#c1121f!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-size:12px!important;
  font-weight:700!important;
}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Message,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info{
  margin:0!important;
  border:1px solid #e4e8ef!important;
  border-top:2px solid var(--ncsm-primary)!important;
  border-radius:10px!important;
  background:#ffffff!important;
  font-size:12.5px!important;
}

/* CART + CHECKOUT: il nuovo hero sostituisce il titolo vecchio. */
body.woocommerce-cart .ncsm-transaction-page,
body.woocommerce-checkout .ncsm-transaction-page{
  padding:28px 0 70px!important;
}
body.woocommerce-cart .ncsm-transaction-shell,
body.woocommerce-checkout .ncsm-transaction-shell{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}

/* THANK YOU / conferma ordine ----------------------------- */
body.woocommerce-order-received .woocommerce-order{
  display:grid;
  gap:18px;
}
body.woocommerce-order-received .woocommerce-thankyou-order-received{
  margin:0!important;
  padding:18px 20px!important;
  border:1px solid #cfe7d8!important;
  border-radius:12px!important;
  background:#f3fbf6!important;
  color:#17603a!important;
  font-size:14px!important;
  font-weight:700!important;
}
body.woocommerce-order-received .woocommerce-order-overview{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}
body.woocommerce-order-received .woocommerce-order-overview li{
  float:none!important;
  width:auto!important;
  min-width:0!important;
  margin:0!important;
  padding:15px 16px!important;
  border:1px solid #e4e8ef!important;
  border-right:1px solid #e4e8ef!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#667085!important;
  font-size:10px!important;
  line-height:1.35!important;
  text-transform:uppercase!important;
}
body.woocommerce-order-received .woocommerce-order-overview li strong{
  display:block!important;
  margin-top:5px!important;
  color:#101828!important;
  font-size:13px!important;
  line-height:1.35!important;
  text-transform:none!important;
}
body.woocommerce-order-received .woocommerce-order-details,
body.woocommerce-order-received .woocommerce-customer-details,
body.woocommerce-order-received .wc-bacs-bank-details{
  margin:0!important;
  padding:22px!important;
  border:1px solid #e4e8ef!important;
  border-radius:14px!important;
  background:#fff!important;
}
body.woocommerce-order-received .woocommerce-order-details__title,
body.woocommerce-order-received .woocommerce-column__title,
body.woocommerce-order-received .wc-bacs-bank-details-heading{
  margin:0 0 16px!important;
  color:#101828!important;
  font-size:18px!important;
  line-height:1.25!important;
  font-weight:700!important;
}
body.woocommerce-order-received table.shop_table{
  margin:0!important;
  border:0!important;
}
body.woocommerce-order-received table.shop_table th,
body.woocommerce-order-received table.shop_table td{
  padding:12px 10px!important;
  border-color:#edf0f5!important;
  font-size:12.5px!important;
}
body.woocommerce-order-received .woocommerce-customer-details address{
  padding:0!important;
  border:0!important;
  line-height:1.7!important;
}

@media(min-width:1440px){
  .ncsm-system-shell{
    width:min(calc(100% - 48px),1440px);
    max-width:1440px;
  }
}

@media(max-width:900px){
  .ncsm-system-shell{width:min(calc(100% - 28px),1240px);max-width:1240px}
  body.woocommerce-account .ncsm-woo-system-page .woocommerce{
    grid-template-columns:1fr!important;
    gap:16px!important;
  }
  body.woocommerce-account .woocommerce-MyAccount-navigation ul{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:4px!important;
  }
  body.woocommerce-order-received .woocommerce-order-overview{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:600px){
  .ncsm-woo-system-page{padding:18px 0 48px!important}
  .ncsm-system-shell{width:calc(100% - 20px)}
  .ncsm-system-hero{min-height:78px;padding:14px 18px;margin-bottom:14px;border-radius:13px}
  .ncsm-system-hero h1{font-size:26px!important}
  .ncsm-shop-hero.ncsm-compact-hero{padding:14px 18px 15px!important;border-radius:13px!important}
  .ncsm-shop-hero.ncsm-compact-hero h1{font-size:28px!important}
  body.woocommerce-account .woocommerce-MyAccount-navigation{padding:7px!important}
  body.woocommerce-account .woocommerce-MyAccount-navigation ul{
    grid-template-columns:1fr!important;
  }
  body.woocommerce-account .woocommerce-MyAccount-navigation li a{
    min-height:40px!important;
    font-size:13px!important;
  }
  body.woocommerce-account .woocommerce-MyAccount-content{padding:18px!important}
  body.woocommerce-order-received .woocommerce-order-overview{
    grid-template-columns:1fr!important;
  }
}


/* ==========================================================
   NC Software Market 1.4.1 - robust My Account layout
   ========================================================== */
body.woocommerce-account .ncsm-account-layout{display:grid!important;grid-template-columns:240px minmax(0,1fr)!important;gap:22px!important;align-items:start!important;width:100%!important;max-width:none!important;margin:0!important}
body.woocommerce-account .ncsm-account-layout>.woocommerce{display:contents!important}
body.woocommerce-account .ncsm-account-layout .woocommerce-notices-wrapper,body.woocommerce-account .ncsm-account-layout>.woocommerce-message,body.woocommerce-account .ncsm-account-layout>.woocommerce-info,body.woocommerce-account .ncsm-account-layout>.woocommerce-error{grid-column:1/-1!important}
body.woocommerce-account .ncsm-account-layout .woocommerce-MyAccount-navigation{grid-column:1!important;grid-row:1!important;align-self:start!important;width:100%!important;min-width:0!important;float:none!important;clear:none!important;margin:0!important}
body.woocommerce-account .ncsm-account-layout .woocommerce-MyAccount-content{grid-column:2!important;grid-row:1!important;align-self:start!important;width:100%!important;min-width:0!important;float:none!important;clear:none!important;margin:0!important;min-height:250px}
body.woocommerce-account .ncsm-account-layout .woocommerce-MyAccount-content p{max-width:760px}
body.woocommerce-account .ncsm-account-layout .woocommerce-MyAccount-content>*:first-child{margin-top:0!important}
body.woocommerce-account .ncsm-account-layout .woocommerce-MyAccount-content>*:last-child{margin-bottom:0!important}
@media(max-width:900px){body.woocommerce-account .ncsm-account-layout{grid-template-columns:1fr!important;gap:14px!important}body.woocommerce-account .ncsm-account-layout .woocommerce-MyAccount-navigation,body.woocommerce-account .ncsm-account-layout .woocommerce-MyAccount-content{grid-column:1!important;grid-row:auto!important}body.woocommerce-account .ncsm-account-layout .woocommerce-MyAccount-navigation ul{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px!important}}
@media(max-width:600px){body.woocommerce-account .ncsm-account-layout{gap:12px!important}body.woocommerce-account .ncsm-account-layout .woocommerce-MyAccount-navigation ul{grid-template-columns:1fr!important}body.woocommerce-account .ncsm-account-layout .woocommerce-MyAccount-navigation li a{min-height:42px!important;font-size:13.5px!important}body.woocommerce-account .ncsm-account-layout .woocommerce-MyAccount-content{min-height:0!important;padding:18px!important;font-size:13px!important}}


/* ==========================================================
   NC Software Market 1.4.2 - definitive My Account layout
   ========================================================== */
body.woocommerce-account .ncsm-account-layout{
  display:grid!important;
  grid-template-columns:240px minmax(0,1fr)!important;
  gap:22px!important;
  align-items:start!important;
  width:100%!important;
  margin:0!important;
}
body.woocommerce-account .ncsm-account-layout > .woocommerce{
  grid-column:1 / -1!important;
  display:grid!important;
  grid-template-columns:240px minmax(0,1fr)!important;
  gap:22px!important;
  align-items:start!important;
  width:100%!important;
  margin:0!important;
}
body.woocommerce-account .ncsm-account-layout > .woocommerce > .woocommerce-notices-wrapper,
body.woocommerce-account .ncsm-account-layout > .woocommerce > .woocommerce-message,
body.woocommerce-account .ncsm-account-layout > .woocommerce > .woocommerce-info,
body.woocommerce-account .ncsm-account-layout > .woocommerce > .woocommerce-error{
  grid-column:1 / -1!important;
}
body.woocommerce-account .ncsm-account-layout .woocommerce-MyAccount-navigation{
  grid-column:1!important;
  grid-row:auto!important;
  width:100%!important;
  float:none!important;
  clear:none!important;
  margin:0!important;
  align-self:start!important;
}
body.woocommerce-account .ncsm-account-layout .woocommerce-MyAccount-content{
  grid-column:2!important;
  grid-row:auto!important;
  width:100%!important;
  float:none!important;
  clear:none!important;
  margin:0!important;
  min-width:0!important;
  align-self:start!important;
  min-height:260px!important;
}
body.woocommerce-account .ncsm-account-layout .woocommerce-MyAccount-content > *:first-child{margin-top:0!important}
body.woocommerce-account .ncsm-account-layout .woocommerce-MyAccount-content > *:last-child{margin-bottom:0!important}
@media(max-width:900px){
  body.woocommerce-account .ncsm-account-layout,
  body.woocommerce-account .ncsm-account-layout > .woocommerce{
    grid-template-columns:1fr!important;
    gap:14px!important;
  }
  body.woocommerce-account .ncsm-account-layout .woocommerce-MyAccount-navigation,
  body.woocommerce-account .ncsm-account-layout .woocommerce-MyAccount-content{
    grid-column:1!important;
  }
  body.woocommerce-account .ncsm-account-layout .woocommerce-MyAccount-navigation ul{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:5px!important;
  }
  body.woocommerce-account .ncsm-account-layout .woocommerce-MyAccount-content{min-height:0!important}
}
@media(max-width:600px){
  body.woocommerce-account .ncsm-account-layout .woocommerce-MyAccount-navigation ul{grid-template-columns:1fr!important}
  body.woocommerce-account .ncsm-account-layout .woocommerce-MyAccount-navigation li a{min-height:42px!important;font-size:13.5px!important}
  body.woocommerce-account .ncsm-account-layout .woocommerce-MyAccount-content{padding:18px!important;font-size:13px!important}
}


/* ==========================================================
   NC Software Market 1.4.3 - cart / checkout refinement
   ========================================================== */

/* CART ----------------------------------------------------- */
body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td.product-name{
  font-size:13px!important;
  line-height:1.6!important;
  color:#475467!important;
}
body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td.product-name a{
  display:inline-block!important;
  margin:0 0 10px!important;
}
body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td.product-name dl.variation,
body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td.product-name .wc-item-meta,
body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td.product-name p,
body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td.product-name small{
  margin:0!important;
  color:#475467!important;
  font-size:13px!important;
  line-height:1.7!important;
}
body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td.product-name dl.variation dt,
body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td.product-name dl.variation dd{
  display:inline!important;
  float:none!important;
  margin:0!important;
}
body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td.product-name dl.variation dd:after{
  content:"";
  display:block;
}
body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td.product-quantity,
body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td.product-price,
body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td.product-subtotal{
  white-space:nowrap!important;
  font-size:14px!important;
}
body.woocommerce-cart .ncsm-classic-transaction .quantity{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
}
body.woocommerce-cart .ncsm-classic-transaction .quantity .qty,
body.woocommerce-cart .ncsm-classic-transaction input.qty{
  width:74px!important;
  min-width:74px!important;
  height:42px!important;
  padding:0 8px!important;
  text-align:center!important;
  border:1px solid #dbe2eb!important;
  border-radius:10px!important;
  font-size:14px!important;
  font-weight:600!important;
}
body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td.actions{
  padding:16px!important;
}
body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td.actions .coupon{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  flex-wrap:wrap!important;
  margin:0!important;
}
body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td.actions .coupon label{
  display:none!important;
}
body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td.actions #coupon_code{
  width:210px!important;
  min-width:210px!important;
  height:44px!important;
  padding:0 14px!important;
  border:1px solid #dbe2eb!important;
  border-radius:10px!important;
  font-size:13px!important;
}
body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td.actions .coupon .button,
body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td.actions button[name="apply_coupon"]{
  width:auto!important;
  min-width:210px!important;
  padding:0 18px!important;
  white-space:nowrap!important;
}
body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td.actions button[name="update_cart"]{
  width:auto!important;
  min-width:160px!important;
  padding:0 18px!important;
  margin-left:auto!important;
  white-space:nowrap!important;
}
body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td.actions .button:disabled,
body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td.actions .button[disabled]{
  opacity:.65!important;
}

/* CHECKOUT ------------------------------------------------- */
@media (min-width: 901px){
  body.woocommerce-checkout .ncsm-classic-transaction form.woocommerce-checkout{
    align-items:start!important;
  }
  body.woocommerce-checkout .ncsm-classic-transaction #order_review_heading{
    align-self:start!important;
    margin:0 0 12px!important;
    padding:2px 0 0!important;
  }
  body.woocommerce-checkout .ncsm-classic-transaction #order_review{
    align-self:start!important;
    margin:0!important;
  }
}
body.woocommerce-checkout .ncsm-classic-transaction #order_review_heading{
  color:#101828!important;
  font-size:18px!important;
  line-height:1.25!important;
  font-weight:700!important;
}
body.woocommerce-checkout .ncsm-classic-transaction #order_review table.shop_table th,
body.woocommerce-checkout .ncsm-classic-transaction #order_review table.shop_table td{
  padding:12px 10px!important;
  vertical-align:top!important;
  font-size:13px!important;
}
body.woocommerce-checkout .ncsm-classic-transaction #order_review table.shop_table .product-name{
  color:#344054!important;
  line-height:1.65!important;
}
body.woocommerce-checkout .ncsm-classic-transaction #order_review table.shop_table .product-total,
body.woocommerce-checkout .ncsm-classic-transaction #order_review table.shop_table tfoot th,
body.woocommerce-checkout .ncsm-classic-transaction #order_review table.shop_table tfoot td{
  font-size:13px!important;
}
body.woocommerce-checkout .ncsm-classic-transaction #order_review .shop_table .product-name strong,
body.woocommerce-checkout .ncsm-classic-transaction #order_review .shop_table .product-total strong,
body.woocommerce-checkout .ncsm-classic-transaction #order_review .shop_table .order-total .amount,
body.woocommerce-checkout .ncsm-classic-transaction #order_review .shop_table .cart-subtotal .amount{
  color:#101828!important;
}
body.woocommerce-checkout .ncsm-classic-transaction #payment{
  margin-top:16px!important;
}
body.ncsm-no-shipping-needed.woocommerce-checkout .ncsm-classic-transaction #customer_details .col-2,
body.ncsm-no-shipping-needed.woocommerce-checkout .ncsm-classic-transaction .woocommerce-shipping-fields,
body.ncsm-no-shipping-needed.woocommerce-checkout .ncsm-classic-transaction .shipping_address,
body.ncsm-no-shipping-needed.woocommerce-checkout .ncsm-classic-transaction #ship-to-different-address,
body.ncsm-no-shipping-needed.woocommerce-checkout .ncsm-classic-transaction #order_review .shipping,
body.ncsm-no-shipping-needed.woocommerce-checkout .ncsm-classic-transaction .woocommerce-checkout-review-order-table .shipping,
body.ncsm-no-shipping-needed.woocommerce-cart .ncsm-classic-transaction .cart_totals .shipping{
  display:none!important;
}
body.ncsm-no-shipping-needed.woocommerce-checkout .ncsm-classic-transaction #customer_details .col-1{
  margin-bottom:18px!important;
}

@media (max-width: 900px){
  body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td.actions .coupon,
  body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td.actions .coupon .button,
  body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td.actions button[name="update_cart"]{
    width:100%!important;
    min-width:0!important;
  }
  body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td.actions #coupon_code{
    width:100%!important;
    min-width:0!important;
  }
}


/* ==========================================================
   NC Software Market 1.4.4 - premium cart / checkout polish
   ========================================================== */

/* CART: allineamento metadati, quantità e coupon ------------ */
body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td.product-name{
  min-width:280px!important;
}
body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td.product-name dl.variation{
  display:grid!important;
  grid-template-columns:106px minmax(0,1fr)!important;
  column-gap:8px!important;
  row-gap:5px!important;
  align-items:baseline!important;
  margin:10px 0 0!important;
  padding:0!important;
  font-size:12.5px!important;
  line-height:1.45!important;
}
body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td.product-name dl.variation dt,
body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td.product-name dl.variation dd{
  display:block!important;
  float:none!important;
  clear:none!important;
  width:auto!important;
  margin:0!important;
  padding:0!important;
}
body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td.product-name dl.variation dt{
  color:#667085!important;
  font-weight:600!important;
}
body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td.product-name dl.variation dd{
  color:#101828!important;
  font-weight:600!important;
  text-align:left!important;
}
body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td.product-name dl.variation dd p{
  margin:0!important;
  padding:0!important;
}
body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td.product-name ul.wc-item-meta{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:5px!important;
  margin:10px 0 0!important;
  padding:0!important;
  list-style:none!important;
}
body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td.product-name ul.wc-item-meta li{
  display:grid!important;
  grid-template-columns:106px minmax(0,1fr)!important;
  gap:8px!important;
  align-items:baseline!important;
  margin:0!important;
}
body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td.product-name ul.wc-item-meta strong{
  color:#667085!important;
  font-size:12.5px!important;
  font-weight:600!important;
}
body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td.product-name ul.wc-item-meta p{
  margin:0!important;
  color:#101828!important;
  font-size:12.5px!important;
  font-weight:600!important;
}
body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td.product-quantity{
  text-align:center!important;
}
body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td.product-quantity .quantity{
  justify-content:center!important;
}
body.woocommerce-cart .ncsm-classic-transaction .quantity .qty,
body.woocommerce-cart .ncsm-classic-transaction input.qty{
  width:82px!important;
  min-width:82px!important;
  height:44px!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#101828!important;
  font-size:14px!important;
}
body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td.actions{
  background:#ffffff!important;
  border-top:1px solid #edf0f5!important;
}
body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td.actions .coupon{
  max-width:520px!important;
}
body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td.actions #coupon_code{
  width:220px!important;
  min-width:220px!important;
  height:44px!important;
  background:#fff!important;
}
body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td.actions button[name="apply_coupon"]{
  min-width:0!important;
  width:auto!important;
  height:44px!important;
  min-height:44px!important;
  padding:0 18px!important;
  font-size:13px!important;
}
body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td.actions button[name="update_cart"]{
  min-width:0!important;
  width:auto!important;
  height:44px!important;
  min-height:44px!important;
  padding:0 18px!important;
  font-size:13px!important;
}

/* CHECKOUT: colonna destra realmente in alto ---------------- */
@media (min-width: 901px){
  body.woocommerce-checkout .ncsm-classic-transaction form.woocommerce-checkout{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 430px!important;
    grid-template-rows:auto auto!important;
    grid-template-areas:
      "customer review-title"
      "customer review"!important;
    column-gap:32px!important;
    row-gap:10px!important;
    align-items:start!important;
  }
  body.woocommerce-checkout .ncsm-classic-transaction #customer_details{
    grid-column:1!important;
    grid-row:1 / span 2!important;
    align-self:start!important;
  }
  body.woocommerce-checkout .ncsm-classic-transaction #order_review_heading{
    grid-column:2!important;
    grid-row:1!important;
    align-self:end!important;
    margin:0!important;
    padding:0 2px 5px!important;
  }
  body.woocommerce-checkout .ncsm-classic-transaction #order_review{
    grid-column:2!important;
    grid-row:2!important;
    align-self:start!important;
    margin:0!important;
  }
}

/* Il wrapper del riepilogo non è più una card unica: ordine e pagamenti sono separati. */
body.woocommerce-checkout .ncsm-classic-transaction #order_review{
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.woocommerce-checkout .ncsm-classic-transaction #order_review table.shop_table{
  width:100%!important;
  margin:0!important;
  padding:14px 18px 8px!important;
  border:1px solid #e4e9f1!important;
  border-radius:15px!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  background:#fff!important;
  box-shadow:0 10px 28px rgba(15,23,42,.025)!important;
}
body.woocommerce-checkout .ncsm-classic-transaction #order_review table.shop_table thead th{
  padding:9px 8px 13px!important;
  border-bottom:1px solid #dfe4ec!important;
  color:#101828!important;
  font-size:12.5px!important;
  font-weight:700!important;
}
body.woocommerce-checkout .ncsm-classic-transaction #order_review table.shop_table tbody td{
  padding:12px 8px!important;
  border-bottom:0!important;
}
body.woocommerce-checkout .ncsm-classic-transaction #order_review table.shop_table tfoot th,
body.woocommerce-checkout .ncsm-classic-transaction #order_review table.shop_table tfoot td{
  padding:12px 8px!important;
  border-top:1px solid #dfe4ec!important;
  color:#101828!important;
  font-size:13px!important;
  font-weight:700!important;
}
body.woocommerce-checkout .ncsm-classic-transaction #order_review table.shop_table tfoot tr.order-total th,
body.woocommerce-checkout .ncsm-classic-transaction #order_review table.shop_table tfoot tr.order-total td{
  font-size:15px!important;
}
body.woocommerce-checkout .ncsm-classic-transaction #order_review table.shop_table td.product-name{
  color:#344054!important;
  font-size:12.5px!important;
  line-height:1.5!important;
}
body.woocommerce-checkout .ncsm-classic-transaction #order_review table.shop_table td.product-name dl.variation{
  display:grid!important;
  grid-template-columns:92px minmax(0,1fr)!important;
  column-gap:7px!important;
  row-gap:4px!important;
  align-items:baseline!important;
  margin:9px 0 0!important;
  padding:0!important;
}
body.woocommerce-checkout .ncsm-classic-transaction #order_review table.shop_table td.product-name dl.variation dt,
body.woocommerce-checkout .ncsm-classic-transaction #order_review table.shop_table td.product-name dl.variation dd{
  float:none!important;
  clear:none!important;
  width:auto!important;
  margin:0!important;
  padding:0!important;
  font-size:11.5px!important;
  line-height:1.4!important;
}
body.woocommerce-checkout .ncsm-classic-transaction #order_review table.shop_table td.product-name dl.variation dt{
  color:#667085!important;
  font-weight:600!important;
}
body.woocommerce-checkout .ncsm-classic-transaction #order_review table.shop_table td.product-name dl.variation dd{
  color:#101828!important;
  font-weight:600!important;
}
body.woocommerce-checkout .ncsm-classic-transaction #order_review table.shop_table td.product-name dl.variation dd p{
  margin:0!important;
}

/* Pagamento come card autonoma, larga quanto il riepilogo. */
body.woocommerce-checkout .ncsm-classic-transaction #payment{
  width:100%!important;
  margin:16px 0 0!important;
  padding:18px!important;
  border:1px solid #e4e9f1!important;
  border-radius:15px!important;
  background:#fff!important;
  box-shadow:0 10px 28px rgba(15,23,42,.025)!important;
}
body.woocommerce-checkout .ncsm-classic-transaction #payment ul.payment_methods{
  margin:0!important;
  padding:0!important;
  border:0!important;
  list-style:none!important;
}
body.woocommerce-checkout .ncsm-classic-transaction #payment ul.payment_methods li{
  margin:0 0 10px!important;
  padding:0!important;
}
body.woocommerce-checkout .ncsm-classic-transaction #payment ul.payment_methods li:last-child{
  margin-bottom:0!important;
}
body.woocommerce-checkout .ncsm-classic-transaction #payment .payment_box{
  margin:9px 0 0!important;
  padding:13px 14px!important;
  border-radius:10px!important;
  background:#fafafa!important;
  color:#475467!important;
  font-size:12px!important;
  line-height:1.55!important;
}
body.woocommerce-checkout .ncsm-classic-transaction #payment .payment_box:before{display:none!important}
body.woocommerce-checkout .ncsm-classic-transaction #payment .place-order{
  margin:16px 0 0!important;
  padding:16px 0 0!important;
  border-top:1px solid #edf0f5!important;
}
body.woocommerce-checkout .ncsm-classic-transaction #payment .woocommerce-privacy-policy-text,
body.woocommerce-checkout .ncsm-classic-transaction #payment .form-row{
  color:#667085!important;
  font-size:12px!important;
  line-height:1.55!important;
}
body.woocommerce-checkout .ncsm-classic-transaction #place_order{
  min-height:50px!important;
  margin-top:12px!important;
  font-size:14px!important;
}

/* Billing card più rifinita e uniforme. */
body.woocommerce-checkout .ncsm-classic-transaction .woocommerce-billing-fields,
body.woocommerce-checkout .ncsm-classic-transaction .woocommerce-additional-fields{
  padding:24px!important;
  border-color:#e4e9f1!important;
  border-radius:15px!important;
  box-shadow:0 10px 28px rgba(15,23,42,.02)!important;
}
body.woocommerce-checkout .ncsm-classic-transaction .woocommerce-billing-fields > h3,
body.woocommerce-checkout .ncsm-classic-transaction .woocommerce-additional-fields > h3{
  margin:0 0 20px!important;
  color:#101828!important;
  font-size:16px!important;
  line-height:1.25!important;
  font-weight:700!important;
}
body.woocommerce-checkout .ncsm-classic-transaction .form-row label{
  margin-bottom:6px!important;
  color:#344054!important;
  font-size:12.5px!important;
  font-weight:600!important;
}
body.woocommerce-checkout .ncsm-classic-transaction .form-row input.input-text,
body.woocommerce-checkout .ncsm-classic-transaction .form-row textarea,
body.woocommerce-checkout .ncsm-classic-transaction .select2-container .select2-selection--single{
  min-height:44px!important;
  border-color:#dfe4ec!important;
  background:#fff!important;
}

/* Se non esiste spedizione, non deve esistere nessun contenitore vuoto. */
body.ncsm-no-shipping-needed.woocommerce-checkout .ncsm-classic-transaction .woocommerce-shipping-fields,
body.ncsm-no-shipping-needed.woocommerce-checkout .ncsm-classic-transaction .shipping_address,
body.ncsm-no-shipping-needed.woocommerce-checkout .ncsm-classic-transaction #ship-to-different-address,
body.ncsm-no-shipping-needed.woocommerce-checkout .ncsm-classic-transaction #order_review .shipping,
body.ncsm-no-shipping-needed.woocommerce-checkout .ncsm-classic-transaction .woocommerce-checkout-review-order-table .shipping,
body.ncsm-no-shipping-needed.woocommerce-cart .ncsm-classic-transaction .cart_totals .shipping{
  display:none!important;
}
body.ncsm-no-shipping-needed.woocommerce-checkout .ncsm-classic-transaction #customer_details .col-2{
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
body.ncsm-no-shipping-needed.woocommerce-checkout .ncsm-classic-transaction #customer_details .col-2:empty{
  display:none!important;
}
body.ncsm-no-shipping-needed.woocommerce-checkout .ncsm-classic-transaction #customer_details .col-2 > .woocommerce-additional-fields:empty{
  display:none!important;
}

@media (max-width: 900px){
  body.woocommerce-checkout .ncsm-classic-transaction form.woocommerce-checkout{
    display:block!important;
  }
  body.woocommerce-checkout .ncsm-classic-transaction #order_review_heading{
    margin:22px 0 10px!important;
    padding:0!important;
  }
  body.woocommerce-checkout .ncsm-classic-transaction #payment{
    margin-top:14px!important;
  }
  body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td.product-name dl.variation,
  body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td.product-name ul.wc-item-meta li{
    grid-template-columns:96px minmax(0,1fr)!important;
  }
}


/* ==========================================================
   NC Software Market 1.4.5 - checkout structure final pass
   Payment full width + order summary pinned to the top.
   ========================================================== */

/* CART: coupon action less dominant. */
body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td.actions button[name="apply_coupon"]{
  min-width:0!important;
  width:auto!important;
  height:42px!important;
  min-height:42px!important;
  padding:0 15px!important;
  font-size:12px!important;
  border-radius:9px!important;
}
body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td.actions #coupon_code{
  width:205px!important;
  min-width:205px!important;
  height:42px!important;
}

/* CHECKOUT desktop: billing left, order summary top-right, payment full-width below. */
@media (min-width:901px){
  body.woocommerce-checkout .ncsm-classic-transaction form.woocommerce-checkout{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 430px!important;
    grid-template-rows:auto auto!important;
    column-gap:32px!important;
    row-gap:24px!important;
    align-items:start!important;
  }

  body.woocommerce-checkout .ncsm-classic-transaction #customer_details{
    grid-column:1!important;
    grid-row:1!important;
    align-self:start!important;
    min-width:0!important;
  }

  /* Flatten order-review wrapper so table and payment can live in separate grid rows. */
  body.woocommerce-checkout .ncsm-classic-transaction #order_review{
    display:contents!important;
  }

  body.woocommerce-checkout .ncsm-classic-transaction #order_review_heading{
    grid-column:2!important;
    grid-row:1!important;
    align-self:start!important;
    justify-self:stretch!important;
    z-index:2!important;
    margin:0!important;
    padding:0 2px!important;
    transform:none!important;
  }

  body.woocommerce-checkout .ncsm-classic-transaction #order_review > table.shop_table,
  body.woocommerce-checkout .ncsm-classic-transaction .woocommerce-checkout-review-order-table{
    grid-column:2!important;
    grid-row:1!important;
    align-self:start!important;
    justify-self:stretch!important;
    width:100%!important;
    margin:40px 0 0!important;
  }

  body.woocommerce-checkout .ncsm-classic-transaction #payment{
    grid-column:1 / -1!important;
    grid-row:2!important;
    width:100%!important;
    margin:0!important;
    align-self:start!important;
  }
}

/* Payment becomes a dedicated wide section. */
body.woocommerce-checkout .ncsm-classic-transaction #payment{
  position:relative!important;
  padding:24px!important;
  border:1px solid #e4e9f1!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 10px 28px rgba(15,23,42,.025)!important;
}
body.woocommerce-checkout .ncsm-classic-transaction #payment:before{
  content:"Pagamento";
  display:block!important;
  margin:0 0 18px!important;
  color:#101828!important;
  font-size:18px!important;
  line-height:1.2!important;
  font-weight:700!important;
}
body.woocommerce-checkout .ncsm-classic-transaction #payment ul.payment_methods{
  padding:0!important;
  margin:0!important;
  border:0!important;
}
body.woocommerce-checkout .ncsm-classic-transaction #payment .place-order{
  margin:18px 0 0!important;
  padding:18px 0 0!important;
  border-top:1px solid #edf0f5!important;
}

@media (min-width:901px){
  body.woocommerce-checkout .ncsm-classic-transaction #payment{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(320px,390px)!important;
    column-gap:34px!important;
    row-gap:0!important;
    align-items:start!important;
  }
  body.woocommerce-checkout .ncsm-classic-transaction #payment:before{
    grid-column:1/-1!important;
  }
  body.woocommerce-checkout .ncsm-classic-transaction #payment ul.payment_methods{
    grid-column:1!important;
    margin:0!important;
  }
  body.woocommerce-checkout .ncsm-classic-transaction #payment .place-order{
    grid-column:2!important;
    margin:0!important;
    padding:0 0 0 28px!important;
    border-top:0!important;
    border-left:1px solid #edf0f5!important;
  }
  body.woocommerce-checkout .ncsm-classic-transaction #payment .woocommerce-privacy-policy-text{
    margin-top:0!important;
  }
}

@media (max-width:900px){
  body.woocommerce-checkout .ncsm-classic-transaction #order_review{
    display:block!important;
  }
  body.woocommerce-checkout .ncsm-classic-transaction #order_review_heading{
    margin:22px 0 10px!important;
    padding:0!important;
  }
  body.woocommerce-checkout .ncsm-classic-transaction #order_review > table.shop_table,
  body.woocommerce-checkout .ncsm-classic-transaction .woocommerce-checkout-review-order-table{
    margin:0!important;
  }
  body.woocommerce-checkout .ncsm-classic-transaction #payment{
    display:block!important;
    margin-top:16px!important;
  }
}


/* ==========================================================
   NC Software Market 1.4.6 - payment CTA bottom + compact coupon
   ========================================================== */

/* CART: coupon field/button compact, balanced and aligned. */
body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td.actions .coupon{
  gap:8px!important;
}
body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td.actions #coupon_code{
  width:190px!important;
  min-width:190px!important;
  height:38px!important;
  min-height:38px!important;
  padding:0 12px!important;
  font-size:12px!important;
  border-radius:8px!important;
}
body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td.actions .coupon .button,
body.woocommerce-cart .ncsm-classic-transaction table.shop_table.cart td.actions button[name="apply_coupon"]{
  width:170px!important;
  min-width:170px!important;
  max-width:170px!important;
  height:38px!important;
  min-height:38px!important;
  padding:0 10px!important;
  border-radius:8px!important;
  font-size:11.5px!important;
  line-height:1.1!important;
  white-space:nowrap!important;
}

/* CHECKOUT: payment is one full-width section; confirmation always at the bottom. */
@media (min-width:901px){
  body.woocommerce-checkout .ncsm-classic-transaction #payment{
    display:block!important;
    grid-template-columns:none!important;
  }
  body.woocommerce-checkout .ncsm-classic-transaction #payment:before{
    display:block!important;
  }
  body.woocommerce-checkout .ncsm-classic-transaction #payment ul.payment_methods{
    width:100%!important;
    margin:0!important;
    padding:0!important;
  }
  body.woocommerce-checkout .ncsm-classic-transaction #payment .place-order{
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    margin:20px 0 0!important;
    padding:20px 0 0!important;
    border-left:0!important;
    border-top:1px solid #edf0f5!important;
  }
  body.woocommerce-checkout .ncsm-classic-transaction #payment .woocommerce-privacy-policy-text{
    width:100%!important;
    max-width:none!important;
    margin:0 0 16px!important;
  }
  body.woocommerce-checkout .ncsm-classic-transaction #payment #place_order{
    order:99!important;
    width:100%!important;
    min-height:50px!important;
    margin:0!important;
  }
}


/* ==========================================================
   NC Auto Market 1.0.7 - refined single product balance
   ========================================================== */
@media (min-width:1101px){
  .single-product .ncsm-single-product-shell>div.product{
    grid-template-columns:minmax(0,.92fr) minmax(460px,1.08fr);
    gap:32px 42px;
  }
  .single-product .ncsm-single-product-shell div.product .woocommerce-product-gallery img{
    max-height:600px;
  }
}
@media (min-width:851px) and (max-width:1100px){
  .single-product .ncsm-single-product-shell>div.product{
    grid-template-columns:minmax(0,.96fr) minmax(400px,1.04fr);
    gap:24px 30px;
  }
  .single-product .ncsm-single-product-shell div.product .woocommerce-product-gallery img{
    max-height:540px;
  }
}
.single-product .ncsm-single-product-shell .ncss-purchase-box,
.single-product .ncsm-single-product-shell .ncss-tech-meta{
  background:#f7f8fa!important;
  border-color:#e2e5ea!important;
  box-shadow:0 1px 0 rgba(23,25,29,.02)!important;
}
.single-product .ncsm-single-product-shell .ncss-purchase-box{
  padding:19px 20px!important;
}
.single-product .ncsm-single-product-shell .ncss-tech-meta{
  padding:10px 17px!important;
}
.single-product .ncsm-single-product-shell .ncss-tech-meta>div{
  border-color:#e5e8ed!important;
}
.single-product .ncsm-single-product-shell div.product .woocommerce-product-gallery{
  background:#fafbfc;
}
.single-product .ncsm-single-product-shell div.product .woocommerce-product-gallery img{
  background:#f7f8fa;
}


/* ==========================================================
   NC Auto Market 1.0.8 - refined single product tabs/details
   ========================================================== */
.single-product .ncsm-single-product-shell .woocommerce-tabs{
  margin-top:22px!important;
}
.single-product .ncsm-single-product-shell .woocommerce-tabs ul.tabs{
  display:inline-flex!important;
  align-items:center;
  gap:5px!important;
  max-width:100%;
  margin:0 0 12px!important;
  padding:5px!important;
  border:1px solid #e2e5ea;
  border-radius:11px;
  background:#f7f8fa;
}
.single-product .ncsm-single-product-shell .woocommerce-tabs ul.tabs li{
  border:0!important;
  border-radius:8px!important;
  background:transparent!important;
  box-shadow:none!important;
}
.single-product .ncsm-single-product-shell .woocommerce-tabs ul.tabs li a{
  min-height:34px;
  display:flex!important;
  align-items:center;
  padding:0 12px!important;
  border-radius:7px;
  color:#5f6876!important;
  font-size:11.5px!important;
  line-height:1!important;
  font-weight:650!important;
  transition:background-color .16s ease,color .16s ease,box-shadow .16s ease;
}
.single-product .ncsm-single-product-shell .woocommerce-tabs ul.tabs li.active a,
.single-product .ncsm-single-product-shell .woocommerce-tabs ul.tabs li a:hover{
  background:#fff!important;
  color:#a90f18!important;
  box-shadow:0 1px 3px rgba(23,25,29,.08);
}
.single-product .ncsm-single-product-shell .woocommerce-tabs .panel{
  margin:0!important;
  padding:24px 26px!important;
  border:1px solid #e2e5ea!important;
  border-radius:14px!important;
  background:#f7f8fa!important;
  color:#3e4653;
  box-shadow:0 1px 0 rgba(23,25,29,.02);
}
.single-product .ncsm-single-product-shell .woocommerce-tabs .panel h2,
.single-product .ncsm-single-product-shell .woocommerce-tabs .panel h3{
  margin-top:0!important;
  color:#17191d;
  letter-spacing:-.015em;
}
.single-product .ncsm-single-product-shell .woocommerce-tabs .panel h2{
  font-size:18px!important;
  margin-bottom:16px!important;
}
.single-product .ncsm-single-product-shell .woocommerce-tabs .panel h3{
  font-size:16px!important;
  margin-bottom:12px!important;
}
.single-product .ncsm-single-product-shell .woocommerce-tabs .panel p{
  max-width:980px;
  margin:0 0 12px;
  color:#4e5869;
  font-size:13px;
  line-height:1.7;
}
.single-product .ncsm-single-product-shell .woocommerce-tabs .panel p:last-child{
  margin-bottom:0;
}
.single-product .ncsm-single-product-shell .woocommerce-tabs .shop_attributes{
  border-collapse:separate!important;
  border-spacing:0 7px!important;
}
.single-product .ncsm-single-product-shell .woocommerce-tabs .shop_attributes th,
.single-product .ncsm-single-product-shell .woocommerce-tabs .shop_attributes td{
  padding:10px 12px!important;
  border:0!important;
  background:#fff!important;
}
.single-product .ncsm-single-product-shell .woocommerce-tabs .shop_attributes th{
  width:220px;
  border-radius:8px 0 0 8px;
  color:#667085;
  font-size:11.5px;
}
.single-product .ncsm-single-product-shell .woocommerce-tabs .shop_attributes td{
  border-radius:0 8px 8px 0;
  color:#17191d;
  font-size:12px;
}
/* Plugin information blocks are two columns on desktop, note card can span full width. */
.single-product .ncsm-single-product-shell .ncss-extra-wrap{
  grid-column:1/-1!important;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px!important;
  width:100%;
  margin:18px 0 0!important;
}
.single-product .ncsm-single-product-shell .ncss-extra-card{
  width:100%;
  min-width:0;
}
.single-product .ncsm-single-product-shell .ncss-extra-card:last-child:nth-child(odd){
  grid-column:1/-1!important;
}
@media(max-width:850px){
  .single-product .ncsm-single-product-shell .woocommerce-tabs{
    margin-top:18px!important;
  }
  .single-product .ncsm-single-product-shell .woocommerce-tabs ul.tabs{
    display:flex!important;
    width:100%;
    overflow-x:auto;
    white-space:nowrap;
    scrollbar-width:none;
  }
  .single-product .ncsm-single-product-shell .woocommerce-tabs ul.tabs::-webkit-scrollbar{
    display:none;
  }
  .single-product .ncsm-single-product-shell .woocommerce-tabs .panel{
    padding:20px!important;
  }
  .single-product .ncsm-single-product-shell .ncss-extra-wrap{
    grid-template-columns:1fr!important;
    gap:11px!important;
  }
  .single-product .ncsm-single-product-shell .ncss-extra-card:last-child:nth-child(odd){
    grid-column:auto!important;
  }
}
@media(max-width:560px){
  .single-product .ncsm-single-product-shell .woocommerce-tabs ul.tabs{
    margin-bottom:10px!important;
    padding:4px!important;
  }
  .single-product .ncsm-single-product-shell .woocommerce-tabs ul.tabs li a{
    min-height:32px;
    padding:0 10px!important;
    font-size:10.5px!important;
  }
  .single-product .ncsm-single-product-shell .woocommerce-tabs .panel{
    padding:18px 16px!important;
    border-radius:12px!important;
  }
  .single-product .ncsm-single-product-shell .woocommerce-tabs .panel h2{
    font-size:17px!important;
  }
}


/* ==========================================================
   NC Auto Market 1.0.17 - archive navigation categories/products
   ========================================================== */
/* Category counts are intentionally hidden everywhere in the storefront. */
.woocommerce ul.products li.product-category .count,
.woocommerce-loop-category__title .count,
.product-category .count,
.wc-block-product-categories-list-item-count,
.wc-block-product-categories-list-item__count,
.wp-block-woocommerce-product-categories .count,
.ncsm-shop-widget .count{
  display:none!important;
}

/* Category-only archives are full width: no filter sidebar or empty toolbar. */
.ncsm-archive-categories-only .ncsm-shop-layout,
.ncsm-archive-categories-only .ncsm-shop-toolbar,
.ncsm-archive-categories-only .ncsm-shop-sidebar,
.ncsm-archive-categories-only .ncsm-filter-backdrop{
  display:none!important;
}

.ncsm-archive-category-section{
  margin:0 0 28px;
}
.ncsm-archive-has-products.ncsm-archive-has-categories .ncsm-archive-category-section{
  margin-bottom:30px;
}
.ncsm-archive-category-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
.ncsm-archive-category-card{
  min-width:0;
  margin:0;
  border:1px solid #e3e9ef;
  border-radius:15px;
  background:#fff;
  overflow:hidden;
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.ncsm-archive-category-card:hover{
  border-color:#d2dce6;
  box-shadow:0 10px 26px rgba(15,23,42,.065);
  transform:translateY(-1px);
}
.ncsm-archive-category-link{
  min-height:112px;
  display:grid;
  grid-template-columns:92px minmax(0,1fr);
  align-items:center;
  gap:15px;
  padding:10px 17px 10px 10px;
  color:#172132!important;
  text-decoration:none!important;
}
.ncsm-archive-category-media{
  width:92px;
  height:88px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:11px;
  background:#f6f8fa;
  overflow:hidden;
  color:#c1121f;
}
.ncsm-archive-category-media.has-image{background:#f8fafb}
.ncsm-archive-category-media img.ncsm-archive-category-image{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  margin:0!important;
  padding:7px;
}
.ncsm-archive-category-placeholder{
  width:32px;
  height:32px;
  color:#c1121f;
  opacity:.72;
}
.ncsm-archive-category-copy{
  min-width:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:8px;
}
.ncsm-archive-category-copy strong{
  display:block;
  margin:0;
  color:#111827;
  font-size:17px;
  line-height:1.22;
  font-weight:700;
  letter-spacing:-.015em;
  overflow-wrap:anywhere;
}
.ncsm-archive-category-cta{
  display:inline-flex;
  align-items:center;
  gap:5px;
  color:#6b7584;
  font-size:11.5px;
  line-height:1;
  font-weight:600;
}
.ncsm-archive-category-card:hover .ncsm-archive-category-cta{color:var(--ncsm-primary)}

/* When categories and products are both enabled, categories remain full-width
   above the product archive; filters belong only to the product section. */
.ncsm-archive-has-categories.ncsm-archive-has-products .ncsm-shop-layout{
  margin-top:0;
}

@media(max-width:1320px){
  .ncsm-archive-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:900px){
  .ncsm-archive-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .ncsm-archive-category-link{min-height:104px;grid-template-columns:80px minmax(0,1fr);gap:13px;padding:9px 14px 9px 9px}
  .ncsm-archive-category-media{width:80px;height:80px}
  .ncsm-archive-category-copy strong{font-size:16px}
}
@media(max-width:560px){
  .ncsm-archive-category-section{margin-bottom:20px}
  .ncsm-archive-category-grid{grid-template-columns:1fr;gap:9px}
  .ncsm-archive-category-link{min-height:86px;grid-template-columns:68px minmax(0,1fr);gap:12px;padding:8px 13px 8px 8px}
  .ncsm-archive-category-media{width:68px;height:68px;border-radius:10px}
  .ncsm-archive-category-media img.ncsm-archive-category-image{padding:5px}
  .ncsm-archive-category-placeholder{width:27px;height:27px}
  .ncsm-archive-category-copy{gap:6px}
  .ncsm-archive-category-copy strong{font-size:16.5px}
  .ncsm-archive-category-cta{font-size:11px}
}


/* ==========================================================
   NC Auto Market 1.0.19 - premium product archive filters
   ========================================================== */
.ncsm-shop-layout{grid-template-columns:250px minmax(0,1fr);gap:26px}
.ncsm-shop-sidebar{gap:14px;align-content:start}
.ncsm-shop-widget{
  padding:0!important;
  border:1px solid #e1e7ed!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 8px 28px rgba(15,23,42,.035)!important;
  overflow:hidden;
}
.ncsm-shop-widget-title{
  margin:0!important;
  font-size:15px!important;
  line-height:1.2!important;
  font-weight:740!important;
  letter-spacing:-.015em!important;
  color:#172235!important;
}
.ncsm-shop-widget>h3.ncsm-shop-widget-title,
.ncsm-shop-widget>.wp-block-heading{
  padding:17px 18px 14px!important;
  border-bottom:1px solid #edf1f4;
  background:#f8fafb;
}
.ncsm-shop-widget>ul,
.ncsm-shop-widget>.product-categories,
.ncsm-shop-widget>.wp-block-woocommerce-product-categories,
.ncsm-shop-widget>.wc-block-product-categories{
  padding:8px 18px 12px!important;
}
.ncsm-shop-widget li{border-bottom:1px solid #eef2f5!important}
.ncsm-shop-widget li:last-child{border-bottom:0!important}
.ncsm-shop-widget li a,
.ncsm-shop-widget .wp-block-woocommerce-product-categories a,
.ncsm-shop-widget .wc-block-product-categories-list-item__name{
  min-height:42px!important;
  padding:10px 0!important;
  font-size:13.5px!important;
  line-height:1.3!important;
  font-weight:600!important;
  color:#4d5a6a!important;
}
.ncsm-shop-widget li.current-cat>a,
.ncsm-shop-widget li.current-cat-parent>a,
.ncsm-shop-widget .current-cat>a{
  color:var(--ncsm-primary)!important;
  font-weight:750!important;
}
.ncsm-shop-widget li.current-cat>a:before,
.ncsm-shop-widget li.current-cat-parent>a:before{
  content:"";
  width:5px;height:5px;border-radius:50%;background:var(--ncsm-primary);flex:0 0 5px;margin-right:8px;
}
.ncsm-shop-widget .children{padding-left:14px!important;border-left:1px solid #edf1f4;margin-bottom:6px!important}
.ncsm-shop-widget .children a{font-size:12.5px!important;min-height:36px!important;color:#657284!important}

.ncsm-filter-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 18px 14px;border-bottom:1px solid #edf1f4;background:#f8fafb}
.ncsm-filter-clear{font-size:10.5px;font-weight:700;color:var(--ncsm-primary)!important;text-decoration:none!important}
.ncsm-filter-options{display:grid;padding:8px 14px 12px}
.ncsm-filter-option{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;min-height:39px;padding:7px 4px!important;border-bottom:1px solid #eef2f5;color:#4f5d6d!important;text-decoration:none!important;font-size:13px!important;font-weight:600!important}
.ncsm-filter-option:last-child{border-bottom:0}
.ncsm-filter-option:hover{color:var(--ncsm-primary)!important}
.ncsm-filter-check{display:grid;place-items:center;width:18px;height:18px;flex:0 0 18px;border:1px solid #d5dde5;border-radius:5px;background:#fff;color:#fff;font-size:10px;font-weight:800}
.ncsm-filter-option.is-active{color:#172235!important;font-weight:750!important}
.ncsm-filter-option.is-active .ncsm-filter-check{background:var(--ncsm-primary);border-color:var(--ncsm-primary)}

.ncsm-price-filter-form{padding:14px 16px 16px}
.ncsm-price-inputs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:10px}
.ncsm-price-inputs label{display:grid;gap:5px;color:#7a8796;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.ncsm-price-field{height:39px;display:flex;align-items:center;border:1px solid #dfe5eb;border-radius:9px;background:#fff;overflow:hidden}
.ncsm-price-field b{padding-left:10px;color:#718092;font-size:12px;font-weight:650}
.ncsm-price-field input[type=number]{min-width:0!important;height:37px!important;min-height:37px!important;padding:0 8px!important;border:0!important;background:transparent!important;font-size:12px!important;font-weight:650!important;color:#172235!important;-moz-appearance:textfield}
.ncsm-price-field input::-webkit-inner-spin-button,.ncsm-price-field input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.ncsm-price-apply{width:100%;height:39px;border:0;border-radius:9px;background:#172235;color:#fff;font-size:12px;font-weight:720;cursor:pointer;transition:.18s ease}
.ncsm-price-apply:hover{background:var(--ncsm-primary)}

/* Classic Woo price/brand widgets, when they do return output, inherit the same panel language. */
.ncsm-shop-widget .price_slider_wrapper,
.ncsm-shop-widget .woocommerce-widget-layered-nav-list,
.ncsm-shop-widget .wc-block-price-filter,
.ncsm-shop-widget .wp-block-woocommerce-price-filter,
.ncsm-shop-widget .wc-block-components-price-slider{
  padding:14px 18px 18px!important;
}
.ncsm-shop-widget .price_slider{margin:8px 0 18px!important}
.ncsm-shop-widget .price_slider_amount{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:11px;color:#697687}
.ncsm-shop-widget .price_slider_amount .button{height:34px!important;padding:0 12px!important;border-radius:8px!important;background:#172235!important;color:#fff!important;font-size:11px!important;font-weight:700!important}

@media(max-width:1320px){.ncsm-shop-layout{grid-template-columns:235px minmax(0,1fr);gap:22px}}
@media(max-width:980px){
  .ncsm-shop-layout{display:block}
  .ncsm-shop-sidebar{gap:12px}
  .ncsm-shop-widget{border-radius:14px!important;box-shadow:none!important}
}


/* ==========================================================
   NC Auto Market 1.0.20 - active category row refinement
   ========================================================== */
.ncsm-shop-widget li.current-cat,
.ncsm-shop-widget li.current-cat-parent{
  border-bottom-color:#eef2f5!important;
}
.ncsm-shop-widget li.current-cat>a{
  justify-content:flex-start!important;
  gap:8px!important;
  min-height:38px!important;
  margin:5px 0!important;
  padding:9px 11px!important;
  border-radius:10px!important;
  background:#fff1f2!important;
  color:var(--ncsm-primary)!important;
  font-weight:750!important;
  text-align:left!important;
}
.ncsm-shop-widget li.current-cat>a:before{
  display:none!important;
  content:none!important;
}
.ncsm-shop-widget li.current-cat-parent>a{
  justify-content:flex-start!important;
  gap:8px!important;
  color:#2f3c4e!important;
  font-weight:700!important;
}
.ncsm-shop-widget li.current-cat-parent>a:before{
  display:none!important;
  content:none!important;
}
.ncsm-shop-widget .current-cat>a .count,
.ncsm-shop-widget .current-cat-parent>a .count{
  display:none!important;
}


/* ==========================================================
   NC Auto Market 1.0.21 - wider premium sidebar + category accordion
   ========================================================== */
@media(min-width:981px){
  .ncsm-shop-layout{grid-template-columns:300px minmax(0,1fr)!important;gap:32px!important}
}
.ncsm-shop-sidebar{gap:16px!important}
.ncsm-shop-widget{padding:0!important;border:1px solid #e3e8ee!important;border-radius:16px!important;overflow:hidden;background:#fff!important;box-shadow:0 10px 26px rgba(20,35,55,.035)!important}
.ncsm-shop-widget-title{margin:0!important;padding:17px 20px!important;background:#f6f8fa!important;border-bottom:1px solid #e5eaf0!important;font-size:16px!important;line-height:1.2!important;font-weight:720!important;letter-spacing:-.015em!important}
.ncsm-shop-widget>.product-categories,
.ncsm-shop-widget>.wp-block-woocommerce-product-categories,
.ncsm-shop-widget>.wc-block-product-categories{padding:8px 18px 12px!important}
.ncsm-shop-widget .product-categories li{position:relative!important;border-bottom:1px solid #edf1f4!important}
.ncsm-shop-widget .product-categories li:last-child{border-bottom:0!important}
.ncsm-shop-widget .product-categories li>a{
  min-height:46px!important;
  padding:11px 42px 11px 0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  color:#465568!important;
  font-size:14px!important;
  line-height:1.25!important;
  font-weight:600!important;
}
.ncsm-shop-widget .product-categories li>a:hover{color:var(--ncsm-primary)!important}
.ncsm-shop-widget .product-categories li.current-cat>a{
  margin:5px 0!important;
  min-height:40px!important;
  padding:9px 38px 9px 11px!important;
  border-radius:10px!important;
  background:#fff0f1!important;
  color:var(--ncsm-primary)!important;
  font-weight:750!important;
}
.ncsm-shop-widget .product-categories li.current-cat-parent>a{color:#263447!important;font-weight:700!important}
.ncsm-shop-widget .product-categories ul.children{
  margin:0 0 5px!important;
  padding:2px 0 5px 14px!important;
  border-left:1px solid #e8edf2!important;
}
.ncsm-shop-widget .product-categories ul.children[hidden]{display:none!important}
.ncsm-shop-widget .product-categories ul.children li>a{
  min-height:38px!important;
  padding:8px 36px 8px 10px!important;
  font-size:13px!important;
  font-weight:560!important;
  color:#657286!important;
}
.ncsm-shop-widget .product-categories ul.children li.current-cat>a{font-size:13px!important}
.ncsm-cat-toggle{
  position:absolute!important;
  top:8px!important;
  right:2px!important;
  width:30px!important;
  height:30px!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid #dfe6ed!important;
  border-radius:8px!important;
  background:#f8fafb!important;
  color:#627083!important;
  cursor:pointer!important;
  z-index:2!important;
  transition:.18s ease!important;
}
.ncsm-cat-toggle:hover{border-color:#d2dce6!important;background:#fff!important;color:var(--ncsm-primary)!important}
.ncsm-cat-toggle span{display:block!important;font-size:17px!important;line-height:1!important;transform:rotate(-90deg);transition:transform .18s ease!important}
.ncsm-cat-accordion-item.is-open>.ncsm-cat-toggle span{transform:rotate(0deg)!important}
.ncsm-cat-accordion-item.is-open>.ncsm-cat-toggle{color:var(--ncsm-primary)!important;background:#fff5f5!important;border-color:#f0cdd0!important}
@media(max-width:980px){
  .ncsm-shop-sidebar{width:min(88vw,360px)!important;padding:18px!important}
  .ncsm-shop-widget .product-categories li>a{font-size:14px!important}
}


/* ==========================================================
   NC Auto Market 1.0.22 - mobile category widget auto height
   ========================================================== */
@media(max-width:980px){
  .ncsm-shop-sidebar{
    align-content:start!important;
    grid-auto-rows:max-content!important;
  }
  .ncsm-shop-sidebar .ncsm-shop-widget.widget_product_categories,
  .ncsm-shop-sidebar .ncsm-shop-widget:has(.product-categories){
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
    contain:none!important;
  }
  .ncsm-shop-sidebar .ncsm-shop-widget.widget_product_categories>.product-categories,
  .ncsm-shop-sidebar .ncsm-shop-widget:has(.product-categories)>.product-categories{
    display:block!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
    padding-bottom:14px!important;
  }
  .ncsm-shop-sidebar .product-categories li,
  .ncsm-shop-sidebar .product-categories ul.children,
  .ncsm-shop-sidebar .product-categories li.ncsm-cat-accordion-item{
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
  }
  .ncsm-shop-sidebar .product-categories ul.children:not([hidden]){
    display:block!important;
  }
  .ncsm-shop-sidebar .ncsm-shop-widget:has(.product-categories) .ncsm-shop-widget-title{
    border-radius:16px 16px 0 0!important;
  }
  .ncsm-shop-sidebar .ncsm-shop-widget:has(.product-categories)>.product-categories{
    border-radius:0 0 16px 16px!important;
    background:#fff!important;
  }
}


/* ==========================================================
   NC Auto Market 1.0.24 - align category accordion control
   ========================================================== */
.ncsm-shop-widget .product-categories > li.ncsm-cat-accordion-item > .ncsm-cat-toggle{
  top:23px!important;
  right:2px!important;
  transform:translateY(-50%)!important;
}
.ncsm-shop-widget .product-categories ul.children > li.ncsm-cat-accordion-item > .ncsm-cat-toggle{
  top:19px!important;
  right:2px!important;
  transform:translateY(-50%)!important;
}
@media(max-width:980px){
  .ncsm-shop-widget .product-categories > li.ncsm-cat-accordion-item > .ncsm-cat-toggle{
    top:23px!important;
    right:2px!important;
  }
  .ncsm-shop-widget .product-categories ul.children > li.ncsm-cat-accordion-item > .ncsm-cat-toggle{
    top:19px!important;
    right:2px!important;
  }
}


/* ==========================================================
   NC Auto Market 1.0.25 - product card footer/category refinement
   ========================================================== */
.ncsm-catalog-body{padding:11px 5px 7px;}
.ncsm-catalog-meta{margin-bottom:2px;}
.ncsm-catalog-meta span,.ncsm-catalog-meta em{font-size:10px;}
.ncsm-shop-archive ul.products li.product .ncsm-catalog-title{margin:7px 0 6px!important;}
.ncsm-catalog-category{
  margin:0 0 13px!important;
  color:#697386;
  font-size:12.5px;
  line-height:1.45;
  font-weight:500;
}
.ncsm-catalog-footer{
  background:#f4f7fb;
  border:1px solid #e6edf5;
  border-radius:10px;
  padding:12px 12px;
  border-top:0;
  margin-top:auto;
}
.ncsm-catalog-price{color:#0f172a;font-size:17px;font-weight:750;line-height:1.1;}
.ncsm-catalog-price .amount{font-weight:750;}
.ncsm-catalog-actions a,
.ncsm-catalog-actions .ncsm-product-more{
  font-size:14px!important;
  font-weight:700;
  color:#c1121f!important;
}
.ncsm-shop-shell.is-list .ncsm-catalog-category{font-size:13px;margin-bottom:16px!important;}
.ncsm-shop-shell.is-list .ncsm-catalog-footer{padding:13px 14px;}
.ncsm-shop-shell.is-list .ncsm-catalog-price{font-size:18px;}
.ncsm-shop-shell.is-list .ncsm-catalog-actions a{font-size:14px!important;}
@media(max-width:760px){
  .ncsm-catalog-category{font-size:12px;margin-bottom:11px!important;}
  .ncsm-catalog-footer{padding:11px 11px;}
  .ncsm-catalog-price{font-size:16px;}
  .ncsm-catalog-actions a,.ncsm-catalog-actions .ncsm-product-more{font-size:13.5px!important;}
}
@media(max-width:520px){
  .ncsm-catalog-footer{padding:10px 11px;}
  .ncsm-catalog-price{font-size:15.5px;}
  .ncsm-catalog-actions a,.ncsm-catalog-actions .ncsm-product-more{font-size:13px!important;}
}


/* NC Auto Market 1.0.26 - archive card reuse inside NC Auto Store shortcodes */
.ncss-archive-card-section .ncsm-shop-archive ul.products li.product.ncsm-catalog-card{height:100%}
.ncss-archive-card-section .ncsm-shop-archive .ncsm-catalog-products ul.products{margin:0!important}
.ncss-archive-card-section .ncsm-catalog-footer{background:#f4f7fb}

/* ==========================================================
   NC Auto Market 1.0.27 - single product CTA / qty / tabs
   ========================================================== */

/* When WooCommerce does not allow quantity changes (max = 1),
   remove the quantity wrapper completely instead of leaving an empty slot. */
.single-product.ncas-auto-product .ncas-cart-wrap .quantity:has(input[type="hidden"]),
.single-product.ncas-auto-product .ncas-cart-wrap .quantity.hidden,
.single-product.ncas-auto-product .ncas-cart-wrap .quantity[style*="display: none"]{
  display:none!important;
  width:0!important;
  min-width:0!important;
  max-width:0!important;
  margin:0!important;
}

/* Main purchase CTA: always the primary red action. */
.single-product.ncas-auto-product .ncas-cart-wrap .single_add_to_cart_button,
.single-product.ncas-auto-product .ncss-purchase-box .single_add_to_cart_button{
  background:#c1121f!important;
  border:1px solid #c1121f!important;
  color:#fff!important;
  box-shadow:none!important;
  font-weight:700!important;
}
.single-product.ncas-auto-product .ncas-cart-wrap .single_add_to_cart_button:hover,
.single-product.ncas-auto-product .ncss-purchase-box .single_add_to_cart_button:hover{
  background:#a90f18!important;
  border-color:#a90f18!important;
  color:#fff!important;
}

/* Product WhatsApp / info CTA: secondary outline action. */
.single-product.ncas-auto-product .ncss-purchase-box a[href*="wa.me"],
.single-product.ncas-auto-product .ncss-purchase-box a[href*="whatsapp"],
.single-product.ncas-auto-product .ncss-purchase-box a[href*="api.whatsapp.com"],
.single-product.ncas-auto-product .ncss-purchase-box .whatsapp,
.single-product.ncas-auto-product .ncss-purchase-box .whatsapp-button,
.single-product.ncas-auto-product .ncss-purchase-box .ncas-whatsapp,
.single-product.ncas-auto-product .ncss-purchase-box .ncas-info-button{
  background:transparent!important;
  border:1.5px solid #25d366!important;
  color:#168f45!important;
  box-shadow:none!important;
  border-radius:8px!important;
  min-height:44px!important;
  padding:0 18px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  font-weight:700!important;
  text-decoration:none!important;
}
.single-product.ncas-auto-product .ncss-purchase-box a[href*="wa.me"]:hover,
.single-product.ncas-auto-product .ncss-purchase-box a[href*="whatsapp"]:hover,
.single-product.ncas-auto-product .ncss-purchase-box a[href*="api.whatsapp.com"]:hover,
.single-product.ncas-auto-product .ncss-purchase-box .whatsapp:hover,
.single-product.ncas-auto-product .ncss-purchase-box .whatsapp-button:hover,
.single-product.ncas-auto-product .ncss-purchase-box .ncas-whatsapp:hover,
.single-product.ncas-auto-product .ncss-purchase-box .ncas-info-button:hover{
  background:#eefcf3!important;
  border-color:#20bd5a!important;
  color:#117b3a!important;
}

/* Larger, clearer WooCommerce information tabs. */
.single-product .ncsm-single-product-shell .woocommerce-tabs ul.tabs li a{
  min-height:40px!important;
  padding:0 16px!important;
  font-size:13.5px!important;
  line-height:1.15!important;
  font-weight:700!important;
}

@media (max-width:560px){
  /* Quantity + Buy stay aligned only when quantity really exists. */
  .single-product.ncas-auto-product .ncas-cart-wrap form.cart:not(.variations_form),
  .single-product.ncas-auto-product .ncas-cart-wrap .woocommerce-variation-add-to-cart{
    display:grid!important;
    grid-template-columns:64px minmax(0,1fr)!important;
    gap:8px!important;
    align-items:stretch!important;
    width:100%!important;
  }

  .single-product.ncas-auto-product .ncas-cart-wrap form.cart:not(.variations_form):not(:has(.quantity:not(:has(input[type="hidden"])))),
  .single-product.ncas-auto-product .ncas-cart-wrap .woocommerce-variation-add-to-cart:not(:has(.quantity:not(:has(input[type="hidden"])))){
    grid-template-columns:1fr!important;
  }

  .single-product.ncas-auto-product .ncas-cart-wrap form.cart:not(.variations_form) .quantity,
  .single-product.ncas-auto-product .ncas-cart-wrap .woocommerce-variation-add-to-cart .quantity,
  .single-product.ncas-auto-product .ncas-cart-wrap .quantity .qty{
    width:64px!important;
    min-width:64px!important;
    max-width:64px!important;
  }

  .single-product.ncas-auto-product .ncas-cart-wrap .quantity .qty{
    height:46px!important;
    min-height:46px!important;
  }

  .single-product.ncas-auto-product .ncas-cart-wrap .single_add_to_cart_button,
  .single-product.ncas-auto-product .ncss-purchase-box .single_add_to_cart_button{
    width:100%!important;
    min-width:0!important;
    min-height:46px!important;
    height:46px!important;
    padding:0 14px!important;
    font-size:13px!important;
    line-height:1!important;
  }

  /* WhatsApp is deliberately secondary and goes on its own row. */
  .single-product.ncas-auto-product .ncss-purchase-box a[href*="wa.me"],
  .single-product.ncas-auto-product .ncss-purchase-box a[href*="whatsapp"],
  .single-product.ncas-auto-product .ncss-purchase-box a[href*="api.whatsapp.com"],
  .single-product.ncas-auto-product .ncss-purchase-box .whatsapp,
  .single-product.ncas-auto-product .ncss-purchase-box .whatsapp-button,
  .single-product.ncas-auto-product .ncss-purchase-box .ncas-whatsapp,
  .single-product.ncas-auto-product .ncss-purchase-box .ncas-info-button{
    width:100%!important;
    min-height:39px!important;
    height:39px!important;
    margin-top:8px!important;
    padding:0 12px!important;
    font-size:11.5px!important;
  }

  .single-product .ncsm-single-product-shell .woocommerce-tabs ul.tabs{
    display:flex!important;
    width:100%!important;
    overflow-x:auto!important;
    gap:4px!important;
    padding:4px!important;
  }
  .single-product .ncsm-single-product-shell .woocommerce-tabs ul.tabs li{
    flex:0 0 auto!important;
  }
  .single-product .ncsm-single-product-shell .woocommerce-tabs ul.tabs li a{
    min-height:38px!important;
    padding:0 13px!important;
    font-size:12.5px!important;
  }
}


/* ==========================================================
   NC Auto Market 1.0.28 - WhatsApp CTA hardening
   ========================================================== */

/* The info CTA may be rendered by external Woo extensions as an anchor
   containing a nested button/span. Normalize both the wrapper and every
   interactive child so no inherited red purchase styling survives. */
.single-product.ncas-auto-product .ncss-purchase-box a[href*="wa.me"],
.single-product.ncas-auto-product .ncss-purchase-box a[href*="whatsapp"],
.single-product.ncas-auto-product .ncss-purchase-box a[href*="api.whatsapp.com"],
.single-product.ncas-auto-product .ncss-purchase-box .whatsapp,
.single-product.ncas-auto-product .ncss-purchase-box .whatsapp-button,
.single-product.ncas-auto-product .ncss-purchase-box .ncas-whatsapp,
.single-product.ncas-auto-product .ncss-purchase-box .ncas-info-button{
  background:transparent!important;
  background-image:none!important;
  border:1.5px solid #25d366!important;
  color:#111827!important;
  box-shadow:none!important;
  text-shadow:none!important;
  border-radius:8px!important;
  min-height:44px!important;
  padding:0 18px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  font-weight:700!important;
  text-decoration:none!important;
  overflow:visible!important;
}

.single-product.ncas-auto-product .ncss-purchase-box a[href*="wa.me"] > *,
.single-product.ncas-auto-product .ncss-purchase-box a[href*="whatsapp"] > *,
.single-product.ncas-auto-product .ncss-purchase-box a[href*="api.whatsapp.com"] > *,
.single-product.ncas-auto-product .ncss-purchase-box .whatsapp > *,
.single-product.ncas-auto-product .ncss-purchase-box .whatsapp-button > *,
.single-product.ncas-auto-product .ncss-purchase-box .ncas-whatsapp > *,
.single-product.ncas-auto-product .ncss-purchase-box .ncas-info-button > *,
.single-product.ncas-auto-product .ncss-purchase-box a[href*="wa.me"] button,
.single-product.ncas-auto-product .ncss-purchase-box a[href*="whatsapp"] button,
.single-product.ncas-auto-product .ncss-purchase-box a[href*="api.whatsapp.com"] button{
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  color:#111827!important;
  box-shadow:none!important;
  text-shadow:none!important;
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  width:auto!important;
  max-width:none!important;
  font:inherit!important;
  line-height:1!important;
}

.single-product.ncas-auto-product .ncss-purchase-box a[href*="wa.me"] svg,
.single-product.ncas-auto-product .ncss-purchase-box a[href*="whatsapp"] svg,
.single-product.ncas-auto-product .ncss-purchase-box a[href*="api.whatsapp.com"] svg,
.single-product.ncas-auto-product .ncss-purchase-box .whatsapp svg,
.single-product.ncas-auto-product .ncss-purchase-box .whatsapp-button svg,
.single-product.ncas-auto-product .ncss-purchase-box .ncas-whatsapp svg,
.single-product.ncas-auto-product .ncss-purchase-box .ncas-info-button svg{
  color:#25d366!important;
  fill:currentColor!important;
}

.single-product.ncas-auto-product .ncss-purchase-box a[href*="wa.me"]:hover,
.single-product.ncas-auto-product .ncss-purchase-box a[href*="whatsapp"]:hover,
.single-product.ncas-auto-product .ncss-purchase-box a[href*="api.whatsapp.com"]:hover,
.single-product.ncas-auto-product .ncss-purchase-box .whatsapp:hover,
.single-product.ncas-auto-product .ncss-purchase-box .whatsapp-button:hover,
.single-product.ncas-auto-product .ncss-purchase-box .ncas-whatsapp:hover,
.single-product.ncas-auto-product .ncss-purchase-box .ncas-info-button:hover{
  background:#f2fff7!important;
  border-color:#20bd5a!important;
  color:#111827!important;
}

@media (max-width:560px){
  /* Keep the purchasing action dominant. */
  .single-product.ncas-auto-product .ncas-cart-wrap,
  .single-product.ncas-auto-product .ncas-purchase-box{
    min-width:0!important;
  }

  .single-product.ncas-auto-product .ncas-cart-wrap .single_add_to_cart_button,
  .single-product.ncas-auto-product .ncss-purchase-box .single_add_to_cart_button{
    width:100%!important;
    min-height:46px!important;
    height:46px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }

  .single-product.ncas-auto-product .ncss-purchase-box a[href*="wa.me"],
  .single-product.ncas-auto-product .ncss-purchase-box a[href*="whatsapp"],
  .single-product.ncas-auto-product .ncss-purchase-box a[href*="api.whatsapp.com"],
  .single-product.ncas-auto-product .ncss-purchase-box .whatsapp,
  .single-product.ncas-auto-product .ncss-purchase-box .whatsapp-button,
  .single-product.ncas-auto-product .ncss-purchase-box .ncas-whatsapp,
  .single-product.ncas-auto-product .ncss-purchase-box .ncas-info-button{
    display:flex!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    min-height:40px!important;
    height:40px!important;
    margin:8px 0 0!important;
    padding:0 12px!important;
    flex:0 0 100%!important;
    clear:both!important;
    white-space:nowrap!important;
    font-size:11.5px!important;
  }

  .single-product.ncas-auto-product .ncss-purchase-box a[href*="wa.me"] > *,
  .single-product.ncas-auto-product .ncss-purchase-box a[href*="whatsapp"] > *,
  .single-product.ncas-auto-product .ncss-purchase-box a[href*="api.whatsapp.com"] > *,
  .single-product.ncas-auto-product .ncss-purchase-box .whatsapp > *,
  .single-product.ncas-auto-product .ncss-purchase-box .whatsapp-button > *,
  .single-product.ncas-auto-product .ncss-purchase-box .ncas-whatsapp > *,
  .single-product.ncas-auto-product .ncss-purchase-box .ncas-info-button > *{
    max-width:100%!important;
  }
}

/* ==========================================================
   NC Auto Market 1.0.29 - definitive product secondary CTA layout
   ========================================================== */

/* Any secondary CTA injected in the product cart must never inherit
   WooCommerce/themed red primary button styles. */
.single-product.ncas-auto-product .ncas-cart-wrap form.cart .button:not(.single_add_to_cart_button),
.single-product.ncas-auto-product .ncas-cart-wrap form.cart a.button:not(.single_add_to_cart_button),
.single-product.ncas-auto-product .ncas-cart-wrap form.cart a[href*="wa.me"],
.single-product.ncas-auto-product .ncas-cart-wrap form.cart a[href*="whatsapp"],
.single-product.ncas-auto-product .ncas-cart-wrap form.cart a[href*="api.whatsapp.com"]{
  background:transparent!important;
  background-image:none!important;
  border:1.5px solid #25d366!important;
  color:#111827!important;
  box-shadow:none!important;
  text-shadow:none!important;
  border-radius:8px!important;
  min-height:44px!important;
  padding:0 18px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  font-weight:700!important;
  text-decoration:none!important;
}

.single-product.ncas-auto-product .ncas-cart-wrap form.cart .button:not(.single_add_to_cart_button) *,
.single-product.ncas-auto-product .ncas-cart-wrap form.cart a.button:not(.single_add_to_cart_button) *,
.single-product.ncas-auto-product .ncas-cart-wrap form.cart a[href*="wa.me"] *,
.single-product.ncas-auto-product .ncas-cart-wrap form.cart a[href*="whatsapp"] *,
.single-product.ncas-auto-product .ncas-cart-wrap form.cart a[href*="api.whatsapp.com"] *{
  color:#111827!important;
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
  text-shadow:none!important;
}

.single-product.ncas-auto-product .ncas-cart-wrap form.cart .button:not(.single_add_to_cart_button):hover,
.single-product.ncas-auto-product .ncas-cart-wrap form.cart a.button:not(.single_add_to_cart_button):hover,
.single-product.ncas-auto-product .ncas-cart-wrap form.cart a[href*="wa.me"]:hover,
.single-product.ncas-auto-product .ncas-cart-wrap form.cart a[href*="whatsapp"]:hover,
.single-product.ncas-auto-product .ncas-cart-wrap form.cart a[href*="api.whatsapp.com"]:hover{
  background:#effcf4!important;
  border-color:#20bd5a!important;
  color:#111827!important;
}

@media (max-width:560px){
  /* Stable 2-column purchase row when a real quantity field exists. */
  .single-product.ncas-auto-product .ncas-cart-wrap form.cart:not(.variations_form),
  .single-product.ncas-auto-product .ncas-cart-wrap .woocommerce-variation-add-to-cart{
    display:grid!important;
    grid-template-columns:64px minmax(0,1fr)!important;
    gap:8px!important;
    align-items:stretch!important;
    width:100%!important;
  }

  /* No usable quantity: remove the empty first column entirely. */
  .single-product.ncas-auto-product .ncas-cart-wrap form.cart:not(.variations_form):not(:has(.quantity input.qty:not([type="hidden"]))),
  .single-product.ncas-auto-product .ncas-cart-wrap .woocommerce-variation-add-to-cart:not(:has(.quantity input.qty:not([type="hidden"]))){
    grid-template-columns:1fr!important;
  }

  .single-product.ncas-auto-product .ncas-cart-wrap form.cart:not(.variations_form) .quantity,
  .single-product.ncas-auto-product .ncas-cart-wrap .woocommerce-variation-add-to-cart .quantity{
    grid-column:1!important;
    grid-row:1!important;
    width:64px!important;
    min-width:64px!important;
    max-width:64px!important;
    margin:0!important;
  }

  .single-product.ncas-auto-product .ncas-cart-wrap form.cart:not(.variations_form) .single_add_to_cart_button,
  .single-product.ncas-auto-product .ncas-cart-wrap .woocommerce-variation-add-to-cart .single_add_to_cart_button{
    grid-column:2!important;
    grid-row:1!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:46px!important;
    min-height:46px!important;
    margin:0!important;
    background:#c1121f!important;
    border-color:#c1121f!important;
    color:#fff!important;
    font-size:13px!important;
    font-weight:700!important;
  }

  .single-product.ncas-auto-product .ncas-cart-wrap form.cart:not(.variations_form):not(:has(.quantity input.qty:not([type="hidden"]))) .single_add_to_cart_button,
  .single-product.ncas-auto-product .ncas-cart-wrap .woocommerce-variation-add-to-cart:not(:has(.quantity input.qty:not([type="hidden"]))) .single_add_to_cart_button{
    grid-column:1!important;
  }

  /* Every secondary CTA spans the full row below the buy button. */
  .single-product.ncas-auto-product .ncas-cart-wrap form.cart .button:not(.single_add_to_cart_button),
  .single-product.ncas-auto-product .ncas-cart-wrap form.cart a.button:not(.single_add_to_cart_button),
  .single-product.ncas-auto-product .ncas-cart-wrap form.cart a[href*="wa.me"],
  .single-product.ncas-auto-product .ncas-cart-wrap form.cart a[href*="whatsapp"],
  .single-product.ncas-auto-product .ncas-cart-wrap form.cart a[href*="api.whatsapp.com"]{
    grid-column:1 / -1!important;
    grid-row:auto!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    min-height:40px!important;
    height:40px!important;
    margin:0!important;
    padding:0 12px!important;
    font-size:11.5px!important;
    white-space:nowrap!important;
  }
}


/* ==========================================================
   NC Auto Market 1.0.34 - WhatsApp prodotto nativo
   ========================================================== */

/* Nasconde i CTA WhatsApp di plugin esterni dentro il form prodotto.
   Il pulsante nativo NC Auto Market resta visibile. */
.single-product form.cart a[href*="wa.me"]:not(.ncsm-product-whatsapp),
.single-product form.cart a[href*="api.whatsapp.com"]:not(.ncsm-product-whatsapp),
.single-product form.cart a[href*="whatsapp.com"]:not(.ncsm-product-whatsapp){
  display:none!important;
}

.single-product .ncsm-product-whatsapp{
  appearance:none!important;
  -webkit-appearance:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  min-height:44px!important;
  height:44px!important;
  padding:0 18px!important;
  margin:0!important;
  border:1.5px solid #25d366!important;
  border-radius:8px!important;
  background:#fff!important;
  background-color:#fff!important;
  background-image:none!important;
  color:#111827!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:700!important;
  text-decoration:none!important;
  text-shadow:none!important;
  box-shadow:none!important;
  box-sizing:border-box!important;
  white-space:nowrap!important;
  opacity:1!important;
}

.single-product .ncsm-product-whatsapp span{
  color:#111827!important;
  background:transparent!important;
}

.single-product .ncsm-product-whatsapp svg{
  width:17px!important;
  height:17px!important;
  flex:0 0 17px!important;
  color:#25d366!important;
  fill:currentColor!important;
}

.single-product .ncsm-product-whatsapp:hover,
.single-product .ncsm-product-whatsapp:focus{
  background:#effcf4!important;
  border-color:#20bd5a!important;
  color:#111827!important;
}

@media (min-width:561px){
  .single-product .ncas-cart-wrap form.cart:not(.variations_form),
  .single-product .ncss-purchase-box form.cart:not(.variations_form){
    display:flex!important;
    align-items:center!important;
    flex-wrap:wrap!important;
    gap:10px!important;
  }

  .single-product .ncas-cart-wrap form.cart:not(.variations_form) .single_add_to_cart_button,
  .single-product .ncss-purchase-box form.cart:not(.variations_form) .single_add_to_cart_button{
    flex:0 0 170px!important;
    width:170px!important;
    min-width:170px!important;
    max-width:170px!important;
    margin:0!important;
  }

  .single-product .ncsm-product-whatsapp{
    flex:0 0 200px!important;
    width:200px!important;
    min-width:200px!important;
    max-width:200px!important;
  }
}

@media (max-width:560px){
  .single-product .ncas-cart-wrap form.cart:not(.variations_form),
  .single-product .ncas-cart-wrap .woocommerce-variation-add-to-cart,
  .single-product .ncss-purchase-box form.cart:not(.variations_form){
    display:grid!important;
    grid-template-columns:64px minmax(0,1fr)!important;
    gap:8px!important;
    align-items:stretch!important;
    width:100%!important;
  }

  .single-product .ncas-cart-wrap form.cart:not(.variations_form):not(:has(.quantity input.qty:not([type="hidden"]))),
  .single-product .ncas-cart-wrap .woocommerce-variation-add-to-cart:not(:has(.quantity input.qty:not([type="hidden"]))),
  .single-product .ncss-purchase-box form.cart:not(.variations_form):not(:has(.quantity input.qty:not([type="hidden"]))){
    grid-template-columns:1fr!important;
  }

  .single-product .ncas-cart-wrap form.cart:not(.variations_form) .quantity,
  .single-product .ncas-cart-wrap .woocommerce-variation-add-to-cart .quantity,
  .single-product .ncss-purchase-box form.cart:not(.variations_form) .quantity{
    grid-column:1!important;
    grid-row:1!important;
    width:64px!important;
    min-width:64px!important;
    max-width:64px!important;
    margin:0!important;
  }

  .single-product .ncas-cart-wrap form.cart:not(.variations_form) .single_add_to_cart_button,
  .single-product .ncas-cart-wrap .woocommerce-variation-add-to-cart .single_add_to_cart_button,
  .single-product .ncss-purchase-box form.cart:not(.variations_form) .single_add_to_cart_button{
    grid-column:2!important;
    grid-row:1!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:46px!important;
    min-height:46px!important;
    margin:0!important;
    background:#c1121f!important;
    border-color:#c1121f!important;
    color:#fff!important;
    font-size:13px!important;
    font-weight:700!important;
  }

  .single-product .ncas-cart-wrap form.cart:not(.variations_form):not(:has(.quantity input.qty:not([type="hidden"]))) .single_add_to_cart_button,
  .single-product .ncas-cart-wrap .woocommerce-variation-add-to-cart:not(:has(.quantity input.qty:not([type="hidden"]))) .single_add_to_cart_button,
  .single-product .ncss-purchase-box form.cart:not(.variations_form):not(:has(.quantity input.qty:not([type="hidden"]))) .single_add_to_cart_button{
    grid-column:1!important;
  }

  .single-product .ncsm-product-whatsapp{
    grid-column:1 / -1!important;
    grid-row:auto!important;
    width:100%!important;
    min-width:100%!important;
    max-width:100%!important;
    height:40px!important;
    min-height:40px!important;
    padding:0 12px!important;
    margin:0!important;
    font-size:11.5px!important;
  }
}


/* ==========================================================
   NC Auto Market 1.0.35 - CTA prodotto + prezzi in offerta
   ========================================================== */

/* CTA prodotto: testo piu leggibile su desktop e mobile. */
.single-product .ncas-cart-wrap .single_add_to_cart_button,
.single-product .ncss-purchase-box .single_add_to_cart_button,
.single-product .ncsm-product-whatsapp{
  font-size:14px!important;
  font-weight:750!important;
}

.single-product .ncsm-product-whatsapp span{
  font-size:inherit!important;
  font-weight:inherit!important;
}

@media (max-width:560px){
  .single-product .ncas-cart-wrap .single_add_to_cart_button,
  .single-product .ncss-purchase-box .single_add_to_cart_button{
    font-size:13.5px!important;
  }
  .single-product .ncsm-product-whatsapp{
    font-size:13px!important;
  }
}

/* Prezzo scontato WooCommerce: il prezzo corrente in <ins> usa il rosso del tema. */
.woocommerce .price ins,
.woocommerce-page .price ins,
.woocommerce .ncsm-catalog-price ins,
.woocommerce-page .ncsm-catalog-price ins,
.single-product .summary .price ins,
.single-product .ncas-cart-wrap .price ins,
.single-product .ncss-purchase-box .price ins,
.wc-block-components-product-price ins,
.wc-block-grid__product-price ins{
  color:#c1121f!important;
  text-decoration:none!important;
}

.woocommerce .price ins .amount,
.woocommerce-page .price ins .amount,
.woocommerce .ncsm-catalog-price ins .amount,
.woocommerce-page .ncsm-catalog-price ins .amount,
.single-product .summary .price ins .amount,
.single-product .ncas-cart-wrap .price ins .amount,
.single-product .ncss-purchase-box .price ins .amount,
.wc-block-components-product-price ins .amount,
.wc-block-grid__product-price ins .amount{
  color:#c1121f!important;
}


/* ==========================================================
   NC Auto Market 1.0.36 - CTA reale NC Auto Store + sale price
   ========================================================== */
/* NC Auto Store imposta 12px !important sul bottone con un selettore piu specifico.
   Qui colpiamo esattamente lo stesso elemento. */
.single-product.ncas-auto-product .ncas-cart-wrap form.cart .single_add_to_cart_button,
.single-product.ncas-auto-product .ncas-cart-wrap .woocommerce-variation-add-to-cart .single_add_to_cart_button{
  font-size:15px!important;
  font-weight:750!important;
  letter-spacing:0!important;
}
.single-product.ncas-auto-product .ncsm-product-whatsapp,
.single-product.ncas-auto-product .ncsm-product-whatsapp span{
  font-size:15px!important;
  font-weight:750!important;
}

/* Il prezzo della purchase box NC Auto Store usa .ncss-plan-price, non .price. */
.single-product.ncas-auto-product .ncss-plan-price ins,
.single-product.ncas-auto-product .ncss-plan-price ins *,
.single-product.ncas-auto-product .ncss-plan-price del + ins,
.single-product.ncas-auto-product .ncss-plan-price del ~ ins{
  color:#c1121f!important;
  -webkit-text-fill-color:#c1121f!important;
  text-decoration:none!important;
}
.single-product.ncas-auto-product .ncss-plan-price del,
.single-product.ncas-auto-product .ncss-plan-price del *{
  color:#172033!important;
  -webkit-text-fill-color:#172033!important;
  opacity:.66!important;
}

/* Archivi/card: prezzo scontato rosso anche quando il markup viene annidato. */
.woocommerce ul.products li.product .price ins,
.woocommerce ul.products li.product .price ins *,
.ncsm-catalog-price ins,
.ncsm-catalog-price ins *{
  color:#c1121f!important;
  -webkit-text-fill-color:#c1121f!important;
}

@media(max-width:560px){
  .single-product.ncas-auto-product .ncas-cart-wrap form.cart .single_add_to_cart_button,
  .single-product.ncas-auto-product .ncas-cart-wrap .woocommerce-variation-add-to-cart .single_add_to_cart_button{
    font-size:14px!important;
  }
  .single-product.ncas-auto-product .ncsm-product-whatsapp,
  .single-product.ncas-auto-product .ncsm-product-whatsapp span{
    font-size:14px!important;
  }
}

/* ==========================================================
   NC Auto Market 1.0.47 - My Account login / register layout
   ========================================================== */
body.woocommerce-account:not(.logged-in) .ncsm-account-layout{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
body.woocommerce-account:not(.logged-in) .ncsm-account-layout > .woocommerce,
body.woocommerce-account:not(.logged-in) .ncsm-woo-system-page .woocommerce{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
body.woocommerce-account:not(.logged-in) #customer_login{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:28px!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
body.woocommerce-account:not(.logged-in) #customer_login .u-column1,
body.woocommerce-account:not(.logged-in) #customer_login .u-column2{
  float:none!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}
body.woocommerce-account:not(.logged-in) #customer_login h2{
  margin:0 0 14px!important;
  color:#101828!important;
  font-size:22px!important;
  line-height:1.15!important;
  font-weight:700!important;
  letter-spacing:-.02em!important;
}
body.woocommerce-account:not(.logged-in) #customer_login form.login,
body.woocommerce-account:not(.logged-in) #customer_login form.register{
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:26px!important;
  border:1px solid var(--ncsm-border)!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 10px 32px rgba(15,23,42,.035)!important;
}
body.woocommerce-account:not(.logged-in) #customer_login .form-row{
  width:100%!important;
  float:none!important;
  margin:0 0 16px!important;
  padding:0!important;
}
body.woocommerce-account:not(.logged-in) #customer_login .form-row input.input-text{
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-login__submit,
body.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-register__submit{
  min-height:44px!important;
  padding:0 20px!important;
  font-size:14px!important;
}
@media(max-width:760px){
  body.woocommerce-account:not(.logged-in) #customer_login{
    grid-template-columns:1fr!important;
    gap:22px!important;
  }
  body.woocommerce-account:not(.logged-in) #customer_login form.login,
  body.woocommerce-account:not(.logged-in) #customer_login form.register{
    padding:20px!important;
  }
}


/* ==========================================================
   NC Auto Market 1.0.48 - Align login/register columns
   ========================================================== */
@media (min-width:761px){
  body.woocommerce-account:not(.logged-in) #customer_login{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    grid-template-rows:auto!important;
    align-items:start!important;
    column-gap:28px!important;
    row-gap:0!important;
  }
  body.woocommerce-account:not(.logged-in) #customer_login > .u-column1,
  body.woocommerce-account:not(.logged-in) #customer_login > .col-1{
    grid-column:1!important;
    grid-row:1!important;
    align-self:start!important;
    clear:none!important;
  }
  body.woocommerce-account:not(.logged-in) #customer_login > .u-column2,
  body.woocommerce-account:not(.logged-in) #customer_login > .col-2{
    grid-column:2!important;
    grid-row:1!important;
    align-self:start!important;
    clear:none!important;
  }
}

/* NC Auto Market 1.0.50 — percorso prodotto, desktop e mobile */
.single-product .ncsm-single-product-shell .ncsm-single-breadcrumb {
  display:block; width:100%; max-width:100%; margin:0 0 21px;
  color:#687487; font-size:12px; line-height:1.5;
}
.single-product .ncsm-single-breadcrumb-inner {
  display:flex; align-items:center; flex-wrap:wrap; column-gap:9px; row-gap:5px;
  min-width:0; padding:0; margin:0;
}
.single-product .ncsm-single-breadcrumb a {color:#687487!important; text-decoration:none!important; transition:color .2s ease}
.single-product .ncsm-single-breadcrumb a:hover {color:#c1121f!important}
.single-product .ncsm-single-breadcrumb .ncsm-crumb-separator {color:#a9b2c0; font-size:17px; line-height:1}
.single-product .ncsm-single-breadcrumb .ncsm-crumb-current:last-child {color:#182338; font-weight:650}
@media(max-width:767px) {
  .single-product .ncsm-single-product-shell .ncsm-single-breadcrumb {font-size:11.5px; margin-bottom:13px}
  .single-product .ncsm-single-breadcrumb-inner {column-gap:6px; row-gap:4px}
  .single-product .ncsm-single-breadcrumb .ncsm-crumb-separator {font-size:15px}
}
