/* SB8 Shopsuche – Suchfenster (19.10.2026) */
.sb8s-on .dfd-root, .sb8s-on [class*="doofinder"][class*="layer"] { display: none !important; }
.sb8s-open, .sb8s-open body { overflow: hidden !important; }
/* schwebende Bewertungs-Widgets (Google Merchant, Trusted Shops) liegen sonst über Senden/Filter */
.sb8s-open #google-merchantwidget-iframe-wrapper, .sb8s-open [id^="trustbadge-container"], .sb8s-open .trustbadge-container { display: none !important; }

.sb8s {
  --sb8s-accent: var(--theme-palette-color-1, #1f6feb);
  --sb8s-text: var(--theme-text-color, #1d2330);
  --sb8s-muted: #5b6475;
  --sb8s-line: #e3e6eb;
  --sb8s-bg: #fff;
  --sb8s-soft: #f5f6f8;
  position: fixed; inset: 0; z-index: 2147483000;
  display: none; flex-direction: column;
  background: var(--sb8s-bg); color: var(--sb8s-text);
  font: inherit; font-size: 15px; line-height: 1.4;
}
.sb8s.is-open { display: flex; }
/* Theme-Stile im Suchfenster neutralisieren (ekone/Elementor färbt Knöpfe und Labels; 19.10.2026).
   Alle Regeln unten tragen deshalb den Präfix .sb8s (höhere Gewichtung als Theme-Regeln wie ".kit button"). */
.sb8s [hidden], .sb8s .sb8s-uxhide { display: none !important; }
.sb8s .sb8s-advteaser { margin: 0 0 12px; }
.sb8s .sb8s-advteaser button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: #fff;
  border: 1px dashed var(--sb8s-accent); color: var(--sb8s-text); font-size: 14px; }
.sb8s .sb8s-advteaser button:hover { background: var(--sb8s-soft); color: var(--sb8s-text); }
.sb8s .sb8s-advteaser svg { width: 18px; height: 18px; fill: var(--sb8s-accent); }
.sb8s button, .sb8s input, .sb8s select, .sb8s textarea, .sb8s label {
  text-transform: none; letter-spacing: normal; box-shadow: none; text-shadow: none; min-height: 0; min-width: 0;
  font-family: inherit; line-height: 1.3; }
.sb8s button { background: none; color: inherit; border: 0; font-weight: inherit; font-size: inherit; padding: 0; margin: 0; }
.sb8s button:hover, .sb8s button:focus { background: none; color: inherit; }
.sb8s label { font-weight: 400; color: inherit; font-size: inherit; margin: 0; }
.sb8s select { background-color: #fff; color: inherit; }
.sb8s a { box-shadow: none; }

.sb8s *, .sb8s *::before, .sb8s *::after { box-sizing: border-box; }
.sb8s button { font: inherit; cursor: pointer; }

.sb8s .sb8s-top { border-bottom: 1px solid var(--sb8s-line); padding: 12px 16px; }
.sb8s .sb8s-topin { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; gap: 16px; }
.sb8s .sb8s-logo { flex: none; display: flex; align-items: center; }
.sb8s .sb8s-logo-badge { padding: 6px 14px; border-radius: 12px; }
.sb8s .sb8s-logo-badge img { max-height: 34px; }
.sb8s .sb8s-logo img { display: block; max-height: 42px; max-width: 180px; width: auto; height: auto; }
.sb8s .sb8s-bar { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px;
  border: 2px solid var(--sb8s-accent); border-radius: 10px; padding: 0 6px 0 12px; height: 50px; }
.sb8s .sb8s-ico { width: 22px; height: 22px; fill: var(--sb8s-muted); flex: none; }
.sb8s .sb8s-q, .sb8s .sb8s-q:focus { flex: 1; min-width: 0; border: 0 !important; outline: 0 !important; box-shadow: none !important;
  background: transparent !important; font-size: 18px; height: 100% !important; min-height: 0 !important; margin: 0 !important;
  padding: 0 !important; color: inherit; border-radius: 0 !important; }
.sb8s .sb8s-q::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }
.sb8s .sb8s-clear { border: 0; background: transparent; font-size: 26px; line-height: 1; width: 36px; height: 36px; color: var(--sb8s-muted); border-radius: 8px; flex: none; }
.sb8s .sb8s-clear:hover { background: var(--sb8s-soft); }
.sb8s .sb8s-x { flex: none; display: flex; align-items: center; gap: 6px; height: 50px; padding: 0 16px; border: 1px solid var(--sb8s-line);
  background: var(--sb8s-soft); border-radius: 10px; color: var(--sb8s-text); font-size: 15px; font-weight: 600; }
.sb8s .sb8s-x span[aria-hidden] { font-size: 28px; line-height: 1; font-weight: 400; }
/* Werte der ersten Version ausdrücklich zurücksetzen: WPFC bettet in gecachte Seiten eine Kopie der alten CSS ein */
.sb8s .sb8s-x { width: auto; font-size: 15px; line-height: 1.2; color: var(--sb8s-text); }
.sb8s .sb8s-bar { max-width: none; margin: 0; }
.sb8s .sb8s-x:hover { border-color: var(--sb8s-accent); }
.sb8s .sb8s-pop { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.sb8s .sb8s-pop[hidden] { display: none; }
.sb8s .sb8s-poph { font-weight: 600; margin-right: 4px; }
.sb8s .sb8s-popterms { display: flex; flex-wrap: wrap; gap: 6px; }
.sb8s .sb8s-popterms button { border: 1px solid var(--sb8s-line); background: #fff; border-radius: 999px; padding: 5px 12px; font-size: 14px; color: inherit; }
.sb8s .sb8s-popterms button:hover { border-color: var(--sb8s-accent); }

.sb8s .sb8s-body { flex: 1; min-height: 0; display: flex; max-width: 1280px; width: 100%; margin: 0 auto; }
.sb8s .sb8s-side { width: 250px; flex: none; overflow-y: auto; padding: 16px 16px 40px; border-right: 1px solid var(--sb8s-line); }
.sb8s .sb8s-sidehead { display: none; }
.sb8s .sb8s-side section { margin-bottom: 22px; }
.sb8s .sb8s-side h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--sb8s-muted); margin: 0 0 8px; font-weight: 600; }
.sb8s .sb8s-side ul { list-style: none; margin: 0; padding: 0; }
.sb8s .sb8s-side li { margin: 0; }
.sb8s .sb8s-cat button { display: flex; justify-content: space-between; width: 100%; border: 0; background: none; text-align: left;
  padding: 5px 8px; border-radius: 6px; color: inherit; }
.sb8s .sb8s-cat button:hover { background: var(--sb8s-soft); }
.sb8s .sb8s-cat button.is-on { background: var(--sb8s-accent); color: #fff; }
.sb8s .sb8s-side span { color: var(--sb8s-muted); font-size: 13px; }
.sb8s .sb8s-cat button.is-on span { color: #fff; }
.sb8s .sb8s-side section[hidden] { display: none; }
.sb8s .sb8s-kind label, .sb8s .sb8s-brand label { display: flex; align-items: center; gap: 8px; padding: 4px 2px; cursor: pointer; }
.sb8s .sb8s-kind label span, .sb8s .sb8s-brand label span { margin-left: auto; }
.sb8s .sb8s-kind input, .sb8s .sb8s-brand input { margin: 0; width: 16px; height: 16px; accent-color: var(--sb8s-accent); }
.sb8s .sb8s-bf, .sb8s .sb8s-price input { width: 100%; border: 1px solid var(--sb8s-line); border-radius: 6px; padding: 6px 8px; font: inherit; font-size: 14px; height: auto; }
.sb8s .sb8s-bf { margin-bottom: 8px; }
.sb8s .sb8s-price { display: flex; align-items: center; gap: 6px; }
.sb8s .sb8s-allbrands { border: 0; background: none; color: var(--sb8s-accent); padding: 6px 2px; text-decoration: underline; }
.sb8s .sb8s-none { color: var(--sb8s-muted); }

.sb8s .sb8s-main { flex: 1; min-width: 0; overflow-y: auto; padding: 16px 16px 40px; }
.sb8s .sb8s-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.sb8s .sb8s-count { font-weight: 600; margin-right: auto; }
.sb8s .sb8s-sort { border: 1px solid var(--sb8s-line); border-radius: 6px; padding: 6px 8px; font: inherit; font-size: 14px; height: auto; width: auto; }
.sb8s .sb8s-ftoggle { display: none; border: 1px solid var(--sb8s-line); background: #fff; border-radius: 6px; padding: 6px 12px; }
.sb8s .sb8s-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.sb8s .sb8s-chips:empty { display: none; }
.sb8s .sb8s-chips button { border: 1px solid var(--sb8s-line); background: var(--sb8s-soft); border-radius: 999px; padding: 4px 12px; font-size: 13px; color: inherit; }
.sb8s .sb8s-chips .sb8s-intent { background: #eef4ff; border-color: var(--sb8s-accent); }
.sb8s .sb8s-title mark { background: none; color: inherit; font-weight: 700; }
.sb8s .sb8s-poptitle { margin-top: 18px; font-weight: 600; color: var(--sb8s-text); }
.sb8s .sb8s-chips .sb8s-reset { background: none; border-color: transparent; text-decoration: underline; }

.sb8s .sb8s-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.sb8s.is-loading .sb8s-grid { opacity: .55; transition: opacity .15s .1s; }
.sb8s .sb8s-card { display: flex; flex-direction: column; gap: 4px; padding: 10px; border: 1px solid var(--sb8s-line); border-radius: 10px;
  color: inherit !important; text-decoration: none !important; background: #fff; transition: box-shadow .15s, border-color .15s; }
.sb8s .sb8s-card:hover, .sb8s .sb8s-card:focus-visible { border-color: var(--sb8s-accent); box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.sb8s .sb8s-img { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.sb8s .sb8s-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.sb8s .sb8s-brandname { font-size: 12px; text-transform: uppercase; letter-spacing: .03em; color: var(--sb8s-muted); }
.sb8s .sb8s-title { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sb8s .sb8s-pricebox { margin-top: auto; padding-top: 4px; font-size: 16px; }
.sb8s .sb8s-from { font-size: 13px; color: var(--sb8s-muted); }
.sb8s .sb8s-pricebox s { color: var(--sb8s-muted); font-size: 13px; }
.sb8s .sb8s-offers { font-size: 13px; color: var(--sb8s-muted); }
.sb8s .sb8s-empty { padding: 30px 0; color: var(--sb8s-muted); font-size: 16px; }
.sb8s .sb8s-morewrap { text-align: center; padding: 20px 0; }
.sb8s .sb8s-more { border: 1px solid var(--sb8s-line); background: #fff; border-radius: 8px; padding: 10px 20px; }

@media (max-width: 860px) {
  .sb8s .sb8s-top { padding: 8px 10px; }
  .sb8s .sb8s-topin { gap: 8px; }
  .sb8s .sb8s-logo { display: none; }
  .sb8s .sb8s-bar { height: 46px; }
  .sb8s .sb8s-x { height: 46px; padding: 0 10px; }
  .sb8s .sb8s-xt { display: none; }
  .sb8s .sb8s-x span[aria-hidden] { font-size: 32px; }
  .sb8s .sb8s-q { font-size: 16px; }
  .sb8s .sb8s-side { position: fixed; inset: 0; z-index: 2; width: auto; background: #fff; display: none; border: 0; padding-top: 0; }
  .sb8s.sb8s-side-open .sb8s-side { display: block; }
  .sb8s .sb8s-sidehead { display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; background: #fff;
    padding: 12px 0; margin-bottom: 8px; border-bottom: 1px solid var(--sb8s-line); }
  .sb8s .sb8s-sideclose { border: 0; background: none; font-size: 28px; line-height: 1; }
  .sb8s .sb8s-ftoggle { display: inline-block; }
  .sb8s .sb8s-main { padding: 12px 10px 40px; }
  .sb8s .sb8s-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .sb8s .sb8s-card { padding: 8px; }
  .sb8s .sb8s-count { font-size: 14px; }
}

/* KI-Kaufberater (19.10.2026, Gestaltung überarbeitet) */
.sb8s .sb8s-advbtn { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 999px; padding: 8px 16px 8px 12px;
  background: linear-gradient(135deg, var(--sb8s-accent), color-mix(in srgb, var(--sb8s-accent) 65%, #7c3aed)); color: #fff;
  font-size: 14px; font-weight: 600; box-shadow: 0 4px 14px color-mix(in srgb, var(--sb8s-accent) 35%, transparent); transition: transform .15s, box-shadow .15s; }
.sb8s .sb8s-advbtn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px color-mix(in srgb, var(--sb8s-accent) 45%, transparent);
  background: linear-gradient(135deg, var(--sb8s-accent), color-mix(in srgb, var(--sb8s-accent) 65%, #7c3aed)); color: #fff; }
.sb8s .sb8s-advbtn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.sb8s.sb8s-chatmode .sb8s-advbtn, .sb8s.sb8s-chatmode .sb8s-advbtn:hover { background: #fff; color: var(--sb8s-text); border: 1px solid var(--sb8s-line); box-shadow: none; }
.sb8s.sb8s-chatmode .sb8s-pop, .sb8s.sb8s-chatmode .sb8s-chips, .sb8s.sb8s-chatmode .sb8s-main > .sb8s-grid, .sb8s.sb8s-chatmode .sb8s-empty,
.sb8s.sb8s-chatmode .sb8s-morewrap, .sb8s.sb8s-chatmode .sb8s-sort, .sb8s.sb8s-chatmode .sb8s-ftoggle, .sb8s.sb8s-chatmode .sb8s-count { display: none !important; }
.sb8s.sb8s-chatmode .sb8s-side { display: none; }
.sb8s.sb8s-chatmode .sb8s-head { justify-content: flex-start; max-width: 780px; margin: 0 auto 10px; }
.sb8s.sb8s-chatmode .sb8s-main { background: #f6f7f9; }
.sb8s .sb8s-bubble p { margin: 0 0 8px; }
.sb8s .sb8s-bubble p:last-child { margin-bottom: 0; }
.sb8s .sb8s-bubble ul { margin: 4px 0 10px; padding-left: 20px; list-style: disc; }
.sb8s .sb8s-bubble li { margin: 0 0 6px; padding: 0; }
.sb8s .sb8s-bubble li::marker { color: var(--sb8s-accent); }
.sb8s .sb8s-chat { display: flex; flex-direction: column; gap: 16px; max-width: 780px; margin: 0 auto; min-height: calc(100% - 52px); }
.sb8s .sb8s-chat[hidden] { display: none; }
.sb8s .sb8s-avatar { flex: none; width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--sb8s-accent), color-mix(in srgb, var(--sb8s-accent) 60%, #7c3aed)); color: #fff;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--sb8s-accent) 30%, transparent); }
.sb8s .sb8s-avatar svg { width: 24px; height: 24px; fill: currentColor; }
.sb8s .sb8s-avatar-sm { width: 32px; height: 32px; box-shadow: none; }
.sb8s .sb8s-avatar-sm svg { width: 17px; height: 17px; }
.sb8s .sb8s-chathead { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: #fff; border: 1px solid var(--sb8s-line);
  border-radius: 18px; box-shadow: 0 2px 10px rgba(16, 24, 40, .05); }
.sb8s .sb8s-chattitle { display: flex; flex-direction: column; gap: 2px; min-width: 0; margin-right: auto; }
.sb8s .sb8s-chattitle strong { font-size: 17px; font-weight: 700; color: var(--sb8s-text); }
.sb8s .sb8s-chattitle span { font-size: 13px; color: var(--sb8s-muted); }
.sb8s .sb8s-chatnew { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--sb8s-line); border-radius: 999px;
  background: #fff; color: var(--sb8s-muted); font-size: 13px; }
.sb8s .sb8s-chatnew:hover { color: var(--sb8s-text); border-color: var(--sb8s-accent); background: #fff; }
.sb8s .sb8s-chatnew svg { width: 15px; height: 15px; fill: currentColor; }
.sb8s .sb8s-chatlog { display: flex; flex-direction: column; gap: 18px; padding: 4px 2px; }
.sb8s .sb8s-msg { display: flex; align-items: flex-start; gap: 10px; animation: sb8s-in .25s ease-out; }
.sb8s .sb8s-msg-u { justify-content: flex-end; }
.sb8s .sb8s-msgbody { display: flex; flex-direction: column; gap: 10px; min-width: 0; max-width: 88%; }
.sb8s .sb8s-msg-u .sb8s-msgbody { align-items: flex-end; max-width: 80%; }
.sb8s .sb8s-bubble { padding: 12px 16px; border-radius: 18px; line-height: 1.55; font-size: 15px; overflow-wrap: anywhere; }
.sb8s .sb8s-msg-a .sb8s-bubble { background: #fff; border: 1px solid var(--sb8s-line); border-top-left-radius: 6px; box-shadow: 0 1px 3px rgba(16, 24, 40, .05); }
.sb8s .sb8s-msg-u .sb8s-bubble { background: var(--sb8s-accent); color: #fff; border-top-right-radius: 6px; }
.sb8s .sb8s-bubble strong { font-weight: 700; }
.sb8s .sb8s-chatcards { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 10px; -webkit-overflow-scrolling: touch; }
.sb8s .sb8s-chatcards .sb8s-card { flex: 0 0 196px; scroll-snap-align: start; box-shadow: 0 1px 3px rgba(16, 24, 40, .06); }
.sb8s .sb8s-chatcards .sb8s-title { font-size: 13px; }
.sb8s .sb8s-starters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding-left: 42px; }
.sb8s .sb8s-starters[hidden] { display: none; }
.sb8s .sb8s-starters button { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; padding: 12px 14px;
  border: 1px solid var(--sb8s-line); border-radius: 14px; background: #fff; color: var(--sb8s-text); font-size: 14px; line-height: 1.35;
  transition: border-color .15s, box-shadow .15s, transform .15s; }
.sb8s .sb8s-starters button:hover { border-color: var(--sb8s-accent); box-shadow: 0 4px 12px rgba(16, 24, 40, .08); transform: translateY(-1px); background: #fff; color: var(--sb8s-text); }
.sb8s .sb8s-starters button span { color: var(--sb8s-accent); font-weight: 700; }
.sb8s .sb8s-chatform { position: sticky; bottom: 0; margin-top: auto; padding: 18px 0 6px; background: linear-gradient(180deg, rgba(246, 247, 249, 0), #f6f7f9 30%); }
.sb8s .sb8s-chatbox { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 20px; background: #fff; border: 1px solid var(--sb8s-line);
  border-radius: 999px; box-shadow: 0 6px 24px rgba(16, 24, 40, .10); transition: border-color .15s, box-shadow .15s; }
.sb8s .sb8s-chatbox:focus-within { border-color: var(--sb8s-accent); box-shadow: 0 6px 24px color-mix(in srgb, var(--sb8s-accent) 20%, transparent); }
.sb8s .sb8s-chatin, .sb8s .sb8s-chatin:focus { flex: 1; min-width: 0; border: 0 !important; outline: 0 !important; box-shadow: none !important; background: transparent !important;
  padding: 10px 0 !important; margin: 0 !important; height: auto !important; font: inherit; font-size: 16px; color: var(--sb8s-text); }
.sb8s .sb8s-chatsend, .sb8s .sb8s-chatsend:hover { flex: none; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--sb8s-accent); color: #fff; transition: transform .15s, opacity .15s; }
.sb8s .sb8s-chatsend:hover { transform: scale(1.05); }
.sb8s .sb8s-chatsend:disabled { opacity: .45; transform: none; }
.sb8s .sb8s-chatsend svg { width: 20px; height: 20px; fill: currentColor; margin-left: 2px; }
.sb8s .sb8s-chatnote { margin-top: 8px; text-align: center; font-size: 12px; color: var(--sb8s-muted); }
.sb8s .sb8s-typing { display: inline-flex; gap: 5px; padding: 15px 18px; }
.sb8s .sb8s-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--sb8s-accent); opacity: .35; animation: sb8s-dot 1.1s infinite ease-in-out; }
.sb8s .sb8s-typing span:nth-child(2) { animation-delay: .15s; }
.sb8s .sb8s-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes sb8s-dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@keyframes sb8s-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) {
  .sb8s .sb8s-msgbody { max-width: calc(100% - 42px); }
  .sb8s .sb8s-msg-u .sb8s-msgbody { max-width: 88%; }
  .sb8s .sb8s-starters { grid-template-columns: 1fr; padding-left: 0; }
  .sb8s .sb8s-chathead { padding: 12px 14px; border-radius: 14px; }
  .sb8s .sb8s-chatnew span { display: none; }
  .sb8s .sb8s-chatcards .sb8s-card { flex-basis: 160px; }
  .sb8s .sb8s-advbtn { padding: 8px 12px 8px 10px; }
}
