/* sogo/kaufspalte – Quelle: Abnahme-Canvas project2/BD-Lupi-Mix.dc.html (.mx-kopf, .mx-preis, .mx-feld, .mx-gr, .mx-farbe,
   .mx-status, .mx-kaufen, .mx-lief, .mx-merkmale, .mx-zweit, .mx-info), BD-*-Kaufleiste, BD-Ruecksitz-Mix (Geschwister, Benachrichtigen). */
.sg-ks { display: contents; }
.sg-ks p { margin: 0; }
.sg-ks-kopf { grid-area: kopf; }
.sg-ks-kauf { grid-area: kauf; scroll-margin-top: 24px; }
.sg-ks-titel { margin: 0; font-weight: 400; font-size: var(--fs-h1-produkt, 51px); line-height: 1.02; letter-spacing: -1px; color: var(--titel-farbe, var(--welt)); }
.sg-ks-titel strong { font-weight: 800; }
.sg-ks-logo { display: block; width: 67px; height: 40px; margin-bottom: 8px; }
.sg-ks-unter { font-size: 18px; line-height: 1.5; margin-top: 10px !important; max-width: 34em; }
.sg-ks-kurz { margin-top: 18px !important; font-size: 16px; line-height: 1.5; color: var(--text-leise); }
.sg-ks--decke .sg-ks-kurz { margin-top: 22px !important; }
.sg-ks-preis { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 12px; margin-top: 22px !important; }
.sg-ks-preis strong { font-weight: 600; font-size: 32px; line-height: 1.15; white-space: nowrap; }
.sg-ks-preis strong [data-ab] { font-size: 16px; font-weight: 400; margin-right: 4px; }
.sg-ks-pflicht { font-size: 14px; line-height: 1.45; color: var(--text-leise); }
.sg-ks-pflicht a { color: inherit; }
.sg-ks-feld { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--linie); }
.sg-ks-feldkopf { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 600; font-size: 15px; line-height: 22px; }
.sg-ks-feldkopf a { font-size: 14px; color: var(--text); text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 44px; margin: -11px 0; }
.sg-ks-anzahl { font-weight: 400; font-size: 13px; color: var(--text-leise); text-align: right; }
.sg-ks-legende { margin: 2px 0 8px !important; font-size: 13px; line-height: 1.45; color: var(--text-leise); }
.sg-ks-groessen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sg-ks-gr { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 58px; padding: 8px 10px; border: 1px solid var(--linie-bedienung); border-radius: var(--radius); background: #fff; color: var(--text); cursor: pointer; font: inherit; }
.sg-ks-gr strong { font-weight: 600; font-size: 17px; line-height: 1; }
.sg-ks-gr span { font-size: 13px; line-height: 1.2; color: var(--text-leise); }
.sg-ks-gr:hover { border-color: var(--text); }
.sg-ks-gr[aria-pressed="true"] { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.sg-ks-mass { margin-top: 8px !important; font-size: 13px; line-height: 1.45; color: var(--text-leise); }
.sg-ks-fest { margin-top: 6px !important; font-size: 16px; line-height: 1.4; }
.sg-ks-farben { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px 10px; margin-top: 6px; }
.sg-ks-farbe { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 4px 6px 4px 4px; border: 1px solid transparent; border-radius: var(--radius); background: #fff; text-align: left; cursor: pointer; font: inherit; font-size: 14px; line-height: 1.2; color: var(--text); min-width: 0; }
.sg-ks-farbe[hidden] { display: none; }
.sg-ks-farbe img, .sg-ks-farbe i { flex: none; width: 34px; height: 34px; border-radius: var(--radius); object-fit: cover; box-shadow: inset 0 0 0 1px rgb(0 0 0 / 14%); }
.sg-ks-farbe i { background: var(--f); }
.sg-ks-farbe span { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
.sg-ks-farbe:hover { border-color: var(--linie-bedienung); }
.sg-ks-farbe[aria-pressed="true"] { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.sg-ks-alle { min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--text); font: inherit; font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sg-ks-alle[hidden] { display: none; }
.sg-ks-status { min-height: 22px; margin-top: 10px !important; font-weight: 600; font-size: 14px; line-height: 1.45; }
.sg-ks-status.is-fehlt { color: #8a4b00; }
.sg-ks-kaufen { display: grid; grid-template-columns: 132px minmax(0, 1fr) 52px; gap: 10px; margin-top: 10px; }   /* Menge, Kaufknopf, Merken-Herz (DES-68) */
.sg-ks-menge { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; border: 1px solid var(--linie-bedienung); border-radius: var(--radius); min-height: 52px; background: #fff; }
.sg-ks-menge button { height: 50px; border: 0; background: transparent; font: inherit; font-size: 20px; line-height: 1; color: var(--text); cursor: pointer; }
.sg-ks-menge span { text-align: center; font-weight: 600; font-size: 16px; }
.sg-ks-btn { min-height: 52px; padding: 0 18px; border: 0; border-radius: var(--radius); background: var(--welt); color: var(--auf, #fff); font: inherit; font-weight: 700; font-size: 17px; line-height: 1; cursor: pointer; }
.sg-ks-btn:hover { background: var(--welt-hover); }
.sg-ks-nojs { display: block; margin-top: 10px; font-size: 14px; }
.sg-ks-nojs select { display: block; width: 100%; min-height: 44px; margin-top: 4px; }
.sg-ks.is-js .sg-ks-nojs { display: none; }
.sg-ks:not(.is-js) .sg-ks-groessen, .sg-ks:not(.is-js) .sg-ks-farben { pointer-events: none; }
.sg-ks-lief { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 12px !important; font-size: 14px; line-height: 1.4; }
.sg-ks-lief strong { color: var(--welt-hover); }
.sg-ks-punkt { width: 8px; height: 8px; border-radius: 50%; background: var(--welt); }
.sg-ks-lief.is-aus strong { color: #8a4b00; }
.sg-ks-lief.is-aus .sg-ks-punkt { background: #8a4b00; }
.sg-ks-merkmale { list-style: none; margin: 12px 0 0; padding: 0; border-top: 1px solid var(--linie); }
.sg-ks-merkmale li { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 8px 0; border-bottom: 1px solid var(--linie); font-weight: 600; font-size: 15px; line-height: 1.3; }
.sg-ks-merkmale svg { flex: none; width: 28px; height: 28px; color: var(--welt); }
.sg-ks-textlink { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 14px; line-height: 1.3; color: var(--text); text-underline-offset: 3px; }
.sg-ks-zweit { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; margin-top: 4px; }
.sg-ks-merk { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--text); font: inherit; font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sg-ks-merk[aria-pressed="true"] svg { fill: currentColor; }
.sg-ks-zweit a { font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; min-height: 44px; color: var(--text); text-underline-offset: 3px; }
.sg-ks-info { margin-top: 16px; border-top: 1px solid var(--linie); }
.sg-ks-info details { border-bottom: 1px solid var(--linie); }
.sg-ks-info summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 24px minmax(0, 1fr) auto 18px; gap: 12px; align-items: center; min-height: 52px; font-weight: 600; font-size: 15px; line-height: 1.3; }
.sg-ks-info summary::-webkit-details-marker { display: none; }
.sg-ks-info summary::after { content: '+'; font-size: 20px; line-height: 1; text-align: right; }
.sg-ks-info details[open] summary::after { content: '–'; }
.sg-ks-info summary small { font-weight: 400; color: var(--text-leise); font-size: 14px; }
.sg-ks-info details p { font-size: 15px; line-height: 1.5; color: var(--text-leise); padding: 0 0 16px 36px; }
.sg-ks-info details a { color: var(--text); font-weight: 600; }
.sg-kl { display: inline-block; background: var(--hinweis-flaeche, #f6edd3); color: var(--text); border-radius: var(--radius); padding: 3px 7px; font-size: 12px; line-height: 1.35; font-weight: 400; }
/* Autoschondecke: Geschwister-Umschalter (NEU-12, NEU-25). Karten nebeneinander wie die Fassung BD-Ruecksitz-Mix .mx-versionen/.mx-ver
   (zwei Spalten, mobil eine; mit drei Decken nach NEU-77 steht die dritte Karte in der zweiten Reihe, Sichtprüfung SP-28) */
.sg-ks-ver { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.sg-ks-v { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: center; min-height: 88px; padding: 8px 12px 8px 8px; border: 1px solid var(--linie-bedienung); border-radius: var(--radius); background: #fff; color: var(--text); text-decoration: none; font-size: 14px; line-height: 1.3; }
.sg-ks-v img { width: 72px; height: 68px; object-fit: contain; display: block; }
.sg-ks-v > span { display: flex; flex-direction: column; gap: 0; min-width: 0; }
.sg-ks-v > span > b { font-weight: 700; font-size: 16px; line-height: 1.2; }
.sg-ks-v > span > small { font-size: 14px; line-height: 1.3; color: var(--text); }
.sg-ks-v i { display: block; margin-top: 4px; font-style: normal; font-weight: 400; font-size: 12px; line-height: 1.35; color: var(--text-leise); }
.sg-ks-v i b { font-weight: 700; font-size: 15px; line-height: 1.2; color: var(--text); margin-right: 4px; font-variant-numeric: tabular-nums; }
.sg-ks-v i small { display: block; font-size: 12px; }
.sg-ks-v u { display: block; margin-top: 4px; font-size: 13px; line-height: 1.3; font-weight: 600; color: var(--text); text-underline-offset: 3px; }
.sg-ks-v em { display: block; margin-top: 4px; font-style: normal; font-size: 13px; line-height: 1.3; font-weight: 600; color: var(--welt-hover); }
.sg-ks-v.is-hier { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
a.sg-ks-v:hover { border-color: var(--text); }
.sg-ks-aus { color: #8a4b00 !important; }
/* Benachrichtigen, wenn lieferbar (NEU-11) */
.sg-ks-melden { display: grid; gap: 10px; margin-top: 18px; padding: 18px; border: 1px solid var(--linie); border-radius: var(--radius); background: var(--welt-hell); }
.sg-ks-melden-titel { font-weight: 600; font-size: 16px; line-height: 1.4; }
.sg-ks-melden input[type="email"] { min-height: 52px; padding: 0 14px; border: 1px solid var(--linie-bedienung); border-radius: var(--radius); background: #fff; font: inherit; font-size: 16px; color: var(--text); }
.sg-ks-btn.is-oliv { background: var(--welt); }
.sg-ks-klein { font-size: 13px; line-height: 1.45; color: var(--text-leise); }
.sg-ks-klein a { color: var(--text); }
.sg-ks-danke { font-weight: 600; font-size: 15px; color: var(--welt-hover); }
.sg-ks-danke[hidden] { display: none; }
.sg-ks-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Kaufleiste unten (K-07) */
.sg-ks-leiste { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--linie); box-shadow: 0 -4px 16px rgb(0 0 0 / 6%); }
.sg-ks-leiste[hidden] { display: none; }
.sg-ks-leiste-in { max-width: 1280px; margin: 0 auto; padding: 10px 48px; min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sg-ks-l-text { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; min-width: 0; font-size: 15px; }
.sg-ks-l-text [data-l-auswahl] { font-weight: 600; min-width: 0; }
.sg-ks-l-text b { font-weight: 700; font-size: 18px; white-space: nowrap; }
.sg-ks-l-text small { font-size: 12px; color: var(--text-leise); }
.sg-ks-leiste .sg-ks-btn { flex: none; min-width: 200px; }
body.hat-kaufleiste { padding-bottom: 72px; }
@media (max-width: 760px) {
  .sg-ks-titel { font-size: 35px; }
  .sg-ks-logo { width: 50px; height: 30px; margin-bottom: 6px; }
  .sg-ks-unter { font-size: 16px; margin: 6px 0 14px !important; }
  .sg-ks-preis { margin-top: 18px !important; }
  .sg-ks-preis strong { font-size: 30px; }
  .sg-ks-farben { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sg-ks-ver { grid-template-columns: minmax(0, 1fr); }
  .sg-ks-kaufen { grid-template-columns: 104px minmax(0, 1fr) 52px; gap: 8px; }
  .sg-ks-leiste-in { padding: 8px 16px; gap: 10px; }
  .sg-ks-l-text { flex-direction: column; gap: 0; font-size: 13px; }
  .sg-ks-l-text [data-l-auswahl] { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
  .sg-ks-l-text small { font-size: 11px; }
  .sg-ks-leiste .sg-ks-btn { min-width: 0; padding: 0 16px; font-size: 15px; }
}

/* DES-30: Einkaufswagen im Kaufknopf */
.sg-ks-btn.is-kauf { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.sg-ks-btn.is-kauf::before { content: ""; width: 22px; height: 22px; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 4h2.6l2.3 11h10.4l2-7.5H6.2'/%3E%3Ccircle cx='9' cy='19.2' r='1.4'/%3E%3Ccircle cx='17' cy='19.2' r='1.4'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 4h2.6l2.3 11h10.4l2-7.5H6.2'/%3E%3Ccircle cx='9' cy='19.2' r='1.4'/%3E%3Ccircle cx='17' cy='19.2' r='1.4'/%3E%3C/svg%3E") center / contain no-repeat; }

/* DES-60: Kaufbereich wie die Waldin-Kaufbox – Lieferzeit mit grünem Punkt unter dem Preis, Zahlarten-Logos und DPD unter dem Kaufknopf */
.sg-ks-lief--oben { margin-top: 10px !important; font-weight: 500; font-size: 15px; line-height: 1.3; color: var(--text); }
.sg-ks-lief--oben .sg-ks-punkt { width: 10px; height: 10px; background: #2e7d4f; }
.sg-ks .sg-kb-zahl { display: flex; align-items: center; justify-content: flex-start; gap: 8px; margin: 18px 0 0 !important; }
.sg-ks .sg-kb-zahl img { display: block; height: 30px; width: 40px; max-width: none; flex: none; }
.sg-ks .sg-kb-zahl .sg-kb-versand { width: auto; height: 28px; margin-left: auto; }
.sg-ks-titel { letter-spacing: -0.5px; line-height: 1.1; }
.sg-ks-titel strong { font-weight: 600; }
.sg-ks-lief--oben .sg-ks-punkt { display: block; flex: none; }

/* DES-61 (Lukas 26.11.): Preiszeile wie die Waldin-Kaufbox („ab“ im Preis), Lieferzeit mit grünem Punkt, Größenlink mittig,
   Akkordeon im Stil der Waldin-Kaufbox mit Icons */
.sg-ks-preis strong { font-weight: 700; line-height: 1; }
.sg-ks-preis strong [data-ab] { font-size: inherit; font-weight: inherit; margin-right: 0; }
.sg-ks-preis strong [data-ab][hidden] { display: none; }
.sg-ks-lief--oben i { display: block; flex: none; width: 10px; height: 10px; border-radius: 50%; background: #2e7d4f; }
.sg-ks-feldkopf { align-items: center; }
.sg-ks-feldkopf a { font-weight: 500; }
.sg-ks-merkmale { margin-top: 18px; }
.sg-ks-info { margin-top: 18px; }
.sg-ks-info summary { display: flex; align-items: center; gap: 12px; }
.sg-ks-info summary span { flex: 1; }
.sg-ks-info summary svg { flex: none; color: var(--welt); }
.sg-ks-info summary::after { font-weight: 400; font-size: 22px; color: var(--welt); }
.sg-ks-info details p { padding: 0 0 14px; color: var(--text); }
.sg-ks-info details a { font-weight: 500; text-underline-offset: 3px; }
.sg-ks-dl { margin: 0 0 12px; }
.sg-ks-dl div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 7px 0; border-top: 1px solid var(--linie); font-size: 14px; line-height: 1.45; }
.sg-ks-dl div:first-child { border-top: 0; padding-top: 0; }
.sg-ks-dl dt { font-weight: 600; }
.sg-ks-dl dd { margin: 0; }
.sg-ks-status:empty { display: none; }
/* DES-63: Lineal im Knopf, solange Größe oder Länge fehlt; danach der Einkaufswagen */
.sg-ks-btn.is-mass { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.sg-ks-btn.is-mass::before { content: ""; width: 22px; height: 22px; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 16 12-12 4 4-12 12H4z'/%3E%3Cpath d='m8 12 2 2M11 9l2 2M14 6l2 2'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 16 12-12 4 4-12 12H4z'/%3E%3Cpath d='m8 12 2 2M11 9l2 2M14 6l2 2'/%3E%3C/svg%3E") center / contain no-repeat; }
/* Aktion (DES-80): Streichpreis und Chip in der Preiszeile, 30-Tage-Preis darunter */
.sg-ks-preis .sg-preis-alt { margin-left: 0; font-size: 20px; line-height: 1.15; align-self: baseline; }
.sg-ks-preis .sg-aktion-chip { align-self: center; }
.sg-ks-t30 { margin: 4px 0 0 !important; }
.sg-ks-t30 .sg-preis-tief30 { font-size: 13px; color: var(--text); }
.sg-ks-l-text .sg-preis-alt { font-size: 13px; }

/* Sterne-Zeile unter dem Titel (sogo_bewertung_sterne_html), nur wenn das Produkt Bewertungen hat */
.sg-bw-kurz { margin: 6px 0 0; font-size: var(--fs-14); line-height: 1; }
.sg-bw-kurz a { display: inline-flex; align-items: center; gap: 6px; color: var(--text); text-decoration: none; }
.sg-bw-kurz a:hover span:last-child { text-decoration: underline; }
.sg-bw-kurz-sterne { display: inline-flex; gap: 1px; }
