/* CHX globale 2026-11-28 - header, accesso area riservata, dashboard agente (direzione A).
   Caricato dal componente HTML chx-globale distribuito su tutte le pagine.
   Rollback: rendere non Pubblico il componente chx-globale. */

@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600&display=swap');

/* ---------- HEADER (tutte le pagine) ---------- */
html body #container_24{background:#0b1620!important;border:0!important;box-shadow:none!important;font-family:'Inter',system-ui,sans-serif!important}
html body #container_24 .sg-topbar{background:#070f17!important;background-image:none!important;border:0!important;box-shadow:none!important}
html body #container_24 .sg-topbar,html body #container_24 .sg-topbar a,html body #container_24 .sg-topbar span{color:rgba(255,255,255,.62)!important}
html body #container_24 .sg-topbar a:hover,html body #container_24 .sg-topbar a:hover span{color:#fff!important}
html body #container_24 .sg-topbar svg{color:rgba(255,255,255,.62)!important;stroke:currentColor}
html body #container_24 .sg-topbar-claim{color:rgba(255,255,255,.42)!important;letter-spacing:.28em!important;font-weight:500!important}
html body #container_24 .sg-topbar-sep{background:rgba(255,255,255,.16)!important}
html body #container_24 .sg-topbar-social{background:transparent!important;border:0!important;border-radius:0!important}
html body #container_25,html body #container_26,html body #container_31{background:transparent!important;border:0!important;box-shadow:none!important}
html body #container_25{border-bottom:1px solid rgba(255,255,255,.08)!important}
/* logo: il jpg ha fondo bianco, lo rendo bianco su navy senza file nuovi */
html body #imagelink_28 img{filter:grayscale(1) invert(1) brightness(1.15) contrast(1.6)!important;mix-blend-mode:screen}
html body #imagelink_28 figure,html body #imagelink_28 picture,html body #imagelink_28 a{background:transparent!important}
/* voci menu */
html body #container_31 .nav-link,html body #container_31 .sg-trigger,html body #container_31 .navArrow,html body #container_31 .fa{color:#fff!important;background:transparent!important;font-family:'Inter',system-ui,sans-serif!important;font-size:14px!important;font-weight:500!important;letter-spacing:.01em!important;text-transform:none!important}
html body #container_31 .nav-link:hover,html body #container_31 .sg-trigger:hover{color:#fff!important;opacity:.7}
html body #container_31 .sg-trigger svg{stroke:#fff!important;color:#fff!important}
/* sottomenu Azienda */
html body #container_31 ul.nav ul.nav,html body #container_31 li ul.nav{background:#0b1620!important;border:0!important;box-shadow:0 24px 48px rgba(0,0,0,.35)!important;border-radius:0!important}
html body #container_31 li ul.nav .nav-link{color:rgba(255,255,255,.82)!important;font-weight:400!important}
html body #container_31 li ul.nav .nav-link:hover{color:#fff!important;background:rgba(255,255,255,.06)!important;opacity:1}
/* Area riservata / Logout / carrello: contorno bianco sottile, niente pieni colorati */
html body #container_24 .sg-nav-cta,html body #container_24 input[class*="logout_"]{background:transparent!important;color:#fff!important;border:1px solid rgba(255,255,255,.55)!important;border-radius:0!important;box-shadow:none!important;font-family:'Inter',system-ui,sans-serif!important;font-size:12px!important;font-weight:600!important;letter-spacing:.14em!important;text-transform:uppercase!important;padding:10px 18px!important;line-height:1.2!important;height:auto!important;transition:background .3s,color .3s!important}
html body #container_24 .sg-nav-cta:hover,html body #container_24 input[class*="logout_"]:hover{background:#fff!important;color:#0b1620!important}
html body #container_24 .sg-nav-cta svg{stroke:currentColor!important;color:inherit!important}
html body #container_24 #paragraph_81 a,html body #container_24 [id^="ecMinicart"] .btn,html body #container_24 [id^="ecMinicart"] a{background:transparent!important;color:#fff!important;border:1px solid rgba(255,255,255,.55)!important;border-radius:0!important;box-shadow:none!important}
html body #container_24 #paragraph_81 a:hover,html body #container_24 [id^="ecMinicart"] a:hover{background:rgba(255,255,255,.08)!important}
html body #container_24 [id^="ecMinicart"] svg,html body #container_24 #paragraph_81 svg{stroke:#fff!important;color:#fff!important}
html body #container_24 .badge,html body #container_24 [class*="cart-count"],html body #container_24 [class*="Count"]{background:#6fb3e3!important;color:#0b1620!important}
html body #container_80{background:transparent!important;border-radius:0!important;box-shadow:none!important}
/* hamburger mobile */
html body #container_24 .navbar-toggler,html body #container_24 [class*="hamburger"],html body #container_24 .pw-collapse-button{color:#fff!important;border-color:rgba(255,255,255,.4)!important;background:transparent!important}
html body #container_24 .navbar-toggler span,html body #container_24 [class*="hamburger"] span{background:#fff!important}
html body #container_24 .sgk-ham-line{background:#fff!important}
@media (max-width:991px){
  html body #imagelink_28 img{width:96px!important;height:auto!important;max-width:none!important}
  html body #imagelink_28,html body #imagelink_28 a,html body #imagelink_28 figure{width:auto!important;max-width:none!important}
  html body #container_24 .sg-nav-cta{padding:8px 12px!important;font-size:10px!important;letter-spacing:.12em!important}
}

