/* =====================================================================
   RODITOR & PHILADELPHIA - stile del sito (Helix Ultimate)
   File: templates/shaper_helixultimate/css/custom.css
   Helix lo carica automaticamente per tutti gli stili (IT ed EN).
   ===================================================================== */

/* ---------- 1. Colori e misure (modificabili qui) ---------- */
:root {
  --rp-blue:        #2E9FDC;   /* azzurro del logo, leggermente piu' saturo */
  --rp-blue-dark:   #1B7FB8;   /* hover / link */
  --rp-navy:        #0F2A3F;   /* barra superiore e footer */
  --rp-navy-2:      #16384F;
  --rp-ink:         #1C2730;   /* testo principale */
  --rp-muted:       #5E6E7C;   /* testo secondario */
  --rp-line:        #E3E9EE;   /* bordi */
  --rp-soft:        #F4F7FA;   /* sfondi chiari di sezione */
  --rp-radius:      10px;
  --rp-shadow:      0 2px 10px rgba(15, 42, 63, .06);
  --rp-shadow-hover:0 14px 34px rgba(15, 42, 63, .12);
  --rp-ease:        .25s ease;
  --rp-font-head:   "Barlow", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --rp-font-body:   "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- 2. Tipografia ---------- */
body {
  font-family: var(--rp-font-body);
  color: var(--rp-ink);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6,
.article-header h1, .article-header h2, .page-header h1 {
  font-family: var(--rp-font-head);
  color: var(--rp-navy);
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 1.4rem + 2vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
h3 { font-size: 1.35rem; }
a { color: var(--rp-blue-dark); transition: color var(--rp-ease); }
a:hover, a:focus { color: var(--rp-blue); }
::selection { background: var(--rp-blue); color: #fff; }

/* ---------- 3. Barra superiore ---------- */
#sp-top-bar {
  background: var(--rp-navy);
  color: rgba(255,255,255,.75);
  font-size: 13px;
  padding: 6px 0;
}
#sp-top-bar a, #sp-top-bar .sp-contact-info li, #sp-top-bar .social-icons a { color: rgba(255,255,255,.8); }
#sp-top-bar a:hover, #sp-top-bar .social-icons a:hover { color: #fff; }
#sp-top-bar .social-icons li { margin-right: 14px; }

/* ---------- 4. Header e menu ---------- */
#sp-header {
  background: #fff;
  box-shadow: 0 1px 0 var(--rp-line);
  transition: box-shadow var(--rp-ease);
}
#sp-header.header-sticky { box-shadow: 0 6px 24px rgba(15,42,63,.08); }
#sp-header .logo img { height: 60px; max-height: none; width: auto; }
@media (max-width: 991px) { #sp-header .logo img { height: 46px; } }

.sp-megamenu-parent > li > a,
.sp-megamenu-parent > li > span {
  font-family: var(--rp-font-head);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--rp-navy);
  position: relative;
  padding: 0 11px;
}
.sp-megamenu-parent > li > a::after {
  content: "";
  position: absolute;
  left: 11px; right: 11px; bottom: 16px;
  height: 2px;
  background: var(--rp-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--rp-ease);
}
.sp-megamenu-parent > li:hover > a,
.sp-megamenu-parent > li.active > a { color: var(--rp-blue-dark); }
.sp-megamenu-parent > li:hover > a::after,
.sp-megamenu-parent > li.active > a::after { transform: scaleX(1); }

/* menu orizzontale solo da 1200px in su; sotto si usa il menu a scomparsa */
@media (max-width: 1199.98px) {
  .sp-megamenu-parent { display: none !important; }
}
@media (min-width: 1200px) {
  #offcanvas-toggler { display: none !important; }
}

/* menu a scomparsa (mobile/tablet) */
.offcanvas-menu { background: #fff; }
.offcanvas-menu .offcanvas-inner .menu > li > a,
.offcanvas-menu .offcanvas-inner .menu > li > span {
  font-family: var(--rp-font-head);
  font-size: 17px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em;
  color: var(--rp-navy); padding: 12px 0; border-bottom: 1px solid var(--rp-line); display: block;
}
.offcanvas-menu .offcanvas-inner .menu > li.active > a,
.offcanvas-menu .offcanvas-inner .menu > li > a:hover { color: var(--rp-blue-dark); }
.offcanvas-menu .mod-languages { margin-top: 20px; }

/* sottomenu */
.sp-megamenu-parent .sp-dropdown .sp-dropdown-inner {
  border-radius: var(--rp-radius);
  box-shadow: var(--rp-shadow-hover);
  border: 1px solid var(--rp-line);
  padding: 10px 0;
}
.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a { color: var(--rp-ink); padding: 8px 20px; }
.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a:hover { color: var(--rp-blue-dark); background: var(--rp-soft); }

/* selettore lingua: bandierine affiancate */
.mod-languages ul.lang-inline { display: flex; gap: 8px; margin: 0; padding: 0; }
.mod-languages ul.lang-inline li { margin: 0; opacity: .55; transition: opacity var(--rp-ease); }
.mod-languages ul.lang-inline li.lang-active,
.mod-languages ul.lang-inline li:hover { opacity: 1; }
.mod-languages img { border-radius: 2px; }
#sp-menu .sp-module { margin-left: 26px; padding-left: 22px; border-left: 1px solid var(--rp-line); line-height: 1; }
@media (max-width: 1199.98px) { #sp-menu .sp-module { margin-left: 0; padding-left: 0; border-left: 0; margin-right: 14px; } }

/* ---------- 5. Titolo pagina e contenitore ---------- */
#sp-main-body { padding: 60px 0 80px; }
.page-header, .com-content-category-blog > .page-header { margin-bottom: 30px; border: 0; }
.category-desc, .base-desc { color: var(--rp-muted); font-size: 1.05rem; max-width: 860px; }
.category-desc h2, .base-desc h2 { color: var(--rp-navy); margin-bottom: .5em; }

/* ---------- 6. Pulsanti ---------- */
.btn, .btn-paste, .readmore .btn, .sppb-btn {
  border-radius: 6px;
  font-family: var(--rp-font-head);
  font-weight: 600;
  letter-spacing: .02em;
  transition: all var(--rp-ease);
}
.btn-primary, .sppb-btn-primary {
  background: var(--rp-blue); border-color: var(--rp-blue); color: #fff;
}
.btn-primary:hover, .sppb-btn-primary:hover {
  background: var(--rp-blue-dark); border-color: var(--rp-blue-dark); color: #fff;
  transform: translateY(-1px); box-shadow: 0 8px 20px rgba(46,159,220,.3);
}
.btn-paste, .btn-paste:hover {
  display: inline-block;
  background: var(--rp-navy);
  color: #fff !important;
  padding: 12px 28px;
  font-size: 15px;
  text-decoration: none;
  margin: 0 12px 10px 0;
}
.btn-paste:hover { background: var(--rp-blue); transform: translateY(-1px); }

/* ---------- 7. Blog e categorie: griglia di card ---------- */
.com-content-category-blog .article-list > .row { row-gap: 30px; }
.com-content-category-blog .article-list > .row > [class*="col-"] { display: flex; }
.com-content-category-blog .article-list > .row > [class*="col-"] > .article {
  width: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-radius);
  overflow: hidden;
  padding: 0 0 24px;
  box-shadow: var(--rp-shadow);
  transition: transform var(--rp-ease), box-shadow var(--rp-ease);
}
.com-content-category-blog .article-list > .row > [class*="col-"] > .article:hover {
  transform: translateY(-4px);
  box-shadow: var(--rp-shadow-hover);
}
.com-content-category-blog .article > *:not(.article-intro-image) { padding-left: 24px; padding-right: 24px; }
.com-content-category-blog .article-intro-image { float: none; margin: 0 0 20px; overflow: hidden; }
.com-content-category-blog .article-intro-image img {
  width: 100%; height: 220px; object-fit: cover; display: block;
  transition: transform .5s ease;
}
.com-content-category-blog .article:hover .article-intro-image img { transform: scale(1.04); }
.com-content-category-blog .article h2 { font-size: 1.3rem; margin: 0 0 10px; }
.com-content-category-blog .article h2 a { color: var(--rp-navy); text-decoration: none; }
.com-content-category-blog .article h2 a:hover { color: var(--rp-blue-dark); }
.com-content-category-blog .article p { color: var(--rp-muted); font-size: .95rem; }
.com-content-category-blog .readmore { margin-top: auto; }
.com-content-category-blog .readmore a,
.com-content-category-blog .readmore .btn {
  background: none; border: 0; padding: 0;
  color: var(--rp-blue-dark);
  font-family: var(--rp-font-head);
  font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: 14px;
}
.com-content-category-blog .readmore a::after { content: " \2192"; transition: margin var(--rp-ease); }
.com-content-category-blog .readmore a:hover::after { margin-left: 4px; }
.com-content-category-blog .pagination { margin-top: 40px; justify-content: center; }

/* ---------- 8. Elenco sottocategorie (Dischi / Buffs) ---------- */
.com-content-categories__items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.com-content-categories__item {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-radius);
  overflow: hidden;
  box-shadow: var(--rp-shadow);
  transition: transform var(--rp-ease), box-shadow var(--rp-ease);
}
.com-content-categories__item:hover { transform: translateY(-4px); box-shadow: var(--rp-shadow-hover); }
.com-content-categories__item > img { order: -1; width: 100%; height: 220px; object-fit: cover; display: block; }
.com-content-categories__item-title-wrapper { padding: 22px 24px 0; }
.com-content-categories__item-title a {
  font-family: var(--rp-font-head);
  font-size: 1.3rem; font-weight: 600;
  color: var(--rp-navy); text-decoration: none;
}
.com-content-categories__item-title a:hover { color: var(--rp-blue-dark); }
.com-content-categories__description { padding: 8px 24px 24px; color: var(--rp-muted); font-size: .95rem; }
.com-content-categories__description h2 { display: none; }

/* ---------- 9. Pagina articolo / prodotto ---------- */
.article-details .article-header h1 { margin-bottom: 20px; }
.article-details [itemprop="articleBody"] { font-size: 1.02rem; }
.article-details [itemprop="articleBody"] > p,
.article-details [itemprop="articleBody"] > ul,
.article-details [itemprop="articleBody"] > ol { max-width: 900px; }
.article-details [itemprop="articleBody"] img { border-radius: 6px; }
.article-details [itemprop="articleBody"] ul li::marker { color: var(--rp-blue); }
.article-details [itemprop="articleBody"] table {
  width: 100%; border-collapse: collapse; margin: 20px 0;
  font-size: .95rem; border: 1px solid var(--rp-line); border-radius: var(--rp-radius); overflow: hidden;
}
.article-details [itemprop="articleBody"] th { background: var(--rp-navy); color: #fff; font-weight: 600; }
.article-details [itemprop="articleBody"] th,
.article-details [itemprop="articleBody"] td { padding: 10px 14px; border-bottom: 1px solid var(--rp-line); }
.article-details [itemprop="articleBody"] tr:nth-child(even) td { background: var(--rp-soft); }

/* foto affiancate dentro i paragrafi */
.article-details [itemprop="articleBody"] p img { display: inline-block; vertical-align: top; margin: 5px; }
.article-details [itemprop="articleBody"] p:has(> img) { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: none; }
.article-details [itemprop="articleBody"] p:has(> img) img { margin: 0; flex: 0 1 238px; height: auto; }

/* link "Scarica la scheda (PDF)" */
.allegato a, a[href$=".pdf"]:not(.btn-paste):not(.btn) {
  font-weight: 600;
}
.allegato a::before { content: "\2193  "; }

/* condivisione social sotto il titolo: piu' discreta */
.article-details .article-social-share { opacity: .7; }

/* ---------- 10. Contenuti importati dal vecchio sito (classi template "roditor") ---------- */
.left-paste { padding: 20px 24px 20px 0; overflow: hidden; border-right: 1px solid var(--rp-line); }
.left-paste img, .fullimage, .roditor-img, .roditor-article img { width: 100%; height: auto !important; max-width: 100%; border-radius: 6px; }
.left-paste img + img { margin-top: 15px; }
.divider { height: 25px; }
.nopadding { padding: 0 !important; }
.roditor-article { color: var(--rp-muted); line-height: 1.8; padding: 20px 10px 20px 30px; }
.roditor-article h1 {
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem);
  color: var(--rp-navy);
  border-bottom: 2px solid var(--rp-blue);
  display: inline-block;
  padding-bottom: 10px; margin-bottom: 20px;
  line-height: 1.25;
}
.roditor-article strong { color: var(--rp-ink); }
.roditor-text { padding: 20px 0; text-align: center; }
.roditor-text a { font-family: var(--rp-font-head); font-size: 1.3rem; font-weight: 600; color: var(--rp-navy); text-decoration: none; }
.roditor-text a:hover { color: var(--rp-blue-dark); }
.roditor-img { position: relative; overflow: hidden; border-radius: 6px; }
:has(> .img-overlay) { position: relative; }   /* senza contenitore posizionato il velo copriva tutta la pagina */
.img-overlay { position: absolute; inset: 0; background: var(--rp-navy); opacity: .15; transition: opacity var(--rp-ease); pointer-events: none; }
:has(> .img-overlay):hover > .img-overlay { opacity: 0; }
div.itemListCategory {
  background: linear-gradient(135deg, var(--rp-navy) 0%, var(--rp-navy-2) 100%);
  padding: 50px 30px; text-align: center; border-radius: var(--rp-radius); margin: 20px 0 30px;
}
div.itemListCategory h2, .roditor-catdescri h2 { color: #fff; text-align: center; font-size: 1.6rem; }
.roditor-catdescri p { color: rgba(255,255,255,.75); line-height: 1.8; font-size: 1.05rem; max-width: 860px; margin: 0 auto; }

/* ---------- 11. Moduli e form (RSForm) ---------- */
.rsform input[type="text"], .rsform input[type="email"], .rsform input[type="tel"],
.rsform textarea, .rsform select, .form-control {
  border: 1px solid var(--rp-line);
  border-radius: 6px;
  padding: 12px 14px;
  transition: border-color var(--rp-ease), box-shadow var(--rp-ease);
}
.rsform input:focus, .rsform textarea:focus, .form-control:focus {
  border-color: var(--rp-blue);
  box-shadow: 0 0 0 3px rgba(46,159,220,.15);
  outline: 0;
}
.rsform .formRequired { color: var(--rp-blue-dark); }
.rsform .rsform-submit-button, .rsform button[type="submit"] {
  background: var(--rp-blue); border: 0; color: #fff;
  border-radius: 6px; padding: 12px 34px;
  font-family: var(--rp-font-head); font-weight: 600; letter-spacing: .03em; text-transform: uppercase;
}
.rsform .rsform-submit-button:hover, .rsform button[type="submit"]:hover { background: var(--rp-blue-dark); }

/* ---------- 12. Footer ---------- */
#sp-bottom {
  background: var(--rp-navy);
  color: rgba(255,255,255,.72);
  padding: 70px 0 40px;
  font-size: 14px;
}
#sp-bottom h2, #sp-bottom h3, #sp-bottom .sp-module-title {
  font-family: var(--rp-font-head);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: .02em;
  margin-bottom: 18px;
}
#sp-bottom a { color: rgba(255,255,255,.85); }
#sp-bottom a:hover { color: var(--rp-blue); }
#sp-bottom img { transition: transform var(--rp-ease); }
/* footer: dati aziendali piu' compatti e loghi certificazioni ridotti */
#sp-bottom .mod-custom h2 { font-size: 1.15rem; margin-bottom: 14px; }
#sp-bottom .mod-custom p { line-height: 1.75; }
#sp-bottom .mod-custom .row .row { row-gap: 18px; }
#sp-bottom .mod-custom .text-center { font-size: 12px; line-height: 1.4; color: rgba(255,255,255,.65); }
#sp-bottom .mod-custom .text-center img {
  width: auto !important; height: auto !important;
  max-height: 64px; max-width: 100%;
  display: block; margin: 0 auto 8px;
}
#sp-bottom .mod-custom .text-center br { display: none; }
#sp-bottom a:hover img { transform: translateY(-3px); }
#sp-footer {
  background: #0A1F2F;
  color: rgba(255,255,255,.55);
  font-size: 13px;
  padding: 18px 0;
}
#sp-footer a { color: rgba(255,255,255,.75); }
#sp-footer a:hover { color: #fff; }
#sp-footer ul.menu { display: flex; gap: 20px; justify-content: flex-end; margin: 0; padding: 0; list-style: none; }

