/* ═══════════════════════════════════════════════════════════════════════════
   Produktseite (templates/customized/produktseite/item.tpl), 26.11.2026

   Geladen wird die Datei nur von diesem Template (<link> am Kopf der Vorlage),
   also nur auf Artikeln, denen das Template im Backend zugewiesen ist.

   Jeder Selektor beginnt mit #pd - oder mit #pd_leiste / #pd_gross /
   #pg_kaufleiste.pd_kaufleiste fuer die drei Elemente, die ausserhalb von #pd
   stehen (Leisten haengt das Skript an <body>, der Dialog liegt in der obersten
   Ebene). Damit beruehrt keine Regel eine andere Seite, und die ID schlaegt die
   globalen Regeln des Shops (* { margin:0; padding:0 }, .content p, h3 ...).

   Schrift: Der Shop setzt Fett ueber eine eigene Schriftdatei
   ('noto_sansbold'), nicht ueber font-weight - deshalb hier ebenso.
   Farben sind die des Shops: Dunkelblau #0E2E7B (Kopf), Kaufknopf #C9477B,
   Hellblau #70B4EB, Lieferstatus-Gruen #358000.
   ═══════════════════════════════════════════════════════════════════════════ */
#pd,
#pd_leiste,
#pd_gross,
#pg_kaufleiste.pd_kaufleiste {
    --pd-navy: #0E2E7B;
    --pd-pink: #C9477B;
    --pd-pink2: #BE326E;
    --pd-blau: #70B4EB;
    --pd-zart: #F5F9FD;
    --pd-hell: #EAF4FC;
    --pd-text: #3A3B3D;
    --pd-grau: #6B7078;
    --pd-linie: #DFE4EA;
    --pd-flaeche: #F6F7F9;
    --pd-gruen: #358000;
    --pd-r: 14px;
    --pd-rk: 10px;
}
#pd {
    width: 100%;
    align-self: stretch;
    color: var(--pd-text);
    font-size: 16px;
    line-height: 1.55;
    text-align: left;
    -webkit-hyphens: manual;
    hyphens: manual;
}
#pd *,
#pd *::before,
#pd *::after {
    box-sizing: border-box;
}
#pd .pd_in {
    padding: 0 12px;
}
#pd a {
    color: var(--pd-navy);
}
#pd h1,
#pd h2,
#pd h3 {
    padding: 0;
    color: var(--pd-navy);
    font-family: 'noticia_textbold', Georgia, serif;
    font-weight: normal;
    line-height: 1.2;
}
#pd b,
#pd strong {
    font-family: 'noto_sansbold', Arial, sans-serif;
    font-weight: normal;
}
#pd [hidden] {
    display: none !important;
}

/* ── Brotkrume ─────────────────────────────────────────────────────────── */
#pd .breadcrumb {
    padding: 14px 0 6px;
    background: none;
    font-size: 13px;
}
#pd .breadcrumb .breadcrumb_first_span {
    padding: 0;
}
#pd .breadcrumb a,
#pd .breadcrumb .breadcrumb-trenner {
    color: var(--pd-grau);
    text-decoration: none;
}
#pd .breadcrumb .breadcrumbActive {
    color: var(--pd-text);
    font-weight: normal;
    text-decoration: none;
}

/* ═══ Oberer Bereich: Bilder links, Kauf rechts ═════════════════════════ */
#pd .pd_hero {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
    gap: 44px;
    align-items: start;
    padding: 10px 0 48px;
}
/* .pd_galerie ist die Spalte (sie klebt), .pd_gal der Block EINES Artikels -
   auf der Stammseite steht je Ausfuehrung einer da, sichtbar ist der gewaehlte */
#pd .pd_galerie {
    position: sticky;
    top: 84px;
    min-width: 0;
}
#pd .pd_gal {
    display: grid;
    gap: 14px;
    min-width: 0;
}
#pd .pd_buehne {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 20px;
    background: var(--pd-zart);
}
#pd .pd_buehne.pd_zoombar {
    cursor: zoom-in;
}
/* multiply: der weisse Grund der Produktfotos nimmt die Farbe der Flaeche an,
   das Foto steht ohne Kasten darin. */
