/* ── Section Header ──────────────────────────────────────────────────────── */

.pd-section-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e5e5;
}

.pd-section-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0073aa;
    color: #fff;
    border-radius: 8px;
}

.pd-section-title {
    font-size: 1.3em;
    font-weight: 700;
    margin: 0 0 4px;
    line-height: 1.2;
}

.pd-section-subtitle {
    font-size: 0.9em;
    color: #666;
    margin: 0;
}

/* ── Version Selector ────────────────────────────────────────────────────── */

.pd-version-selector {
    margin-bottom: 28px;
}

.pd-version-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pd-version-btn {
    padding: 8px 18px;
    background: #f0f0f0;
    border: 2px solid #ddd;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 500;
    color: #555;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    line-height: 1.4;
}

.pd-version-btn:hover {
    background: #e0f0ff;
    border-color: #0073aa;
    color: #0073aa;
}

.pd-version-btn--active {
    background: #0073aa;
    border-color: #0073aa;
    color: #fff;
}

.pd-version-btn--active:hover {
    background: #005d8c;
    border-color: #005d8c;
    color: #fff;
}

/* ── Products List ───────────────────────────────────────────────────────── */

.pd-products-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pd-product-section {
    padding: 18px 20px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    background: #fafafa;
}

.pd-product-title {
    font-size: 1.05em;
    font-weight: 600;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e5e5;
    color: #333;
}

/* ── File List ───────────────────────────────────────────────────────────── */

.pd-file-list {
    list-style: none;
    margin: 10px 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pd-download-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    font-size: 0.88em !important;
    padding: 6px 14px !important;
    border-radius: 4px !important;
    border: #005d8c 2px solid !important;
}

.pd-downloads-wrap {
    margin: 20px 0;
}

.pd-download-btn svg {
    flex-shrink: 0;
}

/* ── Empty State ─────────────────────────────────────────────────────────── */

.pd-no-results {
    text-align: center;
    padding: 24px;
    color: #777;
    font-style: italic;
    border: 1px dashed #ddd;
    border-radius: 6px;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media ( max-width: 480px ) {
    .pd-section-header {
        gap: 10px;
    }

    .pd-section-icon {
        width: 36px;
        height: 36px;
    }

    .pd-section-icon svg {
        width: 22px;
        height: 22px;
    }

    .pd-version-btn {
        padding: 7px 14px;
        font-size: 0.85em;
    }

    .pd-file-list {
        flex-direction: column;
    }
}
