/* Only availability cells; leave the surrounding offer table unchanged. */
.delivery-status {
    box-sizing: border-box;
    min-width: 142px;
    padding: 5px 4px;
    text-align: center;
    line-height: 1.25;
    font-size: 13px;
}
.delivery-status-order::before {
    content: '\25F7  ПОД ЗАКАЗ';
    display: block;
    width: max-content;
    margin: 0 auto 3px;
    padding: 3px 10px;
    border-radius: 16px;
    background: #ffe3b2;
    color: #a84609;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}
.delivery-status .not-in-stock {
    display: block;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    color: #153558;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
}
.delivery-status .not-in-stock::after { content: ' раб. дней'; }
.delivery-status::after {
    content: attr(data-note);
    display: block;
    margin-top: 3px;
    color: #526b83;
    font-size: 11px;
    line-height: 1.25;
    white-space: normal;
}
.delivery-status .in-stock {
    display: inline-block;
    padding: 4px 10px;
    margin: 0;
    border-radius: 16px;
    background: #268d4c;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    white-space: nowrap;
}
.delivery-status .in-stock::before { content: '\2713  '; }

/* All three article-result tables use the same column geometry. */
.search-table:has(> .search-offer-table) { overflow-x: auto; }
.search-table > .search-offer-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
    --offer-name: 28%; --offer-article: 14%; --offer-photo: 8%;
    --offer-storage: 9%; --offer-quantity: 7%; --offer-delivery: 15%;
    --offer-price: 8%; --offer-cart: 7%; --offer-info: 4%;
}
.search-table > .search-offer-table-manager {
    min-width: 0;
    --offer-name: 16%; --offer-article: 13%; --offer-photo: 7%;
    --offer-storage: 8%; --offer-quantity: 6%; --offer-delivery: 13%;
    --offer-price: 7%; --offer-cart: 6%; --offer-info: 3%;
}
.search-offer-table > :is(thead, tbody) > tr > :is(th, td) { box-sizing: border-box; overflow-wrap: anywhere; }
.search-offer-table > :is(thead, tbody) > tr > :nth-child(1) { width: var(--offer-name) !important; }
.search-offer-table > :is(thead, tbody) > tr > :nth-child(2) { width: var(--offer-article) !important; }
.search-offer-table > :is(thead, tbody) > tr > :nth-child(3) { width: var(--offer-photo) !important; }
.search-offer-table > :is(thead, tbody) > tr > :nth-child(4) { width: var(--offer-storage) !important; }
.search-offer-table > :is(thead, tbody) > tr > :nth-child(5) { width: var(--offer-quantity) !important; }
.search-offer-table > :is(thead, tbody) > tr > :nth-child(6) { width: var(--offer-delivery) !important; }
.search-offer-table > :is(thead, tbody) > tr > :nth-child(7) { width: var(--offer-price) !important; }
.search-offer-table > :is(thead, tbody) > tr > :nth-child(8) { width: var(--offer-cart) !important; }
.search-offer-table > :is(thead, tbody) > tr > :nth-child(9) { width: var(--offer-info) !important; }
.search-offer-table-manager > :is(thead, tbody) > tr > :nth-child(10) { width: 13% !important; }
.search-offer-table-manager > :is(thead, tbody) > tr > :nth-child(11) { width: 8% !important; }
.search-offer-table .delivery-status { min-width: 0; }
.search-offer-table :is(th, td) { white-space: normal; }
.search-offer-table .default-image { max-width: 100%; }
.search-offer-table .default-image img { max-width: 100%; height: auto; }
.search-offer-table .delivery-status :is(.not-in-stock, .in-stock) { white-space: normal; overflow-wrap: anywhere; }
.search-offer-table .delivery-status-order::before { width: fit-content; max-width: 100%; box-sizing: border-box; white-space: normal; }
.search-offer-table .search-name-type { max-width: 100%; }
