/*
 * PM Wegweiser Design, Variante A „Grüne Bühne“.
 *
 * Teil 1: Kopfzeile, Navigation und Suche wie auf der bisherigen Startseite, jetzt auf allen Seiten.
 * Erzeugt aus den .home.post-type-archive-product-Regeln der storefront-child/style.css.
 */
body.pm-ww{background:
        radial-gradient(circle at top left, rgba(30, 100, 90, 0.12), transparent 32%),
        linear-gradient(180deg, #eef4f1 0%, #f8f5ef 22%, #ffffff 100%);}
body.pm-ww .site-header{position: relative;
    z-index: 99;
    background: transparent;
    box-shadow: none;
    border-bottom: none;}
body.pm-ww .site-header .col-full,
body.pm-ww .storefront-primary-navigation .col-full{max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;}
body.pm-ww .site-header .col-full{display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
        "brand search";
    align-items: center;
    column-gap: 1.8rem;
    row-gap: 0.65rem;
    padding-top: 0.8rem;
    padding-bottom: 0.35rem;}
body.pm-ww .site-branding{grid-area: brand;
    float: none;
    margin: 0;
    padding: 0.1rem 0 0;}
body.pm-ww .site-search{grid-area: search;
    width: auto;
    float: none;
    margin: 0;
    max-width: 400px;
    margin-left: auto;}
body.pm-ww .site-search .widget_product_search{max-width: 400px;
    margin-left: auto;}
body.pm-ww .site-title,
body.pm-ww .site-branding .site-title{margin: 0;
    white-space: nowrap;
    font-size: clamp(1.2rem, 2.2vw, 1.7rem);}
body.pm-ww .site-title a{color: #1d5b4f !important;}
body.pm-ww .site-title a,
body.pm-ww .main-navigation ul li a,
body.pm-ww .site-header-cart .cart-contents{font-weight: 700;
    letter-spacing: 0.01em;
    color: #18312b;}
body.pm-ww .main-navigation ul li a,
body.pm-ww .site-header-cart .cart-contents,
body.pm-ww .site-title a{transition: color 0.24s ease, background-color 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;}
body.pm-ww .main-navigation ul.menu > li > a,
body.pm-ww .site-header-cart .cart-contents{display: inline-flex;
    align-items: center;
    position: relative;
    min-height: 34px;
    padding: 0.2rem 0 0.38rem;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    border-bottom: 0;}
body.pm-ww .main-navigation ul.menu > li > a::after,
body.pm-ww .site-header-cart .cart-contents::after{content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 999px;
    background: #1d5b4f;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.28s ease;}
body.pm-ww .main-navigation ul li a:hover,
body.pm-ww .main-navigation ul li:hover > a,
body.pm-ww .site-header ul.menu li.current-menu-item > a,
body.pm-ww .site-header-cart .cart-contents:hover{color: #102622;
    background: transparent;
    box-shadow: none;}
body.pm-ww .main-navigation ul li a:hover::after,
body.pm-ww .main-navigation ul li:hover > a::after,
body.pm-ww .site-header ul.menu li.current-menu-item > a::after,
body.pm-ww .site-header-cart .cart-contents:hover::after{transform: scaleX(1);}
body.pm-ww .site-title a{padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;}
body.pm-ww .site-title a:hover{color: #18312b;
    background: transparent;
    box-shadow: none;
    outline: 0;}
body.pm-ww .main-navigation{float: none;
    width: auto;
    margin: 0;
    padding-top: 0.25rem;
    padding-bottom: 0.15rem;}
body.pm-ww .storefront-primary-navigation{background: transparent;}
body.pm-ww .storefront-primary-navigation .col-full{display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
    padding-left: 20px;
    padding-right: 20px;}
body.pm-ww .site-header-cart{float: none;
    margin: 0;
    position: static;
    transform: none;
    align-self: auto;
    justify-self: auto;
    padding: 0;
    width: auto;
    list-style: none;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;}
body.pm-ww .site-header-cart li{margin: 0;}
body.pm-ww .site-header-cart li:last-child,
body.pm-ww .site-header-cart .widget_shopping_cart{display: none !important;}
body.pm-ww .site-header-cart .cart-contents{line-height: 1;
    gap: 0.35rem;
    padding-bottom: 0.38rem;
    justify-content: flex-end;
    text-align: right;
    white-space: nowrap;}
body.pm-ww .site-header-cart .cart-contents .count{margin-top: 0.02rem;}
body.pm-ww .main-navigation ul.menu{display: flex;
    flex-wrap: wrap;
    gap: 1.15rem;
    margin: 0;}
body.pm-ww .main-navigation ul.menu,
body.pm-ww .main-navigation ul.nav-menu{margin-left: 0;
    padding-left: 0;}
body.pm-ww .main-navigation ul.menu > li{float: none;
    margin: 0;}
body.pm-ww .site-search .widget_product_search{float: none;
    margin-bottom: 0;}
body.pm-ww .woocommerce-product-search{display: flex;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(25, 61, 52, 0.12);
    background: #f6fbf8;}
body.pm-ww .woocommerce-product-search .search-field{border: 0 !important;
    border-radius: 0 !important;
    min-height: 44px;
    background: transparent !important;
    flex: 1;
    box-shadow: none !important;}
body.pm-ww .woocommerce-product-search button[type="submit"]{border: 0 !important;
    border-radius: 0 !important;
    background: rgba(25, 61, 52, 0.08) !important;
    padding: 0 16px;
    font-weight: 600;
    color: #18312b !important;
    cursor: pointer;
    white-space: nowrap;
    min-height: 44px;}
body.pm-ww .woocommerce-product-search button[type="submit"]:hover{background: rgba(25, 61, 52, 0.15) !important;}
body.pm-ww .storefront-primary-navigation .col-full::before,
body.pm-ww .storefront-primary-navigation .col-full::after{display: none !important;
    content: none !important;}
body.pm-ww .storefront-primary-navigation .col-full{gap: 0;}
body.pm-ww .storefront-primary-navigation{background: transparent;
    border: 0;}
body.pm-ww .main-navigation{float: none;
    width: auto;
    margin: 0;
    padding: 0;
    clear: none;}
body.pm-ww .aws-search-form{display: flex !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    border: 1px solid rgba(25, 61, 52, 0.12) !important;
    background: #f6fbf8 !important;}
body.pm-ww .aws-search-form .aws-wrapper{display: flex !important;
    flex: 1;
    align-items: center;}
body.pm-ww .aws-search-form .aws-search-field{border: 0 !important;
    border-radius: 0 !important;
    min-height: 44px !important;
    background: transparent !important;
    flex: 1;
    box-shadow: none !important;
    outline: none !important;
    padding: 0 14px !important;}
body.pm-ww .aws-search-form .aws-search-btn{border: 0 !important;
    border-radius: 0 !important;
    background: rgba(25, 61, 52, 0.08) !important;
    padding: 0 16px !important;
    min-height: 44px !important;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;}
body.pm-ww .aws-search-form .aws-search-btn:hover{background: rgba(25, 61, 52, 0.15) !important;}
body.pm-ww .aws-search-result{border-radius: 14px !important;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(24, 40, 33, 0.12) !important;}
@media (max-width: 1180px){
body.pm-ww .site-header .col-full{grid-template-columns: 1fr;
        grid-template-areas:
            "brand"
            "search";
        align-items: stretch;}
body.pm-ww .site-search{max-width: none;
        margin-left: 0;}
body.pm-ww .site-search .widget_product_search{max-width: none;}
body.pm-ww .storefront-primary-navigation .col-full{grid-template-columns: 1fr;
        row-gap: 0.3rem;
        padding-right: 20px;}
body.pm-ww .site-header-cart{position: static;
        transform: none;
        justify-self: start;
        justify-content: flex-start;}
}
body.pm-ww .aws-search-form .aws-search-btn .aws-search-btn_icon{display: none !important;}
body.pm-ww .aws-search-form .aws-search-btn::after{content: "Suchen";
    font-weight: 600;
    font-size: 0.85rem;}
body.pm-ww .site-title,
body.pm-ww .site-branding .site-title{font-size: clamp(1.4rem, 2.5vw, 1.9rem) !important;}
body.pm-ww .site-header .col-full{padding-top: 0.4rem !important;
    padding-bottom: 0.2rem !important;}
body.pm-ww .hfeed.site,
body.pm-ww.hfeed{overflow-x: hidden !important;
    overflow-y: visible !important;}
body.pm-ww .site-header{padding-top: 8px !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;}
body.pm-ww .hfeed.site,
body.pm-ww.hfeed,
body.pm-ww{overflow-x: clip !important;
    overflow-y: visible !important;
    overflow: clip visible !important;}


/*
 * Teil 1b: Fester Kopf und Suchknopf. Stand bisher nur im Child-Theme von sachs-saxonette,
 * steht hier, damit jeder Shop mit dem Plugin gleich aussieht (sachsersatzteile.de seit 01.11.2026).
 */
body.pm-ww #pm-header-wrap {
    position: sticky;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(14px);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

body.pm-ww.admin-bar #pm-header-wrap {
    top: 32px;
}

@media (max-width: 782px) {
    body.pm-ww.admin-bar #pm-header-wrap {
        top: 46px;
    }
}

body.pm-ww #pm-header-wrap .site-header .col-full,
body.pm-ww #pm-header-wrap .storefront-primary-navigation .col-full {
    transition: padding 0.3s ease;
}

body.pm-ww #pm-header-wrap.pm-scrolled .site-header .col-full {
    padding-top: 0.15rem !important;
    padding-bottom: 0.1rem !important;
}

body.pm-ww #pm-header-wrap.pm-scrolled .site-title,
body.pm-ww #pm-header-wrap.pm-scrolled .site-branding .site-title {
    font-size: clamp(1.1rem, 2vw, 1.4rem) !important;
}

body.pm-ww #pm-header-wrap.pm-scrolled .storefront-primary-navigation .col-full {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
}

body.pm-ww .aws-search-form .aws-search-label,
body.pm-ww .aws-search-form .aws-search-btn > *,
body.pm-ww .aws-search-form::before,
body.pm-ww .aws-search-form .aws-wrapper::before,
body.pm-ww .aws-search-form .aws-search-btn::before {
    display: none !important;
}

body.pm-ww .aws-search-form .aws-search-btn {
    overflow: hidden !important;
    min-width: 70px !important;
    color: #18312b !important;
}

body.pm-ww .aws-search-form .aws-search-btn::after {
    display: block;
    color: #18312b;
}

/* Anmelden / Mein Konto links neben dem Warenkorb (pm-wegweiser.php). Schiebt sich mit margin-left:auto nach rechts. */
body.pm-ww .pm-account {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    position: relative;
    min-height: 34px;
    margin: 0 1.6rem 0 auto;
    padding: 0.2rem 0 0.38rem;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #18312b;
    white-space: nowrap;
    text-decoration: none;
}

body.pm-ww .pm-account::before {
    content: "";
    width: 18px;
    height: 18px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4.4 3.6-7 8-7s8 2.6 8 7'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4.4 3.6-7 8-7s8 2.6 8 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.pm-ww .pm-account::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 999px;
    background: #1d5b4f;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.28s ease;
}

body.pm-ww .pm-account:hover,
body.pm-ww .pm-account:focus-visible {
    color: #102622;
}

body.pm-ww .pm-account:hover::after,
body.pm-ww .pm-account.is-current::after {
    transform: scaleX(1);
}

/* Unter 1024 px nur das Symbol, sonst rutscht das Shop-Menü in eine zweite Zeile. Am Handy ganz aus. */
@media (max-width: 1023px) {
    body.pm-ww .pm-account {
        margin-right: 1.1rem;
    }

    body.pm-ww .pm-account::before {
        width: 22px;
        height: 22px;
    }

    body.pm-ww .pm-account span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
}

@media (max-width: 767px) {
    body.pm-ww .pm-account {
        display: none;
    }
}

/* Cookie-Knopf unten links liegt am Handy sonst auf dem Konto-Symbol der Fußleiste. */
@media (max-width: 767px) {
    body.pm-ww .cky-btn-revisit-wrapper {
        bottom: 82px !important;
    }
}

/* Teil 2: Wegweiser-Bausteine */
body.pm-ww .site-content > .col-full {
    max-width: 1200px;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

body.pm-ww .site-header {
    margin-bottom: 1rem !important; /* Storefront setzt 4.2em, die Bühne braucht weniger Abstand */
}

.pmww {
    --pmww-g1: #132d27;
    --pmww-g2: #18312b;
    --pmww-g3: #1d5b4f;
    --pmww-sand: #f0dbc0;
    --pmww-sand-dark: #e0b98a;
    --pmww-light: #fffdf8;
    --pmww-pale: #cfe0d8;
    --pmww-muted: #546660;
    --pmww-mint: #eef4f1;
    --pmww-mint-2: #f6fbf8;
    --pmww-line: #d5e3dc;
    --pmww-rule: #e4ece8;
    --pmww-shadow: 0 10px 30px rgba(25, 61, 52, 0.08);
    --pmww-arrow: polygon(0 0, calc(100% - var(--tip, 18px)) 0, 100% 50%, calc(100% - var(--tip, 18px)) 100%, 0 100%);
    color: var(--pmww-g2);
    font-size: 1.125rem;
    line-height: 1.5;
    margin-bottom: 4.5rem;
}

.pmww a {
    color: var(--pmww-g3);
    text-underline-offset: 3px;
}

.pmww a:hover {
    color: var(--pmww-g1);
}

.pmww :focus-visible {
    outline: 3px solid var(--pmww-sand-dark);
    outline-offset: 3px;
}

.pmww-num {
    font-variant-numeric: tabular-nums;
}

.pmww-muted {
    color: var(--pmww-muted);
}

.pmww-small {
    font-size: 0.85rem;
}

/* Bühne */
.pmww-stage {
    background:
        radial-gradient(circle at 85% 90%, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 30%),
        linear-gradient(160deg, var(--pmww-g1) 0%, var(--pmww-g2) 45%, var(--pmww-g3) 100%);
    color: var(--pmww-light);
    border-radius: 22px;
    box-shadow: 0 20px 40px rgba(25, 61, 52, 0.15);
    padding: 30px 36px 34px;
}

.pmww-stage a {
    color: var(--pmww-sand);
}

.pmww .pmww-stage__title {
    margin: 16px 0 4px;
    font-size: 3.1rem;
    line-height: 1.05;
    font-weight: 300;
    letter-spacing: -0.01em;
    color: var(--pmww-light);
}

.pmww .pmww-stage__title--sm {
    font-size: 2.7rem;
}

.pmww-stage__lead {
    margin: 0 0 20px;
    color: var(--pmww-pale);
}

.pmww-stage--photo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 32px;
    align-items: center;
}

.pmww-stage__photo {
    margin: 0;
    background: #fff;
    border-radius: 16px;
    padding: 12px;
}

.pmww-stage__photo img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Wegleiste */
.pmww-route {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--pmww-pale);
}

