/* ===== 1) Nessun effetto hover con una sola immagine ===== */
.product-card:hover .pc-media.pc-no-hover .pc-img,
.product-card:hover .pc-media.pc-no-hover .pc-img-1,
.product-card:hover .pc-media.pc-no-hover .pc-img-2,
.pc-media.pc-no-hover:hover .pc-img,
.pc-media.pc-no-hover:hover .pc-img-1,
.pc-media.pc-no-hover:hover .pc-img-2 { opacity:1 !important; transform:none !important; transition:none !important; visibility:visible !important; filter:none !important; }
/* ===== 2) Griglia catalogo configurabile ===== */
@media (min-width: 992px) {
    .cat-cols-3 > [class*="col-"] { flex: 0 0 33.3333%; max-width: 33.3333%; }
    .cat-cols-5 > [class*="col-"] { flex: 0 0 20%; max-width: 20%; }
}
/* ===== 3) Card prodotto: base ===== */
.product-card { position: relative; background:#fff; border:1px solid #eef2f7; border-radius:12px; overflow:hidden; height:100%; display:flex; flex-direction:column; transition:box-shadow .2s ease, transform .2s ease; }
.product-card:hover { box-shadow:0 10px 30px rgba(15,23,42,.10); transform:translateY(-2px); }
.pc-media { position:relative; overflow:hidden; background:#f8fafc; }
.pc-media img, .pc-media .pc-img { width:100%; height:260px; object-fit:cover; display:block; transition:transform .35s ease, opacity .35s ease; }
.pc-media .pc-img-2 { position:absolute; inset:0; opacity:0; }
.product-card:hover .pc-media.pc-no-hover .pc-img-2 { opacity:0 !important; }
.product-card:hover .pc-media .pc-img-1 { opacity:0; }
.product-card:hover .pc-media .pc-img-2 { opacity:1; }
.pc-noimg { width:100%; height:260px; display:flex; align-items:center; justify-content:center; background:#eef2f7; color:#94a3b8; font-size:2rem; }
.pc-badges { position:absolute; top:10px; left:10px; display:flex; flex-direction:column; gap:6px; z-index:3; }
.pc-badge { background:#16a34a; color:#fff; font-size:.7rem; font-weight:700; padding:3px 8px; border-radius:6px; }
.pc-badge.sale { background:#e11d48; }
.pc-info { padding:14px 16px 16px; display:flex; flex-direction:column; gap:6px; flex:1 1 auto; }
.pc-brand { color:#94a3b8; font-size:.72rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
.pc-name { color:#111827; font-weight:600; font-size:.95rem; line-height:1.35; text-decoration:none; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.pc-name:hover { color:#4f46e5; }
.pc-price { color:#111827; font-weight:800; }
.pc-price .old { color:#94a3b8; text-decoration:line-through; font-weight:500; margin-left:6px; font-size:.85em; }
.pc-actions { margin-top:auto; display:flex; gap:8px; }
.pc-btn { flex:1 1 auto; display:inline-flex; align-items:center; justify-content:center; gap:8px; background:#111214; color:#fff; border:0; border-radius:8px; padding:10px 12px; font-weight:600; font-size:.85rem; cursor:pointer; text-decoration:none; transition:.2s; }
.pc-btn:hover { background:#4f46e5; color:#fff; }
.pc-btn.ghost { background:#fff; color:#111214; border:1px solid #e2e8f0; flex:0 0 42px; padding:10px 0; }
.pc-btn.ghost:hover { border-color:#111214; }
/* ===== 4) Hover ricco ===== */
.pc-hover { position:absolute; left:0; right:0; bottom:0; background:rgba(255,255,255,.93); backdrop-filter:blur(4px); padding:8px 10px; display:flex; flex-direction:column; gap:6px; transform:translateY(102%); transition:transform .25s ease; z-index:4; }
.product-card:hover .pc-hover { transform:translateY(0); }
.pc-h-brand { font-size:.72rem; text-transform:uppercase; letter-spacing:.06em; color:#64748b; font-weight:700; }
.pc-h-sizes { display:flex; gap:4px; flex-wrap:wrap; }
.pc-h-sizes span { border:1px solid #e2e8f0; border-radius:4px; font-size:.68rem; padding:1px 6px; color:#334155; background:#fff; }
.pc-h-swatches { display:flex; gap:5px; }
.pc-h-swatches i { width:14px; height:14px; border-radius:50%; border:1px solid rgba(0,0,0,.15); display:block; }
/* ===== 5) Descrizione lunga categoria/brand ===== */
.rgb-cat-desc { font-size:.92rem; line-height:1.7; color:#475569; }
.rgb-cat-desc img { max-width:100%; height:auto; border-radius:10px; margin:10px 0; }
.rgb-cat-desc h2, .rgb-cat-desc h3 { font-weight:700; color:#111827; margin:14px 0 8px; }
/* ===== 6) Topbar sopra a tutto + dropdown ===== */
body .rgb-topbar { position:relative; z-index:1055; }
body .rgb-header { position:relative; z-index:1040; background:var(--rgb-menu-bg, #111214); }
body .rgb-header, body .rgb-header-inner { overflow:visible !important; }
body .rgb-topbar .dropdown-menu { background:#fff; border:1px solid #e2e8f0; border-radius:10px; box-shadow:0 12px 32px rgba(15,23,42,.14); min-width:110px; padding:6px; margin-top:6px; }
body .rgb-topbar .dropdown-item { color:#334155; font-size:.85rem; padding:6px 12px; border-radius:6px; background:transparent; }
body .rgb-topbar .dropdown-item:hover, body .rgb-topbar .dropdown-item:focus, body .rgb-topbar .dropdown-item.active { background:#eef2ff; color:#4f46e5; }
/* ===== 7) Brand e logo responsive ===== */
.rgb-brand { display:inline-flex; align-items:center; text-decoration:none; color:var(--rgb-menu-text, #ffffff); }
.rgb-brand:hover { color:var(--rgb-menu-hover, #ffffff); text-decoration:none; }
.rgb-brand-logo { max-height:56px; width:auto; object-fit:contain; }
.rgb-brand-text { font-size:1.4rem; font-weight:800; letter-spacing:-.01em; color:inherit; }
@media (max-width: 767.98px) {
    .rgb-brand-logo-d { display:none !important; }
    .rgb-brand-logo-m { display:block !important; max-height:42px; }
}
/* ===== 8) Header mobile pulito + offcanvas menu ===== */
@media (max-width: 991.98px) {
    body .mm-mobile-nav { display:none !important; }
    body .rgb-header-inner { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:8px; padding-top:10px; padding-bottom:10px; }
    body .rgb-burger { order:1; justify-self:start; width:42px; height:42px; }
    body .rgb-brand { order:2; justify-self:center; margin:0; }
    body .rgb-header-icons { order:3; justify-self:end; display:flex; align-items:center; gap:6px; }
    body .rgb-icon-btn { width:38px; height:38px; font-size:1.05rem; }
    body .rgb-badge { top:-4px; right:-4px; font-size:.6rem; }
    body #rgbMobileMenu { position:fixed !important; top:0 !important; left:0 !important; bottom:0 !important; height:100% !important; max-height:100vh !important; z-index:1080 !important; overflow-y:auto !important; }
    body .offcanvas-backdrop { position:fixed !important; inset:0 !important; z-index:1075 !important; }
}
@media (max-width: 400px) {
    body .rgb-brand-text { font-size:1.05rem; }
    body .rgb-icon-btn { width:34px; height:34px; }
}
/* ===== 9) Utente loggato + mobile senza icona login ===== */
.rgb-icon-account.is-auth { background:#ffffff; color:#0b1220; border-color:#ffffff; }
.rgb-icon-account.is-auth:hover { background:#e5e7eb; color:#0b1220; }
.rgb-user-name { color:var(--rgb-menu-text, #e5e7eb); font-size:.85rem; font-weight:600; margin:0 -2px 0 0; white-space:nowrap; }
@media (max-width: 991.98px) {
    body .rgb-icon-account.guest { display:none !important; }
}
/* ===== 10) Drawer carrello (completo e pulito) ===== */
body .cd-overlay { position:fixed; inset:0; background:rgba(15,23,42,.5); backdrop-filter:blur(3px); z-index:1070; opacity:0; visibility:hidden; transition:.3s; }
body .cd-overlay.show { opacity:1; visibility:visible; }
body .cd-drawer { position:fixed; top:0; right:0; bottom:0; width:min(440px,95vw); background:#fff; z-index:1071; transform:translateX(100%); transition:transform .35s cubic-bezier(.4,0,.2,1); display:flex; flex-direction:column; box-shadow:-10px 0 40px rgba(0,0,0,.15); }
body .cd-drawer.open { transform:translateX(0); }
body .cd-head { padding:18px 20px; display:flex; align-items:center; justify-content:space-between; gap:12px; border-bottom:1px solid #f1f5f9; flex:0 0 auto; }
body .cd-head h5 { font-size:1.05rem; margin:0; white-space:nowrap; }
body .cd-head .cd-count { color:#64748b; font-weight:500; }
body .cd-close { border:0; background:#f1f5f9; width:36px; height:36px; flex:0 0 36px; border-radius:50%; display:flex; align-items:center; justify-content:center; cursor:pointer; transition:.2s; }
body .cd-close:hover { background:#e11d48; color:#fff; transform:rotate(90deg); }
body .cd-ship { padding:14px 20px; background:#f8fafc; border-bottom:1px solid #f1f5f9; flex:0 0 auto; }
body .cd-ship-done { background:#f0fdf4; }
body .cd-bar { height:6px; background:#e2e8f0; border-radius:3px; overflow:hidden; }
body .cd-bar-fill { height:100%; border-radius:3px; transition:width .6s cubic-bezier(.4,0,.2,1); }
body .cd-body { flex:1 1 auto; overflow-y:auto; padding:8px 20px; scrollbar-width:thin; }
body .cd-empty { text-align:center; padding:60px 20px; display:flex; flex-direction:column; align-items:center; gap:10px; }
body .cd-empty i { font-size:2.6rem; color:#cbd5e1; }
body .cd-explore { display:inline-block; background:#111214; color:#ffffff; border-radius:4px; padding:12px 16px; font-weight:700; font-size:.85rem; text-decoration:none; transition:.2s; }
body .cd-explore:hover { background:#db1215; color:#ffffff; }
body .cd-item { display:flex; gap:12px; padding:14px 0; border-bottom:1px solid #f1f5f9; align-items:flex-start; }
body .cd-item:last-child { border-bottom:0; }
body .cd-item-img { width:60px; height:60px; flex:0 0 60px; border-radius:8px; overflow:hidden; background:#f1f5f9; border:1px solid #e2e8f0; }
body .cd-item-img img { width:100%; height:100%; object-fit:cover; }
body .cd-item-empty { width:100%; height:100%; display:flex; align-items:center; justify-content:center; color:#94a3b8; }
body .cd-item-info { flex:1 1 auto; min-width:0; }
body .cd-item-name { font-size:.9rem; font-weight:600; line-height:1.3; margin-bottom:4px; }
body .cd-item-price { font-size:.8rem; color:#64748b; margin-bottom:8px; }
body .cd-item-qty { display:inline-flex; align-items:center; border:1px solid #e2e8f0; border-radius:6px; overflow:hidden; }
body .cd-qbtn { border:0; background:#f8fafc; width:26px; height:26px; cursor:pointer; font-weight:700; display:flex; align-items:center; justify-content:center; transition:.15s; }
body .cd-qbtn:hover { background:#e2e8f0; }
body .cd-qty-input { width:34px; height:26px; border:0; text-align:center; font-size:.85rem; font-weight:600; outline:0; background:transparent; -moz-appearance:textfield; appearance:textfield; padding:0; }
body .cd-qty-input::-webkit-outer-spin-button, body .cd-qty-input::-webkit-inner-spin-button { -webkit-appearance:none; margin:0; }
body .cd-item-right { text-align:right; display:flex; flex-direction:column; align-items:flex-end; gap:8px; flex:0 0 auto; }
body .cd-item-total { font-size:.95rem; font-weight:700; color:#111214; }
body .cd-remove { border:0; background:transparent; color:#94a3b8; cursor:pointer; padding:4px; transition:.15s; }
body .cd-remove:hover { color:#e11d48; }
body .cd-options { padding:12px 20px; border-top:1px solid #f1f5f9; background:#fafbfc; flex:0 0 auto; }
body .cd-opt { display:flex; align-items:center; gap:10px; padding:10px 12px; background:#fff; border:1px solid #e2e8f0; border-radius:8px; }
body .cd-opt > i { color:#6366f1; font-size:1.1rem; flex:0 0 auto; }
body .cd-opt-input { border:0; outline:0; flex:1 1 auto; background:transparent; font-size:.85rem; padding:0; width:100%; }
body .cd-foot { padding:16px 20px; background:#fff; border-top:1px solid #f1f5f9; flex:0 0 auto; }
body .cd-row { display:flex; justify-content:space-between; align-items:center; margin-bottom:6px; font-size:.9rem; }
body .cd-row-sub { margin-bottom:4px; }
body .cd-row-total { font-size:1.1rem; margin-top:8px; margin-bottom:14px; }
body .cd-divider { height:1px; background:#f1f5f9; margin:8px 0; }
body .cd-checkout { display:flex; align-items:center; justify-content:center; gap:10px; background:linear-gradient(135deg,#16a34a,#15803d); color:#fff; text-decoration:none; padding:14px; border-radius:10px; font-weight:700; font-size:1rem; transition:.2s; box-shadow:0 4px 14px rgba(22,163,74,.3); }
body .cd-checkout:hover { transform:translateY(-2px); box-shadow:0 8px 20px rgba(22,163,74,.4); color:#fff; }
body .cd-view-cart { display:block; text-align:center; margin-top:10px; color:#64748b; text-decoration:none; font-size:.85rem; }
body .cd-view-cart:hover { color:#111214; }
body .cd-sticky { position:fixed; bottom:0; left:0; right:0; background:#111214; z-index:1020; transform:translateY(100%); transition:transform .3s; box-shadow:0 -4px 20px rgba(0,0,0,.2); }
body .cd-sticky-show { transform:translateY(0); }
body .cd-sticky-inner { display:flex; align-items:center; justify-content:space-between; padding:14px 18px; text-decoration:none; color:#fff; }
body .cd-sticky-info { display:flex; align-items:center; gap:10px; }
body .cd-sticky-badge { background:#e11d48; color:#fff; font-weight:700; font-size:.8rem; min-width:26px; height:26px; border-radius:13px; display:flex; align-items:center; justify-content:center; padding:0 8px; }
body .cd-sticky-label { font-size:.9rem; }
body .cd-sticky-total { display:flex; align-items:center; gap:8px; font-weight:700; font-size:1.05rem; }
body.has-cart { padding-bottom:64px; }
@media (min-width: 768px) { body .cd-sticky { display:none; } }
/* ===== RESCUE 2026-09-28 — regole pulite, vincono su tutto ===== */
.product-card{position: relative;background:#fff;border:1px solid #eef2f7;border-radius:12px;overflow:hidden;height:100%;display:flex;flex-direction:column;transition:box-shadow .2s ease,transform .2s ease;}
.product-card:hover{box-shadow:0 10px 30px rgba(15,23,42,.10);transform:translateY(-2px);}
.pc-media{position:relative;overflow:hidden;background:#f8fafc;}
.pc-media img,.pc-media .pc-img{width:100%;height:260px;object-fit:cover;display:block;transition:transform .35s ease,opacity .35s ease;}
.pc-noimg{width:100%;height:260px;display:flex;align-items:center;justify-content:center;background:#eef2f7;color:#94a3b8;font-size:2rem;}
.pc-badges{position:absolute;top:10px;left:10px;display:flex;flex-direction:column;gap:6px;z-index:3;}
.pc-badge{background:#16a34a;color:#fff;font-size:.7rem;font-weight:700;padding:3px 8px;border-radius:6px;}
.pc-badge.sale{background:#e11d48;}
.pc-info{padding:14px 16px 16px;display:flex;flex-direction:column;gap:6px;flex:1 1 auto;}
.pc-brand{color:#94a3b8;font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;}
.pc-name{color:#111827;font-weight:600;font-size:.95rem;line-height:1.35;text-decoration:none;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.pc-name:hover{color:#4f46e5;}
.pc-price{color:#111827;font-weight:800;}
.pc-price .old{color:#94a3b8;text-decoration:line-through;font-weight:500;margin-left:6px;font-size:.85em;}
.pc-actions{margin-top:auto;display:flex;gap:8px;}
.pc-btn{flex:1 1 auto;display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#111214;color:#fff;border:0;border-radius:8px;padding:10px 12px;font-weight:600;font-size:.85rem;cursor:pointer;text-decoration:none;transition:.2s;}
.pc-btn:hover{background:#4f46e5;color:#fff;}
.pc-btn.ghost{background:#fff;color:#111214;border:1px solid #e2e8f0;flex:0 0 42px;padding:10px 0;}
.pc-hover{position:absolute;left:0;right:0;bottom:0;background:rgba(255,255,255,.93);backdrop-filter:blur(4px);padding:8px 10px;display:flex;flex-direction:column;gap:6px;transform:translateY(102%);transition:transform .25s ease;z-index:4;}
.product-card:hover .pc-hover{transform:translateY(0);}
.rgb-cat-desc{font-size:.92rem;line-height:1.7;color:#475569;}
.rgb-cat-desc img{max-width:100%;height:auto;border-radius:10px;margin:10px 0;}
body .rgb-topbar{position:relative;z-index:1055;}
body .rgb-header{position:relative;z-index:1040;background:var(--rgb-menu-bg,#111214);}
body .rgb-header,body .rgb-header-inner{overflow:visible !important;}
body .rgb-topbar .dropdown-menu{background:#fff;border:1px solid #e2e8f0;border-radius:10px;box-shadow:0 12px 32px rgba(15,23,42,.14);min-width:110px;padding:6px;margin-top:6px;}
body .rgb-topbar .dropdown-item{color:#334155;font-size:.85rem;padding:6px 12px;border-radius:6px;background:transparent;}
body .rgb-topbar .dropdown-item:hover,body .rgb-topbar .dropdown-item:focus,body .rgb-topbar .dropdown-item.active{background:#eef2ff;color:#4f46e5;}
.rgb-brand{display:inline-flex;align-items:center;text-decoration:none;color:var(--rgb-menu-text,#ffffff);}
.rgb-brand:hover{color:var(--rgb-menu-hover,#ffffff);text-decoration:none;}
.rgb-brand-logo{max-height:56px;width:auto;object-fit:contain;}
.rgb-brand-text{font-size:1.4rem;font-weight:800;letter-spacing:-.01em;color:inherit;}
@media (max-width:767.98px){.rgb-brand-logo-d{display:none !important;}.rgb-brand-logo-m{display:block !important;max-height:42px;}}
@media (max-width:991.98px){
body .mm-mobile-nav{display:none !important;}
body .rgb-header-inner{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;padding-top:10px;padding-bottom:10px;}
body .rgb-burger{order:1;justify-self:start;width:42px;height:42px;}
body .rgb-brand{order:2;justify-self:center;margin:0;}
body .rgb-header-icons{order:3;justify-self:end;display:flex;align-items:center;gap:6px;}
body .rgb-icon-btn{width:38px;height:38px;font-size:1.05rem;}
body .rgb-badge{top:-4px;right:-4px;font-size:.6rem;}
body #rgbMobileMenu{position:fixed !important;top:0 !important;left:0 !important;bottom:0 !important;height:100% !important;max-height:100vh !important;z-index:1080 !important;overflow-y:auto !important;}
body .offcanvas-backdrop{position:fixed !important;inset:0 !important;z-index:1075 !important;}
body .rgb-icon-account.guest{display:none !important;}
}
@media (max-width:400px){body .rgb-brand-text{font-size:1.05rem;}body .rgb-icon-btn{width:34px;height:34px;}}
.rgb-icon-account.is-auth{background:#ffffff;color:#0b1220;border-color:#ffffff;}
.rgb-icon-account.is-auth:hover{background:#e5e7eb;color:#0b1220;}
.rgb-user-name{color:var(--rgb-menu-text,#e5e7eb);font-size:.85rem;font-weight:600;margin:0 -2px 0 0;white-space:nowrap;}
/* ----- Drawer carrello: blindato ----- */
body .cd-overlay{position:fixed;inset:0;background:rgba(15,23,42,.5);backdrop-filter:blur(3px);z-index:1080;opacity:0;visibility:hidden;transition:.3s;}
body .cd-overlay.show{opacity:1;visibility:visible;}
body .cd-drawer{position:fixed;top:0;right:0;bottom:0;width:min(440px,95vw);background:#fff;z-index:1090;transform:translateX(100%);transition:transform .35s cubic-bezier(.4,0,.2,1);display:flex;flex-direction:column;box-shadow:-10px 0 40px rgba(0,0,0,.15);}
body .cd-drawer.open{transform:translateX(0);}
body .cd-head{padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #f1f5f9;flex:0 0 auto;background:#fff;}
body .cd-head h5{font-size:1.05rem;margin:0;white-space:nowrap;}
body .cd-head .cd-count{color:#64748b;font-weight:500;}
body .cd-close{border:0;background:#f1f5f9;width:36px;height:36px;flex:0 0 36px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:.2s;}
body .cd-close:hover{background:#e11d48;color:#fff;transform:rotate(90deg);}
body .cd-ship{padding:14px 20px;background:#f8fafc;border-bottom:1px solid #f1f5f9;flex:0 0 auto;}
body .cd-ship-done{background:#f0fdf4;}
body .cd-bar{height:6px;background:#e2e8f0;border-radius:3px;overflow:hidden;}
body .cd-bar-fill{height:100%;border-radius:3px;transition:width .6s cubic-bezier(.4,0,.2,1);}
body .cd-body{flex:1 1 auto;overflow-y:auto;padding:8px 20px;}
body .cd-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;padding:60px 20px;}
body .cd-empty i{font-size:2.6rem;color:#cbd5e1;}
body .cd-explore{display:inline-block;background:#111214;color:#fff;border-radius:4px;padding:12px 16px;font-weight:700;font-size:.85rem;text-decoration:none;transition:.2s;}
body .cd-explore:hover{background:#db1215;color:#fff;}
body .cd-item{display:flex;gap:12px;padding:14px 0;border-bottom:1px solid #f1f5f9;align-items:flex-start;}
body .cd-item-img{width:60px;height:60px;flex:0 0 60px;border-radius:8px;overflow:hidden;background:#f1f5f9;border:1px solid #e2e8f0;}
body .cd-item-img img{width:100%;height:100%;object-fit:cover;}
body .cd-item-info{flex:1 1 auto;min-width:0;}
body .cd-item-name{font-size:.9rem;font-weight:600;line-height:1.3;margin-bottom:4px;}
body .cd-item-price{font-size:.8rem;color:#64748b;margin-bottom:8px;}
body .cd-item-qty{display:inline-flex;align-items:center;border:1px solid #e2e8f0;border-radius:6px;overflow:hidden;}
body .cd-qbtn{border:0;background:#f8fafc;width:26px;height:26px;cursor:pointer;font-weight:700;display:flex;align-items:center;justify-content:center;}
body .cd-qty-input{width:34px;height:26px;border:0;text-align:center;font-size:.85rem;font-weight:600;outline:0;background:transparent;padding:0;}
body .cd-item-right{text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:8px;flex:0 0 auto;}
body .cd-item-total{font-size:.95rem;font-weight:700;color:#111214;}
body .cd-remove{border:0;background:transparent;color:#94a3b8;cursor:pointer;padding:4px;}
body .cd-remove:hover{color:#e11d48;}
body .cd-options{padding:12px 20px;border-top:1px solid #f1f5f9;background:#fafbfc;flex:0 0 auto;}
body .cd-opt{display:flex;align-items:center;gap:10px;padding:10px 12px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;}
body .cd-opt-input{border:0;outline:0;flex:1 1 auto;background:transparent;font-size:.85rem;padding:0;width:100%;}
body .cd-foot{padding:16px 20px;background:#fff;border-top:1px solid #f1f5f9;flex:0 0 auto;}
body .cd-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px;font-size:.9rem;}
body .cd-row-total{font-size:1.1rem;margin-top:8px;margin-bottom:14px;}
body .cd-divider{height:1px;background:#f1f5f9;margin:8px 0;}
body .cd-checkout{display:flex;align-items:center;justify-content:center;gap:10px;background:linear-gradient(135deg,#16a34a,#15803d);color:#fff;text-decoration:none;padding:14px;border-radius:10px;font-weight:700;font-size:1rem;}
body .cd-checkout:hover{color:#fff;filter:brightness(1.05);}
body .cd-view-cart{display:block;text-align:center;margin-top:10px;color:#64748b;text-decoration:none;font-size:.85rem;}
body .cd-sticky{position:fixed;bottom:0;left:0;right:0;background:#111214;z-index:1020;transform:translateY(100%);transition:transform .3s;}
body .cd-sticky-show{transform:translateY(0);}
body .cd-sticky-inner{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;text-decoration:none;color:#fff;}
body .cd-sticky-badge{background:#e11d48;color:#fff;font-weight:700;font-size:.8rem;min-width:26px;height:26px;border-radius:13px;display:flex;align-items:center;justify-content:center;padding:0 8px;}
@media (min-width:768px){body .cd-sticky{display:none;}}
/* ===== 11) Pagina prodotto (layout, gallery, swatch, lightbox) ===== */
.product-layout{display:grid;grid-template-columns:1fr;gap:32px;margin-top:8px;}
.product-layout > [class*="col-"]{width:100% !important;max-width:100%;}
@media (min-width: 768px){ .product-layout{grid-template-columns:1fr 1fr;gap:44px;} }
#mainImg{width:100%;height:auto;max-height:560px;object-fit:cover;border:1px solid #eef2f7;border-radius:12px;background:#f8fafc;}
.gallery-thumb{width:84px;height:84px;object-fit:cover;border-radius:8px;border:2px solid transparent;cursor:pointer;opacity:.75;transition:.2s;background:#f8fafc;}
.gallery-thumb:hover{opacity:1;}
.gallery-thumb.active{border-color:#111214;opacity:1;}
.product-layout h2{font-size:1.7rem;font-weight:800;line-height:1.2;margin:.35rem 0 .25rem;color:#111827;}
.product-layout h3#priceBox{font-size:1.35rem;font-weight:800;color:#111827;margin:0;}
.swatch-group{margin-bottom:14px;}
.swatch-label{display:block;font-size:.78rem;font-weight:700;color:#64748b;text-transform:uppercase;letter-spacing:.06em;margin-bottom:8px;}
.swatches{display:flex;flex-wrap:wrap;gap:10px;}
.swatch{width:38px;height:38px;border-radius:50%;border:2px solid #e2e8f0;cursor:pointer;transition:.15s;background-clip:padding-box;}
.swatch:hover{border-color:#94a3b8;}
.swatch.active{border-color:#111214;box-shadow:0 0 0 2px #fff inset;}
.swatch-text{width:auto;height:auto;min-width:44px;padding:8px 14px;border-radius:8px;background:#fff;color:#334155;font-size:.85rem;font-weight:600;display:inline-flex;align-items:center;justify-content:center;}
.swatch-text.active{background:#111214;color:#fff;border-color:#111214;}
.btn-add-cart{background:#111214;color:#fff;border:0;border-radius:10px;padding:12px 18px;font-weight:700;transition:.2s;}
.btn-add-cart:hover:not(:disabled){background:#4f46e5;color:#fff;}
.btn-add-cart:disabled{opacity:.45;cursor:not-allowed;}
.lightbox{position:fixed;inset:0;z-index:2000;background:rgba(10,10,14,.92);display:none;align-items:center;justify-content:center;padding:4vh 4vw;}
.lightbox.open{display:flex;}
.lightbox img{max-width:100%;max-height:92vh;border-radius:10px;box-shadow:0 30px 80px rgba(0,0,0,.5);}
.lightbox-close{position:absolute;top:18px;right:22px;width:46px;height:46px;border:0;border-radius:50%;background:#fff;color:#111;font-size:1.1rem;cursor:pointer;}
.lightbox-close:hover{background:#e11d48;color:#fff;}
/* ===== 12) Container sito più larghi su schermi grandi ===== */
@media (min-width: 1400px) { body .container { max-width: 1560px; } }
@media (min-width: 1900px) { body .container { max-width: 1760px; } }
/* ===== 13) Checkout pro: griglia 3 colonne ===== */
.checkout-pro-container { max-width: none; width: 100%; padding: 28px 4vw 72px; }
.checkout-pro-grid { display: grid; grid-template-columns: minmax(340px, 1.15fr) minmax(320px, 1fr) minmax(300px, .95fr); gap: 28px; align-items: start; }
.checkout-column { min-width: 0; }
@media (max-width: 1279.98px) { .checkout-pro-grid { grid-template-columns: 1fr 1fr; } .checkout-column-3 { grid-column: 1 / -1; order: 3; } }
@media (max-width: 899.98px) { .checkout-pro-grid { grid-template-columns: 1fr; } .checkout-column-3 { grid-column: auto; order: 0; } }