/* ── Konfigurator Wrapper ── */
.pf-configurator-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
    color: #fff;
}

/* ── Einzelne Boxen ── */
.pf-config-box {
    background: var(--new-blue);
    border-radius: 20px;
    padding: 40px 50px;
}

/* ── Features Box ── */
.pf-features-box {
    padding: 16px 20px;
}
.pf-features-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 16px;
    margin: 0;
    padding: 0;
}
.pf-features-list li {
    font-size: 0.82em;
    color: #c5c9d8;
    line-height: 1.5;
    padding-left: 12px;
    position: relative;
}
.pf-features-list li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: #e95178;
}

/* ── Config Sektion innerhalb Box ── */
.pf-config-section {
    margin-bottom: 40px;
}
.pf-config-section:last-child {
    margin-bottom: 0;
}

/* ── Labels ── */
.pf-config-label {
    display: block;
    font-size: 18px;
    color: var(--photonfocus-white);
    margin-bottom: 20px;
    font-weight: 400;
    text-transform: none;
}

/* ── Optionen ── */
.pf-config-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.pf-option {
    border-radius: 20px;
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.18s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    line-height: 1;
    color: var(----photonfocus-white);
    font-weight: 600;
}
.pf-option small {
    font-size: 0.75em;
    color: #8b91a8;
}
.pf-option:hover,
.pf-option--active {
    border-color: #e95178;
    color: #fff;
    background: transparent;
}
.pf-option--hidden {
    display: none;
}

/* ── Selects ── */
.pf-select-wrap {
    position: relative;
    margin-bottom: 20px;
}
.pf-select-wrap:last-child {
    margin-bottom: 0;
}
.pf-select {
    width: 100%;
    background: #252c42;
    border: 1px solid #353d58;
    color: var(--photonfocus-white);
    border-radius: 10px;
    padding: 13px 40px 13px 16px;
    font-size: 0.9em;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: border-color 0.18s;
}
.pf-select:focus {
    outline: none;
    border-color: #e95178;
    color: #fff;
}
.pf-select option {
    background: #252c42;
    color: #c5c9d8;
}
.pf-select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #8b91a8;
    pointer-events: none;
    font-size: 1.1em;
}

/* ── Aktionen ── */
.pf-config-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
    padding: 0;
}
.pf-datasheet-btn-wrap {
    padding-top: 4px;
}

/* ── Buttons ── */
.pf-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 24px;
    font-size: 0.88em;
    cursor: pointer;
    border: none;
    transition: all 0.18s ease;
    font-weight: 500;
    white-space: nowrap;
}
.pf-btn--outline {
    background: transparent;
    border: 1px solid #353d58;
    color: #c5c9d8;
}
.pf-btn--outline:hover {
    border-color: #8b91a8;
    color: #fff;
}
.pf-btn--primary {
    background: #e95178;
    color: #fff;
    border: 1px solid transparent;
}
.pf-btn--primary:hover {
    background: #d42d60;
}
.pf-btn--ghost {
    background: transparent;
    border: none;
    color: #8b91a8;
    padding: 8px 0;
    font-size: 0.82em;
}
.pf-btn--ghost:hover {
    color: #c5c9d8;
}

/* ── Feedback ── */
#pf-feedback {
    margin-top: 10px;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.88em;
}
#pf-feedback.pf-success {
    background: #1a3328;
    color: #4ade80;
    border: 1px solid #2d5a42;
}
#pf-feedback.pf-error {
    background: #3a1a22;
    color: #f87171;
    border: 1px solid #5a2d36;
}

/* ── SKU + Kategorie ausblenden ── */
.product_meta { display: none !important; }

/* ── Inquiry Formular Seite ── */
.pf-inquiry-wrap { max-width: 800px; }
.pf-inquiry-empty { color: #8b91a8; }
.pf-inquiry-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2em;
    font-size: 0.92em;
}
.pf-inquiry-table th,
.pf-inquiry-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #2a3048;
    text-align: left;
}
.pf-inquiry-table thead th {
    font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8b91a8;
}
.pf-remove-item {
    background: none;
    border: none;
    color: #8b91a8;
    font-size: 1.3em;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
    transition: color 0.15s;
}
.pf-remove-item:hover { color: #e95178; }
.pf-inquiry-form-title { margin-top: 2em; }
.pf-inquiry-form { max-width: 520px; }
.pf-form-row {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.pf-form-row label {
    font-size: 0.82em;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #8b91a8;
    font-weight: 600;
}
.pf-form-row input,
.pf-form-row textarea {
    background: #252c42;
    border: 1px solid #353d58;
    color: #c5c9d8;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.92em;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.18s;
    font-family: inherit;
}
.pf-form-row input:focus,
.pf-form-row textarea:focus {
    outline: none;
    border-color: #e95178;
    color: #fff;
}
.pf-form-row textarea {
    resize: vertical;
    min-height: 110px;
}
.pf-form-actions { margin-top: 8px; }
#pf-inquiry-feedback {
    margin-top: 14px;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.88em;
}
#pf-inquiry-feedback.pf-success {
    background: #1a3328;
    color: #4ade80;
    border: 1px solid #2d5a42;
}
#pf-inquiry-feedback.pf-error {
    background: #3a1a22;
    color: #f87171;
    border: 1px solid #5a2d36;
}

