/* Pannello suggerimenti sulla barra FiboSearch vuota (1.20.28).
 * Selettori con .tc-ss-panel davanti: il tema stila a tappeto bottoni e link. */

/* Solo desktop: sotto 992px FiboSearch apre l'overlay a tutto schermo e il wrapper non va toccato. */
@media (min-width: 993px) {
    .dgwt-wcas-search-wrapp { position: relative; }
}

.tc-ss-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    min-width: min(760px, 94vw);
    max-height: 75vh;
    overflow-y: auto;
    z-index: 999999;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 14px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, .14);
    padding: 20px 22px;
    text-align: left;
    color: #1f2a2e;
    font-size: 14px;
    line-height: 1.35;
}

.tc-ss-panel .tc-ss-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 28px; }
.tc-ss-panel .tc-ss-cols.tc-ss-single { grid-template-columns: minmax(0, 1fr); }
.tc-ss-panel .tc-ss-right { border-left: 1px solid #eee; padding-left: 28px; }

.tc-ss-panel .tc-ss-section + .tc-ss-section { margin-top: 18px; }
.tc-ss-panel .tc-ss-title { font-weight: 700; font-size: 15px; color: #1f2a2e; margin: 0 0 8px; }

/* Prodotti */
.tc-ss-panel .tc-ss-product { display: flex; gap: 12px; align-items: center; padding: 6px; margin: 0 -6px; border-radius: 8px; color: inherit; text-decoration: none; }
.tc-ss-panel .tc-ss-product:hover, .tc-ss-panel .tc-ss-product:focus { background: #f6f6f6; color: inherit; }
.tc-ss-panel .tc-ss-thumb { flex: 0 0 44px; width: 44px; height: 44px; }
.tc-ss-panel .tc-ss-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; margin: 0; }
.tc-ss-panel .tc-ss-product-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tc-ss-panel .tc-ss-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.tc-ss-panel .tc-ss-price { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
/* La pillola promo arriva con stile inline pensato per la scheda (margin-bottom: 10px). */
.tc-ss-panel .tc-ss-price .tc-promo-badge { margin: 0 !important; padding: 2px 10px !important; font-size: 11px; line-height: 1.5; }

.tc-ss-panel .tc-ss-product-lg { padding: 10px 6px; border-bottom: 1px solid #eee; border-radius: 0; }
.tc-ss-panel .tc-ss-product-lg .tc-ss-thumb { flex-basis: 64px; width: 64px; height: 64px; }
.tc-ss-panel .tc-ss-product-lg .tc-ss-name { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* Ricerche popolari: righe semplici con lente */
.tc-ss-panel a.tc-ss-query {
    display: flex; align-items: center; gap: 12px;
    padding: 7px 6px; margin: 0 -6px; border-radius: 8px;
    background: none; color: inherit; text-decoration: none; font-weight: 400; font-size: 14px;
}
.tc-ss-panel a.tc-ss-query:hover, .tc-ss-panel a.tc-ss-query:focus { background: #f6f6f6; color: inherit; }
.tc-ss-panel .tc-ss-icon { flex: 0 0 18px; color: #1f2a2e; }

/* Categorie */
.tc-ss-panel .tc-ss-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.tc-ss-panel a.tc-ss-pill {
    padding: 8px 14px; border: 1px solid #ddd; border-radius: 999px; background: #fff;
    color: inherit; text-decoration: none; font-size: 13px; white-space: nowrap;
}
.tc-ss-panel a.tc-ss-pill:hover, .tc-ss-panel a.tc-ss-pill:focus { border-color: #B64E2B; color: #B64E2B; }

/* Pulsante promo */
.tc-ss-panel a.tc-ss-button {
    display: block; margin-top: 14px; padding: 11px 16px; border-radius: 999px;
    background: #B64E2B; color: #fff; text-align: center; text-decoration: none; font-weight: 700; font-size: 14px;
}
.tc-ss-panel a.tc-ss-button:hover, .tc-ss-panel a.tc-ss-button:focus { background: #9a4024; color: #fff; }

@media (max-width: 992px) {
    .tc-ss-panel { position: static; min-width: 0; max-height: none; margin-top: 8px; padding: 14px; box-shadow: none; }
    .tc-ss-panel .tc-ss-cols { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .tc-ss-panel .tc-ss-right { border-left: 0; padding-left: 0; border-top: 1px solid #eee; padding-top: 16px; }
}
