/* ============================================================================
   MeineReitwelt — Theme-Token-Layer über DaisyUI (enx::commerce)
   Geladen in themes/meinereitwelt/de/theme.liquid als /static/css/theme-meinereitwelt.css
   Quelle der Werte: theme762/web/css/theme-styles.css (Häufigkeitsanalyse)
   Kein Ersatz für DaisyUI, sondern die Marke darüber: Farben, Typo, Kopf/Fuß.
   Schriften: Montserrat ist NICHT eingebunden — CSP (style-src 'self') verbietet
   externe Fonts. Die woff2-Dateien müssen nach files/public/fonts/ und hier per
   @font-face registriert werden (Schritt 2, sobald die Lizenzen bestätigt sind).
   ========================================================================== */

:root,
[data-shop="meinereitwelt"] {
    /* Marke */
    --mrw-beige: #cda379;          /* Primärfarbe, 85 Vorkommen im Alt-Theme */
    --mrw-beige-dark: #b7916c;
    --mrw-ink: #1b110d;            /* dunkelster Ton, Header/Flächen */
    --mrw-text: #343434;
    --mrw-brown: #615149;
    --mrw-sand: #e8ddd0;
    --mrw-grey: #f7f7f7;
    --mrw-line: #e0e0e0;

    /* DaisyUI-Variablen der Marke zuordnen */
    --color-primary: var(--mrw-beige);
    --color-primary-content: #ffffff;
    --color-base-100: #ffffff;
    --color-base-200: var(--mrw-grey);
    --color-base-300: var(--mrw-sand);
    --color-base-content: var(--mrw-text);

    --mrw-radius: 4px;
    --mrw-shadow: 0 2px 10px rgba(27, 17, 13, 0.08);
    --mrw-max: 1240px;
}

.mrw-body {
    color: var(--mrw-text);
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* ---------------------------------------------------------------- USP-Leiste */
.mrw-topbar {
    background: var(--mrw-ink);
    color: var(--mrw-sand);
    font-size: 12px;
    letter-spacing: 0.04em;
}
.mrw-topbar__inner {
    max-width: var(--mrw-max);
    margin: 0 auto;
    padding: 7px 16px;
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    text-transform: uppercase;
}
@media (max-width: 767px) {
    .mrw-topbar__inner { gap: 12px; font-size: 10px; padding: 6px 12px; }
    .mrw-topbar__inner span:nth-child(2),
    .mrw-topbar__inner span:nth-child(3) { display: none; }
}

/* ------------------------------------------------------------------- Kopfnav */
.mrw-header {
    background: #ffffff;
    border-bottom: 1px solid var(--mrw-line);
}
.mrw-nav {
    max-width: var(--mrw-max);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
}
.mrw-brand { display: flex; flex-direction: column; line-height: 1.1; text-decoration: none; }
/* Echtes Shop-Logo (195×66, transparent). Feste Höhe, Breite automatisch —
   so bleibt der Kopf bei jedem Logo-Seitenverhältnis stabil. */
.mrw-brand__logo {
    display: block;
    height: 44px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}
@media (max-width: 991px) {
    .mrw-brand__logo { height: 36px; max-width: 160px; }
}
.mrw-brand__mark {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--mrw-ink);
    text-transform: uppercase;
}
.mrw-brand__tagline {
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--mrw-beige-dark);
    margin-top: 3px;
}
.mrw-nav__center { flex: 1; display: flex; justify-content: center; }
.mrw-menu {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
}
/* Alle Menüpunkte in EINER Box: <a> und <summary> gleich hoch und gleich ausgerichtet,
   sonst sitzen REITER/PFERD (details) 3 px höher als Startseite/SALE/LOOKS. */
.mrw-menu > li { display: flex; align-items: center; }
.mrw-menu a,
.mrw-menu summary {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mrw-text);
    text-decoration: none;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    list-style: none;
    transition: color .15s ease, border-color .15s ease, opacity .15s ease;
}
.mrw-menu summary::-webkit-details-marker { display: none; }
.mrw-menu summary::marker { content: ''; }
.mrw-menu a:hover { color: var(--mrw-beige-dark); border-bottom-color: var(--mrw-beige); }
.mrw-menu__highlight { font-weight: 700; color: var(--mrw-ink); }
.mrw-menu a.mrw-menu__account { display: none; }   /* nur mobil, siehe Media-Query unten */
.mrw-menu__sale { color: #a33a2a; font-weight: 700; }

.mrw-nav__end { display: flex; align-items: center; gap: 14px; }
.mrw-cart {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--mrw-text);
    font-size: 13px;
}
.mrw-cart__count {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: var(--mrw-beige);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.mrw-account {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mrw-text);
    text-decoration: none;
    background: none;
    border: 1px solid var(--mrw-line);
    border-radius: var(--mrw-radius);
    padding: 7px 12px;
    cursor: pointer;
}
.mrw-account:hover { border-color: var(--mrw-beige); color: var(--mrw-beige-dark); }
.mrw-dropdown {
    background: #fff;
    border: 1px solid var(--mrw-line);
    box-shadow: var(--mrw-shadow);
    border-radius: var(--mrw-radius);
    margin-top: 8px;
}

/* Mobile: Menü wird zur Zeile unter dem Kopf (kein Drawer — htmx-tauglich) */
@media (max-width: 991px) {
    .mrw-nav { flex-wrap: wrap; row-gap: 10px; }
    .mrw-nav__center { order: 3; flex-basis: 100%; overflow-x: auto; justify-content: flex-start; }
    .mrw-menu { gap: 16px; }
    .mrw-menu a { font-size: 12px; white-space: nowrap; }
}

/* ------------------------------------------------------------------ Produktkachel
   Fotos liegen in verschiedenen Seitenverhältnissen vor (1:1 nur 70×, überwiegend
   Hochformat 2:3 / 0,74 / 0,77). Ein fester 4:5-Rahmen + object-fit:contain hält das
   Raster ruhig, ohne Helme/Jacketts anzuschneiden. */
.mrw-card {
    background: #fff;
    border: 1px solid var(--mrw-line);
    border-radius: var(--mrw-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .18s ease, border-color .18s ease;
}
.mrw-card:hover { box-shadow: var(--mrw-shadow); border-color: var(--mrw-beige); }

.mrw-card__media {
    display: block;
    aspect-ratio: 4 / 5;
    background: #fff;
    overflow: hidden;
}
.mrw-card__img {
    width: 100%;
    height: 100%;
    object-fit: contain;      /* ganzes Produkt sichtbar, kein Anschnitt */
    object-position: center;
    transition: transform .25s ease;
}
.mrw-card:hover .mrw-card__img { transform: scale(1.03); }

.mrw-card__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px 16px;
}
.mrw-card__stock {
    align-self: flex-start;
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 2px;
}
.mrw-card__stock.is-in   { background: #eef5ec; color: #2f6b3a; }
.mrw-card__stock.is-low  { background: #fdf3e3; color: #96601a; }
.mrw-card__stock.is-out  { background: #f7eceb; color: #a33a2a; }

.mrw-card__title {
    font-size: 14px;
    line-height: 1.35;
    font-weight: 600;
    margin: 0;
    min-height: 2.7em;        /* zwei Zeilen reserviert → Preise stehen auf einer Linie */
}
.mrw-card__title a { color: var(--mrw-text); text-decoration: none; }
.mrw-card__title a:hover { color: var(--mrw-beige-dark); }

.mrw-card__price {
    font-size: 15px;
    font-weight: 700;
    color: var(--mrw-ink);
    min-height: 1.3em;        /* Preiszeile immer vorhanden → gleiche Höhe */
}
.mrw-card__tax { min-height: 1.25rem; }   /* Steuerzeile nur bei Einzelartikeln — Platz trotzdem reserviert */
.mrw-card__blurb {
    font-size: 12px;
    line-height: 1.45;
    color: var(--mrw-brown);
    margin: 0;
    min-height: 2.9em;        /* zwei Zeilen reserviert, auch wenn der Text kürzer ist */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mrw-card__actions {
    display: flex;
    gap: 8px;
    margin-top: auto;         /* CTA immer unten, unabhängig von der Textmenge */
    padding-top: 8px;
}
.mrw-card__actions form { flex: 1; }
.mrw-card__actions .mrw-btn-primary { width: 100%; }
/* „Auswählen" ist ein <a>, „In den Einkaufswagen" ein <button> — beide sollen
   die volle Aktionsbreite füllen und gleich hoch stehen. */
.mrw-card__actions a,
.mrw-card__actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.mrw-card__actions a { width: 100%; }
.mrw-btn-primary {
    background: var(--mrw-beige);
    color: #fff;
    border: 1px solid var(--mrw-beige);
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: 11px;
}
.mrw-btn-primary:hover { background: var(--mrw-beige-dark); border-color: var(--mrw-beige-dark); }

/* Mobile: zwei Kacheln pro Zeile bleiben möglich, Rahmen bleibt 4:5 */
@media (max-width: 640px) {
    .mrw-card__title { font-size: 13px; }
    .mrw-card__body { padding: 10px 12px 12px; }
}
/* ================================================================ Startseite
   Hero · Look-Videos · Produkt-Reihen. Alle Module teilen sich diese Bausteine. */
.mrw-hero {
    position: relative;
    min-height: 68vh;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: var(--mrw-ink);
}
.mrw-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}
.mrw-hero__veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(27,17,13,.25) 0%, rgba(27,17,13,.62) 70%, rgba(27,17,13,.78) 100%);
}
.mrw-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    padding: 64px 24px;
    text-align: center;
    color: #fff;
}
.mrw-hero__kicker {
    font-size: 11px;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--mrw-beige);
    margin: 0 0 14px;
}
.mrw-hero__title {
    font-size: clamp(28px, 5vw, 52px);
    line-height: 1.08;
    font-weight: 700;
    margin: 0 0 16px;
}
.mrw-hero__text {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255,255,255,.86);
    margin: 0 0 28px;
}
.mrw-hero__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.mrw-hero__cta {
    display: inline-block;
    padding: 13px 26px;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--mrw-radius);
}
.mrw-hero__cta--ghost {
    border: 1px solid rgba(255,255,255,.55);
    color: #fff;
}
.mrw-hero__cta--ghost:hover { background: rgba(255,255,255,.12); }

