/* ============================================================
   Super-Bike, foglio di stile del tema figlio
   Ecomrules 2026. Tutto qui dentro, mai nel tema padre.
   ============================================================ */

:root {
  /* rosso del logo Super-Bike, campionato dall'immagine originale */
  --sb-rosso: #d0121a;
  --sb-rosso-scuro: #a50e15;
  --sb-inchiostro: #1c1c1c;
  --sb-grigio: #6b6b6b;
  --sb-linea: #e4e4e4;
}

/* ------------------------------------------------------------
   1. Colori di marca sugli elementi principali
   ------------------------------------------------------------ */
/* i bottoni principali (Acquista) prendono il nero dal theme editor, come sul sito vecchio; niente rosso forzato qui */

a { color: var(--sb-inchiostro); }
a:hover { color: var(--sb-rosso); }

.product-price,
.product-price .current-price,
.h1 .product-price { color: var(--sb-rosso); font-weight: 700; }

/* etichette: sconto e saldo rosse, Nuovo verde (Stefan, 11 settembre 2026) */
.product-flag.discount,
.product-flag.on-sale { background: var(--sb-rosso); color: #fff; }
.product-flag.new { background: #1e9e4a; color: #fff; }

/* ------------------------------------------------------------
   2. Correzioni note da sistemare durante la costruzione
   ------------------------------------------------------------ */
/* ------------------------------------------------------------
   3. Da qui in giu' le personalizzazioni vere del progetto
   ------------------------------------------------------------ */

/* ============================================================
   SEZIONE DI APERTURA DELLA HOME
   ============================================================ */
.sb-hero{position:relative;overflow:hidden;background:#0d0d0d;
  margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);width:100vw}
.sb-hero__bg{position:absolute;inset:0;z-index:0}
.sb-hero__bg img{width:100%;height:100%;object-fit:cover;object-position:65% center;display:block}
/* velo scuro a sinistra, cosi' il testo resta leggibile su qualsiasi immagine */
.sb-hero::before{content:"";position:absolute;inset:0;z-index:1;
  background:linear-gradient(90deg,rgba(8,8,8,.92) 0%,rgba(8,8,8,.78) 38%,rgba(8,8,8,.25) 62%,rgba(8,8,8,.15) 100%)}

.sb-hero__inner{position:relative;z-index:2;padding:6.5rem 15px 5rem;max-width:1500px}
.sb-hero__eyebrow{display:flex;align-items:center;gap:14px;margin:0 0 1.1rem;
  color:#e9e9e9;font-size:.78rem;letter-spacing:.22em;text-transform:uppercase;font-weight:600}
.sb-hero__rule{display:inline-block;width:46px;height:3px;background:var(--sb-rosso);flex:0 0 46px}

.sb-hero__title{margin:0 0 1.4rem;color:#fff;font-weight:900;line-height:.94;
  font-size:clamp(2.6rem,6.4vw,5.4rem);letter-spacing:-.02em;text-transform:uppercase;font-style:italic}
.sb-hero__title em{color:var(--sb-rosso);font-style:italic}

.sb-hero__lead{margin:0 0 2.2rem;color:#e0e0e0;font-size:clamp(1rem,1.45vw,1.28rem);line-height:1.55;max-width:34em}

.sb-hero__cta{display:flex;flex-wrap:wrap;gap:1rem}
.sb-btn{display:inline-flex;align-items:center;gap:.7rem;padding:1rem 2.1rem;border-radius:3px;
  font-weight:700;letter-spacing:.06em;text-transform:uppercase;font-size:.9rem;
  border:2px solid transparent;transition:background .18s,border-color .18s,color .18s,transform .18s}
.sb-btn:hover{transform:translateY(-2px)}
.sb-btn--red{background:var(--sb-rosso);border-color:var(--sb-rosso);color:#fff}
.sb-btn--red:hover{background:var(--sb-rosso-scuro);border-color:var(--sb-rosso-scuro);color:#fff}
.sb-btn--ghost{background:transparent;border-color:rgba(255,255,255,.65);color:#fff}
.sb-btn--ghost:hover{background:#fff;border-color:#fff;color:var(--sb-inchiostro)}

/* fascia delle garanzie, dentro la stessa sezione */
.sb-trust{position:relative;z-index:2;border-top:1px solid rgba(255,255,255,.14);
  background:rgba(8,8,8,.55);backdrop-filter:blur(3px)}
.sb-trust__list{list-style:none;margin:0;padding:1.6rem 0;display:grid;gap:1.4rem;
  grid-template-columns:repeat(4,1fr)}
.sb-trust__list li{display:grid;grid-template-columns:auto 1fr;column-gap:1rem;align-items:start;color:#fff}
.sb-trust__list i{grid-row:1/3;font-size:1.9rem;color:#fff;opacity:.92;line-height:1}
.sb-trust__list strong{font-size:.9rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;line-height:1.25}
.sb-trust__list span{font-size:.84rem;color:#c8c8c8;line-height:1.4}

@media (max-width:991px){
  .sb-hero__inner{padding:4.5rem 15px 3.5rem}
  .sb-trust__list{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:575px){
  /* velo che parte da sinistra e si spegne a meta immagine, con un filo di sfocatura sotto */
  .sb-hero::before{background:linear-gradient(100deg,
      rgba(8,8,8,.95) 0%, rgba(8,8,8,.92) 26%, rgba(8,8,8,.72) 42%,
      rgba(8,8,8,.38) 56%, rgba(8,8,8,.12) 74%, rgba(8,8,8,0) 100%)}
  .sb-hero::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
    backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);
    -webkit-mask-image:linear-gradient(100deg,#000 0%,#000 34%,rgba(0,0,0,.55) 50%,rgba(0,0,0,0) 66%);
    mask-image:linear-gradient(100deg,#000 0%,#000 34%,rgba(0,0,0,.55) 50%,rgba(0,0,0,0) 66%)}
  .sb-hero__bg img{object-position:60% center}
  .sb-hero__inner{padding:3.2rem 15px 2.6rem}
  /* i testi restano dentro la parte scura, le scritte non finiscono sopra la moto */
  .sb-hero__eyebrow{max-width:78%}
  .sb-hero__lead{max-width:30ch}
  .sb-hero__cta{flex-direction:column;align-items:stretch}
  .sb-btn{justify-content:center}
  .sb-trust__list{grid-template-columns:1fr;gap:1.1rem;padding:1.3rem 0}
}

/* ============================================================
   MENU PRINCIPALE
   ============================================================ */

/* Il menu verticale di Warehouse non lo usiamo e la sua lista e vuota,
   ma il tema stampa lo stesso il riquadro "Navigation".
   Per riattivarlo togliere questa regola e creare schede di tipo verticale. */
.cbp-vertical-on-top { display: none; }

/* I nomi delle categorie nel negozio hanno maiuscole incoerenti
   (CASCHI MOTO, Abbigliamento termico, Offerte).
   Le uniformiamo qui, senza toccare i dati del catalogo. */
#cbp-hrmenu > ul > li.cbp-hrmenu-tab > a {
    text-transform: uppercase;
    white-space: nowrap;
    letter-spacing: .3px;
    /* Warehouse limita ogni scheda a 200 px e ABBIGLIAMENTO MOTO ne chiede 205,
       cosi veniva tagliata. Le otto schede insieme occupano 1102 px su 1420, lo spazio c'e. */
    max-width: none;
}

/* Titoli dei rami dentro il tendone, stesso trattamento */
#cbp-hrmenu .cbp-category-title { text-transform: uppercase; }

/* Stesse maiuscole anche nel menu del telefono, dove Marchi e Offerte restavano diversi */
#iqitmegamenu-mobile .js-mobile-menu__tab-title { text-transform: uppercase; }

/* La scheda attiva e quella sotto il puntatore prendono il rosso del marchio */
#cbp-hrmenu > ul > li.cbp-hrmenu-tab:hover > a,
#cbp-hrmenu > ul > li.cbp-hrmenu-tab > a:hover { color: var(--sb-rosso); }

/* ============================================================
   TESTATA SU TELEFONO
   Segue il modello grafico nuovaheader.ecc.png del 6 settembre 2026.
   ============================================================ */

/* ---- Barra promozione in cima, rossa piena ---- */
.header-banner .sb-promo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 9px 14px;
    background: var(--sb-rosso);
    color: #fff;
    font-size: 13px;
    line-height: 1.2;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .2px;
}
.header-banner .sb-promo:hover { background: #b70f16; color: #fff; }
.sb-promo__in { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
/* il tema colora i link dentro la fascia, qui serve il bianco pieno */
.header-banner .sb-promo,
.header-banner .sb-promo:hover,
.header-banner .sb-promo .sb-promo__txt { color: #fff; }
.sb-promo .fa-tag { font-size: 16px; opacity: .9; }
.sb-promo__txt b { color: #fbe329; font-weight: 700; }
.sb-promo__code {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 6px;
    background: #17171b;
    color: #fff;
    font-weight: 700;
    letter-spacing: .6px;
}
.sb-promo__go { margin-left: auto; font-size: 20px; opacity: .85; }

/* ---- Riga di ricerca, sempre visibile sotto il logo ---- */
.sb-msearch { padding: 0 0 12px; }
.sb-msearch .input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: #3a3a44;
    border-radius: 999px;
    padding: 4px 4px 4px 42px;
}
.sb-msearch .input-group::before {
    content: "\f002";                 /* lente, Font Awesome */
    font-family: FontAwesome;
    position: absolute;
    left: 16px;
    color: #b9b9c2;
    font-size: 16px;
    pointer-events: none;
}
.sb-msearch .form-search-control {
    flex: 1 1 auto;
    min-width: 0;
    height: 42px;
    padding: 0 10px 0 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 15px;
    box-shadow: none;
}
.sb-msearch .form-search-control::placeholder { color: #9a9aa4; }
.sb-msearch .form-search-control:focus { background: transparent; color: #fff; box-shadow: none; outline: none; }
.sb-msearch .search-btn {
    flex: 0 0 auto;
    height: 42px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    background: var(--sb-rosso);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
}
.sb-msearch .search-btn:hover { background: #b70f16; color: #fff; }
.sb-msearch .search-btn .fa { display: none; }   /* la lente sta gia a sinistra */
.sb-msearch .search-widget { position: static; }

@media (max-width: 400px) {
    .sb-msearch .search-btn { padding: 0 16px; font-size: 14px; }
    .sb-msearch .search-btn .sb-msearch__label { font-size: 14px; }
}

/* ---- Sulla home la fascia di apertura tocca la testata ----
   Il tema lascia uno spazio di rispetto sopra il contenuto (37 px sul telefono, 40 sul
   computer). Sulle pagine normali serve, sulla home diventa una striscia bianca sopra
   l'immagine a tutta larghezza. Tolto solo qui. */
/* il tema usa #index #wrapper, due identificativi: serve body# davanti per pesare di piu */
body#index #wrapper { padding-top: 0; }

/* ---- Ordine delle fasce: promo, testata, poi lingua e wishlist ---- */
@media (max-width: 991px) {
    #header { display: flex; flex-direction: column; }
    #header > * { order: 2; }
    #header > .header-banner { order: 1; }
    #header > .header-nav { order: 3; border-top: 1px solid rgba(255,255,255,.1); }
    #header > .header-nav .left-nav:empty { display: none; }
}

/* ------------------------------------------------------------
   Stelle delle recensioni
   ------------------------------------------------------------
   Il modulo recensioni disegna le stelle con i glifi Material Icons
   (<i class="material-icons">&#xe838;</i>) ma non porta il font: sul tema
   vecchio arrivava dal suo CSS, su Warehouse non c'era nessuno a caricarlo
   e al posto delle stelle uscivano quadratini. Font copiato in locale dal
   sito vecchio, nessuna chiamata a Google. */
@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/material-icons/material-icons.woff2') format('woff2');
}
.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

/* ------------------------------------------------------------
   Testata desktop, modello del 6 settembre 2026
   ------------------------------------------------------------ */
/* barra rossa in alto: promozione a sinistra, informazioni e lingua a destra */
.sb-topbar { background: var(--sb-rosso); }
.sb-topbar__row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 40px; }
.sb-topbar__left { flex: 0 1 auto; min-width: 0; }
.sb-topbar .sb-promo { background: transparent; padding: 0; margin: 0; display: inline-flex; }
.sb-topbar .sb-promo__go { display: none; }
.sb-topbar__right { display: flex; align-items: center; gap: 1.75rem; margin-left: auto; }
.sb-topbar__item, .sb-topbar a.sb-topbar__item { color: #fff !important; font-size: .8125rem; display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; }
.sb-topbar a.sb-topbar__item:hover { color: #fff !important; text-decoration: underline; }
.sb-topbar__item i { font-size: .9375rem; opacity: .9; }
.sb-topbar__lang .language-selector .expand-more,
.sb-topbar__lang a { color: #fff; font-size: .8125rem; }
.sb-topbar__lang .dropdown-menu a { color: var(--sb-inchiostro); }
.sb-topbar__lang #currency_selector, .sb-topbar__lang .iqitlinksmanager { display: none; }
@media (max-width: 991px) { .sb-topbar__right { display: none; } }

/* colonna destra della testata, sul modello del 6 settembre
   ------------------------------------------------------------
   Cuore e persona hanno l'etichetta sotto l'icona, il carrello ha l'icona a
   sinistra con il pallino rosso e due righe a destra, Carrello e stato.
   Le tre icone hanno la stessa misura e la stessa linea di partenza: il tema
   dava al carrello 2,8rem contro 1,375rem degli altri due, per questo scendeva. */
.sb-header-icons { display: flex; align-items: flex-start; justify-content: flex-end; gap: 2.5rem; }
.sb-header-icon { text-align: center; line-height: 1.25; white-space: nowrap; }

/* i contenitori del tema non aggiungono spazi propri, altrimenti ogni gruppo parte piu in basso */
.sb-header-icon > div,
.sb-header-icon #user_info,
.sb-header-icon #ps-shoppingcart-wrapper,
.sb-header-icon #ps-shoppingcart,
.sb-header-icon #blockcart { margin: 0 !important; padding: 0 !important; }
.sb-header-icon--wishlist .d-inline-block { display: block !important; }

.sb-header-icon a, .sb-header-icon .header-btn { display: block; color: #fff; font-size: .8125rem; }

/* stessa misura e stessa altezza di riga per tutte e tre le icone, cosi i centri
   coincidono anche se il carrello ha due righe di testo accanto */
.sb-header-icon i.fa,
.header-top .header-cart-default .cart-toogle > .icon {
  font-size: 1.5rem !important; height: 2.125rem; line-height: 2.125rem !important; margin: 0 auto .15rem;
}

/* cuore e persona: icona sopra, etichetta sotto */
.sb-header-icon--wishlist a i, .sb-header-icon--account a i { display: block; }

/* carrello: icona a sinistra, due righe a destra */
.sb-header-icon--cart .cart-toogle,
.sb-header-icon--cart .header-cart-btn {
  display: flex !important; align-items: center; gap: .6rem; padding: 0; text-align: left;
}
.sb-header-icon--cart .cart-toogle > i,
.sb-header-icon--cart .header-cart-btn > i { position: relative; margin: 0 !important; float: none; }
.sb-header-icon--cart .info-wrapper { display: block !important; text-align: left; line-height: 1.3; }
.sb-header-icon--cart .title { display: block; font-size: .8125rem; }
.sb-header-icon--cart .cart-toggle-details { display: block; color: var(--sb-rosso); font-size: .8125rem; }
.sb-header-icon--cart .cart-separator { display: none; }

/* pallino rosso appoggiato all'icona del carrello */
.sb-header-icon--cart .cart-products-count-btn {
  display: inline-flex !important; align-items: center; justify-content: center;
  position: absolute; top: -.1rem; left: -.75rem; right: auto !important; width: auto;
  min-width: 1.15rem; height: 1.15rem; padding: 0 .25rem;
  background: var(--sb-rosso); color: #fff; border-radius: 999px;
  font-size: .6875rem; font-style: normal; font-weight: 700; line-height: 1;
}

/* voce Home in evidenza nel menu, come nel modello */
#cbp-hrmenu > ul > li.cbp-hrmenu-tab-1 > a { background: var(--sb-rosso); }
#cbp-hrmenu > ul > li.cbp-hrmenu-tab-1 > a:hover { background: var(--sb-rosso-scuro); }
#cbp-hrmenu > ul > li.cbp-hrmenu-tab-1 > a .cbp-tab-title { color: #fff; }

/* barra di ricerca: lente scura a destra dentro il campo, come nel modello */
#search_widget .search-widget-btn, #search_widget button[type=submit] { color: var(--sb-inchiostro); }
#search_widget input[type=text] { padding-right: 3rem; }

/* il logo e un JPEG con lo sfondo grigio del tema vecchio: qui usiamo la copia con lo sfondo trasparente */
#desktop_logo img, #mobile_logo img { background: transparent; }

/* titolo di sezione in home: trattino rosso a sinistra, link a destra */
.sb-sezione { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 1.25rem; }
.sb-sezione__tit { display: flex; align-items: center; gap: .75rem; margin: 0; font-size: 1.25rem; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.sb-sezione__tit::before { content: ""; display: block; width: 34px; height: 3px; background: var(--sb-rosso); }
.sb-sezione__link { color: var(--sb-rosso); font-weight: 600; white-space: nowrap; }
.sb-sezione__link:hover { color: var(--sb-rosso-scuro); }

/* telefono: quarta riga della testata, lingua a sinistra e lista desideri a destra */
.sb-mrow { display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .65rem 0 .5rem; border-top: 1px solid rgba(255,255,255,.08); }
.sb-mrow a, .sb-mrow a:hover { color: #fff !important; font-size: .875rem; }
.sb-mrow .lang-flag { margin-right: .4rem; }
.sb-mrow__lang #currency_selector, .sb-mrow__lang .iqitlinksmanager { display: none; }
.sb-mrow__wish { margin-left: auto; white-space: nowrap; }
.sb-mrow__wish i { margin-right: .35rem; }
@media (min-width: 992px) { .sb-mrow { display: none; } }

/* ------------------------------------------------------------
   Chiusura della home, il testo lungo per i motori di ricerca
   ------------------------------------------------------------
   Era un muro di testo largo quanto lo schermo. Ora e una fascia scura a tutta
   larghezza: a sinistra il titolo con il filetto rosso e l'introduzione, a destra
   le sezioni numerate in colonna stretta da leggere. Parte chiusa, si apre col
   pulsante, e il testo resta sempre intero nel codice della pagina per i motori. */
.sb-seo {
  position: relative;
  width: 100vw;
  margin: 3.5rem calc(50% - 50vw) 0;
  padding: clamp(2.5rem, 5vw, 4.5rem) 1.25rem clamp(2rem, 4vw, 3.5rem);
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(208,18,26,.18) 0%, rgba(208,18,26,0) 58%),
    repeating-linear-gradient(115deg, rgba(255,255,255,.022) 0 2px, rgba(255,255,255,0) 2px 14px),
    #0f0f0f;
  color: #c2c2ca;
}
.sb-seo::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--sb-rosso) 0 20%, rgba(208,18,26,.3) 20% 42%, rgba(255,255,255,.07) 42% 100%);
}
.sb-seo__cont { position: relative; max-width: 1180px; margin: 0 auto; }
.sb-seo__testo { position: relative; max-height: 26rem; overflow: hidden; }
.sb-seo__testo::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12rem; pointer-events: none;
  background: linear-gradient(180deg, rgba(15,15,15,0) 0%, rgba(15,15,15,.9) 60%, #0f0f0f 100%);
}
.sb-seo.aperto .sb-seo__testo { max-height: none; overflow: visible; }
.sb-seo.aperto .sb-seo__testo::after { display: none; }

/* due colonne sugli schermi larghi: titolo e introduzione a sinistra, sezioni a destra */
.sb-seo__col { counter-reset: sbsez; }

/* i collegamenti dentro il testo di chiusura sono rossi, non grigi come il resto del sito:
   sono voci di catalogo e devono farsi vedere. Il tema li colora con selettori che negano
   nav-link e btn, quindi qui serve la stessa forma per vincere. */
.sb-seo__testo a:link:not(.nav-link):not(.btn),
.sb-seo__testo a:visited:not(.nav-link):not(.btn) { color: var(--sb-rosso); }
.sb-seo__testo a:hover:not(.nav-link):not(.btn),
.sb-seo__testo a:focus:not(.nav-link):not(.btn) { color: var(--sb-rosso-scuro); }
@media (min-width: 1100px) {
  .sb-seo__testo { display: flex; align-items: flex-start; gap: 4rem; }
  .sb-seo__rail { flex: 0 0 21rem; max-width: 21rem; }
  /* il titolo segue la lettura solo quando il blocco e aperto, se no scivolerebbe a meta fascia */
  .sb-seo.aperto .sb-seo__rail { position: sticky; top: 6.5rem; }
  .sb-seo__col { flex: 1 1 auto; min-width: 0; padding-left: 3.75rem; }
  .sb-seo__col > h2:first-child { margin-top: .2rem; }
}

.sb-seo h1 {
  margin: 0 0 1.15rem;
  font-size: clamp(1.35rem, 2.2vw, 2.1rem);
  font-weight: 900; font-style: italic; line-height: 1.05; letter-spacing: -.015em;
  text-transform: uppercase; color: #fff;
  /* i titoli tedeschi sono parole lunghissime, qui vanno spezzate */
  overflow-wrap: break-word; hyphens: auto;
}
.sb-seo h1::before { content: ""; display: block; width: 54px; height: 4px; margin-bottom: 1.1rem; background: var(--sb-rosso); }
.sb-seo h1 + p { max-width: 40ch; font-size: 1rem; line-height: 1.75; color: #d5d5dc; }

.sb-seo h2 {
  counter-increment: sbsez; position: relative; overflow-wrap: break-word; hyphens: auto;
  margin: 2.75rem 0 .85rem; padding-bottom: .7rem;
  font-size: clamp(1.02rem, 1.35vw, 1.22rem); font-weight: 800; line-height: 1.32;
  text-transform: uppercase; color: #fff; max-width: 44ch;
}
.sb-seo h2::before {
  content: counter(sbsez, decimal-leading-zero);
  position: absolute; left: -3.75rem; top: -.2rem;
  font-size: 1.45rem; font-weight: 900; font-style: italic; color: var(--sb-rosso);
}
.sb-seo h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 3rem; height: 2px; background: var(--sb-rosso); }
.sb-seo p { max-width: 66ch; margin: 0 0 1.05rem; font-size: 1rem; line-height: 1.78; }
.sb-seo strong, .sb-seo b { color: #fff; font-weight: 700; }
.sb-seo a { color: #ff5a63; text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px; }
.sb-seo a:hover { color: #fff; }
.sb-seo ul, .sb-seo ol { max-width: 66ch; margin: 0 0 1.35rem; padding: 0; list-style: none; }
.sb-seo li { position: relative; padding-left: 1.45rem; margin-bottom: .8rem; font-size: 1rem; line-height: 1.75; }
.sb-seo li::before { content: "\f105"; font-family: FontAwesome; position: absolute; left: 0; top: .05rem; color: var(--sb-rosso); }
.sb-seo img { max-width: 100%; height: auto; border-radius: 6px; }

.sb-seo__piu {
  display: inline-flex; align-items: center; gap: .55rem;
  margin-top: 1.75rem; padding: .7rem 1.5rem;
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,.35); border-radius: 999px;
  font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  cursor: pointer; transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.sb-seo__piu::after { content: "\f107"; font-family: FontAwesome; font-size: 1rem; letter-spacing: 0; transition: transform .2s ease; }
.sb-seo.aperto .sb-seo__piu::after { transform: rotate(180deg); }
.sb-seo__piu:hover { background: var(--sb-rosso); border-color: var(--sb-rosso); color: #fff; }

@media (max-width: 1099px) {
  .sb-seo h2::before { position: static; display: block; margin-bottom: .3rem; font-size: 1.05rem; }
}
@media (max-width: 767px) {
  .sb-seo { padding-left: 1rem; padding-right: 1rem; }
  .sb-seo__testo { max-height: 19rem; }
}

/* ------------------------------------------------------------
   Testi piu grandi, schede prodotto e respiro tra le sezioni
   ------------------------------------------------------------
   La misura base del tema e passata da 13 a 16 pixel (theme editor), qui si
   sistemano le poche cose che con i caratteri piu grandi stavano strette. */

/* respiro tra la prima schermata e la sezione che segue */
.sb-hero { margin-bottom: 0; }
#index #wrapper .elementor-section:first-of-type { padding-top: clamp(2rem, 4vw, 3.25rem); }
.sb-sezione { margin-top: clamp(1.5rem, 3vw, 2.5rem); margin-bottom: 1.75rem; }
#index .elementor-widget-prestashop-widget-ProductsList { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }

/* schede prodotto.
   Il modulo delle recensioni blocca la parte scritta della scheda a 110 pixel fissi
   (regola con !important in modules/gsnippetsreviews/views/css/front/product_list_review.css):
   con i caratteri piu grandi il prezzo finiva sotto il bordo della scheda.
   Qui i 110 pixel diventano una misura minima, la scheda si allunga quando serve e il prezzo
   resta incollato in fondo, cosi i prezzi di una stessa riga restano allineati fra loro.
   Le dimensioni dei testi restano quelle del tema, nessun testo viene rimpicciolito. */
#products .product-miniature .product-description,
.featured-products .product-miniature .product-description,
.product-accessories .product-miniature .product-description,
.product-miniature .product-description {
  height: auto !important;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

/* le schede di una riga sono alte uguali e il prezzo si appoggia in fondo */
.products .js-product-miniature-wrapper { display: flex; }
.products .js-product-miniature-wrapper > .product-miniature { width: 100%; display: flex; flex-direction: column; }
.product-miniature .product-description { flex: 1 1 auto; }
.product-miniature .product-price-and-shipping { margin-top: auto; }

/* nome prodotto: al massimo tre righe, senza sillabazione per non spezzare i nomi dei modelli */
.product-miniature .product-title { margin-bottom: .35rem; }
.product-miniature .product-title,
.product-miniature .product-title > a {
  display: -webkit-box !important;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: break-word;
}

.sb-stelle { display: flex; align-items: center; justify-content: center; gap: .4rem; margin: .15rem 0 .35rem; flex-wrap: nowrap; }
.sb-stelle .rating-star-display { line-height: 1; }
.sb-stelle__n { color: #777; }

/* prezzo e prezzo barrato sulla stessa riga finche ci stanno */
.product-miniature .product-price-and-shipping {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center;
  gap: 0 .4rem; padding-top: .25rem;
}
.product-miniature .product-price-and-shipping .product-price,
.product-miniature .product-price-and-shipping .regular-price { white-space: nowrap; }

/* ------------------------------------------------------------
   Telefono: testata e apertura piu compatte
   ------------------------------------------------------------
   Modello del 7 settembre. Stessi contenuti di prima, meno aria: le icone della
   testata perdono l'etichetta scritta, la fascia principale e la ricerca si
   abbassano, l'apertura stringe i margini fra un elemento e l'altro, il secondo
   invito diventa un collegamento scritto e le quattro garanzie vanno a due per riga.
   Le misure dei testi non cambiano. */

@media (max-width: 991px) {
  /* striscia promozionale a tutta larghezza, con la freccia in fondo come nel modello */
  .sb-topbar__left { flex: 1 1 auto; width: 100%; }
  .sb-topbar .sb-promo { display: flex; width: 100%; }
  .sb-topbar .sb-promo__go { display: inline-block; margin-left: auto; }

  /* fascia principale della testata, senza etichette sotto le icone */
  #mobile-header .mobile-main-bar { padding-top: .55rem !important; padding-bottom: .55rem !important; }
  #mobile-header .m-nav-btn { padding-top: .3rem !important; padding-bottom: .3rem !important; line-height: 1; }
  #mobile-header .m-nav-btn > span:not(.cart-products-count) { display: none !important; }
  #mobile-header .m-nav-btn > i { display: block; margin: 0 auto; font-size: 1.5rem; }
  #mobile-header .col-mobile-btn { padding-left: .35rem; padding-right: .35rem; }
  #mobile-header .cart-products-count-btn { top: -.4rem; right: -.55rem; }
  #mobile_logo img, .col-mobile-logo img { max-height: 44px; width: auto; }

  /* riga della ricerca */
  .sb-msearch { padding-bottom: .55rem; }
  .sb-msearch .search-widget input[type=text],
  #search-widget-mobile input[type=text] { height: 44px; }

  /* riga lingua e lista desideri */
  .sb-mrow { padding: .4rem 0 .35rem; }
}

@media (max-width: 767px) {
  /* apertura: stessi testi, meno spazio fra le righe */
  .sb-hero__inner { padding: 2.1rem 15px 1.9rem; }
  .sb-hero__eyebrow { margin-bottom: .75rem; letter-spacing: .13em; font-size: .72rem; gap: 10px; max-width: 100%; }
  .sb-hero__rule { width: 30px; flex: 0 0 30px; }
  .sb-hero__title { margin-bottom: .85rem; }
  .sb-hero__lead { margin-bottom: 1.3rem; }

  /* un solo pulsante pieno, il secondo invito diventa un collegamento scritto */
  .sb-hero__cta { flex-direction: row; align-items: center; flex-wrap: wrap; gap: .9rem 1.4rem; }
  .sb-hero__cta .sb-btn--red { padding: .9rem 1.6rem; }
  .sb-hero__cta .sb-btn--ghost { border: 0; background: transparent; padding: 0; font-size: 1rem;
    letter-spacing: 0; text-transform: none; text-decoration: underline; text-underline-offset: 5px; }
  .sb-hero__cta .sb-btn--ghost:hover { background: transparent; color: var(--sb-rosso); transform: none; }

  /* garanzie a due per riga, con i filetti come nel modello */
  .sb-trust__list { grid-template-columns: repeat(2, 1fr); gap: 0; padding: .5rem 0; }
  .sb-trust__list li { padding: .7rem .6rem; }
  .sb-trust__list li:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.13); padding-left: 0; }
  .sb-trust__list li:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.13); }
  .sb-trust__list li { column-gap: .65rem; }
  .sb-trust__list i { font-size: 1.3rem; }
  .sb-trust__list strong { font-size: .78rem; letter-spacing: .02em; }
  .sb-trust__list span { font-size: .74rem; line-height: 1.3; }

  /* titolo della prima sezione su una riga sola, senza doppio spazio sopra */
  .sb-sezione { margin-top: 0; margin-bottom: 1rem; }
  .sb-sezione__tit { font-size: 1.02rem; }
  .sb-sezione__tit::before { width: 24px; }
  .sb-sezione__link { font-size: .85rem; }
}

@media (max-width: 575px) {
  .sb-hero__cta { gap: .8rem 1.2rem; }
}

/* ------------------------------------------------------------
   Recensioni: etichetta "Acquisto verificato" a pillola
   ------------------------------------------------------------
   Il modulo scriveva la scritta in verde fluo su fondo bianco e sulla scheda prodotto
   la nascondeva del tutto, lasciando solo uno scudetto. Qui la scritta torna visibile
   dentro una pillola verde scuro su fondo verde chiaro, con lo scudetto davanti, e lo
   scudetto sciolto sparisce. Il colore del testo resta quello del modulo
   (BT_GSR_SHIELD_COLOR, verde scuro dal passo 14 del setup). */
#spr .spr-icon_verified_text,
.verified-badge {
  display: inline-flex !important; align-items: center; gap: .3rem;
  padding: .2rem .7rem .2rem .5rem; border-radius: 999px;
  background: #e6f4ea; border: 1px solid #c5e5cb;
  font-size: .8125rem; font-weight: 600; font-style: normal; line-height: 1.4; white-space: nowrap; vertical-align: middle;
  color: #2e7d32 !important;
}
.verified-badge * { color: inherit !important; }
#spr .spr-icon_verified_text::before {
  content: "\e8e8"; font-family: "Material Icons"; font-size: 1.05rem; line-height: 1; font-weight: 400;
}
#spr .spr-icon_verified { display: none !important; }
.verified-badge .material-icons { font-size: 1.05rem; line-height: 1; }
.verified-badge .spr-icon_verified_text { display: inline !important; padding: 0; border: 0; background: transparent; }

/* ------------------------------------------------------------
   Accesso con Google e Facebook alla cassa
   ------------------------------------------------------------
   La scritta italiana "Effettua il login con Google" e piu lunga della casella
   (287 pixel di testo in 273 disponibili) e il modulo taglia con overflow hidden.
   Qui la scritta rientra senza toccare il modulo. */
.bt-btn-sl.btn-connect { padding-left: .55rem !important; padding-right: .55rem !important; }
.bt-btn-sl.btn-connect .btn-title-connect { font-size: .6875rem !important; letter-spacing: 0 !important; }

/* ------------------------------------------------------------
   Reparti in home, sei riquadri sul modello del 7 settembre
   ------------------------------------------------------------
   Tre per riga su schermo grande, due su tablet, uno su telefono.
   L'immagine sta sotto, il velo scuro parte da sinistra e si spegne a meta,
   il testo resta leggibile su qualunque foto. Al passaggio del mouse
   l'immagine si allarga appena e il pulsante rosso si scurisce. */
.sb-reparti {
  scroll-margin-top: 90px;
  background: #0f0f0f;
  margin: 0 calc(50% - 50vw) clamp(1.5rem, 3vw, 2.5rem);
  width: 100vw;
  padding: clamp(1.25rem, 2.5vw, 2rem) 0;
}
.sb-reparti > .container { max-width: 1500px; }
.sb-reparti__griglia { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

.sb-reparto {
  position: relative; display: block; overflow: hidden; border-radius: 4px;
  aspect-ratio: 1200 / 563; background: #0d0d0d;
}
/* il tema colora di grigio tutti i collegamenti, qui dentro il testo resta bianco */
a.sb-reparto, a.sb-reparto:link, a.sb-reparto:visited, a.sb-reparto:hover, a.sb-reparto:focus { color: #fff; }
.sb-reparto__nome { color: #fff; }

.sb-reparto__sfondo { position: absolute; inset: 0; z-index: 0; }
.sb-reparto__sfondo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  display: block; transition: transform .5s ease;
}
.sb-reparto:hover .sb-reparto__sfondo img { transform: scale(1.05); }

/* velo scuro da sinistra, come nell'apertura */
.sb-reparto::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(95deg, rgba(8,8,8,.94) 0%, rgba(8,8,8,.86) 30%,
              rgba(8,8,8,.62) 48%, rgba(8,8,8,.28) 66%, rgba(8,8,8,.05) 100%);
}

.sb-reparto__testo {
  position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start;
  height: 100%; padding: clamp(1.1rem, 2vw, 1.6rem) clamp(1.1rem, 2vw, 1.6rem);
}
.sb-reparto__nome {
  font-size: clamp(1.15rem, 1.6vw, 1.5rem); font-weight: 800; line-height: 1.1;
  text-transform: uppercase; letter-spacing: .01em; max-width: 11ch;
}
.sb-reparto__filetto { display: block; width: 40px; height: 3px; background: var(--sb-rosso); margin: .7rem 0 .75rem; }
.sb-reparto__frase { font-size: .95rem; line-height: 1.4; color: #e6e6e6; max-width: 20ch; }
.sb-reparto__vai {
  margin-top: auto; display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; background: var(--sb-rosso); color: #fff; font-size: 1.25rem;
  transition: background .18s ease;
}
.sb-reparto:hover .sb-reparto__vai { background: var(--sb-rosso-scuro); }

@media (max-width: 991px) {
  .sb-reparti__griglia { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}
@media (max-width: 575px) {
  /* su telefono, sul modello del 7 settembre: riquadri quasi a filo schermo, bassi e
     larghi come fasce, un filo di stacco fra uno e l'altro e nessuno spazio sotto l'apertura.
     L'altezza la decide il testo, cosi le lingue lunghe non restano tagliate. */
  .sb-reparti { padding: 6px 0 10px; }
  .sb-reparti > .container { padding-left: 6px; padding-right: 6px; max-width: none; width: 100%; }
  .sb-reparti__griglia { grid-template-columns: 1fr; gap: 6px; }
  .sb-reparto { aspect-ratio: auto; min-height: 148px; border-radius: 3px; }
  .sb-reparto__testo { padding: 1rem 1.1rem; }
  .sb-reparto__nome { font-size: 1.2rem; max-width: 13ch; }
  .sb-reparto__filetto { width: 34px; margin: .5rem 0 .5rem; }
  .sb-reparto__frase { font-size: .95rem; max-width: 22ch; }
  .sb-reparto__vai { width: 2.15rem; height: 2.15rem; font-size: 1.1rem; margin-top: .85rem; }
}
}

/* ------------------------------------------------------------
   Piede del sito
   ------------------------------------------------------------
   Stessi contenuti del sito vecchio, impaginati come una corsia box: striscia
   a scacchi rossa in cima, fascia alta con presentazione, HeyLight e newsletter,
   poi le colonne di link e i dati del negozio, in fondo pagamenti e diritti. */
.sb-piede { position: relative; padding-top: clamp(2.25rem, 4vw, 3.5rem); }
.sb-piede::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: repeating-linear-gradient(115deg, var(--sb-rosso) 0 22px, #ffffff 22px 44px);
  opacity: .9;
}

/* fascia alta */
.sb-piede__alto {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 3vw, 3rem); align-items: start;
  padding-bottom: clamp(1.75rem, 3vw, 2.75rem); border-bottom: 1px solid rgba(255,255,255,.09);
}
.sb-piede__occhiello {
  margin: 0 0 .85rem; font-size: 1.0625rem; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; color: #fff;
}
.sb-piede__occhiello::before { content: ""; display: block; width: 42px; height: 3px; margin-bottom: .85rem; background: var(--sb-rosso); }
.sb-piede__testo { margin: 0 0 1rem; max-width: 52ch; font-size: .9375rem; line-height: 1.7; color: #b9b9c2; }
.sb-piede__chi-link { display: inline-flex; align-items: center; gap: .4rem; color: #fff; font-weight: 700; font-size: .875rem; }
.sb-piede__chi-link:hover { color: var(--sb-rosso); }

.sb-piede__heylight {
  display: flex; flex-direction: column; gap: .75rem; padding: 1rem;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); border-radius: 10px;
  transition: border-color .2s ease, background .2s ease;
}
.sb-piede__heylight:hover { border-color: var(--sb-rosso); background: rgba(208,18,26,.08); }
.sb-piede__heylight img { width: 100%; max-width: 190px; height: auto; border-radius: 6px; display: block; margin: 0 auto; }
.sb-piede__heylight-tit { display: block; color: #fff; font-weight: 800; font-size: .9375rem; text-transform: uppercase; letter-spacing: .01em; }
.sb-piede__heylight-sot { display: block; color: var(--sb-rosso); font-size: .8125rem; font-weight: 700; }

.sb-piede__news .sb-piede__tit,
.sb-piede .block-footer .block-title,
.sb-piede__social-tit {
  margin: 0 0 .85rem; font-size: 1.0625rem; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; color: #fff;
}
.sb-piede__news-txt { margin: 0 0 1rem; font-size: .9375rem; line-height: 1.7; color: #b9b9c2; }
.sb-piede__news .block-newsletter, .sb-piede__news .block-title { display: none; }
.sb-piede__news form { margin: 0; }
.sb-piede__news input[type=email], .sb-piede__news input[type=text] {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); color: #fff; border-radius: 8px 0 0 8px; height: 46px;
}
.sb-piede__news input::placeholder { color: #8f8f99; }
.sb-piede__news button, .sb-piede__news .btn { background: var(--sb-rosso); border-color: var(--sb-rosso); color: #fff; height: 46px; border-radius: 0 8px 8px 0; }
.sb-piede__news button:hover { background: var(--sb-rosso-scuro); border-color: var(--sb-rosso-scuro); }

/* colonne di link e dati del negozio */
.sb-piede__link { padding: clamp(1.75rem, 3vw, 2.75rem) 0 .5rem; }
.sb-piede__link .block-footer .block-title span,
.sb-piede__link .block-title { font-size: 1rem; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; color: #fff; }
.sb-piede__link .block-title::after { content: ""; display: block; width: 32px; height: 2px; margin-top: .6rem; background: var(--sb-rosso); }
.sb-piede__link li { margin-bottom: .55rem; }
.sb-piede__link a { color: #b9b9c2; font-size: .9375rem; transition: color .15s ease, padding-left .15s ease; }
.sb-piede__link a:hover { color: #fff; padding-left: .25rem; }
.sb-piede__link .fa, .sb-piede__link i { color: var(--sb-rosso); }

/* social */
.sb-piede__social { display: flex; align-items: center; gap: 1rem; padding: 1rem 0 1.5rem; border-top: 1px solid rgba(255,255,255,.09); }
.sb-piede__social-tit { margin: 0; font-size: .9375rem; }
.sb-piede__social ._footer, .sb-piede__social ul { display: flex; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.sb-piede__social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: #fff; transition: background .2s ease, border-color .2s ease; }
.sb-piede__social a:hover { background: var(--sb-rosso); border-color: var(--sb-rosso); }

/* fascia bassa */
.sb-piede__basso { background: #0a0a0a; border-top: 1px solid rgba(255,255,255,.08); padding: 1.1rem 0; }
.sb-piede__basso-in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding-right: 4rem; }
.sb-piede__pagamenti { max-width: 100%; height: auto; opacity: 1; }
.sb-piede__diritti { margin: 0; font-size: .8125rem; line-height: 1.5; color: #8f8f99; text-align: right; max-width: 52ch; }
/* consenso della newsletter: la casella arrivava senza stile */
.sb-piede__news .custom-checkbox, .sb-piede__news .form-group { display: flex; align-items: flex-start; gap: .5rem; margin-top: .6rem; }
.sb-piede__news .custom-checkbox span, .sb-piede__news input[type=checkbox] { flex: 0 0 auto; margin-top: .15rem; }
.sb-piede__news .custom-checkbox label, .sb-piede__news .gdpr_consent label { font-size: .75rem; line-height: 1.5; color: #8f8f99; }
.sb-piede__news .text-muted, .sb-piede__news small { font-size: .75rem; line-height: 1.5; color: #8f8f99; }

@media (max-width: 991px) {
  .sb-piede__alto { grid-template-columns: 1fr; }
  .sb-piede__heylight { max-width: 320px; }
  .sb-piede__basso-in { flex-direction: column-reverse; text-align: center; }
  .sb-piede__diritti { text-align: center; }
}

/* piede su telefono: le colonne diventano a fisarmonica, il filetto rosso sta sotto al titolo e non di fianco */
@media (max-width: 991px) {
  .sb-piede__link .block-title::after { display: none; }
  .sb-piede__link .block-footer { border-bottom: 1px solid rgba(255,255,255,.08); padding: .35rem 0; }
  .sb-piede__social { justify-content: center; }
}
/* bottone della newsletter, il tema lo lasciava rosa slavato */
.sb-piede__news button, .sb-piede__news .btn, .sb-piede__news input[type=submit] {
  background: var(--sb-rosso) !important; border-color: var(--sb-rosso) !important; color: #fff !important; opacity: 1 !important;
}
.sb-piede__news button:hover { background: var(--sb-rosso-scuro) !important; border-color: var(--sb-rosso-scuro) !important; }

html { scroll-behavior: smooth; }

/* sb-filtri-telefono: il blocco filtri resta nascosto sul telefono finche non lo apre il pulsante Filtra */
@media (max-width: 767.98px) {
  #left-column > .PM_ASBlockOutput { display: none; }
  #search_filters_wrapper.hidden-sm-down { display: none !important; }
  #search_filter_controls { padding: .75rem 1rem 1rem; }
  #search_filter_controls .ok { width: 100%; }
}

/* sb-richieste-raffaele-10-09: badge Non disponibile rosso, tempo di consegna rosso come sul sito vecchio,
   niente riquadro attorno alle card in lista, voci del menu tutte maiuscole, taglie nelle card (modulo ecr_taglielista) */
#product-availability.js-product-availability.badge.product-unavailable,
#product-availability.js-product-availability.badge.product-unavailable-allow-oosp,
.product-miniature .product-availability .badge.product-unavailable,
.product-miniature .product-availability .badge.badge-danger { background: var(--sb-rosso, #d0121a) !important; color: #fff !important; }
.sb-tempo-consegna { color: var(--sb-rosso, #d0121a); }
.product-miniature, .product-miniature:hover, .product-miniature:focus, .product-miniature:focus-within, .product-miniature .thumbnail-container { border: 0 !important; outline: 0 !important; box-shadow: none !important; }
.cbp-links.cbp-category-tree a { text-transform: uppercase; }
.sb-taglie { font-size: .8125rem; color: #484848; margin: .2rem 0 .4rem; line-height: 1.5; }
.sb-taglie strong { font-weight: 600; margin-right: .25rem; }
.sb-taglie span { display: inline-block; margin-right: .4rem; }

/* Alcuni dei nostri marchi, fondo home: fascia chiara, titolo con filetto rosso, loghi su tessere bianche */
.sb-marchi { background: #f6f6f6; border-top: 1px solid var(--sb-linea); border-bottom: 1px solid var(--sb-linea); padding: clamp(2rem, 4vw, 3.25rem) 0; margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.sb-marchi__testa { display: flex; flex-direction: column; align-items: center; gap: .6rem; margin-bottom: clamp(1.25rem, 2.5vw, 2rem); }
.sb-marchi__titolo { margin: 0; font-size: clamp(1.15rem, 1.6vw, 1.5rem); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--sb-inchiostro); }
.sb-marchi__filetto { display: block; width: 46px; height: 3px; background: var(--sb-rosso); }
.sb-marchi__lista { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.sb-marchi__voce { display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--sb-linea); border-radius: 6px; padding: 1rem 1.25rem; min-height: 110px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.sb-marchi__voce:hover { transform: translateY(-3px); border-color: var(--sb-rosso); box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.sb-marchi__voce img { display: block; width: 100%; max-width: 150px; height: 72px; object-fit: contain; }
@media (max-width: 991.98px) { .sb-marchi__lista { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; } .sb-marchi__voce { min-height: 96px; padding: .75rem 1rem; } .sb-marchi__voce img { height: 60px; } }
@media (max-width: 767.98px) { .sb-marchi__lista { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; } .sb-marchi__voce { min-height: 76px; padding: .5rem .6rem; border-radius: 4px; } .sb-marchi__voce img { height: 46px; } .sb-marchi__voce:hover { transform: none; box-shadow: none; } }

/* sb-menu-scorrevole: da desktop il tendone del mega menu non supera lo schermo e scorre al suo interno */
@media (min-width: 992px) {
  .cbp-hrmenu .cbp-hrsub .cbp-hrsub-inner { max-height: calc(100vh - 240px); min-height: 200px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
  .cbp-hrmenu .cbp-hrsub .cbp-hrsub-inner::-webkit-scrollbar { width: 8px; }
  .cbp-hrmenu .cbp-hrsub .cbp-hrsub-inner::-webkit-scrollbar-thumb { background: #c9c9c9; border-radius: 4px; }
}

/* sb-topbar-hover: nella barra rossa i link al passaggio restano bianchi, non rossi su rosso */
.sb-topbar a:hover, .sb-topbar a:focus, .sb-topbar a.expand-more:hover, .sb-topbar .language-selector a:hover { color: #fff !important; opacity: .85; text-decoration: underline; }
.sb-topbar .dropdown-menu a:hover, .sb-topbar .dropdown-menu a:focus { color: var(--sb-rosso) !important; opacity: 1; text-decoration: none; }

/* sb-focus-griglia: dopo un filtro pm_advancedsearch4 sposta il focus sulla griglia prodotti (per gli screen reader);
   il contorno azzurro di Chrome attorno a tutta la lista non serve a nessuno, il focus resta */
#js-product-list:focus, #js-product-list:focus-visible, #js-product-list:focus-within { outline: none !important; box-shadow: none !important; }

/* ===== Pagina Modalita di pagamento (CMS 5), contenuto generato da setup/cms-pagamenti.php ===== */
.sb-pag { --pag-linea: #e6e6e6; color: var(--sb-inchiostro); }
.page-cms-5 .cms-content, .page-cms-5 .page-content { padding-top: 0; }
.sb-pag__testa { text-align: center; padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(1.5rem, 3vw, 2.25rem); }
.sb-pag__eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--sb-grigio); margin-bottom: .9rem; }
.sb-pag__eyebrow::before, .sb-pag__eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--sb-rosso); }
.sb-pag__titolo { display: block; font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.05; margin: 0 0 .75rem; }
.sb-pag__titolo em { font-style: inherit; color: var(--sb-rosso); }
.sb-pag__lead { max-width: 40em; margin: 0 auto; color: #444; font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.55; }
.sb-pag__loghi { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem .75rem; margin: 1.5rem 0 0; }
.sb-pag__loghi img { height: 52px; width: auto; padding: 2px 8px; background: #fff; border: 1px solid var(--pag-linea); border-radius: 8px; }
.sb-pag__griglia { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin: 0 0 clamp(1.5rem, 3vw, 2.5rem); }
.sb-pag__card { position: relative; display: grid; grid-template-columns: 132px 1fr; gap: 1.25rem; align-items: start; padding: 1.4rem 1.5rem; background: #fff; border: 1px solid var(--pag-linea); border-radius: 10px; transition: box-shadow .2s, transform .2s, border-color .2s; overflow: hidden; }
.sb-pag__card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--sb-rosso); opacity: 0; transition: opacity .2s; }
.sb-pag__card:hover { box-shadow: 0 14px 30px rgba(0,0,0,.08); transform: translateY(-2px); border-color: #d8d8d8; }
.sb-pag__card:hover::before { opacity: 1; }
.sb-pag__logo { display: flex; align-items: center; justify-content: center; height: 84px; background: #f6f6f6; border-radius: 8px; padding: .5rem; }
.sb-pag__logo img { max-width: 100%; max-height: 62px; width: auto; height: auto; }
.sb-pag__logo i.fa { font-size: 2.2rem; color: var(--sb-inchiostro); }
.sb-pag__card h2 { font-size: 1.15rem; font-weight: 800; margin: 0 0 .35rem; letter-spacing: .01em; }
.sb-pag__tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sb-rosso); background: #fdeaea; border-radius: 999px; padding: .2rem .6rem; margin: 0 0 .6rem; }
.sb-pag__card p { margin: 0; color: #444; line-height: 1.6; font-size: .95rem; }
.sb-pag__card p a { color: var(--sb-rosso); text-decoration: underline; font-weight: 600; }
.sb-pag__sicurezza { position: relative; background: #0f0f0f; color: #fff; border-radius: 12px; padding: clamp(1.75rem, 4vw, 3rem); margin: 0 0 clamp(1.5rem, 3vw, 2.5rem); overflow: hidden; }
.sb-pag__sicurezza::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(closest-side, rgba(208,18,26,.35), transparent); pointer-events: none; }
.sb-pag__sicurezza h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 900; font-style: italic; text-transform: uppercase; margin: 0 0 .75rem; color: #fff; }
.sb-pag__sicurezza h2 em { font-style: inherit; color: var(--sb-rosso); }
.sb-pag__sicurezza p { max-width: 46em; color: #d6d6d6; line-height: 1.6; margin: 0 0 1.25rem; }
.sb-pag__garanzie { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.sb-pag__garanzie li { display: flex; align-items: center; gap: .75rem; font-size: .9rem; color: #fff; border-top: 1px solid rgba(255,255,255,.12); padding-top: .9rem; }
.sb-pag__garanzie i.fa { color: var(--sb-rosso); font-size: 1.25rem; width: 1.5rem; text-align: center; }
@media (max-width: 991.98px) { .sb-pag__griglia { grid-template-columns: 1fr; } .sb-pag__garanzie { grid-template-columns: 1fr; gap: .5rem; } }
@media (max-width: 575.98px) { .sb-pag__card { grid-template-columns: 1fr; gap: .9rem; padding: 1.1rem 1.1rem; } .sb-pag__logo { height: 70px; max-width: 200px; } .sb-pag__loghi img { height: 40px; } }

/* sb-menu-maiuscolo: tutte le voci di primo livello del menu in maiuscolo, in ogni lingua (Offerte e Marchi comprese) */
#cbp-hrmenu > ul > li.cbp-hrmenu-tab > a, #cbp-hrmenu > ul > li.cbp-hrmenu-tab > a span { text-transform: uppercase; }

/* riferimento prodotto sotto le info aggiuntive */
.sb-riferimento { margin: .35rem 0 .75rem; font-size: .9rem; color: var(--sb-grigio); }
.sb-riferimento__etichetta { font-weight: 600; color: var(--sb-inchiostro); }

.sb-pag__card--carte .sb-pag__logo { gap: .4rem; }
.sb-pag__card--carte .sb-pag__logo img { max-height: 40px; max-width: 46%; }

/* sb-ritocchi-bottoni: bottoni rossi al passaggio, bottone spento leggibile, Avvisami quando disponibile con l'aspetto di un bottone */
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary:not(:disabled):not(.disabled):active { background: var(--sb-rosso) !important; border-color: var(--sb-rosso) !important; color: #fff !important; }
button.add-to-cart:disabled,
button.add-to-cart.disabled { cursor: not-allowed; opacity: 1 !important; background: var(--sb-rosso) !important; border-color: var(--sb-rosso) !important; color: #fff !important; } /* rosso come l'avviso Non disponibile (Raffaele, 12 settembre 2026) */
button.add-to-cart:disabled .bag-icon { opacity: .45; }
.js-mailalert .input-group { width: 100%; margin-right: 0 !important; }
.js-mailalert input[type="submit"] { display: inline-block; padding: .7rem 1.25rem; border: 2px solid var(--sb-inchiostro); background: #fff; color: var(--sb-inchiostro); font-weight: 700; font-size: .8125rem; text-transform: uppercase; letter-spacing: .05em; border-radius: 4px; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.js-mailalert input[type="submit"]:hover { background: var(--sb-rosso); border-color: var(--sb-rosso); color: #fff; }
.js-mailalert .custom-checkbox, .js-mailalert .gdpr_module_consent, .js-mailalert label { margin-bottom: .6rem; display: flex; align-items: flex-start; gap: .5rem; line-height: 1.4; }
.js-mailalert .js-mailalert-response { margin-top: .5rem; }

/* ==========================================================================
   sb-popup: popup dello sconto all'uscita (exitpopupmodule), 11.09.2026
   Stesso markup del modulo, solo stile: card bianca su sfondo scuro sfocato,
   badge rosso con la percentuale, bottone rosso pieno, buono come un biglietto.
   ========================================================================== */
#rm_pop_up .black_overlay,
#rm_fade.black_overlay{background:rgba(15,15,15,.78)!important;opacity:1!important;height:100vh!important;z-index:2147483000!important;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
#rm_pop_up #rm_return_form_popup.white_content{position:fixed!important;top:50%!important;left:50%!important;width:min(92vw,520px)!important;margin:0!important;transform:translate(-50%,-50%);background:#fff!important;border:0!important;border-radius:20px;box-shadow:0 30px 80px rgba(0,0,0,.45);overflow:hidden;z-index:2147483001!important;font-family:inherit;animation:sbPopIn .35s cubic-bezier(.2,.8,.2,1)}
@keyframes sbPopIn{from{opacity:0;transform:translate(-50%,-46%)}to{opacity:1;transform:translate(-50%,-50%)}}
#rm_pop_up .rm_innerBox{background:#fff!important;padding:0!important}
#rm_pop_up #rm_row{padding:40px 36px 28px;text-align:center;position:relative}
#rm_pop_up #rm_row::before{content:"";position:absolute;left:0;right:0;top:0;height:6px;background:linear-gradient(90deg,#d0121a,#ff4a52)}
#rm_pop_up #popup_preview{display:none!important}
#rm_pop_up .site-logo-popup{margin-bottom:18px}
#rm_pop_up .site-logo-popup img{max-width:200px;height:auto}
#rm_pop_up .popup-main-title{font-size:26px!important;line-height:1.15;font-weight:800!important;text-transform:uppercase;letter-spacing:.02em;color:#0f0f0f!important;margin:0 0 14px!important}
#rm_pop_up .popup-main-title::before{content:"-10%";display:block;width:112px;height:112px;line-height:112px;margin:0 auto 22px;border-radius:50%;background:#d0121a;color:#fff;font-size:40px;font-weight:900;letter-spacing:-.02em;box-shadow:0 12px 30px rgba(208,18,26,.35);transform:rotate(-6deg)}
#rm_pop_up .discount_text{font-size:16px!important;line-height:1.55;color:#484848!important;margin:0 auto;max-width:400px}
#rm_pop_up .discount_information{font-weight:700;color:#0f0f0f!important;font-size:18px!important;margin-bottom:6px}
#rm_pop_up .discount_limit{margin-bottom:26px}
#rm_pop_up #area{display:flex;flex-direction:column;align-items:center;gap:12px}
#rm_pop_up .textfieldbutton{margin:0!important}
#rm_pop_up .emailfield{width:100%;height:50px;border:2px solid #e6e6e6;border-radius:10px;padding:0 16px;font-size:15px}
#rm_pop_up .newbutton{width:100%!important;height:56px!important;border-radius:10px!important;background:#d0121a!important;color:#fff!important;font-size:15px!important;font-weight:700;text-transform:uppercase;letter-spacing:.12em;box-shadow:0 10px 24px rgba(208,18,26,.28);transition:background .2s,transform .2s,box-shadow .2s}
#rm_pop_up .newbutton:hover{background:#b30f16!important;transform:translateY(-1px);box-shadow:0 14px 28px rgba(208,18,26,.32)}
#rm_pop_up .newbutton .spinner{margin:0 auto}
#rm_pop_up .newbutton .spinner > div{background:#fff}
#rm_pop_up #rm_row > br{display:none}
#rm_pop_up .bottomtext{display:inline-block;margin-top:18px;font-size:13px!important;color:#8a8a8a!important;text-decoration:underline;text-underline-offset:3px;cursor:pointer;font-style:normal}
#rm_pop_up .bottomtext:hover{color:#0f0f0f!important}
#rm_pop_up .rm_popup_close_icon{position:absolute!important;top:14px!important;right:14px!important;margin:0!important;width:34px!important;height:34px!important;border-radius:50%;background:#f2f2f2!important;z-index:5;display:flex;align-items:center;justify-content:center;transition:background .2s}
#rm_pop_up .rm_popup_close_icon::before{content:"\00d7";font-size:22px;line-height:1;color:#0f0f0f}
#rm_pop_up .rm_popup_close_icon:hover{background:#d0121a!important}
#rm_pop_up .rm_popup_close_icon:hover::before{color:#fff}
#rm_pop_up #coupon-area{margin-top:6px}
#rm_pop_up .success-msgs{display:inline-block;background:#e8f5ea!important;color:#1d6b2a!important;border-radius:999px;padding:8px 16px!important;font-size:14px!important;font-weight:700;line-height:1.3!important;margin-bottom:16px}
#rm_pop_up #show-coupon{width:100%!important;margin:0!important;padding:18px 16px!important;border:2px dashed #d0121a!important;border-radius:12px;background:#fff5f5!important;color:#0f0f0f!important;font-size:30px!important;font-weight:800;letter-spacing:.12em;font-family:"SFMono-Regular",Menlo,Consolas,monospace;user-select:all}
#rm_pop_up #error-popup{background:#fff3f3;border:1px solid #f1b8bb;border-radius:10px;padding:10px 14px;margin:0 0 12px;color:#b30f16;font-size:14px}
#rm_pop_up #error-title{font-weight:700}
@media (max-width:575px){
  #rm_pop_up #rm_row{padding:34px 20px 22px}
  #rm_pop_up .popup-main-title{font-size:24px!important}
  #rm_pop_up .popup-main-title::before{width:92px;height:92px;line-height:92px;font-size:32px;margin-bottom:16px}
  #rm_pop_up #show-coupon{font-size:24px!important}
}

/* ==========================================================================
   sb-filtri-telefono2: pannello filtri da telefono senza spostare il blocco del modulo, 11.09.2026
   ========================================================================== */
@media (max-width: 767.98px) {
  /* a pannello chiuso i filtri restano nel DOM (agganci del modulo intatti) ma non si vedono */
  body:not(.sb-filtri-aperti) #left-column .PM_ASBlockOutput,
  body:not(.sb-filtri-aperti) #sb-filter-controls { display: none !important; }
  body.sb-filtri-aperti #content-wrapper,
  body.sb-filtri-aperti #footer,
  body.sb-filtri-aperti .footer-container { display: none !important; }
  body.sb-filtri-aperti #left-column { display: block !important; padding-bottom: 80px; }
  body.sb-filtri-aperti #left-column .PM_ASBlockOutput { display: block !important; }
  /* il modulo tiene chiusa la sua scheda su schermo piccolo: a pannello aperto la mostriamo */
  body.sb-filtri-aperti #left-column .PM_ASBlockOutput .card-body,
  body.sb-filtri-aperti #left-column .PM_ASBlockOutput [id^="PM_ASBlockContent_"] { display: block !important; }
  body.sb-filtri-aperti #left-column .PM_ASBlockOutput .card { border: 0; }
  body.sb-filtri-aperti #sb-filter-controls {
    display: block !important; position: fixed; left: 0; right: 0; bottom: 0;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #fff;
    box-shadow: 0 -6px 18px rgba(0,0,0,.12); z-index: 1030;
  }
  body.sb-filtri-aperti #sb-filter-controls .btn { width: 100%; }
}
@media (min-width: 768px) { #sb-filter-controls { display: none !important; } }

/* fascia del codice sconto sotto il hero (Raffaele, 12 settembre 2026) */
/* 21.09.2026: a tutta larghezza fino ai bordi, come le sezioni vicine (Stefan, screenshot delle 18:52) */
.sb-promo10 { position: relative; width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); background: #0f0f0f; color: #fff; overflow: hidden; }
.sb-promo10::before { content: ""; position: absolute; inset: 0; background:
    radial-gradient(60% 120% at 0% 50%, rgba(208,18,26,.28), transparent 60%),
    radial-gradient(40% 100% at 100% 50%, rgba(255,255,255,.05), transparent 60%); pointer-events: none; }
.sb-promo10__stripe { height: 6px; background: repeating-linear-gradient(-45deg, var(--sb-rosso) 0 14px, #0f0f0f 14px 20px); }
.sb-promo10__row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.6rem 15px 1.7rem; }
.sb-promo10__left { display: flex; align-items: center; gap: 1.25rem; min-width: 0; }
.sb-promo10__pct { font-size: 4.6rem; line-height: .85; font-weight: 800; font-style: italic; letter-spacing: -.04em; color: var(--sb-rosso); text-shadow: 0 2px 0 rgba(0,0,0,.4); white-space: nowrap; }
.sb-promo10__pct small { font-size: .5em; font-style: italic; vertical-align: top; margin-left: .05em; }
.sb-promo10__txt { display: flex; flex-direction: column; gap: .25rem; border-left: 1px solid rgba(255,255,255,.18); padding-left: 1.25rem; }
.sb-promo10__txt strong { font-size: 1.45rem; line-height: 1.1; font-weight: 800; text-transform: uppercase; letter-spacing: .01em; }
.sb-promo10__txt span { font-size: .95rem; color: rgba(255,255,255,.72); }
.sb-promo10__ticket { position: relative; display: grid; grid-template-columns: auto auto; grid-template-areas: "label copy" "code copy"; align-items: center; column-gap: 1.25rem; row-gap: .15rem;
    padding: .8rem 1.1rem .8rem 1.4rem; background: #fff; color: #0f0f0f; border: 0; border-radius: 10px; cursor: pointer; text-align: left; flex: 0 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,.45); transition: transform .15s ease, box-shadow .15s ease; }
.sb-promo10__ticket::before, .sb-promo10__ticket::after { content: ""; position: absolute; left: -9px; width: 18px; height: 18px; border-radius: 50%; background: #0f0f0f; }
.sb-promo10__ticket::before { top: -9px; } .sb-promo10__ticket::after { bottom: -9px; }
.sb-promo10__ticket:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,.5); }
.sb-promo10__label { grid-area: label; font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: #6b6b6b; }
.sb-promo10__code { grid-area: code; font-family: "Courier New", Courier, monospace; font-size: 1.9rem; font-weight: 700; letter-spacing: .12em; line-height: 1; }
.sb-promo10__copy { grid-area: copy; align-self: stretch; display: inline-flex; align-items: center; gap: .45rem; padding: 0 1rem; border-left: 2px dashed #cfcfcf; font-size: .9rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--sb-rosso); }
.sb-promo10__copied { display: none; color: #1e9e4a; }
.sb-promo10__ticket.is-copied .sb-promo10__copy-txt, .sb-promo10__ticket.is-copied .sb-promo10__copy .fa { display: none; }
.sb-promo10__ticket.is-copied .sb-promo10__copied { display: inline; }
@media (max-width: 991.98px) { .sb-promo10__pct { font-size: 3.6rem; } .sb-promo10__txt strong { font-size: 1.15rem; } }
@media (max-width: 767.98px) {
  .sb-promo10__row { flex-direction: column; gap: 1.1rem; padding: 1.3rem 15px 1.5rem; text-align: center; }
  .sb-promo10__left { flex-direction: column; gap: .4rem; }
  .sb-promo10__txt { border-left: 0; padding-left: 0; align-items: center; }
  .sb-promo10__ticket { width: 100%; grid-template-columns: 1fr auto; }
  .sb-promo10__ticket::before, .sb-promo10__ticket::after { display: none; }
  .sb-promo10__code { font-size: 1.6rem; }
}

.sb-promo--fermo { cursor: default; text-decoration: none; }
.sb-promo--fermo:hover { text-decoration: none; }

/* Ecomrules 13.09.2026: da telefono il blocco Contatti del piede resta aperto, cosi telefono, email e Scrivici si vedono senza toccare il titolo */
@media (max-width: 767px) {
  #footer .block-toggle.block-iqitcontactpage > .block-content { display: block; }
  #footer .block-toggle.block-iqitcontactpage > .block-title { cursor: default; pointer-events: none; }
  #footer .block-toggle.block-iqitcontactpage > .block-title span::after { display: none; }
}

/* Ecomrules 13.09.2026: nella lista di tutte le marche (/marchi) la colonna dei filtri non serve (Raffaele); nelle pagine della singola marca, che hanno la classe manufacturer-id-N, resta */
body.page-manufacturer:not([class*="manufacturer-id-"]) #left-column { display: none; }
body.page-manufacturer:not([class*="manufacturer-id-"]) #content-wrapper { flex: 0 0 100%; max-width: 100%; }

/* ==========================================================================
   sb-rec: sezione recensioni della home "La passione parla da se", 21.09.2026
   Progetto grafico di Stefan (cartella "Nuova Sezione Recensioni"). Il blocco sta dentro una sezione
   "boxed" di Elementor: esce a tutta larghezza con i margini negativi sul 50% della finestra.
   ========================================================================== */
.elementor-element-sbrec1, .elementor-element-sbrec1 .elementor-container, .elementor-element-sbrec1 .elementor-column-wrap,
.elementor-element-sbrec1 .elementor-widget-wrap { overflow: visible !important; }
.sb-rec { position: relative; isolation: isolate; width: 100vw; max-width: 100vw; margin: 0 calc(50% - 50vw);
  padding: clamp(2.5rem, 4.2vw, 4rem) 0 clamp(2.5rem, 4vw, 3.75rem); background: #f3f3f3; color: #0f0f0f; overflow: hidden; }
.sb-rec__sfondo { position: absolute; inset: 0; z-index: -1; display: block; }
.sb-rec__sfondo img { width: 100%; height: 100%; object-fit: cover; object-position: right center; display: block; }
.sb-rec__dentro { position: relative; max-width: 1500px; margin: 0 auto; padding: 0 clamp(16px, 6.5vw, 112px); }

.sb-rec__testa { display: flex; align-items: center; justify-content: space-between; gap: 2rem 3rem; flex-wrap: wrap; margin-bottom: clamp(1.5rem, 2.6vw, 2.5rem); }
.sb-rec__titoli { flex: 1 1 520px; min-width: 0; padding-left: 1.25rem; }
.sb-rec__occhiello { display: flex; align-items: center; gap: 14px; margin: 0 0 .7rem; font-size: .88rem; font-style: italic;
  font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #161616; }
.sb-rec__occhiello::before { content: ""; width: 44px; height: 2px; background: var(--sb-rosso); flex: 0 0 44px; }
.sb-rec__titolo { position: relative; margin: 0 0 1rem; font-size: clamp(2.35rem, 5.1vw, 4.7rem); line-height: .93; font-weight: 900;
  font-style: italic; text-transform: uppercase; letter-spacing: -.035em; color: #0b0b0b; }
.sb-rec__titolo::before { content: ""; position: absolute; left: -1.05rem; top: 4%; bottom: 4%; width: 3px; background: var(--sb-rosso); transform: skewX(-14deg); }
.sb-rec__titolo span, .sb-rec__titolo em { display: block; }
.sb-rec__titolo em { color: var(--sb-rosso); font-style: italic; }
.sb-rec__sotto { margin: 0; max-width: 46rem; font-size: clamp(1rem, 1.25vw, 1.2rem); line-height: 1.45; color: #3d3d3d; }

.sb-rec__voto { display: flex; align-items: stretch; flex: 0 1 auto; filter: drop-shadow(0 14px 28px rgba(0,0,0,.16)); }
.sb-rec__voto-chiaro { display: flex; align-items: center; gap: 1.6rem; padding: 1.35rem 3.2rem 1.35rem 1.9rem; margin-right: -2.1rem;
  background: rgba(244,244,244,.94); border-radius: 12px 0 0 12px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sb-rec__numero { margin: 0; line-height: .9; font-style: italic; font-weight: 900; letter-spacing: -.04em; white-space: nowrap; }
.sb-rec__numero strong { font-size: clamp(2.6rem, 3.6vw, 3.5rem); font-weight: 900; }
.sb-rec__numero span { font-size: clamp(1.6rem, 2.1vw, 2.1rem); }
.sb-rec__totale { padding-left: 1.6rem; border-left: 2px solid #1a1a1a; }
.sb-rec__quante { margin: 0 0 .25rem; font-size: clamp(1.5rem, 2vw, 1.9rem); line-height: 1; font-style: italic; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.sb-rec__quante-testo { margin: 0; font-size: .72rem; line-height: 1.35; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: #2a2a2a; }
.sb-rec__voto-scuro { display: flex; align-items: center; gap: 1.1rem; padding: 1.35rem 2.1rem 1.35rem 3rem; background: #0b0b0b; color: #fff;
  border-radius: 0 12px 12px 0; clip-path: polygon(2.1rem 0, 100% 0, 100% 100%, 0 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); cursor: help; }
.sb-rec__voto-scuro p { margin: 0; line-height: 1.35; }
.sb-rec__voto-scuro strong { display: block; font-size: 1rem; font-weight: 700; white-space: nowrap; }
.sb-rec__voto-scuro span { display: flex; align-items: center; gap: .45rem; font-size: .92rem; color: #e9e9e9; }
.sb-rec__voto-scuro i { display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px; border: 1.5px solid currentColor;
  border-radius: 50%; font-size: .68rem; font-style: normal; font-weight: 700; line-height: 1; }

.sb-rec__stelle { display: flex; gap: 3px; margin: 0; font-size: 1.25rem; line-height: 1; letter-spacing: 0; }
.sb-rec__stelle span { color: #d2d2d2; }
.sb-rec__stelle .piena { color: #f7931e; }
.sb-rec__stelle .mezza { background: linear-gradient(90deg, #f7931e 50%, #d2d2d2 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sb-rec__stelle--grandi { margin-top: .45rem; font-size: 1.6rem; gap: 4px; }

.sb-rec__giostra { position: relative; }
.sb-rec__binario { --sb-rec-vista: 4; display: flex; gap: 16px; margin: 0; padding: 6px 2px 22px; list-style: none; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.sb-rec__binario::-webkit-scrollbar { display: none; }
.sb-rec__scheda { flex: 0 0 calc((100% - (var(--sb-rec-vista) - 1) * 16px) / var(--sb-rec-vista)); min-width: 0; scroll-snap-align: start;
  display: flex; flex-direction: column; padding: 1.4rem 1.55rem 1.5rem; background: #fff; border-radius: 10px; box-shadow: 0 10px 26px rgba(0,0,0,.09); }
.sb-rec__riga { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .8rem; }
.sb-rec__data { font-size: .82rem; color: #8a8a8a; white-space: nowrap; }
.sb-rec__scheda-titolo { margin: 0 0 .5rem; font-size: 1.12rem; line-height: 1.25; font-weight: 800; letter-spacing: -.01em; color: #0f0f0f; text-transform: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sb-rec__scheda-titolo--prodotto { font-weight: 700; color: #3a3a3a; }
.sb-rec__testo { flex: 1 1 auto; margin: 0 0 1.1rem; font-size: .96rem; line-height: 1.5; color: #555; display: -webkit-box; -webkit-line-clamp: 4;
  -webkit-box-orient: vertical; overflow: hidden; min-height: 5.76em; }
.sb-rec__foto { display: flex; align-items: center; justify-content: center; height: clamp(150px, 13vw, 190px); margin: 0 -.25rem 1.1rem; padding: .6rem;
  background: #f1f1f1; border-radius: 8px; overflow: hidden; }
.sb-rec__foto img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; transition: transform .35s ease; }
.sb-rec__foto:hover img { transform: scale(1.05); }
.sb-rec__chi { margin: 0 0 .45rem; font-size: 1rem; font-weight: 800; color: #0f0f0f; }
.sb-rec__verificato { display: flex; align-items: center; gap: .55rem; margin: 0; font-size: .92rem; color: #4a4a4a; }
.sb-rec__verificato svg { flex: 0 0 20px; }

.sb-rec__freccia { position: absolute; top: calc(50% - 40px); z-index: 2; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px;
  padding: 0; border: 2px solid #0d0d0d; border-radius: 50%; background: #0d0d0d; color: #fff; cursor: pointer; transition: background .18s, transform .18s, opacity .18s; }
.sb-rec__freccia:hover { background: var(--sb-rosso); border-color: var(--sb-rosso); transform: scale(1.05); }
.sb-rec__freccia--prima { left: -80px; }
.sb-rec__freccia--dopo { right: -80px; box-shadow: 0 0 0 2px rgba(255,255,255,.85); }
.sb-rec__freccia[disabled] { opacity: .35; cursor: default; transform: none; background: #0d0d0d; border-color: #0d0d0d; }
.sb-rec__giostra--ferma .sb-rec__freccia, .sb-rec__giostra--ferma .sb-rec__punti { display: none; }
.sb-rec__punti { display: flex; align-items: center; justify-content: center; gap: 22px; min-height: 12px; margin-top: .4rem; }
.sb-rec__punti button { flex: 0 0 auto; box-sizing: border-box; width: 11px; min-width: 0; height: 11px; min-height: 0; padding: 0; border: 0; border-radius: 999px; background: #bdbdbd; cursor: pointer; transition: width .2s, background .2s; }
.sb-rec__punti button.attivo { width: 26px; min-width: 26px; background: var(--sb-rosso); }

.sb-rec__piede { position: relative; display: flex; align-items: center; justify-content: center; margin-top: 1.9rem; }
.sb-rec__tutte { display: inline-flex; align-items: center; justify-content: center; gap: .9rem; min-width: min(100%, 390px); padding: 1.05rem 2.2rem;
  background: var(--sb-rosso); color: #fff !important; border-radius: 4px; font-size: 1rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase;
  text-decoration: none; box-shadow: 0 10px 22px rgba(208,18,26,.28); transition: background .18s, transform .18s; }
.sb-rec__tutte:hover { background: var(--sb-rosso-scuro); transform: translateY(-2px); }
.sb-rec__tutte svg { transition: transform .18s; }
.sb-rec__tutte:hover svg { transform: translateX(4px); }
.sb-rec__frase { position: absolute; right: 0; top: 50%; transform: translateY(-50%); max-width: 17rem; margin: 0; padding-top: .8rem; font-size: .92rem;
  font-style: italic; line-height: 1.45; text-align: right; color: #2c2c2c; }
.sb-rec__frase::before { content: ""; position: absolute; top: 0; left: 0; width: 30px; height: 2px; background: var(--sb-rosso); }

@media (max-width: 1699px) { .sb-rec__freccia--prima { left: -66px; } .sb-rec__freccia--dopo { right: -66px; } }
@media (max-width: 1399px) { .sb-rec__binario { --sb-rec-vista: 3; } .sb-rec__dentro { padding: 0 84px; } .sb-rec__frase { position: static; transform: none; max-width: none; margin-top: 1.4rem; text-align: center; }
  .sb-rec__frase::before { left: 50%; margin-left: -15px; } .sb-rec__piede { flex-direction: column; } }
@media (max-width: 991px) { .sb-rec__binario { --sb-rec-vista: 2; } .sb-rec__voto { flex: 1 1 100%; } .sb-rec__voto-chiaro { flex: 1 1 auto; justify-content: center; } }
@media (max-width: 767px) {
  .sb-rec { padding: 2.4rem 0 2.6rem; }
  /* da telefono la sezione e piu alta della foto: la foto sta in alto a tutta larghezza e sfuma, e la stessa foto
     ancorata in basso porta le strisce rosse e l'asfalto; in mezzo le due si fondono sul grigio chiaro */
  .sb-rec__sfondo { bottom: auto; aspect-ratio: 941 / 1672; max-height: 100%; -webkit-mask-image: linear-gradient(#000 0, #000 40%, transparent 74%); mask-image: linear-gradient(#000 0, #000 40%, transparent 74%); }
  .sb-rec__sfondo img { object-position: right top; }
  .sb-rec::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: -1; aspect-ratio: 941 / 1672; max-height: 100%;
    background: url(../img/recensioni/sfondo-telefono.jpg) center bottom / 100% auto no-repeat; background-image: image-set(url(../img/recensioni/sfondo-telefono.webp) type("image/webp"), url(../img/recensioni/sfondo-telefono.jpg) type("image/jpeg"));
    -webkit-mask-image: linear-gradient(transparent 30%, #000 66%); mask-image: linear-gradient(transparent 30%, #000 66%); pointer-events: none; }
  /* velo chiaro dietro ai titoli, cosi il testo si legge anche dove arriva la foto del pilota */
  .sb-rec__titoli { position: relative; }
  .sb-rec__titoli::after { content: ""; position: absolute; z-index: -1; top: -1.4rem; bottom: -1.2rem; left: -18px; right: -18px;
    background: linear-gradient(90deg, rgba(246,246,246,.96) 0, rgba(246,246,246,.9) 58%, rgba(246,246,246,.35) 82%, rgba(246,246,246,0) 100%); }
  .sb-rec__dentro { padding: 0 18px; }
  .sb-rec__titoli { flex-basis: 100%; padding-left: 1rem; max-width: 100%; }
  .sb-rec__occhiello { font-size: .78rem; letter-spacing: .22em; }
  .sb-rec__titolo { font-size: clamp(2.3rem, 11.4vw, 3.4rem); }
  .sb-rec__sotto { max-width: 19.5rem; font-size: 1rem; }
  .sb-rec__voto { width: 100%; min-width: 0; }
  .sb-rec__voto-chiaro { gap: .8rem; padding: 1rem 2.2rem 1rem .95rem; margin-right: -1.5rem; flex: 0 1 auto; min-width: 0; justify-content: flex-start; }
  .sb-rec__numero strong { font-size: 2.1rem; } .sb-rec__numero span { font-size: 1.3rem; }
  .sb-rec__stelle--grandi { font-size: 1.02rem; gap: 1px; }
  .sb-rec__totale { padding-left: .8rem; } .sb-rec__quante { font-size: 1.25rem; } .sb-rec__quante-testo { max-width: 5.4rem; font-size: .58rem; letter-spacing: .05em; }
  .sb-rec__voto-scuro { flex: 1 1 0; min-width: 0; gap: .55rem; padding: 1rem .7rem 1rem 2rem; clip-path: polygon(1.5rem 0, 100% 0, 100% 100%, 0 100%); }
  .sb-rec__voto-scuro svg { width: 28px; height: 31px; flex: 0 0 28px; } .sb-rec__voto-scuro strong { font-size: .8rem; white-space: normal; line-height: 1.2; } .sb-rec__voto-scuro span { font-size: .72rem; flex-wrap: wrap; gap: .3rem; line-height: 1.25; margin-top: .15rem; } .sb-rec__voto-scuro i { width: 14px; height: 14px; font-size: .58rem; }
  .sb-rec__binario { gap: 14px; margin-right: -18px; padding-right: 18px; scroll-padding-left: 0; }
  .sb-rec__scheda { flex-basis: 82%; padding: 1.25rem 1.3rem 1.35rem; }
  .sb-rec__foto { height: 190px; }
  .sb-rec__freccia { display: none; }
  .sb-rec__punti { gap: 18px; }
  .sb-rec__tutte { width: 100%; min-width: 0; padding: 1.05rem 1.2rem; font-size: .95rem; }
  .sb-rec__frase { align-self: flex-end; max-width: 15.5rem; padding: .8rem .2rem 0; text-align: right; color: #1d1d1d; text-shadow: 0 0 10px rgba(255,255,255,.9), 0 0 3px rgba(255,255,255,.9); } .sb-rec__frase::before { left: 0; margin: 0; }
}
@media (max-width: 380px) { .sb-rec__voto { flex-direction: column; } .sb-rec__voto-chiaro { margin: 0; border-radius: 12px 12px 0 0; padding-right: 1.1rem; justify-content: center; }
  .sb-rec__voto-scuro { clip-path: none; border-radius: 0 0 12px 12px; padding-left: 1.1rem; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .sb-rec__binario { scroll-behavior: auto; } .sb-rec__foto img, .sb-rec__tutte, .sb-rec__freccia { transition: none; } }

/* sb-rec--categoria: le stesse schede in fondo alle categorie (gsnippetsreviews, category_reviews-bottom.tpl), 30.09.2026.
   Versione compatta scelta da Stefan: sta nella colonna dei prodotti, niente tutta larghezza, foto di sfondo ne titolone. */
.sb-rec--categoria { width: auto; max-width: none; margin: 2.5rem 0 1rem; padding: 1.75rem 0 1.25rem; background: #f3f3f3; border-radius: 10px; }
.sb-rec--categoria::after { content: none; }
.sb-rec--categoria .sb-rec__dentro { max-width: none; padding: 0 clamp(16px, 3vw, 40px); }
.sb-rec--categoria .sb-rec__testa { align-items: flex-end; gap: 1rem 2rem; margin-bottom: 1.25rem; }
.sb-rec--categoria .sb-rec__occhiello { margin-bottom: .6rem; }
.sb-rec__cat-voto { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem 1rem; }
.sb-rec--categoria .sb-rec__stelle--grandi { margin: 0; font-size: 1.45rem; }
.sb-rec__cat-numeri { margin: 0; font-size: 1rem; line-height: 1.2; color: #3a3a3a; }
.sb-rec__cat-numeri strong { font-size: 1.5rem; font-weight: 900; font-style: italic; letter-spacing: -.02em; color: #0f0f0f; }
.sb-rec__cat-tutte { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  color: var(--sb-rosso) !important; text-decoration: none; white-space: nowrap; }
.sb-rec__cat-tutte svg { transition: transform .18s; }
.sb-rec__cat-tutte:hover svg { transform: translateX(4px); }
.sb-rec--categoria .sb-rec__binario { --sb-rec-vista: 3; }
.sb-rec--categoria .sb-rec__freccia { width: 44px; height: 44px; top: calc(50% - 34px); }
.sb-rec--categoria .sb-rec__freccia--prima { left: -14px; }
.sb-rec--categoria .sb-rec__freccia--dopo { right: -14px; box-shadow: none; }
.sb-rec--categoria .sb-rec__foto { height: clamp(140px, 11vw, 170px); }
@media (max-width: 1199px) { .sb-rec--categoria .sb-rec__binario { --sb-rec-vista: 2; } }
@media (max-width: 767px) {
  .sb-rec--categoria { margin-top: 2rem; padding: 1.5rem 0 1.1rem; border-radius: 0; }
  .sb-rec--categoria .sb-rec__dentro { padding: 0 16px; }
  .sb-rec--categoria .sb-rec__testa { flex-direction: column; align-items: flex-start; }
  .sb-rec--categoria .sb-rec__binario { margin-right: -16px; padding-right: 16px; }
}

/* ==========================================================================
   sb-off: sezione OFFERTE IN EVIDENZA della home, 21.09.2026
   Progetto grafico di Stefan (cartella "Nuova Sezione Prodotti"). La struttura (titolo e prodotti nella stessa sezione
   Elementor sbtitolo1) la prepara setup/home-offerte.php. Le schede sono quelle di Warehouse, qui solo ridisegnate
   dentro questa sezione: fuori da qui le liste prodotti non cambiano. Dal 21.09 sera vale anche per la striscia
   NUOVI PRODOTTI (sbnuovi1), che resta su una riga a scorrimento: per questo i selettori sono :is(sbtitolo1, sbnuovi1).
   ========================================================================== */
:is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1), :is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .elementor-container, :is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .elementor-column-wrap,
:is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .elementor-widget-wrap { overflow: visible !important; }
:is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) { position: relative; isolation: isolate; margin: 0 !important; padding: clamp(1.75rem, 2.8vw, 2.9rem) 0 clamp(2rem, 3vw, 3.1rem) !important; }
:is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1)::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%);
  background: #f7f7f7 url(../img/offerte/sfondo-computer.jpg) center top / cover no-repeat;
  background-image: image-set(url(../img/offerte/sfondo-computer.webp) type("image/webp"), url(../img/offerte/sfondo-computer.jpg) type("image/jpeg")); }
:is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .elementor-widget:not(:last-child) { margin-bottom: 0; }

.sb-off__testa { display: flex; align-items: center; flex-wrap: wrap; gap: 1.25rem 3rem; margin: 0 0 1.9rem; }
.sb-off__titoli { position: relative; padding-left: 5.6rem; }
.sb-off__titoli::before { content: ""; position: absolute; left: 0; bottom: 1.35rem; width: 66px; height: 3px; background: var(--sb-rosso); }
.sb-off__occhiello { margin: 0 0 .35rem .2rem; font-size: .74rem; line-height: 1.2; font-style: italic; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--sb-rosso); }
.sb-off__titolo { margin: 0; font-size: clamp(2rem, 3.5vw, 3.35rem); line-height: .95; font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -.035em; color: #0b0b0b; }
.sb-off__titolo em { color: var(--sb-rosso); font-style: italic; }
.sb-off__motto { position: relative; margin: 0; padding-left: 2.7rem; font-size: .78rem; line-height: 1.75; font-style: italic; letter-spacing: .22em; text-transform: uppercase; color: #4a4a4a; }
.sb-off__motto::before { content: ""; position: absolute; left: .6rem; top: -.35rem; bottom: -.35rem; width: 2px; background: #b9b9b9; transform: skewX(-20deg); }
.sb-off__tutte { margin-left: auto; font-size: 1rem; font-weight: 600; color: #111 !important; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.sb-off__tutte:hover { color: var(--sb-rosso) !important; }
.sb-off__tutte i { margin-left: .7rem; font-size: 1.5rem; vertical-align: -3px; color: var(--sb-rosso); text-decoration: none; display: inline-block; }
.sb-off__pillole, .sb-off__fine { display: none; }

:is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .products { margin-left: -8px; margin-right: -8px; row-gap: 16px; }
:is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .js-product-miniature-wrapper { display: flex; padding: 0 8px !important; margin-bottom: 0 !important; }
:is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) article.product-miniature { position: relative; display: flex; flex-direction: column; width: 100%; margin: 0; padding: 0 !important; background: #fff;
  border: 0; border-radius: 8px; box-shadow: 0 8px 22px rgba(0,0,0,.07); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
:is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) article.product-miniature:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(0,0,0,.13); }
:is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .thumbnail-container { position: relative; padding: 14px 16px 0; background: transparent; overflow: visible; }
:is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .product-thumbnail { display: block; position: relative; height: clamp(160px, 14.5vw, 235px); }
:is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .product-thumbnail picture { display: block; height: 100%; }
:is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .product-thumbnail img { width: 100%; height: 100%; object-fit: contain; }
:is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .product-thumbnail picture + picture { position: absolute; inset: 0; }
:is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .product-flags { position: absolute; top: 10px; left: 0; right: auto; margin: 0; padding: 0; z-index: 2; }
:is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .product-flag { display: block; margin: 0 0 4px; }
:is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .product-flag.discount { padding: .32rem 1.05rem .32rem .75rem; background: var(--sb-rosso); color: #fff; font-size: .95rem; line-height: 1.15; font-style: italic;
  font-weight: 800; letter-spacing: .01em; border-radius: 0; clip-path: polygon(0 0, 100% 0, calc(100% - 11px) 100%, 0 100%); }
:is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .product-functional-buttons { position: absolute; top: 12px; right: 12px; left: auto !important; bottom: auto; width: auto !important; min-width: 0; margin: 0; padding: 0; background: none !important;
  box-shadow: none; opacity: 1 !important; visibility: visible !important; transform: none !important; z-index: 2; }
:is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .product-functional-buttons-links { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; width: auto; min-width: 0; padding: 0; background: none; }
:is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .product-functional-buttons-links > a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin: 0; padding: 0;
  border-radius: 50%; background: #fff; color: #111; font-size: .95rem; box-shadow: 0 2px 9px rgba(0,0,0,.16); transition: background .15s, color .15s; }
:is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .product-functional-buttons-links > a:hover { background: var(--sb-rosso); color: #fff; }
:is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .btn-iqitcompare-add { display: none !important; }
:is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .js-quick-view-iqit i { display: none; }
:is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .js-quick-view-iqit::before { content: ""; width: 17px; height: 17px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5' fill='none' stroke='%23000' stroke-width='2.2'/%3E%3Cpath d='m15.5 15.5 5 5' stroke='%23000' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5' fill='none' stroke='%23000' stroke-width='2.2'/%3E%3Cpath d='m15.5 15.5 5 5' stroke='%23000' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
:is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .product-availability { position: absolute; left: 16px; right: auto; bottom: 6px; width: auto; margin: 0; transform: none !important; text-align: left; z-index: 2; }
:is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .product-availability .badge { margin: 0 !important; font-size: .68rem; font-weight: 700; }

:is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .product-description { display: flex; flex-direction: column; flex: 1 1 auto; padding: 10px 20px 18px; text-align: left; }
:is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .products-grid .product-miniature .product-category-name { display: block !important; margin: 0 0 .25rem; font-size: .72rem; line-height: 1.3; letter-spacing: .03em; text-transform: uppercase; color: #5a5a5a !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
:is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .product-title { margin: 0 0 .35rem; font-size: 1.05rem !important; line-height: 1.25; font-weight: 800; letter-spacing: -.01em; color: #0f0f0f; text-align: left;
  display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
:is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .product-title:hover { color: var(--sb-rosso); }
:is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .product-brand, :is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .product-reference, :is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .product-description-short { display: none !important; }
:is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .sb-stelle { justify-content: flex-start; align-items: center; margin: 0 0 .3rem; }
:is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) #spr_list .rating-star-display > label { font-size: 15px !important; width: 18px !important; height: 18px !important; overflow: hidden; margin: 0; line-height: 1; color: #d2d2d2 !important; }
:is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) #spr_list .rating-star-display > label::before { color: #d2d2d2 !important; }
:is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) #spr_list .rating-star-display > label.checked, :is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) #spr_list .rating-star-display > label.checked::before { color: #f7931e !important; }
:is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .sb-stelle__n { font-size: .82rem; color: #666; margin-left: .35rem; }
:is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .product-price-and-shipping { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: flex-start !important; margin-top: auto; text-align: left; }
:is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .sb-taglie { flex: 0 0 100%; width: 100%; justify-content: flex-start; margin: 0 0 .4rem; font-size: .84rem; color: #444; text-align: left; }
:is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .product-price { font-size: 1.35rem; line-height: 1.1; font-weight: 800; color: var(--sb-rosso) !important; }
:is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .regular-price { margin-left: .65rem; font-size: .95rem; color: #6f6f6f !important; text-decoration: line-through; }
:is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .products-grid .product-miniature .product-add-cart { display: block !important; margin: .75rem 0 0; padding: 0; }
:is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .product-add-cart form, :is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .input-group-add-cart { display: block; margin: 0; }
:is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .product-add-cart .input-qty { display: none !important; }
:is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .product-add-cart .btn { display: flex; align-items: center; justify-content: center; gap: .65rem; width: 100%; min-height: 40px; margin: 0; padding: .6rem 1rem;
  border: 0; border-radius: 4px; background: linear-gradient(180deg, #e3161e 0%, #c20f16 100%); color: #fff !important; font-size: .82rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; box-shadow: 0 6px 14px rgba(208,18,26,.22); transition: filter .15s, transform .15s; }
:is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .product-add-cart .btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
:is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .product-add-cart .bag-icon { display: none; }
:is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .product-add-cart .add-to-cart::before { content: ""; width: 19px; height: 19px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 3.5h3l2.6 11.2a1.5 1.5 0 0 0 1.5 1.1h8.3a1.5 1.5 0 0 0 1.4-1.1L21 7.5H6.4'/%3E%3Ccircle cx='10' cy='20' r='1.4'/%3E%3Ccircle cx='17.5' cy='20' r='1.4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 3.5h3l2.6 11.2a1.5 1.5 0 0 0 1.5 1.1h8.3a1.5 1.5 0 0 0 1.4-1.1L21 7.5H6.4'/%3E%3Ccircle cx='10' cy='20' r='1.4'/%3E%3Ccircle cx='17.5' cy='20' r='1.4'/%3E%3C/svg%3E") center / contain no-repeat; }
:is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .product-add-cart a.btn::after { content: "\f105"; font-family: "Font Awesome 6 Free", FontAwesome; font-size: 1.05rem; line-height: 1; font-weight: 900; }
/* prodotto non disponibile: tasto a contorno, come lo "Scopri" del progetto */
:is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) article:has(.product-unavailable) .product-add-cart .btn { background: #fff; color: var(--sb-rosso) !important; box-shadow: inset 0 0 0 1.5px var(--sb-rosso); }

@media (max-width: 1199px) { .sb-off__motto { display: none; } .sb-off__titoli { padding-left: 4.4rem; } .sb-off__titoli::before { width: 50px; } }
@media (max-width: 767px) {
  :is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) { padding: 1.9rem 0 2.2rem !important; }
  /* da telefono la sezione e molto piu alta della foto: la foto sta in alto e sfuma, la stessa foto ancorata in basso porta le strisce rosse */
  :is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1)::before, :is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1)::after { content: ""; position: absolute; z-index: -1; left: 50%; width: 100vw; height: 177.7vw; max-height: 100%; transform: translateX(-50%);
    background: url(../img/offerte/sfondo-telefono.jpg) center top / 100% auto no-repeat;
    background-image: image-set(url(../img/offerte/sfondo-telefono.webp) type("image/webp"), url(../img/offerte/sfondo-telefono.jpg) type("image/jpeg")); pointer-events: none; }
  :is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1)::before { top: 0; bottom: auto; -webkit-mask-image: linear-gradient(#000 0, #000 38%, transparent 70%); mask-image: linear-gradient(#000 0, #000 38%, transparent 70%); }
  :is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1)::after { top: auto; bottom: 0; background-position: center bottom; -webkit-mask-image: linear-gradient(transparent 45%, #000 80%); mask-image: linear-gradient(transparent 45%, #000 80%); }
  :is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .elementor-widget-wrap { padding: 0 12px !important; }
  .sb-off__testa { display: block; margin: 0 0 1.1rem; padding: 0 2px; }
  .sb-off__titoli { padding-left: 0; }
  .sb-off__titoli::before { position: static; display: inline-block; vertical-align: middle; width: 34px; margin: 0 .8rem .15rem 0; float: left; transform: translateY(.42rem); }
  .sb-off__occhiello { margin: 0 0 .5rem; font-size: .66rem; letter-spacing: .2em; }
  .sb-off__titolo { clear: both; font-size: clamp(2.1rem, 10.4vw, 3rem); color: #2a2a2a; }
  .sb-off__titolo em { display: block; }
  .sb-off__motto { display: block; margin-top: .9rem; padding-left: 0; font-size: .68rem; letter-spacing: .2em; }
  .sb-off__motto::before { display: none; }
  .sb-off__tutte { display: none; }
  .sb-off__pillole { display: flex; gap: 8px; margin: 0 -12px 1.1rem; padding: 2px 12px 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .sb-off__pillole::-webkit-scrollbar { display: none; }
  .sb-off__pillola { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .5rem; padding: .62rem 1.1rem; border-radius: 12px; background: #efefef; color: #2c2c2c !important; font-size: .95rem; white-space: nowrap; text-decoration: none; }
  .sb-off__pillola--attiva { background: var(--sb-rosso); color: #fff !important; font-weight: 600; box-shadow: 0 6px 14px rgba(208,18,26,.25); }
  :is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .products { margin-left: -5px; margin-right: -5px; row-gap: 10px; }
  :is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .js-product-miniature-wrapper { padding: 0 5px !important; }
  :is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .thumbnail-container { padding: 10px 10px 0; }
  :is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .product-thumbnail { height: clamp(130px, 40vw, 190px); }
  :is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .product-flag.discount { font-size: .85rem; padding: .28rem .9rem .28rem .6rem; }
  :is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .product-functional-buttons { top: 8px; right: 8px; }
  :is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .product-functional-buttons-links > a { width: 32px; height: 32px; font-size: .85rem; }
  :is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .js-quick-view-iqit { display: none !important; }
  :is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .product-description { padding: 8px 11px 12px; }
  :is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .product-category-name { font-size: .64rem; }
  :is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .product-title { font-size: .95rem !important; }
  :is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .sb-taglie { font-size: .76rem; }
  :is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .product-price { font-size: 1.12rem; }
  :is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .regular-price { margin-left: .4rem; font-size: .8rem; }
  :is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .product-add-cart .btn { min-height: 38px; padding: .45rem .4rem; font-size: .7rem; line-height: 1.15; letter-spacing: .02em; gap: .4rem; white-space: normal; }
  :is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .product-add-cart .add-to-cart::before { flex: 0 0 17px; width: 17px; height: 17px; }
  .sb-off__fine { display: block; margin: 1.2rem 0 0; }
  .sb-off__fine a { display: flex; align-items: center; justify-content: center; gap: .9rem; padding: .85rem 1rem; border-radius: 4px; background: #fff; color: var(--sb-rosso) !important;
    box-shadow: inset 0 0 0 1.5px var(--sb-rosso); font-size: .85rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; }
  .sb-off__fine i { font-size: 1.3rem; line-height: 1; }
}
@media (prefers-reduced-motion: reduce) { :is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) article.product-miniature, :is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .product-add-cart .btn { transition: none; } }

/* sb-off, parte comune alle due sezioni: etichetta "Nuovo" nello stesso stile obliquo dello sconto, in nero */
:is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .product-flag.new { display: inline-block; padding: .28rem 1rem .28rem .7rem; background: #111; color: #fff; font-size: .78rem; line-height: 1.15;
  font-style: italic; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; border-radius: 0; clip-path: polygon(0 0, 100% 0, calc(100% - 9px) 100%, 0 100%); }
:is(.elementor-element-sbtitolo1, .elementor-element-sbnuovi1) .product-flags { display: flex; flex-direction: column; align-items: flex-start; }

/* sb-off, solo striscia NUOVI PRODOTTI (una riga a scorrimento): sfondo suo, consegnato da Stefan il 21.09 sera (cartella
   "background per sezione nuovi prodotti": curva di pista con fumo), cosi non e identico a quello delle Offerte; schede alte
   uguali; frecce tonde e puntini come nella sezione recensioni */
.elementor-element-sbnuovi1 { padding-bottom: clamp(1.25rem, 2vw, 2rem) !important; }
.elementor-element-sbnuovi1::before { background: #f7f7f7 url(../img/nuovi/sfondo-computer.jpg) center 30% / cover no-repeat;
  background-image: image-set(url(../img/nuovi/sfondo-computer.webp) type("image/webp"), url(../img/nuovi/sfondo-computer.jpg) type("image/jpeg")); }
.elementor-element-sbnuovi1 .swiper-container-wrapper { margin: 0; padding: 0; }
.elementor-element-sbnuovi1 .products.swiper { margin: 0 -8px; padding: 6px 0 14px; }
.elementor-element-sbnuovi1 .swiper-slide { display: flex; height: auto; }
.elementor-element-sbnuovi1 .swiper-slide > .js-product-miniature-wrapper { display: flex; width: 100%; padding: 0 8px !important; }
.elementor-element-sbnuovi1 .swiper-button { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-top: -40px; border-radius: 50%; background: #0d0d0d;
  color: #fff; box-shadow: 0 6px 16px rgba(0,0,0,.2); opacity: 1; transition: background .18s, transform .18s, opacity .18s; }
.elementor-element-sbnuovi1 .swiper-button:hover { background: var(--sb-rosso); transform: scale(1.05); }
.elementor-element-sbnuovi1 .swiper-button::after, .elementor-element-sbnuovi1 .swiper-button i { font-size: 1.05rem; color: #fff; }
.elementor-element-sbnuovi1 .swiper-button-prev { left: -24px; }
.elementor-element-sbnuovi1 .swiper-button-next { right: -24px; }
.elementor-element-sbnuovi1 .swiper-button.swiper-button-disabled { opacity: .3; }
.elementor-element-sbnuovi1 .swiper-pagination { position: static; display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: .35rem; }
.elementor-element-sbnuovi1 .swiper-pagination-bullet { width: 11px; height: 11px; margin: 0 !important; border-radius: 999px; background: #bdbdbd; opacity: 1; transition: width .2s, background .2s; }
.elementor-element-sbnuovi1 .swiper-pagination-bullet-active { width: 26px; background: var(--sb-rosso); }
@media (max-width: 1599px) { .elementor-element-sbnuovi1 .swiper-button-prev { left: 4px; } .elementor-element-sbnuovi1 .swiper-button-next { right: 4px; } }
@media (max-width: 767px) {
  /* striscia alta piu o meno come la foto da telefono: una sola immagine che copre tutta la sezione */
  .elementor-element-sbnuovi1::before { height: 100%; max-height: none; background: #f7f7f7 url(../img/nuovi/sfondo-telefono.jpg) center top / cover no-repeat;
    background-image: image-set(url(../img/nuovi/sfondo-telefono.webp) type("image/webp"), url(../img/nuovi/sfondo-telefono.jpg) type("image/jpeg")); -webkit-mask-image: none; mask-image: none; }
  .elementor-element-sbnuovi1::after { display: none; }
  .elementor-element-sbnuovi1 .products.swiper { margin: 0 -5px; }
  .elementor-element-sbnuovi1 .swiper-slide > .js-product-miniature-wrapper { padding: 0 5px !important; }
  .elementor-element-sbnuovi1 .swiper-button { display: none; }
}

/* ==========================================================================
   Home: sezioni attaccate una all'altra, 21.09.2026 (Stefan, screenshot delle 18:39: "ci sono degli spazi bianchi tra le
   sezioni, ora che le altre hanno un'immagine di sfondo si vede"). Nuovi prodotti, Offerte e Recensioni hanno gia margine
   zero nei loro blocchi; qui si tolgono gli spazi degli altri blocchi della home e quello sopra il piede.
   ========================================================================== */
body#index .sb-reparti { margin-top: 0; margin-bottom: 0; }
body#index .sb-seo { margin-top: 0; margin-bottom: 0; }
body#index .elementor-element-sbseo01, body#index .elementor-element-sbrec1 { margin-top: 0 !important; margin-bottom: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; }
body#index .elementor-element-sbseo01 .elementor-column-wrap, body#index .elementor-element-sbrec1 .elementor-column-wrap { padding-top: 0 !important; padding-bottom: 0 !important; }
body#index .elementor-element-sbseo01 .elementor-widget, body#index .elementor-element-sbrec1 .elementor-widget { margin-bottom: 0 !important; }
body#index .sb-marchi { margin-top: 0; margin-bottom: 0; }
body#index #wrapper { padding-bottom: 0; }

/* ==========================================================================
   sb-art: pagina articolo del blog, 05.10.2026 ("rivista da paddock", come le sezioni della home)
   Modello: modules/ph_simpleblog/views/templates/front/1.7/single.tpl del tema figlio; comportamento: superbike.js (blocco sb-art).
   data-formato sull'articolo: "" (senza javascript) e "ritaglio" = scheda bianca con quinta rossa; "foto" = foto in cornice;
   "larga" = da computer la foto riempie la testata dietro il titolo (banner 2.5-3:1 dei primi articoli).
   ========================================================================== */
#module-ph_simpleblog-single #content-wrapper { overflow: visible; }
.sb-art { --sb-art-nero: #0f0f0f; --sb-art-testo: #2a2a2a; --sb-art-grigio: #8f8f8f; position: relative; color: var(--sb-art-testo); }

/* barra di avanzamento della lettura */
.sb-art__progresso { position: fixed; top: 0; left: 0; right: 0; z-index: 1100; height: 3px; pointer-events: none; }
.sb-art__progresso span { display: block; height: 100%; background: var(--sb-rosso); transform: scaleX(0); transform-origin: 0 50%; }

/* testata */
.sb-art__testa { position: relative; isolation: isolate; width: 100vw; max-width: 100vw; margin: -.5rem calc(50% - 50vw) 0; overflow: hidden;
  background: var(--sb-art-nero); color: #fff; padding: clamp(2.2rem, 4.5vw, 4rem) 0 clamp(2.6rem, 5vw, 4.5rem); }
.sb-art__testa::before { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 2px, transparent 2px 26px),
              radial-gradient(ellipse at 85% 30%, rgba(208,18,26,.20), transparent 55%); }
.sb-art__testa::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--sb-rosso); z-index: 1; }
.sb-art__sfondo { display: none; }
.sb-art__testa-dentro { position: relative; max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 40px);
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 4.5vw, 4.5rem); align-items: center; min-height: 360px; }
.sb-art__titoli > * { animation: sb-art-entra .7s cubic-bezier(.2,.7,.2,1) both; }
.sb-art__titoli > :nth-child(2) { animation-delay: .07s; } .sb-art__titoli > :nth-child(3) { animation-delay: .14s; } .sb-art__titoli > :nth-child(4) { animation-delay: .21s; }
@keyframes sb-art-entra { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.sb-art__occhiello { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1rem; margin: 0 0 1.1rem; font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: #bdbdbd; }
.sb-art__categoria { display: inline-block; padding: .42em 1.15em .38em .95em; background: var(--sb-rosso); color: #fff !important; font-style: italic;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); text-decoration: none; transition: background .18s; }
.sb-art__categoria:hover { background: var(--sb-rosso-scuro); }
.sb-art__titolo { position: relative; margin: 0 0 1.1rem; padding-left: 1.2rem; font-size: clamp(1.85rem, 3.3vw, 3.15rem); line-height: 1.03; font-weight: 900;
  font-style: italic; text-transform: uppercase; letter-spacing: -.025em; color: #fff; text-wrap: balance; }
.sb-art__titolo::before { content: ""; position: absolute; left: 0; top: .08em; bottom: .08em; width: 4px; background: var(--sb-rosso); transform: skewX(-14deg); }
.sb-art__estratto { max-width: 38rem; margin: 0 0 1.4rem; padding-left: 1.2rem; font-size: 1.06rem; line-height: 1.62; color: #cfcfcf; }
.sb-art__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin: 0; padding: 0 0 0 1.2rem; list-style: none; font-size: .9rem; color: #a7a7a7; }
.sb-art__meta li { display: inline-flex; align-items: center; gap: .45rem; }
.sb-art__meta svg { color: var(--sb-rosso); flex: 0 0 auto; }

/* copertina: scheda con quinta rossa obliqua dietro */
.sb-art__copertina { position: relative; isolation: isolate; margin: 0; justify-self: end; width: 100%; max-width: 520px; animation: sb-art-scheda .8s .15s cubic-bezier(.2,.7,.2,1) both; }
.sb-art__copertina::before { content: ""; position: absolute; z-index: -1; inset: 22px -18px -18px 26px; background: var(--sb-rosso);
  clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%); }
@keyframes sb-art-scheda { from { opacity: 0; transform: translateX(28px) rotate(1.5deg); } to { opacity: 1; transform: none; } }
.sb-art__cornice { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; max-height: 400px; padding: clamp(1rem, 2vw, 1.75rem);
  background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.sb-art__cornice img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.sb-art[data-formato="foto"] .sb-art__cornice { padding: 0; background: #1b1b1b; max-height: 440px; }
.sb-art[data-formato="foto"] .sb-art__cornice img { width: 100%; height: 100%; max-height: none; object-fit: cover; }

/* corpo: indice a sinistra (da 1200 px), colonna di lettura */
.sb-art__corpo { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: clamp(2.5rem, 5vw, 5rem); justify-content: center;
  max-width: 1240px; margin: clamp(2.5rem, 5vw, 4rem) auto 0; padding: 0 clamp(16px, 3vw, 40px); }
.sb-art--senza-indice .sb-art__corpo { grid-template-columns: minmax(0, 740px); }
.sb-art__colonna { min-width: 0; margin: 0; }
.sb-art__indice { position: sticky; top: 7rem; align-self: start; padding-top: .3rem; }
.sb-art__indice[hidden] { display: none; }
.sb-art__indice-titolo { display: flex; align-items: center; gap: .7rem; margin: 0 0 1rem; font-size: .74rem; font-weight: 800; font-style: italic;
  letter-spacing: .18em; text-transform: uppercase; color: var(--sb-art-nero); }
.sb-art__indice-titolo::before { content: ""; width: 26px; height: 2px; background: var(--sb-rosso); flex: 0 0 26px; }
.sb-art__indice ol { margin: 0; padding: 0; list-style: none; counter-reset: sb-art-voce; border-left: 1px solid #e3e3e3; }
.sb-art__indice li { counter-increment: sb-art-voce; }
.sb-art__indice a { display: flex; gap: .65rem; margin-left: -1px; padding: .45rem 0 .45rem .9rem; border-left: 2px solid transparent; font-size: .86rem;
  line-height: 1.35; color: #6f6f6f; text-decoration: none; transition: color .15s, border-color .15s; }
.sb-art__indice a::before { content: counter(sb-art-voce, decimal-leading-zero); font-weight: 800; font-style: italic; color: #c4c4c4; transition: color .15s; }
.sb-art__indice a:hover, .sb-art__indice a.attiva { color: var(--sb-art-nero); border-left-color: var(--sb-rosso); }
.sb-art__indice a.attiva::before, .sb-art__indice a:hover::before { color: var(--sb-rosso); }

/* testo dell'articolo */
.sb-art__testo { padding: 0 !important; font-size: 1.0625rem; line-height: 1.78; color: var(--sb-art-testo); }
.sb-art__testo p { margin: 0 0 1.15em; }
.sb-art__testo > p:first-of-type:not([style*="center"])::first-letter, .sb-art__testo > .rte-content:first-child > p:first-of-type:not([style*="center"])::first-letter { float: left; margin: .06em .12em 0 0; font-size: 3.5em; line-height: .82;
  font-weight: 900; font-style: italic; color: var(--sb-rosso); }
.sb-art__testo h2 { position: relative; margin: 2.1em 0 .7em; padding-left: 1rem; font-size: clamp(1.35rem, 2.1vw, 1.65rem); line-height: 1.22;
  font-weight: 800; letter-spacing: -.01em; color: var(--sb-art-nero); scroll-margin-top: 7.5rem; }
.sb-art__testo h2::before { content: ""; position: absolute; left: 0; top: .14em; bottom: .14em; width: 4px; background: var(--sb-rosso); transform: skewX(-14deg); }
.sb-art__testo h3 { margin: 1.7em 0 .5em; font-size: 1.18rem; line-height: 1.3; font-weight: 800; color: var(--sb-art-nero); scroll-margin-top: 7.5rem; }
.sb-art__testo > :first-child { margin-top: 0; }
.sb-art__testo strong, .sb-art__testo b { font-weight: 700; color: #111; }
.sb-art__testo a { color: var(--sb-rosso); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .15s; }
.sb-art__testo a:hover { color: var(--sb-rosso-scuro); }
.sb-art__testo h2 a, .sb-art__testo h3 a { color: inherit; text-decoration-color: var(--sb-rosso); }
.sb-art__testo ul, .sb-art__testo ol { margin: 0 0 1.2em; padding-left: 1.25em; }
.sb-art__testo li { margin: 0 0 .45em; }
.sb-art__testo li::marker { color: var(--sb-rosso); font-weight: 700; }
.sb-art__testo img { max-width: 100%; height: auto; border-radius: 10px; }
.sb-art__testo iframe { max-width: 100%; border: 0; border-radius: 10px; }
.sb-art__testo blockquote { margin: 1.6em 0; padding: .4em 0 .4em 1.2em; border-left: 4px solid var(--sb-rosso); font-size: 1.15em; font-style: italic; color: var(--sb-art-nero); }

.sb-art__piede { margin: 3rem 0 0; padding-top: 1.6rem; border-top: 1px solid #e6e6e6; }
.sb-art__tutti { display: inline-flex; align-items: center; gap: .6rem; padding: .85rem 1.5rem; border: 2px solid var(--sb-art-nero); border-radius: 4px;
  font-size: .9rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--sb-art-nero) !important; text-decoration: none;
  transition: background .18s, color .18s, border-color .18s; }
.sb-art__tutti:hover { background: var(--sb-rosso); border-color: var(--sb-rosso); color: #fff !important; }
.sb-art__tutti svg { transition: transform .18s; }
.sb-art__tutti:hover svg { transform: translateX(-3px); }

/* banner larghi da computer: la foto riempie la testata, il titolo ci sta sopra */
@media (min-width: 992px) {
  .sb-art[data-formato="larga"] .sb-art__sfondo { display: block; position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center;
    animation: sb-art-sfondo 1.1s ease both; }
  .sb-art[data-formato="larga"] .sb-art__sfondo::after { content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(15,15,15,.96) 0, rgba(15,15,15,.86) 38%, rgba(15,15,15,.35) 72%, rgba(15,15,15,.15) 100%),
                linear-gradient(0deg, rgba(15,15,15,.55), transparent 45%); }
  .sb-art[data-formato="larga"] .sb-art__testa::before { opacity: .5; }
  .sb-art[data-formato="larga"] .sb-art__copertina { visibility: hidden; }
  .sb-art[data-formato="larga"] .sb-art__testa-dentro { min-height: 400px; }
  @keyframes sb-art-sfondo { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
}
@media (max-width: 1199px) {
  .sb-art__corpo, .sb-art:not(.sb-art--senza-indice) .sb-art__corpo { grid-template-columns: minmax(0, 740px); }
  .sb-art__indice { display: none !important; }
}
@media (max-width: 991px) {
  .sb-art__testa-dentro { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 2.2rem; }
  .sb-art__copertina { justify-self: stretch; max-width: none; margin-right: 18px; }
  .sb-art[data-formato="larga"] .sb-art__cornice { aspect-ratio: auto; padding: 0; background: #1b1b1b; }
  .sb-art[data-formato="larga"] .sb-art__cornice img { width: 100%; height: auto; }
}
@media (max-width: 575px) {
  .sb-art__testa { margin-top: -.75rem; padding: 1.8rem 0 2.6rem; }
  .sb-art__titolo { font-size: clamp(1.65rem, 7.4vw, 2.1rem); padding-left: .95rem; }
  .sb-art__estratto, .sb-art__meta { padding-left: .95rem; }
  .sb-art__estratto { font-size: 1rem; }
  .sb-art__cornice { aspect-ratio: 1 / 1; max-height: 340px; }
  .sb-art__copertina::before { inset: 16px -12px -12px 18px; }
  .sb-art__testo { font-size: 1.02rem; line-height: 1.72; }
  .sb-art__testo > p:first-of-type:not([style*="center"])::first-letter, .sb-art__testo > .rte-content:first-child > p:first-of-type:not([style*="center"])::first-letter { font-size: 3em; }
  .sb-art__tutti { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .sb-art__titoli > *, .sb-art__copertina, .sb-art .sb-art__sfondo { animation: none !important; }
  .sb-art__progresso { display: none; }
}

/* ==========================================================================
   sb-lista: lista del blog (pagina /blog e categorie), 05.10.2026, stesso linguaggio di sb-art.
   Scheda: modules/ph_simpleblog/views/templates/front/1.7/_partials/post-miniature.tpl del tema figlio.
   Griglia a 3 colonne (2 sotto 1200 px, 1 da telefono), la prima scheda della pagina grande e orizzontale.
   ========================================================================== */
:is(#module-ph_simpleblog-list, #module-ph_simpleblog-category) .page-header h1 { position: relative; margin: .4rem 0 1.8rem; padding-left: 1.15rem;
  font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.02; font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -.025em; color: #0f0f0f; }
:is(#module-ph_simpleblog-list, #module-ph_simpleblog-category) .page-header h1::before { content: ""; position: absolute; left: 0; top: .08em; bottom: .08em;
  width: 4px; background: var(--sb-rosso); transform: skewX(-14deg); }
:is(#module-ph_simpleblog-list, #module-ph_simpleblog-category) .simpleblog__listing > .row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px); margin: 0 0 2.5rem; }
.sb-lista__voce { min-width: 0; padding: 0; }
.sb-scheda { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 10px 28px rgba(0,0,0,.07); transition: transform .25s ease, box-shadow .25s ease; }
.sb-scheda:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 18px 40px rgba(0,0,0,.12); }
.sb-scheda__foto { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #f1f1f1; }
.sb-scheda__foto::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 5px; background: var(--sb-rosso); }
.sb-scheda__foto img { display: block; width: 100%; height: 100%; padding: 1.1rem; object-fit: contain; transition: transform .45s ease; }
.sb-scheda[data-formato="foto"] .sb-scheda__foto img, .sb-scheda[data-formato="larga"] .sb-scheda__foto img { padding: 0; object-fit: cover; }
.sb-scheda[data-formato="ritaglio"] .sb-scheda__foto img { mix-blend-mode: multiply; }
.sb-scheda:hover .sb-scheda__foto img { transform: scale(1.04); }
.sb-scheda__corpo { display: flex; flex-direction: column; flex: 1 1 auto; padding: 1.25rem 1.4rem 1.3rem; }
.sb-scheda__occhiello { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .9rem; margin: 0 0 .7rem; font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: #8d8d8d; }
.sb-scheda__categoria { font-style: italic; color: var(--sb-rosso) !important; text-decoration: none; }
.sb-scheda__titolo { margin: 0 0 .6rem; font-size: 1.14rem; line-height: 1.3; font-weight: 800; letter-spacing: -.01em; text-transform: none;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sb-scheda__titolo a { color: #0f0f0f !important; text-decoration: none; transition: color .15s; }
.sb-scheda__titolo a:hover { color: var(--sb-rosso) !important; }
.sb-scheda__estratto { margin: 0 0 1.1rem; font-size: .94rem; line-height: 1.58; color: #565656;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sb-scheda__piede { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin: auto 0 0; padding-top: .95rem; border-top: 1px solid #ececec; }
.sb-scheda__lettura { display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; color: #8d8d8d; white-space: nowrap; }
.sb-scheda__lettura svg { color: var(--sb-rosso); }
.sb-scheda__leggi { display: inline-flex; align-items: center; gap: .4rem; margin-left: auto; font-size: .8rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--sb-rosso) !important; text-decoration: none; white-space: nowrap; }
.sb-scheda__leggi svg { transition: transform .18s; }
.sb-scheda__leggi:hover svg, .sb-scheda:hover .sb-scheda__leggi svg { transform: translateX(4px); }

/* la prima scheda della pagina: grande, foto a sinistra e testo a destra */
@media (min-width: 992px) {
  .sb-lista__voce:first-child { grid-column: 1 / -1; }
  .sb-lista__voce:first-child .sb-scheda { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .sb-lista__voce:first-child .sb-scheda__foto { aspect-ratio: auto; min-height: 380px; height: 100%; }
  .sb-lista__voce:first-child .sb-scheda__foto img { position: absolute; inset: 0; }
  .sb-lista__voce:first-child .sb-scheda__corpo { justify-content: center; padding: clamp(1.8rem, 3vw, 3rem); }
  .sb-lista__voce:first-child .sb-scheda__titolo { font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.06; font-weight: 900; font-style: italic;
    text-transform: uppercase; letter-spacing: -.02em; -webkit-line-clamp: 4; }
  .sb-lista__voce:first-child .sb-scheda__estratto { font-size: 1.02rem; -webkit-line-clamp: 4; }
  .sb-lista__voce:first-child .sb-scheda__piede { margin-top: .4rem; }
}
@media (max-width: 1199px) { :is(#module-ph_simpleblog-list, #module-ph_simpleblog-category) .simpleblog__listing > .row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  :is(#module-ph_simpleblog-list, #module-ph_simpleblog-category) .simpleblog__listing > .row { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .sb-scheda__corpo { padding: 1.1rem 1.15rem 1.15rem; }
}
@media (prefers-reduced-motion: reduce) { .sb-scheda, .sb-scheda__foto img { transition: none; } .sb-scheda:hover { transform: none; } }

/* 18.10.2026: testo della categoria (opzione del tema "Descrizione categoria" = above-d) visibile anche sul telefono, dove il tema
   lo nasconde con hidden-sm-down. Chiuso a circa 6 righe con il pulsante "Leggi tutto" di superbike.js; il testo intero resta nell'HTML. */
.sb-leggi-tutto { display: none; }
@media (max-width: 767.98px) {
  .category-description.category-description-top.hidden-sm-down { display: block !important; }
  .category-description-top:not(.sb-aperto) .rte-content { max-height: 9em; overflow: hidden;
    -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
  .sb-leggi-tutto { display: inline-block; margin: .3rem 0 1rem; padding: 0; border: 0; background: none; color: inherit;
    font-weight: 700; text-decoration: underline; }
}

/* Scheda prodotto: riga "Moto compatibili" in verde, chiesto da Raffaele l'11 novembre 2026.
   La classe la mette templates/catalog/product.tpl solo sul paragrafo che inizia con l'etichetta
   (it/fr/de/en), gli altri grassetti iniziali restano neri. Verde come "Acquisto verificato". */
.product-description .sb-compat, .product-description .sb-compat strong { color: #2e7d32; }