#pd .pd_buehne img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    mix-blend-mode: multiply;
}
#pd .pd_plak {
    position: absolute;
    left: 16px;
    top: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(14, 46, 123, .12);
    color: var(--pd-navy);
    font-family: 'noto_sansbold', Arial, sans-serif;
    font-size: 13px;
}
#pd .pd_plak::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pd-pink);
}
#pd .pd_lupe {
    position: absolute;
    right: 16px;
    bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(14, 46, 123, .12);
    color: var(--pd-navy);
    font-size: 13px;
}
#pd .pd_bildhinweis {
    margin: 0;
    color: var(--pd-grau);
    font-size: 12.5px;
    text-align: center;
}

/* Kacheln unter dem Bild: weitere Bilder und Videos */
#pd .pd_kacheln {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
#pd .pd_kacheln.pd_n1,
#pd .pd_kacheln.pd_n2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
#pd .pd_kacheln.pd_n3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
#pd .pd_k {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border: 2px solid transparent;
    border-radius: var(--pd-r);
    background: var(--pd-zart);
}
#pd .pd_k img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    mix-blend-mode: multiply;
}
#pd .pd_k_bild.pd_akt {
    border-color: var(--pd-navy);
}
#pd .pd_k_vid {
    background: #000;
}
#pd .pd_k_vid img {
    object-fit: cover;
    mix-blend-mode: normal;
    opacity: .88;
}
#pd .pd_play {
    position: absolute;
    left: 50%;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
    transform: translate(-50%, -50%);
}
#pd .pd_play::before {
    content: "";
    margin-left: 5px;
    border-left: 17px solid var(--pd-pink);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}
#pd .pd_k_txt {
    position: absolute;
    left: 12px;
    top: 12px;
    padding: 5px 12px;
    border-radius: 999px;
    background: #fff;
    color: var(--pd-navy);
    font-family: 'noto_sansbold', Arial, sans-serif;
    font-size: 12.5px;
    line-height: 1.3;
}
#pd .pd_n3 .pd_play,
#pd .pd_n4 .pd_play {
    width: 40px;
    height: 40px;
}
#pd .pd_n3 .pd_play::before,
#pd .pd_n4 .pd_play::before {
    margin-left: 4px;
    border-left-width: 13px;
    border-top-width: 8px;
    border-bottom-width: 8px;
}
#pd .pd_n3 .pd_k_txt,
#pd .pd_n4 .pd_k_txt {
    display: none;
}

/* ── Kaufbereich ──────────────────────────────────────────────────────── */
#pd .pd_kauf {
    min-width: 0;
}
#pd .pd_zurueck {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 14px;
}
#pd .pd_kauf h1 {
    margin: 4px 0 10px;
    font-size: 36px;
}
#pd .pd_wertung {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin-bottom: 18px;
    font-size: 14.5px;
}
#pd .pd_wertung a {
    color: var(--pd-grau);
}
#pd .pd_sterne {
    display: inline-flex;
    gap: 2px;
    line-height: 0;
}
#pd .pd_sterne img {
    width: 18px;
    height: auto;
}
#pd .pd_hersteller {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    color: var(--pd-grau);
    font-size: 13px;
}
#pd .pd_hersteller img {
    max-height: 44px;
    width: auto;
}
#pd form#basket {
    float: none;
    display: block;
    width: auto;
    margin: 0;
}
#pd .pd_lab {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 8px;
    color: var(--pd-navy);
    font-family: 'noto_sansbold', Arial, sans-serif;
    font-size: 13px;
}
#pd .pd_lab span {
    color: var(--pd-grau);
    font-family: 'noto_sansregular', Arial, sans-serif;
}

/* Staffelkarten */
#pd .pd_staffel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    margin-bottom: 22px;
}
#pd .pd_st {
    position: relative;
    padding: 12px 14px;
    border: 1px solid var(--pd-linie);
    border-radius: var(--pd-rk);
    background: #fff;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}
#pd .pd_st:hover {
    border-color: #A9B6C8;
}

