.pdflcg-modern {
    --pdflcg-navy: #07395f;
    --pdflcg-blue: #0f5f95;
    --pdflcg-ink: #172033;
    --pdflcg-muted: #64748b;
    --pdflcg-line: #e5e7eb;
    --pdflcg-soft: #f8fafc;
    font-family: inherit;
    color: var(--pdflcg-ink);
}

.pdflcg-modern * {
    box-sizing: border-box;
}

.pdflcg-shell {
    max-width: 1320px;
    margin: 0 auto;
    padding: 28px 18px;
}

.pdflcg-hero,
.pdflcg-topline,
.pdflcg-stats-row,
.pdflcg-stats-export-row,
.pdflcg-export-stat {
    display: none !important;
}

/* Filters */
.pdflcg-filters {
    display: grid;
    grid-template-columns: minmax(260px, 1.35fr) minmax(220px, 1fr) minmax(220px, 1fr) 140px 140px;
    gap: 14px;
    align-items: end;
    padding: 22px;
    margin: 0 0 28px;
    border: 1px solid var(--pdflcg-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .07);
}

.pdflcg-filter-field label {
    display: block;
    margin: 0 0 8px;
    color: #334155;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.pdflcg-filter-field input,
.pdflcg-filter-field select {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid var(--pdflcg-line);
    border-radius: 10px;
    background: #fff;
    color: var(--pdflcg-ink);
    font-size: 15px;
}

.pdflcg-filter-export,
.pdflcg-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    height: 46px;
    width: 100%;
    padding: 0 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.pdflcg-filter-export {
    border: 1px solid var(--pdflcg-navy);
    background: #fff;
    color: var(--pdflcg-navy);
}

.pdflcg-filter-export:hover {
    background: var(--pdflcg-navy);
    color: #fff;
}

.pdflcg-reset {
    border: 0;
    background: linear-gradient(135deg, #062f55, #074a7a);
    color: #fff;
}

/* Results */
.pdflcg-results-count {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 18px;
    color: var(--pdflcg-muted);
    font-size: 15px;
    font-weight: 800;
}

.pdflcg-results-count strong {
    margin: 0 4px;
    color: var(--pdflcg-navy);
    font-size: 18px;
    font-weight: 950;
}

.pdflcg-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.pdflcg-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 360px;
    padding: 34px 30px 28px;
    border: 1px solid var(--pdflcg-line);
    border-radius: 22px;
    background: #fff;
    color: var(--pdflcg-ink);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .07);
    text-decoration: none;
    font-family: inherit;
    text-align: inherit;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

button.pdflcg-card,
button.pdflcg-card:hover,
button.pdflcg-card:active,
button.pdflcg-card:focus {
    background: #fff !important;
    color: var(--pdflcg-ink) !important;
}

.pdflcg-card:hover {
    transform: translateY(-2px);
    border-color: #d7dee8;
    box-shadow: 0 18px 44px rgba(15, 23, 42, .10);
}

.pdflcg-card:focus-visible {
    outline: 3px solid rgba(15, 95, 149, .22);
    outline-offset: 4px;
}

.pdflcg-card * {
    pointer-events: none;
}

.pdflcg-card-corner {
    display: none !important;
}

.pdflcg-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 190px;
    margin-bottom: 22px;
}

.pdflcg-logo {
    display: block;
    max-width: 315px;
    max-height: 155px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform .18s ease;
}

.pdflcg-card:hover .pdflcg-logo {
    transform: scale(1.025);
}

.pdflcg-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    border-radius: 24px;
    background: var(--pdflcg-soft);
    color: var(--pdflcg-navy);
    font-size: 40px;
    font-weight: 900;
}

.pdflcg-card-body {
    margin-top: auto;
}

.pdflcg-card-title {
    margin: 0 0 10px;
    color: var(--pdflcg-navy);
    font-size: 23px;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
}

.pdflcg-card-description {
    display: -webkit-box;
    max-width: 92%;
    margin: 0 auto;
    color: var(--pdflcg-muted);
    font-size: 15px;
    line-height: 1.55;
    text-align: center;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pdflcg-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 46px 28px;
    border: 1px dashed var(--pdflcg-line);
    border-radius: 20px;
    background: var(--pdflcg-soft);
    color: var(--pdflcg-muted);
    text-align: center;
    font-weight: 800;
}

