.products h2,
.products h3.subcat_title {
  display: flex;
  align-items: center;
  width: 100%;
  text-align: left;
}

.products .cat_heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

  .products .cat_heading h2 {
    display: inline-block;
    width: auto;
    margin-bottom: 1em;
    background: #222227;
    border-radius: 8px;
    padding: 4px 12px;
    font-size: 2.0em;
    font-weight: 400;
  }

  .products .cat_heading a {
    display: inline-block;
    background: #;
    border-radius: 8px;
    padding: 4px 12px;
    font-size: 1.0em;
    font-weight: 400;
    color: #111;
  }

.products h3.subcat_title {
  font-size: 1.75em;
  font-weight: 400;
}

.products h2:after,
.products h3:after {
  position: relative;
  top: 0px;
  content: '';
  display: block;
  width: 0% !important;
  height: 0px !important;
  margin-left: 0;
}


@media screen and (max-width: 1023px) {

  .products h2 {
    font-size: 24px !important;
  }

  .products h3.subcat_title {
    font-size: 21px !important;
  }

}















.tags .tags_item {
  color: #fff !important;
}
.tags .tags_item i.arrow {
  background: #fff;
}

span.joop {
  color: #fff;
}

.tabs_grid a {
  color: #fff;
}











.products .hide {
  display: none !important;
}












.products .products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  grid-column-gap: 2.0em;
  grid-row-gap: 5em;
  margin-bottom: 5em;
  padding: 0;
  text-align: center;
}

.products .product-item {
  position: relative;
  box-sizing: border-box;
  border-radius: 16px;
  background: #222227;
  box-shadow: var(--shadow); box-shadow: none;
  border-top: 0px solid #eee;
  padding: 0px;
  overflow: hidden;
  padding: 12px;
}

  .products .product-item .image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 220px;
    text-align: center;
    overflow: hidden !important;
  }
    .products .product-item .image img {
      position: relative;
      left: 0;
      top: 0px;
      display: block;
      width: 100%;
      max-width: 100%;
      height: 180px;
      margin: auto;
      overflow: hidden;
      object-fit: contain;
      object-position: center center;
      transition: .6s;
    }

  .products .product-item .image.cover {
    width: 100%;
    height: 180px;
    border-radius: 12px;
  }
    .products .product-item .image.cover img {
      width: 100%;
      max-width: 100%;
      min-height: 100%;
      border-radius: 24px;
      object-fit: cover;
    }

    .products .product-item .image.stock img {
      position: relative;
      left: 0;
      top: 20px;
      display: block;
      width: 100%;
      height: 180px;
      overflow: hidden;
      object-fit: contain;
      object-position: center center;
      transition: .6s;
    }
    .products .product-item .image img.label {
      position: absolute;
      top: 0;
      left: 0;
      min-width: auto !important;
      max-width: auto !important;
      width: auto !important;
      min-height: auto !important;
      height: 32px;
      border-radius: 0 !important;
    }


    .products .product-item .img_label {
      position: absolute;
      top: 0;
      left: -4px;
      min-width: auto;
      width: auto;
      border-radius: 0;
      opacity: 1;
    }
      .products .product-item .img_label img {
        height: 32px;
      }





  .products .product-item .text {
    position: relative;
    padding: 12px 0px 0 0px;
  }
  .products .product-item .text.cover {
    padding: 12px 0 0;
  }



    .products .product-item .title {
      position: relative;
      display: flex !important;
      align-items: center;
      height: 40px;
      margin: 0;
      overflow: hidden;

      -webkit-box-orient: vertical;
      text-align: left;
      line-height: 1.18;
      font-size: 1.15em;
      font-weight: 600;
      color: #fff;
    }
    .products .product-item .desc {
      display: block;
      min-height: 32px;
      margin: 0;
      margin-top: 4px;
      text-align: left;
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      line-height: 1.3;
      font-size: .8em;
      color: #aaa;
    }

     @media screen and (min-width: 1025px) {

    .products .product-item .weight span,
    .products .product-item .weight select {
      position: relative;
      top: 0px;
      display: flex;
      box-sizing: border-box;
      align-items: center;
      width: 100%;
      height: 32px;
      margin: 8px 0 0 0;
      background: #1a1a1a;
      border: 0px solid #f5f5f5;
      border-radius: 4px;
      padding-left: 6px;
      font-weight: 400;
      color: #fff;
    }
    .products .product-item .weight select {
      -webkit-appearance: none;
      background-image: url('../images/icons/ic_select_dark.png');
      background-size: 15px 15px;
      background-position: right 10px center;
      background-repeat: no-repeat;
    }

    .products .product-item .weight span { }

    }

    .products .product-item .cost-line {
      position: relative;
      display: grid;
      grid-template-columns: 11fr 1fr;
      justify-content: center;
      align-items: center;
      width: 100%;
      height: 56px;
    }

    .products .product-item .oldcost {
      position: ;
      left: 0;
      text-align: left;
      text-decoration: line-through;
      font-size: ;
      font-weight: 500;
      color: #aaa;
    }
    .products .product-item .cost {
      position: relative;
      display: inline-block;
      text-align: left;
      font-size: 1.25em;
      font-weight: 700;
      color: #fff;
    }