/* Wahl der Ausfuehrung (Stammseite): Karten wie die Staffel */
#pd .pd_intro {
    margin: 0 0 18px;
    font-size: 15px;
}
#pd .pd_chips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
    gap: 10px;
    margin-bottom: 22px;
}
#pd .pd_chip {
    display: block;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid var(--pd-linie);
    border-radius: var(--pd-rk);
    background: #fff;
    color: var(--pd-text);
    text-decoration: none;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}
#pd .pd_chip:hover {
    border-color: #A9B6C8;
    text-decoration: none;
}
#pd .pd_chip b {
    display: block;
    color: var(--pd-navy);
    font-size: 16px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}
#pd .pd_chip > span {
    display: block;
    font-size: 14.5px;
}
#pd .pd_chip small {
    display: block;
    color: var(--pd-grau);
    font-size: 12.5px;
}
#pd .pd_chip.pd_akt {
    border-color: var(--pd-navy);
    box-shadow: inset 0 0 0 1px var(--pd-navy);
    background: var(--pd-zart);
}
#pd .pd_chip.pd_aus {
    border-style: dashed;
    background: var(--pd-flaeche);
}
#pd .pd_chip.pd_aus b,
#pd .pd_chip.pd_aus > span {
    color: var(--pd-grau);
}
/* 2 px Rahmen ohne Sprung: der zweite Pixel kommt als Schatten nach innen */
#pd .pd_st.pd_akt {
    border-color: var(--pd-navy);
    box-shadow: inset 0 0 0 1px var(--pd-navy);
    background: var(--pd-zart);
}
/* Stufe und Ersparnis in einer Zeile; reicht der Platz nicht (drei Karten,
   schmale Spalte), rueckt die Ersparnis darunter statt ueber den Text */
#pd .pd_st .pd_st_kopf {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px 8px;
}
#pd .pd_st b {
    color: var(--pd-navy);
    font-size: 15.5px;
    white-space: nowrap;
}
#pd .pd_st > span {
    display: block;
    font-size: 14px;
}
#pd .pd_st small {
    display: block;
    color: var(--pd-grau);
    font-size: 12px;
}
#pd .pd_st em {
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--pd-gruen);
    color: #fff;
    font-family: 'noto_sansbold', Arial, sans-serif;
    font-size: 11.5px;
    font-style: normal;
    line-height: 1.5;
    white-space: nowrap;
}

/* Preis */
#pd .pd_uvp {
    color: var(--pd-grau);
    font-size: 14px;
}
#pd .pd_preiszeile {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 14px;
    margin-bottom: 14px;
}
#pd .pd_preis {
    color: var(--pd-navy);
    font-family: 'noticia_textbold', Georgia, serif;
    font-size: 40px;
    line-height: 1;
    white-space: nowrap;
}
#pd .pd_preisinfo {
    color: var(--pd-grau);
    font-size: 13px;
    line-height: 1.4;
}
#pd .pd_preisinfo a {
    color: var(--pd-grau);
}
#pd .pd_summe {
    margin: -6px 0 14px;
    color: var(--pd-text);
    font-size: 14px;
}
#pd .pd_sparen,
#pd .pd_aufschlag {
    margin-bottom: 12px;
    font-size: 14px;
}
#pd .pd_hinweis {
    margin: 0 0 12px;
    color: var(--pd-grau);
    font-size: 13px;
}

/* Menge, Kaufknopf, Merkzettel - eine Zeile, alle 54 px hoch */
#pd .pd_aktion {
    display: flex;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 18px;
}
#pd .pd_kaufteil {
    display: flex;
    flex: 1 1 auto;
    align-items: stretch;
    gap: 10px;
    min-width: 0;
}
#pd .pd_menge {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    height: 54px;
    border: 1px solid #C5CCD6;
    border-radius: var(--pd-rk);
    background: #fff;
}
#pd .pd_menge .item_stepper {
    display: inline-flex;
    align-items: center;
    gap: 0;
    height: 100%;
}
#pd .pd_menge .item_stepper_btn {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 100%;
    color: var(--pd-grau);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}
