@charset "UTF-8";
/* Isolated proposal: compact product rows. No production change. */
body.compact-product-rows .site-header>.table-caption{display:grid;grid-template-columns:28px minmax(0,1fr) 112px 86px 126px 90px!important;gap:14px;align-items:center;padding:9px 32px;font-size:11px}
body.compact-product-rows .site-header>.table-caption span:nth-child(n+3){text-align:right}
body.compact-product-rows #catalog-results[data-view=table] .product{display:grid;grid-template-columns:28px minmax(0,1fr) 112px 86px 126px 90px!important;gap:8px 14px;padding:13px 16px;align-items:start;min-height:98px;background:var(--surface)}
body.compact-product-rows #catalog-results[data-view=table] .product[data-selected=true]{background:#f1f8f3}
body.compact-product-rows #catalog-results[data-view=table] .product-check{grid-column:1;grid-row:1;padding-top:7px;align-self:start}
body.compact-product-rows #catalog-results[data-view=table] .product-identity{grid-column:2;grid-row:1;display:flex;gap:13px;align-items:start;min-width:0}
body.compact-product-rows #catalog-results[data-view=table] .product-photo{width:68px;height:68px;flex:0 0 68px;border-radius:6px;overflow:hidden}
body.compact-product-rows #catalog-results[data-view=table] .product-photo img{width:68px;height:68px;max-height:68px;object-fit:contain;padding:3px}
body.compact-product-rows #catalog-results[data-view=table] .product-name{font-size:15px;line-height:1.45;font-weight:500;color:var(--text);margin:0;text-wrap:pretty}
body.compact-product-rows #catalog-results[data-view=table] .product-identity>.compact-identity-text{min-width:0}
body.compact-product-rows #catalog-results[data-view=table] .product-meta{display:flex;flex-wrap:wrap;gap:3px 12px;align-items:center;font-size:12px;line-height:1.4;color:#687381;margin-top:5px}
body.compact-product-rows #catalog-results[data-view=table] .product-meta>span{margin:0;font-size:12px;line-height:1.4;color:#687381}
body.compact-product-rows #catalog-results[data-view=table] .product-meta>span:nth-of-type(2){color:#485464}
body.compact-product-rows #catalog-results[data-view=table] .product-kind{display:inline-block;font-size:10px;line-height:1.4;margin:0;padding:2px 5px;background:#f0f3f6;color:#77838e;border:0;order:5;border-radius:3px}
body.compact-product-rows #catalog-results[data-view=table] .price{grid-column:3;grid-row:1;align-self:start;padding-top:4px;text-align:right;font-size:18px;font-weight:700;line-height:1.3;white-space:nowrap;color:#252c35}
body.compact-product-rows #catalog-results[data-view=table] .price small{font-size:11px;font-weight:400;line-height:1.5;color:#76808c;margin-top:3px}
body.compact-product-rows #catalog-results[data-view=table] .quantity-cell{grid-column:4;grid-row:1;align-self:start;padding-top:0;margin:0;text-align:right}
body.compact-product-rows #catalog-results[data-view=table] .quantity-cell input{width:76px;min-width:0;height:36px;font-size:15px;padding:7px;text-align:center;border-radius:5px;background:#fff}
body.compact-product-rows #catalog-results[data-view=table] .line-amount{grid-column:5;grid-row:1;align-self:start;text-align:right;min-height:36px;padding:7px 9px;border-radius:5px;background:#eff3f6;white-space:nowrap;font-size:18px;font-weight:700;line-height:1.3;color:#223546}
body.compact-product-rows #catalog-results[data-view=table] .line-amount strong{font-size:18px;font-weight:700;color:inherit}
body.compact-product-rows #catalog-results[data-view=table] .details-button{grid-column:6;grid-row:1;align-self:start;white-space:nowrap;padding:8px 0 0;font-size:12px;margin:0;justify-self:end;text-align:right}
body.compact-product-rows #catalog-results[data-view=table] .row-spec-toggle{display:inline-flex;align-items:center;gap:7px;font:400 12px/1.4 Arial,sans-serif;color:#80536b;background:transparent;border:0;border-radius:3px;padding:0;min-height:22px;margin:5px 0 0;cursor:pointer;text-align:left}
body.compact-product-rows #catalog-results[data-view=table] .row-spec-toggle:hover{color:var(--accent)}
body.compact-product-rows #catalog-results[data-view=table] .row-spec-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
body.compact-product-rows #catalog-results[data-view=table] .row-spec-toggle[aria-expanded=true]{color:var(--accent)}
body.compact-product-rows #catalog-results[data-view=table] .row-spec-expanded{grid-column:2/-1;grid-row:2;font-size:14px;line-height:1.6;color:#485463;border:1px solid #e1e7ec;background:#f7f9fa;border-radius:6px;padding:13px 16px;margin-top:2px;max-width:none}
body.compact-product-rows #catalog-results[data-view=table] .row-spec-expanded strong{display:block;font-size:11px;font-weight:500;letter-spacing:.04em;text-transform:uppercase;color:#7a8793;margin-bottom:5px}
body.compact-product-rows #catalog-results[data-view=table] .row-spec-expanded p{font-size:14px;line-height:1.6;margin:0;max-width:105ch}
body.compact-product-rows #catalog-results[data-view=table] .position>.position-heading{padding-block:10px;min-height:43px}
body.compact-product-rows #catalog-results[data-view=table] .position>.position-heading>h3{font-size:16px;line-height:1.45}
body.compact-product-rows #catalog-results[data-view=table] .position>.position-heading>.position-number{font-size:16px}
body.compact-product-rows .row-spec-expanded[hidden]{display:none!important}


