/* vehi_search – Autocomplete-Panel und Inhaltszone. Tonalitaet: Weinrot der Kopfzeile, Pergament, Erdtoene. */
:root {
    --vs-accent: #6d1f22;
    --vs-accent-soft: #f6ecec;
    --vs-ink: #221c19;
    --vs-ink-2: #5a524c;
    --vs-meta: #8a827a;
    --vs-line: #e6dfd4;
    --vs-paper: #ffffff;
    --vs-paper-2: #faf7f2;
    --vs-ok: #2f6b3a;
    --vs-bronze: #8c6a2f;
    --vs-bronze-soft: #f3ead8;
}

/* ---------- Panel ---------- */
.vs-panel, .vs-zone {
    /* Schrift kommt vom Shop-Template (AVIA auf vehi-mercatus.de: Open Sans), nichts Eigenes */
    font-family: inherit;
}
.vs-panel {
    position: absolute;
    z-index: 10050;
    background: var(--vs-paper);
    color: var(--vs-ink);
    border: 1px solid var(--vs-line);
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(34, 28, 25, .08), 0 14px 40px rgba(34, 28, 25, .16);
    overflow-y: auto;
    overflow-x: hidden;
    font-size: 14px;
    line-height: 1.35;
    text-align: left;
    -webkit-overflow-scrolling: touch;
}
.vs-panel.vs-mobile { position: fixed; border-radius: 10px; }
.vs-panel[hidden] { display: none; }
.vs-panel mark { background: transparent; color: var(--vs-accent); font-weight: 600; padding: 0; }
.vs-group { padding: 4px 0; border-top: 1px solid var(--vs-line); }
.vs-group:first-child, .vs-notice + .vs-group { border-top: 0; }
.vs-group-terms { background: var(--vs-paper-2); }
.vs-group-title {
    padding: 8px 14px 3px;
    font-size: 10.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--vs-meta);
    font-weight: 600;
}
.vs-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 7px 14px;
    cursor: pointer;
    color: var(--vs-ink);
    text-decoration: none;
    border-left: 3px solid transparent;
    min-height: 40px;
}
.vs-item:hover, .vs-item:focus { text-decoration: none; color: var(--vs-ink); }
.vs-item.vs-active { background: var(--vs-accent-soft); border-left-color: var(--vs-accent); }
.vs-item-term .vs-item-text b { font-weight: 700; }
.vs-ico { width: 18px; text-align: center; color: var(--vs-meta); flex: none; font-size: 15px; }
.vs-item-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vs-count { font-size: 12px; color: var(--vs-meta); font-variant-numeric: tabular-nums; }
.vs-thumb {
    width: 44px; height: 44px; flex: none; object-fit: contain; border-radius: 4px;
    background: var(--vs-paper-2); border: 1px solid var(--vs-line);
}
.vs-thumb-empty { display: inline-block; }
.vs-item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.vs-item-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vs-item-meta { display: flex; gap: 8px; align-items: center; font-size: 11.5px; color: var(--vs-meta); }
.vs-sku { font-family: ui-monospace, Menlo, Consolas, monospace; }
.vs-badge {
    font-size: 10px; letter-spacing: .05em; text-transform: uppercase; font-weight: 700;
    color: var(--vs-bronze); background: var(--vs-bronze-soft); padding: 1px 6px; border-radius: 3px;
}
.vs-brand { color: var(--vs-meta); }
.vs-item-right { display: flex; align-items: center; gap: 8px; flex: none; }
.vs-dot { width: 8px; height: 8px; border-radius: 50%; background: #c9c0b5; }
.vs-dot-ok { background: var(--vs-ok); }
.vs-price { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vs-item-content .vs-item-text { white-space: normal; font-weight: 500; }
.vs-item-teaser { font-size: 12px; color: var(--vs-ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vs-notice { padding: 9px 14px; font-size: 13px; background: var(--vs-paper-2); border-bottom: 1px solid var(--vs-line); }
.vs-inline { display: inline; padding: 0; min-height: 0; border: 0; color: var(--vs-accent); cursor: pointer; }
.vs-inline.vs-active { background: transparent; text-decoration: underline; }
.vs-all { justify-content: center; font-weight: 600; color: var(--vs-accent); background: var(--vs-paper-2); border-top: 1px solid var(--vs-line); }
.vs-all.vs-active { background: var(--vs-accent-soft); }
.vs-empty { padding: 16px 14px; color: var(--vs-meta); font-size: 13px; text-align: center; }
.vs-hint { padding: 5px 14px 7px; font-size: 11px; color: var(--vs-meta); border-top: 1px solid var(--vs-line); font-family: ui-monospace, Menlo, Consolas, monospace; }
.vs-mobile .vs-hint { display: none; }
.vs-mobile .vs-item { min-height: 46px; }
.vs-mobile .vs-item-name { white-space: normal; }
.vs-mobile .vs-item-text { white-space: normal; }
@media (prefers-reduced-motion: no-preference) {
    .vs-item { transition: background-color .08s; }
}

/* ---------- Inhaltszone auf der Ergebnisseite ---------- */
.vs-zone { margin: 4px 0 22px; }
.vs-zone-notice {
    background: var(--vs-paper-2); border: 1px solid var(--vs-line); border-radius: 6px;
    padding: 10px 14px; font-size: 14px; margin-bottom: 12px;
}
.vs-zone-notice a { color: var(--vs-accent); }
.vs-answer {
    display: grid; grid-template-columns: 1fr; gap: 4px;
    background: var(--vs-paper); border: 1px solid var(--vs-line); border-left: 4px solid var(--vs-accent);
    border-radius: 0 8px 8px 0; padding: 14px 18px; margin-bottom: 14px; color: var(--vs-ink); text-decoration: none;
}
.vs-answer:hover { text-decoration: none; color: var(--vs-ink); box-shadow: 0 6px 20px rgba(34, 28, 25, .10); }
.vs-answer-badge, .vs-card-badge {
    font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--vs-accent);
}
.vs-card-blog .vs-card-badge { color: var(--vs-bronze); }
.vs-answer-title { font-size: 17px; font-weight: 700; }
.vs-answer-snippet { font-size: 14px; color: var(--vs-ink-2); line-height: 1.5; }
.vs-answer-link { font-size: 13px; font-weight: 600; color: var(--vs-accent); margin-top: 2px; }
.vs-zone-label { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--vs-meta); font-weight: 600; margin: 0 0 8px; }
.vs-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 767px) {
    .vs-cards { display: flex; overflow-x: auto; gap: 10px; scroll-snap-type: x mandatory; padding-bottom: 6px; }
    .vs-cards .vs-card { flex: 0 0 82%; scroll-snap-align: start; }
}
.vs-card {
    display: flex; flex-direction: column; background: var(--vs-paper); border: 1px solid var(--vs-line); border-radius: 8px;
    overflow: hidden; color: var(--vs-ink); text-decoration: none; min-height: 96px;
}
.vs-card:hover { text-decoration: none; color: var(--vs-ink); border-color: #cfc4b6; box-shadow: 0 6px 18px rgba(34, 28, 25, .10); }
.vs-card-img { display: block; height: 110px; background-size: cover; background-position: center; background-color: var(--vs-paper-2); }
.vs-card-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; }
.vs-card-title { font-weight: 600; font-size: 14.5px; line-height: 1.3; }
.vs-card-teaser { font-size: 12.5px; color: var(--vs-ink-2); line-height: 1.45; }

.vs-rescue { margin-top: 16px; padding: 18px 20px; background: var(--vs-paper-2); border: 1px solid var(--vs-line); border-radius: 8px; }
.vs-rescue-title { font-weight: 700; font-size: 16px; margin: 0 0 6px; }
.vs-rescue-sub { margin: 0 0 8px; color: var(--vs-ink-2); font-size: 14px; }
.vs-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.vs-chip {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
    background: var(--vs-paper); border: 1px solid var(--vs-line); color: var(--vs-ink); font-size: 13.5px; text-decoration: none;
}
.vs-chip small { color: var(--vs-meta); }
.vs-chip:hover { border-color: var(--vs-accent); color: var(--vs-accent); text-decoration: none; }
.vs-rescue-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.vs-btn {
    display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 4px; font-weight: 600; font-size: 14px;
    border: 1px solid var(--vs-accent); background: var(--vs-accent); color: #fff; cursor: pointer; text-decoration: none;
}
.vs-btn:hover { background: #56181b; color: #fff; text-decoration: none; }
.vs-btn-ghost { background: transparent; color: var(--vs-accent); }
.vs-btn-ghost:hover { background: var(--vs-accent-soft); color: var(--vs-accent); }
.vs-btn[hidden] { display: none; }

/* ---------- Chips (Filter, Kategorie-Hinweis, beliebte Suchen) ---------- */
.vs-chips-row { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 14px; }
.vs-chips-top { border-bottom: 1px solid var(--vs-line); background: var(--vs-paper-2); }
.vs-chip-filter, .vs-chip-item, .vs-chip-cat {
    display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px;
    border: 1px solid var(--vs-line); background: var(--vs-paper); color: var(--vs-ink); text-decoration: none; min-height: 0; border-left-width: 1px;
}
.vs-chip-filter { background: var(--vs-bronze-soft); border-color: transparent; color: var(--vs-bronze); font-weight: 600; }
.vs-chip-cat { color: var(--vs-accent); font-weight: 600; }
.vs-chip-cat small, .vs-chip-item small { color: var(--vs-meta); font-weight: 400; }
.vs-item.vs-chip-item.vs-active, .vs-item.vs-chip-cat.vs-active { background: var(--vs-accent-soft); border-color: var(--vs-accent); }
.vs-item.vs-chip-item, .vs-item.vs-chip-cat { padding: 4px 10px; }
.vs-item.vs-chip-cat:hover { color: var(--vs-accent); }

/* ---------- Warenkorb aus dem Vorschlag ---------- */
.vs-item-right { flex-direction: column; align-items: flex-end; gap: 4px; }
.vs-price-row { display: flex; align-items: center; gap: 8px; }
.vs-cart {
    font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 4px; border: 1px solid var(--vs-accent);
    background: var(--vs-accent); color: #fff; cursor: pointer; line-height: 1.4; white-space: nowrap;
}
.vs-cart:hover { background: #56181b; }
.vs-cart:disabled { opacity: .6; cursor: wait; }
.vs-cart.vs-cart-done { background: var(--vs-ok); border-color: var(--vs-ok); }
.vs-variants { font-size: 11px; color: var(--vs-meta); white-space: nowrap; }
.vs-mobile .vs-item-right, .vs-in-overlay .vs-item-right { align-items: flex-end; }

/* ---------- Spracheingabe ---------- */
.vs-hint { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.vs-mic { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--vs-line); background: var(--vs-paper); border-radius: 999px; cursor: pointer; color: var(--vs-ink-2); }
.vs-mic-inline { width: 26px; height: 26px; }
.vs-mic-ico { display: block; width: 10px; height: 14px; border-radius: 5px 5px 6px 6px; background: currentColor; position: relative; }
.vs-mic-ico::after { content: ""; position: absolute; left: -3px; right: -3px; bottom: -4px; height: 3px; border: 2px solid currentColor; border-top: 0; border-radius: 0 0 8px 8px; }
.vs-mic-on { color: #fff; background: var(--vs-accent); border-color: var(--vs-accent); animation: vs-pulse 1s infinite; }
@keyframes vs-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(109, 31, 34, .35); } 50% { box-shadow: 0 0 0 8px rgba(109, 31, 34, 0); } }
@media (prefers-reduced-motion: reduce) { .vs-mic-on { animation: none; } }

/* ---------- Mobil: Vollbild-Overlay ---------- */
.vs-overlay { position: fixed; inset: 0; z-index: 10060; background: var(--vs-paper); display: flex; flex-direction: column; }
body.vs-ov-open { overflow: hidden; }
.vs-ov-head { display: flex; align-items: center; gap: 8px; padding: 10px 10px 8px; border-bottom: 1px solid var(--vs-line); background: var(--vs-paper); }
.vs-ov-back { width: 40px; height: 40px; border: 0; background: transparent; font-size: 22px; color: var(--vs-ink); cursor: pointer; border-radius: 6px; }
.vs-ov-field { flex: 1; display: flex; align-items: center; gap: 6px; border: 2px solid var(--vs-accent); border-radius: 8px; padding: 0 6px 0 10px; background: #fff; }
.vs-ov-input { flex: 1; min-width: 0; border: 0; outline: 0; font-size: 16px; padding: 10px 0; background: transparent; color: var(--vs-ink); }
.vs-ov-input::-webkit-search-cancel-button { -webkit-appearance: none; }
.vs-mic-ov { width: 34px; height: 34px; border: 0; }
.vs-ov-go { width: 38px; height: 38px; border: 0; background: var(--vs-accent); color: #fff; border-radius: 6px; font-size: 18px; cursor: pointer; }
.vs-ov-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.vs-panel.vs-in-overlay { position: static; width: auto !important; max-height: none !important; border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
.vs-in-overlay .vs-item { min-height: 48px; }
.vs-in-overlay .vs-item-name, .vs-in-overlay .vs-item-text { white-space: normal; }
.vs-in-overlay .vs-hint span { display: none; }

/* ---------- Toast ---------- */
.vs-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 12px); background: var(--vs-ink); color: #fff; padding: 10px 16px; border-radius: 6px; font-size: 14px; z-index: 10070; opacity: 0; transition: opacity .25s, transform .25s; }
.vs-toast-in { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Varianten-Dropdown in der Produktzeile ---------- */
.vs-item-product .vs-item-name { color: var(--vs-ink); text-decoration: none; }
.vs-item-product .vs-item-name:hover { text-decoration: underline; }
.vs-var { display: flex; align-items: center; gap: 6px; }
.vs-var-select {
    font-size: 12px; padding: 3px 6px; border: 1px solid var(--vs-line); border-radius: 4px; background: var(--vs-paper);
    color: var(--vs-ink); max-width: 150px; height: 26px;
}
.vs-var-select.vs-var-missing { border-color: var(--vs-accent); box-shadow: 0 0 0 2px var(--vs-accent-soft); }
.vs-in-overlay .vs-var { flex-wrap: wrap; justify-content: flex-end; }
.vs-in-overlay .vs-var-select { max-width: 120px; }

/* ---------- Produktzeile als Raster (Bild | Name+Meta | Preis, darunter Aktionszeile) ---------- */
.vs-item-product {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    grid-template-areas: "thumb body right";
    column-gap: 11px; row-gap: 5px; align-items: center;
}
.vs-item-product.vs-has-action { grid-template-areas: "thumb body right" "thumb action action"; align-items: start; }
.vs-item-product .vs-thumb { grid-area: thumb; align-self: center; }
.vs-item-product .vs-item-body { grid-area: body; gap: 3px; }
.vs-item-product .vs-item-right { grid-area: right; flex-direction: row; align-items: center; gap: 8px; padding-top: 1px; }
.vs-item-product .vs-item-meta { flex-wrap: wrap; row-gap: 2px; }
.vs-item-action { grid-area: action; display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.vs-item-product .vs-variants { color: var(--vs-meta); }
.vs-cart { height: 26px; display: inline-flex; align-items: center; }
.vs-var-select { height: 26px; }
.vs-in-overlay .vs-item-product { grid-template-columns: 44px minmax(0, 1fr) auto; }
.vs-in-overlay .vs-item-action { justify-content: stretch; }
.vs-in-overlay .vs-var-select { flex: 1; max-width: none; }

/* ---------- Empfehlungen (oft zusammen gekauft / aehnliche Artikel) ---------- */
.vs-reco { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 0 0 6px; }
@media (max-width: 991px) { .vs-reco { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .vs-reco { display: flex; overflow-x: auto; gap: 8px; scroll-snap-type: x mandatory; padding-bottom: 6px; } .vs-reco .vs-reco-card { flex: 0 0 44%; scroll-snap-align: start; } }
.vs-reco-card { display: flex; flex-direction: column; gap: 4px; background: var(--vs-paper); border: 1px solid var(--vs-line); border-radius: 8px; padding: 8px; color: var(--vs-ink); text-decoration: none; min-width: 0; }
.vs-reco-card:hover { text-decoration: none; color: var(--vs-ink); border-color: #cfc4b6; box-shadow: 0 6px 18px rgba(34, 28, 25, .10); }
.vs-reco-img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: var(--vs-paper-2); border-radius: 4px; }
.vs-reco-name { font-size: 12.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.vs-reco-meta { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.vs-reco-price { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.vs-zone-label + .vs-reco { margin-top: 2px; }
.vs-cards + .vs-zone-label, .vs-answer + .vs-zone-label, .vs-rescue + .vs-zone-label { margin-top: 16px; }

/* ---------- Galerie-Modus (Desktop): zentriertes Fenster, links Begriffe/Kategorien/Inhalte, rechts Produktkacheln ---------- */
.vs-panel.vs-gallery { border-radius: 10px; font-size: 14px; }
.vs-gallery .vs-g { display: grid; grid-template-columns: 280px minmax(0, 1fr); align-items: stretch; }
.vs-gallery .vs-g.vs-g-solo { grid-template-columns: minmax(0, 1fr); }
.vs-gallery .vs-g-side { border-right: 1px solid var(--vs-line); background: var(--vs-paper-2); padding-bottom: 6px; }
.vs-gallery .vs-g-side .vs-group { border-top: 0; padding-top: 6px; }
.vs-gallery .vs-g-side .vs-group + .vs-group { border-top: 1px solid var(--vs-line); }
.vs-gallery .vs-g-side .vs-group-terms { background: transparent; }
.vs-gallery .vs-g-side .vs-item { padding: 6px 14px; min-height: 36px; }
.vs-gallery .vs-g-side .vs-item-content .vs-item-text { font-size: 13.5px; }
.vs-gallery .vs-g-main { padding: 2px 16px 12px; min-width: 0; }
.vs-gallery .vs-g-main .vs-group { border-top: 0; padding: 0; }
.vs-gallery .vs-g-main .vs-group-title { padding: 10px 0 8px; }
.vs-gallery .vs-g-main .vs-empty { padding: 60px 16px; }
.vs-gallery .vs-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1100px) { .vs-gallery .vs-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.vs-gallery .vs-tile {
    display: flex; flex-direction: column; gap: 6px; padding: 10px; min-height: 0; border: 1px solid var(--vs-line);
    border-left-width: 1px; border-radius: 8px; background: var(--vs-paper); min-width: 0;
}
.vs-gallery .vs-tile.vs-active { background: var(--vs-paper); border-color: var(--vs-accent); box-shadow: 0 0 0 2px var(--vs-accent-soft), 0 8px 22px rgba(34, 28, 25, .12); }
.vs-tile-img { display: block; width: 100%; aspect-ratio: 1 / 1; max-height: 176px; border-radius: 6px; background: var(--vs-paper-2); overflow: hidden; }
.vs-tile-img img { display: block; width: 100%; height: 100%; object-fit: contain; }
.vs-gallery .vs-tile .vs-item-body { gap: 3px; }
.vs-gallery .vs-tile .vs-item-name { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.3; font-weight: 500; min-height: 2.6em; font-size: 13.5px; }
.vs-gallery .vs-tile .vs-item-meta { flex-wrap: wrap; row-gap: 3px; }
.vs-gallery .vs-tile .vs-item-right { display: flex; flex-direction: row; align-items: baseline; justify-content: space-between; gap: 8px; padding-top: 0; }
.vs-gallery .vs-tile .vs-price { font-size: 15px; }
.vs-avail { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--vs-meta); white-space: nowrap; }
.vs-avail-ok { color: var(--vs-ok); }
.vs-gallery .vs-tile .vs-item-action { justify-content: stretch; margin-top: 2px; }
.vs-gallery .vs-tile .vs-item-action .vs-cart { flex: 1; justify-content: center; height: 30px; font-size: 12.5px; }
.vs-gallery .vs-tile .vs-var { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; }
.vs-gallery .vs-tile .vs-var-select { max-width: none; width: 100%; height: 30px; }
.vs-gallery .vs-tile .vs-var .vs-cart { flex: none; padding: 3px 10px; }
.vs-gallery .vs-chips-top { padding: 10px 16px; }
.vs-gallery .vs-notice { padding: 10px 16px; }
.vs-gallery .vs-all { padding: 11px 14px; font-size: 14.5px; }
.vs-gallery .vs-hint { padding: 6px 16px 8px; }

/* ---------- Mobil: Begriffe als swipebare Chip-Zeile (Produkte bleiben ueber der Tastatur sichtbar) ---------- */
.vs-chips-scroll {
    flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; padding: 6px 12px 8px; gap: 8px;
    scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; overscroll-behavior-x: contain;
}
.vs-chips-scroll::-webkit-scrollbar { display: none; }
.vs-chips-scroll .vs-chip-item { flex: none; white-space: nowrap; scroll-snap-align: start; font-size: 14px; padding: 7px 13px; min-height: 36px; }
.vs-chips-scroll .vs-chip-item b { font-weight: 700; }
.vs-in-overlay .vs-group-chips { padding: 0; border-top: 0; background: var(--vs-paper-2); }
.vs-in-overlay .vs-group-chips .vs-group-title { padding: 8px 12px 0; }
.vs-in-overlay .vs-item.vs-chip-item { min-height: 36px; }
.vs-in-overlay .vs-group-chips + .vs-group { border-top: 1px solid var(--vs-line); }

/* ---------- Farbkreise (Farbfamilie: ein Slot je Modell, andere Farben per Hover) ---------- */
.vs-thumb-wrap { grid-area: thumb; display: flex; align-items: center; gap: 5px; align-self: center; }
.vs-item-product.vs-has-swatches { grid-template-columns: auto minmax(0, 1fr) auto; }
.vs-swatches { display: flex; flex-direction: column; gap: 4px; flex: none; }
.vs-swatch {
    width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(34, 28, 25, .25); padding: 0; cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); transition: transform .1s;
}
.vs-swatch:hover, .vs-swatch:focus { transform: scale(1.25); outline: 0; }
.vs-swatch.vs-swatch-on { box-shadow: 0 0 0 2px var(--vs-paper), 0 0 0 3px var(--vs-accent); }
.vs-swatches:has(.vs-swatch:nth-child(7)) .vs-swatch { width: 12px; height: 12px; }
/* Galerie: Kreise ueber dem Bild, links oben untereinander */
.vs-tile .vs-tile-img { position: relative; }
.vs-tile .vs-swatches { position: absolute; left: 6px; top: 6px; z-index: 2; }
.vs-tile .vs-swatch { width: 16px; height: 16px; }
/* Mobil/Overlay: etwas groesser fuer den Daumen */
.vs-in-overlay .vs-swatch { width: 18px; height: 18px; }
.vs-in-overlay .vs-swatches { gap: 6px; }

/* ---------- Artikeldetailseite: Farbkreise der Produktfamilie ---------- */
.vs-family { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin: 6px 0 14px; font-family: inherit; }
.vs-family-label { font-size: 13px; color: var(--vs-meta); }
.vs-family-swatches { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.vs-family-swatch {
    display: inline-block; width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(34, 28, 25, .3);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); transition: transform .1s; text-decoration: none;
}
.vs-family-swatch:hover, .vs-family-swatch:focus { transform: scale(1.15); outline: 0; }
.vs-family-swatch.vs-swatch-on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--vs-accent); cursor: default; }
.vs-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