#pd .pd_menge .item_stepper_btn:hover {
    color: var(--pd-navy);
}
/* 16 px: darunter zoomt iOS beim Antippen in die Seite */
#pd .pd_menge .mengeninput {
    width: 44px;
    height: 100%;
    padding: 0;
    border: 0;
    background: none;
    color: var(--pd-navy);
    font-family: 'noto_sansbold', Arial, sans-serif;
    font-size: 17px;
    text-align: center;
    -moz-appearance: textfield;
}
#pd .pd_menge .mengeninput::-webkit-outer-spin-button,
#pd .pd_menge .mengeninput::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
#pd .pd_cta {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: auto;
    min-width: 0;
    height: 54px;
    margin: 0;
    padding: 0 16px;
    border-radius: var(--pd-rk);
    background: var(--pd-pink);
    box-shadow: 0 6px 16px rgba(201, 71, 123, .28);
    color: #fff;
    font-family: 'noto_sansbold', Arial, sans-serif;
    font-size: 17px;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}
#pd .pd_cta:hover,
#pd .pd_cta:active {
    background: var(--pd-pink2);
}
#pd .pd_cta img {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
}
#pd .pd_merken {
    display: flex;
    flex: 0 0 54px;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    padding: 0;
    border-radius: var(--pd-rk);
}
#pd .pd_merken img {
    display: block;
    width: 28px;
    height: 28px;
    min-height: 0;
}
#pd .pd_vergriffen {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    min-height: 54px;
    padding: 0 16px;
    border-radius: var(--pd-rk);
    background: var(--pd-flaeche);
    color: var(--pd-text);
}
#pd .pd_hotline {
    display: block;
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: var(--pd-rk);
    background: var(--pd-zart);
    font-size: 14px;
    text-decoration: none;
}
#pd .pd_hotline strong {
    display: block;
    color: var(--pd-navy);
}
#pd .pd_hotline span {
    color: var(--pd-text);
}
#pd .pd_addons,
#pd .options {
    margin-bottom: 18px;
}

/* Zusagen unter dem Kaufknopf */
#pd .pd_zusagen {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 14px 0 0;
    border-top: 1px solid var(--pd-linie);
    list-style: none;
    font-size: 14px;
}
/* Keine Farbe an den Zeilen: die Lieferzeile bekommt ihre von .liefer_0/1/2 */
#pd .pd_zusagen li {
    display: flex;
    align-items: flex-start;
    gap: 4px 10px;
    margin: 0;
    padding: 0;
}
#pd .pd_zusagen li > span:not(.pd_punkt) {
    min-width: 0;
}
/* Nur die Zahlungszeile bricht um: die Logos stehen unter dem Text */
#pd .pd_zusagen .pd_z_zahlung {
    flex-wrap: wrap;
}
#pd .pd_punkt {
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    margin-top: 7px;
    border-radius: 50%;
    background: currentColor;
}
#pd .pd_punkt.pd_blau {
    background: var(--pd-blau);
}
/* Der Lieferstatus traegt die Farbe seiner Stufe (.liefer_0/1/2 des Shops) */
#pd .pd_z_liefer {
    font-family: 'noto_sansbold', Arial, sans-serif;
}
#pd .pd_zahlarten {
    display: flex;
    flex: 1 0 100%;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding-left: 19px;
}
#pd .pd_zahlarten img {
    width: auto;
    height: 30px;
    padding: 3px 6px;
    border: 1px solid var(--pd-linie);
    border-radius: 6px;
    background: #fff;
}
#pd .pd_uebersicht {
    display: inline-block;
    margin-top: 18px;
    color: var(--pd-grau);
    font-size: 14px;
}

/* ═══ Abschnitte unter dem oberen Bereich ═══════════════════════════════ */
#pd .pd_bl {
    padding: 44px 0;
}
#pd .pd_bl.pd_grau {
    border-radius: 20px;
    background: var(--pd-flaeche);
}
#pd .pd_bl.pd_grau .pd_in {
    padding: 0 28px;
}
#pd .pd_h2 {
    margin: 0 0 22px;
    font-size: 28px;
}