@media(max-width:1050px) and (min-width:641px){body.compact-product-rows #catalog-results[data-view=table] .product,body.compact-product-rows .site-header>.table-caption{grid-template-columns:24px minmax(0,1fr) 98px 76px 112px 74px!important;gap:8px 10px}body.compact-product-rows #catalog-results[data-view=table] .product-photo,body.compact-product-rows #catalog-results[data-view=table] .product-photo img{width:62px;height:62px}body.compact-product-rows #catalog-results[data-view=table] .product-photo{flex-basis:62px}body.compact-product-rows #catalog-results[data-view=table] .line-amount,body.compact-product-rows #catalog-results[data-view=table] .line-amount strong,body.compact-product-rows #catalog-results[data-view=table] .price{font-size:16px}}
@media(max-width:640px){body.compact-product-rows .site-header>.table-caption{display:none}body.compact-product-rows #catalog-results[data-view=table] .product{grid-template-columns:24px 1fr 92px!important;gap:10px;padding:12px}body.compact-product-rows #catalog-results[data-view=table] .product-check{grid-column:1;grid-row:1}body.compact-product-rows #catalog-results[data-view=table] .product-identity{grid-column:2/4;grid-row:1}body.compact-product-rows #catalog-results[data-view=table] .product-photo,body.compact-product-rows #catalog-results[data-view=table] .product-photo img{width:64px;height:64px}body.compact-product-rows #catalog-results[data-view=table] .product-photo{flex-basis:64px}body.compact-product-rows #catalog-results[data-view=table] .price{grid-column:2;grid-row:2;text-align:left;font-size:16px;padding:0}body.compact-product-rows #catalog-results[data-view=table] .price>.mobile-label{display:block;font-size:11px;font-weight:400;color:#76808c}body.compact-product-rows #catalog-results[data-view=table] .quantity-cell{grid-column:3;grid-row:2}body.compact-product-rows #catalog-results[data-view=table] .quantity-cell .mobile-label{font-size:11px;margin:0 0 3px;display:block;color:#76808c}body.compact-product-rows #catalog-results[data-view=table] .line-amount{grid-column:2/4;grid-row:3;text-align:left;font-size:17px}body.compact-product-rows #catalog-results[data-view=table] .line-amount::before{content:'Сумма: ';font-size:12px;font-weight:400;color:#66788a}body.compact-product-rows #catalog-results[data-view=table] .details-button{grid-column:2/4;grid-row:4;justify-self:start;padding:0}body.compact-product-rows #catalog-results[data-view=table] .row-spec-expanded{grid-column:1/4;grid-row:5}}

body.compact-product-rows #catalog-results[data-view=table] .product-meta{flex-direction:row;justify-content:flex-start;text-align:left}body.compact-product-rows #catalog-results[data-view=table] .compact-identity-text{flex:1;width:auto;text-align:left}body.compact-product-rows .site-header>.table-caption>span{grid-column:auto!important;grid-row:auto!important}

/* Keep all digits and validation messages visible even for unusually large totals. */
body.compact-product-rows #catalog-results[data-view=table] .line-amount,body.compact-product-rows #catalog-results[data-view=table] .price{white-space:normal;overflow-wrap:normal}body.compact-product-rows #catalog-results[data-view=table] .line-amount strong{display:block;white-space:normal;word-break:normal}
body.compact-product-rows:has(#catalog-results[data-view=cards]) .site-header>.table-caption{display:none!important}