/* ---------------------------------------------------------------- Abschnitte */
.mrw-section { max-width: var(--mrw-max); margin: 0 auto; padding: 64px 16px 8px; }
.mrw-section__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 16px;
    margin-bottom: 24px;
}
.mrw-section__title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--mrw-ink);
    margin: 0;
}
.mrw-section__sub { font-size: 13px; color: var(--mrw-brown); margin: 0; flex: 1 1 320px; }
.mrw-section__more {
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--mrw-beige-dark);
    text-decoration: none;
    border-bottom: 1px solid var(--mrw-beige);
    padding-bottom: 3px;
}
.mrw-section__more:hover { color: var(--mrw-ink); }

/* -------------------------------------------------------------- Look-Videos */
.mrw-looks__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
}
.mrw-look {
    background: #fff;
    border: 1px solid var(--mrw-line);
    border-radius: var(--mrw-radius);
    overflow: hidden;
    transition: box-shadow .18s ease, border-color .18s ease;
}
.mrw-look:hover { box-shadow: var(--mrw-shadow); border-color: var(--mrw-beige); }
.mrw-look__stage {
    position: relative;
    aspect-ratio: 4 / 5;
    background: #111;
    overflow: hidden;
}
.mrw-look__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.mrw-look__play {
    position: absolute;
    inset: auto 10px 10px auto;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.92);
    color: var(--mrw-ink);
    font-size: 14px;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.mrw-look__play:hover { background: var(--mrw-beige); color: #fff; }
.mrw-look[data-playing="1"] .mrw-look__play { opacity: .35; }
.mrw-look__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(27,17,13,.72);
    color: var(--mrw-sand);
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 2px;
}
.mrw-look__body { padding: 12px 14px 14px; display: grid; gap: 4px; }
.mrw-look__name { font-size: 14px; font-weight: 600; margin: 0; color: var(--mrw-text); }
.mrw-look__price { font-size: 13px; color: var(--mrw-ink); font-weight: 700; }
.mrw-look__link {
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--mrw-beige-dark);
    text-decoration: none;
}
.mrw-look__link:hover { color: var(--mrw-ink); }

/* ------------------------------------------------------------ Produkt-Reihen */
/* Startseiten-Reihen: seitlich scrollbar und kompakter als das Katalog-Raster.
   Die Kachelbreite ist fest, damit die Reihe wischt statt umzubrechen; am Desktop
   passen 4 sichtbar, mobil 2. Kein Umbruch, kein Seiten-Überlauf (der Scroller
   bleibt im Container). */
.mrw-row__grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    padding-bottom: 6px;
    scrollbar-width: thin;
}
.mrw-row__grid > * {
    flex: 0 0 232px;
    scroll-snap-align: start;
}
@media (max-width: 767px) {
    .mrw-row__grid > * { flex: 0 0 168px; }
    .mrw-row__grid .mrw-card__blurb { display: none; }
    .mrw-row__grid { gap: 10px; }
}

/* --------------------------------------------------------------- CTA-Streifen */
.mrw-cta-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding-bottom: 48px;
}
.mrw-cta-strip__text { margin: 0; font-size: 15px; color: var(--mrw-brown); }
.mrw-cta-strip__btn { padding: 12px 24px; text-decoration: none; border-radius: var(--mrw-radius); }

@media (max-width: 640px) {
    .mrw-hero { min-height: 58vh; }
    .mrw-section { padding: 40px 12px 4px; }
    .mrw-section__title { font-size: 19px; }
    .mrw-looks__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .mrw-row__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* --------------------------------------------------------------- Mega-Menü
   Gruppe (REITER / PFERD) als <details>: Mobil antippen, Desktop zusätzlich Hover
   (Theme-JS). Zweispaltiges Panel, ruhige Typo — die Gruppen sind das Menü, nicht Deko. */
.mrw-mega { position: relative; }
.mrw-mega > details > summary {
    list-style: none;
    cursor: pointer;
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--mrw-text);
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.mrw-mega > details > summary::-webkit-details-marker { display: none; }
.mrw-mega > details > summary::after { content: "\25BE"; font-size: 9px; color: var(--mrw-beige-dark); }
.mrw-mega > details > summary:hover { color: var(--mrw-beige-dark); border-bottom-color: var(--mrw-beige); }
.mrw-mega > details[open] > summary { color: var(--mrw-beige-dark); border-bottom-color: var(--mrw-beige); }

.mrw-mega__panel {
    position: absolute;
    top: calc(100% + 2px);
    left: -18px;
    z-index: 40;
    min-width: 420px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--mrw-line);
    border-top: 2px solid var(--mrw-beige);
    box-shadow: 0 12px 28px rgba(27, 17, 13, .14);
}
.mrw-mega__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(160px, 1fr));
    gap: 8px 24px;
}
.mrw-mega__list a {
    font-size: 13px;
    letter-spacing: 0;
    text-transform: none;
    color: var(--mrw-text);
    text-decoration: none;
    padding: 2px 0;
    border: none;
}
.mrw-mega__list a:hover { color: var(--mrw-beige-dark); }
@media (max-width: 991px) {
    .mrw-mega__panel {
        position: static;
        min-width: 0;
        padding: 8px 0 10px 12px;
        border: none;
        border-left: 2px solid var(--mrw-beige);
        box-shadow: none;
    }
    .mrw-mega__list { grid-template-columns: 1fr; gap: 2px; }
}

/* ============================================================ Responsive-Härtung
   Standard: 480 / 768 / 992 / 1280 (Magento-kompatibel, deckt DaisyUI 640/768/1024).
   Grundsatz: mobil zuerst prüfen, Touch-Ziele ≥ 44 px, nichts über den Rand laufen lassen. */

/* Burger nur unter 992 px sichtbar */
.mrw-nav__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--mrw-line);
    border-radius: var(--mrw-radius);
    background: #fff;
    cursor: pointer;
}
.mrw-nav__burger span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 0 auto;
    background: var(--mrw-ink);
    transition: transform .2s ease, opacity .2s ease;
}
.mrw-nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mrw-nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mrw-nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 991px) {
    .mrw-nav__burger { display: flex; }
    /* Zwei Reihen statt drei: Logo + Icons oben, Burger/Menü darunter.
       Kein `width: 100%` für das Sprach-Dropdown — das hat den Kopf auf 172 px
       getrieben, weil die Icon-Zeile dann nicht mehr neben das Logo passte. */
    .mrw-nav { flex-wrap: wrap; gap: 8px 10px; padding: 10px 12px; }
    .mrw-nav__start { order: 1; }
    .mrw-nav__end { order: 2; gap: 8px; margin-left: auto; }
    .mrw-nav__center { order: 3; width: 100%; }
    .mrw-lang { width: auto; }
    .mrw-lang__select { width: auto; min-width: 92px; }
    .mrw-account { padding: 0 6px; font-size: 12px; }

    /* Menü wird zur ausklappbaren Fläche unter dem Kopf */
    .mrw-menu {
        display: none;
        order: 3;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin-top: 10px;
        padding: 6px 0 10px;
        border-top: 1px solid var(--mrw-line);
    }
    .mrw-menu[data-open="true"] { display: flex; }
    .mrw-menu > li { border-bottom: 1px solid var(--mrw-line); }
    .mrw-menu > li:last-child { border-bottom: none; }
    .mrw-menu a,
    .mrw-mega > details > summary {
        display: flex;
        align-items: center;
        min-height: 44px;           /* Touch-Ziel */
        padding: 10px 4px;
        font-size: 14px;
        white-space: normal;        /* kein Überlauf mehr */
    }
    .mrw-mega { position: static; }
    .mrw-mega__panel { padding: 0 0 10px 14px; }
}

/* Kleine Geräte: weniger Rand, größere Trefferflächen, Kacheltext kürzer */
@media (max-width: 480px) {
    .mrw-section { padding: 40px 12px 4px; }
    /* Ganz schmal: „Anmelden" wandert ins Menü, oben bleibt Platz für Logo + Icons */
    .mrw-nav__end > .mrw-account { display: none; }
    .mrw-menu__account { display: block; }
    .mrw-lang__select { min-width: 78px; font-size: 12px; }
    .mrw-hero__inner { padding: 40px 16px; }
    .mrw-hero__cta { display: block; width: 100%; margin: 8px 0 0; text-align: center; }
    .mrw-looks__grid { grid-template-columns: 1fr; }
    .mrw-row__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .mrw-card__blurb { display: none; }          /* Platz für Preis + CTA */
    .mrw-card__title { font-size: 13px; }
    /* Touch-Ziel gilt für Button UND Link („Auswählen" ist ein <a>). */
    .mrw-card__actions button,
    .mrw-card__actions a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .mrw-card__actions a { width: 100%; }
    .mrw-look__play { width: 44px; height: 44px; }
    .mrw-footer__grid { grid-template-columns: 1fr; }
}