/* Aufklapper */
#pd details {
    border-bottom: 1px solid var(--pd-linie);
}
/* Die obere Linie traegt die Huelle: auf der Stammseite stehen mehrere
   Bloecke (Text des Stamms, Aufklapper je Ausfuehrung) untereinander */
#pd .pd_dets {
    border-top: 1px solid var(--pd-linie);
}
#pd summary {
    position: relative;
    padding: 18px 44px 18px 0;
    color: var(--pd-navy);
    font-family: 'noticia_textbold', Georgia, serif;
    font-size: 18px;
    list-style: none;
    cursor: pointer;
}
#pd summary::-webkit-details-marker {
    display: none;
}
#pd summary::after {
    content: "+";
    position: absolute;
    right: 6px;
    top: 10px;
    color: var(--pd-grau);
    font-family: 'noto_sansregular', Arial, sans-serif;
    font-size: 26px;
}
#pd details[open] > summary::after {
    content: "\2013";
}
#pd .pd_dt {
    padding: 0 0 20px;
    font-size: 15px;
}
#pd .pd_dt:empty {
    min-height: 40px;
}
/* Die Linien der Aufklapper laufen ueber die ganze Breite, der Fliesstext
   bleibt lesbar schmal */
#pd .pd_text {
    max-width: 860px;
    -webkit-hyphens: auto;
    hyphens: auto;
}
#pd .pd_text p {
    margin: 0 0 10px;
    line-height: 1.55;
}
#pd .pd_text ul,
#pd .pd_text ol {
    margin: 0 0 10px;
    padding-left: 20px;
}
#pd .pd_text h2,
#pd .pd_text h3,
#pd .pd_text h4 {
    margin: 14px 0 6px;
    padding: 0;
    font-size: 17px;
}
#pd .pd_text img {
    max-width: 100%;
    height: auto;
}
#pd .pd_text table {
    max-width: 100%;
}
#pd .pd_klein {
    color: var(--pd-grau);
    font-size: 13px;
}
#pd .pd_doks {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
}
#pd .pd_dok {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border: 1px solid var(--pd-linie);
    border-radius: var(--pd-rk);
    color: var(--pd-text);
    text-decoration: none;
}
#pd .pd_dok:hover {
    border-color: var(--pd-navy);
}
#pd .pd_dok i {
    display: flex;
    flex: 0 0 auto;
    align-items: flex-end;
    justify-content: center;
    width: 40px;
    height: 48px;
    padding-bottom: 6px;
    border-radius: 5px;
    background: #B3261E;
    color: #fff;
    font-family: 'noto_sansbold', Arial, sans-serif;
    font-size: 12px;
    font-style: normal;
}
#pd .pd_dok b {
    display: block;
    color: var(--pd-navy);
}
#pd .pd_dok span span {
    color: var(--pd-grau);
    font-size: 13px;
}

/* ── Bewertungen ──────────────────────────────────────────────────────── */
#pd .pd_bew {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 36px;
    align-items: start;
}
#pd .pd_note {
    position: sticky;
    top: 84px;
    padding: 24px;
    border: 1px solid var(--pd-linie);
    border-radius: var(--pd-r);
    background: #fff;
}
#pd .pd_note_zahl {
    color: var(--pd-navy);
    font-family: 'noticia_textbold', Georgia, serif;
    font-size: 58px;
    line-height: 1;
}
#pd .pd_note_zahl small {
    color: var(--pd-grau);
    font-family: 'noto_sansregular', Arial, sans-serif;
    font-size: 20px;
}
#pd .pd_note .pd_sterne {
    margin: 10px 0 4px;
}
#pd .pd_note .pd_sterne img {
    width: 24px;
}
#pd .pd_note p {
    margin: 0 0 16px;
    color: var(--pd-grau);
    font-size: 14px;
}
#pd .pd_vert {
    display: grid;
    grid-template-columns: auto 1fr 30px;
    gap: 6px 10px;
    align-items: center;
    font-size: 13px;
}
#pd .pd_vert > span:nth-child(3n) {
    color: var(--pd-grau);
    text-align: right;
}
#pd .pd_b {
    display: block;
    height: 8px;
    overflow: hidden;
    border-radius: 99px;
    background: #E8EBF0;
}
#pd .pd_b i {
    display: block;
    height: 100%;
    border-radius: 99px;
    background: #F2A900;
}
#pd .pd_kn {
    display: block;
    margin-top: 18px;
    padding: 10px;
    border: 1.5px solid var(--pd-navy);
    border-radius: var(--pd-rk);
    font-family: 'noto_sansbold', Arial, sans-serif;
    text-align: center;
    text-decoration: none;
}
/* Jede Karte so hoch wie ihr Text: viele Bewertungen bestehen nur aus
   Sternen, daneben steht manchmal ein langer Text */