.pmww-route a,
.pmww-route span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pmww-route a {
    text-decoration: none;
}

.pmww-route a:hover {
    color: var(--pmww-light);
    text-decoration: underline;
}

.pmww-route i {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--pmww-sand);
    flex: none;
}

.pmww-route .pmww-route__line {
    width: 30px;
    height: 3px;
    border-radius: 2px;
    background: var(--pmww-sand);
}

.pmww-route .pmww-route__now {
    color: var(--pmww-light);
}

.pmww-route__now i {
    width: 16px;
    height: 16px;
    box-shadow: 0 0 0 4px rgba(240, 219, 192, 0.25);
}

.pmww-route .pmww-route__line--open {
    height: 0;
    background: none;
    border-top: 3px dotted rgba(255, 255, 255, 0.4);
}

.pmww-route__next i {
    background: none;
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-sizing: border-box;
}

/* Schilder */
.pmww-post {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 32px;
    align-items: start;
    margin-top: 8px;
}

.pmww-post__signs {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 30px;
}

.pmww-post__pole {
    position: absolute;
    left: 6px;
    top: -8px;
    bottom: -24px;
    width: 12px;
    border-radius: 6px 6px 0 0;
    background: linear-gradient(90deg, #c9a57a, var(--pmww-sand) 50%, #c9a57a);
}

.pmww .pmww-sign {
    --tip: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 54px;
    padding: 0 46px 0 18px;
    background: var(--pmww-sand);
    color: var(--pmww-g1);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.2;
    border-radius: 12px 0 0 12px;
    clip-path: var(--pmww-arrow);
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.pmww .pmww-sign small {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--pmww-muted);
    white-space: nowrap;
}

.pmww .pmww-sign:hover {
    background: var(--pmww-light);
    color: var(--pmww-g1);
}

.pmww .pmww-sign.is-on {
    background: var(--pmww-light);
    box-shadow: inset 6px 0 0 var(--pmww-sand-dark);
    transform: translateX(10px);
}

.pmww-post__panel {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 22px 24px 24px;
}

.pmww .pmww-models__title {
    margin: 0 0 14px;
    font-size: 1.6rem;
    font-weight: 300;
    color: var(--pmww-light);
}

.pmww-models__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 10px;
}

