.products .hide {
  display: none !important;
}

.products .products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-column-gap: 1.50em;
  grid-row-gap: 2em;
  margin-bottom: 5em;
  padding: 0;
  text-align: center;
}

.products .product-item {
  box-sizing: border-box;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow2);
  border: 1px solid #f5f5f5;
  padding: 0px;
  overflow: hidden;
  padding: 12px 20px 12px;
}
.products .product-item:hover {
  border: 1px solid #ccc;
}

  .products .product-item .image {
    position: relative;
    display: block;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 260px;
    text-align: center;
    overflow: hidden !important;
  }
    .products .product-item .image img {
      position: relative;
      left: 0;
      top: 0px;
      display: block;
      width: 100%;
      max-width: 260px;
      height: 260px;
      margin: auto;
      overflow: hidden;
      object-fit: contain;
      object-position: center center;
      transition: .6s;
    }

  .products .product-item .image.cover {
    width: 100%;
    height: 240px;
    border-radius: 12px;
  }
    .products .product-item .image.cover img {
      width: 100%;
      max-width: 100%;
      height: 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 .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;
      align-items: center;
      height: 36px;
      margin: 0;
      margin-bottom: 4px;
      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: 1.15em;
      font-weight: 600;
    }
    .products .product-item .desc {
      display: block;
      height: auto;
      max-height: 52px;
      margin: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      line-height: 1.3;
      font-size: .85em;
      color: #777;
    }

   @media screen and (min-width: 1025px) {

  .products .product-item .weight select,
  .products .product-item .weight span {
    position: relative;
    top: 0px;
    display: flex;
    box-sizing: border-box;
    align-items: center;
    width: 100%;
    height: auto;
    margin: 8px 0;
    background: #;
    border: 1px solid #ccc;
    border-radius: 99px;
    padding: 8px 12px;
    font-weight: 400;
    color: #000;
  }

  .products .product-item .weight select {
    -webkit-appearance: none;
    background-image: url('../images/icons/ic_select.png');
    background-size: 16px 16px;
    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%;
  }

  .products .product-item .oldcost {
    position: absolute;
    top: -14px;
    left: -0px;
    text-align: left;
    text-decoration: line-through;
    font-size: .75em;
    font-weight: 500;
    color: #aaa;
  }
  .products .product-item .cost {
    position: relative;
    display: inline-block;
    text-align: left;
    font-size: 1.20em;
    font-weight: 500;
    color: #000;
  }





/* NOTEBOOK / IPAD */
@media screen and (max-width: 1480px) {

.products .products-grid {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));

}

  .products .product-item {

  }

    .products .product-item .image {
      height: 200px;
    }
      .products .product-item .image img {
        max-width: 200px;
        height: 200px;
      }

    .products .product-item .image.cover {
      width: 100%;
      height: 200px;
    }
      .products .product-item .image.cover img {
      }

    .products .product-item .title {

    }
    .products .product-item .desc {
      /*min-height: 30px;*/
      -webkit-line-clamp: 2;
    }


}


@media screen and (max-width: 1360px) {

  .mainlist .product-item:nth-child(5) {
    display: none;
  }

}







@media screen and (max-width: 1025px) {

  .products .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    grid-row-gap: 24px;
  }

    .products .product-item {
      display: grid;
      grid-template-columns: 144px 1fr;
      grid-column-gap: 8px;
      align-items: start;
      margin: 0;
      padding: 0;
      box-shadow: none;
      border: 0;
      border-radius: 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: 128px;
    }
      .products .product-item .image.cover img {
      }

      .products .product-item .image img.label {
        min-width: auto;
        width: auto;
        height: 24px;
        border-radius: 0;
      }


    .products .product-item .text {
      padding: 0;
    }

      .products .product-item .title {
        display: block;
        margin-top: 16px;
        margin-bottom: 4px;
        height: auto;
        font-size: 15px;
      }

      .products .product-item .desc {
        min-height: auto;
        line-height: 1.3;
        -webkit-line-clamp: 3;
        font-size: 11px;
        color: #333;
      }


      .products .product-item .weight select,
      .products .product-item .weight span {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        box-sizing: border-box;
        width: 100%;
        height: 36px;
        margin: 4px 0;
        background: #f5f5f5;
        border: 0px solid rgba(0,0,0,.1);
        border-radius: 8px;
        padding: 0 6px;
        font-weight: 400;
        color: #000;
      }

      .products .product-item .weight select {
        -webkit-appearance: none;
        background-image: url('../images/icons/ic_select.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 .oldcost {
        top: -16px;
        left: -0px;
        font-size: 10px;
      }
      .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: 140px 1fr;
      grid-template-rows: ;
    }
}


