/* Ergaenzungen fuer die gesaeuberten Magento-Seiten (ohne RequireJS/Knockout). */
[data-role="content"][aria-hidden="true"] { display: none; }

/* PDP-/Header-Modale (Magento: .pdp-modal, geoeffnet ueber .modal-open.pdp-modal-<n>) */
.pdp-modal { display: none !important; }
.pdp-modal.plattform-offen { display: block !important; position: fixed; z-index: 1000; inset: 5vh 50% auto auto; transform: translateX(50%);
  width: min(720px, calc(100vw - 32px)); max-height: 90vh; overflow: auto; background: #fff; border-radius: 6px; padding: 24px; box-shadow: 0 10px 40px rgba(0,0,0,.3); }
.plattform-schleier { position: fixed; inset: 0; z-index: 999; background: rgba(0,0,0,.45); }
.plattform-zu { position: sticky; top: 0; float: right; border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; }
.modal-open { cursor: pointer; }

/* Owl-Carousel ohne JS: horizontal scrollbar statt verborgen */
.owl-carousel { display: flex !important; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.owl-carousel > .item { flex: 0 0 calc(25% - 12px); scroll-snap-align: start; }
@media (max-width: 767px) { .owl-carousel > .item { flex-basis: 80%; } }

/* Produkt-Reiter: nur der aktive Inhalt sichtbar (Theme blendet ohne JS sonst evtl. alle ein/aus) */
.tabs-content > article { display: none; }
.tabs-content > article.current { display: block; }
.tabs-nav .tab-link { cursor: pointer; }
/* FAQ */
.tb-faq-question { cursor: pointer; }
/* Minicart (Inhalt aus plattform.js, eigene pf-mc-Klassen gegen das Magento-Minicart-CSS) */
.minicart-wrapper { position: relative; }
.minicart-wrapper .block-minicart { display: none !important; }
.minicart-wrapper.active .block-minicart { display: block !important; position: absolute !important; right: 0 !important; left: auto !important; top: calc(100% + 6px) !important; z-index: 1000; width: 380px !important; max-width: calc(100vw - 32px); margin: 0 !important; padding: 0 !important; background: #fff; border: 1px solid #ccc; box-shadow: 0 4px 14px rgba(0,0,0,.15); box-sizing: border-box; text-align: left; }
.minicart-wrapper.active .block-minicart::before, .minicart-wrapper.active .block-minicart::after { display: none !important; }
@media (max-width: 767px) {
  .minicart-wrapper.active .block-minicart { position: fixed !important; left: 16px !important; right: 16px !important; top: 72px !important; width: auto !important; max-width: none; }
}
.pf-mc { position: relative; padding: 18px 18px 8px; font-size: 14px; line-height: 1.4; color: #333; }
.pf-mc-zu { position: absolute; right: 6px; top: 2px; background: none; border: 0; font-size: 26px; line-height: 1; padding: 4px 8px; cursor: pointer; color: #555; }
.pf-mc-leer { margin: 12px 0 16px; text-align: center; }
.pf-mc-kopf { display: flex; justify-content: space-between; align-items: flex-end; margin: 0 28px 12px 0; }
.pf-mc-summe { text-align: right; font-weight: 700; font-size: 18px; }
.pf-mc-summe small { display: block; font-weight: 400; font-size: 12px; color: #777; }
.pf-mc-kasse { display: block; text-align: center; padding: 12px; background: #f05600; color: #fff !important; font-weight: 700; font-size: 16px; text-decoration: none !important; border-radius: 3px; }
.pf-mc-kasse:hover { background: #d84d00; }
.pf-mc-liste { list-style: none; margin: 14px 0 0; padding: 0; max-height: 50vh; overflow-y: auto; border-top: 1px solid #e5e5e5; }
.pf-mc-pos { display: flex; gap: 12px; padding: 12px 0; margin: 0; border-bottom: 1px solid #eee; }
.pf-mc-pos:last-child { border-bottom: 0; }
.pf-mc-bild { flex: 0 0 80px; }
.pf-mc-bild img { width: 80px; height: 80px; object-fit: contain; display: block; }
.pf-mc-text { flex: 1; min-width: 0; }
.pf-mc-name { color: #333 !important; font-weight: 600; text-decoration: none; }
.pf-mc-optionen { color: #666; font-size: 13px; margin: 4px 0 6px; }
.pf-mc-zeile { display: flex; justify-content: space-between; }
.pf-mc-zeile s { color: #999; font-size: 12px; }
.pf-mc-aktionen { display: flex; gap: 14px; margin-top: 6px; font-size: 12px; }
.pf-mc-bearbeiten { color: #f05600 !important; font-weight: 600; }
.pf-mc-weg { color: #777 !important; }
.pf-mc-bild img { background: #f4f4f4; }
.pf-mc-hinweis { font-size: 12px; color: #666; margin: 8px 0 0; line-height: 1.4; }
