/* LUX 27.10.2026 (владелец): строки TecDoc — тот же дизайн, что у аналогов в карточке.
   Файл СОБРАН из local/components/lux/detail_offers/templates/.default/style.css (правила строк
   .items-wrap/.buy-wrap/счётчик/кнопка/♡), привязаны к .lux-nodes-row. Весь файл карточки подключать нельзя:
   там .serach-wrap — сетка с колонкой фильтра 300px. Пересборка: ops/lux_tecdoc_rows_css.py */
.lux-nodes-row {
  --lux-panel: var(--light, #fff) var(--dark, #232323);
  --lux-muted: var(--light, #8a9099) var(--dark, #939ba3);
  --lux-border: var(--light, #ececec) var(--dark, #3a3a3a);
  --lux-border-strong: var(--light, #d8dce1) var(--dark, #4b4b4b);
}
.lux-nodes-row .serach-wrap .items-wrap { padding: 0 20px; border: 1px solid #f2f2f2; border-bottom: unset; transition: transform ease 0.2s, box-shadow ease 0.2s; z-index: 0; position: relative; }
.lux-nodes-row .serach-wrap .items-wrap.hidden { display: none; }
.lux-nodes-row .serach-wrap .items-wrap:last-child { border-bottom: 1px solid #f2f2f2; }
.lux-nodes-row .serach-wrap .items-wrap:not(.hidden):nth-child(even) { background: #fafafa; }
.lux-nodes-row .serach-wrap .items-wrap:hover { border-color: #fff; box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.10); -webkit-transform: translateY(-1px); transform: translateY(-1px); z-index: 1; }
.lux-nodes-row .items-wrap .item { display: none; }
.lux-nodes-row .items-wrap .item.hidden { display: none !important; }
.lux-nodes-row .items-wrap.open .item, .lux-nodes-row .items-wrap .item.to-top, .lux-nodes-row .items-wrap .item:first-child { display: grid; grid-template-columns: 1fr 1fr; column-gap: 10px; }
.lux-nodes-row .items-wrap .info-wrap { display: grid; grid-template-columns: 1fr 7fr; column-gap: 20px; align-items: start; padding: 15px 0; visibility: hidden; height: 1px; }
.lux-nodes-row .items-wrap .item:first-child .info-wrap, .lux-nodes-row .items-wrap .item.to-top .info-wrap { visibility: visible; height: auto; }
.lux-nodes-row .items-wrap .buy-wrap { display: grid; grid-template-columns: 1fr 1fr 2fr; align-items: start; border-bottom: 1px solid #f2f2f2; padding: 20px 0; }
.lux-nodes-row .items-wrap .item:last-child .buy-wrap { border: unset; }
.lux-nodes-row .info-wrap .img-wrap { text-align: center; }
.lux-nodes-row .info-wrap .img-wrap img { max-width: 100%; max-height: 50px; font-size: 10px; line-height: 10px; }
.lux-nodes-row .info-wrap .name-wrap a { font-weight: bold; max-height: 50px; display: block; overflow: hidden; }
.lux-nodes-row .info-wrap .name-wrap p { margin-bottom: 10px; font-weight: 500; font-size: 18px; line-height: 21px; letter-spacing: 0.05em; color: #000000; }
.lux-nodes-row .info-wrap .prop-wrap { display: grid; grid-template-columns: 2fr 3fr; column-gap: 20px; margin-top: 5px; }
.lux-nodes-row .info-wrap .prop { font-weight: 500; font-size: 12px; line-height: 12px; letter-spacing: 0.05em; color: #999999; }
.lux-nodes-row .info-wrap .prop span { font-weight: normal; }
.lux-nodes-row .buy-wrap .item-stock { max-width: 150px; white-space: unset; }
.lux-nodes-row .serach-wrap .item-stock .value { max-width: 85%; }
.lux-nodes-row .buy-wrap.quantity_block_wrapper .item-stock { max-width: unset; }
.lux-nodes-row .buy-wrap .item-stock .info { font-size: 12px; display: block; color: #999999; margin-left: 18px; margin-top: 3px; }
.lux-nodes-row .buy-wrap .prices { text-align: left; }
.lux-nodes-row .buy-wrap .counter_wrapp { white-space: unset; margin: 0 !important; padding: 0; position: relative; }
.lux-nodes-row .buy-wrap .counter_wrapp.list > div { margin: 0; }
.lux-nodes-row .buy-wrap .show-more, .lux-nodes-row .buy-wrap .hide-more { position: absolute; right: 4px; bottom: -16px; cursor: pointer; color: #FF6A00; font-size: 13px; line-height: 13px; border-bottom: 1px dashed #FF6A00; display: none; margin-bottom: 3px; }
.lux-nodes-row .items-wrap .item:only-child .show-more, .lux-nodes-row .items-wrap.hide-show-btn .item .show-more { display: none !important; }
.lux-nodes-row .items-wrap:not(.open) .item:first-child .show-more, .lux-nodes-row .items-wrap:not(.open) .item.to-top .show-more { display: block; margin-bottom: 3px; }
.lux-nodes-row .items-wrap.open .item:not(.to-top):last-child .hide-more { display: block; }
@media (max-width: 1200px) {
  .lux-nodes-row .serach-wrap .items-wrap { padding: 0 20px; }
  .lux-nodes-row .items-wrap.open .item, .lux-nodes-row .items-wrap .item:first-child { grid-template-columns: 1fr; }
  .lux-nodes-row .items-wrap .info-wrap { grid-template-columns: 1fr 3fr; column-gap: 20px; display: none; padding: 20px 0; }
  .lux-nodes-row .items-wrap .buy-wrap { align-items: center; column-gap: 20px; }
  .lux-nodes-row .items-wrap .item:first-child .info-wrap { display: grid; }
  .lux-nodes-row .items-wrap .item:first-child .buy-wrap { padding-top: 5px; padding-bottom: 20px; }
  .lux-nodes-row .info-wrap .prop-wrap { grid-template-columns: 1fr; row-gap: 10px; }
  .lux-nodes-row .info-wrap .img-wrap img { width: auto; max-height: 130px; }
  .lux-nodes-row .info-wrap .name-wrap a { margin-top: -6px; margin-bottom: 10px; }
}
@media (max-width: 767px) {
  .lux-nodes-row .serach-wrap .items-wrap { padding: 0 16px; }
  .lux-nodes-row .items-wrap .info-wrap { grid-template-columns: 1fr 2fr; column-gap: 20px; }
  .lux-nodes-row .items-wrap .buy-wrap { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .lux-nodes-row .info-wrap .name-wrap a { max-height: 75px; }
  .lux-nodes-row .buy-wrap .counter_wrapp.list { grid-row: 2; grid-column: span 2; }
  .lux-nodes-row .info-wrap .name-wrap { overflow: hidden; }
}
@media (min-width: 1600px) {
  .lux-nodes-row .items-wrap .buy-wrap { padding-left: 1.5vw; }
}
.lux-nodes-row .buy-wrap .show-more, .lux-nodes-row .buy-wrap .hide-more { display: none !important; }
.lux-nodes-row .img-wrap.lux-logo-fb img { -webkit-filter: grayscale(1); filter: grayscale(1); opacity: .5; aspect-ratio: 1 / 1; object-fit: contain; -webkit-transform: scale(.6); transform: scale(.6); }
.lux-nodes-row .item-stock { position: relative; }
.lux-nodes-row .item-stock .provider_info { left: auto; right: 0; top: 100%; max-width: calc(100vw - 30px); }
.lux-nodes-row .items-wrap .buy-wrap .item-stock { white-space: nowrap; }
.lux-nodes-row .items-wrap .buy-wrap .item-stock .info { white-space: normal; }
.lux-nodes-row .items-wrap .buy-wrap .cost .price { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -ms-flex-direction: column; flex-direction: column; -webkit-box-align: end; -ms-flex-align: end; align-items: flex-end; }
.lux-nodes-row .items-wrap .buy-wrap .cost .price .quantity_value { margin-top: 3px; }
.lux-nodes-row .items-wrap .buy-wrap .cost .values_wrapper { white-space: nowrap; }
@media (min-width: 768px) {
  .lux-nodes-row .items-wrap .buy-wrap .cost { position: relative; }
  .lux-nodes-row .items-wrap .buy-wrap .cost > .more-item-info { position: absolute; left: -16px; right: auto; top: 3px; margin: 0; float: none; }
}
@media (min-width: 768px) {
  .lux-nodes-row .items-wrap .buy-wrap { grid-template-columns: 0.8fr 0.8fr 2.4fr; }
}
.lux-nodes-row .items-wrap .buy-wrap .counter_wrapp.list { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; gap: 10px; }
.lux-nodes-row .items-wrap .buy-wrap .counter_wrapp.list > div { float: none; width: auto; margin: 0; padding: 0; -webkit-box-flex: 0; -ms-flex: 0 0 auto; flex: 0 0 auto; }
.lux-nodes-row .items-wrap .buy-wrap .counter_wrapp.list > .counter_block_inner { -ms-flex: 0 0 125px; flex: 0 0 125px; }
.lux-nodes-row .items-wrap .buy-wrap .counter_wrapp.list > .counter_block_inner .counter_block { width: 100%; }
.lux-nodes-row .items-wrap .buy-wrap .counter_wrapp.list > .button_block { -ms-flex: 1 1 auto; flex: 1 1 auto; }
.lux-nodes-row .items-wrap .buy-wrap .counter_wrapp.list > .button_block .to-cart, .lux-nodes-row .items-wrap .buy-wrap .counter_wrapp.list > .button_block .in-cart { width: 100%; }
.lux-nodes-row .items-wrap .buy-wrap .counter_wrapp.list > .lux-an-wish-wrap { -ms-flex: 0 0 44px; flex: 0 0 44px; order: 10; }
.lux-nodes-row .lux-an-wish { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; box-sizing: border-box; border: 1px solid var(--lux-border-strong, rgba(128, 128, 128, .35)); border-radius: 4px; cursor: pointer; background: transparent; }
.lux-nodes-row .lux-an-wish .svg { display: inline-flex; }
.lux-nodes-row .lux-an-wish .svg.colored svg path, .lux-nodes-row .lux-an-wish svg path { fill: #999; -webkit-transition: fill .15s; transition: fill .15s; }
.lux-nodes-row .lux-an-wish:hover { border-color: #ff6a00; }
.lux-nodes-row .lux-an-wish:hover .svg.colored svg path, .lux-nodes-row .lux-an-wish:hover svg path, .lux-nodes-row .lux-an-wish.added .svg.colored svg path, .lux-nodes-row .lux-an-wish.added svg path { fill: #ff6a00; }
.lux-nodes-row .lux-an-wish.added { border-color: #ff6a00; background: rgba(255, 106, 0, .08); }
.lux-nodes-row .lux-an-wish.lux-wish-busy { opacity: .5; pointer-events: none; }
.lux-nodes-row .items-wrap .buy-wrap .counter_wrapp.list > .counter_block_inner { min-width: 0; }
.lux-nodes-row .items-wrap .buy-wrap .counter_wrapp.list > .counter_block_inner .counter_block { min-width: 0; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: stretch; -ms-flex-align: stretch; align-items: stretch; width: 100%; height: 44px; padding: 0; border: 1px solid var(--lux-border-strong, rgba(128, 128, 128, .35)); border-radius: 4px; background: transparent; overflow: hidden; }
.lux-nodes-row .items-wrap .buy-wrap .counter_block .minus, .lux-nodes-row .items-wrap .buy-wrap .counter_block .plus { position: static; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -ms-flex: 0 0 36px; flex: 0 0 36px; width: 36px; height: auto; margin: 0; padding: 0; background: var(--lux-panel-soft, #f6f6f6); -webkit-transition: background .15s; transition: background .15s; }
.lux-nodes-row .items-wrap .buy-wrap .counter_block .minus:hover, .lux-nodes-row .items-wrap .buy-wrap .counter_block .plus:hover { background: rgba(255, 106, 0, .12); }
.lux-nodes-row .items-wrap .buy-wrap .counter_block > span .svg { position: static; left: auto; top: auto; margin: 0; width: auto; height: auto; line-height: 0; }
.lux-nodes-row .items-wrap .buy-wrap .counter_block input.text { -ms-flex: 1 1 0; flex: 1 1 0; width: 0; min-width: 0; height: auto; margin: 0; padding: 0; border: 0; border-left: 1px solid var(--lux-border, #ececec); border-right: 1px solid var(--lux-border, #ececec); border-radius: 0; background: var(--lux-panel, #fff); text-align: center; font-size: 15px; color: inherit; }
.lux-nodes-row .items-wrap .buy-wrap .counter_wrapp.list > .button_block .to-cart, .lux-nodes-row .items-wrap .buy-wrap .counter_wrapp.list > .button_block .in-cart { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; height: 44px; min-width: 0; padding: 0 14px; border-radius: 4px; font-size: 13px; line-height: 1.1; }
.lux-nodes-row .items-wrap .buy-wrap .counter_wrapp.list > .lux-an-wish-wrap { line-height: 0; }
.lux-nodes-row .items-wrap .buy-wrap .counter_wrapp.list::before, .lux-nodes-row .items-wrap .buy-wrap .counter_wrapp.list::after { display: none; }
.lux-nodes-row .items-wrap .buy-wrap .counter_wrapp.list > .button_block { -ms-flex: 0 0 auto; flex: 0 0 auto; }
.lux-nodes-row .items-wrap .buy-wrap .counter_wrapp.list > .button_block .to-cart, .lux-nodes-row .items-wrap .buy-wrap .counter_wrapp.list > .button_block .in-cart { width: auto; padding: 0 12px; font-size: 11px; letter-spacing: .3px; }
.lux-nodes-row .items-wrap .buy-wrap { -ms-flex-align: center; align-items: center; }
.lux-nodes-row .items-wrap .info-wrap .name-wrap > a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 767px) {
  .lux-nodes-row .items-wrap .buy-wrap .counter_wrapp.list > .button_block { -ms-flex: 1 1 auto; flex: 1 1 auto; }
  .lux-nodes-row .items-wrap .buy-wrap .counter_wrapp.list > .button_block .to-cart, .lux-nodes-row .items-wrap .buy-wrap .counter_wrapp.list > .button_block .in-cart { width: 100%; }
}
.lux-nodes-row .items-wrap .buy-wrap .counter_wrapp.list { -webkit-box-pack: end; -ms-flex-pack: end; justify-content: flex-end; }
.lux-nodes-row .items-wrap .buy-wrap .counter_wrapp.list > .counter_block_inner .counter_block { height: 35px; }
.lux-nodes-row .items-wrap .buy-wrap .counter_block .minus, .lux-nodes-row .items-wrap .buy-wrap .counter_block .plus { -ms-flex: 0 0 30px; flex: 0 0 30px; width: 30px; }
.lux-nodes-row .items-wrap .buy-wrap .counter_block input.text { font-size: 13px; }
.lux-nodes-row .items-wrap .buy-wrap .counter_wrapp.list > .button_block .to-cart, .lux-nodes-row .items-wrap .buy-wrap .counter_wrapp.list > .button_block .in-cart { height: 35px; }
.lux-nodes-row .items-wrap .buy-wrap .counter_wrapp.list > .lux-an-wish-wrap { -ms-flex: 0 0 35px; flex: 0 0 35px; }
.lux-nodes-row .items-wrap .buy-wrap .lux-an-wish { width: 35px; height: 35px; }
@media (min-width: 768px) {
  .lux-nodes-row .items-wrap .buy-wrap { grid-template-columns: 111px 111px auto; -ms-flex-pack: end; justify-content: end; }
}
.lux-nodes-row .items-wrap .buy-wrap .counter_wrapp.list > .counter_block_inner { -ms-flex: 0 0 100px; flex: 0 0 100px; }
.lux-nodes-row .items-wrap .buy-wrap .counter_block .minus, .lux-nodes-row .items-wrap .buy-wrap .counter_block .plus { -ms-flex: 0 0 28px; flex: 0 0 28px; width: 28px; }
@media (min-width: 768px) {
  .lux-nodes-row .items-wrap.open .item, .lux-nodes-row .items-wrap .item.to-top, .lux-nodes-row .items-wrap .item:first-child { grid-template-columns: minmax(0, 1fr) auto; }
}
@media (min-width: 768px) {
  .lux-nodes-row .items-wrap .buy-wrap { column-gap: 24px; }
}
@media (min-width: 768px) {
  .lux-nodes-row .items-wrap .info-wrap { grid-template-columns: 56px minmax(0, 1fr); column-gap: 12px; }
}
@media (min-width: 768px) {
  .lux-nodes-row .items-wrap .buy-wrap { grid-template-columns: 115px 126px auto; column-gap: 0; }
  .lux-nodes-row .items-wrap .buy-wrap .item-stock { padding-right: 24px; }
  .lux-nodes-row .items-wrap .buy-wrap .cost { padding-right: 47px; text-align: right; }
  .lux-nodes-row .items-wrap .buy-wrap .cost .price, .lux-nodes-row .items-wrap .buy-wrap .cost .with_matrix { justify-content: flex-end; }
}
@media (min-width: 768px) {
  .lux-nodes-row .items-wrap .info-wrap .prop-wrap { grid-template-columns: minmax(140px, max-content) minmax(0, max-content); column-gap: 14px; justify-content: start; }
  .lux-nodes-row .items-wrap .info-wrap .prop-wrap > .prop { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .lux-nodes-row .items-wrap .info-wrap .prop-wrap > .prop .value { white-space: nowrap; }
}
@media (min-width: 1600px) {
  .lux-nodes-row .items-wrap .buy-wrap .item-stock { margin-left: calc(12px - 1.5vw); }
}
.lux-nodes-row .item-stock .quantity_value { display: block; margin: 3px 0 0 18px; font-size: 12px; line-height: 14px; font-weight: 700; color: var(--lux-text, #222); white-space: nowrap; }
@media (min-width: 768px) {
  .lux-nodes-row .items-wrap .buy-wrap .cost > .more-item-info { left: auto; right: 23px; top: 50%; -webkit-transform: translateY(calc(-50% + 2px)); transform: translateY(calc(-50% + 2px)); }
}
.lux-nodes-row .buy-wrap .item-stock { position: relative; padding-left: 13px; }
.lux-nodes-row .buy-wrap .item-stock > .icon { position: absolute; left: 0; top: 0; margin-left: 0; margin-right: 0; }
.lux-nodes-row .buy-wrap .item-stock > .info, .lux-nodes-row .buy-wrap .item-stock > .quantity_value { margin-left: 0; }
.lux-nodes-row .quantity_block_wrapper.buy-wrap .item-stock { padding-left: 27px; }
.lux-nodes-row .quantity_block_wrapper.buy-wrap .item-stock > .icon { left: 12px; }
.lux-nodes-row .items-wrap .buy-wrap .cost .more-item-info + .price_matrix_wrapper, .lux-nodes-row .items-wrap .buy-wrap .cost .more-item-info + .js-info-block + .price_matrix_wrapper { padding-left: 0; }
@media (min-width: 768px) {
  .lux-nodes-row .lux-mgr-offers .items-wrap .cost.prices .more-item-info + .price_matrix_wrapper { padding-left: 0; }
  .lux-nodes-row .lux-mgr-offers .items-wrap .buy-wrap { grid-template-columns: 115px 140px auto; }
}
@media (min-width: 992px) {
  .lux-nodes-row .lux-mgr-offers .items-wrap .buy-wrap { grid-template-columns: 130px 196px auto; }
  .lux-nodes-row .lux-mgr-offers .items-wrap .cost .quantity_value { white-space: nowrap; }
}
/* тёмная тема: в файле карточки зебра и рамки строк светлые — как у аналогов в тёмной теме */
.lux-nodes-row .serach-wrap .items-wrap { border-color: var(--light, #f2f2f2) var(--dark, #3a3a3a); }
.lux-nodes-row .serach-wrap .items-wrap:last-child { border-bottom-color: var(--light, #f2f2f2) var(--dark, #3a3a3a); }
.lux-nodes-row .serach-wrap .items-wrap:not(.hidden):nth-child(even) { background: var(--light, #fafafa) var(--dark, #1f1f1f); }
.lux-nodes-row .serach-wrap .items-wrap:hover { border-color: var(--light, #fff) var(--dark, #3a3a3a); }
.lux-nodes-row .items-wrap .buy-wrap { border-bottom-color: var(--light, #f2f2f2) var(--dark, #3a3a3a); }
/* цвета названия, артикула/бренда и размер наличия — как во встроенных стилях product_card/template.php и style.css */
.lux-nodes-row .info-wrap .name-wrap a { color: inherit !important; }
.lux-nodes-row .info-wrap .prop, .lux-nodes-row .buy-wrap .item-stock .info { color: var(--lux-muted); }
.lux-nodes-row .info-wrap .prop .value { color: inherit; }
.lux-nodes-row .item-stock .value { font-size: 14px !important; line-height: 16px; }
.lux-nodes-row .items-wrap .buy-wrap .counter_block .minus,
.lux-nodes-row .items-wrap .buy-wrap .counter_block .plus { background-color: transparent !important; }
.lux-nodes-row .items-wrap .buy-wrap .counter_block .minus:hover,
.lux-nodes-row .items-wrap .buy-wrap .counter_block .plus:hover { background-color: rgba(255,106,0,.12) !important; }
