/**
 * Riedmair – neues Produkt-Layout (Vorschau, ?layout=neu)
 * Vorlage: Tina Reinker, "Produkt:Shop Überarbeitung lay02" (30.10.2026)
 * Alles ist an die Body-Klasse .rsm-l2 gebunden – ohne den Schalter ändert sich nichts.
 */

body.rsm-l2 {
    --l2-brown: #5c462b;
    --l2-brown-dark: #46351f;
    --l2-text: #4a3a25;
    --l2-yellow: #ffec96;
    --l2-red: #e5352d;
    --l2-green: #3d9b4a;
    --l2-grey: #c9bfb2;
    --l2-ff: "Roboto Condensed", Helvetica, Arial, sans-serif;
}

/* ------------------------------------------------------------------ */
/* Schildchen (Übersicht + Einzelansicht)                              */
/* ------------------------------------------------------------------ */
.rsm-l2 .rsm-l2-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0;
}

.rsm-l2 .rsm-l2-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--l2-ff);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 400;
    letter-spacing: .02em;
    padding: 3px 7px;
    color: var(--l2-text);
    background: var(--l2-grey);
    border-radius: 0;
}

.rsm-l2 .rsm-l2-tag--alcohol,
.rsm-l2 .rsm-l2-tag--vegan { background: #ece4d2; color: var(--l2-text); }
.rsm-l2 .rsm-l2-tag--weekdays,
.rsm-l2 .rsm-l2-tag--nosunday { background: var(--l2-grey); color: var(--l2-text); }

.rsm-l2 .rsm-l2-tag--until,
.rsm-l2 .rsm-l2-tag--from { color: #fff; }
.rsm-l2 .rsm-l2-tag--until { background: var(--l2-red); }
.rsm-l2 .rsm-l2-tag--from { background: var(--l2-green); }

/* kleine Dreiecke: Ende (zeigt zurück) / Beginn (zeigt nach vorn) */
.rsm-l2 .rsm-l2-tag--until::after,
.rsm-l2 .rsm-l2-tag--from::before {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
}
.rsm-l2 .rsm-l2-tag--until::after {
    border-width: 4px 6px 4px 0;
    border-color: transparent #fff transparent transparent;
}
.rsm-l2 .rsm-l2-tag--from::before {
    border-width: 4px 0 4px 6px;
    border-color: transparent transparent transparent #fff;
}

/* ------------------------------------------------------------------ */
/* Übersicht                                                           */
/* ------------------------------------------------------------------ */
body.rsm-l2-archive .dt-css-grid .wf-cell > article.product { height: 100%; }

body.rsm-l2-archive figure.woocom-project {
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
}

body.rsm-l2-archive .woo-buttons-on-img {
    aspect-ratio: 1.237;
    width: 100%;
}
body.rsm-l2-archive .woo-buttons-on-img > a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

body.rsm-l2-archive figcaption.woocom-list-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 16px 0 0;
}

body.rsm-l2-archive .woocom-list-content h4.entry-title,
body.rsm-l2-archive .woocom-list-content h4.entry-title a {
    font-family: var(--l2-ff);
    font-size: 22px;
    line-height: 1.2;
    font-weight: 400;
    color: var(--l2-brown);
    text-align: left;
    margin: 0 0 4px;
    padding: 0;
}

body.rsm-l2-archive .rsm-l2-meta {
    width: 100%;
    flex: 1 0 auto;
    min-height: 46px;
    margin: 0 0 10px;
}

body.rsm-l2-archive .rsm-l2-sub {
    font-family: var(--l2-ff);
    font-size: 14px;
    line-height: 1.3;
    color: var(--l2-text);
    margin: 0 0 5px;
}

body.rsm-l2-archive .woocom-list-content .price {
    display: block;
    margin: 0 0 10px !important;
    text-align: left;
    font-family: var(--l2-ff);
    font-size: 17px;
    color: var(--l2-text);
}
body.rsm-l2-archive .woocom-list-content .price del { opacity: .65; margin-right: 4px; }
body.rsm-l2-archive .woocom-list-content .price ins { text-decoration: none; font-weight: 400; }

body.rsm-l2-archive .woocom-list-content .woo-buttons {
    width: 100%;
    margin: 10px 0 0 !important;
    padding: 0;
    text-align: left;
    position: static;
    min-height: 0;
}

body.rsm-l2-archive .woocom-list-content .woo-buttons .button,
body.rsm-l2-archive .woocom-list-content .woo-buttons a.add_to_cart_button,
body.rsm-l2-archive .woocom-list-content .woo-buttons a.product_type_variable {
    font-family: var(--l2-ff);
    font-size: 14px;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 9px 16px;
    border-radius: 0;
    background: var(--l2-brown);
    color: #fff;
    width: auto;
}
body.rsm-l2-archive .woocom-list-content .woo-buttons .button:hover { background: var(--l2-brown-dark); }

/* Angebot-Störer: links oben auf dem Bild */
body.rsm-l2-archive .rsm-stoerer-stack {
    left: 0;
    right: auto;
    top: 0;
    width: 30%;
    max-width: 104px;
    min-width: 64px;
}

/* Filter-Link auf hellem Grund */
body.rsm-l2-archive .rsm-ps-filter-toggle {
    color: var(--l2-brown);
    text-shadow: none;
    font-family: var(--l2-ff);
    font-weight: 400;
}

/* ------------------------------------------------------------------ */
/* Pfeile (CSS statt Zeichen, damit sie in jeder Schrift gleich sind)  */
/* ------------------------------------------------------------------ */
.rsm-l2 .rsm-ps-badge-arrow,
.rsm-l2 .rsm-ps-inhaltsstoffe-arrow,
.rsm-l2 .rsm-ps-filter-arrow,
.rsm-l2 .rsm-l2-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    font-size: 0;
    border-style: solid;
    border-width: 6px 0 6px 9px;
    border-color: transparent transparent transparent currentColor;
    flex: 0 0 auto;
    transition: transform .2s ease;
}
.rsm-l2 .rsm-ps-badge.is-open .rsm-ps-badge-arrow,
.rsm-l2 .rsm-ps-inhaltsstoffe.is-open .rsm-ps-inhaltsstoffe-arrow,
.rsm-l2 .rsm-ps-filter.is-open .rsm-ps-filter-arrow {
    transform: rotate(90deg);
}

