/* netMitte Suche: Live-Vorschau. Farben aus dem Template netMitte (--ss-*), sonst eigene Werte.
   Autor: netMitte */
.nm-s {
    --nm-gelb: var(--ss-gelb, #ffe500);
    --nm-tinte: var(--ss-tinte, #1d1d1b);
    --nm-grau: var(--ss-grau, #5c5c58);
    --nm-linie: var(--ss-linie, #e6e6e2);
    --nm-sand: var(--ss-sand, #f6f5f0);
    position: fixed;
    z-index: 1045;
    background: #fff;
    border: 1px solid var(--nm-linie);
    border-radius: 14px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, .18), 0 2px 6px rgba(0, 0, 0, .06);
    overflow: hidden auto;
    overscroll-behavior: contain;
    font-size: 14px;
    color: var(--nm-tinte);
    -webkit-font-smoothing: antialiased;
}
.nm-s[hidden] { display: none !important; }
.nm-s.is-laedt .nm-s-body { opacity: .55; transition: opacity .15s; }
.nm-s a { color: var(--nm-tinte) !important; text-decoration: none !important; }
.nm-s mark { background: none; padding: 0; color: inherit; font-weight: 700; box-shadow: inset 0 -.38em 0 rgba(255, 229, 0, .7); }

.nm-s-hinweis { padding: 10px 18px; background: #fff8c7; border-bottom: 1px solid #f1e48a; font-size: 13.5px; }
.nm-s-body { display: grid; grid-template-columns: 240px minmax(0, 1fr); }
.nm-s-body.nm-s-einspaltig { grid-template-columns: minmax(0, 1fr); }
.nm-s-seite { background: var(--nm-sand); border-right: 1px solid var(--nm-linie); padding: 12px 0 14px; }
.nm-s-gruppe + .nm-s-gruppe { margin-top: 10px; }
.nm-s-h { padding: 6px 18px 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--nm-grau); }
.nm-s-link { display: flex; align-items: center; gap: 8px; padding: 6px 18px; line-height: 1.3; }
.nm-s-link span { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nm-s-link em { flex: none; font-style: normal; font-size: 12px; color: var(--nm-grau); }
.nm-s-link.is-aktiv { background: #fff; box-shadow: inset 3px 0 0 var(--nm-gelb); }
.nm-s-punkt { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #d9d9d4; }
.nm-s-punkt.cond-brandneu, .nm-s-punkt.cond-neu { background: var(--nm-gelb); }
.nm-s-punkt.cond-sehrgut { background: #1d7a35; }
.nm-s-punkt.cond-akzeptabel { background: #c9a200; }
.nm-s-punkt.cond-defekt { background: #b30000; }

.nm-s-produkte { padding: 6px 0; }
.nm-s-p { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 8px 18px; }
.nm-s-p + .nm-s-p { border-top: 1px solid #f0f0ec; }
.nm-s-p.is-aktiv { background: #fffbe0; }
.nm-s-bild { width: 56px; height: 56px; border-radius: 8px; background: var(--nm-sand); display: grid; place-items: center; overflow: hidden; }
.nm-s-bild img { width: 100%; height: 100%; object-fit: contain; }
.nm-s-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nm-s-marke { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--nm-grau); }
.nm-s-name { line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nm-s .nm-s-zst.productbox-condition { position: static; align-self: flex-start; margin-top: 3px; font-size: 11px; padding: .15em .6em; box-shadow: none; }
.nm-s-preis { font-weight: 800; font-size: 15px; white-space: nowrap; }

.nm-s-fuss { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; border-top: 1px solid var(--nm-linie); background: #fff; }
.nm-s-alle { font-weight: 700; display: inline-flex; gap: 8px; align-items: center; border-bottom: 2px solid var(--nm-gelb); padding-bottom: 1px; }
.nm-s-alle.is-aktiv, .nm-s-alle:hover { border-bottom-color: var(--nm-tinte); }
.nm-s-tasten { font-size: 12px; color: var(--nm-grau); white-space: nowrap; }
.nm-s-tasten kbd { display: inline-block; min-width: 20px; padding: 1px 5px; margin: 0 2px; border: 1px solid var(--nm-linie); border-bottom-width: 2px; border-radius: 4px; background: #fff; color: var(--nm-tinte); font: 600 11px/1.4 inherit; text-align: center; box-shadow: none; }

.nm-s-leer { padding: 22px 18px; display: grid; gap: 4px; }
.nm-s-leer span { color: var(--nm-grau); }
.nm-s-laden { display: flex; gap: 6px; justify-content: center; padding: 22px; }
.nm-s-laden span { width: 8px; height: 8px; border-radius: 50%; background: var(--nm-tinte); animation: nmSucheDot 1s infinite ease-in-out; }
.nm-s-laden span:nth-child(2) { animation-delay: .15s; }
.nm-s-laden span:nth-child(3) { animation-delay: .3s; }
@keyframes nmSucheDot { 0%, 80%, 100% { opacity: .2; transform: scale(.75); } 40% { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .nm-s-laden span { animation: none; opacity: .6; } }

/* Handy: volle Breite unter dem Suchfeld, Kategorien/Marken/Zustand als wischbare Chips ueber den Artikeln */
@media (max-width: 767.98px) {
    .nm-s { border-radius: 0 0 14px 14px; border-left: 0; border-right: 0; box-shadow: 0 18px 40px rgba(0, 0, 0, .2); }
    .nm-s-body { display: flex; flex-direction: column; }
    .nm-s-seite { display: flex; gap: 8px; overflow-x: auto; padding: 10px 14px; border-right: 0; border-bottom: 1px solid var(--nm-linie); scrollbar-width: none; }
    .nm-s-seite::-webkit-scrollbar { display: none; }
    .nm-s-gruppe { display: contents; }
    .nm-s-h { display: none; }
    .nm-s-link { flex: none; padding: 7px 12px; border: 1px solid var(--nm-linie); border-radius: 999px; background: #fff; }
    .nm-s-link span { max-width: 160px; }
    .nm-s-link.is-aktiv { box-shadow: none; border-color: var(--nm-tinte); }
    .nm-s-p { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; padding: 9px 14px; }
    .nm-s-bild { width: 52px; height: 52px; }
    .nm-s-preis { font-size: 14px; }
    .nm-s-fuss { padding: 12px 14px; }
    .nm-s-tasten { display: none; }
    .nm-s-hinweis { padding: 10px 14px; }
}