.pmww .pmww-msign {
    --tip: 18px;
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 6px 34px 6px 16px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.1);
    color: var(--pmww-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.2;
    border-radius: 10px 0 0 10px;
    clip-path: var(--pmww-arrow);
}

.pmww .pmww-msign:hover {
    background: var(--pmww-sand);
    color: var(--pmww-g1);
}

.pmww .pmww-models__all {
    display: inline-block;
    margin-top: 16px;
    font-weight: 700;
}

.pmww-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pmww .pmww-chip {
    --tip: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 4px 28px 4px 14px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.1);
    color: var(--pmww-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.2;
    border-radius: 10px 0 0 10px;
    clip-path: var(--pmww-arrow);
}

.pmww .pmww-chip small {
    font-size: 0.8rem;
    color: var(--pmww-pale);
}

.pmww .pmww-chip:hover {
    background: rgba(240, 219, 192, 0.25);
    color: var(--pmww-light);
}

.pmww .pmww-chip.is-on {
    background: var(--pmww-sand);
    color: var(--pmww-g1);
}

.pmww .pmww-chip.is-on small {
    color: var(--pmww-muted);
}

/* Karten */
.pmww-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 24px;
}

.pmww-card {
    flex: 1 1 320px;
    min-width: 0;
    box-sizing: border-box;
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--pmww-shadow);
    padding: 24px 28px;
}

