.bmb-product-description {
    --bmb-desc-accent: #16785f;
    --bmb-desc-accent-soft: color-mix(in srgb, var(--bmb-desc-accent) 10%, white);
    --bmb-desc-border: #e5e9ec;
    --bmb-desc-text: #263238;
    --bmb-desc-muted: #66727a;
    --bmb-desc-radius: 14px;
    color: var(--bmb-desc-text);
    font-size: 16px;
    line-height: 1.72;
    overflow-wrap: anywhere;
}

.bmb-product-description > :first-child {
    margin-top: 0;
}

.bmb-product-description > :last-child {
    margin-bottom: 0;
}

.bmb-product-description p {
    margin: 0 0 1.05em;
}

.bmb-product-description h2,
.bmb-product-description h3,
.bmb-product-description h4,
.bmb-product-description h5,
.bmb-product-description h6,
.bmb-product-description .bmb-section-heading {
    position: relative;
    margin: 1.65em 0 .85em;
    padding: 0 0 .5em 16px;
    color: #20272b;
    line-height: 1.3;
    letter-spacing: -.015em;
}

.bmb-product-description h2::before,
.bmb-product-description h3::before,
.bmb-product-description h4::before,
.bmb-product-description h5::before,
.bmb-product-description h6::before,
.bmb-product-description .bmb-section-heading::before {
    content: "";
    position: absolute;
    left: 0;
    top: .12em;
    bottom: .48em;
    width: 5px;
    border-radius: 999px;
    background: var(--bmb-desc-accent);
}

.bmb-product-description ul,
.bmb-product-description ol {
    margin: 0 0 1.25em;
    padding-left: 1.4em;
}

.bmb-product-description li {
    margin: .36em 0;
    padding-left: .18em;
}

.bmb-product-description ul:not(.bmb-compat-list) > li::marker {
    color: var(--bmb-desc-accent);
}

.bmb-product-description a {
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.bmb-product-description img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.bmb-product-description table {
    width: 100%;
    margin: 1em 0 1.35em;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--bmb-desc-border);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    font-size: .96em;
}

.bmb-product-description th,
.bmb-product-description td {
    padding: 12px 14px;
    border: 0;
    border-bottom: 1px solid var(--bmb-desc-border);
    text-align: left;
    vertical-align: top;
}

.bmb-product-description tr:last-child th,
.bmb-product-description tr:last-child td {
    border-bottom: 0;
}

.bmb-product-description th {
    width: 34%;
    background: #f7f9fa;
    font-weight: 700;
}

.bmb-compat-card {
    margin: 1.55em 0;
    border: 1px solid var(--bmb-desc-border);
    border-radius: var(--bmb-desc-radius);
    background: #fff;
    box-shadow: 0 8px 26px rgba(31, 45, 53, .06);
    overflow: hidden;
}

.bmb-compat-card > .bmb-compat-title {
    margin: 0 !important;
    padding: 18px 20px 14px 38px !important;
    background: linear-gradient(180deg, var(--bmb-desc-accent-soft), #fff);
    border-bottom: 1px solid var(--bmb-desc-border);
    font-size: clamp(18px, 2.4vw, 23px);
}

.bmb-compat-card > .bmb-compat-title::before {
    left: 20px !important;
    top: 19px !important;
    bottom: 15px !important;
}

.bmb-compat-body {
    padding: 18px 20px 20px;
}

.bmb-compat-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 14px;
    color: var(--bmb-desc-muted);
    font-size: 14px;
}

.bmb-compat-count {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--bmb-desc-accent-soft);
    color: var(--bmb-desc-accent);
    font-weight: 700;
}

.bmb-compat-search-wrap {
    position: relative;
    margin-bottom: 16px;
}

.bmb-compat-search {
    width: 100% !important;
    min-height: 46px;
    margin: 0 !important;
    padding: 10px 44px 10px 14px !important;
    border: 1px solid #cfd7dc !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: var(--bmb-desc-text) !important;
    box-shadow: none !important;
    font: inherit !important;
}

.bmb-compat-search:focus {
    border-color: var(--bmb-desc-accent) !important;
    outline: 3px solid var(--bmb-desc-accent-soft) !important;
}

.bmb-compat-clear {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 32px;
    height: 32px;
    padding: 0;
    transform: translateY(-50%);
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #6b777d;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.bmb-compat-clear:hover,
.bmb-compat-clear:focus-visible {
    background: #eef2f3;
    color: #20272b;
}

.bmb-compat-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.bmb-compat-list > li,
.bmb-compat-item {
    position: relative;
    min-width: 0;
    margin: 0 !important;
    padding: 10px 12px 10px 34px !important;
    border: 1px solid #edf0f2;
    border-radius: 9px;
    background: #fafbfb;
    line-height: 1.38;
}

.bmb-compat-list > li::before,
.bmb-compat-item::before {
    content: "✓";
    position: absolute;
    left: 12px;
    top: 9px;
    color: var(--bmb-desc-accent);
    font-weight: 800;
}

.bmb-compat-body table .bmb-compat-item {
    display: table-row;
    padding: 0 !important;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.bmb-compat-body table .bmb-compat-item::before {
    content: none;
}

.bmb-item-collapsed,
.bmb-search-hidden {
    display: none !important;
}

.bmb-compat-actions {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

.bmb-compat-toggle {
    min-height: 42px;
    padding: 9px 18px;
    border: 1px solid var(--bmb-desc-accent);
    border-radius: 999px;
    background: #fff;
    color: var(--bmb-desc-accent);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.bmb-compat-toggle:hover,
.bmb-compat-toggle:focus-visible {
    background: var(--bmb-desc-accent);
    color: #fff;
    transform: translateY(-1px);
}

.bmb-compat-empty {
    margin: 14px 0 0;
    padding: 12px 14px;
    border-left: 4px solid var(--bmb-desc-accent);
    border-radius: 8px;
    background: var(--bmb-desc-accent-soft);
    color: var(--bmb-desc-text);
}

.bmb-product-description .bmb-long-list:not(.bmb-compat-list) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 24px;
}

@media (max-width: 700px) {
    .bmb-product-description {
        font-size: 15.5px;
        line-height: 1.66;
    }

    .bmb-product-description h2,
    .bmb-product-description h3,
    .bmb-product-description h4,
    .bmb-product-description h5,
    .bmb-product-description h6 {
        margin-top: 1.4em;
    }

    .bmb-compat-card {
        border-radius: 12px;
    }

    .bmb-compat-card > .bmb-compat-title {
        padding: 16px 16px 13px 32px !important;
    }

    .bmb-compat-card > .bmb-compat-title::before {
        left: 15px !important;
        top: 17px !important;
        bottom: 14px !important;
    }

    .bmb-compat-body {
        padding: 15px;
    }

    .bmb-compat-list,
    .bmb-product-description .bmb-long-list:not(.bmb-compat-list) {
        grid-template-columns: 1fr;
    }

    .bmb-product-description table {
        display: block;
        overflow-x: auto;
        white-space: normal;
        -webkit-overflow-scrolling: touch;
    }

    .bmb-product-description th,
    .bmb-product-description td {
        min-width: 135px;
        padding: 10px 11px;
    }
}

@media print {
    .bmb-compat-search-wrap,
    .bmb-compat-actions {
        display: none !important;
    }

    .bmb-item-collapsed,
    .bmb-search-hidden {
        display: revert !important;
    }

    .bmb-compat-card {
        box-shadow: none;
    }
}