/* pulsante "torna su" */
.sp-scroll-up { background: var(--rp-blue); border-radius: 50%; box-shadow: var(--rp-shadow-hover); }
.sp-scroll-up:hover { background: var(--rp-blue-dark); }

/* ---------- 13. Responsive ---------- */
@media (max-width: 991px) {
  #sp-main-body { padding: 40px 0 60px; }
  #sp-footer ul.menu { justify-content: center; }
}
@media (max-width: 767px) {
  .left-paste { border-right: 0; padding-right: 0; }
  .roditor-article { padding: 15px 0; }
  .com-content-category-blog .article-intro-image img,
  .com-content-categories__item > img { height: 200px; }
}

/* ---------- 14. Accessibilita' e movimento ridotto ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* ---------- 15. Articoli "testuali" (Blog e pagine senza layout a colonne) ---------- */
/* colonna di lettura centrata: solo se l'articolo non usa griglie proprie (.row) */
.article-details [itemprop="articleBody"]:not(:has(.row)) {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1.06rem;
  line-height: 1.85;
}
.article-details:not(:has([itemprop="articleBody"] .row)) .article-header,
.article-details:not(:has([itemprop="articleBody"] .row)) .article-info,
.article-details:not(:has([itemprop="articleBody"] .row)) .article-ratings-social-share,
.article-details:not(:has([itemprop="articleBody"] .row)) .article-full-image {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
/* schede prodotto con layout a colonne: hanno gia' le loro foto, niente immagine grande in testa */
.article-details:has([itemprop="articleBody"] .row) .article-full-image { display: none; }
/* primo paragrafo in evidenza */
.article-details [itemprop="articleBody"]:not(:has(.row)) > p:first-child {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--rp-navy);
}
.article-details [itemprop="articleBody"]:not(:has(.row)) > p + p { margin-top: 1.1em; }
/* immagine principale dell'articolo in testa */
.article-details .article-full-image { margin: 0 auto 32px; border-radius: var(--rp-radius); overflow: hidden; }
.article-details .article-full-image img { width: 100%; max-height: 440px; object-fit: cover; display: block; }
/* elenchi in grassetto (es. "Roditor & Philadelphia produce...") come etichette */
.article-details [itemprop="articleBody"]:not(:has(.row)) ul:has(> li > strong:first-child) {
  list-style: none;
  padding: 0;
  margin: 10px 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.article-details [itemprop="articleBody"]:not(:has(.row)) ul:has(> li > strong:first-child) > li {
  background: var(--rp-soft);
  border: 1px solid var(--rp-line);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: .92rem;
}
.article-details [itemprop="articleBody"]:not(:has(.row)) ul:has(> li > strong:first-child) > li strong { font-weight: 600; color: var(--rp-navy); }

/* ---------- 16. Pagine SP Page Builder (Home, Contatti) ---------- */
/* i titoli prendono il colore della sezione (es. bianco sulle immagini di sfondo)
   invece del blu notte del sito; i colori impostati negli addon restano prioritari */
#sp-page-builder :is(h1, h2, h3, h4, h5, h6) { color: inherit; }

/* ---------- 17. Home: certificati negli addon "Image Overlay" (classe "certificazioni") ---------- */
/* la classe puo' stare sulla sezione, sulla colonna o direttamente sull'addon */
.certificazioni .overlay-background-image,
.certificazioni.sppb-addon-overlay-image .overlay-background-image {
  background-size: contain !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-color: var(--rp-soft) !important;   /* grigio chiaro: il triangolino del box accanto resta visibile */
  transform: none !important;
  transition: none !important;
}
.certificazioni .sppb-addon-overlay-image,
.certificazioni.sppb-addon-overlay-image {
  background: var(--rp-soft);
  padding: 14px;
  cursor: pointer;
}
.certificazioni .overlay-background-style,
.certificazioni.sppb-addon-overlay-image .overlay-background-style { display: none !important; }
.certificazioni .sppb-addon-overlay-image-content,
.certificazioni.sppb-addon-overlay-image .sppb-addon-overlay-image-content { background: none !important; }

/* =========================================================
   18. CERTIFICATI – tutta l'immagine apre il PDF
   (il titolo dell'Image Overlay è invisibile e il suo link
   viene esteso a coprire tutto il riquadro)
   ========================================================= */
.certificazioni.sppb-addon-overlay-image { position: relative; }
.certificazioni .sppb-addon-overlay-image-content,
.certificazioni .overlay-image-title,
.certificazioni .overlay-image-title .sppb-addon-title,
.certificazioni .overlay-image-title a { position: static !important; transform: none !important; }
.certificazioni .overlay-image-title .sppb-addon-title {
  margin: 0; font-size: 0 !important; line-height: 0; color: transparent !important;
}
.certificazioni .overlay-image-title a::after {
  content: ""; position: absolute; inset: 0; z-index: 20;
}
.certificazioni.sppb-addon-overlay-image::before {
  content: "Apri il PDF"; position: absolute; right: 22px; bottom: 22px; z-index: 15;
  padding: 6px 12px; border-radius: 999px; background: var(--rp-navy); color: #fff;
  font: 600 12px/1 var(--rp-font-body); letter-spacing: .04em; text-transform: uppercase;
  opacity: 0; transform: translateY(4px); transition: opacity .2s ease, transform .2s ease; pointer-events: none;
}
.certificazioni.sppb-addon-overlay-image:hover::before { opacity: 1; transform: none; }
.certificazioni.sppb-addon-overlay-image:hover { box-shadow: var(--rp-shadow-hover); }
html[lang^="en"] .certificazioni.sppb-addon-overlay-image::before { content: "Open PDF"; }

/* Triangolino dei box di testo a sinistra dell'immagine (2ª riga):
   la colonna dell'immagine viene dopo e lo copriva → testo sopra */
.sppb-row:has(.certificazioni) > [class*="sppb-col-"] > .sppb-column:not(:has(.certificazioni)) { z-index: 2; }

/* Certificati su smartphone: ogni certificato è una card (immagine sopra, testo sotto) */
@media (max-width: 767.98px) {
  .sppb-nested-row:has(.certificazioni) {
    flex-direction: column; background: #fff; border: 1px solid var(--rp-line);
    border-radius: var(--rp-radius); overflow: hidden; margin: 0 16px 18px; box-shadow: var(--rp-shadow);
  }
  .sppb-nested-row:has(.certificazioni) > [class*="sppb-col-"] { width: 100%; max-width: 100%; flex: 0 0 100%; }
  .sppb-nested-row:has(.certificazioni) > [class*="sppb-col-"]:has(.certificazioni) { order: -1; }
  .certificazioni.sppb-addon-overlay-image { height: auto !important; padding: 12px; }
  .certificazioni .sppb-addon-overlay-image-content { height: 300px !important; }
  .sppb-nested-row:has(.certificazioni) > [class*="sppb-col-"]:not(:has(.certificazioni)) .sppb-column { padding: 20px 22px 24px !important; }
  .sppb-nested-row:has(.certificazioni) [id^="sppb-addon-"]::after { display: none !important; }   /* niente triangolini */
  .certificazioni.sppb-addon-overlay-image::before { opacity: 1; transform: none; }                /* "Apri il PDF" sempre visibile */
}

/* =========================================================
   19. HOME – RESPONSIVE (tablet e smartphone, verticale/orizzontale)
   ========================================================= */
/* Countdown della demo Conference: vuoto, lasciava un buco sotto "Made in Italy" */
#sp-page-builder .addon-root-countdown { display: none !important; }

/* Hero: 240px sopra e sotto erano troppi fuori dal desktop */
@media (max-width: 1199.98px) {
  #section-id-1541497752413 { padding-top: 170px !important; padding-bottom: 190px !important; }
}
@media (max-width: 767.98px) {
  #section-id-1541497752413 { padding-top: 110px !important; padding-bottom: 150px !important; }
  #sppb-addon-1541497752522 .sppb-addon-title,
  #sppb-addon-1541498051850 .sppb-addon-title { font-size: 13px !important; letter-spacing: 3px !important; line-height: 1.6 !important; }
}
/* Smartphone in orizzontale (schermo basso): titolo visibile senza scorrere */
@media (max-height: 500px) and (orientation: landscape) {
  #section-id-1541497752413 { padding-top: 70px !important; padding-bottom: 110px !important; }
  #sppb-addon-1541497752522 .sppb-addon-title,
  #sppb-addon-1541498051850 .sppb-addon-title { font-size: 13px !important; letter-spacing: 4px !important; }
  #sppb-addon-1541497752449 .sppb-addon-title { font-size: 40px !important; line-height: 1.1 !important; }
  #sppb-addon-wrapper-1541497752449 { margin-bottom: 20px !important; }
  #sp-top-bar { display: none; }
}

/* "Dal 1958…": tra 768 e 991 immagine e testo affiancati invece che impilati */
@media (min-width: 768px) and (max-width: 991.98px) {
  #section-id-1541497753288 .sppb-row:not(.sppb-nested-row) { flex-wrap: nowrap; align-items: center; }
  #section-id-1541497753288 .sppb-row:not(.sppb-nested-row) > .sppb-col-md-5 { flex: 0 0 40% !important; max-width: 40% !important; }
  #section-id-1541497753288 .sppb-row:not(.sppb-nested-row) > .sppb-col-md-7 { flex: 0 0 60% !important; max-width: 60% !important; }
}

/* Linee di prodotto su smartphone: niente etichette Prodotto/Descrizione/Link, nome in evidenza */
@media (max-width: 767.98px) {
  #section-id-1541503816872 .sppb-addon-text-block .sppb-addon-title { display: none; }
  #sp-page-builder .sppb-section:has(.sppb-col-md-5 + [class*="sppb-col-"]) .sppb-col-md-5 .sppb-addon-content p {
    font-weight: 700; font-size: 18px; color: var(--rp-navy); margin-bottom: 4px;
  }
}