/* ── Datenblatt Modal ── */
#pf-datasheet-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
}
.pf-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.pf-modal-box {
    background: #fff;
    border-radius: 4px;
    padding: 36px 40px;
    max-width: 460px;
    width: 100%;
    position: relative;
    box-shadow: 0 8px 40px rgba(0,0,0,0.18);
}
.pf-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #888;
    line-height: 1;
}
.pf-modal-close:hover { color: #222; }
.pf-modal-box h2 {
    font-size: 14pt;
    font-weight: 700;
    margin-bottom: 4px;
    color: #111;
}
.pf-modal-product {
    font-size: 9pt;
    color: #888;
    margin-bottom: 20px;
}
.pf-form-field { margin-bottom: 12px; }
.pf-form-field label {
    display: block;
    font-size: 8.5pt;
    font-weight: 600;
    color: #444;
    margin-bottom: 4px;
}
.pf-required label::after { content: ' *'; color: #c8102e; }
.pf-form-field input,
.pf-form-field select {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 8px 10px;
    font-size: 9.5pt;
    color: #222;
    outline: none;
}
.pf-form-field input:focus,
.pf-form-field select:focus { border-color: #c8102e; }
.pf-consent {
    font-size: 7.5pt;
    color: #555;
    line-height: 1.5;
    padding: 10px 12px;
    background: #f9f9f9;
    border-left: 3px solid #e0e0e0;
    margin-bottom: 16px;
    margin-top: 4px;
}
.pf-error-msg {
    background: #fff0f0;
    border: 1px solid #f5c6c6;
    color: #c0392b;
    padding: 8px 12px;
    border-radius: 3px;
    font-size: 8.5pt;
    margin-bottom: 14px;
}
.pf-btn-submit {
    width: 100%;
    background: #c8102e;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 3px;
    font-size: 10pt;
    font-weight: 600;
    cursor: pointer;
}
.pf-btn-submit:hover { background: #a00d24; }
.pf-btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* ════════════════════════════════════
   PRODUKT TABS
   Desktop: WooCommerce Tab-Nav sichtbar, Accordion versteckt
   Mobile:  Tab-Nav versteckt, Accordion sichtbar
   ════════════════════════════════════ */

.pf-specs-tab { padding: 8px 0; }
.pf-downloads-tab { padding: 8px 0; }
.pf-specs-box {
    background: #1c2033;
    border-radius: 12px;
    padding: 8px 0;
    overflow: hidden;
}
.pf-spec-row {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 16px;
    padding: 14px 24px;
    border-bottom: 1px solid #2a3048;
    align-items: start;
}
.pf-spec-row:last-child { border-bottom: none; }
.pf-spec-label {
    font-size: 0.88em;
    font-weight: 700;
    color: #fff;
    line-height: 1.5;
}
.pf-spec-value {
    font-size: 0.88em;
    color: #c5c9d8;
    line-height: 1.5;
}

/* Desktop: Accordion-Toggles ausblenden, Tab-Nav sichtbar */
.pf-tab-accordion-toggle {
    display: none !important;
}
.pf-tabs-nav {
    display: flex;
}

/* ── Downloads Tab ── */
.pf-downloads-table {
    width: 100%;
    border-collapse: collapse;
}
.pf-downloads-table tr { border-bottom: 1px solid #2a3048; }
.pf-downloads-table tr:last-child { border-bottom: none; }
.pf-dl-icon {
    width: 48px;
    padding: 16px 0 16px 4px;
    color: #8b91a8;
    vertical-align: middle;
}
.pf-dl-label {
    padding: 14px 16px;
    font-size: 0.88em;
    color: #c5c9d8;
    vertical-align: middle;
}
.pf-dl-label strong { color: #fff; display: block; margin-bottom: 3px; }
.pf-dl-label span { color: #8b91a8; font-size: 0.88em; }
.pf-dl-action {
    text-align: right;
    vertical-align: middle;
    padding: 14px 0;
    white-space: nowrap;
}
.pf-dl-section-title {
    font-size: 0.78em;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #8b91a8;
    margin: 24px 0 8px;
}
.pf-dl-section-title:first-child { margin-top: 0; }
.pf-dl-box { margin-bottom: 0; }
.pf-lang-badge {
    display: inline-block;
    background: #2a3048;
    color: #8b91a8;
    font-size: 0.82em;
    font-weight: 700;
    border-radius: 3px;
    padding: 1px 5px;
    margin-right: 5px;
    vertical-align: middle;
}

/* ════════════════════════════════════════════════════
   PASSENDE PRODUKTE (Zubehör-Section auf Einzelseite)
   ════════════════════════════════════════════════════ */

.pf-related-outer {
    width: 100%;
    margin-top: 40px;
}
.pf-related-wrap {
    width: 100%;
    color: #fff;
}
.pf-related-title {
    font-size: 1.4em;
    font-weight: 700;
    color: #fff;
    margin: 0 0 24px;
}

/* ── Desktop Typ-Tabs ── */
.pf-related-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #2a3048;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.pf-related-tab {
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: #8b91a8;
    font-size: 0.88em;
    font-weight: 600;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.18s;
    margin-bottom: -1px;
    white-space: nowrap;
}
.pf-related-tab:hover { color: #fff; }
.pf-related-tab--active {
    color: #e95178;
    border-bottom-color: #e95178;
}

/* ── Mobile Accordion Toggles – Desktop versteckt ── */
.pf-related-tab-accordion {
    display: none;
    width: 100%;
    background: #1c2033;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 0.9em;
    font-weight: 600;
    padding: 14px 16px;
    cursor: pointer;
    text-align: left;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
    transition: background 0.18s;
}
.pf-related-tab-accordion:hover { background: #252c42; }
.pf-related-tab-accordion.pf-tab-active { color: #e95178; }
.pf-related-acc-icon {
    transition: transform 0.2s;
    flex-shrink: 0;
}
.pf-related-tab-accordion.pf-tab-active .pf-related-acc-icon {
    transform: rotate(180deg);
}

/* ── Panel pro Typ ── */
.pf-related-panel { display: none; }
.pf-related-panel--active { display: block; }

/* ── Zubehör Grid ── */
.pf-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

/* ── Zubehör Karte ── */
.pf-acc-card {
    background: #1c2033;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.18s, box-shadow 0.18s;
}
.pf-acc-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.pf-acc-top {
    background: #e8eaf0;
    display: flex;
    flex-direction: column;
}
.pf-acc-image {
    display: block;
    aspect-ratio: 4/3;
    overflow: hidden;
}
.pf-acc-image a { display: block; width: 100%; height: 100%; }
.pf-acc-image img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 16px;
    transition: transform 0.3s;
}
.pf-acc-card:hover .pf-acc-image img { transform: scale(1.04); }
.pf-acc-name-wrap { padding: 10px 14px 12px; }
.pf-acc-name { font-size: 0.88em; font-weight: 700; line-height: 1.3; }
.pf-acc-name a { color: #111 !important; text-decoration: none !important; transition: color 0.18s !important; }
.pf-acc-name a:hover { color: #e95178 !important; }
.pf-acc-brand { font-size: 0.72em; color: #888; margin-top: 2px; }
.pf-acc-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: #1c2033;
}
.pf-acc-props { list-style: none; margin: 0 0 12px; padding: 0; flex: 1; }
.pf-acc-props li {
    display: flex; flex-direction: column; gap: 2px;
    padding: 5px 0; border-bottom: 1px solid #2a3048; font-size: 0.75em;
}
.pf-acc-props li:last-child { border-bottom: none; }
.pf-acc-prop-label { color: #8b91a8; font-size: 0.85em; }
.pf-acc-prop-value { color: #fff; font-weight: 500; }
.pf-acc-actions { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }

/* ── Footer: Zähler + Mehr-Button ── */
.pf-related-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid #2a3048;
    margin-top: 4px;
}
.pf-related-count { font-size: 0.82em; color: #8b91a8; }
.pf-related-load-more { font-size: 0.82em; }

/* ── Responsive: Tablet ── */
@media (max-width: 1200px) {
    .pf-related-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .pf-related-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Responsive: Mobile ── */
@media (max-width: 768px) {
    /* Tab-Nav verstecken, Accordion-Toggles zeigen */
    .pf-tabs-nav { display: none !important; }
    .pf-tab-accordion-toggle { display: flex !important; }

    /* Passende Produkte: Desktop-Tabs raus, Accordion rein */
    .pf-related-tabs { display: none; }
    .pf-related-tab-accordion { display: flex; }
    .pf-related-grid { grid-template-columns: 1fr; gap: 12px; }

    .pf-acc-card { flex-direction: column !important; }
    .pf-acc-image { width: 100% !important; aspect-ratio: 4/3 !important; }
    .pf-acc-body { padding: 12px; }
    .pf-related-footer { flex-direction: column; align-items: flex-start; gap: 10px; }

    /* Mobile: Tab-Panels über Accordion steuern */
    .pf-related-panel { display: none !important; }
    .pf-related-panel.pf-panel-open { display: block !important; }
}

/* ── Produkt-Galerie (pf-cameras / pf-accessories) ── */
.pf-product-gallery {
    width: 100%;
    margin-bottom: 24px;
}
.pf-gallery-main {
    width: 100%;
    background: #f7f7f7;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pf-gallery-img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: contain;
    display: block;
    transition: opacity .2s;
}
.pf-gallery-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}
.pf-thumb {
    border: 2px solid transparent;
    border-radius: 4px;
    padding: 0;
    background: #f0f0f0;
    cursor: pointer;
    width: 72px;
    height: 72px;
    overflow: hidden;
    transition: border-color .15s;
}
.pf-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.pf-thumb:hover        { border-color: #999; }
.pf-thumb.pf-thumb-active { border-color: #2271b1; }

/* Loop-Bild */
.pf-product-img {
    width: 100%;
    height: auto;
    display: block;
}
}