/* Filter-Panel: Aufklapp-Pfeil und Listenpunkte sauber */
.rsm-l2 .rsm-ps-filter-list,
.rsm-l2 .rsm-ps-filter-sublist { list-style: none !important; margin-left: 0; padding-left: 0; }
.rsm-l2 .rsm-ps-filter-sublist { margin-left: 22px; }
.rsm-l2 .rsm-ps-filter-item { list-style: none !important; }
.rsm-l2 .rsm-ps-filter-item::before,
.rsm-l2 .rsm-ps-filter-item::marker { content: none !important; }
.rsm-l2 .rsm-ps-filter-expand {
    display: inline-block;
    width: 0;
    height: 0;
    font-size: 0;
    margin: 0 6px 0 2px;
    border-style: solid;
    border-width: 5px 0 5px 7px;
    border-color: transparent transparent transparent var(--l2-brown);
    transition: transform .2s ease;
}
.rsm-l2 .rsm-ps-filter-item.is-expanded > .rsm-ps-filter-label .rsm-ps-filter-expand { transform: rotate(90deg); }

/* ------------------------------------------------------------------ */
/* Einzelansicht                                                       */
/* ------------------------------------------------------------------ */
body.rsm-l2-single,
body.rsm-l2-archive { background: #2a2a2a; }
/* fester Hintergrund über Pseudo-Element (funktioniert auch auf iOS) */
body.rsm-l2-single::before,
body.rsm-l2-archive::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: #2a2a2a var(--rsm-l2-bg, none) center center / cover no-repeat;
}
/* Einzelansicht: Foto etwas abgedunkelt */
body.rsm-l2-single::after,
body.rsm-l2-archive::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}
body.rsm-l2-single::after { background: rgba(0, 0, 0, .28); }
/* Übersicht: schwarzer Verlauf von oben, damit Titel und Reiter lesbar bleiben */
body.rsm-l2-archive::after { background: linear-gradient(180deg, rgba(0, 0, 0, .92) 0, rgba(0, 0, 0, .62) 380px, rgba(0, 0, 0, .5) 100%); }
body.rsm-l2 #page,
body.rsm-l2 #main,
body.rsm-l2 #content,
body.rsm-l2 #main .wf-wrap,
body.rsm-l2 #main .wf-container-main,
body.rsm-l2 #main .main-gradient {
    background: transparent !important;
}
body.rsm-l2-single #main { padding-top: 0; }
body.rsm-l2-archive #main { padding-top: 0; padding-bottom: 50px; }

