/* Индикатор поиска витрин (27.11.2026) — srch.js. Цвет — с кнопки поиска витрины (--ka-srch). */
.ka-srch-bar { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 100000; overflow: hidden; pointer-events: none; background: rgba(0, 0, 0, .06); }
.ka-srch-bar::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; background: linear-gradient(90deg, transparent, var(--ka-srch, #d9462b) 50%, transparent); animation: kaSrchBar 1.05s linear infinite; }
@keyframes kaSrchBar { from { left: -40%; } to { left: 100%; } }
.ka-srch-panel {
    position: fixed; z-index: 99999; top: 84px; right: 18px; width: 330px; max-width: calc(100vw - 32px); box-sizing: border-box;
    display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: #fff; color: #1d1f24;
    border: 1px solid rgba(0, 0, 0, .08); box-shadow: 0 14px 40px rgba(0, 0, 0, .16); font: 14px/1.35 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    text-align: left; animation: kaSrchIn .18s ease-out;
}
@keyframes kaSrchIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.ka-srch-ring { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; border: 2.5px solid rgba(0, 0, 0, .1); border-top-color: var(--ka-srch, #d9462b); animation: kaSrchSpin .7s linear infinite; }
@keyframes kaSrchSpin { to { transform: rotate(360deg); } }
.ka-srch-t { font-weight: 600; }
.ka-srch-q { color: var(--ka-srch, #d9462b); }
.ka-srch-h { margin-top: 3px; color: #6b7079; font-size: 12.5px; }
@media (max-width: 767px) { .ka-srch-panel { top: 64px; left: 12px; right: 12px; width: auto; max-width: none; } }
form.ka-srch-loading { position: relative; }
form.ka-srch-loading::after {
    content: ''; position: absolute; top: 50%; right: 52px; width: 15px; height: 15px; margin-top: -7.5px; z-index: 5; pointer-events: none;
    border-radius: 50%; border: 2px solid rgba(0, 0, 0, .12); border-top-color: var(--ka-srch, #d9462b); animation: kaSrchSpin .7s linear infinite;
}