/* Certificati tra 768 e 1199 (tablet orizzontale): 4 colonne erano troppo strette
   → una riga per certificato, a zig-zag */
@media (min-width: 768px) and (max-width: 1199.98px) {
  .sppb-row:not(.sppb-nested-row):has(> [class*="sppb-col-"] .certificazioni) > [class*="sppb-col-"] {
    flex: 0 0 100% !important; max-width: 100% !important; width: 100% !important;
  }
  .sppb-nested-row:has(.certificazioni) .sppb-column { padding-left: 48px !important; padding-right: 48px !important; }
}

/* Richiesta informazioni / Roditor in numeri */
@media (max-width: 991.98px) {
  #section-id-1541576795508 .sppb-row:not(.sppb-nested-row) > [class*="sppb-col-"] + [class*="sppb-col-"] { margin-top: 40px; }
}
@media (max-width: 767.98px) {   /* i 3 numeri affiancati invece che uno per riga */
  #section-id-1541576795508 .sppb-nested-row { flex-wrap: nowrap; margin-left: 0 !important; margin-right: 0 !important; }
  #section-id-1541576795508 .sppb-nested-row > [class*="sppb-col-"] { flex: 1 1 0; max-width: none; width: auto; margin-bottom: 0 !important; padding: 0 10px 0 0; }
  #section-id-1541576795508 .sppb-animated-number { font-size: 30px !important; line-height: 1.2 !important; }
  #section-id-1541576795508 .sppb-animated-number-title { font-size: 10px !important; line-height: 1.35 !important; }
}