.pdflcg-empty strong {
    color: var(--pdflcg-navy);
    font-size: 22px;
    font-weight: 950;
}

.pdflcg-empty span {
    color: var(--pdflcg-muted);
    font-size: 15px;
    font-weight: 700;
}

.pdflcg-loading {
    opacity: .48;
    pointer-events: none;
}

/* Modal */
body.pdflcg-modal-lock {
    overflow: hidden !important;
}

.pdflcg-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483000 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 24px !important;
}

.pdflcg-modal.is-open {
    display: flex !important;
}

.pdflcg-modal-backdrop {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(2, 6, 23, .56) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

.pdflcg-modal-panel {
    position: relative !important;
    z-index: 2 !important;
    width: min(760px, calc(100vw - 32px)) !important;
    max-height: calc(100vh - 48px) !important;
    overflow: auto !important;
    padding: 34px !important;
    border-radius: 28px !important;
    background: #fff !important;
    box-shadow: 0 34px 90px rgba(2, 6, 23, .34) !important;
    transform: scale(.98) translateY(8px);
    opacity: 0;
    animation: pdflcgModalVisible .18s ease forwards;
    outline: none !important;
}

.pdflcg-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: #f1f5f9;
    color: var(--pdflcg-navy);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.pdflcg-modal-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 170px;
    margin: 10px 48px 24px;
}

.pdflcg-modal-logo {
    max-width: 360px;
    max-height: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.pdflcg-modal-logo-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 110px;
    border-radius: 28px;
    background: #f1f5f9;
    color: var(--pdflcg-navy);
    font-size: 48px;
    font-weight: 950;
}

.pdflcg-modal-title {
    margin: 0 0 12px;
    color: var(--pdflcg-navy);
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 950;
    line-height: 1.02;
    letter-spacing: -.04em;
    text-align: center;
}

.pdflcg-modal-description {
    max-width: 620px;
    margin: 0 auto 22px;
    color: #475569;
    font-size: 17px;
    line-height: 1.65;
    text-align: center;
}

.pdflcg-modal-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 24px;
}

.pdflcg-modal-meta-row {
    padding: 16px;
    border: 1px solid var(--pdflcg-line);
    border-radius: 16px;
    background: var(--pdflcg-soft);
}

.pdflcg-modal-meta-row strong,
.pdflcg-modal-meta-row span {
    display: block;
}