/* NOTEBOOK / IPAD */
@media screen and (max-width: 1480px) {

  .products .products-grid {
    grid-column-gap: 2.5em;
    grid-row-gap: 3.0em;
  }

  .products .product-item {
    box-sizing: border-box;
    border-radius: 8px;
    overflow: hidden;
    transition: .3s;
  }

    .products .product-item .image {
      height: 170px;
    }
      .products .product-item .image img {
        height: 170px;
      }


}

.jopka {
  display: none !important;
}


@media screen and (max-width: 1360px) {

  .mainlist .product-item:nth-child(5) {
    display: none;
  }

}


@media screen and (max-width: 1024px) {

  .products h2 {
    font-size: 18px !important;
  }


  .products .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    grid-row-gap: 24px !important;
  }

    .products .product-item {
      position: relative;
      display: grid;
      grid-template-columns: 144px 1fr;
      grid-column-gap: 12px;
      align-items: start;
      margin: 0;
      padding: 12px 8px 4px 8px;
      box-shadow: none;
      border: 0;
    }
    .products .product-item:hover {
      border: 0;
    }

/*
    .products .product-item .image {
      position: relative;
      display: flex;
      align-items: start;
      width: 100%;
      height: 100%;
    }
      .products .product-item .image img {
        top: 0;
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
        border-radius: 12px;
        transition: .6s;
      }

    .products .product-item .image.cover {
      display: block;
      height: 88px;
    }
      .products .product-item .image.cover img {
        border-radius: 1px;
      }

      .products .product-item .image img.label {
        min-width: auto;
        width: auto;
        height: 24px;
        border-radius: 0;
      }
*/


    .products .product-item .image {
      /*top: -6px;
      left: -16px;
      display: block;
      width: 140px;
      height: 100%;
      transform: rotate(90deg);*/
      top: -6px;
    left: -4px;
    display: block;
    width: 114px;
    height: 100%;
    margin-right: 8px;
    }
      .products .product-item .image img {
        top: 0;
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
        border-radius: 12px;
        transition: .6s;
      }

    .products .product-item .image.cover {
      top: -6px;
      left: -24px;
      display: block;
      width: 160px;
      height: 100%;
      transform: rotate(90deg);
    }
      .products .product-item .image.cover img {
        border-radius: 1px;
        width: 100%;
        height: 100%;
        object-fit: contain;
      }

      .products .product-item .image img.label {
        bottom: -24px;
        left: -29px;
        min-width: auto;
        width: auto;
        height: 24px;
        border-radius: 0;
        transform: rotate(-90deg);
        opacity: 1;
      }

      .products .product-item .img_label {
        position: absolute;
        top: 0;
        left: -2px;
        min-width: auto;
        width: auto;
        border-radius: 0;
        opacity: 1;
      }
        .products .product-item .img_label img {
          height: 22px;
        }


    .products .product-item .text {
      padding: 0;
      padding-right: 0px !important;
    }

      .products .product-item .title {
        position: relative;
        display: block;
        height: auto;
        margin-top: 0px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        text-align: left;
        line-height: 1.1;
        font-size: 16px !important;
        font-weight: 600;
      }

      .products .product-item .desc {
        min-height: auto;
        -webkit-line-clamp: 2;
        font-size: 12px;
      }

      .products .product-item .weight select,
      .products .product-item .weight span {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        max-width: 100%;
        height: 36px;
        margin: 4px 0;
        background: #1a1a1a;
        border: 0px solid rgba(0,0,0,.1);
        border-radius: 8px;
        padding: 0 6px;
        font-weight: 400;
        color: #fff;
      }


      .products .product-item .weight select {
        -webkit-appearance: none;
        background-image: url('../images/icons/ic_select_dark.png');
        background-size: 16px 16px;
        background-position: right 10px center;
        background-repeat: no-repeat;
      }

      .products .product-item .weight span {

      }




    .products .product-item .cost-line {
      margin: 0;
    }
      .products .product-item .cost {
        font-size: 16px;
        font-weight: 700;
      }


}