.pmww-card p {
    margin: 0 0 12px;
}

.pmww-card--sand {
    background: var(--pmww-sand);
}

.pmww-card--sand a:not(.pmww-btn) {
    color: var(--pmww-g1);
    font-weight: 700;
}

.pmww .pmww-card__title {
    display: block;
    margin: 0 0 12px;
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--pmww-g2);
}

.pmww-search__row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pmww .pmww-search input[type="search"] {
    flex: 1 1 240px;
    min-width: 0;
    height: 54px;
    padding: 0 18px;
    border: 1px solid var(--pmww-line);
    border-radius: 14px;
    background: var(--pmww-mint-2);
    box-shadow: none;
    font: inherit;
    color: var(--pmww-g2);
}

.pmww .pmww-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 0 22px;
    border: 0;
    border-radius: 14px;
    background: var(--pmww-g3);
    color: #fff;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.pmww .pmww-btn:hover {
    background: var(--pmww-g1);
    color: #fff;
}

.pmww .pmww-btn--sand {
    background: var(--pmww-g1);
}

.pmww .pmww-section-title {
    margin: 0 0 6px;
    font-size: 2rem;
    line-height: 1.15;
    font-weight: 300;
    color: var(--pmww-g2);
}

.pmww .pmww-section-title--sm {
    font-size: 1.5rem;
}

.pmww-section-title .pmww-muted {
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Übersicht */
.pmww-board {
    margin-top: 24px;
}

.pmww-board__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 26px 30px;
    margin-top: 20px;
}

.pmww .pmww-board__group h3 {
    margin: 0 0 8px;
    font-size: 1rem;
}

.pmww .pmww-board__group h3 a {
    --tip: 14px;
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 4px 30px 4px 12px;
    box-sizing: border-box;
    background: var(--pmww-sand);
    color: var(--pmww-g1);
    font-weight: 700;
    text-decoration: none;
    border-radius: 9px 0 0 9px;
    clip-path: var(--pmww-arrow);
}

.pmww .pmww-board__group h3 a:hover {
    background: var(--pmww-sand-dark);
}

.pmww-board__group ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pmww .pmww-board__group li a {
    display: block;
    padding: 5px 0;
    border-bottom: 1px dashed var(--pmww-line);
    color: var(--pmww-g2);
    font-size: 1rem;
    text-decoration: none;
}

.pmww .pmww-board__group li a:hover {
    color: var(--pmww-g3);
    text-decoration: underline;
}

/* Baugruppe: Teileliste und Zeichnung */
.pmww-split {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 24px;
    align-items: flex-start;
}

.pmww-parts.pmww-card {
    /* 520px lässt Liste und Zeichnung ab etwa 1000px Fensterbreite nebeneinander stehen. */
    flex: 999 1 520px;
    padding: 24px 18px 18px;
}

.pmww-drawing.pmww-card {
    flex: 1 1 320px;
    max-width: 420px;
    margin: 0;
    padding: 16px;
    position: sticky;
    top: 120px;
}

