/* meine-stoffe PWA Bundle — portiert aus SL Config 3 (SSR-Abgriff 29.07.2026). Quelle-Asset-IDs im jeweiligen Abschnitt. NICHT im Chat editieren — Datei neu bauen. */

/* ===== [cfg3 id 1] SL Global CSS ===== */
/* Slider: Bild in nativer Hoehe statt 85vh-Crop */
.swiper-slide .block-wrapper, .swiper-slide .block-wrapper > div, .swiper-slide > .h-full { height: auto !important; }
.swiper-slide .block-wrapper img { height: auto !important; width: 100%; }
/* Banner-Button unsichtbar, ganze Slide-Flaeche klickbar */
.swiper-slide a[data-testid^="banner-button"] { position: absolute !important; inset: 0 !important; opacity: 0 !important; width: 100% !important; height: 100% !important; border-radius: 0 !important; }
/* Footer: einheitliche Schriftgroessen */
footer .rte-prose p { font-size: 0.875rem !important; }
footer .rte-prose p strong { font-size: 1rem; }
/* Mega-Menue: kompakte Spalten, klare Ebenen, Top 3 */
@media (min-width: 900px) {
    nav li > div[class*="grid-cols-4"][class*="shadow-lg"] { display: block !important; column-count: 4; column-gap: 2rem; }
    nav li > div[class*="grid-cols-4"][class*="shadow-lg"] > * { margin-bottom: 1.25rem; display: block; }
    nav li > div[class*="grid-cols-4"][class*="shadow-lg"] > div > a { font-weight: 700 !important; font-size: 15px !important; color: #3e4346 !important; border-bottom: 1px solid #e9dfd3; padding-bottom: 5px; margin-bottom: 6px; break-after: avoid; }
    nav li > div[class*="grid-cols-4"][class*="shadow-lg"] > div > ul a { font-size: 13.5px !important; color: #6f7275 !important; }
    nav li > div[class*="grid-cols-4"][class*="shadow-lg"] > div > ul a:hover { color: #1c1c1c !important; }
    nav li > div[class*="grid-cols-4"][class*="shadow-lg"] > div > ul > li:nth-child(n+4) { display: none; }
    nav li > div[class*="grid-cols-4"][class*="shadow-lg"] > div > ul > li.sl-more { display: block !important; }
    nav li > div[class*="grid-cols-4"][class*="shadow-lg"] > div > ul > li.sl-more a { color: #b9684f !important; font-weight: 600 !important; }
}
/* Mega-Menue: linksbuendig, Solo-Kategorien im Titel-Stil, kein Spaltenumbruch */
@media (min-width: 900px) {
  nav li > div[class*="grid-cols-4"][class*="shadow-lg"] { text-align: left; }
  nav li > div[class*="grid-cols-4"][class*="shadow-lg"] > * { break-inside: avoid; }
  nav li > div[class*="grid-cols-4"][class*="shadow-lg"] > ul > li > a { display: block; font-weight: 700 !important; font-size: 15px !important; color: #3e4346 !important; border-bottom: 1px solid #e9dfd3; padding-bottom: 5px; }
  nav li > div[class*="grid-cols-4"][class*="shadow-lg"] * { text-align: left !important; }
  nav li > div[class*="grid-cols-4"][class*="shadow-lg"] > div > a, nav li > div[class*="grid-cols-4"][class*="shadow-lg"] > ul > li > a { color: #b9684f !important; }
  nav li > div[class*="grid-cols-4"][class*="shadow-lg"] li.sl-more a { color: #1c1c1c !important; }
  nav li > div[class*="grid-cols-4"][class*="shadow-lg"] ul { padding-left: 0 !important; margin-left: 0 !important; list-style: none !important; }
  nav li > div[class*="grid-cols-4"][class*="shadow-lg"] li, nav li > div[class*="grid-cols-4"][class*="shadow-lg"] > div { padding-left: 0 !important; margin-left: 0 !important; }
  nav li > div[class*="grid-cols-4"][class*="shadow-lg"] > ul { display: block !important; width: 100% !important; }
  nav li > div[class*="grid-cols-4"][class*="shadow-lg"] a { justify-content: flex-start !important; padding-left: 0 !important; }
  nav li > div[class*="grid-cols-4"][class*="shadow-lg"] > div { width: 100% !important; }
  nav li > div[class*="grid-cols-4"][class*="shadow-lg"] > div > ul > li.sl-more a, nav li > div[class*="grid-cols-4"][class*="shadow-lg"] > ul > li.sl-more a { color: #1c1c1c !important; }
  nav li > div[class*="grid-cols-4"][class*="shadow-lg"] > div > a, nav li > div[class*="grid-cols-4"][class*="shadow-lg"] > ul > li > a { color: #1c1c1c !important; font-weight: 700 !important; }
  nav li > div[class*="grid-cols-4"][class*="shadow-lg"] > div > ul > li.sl-more a, nav li > div[class*="grid-cols-4"][class*="shadow-lg"] > ul > li.sl-more a { font-weight: 400 !important; color: #1c1c1c !important; }
}
/* Artikelseite: Quick-Length, Kacheln, Geeignet-fuer, Eigenschaften-Akkordeon */
.sl-quick { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0 4px; }
.sl-quick-label { width: 100%; font-weight: 600; font-size: 14px; }
.sl-quick-btn { border: 1px solid #cfd3d6; background: #fff; padding: 8px 18px; border-radius: 6px; font-size: 14px; cursor: pointer; }
.sl-quick-btn:hover { border-color: #1c1c1c; }
.sl-quick-btn.sl-active { border-color: #e87e6d; background: #fdf1ee; font-weight: 600; }
.sl-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0; }
.sl-tile { border: 1px dashed #b9bec2; border-radius: 8px; padding: 10px 12px; font-size: 13.5px; color: #3e4346; }
.sl-tile b { display: block; margin-bottom: 2px; }
.sl-suited { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; font-size: 13.5px; }
.sl-suited span { border: 1px solid #e2e6e9; border-radius: 6px; padding: 4px 10px; }
.sl-suited span::before { content: '\2713 '; color: #1a7f37; font-weight: 700; }
details.sl-props summary { cursor: pointer; font-weight: 600; font-size: 14px; padding: 6px 0; color: #3e4346; }
@media (max-width: 600px) { .sl-tiles { grid-template-columns: 1fr; } }
/* Artikelseite: Eigenschaften im Akkordeon als Kachel-Grid */
.sl-tiles-all { margin-top: 8px; }
.sl-tile-row { border: 1px dashed #b9bec2 !important; border-radius: 8px; padding: 10px 12px !important; font-size: 13.5px; color: #3e4346; }
.sl-tile-row .font-semibold { display: block; margin-bottom: 2px; }
.sl-tile-row .variation-property-text { flex-direction: column !important; }
.sl-tile-wide { grid-column: 1 / -1; }
/* Artikelseite: Rechner-Link + Frage zum Artikel */
.sl-calc-link { width: 100%; margin: 2px 0 8px; font-size: 13.5px; }
.sl-calc-link a { color: #1c1c1c !important; text-decoration: underline; }
details.sl-ask { margin: 10px 0; }
details.sl-ask summary { cursor: pointer; font-weight: 600; font-size: 14px; padding: 6px 0; color: #3e4346; }
.sl-ask-text { width: 100%; border: 1px solid #cfd3d6; border-radius: 6px; padding: 8px; margin: 8px 0; font-size: 14px; box-sizing: border-box; }
.sl-ask-btn { margin-bottom: 6px; }
/* Preisoptik wie LTS: UVP-Label vor durchgestrichenem Preis, Preis rot, Badge rot */
[data-testid="purchase-card"] [data-testid="price"] { color: #e0293b !important; }
[data-testid="purchase-card"] div:has(> [data-testid="price"]) { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
[data-testid="purchase-card"] div:has(> [data-testid="price"]) > .line-through { order: -1; white-space: nowrap; }
[data-testid="purchase-card"] div:has(> [data-testid="price"]) > .line-through::before { content: 'UVP '; }
.sl-save-badge { background: #e0293b !important; color: #fff !important; border-radius: 4px; padding: 2px 8px; font-weight: 700; font-size: 13px; align-self: center; }
.sl-save-badge * { color: #fff !important; }
/* Artikelseite: Beschreibung/Besonderheiten als Akkordeon-Sektionen */
details.sl-sec { border-top: 1px solid #e9e9e9; }
details.sl-sec > summary { cursor: pointer; font-weight: 700; font-size: 17px; padding: 14px 0; color: #1c1c1c; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details.sl-sec > summary::after { content: '+'; font-size: 22px; font-weight: 400; }
details.sl-sec[open] > summary::after { content: '\2212'; }
details.sl-sec > summary::-webkit-details-marker { display: none; }
/* V6: IDs-Zeile, Teaser, Mengen-Einheit */
.sl-ids { font-size: 12.5px; color: #8a8f93; margin: 2px 0 6px; }
.sl-teaser { font-size: 14px; color: #3e4346; margin: 4px 0 10px; line-height: 1.5; }
.sl-teaser a { color: #1c1c1c !important; text-decoration: underline; cursor: pointer; font-weight: 600; }
.sl-unit { font-weight: 600; color: #3e4346; align-self: center; margin: 0 4px; }
/* V8: Rechner-Link aus, halbe Kacheln */
.sl-calc-link { display: none; }
.sl-tiles-all .sl-tile-wide:not(.sl-tile-clean) { grid-column: auto; }
.sl-tile-row p { margin: 0 0 4px; }
.sl-tile-row h3, .sl-tile-row h4 { font-size: 13.5px; margin: 0 0 2px; }
/* V9: Produktvideo + Teaser-Volltext */
.sl-yt { margin: 12px 0; }
.sl-yt iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 8px; }
.sl-teaser-full { margin-top: 8px; }
/* V10: Preis-Intro, Versandzeile, 5-Prozent-Badge */
.sl-price-intro { margin-top: 12px; font-size: 13px; color: #6b7075; }
.sl-teaser { margin-bottom: 6px; }
.sl-price-intro { text-align: left; }
.sl-lfm { font-size: 13px; color: #6b7075; align-self: center; margin-left: 6px; order: 99; }
.sl-lfm { flex-basis: 100%; margin-left: 0; margin-top: 2px; }
/* V13: Mobile-Fixes + Reiter */
.sl-price-intro { flex-basis: 100%; order: -1; text-align: left; }
.sl-tiles, .sl-tiles-all { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important; }
.sl-sum-sub { display: block; font-size: 12.5px; font-weight: 400; color: #8a8f94; margin-top: 2px; }
.sl-teaser-full { margin: 8px 0; }
/* V14: Warenkorb-Modal Fortschrittsbalken */
.sl-ship-bar { margin: 0 0 16px; }
.sl-ship-txt { font-size: 13.5px; font-weight: 600; color: #3e4346; margin-bottom: 6px; }
.sl-ship-ok .sl-ship-txt { color: #2f7d33; }
.sl-ship-track { height: 8px; background: #eee7df; border-radius: 6px; overflow: hidden; }
.sl-ship-fill { height: 100%; background: #e0293b; border-radius: 6px; transition: width .4s; }
.sl-ship-ok .sl-ship-fill { background: #2f7d33; }
.sl-continue { display: block; text-align: center; margin-top: 12px; font-size: 13.5px; color: #6b7075; text-decoration: underline; cursor: pointer; }
/* V15: Galerie-Pfeile + Wunschlisten-Herz */
.sl-gal-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.88); border: 1px solid #e3ded9; font-size: 26px; line-height: 1; color: #3e4346; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0 0 4px; }
.sl-gal-prev { left: 10px; }
.sl-gal-next { right: 10px; }
.sl-heart { width: 52px; min-width: 52px; align-self: stretch; border: 1px solid #e3ded9; border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-right: 8px; background: #fff; font-size: 0; cursor: pointer; }
.sl-heart svg { width: 24px; height: 24px; color: #e0293b; }
/* V15b: Herz neben Warenkorb-Button */
div:has(> .sl-heart) { display: flex; align-items: stretch; gap: 8px; }
div:has(> .sl-heart) > button { flex: 1 1 auto; }
div:has(> .sl-heart) > .sl-heart { margin-right: 0; }
span:has(> .sl-heart) { display: flex; align-items: stretch; gap: 8px; }
span:has(> .sl-heart) > button { flex: 1 1 auto; }
span:has(> .sl-heart) > .sl-heart { margin-right: 0; }
/* V16: Teaser-Toggle + Dedup */ .sl-hide { display: none !important; }
.sl-teaser-more { cursor: pointer; }
.sl-teaser-less { display: block; margin-top: 10px; font-weight: 700; text-decoration: underline; cursor: pointer; }
/* V17: TrustedShops im Header */ .sl-ts { display: inline-flex; align-items: center; gap: 8px; margin-right: 14px; text-decoration: none; }
.sl-ts-stars { position: relative; display: inline-block; font-size: 15px; line-height: 1; color: #ddd6cf; letter-spacing: 1px; }
.sl-ts-fill { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: #ffb400; width: 95%; }
.sl-ts-txt { font-size: 13px; font-weight: 700; color: #2f7d33; } .sl-ts img { width: 26px; height: 26px; } @media (max-width: 991px) { .sl-ts { display: none; } }
/* V18: Frage-Formular + TS-Feinschliff */ .sl-ts-txt { white-space: nowrap; } .sl-ask { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.sl-ask-row { display: flex; gap: 10px; } .sl-ask-row .sl-ask-in { flex: 1 1 50%; } .sl-ask-in { border: 1px solid #e3ded9; border-radius: 8px; padding: 10px 12px; font-size: 14px; background: #fff; }
textarea.sl-ask-in { min-height: 110px; resize: vertical; } .sl-ask-btn { align-self: flex-start; background: #e0293b; color: #fff; border: 0; border-radius: 8px; padding: 12px 22px; font-weight: 700; cursor: pointer; } .sl-ask-btn:hover { background: #c22233; }
.sl-ask-hint { font-size: 13px; color: #6b7075; margin: 0; } @media (max-width: 700px) { .sl-ask-row { flex-direction: column; } }
/* V19: Header exakt nach Matthias-LTS */ header { background: #fff; box-shadow: 0 4px 6px rgba(0,0,0,.15); position: relative; z-index: 40; } header input[placeholder=Suche] { background: #e7e7e7 !important; border: 0 !important; border-radius: 8px; }
.sl-ts { gap: 6px; margin: 0 4px 0 30px; } .sl-ts-stars { font-size: 12px; letter-spacing: 0; line-height: 1; color: rgba(0,0,0,.12); } .sl-ts-fill { color: orange; }
.sl-ts-col { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; } .sl-ts-num { font-size: 12px; font-weight: 700; color: #3e4346; } .sl-ts-txt { font-size: 11px; font-weight: 400; color: #3e4346; white-space: nowrap; }
.sl-ts img { width: 44px; height: 44px; } @media (min-width: 641px) { .sl-ts { display: inline-flex !important; } } @media (max-width: 640px) { .sl-ts { display: none !important; } }
header { box-shadow: 0 4px 6px rgba(0,0,0,.15) !important; }
/* V19b: Sprachauswahl aus (nur Deutsch) */ header button[aria-label^=Sprachauswahl] { display: none !important; } .sl-ts { margin-right: 12px; }
/* V20: Warenkorb-Buttons nach Matthias-LTS */ [data-testid=quick-checkout-checkout-button], [data-testid=checkout-button] { background: #f2b19c !important; border-color: #f2b19c !important; color: #000 !important; font-weight: 700; }
[data-testid=quick-checkout-cart-button] { background: #fff !important; color: #6e6e6e !important; border: 1px solid #b2b2b2 !important; }
.sl-continue { display: flex; align-items: center; gap: 12px; color: #acacac !important; text-decoration: none !important; font-size: 14px; } .sl-continue::before, .sl-continue::after { content: ''; flex: 1 1 auto; height: 1px; background: #ececec; }
/* V21: Mobil-Header nach Matthias */ header:has([data-testid=navbar-top-mobile]) .sl-ts { display: none !important; } [data-testid=navbar-bottom] { display: none !important; } header button[aria-label^=Suche] { display: none !important; }
.sl-mtop { display: inline-flex !important; align-items: center; padding: 8px !important; } .sl-msearch { display: flex; padding: 2px 12px 10px; background: #fff; }
.sl-msearch input { flex: 1 1 auto; min-width: 0; background: #e7e7e7; border: 0; border-radius: 8px 0 0 8px; padding: 10px 14px; font-size: 16px; } .sl-msearch button, .sl-search-btn { background: #f2b19c; border: 0; border-radius: 0 8px 8px 0; width: 54px; display: flex; align-items: center; justify-content: center; cursor: pointer; align-self: stretch; min-height: 42px; }
.sl-lupe { width: 13px; height: 13px; border: 2px solid #1c1c1c; border-radius: 50%; position: relative; display: inline-block; } .sl-lupe::after { content: ''; position: absolute; width: 2px; height: 7px; background: #1c1c1c; bottom: -6px; right: -3px; transform: rotate(-45deg); }
.sl-searchbox { background: #e7e7e7 !important; border-radius: 8px; padding-right: 0 !important; overflow: hidden; } .sl-searchbox input { background: transparent !important; }
/* V21b: Mobil-Icon-Labels aus */ .sl-mtop { font-size: 0 !important; } .sl-mtop > div { font-size: 10px !important; }
/* V22 Checkout nach LTS */
[data-testid=guest-checkout-button],[data-testid=place-order-button],[data-testid=checkout-layout] button[data-testid=button] { background:#f2b19c !important; border-color:#f2b19c !important; color:#000 !important; font-weight:700 !important; }
[data-testid=guest-checkout-button],[data-testid=checkout-layout] button[data-testid=button] { min-height:48px; display:inline-flex; align-items:center; justify-content:center; }
[data-testid=guest-checkout-button],[data-testid=checkout-layout] button[data-testid=button] { min-height:48px; display:inline-flex; align-items:center; justify-content:center; }
[data-testid=quantity-selector-input] { min-width:46px !important; }
[data-testid=quantity-selector] { min-width:fit-content !important; }
.sl-ts { flex-shrink:0 !important; }
/* V23 Galerie: Thumbs horizontal unter Hauptbild (nur Desktop) */
body:not(:has([data-testid=navbar-top-mobile])) [data-testid=gallery] { flex-direction:column !important; }
body:not(:has([data-testid=navbar-top-mobile])) [data-testid=gallery] > div:last-child { order:2 !important; width:100% !important; height:auto !important; align-self:auto !important; margin-top:8px; }
body:not(:has([data-testid=navbar-top-mobile])) [data-testid=gallery] > div:last-child > div:first-child { height:auto !important; position:static !important; display:block !important; }
body:not(:has([data-testid=navbar-top-mobile])) [data-testid=gallery] > div:last-child .swiper { height:auto !important; width:100% !important; }
body:not(:has([data-testid=navbar-top-mobile])) [data-testid=gallery] > div:last-child .swiper-wrapper { transform:none !important; display:flex !important; flex-direction:row !important; flex-wrap:wrap; gap:8px; height:auto !important; width:auto !important; }
body:not(:has([data-testid=navbar-top-mobile])) [data-testid=gallery] > div:last-child .swiper-slide { width:80px !important; height:80px !important; margin:0 !important; }
body:not(:has([data-testid=navbar-top-mobile])) [data-testid=gallery] > div:last-child > div:first-child > button { display:none !important; }
/* V24 Rechtsseiten-Optik (native legal pages) */
main > .w-full.p-5.overflow-x-auto { max-width:900px; margin:0 auto; padding:32px 20px 56px !important; }
main > .w-full.p-5.overflow-x-auto > p:first-child b { font-size:clamp(24px,3vw,30px); line-height:1.2; display:inline-block; margin-bottom:12px; }
/* V22 Artikelseite: echte Reiter fuer Beschreibung/Besonderheiten */
.sl-tabbar { display:flex; gap:28px; flex-wrap:wrap; border-bottom:2px solid #eee6de; margin-top:24px; }
.sl-tab { padding:12px 2px 10px; font-weight:700; font-size:16.5px; color:#8a8f94; background:none; border:0; border-bottom:3px solid transparent; margin-bottom:-2px; white-space:nowrap; cursor:pointer; font-family:inherit; }
.sl-tab.sl-active { color:#1c1c1c; border-bottom-color:#f2b19c; }
.sl-tab:hover { color:#1c1c1c; }
details.sl-tabbed { border-top:0; padding-top:18px; }
details.sl-tabbed > summary { display:none !important; }
details.sl-tabbed details > summary { display:none !important; }
details.sl-tabbed details { border:0; padding:0; margin:0; }

/* ===== [cfg3 id 24] SL S73b Container Breite 1592 (CRO) ===== */
/* SL S73b: Content-Maxbreite 1592px (Michael-Freigabe 15.07.2026, Basis Matthias-Banner-Spec 26.01.2026) */
main { max-width: 1592px; margin-left: auto; margin-right: auto; width: 100%; padding-left: 24px; padding-right: 24px; }
header > div { max-width: 1592px; margin-left: auto; margin-right: auto; }
footer > div { max-width: 1592px !important; }
@media (max-width: 767px) { main { padding-left: 12px; padding-right: 12px; } }
/* Startseiten-Banner (Matthias-Spec 26.01.): keine Slider-Pfeile, Radius 8px */
main div:has(> .swiper[class*="85vh"]) > .swiper-button-prev, main div:has(> .swiper[class*="85vh"]) > .swiper-button-next { display: none !important; }
main .swiper[class*="85vh"] { border-radius: 8px; overflow: hidden; }
/* IM13 Header sticky inkl. Suchleiste, Desktop ab 768px (Michael-Freigabe 15.07.2026) */
@media (min-width: 768px) { .header-blocks { position: sticky; top: 0; z-index: 40; background: #fff; } }


/* === MS Startseite (ms-home) v1 – 30.07.2026 === */
.ms-home{max-width:1592px;margin:0 auto;padding:0 16px 48px;color:#454545;text-align:left}
.ms-home img{max-width:100%;height:auto;display:block}
.ms-home-hero{display:block;margin:8px 0 16px}
.ms-home-hero img{width:100%;border-radius:8px}
.ms-home-banners{display:flex;gap:16px;margin:0 0 40px}
.ms-home-banners a{flex:1;min-width:0}
.ms-home-banners img{width:100%;border-radius:8px}
.ms-home-intro{text-align:center;max-width:900px;margin:0 auto 48px}
.ms-home-intro h1{font-size:1.9rem;line-height:1.25;margin:0 0 16px;color:#454545}
.ms-home-intro p{font-size:1.05rem;line-height:1.6;margin:0}
.ms-home-row{display:flex;align-items:center;gap:36px;margin:0 0 48px}
.ms-home-img{flex:0 0 36%;min-width:0}
.ms-home-img img{width:100%;border-radius:8px;aspect-ratio:1/1;object-fit:cover}
.ms-home-txt{flex:1;min-width:0}
.ms-home-txt h2{font-size:1.4rem;line-height:1.3;margin:0 0 12px;color:#454545}
.ms-home-txt p{line-height:1.6;margin:0 0 12px}
.ms-home-txt a{color:#5d7db3;text-decoration:underline}
a.ms-home-cta,button.ms-home-cta{display:inline-block;background:#96AFDB;color:#fff;text-decoration:none;font-weight:600;padding:10px 22px;border-radius:6px;margin-top:4px}
a.ms-home-cta:hover,button.ms-home-cta:hover{background:#7d99c9;color:#fff}
.ms-home-nl{background:#f7f4f1;border-radius:8px;padding:32px 24px;text-align:center;margin:0 0 8px}
.ms-home-nl h2{font-size:1.4rem;margin:0 0 8px;color:#454545}
.ms-home-nl p{margin:0 0 16px}
.ms-home-nl iframe{max-width:640px;margin:0 auto}
@media(max-width:767px){
.ms-home-row{flex-direction:column;gap:16px}
.ms-home-img{flex:none;width:100%}
.ms-home-img img{aspect-ratio:16/10}
.ms-home-banners{flex-direction:column}
.ms-home-intro h1{font-size:1.4rem}
.ms-home-txt h2{font-size:1.2rem}
}
/* v4 (05.08.2026): Wunschlisten-Tooltip-Overlap + Gesamtpreis-Zeile */
.sl-heart { font-size: 0 !important; }
[data-testid="purchase-card"] [data-testid="tooltip"] { white-space: normal; }
[data-testid="purchase-card"] [data-testid="tooltip"] > div:not([class]) { display: none !important; }
.sl-total { width: 100%; flex-basis: 100%; font-size: 14px; color: #1c1c1c; margin-top: 4px; }
.sl-total strong { font-weight: 700; }
/* v5 (05.08.2026): Startseiten-Slider */
.ms-slider { position: relative; overflow: hidden; border-radius: 10px; }
.ms-slider .ms-slide { display: none; }
.ms-slider .ms-slide.is-on { display: block; }
.ms-slider .ms-slide img { width: 100%; height: auto; display: block; }
.ms-slider-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 8px; z-index: 3; }
.ms-slider-dot { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.55); cursor: pointer; }
.ms-slider-dot.is-on { background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.25); }
.ms-slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.75); font-size: 26px; line-height: 1; cursor: pointer; color: #1c1c1c; }
.ms-slider-arrow:hover { background: #fff; }
.ms-slider-prev { left: 12px; }
.ms-slider-next { right: 12px; }
@media (max-width: 767px) { .ms-slider-arrow { display: none; } }
/* v6 (05.08.2026): Einheitliche Container-Breite 1592px (Matthias-CRO, wie SL S73b) - nur Desktop */
@media (min-width: 1200px) {
  header > div { max-width: 1592px; margin-left: auto; margin-right: auto; }
  .header-blocks nav { max-width: 1592px; margin-left: auto; margin-right: auto; }
  main { padding-left: 0 !important; padding-right: 0 !important; }
  main .max-w-screen-3xl { max-width: 1592px !important; padding-left: 0; padding-right: 0; }
  .ms-home { padding-left: 0; padding-right: 0; }
}
/* v6.4 (05.08.2026): Content-Kategorien sofort per CSS aus der Navi (statt JS-Flackern) */
.header-blocks nav li:has(> a[href="/naehideen-und-naehanleitungen"]),
.header-blocks nav li:has(> a[href="/eure-projekte"]),
.header-blocks nav li:has(> a[href="/lieblingsstoffe"]),
.header-blocks nav li:has(> a[href="/content-alle-stoffe"]),
.header-blocks nav li:has(> a[href="/meinestoffe"]),
.header-blocks nav li:has(> a[href="/stoff-ratgeber"]),
.header-blocks nav li:has(> a[href="/startseite-meine-stoffe-4-8-2025"]),
.header-blocks nav li:has(> a[href="/stoff-news"]) { display: none !important; }
/* v7 (05.08.2026): Startseiten-Redesign - ruhige Typo + USP + Mood-Kacheln */
.ms-home h1 { font-size: clamp(24px, 2.4vw, 34px) !important; line-height: 1.25; letter-spacing: -0.01em; }
.ms-home h2 { font-size: clamp(19px, 1.8vw, 24px) !important; line-height: 1.3; }
.ms-home .ms-home-intro p, .ms-home .ms-home-txt p { font-size: 15px; line-height: 1.65; }
.ms-eyebrow { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #96AFDB; font-weight: 700; margin: 26px 0 6px; }
.ms-sub { font-size: 16px; color: #454545; max-width: 720px; margin: 8px auto 0; }
.ms-usp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 26px 0 8px; }
.ms-usp div { background: #f7f4f0; border-radius: 10px; padding: 14px 12px; font-size: 14px; line-height: 1.4; }
.ms-usp strong { display: block; font-size: 15px; margin-bottom: 2px; }
@media (max-width: 900px) { .ms-usp { grid-template-columns: repeat(2, 1fr); } }
.ms-mood { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 14px 0 6px; }
.ms-mood a { position: relative; display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 1/1; }
.ms-mood img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.ms-mood a:hover img { transform: scale(1.04); }
.ms-mood span { position: absolute; left: 12px; bottom: 12px; background: rgba(255,255,255,.92); border-radius: 8px; padding: 7px 14px; font-size: 15px; font-weight: 600; color: #1c1c1c; }
@media (max-width: 700px) { .ms-mood { grid-template-columns: 1fr; } .ms-mood a { aspect-ratio: 4/3; } }
.ms-fresh { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 14px 0 6px; }
.ms-fresh a { position: relative; display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 16/10; }
.ms-fresh img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.ms-fresh a:hover img { transform: scale(1.04); }
.ms-fresh span { position: absolute; left: 12px; bottom: 12px; background: rgba(255,255,255,.92); border-radius: 8px; padding: 7px 14px; font-size: 15px; font-weight: 600; }
@media (max-width: 700px) { .ms-fresh { grid-template-columns: 1fr; } }
/* v8 (06.08.2026): ruhige Typo auf ALLEN Contentseiten (Michael-Go) */
main .rte-prose h1 { font-size: clamp(24px, 2.4vw, 34px) !important; line-height: 1.25; letter-spacing: -0.01em; }
main .rte-prose h2 { font-size: clamp(19px, 1.8vw, 24px) !important; line-height: 1.3; }
main .rte-prose h3 { font-size: clamp(17px, 1.5vw, 20px) !important; }

/* v10 (06.08.2026): Header mobil Icon-only — Text-Labels verursachten 468px-Overflow (Audit M1) */
@media (max-width: 1199.98px) {
  header a[href="/wishlist"], header a[href="/cart"], header a[href="/login"] { font-size: 0 !important; gap: 2px !important; }
  header a[href="/wishlist"] svg, header a[href="/cart"] svg, header a[href="/login"] svg { width: 24px !important; height: 24px !important; }
  header a[href="/wishlist"] span, header a[href="/cart"] span, header a[href="/login"] span { font-size: 12px; }
}


/* v11 (06.08.2026): Overflow-Guard mobil (Audit S1) — verhindert horizontales Seiten-Scrollen */
@media (max-width: 1199.98px) {
  html, body { overflow-x: clip; }
}

/* v12 (07.08.2026): Slider-Pfeile komplett aus (Matthias-CRO-Vorgabe, wie LTS) */
.ms-slider-arrow { display: none !important; }
