.sss-header .sss-search{position:relative!important}
.sss-header .sss-search form{position:relative!important}
.sssce-smartbox{position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:99999;background:#fff;border:1px solid #d9e2ef;border-radius:14px;box-shadow:0 18px 42px rgba(12,42,82,.18);max-height:min(560px,72vh);overflow:auto;padding:10px 0;color:#102b55}
.sssce-smartbox[hidden]{display:none!important}
.sssce-smart-section+.sssce-smart-section{border-top:1px solid #edf1f6;margin-top:5px;padding-top:5px}
.sssce-smart-kicker{padding:7px 14px 5px;font-size:11px;line-height:1.2;letter-spacing:.09em;text-transform:uppercase;font-weight:800;color:#70819b}
.sssce-smart-row{display:grid;grid-template-columns:46px minmax(0,1fr) 22px;gap:10px;align-items:center;padding:7px 13px;text-decoration:none!important;color:#102b55!important;background:#fff;transition:background .12s ease}
.sssce-smart-row:hover,.sssce-smart-row.is-active{background:#f3f7fc}
.sssce-smart-thumb{width:44px;height:44px;display:flex;align-items:center;justify-content:center;border:1px solid #e4eaf2;border-radius:8px;background:#fff;overflow:hidden}
.sssce-smart-thumb img{display:block;width:100%;height:100%;object-fit:contain!important;margin:0!important;padding:2px!important;box-sizing:border-box}
.sssce-smart-category-icon{width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:9px;background:#edf4ff;color:#0b63c7;font-size:17px;font-weight:800;margin-left:5px}
.sssce-smart-copy{min-width:0;display:flex;flex-direction:column;gap:2px}
.sssce-smart-copy strong{font-size:14px;line-height:1.2;font-weight:800;color:#102b55;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sssce-smart-copy small{font-size:11px;line-height:1.2;color:#6f7f97;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sssce-smart-arrow{font-size:22px;line-height:1;color:#5f79a3;text-align:center}
.sssce-smart-all{display:flex;align-items:center;justify-content:space-between;margin:8px 12px 2px;padding:10px 12px;border-radius:10px;background:#103f8f;color:#fff!important;text-decoration:none!important;font-size:13px;font-weight:800}
.sssce-smart-loading,.sssce-smart-empty{padding:18px 16px;color:#6e7d94;font-size:13px;text-align:center}
@media(max-width:780px){.sssce-smartbox{position:fixed;left:12px;right:12px;top:118px;max-height:65vh}}
/* v4.4: il vecchio autocomplete 037 non deve convivere con la ricerca intelligente */
.sss-prod037-item,.sss-prod-037-all,#sss-prod037-select,.sss-prod037-select,
.sss-prod037-results,.sss-prod037-dropdown{display:none!important;visibility:hidden!important;pointer-events:none!important}

/* v4.4.4 — UNICO RIQUADRO AZIONI ORIZZONTALE: X | lente */
.sss-header .sss-search form{
  position:relative!important;
}
.sss-header .sss-search form input[type="search"]{
  padding-right:96px!important;
  -webkit-appearance:none!important;
  appearance:none!important;
}
.sss-header .sss-search form input[type="search"]::-webkit-search-cancel-button,
.sss-header .sss-search form input[type="search"]::-webkit-search-decoration{
  -webkit-appearance:none!important;
  appearance:none!important;
  display:none!important;
}
.sss-header .sss-search .sssce-smart-actions{
  position:absolute!important;
  right:0!important;
  top:0!important;
  width:86px!important;
  height:52px!important;
  z-index:12!important;
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  grid-template-rows:1fr!important;
  overflow:hidden!important;
  border-radius:0 999px 999px 0!important;
  background:#0b2f6f!important;
  box-shadow:none!important;
}
.sss-header .sss-search .sssce-smart-actions button{
  position:static!important;
  inset:auto!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#fff!important;
  display:grid!important;
  place-items:center!important;
  line-height:1!important;
  box-shadow:none!important;
  cursor:pointer!important;
}
.sss-header .sss-search .sssce-smart-clear{
  border-right:1px solid rgba(255,255,255,.55)!important;
  border-bottom:0!important;
  font-size:18px!important;
  font-weight:650!important;
}
.sss-header .sss-search .sssce-smart-clear.is-disabled{
  opacity:.42!important;
}
.sss-header .sss-search .sssce-smart-clear span{
  display:block!important;
  transform:translateY(-1px)!important;
}
.sss-header .sss-search .sssce-smart-actions button[type="submit"] svg{
  width:19px!important;
  height:19px!important;
  display:block!important;
}
.sss-header .sss-search .sssce-smart-actions button:hover,
.sss-header .sss-search .sssce-smart-actions button:focus-visible{
  background:rgba(255,255,255,.10)!important;
}
@media(max-width:760px){
  .sss-header .sss-search form input[type="search"]{padding-right:78px!important;}
  .sss-header .sss-search .sssce-smart-actions{
    width:74px!important;
    height:44px!important;
  }
  .sss-header .sss-search .sssce-smart-clear{font-size:16px!important;}
  .sss-header .sss-search .sssce-smart-actions button[type="submit"] svg{width:17px!important;height:17px!important;}
}
