/* Arama kutusu önerileri (assets/js/olive-search.js). Tema rengi: --olive-search-accent (ör. electro olive.css). */
.olive-sg {
    --sg-accent: var(--olive-search-accent, #333e48);
    position: fixed;
    z-index: 1060;
    max-height: min(70vh, 560px);
    overflow-y: auto;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .14);
    padding: 6px 0;
    font-size: 14px;
    line-height: 1.35;
    color: #333;
    text-align: left;
}
.olive-sg[hidden] { display: none !important; }
.olive-sg__head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 8px 14px 4px;
    font-size: 11.5px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; color: #8a8f98;
}
.olive-sg__clear, .olive-sg__x {
    border: 0; background: none; cursor: pointer; color: #8a8f98; padding: 0 2px;
    font-size: 12px; text-transform: none; letter-spacing: 0;
}
.olive-sg__clear:hover, .olive-sg__x:hover { color: #d11; }
.olive-sg__x { font-size: 18px; line-height: 1; margin-left: auto; }
.olive-sg__note {
    margin: 2px 10px 6px; padding: 6px 10px; border-radius: 6px;
    background: #fff8e1; font-size: 13px;
}
.olive-sg__item {
    display: flex; align-items: center; gap: 10px;
    padding: 7px 14px;
    color: inherit !important; text-decoration: none !important; cursor: pointer;
}
.olive-sg__item:hover, .olive-sg__item.is-active, .olive-sg__all.is-active, .olive-sg__chip.is-active { background: #f4f5f7; }
.olive-sg__ico { flex: 0 0 auto; color: #9aa0a6; display: inline-flex; }
.olive-sg__name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.olive-sg__meta { font-size: 12px; color: #8a8f98; white-space: nowrap; }
.olive-sg__prod img, .olive-sg__noimg {
    flex: 0 0 44px; width: 44px; height: 44px; object-fit: contain;
    border-radius: 6px; background: #f6f7f8;
}
.olive-sg__pbody { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.olive-sg__pname { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.olive-sg__price { flex: 0 0 auto; font-weight: 600; white-space: nowrap; text-align: right; display: flex; flex-direction: column; }
.olive-sg__price del { font-weight: 400; font-size: 12px; color: #8a8f98; }
.olive-sg__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 14px 10px; }
.olive-sg__chip {
    display: inline-block; padding: 4px 12px; border-radius: 999px;
    border: 1px solid #e5e7eb; font-size: 13px; color: inherit !important; text-decoration: none !important;
}
.olive-sg__chip:hover { border-color: var(--sg-accent); }
.olive-sg__all {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    margin: 6px 10px 2px; padding: 9px; border-radius: 8px;
    background: var(--sg-accent); color: var(--olive-search-accent-text, #fff) !important; font-weight: 600; text-decoration: none !important;
}
.olive-sg__all:hover, .olive-sg__all.is-active { filter: brightness(1.08); background: var(--sg-accent); }
.olive-sg__empty { padding: 14px; color: #8a8f98; text-align: center; }
