/* ===== Niente effetto hover sui prodotti 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;
}
/* ===== Griglia catalogo configurabile (3/4/5 colonne) ===== */
@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%;}
}

/* ===== Hover ricco sulle card prodotto ===== */
.pc-media{position:relative;overflow:hidden;}
.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;}
.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;}.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;}
.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;}
/* ===== FIX MEGAMENU + DROPDOWN TOPBAR (override finale, non modificare sopra) ===== */
body .rgb-topbar{position:relative;z-index:1055;}
body .rgb-header{position:relative;z-index:1040;}
body .rgb-header, body .rgb-header-inner{overflow:visible !important;}

/* Annulla gli hack di altezza/allineamento del megamenu */
body .rgb-header-inner{align-items:center;padding-top:14px;padding-bottom:14px;}
body .rgb-main-nav{align-items:center;}
body .mm-list{align-items:center;height:auto;}
body .mm-item{display:block;height:auto;position:relative;}
body .mm-link{align-self:auto;margin-bottom:0;align-items:center;}
body .mm-panel{position:absolute;top:100%;left:0;min-width:260px;background:#fff;
    box-shadow:0 16px 40px rgba(15,23,42,.14);border-top:1px solid #eef2f7;
    opacity:0;visibility:hidden;transform:translateY(8px);transition:.22s ease;
    z-index:1035;padding:18px 22px;border-radius:0 0 12px 12px;}
body .mm-item:hover > .mm-panel{opacity:1;visibility:visible;transform:translateY(0);}
body .mm-panel-wide{position:absolute;top:100%;left:50%;width:100vw;max-width:100vw;min-width:0;
    transform:translate(-50%, 8px);padding:32px 0;border-radius:0;z-index:1029;}
body .mm-item:hover > .mm-panel-wide{opacity:1;visibility:visible;transform:translate(-50%, 0);}
body .mm-panel-wide .mm-grid{max-width:1240px;margin:0 auto;padding:0 28px;}
body .mm-title{font-weight:700;}
body .mm-badge{border-radius:8px;}
body .mm-links a{display:inline-flex;align-items:center;}
body .mm-products{grid-template-columns:repeat(2,1fr);}
body .mm-product:hover{background:#eef2ff;}
body .mm-p-name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
body .mm-banner{border-radius:12px;}
body .mm-banner-fallback{background:linear-gradient(135deg,#4f46e5,#7c3aed);}
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;}