.pd-sec-more-details {
    width: 100%;
    box-sizing: border-box;
}

.pdmd-root {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pdmd-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 2px;
    padding: 0 2px;
    letter-spacing: -0.01em;
}

/* ── Expandable Card ───────────────────────────────────────────────────────── */
.pdmd-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #f0f0f0;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.pdmd-card:hover {
    border-color: #e5e7eb;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.045);
}

/* Header */
.pdmd-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    cursor: pointer;
    user-select: none;
    background: transparent;
    border: none;
    width: 100%;
    font-family: inherit;
    outline: none;
}

.pdmd-card-header:focus-visible {
    outline: 2px solid #6366f1;
    outline-offset: -2px;
    border-radius: 14px;
}

.pdmd-card-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: #6366f1;
}

.pdmd-card-icon svg {
    width: 100%;
    height: 100%;
}

.pdmd-card-label {
    flex: 1;
    font-size: 0.92rem;
    font-weight: 600;
    color: #1f2937;
    text-align: left;
}

.pdmd-card-chevron {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: #9ca3af;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pdmd-card-chevron svg {
    width: 100%;
    height: 100%;
}

.pdmd-card.pdmd-open .pdmd-card-chevron {
    transform: rotate(180deg);
}

/* Collapse — smooth height via CSS grid 0fr→1fr */
.pdmd-card-collapse {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.pdmd-card.pdmd-open .pdmd-card-collapse {
    grid-template-rows: 1fr;
}

.pdmd-card-body {
    min-height: 0;
    overflow: hidden;
}

.pdmd-card-content {
    padding: 6px 16px 14px;
    border-top: 1px solid #f3f4f6;
}

/* ── Description ───────────────────────────────────────────────────────────── */
.pdmd-desc {
    font-size: 0.88rem;
    line-height: 1.7;
    color: #374151;
    margin: 0;
    white-space: pre-line;
}

/* ── Spec Grid ─────────────────────────────────────────────────────────────── */
.pdmd-spec-grid {
    display: flex;
    flex-direction: column;
}

.pdmd-spec-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid #f9fafb;
}

.pdmd-spec-row:last-child {
    border-bottom: none;
}

.pdmd-spec-label {
    flex-shrink: 0;
    width: 110px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #6b7280;
}

.pdmd-spec-value {
    flex: 1;
    min-width: 0;
    font-size: 0.86rem;
    font-weight: 500;
    color: #1f2937;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    word-break: break-word;
}

.pdmd-brand-logo {
    height: 22px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
    vertical-align: middle;
}

/* ── Chips ──────────────────────────────────────────────────────────────────── */
.pdmd-chip {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.5;
}

.pdmd-chip--tag {
    background: #eef2ff;
    color: #4f46e5;
}

.pdmd-chip--style {
    background: #fdf4ff;
    color: #9333ea;
}

.pdmd-chip--mat {
    background: #ecfdf5;
    color: #059669;
}

.pdmd-chip--country {
    background: #f0f9ff;
    color: #0369a1;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.pdmd-chip-group {
    margin-bottom: 10px;
}

.pdmd-chip-group:last-child {
    margin-bottom: 0;
}

.pdmd-chip-group-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 6px;
}

.pdmd-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* ── Pills (badges) ────────────────────────────────────────────────────────── */
.pdmd-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.4;
}

.pdmd-pill--green {
    background: #ecfdf5;
    color: #059669;
}

.pdmd-pill--indigo {
    background: #eef2ff;
    color: #4338ca;
}

.pdmd-pill--amber {
    background: #fffbeb;
    color: #d97706;
}

.pdmd-pill--purple {
    background: #faf5ff;
    color: #7c3aed;
}

.pdmd-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

/* ── Notices ────────────────────────────────────────────────────────────────── */
.pdmd-notice {
    padding: 10px 14px;
    border-radius: 10px;
    border-left: 3px solid #3b82f6;
    margin-bottom: 8px;
}

.pdmd-notice:last-child {
    margin-bottom: 0;
}

.pdmd-notice-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.pdmd-notice-msg {
    font-size: 0.82rem;
    line-height: 1.55;
    color: #374151;
    margin: 0 0 4px;
}

.pdmd-notice-msg:last-child {
    margin-bottom: 0;
}

/* ── Availability ──────────────────────────────────────────────────────────── */
.pdmd-avail-line {
    font-size: 0.86rem;
    color: #374151;
    padding: 4px 0;
}

/* ── Package Images ────────────────────────────────────────────────────────── */
.pdmd-pkg-imgs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 8px 0 2px;
    -webkit-overflow-scrolling: touch;
}

.pdmd-pkg-imgs::-webkit-scrollbar {
    height: 4px;
}

.pdmd-pkg-imgs::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}

.pdmd-pkg-img {
    height: 72px;
    width: auto;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #f0f0f0;
}

/* ── References ────────────────────────────────────────────────────────────── */
.pdmd-ref-type {
    font-size: 0.78rem;
    color: #9ca3af;
}

.pdmd-ref-code {
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.82rem;
    background: #f9fafb;
    padding: 2px 8px;
    border-radius: 6px;
    letter-spacing: 0.02em;
}

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
    .pdmd-spec-label {
        width: 90px;
        font-size: 0.78rem;
    }

    .pdmd-spec-value {
        font-size: 0.82rem;
    }

    .pdmd-card-content {
        padding: 4px 12px 12px;
    }

    .pdmd-card-header {
        padding: 12px 12px;
    }
}
