/* ==========================================================================
   compraci.it Tech — child theme di Classic (PrestaShop 8.2)
   Carica dopo theme.css (priority 1000). Stile tech chiaro (sfondo bianco).
   ========================================================================== */

:root{
  --cx-bg:#FFFFFF;--cx-bg2:#F6F8FC;--cx-card:#FFFFFF;--cx-card2:#F1F4FA;--cx-line:#E6EAF2;--cx-line2:#D6DDE9;
  --cx-fg:#0B1020;--cx-mute:#5B6478;--cx-dim:#8A93A8;
  --cx-blue:#2F6BFF;--cx-blue2:#2556E8;--cx-cyan:#0891B2;--cx-orange:#FF7A1A;--cx-green:#16A34A;--cx-red:#E5364A;
  --cx-shadow:0 1px 2px rgba(16,24,40,.04),0 8px 24px -12px rgba(16,24,40,.12);
  --cx-r:18px;
  --cx-font:'Space Grotesk',ui-sans-serif,system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --cx-mono:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;
}

/* ---------- Base ---------- */
html{scroll-behavior:smooth}
body{background:var(--cx-bg);color:var(--cx-fg);font-family:var(--cx-font);-webkit-font-smoothing:antialiased}
#wrapper{background:var(--cx-bg);padding-top:1.5rem}
#index #wrapper{padding-top:0}
body,p,li,td,th,label,dd,dt{color:inherit}
h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{color:var(--cx-fg);font-family:var(--cx-font);letter-spacing:-.02em;text-transform:none}
a{color:var(--cx-blue2)}
a:hover,a:focus{color:var(--cx-cyan);text-decoration:none}
.text-muted,small,.small{color:var(--cx-mute)!important}
hr{border-color:var(--cx-line)}
::selection{background:var(--cx-blue);color:#fff}
:focus-visible{outline:2px solid var(--cx-cyan);outline-offset:3px}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
.cx-i{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;vertical-align:middle}
.material-icons{color:inherit}
@media (min-width:1200px){.container{width:1320px;max-width:100%}}
@media (min-width:768px){.container{padding-left:24px;padding-right:24px}}

/* ---------- Bottoni ---------- */
.btn{font-family:var(--cx-font);text-transform:none;font-weight:600;border-radius:12px;transition:background .2s,box-shadow .25s,transform .15s}
.btn:active{transform:scale(.98)}
.btn-primary,.btn-primary.disabled,.btn-primary:disabled{background:var(--cx-orange);border-color:var(--cx-orange);color:#140A02;box-shadow:0 10px 30px -12px rgba(255,122,26,.7)}
.btn-primary:hover,.btn-primary:focus,.btn-primary:active,.btn-primary.active{background:#FF8D3A!important;border-color:#FF8D3A!important;color:#140A02!important}
.btn-secondary,.btn-tertiary,.btn-default{background:var(--cx-card2);border:1px solid var(--cx-line2);color:var(--cx-fg)}
.btn-secondary:hover,.btn-tertiary:hover,.btn-default:hover{background:#E6EBF5;color:var(--cx-fg);border-color:var(--cx-line2)}
.btn-link{color:var(--cx-blue2)}
.cx-btn{height:52px;padding:0 24px;border-radius:14px;display:inline-flex;align-items:center;gap:10px;font-weight:600;font-size:16px;border:0;cursor:pointer;transition:transform .15s,box-shadow .25s,background .2s;white-space:nowrap;text-decoration:none!important}
.cx-btn:active{transform:scale(.98)}
.cx-btn-o{background:var(--cx-orange);color:#140A02!important;box-shadow:0 10px 40px -10px rgba(255,122,26,.7)}
.cx-btn-o:hover{box-shadow:0 14px 50px -8px rgba(255,122,26,.9)}
.cx-btn-g{background:rgba(15,23,42,.03);color:var(--cx-fg)!important;border:1px solid var(--cx-line2)}
.cx-btn-g:hover{background:rgba(15,23,42,.07)}
.cx-btn-white{background:#fff;color:#0B1A4A!important}

/* ---------- Form ---------- */
.form-control,.custom-select,select.form-control,input[type=text],input[type=email],input[type=password],input[type=tel],input[type=number],input[type=date],textarea{
  background:var(--cx-card);color:var(--cx-fg);border:1px solid var(--cx-line2);border-radius:10px}
.form-control:focus,input:focus,textarea:focus,select:focus{background:var(--cx-card);color:var(--cx-fg);border-color:var(--cx-blue);outline:0;box-shadow:0 0 0 4px rgba(47,107,255,.18)}
.form-control::placeholder,input::placeholder,textarea::placeholder{color:var(--cx-dim)}
.form-control-label,label{color:#3B4458}
.form-control-comment,.form-text{color:var(--cx-mute)}
.input-group .input-group-btn>.btn{border-radius:0 10px 10px 0}
.custom-checkbox input[type=checkbox]+span,.custom-radio{background:var(--cx-card);border-color:var(--cx-line2)}
.custom-checkbox input[type=checkbox]+span .checkbox-checked{color:var(--cx-cyan)}
.custom-radio input[type=radio]:checked+span{background:var(--cx-cyan)}
.has-danger .form-control{border-color:var(--cx-red)}
.bootstrap-touchspin input.form-control,.bootstrap-touchspin input.input-group{background:var(--cx-card);color:var(--cx-fg);border-color:var(--cx-line2)}
.bootstrap-touchspin .btn-touchspin,.bootstrap-touchspin .btn-touchspin:hover{background:var(--cx-card2);border-color:var(--cx-line2);color:var(--cx-fg)}
.input-group-btn-vertical .bootstrap-touchspin-down,.input-group-btn-vertical .bootstrap-touchspin-up{background:var(--cx-card2)}
.input-group-btn-vertical .touchspin-down::after,.input-group-btn-vertical .touchspin-up::after{color:var(--cx-fg)}

/* ---------- Superfici comuni ---------- */
.card,.card-block,.block-category,.page-content.card,#content.page-content,.page-cms,#search_filters,#search_filters_brands,#search_filters_suppliers,.block-categories,
.products-sort-order .select-title,.tabs,.product-information .tabs,.cart-grid-right .card,.cart-summary,.checkout-step,.page-customer-account #content,
.page-addresses .address,.page-authentication #content,.page-registration #content,#order-items,.order-confirmation-table,#content-hook_order_confirmation,
.page-order-detail .box,.page-my-account #content .links a span.link-item,.block-reassurance,.blockreassurance_product,#_desktop_top_menu .top-menu .sub-menu,
.dropdown-menu,.facet-dropdown .select-list,.modal-content,.page-not-found,.cart-container .card-block,#js-checkout-summary,.card.cart-summary{
  background:var(--cx-card)!important;color:var(--cx-fg);border:1px solid var(--cx-line)!important;border-radius:var(--cx-r);box-shadow:none!important}
.card-block{border:0!important}
.page-header h1,.page-header .h1{font-size:clamp(28px,3vw,40px);letter-spacing:-.035em;font-weight:700}
.block-category{padding:28px;min-height:auto}
.block-category h1,.block-category .h1{margin-bottom:6px}
.block-category #category-description,.block-category .block-category-inner{color:var(--cx-mute)}
.block-category .category-cover img{border-radius:14px}
.table,table{color:var(--cx-fg);background:transparent}
.table th,.table td,.table thead th{border-color:var(--cx-line)}
.table-striped tbody tr:nth-of-type(odd){background:var(--cx-bg2)}
.thead-default th{background:var(--cx-card2);color:var(--cx-fg)}
.label,.label-default,.badge{border-radius:6px;font-family:var(--cx-mono)}
.alert{border-radius:14px;border:1px solid}
.alert-info{background:rgba(47,107,255,.12);border-color:rgba(47,107,255,.35);color:#1D4ED8}
.alert-success{background:rgba(34,197,94,.12);border-color:rgba(34,197,94,.35);color:#15803D}
.alert-warning{background:rgba(255,122,26,.12);border-color:rgba(255,122,26,.35);color:#B45309}
.alert-danger{background:rgba(255,77,94,.12);border-color:rgba(255,77,94,.35);color:#B91C1C}
.dropdown-item{color:var(--cx-fg)}
.dropdown-item:hover,.dropdown-item:focus,.select-list:hover{background:var(--cx-card2)!important;color:var(--cx-fg)!important}
.select-list{color:var(--cx-fg)}
.modal-header,.modal-footer{border-color:var(--cx-line)}
.modal-backdrop.in{opacity:.45}
.close{color:var(--cx-fg);opacity:.7;text-shadow:none}
.close:hover{color:var(--cx-fg);opacity:1}
.nav-tabs{border-color:var(--cx-line)}
.tabs .nav-tabs .nav-link{color:var(--cx-mute);border:0}
.tabs .nav-tabs .nav-link.active,.tabs .nav-tabs .nav-link:hover{color:var(--cx-fg);border-bottom:2px solid var(--cx-cyan);background:transparent}
.tabs .nav-tabs .nav-item{background:transparent}

/* ---------- Breadcrumb ---------- */
.breadcrumb{background:transparent;padding:.5rem 0 1rem}
.breadcrumb ol{padding-left:0}
.breadcrumb li,.breadcrumb li a,.breadcrumb li::after{color:var(--cx-dim);font-size:13px;font-family:var(--cx-mono)}
.breadcrumb li:last-child,.breadcrumb li:last-child span{color:var(--cx-fg)}
.breadcrumb li a:hover{color:var(--cx-fg)}
#index .breadcrumb{display:none}

/* ---------- Ticker (displayBanner) ---------- */
.header-banner{background:transparent}
.cx-ticker{background:var(--cx-blue);color:#fff;font-family:var(--cx-mono);font-size:12px;letter-spacing:.04em;overflow:hidden;white-space:nowrap;height:34px;display:flex;align-items:center}
.cx-ticker-track{display:inline-flex;animation:cxTick 45s linear infinite;will-change:transform}
.cx-ticker:hover .cx-ticker-track{animation-play-state:paused}
.cx-ticker-track span{display:inline-flex;align-items:center;gap:8px;color:#fff;margin-right:48px}
.cx-ticker-track b{color:#FFD7B8;font-weight:700}
@keyframes cxTick{to{transform:translateX(-50%)}}

/* ---------- Header ---------- */
#header{background:rgba(255,255,255,.88);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);color:var(--cx-fg);box-shadow:none;border-bottom:1px solid var(--cx-line);position:sticky;top:0;z-index:999}
#header a{color:var(--cx-fg)}
.cx-hdr{display:flex;align-items:center;gap:24px;height:72px}
.cx-logo{display:inline-flex;align-items:center;gap:10px;font-weight:700;font-size:22px;letter-spacing:-.03em;color:var(--cx-fg)!important;text-decoration:none!important;flex-shrink:0}
.cx-logo-h{display:inline-flex;align-items:center;gap:10px;margin:0;font-size:inherit;font-weight:inherit;letter-spacing:inherit}
.cx-logo-mark{width:34px;height:34px;border-radius:10px;background:linear-gradient(135deg,var(--cx-blue),var(--cx-cyan));display:grid;place-items:center;font-family:var(--cx-mono);font-size:15px;font-weight:700;color:#fff;box-shadow:0 0 24px rgba(47,107,255,.55)}
.cx-logo em{font-style:normal;color:var(--cx-orange)}
.cx-search{flex:1;max-width:600px}
.cx-search-widget{position:relative;width:100%}
.cx-search-widget form{display:flex;align-items:center;gap:10px;background:var(--cx-card);border:1px solid var(--cx-line2);border-radius:12px;padding:0 6px 0 14px;height:46px;transition:border-color .2s,box-shadow .2s}
.cx-search-widget form:focus-within{border-color:var(--cx-blue);box-shadow:0 0 0 4px rgba(47,107,255,.18)}
.cx-search-widget form input[type=text]{flex:1;min-width:0;background:transparent!important;border:0!important;box-shadow:none!important;padding:0;color:var(--cx-fg);font-size:15px;height:44px}
.cx-search-widget .cx-search-ico{color:var(--cx-dim)}
.cx-search-widget .clear{display:none;cursor:pointer;color:var(--cx-dim);font-size:18px}
.cx-search-btn{height:34px;padding:0 16px;border-radius:8px;background:var(--cx-blue);color:#fff;font-weight:600;font-size:14px;border:0;cursor:pointer}
.cx-search-btn:hover{background:var(--cx-blue2)}
.ui-autocomplete.searchbar-autocomplete{background:var(--cx-card)!important;border:1px solid var(--cx-line2)!important;border-radius:14px;padding:6px;box-shadow:0 24px 48px -20px rgba(16,24,40,.18)}
.ui-autocomplete.searchbar-autocomplete li a,.ui-autocomplete.searchbar-autocomplete li a.ui-state-focus{color:var(--cx-fg)!important;background:transparent;border:0;border-radius:10px;padding:8px 10px}
.ui-autocomplete.searchbar-autocomplete li a:hover,.ui-autocomplete.searchbar-autocomplete li a.ui-state-focus{background:var(--cx-card2)!important}
.ui-autocomplete .product{color:var(--cx-fg)}
.cx-actions{display:flex;align-items:center;gap:6px;margin-left:auto}
.cx-actions .user-info,.cx-actions #_desktop_user_info,.cx-actions #_desktop_cart{margin:0;display:block}
.cx-ibtn{position:relative;height:44px;min-width:44px;padding:0 12px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:8px;color:var(--cx-fg)!important;background:transparent;border:1px solid transparent;font-size:14px;font-weight:500;transition:background .2s,border-color .2s;text-decoration:none!important;white-space:nowrap}
.cx-ibtn:hover{background:var(--cx-card);border-color:var(--cx-line2)}
.cx-count{min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:var(--cx-orange);color:#140A02;font-size:11px;font-weight:700;display:grid;place-items:center;font-family:var(--cx-mono)}
.blockcart.inactive .cx-count{background:var(--cx-line2);color:var(--cx-mute)}
.blockcart{background:transparent!important;height:auto;padding:0;margin:0}
.blockcart.active .cx-cart-btn{border-color:var(--cx-line2);background:var(--cx-card)}
.cx-cart-total{font-family:var(--cx-mono);font-size:13px}
.cx-secure{color:var(--cx-green)!important;cursor:default}
.cx-secure:hover{background:transparent;border-color:transparent}
.cx-tag{font-family:var(--cx-mono);font-size:10px;font-weight:700;background:var(--cx-blue);color:#fff;border-radius:5px;padding:2px 6px}

/* Nav categorie (displayNavFullWidth, modulo compraci_home) */
.cx-cats{border-top:1px solid var(--cx-line)}
.cx-cats ul{list-style:none;display:flex;gap:4px;height:48px;align-items:center;overflow-x:auto;scrollbar-width:none;margin:0;padding-top:0;padding-bottom:0}
.cx-cats ul::-webkit-scrollbar{display:none}
.cx-cats a{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:10px;font-size:14px;color:var(--cx-mute)!important;white-space:nowrap;transition:color .2s,background .2s;text-decoration:none!important}
.cx-cats a:hover,.cx-cats a.on{color:var(--cx-fg)!important;background:var(--cx-card)}
.cx-cats a.hot{color:var(--cx-orange)!important}

/* ---------- Scheda prodotto (miniatura) ---------- */
.products{gap:0}
.product-miniature{margin-bottom:20px}
.product-miniature.cx-pc,.js-product .cx-pc{position:relative;height:100%;border-radius:22px;background:var(--cx-card);border:1px solid var(--cx-line);overflow:hidden;display:flex;flex-direction:column;transition:border-color .25s,transform .25s,box-shadow .25s}
.cx-pc{box-shadow:var(--cx-shadow)}
.cx-pc:hover{border-color:var(--cx-line2);transform:translateY(-4px);box-shadow:0 24px 48px -24px rgba(16,24,40,.22)}
.cx-pc-img{position:relative;display:grid;place-items:center;aspect-ratio:1/1;background:radial-gradient(70% 70% at 50% 60%,#F1F4FA,var(--cx-card));padding:18px}
.cx-pc-img .product-thumbnail{display:block;width:100%;height:100%}
.cx-pc-img picture,.cx-pc-img img{display:block;width:100%;height:100%;object-fit:contain}
.cx-pc-img img{border-radius:14px;background:#fff;mix-blend-mode:normal}
.cx-flags{position:absolute;top:12px;left:12px;z-index:2;display:flex;flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;width:auto;pointer-events:none}
.cx-flags .product-flag,.product-flags li.product-flag{margin:0;padding:4px 8px;min-width:0;min-height:0;border-radius:7px;font-family:var(--cx-mono);font-size:11px;font-weight:700;text-transform:uppercase;box-shadow:none;background:var(--cx-cyan);color:#062028;width:max-content}
.product-flags li.product-flag.discount,.product-flags li.product-flag.discount-percentage,.product-flags li.product-flag.discount-amount,.product-flags li.product-flag.on-sale{background:var(--cx-red);color:#fff}
.product-flags li.product-flag.on-sale{background:var(--cx-orange);color:#140A02;order:-1;width:max-content;text-align:left}
.product-flags li.product-flag.out_of_stock{background:var(--cx-line2);color:var(--cx-fg)}
.product-flags li.product-flag.online-only{top:auto;right:auto;background:var(--cx-blue);color:#fff}
.cx-pc .cx-pc-img.thumbnail-container{background:radial-gradient(70% 70% at 50% 60%,#F1F4FA,var(--cx-card));margin:0;height:auto;overflow:visible}
.cx-pc .cx-pc-img .wishlist-button-add{top:12px;right:12px;left:auto;box-shadow:none;background:rgba(255,255,255,.92);border:1px solid var(--cx-line2)}
.cx-pc .cx-pc-img .wishlist-button-add i{color:var(--cx-fg)}
.cx-pc .thumbnail-container:hover .highlighted-informations,.cx-pc .thumbnail-container:focus .highlighted-informations,.cx-pc .thumbnail-container:focus-within .highlighted-informations{top:auto;bottom:12px}
.cx-pc-quick.highlighted-informations{position:absolute;top:auto;right:12px;left:auto;bottom:12px;width:auto;height:auto;padding:0;background:transparent;box-shadow:none;display:flex;flex-direction:column;align-items:flex-end;gap:6px;z-index:3;opacity:0;transition:opacity .2s}
.cx-pc:hover .cx-pc-quick,.cx-pc:focus-within .cx-pc-quick{opacity:1}
.cx-pc-quick::after{display:none}
.cx-quick{width:40px;height:40px;border-radius:12px;background:rgba(255,255,255,.92);border:1px solid var(--cx-line2);display:grid;place-items:center;color:var(--cx-fg)!important}
.cx-quick:hover{background:var(--cx-fg);color:var(--cx-bg)!important}
.cx-pc-quick .variant-links{position:static;width:auto;background:rgba(255,255,255,.92);border-radius:10px;padding:6px;min-height:0}
.cx-pc-body.product-description{position:relative;padding:16px 18px 18px;background:transparent;display:flex;flex-direction:column;flex:1;text-align:left;height:auto}
.cx-pc-body.product-description::after{display:none!important}
.cx-brand{font-family:var(--cx-mono);font-size:11px;color:var(--cx-dim);letter-spacing:.1em;text-transform:uppercase}
.cx-pc-title{font-size:15px!important;font-weight:600;line-height:1.35;margin:6px 0 10px;text-transform:none;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.7em;text-align:left}
.cx-pc-title a{color:var(--cx-fg)!important}
.product-miniature.cx-pc .product-title,.cx-pc .cx-pc-body{text-align:left}
.cx-pc-foot{margin-top:auto;display:flex;align-items:flex-end;justify-content:space-between;gap:10px}
.cx-pc-price.product-price-and-shipping{display:flex;flex-direction:column;align-items:flex-start;color:var(--cx-fg);text-align:left;margin:0}
.cx-pc-price .price{font-size:22px;font-weight:700;letter-spacing:-.03em;line-height:1.1;color:var(--cx-fg)}
.cx-pc-price .regular-price{font-size:13px;color:var(--cx-dim);text-decoration:line-through}
.cx-save{display:inline-block;margin-top:6px;font-family:var(--cx-mono);font-size:11px;font-weight:700;color:var(--cx-green);background:rgba(34,197,94,.12);padding:3px 7px;border-radius:6px}
.cx-add-form{margin:0}
.cx-add{width:46px;height:46px;border-radius:14px;background:var(--cx-blue);color:#fff!important;display:grid;place-items:center;border:0;cursor:pointer;transition:background .2s,transform .15s;flex-shrink:0}
.cx-add:hover{background:var(--cx-blue2)}
.cx-add:disabled{opacity:.7;cursor:progress}
.cx-add.cx-ok{background:var(--cx-green)}
.cx-add-view{background:var(--cx-card2);border:1px solid var(--cx-line2)}
.cx-add-view:hover{background:var(--cx-fg);color:var(--cx-bg)!important}
.product-list-reviews,.cx-pc .comments_note{margin-bottom:10px;position:static;background:transparent}
.cx-pc .star-content .star,.cx-pc .grade-stars{filter:hue-rotate(0)}

/* Listing */
#js-product-list-top,#js-product-list-header{color:var(--cx-mute)}
.products-selection .total-products p,.products-selection .sort-by{color:var(--cx-mute)}
.products-sort-order .select-title{color:var(--cx-fg);border-radius:10px!important}
.products-sort-order .dropdown-menu{border-radius:12px}
#search_filters .facet .facet-title,#search_filters .h6,#search_filters_wrapper .text-uppercase,.block-categories .h6{color:var(--cx-fg);text-transform:none;font-size:15px}
#search_filters .facet .facet-label a,.block-categories a,.block-categories .collapse-icons .add,.block-categories .collapse-icons .remove,.block-categories .arrows .arrow-down,.block-categories .arrows .arrow-right{color:var(--cx-mute)}
#search_filters .facet .facet-label a:hover,.block-categories a:hover{color:var(--cx-fg)}
#search_filters .facet{border-top:1px solid var(--cx-line);padding-top:12px}
.active_filters{background:var(--cx-card2);border-radius:14px}
.active_filters .filter-block{background:var(--cx-card);color:var(--cx-fg);border-radius:8px;box-shadow:none}
.pagination{color:var(--cx-mute)}
.pagination .page-list{background:var(--cx-card);border:1px solid var(--cx-line);border-radius:14px;box-shadow:none}
.pagination a{color:var(--cx-mute)}
.pagination .current a{color:var(--cx-cyan)}
#subcategories ul li .subcategory-image a{border:1px solid var(--cx-line);background:var(--cx-card);border-radius:14px}
#subcategories ul li .subcategory-name{color:var(--cx-fg)}
.ui-slider{background:var(--cx-line2)!important}
.ui-slider .ui-slider-range{background:var(--cx-blue)!important}
.ui-slider .ui-slider-handle{background:var(--cx-fg)!important;border-radius:50%}

/* ---------- Pagina prodotto ---------- */
#product #content{max-width:none}
.product-cover{background:var(--cx-card);border:1px solid var(--cx-line);border-radius:24px;overflow:hidden;padding:18px}
.product-cover img{box-shadow:none;border-radius:16px;background:#fff}
.product-cover .layer{border-radius:16px;background:rgba(255,255,255,.75)}
.product-images>li.thumb-container .thumb{border-radius:12px;border:2px solid transparent;background:#fff}
.product-images>li.thumb-container .thumb.selected,.product-images>li.thumb-container .thumb:hover{border-color:var(--cx-cyan)}
.scroll-box-arrows i{color:var(--cx-fg)}
#product h1.h1,#product .page-header h1,.product-container h1{font-size:clamp(26px,2.6vw,38px);letter-spacing:-.035em;text-transform:none}
.product-prices .current-price .current-price-value,.product-price{color:var(--cx-fg);font-size:34px;font-weight:700;letter-spacing:-.03em}
.product-prices .product-discount .regular-price,.product-discount{color:var(--cx-dim)}
.has-discount.product-price,.has-discount p,.product-price.has-discount{color:var(--cx-fg)}
.has-discount .discount{background:var(--cx-red);color:#fff;border-radius:7px;font-family:var(--cx-mono);font-size:12px;padding:4px 8px;text-transform:uppercase}
.product-prices .tax-shipping-delivery-label,.product-prices div{color:var(--cx-mute)}
#product-description-short,.product-information{color:#3B4458}
.product-actions .control-label,.product-variants>.product-variants-item .control-label{color:var(--cx-mute)}
.product-variants>.product-variants-item select{background:var(--cx-card);color:var(--cx-fg);border-color:var(--cx-line2);border-radius:10px}
.product-variants>.product-variants-item ul li .input-color+span,.product-variants .color{border-radius:8px;box-shadow:0 0 0 1px var(--cx-line2)}
.product-variants>.product-variants-item .radio-label{background:var(--cx-card);color:var(--cx-fg);border-radius:8px;box-shadow:0 0 0 1px var(--cx-line2)}
.product-variants>.product-variants-item .input-radio:checked+span{box-shadow:0 0 0 2px var(--cx-cyan)}
.product-actions .add-to-cart{height:54px;padding:0 28px;font-size:16px;border-radius:14px}
.product-quantity .qty .input-group{border-radius:12px;overflow:hidden}
#product-availability{color:var(--cx-mute)}
#product-availability .product-available{color:var(--cx-green)}
#product-availability .product-unavailable{color:var(--cx-orange)}
#product-availability .product-last-items{color:var(--cx-orange)}
.product-features>dl.data-sheet dd.value,.product-features>dl.data-sheet dt.name{background:var(--cx-card2);color:var(--cx-fg);border-radius:8px}
.product-features>dl.data-sheet dd.value:nth-of-type(2n),.product-features>dl.data-sheet dt.name:nth-of-type(2n){background:var(--cx-bg2)}
.blockreassurance_product,.block-reassurance{padding:16px}
.blockreassurance_product p,.blockreassurance_product .block-title,.block-reassurance li .block-reassurance-item span{color:var(--cx-fg)!important}
.block-reassurance li{border-color:var(--cx-line)!important}
.social-sharing li{background-color:var(--cx-card2);box-shadow:none;border-radius:10px}
.product-accessories h2,.featured-products h2,.product-accessories .h2,.featured-products .h2,.products-section-title{color:var(--cx-fg);text-transform:none;font-size:clamp(24px,2.4vw,32px);letter-spacing:-.03em;text-align:left;margin:2rem 0 1.25rem}
.featured-products .products,.product-accessories .products,#products .products{justify-content:flex-start}
#product-modal .modal-content{background:var(--cx-bg)!important}
#product-modal .modal-content .modal-body .image-caption{background:var(--cx-card);border-color:var(--cx-line)}

/* Modal carrello */
#blockcart-modal .modal-content{background:var(--cx-card)!important;color:var(--cx-fg)}
#blockcart-modal .modal-header{background:var(--cx-green);border-radius:var(--cx-r) var(--cx-r) 0 0}
#blockcart-modal .modal-title{color:#04210F;font-weight:600}
#blockcart-modal .modal-title i.material-icons{color:#04210F}
#blockcart-modal .modal-body{background:var(--cx-card);border-radius:0 0 var(--cx-r) var(--cx-r)}
#blockcart-modal .product-name{color:var(--cx-fg)}
#blockcart-modal .cart-content p,#blockcart-modal .cart-content .cart-products-count,#blockcart-modal .divide-right span,#blockcart-modal .divide-right strong{color:var(--cx-fg)}
#blockcart-modal .divide-right{border-color:var(--cx-line)}
#blockcart-modal .product-image{border-radius:12px;background:#fff}
#blockcart-modal .cart-content-btn .btn{border-radius:12px}

/* ---------- Carrello / Checkout ---------- */
.cart-grid-body .card-block h1,.cart-grid-body .cart-title{color:var(--cx-fg)}
.cart-item{border-color:var(--cx-line)!important}
.product-line-grid-body>.product-line-info>.label,.product-line-grid-body .product-line-info a{color:var(--cx-fg)}
.product-line-grid .product-line-grid-left img{border-radius:12px;background:#fff}
.cart-summary-line .label,.cart-summary-line .value,.cart-summary-totals .cart-total .label,.cart-summary-totals .cart-total .value{color:var(--cx-fg)}
.cart-summary-totals .cart-total{background:var(--cx-card2);border-radius:12px}
.cart-summary-line.cart-total{background:var(--cx-card2)}
.separator{border-color:var(--cx-line)}
.block-promo .promo-code{background:var(--cx-card2);border-radius:12px}
.block-promo .promo-input{background:var(--cx-card);color:var(--cx-fg);border:1px solid var(--cx-line2)}
.block-promo .promo-code-button{color:var(--cx-blue2)}
body#checkout{background:var(--cx-bg)}
body#checkout #header .header-nav{border:0;box-shadow:none}
body#checkout section.checkout-step{border-radius:var(--cx-r)!important;margin-bottom:14px}
body#checkout section.checkout-step .step-title{color:var(--cx-fg);text-transform:none;font-size:18px}
body#checkout section.checkout-step.-current .step-title{color:var(--cx-cyan)}
body#checkout section.checkout-step .step-number{background:var(--cx-card2);color:var(--cx-fg);border:1px solid var(--cx-line2);border-radius:8px}
body#checkout section.checkout-step.-complete .step-title .done{color:var(--cx-green)}
body#checkout section.checkout-step .step-edit{color:var(--cx-mute)}
body#checkout section.checkout-step .address-item,body#checkout section.checkout-step .delivery-option,body#checkout .payment-option{background:var(--cx-card2);border:1px solid var(--cx-line2);border-radius:14px;color:var(--cx-fg)}
body#checkout section.checkout-step .address-item.selected{border:2px solid var(--cx-cyan)}
body#checkout section.checkout-step .address-footer,body#checkout section.checkout-step .address{color:var(--cx-mute)}
body#checkout section.checkout-step .nav-inline .nav-link{color:var(--cx-mute)}
body#checkout section.checkout-step .nav-inline .nav-link.active{color:var(--cx-cyan);border-color:var(--cx-cyan)}
body#checkout .carrier-name,body#checkout .carrier-price,body#checkout .carrier-delay{color:var(--cx-fg)}
body#checkout .condition-label label{color:#3B4458}
body#checkout #footer{background:transparent}
#order-summary-content .summary-selected-carrier,#order-items table tr td,#order-items .order-line{background:var(--cx-card2);border-color:var(--cx-line);color:var(--cx-fg)}
#order-confirmation #content-hook_order_confirmation .card-title{color:var(--cx-fg)}

/* ---------- Account ---------- */
.page-my-account #content .links a{color:var(--cx-fg)}
.page-my-account #content .links a span.link-item{border-radius:var(--cx-r);padding:24px 16px;transition:border-color .2s,transform .2s}
.page-my-account #content .links a:hover span.link-item{border-color:var(--cx-cyan)!important;transform:translateY(-3px)}
.page-my-account #content .links a i{color:var(--cx-blue2)}
.page-customer-account #content .no-account a,.page-authentication #content .forgot-password a{color:var(--cx-blue2)}
.page-footer .account-link,.page-footer a{color:var(--cx-mute)}
.page-addresses .address .address-body h4,.page-addresses .address .address-body address{color:var(--cx-fg)}
.page-addresses .address .address-footer{border-color:var(--cx-line)}
.page-addresses .address .address-footer a{color:var(--cx-mute)}
.order-message-form,.order-message-form .form-fields{background:transparent}


/* ---------- Registrazione ---------- */
.cx-register{background:var(--cx-card);border:1px solid var(--cx-line);border-radius:24px;padding:28px;max-width:860px;margin:0 auto}

/* ---------- Footer ---------- */
#footer{background:var(--cx-bg2);color:var(--cx-mute);padding-top:0;margin-top:72px}
.cx-footer-before{margin-bottom:56px}
.cx-footer{border-top:1px solid var(--cx-line);padding-top:56px;background:transparent}
.cx-fgrid{display:grid;grid-template-columns:1.1fr 3fr;gap:40px}
.cx-fbrand p{color:var(--cx-mute);margin:14px 0 0;max-width:32ch;font-size:14px}
.cx-pay{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}
.cx-pay span{font-family:var(--cx-mono);font-size:11px;border:1px solid var(--cx-line2);padding:6px 9px;border-radius:7px;color:var(--cx-mute)}
.cx-fhooks .row{display:flex;flex-wrap:wrap}
.cx-fhooks .links,.cx-fhooks .block-contact,.cx-fhooks .account-list,.cx-fhooks #block_myaccount_infos,.cx-fhooks>.row>div{flex:1 1 180px;max-width:none;width:auto}
.cx-fhooks .links .row{display:flex;flex-wrap:wrap}
.cx-fhooks .links .wrapper{flex:1 1 160px;max-width:none;width:auto}
.footer-container{background:transparent;box-shadow:none;padding-top:0}
.footer-container .h3,.footer-container .h4,.footer-container .block-contact-title,.footer-container .myaccount-title,.footer-container .myaccount-title a,.footer-container p.h3{color:var(--cx-fg)!important;font-size:14px;font-weight:600;text-transform:none;letter-spacing:0;margin-bottom:14px}
.footer-container li{margin-bottom:9px}
.footer-container li a,.footer-container .block-contact,.footer-container .block-contact a,#footer .block-contact .block-contact-title,.footer-container a{color:var(--cx-mute)!important;font-size:14px}
.footer-container li a:hover,.footer-container a:hover{color:var(--cx-fg)!important}
.footer-container .links .collapse{display:block}
.footer-container .title .navbar-toggler,.footer-container .links .title .collapse-icons{display:none}
.block-contact{border:0;color:var(--cx-mute)}
.block-contact .icon{display:none}
.cx-legal{margin-top:44px;padding:22px 0 30px;border-top:1px solid var(--cx-line);display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;font-size:12px;font-family:var(--cx-mono);color:var(--cx-dim)}
.cx-legal-hook .block-social{margin:0;padding:0}
.block-social ul li{background-color:var(--cx-card2);border-radius:10px;width:36px;height:36px;background-size:22px}
.block-social ul li:hover{background-color:var(--cx-blue)}

/* Newsletter (ps_emailsubscription) */
.block_newsletter.cx-nl{border-radius:28px;background:linear-gradient(120deg,var(--cx-blue),#1C3FB8);padding:44px 48px;display:flex;align-items:center;justify-content:space-between;gap:32px;max-width:none;width:100%;color:#fff;margin:0}
.cx-nl h3{font-size:clamp(24px,2.6vw,34px);letter-spacing:-.03em;line-height:1.08;max-width:20ch;color:#fff;margin:0}
.cx-nl p{color:rgba(255,255,255,.78);margin:8px 0 0}
.cx-nl-form{flex:0 1 460px}
.cx-nl-row{display:flex;gap:10px;flex-wrap:wrap}
.cx-nl input[type=email]{flex:1 1 220px;height:52px;border-radius:14px;border:1px solid rgba(255,255,255,.3)!important;background:rgba(255,255,255,.1)!important;color:#fff!important;padding:0 18px;font-size:15px;min-width:0}
.cx-nl input[type=email]::placeholder{color:rgba(255,255,255,.65)}
.cx-nl-cond,.cx-nl .psgdpr_consent_message,.cx-nl label{color:rgba(255,255,255,.8);font-size:12px;margin-top:10px}
.cx-nl .alert{margin-top:12px}

/* ---------- Reveal ---------- */
.cx-rv{opacity:0;transform:translateY(24px);transition:opacity .6s ease,transform .6s cubic-bezier(.2,.8,.2,1)}
.cx-rv.vis{opacity:1;transform:none}

/* ---------- Toast ---------- */
.cx-toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,160%);background:var(--cx-fg);color:var(--cx-bg);padding:14px 18px;border-radius:14px;font-weight:600;font-size:14px;display:flex;align-items:center;gap:10px;transition:transform .35s cubic-bezier(.2,.9,.3,1.2);z-index:2000;box-shadow:0 20px 50px -10px rgba(16,24,40,.25)}
.cx-toast.show{transform:translate(-50%,0)}

/* ---------- Pagine errore / CMS ---------- */
.page-not-found h4{color:var(--cx-fg)}
.page-cms,.page-content.page-cms{padding:28px;color:#3B4458}
#stores .page-stores .store-item{border-color:var(--cx-line)}
#contact .contact-rich,#contact .contact-form{background:var(--cx-card);border:1px solid var(--cx-line);border-radius:var(--cx-r);padding:24px;color:var(--cx-fg)}

/* ---------- Responsive ---------- */
@media (max-width:991px){
  .cx-hdr{flex-wrap:wrap;height:auto;padding-top:12px;padding-bottom:12px;gap:12px}
  .cx-search{order:3;flex:1 1 100%;max-width:none}
  .cx-actions .cx-lbl{display:none}
  .cx-fgrid{grid-template-columns:1fr}
  .block_newsletter.cx-nl{flex-direction:column;align-items:flex-start;padding:32px}
  .cx-nl-form{flex:1 1 auto;width:100%}
}
@media (max-width:575px){
  .cx-logo{font-size:19px}
  .cx-pc-img{padding:12px}
  .cx-pc-body.product-description{padding:12px}
  .cx-pc-price .price{font-size:18px}
  .cx-add{width:40px;height:40px;border-radius:12px}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
  .cx-rv{opacity:1;transform:none}
}

/* ---------- Sottocategorie con foto prodotto ---------- */
.cx-subcats{margin:0 0 28px}
.cx-subcats-eyebrow{font-family:var(--cx-mono);font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--cx-cyan);margin:0 0 12px}
.cx-subcats-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px}
.cx-subcat{position:relative;display:flex;align-items:flex-start;min-height:132px;padding:18px;border-radius:20px;background:var(--cx-card);border:1px solid var(--cx-line);box-shadow:var(--cx-shadow);overflow:hidden;color:var(--cx-fg)!important;text-decoration:none!important;transition:border-color .25s,transform .25s,box-shadow .25s}
.cx-subcat:hover{transform:translateY(-3px);border-color:var(--cx-line2);box-shadow:0 18px 36px -20px rgba(16,24,40,.3)}
.cx-subcat-txt{position:relative;z-index:2;max-width:100%}
.cx-subcat-img .cx-subcat-txt{max-width:52%}
.cx-subcat-txt small{display:block;font-family:var(--cx-mono);font-size:11px;color:var(--cx-dim)!important;margin-bottom:4px}
.cx-subcat-txt b{display:block;font-size:17px;font-weight:600;letter-spacing:-.02em;line-height:1.2}
.cx-subcat-art{position:absolute;right:14px;top:50%;transform:translateY(-50%);height:calc(100% - 28px);aspect-ratio:1/1;max-width:45%;overflow:hidden;background:#fff;border-radius:14px;border:1px solid var(--cx-line);transition:transform .35s cubic-bezier(.2,.8,.2,1)}
.cx-subcat-art img{display:block;width:100%;height:100%;object-fit:contain;transform:scale(1.32);transition:transform .45s cubic-bezier(.2,.8,.2,1)}
.cx-subcat:hover .cx-subcat-art{transform:translateY(-50%) rotate(-2deg)}
.cx-subcat:hover .cx-subcat-art img{transform:scale(1.4)}
.cx-subcat-go{position:absolute;left:18px;bottom:16px;width:34px;height:34px;border-radius:10px;border:1px solid var(--cx-line2);display:grid;place-items:center;color:var(--cx-mute);z-index:2;transition:all .25s}
.cx-subcat:hover .cx-subcat-go{background:var(--cx-fg);border-color:var(--cx-fg);color:var(--cx-bg)}
@media (max-width:575px){.cx-subcats-grid{grid-template-columns:1fr 1fr;gap:10px}.cx-subcat{min-height:150px;flex-direction:column}.cx-subcat-img .cx-subcat-txt{max-width:100%}.cx-subcat-art{top:auto;bottom:12px;right:12px;transform:none;height:72px}.cx-subcat:hover .cx-subcat-art{transform:rotate(-2deg)}.cx-subcat-txt b{font-size:15px}}
@media (prefers-reduced-motion:reduce){.cx-subcat,.cx-subcat-art,.cx-subcat-art img{transition:none}}

/* ---------- Footer: colonne ben distanziate ---------- */
.cx-footer{padding-top:64px}
.cx-fgrid{grid-template-columns:minmax(220px,1fr) 3fr;gap:72px}
.cx-fhooks>.row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:40px 48px;margin:0}
.cx-fhooks>.row>.links:not(.wrapper),.cx-fhooks>.row>.links:not(.wrapper)>.row{display:contents}
.cx-fhooks .row::before,.cx-fhooks .row::after{content:none;display:none}
.cx-fhooks .wrapper,.cx-fhooks .block-contact,.cx-fhooks>.row>div{width:auto;max-width:none;flex:none;float:none;padding:0;margin:0}
.footer-container .h3,.footer-container .h4,.footer-container .block-contact-title,.footer-container .myaccount-title,.footer-container p.h3{margin:0 0 18px;line-height:1.3}
.footer-container ul{margin:0;padding:0}
.footer-container li{margin-bottom:12px;line-height:1.4}
.footer-container .block-contact{line-height:1.7}
.cx-fbrand p{margin-top:18px;line-height:1.6}
.cx-pay{margin-top:22px}
.cx-legal{margin-top:56px;padding:24px 0 32px}
.cx-footer-before{margin-bottom:64px}
@media (max-width:1199px){
  .cx-fgrid{grid-template-columns:1fr;gap:48px}
}
@media (max-width:767px){
  .cx-fhooks>.row{grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 28px}
  .footer-container .title{padding:0;margin:0 0 14px}
  .footer-container .title .h3{font-size:14px;font-weight:600;color:var(--cx-fg)}
}
@media (max-width:420px){
  .cx-fhooks>.row{grid-template-columns:1fr}
}
.cx-fhooks .h3,.cx-fhooks .h4,.cx-fhooks .block-contact-title,.cx-fhooks .myaccount-title,.cx-fhooks .myaccount-title a,.cx-fhooks .text-uppercase{text-transform:none!important;color:var(--cx-fg)!important;font-size:14px!important;font-weight:600!important;letter-spacing:0!important;font-family:var(--cx-font)!important}
#footer .cx-fhooks .block-contact-title,#footer .cx-fhooks .myaccount-title,#footer .cx-fhooks .myaccount-title a{color:var(--cx-fg)!important}
#footer .cx-logo{font-size:20px!important;color:var(--cx-fg)!important}
#footer .cx-logo em{color:var(--cx-orange)!important}

/* ---------- Aggiunta al carrello: volo + popup ---------- */
.cx-fly{position:fixed;z-index:3000;border-radius:18px;background:#fff center/contain no-repeat;box-shadow:0 18px 40px -12px rgba(16,24,40,.45);pointer-events:none;will-change:transform,opacity}
html.cx-noscroll{overflow:hidden}
.cx-cartpop{position:fixed;inset:0;z-index:2500;display:flex;justify-content:flex-end}
.cx-cartpop-backdrop{position:absolute;inset:0;background:rgba(11,16,32,.42);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);opacity:0;transition:opacity .3s ease}
.cx-cartpop-panel{position:relative;width:min(440px,100%);height:100%;overflow-y:auto;background:var(--cx-card);box-shadow:-24px 0 60px -20px rgba(16,24,40,.35);padding:22px 24px 26px;display:flex;flex-direction:column;gap:18px;transform:translateX(104%);transition:transform .42s cubic-bezier(.2,.9,.25,1);outline:0}
.cx-cartpop.open .cx-cartpop-backdrop{opacity:1}
.cx-cartpop.open .cx-cartpop-panel{transform:none}
.cx-cartpop-head{display:flex;align-items:center;gap:14px;padding-bottom:16px;border-bottom:1px solid var(--cx-line)}
.cx-cartpop-ok{width:44px;height:44px;border-radius:14px;background:rgba(22,163,74,.12);color:var(--cx-green);display:grid;place-items:center;flex-shrink:0}
.cx-check{stroke-dasharray:24;stroke-dashoffset:24}
.cx-cartpop.open .cx-check{animation:cxDraw .5s .25s cubic-bezier(.65,0,.35,1) forwards}
@keyframes cxDraw{to{stroke-dashoffset:0}}
.cx-cartpop.open .cx-cartpop-ok{animation:cxPop .45s .15s cubic-bezier(.2,.9,.3,1.4) both}
@keyframes cxPop{0%{transform:scale(.4);opacity:0}100%{transform:scale(1);opacity:1}}
.cx-cartpop-title{margin:0;font-size:18px;font-weight:700;letter-spacing:-.02em;color:var(--cx-fg)}
.cx-cartpop-sub{margin:2px 0 0;font-size:13px;color:var(--cx-mute)}
.cx-cartpop-x{margin-left:auto;width:40px;height:40px;border-radius:12px;border:1px solid var(--cx-line2);background:transparent;color:var(--cx-fg);display:grid;place-items:center;cursor:pointer;transition:background .2s}
.cx-cartpop-x:hover{background:var(--cx-card2)}
.cx-cartpop-product{display:flex;gap:16px;align-items:center;padding:14px;border:1px solid var(--cx-line);border-radius:18px;background:var(--cx-bg2)}
.cx-cartpop.open .cx-cartpop-product{animation:cxRise .45s .2s cubic-bezier(.2,.8,.2,1) both}
@keyframes cxRise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
.cx-cartpop-img{width:96px;height:96px;flex-shrink:0;border-radius:14px;overflow:hidden;background:#fff;border:1px solid var(--cx-line)}
.cx-cartpop-img img{width:100%;height:100%;object-fit:contain;transform:scale(1.15)}
.cx-cartpop-name{margin:0 0 6px;font-size:15px;font-weight:600;line-height:1.35;color:var(--cx-fg);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.cx-cartpop-attr{display:block;font-size:12px;color:var(--cx-mute)}
.cx-cartpop-price{margin:6px 0 0;font-size:18px;font-weight:700;letter-spacing:-.02em;color:var(--cx-fg)}
.cx-cartpop-qty{font-family:var(--cx-mono);font-size:13px;font-weight:500;color:var(--cx-mute)}
.cx-cartpop-sum{display:flex;flex-direction:column;gap:8px;font-size:14px;color:var(--cx-mute)}
.cx-cartpop-sum>div{display:flex;justify-content:space-between;gap:12px}
.cx-cartpop-sum b{color:var(--cx-fg);font-weight:600}
.cx-cartpop-total{padding-top:10px;margin-top:4px;border-top:1px dashed var(--cx-line2);font-size:16px;color:var(--cx-fg)!important}
.cx-cartpop-total b{font-size:22px;letter-spacing:-.03em}
.cx-cartpop-actions{display:flex;flex-direction:column;gap:10px;margin-top:auto}
.cx-cartpop-actions .cx-btn{width:100%;justify-content:center}
.cx-cartpop-continue{background:none;border:0;color:var(--cx-mute);font-size:14px;padding:8px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.cx-cartpop-continue:hover{color:var(--cx-fg)}
.cx-cartpop-trust{display:flex;justify-content:center;gap:18px;margin:0;padding:0;list-style:none;font-size:12px;color:var(--cx-mute)}
.cx-cartpop-trust li{display:flex;align-items:center;gap:6px}
.cx-cartpop-trust .cx-i{width:15px;height:15px;color:var(--cx-green)}
@media (max-width:575px){
  .cx-cartpop{align-items:flex-end}
  .cx-cartpop-panel{width:100%;height:auto;max-height:88vh;border-radius:22px 22px 0 0;transform:translateY(104%);padding:18px 18px 22px}
  .cx-cartpop-img{width:76px;height:76px}
}
@media (prefers-reduced-motion:reduce){
  .cx-cartpop-panel,.cx-cartpop-backdrop{transition:none}
  .cx-check{stroke-dashoffset:0}
}
