/* WoehrleProductDocuments 1.2.0 — Wöhrle Power Systems storefront skin.
   Eigene Klassen: keine globalen Shopware-Styles werden überschrieben.
   --bs-primary übernimmt die Shopware-Themefarbe, falls das Theme sie bereitstellt.
   Alternativ: .wpd-documents { --wpd-accent: #a71942; } im eigenen Theme. */
.wpd-documents {
    --wpd-accent: var(--bs-primary, #ad1640);
    --wpd-text: var(--bs-body-color, #242424);
    --wpd-muted: #666a70;
    --wpd-border: var(--bs-border-color, #dedee0);
    --wpd-panel: #fff;
    --wpd-wash: #f7f7f8;
    --wpd-tint: #f9eff2;
    max-width: 1200px;
    margin: 36px auto 48px;
    color: var(--wpd-text);
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.5;
}
.wpd-documents, .wpd-documents * { box-sizing: border-box; }
.wpd-documents__eyebrow {
    margin: 0 0 6px;
    color: var(--wpd-accent);
    font-size: .73rem;
    font-weight: 700;
    letter-spacing: .105em;
    text-transform: uppercase;
}
.wpd-documents__eyebrow span { color: #9e9e9e; padding: 0 5px; }
.wpd-documents__title {
    margin: 0 0 8px;
    color: var(--wpd-text);
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    line-height: 1.25;
    letter-spacing: -.015em;
    font-weight: 700;
}
.wpd-documents__lead {
    max-width: 65ch;
    margin: 0 0 22px;
    color: var(--wpd-muted);
    font-size: .96rem;
    line-height: 1.6;
}
.wpd-documents__list {
    background: var(--wpd-panel);
    border: 1px solid var(--wpd-border);
    border-radius: 4px;
    overflow: hidden;
}
.wpd-documents__accordion + .wpd-documents__accordion {
    border-top: 1px solid var(--wpd-border);
}
.wpd-documents__accordion > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 65px;
    padding: 12px 21px;
    list-style: none;
    cursor: pointer;
    color: var(--wpd-text);
    background: #fff;
    font-size: .96rem;
    font-weight: 600;
    line-height: 1.45;
    transition: background-color .18s ease;
}
.wpd-documents__accordion > summary::-webkit-details-marker { display: none; }
.wpd-documents__accordion > summary::marker { content: ''; }
.wpd-documents__accordion > summary:hover { background: var(--wpd-wash); }
.wpd-documents__accordion > summary:focus-visible,
.wpd-documents__button:focus-visible {
    outline: 3px solid var(--wpd-accent);
    outline-offset: -3px;
}
.wpd-documents__accordion[open] > summary {
    background: var(--wpd-wash);
    box-shadow: inset 3px 0 0 var(--wpd-accent);
}
.wpd-documents__summary-text {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
}
.wpd-documents__summary-text > span:nth-child(2) {
    min-width: 0;
    overflow-wrap: anywhere;
}
.wpd-documents__glyph {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #efd4dc;
    border-radius: 3px;
    color: var(--wpd-accent);
    background: var(--wpd-tint);
    /* Icons in outline SVG: identical across browsers / operating systems. */
}
.wpd-documents__icon {
    width: 20px;
    height: 20px;
    display: block;
    flex: none;
}
.wpd-documents__button-icon {
    width: 18px;
    height: 18px;
    display: block;
    flex: none;
}
.wpd-documents__tag {
    margin-left: 2px;
    padding: 2px 7px;
    color: #64666a;
    background: #f0f0f1;
    border: 1px solid #e6e6e7;
    border-radius: 3px;
    white-space: nowrap;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .035em;
    line-height: 1.35;
}
.wpd-documents__tag--cad {
    background: var(--wpd-tint);
    color: var(--wpd-accent);
    border-color: #efd4dc;
}
.wpd-documents__chevron {
    flex: 0 0 9px;
    width: 9px;
    height: 9px;
    margin: -4px 4px 0 0;
    border-right: 2px solid #555;
    border-bottom: 2px solid #555;
    transform: rotate(45deg);
    transition: transform .18s ease, margin .18s ease;
}
.wpd-documents__accordion[open] .wpd-documents__chevron {
    transform: rotate(225deg);
    margin-top: 5px;
}
.wpd-documents__content {
    padding: 21px 22px 24px 70px;
    min-height: 65px;
    border-top: 1px solid var(--wpd-border);
    background: #fff;
    overflow-wrap: anywhere;
}
.wpd-documents__content .sci-font + .sci-font:not(:empty) { margin-top: 14px; }
.wpd-documents__content .sci-font { max-width: 100%; }
.wpd-documents__help {
    margin: 0 0 11px;
    color: var(--wpd-muted);
    font-size: .94rem;
    line-height: 1.55;
}
.wpd-documents__status {
    margin: 0 0 17px;
    font-size: .91rem;
    line-height: 1.55;
    color: var(--wpd-text);
}
.wpd-documents__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 45px;
    max-width: 100%;
    padding: 11px 17px;
    border: 1px solid var(--wpd-accent);
    border-radius: 4px;
    background-color: var(--wpd-accent);
    color: #fff !important;
    font: inherit;
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    text-decoration: none !important;
    white-space: normal;
    overflow-wrap: anywhere;
    cursor: pointer;
    transition: filter .17s ease, background-color .17s ease;
}
.wpd-documents__button:hover,
.wpd-documents__button:focus {
    color: #fff !important;
    filter: brightness(.92);
}
.wpd-documents__button--outline {
    color: var(--wpd-accent) !important;
    background: #fff;
}
.wpd-documents__button--outline:hover,
.wpd-documents__button--outline:focus {
    color: var(--wpd-accent) !important;
    background: var(--wpd-tint);
    filter: none;
}
.wpd-documents__reference {
    max-width: 70ch;
    margin: 12px 0 0;
    color: var(--wpd-muted);
    font-size: .83rem;
    line-height: 1.5;
}
.wpd-documents__footnote {
    margin: 13px 0 0;
    padding: 0 1px;
    color: var(--wpd-muted);
    font-size: .8rem;
    overflow-wrap: anywhere;
}
.wpd-documents__footnote strong { color: var(--wpd-text); font-weight: 600; }
.wpd-documents [hidden] { display: none !important; }
/* Tablet: die Inhalte unter dem Label beginnen näher am linken Rand. */
@media (max-width: 991.98px) {
    .wpd-documents { margin-top: 29px; margin-bottom: 38px; }
    .wpd-documents__accordion > summary { min-height: 61px; padding: 12px 17px; }
    .wpd-documents__content { padding: 19px 18px 23px 63px; }
}
/* Smartphone: einspaltig, gut antippbar und ohne seitlichen Überlauf. */
@media (max-width: 575.98px) {
    .wpd-documents { margin-top: 24px; margin-bottom: 30px; }
    .wpd-documents__title { font-size: 1.38rem; }
    .wpd-documents__lead { font-size: .91rem; margin-bottom: 17px; }
    .wpd-documents__accordion > summary { min-height: 60px; padding: 11px 12px; gap: 11px; font-size: .88rem; }
    .wpd-documents__summary-text { gap: 9px; }
    .wpd-documents__glyph { width: 30px; height: 30px; flex-basis: 30px; }
    .wpd-documents__icon { width: 18px; height: 18px; }
    .wpd-documents__tag { font-size: .62rem; padding: 2px 5px; }
    .wpd-documents__content { padding: 17px 14px 21px; min-height: 0; }
    .wpd-documents__button { width: 100%; }
    .wpd-documents__footnote { font-size: .76rem; line-height: 1.6; }
}
@media (prefers-reduced-motion: reduce) {
    .wpd-documents__accordion > summary,
    .wpd-documents__chevron,
    .wpd-documents__button { transition: none; }
}

/* ========================================
   WÖHRLE / ZENIT THEME ANPASSUNG
   ======================================== */

.wpd-documents {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 18px 0 20px;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

/* Überschrift wie die Produktinformationen */
.wpd-documents__eyebrow {
    display: none;
}

.wpd-documents__title {
    font-family: inherit;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: normal;
    margin: 0 0 5px;
}

.wpd-documents__lead {
    font-family: inherit;
    font-size: .9em;
    line-height: 1.5;
    margin: 0 0 14px;
    max-width: none;
}

/* Akkordeons: schmaler und dezenter */
.wpd-documents__list {
    border: 0;
    border-radius: 0;
    overflow: visible;
}

.wpd-documents__accordion {
    border: 1px solid #dedede;
}

.wpd-documents__accordion + .wpd-documents__accordion {
    border-top: 0;
}

.wpd-documents__accordion > summary {
    min-height: 43px;
    padding: 8px 12px;
    gap: 12px;
    font-family: inherit;
    font-size: .9em;
    font-weight: 600;
    line-height: 1.4;
    background: #fafafa;
}

.wpd-documents__accordion[open] > summary {
    background: #f7f7f7;
    box-shadow: none;
    border-left: 3px solid #b51c49;
    padding-left: 9px;
}

/* Kleine, einheitliche Symbole */
.wpd-documents__summary-text {
    gap: 9px;
}

.wpd-documents__glyph {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    background: #fff;
}

.wpd-documents__icon {
    width: 15px;
    height: 15px;
}

.wpd-documents__tag {
    font-size: .65em;
    padding: 2px 5px;
}

/* OXOMI-Inhalte ohne großen Innenabstand */
.wpd-documents__content {
    min-height: 0;
    padding: 12px 14px 14px;
    background: #fff;
}

/* Kleine Fußnote */
.wpd-documents__footnote {
    margin-top: 8px;
    font-size: .75em;
}

/* Tablet */
@media (max-width: 991.98px) {
    .wpd-documents {
        margin-top: 16px;
    }
    .wpd-documents__content {
        padding: 12px;
    }
}

/* Smartphone */
@media (max-width: 575.98px) {
    .wpd-documents {
        width: 100%;
        margin: 14px 0;
        padding: 0;
    }
    .wpd-documents__title {
        font-size: 1.25rem;
    }
    .wpd-documents__accordion > summary {
        min-height: 44px;
        padding: 9px 10px;
    }
    .wpd-documents__accordion[open] > summary {
        padding-left: 7px;
    }
    .wpd-documents__content {
        padding: 10px;
    }
}