#pd .pd_stimmen {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}
#pd .pd_stimme {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 20px;
    border: 1px solid var(--pd-linie);
    border-radius: var(--pd-r);
    background: #fff;
    font-size: 14.5px;
}
#pd .pd_r_kopf {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
#pd .pd_r_kopf .pd_sterne img {
    width: 16px;
}
#pd .pd_r_datum,
#pd .pd_r_von {
    color: var(--pd-grau);
    font-size: 12.5px;
}
#pd .pd_r_titel {
    margin: 0;
    font-family: 'noto_sansbold', Arial, sans-serif;
    font-size: 15.5px;
    line-height: 1.35;
}
#pd .pd_r_text {
    overflow-wrap: anywhere;
    -webkit-hyphens: auto;
    hyphens: auto;
}
#pd .pd_r_antwort {
    padding: 10px 12px;
    border-radius: var(--pd-rk);
    background: var(--pd-zart);
    font-size: 14px;
}
#pd .pd_r_antwort b {
    display: block;
    color: var(--pd-navy);
}
/* Karten, die das Skript auf der Stammseite baut: der Text kommt ohne Markup,
   seine Zeilenumbrueche bleiben */
#pd .pd_r_js .pd_r_text,
#pd .pd_r_js .pd_r_antwort {
    white-space: pre-line;
}
#pd .pd_bw_status {
    margin: 0;
    color: var(--pd-grau);
    font-size: 14.5px;
}
#pd .pd_stimmen:not(:empty) + .pd_bw_status {
    margin-top: 14px;
}
/* Stammseite: Bewertungen je Ausfuehrung waehlen */
#pd .pd_bw_wahl {
    display: grid;
    gap: 4px;
}
#pd .pd_note > div + .pd_bw_wahl {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--pd-linie);
}
#pd .pd_note > [hidden] + .pd_bw_wahl {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}
#pd .pd_bw_wahl > b {
    margin-bottom: 4px;
    color: var(--pd-navy);
    font-size: 13px;
}
#pd .pd_bw_var {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 40px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}
#pd .pd_bw_var:hover {
    background: var(--pd-flaeche);
}
#pd .pd_bw_var > span + span {
    color: var(--pd-grau);
    font-size: 13px;
    white-space: nowrap;
}
#pd .pd_bw_var.pd_akt {
    background: var(--pd-zart);
    color: var(--pd-navy);
    font-family: 'noto_sansbold', Arial, sans-serif;
}
#pd .pd_r_von {
    margin-top: auto;
}
#pd .rating_mehr {
    grid-column: 1 / -1;
    margin: 4px 0 0;
    text-align: center;
}
#pd .rating_mehr_knopf {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    border: 1.5px solid var(--pd-navy);
    border-radius: var(--pd-rk);
    background: #fff;
    color: var(--pd-navy);
    font-family: 'noto_sansbold', Arial, sans-serif;
    cursor: pointer;
}

/* ── Zubehoer ─────────────────────────────────────────────────────────── */
#pd .pd_zub {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
#pd .pd_zk {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--pd-linie);
    border-radius: var(--pd-r);
    background: #fff;
}
#pd .pd_zk_bild {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 112px;
    height: 112px;
    overflow: hidden;
    border-radius: var(--pd-rk);
    background: var(--pd-zart);
}
#pd .pd_zk_bild img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    mix-blend-mode: multiply;
}
/* .basketImg ist der Delegationsbehaelter des Kerns; der Shop gibt ihm
   Kaufknopf-Farbe und float (styles.css) - hier traegt der Knopf darin die
   Gestaltung */
