/* Ricerca "mentre scrivi" (js/search-suggest.js): tendina sotto la casella #headerSearch */
.sg-box { position: absolute; left: 0; right: 0; z-index: 1050; background: #fff; border: 1px solid #e5e5e5; box-shadow: 0 12px 28px rgba(0,0,0,.14); max-height: 75vh; overflow-y: auto; text-align: left; }
.sg-box[hidden] { display: none; }
.sg-item { display: flex; align-items: center; gap: 16px; padding: 12px 16px; color: #222; text-decoration: none; border-bottom: 1px solid #f0f0f0; }
.sg-item.sg-active, .sg-all.sg-active { background: #f5f5f5; color: #222; text-decoration: none; }
.sg-item img { width: 88px; height: 88px; object-fit: contain; flex: 0 0 88px; background: #fff; }
.sg-txt { flex: 1 1 auto; min-width: 0; line-height: 1.35; }
.sg-t { display: block; font-size: 17px; font-weight: 500; color: #222; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-m { display: block; margin-top: 4px; font-size: 14px; color: #777; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-p { flex: 0 0 auto; font-size: 18px; font-weight: 600; white-space: nowrap; }
.sg-all, .sg-none { display: block; padding: 16px; font-size: 16px; text-align: center; }
.sg-all { font-weight: 600; text-decoration: none; }
.sg-none { color: #777; }
.sg-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 575px) {
    .sg-item { gap: 12px; padding: 10px 12px; }
    .sg-item img { width: 64px; height: 64px; flex-basis: 64px; }
    .sg-t { font-size: 15px; }
    .sg-m { font-size: 13px; }
    .sg-p { font-size: 16px; }
}