.pmww-drawing__cap {
    font-weight: 700;
    margin-bottom: 10px;
}

.pmww-drawing__link img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.pmww-drawing .pmww-small {
    margin: 10px 0 0;
}

.pmww-parts__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 16px;
    padding: 0 18px 10px;
}

.pmww-check {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

.pmww-check input {
    width: 22px;
    height: 22px;
    accent-color: var(--pmww-g3);
}

.pmww .pmww-rows {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pmww .pmww-row {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto auto;
    gap: 18px;
    align-items: center;
    margin: 0;
    padding: 14px 18px;
    border-bottom: 1px solid var(--pmww-rule);
}

/* Teile ohne Werkszeichnung (z. B. Sonderverkauf) brauchen keine Positionsspalte. */
.pmww .pmww-parts--plain .pmww-row {
    grid-template-columns: minmax(0, 1fr) auto auto;
}

.pmww-parts--plain .pmww-pos {
    display: none;
}

.pmww-only-stock .pmww-row.is-out {
    display: none;
}

.pmww-pos {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--pmww-mint);
    color: var(--pmww-g3);
    font-weight: 800;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pmww .pmww-row__name a {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--pmww-g2);
    text-decoration: none;
}

.pmww .pmww-row__name a:hover {
    text-decoration: underline;
}

.pmww .pmww-row__name p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--pmww-muted);
    overflow-wrap: anywhere;
}

.pmww-in {
    color: #1f6b44;
    font-weight: 600;
}

.pmww-out {
    color: #8a4b12;
    font-weight: 600;
}

.pmww-row__price {
    font-size: 1.2rem;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}

.pmww-row__price del {
    font-size: 0.85rem;
    opacity: 0.6;
}

.pmww-row__buy {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.pmww .pmww-row__buy .button,
.pmww .pmww-buy__box .single_add_to_cart_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    margin: 0;
    padding: 0 18px;
    border: 0;
    border-radius: 14px;
    background: var(--pmww-g3);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}

.pmww .pmww-row__buy .button:hover {
    background: var(--pmww-g1);
    color: #fff;
}

.pmww .pmww-row__buy .button.loading {
    opacity: 0.6;
}

.pmww .pmww-row__buy .added_to_cart {
    font-size: 0.8rem;
    font-weight: 700;
}

.pmww-note {
    font-size: 0.85rem;
    color: var(--pmww-muted);
    margin: 14px 18px 0;
}

.pmww .woocommerce-pagination {
    margin: 18px;
}

/* Modell: alle Baugruppen mit ihren Teilen untereinander */
.pmww-bar.pmww-card {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px 20px;
    margin-top: 24px;
    padding: 16px 28px;
}

.pmww .pmww-bar__text {
    margin: 0;
    font-size: 1.1rem;
    color: var(--pmww-g2);
}

.pmww-bar__text .pmww-muted {
    margin-left: 8px;
    font-size: 0.95rem;
    font-weight: 600;
}

.pmww-group.pmww-card {
    margin-top: 24px;
    /* Der feste Kopf soll die Überschrift nach dem Sprung nicht verdecken, die Höhe misst wegweiser.js. */
    scroll-margin-top: calc(var(--pmww-head, 180px) + 16px);
}