/* Touch: Ziele vergrößern, Hover-Effekte entschärfen */
@media (hover: none) {
    .mrw-mega > details > summary { min-height: 44px; }
    .mrw-look__play { width: 44px; height: 44px; }
    .mrw-card__media:hover .mrw-card__img { transform: none; }
}

/* Bewegung nur, wenn erlaubt */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
/* -------------------------------------------------------------------- Galerie
   Produktdetail: Thumbnails als Spalte (Desktop) bzw. Scroll-Leiste (Mobil),
   Hauptbild in 4:5 mit reservierter Fläche (kein Springen beim Laden). */
.mrw-gallery {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    /* Als Grid-Item der Kern-Seite muss die Galerie die Spalte füllen, sonst
       schrumpft sie auf die intrinsische Bildbreite (beobachtet: 273 px von 556). */
    width: 100%;
    min-width: 0;
}
.mrw-gallery__thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 560px;
    overflow-y: auto;
    scrollbar-width: thin;
}
.mrw-gallery__thumb {
    flex: 0 0 auto;
    width: 72px;
    height: 90px;
    padding: 0;
    border: 1px solid var(--mrw-line);
    border-radius: var(--mrw-radius);
    background: #fff;
    overflow: hidden;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.mrw-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.mrw-gallery__thumb:hover { border-color: var(--mrw-beige-dark); }
.mrw-gallery__thumb.is-active {
    border-color: var(--mrw-beige-dark);
    box-shadow: 0 0 0 2px rgba(205, 163, 121, .35);
}
.mrw-gallery__stage { position: relative; min-width: 0; }
/* Nur ein Bild: keine Thumbnail-Spalte, Bild nimmt die volle Breite. */
.mrw-gallery--single { grid-template-columns: minmax(0, 1fr); }
.mrw-gallery__figure {
    position: relative;
    margin: 0;
    aspect-ratio: 4 / 5;
    background: #fff;
    border: 1px solid var(--mrw-line);
    border-radius: var(--mrw-radius);
    overflow: hidden;
}
.mrw-gallery__img {
    width: 100%;
    height: 100%;
    object-fit: contain;              /* nichts abschneiden — gilt auch für Helme */
    cursor: zoom-in;
    transition: transform .25s ease;
}
@media (hover: hover) {
    .mrw-gallery__figure:hover .mrw-gallery__img { transform: scale(1.04); }
}
.mrw-gallery__count {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 4px 9px;
    font-size: 11px;
    letter-spacing: .04em;
    color: var(--mrw-ink);
    background: rgba(255, 255, 255, .88);
    border-radius: 999px;
}
.mrw-gallery__zoom {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    font-size: 17px;
    color: var(--mrw-ink);
    background: rgba(255, 255, 255, .9);
    border: 1px solid var(--mrw-line);
    border-radius: 50%;
    cursor: pointer;
}

/* Großansicht */
.mrw-lightbox {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(27, 17, 13, .92);
}
.mrw-lightbox.is-open { display: flex; }
.mrw-lightbox__box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: min(1100px, 96vw);
}
.mrw-lightbox__img {
    max-height: 88vh;
    max-width: min(900px, 84vw);
    width: auto;
    object-fit: contain;
    border-radius: var(--mrw-radius);
    background: #fff;
}
.mrw-lightbox__nav {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    font-size: 26px;
    line-height: 1;
    color: var(--mrw-ink);
    background: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
}
.mrw-lightbox__close {
    position: absolute;
    right: -6px;
    top: -14px;
    width: 44px;
    height: 44px;
    font-size: 16px;
    color: var(--mrw-ink);
    background: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
}
.mrw-lightbox__count {
    position: absolute;
    left: 50%;
    bottom: -26px;
    transform: translateX(-50%);
    font-size: 12px;
    color: var(--mrw-sand);
}

/* Mobil: Thumbnails unter das Bild, waagerecht scrollbar */
@media (max-width: 767px) {
    .mrw-gallery { display: flex; flex-direction: column-reverse; gap: 10px; }
    .mrw-gallery__thumbs {
        flex-direction: row;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 4px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        /* Ohne diese zwei Zeilen sprengt der Streifen die Seite: als Flex-Item
           hat er `min-width: auto` und schrumpft nicht auf die Containerkante. */
        min-width: 0;
        max-width: 100%;
    }
    .mrw-gallery__thumb { width: 64px; height: 80px; scroll-snap-align: start; }
    .mrw-lightbox__nav { position: absolute; bottom: 12px; }
    .mrw-lightbox__nav--prev { left: 12px; }
    .mrw-lightbox__nav--next { right: 12px; }
}

/* Kern-Fragmente auf schmalen Geräten umbruchfähig machen.
   `variant_picker.liquid` nutzt DaisyUIs `.join` (starre Zeile) — bei 7 Farben × 7 Größen
   läuft das aus dem Bild. Breadcrumbs ebenso, wenn der letzte Krümel lang ist. */
@media (max-width: 767px) {
    .breadcrumbs > ul { flex-wrap: wrap; row-gap: 2px; }
    .breadcrumbs li { max-width: 100%; overflow-wrap: anywhere; }
    .join { flex-wrap: wrap; max-width: 100%; row-gap: 6px; }
    .join-item { border-radius: var(--mrw-radius) !important; }
    .join > .join-item:not(:first-child) { margin-left: 0 !important; }
}

/* Kern-Kollision: `core/assets/style.css` definiert `.grid` als Kartenraster
   (`repeat(auto-fill, minmax(220px, 1fr))`). Die Produktseite meint aber Tailwinds
   `grid grid-cols-1 md:grid-cols-2` — diese Utility-Klassen sind im ausgelieferten CSS
   nicht enthalten, deshalb gewinnt `.grid` und die Seite wird 4-spaltig (273 px statt
   556 px). Nur die Zwei-Spalten-Absicht korrigieren: Kollektionsseiten nutzen
   `md:grid-cols-3` und sollen ihr Kartenraster behalten. */
@media (min-width: 768px) {
    .grid[class*="md:grid-cols-2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ------------------------------------------------------- Kategoriekopfbild
   Bild aus dem ersten Produkt der Kategorie (Kern liefert kein Kategoriebild,
   siehe K10/K11). Höhe gedeckelt, Text liegt auf dunklem Verlauf — lesbar auch
   bei hellen Produktfotos. */
.mrw-cathead {
    position: relative;
    margin: 18px auto 8px;
    max-width: var(--mrw-max);
    min-height: 260px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: var(--mrw-radius);
    background: var(--mrw-ink);
}
.mrw-cathead--plain { background: var(--mrw-beige); }
.mrw-cathead__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
}
.mrw-cathead__veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(27,17,13,.25) 0%, rgba(27,17,13,.62) 100%);
}
.mrw-cathead--plain .mrw-cathead__veil { background: none; }
.mrw-cathead__inner {
    position: relative;
    z-index: 1;
    padding: 42px 24px;
    text-align: center;
    color: #fff;
}
.mrw-cathead--plain .mrw-cathead__inner { color: var(--mrw-ink); }
.mrw-cathead__title {
    margin: 0;
    font-size: clamp(24px, 4.4vw, 42px);
    line-height: 1.1;
}
.mrw-cathead__text {
    margin: 10px auto 0;
    max-width: 46ch;
    font-size: 15px;
    color: rgba(255,255,255,.86);
}
.mrw-cathead--plain .mrw-cathead__text { color: var(--mrw-brown); }

