body#module-poscompare-comparePage #wrapper{background:#f6f8fa;padding-top:28px}
body#module-poscompare-comparePage #main{max-width:1440px;margin:0 auto;padding:0 20px 40px}
body#module-poscompare-comparePage #main>.page-header{margin:0 0 14px}
body#module-poscompare-comparePage #main>.page-header h1{font-size:30px;font-weight:650;letter-spacing:-.6px;color:#172b35}
body#module-poscompare-comparePage #content.page-content{display:block!important;padding:0!important;min-height:0!important;text-align:left!important;background:transparent;border:0}
.mc-compare{--mc-ink:#172b35;--mc-line:#dfe6eb;--mc-accent:#087e95;--mc-label:172px;--mc-column:252px;color:var(--mc-ink);font-size:14px;line-height:1.5}
.mc-compare *{box-sizing:border-box}
.mc-compare [hidden]{display:none!important}
.mc-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}
.mc-lead{margin:0 0 7px;color:#52646e;font-size:15px}
.mc-count{font-weight:650;margin:0;color:#243f4b;min-height:21px}
.mc-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 17px;border:1px solid #bbcbd3;border-radius:8px;color:var(--mc-ink);background:#fff;text-align:center;font:inherit;font-weight:600;line-height:1.3;cursor:pointer;text-decoration:none;gap:8px}
.mc-button:hover{background:#eff7f9;color:#075c6e;border-color:#087e95;text-decoration:none}
.mc-button-primary{background:#172b35;color:white;border-color:#172b35;white-space:nowrap}
.mc-button-primary:hover{background:#254755;color:#fff}
.mc-compare a.mc-button-primary:focus{color:#fff;text-decoration:none}
.mc-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;background:white;border:1px solid var(--mc-line);border-radius:12px;padding:12px 16px}
.mc-difference-control{display:flex;align-items:center;gap:10px;margin:0;min-height:40px;cursor:pointer;font-weight:600;text-align:left}
.mc-differences{width:18px;height:18px;accent-color:var(--mc-accent);margin:0;flex-shrink:0}
.mc-difference-control:has(input:disabled){color:#6d7a83;cursor:default}
.mc-clear{background:none;border:0;padding:10px;color:#9a3232;font:inherit;cursor:pointer;min-height:44px}
.mc-clear:hover{text-decoration:underline}
.mc-scrollbar-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;color:#52646e;font-size:13px}
.mc-scrollbar-controls>div{display:flex;gap:6px;flex-shrink:0}
.mc-prev,.mc-next{width:42px;height:38px;border:1px solid #cbd8de;border-radius:8px;background:#fff;font-size:20px;color:#172b35;cursor:pointer}
.mc-prev:disabled,.mc-next:disabled{opacity:.35;cursor:default}
.mc-scroll{overflow:auto;max-height:78vh;max-height:78dvh;border:1px solid var(--mc-line);border-radius:12px;background:#fff;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#8dabb8 #edf2f5;isolation:isolate;scroll-snap-type:x mandatory}
.mc-scroll.mc-dragging{cursor:grabbing;user-select:none;scroll-behavior:auto;scroll-snap-type:none}
.mc-table thead [data-product]{scroll-snap-align:start;scroll-margin-left:var(--mc-label)}
.mc-table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:max-content;min-width:100%;margin:0;text-align:left}
.mc-table th,.mc-table td{border:0;border-right:1px solid var(--mc-line);border-bottom:1px solid var(--mc-line);white-space:normal;overflow-wrap:anywhere;vertical-align:top;width:var(--mc-column);min-width:var(--mc-column);max-width:var(--mc-column);padding:15px 18px;background:#fff;font-weight:400;line-height:1.5}
.mc-table tr>:first-child{width:var(--mc-label);min-width:var(--mc-label);max-width:var(--mc-label);position:sticky;left:0;z-index:2;background:#f3f6f8;font-weight:600;box-shadow:2px 0 0 #dfe6eb}
.mc-table thead th{position:sticky;top:0;z-index:3;background:#fff;vertical-align:top;padding:12px 16px 16px;box-shadow:0 2px 0 #dfe6eb}
.mc-table thead .mc-corner{z-index:4;background:#edf3f5;vertical-align:middle;padding:18px}
.mc-corner span{display:block;font-weight:700;font-size:18px}
.mc-corner small{display:block;font-weight:400;color:#52646e;margin-top:8px}
.mc-table tbody tr:nth-child(even)>td{background:#f8fafb}
.mc-table tr>:last-child{border-right:0}
.mc-product{position:relative}
.mc-remove{display:flex;align-items:center;justify-content:flex-end;gap:8px;background:none;border:0;width:100%;padding:0 0 7px;color:#596b75;min-height:32px;font:inherit;font-size:12px;font-weight:500;cursor:pointer}
.mc-remove span{font-size:22px;line-height:1}
.mc-remove:hover{color:#a12828}
.mc-image{height:132px;display:flex;align-items:center;justify-content:center;margin:0 0 10px;background:#fff}
.mc-image img{max-height:100%;max-width:100%;width:auto;height:auto;object-fit:contain;transform:none!important;-webkit-user-drag:none}
.mc-product-name{display:block;color:#172b35;font-size:14px;font-weight:650;line-height:1.4;min-height:60px;margin:0 0 8px;text-decoration:none}
.mc-product-name:hover{text-decoration:underline;color:#087e95}
.mc-price{font-size:23px;font-weight:700;letter-spacing:-.4px;margin:6px 0 12px}
.mc-product-link{width:100%;min-height:40px;font-size:13px;border-color:#bddce3;background:#f0f9fb;color:#075c6e}
.mc-feature-value{display:block}
.mc-missing{color:#74848e;font-style:italic;font-size:13px}
.mc-table tbody tr.mc-different>th::after{content:'';display:inline-block;width:6px;height:6px;margin-left:8px;border-radius:50%;background:#16859a;vertical-align:middle}
.mc-table.mc-filtered tbody tr.mc-different>td{background:#f1f9fb}
.mc-footnote,.mc-single,.mc-no-differences{color:#61737d;font-size:13px;margin:12px 0}
.mc-feedback{background:#ecf7f8;padding:12px 16px;border-radius:8px;border:1px solid #bedde2;margin-bottom:14px}
.mc-feedback.mc-error{background:#fff0f0;border-color:#efcaca;color:#8c2323}
.mc-confirm{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff6f2;border:1px solid #edc6b9;padding:14px 16px;border-radius:10px;margin-top:12px}
.mc-confirm>div{display:flex;gap:8px;flex-shrink:0}
.mc-confirm-clear{background:#9a3232;color:#fff;border-color:#9a3232}
.mc-empty{text-align:center;background:#fff;border:1px solid var(--mc-line);padding:44px 24px;border-radius:14px;margin-top:20px}
.mc-empty h2{font-size:24px;color:#172b35;margin:12px 0}
.mc-empty p{max-width:540px;margin:0 auto 24px;color:#61737d}
.mc-empty-symbol{font-size:40px;color:#087e95;display:block}
.mc-compare :is(a,button,input,.mc-scroll):focus-visible{outline:3px solid #0b8ba5;outline-offset:3px}
.mc-compare button:disabled{cursor:default}
.mc-sr-only{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Neutralizza soltanto qui i vecchi stili generici del confronto. */
#module-poscompare-comparePage .mc-table{min-width:0!important;table-layout:fixed!important}
#module-poscompare-comparePage .mc-table thead th:first-child{width:var(--mc-label)!important;min-width:var(--mc-label)!important;background:#edf3f5!important;border-right:1px solid var(--mc-line)!important;z-index:4}
#module-poscompare-comparePage .mc-table :is(th,td):not(:first-child){padding:15px 18px!important;border:0!important;border-right:1px solid var(--mc-line)!important;border-bottom:1px solid var(--mc-line)!important;background:#fff!important}
#module-poscompare-comparePage .mc-table thead th:not(:first-child){padding:12px 16px 16px!important}
#module-poscompare-comparePage .mc-table tbody tr:nth-child(even)>td{background:#f8fafb!important}
#module-poscompare-comparePage .mc-table.mc-filtered tbody tr.mc-different>td{background:#f1f9fb!important}
#module-poscompare-comparePage .mc-table th .mc-price{font-size:23px!important;color:#172b35!important;margin:6px 0 12px!important}
@media(max-width:767px){
 body#module-poscompare-comparePage #wrapper{padding-top:16px}
 body#module-poscompare-comparePage #main{padding:0 10px 28px}
 body#module-poscompare-comparePage #main>.page-header h1{font-size:25px}
 .mc-compare{--mc-label:96px;--mc-column:176px;font-size:13px}
 .mc-intro{align-items:stretch;flex-direction:column;gap:12px;margin-bottom:16px}
 .mc-intro>.mc-button{align-self:flex-start}
 .mc-lead{font-size:14px}
 .mc-toolbar{padding:8px 10px;gap:6px;align-items:flex-start}
 .mc-difference-control{font-size:12px;gap:7px;line-height:1.4}
 .mc-clear{font-size:12px;padding:6px;line-height:1.4}
 .mc-scroll{max-height:75vh;max-height:75dvh;border-radius:8px}
 .mc-table th,.mc-table td{padding:12px 10px;font-size:12px}
 .mc-table thead th{padding:7px 10px 12px}
 #module-poscompare-comparePage .mc-table :is(th,td):not(:first-child){padding:12px 10px!important}
 #module-poscompare-comparePage .mc-table thead th:not(:first-child){padding:7px 10px 12px!important}
 #module-poscompare-comparePage .mc-table th .mc-price{font-size:20px!important;margin:4px 0 8px!important}
 .mc-table thead .mc-corner{padding:10px}
 .mc-corner span{font-size:13px}
 .mc-corner small{font-size:11px}
 .mc-image{height:80px;margin-bottom:8px}
 .mc-product-name{font-size:12px;min-height:68px}
 .mc-price{font-size:20px;margin:4px 0 8px}
 .mc-remove{font-size:11px}
 .mc-product-link{padding:8px;font-size:12px;min-height:36px}
 .mc-missing{font-size:12px}
 .mc-confirm{align-items:flex-start;flex-direction:column}
 .mc-scroll-hint{font-size:12px;max-width:220px}
 .mc-empty{padding:28px 18px}
}
@media(prefers-reduced-motion:reduce){.mc-scroll{scroll-behavior:auto}}
@media(max-width:360px){.mc-compare{--mc-label:80px;--mc-column:156px}}