/* Footer: loghi certificazioni 2 per riga invece che uno per riga */
@media (max-width: 767.98px) {
  #sp-bottom .text-footer .row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 10px; margin: 0 0 18px; }
  #sp-bottom .text-footer .row > [class*="col-"] { width: auto; max-width: none; padding: 0; font-size: 11px; line-height: 1.35; }
  #sp-bottom .text-footer .row img { max-height: 52px; width: auto; }
}

/* Logo: 5px di respiro sopra e sotto (header da 60 a 70px su desktop) */
@media (min-width: 992px) {
  #sp-header { height: 70px; }
  #sp-header .logo { height: 70px; }
  .sp-megamenu-parent > li > a, .sp-megamenu-parent > li > span { line-height: 70px; }
  .sp-megamenu-parent > li > a::after { bottom: 21px; }
}
@media (max-width: 991.98px) { #sp-header .logo img { height: 44px; } }   /* header mobile 60px → 8px sopra/sotto */

/* Griglie blog/categorie su smartphone: spazio tra le card dimezzato, immagini dentro la card */
@media (max-width: 767.98px) {
  .com-content-category-blog .article-list > .row { row-gap: 22px; }
  .com-content-category-blog .article-list > .row > [class*="col-"] > .article { margin-bottom: 0; }
}
.com-content-category-blog .article-intro-image { max-width: 100%; }

/* Certificati aggiunti sotto la griglia (Synesgy): riga centrata */
.sppb-row:not(.sppb-nested-row):has(> [class*="sppb-col-"] [class*="cert-extra-"]) { justify-content: center; }

/* =========================================================
   20. HOME – blocchi "ESG / Synesgy / Nanotec" importati dal vecchio sito:
   stessi font e titoli della sezione certificati (Muli, azzurro)
   ========================================================= */
:is(#section-id-382d9f5b-beca-40f9-94ce-d4b8b354279b, #section-id-f9eee95b-33db-4bf6-8292-d4eaa6ef3728)
  :is(h1, h2, h3, h4, h5, h6, p, li, a, strong, span, div) { font-family: "Muli", var(--rp-font-body) !important; }
#section-id-f9eee95b-33db-4bf6-8292-d4eaa6ef3728 .sppb-addon-title { color: #3459fa !important; font-weight: 600 !important; }
#section-id-382d9f5b-beca-40f9-94ce-d4b8b354279b .sppb-addon-title { font-weight: 700 !important; }
#section-id-f9eee95b-33db-4bf6-8292-d4eaa6ef3728 .sppb-addon-image a img { transition: box-shadow .2s ease; }
#section-id-f9eee95b-33db-4bf6-8292-d4eaa6ef3728 .sppb-addon-image a:hover img { box-shadow: var(--rp-shadow-hover); }

/* =========================================================
   21. SOTTOCATEGORIE (Dischi, Paste…): immagine cliccabile ed elenco prodotti nella card
   ========================================================= */
.com-content-categories__image-link { display: block; order: -1; }
.com-content-categories__image-link img { width: 100%; height: 220px; object-fit: cover; display: block; transition: transform .35s ease; }
@media (max-width: 767.98px) { .com-content-categories__image-link img { height: 200px; } }
.com-content-categories__description { padding-bottom: 12px; }
.com-content-categories__item:hover .com-content-categories__image-link img { transform: scale(1.03); }
.com-content-categories__image-link { overflow: hidden; }
.com-content-categories__products { list-style: none; margin: auto 24px 22px; padding: 0; border-top: 1px solid var(--rp-line); }
.com-content-categories__products li { border-bottom: 1px solid var(--rp-line); }
.com-content-categories__products a {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 9px 2px; font-size: 14px; font-weight: 600; color: var(--rp-navy); text-decoration: none;
}
.com-content-categories__products a::after { content: "→"; color: var(--rp-blue); transition: transform .2s ease; }
.com-content-categories__products a:hover { color: var(--rp-blue); }
.com-content-categories__products a:hover::after { transform: translateX(3px); }

/* Pagina di una sottocategoria (es. Dischi di panno/lana): l'immagine della categoria è già nella card della pagina Dischi */
.com-content-category-blog > .category-desc > img:first-child { display: none; }

/* =========================================================
   22. SCHEDE PRODOTTO del vecchio sito: galleria "codici" (col-md-4 nopadding) in griglia a card
   ========================================================= */
[itemprop="articleBody"] div:has(> .nopadding[class*="col-md-"]) {
  display: grid !important; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px; margin: 30px 0;
}
[itemprop="articleBody"] .nopadding[class*="col-md-"] {
  width: auto !important; max-width: none !important; flex: none !important; padding: 0 !important;
  background: #fff; border: 1px solid var(--rp-line); border-radius: var(--rp-radius); overflow: hidden; box-shadow: var(--rp-shadow);
}
[itemprop="articleBody"] .nopadding > .row { margin: 0 !important; }
[itemprop="articleBody"] .nopadding > .row > a { display: block; padding: 0; }
[itemprop="articleBody"] .nopadding .roditor-img { width: 100%; height: 200px; object-fit: cover; display: block; margin: 0; }
[itemprop="articleBody"] .nopadding .roditor-text { display: block; padding: 12px 14px; text-align: center; font-weight: 600; }
[itemprop="articleBody"] .nopadding .roditor-text a { color: var(--rp-navy); text-decoration: none; }
[itemprop="articleBody"] .nopadding .roditor-text a:hover { color: var(--rp-blue); }

/* =========================================================
   23. MEGA MENU Dischi / Buffs (solo desktop ≥1200px)
   ========================================================= */
.sp-dropdown-mega .sp-module, #sp-menu .sp-dropdown-mega .sp-module { margin: 0 !important; padding: 0 !important; border: 0 !important; }
.rp-mega-item > .sp-dropdown-mega { padding: 0; }
.rp-mega-item > .sp-dropdown-mega .sp-dropdown-inner {
  padding: 26px 28px 0; background: #fff; border-radius: 0 0 var(--rp-radius) var(--rp-radius);
  box-shadow: 0 18px 40px rgba(15,42,63,.16); border-top: 3px solid var(--rp-blue);
}
.rp-mega-item .sp-mega-group, .rp-mega-item .sp-mega-group > li { list-style: none; margin: 0; padding: 0; }
.rp-mega__cols { display: grid; grid-template-columns: repeat(3, 1fr) 1.15fr; gap: 28px; }
.rp-mega__col { min-width: 0; }
.rp-mega__head { display: flex; align-items: center; gap: 12px; text-decoration: none; padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid var(--rp-line); }
.rp-mega__head img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; flex: none; transition: transform .25s ease; }
.rp-mega__head strong { display: block; font-family: var(--rp-font-head); font-size: 15px; font-weight: 700; color: var(--rp-navy); line-height: 1.25; text-transform: none; letter-spacing: 0; }
.rp-mega__head small { display: block; font-size: 12px; color: var(--rp-muted); margin-top: 2px; text-transform: none; letter-spacing: 0; }
.rp-mega__head:hover strong { color: var(--rp-blue); }
.rp-mega__head:hover img { transform: scale(1.06); }
.rp-mega__list, .rp-mega__thumbs { list-style: none; margin: 0; padding: 0; }
.rp-mega__list a, .rp-mega__thumbs a {
  display: flex; align-items: center; gap: 10px; padding: 6px 8px; margin: 0 -8px; border-radius: 6px;
  font-size: 14px !important; font-weight: 500 !important; line-height: 1.35 !important; color: var(--rp-ink) !important;
  text-transform: none !important; letter-spacing: 0 !important; text-decoration: none; transition: background .15s ease, color .15s ease;
}
.rp-mega__list a::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--rp-blue); flex: none; opacity: .6; }
.rp-mega__list a:hover, .rp-mega__thumbs a:hover { background: var(--rp-soft); color: var(--rp-blue) !important; }
.rp-mega__list a::after, .rp-mega__thumbs a::after, .rp-mega__head::after, .rp-mega__foot a::after { display: none !important; }
.rp-mega__col--others { background: var(--rp-soft); border-radius: var(--rp-radius); padding: 16px 16px 10px; margin-bottom: 4px; }
.rp-mega__label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rp-muted); margin-bottom: 8px; }
.rp-mega__thumbs a { padding: 5px 8px; }
.rp-mega__thumbs img { width: 36px; height: 36px; object-fit: cover; border-radius: 6px; flex: none; }
.rp-mega__thumbs a:hover { background: #fff; }
.rp-mega__foot {
  display: flex; align-items: center; gap: 22px; margin: 22px -28px 0; padding: 14px 28px;
  background: var(--rp-soft); border-top: 1px solid var(--rp-line); border-radius: 0 0 var(--rp-radius) var(--rp-radius);
}
.rp-mega__foot a { font-size: 14px !important; font-weight: 600 !important; text-transform: none !important; letter-spacing: 0 !important; text-decoration: none; line-height: 1.4 !important; padding: 0 !important; }
.rp-mega__all { color: var(--rp-navy) !important; }
.rp-mega__all:hover { color: var(--rp-blue) !important; }
.rp-mega__pdf { color: var(--rp-muted) !important; }
.rp-mega__pdf:hover { color: var(--rp-blue) !important; }
.rp-mega__cta { margin-left: auto; background: var(--rp-blue); color: #fff !important; padding: 8px 18px !important; border-radius: 999px; }
.rp-mega__cta:hover { background: var(--rp-blue-dark); }
.rp-mega__foot a.rp-mega__cta { padding: 8px 18px !important; line-height: 1.2 !important; }
/* posizione: centrato sotto la testata, largo come il contenuto */
@media (min-width: 1200px) {
  #sp-header .sp-megamenu-parent, #sp-header .sp-megamenu-parent > li.rp-mega-item, #sp-header .container-inner > .row { position: static !important; }
  #sp-header .sp-megamenu-parent > li.rp-mega-item > .sp-dropdown-mega {
    top: 100%; left: 50% !important; right: auto !important; max-width: none;
    width: min(1240px, calc(100vw - 48px)) !important; margin-left: calc(min(1240px, calc(100vw - 48px)) / -2);
  }
}

/* =========================================================
   24. HOME – "Le nostre linee di prodotto": 4 card con immagine + "Tutti i prodotti"
   ========================================================= */
#section-id-1541503816872 .sppb-row { row-gap: 24px; }
#section-id-1541503816872 [class*="sppb-col-"] { display: flex; }
#section-id-1541503816872 .sppb-column, #section-id-1541503816872 .sppb-column-addons,
#section-id-1541503816872 .sppb-addon-wrapper, #section-id-1541503816872 .sppb-addon-wrapper > div,
#section-id-1541503816872 .rp-line-addon, #section-id-1541503816872 .rp-line-addon .sppb-addon-content { height: 100%; width: 100%; }
#section-id-1541503816872 .sppb-column { padding: 0 12px; }
.rp-line {
  display: flex; flex-direction: column; height: 100%; background: #fff; text-decoration: none !important;
  border: 1px solid var(--rp-line); border-radius: var(--rp-radius); overflow: hidden; box-shadow: var(--rp-shadow);
  transition: transform var(--rp-ease), box-shadow var(--rp-ease), border-color var(--rp-ease);
}
.rp-line:hover { transform: translateY(-6px); box-shadow: var(--rp-shadow-hover); border-color: transparent; }
.rp-line__img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--rp-soft); }
.rp-line__img::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--rp-blue); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.rp-line:hover .rp-line__img::after { transform: scaleX(1); }
.rp-line__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.rp-line:hover .rp-line__img img { transform: scale(1.06); }
.rp-line__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 20px; }
.rp-line__title { font-family: var(--rp-font-head); font-size: 1.3rem; font-weight: 700; color: var(--rp-navy); line-height: 1.2; margin-bottom: 8px; }
.rp-line__text { color: var(--rp-muted); font-size: .95rem; line-height: 1.55; margin-bottom: 18px; }
.rp-line__more {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--rp-blue);
}
.rp-line__more span { transition: transform .2s ease; }
.rp-line:hover .rp-line__more span { transform: translateX(4px); }
.rp-line-addon p { margin: 0; }
@media (max-width: 767.98px) {
  .rp-line__body { padding: 18px; }
  .rp-line__title { font-size: 1.15rem; }
}
/* "Tutti i prodotti" → pulsante pieno ben visibile */
#section-id-1541567676786 .sppb-btn {
  display: inline-flex !important; align-items: center; gap: 10px;
  padding: 14px 30px !important; border-radius: 999px !important; border: 0 !important;
  background: var(--rp-navy) !important; color: #fff !important; text-decoration: none !important;
  font-size: 14px !important; font-weight: 700 !important; letter-spacing: .06em; text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(15,42,63,.18); transition: background var(--rp-ease), transform var(--rp-ease), box-shadow var(--rp-ease);
}
#section-id-1541567676786 .sppb-btn:hover { background: var(--rp-blue) !important; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(46,159,220,.35); }
#section-id-1541567676786 .sppb-btn i, #section-id-1541567676786 .sppb-btn .fa, #section-id-1541567676786 .sppb-btn svg { color: #fff !important; margin: 0 !important; }