/* Filter-/Ansichtsleiste: bricht auf schmalen Geräten um statt auszulaufen */
.mrw-catbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
}
.mrw-catbar__filter { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

@media (max-width: 480px) {
    .mrw-cathead { min-height: 200px; }
    .mrw-cathead__inner { padding: 30px 16px; }
}

/* Sprachumschaltung als Dropdown: native <select>, damit Tastatur, Screenreader
   und Mobilgeräte das Rad nicht neu erfinden. Der Pfeil-Button bleibt als
   Absenden ohne JavaScript sichtbar. */
.mrw-lang { display: flex; align-items: center; gap: 4px; }
.mrw-lang__label {
    position: absolute;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}
.mrw-lang__select {
    appearance: none;
    -webkit-appearance: none;
    height: 36px;
    padding: 0 26px 0 10px;
    font-size: 13px;
    color: var(--mrw-text);
    background:
        linear-gradient(45deg, transparent 50%, var(--mrw-brown) 50%) right 12px top 15px / 5px 5px no-repeat,
        linear-gradient(135deg, var(--mrw-brown) 50%, transparent 50%) right 7px top 15px / 5px 5px no-repeat,
        #fff;
    border: 1px solid var(--mrw-line);
    border-radius: var(--mrw-radius);
    cursor: pointer;
}
.mrw-lang__select:focus-visible { outline: 2px solid var(--mrw-beige-dark); outline-offset: 2px; }
.mrw-lang__go {
    height: 36px;
    width: 28px;
    font-size: 14px;
    color: var(--mrw-brown);
    background: #fff;
    border: 1px solid var(--mrw-line);
    border-radius: var(--mrw-radius);
    cursor: pointer;
}
/* Mit JavaScript übernimmt das Absenden der Wechsel selbst */
.mrw-lang.is-live .mrw-lang__go { display: none; }

@media (max-width: 991px) {
    .mrw-lang__select, .mrw-lang__go { height: 44px; }   /* Touch-Ziel */
}

/* --------------------------------------------------- Ansichtsumschaltung
   Nur zwei Ansichten (Raster / Liste) — „Kompakt" ist entfallen.
   Ruhige Schaltfläche statt DaisyUI-Join, damit sie zum Marken-Look passt. */
.mrw-viewswitch {
    display: inline-flex;
    border: 1px solid var(--mrw-line);
    border-radius: var(--mrw-radius);
    overflow: hidden;
}
.mrw-viewswitch__btn {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    font-size: 13px;
    letter-spacing: .04em;
    color: var(--mrw-text);
    background: #fff;
    text-decoration: none;
    border-right: 1px solid var(--mrw-line);
}
.mrw-viewswitch__btn:last-child { border-right: none; }
.mrw-viewswitch__btn:hover { background: var(--mrw-sand); }
.mrw-viewswitch__btn.is-active {
    background: var(--mrw-beige);
    color: var(--mrw-ink);
    font-weight: 600;
}

/* ------------------------------------------------------------------- Liste
   Feste Bildrahmen 4:5 mit `contain` — jede Zeile gleich hoch, nichts beschnitten.
   Der Kern hatte nur eine Breite gesetzt (`w-40`) und `object-cover` benutzt. */
.mrw-listgrid { display: flex; flex-direction: column; gap: 16px; }
.mrw-listitem {
    display: grid;
    grid-template-columns: 152px minmax(0, 1fr);
    gap: 18px;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--mrw-line);
    border-radius: var(--mrw-radius);
    align-items: start;
}
.mrw-listitem__media {
    display: block;
    width: 152px;
    aspect-ratio: 4 / 5;
    background: #fff;
    border: 1px solid var(--mrw-line);
    border-radius: var(--mrw-radius);
    overflow: hidden;
}
.mrw-listitem__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.mrw-listitem__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mrw-listitem__title { margin: 0; font-size: 17px; line-height: 1.25; }
.mrw-listitem__title a { color: var(--mrw-ink); text-decoration: none; }
.mrw-listitem__title a:hover { color: var(--mrw-beige-dark); }
.mrw-listitem__price {
    font-size: 15px;
    font-weight: 700;
    color: var(--mrw-beige-dark);
    min-height: 1.3em;
}
.mrw-listitem__blurb {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--mrw-brown);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mrw-listitem__form { margin-top: 4px; }
.mrw-listitem__cta {
    min-height: 44px;
    padding: 0 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    color: #fff;
    background: var(--mrw-ink);
    border: none;
    border-radius: var(--mrw-radius);
    cursor: pointer;
}
.mrw-listitem__cta:hover { background: var(--mrw-brown); }

@media (max-width: 767px) {
    .mrw-listitem { grid-template-columns: 108px minmax(0, 1fr); gap: 12px; padding: 10px; }
    .mrw-listitem__media { width: 108px; }
    .mrw-viewswitch__btn { padding: 0 12px; }
}

/* Kachel ohne Produktbild: ruhige Fläche statt kaputtem Bild */
.mrw-card__noimg {
    display: block;
    width: 100%;
    height: 100%;
    background:
        repeating-linear-gradient(45deg, transparent 0 8px, rgba(0,0,0,.03) 8px 16px),
        var(--mrw-sand);
}