.rsm-l2 .rsm-l2-hero {
    max-width: 840px;
    margin: 0 auto;
    padding: 34px 0 0;
}
.rsm-l2 .rsm-l2-hero-title {
    font-family: var(--l2-ff);
    font-weight: 300;
    font-size: 60px;
    line-height: 1.1;
    letter-spacing: .1em;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .35);
}
.rsm-l2 .rsm-l2-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 30px;
    margin: 16px 0 26px;
}
.rsm-l2 .rsm-l2-icon { display: block; line-height: 0; opacity: .95; }
.rsm-l2 .rsm-l2-icons img { height: 36px; width: auto; max-width: 70px; display: block; }

.rsm-l2 .rsm-l2-filterbar { margin: 0 0 8px; }
.rsm-l2 .rsm-l2-filterlink {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--l2-ff);
    font-size: 17px;
    color: #fff;
    text-decoration: none;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .5);
}
.rsm-l2 .rsm-l2-filterlink:hover { text-decoration: underline; color: #fff; }

/* Karte */
body.rsm-l2-single div.product {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    column-gap: 28px;
    align-items: start;
    max-width: 840px;
    margin: 0 auto 70px;
    padding: 46px 56px 44px;
    background: #fff;
    box-sizing: border-box;
    font-family: var(--l2-ff);
    color: var(--l2-text);
}

body.rsm-l2-single div.product .woocommerce-product-gallery {
    grid-column: 1;
    grid-row: 1;
    float: none;
    width: 100% !important;
    max-width: 100%;
    margin: 0 0 8px;
}
body.rsm-l2-single div.product .woocommerce-product-gallery__wrapper { margin: 0; }
body.rsm-l2-single div.product .woocommerce-product-gallery__image { text-align: center; }
body.rsm-l2-single div.product .woocommerce-product-gallery__image img {
    display: inline-block;
    width: auto;
    max-width: 100%;
    max-height: 300px;
    margin: 0 auto;
}
body.rsm-l2-single div.product .woocommerce-product-gallery__trigger { display: none; }

/* Summary wird "durchlässig": Kinder ordnen sich im Karten-Raster an */
body.rsm-l2-single div.product .summary,
body.rsm-l2-single div.product .entry-summary {
    display: contents;
}
body.rsm-l2-single div.product .summary > * {
    grid-column: 1 / -1;
    order: 6;
    margin-top: 0;
}

body.rsm-l2-single div.product .summary > h1.product_title { order: 1; margin: 24px 0 2px; font-family: var(--l2-ff); font-size: 32px; font-weight: 400; line-height: 1.15; color: var(--l2-brown); }
body.rsm-l2-single div.product .summary > .rsm-ps-composition { order: 2; margin: 0 0 8px; font-size: 16px; color: var(--l2-text); }
body.rsm-l2-single div.product .summary > .rsm-l2-tags { order: 3; margin: 0 0 14px; }
body.rsm-l2-single div.product .summary > .rsm-single-desc { order: 4; margin: 10px 0 12px; font-size: 16px; line-height: 1.6; color: var(--l2-text); }
body.rsm-l2-single div.product .summary > .rsm-ps-weight-base { order: 5; margin: 0 0 6px; }
body.rsm-l2-single div.product .summary > .rsm-ps-inhaltsstoffe { order: 9; margin: 22px 0 0; }

/* Eigenschaften: rechts neben dem Bild */
body.rsm-l2-single div.product .summary > .rsm-ps-badges {
    grid-column: 2;
    grid-row: 1;
    order: 0;
    align-self: center;
    justify-self: end;
    width: 200px;
    max-width: 100%;
    margin: 0;
    gap: 7px;
}
.rsm-l2 .rsm-ps-badge { background: var(--l2-yellow); border-radius: 0; }
.rsm-l2 .rsm-ps-badge-btn {
    font-family: var(--l2-ff);
    font-size: 16px;
    color: var(--l2-text);
    padding: 7px 12px;
    gap: 10px;
}
.rsm-l2 .rsm-ps-badge-btn[disabled] { padding-left: 31px; }
.rsm-l2 .rsm-ps-badge-desc { background: #fff6c9; font-family: var(--l2-ff); font-size: 14px; color: var(--l2-text); }

/* Gewicht / Preis */
.rsm-l2 .rsm-ps-weight-base { display: block; }
.rsm-l2 .rsm-ps-weight { display: flex; align-items: baseline; font-size: 16px; }
.rsm-l2 .rsm-ps-weight .rsm-ps-label,
.rsm-l2 .rsm-ps-label,
body.rsm-l2-single div.product .summary > p.price::before {
    display: inline-block;
    width: 80px;
    margin: 0;
    font-family: var(--l2-ff);
    font-size: 16px;
    font-weight: 400;
    color: var(--l2-text);
}
.rsm-l2 .rsm-ps-weight .rsm-ps-value { font-size: 16px; color: var(--l2-text); }
.rsm-l2 .rsm-l2-baseprice { margin-left: 8px; font-size: 14px; color: var(--l2-text); font-weight: 400; }

body.rsm-l2-single div.product .summary > p.price {
    grid-column: 1;
    order: 7;
    align-self: center;
    margin: 6px 0;
    font-family: var(--l2-ff);
    font-size: 26px;
    font-weight: 400;
    color: var(--l2-brown);
}
body.rsm-l2-single div.product .summary > p.price::before { content: "Preis"; vertical-align: baseline; }
body.rsm-l2-single div.product .summary > p.price::after { display: none; content: none; }
body.rsm-l2-single div.product .summary > p.price { padding-bottom: 0; }
body.rsm-l2-single div.product .summary > p.price .amount { font-family: var(--l2-ff); color: var(--l2-brown); }
body.rsm-l2-single div.product .summary > p.price del { font-size: 18px; opacity: .6; }
body.rsm-l2-single div.product .summary > p.price ins { text-decoration: none; }

body.rsm-l2-single div.product .summary > form.cart:not(.variations_form) {
    grid-column: 2;
    order: 8;
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin: 6px 0;
}
body.rsm-l2-single div.product .summary > form.variations_form { grid-column: 1 / -1; order: 8; margin: 8px 0; }

body.rsm-l2-single div.product form.cart .single_add_to_cart_button {
    font-family: var(--l2-ff);
    font-size: 15px;
    letter-spacing: .06em;
    text-transform: uppercase;
    background: var(--l2-brown);
    color: #fff;
    border-radius: 0;
    padding: 13px 20px;
    height: auto;
    margin: 0;
}
body.rsm-l2-single div.product form.cart .single_add_to_cart_button:hover { background: var(--l2-brown-dark); }

/* Hinweis "Abholbar …" */
body.rsm-l2-single div.product .summary > p[style*="font-weight:600"] { order: 6; font-family: var(--l2-ff); font-size: 15px; color: var(--l2-brown); }

/* Inhaltsstoffe */
.rsm-l2 .rsm-ps-inhaltsstoffe-toggle {
    background: var(--l2-yellow);
    border-radius: 0;
    font-family: var(--l2-ff);
    font-size: 17px;
    font-weight: 400;
    color: var(--l2-text);
    padding: 10px 14px;
    gap: 10px;
}
.rsm-l2 .rsm-ps-inhaltsstoffe-body { padding: 16px 14px 4px; font-family: var(--l2-ff); }
.rsm-l2 .rsm-ps-ingredients-table,
.rsm-l2 .rsm-ps-nutrition { font-family: var(--l2-ff); font-size: 15px; color: var(--l2-text); border: 0 !important; background: none !important; }
.rsm-l2 .rsm-ps-ingredients-table th,
.rsm-l2 .rsm-ps-ingredients-table td,
.rsm-l2 .rsm-ps-nutrition th,
.rsm-l2 .rsm-ps-nutrition td {
    border: 0 !important;
    background: none !important;
    padding: 4px 14px 4px 0 !important;
    color: var(--l2-text);
    font-weight: 400;
    font-style: normal;
    vertical-align: top;
}
.rsm-l2 .rsm-ps-ingredients-table th { width: 120px; }
.rsm-l2 .rsm-ps-ingredients-table td { text-transform: none; }
.rsm-l2 .rsm-ps-extra-row th,
.rsm-l2 .rsm-ps-extra-row td { color: #8a7b5c; }
.rsm-l2 .rsm-ps-nutrition { width: auto; min-width: 60%; margin-top: 8px; }
.rsm-l2 .rsm-ps-nutrition thead th { width: auto; }
.rsm-l2 .rsm-ps-nutrition tbody th { padding-left: 0 !important; min-width: 220px; }
.rsm-l2 .rsm-ps-nutrition thead th:first-child { min-width: 220px; }

/* ------------------------------------------------------------------ */
/* Störer in der Einzelansicht (nur Angebot, links oben am Bild)       */
/* ------------------------------------------------------------------ */
body.rsm-l2-single div.product div.images .rsm-stoerer-stack { left: 0; top: 0; width: 84px; min-width: 60px; }

/* ------------------------------------------------------------------ */
/* Hinweisleiste Vorschau                                              */
/* ------------------------------------------------------------------ */
.rsm-l2-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    background: #5c462b;
    color: #fff;
    font: 400 13px/1.3 "Roboto Condensed", Arial, sans-serif;
    text-align: center;
    padding: 7px 14px;
}
.rsm-l2-bar a { color: #ffec96; text-decoration: underline; margin-left: 8px; }

/* ------------------------------------------------------------------ */
/* Mobil / Tablet                                                      */
/* ------------------------------------------------------------------ */
@media (max-width: 1240px) {
    body.rsm-l2-archive #main .wf-wrap { padding-left: 24px !important; padding-right: 24px !important; box-sizing: border-box; }
}

@media (max-width: 860px) {
    .rsm-l2 .rsm-l2-hero-title { font-size: 44px; }
    body.rsm-l2-single div.product { margin-left: 12px; margin-right: 12px; padding: 30px 26px 30px; }
}

@media (max-width: 640px) {
    /* Übersicht mobil: zwei Spalten statt einer sehr langen Liste */
    body.rsm-l2-archive .dt-css-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        grid-column-gap: 14px !important;
        grid-row-gap: 26px !important;
    }
    body.rsm-l2-archive #main .wf-wrap { padding-left: 14px !important; padding-right: 14px !important; }
    body.rsm-l2-archive .woo-buttons-on-img > a img { max-width: 100%; height: auto; }
    body.rsm-l2-archive .rsm-stoerer-stack { width: 34%; min-width: 48px; max-width: 72px; }

    .rsm-l2 .rsm-l2-hero { padding-top: 18px; padding-left: 12px; padding-right: 12px; }
    .rsm-l2 .rsm-l2-hero-title { font-size: 34px; letter-spacing: .06em; }
    .rsm-l2 .rsm-l2-icons { gap: 12px 20px; margin: 10px 0 18px; }
    .rsm-l2 .rsm-l2-icons img { height: 30px; }
    .rsm-l2 .rsm-l2-filterlink { font-size: 16px; }

    body.rsm-l2-single div.product {
        grid-template-columns: minmax(0, 1fr);
        margin-left: 8px;
        margin-right: 8px;
        padding: 22px 18px 24px;
    }
    body.rsm-l2-single div.product .woocommerce-product-gallery { grid-row: auto; }
    body.rsm-l2-single div.product .summary > .rsm-ps-badges {
        grid-column: 1;
        grid-row: auto;
        order: 0;
        align-self: stretch;
        justify-self: stretch;
        width: auto;
        margin: 0 0 8px;
    }
    body.rsm-l2-single div.product .summary > h1.product_title { font-size: 28px; margin-top: 12px; }
    body.rsm-l2-single div.product .summary > p.price,
    body.rsm-l2-single div.product .summary > form.cart:not(.variations_form) { grid-column: 1 / -1; }
    body.rsm-l2-single div.product .summary > form.cart:not(.variations_form) { justify-content: flex-start; margin-top: 4px; }
    body.rsm-l2-single div.product form.cart .single_add_to_cart_button { flex: 1 1 auto; }

    body.rsm-l2-archive .woocom-list-content h4.entry-title,
    body.rsm-l2-archive .woocom-list-content h4.entry-title a { font-size: 19px; }
    body.rsm-l2-archive .rsm-l2-sub { font-size: 13px; }
    body.rsm-l2-archive .rsm-l2-meta { min-height: 0; }
    body.rsm-l2-archive .woocom-list-content .woo-buttons .button,
    body.rsm-l2-archive .woocom-list-content .woo-buttons a.add_to_cart_button { font-size: 13px; padding: 9px 12px; }
    .rsm-l2 .rsm-l2-tag { font-size: 11.5px; }
}


/* ------------------------------------------------------------------ */
/* lay04/lay05: Reiter, Kategorie-Kopf, Übersicht auf Foto             */
/* ------------------------------------------------------------------ */
.rsm-l2 .rsm-l2-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 3px;
    margin: 0;
}
.rsm-l2 .rsm-l2-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--l2-ff);
    font-size: 17px;
    line-height: 1;
    letter-spacing: .02em;
    padding: 11px 20px 10px;
    text-decoration: none;
    border-radius: 0;
}
/* Übersicht und Einzelansicht einheitlich: weiß = verfügbar, abgedunkelt = nicht verfügbar */
.rsm-l2 .rsm-l2-tab--pickup,
.rsm-l2 .rsm-l2-tab--ship { background: #fff; color: var(--l2-brown); }
.rsm-l2 .rsm-l2-tab--noship { background: rgba(255, 255, 255, .22); color: rgba(255, 255, 255, .8); }
/* Produktfilter: gelber Reiter rechts */
.rsm-l2 .rsm-l2-tab--filter { background: var(--l2-yellow); color: var(--l2-brown); margin-left: auto; }
.rsm-l2 .rsm-l2-tab--filter:hover { color: var(--l2-brown-dark); background: #ffe670; }

/* Einzelansicht: Reiter bündig auf der Karte */
.rsm-l2 .rsm-l2-hero--single { padding-bottom: 0; }
.rsm-l2 .rsm-l2-hero--single .rsm-l2-icons { margin-bottom: 22px; }
body.rsm-l2-single div.product { margin-top: 0; }

/* Übersicht: Kopf */
.rsm-l2 .rsm-l2-hero--archive {
    max-width: none;
    padding: 36px 0 0;
}
.rsm-l2 .rsm-l2-hero--archive .rsm-l2-icons { margin: 14px 0 30px; }

/* Kacheln der Übersicht: weiße Karten auf dem Foto */
body.rsm-l2-archive figure.woocom-project {
    background: #fff;
    padding: 20px 22px 24px;
    box-sizing: border-box;
}
body.rsm-l2-archive .rsm-ps-filter { text-align: right; margin: 0 0 12px; }
body.rsm-l2-archive .rsm-ps-filter-toggle,
body.rsm-l2-archive .rsm-ps-filter-toggle:hover,
body.rsm-l2-archive .rsm-ps-filter-toggle:focus {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--l2-yellow);
    color: var(--l2-brown);
    padding: 10px 20px;
    border: 0;
    border-radius: 0;
    font-family: var(--l2-ff);
    font-size: 17px;
    font-weight: 400;
    letter-spacing: .02em;
    text-shadow: none;
}
body.rsm-l2-archive .rsm-ps-filter-body {
    text-align: left;
    background: #fff;
    color: var(--l2-text);
    padding: 18px 22px;
    margin-top: 3px;
}
body.rsm-l2-archive .rsm-ps-filter-body * { color: var(--l2-text); }
body.rsm-l2-archive .woocommerce-pagination a,
body.rsm-l2-archive .woocommerce-pagination span,
body.rsm-l2-archive .paginator a,
body.rsm-l2-archive .paginator span { color: #fff; }
body.rsm-l2-archive .paginator a.act { background: #fff; color: var(--l2-brown); }

/* Aktuell im Angebot (variable Produkte) */
body.rsm-l2-single div.product .summary > .rsm-l2-sale { order: 7; margin: 8px 0 12px; background: var(--l2-yellow); padding: 10px 14px 12px; color: var(--l2-text); font-family: var(--l2-ff); }
.rsm-l2 .rsm-l2-sale-head { display: flex; align-items: center; gap: 9px; font-size: 17px; margin-bottom: 4px; }
.rsm-l2 .rsm-l2-sale ul { list-style: none; margin: 0; padding: 0; }
.rsm-l2 .rsm-l2-sale li { font-size: 16px; line-height: 1.5; margin: 0; padding: 0 0 0 18px; }
.rsm-l2 .rsm-l2-sale li::before { content: none; }
.rsm-l2 .rsm-l2-sale del { opacity: .6; margin: 0 4px 0 8px; }
.rsm-l2 .rsm-l2-sale ins { text-decoration: none; font-weight: 700; }
.rsm-l2 .rsm-l2-choose { font-family: var(--l2-ff); font-size: 17px; color: var(--l2-brown); margin: 0 0 6px; }

/* Hauptmenü: ONLINE SHOP aktiv mit Pfeil, übrige Punkte zurückgenommen */
body.rsm-l2 header.elementor-location-header ul.dt-nav-menu-horizontal > li.depth-0 > a { color: #a39887; }
body.rsm-l2 header.elementor-location-header ul.dt-nav-menu-horizontal > li.depth-0 > a:hover { color: var(--l2-brown); }
body.rsm-l2 header.elementor-location-header ul.dt-nav-menu-horizontal > li.depth-0.act > a { color: var(--l2-brown); }
body.rsm-l2 header.elementor-location-header ul.dt-nav-menu-horizontal > li.depth-0.act > a .menu-text::before {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    margin-right: 7px;
    border-style: solid;
    border-width: 5px 0 5px 8px;
    border-color: transparent transparent transparent currentColor;
    vertical-align: baseline;
}

@media (max-width: 860px) {
    .rsm-l2 .rsm-l2-hero--archive { padding-left: 4px; padding-right: 4px; }
}
@media (max-width: 640px) {
    .rsm-l2 .rsm-l2-tab { font-size: 14px; padding: 9px 12px 8px; }
    .rsm-l2 .rsm-l2-tab--filter { margin-left: 0; }
    body.rsm-l2-archive figure.woocom-project { padding: 12px 12px 16px; }
    body.rsm-l2-archive .rsm-ps-filter-toggle { font-size: 14px; padding: 9px 14px; }
    body.rsm-l2-archive::after { background: linear-gradient(180deg, rgba(0, 0, 0, .92) 0, rgba(0, 0, 0, .66) 260px, rgba(0, 0, 0, .52) 100%); }
}

/* Kopfzeile: auf dem Foto vollflächig weiß (sonst scheint der dunkle Grund durch) */
body.rsm-l2 header.elementor-location-header > .e-con { background-color: #fff !important; }

/* Produktfilter-Reiter auf Höhe der Reiter (Übersicht, Desktop) */
@media (min-width: 700px) {
    body.rsm-l2-archive .rsm-ps-filter { margin-top: -41px; position: relative; z-index: 3; }
}

/* Kategorie-Beschreibung (z. B. Geschenksets) auf dem Foto: weiß, mittig, unter dem Kopf */
body.rsm-l2-archive .woocommerce-products-header { display: flex; flex-direction: column; }
body.rsm-l2-archive .woocommerce-products-header .term-description,
body.rsm-l2-archive .woocommerce-products-header__description,
body.rsm-l2-archive .term-description {
    max-width: 760px;
    margin: 28px auto 0;
    text-align: center;
    font-family: var(--l2-ff);
    font-size: 19px;
    line-height: 1.45;
    color: #fff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}
body.rsm-l2-archive .term-description *,
body.rsm-l2-archive .woocommerce-products-header__description * { color: #fff !important; font-family: var(--l2-ff); }
body.rsm-l2-archive .woocommerce-products-header__description h1,
body.rsm-l2-archive .woocommerce-products-header__description h2,
body.rsm-l2-archive .term-description h1,
body.rsm-l2-archive .term-description h2 { font-size: 26px; margin: 0 0 6px; font-weight: 400; }

/* Hauptmenü: ONLINE SHOP auch in der Einzelansicht aktiv (dort fehlt die Klasse "act") */
body.rsm-l2 header.elementor-location-header ul.dt-nav-menu-horizontal > li.depth-0:has(> a[href$="/shop/"]) > a { color: var(--l2-brown); }
body.rsm-l2 header.elementor-location-header ul.dt-nav-menu-horizontal > li.depth-0:has(> a[href$="/shop/"]) > a .menu-text::before {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    margin-right: 7px;
    border-style: solid;
    border-width: 5px 0 5px 8px;
    border-color: transparent transparent transparent currentColor;
    vertical-align: baseline;
}
