<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:base="https://www.pandoraburo.ru/" xml:lang="ru">
  <id>https://www.pandoraburo.ru/vygodnee-vsego-delat-nozhi-iz-09g2s</id>
  <link href="https://www.pandoraburo.ru/vygodnee-vsego-delat-nozhi-iz-09g2s.xml" rel="self"/>
  <title>Выгоднее всего делать ножи из 09Г2С</title>
  <subtitle type="html">
&lt;html lang="ru"&gt;
&lt;head&gt;
&lt;meta charset="UTF-8"&gt;
&lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&gt;
&lt;title&gt;Калькулятор прибыли · Ножи отвала · 09Г2С&lt;/title&gt;
&lt;style&gt;
  :root{--gold:#FFD700;--gold-light:#FFE55C;--gold-deep:#B8860B;--bg:#0a0a0a;--muted:#9a8040;--border:rgba(212,175,55,.35);--green:#7dff7d;--red:#ff8a7a;}
  *{box-sizing:border-box;margin:0;padding:0}
  body{background:#050505;color:#e8e8e8;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif;padding:20px 14px;line-height:1.5;}
  .wrap{max-width:1750px;margin:0 auto}

  .header{background:radial-gradient(120% 120% at 20% 0%,rgba(255,215,0,.25),transparent 55%),linear-gradient(135deg,#1a1408,#0a0a0a);border:2px solid var(--gold);border-radius:14px;padding:28px 24px;text-align:center;margin-bottom:16px;box-shadow:0 0 40px rgba(255,215,0,.25),0 6px 22px rgba(0,0,0,.6);}
  .tag{display:inline-block;background:var(--gold);color:#0a0a0a;font-size:10px;font-weight:800;letter-spacing:2px;padding:4px 14px;border-radius:999px;margin-bottom:14px;box-shadow:0 0 16px rgba(255,215,0,.7);}
  .header h1{font-size:28px;font-weight:900;letter-spacing:3px;color:var(--gold);text-transform:uppercase;margin-bottom:12px;text-shadow:0 0 10px rgba(255,215,0,.95),0 0 25px rgba(255,199,0,.8),0 0 45px rgba(255,170,0,.6);animation:goldPulse 3s ease-in-out infinite;}
  @keyframes goldPulse{0%,100%{text-shadow:0 0 10px rgba(255,215,0,.95),0 0 25px rgba(255,199,0,.8),0 0 45px rgba(255,170,0,.6);}50%{text-shadow:0 0 15px rgba(255,215,0,1),0 0 35px rgba(255,199,0,.95),0 0 60px rgba(255,170,0,.8);}}
  .line{width:80px;height:3px;background:var(--gold);margin:0 auto 12px;border-radius:2px;box-shadow:0 0 15px var(--gold);}
  .header p{color:var(--gold-light);font-size:14px;opacity:.95;}

  /* БЛОК ПАРАМЕТРОВ */
  .params-block{background:linear-gradient(135deg,rgba(255,215,0,.1),rgba(10,10,10,.95));border:3px solid var(--gold);border-radius:16px;padding:26px 22px;margin-bottom:16px;box-shadow:0 0 40px rgba(255,215,0,.3);position:relative;}
  .params-block::before{content:'⚙ ПАРАМЕТРЫ РАСЧЁТА ⚙';position:absolute;top:-14px;left:50%;transform:translateX(-50%);background:#0a0a0a;color:var(--gold);padding:4px 22px;border:2px solid var(--gold);border-radius:999px;font-size:12px;font-weight:900;letter-spacing:3px;text-shadow:0 0 15px rgba(255,215,0,1);white-space:nowrap;box-shadow:0 0 20px rgba(255,215,0,.6);}
  .params-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;}
  @media(max-width:1100px){.params-grid{grid-template-columns:repeat(3,1fr);}}
  @media(max-width:700px){.params-grid{grid-template-columns:1fr 1fr;}}
  @media(max-width:450px){.params-grid{grid-template-columns:1fr;}}
  .param-ctrl{background:rgba(0,0,0,.5);border:1px solid var(--gold);border-radius:12px;padding:14px 16px;display:flex;flex-direction:column;gap:8px;}
  .param-ctrl label{font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:1.5px;color:var(--gold);}
  .param-ctrl input{padding:10px 12px;border:2px solid var(--gold);border-radius:9px;font-size:18px;font-weight:800;background:#0a0a0a;color:var(--gold-light);outline:none;font-family:inherit;text-align:center;font-variant-numeric:tabular-nums;}
  .param-ctrl input:focus{box-shadow:0 0 0 4px rgba(255,215,0,.25);}
  .param-ctrl .unit{font-size:11px;color:var(--muted);text-align:center;font-weight:700;}

  /* БЛОК ЗАКАЗА (выбор и количество) */
  .order-block{
    background:linear-gradient(135deg,rgba(125,255,125,.08),rgba(10,10,10,.95));
    border:3px solid var(--green);border-radius:16px;
    padding:24px 22px;margin-bottom:16px;
    box-shadow:0 0 40px rgba(125,255,125,.25);
    position:relative;
  }
  .order-block::before{
    content:'? ЗАКАЗ · СЧИТАЕМ ПРИБЫЛЬ ?';
    position:absolute;top:-14px;left:50%;transform:translateX(-50%);
    background:#0a0a0a;color:var(--green);
    padding:4px 22px;border:2px solid var(--green);border-radius:999px;
    font-size:12px;font-weight:900;letter-spacing:3px;
    text-shadow:0 0 15px rgba(125,255,125,1);
    white-space:nowrap;box-shadow:0 0 20px rgba(125,255,125,.6);
  }
  .order-grid{
    display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin-bottom:16px;
  }
  @media(max-width:1100px){.order-grid{grid-template-columns:repeat(3,1fr);}}
  @media(max-width:700px){.order-grid{grid-template-columns:1fr 1fr;}}
  @media(max-width:450px){.order-grid{grid-template-columns:1fr;}}
  .order-stat{background:rgba(0,0,0,.5);border:1px solid var(--green);border-radius:12px;padding:14px;text-align:center;}
  .order-stat .lbl{color:var(--green);font-size:10px;font-weight:800;letter-spacing:1.5px;text-transform:uppercase;margin-bottom:6px;}
  .order-stat .val{font-size:22px;font-weight:900;color:#b9ff9f;line-height:1.1;font-variant-numeric:tabular-nums;}
  .order-stat .val.big{font-size:28px;}
  .order-stat .val.red{color:var(--red);}
  .order-stat .sub{font-size:11px;color:var(--muted);margin-top:4px;}
  .order-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;}

  /* ТУЛБАР */
  .toolbar{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px;}
  .btn{display:inline-flex;align-items:center;gap:6px;padding:10px 16px;border-radius:9px;border:1px solid var(--gold);background:transparent;color:var(--gold);font-size:13px;font-weight:700;cursor:pointer;transition:.15s;font-family:inherit;}
  .btn:hover{background:var(--gold);color:#0a0a0a;}
  .btn.primary{background:var(--gold);color:#0a0a0a;}
  .btn.green{background:linear-gradient(135deg,#7dff7d,#3aa03a);color:#0a0a0a;border-color:#7dff7d;font-weight:900;}
  .btn.green:hover{background:#b9ff9f;}
  .btn.red{background:transparent;color:var(--red);border-color:var(--red);}
  .btn.red:hover{background:var(--red);color:#0a0a0a;}

  /* ФИЛЬТР */
  .filter{background:var(--bg);border:1px solid var(--gold);border-radius:14px;padding:16px;margin-bottom:16px;}
  .filter-row{display:grid;grid-template-columns:2fr 1fr auto;gap:12px;align-items:center;margin-bottom:12px;}
  @media(max-width:700px){.filter-row{grid-template-columns:1fr;}}
  .search{width:100%;padding:12px 14px;border:1px solid var(--gold);border-radius:9px;font-size:14px;background:#0a0a0a;color:var(--gold-light);outline:none;font-family:inherit;font-weight:600;}
  .search::placeholder{color:rgba(212,175,55,.4);}
  .counter{color:var(--gold);font-size:13px;white-space:nowrap;padding:12px 14px;border:1px solid var(--gold);border-radius:9px;background:#0a0a0a;font-weight:700;}
  .cat-select{padding:12px 14px;border:1px solid var(--gold);border-radius:9px;background:#0a0a0a;color:var(--gold-light);font-size:13px;font-family:inherit;outline:none;cursor:pointer;font-weight:700;}
  .filter-actions{display:flex;gap:8px;flex-wrap:wrap;}

  /* ТАБЛИЦА */
  .table-block{background:var(--bg);border:1px solid var(--gold);border-radius:14px;padding:20px;margin-bottom:16px;}
  .block-title{color:var(--gold);font-size:12px;font-weight:800;letter-spacing:2px;text-align:center;margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid var(--border);text-transform:uppercase;text-shadow:0 0 12px rgba(255,215,0,.6);}
  .table-wrap{overflow:auto;max-height:70vh;border-radius:8px;border:1px solid var(--gold);}
  table{width:100%;table-layout:auto;border-collapse:collapse;background:#0a0a0a;font-size:13px;}
  th,td{padding:10px 8px;text-align:left;border-bottom:1px solid rgba(212,175,55,.2);vertical-align:middle;color:var(--gold);background:transparent;white-space:nowrap;}
  th{position:sticky;top:0;z-index:2;background:#0a0a0a;color:var(--gold);font-weight:800;text-transform:uppercase;font-size:10px;letter-spacing:1px;border-bottom:1px solid var(--gold);cursor:pointer;user-select:none;}
  th:hover{background:#1a1408;}
  th.sortable::after{content:' ⇅';opacity:.5;margin-left:4px;font-size:9px;}
  th.asc::after{content:' ▲';opacity:1;color:var(--gold-light);}
  th.desc::after{content:' ▼';opacity:1;color:var(--gold-light);}
  th.num,td.num{text-align:right;font-variant-numeric:tabular-nums;}
  th.col-star,td.col-star{width:44px;text-align:center;padding:8px 6px;}
  th.col-qty,td.col-qty{width:70px;text-align:center;padding:6px 4px;}

  /* Стрелка над ★ */
  th.col-star{position:sticky;top:0;background:linear-gradient(180deg,#1a1408,#0a0a0a) !important;}
  th.col-star::before{
    content:'▼';position:absolute;top:100%;left:50%;transform:translateX(-50%);
    color:var(--gold);font-size:20px;line-height:1;
    text-shadow:0 0 12px rgba(255,215,0,1),0 0 24px rgba(255,199,0,.8);
    animation:arrowBounce 1s ease-in-out infinite;pointer-events:none;
  }
  @keyframes arrowBounce{0%,100%{transform:translateX(-50%) translateY(0);opacity:1;}50%{transform:translateX(-50%) translateY(6px);opacity:.7;}}

  tbody tr{transition:background .15s;}
  tbody tr:hover{background:#1a1408;}
  tbody tr.loss{background:rgba(255,50,50,.08);}
  tbody tr.picked{background:linear-gradient(90deg,rgba(125,255,125,.15),rgba(125,255,125,.03));box-shadow:inset 4px 0 0 var(--green);}
  td.price{font-weight:700;color:#FFE55C;}
  td.profit{font-weight:800;color:var(--green);}
  td.profit.neg{color:var(--red);}
  td.margin{font-weight:700;color:#b9ff9f;}
  td.margin.neg{color:var(--red);}
  td.article{font-family:'Courier New',monospace;font-size:12px;color:var(--gold-light);}
  td b{color:#fff;}
  .badge{display:inline-block;padding:2px 6px;border-radius:10px;font-size:9px;font-weight:800;text-transform:uppercase;background:rgba(212,175,55,.15);color:var(--gold-light);border:1px solid rgba(212,175,55,.5);white-space:nowrap;}
  .star{cursor:pointer;font-size:22px;color:rgba(212,175,55,.35);transition:all .2s;user-select:none;text-align:center;display:inline-block;}
  .star:hover{color:var(--gold);transform:scale(1.3);}
  .star.on{color:var(--green);text-shadow:0 0 12px var(--green),0 0 24px rgba(125,255,125,.5);}
  input.qty{width:60px;padding:6px 4px;border:1px solid var(--border);border-radius:6px;background:#0a0a0a;color:var(--gold-light);font-size:14px;font-weight:800;text-align:center;font-family:inherit;outline:none;}
  input.qty:focus{border-color:var(--gold);box-shadow:0 0 0 3px rgba(255,215,0,.2);}
  tbody tr.picked input.qty{border-color:var(--green);color:#b9ff9f;}

  /* ТОПЫ */
  .top-block{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px;}
  @media(max-width:900px){.top-block{grid-template-columns:1fr;}}
  .top-card{background:var(--bg);border:2px solid var(--gold);border-radius:14px;padding:20px;box-shadow:0 0 20px rgba(255,215,0,.15);}
  .top-card.profit{border-color:var(--green);box-shadow:0 0 20px rgba(125,255,125,.15);}
  .top-card-title{color:var(--gold);font-size:12px;font-weight:800;letter-spacing:2px;text-align:center;margin-bottom:14px;padding-bottom:10px;border-bottom:1px solid var(--border);text-transform:uppercase;}
  .top-card.profit .top-card-title{color:var(--green);border-color:rgba(125,255,125,.4);}
  .top-list{display:flex;flex-direction:column;gap:8px;}
  .top-item{display:flex;justify-content:space-between;align-items:center;padding:10px 14px;background:rgba(255,215,0,.05);border-radius:8px;border-left:3px solid var(--gold);}
  .top-card.profit .top-item{background:rgba(125,255,125,.05);border-color:var(--green);}
  .top-item .num{font-size:16px;font-weight:900;color:var(--gold);min-width:24px;}
  .top-card.profit .top-item .num{color:var(--green);}
  .top-item .art{font-family:'Courier New',monospace;font-size:11px;color:var(--gold-light);flex:1;padding:0 8px;}
  .top-item .val{font-size:14px;font-weight:900;color:#b9ff9f;}

  .wrap ::-webkit-scrollbar{width:14px;height:14px;}
  .wrap ::-webkit-scrollbar-track{background:#050505;border:1px solid #2a2210;border-radius:9px;}
  .wrap ::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#FFE55C,#FFD700,#FF8C00);border-radius:9px;border:1px solid #FFD700;}

  @media print{body{background:#fff;color:#000;padding:0;}.header{background:#000 !important;color:#FFD700 !important;-webkit-print-color-adjust:exact;print-color-adjust:exact;}.header h1{color:#FFD700 !important;text-shadow:none !important;animation:none !important;}.tag{background:#FFD700 !important;color:#000 !important;}.line{background:#FFD700 !important;}.params-block,.order-block,.stats,.table-block,.top-card{background:#fff !important;border-color:#666 !important;box-shadow:none !important;}.params-block::before,.order-block::before,.toolbar,.filter,th.col-star::before{display:none !important;}.param-ctrl,.stat,.order-stat{background:#fff !important;color:#000 !important;border-color:#999 !important;}.param-ctrl label,.lbl,.order-stat .lbl{color:#000 !important;}.param-ctrl input{background:#fff !important;color:#000 !important;border-color:#999 !important;}.val,.order-stat .val,.val.green{color:#000 !important;}.block-title,.top-card-title{color:#000 !important;}.top-item{background:#fff !important;border-color:#999 !important;}.top-item .num,.top-item .art,.top-item .val{color:#000 !important;}th{background:#000 !important;color:#FFD700 !important;-webkit-print-color-adjust:exact;print-color-adjust:exact;}td{color:#000 !important;border-color:#ccc !important;}td.profit,td.margin,td.price{color:#000 !important;}}
&lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;div class="wrap"&gt;

  &lt;div class="header"&gt;
    &lt;div class="tag"&gt;КАЛЬКУЛЯТОР ПРИБЫЛИ · 325 ПОЗИЦИЙ&lt;/div&gt;
    &lt;h1&gt;Калькулятор прибыли · Ножи отвала · 09Г2С&lt;/h1&gt;
    &lt;div class="line"&gt;&lt;/div&gt;
    &lt;p&gt;Отметьте ★ нужные позиции, укажите количество — увидите итоговую прибыль по заказу&lt;/p&gt;
  &lt;/div&gt;

  
  &lt;div class="order-block"&gt;
    &lt;div class="order-grid"&gt;
      &lt;div class="order-stat"&gt;
        &lt;div class="lbl"&gt;★ Позиций выбрано&lt;/div&gt;
        &lt;div class="val" id="ordCount"&gt;0&lt;/div&gt;
        &lt;div class="sub"&gt;отметьте ★ в таблице&lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="order-stat"&gt;
        &lt;div class="lbl"&gt;Всего штук&lt;/div&gt;
        &lt;div class="val" id="ordQty"&gt;0&lt;/div&gt;
        &lt;div class="sub"&gt;с учётом количества&lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="order-stat"&gt;
        &lt;div class="lbl"&gt;Себестоимость партии&lt;/div&gt;
        &lt;div class="val" id="ordCost"&gt;0 ₽&lt;/div&gt;
        &lt;div class="sub"&gt;сырьё + обработка&lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="order-stat"&gt;
        &lt;div class="lbl"&gt;Сумма продажи&lt;/div&gt;
        &lt;div class="val" id="ordSale"&gt;0 ₽&lt;/div&gt;
        &lt;div class="sub"&gt;по рыночной цене&lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="order-stat"&gt;
        &lt;div class="lbl"&gt;? ЧИСТАЯ ПРИБЫЛЬ&lt;/div&gt;
        &lt;div class="val big" id="ordProfit"&gt;0 ₽&lt;/div&gt;
        &lt;div class="sub" id="ordMarginInfo"&gt;рентабельность —&lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="order-actions"&gt;
      &lt;button class="btn green" onclick="exportOrder()"&gt;⬇ Выгрузить заказ в Excel&lt;/button&gt;
      &lt;button class="btn red" onclick="clearSelection()"&gt;✕ Очистить заказ&lt;/button&gt;
      &lt;button class="btn" onclick="scrollToTable()"&gt;↓ Вернуться к каталогу&lt;/button&gt;
    &lt;/div&gt;
  &lt;/div&gt;

  
  &lt;div class="params-block"&gt;
    &lt;div class="params-grid"&gt;
      &lt;div class="param-ctrl"&gt;&lt;label&gt;◆ Цена стали 09Г2С&lt;/label&gt;&lt;input type="number" id="pSteelPrice" value="75" min="1" step="1" /&gt;&lt;div class="unit"&gt;₽ за кг (с НДС)&lt;/div&gt;&lt;/div&gt;
      &lt;div class="param-ctrl"&gt;&lt;label&gt;◆ Коэф. расхода&lt;/label&gt;&lt;input type="number" id="pKoef" value="1.15" min="1" max="2" step="0.01" /&gt;&lt;div class="unit"&gt;на обрезки&lt;/div&gt;&lt;/div&gt;
      &lt;div class="param-ctrl"&gt;&lt;label&gt;◆ Ваша наценка&lt;/label&gt;&lt;input type="number" id="pMarkup" value="120" min="0" max="500" step="5" /&gt;&lt;div class="unit"&gt;% к себестоимости&lt;/div&gt;&lt;/div&gt;
      &lt;div class="param-ctrl"&gt;&lt;label&gt;◆ Обработка&lt;/label&gt;&lt;input type="number" id="pWork" value="25" min="0" step="5" /&gt;&lt;div class="unit"&gt;₽ за кг&lt;/div&gt;&lt;/div&gt;
      &lt;div class="param-ctrl"&gt;&lt;label&gt;◆ Ставка НДС&lt;/label&gt;&lt;input type="number" id="pVAT" value="22" min="0" max="30" step="1" /&gt;&lt;div class="unit"&gt;%&lt;/div&gt;&lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;

  
  &lt;div class="toolbar"&gt;
    &lt;button class="btn green" onclick="dlCSV()"&gt;⬇ Скачать анализ (Excel)&lt;/button&gt;
    &lt;button class="btn primary" onclick="saveParams()"&gt;? Сохранить параметры&lt;/button&gt;
    &lt;button class="btn" onclick="loadParams()"&gt;? Загрузить&lt;/button&gt;
    &lt;button class="btn" onclick="resetParams()"&gt;✕ Сбросить параметры&lt;/button&gt;
    &lt;button class="btn" onclick="window.print()"&gt;? Печать&lt;/button&gt;
  &lt;/div&gt;

  
  &lt;div class="filter"&gt;
    &lt;div class="filter-row"&gt;
      &lt;input class="search" type="text" id="search" placeholder="? Поиск: № · артикул · наименование · техника · вес…" /&gt;
      &lt;div class="counter" id="counter"&gt;Найдено: 0&lt;/div&gt;
      &lt;select class="cat-select" id="fCat" onchange="render()"&gt;&lt;option value="all"&gt;Все категории&lt;/option&gt;&lt;/select&gt;
    &lt;/div&gt;
    &lt;div class="filter-actions"&gt;
      &lt;button class="btn" onclick="resetFilters()"&gt;✕ Очистить фильтры&lt;/button&gt;
      &lt;button class="btn" onclick="sortByProfit()"&gt;? Сортировать по прибыли&lt;/button&gt;
      &lt;button class="btn" onclick="sortByMargin()"&gt;? По рентабельности&lt;/button&gt;
      &lt;button class="btn" onclick="sortByNum()"&gt;№ По номеру&lt;/button&gt;
    &lt;/div&gt;
  &lt;/div&gt;

  
  &lt;div class="top-block"&gt;
    &lt;div class="top-card"&gt;&lt;div class="top-card-title"&gt;? Топ-10 по прибыли с ножа&lt;/div&gt;&lt;div class="top-list" id="topProfit"&gt;&lt;/div&gt;&lt;/div&gt;
    &lt;div class="top-card profit"&gt;&lt;div class="top-card-title"&gt;? Топ-10 по прибыли на 1 кг&lt;/div&gt;&lt;div class="top-list" id="topProfitKg"&gt;&lt;/div&gt;&lt;/div&gt;
  &lt;/div&gt;

  
  &lt;div class="table-block" id="catalog"&gt;
    &lt;div class="block-title"&gt;Расчёт прибыли по всем позициям&lt;/div&gt;
    &lt;div class="table-wrap"&gt;
      &lt;table id="tbl"&gt;
        &lt;thead&gt;
          &lt;tr&gt;
            &lt;th class="col-star" title="Отметь позиции"&gt;★&lt;/th&gt;
            &lt;th class="col-qty"&gt;Кол-во, шт&lt;/th&gt;
            &lt;th class="num sortable" data-key="num"&gt;№&lt;/th&gt;
            &lt;th&gt;Кат.&lt;/th&gt;
            &lt;th&gt;Артикул&lt;/th&gt;
            &lt;th&gt;Наименование&lt;/th&gt;
            &lt;th&gt;Техника&lt;/th&gt;
            &lt;th class="num sortable" data-key="weight"&gt;Вес, кг&lt;/th&gt;
            &lt;th class="num"&gt;Сырьё, ₽&lt;/th&gt;
            &lt;th class="num"&gt;Обработка, ₽&lt;/th&gt;
            &lt;th class="num"&gt;Себестоимость, ₽&lt;/th&gt;
            &lt;th class="num"&gt;Цена рынка, ₽&lt;/th&gt;
            &lt;th class="num sortable" data-key="profit"&gt;Прибыль, ₽&lt;/th&gt;
            &lt;th class="num sortable" data-key="margin"&gt;Рент., %&lt;/th&gt;
            &lt;th class="num sortable" data-key="profitPerKg"&gt;Приб./кг, ₽&lt;/th&gt;
          &lt;/tr&gt;
        &lt;/thead&gt;
        &lt;tbody id="tbody"&gt;&lt;/tbody&gt;
      &lt;/table&gt;
    &lt;/div&gt;
  &lt;/div&gt;

&lt;/div&gt;

&lt;script&gt;
/* ==================== ДАННЫЕ (325 позиций) ==================== */
var data=[
{num:1,cat:'ЧТЗ',article:'749-96-164',name:'Нож средний',machine:'ЧТЗ ДЭТ-250',weight:126.9},
{num:2,cat:'ЧТЗ',article:'067.55.11.004-02',name:'Нож средний (7 отв.)',machine:'ЧТЗ / ЧСДМ',weight:50.3},
{num:3,cat:'ЧТЗ',article:'067.55.11.004-01',name:'Нож средний (7 отв.)',machine:'ЧТЗ / ЧСДМ',weight:38.9},
{num:4,cat:'ЧТЗ',article:'80-52-61',name:'Нож средний',machine:'ЧТЗ',weight:50.3},
{num:5,cat:'ЧТЗ',article:'80-52-111-02',name:'Нож боковой правый',machine:'ЧТЗ',weight:31.1},
{num:6,cat:'ЧТЗ',article:'80-52-112-02',name:'Нож боковой левый',machine:'ЧТЗ',weight:31.1},
{num:7,cat:'ЧТЗ',article:'749-96-14-01',name:'Нож средний',machine:'ЧТЗ',weight:126.9},
{num:8,cat:'ЧТЗ',article:'Б-10 боковой',name:'Нож боковой',machine:'ЧТЗ Б-10',weight:31.1},
{num:9,cat:'ЧСДМ',article:'067.55.11.004-02',name:'Нож средний (передний)',machine:'ЧСДМ ДЗ-98',weight:50.3},
{num:10,cat:'ЧСДМ',article:'067.55.11.004-01',name:'Нож средний',machine:'ЧСДМ ДЗ-98',weight:38.9},
{num:11,cat:'ЧСДМ',article:'Д661.02.001-02',name:'Нож боковой правый',machine:'ЧСДМ',weight:31.1},
{num:12,cat:'ЧСДМ',article:'Д661.02.001-01',name:'Нож боковой левый',machine:'ЧСДМ',weight:31.1},
{num:13,cat:'ЧСДМ',article:'А-120.34.14.001',name:'Нож боковой правый',machine:'А-120',weight:36.7},
{num:14,cat:'ЧСДМ',article:'А-120.34.14.001-01',name:'Нож боковой левый',machine:'А-120',weight:36.7},
{num:15,cat:'ЧСДМ',article:'ДЗ-98.23.01.090',name:'Нож боковой',machine:'ДЗ-98',weight:50.9},
{num:16,cat:'ЧСДМ',article:'ДЗ-985.23.01.011',name:'Нож средний (старый)',machine:'ДЗ-98',weight:57.6},
{num:17,cat:'КДМ',article:'—',name:'Нож КДМ «Урал-Тройка»',machine:'КДМ',weight:57.4},
{num:18,cat:'КДМ',article:'—',name:'Нож КДМ «Урал-Тройка»',machine:'КДМ',weight:82.4},
{num:19,cat:'КДМ',article:'—',name:'Нож КДМ',machine:'КДМ',weight:25.0},
{num:20,cat:'КДМ',article:'—',name:'Нож КДМ',machine:'КДМ',weight:25.3},
{num:21,cat:'КДМ',article:'—',name:'Нож КДМ',machine:'КДМ',weight:31.6},
{num:22,cat:'КДМ',article:'—',name:'Нож КДМ',machine:'КДМ',weight:32.3},
{num:23,cat:'КДМ',article:'—',name:'Нож ОСА (зубчатый)',machine:'ОСА',weight:50.9},
{num:24,cat:'КДМ',article:'—',name:'Нож ОСА (зубчатый)',machine:'ОСА',weight:25.0},
{num:25,cat:'КДМ',article:'—',name:'Нож ОСА (зубчатый)',machine:'ОСА',weight:17.0},
{num:26,cat:'Усил.',article:'—',name:'Нож усиленный',machine:'КДМ / бульдозер',weight:50.3},
{num:27,cat:'Импорт',article:'Komatsu D50',name:'Нож отвала',machine:'Komatsu D50',weight:73.0},
{num:28,cat:'Импорт',article:'Komatsu D375',name:'Нож отвала',machine:'Komatsu D375',weight:184.6},
{num:29,cat:'Импорт',article:'9U 8E4197',name:'Нож отвала',machine:'Caterpillar',weight:126.8},
{num:30,cat:'Импорт',article:'114F8200002',name:'Нож отвала',machine:'TERRACRAFT',weight:75.8},
{num:31,cat:'Импорт',article:'Shantui SD16',name:'Нож отвала',machine:'Shantui SD16',weight:75.8},
{num:32,cat:'Перфор.',article:'GR-165',name:'Нож перфорированный',machine:'GR-165',weight:41.0},
{num:33,cat:'Амкодор',article:'ТО-28',name:'Нож средний',machine:'Амкодор',weight:104.0},
{num:34,cat:'Волгоград',article:'ДТ-75, ДЗ-42',name:'Нож средний',machine:'Волгоград',weight:19.0},
{num:35,cat:'Киров. ТЗ',article:'ЛД-30.00.240СБ',name:'Нож боковой левый ДМ-15',machine:'Кировский ТЗ',weight:82.0},
{num:36,cat:'Киров. ТЗ',article:'ЛД-30.00.240СБ',name:'Нож боковой правый ДМ-15',machine:'Кировский ТЗ',weight:82.0},
{num:37,cat:'Киров. ТЗ',article:'К-701',name:'Нож средний',machine:'Кировский ТЗ',weight:20.0},
{num:38,cat:'Komatsu',article:'198-71-31530',name:'Нож боковой правый',machine:'Komatsu',weight:124.0},
{num:39,cat:'Komatsu',article:'154-72-11151',name:'Нож средний',machine:'Komatsu',weight:41.1},
{num:40,cat:'CAT',article:'6Y4278',name:'Нож боковой левый',machine:'Caterpillar',weight:61.0},
{num:41,cat:'CAT',article:'8E-4540',name:'Нож боковой левый',machine:'Caterpillar',weight:90.0},
{num:42,cat:'CAT',article:'6Y2805',name:'Нож боковой',machine:'Caterpillar',weight:13.8},
{num:43,cat:'Shantui',article:'222-81-00005',name:'Нож средний',machine:'Shantui',weight:33.0},
{num:44,cat:'XGMA',article:'—',name:'Нож средний',machine:'XGMA',weight:36.9},
{num:45,cat:'XCMG',article:'—',name:'Нож боковой',machine:'XCMG',weight:46.7},
{num:46,cat:'XCMG',article:'103070027',name:'Нож средний (передний)',machine:'XCMG',weight:32.6},
{num:47,cat:'XCMG',article:'—',name:'Нож средний',machine:'XCMG',weight:48.3},
{num:48,cat:'John Deere',article:'T31148',name:'Нож средний',machine:'John Deere',weight:7.2},
{num:49,cat:'John Deere',article:'U16B14',name:'Нож средний',machine:'John Deere',weight:49.1},
{num:50,cat:'John Deere',article:'—',name:'Нож боковой',machine:'John Deere',weight:11.0},
{num:51,cat:'John Deere',article:'T74772',name:'Нож средний',machine:'John Deere',weight:64.5},
{num:52,cat:'Volvo',article:'VOE12739779',name:'Нож средний передний',machine:'Volvo',weight:77.0},
{num:53,cat:'Volvo',article:'VOE12739780',name:'Нож средний',machine:'Volvo',weight:70.5},
{num:54,cat:'Liebherr',article:'10303798',name:'Нож боковой левый',machine:'Liebherr',weight:88.0},
{num:55,cat:'ЧЕТРА',article:'011501-93-22-01',name:'Нож средний',machine:'ЧЕТРА',weight:45.9},
{num:56,cat:'ЧЕТРА',article:'010901-93-22',name:'Нож средний (прямой)',machine:'ЧЕТРА',weight:24.1},
{num:57,cat:'ЧЕТРА',article:'010901-93-21-01',name:'Нож средний (со скосом)',machine:'ЧЕТРА',weight:24.2},
{num:58,cat:'Прочее',article:'41E-70-15231',name:'Нож средний',machine:'—',weight:60.4},
{num:59,cat:'Прочее',article:'T162524',name:'Нож средний',machine:'—',weight:48.3},
{num:60,cat:'Прочее',article:'9413952',name:'Нож боковой левый',machine:'—',weight:72.0},
{num:61,cat:'Прочее',article:'10G-72-21270',name:'Нож средний',machine:'—',weight:7.9},
{num:62,cat:'Прочее',article:'020/20328',name:'Нож ковша Hidromek-102',machine:'Hidromek',weight:90.4},
{num:63,cat:'Прочее',article:'2343×130×16',name:'Нож отвала',machine:'—',weight:38.3},
{num:64,cat:'Прочее',article:'2250×300×20',name:'Нож ковша челюсти',machine:'—',weight:106.0},
{num:65,cat:'Прочее',article:'2410×300×20',name:'Спецнож',machine:'—',weight:113.5},
{num:66,cat:'Прочее',article:'2350×340×20',name:'Нож средний',machine:'—',weight:125.4},
{num:67,cat:'Прочее',article:'2350×300×20',name:'Нож средний',machine:'—',weight:110.7},
{num:68,cat:'Shehwa',article:'SD7 (HBXG)',name:'Нож средний',machine:'Shehwa SD7',weight:52.7},
{num:69,cat:'Shehwa',article:'TY165 / T140',name:'Нож средний',machine:'Shehwa TY165',weight:50.3},
{num:70,cat:'Брянск',article:'ДЗ-122Б',name:'Нож средний передний',machine:'Брянский Арсенал',weight:51.0},
{num:71,cat:'Брянск',article:'ДЗ-143',name:'Нож средний',machine:'Брянский Арсенал',weight:42.1},
{num:72,cat:'Case',article:'885',name:'Нож средний',machine:'Case',weight:73.0},
{num:73,cat:'SEM',article:'919',name:'Нож средний',machine:'SEM (грейдер)',weight:70.7},
{num:74,cat:'LiuGong',article:'CLG 414',name:'Нож средний',machine:'LiuGong',weight:57.7},
{num:75,cat:'CAT',article:'Грейдер 120K',name:'Нож средний',machine:'Caterpillar',weight:52.7},
{num:76,cat:'Komatsu',article:'GD650',name:'Нож средний',machine:'Komatsu (грейдер)',weight:52.7},
{num:77,cat:'Wirtgen',article:'W1000',name:'Резцедержатель',machine:'Wirtgen',weight:98.1},
{num:78,cat:'ЧСДМ',article:'ДЗ-98Б.23.01.011',name:'Нож средний (наплавка)',machine:'ДЗ-98 стар.',weight:56.2},
{num:79,cat:'ЧСДМ',article:'ДЗ-98Б.23.01.011',name:'Нож средний',machine:'ДЗ-98 стар.',weight:56.2},
{num:80,cat:'Брянск',article:'ДЗ-122А 02.10.002',name:'Нож средний (С-обр.)',machine:'ДЗ-122А',weight:56.2},
{num:81,cat:'Брянск',article:'ДЗ-122 У62.10.04.30.01',name:'Нож средний',machine:'ДЗ-122',weight:56.2},
{num:82,cat:'ЧСДМ',article:'067.55.11.004-02',name:'Нож средний (наплавка)',machine:'ДЗ-98 нов.',weight:49.5},
{num:83,cat:'ЧСДМ',article:'067.55.11.004-01',name:'Нож средний (наплавка)',machine:'ДЗ-98 нов.',weight:38.5},
{num:84,cat:'ЧСДМ',article:'А-120 34.14.001',name:'Нож боковой (литьё)',machine:'А-120',weight:41.3},
{num:85,cat:'Брянск',article:'ГС-14.02 225.07.04.00.005',name:'Нож средний (наплавка)',machine:'ГС-14.02',weight:30.9},
{num:86,cat:'Брянск',article:'ГС-14.02 1820×180×16',name:'Нож средний (наплавка)',machine:'ГС-14.02',weight:41.1},
{num:87,cat:'Брянск',article:'ГС-14.02 1820×250×20',name:'Нож средний (усил.)',machine:'ГС-14.02',weight:71.4},
{num:88,cat:'Брянск',article:'ГС-14.02 1820×180×12',name:'Нож средний (профиль)',machine:'ГС-14.02',weight:30.9},
{num:89,cat:'Брянск',article:'ГС-14.02 1820×180×20',name:'Нож боковой (прямой)',machine:'ГС-14.02',weight:51.4},
{num:90,cat:'Брянск',article:'КРД-4 225.07.04.00.004',name:'Нож боковой',machine:'КРД-4',weight:20.6},
{num:91,cat:'Брянск',article:'ГС-14.03 255.07.11.00.001',name:'Нож средний (наплавка)',machine:'ГС-14.03',weight:34.4},
{num:92,cat:'Брянск',article:'ГС-14.03 255.07.10.00.001',name:'Нож боковой',machine:'ГС-14.03',weight:19.9},
{num:93,cat:'Брянск',article:'ГС-18.07 257.07.12.00.002',name:'Нож средний (наплавка)',machine:'ГС-18.07',weight:30.1},
{num:94,cat:'Брянск',article:'ГС-18.07 257.07.12.00.005',name:'Нож боковой',machine:'ГС-18.07',weight:21.4},
{num:95,cat:'CAT',article:'7D1577',name:'Нож средний (15 отв.)',machine:'CAT 120/140/160/24H',weight:64.5},
{num:96,cat:'CAT',article:'5D9732',name:'Нож средний (17 отв.)',machine:'CAT',weight:73.8},
{num:97,cat:'CAT',article:'2438×254×25',name:'Нож средний (17 отв., прямой)',machine:'CAT',weight:121.5},
{num:98,cat:'CAT',article:'4T8317',name:'Нож средний (17 отв., прямой)',machine:'CAT',weight:170.1},
{num:99,cat:'CAT',article:'2130×200×20',name:'Нож средний (прямой)',machine:'CAT',weight:66.9},
{num:100,cat:'SDLG',article:'G9165/G9190/G9220/G9290',name:'Нож средний (13 отв.)',machine:'SDLG',weight:41.4},
{num:101,cat:'SDLG',article:'1826×203×19',name:'Нож средний (13 отв.)',machine:'SDLG',weight:55.3},
{num:102,cat:'SDLG',article:'1980×152×19',name:'Нож средний (14 отв.)',machine:'SDLG',weight:44.9},
{num:103,cat:'SDLG',article:'1980×203×19',name:'Нож средний (14 отв.)',machine:'SDLG',weight:59.9},
{num:104,cat:'SDLG',article:'2130×152×19',name:'Нож средний (15 отв.)',machine:'SDLG',weight:48.3},
{num:105,cat:'SDLG',article:'2130×203×19',name:'Нож средний (15 отв.)',machine:'SDLG',weight:64.5},
{num:106,cat:'XCMG',article:'1826×200×20',name:'Нож средний',machine:'XCMG GR-135/165/180/215',weight:57.3},
{num:107,cat:'XCMG',article:'1980×200×20',name:'Нож средний',machine:'XCMG GR-135/165/180/215',weight:62.2},
{num:108,cat:'XCMG',article:'2130×200×20',name:'Нож средний',machine:'XCMG GR-135/165/180/215',weight:66.9},
{num:109,cat:'XCMG',article:'1826×180×20',name:'Нож средний',machine:'XCMG GR-135/165/180/215',weight:51.6},
{num:110,cat:'XCMG',article:'1980×180×20',name:'Нож средний',machine:'XCMG GR-135/165/180/215',weight:55.9},
{num:111,cat:'XCMG',article:'2130×180×20',name:'Нож средний',machine:'XCMG GR-135/165/180/215',weight:60.2},
{num:112,cat:'Volvo',article:'2750×204×16',name:'Нож средний (перед. отвал)',machine:'Volvo G-946/G-976',weight:70.5},
{num:113,cat:'Volvo',article:'3000×204×16',name:'Нож средний (перед. отвал)',machine:'Volvo G-946/G-976',weight:76.9},
{num:114,cat:'Volvo',article:'2130×152×19',name:'Нож средний',machine:'Volvo G-946/G-976',weight:48.3},
{num:115,cat:'Volvo',article:'2130×203×19',name:'Нож средний',machine:'Volvo G-946/G-976',weight:64.5},
{num:116,cat:'LiuGong',article:'1826×152×19',name:'Нож средний',machine:'LiuGong CLG 4140/418',weight:41.4},
{num:117,cat:'LiuGong',article:'1980×152×19',name:'Нож средний',machine:'LiuGong CLG 4140/418',weight:44.9},
{num:118,cat:'LiuGong',article:'2130×152×19',name:'Нож средний',machine:'LiuGong CLG 4140/418',weight:48.3},
{num:119,cat:'LiuGong',article:'2285×200×20',name:'Нож средний',machine:'LiuGong CLG 4140/418',weight:71.7},
{num:120,cat:'XGMA',article:'1826×152×19',name:'Нож средний',machine:'XGMA XG 3165/3180/3200',weight:41.4},
{num:121,cat:'XGMA',article:'1980×152×19',name:'Нож средний',machine:'XGMA XG 3165/3180/3200',weight:44.9},
{num:122,cat:'XGMA',article:'2130×152×19',name:'Нож средний',machine:'XGMA XG 3165/3180/3200',weight:48.3},
{num:123,cat:'XGMA',article:'2130×203×19',name:'Нож средний',machine:'XGMA XG 3165/3180/3200',weight:64.5},
{num:124,cat:'SEM',article:'1826×203×19',name:'Нож средний',machine:'SEM 917/919/922',weight:55.3},
{num:125,cat:'SEM',article:'1980×203×19',name:'Нож средний',machine:'SEM 917/919/922',weight:59.9},
{num:126,cat:'SEM',article:'2130×203×19',name:'Нож средний',machine:'SEM 917/919/922',weight:64.5},
{num:127,cat:'Komatsu',article:'234-70-12710',name:'Нож средний',machine:'Komatsu GD-705/725/755',weight:64.5},
{num:128,cat:'Komatsu',article:'235-70-12140',name:'Нож средний',machine:'Komatsu GD-705/725/755',weight:73.8},
{num:129,cat:'Komatsu',article:'235-70-12320',name:'Нож средний',machine:'Komatsu GD-705/725/755',weight:121.5},
{num:130,cat:'Shantui',article:'1826×203×19',name:'Нож средний',machine:'Shantui SG-16/18/21',weight:55.3},
{num:131,cat:'Shantui',article:'1980×203×19',name:'Нож средний',machine:'Shantui SG-16/18/21',weight:59.9},
{num:132,cat:'Shantui',article:'2130×203×19',name:'Нож средний',machine:'Shantui SG-16/18/21',weight:64.5},
{num:133,cat:'John Deere',article:'2130×203×19',name:'Нож средний',machine:'John Deere 672G/772G/872G',weight:64.5},
{num:134,cat:'John Deere',article:'460×152×20',name:'Нож боковой',machine:'John Deere 672G/772G/872G',weight:11.0},
{num:135,cat:'John Deere',article:'T74773',name:'Нож средний',machine:'John Deere 672G/772G/872G',weight:73.8},
{num:136,cat:'Case',article:'1826×203×19',name:'Нож средний',machine:'Case 845B/865B/885B',weight:55.3},
{num:137,cat:'Case',article:'1980×203×19',name:'Нож средний',machine:'Case 845B/865B/885B',weight:59.9},
{num:138,cat:'Case',article:'2130×203×19',name:'Нож средний',machine:'Case 845B/865B/885B',weight:64.5},
{num:139,cat:'DM-14',article:'1826×180×20',name:'Нож средний',machine:'DM-14 «Рыбинец»',weight:51.6},
{num:140,cat:'DM-14',article:'5D9556',name:'Нож средний',machine:'DM-14 «Рыбинец»',weight:41.4},
{num:141,cat:'DM-14',article:'5D9558',name:'Нож средний',machine:'DM-14 «Рыбинец»',weight:55.3},
{num:142,cat:'JCB',article:'123/02362',name:'Нож отвала',machine:'JCB 3CX',weight:38.4},
{num:143,cat:'JCB',article:'123/04144',name:'Нож ремонтный',machine:'JCB 3CX',weight:73.8},
{num:144,cat:'JCB',article:'993/99189',name:'Нож ковша',machine:'JCB 3CX',weight:108.8},
{num:145,cat:'JCB',article:'123/05115',name:'Нож отвала',machine:'JCB 4CX',weight:40.0},
{num:146,cat:'JCB',article:'990/69901',name:'Нож ковша',machine:'JCB 4CX',weight:113.5},
{num:147,cat:'TEREX',article:'6103440M1',name:'Нож ковша',machine:'TEREX TLB',weight:110.7},
{num:148,cat:'Volvo BL',article:'VOE11883780',name:'Нож ковша',machine:'VOLVO BL61/BL71',weight:110.7},
{num:149,cat:'Hidromek',article:'020/20328',name:'Нож ковша',machine:'Hidromek 102B/102S',weight:110.7},
{num:150,cat:'Komatsu WB',article:'42N-8151110',name:'Нож ковша',machine:'Komatsu WB-93/97',weight:118.1},
{num:151,cat:'SDLG',article:'SDLG 877',name:'Нож ковша',machine:'SDLG B877',weight:110.7},
{num:152,cat:'LiuGong',article:'CLG 777A',name:'Нож ковша',machine:'LiuGong CLG 777A',weight:106.4},
{num:153,cat:'Cukurova',article:'2400×300×20',name:'Нож ковша',machine:'Cukurova 880/884/888',weight:113.0},
{num:154,cat:'Mecalac',article:'2400×300×20',name:'Нож ковша',machine:'Mecalac TLB',weight:113.0},
{num:155,cat:'MST',article:'2420×300×20',name:'Нож ковша',machine:'MST M542/M544',weight:114.0},
{num:156,cat:'ELAZ-BL',article:'2400×300×20',name:'Нож ковша',machine:'ELAZ-BL 880/888',weight:113.0},
{num:157,cat:'New Holland',article:'87308642',name:'Нож отвала',machine:'New Holland',weight:49.0},
{num:158,cat:'Case',article:'Case 570ST',name:'Нож ковша',machine:'Case 570ST',weight:106.4},
{num:159,cat:'CAT',article:'CAT 428 (432)',name:'Нож ковша',machine:'CAT 428/432',weight:79.4},
{num:160,cat:'John Deere',article:'2350×320×20',name:'Нож ковша',machine:'John Deere 315/325',weight:118.1},
{num:161,cat:'Fiat-Hitachi',article:'2420×320×20',name:'Нож ковша',machine:'Fiat-Hitachi FB',weight:120.6},
{num:162,cat:'Hyundai',article:'2350×300×20',name:'Нож ковша',machine:'Hyundai H940S',weight:110.7},
{num:163,cat:'BOBCAT',article:'2400×300×20',name:'Нож ковша',machine:'BOBCAT B730/B780',weight:113.0},
{num:164,cat:'Амкодор',article:'3000×250×20',name:'Нож ковша',machine:'Амкодор ТО-18/ТО-28',weight:117.8},
{num:165,cat:'SDLG',article:'SDLG 953',name:'Нож ковша',machine:'SDLG 953',weight:171.7},
{num:166,cat:'SDLG',article:'SDLG 968',name:'Нож ковша',machine:'SDLG 968',weight:316.6},
{num:167,cat:'XCMG',article:'LW-500/550RU',name:'Нож ковша',machine:'XCMG LW-500/550',weight:170.6},
{num:168,cat:'XCMG',article:'ZL-50',name:'Нож ковша',machine:'XCMG ZL-50',weight:257.8},
{num:169,cat:'XCMG',article:'ZL-60',name:'Нож ковша',machine:'XCMG ZL-60',weight:251.2},
{num:170,cat:'Lonking',article:'CDM 856',name:'Нож ковша',machine:'Lonking CDM 856',weight:206.1},
{num:171,cat:'Lonking',article:'LG 863',name:'Нож ковша',machine:'Lonking LG 863',weight:226.1},
{num:172,cat:'LiuGong',article:'856H',name:'Нож ковша',machine:'LiuGong 856H',weight:209.9},
{num:173,cat:'LiuGong',article:'862H',name:'Нож ковша',machine:'LiuGong 862H',weight:271.4},
{num:174,cat:'XGMA',article:'XG-953/956',name:'Нож ковша',machine:'XGMA XG-953/956',weight:207.1},
{num:175,cat:'SEM',article:'655/656D',name:'Нож ковша',machine:'SEM 655/656D',weight:208.5},
{num:176,cat:'Doosan',article:'SD-200',name:'Нож ковша',machine:'Doosan SD200/SD300',weight:212.0},
{num:177,cat:'Foton',article:'Lovol 955/956',name:'Нож ковша',machine:'Foton FL955/956',weight:150.7},
{num:178,cat:'Shantui',article:'SL50W',name:'Нож ковша',machine:'Shantui SL50W',weight:214.8},
{num:179,cat:'Shantui',article:'SL60W',name:'Нож ковша',machine:'Shantui SL60W',weight:292.1},
{num:180,cat:'Komatsu',article:'421-815-1111',name:'Нож ковша WA400',machine:'Komatsu WA400',weight:151.7},
{num:181,cat:'Case',article:'821F',name:'Нож ковша',machine:'CASE 821F/1121F',weight:250.1},
{num:182,cat:'Case',article:'1121F',name:'Нож ковша',machine:'CASE 1121F',weight:401.9},
{num:183,cat:'Volvo',article:'VOE 11012887',name:'Нож ковша',machine:'Volvo L60F',weight:63.7},
{num:184,cat:'Volvo',article:'VOE 11156729',name:'Нож ковша',machine:'Volvo L90F',weight:94.6},
{num:185,cat:'Volvo',article:'VOE 11156766',name:'Нож ковша',machine:'Volvo L120F',weight:115.6},
{num:186,cat:'NEO',article:'NEO 300',name:'Нож ковша',machine:'NEO 300',weight:106.4},
{num:187,cat:'HZM',article:'XC33D',name:'Нож ковша',machine:'HZM XC33D',weight:117.8},
/* ZMG / ZVENO */
{num:286,cat:'ZMG',article:'7D1577',name:'Нож средний (19мм)',machine:'CAT (ZMG)',weight:60.0},
{num:287,cat:'SUNMACH',article:'175-71-22272',name:'Нож боковой (35мм)',machine:'Shantui (SUNMACH)',weight:36.7},
{num:288,cat:'ZMG',article:'156-82-00001',name:'Нож средний (25мм)',machine:'Shantui (ZMG)',weight:40.0},
{num:289,cat:'SUNMACH',article:'175-71-22282',name:'Нож боковой (35мм)',machine:'Shantui (SUNMACH)',weight:38.0},
{num:290,cat:'ZMG',article:'8E5529',name:'Нож боковой (16мм)',machine:'CAT (ZMG)',weight:8.0},
{num:291,cat:'ZMG',article:'16Y-80-00019',name:'Нож средний (20мм)',machine:'Shantui (ZMG)',weight:40.5},
{num:292,cat:'ZMG',article:'3G8320',name:'Нож боковой (25мм)',machine:'CAT (ZMG)',weight:14.0},
{num:293,cat:'ZMG',article:'17M-71-21930',name:'Нож боковой (40мм)',machine:'Komatsu (ZMG)',weight:64.5},
{num:294,cat:'ZMG',article:'9743820',name:'Нож средний (25мм)',machine:'Komatsu (ZMG)',weight:38.7},
{num:295,cat:'ZMG',article:'9818106',name:'Нож средний',machine:'Komatsu (ZMG)',weight:90.0},
{num:296,cat:'ZMG',article:'14X-71-11310',name:'Нож средний (20мм)',machine:'Shantui (ZMG)',weight:41.5},
{num:297,cat:'ZMG',article:'171-82-00001',name:'Нож средний (25мм)',machine:'Shantui (ZMG)',weight:13.0},
{num:298,cat:'ZMG',article:'5D9558',name:'Нож средний (19мм)',machine:'CAT (ZMG)',weight:51.0},
{num:299,cat:'ZMG',article:'175-71-22272 серый',name:'Нож боковой (35мм) серый',machine:'Shantui (ZMG)',weight:36.7},
{num:300,cat:'ZMG',article:'8E9378',name:'Нож боковой (20мм)',machine:'CAT (ZMG)',weight:13.8},
{num:301,cat:'ZMG',article:'10303796',name:'Нож средний',machine:'Komatsu (ZMG)',weight:78.0},
{num:302,cat:'ZMG',article:'5D9559',name:'Нож средний (19мм)',machine:'CAT (ZMG)',weight:60.0},
{num:303,cat:'ZMG',article:'195-71-61940N',name:'Нож боковой (50мм)',machine:'Komatsu (ZMG)',weight:119.0},
{num:304,cat:'ZMG',article:'16L-80-00030',name:'Нож средний (20мм)',machine:'Shantui (ZMG)',weight:23.0},
{num:305,cat:'ZMG',article:'9799210',name:'Нож средний (30мм)',machine:'Komatsu (ZMG)',weight:95.0},
{num:306,cat:'ZMG',article:'150-70-21356',name:'Нож боковой левый',machine:'Komatsu (ZMG)',weight:27.0},
{num:307,cat:'ZMG',article:'14Y-71-11210',name:'Нож средний (20мм)',machine:'Komatsu (ZMG)',weight:47.0},
{num:308,cat:'ZMG',article:'10303800',name:'Нож боковой правый',machine:'Komatsu (ZMG)',weight:67.0},
{num:309,cat:'SUNMACH',article:'195-71-11654',name:'Нож средний (30мм)',machine:'Komatsu (SL)',weight:77.0},
{num:310,cat:'ZMG',article:'8E4193',name:'Нож боковой (35мм)',machine:'CAT (ZMG)',weight:53.0},
{num:311,cat:'SUNMACH',article:'16Y-81-00002',name:'Нож боковой (25мм) левый',machine:'Shantui (SL)',weight:14.0},
{num:312,cat:'SUNMACH',article:'17M-71-21550',name:'Нож средний (30мм)',machine:'Komatsu (SL)',weight:77.5},
{num:313,cat:'ZMG',article:'9W1876',name:'Нож боковой',machine:'CAT (ZMG)',weight:28.5},
{num:314,cat:'ZMG',article:'175-70-21126',name:'Нож боковой (35мм)',machine:'Komatsu (ZMG)',weight:34.0},
{num:315,cat:'ZMG',article:'130-70-41130',name:'Нож средний (20мм)',machine:'Komatsu (ZMG)',weight:38.0},
{num:316,cat:'ZMG',article:'195-71-61930N',name:'Нож боковой (50мм)',machine:'Komatsu (ZMG)',weight:119.0},
{num:317,cat:'ZMG',article:'135-9576',name:'Нож средний (75мм)',machine:'CAT (ZMG)',weight:0.1},
{num:318,cat:'ZMG',article:'9W8874',name:'Нож боковой (25мм)',machine:'CAT (ZMG)',weight:19.5},
{num:319,cat:'ZMG',article:'104-3628',name:'Нож средний',machine:'CAT (ZMG)',weight:208.0},
{num:320,cat:'ZMG',article:'235-70-12320',name:'Нож средний (25мм)',machine:'Komatsu (ZMG)',weight:114.0},
{num:321,cat:'ZMG',article:'8E4541',name:'Нож боковой (45мм)',machine:'CAT (ZMG)',weight:89.5},
{num:322,cat:'ZMG',article:'268-1114',name:'Нож боковой (25мм)',machine:'CAT (ZMG)',weight:25.5},
{num:323,cat:'ZMG',article:'106-0956',name:'Нож средний',machine:'CAT (ZMG)',weight:50.0},
{num:324,cat:'ZMG',article:'421-838-1110',name:'Нож средний',machine:'Komatsu (ZMG)',weight:16.0},
{num:325,cat:'ZMG',article:'169-4089',name:'Нож средний (20мм)',machine:'CAT (ZMG)',weight:41.0}
];

/* ==================== СОСТОЯНИЕ ==================== */
var state={search:'',cat:'all',sort:{key:null,dir:1}};
var params={steelPrice:75,koef:1.15,markup:120,work:25,vat:22};
var picked={}; // {num: {qty: N}}

function fmt(n){return Math.round(n).toLocaleString('ru-RU');}
function num1(n){return n.toLocaleString('ru-RU',{minimumFractionDigits:1,maximumFractionDigits:1});}

/* ==================== РАСЧЁТ ==================== */
function calc(r){
  var raw = r.weight * params.steelPrice * params.koef;
  var work = r.weight * params.work;
  var cost = raw + work;
  var price = cost * (1 + params.markup/100);
  var profit = price - cost;
  var margin = cost &gt; 0 ? (profit / cost) * 100 : 0;
  var profitPerKg = r.weight &gt; 0 ? profit / r.weight : 0;
  return {raw:raw, work:work, cost:cost, price:price, profit:profit, margin:margin, profitPerKg:profitPerKg};
}

/* ==================== ФИЛЬТРАЦИЯ ==================== */
function getFiltered(){
  var rows=data.slice();
  if(state.cat!=='all') rows=rows.filter(function(r){return r.cat===state.cat;});
  if(state.search){
    var q=state.search.trim().toLowerCase();
    rows=rows.filter(function(r){
      return String(r.num).indexOf(q)!==-1 ||
             (r.article||'').toLowerCase().indexOf(q)!==-1 ||
             (r.name||'').toLowerCase().indexOf(q)!==-1 ||
             (r.machine||'').toLowerCase().indexOf(q)!==-1 ||
             String(r.weight).indexOf(q)!==-1;
    });
  }
  if(state.sort.key){
    var k=state.sort.key,d=state.sort.dir;
    rows.sort(function(a,b){
      if(k==='num'||k==='weight'){
        return (a[k]-b[k])*d;
      }
      var ra=calc(a),rb=calc(b);
      return (ra[k]-rb[k])*d;
    });
  }
  return rows;
}

/* ==================== ИТОГИ ЗАКАЗА ==================== */
function updateOrder(){
  var count=0,qty=0,totalCost=0,totalSale=0,totalProfit=0;
  Object.keys(picked).forEach(function(numStr){
    var r=data.find(function(x){return x.num===parseInt(numStr,10);});
    if(!r) return;
    var c=calc(r);
    var q=picked[numStr].qty||1;
    count++;
    qty+=q;
    totalCost+=c.cost*q;
    totalSale+=c.price*q;
    totalProfit+=c.profit*q;
  });
  document.getElementById('ordCount').textContent=count;
  document.getElementById('ordQty').textContent=qty;
  document.getElementById('ordCost').textContent=fmt(totalCost)+' ₽';
  document.getElementById('ordSale').textContent=fmt(totalSale)+' ₽';
  document.getElementById('ordProfit').textContent=fmt(totalProfit)+' ₽';
  var marginInfo=document.getElementById('ordMarginInfo');
  if(totalCost&gt;0){
    marginInfo.textContent='рентабельность '+Math.round((totalProfit/totalCost)*100)+'%';
    marginInfo.style.color=totalProfit&gt;0?'#b9ff9f':'#ff8a7a';
  } else {
    marginInfo.textContent='отметьте позиции ★';
    marginInfo.style.color='#9a8040';
  }
  // Обновляем статус кнопки
  var btnProfit=document.getElementById('ordProfit');
  btnProfit.style.color=totalProfit&gt;0?'#7dff7d':(totalProfit&lt;0?'#ff8a7a':'#7dff7d');
}

/* ==================== СТАТИСТИКА ОБЩАЯ ==================== */
function updateStats(){
  var totalProfit=0,totalProfitKg=0,totalMargin=0,losses=0,validRows=0;
  data.forEach(function(r){
    var c=calc(r);
    if(r.weight&gt;0.5){
      totalProfit+=c.profit;
      totalProfitKg+=c.profitPerKg;
      totalMargin+=c.margin;
      validRows++;
      if(c.profit&lt;0) losses++;
    }
  });
}

/* ==================== РЕНДЕР ТАБЛИЦЫ ==================== */
function render(){
  var rows=getFiltered();
  var tbody=document.getElementById('tbody');
  tbody.innerHTML='';
  if(!rows.length){
    tbody.innerHTML='&lt;tr&gt;&lt;td colspan="15" style="text-align:center;padding:40px;opacity:.6"&gt;Ничего не найдено&lt;/td&gt;&lt;/tr&gt;';
    document.getElementById('counter').textContent='Найдено: 0';
    updateOrder();renderTops();return;
  }
  rows.forEach(function(r){
    var c=calc(r);
    var isPicked=picked[r.num]!==undefined;
    var qty=isPicked?(picked[r.num].qty||1):1;
    var tr=document.createElement('tr');
    if(c.profit&lt;0) tr.classList.add('loss');
    if(isPicked) tr.classList.add('picked');
    tr.innerHTML=
      '&lt;td class="col-star"&gt;&lt;span class="star'+(isPicked?' on':'')+'" data-num="'+r.num+'"&gt;'+(isPicked?'★':'☆')+'&lt;/span&gt;&lt;/td&gt;'+
      '&lt;td class="col-qty"&gt;&lt;input type="number" class="qty" data-num="'+r.num+'" value="'+qty+'" min="1" max="9999"'+(isPicked?'':' disabled')+'&gt;&lt;/td&gt;'+
      '&lt;td class="num"&gt;'+r.num+'&lt;/td&gt;'+
      '&lt;td&gt;&lt;span class="badge"&gt;'+r.cat+'&lt;/span&gt;&lt;/td&gt;'+
      '&lt;td class="article"&gt;'+r.article+'&lt;/td&gt;'+
      '&lt;td&gt;&lt;b&gt;'+r.name+'&lt;/b&gt;&lt;/td&gt;'+
      '&lt;td&gt;'+r.machine+'&lt;/td&gt;'+
      '&lt;td class="num"&gt;'+num1(r.weight)+'&lt;/td&gt;'+
      '&lt;td class="num"&gt;'+fmt(c.raw)+'&lt;/td&gt;'+
      '&lt;td class="num"&gt;'+fmt(c.work)+'&lt;/td&gt;'+
      '&lt;td class="num"&gt;'+fmt(c.cost)+'&lt;/td&gt;'+
      '&lt;td class="num price"&gt;'+fmt(c.price)+'&lt;/td&gt;'+
      '&lt;td class="num profit'+(c.profit&lt;0?' neg':'')+'"&gt;'+fmt(c.profit)+'&lt;/td&gt;'+
      '&lt;td class="num margin'+(c.margin&lt;0?' neg':'')+'"&gt;'+Math.round(c.margin)+'%&lt;/td&gt;'+
      '&lt;td class="num profit'+(c.profitPerKg&lt;0?' neg':'')+'"&gt;'+fmt(c.profitPerKg)+'&lt;/td&gt;';
    tbody.appendChild(tr);
  });
  document.getElementById('counter').textContent='Найдено: '+rows.length;
  updateStats();
  updateOrder();
  renderTops();
  bindStars();
  bindQty();
}

function bindStars(){
  document.querySelectorAll('.star').forEach(function(el){
    el.addEventListener('click',function(){
      var n=parseInt(this.dataset.num,10);
      if(picked[n]){
        delete picked[n];
      } else {
        picked[n]={qty:1};
      }
      render();
    });
  });
}

function bindQty(){
  document.querySelectorAll('input.qty').forEach(function(inp){
    inp.addEventListener('input',function(){
      var n=parseInt(this.dataset.num,10);
      if(!picked[n]) return;
      picked[n].qty=Math.max(1,parseInt(this.value,10)||1);
      updateOrder();
    });
  });
}

/* ==================== ТОПЫ ==================== */
function renderTops(){
  var rows=data.slice().filter(function(r){return r.weight&gt;0.5;});
  var calcRows=rows.map(function(r){return {r:r,c:calc(r)};});

  var byProfit=calcRows.slice().sort(function(a,b){return b.c.profit-a.c.profit;}).slice(0,10);
  document.getElementById('topProfit').innerHTML=byProfit.map(function(x){
    return '&lt;div class="top-item"&gt;&lt;span class="num"&gt;'+x.r.num+'&lt;/span&gt;&lt;span class="art"&gt;'+x.r.article+'&lt;/span&gt;&lt;span class="val"&gt;'+fmt(x.c.profit)+' ₽&lt;/span&gt;&lt;/div&gt;';
  }).join('');

  var byKg=calcRows.slice().sort(function(a,b){return b.c.profitPerKg-a.c.profitPerKg;}).slice(0,10);
  document.getElementById('topProfitKg').innerHTML=byKg.map(function(x){
    return '&lt;div class="top-item"&gt;&lt;span class="num"&gt;'+x.r.num+'&lt;/span&gt;&lt;span class="art"&gt;'+x.r.article+'&lt;/span&gt;&lt;span class="val"&gt;'+fmt(x.c.profitPerKg)+' ₽/кг&lt;/span&gt;&lt;/div&gt;';
  }).join('');
}

/* ==================== ФИЛЬТРЫ ==================== */
function renderCatSelect(){
  var cats=[],seen={};
  data.forEach(function(r){
    if(!seen[r.cat]){seen[r.cat]=1;cats.push(r.cat);}
  });
  cats.sort();
  var sel=document.getElementById('fCat');
  sel.innerHTML='&lt;option value="all"&gt;Все категории&lt;/option&gt;'+cats.map(function(c){
    return '&lt;option value="'+c+'"'+(state.cat===c?' selected':'')+'&gt;'+c+'&lt;/option&gt;';
  }).join('');
}

function resetFilters(){
  state.search='';state.cat='all';state.sort={key:null,dir:1};
  document.getElementById('search').value='';
  document.getElementById('fCat').value='all';
  render();
}
function sortByProfit(){state.sort={key:'profit',dir:-1};render();}
function sortByMargin(){state.sort={key:'margin',dir:-1};render();}
function sortByNum(){state.sort={key:'num',dir:1};render();}

function clearSelection(){
  if(Object.keys(picked).length===0){alert('Заказ пуст.');return;}
  if(confirm('Очистить весь заказ? ('+Object.keys(picked).length+' позиций)')){
    picked={};
    render();
  }
}

function scrollToTable(){
  document.getElementById('catalog').scrollIntoView({behavior:'smooth',block:'start'});
}

/* ==================== ЭКСПОРТ ЗАКАЗА ==================== */
function exportOrder(){
  if(Object.keys(picked).length===0){alert('Сначала отметьте ★ и укажите количество.');return;}
  var header=['№','Категория','Артикул','Наименование','Техника','Вес, кг','Кол-во, шт','Себест./шт, ₽','Цена/шт, ₽','Прибыль/шт, ₽','Сумма продажи, ₽','Итого прибыль, ₽'];
  var body=[];
  var totals={cost:0,sale:0,profit:0,qty:0};
  Object.keys(picked).forEach(function(numStr){
    var r=data.find(function(x){return x.num===parseInt(numStr,10);});
    if(!r) return;
    var c=calc(r);
    var q=picked[numStr].qty||1;
    var saleSum=c.price*q;
    var profitSum=c.profit*q;
    totals.cost+=c.cost*q;
    totals.sale+=saleSum;
    totals.profit+=profitSum;
    totals.qty+=q;
    body.push([r.num,r.cat,r.article,r.name,r.machine,num1(r.weight),q,
               Math.round(c.cost),Math.round(c.price),Math.round(c.profit),
               Math.round(saleSum),Math.round(profitSum)]);
  });
  body.push([]);
  body.push(['','','','','','','ИТОГО:',totals.qty+' шт','','',
             Math.round(totals.sale),Math.round(totals.profit)]);
  body.push(['','','','','','','Себестоимость:',Math.round(totals.cost),'','','','']);
  body.push(['','','','','','','Рентабельность:',
             Math.round(totals.cost&gt;0?(totals.profit/totals.cost)*100:0)+'%','','','','']);
  var esc=function(v){return '"'+String(v==null?'':v).replace(/"/g,'""')+'"';};
  var csv=[header].concat(body).map(function(r){return r.map(esc).join(';');}).join('\r\n');
  var blob=new Blob(['\uFEFF'+csv],{type:'text/csv;charset=utf-8;'});
  var url=URL.createObjectURL(blob);
  var a=document.createElement('a');
  a.href=url;
  a.download='Заказ_'+today()+'.csv';
  document.body.appendChild(a);a.click();a.remove();
  setTimeout(function(){URL.revokeObjectURL(url);},500);
}

/* ==================== СОХРАНЕНИЕ ==================== */
function saveParams(){
  try{
    localStorage.setItem('nozhi_params',JSON.stringify(params));
    alert('Параметры сохранены.');
  }catch(e){alert('Ошибка: '+e.message);}
}
function loadParams(){
  try{
    var s=localStorage.getItem('nozhi_params');
    if(!s){alert('Нет сохранённых параметров.');return;}
    params=JSON.parse(s);
    document.getElementById('pSteelPrice').value=params.steelPrice;
    document.getElementById('pKoef').value=params.koef;
    document.getElementById('pMarkup').value=params.markup;
    document.getElementById('pWork').value=params.work;
    document.getElementById('pVAT').value=params.vat;
    render();
    alert('Загружено.');
  }catch(e){alert('Ошибка: '+e.message);}
}
function resetParams(){
  params={steelPrice:75,koef:1.15,markup:120,work:25,vat:22};
  document.getElementById('pSteelPrice').value=params.steelPrice;
  document.getElementById('pKoef').value=params.koef;
  document.getElementById('pMarkup').value=params.markup;
  document.getElementById('pWork').value=params.work;
  document.getElementById('pVAT').value=params.vat;
  render();
}

/* ==================== ОБЩИЙ ЭКСПОРТ CSV ==================== */
function dlCSV(){
  var rows=getFiltered();
  var header=['№','Категория','Артикул','Наименование','Техника','Вес, кг','Сырьё, ₽','Обработка, ₽','Себестоимость, ₽','Цена рынка, ₽','Прибыль, ₽','Рент., %','Приб./кг, ₽'];
  var body=rows.map(function(r){
    var c=calc(r);
    return [r.num,r.cat,r.article,r.name,r.machine,num1(r.weight),
            Math.round(c.raw),Math.round(c.work),Math.round(c.cost),
            Math.round(c.price),Math.round(c.profit),
            Math.round(c.margin),Math.round(c.profitPerKg)];
  });
  var esc=function(v){return '"'+String(v).replace(/"/g,'""')+'"';};
  var csv=[header].concat(body).map(function(r){return r.map(esc).join(';');}).join('\r\n');
  var blob=new Blob(['\uFEFF'+csv],{type:'text/csv;charset=utf-8;'});
  var url=URL.createObjectURL(blob);
  var a=document.createElement('a');
  a.href=url;a.download='analiz_pribyli_'+today()+'.csv';
  document.body.appendChild(a);a.click();a.remove();
  setTimeout(function(){URL.revokeObjectURL(url);},500);
}

function today(){
  var d=new Date(),p=function(n){return String(n).padStart(2,'0');};
  return d.getFullYear()+'-'+p(d.getMonth()+1)+'-'+p(d.getDate());
}

/* ==================== СОБЫТИЯ ==================== */
document.addEventListener('DOMContentLoaded',function(){
  ['pSteelPrice','pKoef','pMarkup','pWork','pVAT'].forEach(function(id){
    document.getElementById(id).addEventListener('input',function(){
      params.steelPrice=parseFloat(document.getElementById('pSteelPrice').value)||75;
      params.koef=parseFloat(document.getElementById('pKoef').value)||1.15;
      params.markup=parseFloat(document.getElementById('pMarkup').value)||120;
      params.work=parseFloat(document.getElementById('pWork').value)||25;
      params.vat=parseFloat(document.getElementById('pVAT').value)||22;
      render();
    });
  });
  document.getElementById('search').addEventListener('input',function(e){state.search=e.target.value;render();});
  document.getElementById('fCat').addEventListener('change',function(e){state.cat=e.target.value;render();});
  document.querySelectorAll('#tbl th.sortable').forEach(function(th){
    th.addEventListener('click',function(){
      var k=th.dataset.key;
      if(state.sort.key===k) state.sort.dir*=-1;
      else state.sort={key:k,dir:-1};
      render();
    });
  });
  renderCatSelect();
  render();
});
&lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;</subtitle>
  <updated>2026-10-11T11:51:26Z</updated>
  <logo>https://pandoraburo.ru/ssl/u/pic/07/26436cc3c611f19d9efcd8c4a10874/-/0c723f71762611f1b3964aaba1665535.jpg</logo>
  <author>
    <name>1592962</name>
    <uri>https://www.pandoraburo.ru/</uri>
  </author>
</feed>