/* ------------------------------------------------------------------ Fußbereich */
.mrw-footer {
    background: var(--mrw-ink);
    color: var(--mrw-sand);
    margin-top: 64px;
    padding: 40px 0 20px;
}
.mrw-footer__inner {
    max-width: var(--mrw-max);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
}
.mrw-footer__title {
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--mrw-beige);
    margin: 0 0 12px;
}
.mrw-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mrw-footer__list a {
    color: var(--mrw-sand);
    font-size: 13px;
    text-decoration: none;
    opacity: .82;
}
.mrw-footer__list a:hover { opacity: 1; color: #fff; }
.mrw-footer__bottom {
    max-width: var(--mrw-max);
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid rgba(232, 221, 208, .18);
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    justify-content: space-between;
    font-size: 12px;
    opacity: .72;
}

/* ------------------------------------------------------------ Variantenauswahl
   Text-Chips statt Dropdown: alle Optionen sichtbar, ein Tipp, funktioniert ohne JS.
   Touch-Maß 44 px (Kern-Chips waren 24 px hoch). Farbzeile scrollt seitlich,
   Größen brechen im Raster um. */
.mrw-picker { display: flex; flex-direction: column; gap: 16px; margin-bottom: 20px; }
.mrw-picker__label {
    font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
    color: var(--mrw-muted); margin: 0 0 8px;
}
.mrw-picker__options { display: flex; flex-wrap: wrap; gap: 8px; }
.mrw-picker__options--scroll {
    flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity;
    padding-bottom: 4px; scrollbar-width: thin;
}
.mrw-chip {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 44px; padding: 0 14px; border: 1px solid var(--mrw-line);
    border-radius: 999px; background: #fff; color: var(--mrw-ink);
    font-size: 14px; text-decoration: none; white-space: nowrap; scroll-snap-align: start;
}
.mrw-chip--on { border-color: var(--mrw-beige); background: var(--mrw-beige); color: #fff; font-weight: 600; }
@media (max-width: 767px) {
    .mrw-picker__options:not(.mrw-picker__options--scroll) > .mrw-chip { flex: 0 0 calc(25% - 6px); }
}

/* ---------------------------------------------------------- Produktseite
   Kaufen steht direkt unter der Auswahl; mobil zusätzlich eine klebende Leiste. */
.mrw-pdp__title { font-size: 28px; line-height: 1.2; font-weight: 700; margin: 0 0 8px; }
.mrw-pdp__price { font-size: 22px; font-weight: 700; color: var(--mrw-ink); margin-bottom: 6px; }
.mrw-pdp__buy { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.mrw-pdp__desc { font-size: 15px; line-height: 1.65; color: var(--mrw-muted); }

.mrw-buybar { display: none; }
@media (max-width: 767px) {
    .mrw-buybar {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
        display: flex; align-items: center; justify-content: space-between; gap: 12px;
        padding: 10px 14px; background: #fff; border-top: 1px solid var(--mrw-line);
        box-shadow: 0 -4px 16px rgba(0,0,0,.06);
    }
    .mrw-buybar__price { font-weight: 700; font-size: 16px; }
    .mrw-buybar__btn {
        min-height: 44px; padding: 0 18px; border: 0; border-radius: var(--mrw-radius);
        background: var(--mrw-beige); color: #fff; font-weight: 600; font-size: 15px;
    }
    /* Cookie-Leiste liegt ebenfalls unten — Kaufleiste darüber halten */
    body.mrw-has-consent .mrw-buybar { bottom: 68px; }
    body.mrw-buybar-aktiv { padding-bottom: 76px; }
}

/* ------------------------------------------------------------- Cookie-Leiste
   Kern-Banner ist mobil 168 px hoch; hier eine Zeile (≈64 px). */
.mrw-consent {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px;
    padding: 10px 16px; background: var(--mrw-ink); color: #fff;
}
.mrw-consent__text { margin: 0; font-size: 13px; line-height: 1.4; flex: 1 1 240px; }
.mrw-consent__more { color: #fff; text-decoration: underline; }
.mrw-consent__actions { display: flex; gap: 8px; flex: 0 0 auto; }
.mrw-consent__btn {
    min-height: 40px; padding: 0 14px; border-radius: var(--mrw-radius);
    border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff;
    font-size: 13px; font-weight: 600; cursor: pointer;
}
.mrw-consent__btn--primary { background: var(--mrw-beige); border-color: var(--mrw-beige); }

/* Wartezustand der Kaufleiste: sagt, was fehlt, statt stumm zu blockieren. */
.mrw-buybar__hint { font-size: 13px; font-weight: 600; color: var(--mrw-muted); }
.mrw-buybar__btn--still {
    display: inline-flex; align-items: center; justify-content: center;
    background: #fff; color: var(--mrw-ink); border: 1px solid var(--mrw-line); text-decoration: none;
}
@media (max-width: 767px) {
    /* Cookie-Leiste kompakt halten: kurze Zeile, Buttons in einer Reihe. */
    .mrw-consent { padding: 8px 12px; gap: 6px 10px; }
    .mrw-consent__text { font-size: 12px; flex: 1 1 100%; }
    .mrw-consent__actions { flex: 1 1 100%; justify-content: flex-end; }
    .mrw-consent__btn { min-height: 40px; padding: 0 12px; font-size: 12px; }
    body.mrw-has-consent .mrw-buybar { bottom: 104px; }
}

/* ---------- Checkout im DREAME-Aufbau (Umbau 28.10.) ----------
   Vorlage: /Volumes/engcodinx/dreame-checkout-liquid (dreame.de, gemessen):
   zwei Spalten (Formular | dunkle Zusammenfassung), 49-px-Felder mit schwebendem Label,
   Zweier-Zeilen für Adressfelder, Gold-Akzent.
   Tokens stehen nur hier — Akzent oder Summenfläche tauschen = Neufärbung. */
.dzc {
    --dzc-accent: #976f38;
    --dzc-summary-bg: #231f20;
    --dzc-ink: #231f20;
    --dzc-muted: #707070;
    --dzc-hairline: #dfdfdf;
    --dzc-field-h: 49px;
    --dzc-radius: 12px;
    --dzc-summary-width: 480px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--dzc-summary-width);
    /* im Shop-Container, nicht über die ganze Fensterbreite */
    max-width: var(--mrw-max);
    margin: 22px auto 56px;
    border: 1px solid #e7dcc6;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    color: var(--dzc-ink);
    font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.45;
}
.dzc *, .dzc *::before, .dzc *::after { box-sizing: border-box; }
.dzc a { color: inherit; text-decoration: none; }
.dzc p { margin: 0; }
.dzc ul { margin: 0; padding: 0; list-style: none; }
.dzc fieldset { margin: 0; padding: 0; border: 0; }
.dzc-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------- Formularspalte ---------------- */
.dzc__main { padding: 2rem 2.5rem 3rem; }
.dzc__main-inner { width: 100%; max-width: 560px; margin-left: auto; }
.dzc-back { margin: 0 0 1.2rem; font-size: .84rem; }
.dzc-back a { color: var(--dzc-muted); }
.dzc-back a:hover { color: var(--dzc-ink); }

/* ---------------- Express ---------------- */
.dzc-express { margin-bottom: 1rem; }
.dzc-express__title { font-size: .78rem; font-weight: 500; color: var(--dzc-muted); margin: 0 0 .5rem; }
.dzc-express__buttons { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.dzc-express__btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 44px; border: 0; border-radius: var(--dzc-radius); cursor: pointer;
    font-size: .9rem; font-weight: 600; }
.dzc-express__btn--paypal { background: #ffc439; color: #142c8e; }
.dzc-express__btn[disabled] { opacity: .45; cursor: not-allowed; }
.dzc-paypal-word i { font-style: italic; font-weight: 800; }
.dzc-devnote { margin-top: .5rem; font-size: .74rem; color: #a4550f; background: #fff6e8;
    border: 1px solid #f3d9b0; border-radius: 8px; padding: .45rem .6rem; }
.dzc-separator { display: flex; align-items: center; gap: .8rem; margin: 1.4rem 0 1.2rem;
    color: var(--dzc-muted); font-size: .78rem; }
.dzc-separator::before, .dzc-separator::after { content: ""; flex: 1; height: 1px; background: var(--dzc-hairline); }

/* ---------------- Abschnitte ---------------- */
.dzc-section { padding: 1.2rem 0; border-top: 1px solid var(--dzc-hairline); }
.dzc-section:first-of-type { border-top: 0; padding-top: 0; }
.dzc-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.dzc-section__title { font-size: 1.02rem; font-weight: 600; margin: 0 0 .9rem; }
.dzc-link { font-size: .8rem; color: var(--dzc-muted); border-bottom: 1px solid var(--dzc-hairline); }

/* ---------------- Felder mit schwebendem Label ---------------- */
.dzc-field { position: relative; margin-bottom: .7rem; }
.dzc-field__input {
    width: 100%; height: var(--dzc-field-h); padding: 1.15rem .85rem .35rem;
    border: 1px solid var(--dzc-hairline); border-radius: var(--dzc-radius);
    background: #fff; color: var(--dzc-ink); font-size: .95rem; font-family: inherit;
    appearance: none; transition: border-color .12s ease, box-shadow .12s ease;
}
.dzc-field__input:focus { outline: none; border-color: var(--dzc-accent);
    box-shadow: 0 0 0 3px rgba(151, 111, 56, .14); }
.dzc-field__label {
    position: absolute; left: .85rem; top: 50%; transform: translateY(-50%);
    color: var(--dzc-muted); font-size: .95rem; pointer-events: none;
    transition: all .12s ease; background: #fff; padding: 0 2px;
}
.dzc-field__input:focus + .dzc-field__label,
.dzc-field__input:not(:placeholder-shown) + .dzc-field__label {
    top: .62rem; transform: none; font-size: .7rem; letter-spacing: .02em; color: var(--dzc-muted);
}
.dzc-field--select .dzc-field__input { padding-top: 1.15rem; cursor: pointer; }
.dzc-field--select .dzc-field__label { top: .62rem; transform: none; font-size: .7rem; }
.dzc-field__chevron { position: absolute; right: .85rem; top: calc(50% - 4px); color: var(--dzc-muted); pointer-events: none; }
.dzc-field--pw { margin-top: .5rem; }
.dzc-row { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.dzc-hint { font-size: .76rem; color: var(--dzc-muted); margin: -.2rem 0 .8rem; }
.dzc-hint--warn { color: #a4550f; background: #fff6e8; border: 1px solid #f3d9b0;
    border-radius: 8px; padding: .5rem .6rem; }

/* ---------------- Checkboxen ---------------- */
.dzc-check { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: .55rem;
    align-items: start; margin: .35rem 0 .9rem; cursor: pointer; font-size: .86rem; }
.dzc-check__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dzc-check__box { width: 20px; height: 20px; border: 1px solid #b9b3ab; border-radius: 5px;
    display: inline-flex; align-items: center; justify-content: center; color: #fff;
    background: #fff; transition: background .12s ease, border-color .12s ease; margin-top: 1px; }
.dzc-check__input:checked + .dzc-check__box { background: var(--dzc-accent); border-color: var(--dzc-accent); }
.dzc-check__input:focus-visible + .dzc-check__box { box-shadow: 0 0 0 3px rgba(151, 111, 56, .2); }
.dzc-check__text { line-height: 1.35; }

/* ---------------- Lieferadresse: erst bei Häkchen ---------------- */
.dzc-shipfields { display: none; margin-top: .4rem; }
.dzc-shipfields.is-open { display: block; }

/* ---------------- Kachel-Auswahl (Zonen) ---------------- */
.dzc-tiles { display: grid; gap: .5rem; margin-bottom: .8rem; }
.dzc-tile { position: relative; display: block; cursor: pointer; }
.dzc-tile__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dzc-tile__body { display: flex; align-items: center; min-height: 44px; padding: .55rem .85rem;
    border: 1px solid var(--dzc-hairline); border-radius: var(--dzc-radius); font-size: .9rem; }
.dzc-tile__input:checked + .dzc-tile__body { border-color: var(--dzc-accent);
    box-shadow: inset 0 0 0 1px var(--dzc-accent); }
.dzc-tile__input:focus-visible + .dzc-tile__body { box-shadow: 0 0 0 3px rgba(151, 111, 56, .18); }

/* ---------------- Bestellen ---------------- */
.dzc-submit { margin-top: 1.4rem; }
.dzc-submit__btn { width: 100%; min-height: 52px; border: 0; border-radius: var(--dzc-radius);
    background: var(--dzc-accent); color: #fff; font-size: 1rem; font-weight: 600; cursor: pointer;
    font-family: inherit; }
.dzc-submit__btn:hover:not([disabled]) { filter: brightness(.95); }
.dzc-submit__btn[disabled] { background: #b9b3ab; cursor: not-allowed; }
.dzc-legal { margin-top: .7rem; font-size: .76rem; color: var(--dzc-muted); line-height: 1.45; }
.dzc-legal a { border-bottom: 1px solid var(--dzc-hairline); }

/* ---------------- Zusammenfassung (dunkel) ---------------- */
.dzc__summary { background: var(--dzc-summary-bg); color: #fff; padding: 2rem 2.5rem; }
.dzc__summary-inner { max-width: 420px; }
.dzc-summary__title { font-size: 1rem; font-weight: 600; margin: 0 0 1.1rem; }
.dzc-summary__notice { font-size: .8rem; color: #ffd8a8; background: rgba(255, 216, 168, .12);
    border: 1px solid rgba(255, 216, 168, .35); border-radius: 8px; padding: .5rem .6rem; margin-bottom: .9rem; }
.dzc-summary__items { display: grid; gap: .85rem; margin-bottom: 1.1rem; }
.dzc-summary__item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: .75rem; align-items: center; }
.dzc-summary__media { position: relative; width: 56px; height: 70px; background: rgba(255,255,255,.08);
    border-radius: 8px; display: block; }
.dzc-summary__media img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; background: #fff; }
.dzc-summary__qty { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px;
    border-radius: 999px; background: rgba(255,255,255,.22); color: #fff; font-size: .7rem;
    display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; }
.dzc-summary__name { font-size: .85rem; line-height: 1.3; }
.dzc-summary__price { font-size: .85rem; font-variant-numeric: tabular-nums; white-space: nowrap; }

.dzc-summary__promo { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .5rem;
    align-items: center; margin: .3rem 0 .9rem; }
.dzc-summary__promo-label { font-size: .76rem; color: rgba(255,255,255,.7); }
.dzc-summary__promo-input { height: 40px; padding: 0 .7rem; border-radius: 8px;
    border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.06);
    color: #fff; font-size: .85rem; font-family: inherit; }
.dzc-summary__promo-input::placeholder { color: rgba(255,255,255,.5); }

.dzc-summary__rows { display: grid; gap: .3rem; margin: 0 0 .8rem; font-size: .85rem; }
.dzc-summary__rows > div { display: flex; justify-content: space-between; gap: 1rem; }
.dzc-summary__rows dt { color: rgba(255,255,255,.7); font-weight: 400; }
.dzc-summary__rows dd { margin: 0; font-variant-numeric: tabular-nums; }
.dzc-summary__row--discount dd { color: #b6e3a8; }
.dzc-summary__row--tax { font-size: .78rem; }
.dzc-summary__total { display: flex; justify-content: space-between; align-items: baseline;
    gap: 1rem; padding-top: .7rem; border-top: 1px solid rgba(255,255,255,.18); font-size: 1.05rem; }
.dzc-summary__total strong { font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.dzc-summary__vat { font-size: .72rem; color: rgba(255,255,255,.6); margin-top: .35rem; }

/* ---------------- Responsive: eine Spalte unter 1000 px ---------------- */
@media (max-width: 999px) {
    .dzc { grid-template-columns: 1fr; max-width: var(--mrw-max); margin: 12px 12px 40px; }
    .dzc__main { padding: 1.2rem 1.1rem 2rem; }
    .dzc__main-inner { max-width: none; margin-left: 0; }
    .dzc__summary { padding: 1.4rem 1.1rem; order: -1; }
    .dzc__summary-inner { max-width: none; }
}
@media (max-width: 479px) {
    .dzc-row { grid-template-columns: 1fr; gap: 0; }
    .dzc-express__buttons { grid-template-columns: 1fr 1fr; }
}

/* ---------- Warenkorb (Seite) ---------- */
.mrw-cartpage { max-width: 860px; margin: 0 auto; padding: 24px 16px 64px; }
.mrw-cartpage__h1 { font-size: 1.75rem; font-weight: 700; margin: 0 0 18px; }
.mrw-cartpage__grid { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: start; }
.mrw-cartline { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid #ece3d6; }
.mrw-cartline__body, .mrw-cartline__end { min-width: 0; }
.mrw-cartline__media { display: block; aspect-ratio: 4/5; overflow: hidden; border-radius: 8px; background: #f6efe4; }
.mrw-cartline__media img { width: 100%; height: 100%; object-fit: contain; }
.mrw-cartline__noimg { display: flex; align-items: center; justify-content: center; height: 100%; font-size: .7rem; color: #8a7a68; text-align: center; padding: 4px; }
.mrw-cartline__title { display: block; font-weight: 600; color: #221c16; text-decoration: none; }
.mrw-cartline__unit { display: block; color: #6b5f52; font-size: .9rem; margin-top: 2px; }
.mrw-cartline__qty { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.mrw-cartline__input { width: 64px; min-height: 44px; padding: 6px 8px; border: 1px solid #cdbfae; border-radius: 6px; background: #fffdf9; }
.mrw-cartline__end { grid-column: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.mrw-cartline__sum { font-weight: 700; }
.mrw-cartline__del { background: none; border: 0; color: #8a3a2a; font-size: .88rem; text-decoration: underline; cursor: pointer; padding: 8px 0; min-height: 44px; }
.mrw-cartpage__update { margin-top: 12px; }
.mrw-cartpage__updatebtn { min-height: 44px; padding: 0 16px; border: 1px solid #cdbfae; border-radius: 6px; background: #fffdf9; color: #221c16; cursor: pointer; }
.mrw-cartpage__summary { background: #fff; border: 1px solid #e6ded1; border-radius: 10px; padding: 16px; }
.mrw-cartpage__h2 { font-size: 1.05rem; font-weight: 700; margin: 0 0 10px; }
.mrw-cartpage__row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; }
.mrw-cartpage__row dt { font-weight: 500; color: #3a3129; }
.mrw-cartpage__row dd { margin: 0; font-weight: 600; white-space: nowrap; }
.mrw-cartpage__row--muted dt, .mrw-cartpage__row--muted dd { color: #7d6f5e; text-decoration: line-through; }
.mrw-cartpage__row--discount dt, .mrw-cartpage__row--discount dd { color: #2f7d32; }
.mrw-cartpage__row--total { border-top: 1px solid #ece3d6; margin-top: 6px; padding-top: 10px; font-size: 1.1rem; }
.mrw-cartpage__row--tax dt, .mrw-cartpage__row--tax dd { color: #7d6f5e; font-size: .82rem; font-weight: 400; }
.mrw-cartpage__hint { color: #6b5f52; font-size: .82rem; margin: 10px 0 0; }
.mrw-cartpage__promo { display: flex; gap: 8px; margin: 14px 0; }
.mrw-cartpage__code { flex: 1; min-height: 44px; padding: 8px 10px; border: 1px solid #cdbfae; border-radius: 6px; background: #fffdf9; }
.mrw-cartpage__apply { min-height: 44px; padding: 0 14px; border: 1px solid #221c16; border-radius: 6px; background: #fffdf9; cursor: pointer; }
.mrw-cartpage__cta { display: block; text-align: center; line-height: 48px; min-height: 48px; text-decoration: none; border-radius: 6px; }
.mrw-cartpage__continue { display: block; text-align: center; margin-top: 10px; min-height: 44px; line-height: 44px; color: #221c16; text-decoration: underline; }
.mrw-cartpage--empty { max-width: 640px; margin: 0 auto; padding: 72px 20px 96px; text-align: center;
    display: flex; flex-direction: column; align-items: center; }
.mrw-cartpage--empty .mrw-cartpage__h1 { margin: 0 0 10px; }
.mrw-cartpage--empty .mrw-btn-primary { display: inline-block; min-height: 48px; line-height: 48px;
    padding: 0 26px; border-radius: 6px; text-decoration: none; }
.mrw-cartpage__emptytext { color: #6b5f52; margin: 0 0 18px; }

/* ---------- Fehlerbanner ---------- */
.mrw-alert { display: flex; align-items: flex-start; gap: 10px; background: #fdecea; border: 1px solid #e5b4ad; border-left: 3px solid #b3261e; border-radius: 6px; padding: 12px 14px; margin: 0 auto 16px; max-width: 1180px; color: #7b1d16; }
.mrw-alert__mark { font-weight: 700; }
.mrw-alert__text { font-size: .95rem; }

/* ---------- 404 ---------- */
.mrw-404 { max-width: 560px; margin: 0 auto; padding: 64px 20px; text-align: center; }
.mrw-404__code { font-size: 3rem; font-weight: 800; color: #d8cbb8; margin: 0; letter-spacing: .04em; }
.mrw-404__h1 { font-size: 1.6rem; font-weight: 700; margin: 6px 0 10px; }
.mrw-404__path { color: #6b5f52; margin: 0 0 22px; }
.mrw-404__actions { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.mrw-404__ghost { min-height: 44px; line-height: 44px; padding: 0 16px; color: #221c16; text-decoration: underline; }

@media (min-width: 768px) {
    .mrw-cartline { grid-template-columns: 96px 1fr 160px; align-items: center; }
    .mrw-cartline__end { grid-column: 3; flex-direction: column; align-items: flex-end; gap: 6px; margin: 0; }
}


.mrw-cartline__title { overflow-wrap: anywhere; }
.mrw-cartpage__promo { flex-wrap: wrap; }

/* Checkout: Positionen mit Bild */
.mrw-co__items { list-style: none; margin: 0 0 12px; padding: 0; }
.mrw-co__item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid #f0eae0; }
.mrw-co__item:last-child { border-bottom: 0; }
.mrw-co__itemmedia { display: block; width: 56px; height: 70px; border-radius: 6px; overflow: hidden; background: #f6efe4; }
.mrw-co__itemmedia img { width: 100%; height: 100%; object-fit: contain; }
.mrw-co__itemnoimg { display: flex; align-items: center; justify-content: center; height: 100%; font-size: .62rem; color: #8a7a68; text-align: center; }
.mrw-co__itembody { min-width: 0; }
.mrw-co__itemtitle { display: block; font-size: .92rem; font-weight: 600; overflow-wrap: anywhere; }
.mrw-co__itemqty { display: block; font-size: .8rem; color: #6b5f52; }
.mrw-co__itemsum { font-weight: 700; font-size: .92rem; white-space: nowrap; }
.mrw-co__totals { margin: 0; }
.mrw-co__row { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; }
.mrw-co__row dt { color: #3a3129; }
.mrw-co__row dd { margin: 0; font-weight: 600; white-space: nowrap; }
.mrw-co__discount dt, .mrw-co__discount dd { color: #2f7d32; }
.mrw-co__total dt, .mrw-co__total dd { border-top: 1px solid #ece3d6; padding-top: 8px; margin-top: 4px; font-size: 1.05rem; font-weight: 700; }
.mrw-co__muted dt, .mrw-co__muted dd { color: #7d6f5e; font-size: .82rem; font-weight: 400; }

.mrw-co__itemmedia--empty { display: block; width: 56px; height: 70px; border-radius: 6px; background: #f6efe4; border: 1px dashed #e0d3bf; }

@media (max-width: 480px) { .mrw-menu a.mrw-menu__account { display: inline-flex; } }

/* ---------- Suche ---------- */
.mrw-search { max-width: 1180px; margin: 0 auto; padding: 28px 16px 64px; }
.mrw-search__h1 { font-size: 1.75rem; font-weight: 700; text-align: center; margin: 0 0 18px; }
.mrw-search__form { display: flex; gap: 8px; max-width: 520px; margin: 0 auto 18px; }
.mrw-search__input { flex: 1; min-height: 48px; padding: 10px 14px; font-size: 1rem; border: 1px solid #cdbfae; border-radius: 6px; background: #fffdf9; }
.mrw-search__btn { min-height: 48px; padding: 0 20px; border: 0; border-radius: 6px; cursor: pointer; }
.mrw-search__meta { text-align: center; color: #6b5f52; margin: 0 0 18px; }
.mrw-search__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.mrw-search__empty { text-align: center; color: #6b5f52; padding: 24px 0; }
.mrw-search__empty .mrw-btn-primary { display: inline-block; margin-top: 12px; min-height: 44px; line-height: 44px; padding: 0 20px; text-decoration: none; border-radius: 6px; }

/* ---------- Kategorie-Übersicht ---------- */
.mrw-collindex { max-width: 1180px; margin: 0 auto; padding: 28px 16px 64px; }
.mrw-collindex__h1 { font-size: 1.75rem; font-weight: 700; margin: 0 0 18px; }
.mrw-collindex__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 10px; }
.mrw-collindex__item a { display: block; padding: 16px 18px; min-height: 44px; background: #fff; border: 1px solid #e6ded1; border-radius: 10px; text-decoration: none; color: #221c16; }
.mrw-collindex__name { display: block; font-weight: 700; font-size: 1.02rem; }
.mrw-collindex__desc { display: block; color: #6b5f52; font-size: .88rem; margin-top: 3px; }

/* ---------- Prosa (Rechtstexte/Seiten) — bereit für page.body_html (B27) ---------- */
.mrw-prose { max-width: 760px; margin: 0 auto; padding: 28px 16px 64px; color: #2b241d; line-height: 1.65; }
.mrw-prose h1 { font-size: 1.75rem; margin: 0 0 18px; }
.mrw-prose h2 { font-size: 1.2rem; margin: 26px 0 8px; }
.mrw-prose h3 { font-size: 1.02rem; margin: 18px 0 6px; }
.mrw-prose p, .mrw-prose li { font-size: .97rem; }
.mrw-prose ul, .mrw-prose ol { padding-left: 20px; }
.mrw-prose a { color: #7a5c2e; }

@media (min-width: 768px) {
    .mrw-search__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
    .mrw-collindex__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}
@media (min-width: 1200px) {
    .mrw-search__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Warenkorb: Express-Kauf (vorbereitet, bis Kern `kind = express` liefert) */
.mrw-cartpage__express { margin: 16px 0; padding: 14px; border: 1px dashed #d8cbb8; border-radius: 10px; background: #fdf8f1; }
.mrw-cartpage__expresslabel { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #8a7a68; margin-bottom: 8px; }
.mrw-cartpage__terms { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: #3a3129; min-height: 44px; }
.mrw-cartpage__terms input { width: 20px; height: 20px; margin-top: 2px; flex: 0 0 auto; }
.mrw-cartpage__terms a { color: #7a5c2e; }
.mrw-cartpage__paypal { width: 100%; min-height: 48px; margin-top: 10px; border: 0; border-radius: 6px; background: #ffc439; color: #142c8e; font-weight: 700; cursor: pointer; }
.mrw-cartpage__paypal:disabled { opacity: .5; cursor: not-allowed; }
.mrw-cartpage__expresshint { margin: 8px 0 0; font-size: .8rem; color: #6b5f52; }
.mrw-cartpage__devnote { color: #b4550f; font-size: .78rem; }

/* Kasse: Express-Kauf (sichtbar im Entwicklungsstand, noch ohne Anbindung) */
.mrw-co__express { margin: 16px 0 4px; padding: 14px; border: 1px dashed #d8cbb8; border-radius: 10px; background: #fdf8f1; }
.mrw-co__expresslabel { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #8a7a68; margin-bottom: 8px; }
.mrw-co__terms { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: #3a3129; min-height: 44px; }
.mrw-co__terms input { width: 20px; height: 20px; margin-top: 2px; flex: 0 0 auto; }
.mrw-co__terms a { color: #7a5c2e; }
.mrw-co__paypal { width: 100%; min-height: 48px; margin-top: 10px; border: 0; border-radius: 6px; background: #ffc439; color: #142c8e; font-weight: 700; cursor: not-allowed; opacity: .75; }
.mrw-co__expresshint { margin: 8px 0 0; font-size: .8rem; color: #6b5f52; }
.mrw-co__devnote { color: #b4550f; font-size: .78rem; }

/* ---------- Gemeinsame Seiten-Bausteine (Konto, Kontakt, Status, Tabellen) ---------- */
.mrw-page { max-width: 720px; margin: 0 auto; padding: 32px 16px 72px; }
.mrw-page--wide { max-width: 900px; }
.mrw-page__h1 { font-size: 1.75rem; font-weight: 700; margin: 0 0 10px; }
.mrw-page__h2 { font-size: 1.15rem; font-weight: 700; margin: 26px 0 10px; }
.mrw-page__lead { color: #6b5f52; margin: 0 0 20px; line-height: 1.6; }
.mrw-page__note { color: #6b5f52; font-size: .84rem; margin: 14px 0 0; }
.mrw-page__note a { color: #7a5c2e; }
.mrw-card { background: #fff; border: 1px solid #e6ded1; border-radius: 10px; padding: 18px; }
.mrw-form { display: block; margin-top: 14px; }
.mrw-field { display: block; margin-bottom: 14px; }
.mrw-field > span { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 4px; color: #3a3129; }
.mrw-field input, .mrw-field textarea, .mrw-field__num {
    width: 100%; min-height: 44px; padding: 10px 12px; font-size: 1rem; font-family: inherit;
    border: 1px solid #cdbfae; border-radius: 6px; background: #fffdf9; color: #2b241d;
}
.mrw-field textarea { min-height: 96px; resize: vertical; }
.mrw-field__num { width: 84px; }
.mrw-form__submit { width: 100%; min-height: 48px; margin-top: 6px; border: 0; border-radius: 6px; cursor: pointer; }
.mrw-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.mrw-btn-ghost { display: inline-block; min-height: 44px; line-height: 44px; padding: 0 18px;
    border: 1px solid #221c16; border-radius: 6px; color: #221c16; text-decoration: none; }
.mrw-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.mrw-note { color: #6b5f52; font-size: .85rem; }

/* Kacheln (Konto) */
.mrw-tiles { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 18px 0; }
.mrw-tiles--address { grid-template-columns: 1fr; }
.mrw-tile { display: flex; flex-direction: column; gap: 3px; padding: 16px 18px; min-height: 44px;
    background: #fff; border: 1px solid #e6ded1; border-radius: 10px; text-decoration: none; color: #221c16; }
.mrw-tile__label { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: #8a7a68; }
.mrw-tile__value { font-weight: 700; }

/* Status-Seiten (Wartung, Verifiziert, Passwort, Retoure) */
.mrw-status { max-width: 560px; margin: 0 auto; padding: 72px 20px 96px; text-align: center; }
.mrw-status__code { font-size: 1.6rem; font-weight: 800; color: #b9a88f; margin: 0 0 6px; letter-spacing: .06em; }
.mrw-status__h1 { font-size: 1.6rem; font-weight: 700; margin: 0 0 12px; }
.mrw-status__text { color: #6b5f52; line-height: 1.65; margin: 0 0 22px; }
.mrw-status__cta { display: inline-block; min-height: 48px; line-height: 48px; padding: 0 24px; border-radius: 6px; text-decoration: none; }

/* Anmeldung / Passwort */
.mrw-auth { max-width: 420px; margin: 0 auto; padding: 48px 16px 72px; }
.mrw-auth__h1 { font-size: 1.5rem; font-weight: 700; text-align: center; margin: 0 0 8px; }
.mrw-auth__lead { color: #6b5f52; text-align: center; font-size: .92rem; margin: 0 0 18px; }
.mrw-auth__link { text-align: center; margin-top: 14px; }
.mrw-auth__link a { color: #7a5c2e; }
.mrw-auth__form { padding: 20px; }

/* Erfolgs-/Bestellkopf */
.mrw-success { text-align: center; margin-bottom: 22px; }
.mrw-success__mark { font-size: 1.6rem; font-weight: 800; color: #2f7d32; margin: 0; }
.mrw-success__h1 { font-size: 1.6rem; font-weight: 700; margin: 6px 0 8px; }
.mrw-success__text { color: #6b5f52; margin: 0; }
.mrw-addrblock__h3 { font-size: .95rem; font-weight: 700; margin: 0 0 6px; }
.mrw-addrblock__line { color: #6b5f52; margin: 0; line-height: 1.6; }

/* Tabellen (Bestellungen, Rückgabe) */
.mrw-tablewrap { overflow-x: auto; }
.mrw-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.mrw-table th { text-align: left; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: #8a7a68; padding: 8px 10px; border-bottom: 1px solid #e6ded1; }
.mrw-table td { padding: 10px; border-bottom: 1px solid #f0eae0; vertical-align: top; }
.mrw-table .r { text-align: right; }
.mrw-table .nowrap { white-space: nowrap; }
.mrw-table__link { color: #7a5c2e; font-weight: 700; }
.mrw-table__sum { display: block; font-weight: 700; white-space: nowrap; }
.mrw-table__tax { display: block; font-size: .78rem; color: #7d6f5e; }
.mrw-table__fine { display: block; font-size: .72rem; color: #9c8d7c; }
.mrw-table__strong { display: block; font-weight: 600; }

/* Mengen-Stepper */
.mrw-qty { display: flex; align-items: center; gap: 6px; }
.mrw-qty__btn { min-width: 44px; min-height: 44px; border: 1px solid #cdbfae; border-radius: 6px;
    background: #fffdf9; color: #221c16; font-size: 1.05rem; cursor: pointer; }
.mrw-qty__btn--off { display: inline-flex; align-items: center; justify-content: center; opacity: .35; }
.mrw-qty__value { min-width: 28px; text-align: center; font-weight: 700; }

/* Brotkrumen */
.mrw-crumbs { max-width: 1180px; margin: 0 auto; padding: 10px 16px 0; }
.mrw-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; font-size: .82rem; color: #8a7a68; }
.mrw-crumbs li + li::before { content: "›"; margin-right: 6px; color: #c9bba6; }
.mrw-crumbs a { color: #6b5f52; text-decoration: none; }
.mrw-crumbs a:hover { color: #221c16; }

/* Steuerzeile Produkt */
.mrw-taxline { display: block; font-size: .82rem; color: #6b5f52; margin-top: 2px; }

/* Kontaktkarte */
.mrw-contactcard p { margin: 0 0 8px; font-size: .95rem; }
.mrw-contactcard__links { margin-top: 12px; }
.mrw-contactcard__links a { color: #7a5c2e; }

@media (min-width: 640px) { .mrw-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Barrierefreiheit: Sprungmarke ---------- */
.mrw-skip { position: absolute; left: -9999px; top: 0; z-index: 100;
    background: #221c16; color: #fffdf9; padding: 12px 18px; border-radius: 0 0 8px 0; text-decoration: none; }
.mrw-skip:focus { left: 0; outline: 3px solid #b4550f; outline-offset: 2px; }
/* sichtbarer Fokus überall (Tastatur) */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
    outline: 3px solid #b4550f; outline-offset: 2px; }

/* PAngV-Hinweis unter dem Produktpreis */
.mrw-pdp__vatnote { font-size: .82rem; color: #6b5f52; margin: 2px 0 0; }
.mrw-pdp__vatnote a { color: #7a5c2e; }

/* 404: Suche */
.mrw-404__search { display: flex; gap: 8px; max-width: 420px; margin: 0 auto 18px; }
.mrw-404__search input { flex: 1; min-height: 44px; padding: 8px 12px; border: 1px solid #cdbfae; border-radius: 6px; background: #fffdf9; font-size: 1rem; }
.mrw-404__search button { min-height: 44px; padding: 0 16px; border: 0; border-radius: 6px; background: #221c16; color: #fffdf9; cursor: pointer; }

/* ---------- Druck: Beleg/Bestellbestätigung ---------- */
@media print {
    .mrw-topbar, .mrw-nav, .mrw-header, footer, .mrw-co__bar, .mrw-buybar, .mrw-consent,
    .mrw-skip, .mrw-crumbs, .mrw-co__express, .mrw-404__search { display: none !important; }
    body { background: #fff !important; color: #000 !important; }
    .mrw-page, .mrw-cartpage, .mrw-co { max-width: none; padding: 0; }
    .mrw-card, .mrw-tablewrap { border: 1px solid #000 !important; box-shadow: none !important; }
    .mrw-table th, .mrw-table td { border-bottom: 1px solid #999 !important; }
    a { color: #000 !important; text-decoration: none !important; }
    .mrw-success__mark { display: none; }
}

.mrw-status__form { margin: 0 0 10px; }
.mrw-status__back { margin: 22px 0 0; font-size: .9rem; }
.mrw-status__back a { color: #7a5c2e; }

/* Checkout: Zielland-Auswahl (Zonen) + Mindestbestellwert */
.mrw-co__choices { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; }
.mrw-co__choice { display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
    padding: 8px 14px; border: 1px solid #d8c9ae; border-radius: 8px; background: #fffdf8;
    cursor: pointer; font-size: .95rem; }
.mrw-co__choice:has(input:checked) { border-color: #3b2f1e; background: #f6efe1; }
.mrw-co__notice--min { background: #fff4e5; border: 1px solid #e0b070; color: #6b4a12;
    border-radius: 8px; padding: 10px 12px; margin: 0 0 14px; font-size: .92rem; }

/* ---------- Kategorie: Kompakt-Ansicht (list_horizontal) ---------- */
.mrw-cat__compact { display: grid; gap: 12px; }
.mrw-compact { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 14px;
    align-items: center; background: #fffdf8; border: 1px solid #e7dcc6; border-radius: 8px;
    padding: 10px; }
.mrw-compact__media { display: block; width: 96px; aspect-ratio: 4 / 5; background: #fff;
    border-radius: 6px; overflow: hidden; }
.mrw-compact__media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.mrw-compact__body { min-width: 0; }
.mrw-compact__title { font-size: .98rem; font-weight: 600; margin: 0 0 3px; line-height: 1.25; }
.mrw-compact__title a { color: #2f2a22; text-decoration: none; }
.mrw-compact__text { font-size: .82rem; color: #6b6152; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mrw-compact__buy { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.mrw-compact__price { font-weight: 600; color: #3b2f1e; white-space: nowrap; }
.mrw-compact__cta { min-height: 44px; padding: 0 16px; font-size: .85rem; display: inline-flex;
    align-items: center; justify-content: center; border-radius: 6px; text-decoration: none; }
@media (max-width: 640px) {
    .mrw-compact { grid-template-columns: 76px minmax(0, 1fr); }
    .mrw-compact__media { width: 76px; }
    .mrw-compact__buy { grid-column: 1 / -1; flex-direction: row; align-items: center;
        justify-content: space-between; border-top: 1px solid #eee3cf; padding-top: 8px; }
}

/* ---------- Set-Produkte: „In diesem Set enthalten" ---------- */
.mrw-set { margin: 2rem 0 0; border-top: 1px solid #e7dcc6; padding-top: 1.2rem; }
.mrw-set__h2 { font-size: 1.05rem; font-weight: 600; color: #2f2a22; margin: 0 0 .8rem; }
.mrw-set__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mrw-set__item { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px;
    align-items: baseline; padding: 7px 0; border-bottom: 1px solid #f0e9db; }
.mrw-set__pos { font-size: .78rem; color: #8a7f6c; font-variant-numeric: tabular-nums; }
.mrw-set__name { font-size: .95rem; }
.mrw-set__name a { color: #2f2a22; text-decoration: none; border-bottom: 1px solid #e7dcc6; }
.mrw-set__name a:hover { border-bottom-color: #4a5d3a; }
.mrw-set__qty { font-size: .82rem; color: #6b6152; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Warenkorbzeile aus einem Set (Kern-Feld seit Versand-/Set-Welle: item.set_origin) */
.mrw-cartline__set { font-size: .76rem; color: #8a7f6c; margin: 2px 0 0; }

/* ---------- LOOKS: drei Gruppen, Produktlisten in <details> ---------- */
.mrw-looks__group { font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
    color: #8a7f6c; margin: 1.6rem 0 .7rem; }
.mrw-look__items { margin-top: .5rem; font-size: .8rem; }
.mrw-look__items summary { cursor: pointer; color: #4a5d3a; list-style: none; padding: 6px 0;
    border-top: 1px solid #e7dcc6; }
.mrw-look__items summary::-webkit-details-marker { display: none; }
.mrw-look__items summary::after { content: " ›"; }
.mrw-look__items[open] summary::after { content: " ⌄"; }
.mrw-look__items ul { list-style: none; margin: .35rem 0 0; padding: 0; display: grid; gap: 4px; }
.mrw-look__items li { display: flex; justify-content: space-between; gap: 10px; align-items: baseline;
    padding: 3px 0; border-bottom: 1px dotted #f0e9db; }
.mrw-look__items li a { color: #2f2a22; text-decoration: none; border-bottom: 1px solid transparent; }
.mrw-look__items li a:hover { border-bottom-color: #4a5d3a; }
.mrw-look__items li span { color: #6b6152; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Look-Kachel: der ▶-Knopf gilt nur für Touch. Auf Mausgeräten startet bereits das
   Überfahren — ein sichtbarer „Abspielen"-Knopf, der in Wahrheit pausiert, wäre irreführend. */
@media (hover: hover) and (pointer: fine) {
    .mrw-look__play { display: none; }
}

.mrw-set__picker { grid-column: 1 / -1; display: grid; gap: 6px; margin: 6px 0 2px 2.2rem; }
.mrw-set__axis { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.mrw-set__axislabel { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #8a7f6c; min-width: 4.5rem; }
@media (max-width: 480px) { .mrw-set__picker { margin-left: 0; } }

/* Teil nicht im Sortiment: Name bleibt sichtbar, aber ohne Link und gedämpft */
.mrw-look__items li.is-missing .mrw-look__missing { color: #a09484; text-decoration: line-through 1px dotted; }
