.pd-compatibility {
    margin: 14px 0;
    padding: 14px;
    border: 1px solid #d6e1db;
    border-radius: 8px;
    background: #fff;
}
.pd-compatibility--summary { overflow: hidden; }
.pd-compatibility__status {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    padding: 12px;
    border-radius: 7px;
}
.pd-compatibility__status--fits { background: #edf9f2; color: #145e3b; }
.pd-compatibility__status--no-fit { background: #fff2ef; color: #9c2f25; }
.pd-compatibility__status--neutral { background: #f2f5f3; color: #42534a; }
.pd-compatibility__status-content { min-width: 0; }
.pd-compatibility__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-weight: 800;
    background: rgba(255,255,255,.85);
}
.pd-compatibility__link {
    display: inline-block;
    margin-top: 7px;
    text-decoration: underline;
    font-weight: 700;
}
.pd-compatibility__important {
    display: flex;
    gap: 9px;
    margin-top: 10px;
    padding: 11px 12px;
    border-left: 4px solid;
    border-radius: 5px;
    font-weight: 600;
}
.pd-compatibility__note-icon {
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    flex: 0 0 18px;
    min-width: 18px;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
}


.pd-compatibility__detail-content { min-width: 0; flex: 1 1 auto; }
.pd-compatibility__detail-title {
    display: block;
    color: inherit;
    font: inherit;
    font-weight: 800;
    line-height: 1.3;
}
.pd-compatibility__detail-value {
    margin-top: 3px;
    color: inherit;
    font: inherit;
    font-weight: 500;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
.pd-compatibility__detail-followup {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-top: 4px;
    color: inherit;
    font: inherit;
    font-weight: 500;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
.pd-compatibility__detail-arrow {
    flex: 0 0 auto;
    font-weight: 800;
    line-height: 1.35;
}
.pd-note--info { background: #eef6ff; border-color: #397bb8; color: #24567f; }
.pd-note--important { background: #fff5df; border-color: #d78800; color: #7a4b00; }
.pd-note--warning { background: #fff0ee; border-color: #c83f34; color: #8d2921; }

/* 2.8.2.20: inherit Hyva typography instead of using a separate table font scale. */
.pd-fitment-table,
.pd-fitment-table input,
.pd-fitment-table select,
.pd-fitment-table button,
.pd-fitment-table table {
    font: inherit;
}
.pd-fitment-table {
    color: inherit;
    font-size: 1rem;
    line-height: 1.5;
}
.pd-compatibility__details summary {
    cursor: pointer;
    color: inherit;
    font-size: inherit;
    font-weight: 600;
    line-height: inherit;
}
.pd-fitment-table__controls {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-end;
    margin: 14px 0;
}
.pd-fitment-table__controls label {
    display: flex;
    gap: 6px;
    flex-direction: column;
    color: var(--color-fg-secondary, inherit);
    font-size: inherit;
    font-weight: 400;
    line-height: inherit;
}
.pd-fitment-table__controls input,
.pd-fitment-table__controls select {
    min-height: 40px;
    padding: 8px 10px;
    border: 1px solid #bdcbc3;
    border-radius: 5px;
    background: var(--pd-gds-color-surface, #fff);
    color: inherit;
    font-size: inherit;
    font-weight: var(--pd-gds-font-weight-normal, 400);
    line-height: 1.5;
}
.pd-fitment-table__search { flex: 1; }
.pd-fitment-table__search input { width: 100%; max-width: 560px; }
.pd-fitment-table__status {
    min-height: 20px;
    margin: 6px 0;
    color: var(--color-fg-secondary, inherit);
    font-size: .875rem;
    line-height: 1.25rem;
}
.pd-compatibility__table-wrap {
    max-height: 460px;
    overflow: auto;
    border: 1px solid #e2e9e5;
    border-radius: 6px;
}
.pd-compatibility__table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
}
.pd-compatibility__table th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #f5f8f6;
    color: inherit;
    font-weight: 600;
}
.pd-compatibility__table th,
.pd-compatibility__table td {
    padding: 10px;
    border-bottom: 1px solid #e5ebe7;
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
}
.pd-compatibility__table th:nth-child(1),
.pd-compatibility__table td:nth-child(1) { width: 14%; }
.pd-compatibility__table th:nth-child(2),
.pd-compatibility__table td:nth-child(2) { width: 16%; }
.pd-compatibility__table th:nth-child(3),
.pd-compatibility__table td:nth-child(3) { width: 18%; }
.pd-compatibility__table th:nth-child(4),
.pd-compatibility__table td:nth-child(4) { width: 18%; }
.pd-compatibility__table th:nth-child(5),
.pd-compatibility__table td:nth-child(5) { width: 34%; }
.pd-compatibility__important--table {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 7px 8px;
    border-left-width: 3px;
    font-size: 12px;
}
.pd-compatibility__selected { background: #e9f8f0; outline: 2px solid #4aa374; outline-offset: -2px; }
.pd-compatibility__year-value {
    display: block;
}
.pd-compatibility__badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    max-width: none;
    min-width: max-content;
    box-sizing: border-box;
    margin: 8px 0 0;
    padding: 3px 7px;
    border-radius: 999px;
    background: #237d51;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: visible;
    overflow-wrap: normal;
    word-break: keep-all;
}
.pd-fitment-table__pager {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}
.pd-fitment-table__pager button {
    padding: 7px 12px;
    border: 1px solid #bdcbc3;
    border-radius: 5px;
    background: var(--pd-gds-color-surface, #fff);
    font-weight: var(--pd-gds-font-weight-bold, 700);
}
.pd-fitment-table__pager button:disabled { opacity: .45; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.pd-compatibility--quick { margin: 10px 0 14px; padding: 0; border: 0; background: transparent; }
.pd-compatibility__status--quick {
    padding: 10px 12px;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: none;
}
.pd-compatibility__icon--quick { flex-basis: 22px; width: 22px; height: 22px; font-size: 13px; }
.pd-compatibility--quick .pd-compatibility__link { margin-top: 4px; font-size: 12px; }
.pd-compatibility__select-trigger { width: 100%; border: 0; text-align: left; font: inherit; cursor: pointer; }
.pd-compatibility__select-trigger:hover { text-decoration: none; filter: brightness(.98); }
.pd-compatibility__select-trigger:focus { outline: 2px solid currentColor; outline-offset: 2px; }
.pd-compatibility__important--quick {
    display: block;
    margin-top: 7px;
    padding: 10px 12px;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 7px;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.35;
}
.pd-compatibility__important--quick .pd-compatibility__detail-title {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
}
.pd-compatibility__important--quick .pd-compatibility__detail-title-icon {
    display: inline-block;
    flex: 0 0 auto;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    transform: translateY(-1px);
}
.pd-compatibility__important--quick .pd-compatibility__detail-value,
.pd-compatibility__important--quick .pd-compatibility__detail-followup {
    font-family: inherit;
    font-size: 12px;
}
.pd-compatibility--quick .pd-compatibility__status-content { font-size: 13px; }

/* Table values remain plain text while preserving Precision → Note ordering. */
.pd-compatibility__table-detail {
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    font-weight: 400;
    line-height: inherit;
}
.pd-compatibility__table-detail .pd-compatibility__detail-value {
    margin-top: 0;
    font-family: inherit;
    font-size: inherit;
    font-weight: 400;
    line-height: inherit;
}
.pd-compatibility__table-detail .pd-compatibility__detail-followup {
    gap: 4px;
    margin-top: 3px;
    font-family: inherit;
    font-size: inherit;
    font-weight: 400;
    line-height: inherit;
}
.pd-fitment-product-main { margin-top: 12px; }
.pd-fitment-product-main[data-pd-positioned="1"] { clear: both; }

/* Product cards use the exact product-page detail block and typography. */
.pd-card-fitment.js-pd-card-fitment {
    display: block;
    width: 100%;
    clear: both;
    margin: 10px 0 14px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    box-sizing: border-box;
}
.pd-card-fitment.js-pd-card-fitment[hidden] { display: none !important; }
.pd-card-fitment.js-pd-card-fitment .pd-compatibility__important--quick { width: 100%; box-sizing: border-box; }

@media (max-width: 700px) {
    .pd-compatibility { padding: 12px; }
    .pd-compatibility--quick { margin: 9px 0 12px; }
    .pd-compatibility__status--quick { padding: 9px 10px; }
    .pd-fitment-table__controls { display: block; }
    .pd-fitment-table__controls label { display: flex; margin: 9px 0; }
    .pd-fitment-table__search input { max-width: none; }

    /* Preserve horizontal headers and compress the five columns for mobile. */
    .pd-compatibility__table-wrap {
        max-height: 420px;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }
    .pd-compatibility__table {
        width: 100%;
        min-width: 0;
        table-layout: fixed;
        font-size: .75rem;
        line-height: 1.25;
    }
    .pd-compatibility__table thead { display: table-header-group; }
    .pd-compatibility__table th,
    .pd-compatibility__table td {
        display: table-cell;
        width: auto;
        min-width: 0;
        padding: 7px 5px;
        font-size: inherit;
        line-height: inherit;
        overflow-wrap: anywhere;
        word-break: normal;
    }
    .pd-compatibility__table th:nth-child(1),
    .pd-compatibility__table td:nth-child(1) { width: 22%; }
    .pd-compatibility__table th:nth-child(2),
    .pd-compatibility__table td:nth-child(2) { width: 18%; }
    .pd-compatibility__table th:nth-child(3),
    .pd-compatibility__table td:nth-child(3) { width: 18%; }
    .pd-compatibility__table th:nth-child(4),
    .pd-compatibility__table td:nth-child(4) { width: 14%; }
    .pd-compatibility__table th:nth-child(5),
    .pd-compatibility__table td:nth-child(5) { width: 28%; }
    .pd-compatibility__important--table {
        gap: 4px;
        padding: 5px 6px;
        border-left-width: 2px;
        font-size: inherit;
        line-height: inherit;
    }
    .pd-compatibility__important--table .pd-compatibility__note-icon {
        flex-basis: 12px;
        min-width: 12px;
        font-size: 12px;
    }
    .pd-compatibility__important--table .pd-compatibility__detail-title,
    .pd-compatibility__important--table .pd-compatibility__detail-value,
    .pd-compatibility__important--table .pd-compatibility__detail-followup {
        font-size: inherit;
        line-height: inherit;
    }
    .pd-compatibility__important--table .pd-compatibility__detail-followup { gap: 3px; margin-top: 3px; }
    .pd-compatibility__badge {
        display: flex;
        width: max-content;
        max-width: none;
        min-width: max-content;
        margin-top: 8px;
        padding: 3px 4px;
        font-size: 8px;
        line-height: 1.1;
        white-space: nowrap;
        overflow: visible;
    }
}

/* 2.8.2.15: compact product-card detail values and empty fitment message. */
.pd-card-fitment__primary {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    min-width: 0;
    font: inherit;
    line-height: 1.4;
}
.pd-card-fitment__primary-icon {
    flex: 0 0 auto;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
}
.pd-card-fitment__primary-value {
    min-width: 0;
    font: inherit;
    font-weight: 500;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
.pd-card-fitment.js-pd-card-fitment .pd-compatibility__detail-followup {
    margin-left: 18px;
}
.pd-fitment-table__empty {
    margin: 14px 0 0;
    color: var(--color-fg-secondary, inherit);
    font-size: inherit;
    line-height: inherit;
}

/*
 * PD_GDS_A7_4_1C_B_PRODUCT_TABLE_SAFE_TOKEN_BRIDGE
 *
 * Safe exact-value token migration:
 * - specialized 40px control height remains component-owned;
 * - specialized 5px radius remains component-owned;
 * - specialized #bdcbc3 border remains component-owned;
 * - input/select and pager padding remain unchanged;
 * - pager disabled opacity remains unchanged;
 * - no shared classes or markup changes are introduced.
 */