.pmww .pmww-group__more {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 12px;
    background: var(--pmww-mint);
    color: var(--pmww-g3);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.pmww .pmww-group__more:hover {
    background: var(--pmww-g3);
    color: #fff;
}

.pmww-only-stock .pmww-group:not(:has(.pmww-row:not(.is-out))) {
    display: none;
}

/* Produktseite */
.pmww-buy {
    display: flex;
    gap: 36px;
    margin-top: 22px;
    align-items: flex-start;
}

.pmww-buy__info {
    flex: 1 1 0;
    min-width: 0;
}

.pmww-possign {
    --tip: 26px;
    display: inline-flex;
    align-items: center;
    min-height: 52px;
    padding: 0 46px 0 18px;
    background: var(--pmww-sand);
    color: var(--pmww-g1);
    font-weight: 800;
    font-size: 1.15rem;
    border-radius: 12px 0 0 12px;
    clip-path: var(--pmww-arrow);
}

.pmww-buy .pmww-stage__title {
    margin-top: 18px;
    overflow-wrap: anywhere;
}

.pmww-facts {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px 22px;
    margin: 22px 0 0;
    font-size: 1rem;
}

.pmww-facts dt {
    color: var(--pmww-pale);
    font-weight: 400;
}

.pmww-facts dd {
    margin: 0;
    font-weight: 600;
}

.pmww-facts__more {
    font-weight: 400;
    color: var(--pmww-pale);
}

.pmww-buy__box {
    flex: 0 1 420px;
    min-width: 0;
    box-sizing: border-box;
    background: var(--pmww-light);
    color: var(--pmww-g2);
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
    font-size: 1rem;
}

.pmww .pmww-buy__box a {
    color: var(--pmww-g3);
}

/* Storefront setzt den Preis mit .single-product div.product .summary .price, daher der lange Selektor. */
body .pmww div.product .summary.pmww-buy__box .price {
    display: block;
    margin: 0;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    color: var(--pmww-g2);
}

.pmww .pmww-buy__box .price del {
    font-size: 1.4rem;
    opacity: 0.55;
}

.pmww .pmww-buy__box .price ins {
    background: none;
    font-weight: 700;
}

.pmww-buy__box .legal-price-info,
.pmww-buy__box .wc-gzd-additional-info,
.pmww-buy__box .shipping-costs-info,
.pmww-buy__box .delivery-time-info,
.pmww-buy__box .product-units {
    font-size: 0.85rem;
    color: var(--pmww-muted);
    margin: 6px 0 0;
}

/* Germanized zeigt den Gewährleistungshinweis mit fester Mindestbreite (250 px), die bleibt.
   Er steht unter dem Kaufknopf, damit Preis und Knopf zusammenbleiben. */
.pmww-buy__box {
    display: flex;
    flex-direction: column;
}

.pmww-buy__box .wc-gzd-legal-guarantee {
    order: 10;
    margin-top: 16px;
}

.pmww .pmww-buy__box .stock {
    margin: 14px 0 0;
    font-weight: 700;
    color: #1f6b44;
}

.pmww .pmww-buy__box .stock.out-of-stock {
    color: #8a4b12;
}

.pmww .pmww-buy__box form.cart {
    display: flex;
    gap: 10px;
    margin: 18px 0 0;
    padding: 0;
}

.pmww .pmww-buy__box form.cart::before,
.pmww .pmww-buy__box form.cart::after {
    content: none;
}

.pmww .pmww-buy__box .quantity {
    float: none;
    margin: 0;
}

.pmww .pmww-buy__box .quantity .qty {
    width: 84px;
    height: 58px;
    border: 1px solid var(--pmww-line);
    border-radius: 14px;
    background: var(--pmww-mint-2);
    box-shadow: none;
    font-size: 1.3rem;
    text-align: center;
}

.pmww .pmww-buy__box .single_add_to_cart_button {
    flex: 1;
    float: none;
    min-height: 58px;
    background: var(--pmww-sand);
    color: var(--pmww-g1);
    font-size: 1.1rem;
    font-weight: 800;
    box-shadow: inset 0 -3px 0 var(--pmww-sand-dark);
}

.pmww .pmww-buy__box .single_add_to_cart_button:hover {
    background: var(--pmww-sand-dark);
    color: var(--pmww-g1);
}

.pmww-trio {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 24px;
    align-items: stretch;
}

.pmww-photo.pmww-card {
    flex: 1 1 360px;
    margin: 0;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pmww-photo img {
    display: block;
    width: 100%;
    max-height: 520px;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
}

.pmww-trio .pmww-drawing.pmww-card {
    flex: 0 1 320px;
    position: static;
}

.pmww-nb.pmww-card {
    flex: 1 1 300px;
    padding: 22px;
}

.pmww .pmww-nb__row {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 12px 4px;
    border-bottom: 1px solid var(--pmww-rule);
    color: var(--pmww-g2);
    text-decoration: none;
}

.pmww .pmww-nb__row:hover {
    background: var(--pmww-mint-2);
    color: var(--pmww-g2);
}

.pmww-nb__name {
    font-weight: 700;
}

.pmww .pmww-more {
    display: inline-block;
    margin-top: 14px;
    font-weight: 700;
}

.pmww-fits.pmww-card {
    margin-top: 24px;
}

.pmww .pmww-fits__list {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    column-gap: 30px;
}

.pmww .pmww-fits__list li {
    display: flex;
    gap: 12px;
    align-items: baseline;
    padding: 9px 0;
    border-bottom: 1px dashed var(--pmww-line);
    font-size: 1rem;
}

.pmww-fits__list li span:first-child {
    flex: 1;
    font-weight: 600;
}

/* Hauptknöpfe in Warenkorb und Kasse (klassisch und Blocks) in Waldgrün statt Storefront-Schwarz */
body.pm-ww .button.alt,
body.pm-ww button.alt,
body.pm-ww .wc-block-cart__submit-button,
body.pm-ww .wc-block-components-checkout-place-order-button {
    background-color: #1d5b4f;
    border-color: #1d5b4f;
    color: #fff;
    border-radius: 14px;
}

body.pm-ww .button.alt:hover,
body.pm-ww button.alt:hover,
body.pm-ww .wc-block-cart__submit-button:hover,
body.pm-ww .wc-block-components-checkout-place-order-button:hover {
    background-color: #132d27;
    border-color: #132d27;
    color: #fff;
}

/* Kopf und Seite in einem Mint-Ton statt weißem Kopf über Mint-Sand-Verlauf. */
body.pm-ww {
    background: #eef4f1;
}

body.pm-ww #pm-header-wrap {
    background: rgba(238, 244, 241, 0.96);
    border-bottom: 1px solid #d5e3dc;
}

body.pm-ww #pm-header-wrap.pm-scrolled {
    background: rgba(238, 244, 241, 0.9);
    box-shadow: 0 6px 20px rgba(25, 61, 52, 0.08);
}

/* html body.pm-ww .site-search: stärker als die .home.post-type-archive-product-Regeln des Child-Themes. */
html body.pm-ww .site-search .woocommerce-product-search,
html body.pm-ww .site-search .aws-search-form {
    background: #fff !important;
    border-color: #d5e3dc !important;
}

html body.pm-ww .site-search .woocommerce-product-search button[type="submit"],
html body.pm-ww .site-search .aws-search-form .aws-search-btn,
html body.pm-ww .site-search .aws-search-form .aws-search-btn::after {
    background: #1d5b4f !important;
    color: #fff !important;
}

