:root{
  --so-primary:#0B84FF;--so-primary-dark:#0068D9;--so-ink:#102033;--so-muted:#637083;--so-soft:#F2F7FC;--so-green:#137A3D;--so-blue:#176DDB;
  --so-white:#fff;--so-line:rgba(16,32,51,.10);--so-shadow:0 22px 70px rgba(23,69,115,.12);
  --so-radius:28px;--so-max:1260px;--so-header-h:92px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.sprayorale-site{margin:0;background:#fff;color:var(--so-ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
button,input,textarea,select{font:inherit}
.so-skip-link{position:fixed;left:14px;top:-60px;background:#111;color:#fff;padding:10px 14px;border-radius:10px;z-index:99999}.so-skip-link:focus{top:14px}
.so-main{overflow:hidden;min-height:55vh}

/* Header */
.so-header{position:sticky;top:0;z-index:9990;height:var(--so-header-h);transition:background .3s ease,box-shadow .3s ease,backdrop-filter .3s ease;border-bottom:1px solid transparent;background:rgba(255,255,255,.74);backdrop-filter:blur(16px) saturate(140%)}
.admin-bar .so-header{top:32px}
.so-header.is-scrolled{background:rgba(255,255,255,.94);border-bottom-color:var(--so-line);box-shadow:0 8px 36px rgba(25,55,85,.07)}
.so-header__inner{height:100%;max-width:var(--so-max);margin:0 auto;padding:0 28px;display:grid;grid-template-columns:1fr 280px 1fr;align-items:center;gap:24px;position:relative}
.so-nav{display:flex;align-items:center;gap:26px;font-size:14px;font-weight:650;letter-spacing:-.01em}.so-nav--right{justify-content:flex-end}.sprayorale-site .so-header .so-nav>a:not(.so-nav__cta){position:relative;white-space:nowrap;color:var(--so-nav-color)!important;transition:color .2s ease}.so-nav a:not(.so-nav__cta)::after{content:"";position:absolute;left:0;bottom:-8px;width:100%;height:2px;border-radius:4px;background:linear-gradient(90deg,var(--so-primary),#65c9ff);transform:scaleX(0);transform-origin:right;transition:transform .25s ease}.sprayorale-site .so-header .so-nav>a:not(.so-nav__cta):hover{color:var(--so-nav-hover)!important}.so-nav a:hover::after{transform:scaleX(1);transform-origin:left}
.so-brand{justify-self:center;display:flex;align-items:center;justify-content:center;padding:8px 14px}.so-brand img{width:min(250px,24vw);max-height:66px;object-fit:contain}
.so-nav__cta,.so-mobile-menu__cta{padding:12px 18px;border-radius:999px!important;background:linear-gradient(135deg,var(--so-header-cta),var(--so-header-cta-2));color:var(--so-header-cta-text)!important;box-shadow:0 10px 25px rgba(11,132,255,.20);transition:transform .2s ease,box-shadow .2s ease!important}.so-nav__cta:hover{transform:translateY(-2px);box-shadow:0 15px 32px rgba(11,132,255,.28)}.so-nav__cta::after{display:none!important}
.so-menu-toggle{display:none;border:0;background:transparent;width:46px;height:46px;padding:10px;cursor:pointer}.so-menu-toggle span{display:block;height:2px;background:var(--so-ink);margin:6px 0;border-radius:3px;transition:.25s ease}
.so-mobile-menu{display:none;position:absolute;top:100%;left:16px;right:16px;background:rgba(255,255,255,.98);border:1px solid var(--so-line);border-radius:24px;padding:18px;box-shadow:var(--so-shadow)}.so-mobile-menu a{display:block;padding:12px 10px;font-weight:650}.so-mobile-menu__cta{text-align:center;margin-top:8px}

/* Footer */
.so-footer{position:relative;margin-top:0;background:#0e1f32;color:#dfeafa;padding:96px 24px 30px;overflow:hidden}.so-footer__wave{position:absolute;left:-5%;right:-5%;top:-58px;height:95px;background:#fff;border-radius:0 0 50% 50% / 0 0 100% 100%}.so-footer::before{content:"";position:absolute;width:430px;height:430px;border-radius:50%;background:radial-gradient(circle,rgba(11,132,255,.24),rgba(11,132,255,0) 70%);right:-120px;top:20px}.so-footer__inner{position:relative;max-width:var(--so-max);margin:0 auto;display:grid;grid-template-columns:1.6fr repeat(3,1fr);gap:50px}.so-footer__brand img{width:240px;filter:brightness(0) invert(1);opacity:.96}.so-footer__brand p{max-width:430px;color:#aebed2;line-height:1.7;margin-top:22px}.so-footer__col{display:flex;flex-direction:column;gap:12px}.so-footer__col h3{margin:5px 0 8px;color:#fff;font-size:15px;text-transform:uppercase;letter-spacing:.11em}.so-footer__col a,.so-footer__col span{color:#b8c8da;font-size:14px}.so-footer__col a:hover{color:#fff}.so-footer__bottom{max-width:var(--so-max);margin:54px auto 0;padding-top:24px;border-top:1px solid rgba(255,255,255,.1);display:flex;justify-content:space-between;gap:30px;color:#8398b0;font-size:12px}.so-footer__legal{text-align:right}

/* Generic */
.so-fallback-content{max-width:960px;margin:48px auto;padding:0 24px;line-height:1.75}.so-fallback-content h1{font-size:clamp(38px,6vw,72px);letter-spacing:-.045em}.so-fallback-content h2{font-size:32px}
.so-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:14px 22px;border-radius:999px;background:linear-gradient(135deg,var(--so-primary),#50b8ff);color:#fff;font-weight:750;box-shadow:0 14px 34px rgba(11,132,255,.20);transition:transform .2s ease,box-shadow .2s ease}.so-button:hover{transform:translateY(-2px);box-shadow:0 18px 38px rgba(11,132,255,.28)}
.so-eyebrow{margin:0 0 12px;color:var(--so-primary-dark);text-transform:uppercase;letter-spacing:.13em;font-size:12px;font-weight:800}
.so-404{min-height:70vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:80px 24px;position:relative}.so-404 h1{font-size:clamp(42px,7vw,82px);max-width:900px;letter-spacing:-.055em;line-height:.98;margin:0}.so-404 p:not(.so-eyebrow){color:var(--so-muted);font-size:18px;margin:25px 0}.so-404__orb{position:absolute;width:500px;height:500px;background:radial-gradient(circle,rgba(11,132,255,.16),transparent 68%);border-radius:50%;z-index:-1}

@media (max-width:1100px){
 .so-header__inner{grid-template-columns:1fr 220px 1fr;padding:0 18px}.so-nav{gap:14px;font-size:13px}.so-brand img{max-width:205px}.so-nav__cta{padding:10px 13px}
}
@media (max-width:900px){
 :root{--so-header-h:76px}.admin-bar .so-header{top:46px}.so-header__inner{grid-template-columns:46px minmax(0,1fr) 46px;padding:0 18px}.so-nav{display:none}.so-brand{grid-column:2;justify-self:center;padding:6px 0}.so-brand img{width:min(195px,54vw);max-height:54px}.so-menu-toggle{display:block;grid-column:3;justify-self:end}.so-mobile-menu.is-open{display:block}.so-footer__inner{grid-template-columns:1fr 1fr}.so-footer__brand{grid-column:1/-1}.so-footer__bottom{flex-direction:column}.so-footer__legal{text-align:left}
}
@media (max-width:600px){
 .so-header__inner{padding:0 16px}.so-brand img{width:170px}.so-footer{padding-left:20px;padding-right:20px}.so-footer__inner{grid-template-columns:1fr;gap:28px}.so-footer__brand{grid-column:auto}.so-footer__wave{top:-44px;height:70px}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* v1.0.1: protect the global header from legacy Elementor/page-builder link styles. */
.sprayorale-site .so-header .so-mobile-menu>a:not(.so-mobile-menu__cta){color:var(--so-nav-color)!important}.sprayorale-site .so-header .so-mobile-menu>a:not(.so-mobile-menu__cta):hover{color:var(--so-nav-hover)!important}

/* v1.0.3 — single-page navigation + configurable CTA + light sweep */
.so-nav__cta,.so-mobile-menu__cta{position:relative;overflow:hidden;isolation:isolate}
.so-nav__cta::before,.so-mobile-menu__cta::before{content:"";position:absolute;inset:-2px;background:linear-gradient(112deg,transparent 18%,rgba(255,255,255,.08) 31%,rgba(255,255,255,.78) 46%,rgba(255,255,255,.10) 60%,transparent 73%);transform:translateX(-145%) skewX(-12deg);transition:transform .72s cubic-bezier(.2,.8,.2,1);z-index:0;pointer-events:none}
.so-nav__cta:hover::before,.so-mobile-menu__cta:hover::before{transform:translateX(145%) skewX(-12deg)}
.so-nav__cta{z-index:1}.so-nav__cta>*{position:relative;z-index:1}
.so-footer{padding-top:76px}.so-footer__wave{background:#f4f9ff;height:76px;top:-48px}
@media(max-width:600px){.so-footer{padding-top:62px}.so-footer__wave{height:58px;top:-38px}}

/* v1.0.4 — dynamic header colors are injected after styles; mobile logo stays perfectly centered. */


/* v1.0.5 — tipografia più compatta e contemporanea. */
body.sprayorale-site{font-family:Bahnschrift,"Aptos","Segoe UI Variable","Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,sans-serif}
.so-nav{font-weight:620;letter-spacing:-.005em}
.so-fallback-content h1{font-size:clamp(36px,5vw,62px);letter-spacing:-.04em}
.so-404 h1{font-size:clamp(40px,6vw,70px);letter-spacing:-.045em;line-height:1.02}


/* v1.0.6 — chiusura footer continua + font coerente su desktop/mobile. */
body.sprayorale-site,
body.sprayorale-site button,body.sprayorale-site input,body.sprayorale-site textarea,body.sprayorale-site select{
  font-family:"Avenir Next","Century Gothic","Trebuchet MS","Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,sans-serif!important;
}
/* v1.0.7 — ripristino dell'onda originale del footer: la curva resta, ma è bianca come la sezione soprastante. */
.so-footer{padding-top:76px!important;margin-top:0!important;overflow:hidden}
.so-footer__wave{display:block!important;background:#fff!important;height:76px!important;top:-48px!important}
@media(max-width:600px){
  body.sprayorale-site{font-family:"Avenir Next","Century Gothic","Trebuchet MS","Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,sans-serif!important}
  .so-footer{padding-top:62px!important}
  .so-footer__wave{display:block!important;background:#fff!important;height:58px!important;top:-38px!important}
}


/* v1.0.8 — font globale selezionabile + raccordo Area Rivenditori. */
body.sprayorale-site,
body.sprayorale-site button,
body.sprayorale-site input,
body.sprayorale-site textarea,
body.sprayorale-site select{
  font-family:var(--so-font,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif)!important;
}
/* Solo Area Rivenditori: la curva prende esattamente il colore dello sfondo B2B. */
body.sprayorale-retailers-page .so-footer__wave{background:#f4f7fb!important}
/* Login un po' più compatto, senza toccare il catalogo dopo l'accesso. */
body.sprayorale-retailers-page{--spray-b2b-login-card-width:420px}
body.sprayorale-retailers-page .spray-b2b-login-card{padding:32px}
@media(max-width:600px){
  body.sprayorale-retailers-page .spray-b2b-login-card{padding:26px 20px}
}


/* Cookie CMP — stile nativo Sprayorale per Complianz (attivo solo se il plugin è presente). */
body.sprayorale-site .cmplz-cookiebanner{
  font-family:var(--so-font,system-ui,sans-serif)!important;
  border-radius:24px!important;
  border:1px solid rgba(16,32,51,.10)!important;
  box-shadow:0 24px 70px rgba(23,69,115,.18)!important;
  padding:22px!important;
}
body.sprayorale-site .cmplz-cookiebanner .cmplz-title{color:var(--so-ink)!important;font-weight:750!important}
body.sprayorale-site .cmplz-cookiebanner .cmplz-message{color:var(--so-muted)!important;line-height:1.55!important}
body.sprayorale-site .cmplz-cookiebanner .cmplz-btn{
  min-height:44px!important;border-radius:999px!important;font-family:inherit!important;font-weight:750!important;
  box-shadow:none!important;transition:transform .18s ease,box-shadow .18s ease!important;
}
body.sprayorale-site .cmplz-cookiebanner .cmplz-btn:hover{transform:translateY(-1px)}
body.sprayorale-site .cmplz-cookiebanner .cmplz-accept{background:linear-gradient(135deg,var(--so-primary),var(--so-primary-dark))!important;border-color:transparent!important;color:#fff!important}
body.sprayorale-site .cmplz-cookiebanner .cmplz-deny,
body.sprayorale-site .cmplz-cookiebanner .cmplz-view-preferences{background:#fff!important;border:1px solid rgba(16,32,51,.16)!important;color:var(--so-ink)!important}
body.sprayorale-site .cmplz-manage-consent{font-family:var(--so-font,system-ui,sans-serif)!important;border-radius:999px!important}
@media(max-width:600px){body.sprayorale-site .cmplz-cookiebanner{border-radius:22px 22px 0 0!important;padding:18px!important}}


/* v1.0.9 — raccordo B2B robusto + header più leggibile + CTA chiaro→scuro. */
.so-footer.so-footer--retailers .so-footer__wave,
body.sprayorale-retailers-page .so-footer__wave{background:#f4f7fb!important}
@media (min-width:1101px){
  .so-nav{font-size:15.5px;gap:30px;font-weight:680}
  .so-nav__cta{padding:14px 22px}
}
@media (min-width:901px) and (max-width:1100px){
  .so-nav{font-size:14px;gap:17px}
  .so-nav__cta{padding:11px 16px}
}
.so-nav__cta,.so-mobile-menu__cta{
  background:linear-gradient(135deg,var(--so-header-cta-2),var(--so-header-cta))!important;
}

/* v1.0.10 — Privacy & Cookie Center: link legali sempre raggiungibili dal footer. */
.so-footer__copyright{display:flex;flex-direction:column;gap:8px}.so-footer__privacy{display:flex;align-items:center;justify-content:flex-end;gap:16px;flex-wrap:wrap}.so-footer__privacy a,.so-footer__privacy button{color:#9fb1c5;font:inherit;font-size:12px}.so-footer__privacy a:hover,.so-footer__privacy button:hover{color:#fff}.so-footer__privacy button{appearance:none;background:none;border:0;padding:0;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.so-footer__legal{text-align:left}
@media(max-width:760px){.so-footer__privacy{justify-content:flex-start}.so-footer__bottom{align-items:flex-start}}

/* v1.0.11 — pagine informative più compatte. */
body.sprayorale-legal-page .so-main{min-height:auto}


/* v1.0.13 — footer privacy links: hit-area completa e nessun overlay decorativo. */
.so-footer::before,
.so-footer__wave{pointer-events:none!important}
.so-footer__inner,
.so-footer__bottom{position:relative;z-index:2}
.so-footer__privacy{position:relative;z-index:6;isolation:isolate}
.so-footer__privacy a,
.so-footer__privacy button{position:relative;z-index:7;pointer-events:auto!important}
.so-footer__privacy button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:4px 2px!important;
  line-height:1.2;
}


/* v1.0.16 — dati produttore centrati nella fascia legale del footer. */
.so-footer__bottom{display:grid!important;grid-template-columns:auto minmax(300px,1fr) auto;align-items:center;gap:26px!important}
.so-footer__producer{margin:0;text-align:center;color:#91a5bb;font-size:11px;line-height:1.55}
.so-footer__copyright{display:block!important;white-space:nowrap}
.so-footer__privacy{justify-content:flex-end!important;white-space:nowrap}
@media(max-width:1050px){.so-footer__bottom{grid-template-columns:1fr!important;gap:13px!important;align-items:flex-start}.so-footer__producer{text-align:left;max-width:720px}.so-footer__privacy{justify-content:flex-start!important;white-space:normal}.so-footer__copyright{white-space:normal}}
