/* Shared product specifications shown next to the model title. */
.cw-spec-summary {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: .65rem 0 1rem;
}
.cw-spec-summary:not(:has(dd:not(:empty))) { display: none; }
.cw-spec-summary > div:has(dd:empty) { display: none; }
.cw-spec-summary > div {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .25rem .45rem;
    max-width: 100%;
    border: 1px solid #d8e2ef;
    border-radius: .4rem;
    background: #f2f6fc;
    padding: .35rem .6rem;
    font-size: .875rem;
    line-height: 1.45;
}
.cw-spec-summary dt { color: #46566c; }
.cw-spec-summary dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }

.cw-product-detail .cw-spec-summary > div {
    background: rgba(142, 188, 219, .08);
    border-color: var(--line-2, #466480);
    color: var(--white, #edf5ff);
}
.cw-product-detail .cw-spec-summary dt { color: #aec9df; }
.cw-product-detail .pd-title bdi {
    display: inline-block;
    inline-size: max-content;
    max-inline-size: 100%;
    overflow-wrap: anywhere;
    unicode-bidi: isolate;
}
.cw-product-detail .rfq-bar { padding-bottom: env(safe-area-inset-bottom, 0px); }
body:has(.cw-product-detail) { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 600px) {
    .cw-product-detail .pd-header { margin-bottom: 1.25rem; }
    .cw-product-detail .rfq-actions {
        display: grid;
        grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
        gap: .375rem;
        width: 100%;
    }
    .cw-product-detail .rfq-actions .btn {
        min-width: 0;
        min-height: 44px;
        padding: .35rem .25rem;
        text-align: center;
        line-height: 1.25;
        white-space: normal;
        overflow-wrap: anywhere;
    }
}
@media (max-width: 360px) {
    body:has(.cw-product-detail) { padding-bottom: calc(7rem + env(safe-area-inset-bottom, 0px)); }
}