html body.pm-ww .site-search .woocommerce-product-search button[type="submit"]:hover,
html body.pm-ww .site-search .aws-search-form .aws-search-btn:hover,
html body.pm-ww .site-search .aws-search-form .aws-search-btn:hover::after {
    background: #132d27 !important;
}

/* Handy: Menüknopf und untere Leiste im Grün der Seite statt Storefront-Schwarz. */
body.pm-ww button.menu-toggle,
body.pm-ww button.menu-toggle:hover {
    background: #1d5b4f;
    border-color: #1d5b4f;
    color: #fff;
}

body.pm-ww .storefront-handheld-footer-bar,
body.pm-ww .storefront-handheld-footer-bar ul li > a {
    background-color: #132d27;
    color: #cfe0d8;
}

body.pm-ww .storefront-handheld-footer-bar ul li > a {
    border-color: rgba(207, 224, 216, 0.15);
}

body.pm-ww .storefront-handheld-footer-bar ul li.cart .count {
    background-color: #f0dbc0;
    border-color: #132d27;
    color: #132d27;
}

/* Fußzeile */
body.pm-ww .site-footer {
    background: linear-gradient(160deg, #132d27, #18312b);
    color: #cfe0d8;
}

body.pm-ww .site-footer a:not(.button):not(.components-button),
body.pm-ww .site-footer .site-info,
body.pm-ww .site-footer .site-info span {
    color: #cfe0d8;
}

body.pm-ww .site-footer a:not(.button):not(.components-button):hover {
    color: #fffdf8;
}

body.pm-ww .site-footer h1,
body.pm-ww .site-footer h2,
body.pm-ww .site-footer h3,
body.pm-ww .site-footer h4 {
    color: #fffdf8;
}

@media (max-width: 900px) {
    .pmww-stage {
        padding: 22px 18px 24px;
        border-radius: 18px;
    }

    .pmww .pmww-stage__title,
    .pmww .pmww-stage__title--sm {
        font-size: 2.1rem;
    }

    .pmww-post,
    .pmww-stage--photo {
        grid-template-columns: 1fr;
    }

    .pmww-buy {
        flex-direction: column;
        gap: 22px;
    }

    .pmww-buy__box {
        flex-basis: auto;
        width: 100%;
    }

    .pmww .pmww-row {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 8px 14px;
        padding: 14px 8px;
    }

    .pmww-row__price {
        grid-column: 2;
        text-align: left;
    }

    .pmww-row__buy {
        grid-column: 2;
        align-items: flex-start;
    }

    .pmww .pmww-parts--plain .pmww-row {
        grid-template-columns: 1fr;
    }

    .pmww-parts--plain .pmww-row > * {
        grid-column: auto;
    }

    .pmww-drawing.pmww-card {
        position: static;
        max-width: none;
    }

    .pmww-parts.pmww-card {
        padding: 18px 10px 12px;
    }

    .pmww-parts__head {
        padding: 0 8px 8px;
    }

    .pmww-bar.pmww-card {
        padding: 14px 18px;
    }

    .pmww .pmww-section-title {
        font-size: 1.6rem;
    }

    .pmww .pmww-fits__list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .pmww .pmww-stage__title,
    .pmww .pmww-stage__title--sm {
        font-size: 1.8rem;
    }

    .pmww-models__list {
        grid-template-columns: 1fr;
    }

    .pmww .pmww-sign.is-on {
        transform: none;
    }

    /* Modelle haben bis zu 50 Baugruppen, die Schilder sollen nicht zwei Bildschirme füllen. */
    .pmww-chips {
        gap: 6px;
    }

    .pmww .pmww-chip {
        --tip: 11px;
        gap: 5px;
        min-height: 38px;
        padding: 4px 18px 4px 10px;
        font-size: 0.85rem;
    }

    .pmww .pmww-chip small {
        font-size: 0.72rem;
    }

    .pmww-stage__photo img {
        max-height: 170px;
        object-fit: contain;
    }

    .pmww-card {
        padding: 20px;
    }

    .pmww-buy__box {
        padding: 20px 18px;
    }

    .pmww .pmww-buy__box .single_add_to_cart_button {
        min-width: 0;
        padding: 0 12px;
        white-space: normal;
        font-size: 1rem;
    }
}

/*
 * Handy-Kopfzeile: eine Zeile mit Logo links, Warenkorb-Symbol und Menüknopf rechts.
 * Das Menü klappt als Feld unter der Kopfzeile auf, der Knopf bleibt dabei stehen.
 * 767 px ist Storefronts Grenze für den Menüknopf.
 */
@media (max-width: 767px) {
    body.pm-ww #pm-header-wrap {
        display: flex;
        align-items: center;
    }

    body.pm-ww .site-header {
        display: flex;
        align-items: center;
        flex: 1 1 auto;
        min-width: 0;
        position: static;
        padding: 0 !important;
        margin: 0 !important;
    }

    body.pm-ww .site-header .col-full {
        display: block;
        flex: 1 1 auto;
        min-width: 0;
        margin: 0;
        padding: 10px 0 10px 16px !important;
    }

    body.pm-ww #pm-header-wrap.pm-scrolled .site-header .col-full {
        padding-top: 6px !important;
        padding-bottom: 6px !important;
    }

    body.pm-ww .site-branding {
        min-width: 0;
        width: auto;
        padding: 0;
    }

    /* !important wie die Regel für den Rechner weiter oben, damit der Name bei 375 px ganz in die Zeile passt */
    body.pm-ww .site-title,
    body.pm-ww .site-branding .site-title {
        font-size: 1.2rem !important;
    }

    body.pm-ww .site-branding .site-title a {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    body.pm-ww .storefront-primary-navigation {
        flex: 0 0 auto;
        position: static;
    }

    body.pm-ww .storefront-primary-navigation .col-full,
    body.pm-ww #pm-header-wrap.pm-scrolled .storefront-primary-navigation .col-full {
        display: flex;
        align-items: center;
        gap: 4px;
        max-width: none;
        margin: 0;
        padding: 6px 12px 6px 8px !important;
    }

    body.pm-ww .main-navigation {
        order: 2;
        position: static;
    }

    body.pm-ww .site-header-cart {
        order: 1;
    }

    /* Menüknopf: 44 px Quadrat, nur die drei Striche. „Menü“ bleibt für Vorleseprogramme im Knopf. */
    body.pm-ww button.menu-toggle {
        float: none;
        display: block;
        width: 44px;
        height: 44px;
        max-width: none;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 12px;
        font-size: 0;
        color: transparent;
    }

    body.pm-ww button.menu-toggle span {
        font-size: 0;
    }

    body.pm-ww button.menu-toggle::before,
    body.pm-ww button.menu-toggle::after,
    body.pm-ww button.menu-toggle span::before {
        left: 50%;
        width: 20px;
        margin-left: -10px;
        background-color: #fff;
    }

    body.pm-ww button.menu-toggle::before {
        transform: translateY(-6px);
    }

    body.pm-ww button.menu-toggle::after {
        transform: translateY(6px);
    }

    body.pm-ww .toggled button.menu-toggle::before {
        transform: rotate(45deg);
    }

    body.pm-ww .toggled button.menu-toggle::after {
        transform: rotate(-45deg);
    }

    body.pm-ww button.menu-toggle:focus-visible {
        outline: 3px solid #f0dbc0;
        outline-offset: 2px;
    }

    /* Warenkorb: Symbol mit Anzahl statt „0,00 € 0 Artikel“. Die Zahl steht in <b> (Filter in pm-wegweiser.php). */
    body.pm-ww .site-header-cart .cart-contents {
        position: relative;
        justify-content: center;
        width: 44px;
        height: 44px;
        min-height: 44px;
        padding: 0;
        border-radius: 12px;
        font-size: 0;
    }

    body.pm-ww .site-header-cart .cart-contents::before {
        content: "";
        width: 26px;
        height: 26px;
        background: #18312b;
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.4 11h11l2-8H6.2'/%3E%3Ccircle cx='9' cy='20' r='1.5'/%3E%3Ccircle cx='18' cy='20' r='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.4 11h11l2-8H6.2'/%3E%3Ccircle cx='9' cy='20' r='1.5'/%3E%3Ccircle cx='18' cy='20' r='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
    }

    body.pm-ww .site-header-cart .cart-contents::after,
    body.pm-ww .site-header-cart .cart-contents .amount {
        display: none;
    }

    body.pm-ww .site-header-cart .cart-contents:active {
        background: rgba(25, 61, 52, 0.08);
    }

    body.pm-ww .site-header-cart .cart-contents .count {
        position: absolute;
        top: 3px;
        right: 0;
        margin: 0;
        font-size: 0;
        line-height: 1;
    }

    body.pm-ww .site-header-cart .cart-contents .count b {
        display: block;
        min-width: 18px;
        height: 18px;
        padding: 0 5px;
        border: 2px solid #eef4f1;
        border-radius: 999px;
        box-sizing: border-box;
        background: #f0dbc0;
        color: #132d27;
        font-size: 11px;
        font-weight: 700;
        line-height: 14px;
        text-align: center;
    }

    /* Aufgeklapptes Menü: das Shop-Menü wie am Rechner, als Feld unter der ganzen Kopfzeile.
       Storefronts Ersatzliste aller Seiten (mit „Start“ und „Startseite“) bleibt aus. */
    body.pm-ww .main-navigation > div.menu,
    body.pm-ww .main-navigation .handheld-navigation {
        display: none !important;
    }

    body.pm-ww .main-navigation .primary-navigation {
        display: block;
        position: absolute;
        top: calc(100% + 6px);
        left: 12px;
        right: 12px;
        z-index: 1000;
        padding: 6px;
        border: 1px solid #d5e3dc;
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 18px 40px rgba(19, 45, 39, 0.18);
        visibility: hidden;
        opacity: 0;
        transform: translateY(-6px);
        transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
    }

    body.pm-ww .main-navigation.toggled .primary-navigation {
        visibility: visible;
        opacity: 1;
        transform: none;
        transition: opacity 0.18s ease, transform 0.18s ease;
    }

    body.pm-ww .main-navigation .primary-navigation ul.menu {
        display: block;
        max-height: none;
        overflow: visible;
        margin: 0;
    }

    body.pm-ww .main-navigation .primary-navigation ul.menu > li + li {
        border-top: 1px solid #edf2ef;
    }

    body.pm-ww .main-navigation .primary-navigation ul.menu > li > a {
        display: flex;
        min-height: 48px;
        padding: 0 14px;
        border-radius: 10px;
        font-size: 1rem;
    }

    body.pm-ww .main-navigation .primary-navigation ul.menu > li > a::after {
        display: none;
    }

    body.pm-ww .main-navigation .primary-navigation ul.menu > li > a:hover,
    body.pm-ww .main-navigation .primary-navigation ul.menu > li.current-menu-item > a {
        background: #eef4f1;
    }
}