.pdflcg-modal-meta-row strong {
    margin-bottom: 6px;
    color: var(--pdflcg-navy);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pdflcg-modal-meta-row span {
    color: #334155;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.pdflcg-modal-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.pdflcg-modal-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 950;
    text-decoration: none;
}

.pdflcg-modal-website {
    background: var(--pdflcg-navy);
    color: #fff;
}

.pdflcg-modal-parts {
    background: #f1f5f9;
    color: var(--pdflcg-navy);
}

@keyframes pdflcgModalVisible {
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Responsive */
@media (max-width: 1120px) {
    .pdflcg-filters {
        grid-template-columns: 1fr 1fr;
    }

    .pdflcg-search-field {
        grid-column: 1 / -1;
    }

    .pdflcg-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .pdflcg-shell {
        padding: 20px 14px;
    }

    .pdflcg-filters {
        grid-template-columns: 1fr;
        border-radius: 18px;
    }

    .pdflcg-card-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pdflcg-card {
        min-height: 0;
        padding: 24px;
    }

    .pdflcg-logo-wrap {
        height: 155px;
    }

    .pdflcg-logo {
        max-width: 260px;
        max-height: 130px;
    }

    .pdflcg-modal {
        align-items: flex-end !important;
        padding: 12px !important;
    }

    .pdflcg-modal-panel {
        width: 100% !important;
        max-height: 88vh !important;
        padding: 28px 20px !important;
        border-radius: 24px 24px 18px 18px !important;
    }

    .pdflcg-modal-logo-wrap {
        min-height: 120px;
        margin: 6px 42px 18px;
    }

    .pdflcg-modal-logo {
        max-width: 240px;
        max-height: 110px;
    }

    .pdflcg-modal-meta {
        grid-template-columns: 1fr;
    }

    .pdflcg-modal-actions a {
        width: 100%;
    }
}

/* =====================================================
   Sprint 2.2 - Modal Polish
   ===================================================== */

/* Bigger logo area */
.pdflcg-modal-logo-wrap{
    min-height:220px !important;
    margin:10px 40px 28px !important;
}

.pdflcg-modal-logo{
    max-width:500px !important;
    max-height:220px !important;
    width:auto !important;
    height:auto !important;
    object-fit:contain !important;
}

/* Better spacing */
.pdflcg-modal-title{
    margin-bottom:18px !important;
}

.pdflcg-modal-description{
    max-width:720px !important;
    margin:0 auto 34px !important;
    font-size:18px !important;
    line-height:1.75 !important;
}

/* Premium CTA row */
.pdflcg-modal-actions{
    gap:16px !important;
}

.pdflcg-modal-actions a{
    min-height:56px !important;
    padding:0 28px !important;
    font-size:16px !important;
    font-weight:900 !important;
    border-radius:999px !important;
    transition:all .18s ease !important;
}

.pdflcg-modal-website{
    background:#07395f !important;
    color:#fff !important;
}

.pdflcg-modal-website:hover{
    transform:translateY(-1px) !important;
    box-shadow:0 12px 30px rgba(7,57,95,.22) !important;
}

.pdflcg-modal-parts{
    background:#f1f5f9 !important;
    color:#07395f !important;
    border:1px solid #dbe3ea !important;
}

.pdflcg-modal-parts:hover{
    background:#fff !important;
    transform:translateY(-1px) !important;
}

/* Slightly smoother modal animation */
.pdflcg-modal-panel{
    animation:pdflcgModalVisible .22s ease forwards !important;
}


/* Phase C — PDF export icon button */
.pdflcg-export {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pdflcg-export-stat .pdflcg-export {
    margin-left: auto;
    margin-right: auto;
}

.pdflcg-pdf-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex: 0 0 auto;
}

/* MELC-BU-014 Selectable Filter Layout */
.pdflcg-layout-shell {
    display: block;
}

.pdflcg-filter-panel,
.pdflcg-results-panel {
    min-width: 0;
}

.pdflcg-layout-sidebar .pdflcg-layout-shell {
    display: grid;
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.pdflcg-layout-sidebar .pdflcg-filters {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    gap: 14px;
    margin-bottom: 0;
}

.pdflcg-layout-sidebar .pdflcg-filter-export,
.pdflcg-layout-sidebar .pdflcg-reset {
    width: 100%;
}

@media (max-width: 980px) {
    .pdflcg-layout-sidebar .pdflcg-layout-shell {
        display: block;
    }

    .pdflcg-layout-sidebar .pdflcg-filters {
        position: static;
        display: grid;
        grid-template-columns: 1fr;
        margin-bottom: 28px;
    }
}

/* MELC-BU-014 Sidebar Layout Polish */
.pdflcg-layout-sidebar .pdflcg-filter-panel {
    width: 100%;
}

.pdflcg-layout-sidebar .pdflcg-filters {
    padding: 22px;
    border-radius: 18px;
}

.pdflcg-layout-sidebar .pdflcg-filters label,
.pdflcg-layout-sidebar .pdflcg-filters .pdflcg-filter-label {
    display: block;
    width: 100%;
    margin-bottom: 6px;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pdflcg-layout-sidebar .pdflcg-filters input,
.pdflcg-layout-sidebar .pdflcg-filters select,
.pdflcg-layout-sidebar .pdflcg-filters button,
.pdflcg-layout-sidebar .pdflcg-filters a {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.pdflcg-layout-sidebar .pdflcg-results-panel {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.pdflcg-layout-sidebar .pdflcg-grid,
.pdflcg-layout-sidebar .pdflcg-card-grid,
.pdflcg-layout-sidebar .pdflcg-manufacturer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 22px;
    width: 100%;
    max-width: 100%;
}

.pdflcg-layout-sidebar .pdflcg-card,
.pdflcg-layout-sidebar .pdflcg-manufacturer-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.pdflcg-layout-sidebar .pdflcg-card img,
.pdflcg-layout-sidebar .pdflcg-manufacturer-card img,
.pdflcg-layout-sidebar .pdflcg-logo,
.pdflcg-layout-sidebar .pdflcg-card-logo {
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.pdflcg-layout-sidebar .pdflcg-card-logo-wrap,
.pdflcg-layout-sidebar .pdflcg-logo-wrap,
.pdflcg-layout-sidebar .pdflcg-manufacturer-logo {
    max-width: 100%;
    overflow: hidden;
}

@media (min-width: 981px) {
    .pdflcg-layout-sidebar .pdflcg-layout-shell {
        grid-template-columns: 260px minmax(0, 1fr);
    }
}

@media (min-width: 1200px) {
    .pdflcg-layout-sidebar .pdflcg-grid,
    .pdflcg-layout-sidebar .pdflcg-card-grid,
    .pdflcg-layout-sidebar .pdflcg-manufacturer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .pdflcg-layout-sidebar .pdflcg-grid,
    .pdflcg-layout-sidebar .pdflcg-card-grid,
    .pdflcg-layout-sidebar .pdflcg-manufacturer-grid {
        grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    }
}

/* MELC-BU-014 Sidebar Left Alignment */
.pdflcg-layout-sidebar .pdflcg-filters {
    align-items: stretch;
    text-align: left;
}

.pdflcg-layout-sidebar .pdflcg-filters > * {
    width: 100%;
    text-align: left;
}

.pdflcg-layout-sidebar .pdflcg-filters label,
.pdflcg-layout-sidebar .pdflcg-filters .pdflcg-filter-label {
    text-align: left;
    justify-content: flex-start;
}

.pdflcg-layout-sidebar .pdflcg-filters input,
.pdflcg-layout-sidebar .pdflcg-filters select {
    display: block;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
}

.pdflcg-layout-sidebar .pdflcg-reset,
.pdflcg-layout-sidebar .pdflcg-filter-export {
    display: flex;
    justify-content: center;
    text-align: center;
}

/* MELC-BU-015 Card Shadow Controls */
.pdflcg-card {
    box-shadow: var(--lcp-card-shadow, 0 14px 34px rgba(15, 23, 42, .07));
}

.pdflcg-card:hover {
    box-shadow: var(--lcp-card-shadow, 0 18px 44px rgba(15, 23, 42, .10));
}

/* MELC-BU-014 Sidebar Card Grid Width Fix */
.pdflcg-layout-sidebar .pdflcg-results-panel {
    min-width: 0;
    width: 100%;
}

.pdflcg-layout-sidebar .pdflcg-card-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(220px, 1fr)) !important;
    gap: 24px !important;
    width: 100% !important;
}

.pdflcg-layout-sidebar .pdflcg-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    white-space: normal !important;
}

.pdflcg-layout-sidebar .pdflcg-card * {
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    white-space: normal !important;
}

@media (max-width: 1200px) {
    .pdflcg-layout-sidebar .pdflcg-card-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr)) !important;
    }
}