@media screen and (max-width: 362px) {

  .products .products-grid {
  }
    .products .product-item {
      grid-template-columns: 120px 1fr;
      grid-template-rows: ;
    }
    .products .product-item .desc {
    }
}
























/* Кнопки */
.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: 120px;
    height: 36px;
    overflow: hidden;
    border: 1px solid #c20609;
    border-radius: 12px;
    background: #c20609;
    padding: 0;
    text-transform: uppercase;
    font-size: .9em;
    font-weight: 600;
    color: #fff;
    transition: all .2s;
  }
  .button-passive .addToCart:active,
  a.addToCart_a: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: 1px solid #c20609;
    border-radius: 12px;
    background: #c20609;
    padding: 0;
    font-size: 1.5em;
    font-weight: 500;
    color: #fff;
    transition: all .2s;
  }
  .button-active .updateCart:active,
  .button-active .updateCart_fake: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 .kolvo {
      position: relative;
      cursor: default;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 44px;
      text-align: center;
      font-size: 1.1em;
      font-weight: 500;
      color: #000;
    }
    .button-active .updateCart.plus span, .button-active .updateCart_fake.plus span {
      position: relative;
      top: 0px;
      font-size: 1.0em;
    }



@media screen and (max-width: 1025px) {

  .button-passive .addToCart,
  a.addToCart_a {
    width: 108px;
    height: 31px;
    padding-top: 1px;
  }
  .button-passive .addToCart:active,
  a.addToCart_a:active {
    width: 108px;
    height: 31px;
  }

  .button-active .updateCart,
  .button-active .updateCart_fake {
    width: 32px;
    height: 32px;
  }
  .button-active .updateCart:active,
  .button-active .updateCart_fake:active {
    width: 32px;
    height: 32px;
  }
    .button-active .updateCart.minus span, .button-active .updateCart_fake.minus span {
    }
    .button-active .kolvo {
    }
    .button-active .updateCart.plus span, .button-active .updateCart_fake.plus span {
    }


}

/* */

.products .products-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* NOTEBOOK / IPAD */
@media screen and (max-width: 1480px) {

  .products .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    grid-column-gap: 1.25em;
    grid-row-gap: 1.25em;
  }

  .mainlist .product-item:nth-child(5) {
    display: none;
  }

}


@media screen and (max-width: 1025px) {
  .products .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    grid-column-gap: 1.25em;
    grid-row-gap: 1.25em;
  }
}

/* Кнопки */
.button-passive,
.button-active {
  display: flex;
  align-items: center;
}

  .button-passive .addToCart, 
  a.addToCart_a {
    border: 1px solid #333;
    background: transparent;
    color: #333;
  }
  .button-passive .addToCart:active {
  }

  .button-active .updateCart, .button-active .updateCart_fake {
    border: 1px solid #333;
    border-radius: 12px;
    background: transparent;
    color: #333;
  }
  .button-active .updateCart:active {
  }
    .button-active .updateCart.minus span, .button-active .updateCart_fake.minus span {
    }
    .button-active .updateCart.plus span, .button-active .updateCart_fake.plus span {
    }
    .button-active .kolvo {
    }



@media screen and (max-width: 1025px) {

  .button-passive .addToCart,
  a.addToCart_a {
  }
  .button-passive .addToCart:active,
  a.addToCart_a:active {
  }

  .button-active .updateCart,
  .button-active .updateCart_fake {
  }
  .button-active .updateCart:active,
  .button-active .updateCart_fake:active {
  }
    .button-active .updateCart.minus span, .button-active .updateCart_fake.minus span {
    }
    .button-active .kolvo {
    }
    .button-active .updateCart.plus span, .button-active .updateCart_fake.plus span {
    }

}

/* */