/* ---------- ACCESSO AREA RISERVATA v2 "Strati" angoli vivi (29/11) - sostituisce il blocco split foto/pannello ---------- */
html body #container_608.wrapperLogin{position:relative!important;min-height:100vh!important;height:auto!important;max-height:none!important;overflow:visible!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;padding:76px 24px 84px!important;margin:0!important;max-width:none!important;
  background:radial-gradient(38% 60% at 6% 108%,rgba(47,110,98,.6),transparent 70%),radial-gradient(34% 60% at 28% 115%,rgba(43,108,176,.6),transparent 70%),radial-gradient(34% 60% at 50% 120%,rgba(163,139,102,.5),transparent 70%),radial-gradient(34% 60% at 72% 115%,rgba(106,76,156,.6),transparent 70%),radial-gradient(38% 60% at 94% 108%,rgba(158,59,46,.55),transparent 70%),#14213d!important;font-family:'Sora',system-ui,sans-serif!important}
html body #container_608.wrapperLogin::before{content:"Portale agenti";position:absolute;top:30px;left:50%;transform:translateX(-50%);color:rgba(255,255,255,.7);font-size:13px;font-weight:500;letter-spacing:.02em;white-space:nowrap;pointer-events:none;bottom:auto;line-height:1}
html body #container_608.wrapperLogin::after{content:"Siciliana Gessi   ·   Kiacem   ·   Kiantique   ·   Kiacolor   ·   Essenzia";white-space:pre;position:absolute;left:0;right:0;bottom:32px;top:auto;text-align:center;color:rgba(255,255,255,.5);font-size:12px;font-weight:500;letter-spacing:.06em;pointer-events:none}
html body #html_1425{position:absolute!important;width:0!important;height:0!important;overflow:hidden!important;padding:0!important}
html body #container_1424.pannelloLogin{position:relative;z-index:1;flex:0 0 auto!important;width:100%!important;max-width:460px!important;min-height:0!important;margin:0!important;padding:0!important;background:#fff!important;border:0!important;border-radius:0!important;box-shadow:0 30px 60px -24px rgba(0,0,0,.5)!important;display:block!important;overflow:hidden!important}
html body #container_1424.pannelloLogin::before{content:"";display:block;height:6px;background:linear-gradient(90deg,#2F6E62 0 20%,#2B6CB0 20% 40%,#A38B66 40% 60%,#6A4C9C 60% 80%,#9E3B2E 80% 100%)}
html body #container_1426.pannelloLoginTestata{width:100%!important;max-width:none!important;padding:34px 44px 30px!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
html body #paragraph_1427,html body #paragraph_1427 .paragraphComp-content,html body #paragraph_1427 .paragraphComp-content>div{padding:0!important;text-align:center!important}
html body #paragraph_1427 img{height:42px!important;width:auto!important;mix-blend-mode:normal;margin:0 auto 22px!important;display:block!important}
html body #html_1431,html body #html_1431>div{padding:0!important;text-align:center!important}
html body #html_1431 div:has(>span){display:none!important}
html body #html_1431 h2{font-family:'Sora',system-ui,sans-serif!important;font-size:28px!important;line-height:1.15!important;font-weight:600!important;letter-spacing:-.02em!important;color:#14213d!important;text-align:center!important;margin:0 0 10px!important;padding:0!important}
html body #html_1431 p{text-align:center!important;color:#5b6275!important;font-family:'Sora',system-ui,sans-serif!important;font-size:14px!important;line-height:1.55!important;letter-spacing:0!important;padding:0!important;margin:0 auto 24px!important;max-width:320px}
html body #userlogin_612,html body #userlogin_612 form,html body #userlogin_612 .container-fluid{padding-left:0!important;padding-right:0!important;background:transparent!important}
html body #userlogin_612 *{font-family:'Sora',system-ui,sans-serif!important}
html body #userlogin_612 label{font-size:13px!important;font-weight:600!important;letter-spacing:0!important;text-transform:none!important;color:#14213d!important;margin-bottom:6px!important}
html body #userlogin_612 label .required,html body #userlogin_612 .textfieldComp label span,html body #userlogin_612 .passwordfieldComp label span{color:#2B6CB0!important}
html body #userlogin_612 input.form-control{background:#f2f4f8!important;border:1px solid transparent!important;border-radius:0!important;box-shadow:none!important;padding:12px 16px!important;height:50px!important;font-size:15px!important;color:#14213d!important;transition:border-color .2s,background .2s}
html body #userlogin_612 input.form-control:focus{background:#fff!important;border-color:#2B6CB0!important;outline:0!important;box-shadow:0 0 0 4px rgba(43,108,176,.14)!important}
html body #userlogin_612 .remembermefieldComp label,html body #userlogin_612 .remembermefieldComp label *{font-weight:400!important;font-size:13px!important;color:#5b6275!important}
html body #userlogin_612 .remembermefieldComp label.custom-control{padding-left:28px!important;margin-left:0!important}
html body #userlogin_612 .remembermefieldComp .custom-control-label::before,html body #userlogin_612 .remembermefieldComp .custom-control-label::after{left:-28px!important}
html body #userlogin_612 input.pwb_login{background:#14213d!important;color:#fff!important;border:0!important;border-radius:0!important;box-shadow:0 14px 30px -12px rgba(20,33,61,.6)!important;height:54px!important;font-size:15px!important;font-weight:600!important;letter-spacing:.01em!important;text-transform:none!important;margin-top:6px!important;transition:transform .2s,background .2s!important}
html body #userlogin_612 input.pwb_login:hover{background:#2B6CB0!important;transform:translateY(-2px)}
html body #html_1429,html body #html_1429 *{text-align:center!important;justify-content:center!important}
html body #html_1429 a,html body #html_1429 a *,html body #html_1429 p,html body #html_1429 p *{color:#2B6CB0!important;font-family:'Sora',system-ui,sans-serif!important;font-size:13px!important;font-weight:500!important;text-decoration:none!important}
html body #html_1429 svg{display:none!important}
html body #userlogin_612 .form-group{margin-bottom:14px!important}
html body #html_1429,html body #html_1429 p{margin:0!important;padding-top:4px!important}
html body .sg-back{position:fixed!important;top:26px!important;left:32px!important;right:auto!important;z-index:5!important;background:none!important;box-shadow:none!important;padding:8px 0!important}
html body .sg-back a,html body a.sg-back{background:transparent!important;border:0!important;color:#fff!important;font-family:'Sora',system-ui,sans-serif!important;font-size:13px!important;font-weight:500!important;letter-spacing:0!important;text-transform:none!important}
html body .sg-back svg{stroke:#fff!important;color:#fff!important}
@media (max-width:600px){
  html body #container_608.wrapperLogin{padding:92px 16px 96px!important;justify-content:flex-start!important}
  html body #container_608.wrapperLogin::before{top:30px;left:auto;right:20px;transform:none}
  html body #container_608.wrapperLogin::after{content:"Siciliana Gessi · Kiacem · Kiantique · Kiacolor · Essenzia";font-size:10px;bottom:32px;letter-spacing:.02em}
  html body #container_1426.pannelloLoginTestata{padding:32px 24px 30px!important}
  html body #html_1431 h2{font-size:26px!important}
  html body .sg-back{position:fixed!important;top:20px!important;left:16px!important}
}
html body #userlogin_612 .custom-control-label::before{border-radius:0!important}


/* ---------- DASHBOARD AGENTE (home da autenticato) ---------- */
html body #html_1307,html body #ContainerRow_1310{background:#0b1620!important;margin:0!important;max-width:none!important}
html body .sg-agent-bar{background:#0b1620!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.08)!important;box-shadow:none!important;padding:16px 48px!important}
html body .sg-agent-bar a{border-radius:0!important;box-shadow:none!important;font-family:'Inter',system-ui,sans-serif!important;font-size:12px!important;font-weight:600!important;letter-spacing:.16em!important;text-transform:uppercase!important;transition:background .3s,color .3s!important}
html body .sg-agent-bar .sg-agent-bar-btn{background:transparent!important;color:#fff!important;border:1px solid rgba(255,255,255,.45)!important}
html body .sg-agent-bar .sg-agent-bar-btn:hover{background:#fff!important;color:#0b1620!important}
html body .sg-agent-bar .sg-agent-bar-cta{background:#fff!important;background-image:none!important;color:#0b1620!important;border:1px solid #fff!important}
html body .sg-agent-bar .sg-agent-bar-cta:hover{background:transparent!important;color:#fff!important}
html body .sg-agent-bar svg{stroke:currentColor!important}
html body .sg-agent-bar a::before,html body .sg-agent-bar a::after{display:none!important}
html body .sg-agent-bar a:focus{outline:0!important}
html body #ContainerRow_1310{padding:72px 48px 64px!important}
html body #ContainerRow_1310 .userbarComp,html body #ContainerRow_1310 .row,html body #ContainerRow_1310 .infoUser{background:transparent!important}
html body .sg-agent-hello{align-items:flex-end!important;gap:0!important}
html body .sg-agent-avatar{display:none!important}
html body .sg-agent-greeting{color:rgba(255,255,255,.6)!important;font-size:12px!important;font-weight:500!important;letter-spacing:.28em!important;text-transform:uppercase!important;margin-bottom:12px!important}
html body .sg-agent-name{color:#fff!important;font-family:'Inter',system-ui,sans-serif!important;font-size:clamp(40px,5.6vw,88px)!important;line-height:.95!important;font-weight:200!important;letter-spacing:-.045em!important}
html body #userbar_1465 input[class*="logout_"]{background:transparent!important;color:rgba(255,255,255,.7)!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.35)!important;border-radius:0!important;padding:4px 0!important;margin-top:24px!important;font-size:12px!important;font-weight:600!important;letter-spacing:.16em!important;text-transform:uppercase!important;box-shadow:none!important}
html body #userbar_1465 input[class*="logout_"]:hover{color:#fff!important;border-bottom-color:#fff!important}
html body #html_1306{background:#f6f4ef!important;padding:64px 48px 96px!important;margin:0!important;max-width:none!important}
html body .sg-agent-cards{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px!important;background:transparent!important;border:0!important;counter-reset:chxac}
html body .sg-agent-card{counter-increment:chxac;position:relative;background:#fff!important;border:0!important;border-radius:0!important;box-shadow:0 1px 2px rgba(19,32,45,.04),0 18px 40px -24px rgba(19,32,45,.22)!important;padding:40px 40px 36px!important;display:flex!important;gap:28px!important;transition:transform .4s,box-shadow .4s!important}
html body .sg-agent-card:hover{transform:translateY(-3px);box-shadow:0 1px 2px rgba(19,32,45,.05),0 28px 56px -24px rgba(19,32,45,.3)!important}
html body .sg-agent-card::before{content:"0" counter(chxac);position:absolute;top:24px;right:32px;font-size:12px;font-weight:600;color:#59636e;letter-spacing:.1em}
html body .sg-ac-icon{background:#0b1620!important;color:#fff!important;border:0!important;border-radius:0!important;width:56px!important;height:56px!important;flex:0 0 56px!important}
html body .sg-ac-icon svg{stroke:#fff!important;color:#fff!important}
html body .sg-ac-title{font-family:'Inter',system-ui,sans-serif!important;font-size:28px!important;font-weight:600!important;letter-spacing:-.025em!important;color:#13202d!important;line-height:1.1!important}
html body .sg-ac-desc{color:#59636e!important;font-size:15px!important;line-height:1.55!important;margin:10px 0 24px!important}
html body #html_1306 .sg-agent-card a.sg-ac-btn{background:transparent!important;color:#13202d!important;border:0!important;border-bottom:1px solid #13202d!important;border-radius:0!important;box-shadow:none!important;padding:4px 0!important;font-size:13px!important;font-weight:600!important;letter-spacing:.04em!important}
html body #html_1306 .sg-agent-card a.sg-ac-btn:hover{color:#2f3a78!important;border-bottom-color:#2f3a78!important}
html body #html_1306 .sg-agent-card a.sg-ac-btn svg{stroke:currentColor!important}
@media (max-width:767px){
  html body .sg-agent-bar{padding:12px 16px!important}
  html body #ContainerRow_1310{padding:48px 16px 40px!important}
  html body #html_1306{padding:32px 16px 56px!important}
  html body .sg-agent-cards{grid-template-columns:1fr!important;gap:16px!important}
  html body .sg-agent-card{padding:28px 24px!important;gap:18px!important}
  html body .sg-ac-title{font-size:22px!important}
}


/* CHX header agente loggato (tutte le pagine) - stile Dock 2026-11-29: nome agente + logout a filo bianco al posto di "Area riservata". Il menu resta visibile fuori dalla home agente. */
html.chx-ag-on body #ContainerRow_1310{display:none!important}
html.chx-ag-on body #container_24 .sg-nav-cta{display:none!important}
html.chx-ag-on body #container_24 input[class*="logout_"]:not(.chx-ag input){display:none!important}
html body .chx-ag{display:flex;align-items:center;gap:16px;font-family:'Sora',sans-serif!important}
html body .chx-ag .sg-agent-hello{display:block!important;animation:none!important}
html body .chx-ag .sg-agent-greeting{display:none!important}
html body .chx-ag .sg-agent-name{display:inline!important;color:#fff!important;font-family:'Sora',sans-serif!important;font-size:14px!important;font-weight:600!important;letter-spacing:.01em!important;text-transform:none!important;max-width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;animation:none!important}
html body .chx-ag #userbar_1465{margin:0!important}
html body .chx-ag #userbar_1465 .row,html body .chx-ag #userbar_1465 [class*="col"]{margin:0!important;padding:0!important;max-width:none!important;flex:0 0 auto!important}
html body .chx-ag input[class*="logout_"]{background:transparent!important;color:#fff!important;border:1px solid rgba(255,255,255,.55)!important;border-radius:999px!important;box-shadow:none!important;padding:8px 18px!important;font-family:'Sora',sans-serif!important;font-size:13px!important;font-weight:600!important;letter-spacing:.02em!important;text-transform:none!important;cursor:pointer;transition:background .2s,color .2s}
html body .chx-ag input[class*="logout_"]:hover{background:#fff!important;color:#14213d!important}
@media (max-width:767px){html body .chx-ag .sg-agent-name,html body .chx-ag .sg-agent-hello{display:none!important}}
/* footer: colonne allineate su tablet e mobile */
@media (max-width:991px) and (min-width:576px){html body .sg-footer-inner{grid-template-columns:repeat(3,minmax(0,1fr))!important;column-gap:32px!important}html body .sg-footer-brand{grid-column:1/-1!important}}
@media (max-width:575px){html body .sg-footer-inner{grid-template-columns:minmax(0,1fr)!important}}
html body .sg-footer-giant,html body .sg-footer-bar{padding-left:0!important;padding-right:0!important}