@media screen and (max-width: 440px) {

  .products .products-grid {
    grid-row-gap: 16px;
  }
    .products .product-item {
      grid-template-columns: 104px 1fr;
      grid-template-rows: ;
    }
}

@media screen and (max-width: 330px) {

  .products .products-grid {
    grid-row-gap: 8px;
  }
    .products .product-item {
      grid-template-columns: 104px 1fr;
      grid-template-rows: ;
    }
    .products .product-item .desc {
      -webkit-line-clamp: 2;
    }
}














/* Вёрстка новостей/акций */
@media screen and (max-width: 1025px) {

  .stock .stock-item {
    background: #222227;
  }
}
/*---*/



















/* Кнопки */
.button-passive,
.button-active {
  display: flex;
  align-items: center;
}



.button-passive .addToCart, a.addToCart_a {
  cursor: pointer;
  -webkit-user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 130px;
  height: 36px;
  overflow: hidden;
  border: 0px solid #fff;
  border-radius: 8px;
  background: #c20609;
  padding: 0;
  letter-spacing: 0px;
  font-size: .9em;
  font-weight: 600;
  color: #fff;
  transition: all .2s;
}
.button-passive .addToCart:active {
  width: 128px;
  height: 40px;
  transition: all .1s;
}

.button-active .updateCart, .button-active .updateCart_fake {
  cursor: pointer;
  -webkit-user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  overflow: hidden;
  border: 0px solid #fff;
  border-radius: 8px;
  background: #c20609;
  padding: 0;
  font-size: 1.5em;
  font-weight: 500;
  color: #fff;
  transition: all .2s;
}
.button-active .updateCart:active {
  width: 40px;
  height: 40px;
  transition: all .1s;
}

  .button-active .updateCart.minus span, .button-active .updateCart_fake.minus span {
    position: relative;
    top: -1px;
    font-size: 1.0em;
  }
  .button-active .updateCart.plus span, .button-active .updateCart_fake.plus span {
    position: relative;
    top: 0px;
    font-size: 1.0em;
  }

  .button-active .kolvo {
    position: relative;
    cursor: default;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    text-align: center;
    font-size: 1.2em;
    font-weight: 500;
    color: #fff;
  }

@media screen and (max-width: 1025px) {

  .button-active .updateCart, .button-active .updateCart_fake {
    width: 32px;
    height: 32px;
  }

  .button-passive .addToCart, a.addToCart_a {
    width: 108px;
    height: 32px;
  }

    .products .product-item .button-passive .addToCart {
      width: 108px;
      height: 32px;
      color: #fff;
    }

    .products .product-item .button-active .updateCart {
      width: 32px;
      height: 32px;
      transition: all .2s;
    }
    .products .product-item .button-active .updateCart:active {
      width: 34px;
      height: 34px;
      transition: all .1s;
    }


      .products .product-item .button-active .kolvo {
        top: 1px;
        width: 42px;
        font-size: 16px;
      }

}

/* */