/* KS Suche 1.0.3: suggestion panel in the search overlay and results page note (SPEC 5.4). Tokens of KEYSTICKERS2 with fallbacks. */
.ks-sx { margin-top: 18px; font-family: var(--ks-font, system-ui, sans-serif); color: var(--ks-ink, #6C6967); font-weight: 400; }
.ks-sx[hidden] { display: none; }
.ks-sx.is-fresh .ks-sx-body { animation: ks-sx-in 120ms var(--ks-out, cubic-bezier(.23, 1, .32, 1)); }
@keyframes ks-sx-in { from { opacity: 0; } to { opacity: 1; } }
.ks-sx-live { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ks-sx-on .ks-search-quick { display: none; }
.ks-sx-ic { flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ks-sx-h { font-size: 12px; font-weight: 500; color: var(--ks-ink-2, #807D7A); margin: 0 0 6px; padding: 0 12px; letter-spacing: .01em; }
.ks-sx-sec + .ks-sx-sec, .ks-sx-col > .ks-sx-sec + .ks-sx-pricenote + .ks-sx-sec { margin-top: 22px; }
.ks-sx-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; }
.ks-sx-cols.is-single { grid-template-columns: minmax(0, 1fr); }
.ks-sx-cols.is-single .is-side { display: none; }
.ks-sx-opt {
    min-height: 44px; display: flex; align-items: center; gap: 12px; padding: 6px 12px; border-radius: 14px;
    font-size: 15px; font-weight: 400; line-height: 1.3; color: var(--ks-g800, #494745); cursor: pointer;
    -webkit-tap-highlight-color: transparent; transition: background-color 120ms ease-out;
}
.ks-sx-opt.is-active { background: var(--ks-g100, #F0EFEF); }
@media (hover: hover) { .ks-sx-opt:hover { background: var(--ks-g100, #F0EFEF); } }
.ks-sx mark { background: none; color: var(--ks-g900, #2B2A28); font-weight: 500; padding: 0; }
.ks-sx-name { min-width: 0; overflow-wrap: anywhere; }
.ks-sx-dym { margin-bottom: 14px; }
.ks-sx-dym .ks-sx-ic { color: var(--ks-ink-2, #807D7A); }
.ks-sx-dym-q { color: var(--ks-link, #A9531A); font-weight: 500; }
/* products */
.ks-sx-prod { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; }
.ks-sx-thumb { width: 48px; height: 48px; border-radius: 10px; background: var(--ks-g50, #F7F7F7); display: flex; align-items: center; justify-content: center; overflow: hidden; color: var(--ks-g400, #A6A4A2); }
.ks-sx-thumb img { width: 48px; height: 48px; object-fit: contain; display: block; }
.ks-sx-prod-txt { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ks-sx-prod .ks-sx-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ks-sx-meta { display: flex; flex-wrap: wrap; gap: 0 10px; font-size: 13px; color: var(--ks-ink-2, #807D7A); }
.ks-sx-oos { color: var(--ks-ink-2, #807D7A); }
.ks-sx-price { font-size: 13px; color: var(--ks-ink-2, #807D7A); white-space: nowrap; text-align: right; }
.ks-sx-pv { font-size: 15px; font-weight: 500; color: var(--ks-g800, #494745); font-variant-numeric: tabular-nums; }
.ks-sx-pricenote { font-size: 11px; color: var(--ks-ink-2, #807D7A); padding: 4px 12px 0; margin: 0; }
/* categories, characteristic values, pages */
.ks-sx-catic { width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--ks-g100, #F0EFEF); color: var(--ks-ink-2, #807D7A); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ks-sx-catic img { width: 32px; height: 32px; object-fit: cover; border-radius: 8px; display: block; }
.ks-sx-catic:has(img) { border-radius: 8px; background: var(--ks-g50, #F7F7F7); }
.ks-sx-cv .ks-sx-ic, .ks-sx-page .ks-sx-ic, .ks-sx-brand .ks-sx-ic { color: var(--ks-ink-2, #807D7A); }
.ks-sx-val { font-weight: 500; color: var(--ks-g800, #494745); }
.ks-sx-all { margin-top: 8px; padding: 0 12px; color: var(--ks-link, #A9531A); font-weight: 500; gap: 8px; }
/* empty state (overlay and results page) */
.ks-sx-empty { padding: 4px 12px 8px; }
.ks-sx-empty-title { font-size: 17px; font-weight: 500; color: var(--ks-g800, #494745); margin: 0 0 4px; }
.ks-sx-empty-hint { font-size: 15px; color: var(--ks-ink-2, #807D7A); margin: 0 0 18px; }
.ks-sx-empty .ks-sx-h { padding: 0; }
.ks-sx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ks-sx-chip {
    display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: var(--ks-field-radius, 980px);
    background: var(--ks-g100, #F0EFEF); color: var(--ks-g800, #494745); font-size: 14px; font-weight: 400; text-decoration: none; white-space: nowrap;
    transition: background-color 120ms ease-out;
}
.ks-sx-chip:hover, .ks-sx-chip:focus { color: var(--ks-g900, #2B2A28); text-decoration: none; }
@media (hover: hover) { .ks-sx-chip:hover { background: var(--ks-g200, #E1E0DF); } }
.ks-sx-chip .ks-sx-ic { color: var(--ks-ink-2, #807D7A); }
.ks-sx-chip:focus-visible, .ks-sx-note-link:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--ks-o500, #EA7424); border-radius: 6px; }
.ks-sx-chip:focus-visible { border-radius: var(--ks-field-radius, 980px); }
.ks-sx-empty-page { padding: 8px 0 24px; font-family: var(--ks-font, system-ui, sans-serif); }
/* results page note after an automatic correction */
.ks-sx-note { font-family: var(--ks-font, system-ui, sans-serif); font-size: 15px; font-weight: 400; color: var(--ks-ink-2, #807D7A); margin: 8px 0 16px; }
.ks-sx-note-q { color: var(--ks-g800, #494745); font-weight: 500; }
.ks-sx-note-link { color: var(--ks-link, #A9531A); text-decoration: none; }
.ks-sx-note-link:hover { color: var(--ks-link, #A9531A); text-decoration: underline; }
/* phone: one column, categories as a sideways chip row, then products, then the rest */
@media (max-width: 767.98px) {
    .ks-sx-cols, .ks-sx-cols.is-single { display: flex; flex-direction: column; gap: 0; }
    .ks-sx-col { display: contents; }
    .ks-sx-cols.is-single .is-side { display: contents; }
    .ks-sx-sec { margin: 0 0 22px; }
    .ks-sx-sec + .ks-sx-sec, .ks-sx-col > .ks-sx-sec + .ks-sx-pricenote + .ks-sx-sec { margin-top: 0; }
    .ks-sx-sec-categories { order: 1; }
    .ks-sx-sec-products { order: 2; margin-bottom: 0; }
    .ks-sx-pricenote { order: 3; margin-bottom: 22px; }
    .ks-sx-sec-charvals { order: 4; }
    .ks-sx-sec-manufacturers { order: 5; }
    .ks-sx-sec-pages { order: 6; }
    .ks-sx-all { order: 7; margin-top: 0; }
    .ks-sx-sec-categories { display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: 12px; scrollbar-width: none; padding: 0 12px 2px; margin-left: -12px; margin-right: -12px; }
    .ks-sx-sec-categories::-webkit-scrollbar { display: none; }
    .ks-sx-sec-categories .ks-sx-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); margin: 0; padding: 0; }
    .ks-sx-cat { flex: none; min-height: 44px; height: 44px; padding: 5px 14px 5px 5px; gap: 8px; scroll-snap-align: start; border-radius: var(--ks-field-radius, 980px); background: var(--ks-g100, #F0EFEF); font-size: 14px; white-space: nowrap; }
    .ks-sx-cat .ks-sx-catic { width: 34px; height: 34px; background: #fff; }
    .ks-sx-cat .ks-sx-catic img { width: 34px; height: 34px; }
    .ks-sx-cat.is-active { background: var(--ks-g200, #E1E0DF); }
    .ks-sx-prod { grid-template-columns: 48px minmax(0, 1fr); row-gap: 2px; align-items: start; }
    .ks-sx-prod .ks-sx-price { grid-column: 2; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
    .ks-sx.is-fresh .ks-sx-body { animation: none; }
    .ks-sx-opt, .ks-sx-chip { transition: none; }
}
/* answer of an older query while the new one loads: visible, not selectable (1.0.1) */
.ks-sx.is-stale .ks-sx-body { opacity: .55; transition: opacity 120ms ease-out; }
.ks-sx.is-stale .ks-sx-opt { cursor: default; }
.ks-sx.is-stale .ks-sx-opt:hover { background: none; }