#pd .pd_zk .basketImg {
    float: none;
    background: none;
    text-align: left;
}
#pd .pd_zk_name {
    display: block;
    color: var(--pd-navy);
    font-family: 'noto_sansbold', Arial, sans-serif;
    font-size: 15.5px;
    line-height: 1.3;
    text-decoration: none;
}
#pd .pd_zk_preis {
    margin: 6px 0 10px;
    color: var(--pd-navy);
    font-family: 'noticia_textbold', Georgia, serif;
    font-size: 19px;
}
#pd .pd_dazu {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border: 1.5px solid var(--pd-pink);
    border-radius: 999px;
    color: var(--pd-pink);
    font-family: 'noto_sansbold', Arial, sans-serif;
    font-size: 13.5px;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}
#pd .pd_dazu:hover {
    background: var(--pd-pink);
    color: #fff;
}

/* ═══ Kaufleiste oben (Desktop) ═════════════════════════════════════════
   Erscheint, sobald der Kaufknopf nach oben aus dem Bild gerollt ist. Unter
   769 px uebernimmt die Leiste unten (#pg_kaufleiste, Regeln in styles.css). */
#pd_leiste {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 9999;
    border-bottom: 1px solid var(--pd-linie);
    background: #fff;
    box-shadow: 0 4px 18px rgba(14, 46, 123, .10);
    color: var(--pd-text);
    line-height: 1.3;
}
#pd_leiste[hidden],
#pd_leiste [hidden] {
    display: none;
}
#pd_leiste .pd_leiste_in {
    display: flex;
    align-items: center;
    gap: 16px;
    box-sizing: border-box;
    max-width: 1232px;
    margin: 0 auto;
    padding: 9px 12px;
}
#pd_leiste img {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border-radius: 8px;
    background: var(--pd-zart);
    object-fit: contain;
}
#pd_leiste .pd_leiste_name {
    flex: 1 1 auto;
    min-width: 0;
}
#pd_leiste .pd_leiste_name b {
    display: block;
    overflow: hidden;
    color: var(--pd-navy);
    font-family: 'noticia_textbold', Georgia, serif;
    font-size: 17px;
    font-weight: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
}
#pd_leiste .pd_leiste_name small {
    color: var(--pd-grau);
    font-size: 13px;
}
#pd_leiste .pd_leiste_sprung {
    display: flex;
    gap: 22px;
    font-size: 14px;
    white-space: nowrap;
}
#pd_leiste .pd_leiste_sprung a {
    color: var(--pd-text);
    text-decoration: none;
}
#pd_leiste .pd_leiste_sprung a:hover {
    color: var(--pd-navy);
    text-decoration: underline;
}
#pd_leiste .pd_leiste_preis {
    color: var(--pd-navy);
    font-family: 'noticia_textbold', Georgia, serif;
    font-size: 22px;
    font-weight: normal;
    white-space: nowrap;
}
#pd_leiste .pd_leiste_knopf {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 22px;
    border-radius: var(--pd-rk);
    background: var(--pd-pink);
    color: #fff;
    font-family: 'noto_sansbold', Arial, sans-serif;
    font-size: 15px;
    white-space: nowrap;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}
#pd_leiste .pd_leiste_knopf:hover {
    background: var(--pd-pink2);
}
@media screen and (max-width: 768px) {
    #pd_leiste {
        display: none;
    }
}
@media screen and (max-width: 1100px) {
    #pd_leiste .pd_leiste_sprung {
        display: none;
    }
}
/* Die Sprungziele der Leiste landen unter ihr, nicht dahinter */
#pd .pd_bl {
    scroll-margin-top: 76px;
}
/* Leiste unten am Telefon: der Preis in der Farbe dieser Seite */
#pg_kaufleiste.pd_kaufleiste .pg_kaufleiste_preis strong {
    color: var(--pd-navy);
}