@media (max-width: 780px) {
    .pdflcg-layout-sidebar .pdflcg-card-grid {
        grid-template-columns: 1fr !important;
    }
}

/* MELC-BU-014 Sidebar Column Spacing Fix */
@media (min-width: 981px) {
    .pdflcg-layout-sidebar .pdflcg-layout-shell {
        grid-template-columns: 300px minmax(0, 1fr) !important;
        column-gap: 36px !important;
    }

    .pdflcg-layout-sidebar .pdflcg-filter-panel {
        width: 300px !important;
        min-width: 300px !important;
        max-width: 300px !important;
        grid-column: 1 !important;
        z-index: 2;
    }

    .pdflcg-layout-sidebar .pdflcg-results-panel {
        grid-column: 2 !important;
        min-width: 0 !important;
        width: 100% !important;
        overflow: visible !important;
    }

    .pdflcg-layout-sidebar .pdflcg-card-grid {
        padding-left: 0 !important;
        margin-left: 0 !important;
    }
}

/* MELC-BU-014 Sidebar Vertical Clearance Fix */
@media (min-width: 981px) {
    .pdflcg-layout-sidebar .pdflcg-results-panel {
        padding-top: 220px !important;
    }

    .pdflcg-layout-sidebar .pdflcg-results-count {
        margin-top: 0 !important;
        margin-bottom: 24px !important;
    }
}

