.search-mobile-group, .search-mobile-more-row { display: none; }
@media (max-width: 767px) {
  .search .search-table:has(> .search-mobile-offers) { overflow: visible; border: 0; }
  .search .search-table > table.search-mobile-offers { display: block; width: 100%; min-width: 0 !important; margin: 0; border: 0; background: transparent; }
  .search .search-mobile-offers > tbody { display: block; }
  .search .search-mobile-offers > thead { display: block; }
  .search .search-mobile-offers > thead > tr { display: flex; justify-content: flex-end; gap: 8px; margin: 0 0 8px; }
  .search .search-mobile-offers > thead > tr > th { display: none; }
  .search .search-mobile-offers > thead > tr > :is(th:nth-child(6), th:nth-child(7)) { display: block; width: auto !important; padding: 7px 10px; border: 1px solid #d4e4ef; border-radius: 7px; background: #eff7fc; font-size: 11px; line-height: 1.3; }
  .search .search-mobile-offers > thead br { display: none; }
  .search .search-mobile-offers .offer-type-1 { --offer-accent: #d83a42; }
  .search .search-mobile-offers .offer-type-2 { --offer-accent: #27966c; }
  .search .search-mobile-offers .offer-type-3 { --offer-accent: #1677b5; }
  .search .search-mobile-offers > tbody > .search-mobile-group { display: block; margin: 14px 0 8px; }
  .search .search-mobile-offers > tbody > .search-mobile-group > td { display: flex; align-items: center; gap: 8px; width: 100% !important; min-height: 36px; padding: 0 0 7px; border: 0; border-bottom: 1px solid #d7e5ed; background: transparent; color: var(--offer-accent); }
  .search-mobile-group-title { font-size: 16px; font-weight: 700; }
  .search-mobile-count { padding: 1px 6px; border-radius: 10px; background: #eaf2f7; color: #637d8e; font-size: 12px; }
  .search .search-mobile-offers .search-mobile-shared-photo { margin: 0 0 0 auto !important; }
  .search .search-mobile-offers > tbody > .offer-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); gap: 8px 12px; padding: 12px; margin: 0 0 10px; border: 1px solid #d6e5ef; border-left: 3px solid var(--offer-accent); border-radius: 12px; background: #fff; box-shadow: 0 2px 7px rgba(22,63,96,.04); }
  .search .search-mobile-offers > tbody > .offer-row > td { display: block; width: auto !important; min-width: 0; height: auto; margin: 0; padding: 0 !important; border: 0 !important; background: transparent; text-align: left !important; font-size: 13px; line-height: 1.4; color: #274a62; word-break: normal; overflow-wrap: break-word; }
  .search .search-mobile-offers > tbody > .offer-row > td.offer-name { grid-column: 1 / -1; grid-row: 1; padding-right: 25px !important; font-size: 15px !important; font-weight: 600; }
  .search .search-mobile-offers .search-name { min-height: 0; padding: 0; font-size: inherit; line-height: 1.4; }
  .search .search-mobile-offers .search-name-type { display: none; }
  .search .search-mobile-offers .offer-article { grid-column: 1 / -1; grid-row: 2; font-size: 11px !important; color: #718796 !important; }
  .search .search-mobile-offers .offer-article::before { content: 'Артикул: '; }
  .search .search-mobile-offers .offer-photo { display: none !important; }
  .search .search-mobile-offers .offer-type-2 > .offer-photo { display: block !important; position: absolute; top: 12px; left: 12px; width: 48px !important; }
  .search .search-mobile-offers > tbody > .offer-type-2 > td.offer-name { padding-left: 60px !important; min-height: 34px; }
  .search .search-mobile-offers > tbody > .offer-type-2 > td.offer-article { padding-left: 60px !important; }
  .search .search-mobile-offers .default-image, .search .search-mobile-offers .default-image img { display: block; width: 48px; height: 48px; object-fit: contain; border-radius: 7px; }
  .search .search-mobile-offers .offer-quantity { grid-column: 1; grid-row: 3; }
  .search .search-mobile-offers .offer-storage { grid-column: 2; grid-row: 3; }
  .search .search-mobile-offers :is(.offer-storage,.offer-quantity,.offer-price)::before { display: block; margin-bottom: 2px; color: #788e9d; font-size: 11px; font-weight: 400; }
  .search .search-mobile-offers .offer-storage::before { content: 'Склад'; }
  .search .search-mobile-offers .offer-quantity::before { content: 'Количество, шт.'; }
  .search .search-mobile-offers .offer-delivery { grid-column: 1 / -1; grid-row: 4; }
  .search .search-mobile-offers .delivery-status { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 7px; min-width: 0; padding: 0; text-align: left; }
  body .search .search-mobile-offers .delivery-status :is(.in-stock,.not-in-stock) { white-space: nowrap; overflow-wrap: normal; word-break: normal; font-size: 11px; line-height: 1.3; }
  .search .search-mobile-offers .delivery-status-order::before { margin: 0; padding: 3px 7px; font-size: 10px; width: auto; white-space: nowrap; }
  .search .search-mobile-offers .delivery-status::after { margin: 0; font-size: 10px; }
  .search .search-mobile-offers .offer-price { grid-column: 1; grid-row: 5; align-self: center; white-space: nowrap; font-size: 21px !important; font-weight: 700; color: #164b70 !important; }
  .search .search-mobile-offers .offer-price::before { content: 'Цена'; }
  .search .search-mobile-offers .offer-price::after { content: ' ₽'; font-size: 15px; }
  .search .search-mobile-offers > tbody > .offer-row > td.offer-cart { grid-column: 2; grid-row: 5; justify-self: end; align-self: center; width: 100% !important; max-width: 150px; }
  .search .search-mobile-offers .add-to-cart { display: flex; align-items: center; justify-content: center; width: 100%; height: 42px; padding: 0 8px; border: 0; border-radius: 8px; background: #07629c; color: #fff; text-decoration: none; }
  .search .search-mobile-offers .add-to-cart::before { display: none; }
  .search .search-mobile-offers .add-to-cart::after { content: 'В КОРЗИНУ'; font-size: 12px; font-weight: 600; }
  .search .search-mobile-offers .offer-info { position: absolute; top: 12px; right: 10px; }
  .search .search-mobile-offers :is(.offer-gem,.offer-place) { grid-row: 6; font-size: 12px !important; }
  .search .search-mobile-offers .offer-gem { grid-column: 1; }
  .search .search-mobile-offers .offer-place { grid-column: 2; }
  .search .search-mobile-offers .offer-gem::before { content: 'GEM'; display: block; color: #788e9d; font-size: 11px; }
  .search .search-mobile-offers .offer-place::before { content: 'Место'; display: block; color: #788e9d; font-size: 11px; }
  .search .search-mobile-offers :is(.offer-gem,.offer-place):empty { display: none; }
  .search .search-mobile-offers > tbody > .search-mobile-collapsed { display: none; }
  .search .search-mobile-offers > tbody > .search-mobile-more-row { display: block; margin-bottom: 14px; }
  .search .search-mobile-offers > tbody > .search-mobile-more-row > td { display: block; width: 100% !important; padding: 0; border: 0; }
  .search-mobile-more { width: 100%; min-height: 42px; border: 1px solid #c5dce9; border-radius: 9px; background: #f1f8fc; color: #245d7d; font-size: 14px; font-weight: 600; }
}