/* =========================================================
   25. HOME – "Qualità certificata" a card: 4 per riga (≥1200), 2 (tablet), 1 (smartphone)
   La scacchiera immagine/testo funzionava solo su schermi molto larghi.
   Le colonne esterne diventano "trasparenti" (display: contents) e le 4 righe certificato
   diventano le card della griglia, in ordine 9001 · 14001 · 45001 · UNI/PdR 125.
   ========================================================= */
#section-id-1541754989282 .sppb-row:not(.sppb-nested-row) {
  display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
  max-width: 1240px; margin: 0 auto !important; padding: 0 24px;
}
#section-id-1541754989282 .sppb-row:not(.sppb-nested-row) > [class*="sppb-col-"],
#section-id-1541754989282 .sppb-row:not(.sppb-nested-row) > [class*="sppb-col-"] > .sppb-column,
#section-id-1541754989282 .sppb-row:not(.sppb-nested-row) > [class*="sppb-col-"] > .sppb-column > .sppb-column-addons { display: contents !important; }
#section-id-1541754989244 { order: 1; } #section-id-1541754989267 { order: 2; }
#section-id-1541754989341 { order: 3; } #section-id-1541754989349 { order: 4; }
#section-id-1541754989282 .sppb-section:has(.certificazioni) {
  display: flex; padding: 0 !important; margin: 0 !important; background: #fff !important;
  border: 1px solid var(--rp-line); border-radius: var(--rp-radius); overflow: hidden; box-shadow: var(--rp-shadow);
  transition: transform var(--rp-ease), box-shadow var(--rp-ease);
}
#section-id-1541754989282 .sppb-section:has(.certificazioni):hover { transform: translateY(-5px); box-shadow: var(--rp-shadow-hover); }
#section-id-1541754989282 .sppb-section:has(.certificazioni) > .sppb-container-inner { width: 100%; display: flex; }
#section-id-1541754989282 .sppb-nested-row:has(.certificazioni) {
  display: flex !important; flex-direction: column !important; flex-wrap: nowrap !important; width: 100%;
  margin: 0 !important; background: none; border: 0; box-shadow: none; border-radius: 0;
}
#section-id-1541754989282 .sppb-nested-row:has(.certificazioni) > [class*="sppb-col-"] { width: 100% !important; max-width: 100% !important; flex: 0 0 auto !important; }
#section-id-1541754989282 .sppb-nested-row:has(.certificazioni) > [class*="sppb-col-"]:has(.certificazioni) { order: -1; }
#section-id-1541754989282 .sppb-nested-row:has(.certificazioni) > [class*="sppb-col-"]:not(:has(.certificazioni)) { flex: 1 1 auto !important; }
#section-id-1541754989282 .sppb-nested-row:has(.certificazioni) > [class*="sppb-col-"]:not(:has(.certificazioni)) .sppb-column { padding: 20px 22px 24px !important; background: #fff !important; }
#section-id-1541754989282 .certificazioni.sppb-addon-overlay-image { height: auto !important; padding: 16px !important; border-bottom: 1px solid var(--rp-line); }
#section-id-1541754989282 .certificazioni .sppb-addon-overlay-image-content { height: 280px !important; }
#section-id-1541754989282 .sppb-nested-row:has(.certificazioni) [id^="sppb-addon-"]::after { display: none !important; }   /* niente triangolini */
#section-id-1541754989282 .sppb-nested-row:has(.certificazioni) .sppb-addon-title { font-size: 20px !important; line-height: 1.25 !important; margin-bottom: 2px !important; }
#section-id-1541754989282 .sppb-nested-row:has(.certificazioni) .sppb-addon-text-block .sppb-addon-content { font-size: 14px !important; line-height: 1.6 !important; }
@media (max-width: 1199.98px) { #section-id-1541754989282 .sppb-row:not(.sppb-nested-row) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767.98px) {
  #section-id-1541754989282 .sppb-row:not(.sppb-nested-row) { grid-template-columns: 1fr; gap: 18px; padding: 0 16px; }
  #section-id-1541754989282 .certificazioni .sppb-addon-overlay-image-content { height: 300px !important; }
}
/* stesso fondo grigio del titolo "Qualità certificata", così le card bianche risaltano */
#section-id-1541754989282 { background: #f3f3f3 !important; padding: 10px 0 30px !important; }
/* contenuto delle card allineato in alto (la card con il testo più corto era centrata in verticale) */
#section-id-1541754989282 .sppb-section:has(.certificazioni) { align-items: stretch !important; }
#section-id-1541754989282 .sppb-section:has(.certificazioni) > .sppb-container-inner { align-items: stretch !important; align-self: stretch; }
#section-id-1541754989282 .sppb-nested-row:has(.certificazioni) { justify-content: flex-start !important; align-items: stretch !important; align-self: stretch; }