/* ═══ Grosses Bild ══════════════════════════════════════════════════════ */
#pd_gross {
    max-width: 96vw;
    max-height: 94vh;
    margin: auto;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: var(--pd-r);
    background: #fff;
    cursor: zoom-out;
}
#pd_gross:not([open]) {
    display: none;
}
#pd_gross::backdrop {
    background: rgba(7, 23, 61, .78);
}
#pd_gross img {
    display: block;
    max-width: 96vw;
    max-height: 94vh;
    width: auto;
    height: auto;
    border-radius: var(--pd-r);
}
#pd_gross .pd_gross_zu {
    position: absolute;
    right: 8px;
    top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
    color: var(--pd-navy);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

/* ═══ Schmale Schirme ═══════════════════════════════════════════════════ */
@media screen and (max-width: 1100px) {
    #pd .pd_hero {
        gap: 28px;
    }
    #pd .pd_zub {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    #pd .pd_bew {
        grid-template-columns: 260px minmax(0, 1fr);
        gap: 24px;
    }
}
@media screen and (max-width: 1024px) {
    #pd .pd_cta img {
        display: none;
    }
    #pd .pd_cta {
        padding: 0 10px;
    }
}
@media screen and (max-width: 900px) {
    #pd .pd_stimmen {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* Eine Spalte ab 768 px - dieselbe Grenze wie die Kaufleisten */
@media screen and (max-width: 768px) {
    #pd .pd_hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        padding: 6px 0 28px;
    }
    #pd .pd_galerie {
        position: static;
    }
    #pd .pd_buehne {
        max-height: 520px;
    }
    /* Gibt es unter dem Bild nur Videos (keine weiteren Bilder), stehen sie
       in einer Spalte NACH dem Kaufbereich: Bild, Name, Preis, Knopf, dann das
       Video. Mit weiteren Bildern bleiben die Kacheln am Bild - sie tauschen
       es. display:contents macht die Teile der Galerie zu Zellen des Rasters. */
    #pd .pd_hero.pd_nurvideo .pd_galerie,
    #pd .pd_hero.pd_nurvideo .pd_gal {
        display: contents;
    }
    #pd .pd_hero.pd_nurvideo .pd_kauf {
        order: 2;
    }
    #pd .pd_hero.pd_nurvideo .pd_kacheln {
        order: 3;
    }
    #pd .pd_in,
    #pd .pd_bl.pd_grau .pd_in {
        padding: 0 16px;
    }
    #pd .breadcrumb {
        padding: 10px 0 4px;
        font-size: 12px;
    }
    #pd .pd_note {
        position: static;
    }
    #pd .pd_gal {
        gap: 10px;
    }
    #pd .pd_buehne {
        border-radius: 16px;
    }
    #pd .pd_lupe {
        display: none;
    }
    #pd .pd_kacheln {
        gap: 10px;
    }
    #pd .pd_k_txt {
        left: 8px;
        top: 8px;
        font-size: 11.5px;
    }
    #pd .pd_kauf h1 {
        font-size: 27px;
    }
    #pd .pd_chips {
        grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
        gap: 8px;
    }
    #pd .pd_chip {
        padding: 10px 12px;
    }
    #pd .pd_preis {
        font-size: 34px;
    }
    #pd .pd_menge .item_stepper_btn {
        width: 36px;
    }
    #pd .pd_menge .mengeninput {
        width: 38px;
    }
    #pd .pd_cta {
        font-size: 16px;
    }
    #pd .pd_bl {
        padding: 30px 0;
    }
    #pd .pd_bl.pd_grau {
        border-radius: 16px;
    }
    #pd .pd_h2 {
        margin-bottom: 16px;
        font-size: 23px;
    }
    #pd .pd_bew {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }
    #pd .pd_zub {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }
    #pd .pd_zk {
        grid-template-columns: 84px minmax(0, 1fr);
    }
    #pd .pd_zk_bild {
        width: 84px;
        height: 84px;
    }
    #pd .pd_dazu {
        min-height: 40px;
    }
}