/* MELC-BU-014 FINAL Sidebar Layout Override */
@media (min-width: 981px) {
    .pdflcg-layout-sidebar .pdflcg-layout-shell {
        display: grid !important;
        grid-template-columns: 300px minmax(720px, 1fr) !important;
        gap: 42px !important;
        align-items: start !important;
    }

    .pdflcg-layout-sidebar .pdflcg-filter-panel {
        grid-column: 1 !important;
        position: relative !important;
        width: 300px !important;
        min-width: 300px !important;
        max-width: 300px !important;
        z-index: 5 !important;
    }

    .pdflcg-layout-sidebar .pdflcg-filters {
        position: sticky !important;
        top: 32px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .pdflcg-layout-sidebar .pdflcg-results-panel {
        grid-column: 2 !important;
        width: 100% !important;
        min-width: 720px !important;
        max-width: none !important;
        padding-top: 0 !important;
        margin-top: 0 !important;
        overflow: visible !important;
    }

    .pdflcg-layout-sidebar .pdflcg-results-count {
        margin: 0 0 24px 0 !important;
        text-align: left !important;
    }

    .pdflcg-layout-sidebar .pdflcg-card-grid {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(220px, 1fr)) !important;
        gap: 28px !important;
        width: 100% !important;
        min-width: 720px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .pdflcg-layout-sidebar .pdflcg-card {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }
}

@media (max-width: 1200px) and (min-width: 981px) {
    .pdflcg-layout-sidebar .pdflcg-layout-shell {
        grid-template-columns: 300px minmax(480px, 1fr) !important;
    }

    .pdflcg-layout-sidebar .pdflcg-results-panel,
    .pdflcg-layout-sidebar .pdflcg-card-grid {
        min-width: 480px !important;
    }

    .pdflcg-layout-sidebar .pdflcg-card-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr)) !important;
    }
}

@media (max-width: 980px) {
    .pdflcg-layout-sidebar .pdflcg-layout-shell {
        display: block !important;
    }

    .pdflcg-layout-sidebar .pdflcg-filter-panel,
    .pdflcg-layout-sidebar .pdflcg-results-panel {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .pdflcg-layout-sidebar .pdflcg-card-grid {
        grid-template-columns: 1fr !important;
        min-width: 0 !important;
    }
}

/* MELC-AMG-002D.9H.1 — Right-side page layout. Left/center rules retained. */
@media (min-width: 981px) {
    .pdflcg-layout-right .pdflcg-layout-shell {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
        gap: 24px;
        align-items: start;
    }
    .pdflcg-layout-right .pdflcg-filter-panel {
        grid-column: 2;
        grid-row: 1;
        min-width: 0;
    }
    .pdflcg-layout-right .pdflcg-results-panel {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
    }
    .pdflcg-layout-right .pdflcg-filters {
        display: flex;
        flex-direction: column;
        gap: 14px;
        position: sticky;
        top: 24px;
        margin-bottom: 0;
    }
    .pdflcg-layout-right .pdflcg-filter-export,
    .pdflcg-layout-right .pdflcg-reset { width: 100%; }
}
@media (max-width: 980px) {
    .pdflcg-layout-right .pdflcg-layout-shell { display: block; }
    .pdflcg-layout-right .pdflcg-filters { position: static; }
}


/* MELC-AMG-002D.9H.3 — Align sidebar filter card with first manufacturer card.
   The results count occupies a row above the cards; reserve that same
   vertical space in the adjacent filter column. Center layout unchanged. */
@media (min-width: 981px) {
    .pdflcg-layout-sidebar .pdflcg-filter-panel,
    .pdflcg-layout-right .pdflcg-filter-panel {
        padding-top: 48px !important;
    }
}

/* MELC-CLIENT-012 — Optional manufacturer product types */
.pdflcg-modern .pdflcg-card-products {
    margin: 12px auto 0;
    max-width: 100%;
    color: var(--pdflcg-muted);
    font-size: 13px;
    line-height: 1.45;
    font-style: italic;
    font-weight: 400;
    text-align: center;
    overflow-wrap: anywhere;
    white-space: normal;
}