/* =========================================================
   26. HOME – riquadri ESG (DNV / Synesgy) sempre alti uguali, in IT ed EN
   ========================================================= */
#section-id-382d9f5b-beca-40f9-94ce-d4b8b354279b .sppb-column { display: flex; flex-direction: column; }
#section-id-382d9f5b-beca-40f9-94ce-d4b8b354279b .sppb-column-addons { flex: 1 1 auto; display: flex; flex-direction: column; }
#section-id-382d9f5b-beca-40f9-94ce-d4b8b354279b .addon-root-feature { flex: 1 1 auto; display: flex; flex-direction: column; }
#section-id-382d9f5b-beca-40f9-94ce-d4b8b354279b .addon-root-feature > [id^="sppb-addon-"] { flex: 1 1 auto; }

/* =========================================================
   27. BARRA IN ALTO: telefono, due email e orari dal modulo "Barra contatti IT/EN"
   ========================================================= */
@media (min-width: 992px) {
  #sp-top-bar #sp-top1 { flex: 0 0 22%; max-width: 22%; }
  #sp-top-bar #sp-top2 { flex: 0 0 78%; max-width: 78%; }
}
#sp-top-bar .sp-module.rp-topbar, #sp-top-bar .rp-topbar { margin: 0; padding: 0; }
#sp-top-bar .rp-topbar .sp-contact-info { margin: 0; }

/* =========================================================
   28. MEGA MENU Paste abrasive / Abrasive compounds (card con descrizione)
   ========================================================= */
.rp-mega--paste .rp-mega__cols { grid-template-columns: 2.2fr 1fr; }
.rp-mega__cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 28px; }
.rp-mega__cards a {
  display: flex; align-items: center; gap: 14px; padding: 10px; margin: 0 -10px; border-radius: 8px;
  text-decoration: none; text-transform: none !important; letter-spacing: 0 !important; transition: background .15s ease;
}
.rp-mega__cards a::after { display: none !important; }
.rp-mega__cards img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; flex: none; transition: transform .25s ease; }
.rp-mega__cards strong { display: block; font-family: var(--rp-font-head); font-size: 15px; font-weight: 700; line-height: 1.25; color: var(--rp-navy); transition: color .15s ease; }
.rp-mega__cards small {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-top: 3px; font-size: 13px; font-weight: 400; line-height: 1.4; color: var(--rp-muted);
}
.rp-mega__cards a:hover { background: var(--rp-soft); }
.rp-mega__cards a:hover strong { color: var(--rp-blue); }
.rp-mega__cards a:hover img { transform: scale(1.06); }
.rp-mega--paste .rp-mega__col--others { align-self: start; }
.rp-mega--paste .rp-mega__thumbs a { padding: 8px; }
.rp-mega--paste .rp-mega__thumbs img { width: 44px; height: 44px; }
