.product .hide {
  display: none !important;
}

/*Стили карточки товаров*/

.product .product-item {
  display: grid;
  grid-template-columns: 2fr 3fr;
  grid-column-gap: 2em;
  align-items: center;
  align-items: start;
  margin-top: 3em;
}



  .desktop_photo_zoom_gallery {
    width: 100%;
    display: block;
  }

    .desktop_photo_zoom_gallery .zoomed-image {
      display: block;
      width: 100%;
      height: 340px;
      margin-bottom: 8px;
      border-radius: 12px;

      background-repeat: no-repeat;
      background-position: center;
      background-size: cover;
    }

    .desktop_photo_zoom_gallery .other_photos {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
      grid-column-gap: 8px;
      align-items: center;
      justify-content: center;
    }

      .desktop_photo_zoom_gallery .other_photos img.small-preview{
          width: 100%;
          height: 64px;
          cursor: pointer;
          border-radius: 6px;
      }

      .desktop_photo_zoom_gallery .other_photos img.small-preview:last-child{
          margin-bottom: 0;
      }






  .product .item_photo {
    height: 100%;
  }
    .product .item_photo img.photo {
      width: 100%;
      height: auto;
      object-fit: contain;
      border-radius: 12px;
    }
    .product .item_photo img.label {
      position: absolute;
      top: 0;
      left: 0;
      height: 36px;
    }



  .product .product-item .information {
    padding-top: 3em;
  }

    .product .product-item .two_rows {
      display: grid;
      grid-template-columns: 1fr auto;
      grid-column-gap: 16px;
      align-items: center;
      justify-content: center;
    }


    .product .item_title {
      width: auto !important;
    }
      .product .item_title .title {
        font-size: 2em;
        font-weight: ;
      }


      .product .item_cost {

      }
        .product .item_cost h2 {
          font-size: 2em;
          font-weight: ;
        }


    .product .item_desc {
      margin: .5em 0;
    }
      .product .item_desc p {
        margin: 0;
        font-size: 1.0em;
      }


    .product .item_nutritional {
      display: inline-block;
      box-sizing: border-box;
      margin-bottom: 24px;
      background: #f7f7f7;
      border-radius: 6px;
      padding: 8px 12px;
    }
      .product .item_nutritional label {
        font-size: .85em;
        font-weight: 600;
      }
      .product .item_nutritional p {
        margin: 4px 0;
        font-size: .85em;
      }



    .product .item_weight {
      width: auto !important;
      height: 36px;
    }
      .product .item_weight select {
        display: flex;
        cursor: pointer;
        max-width: 820px;
        height: 36px;
        align-items: center;
        background: #f7f7f7;
        border: 0;
        border-radius: 8px;
        -webkit-appearance: none;
        background-image: url('../images/icons/ic_select.png');
        background-size: 16px 16px;
        background-position: right 10px center;
        background-repeat: no-repeat;
        padding: 0 32px 0 8px;
        font-size: 1.25em;
        font-weight: 500;
        color: #000;
      }
      .product .item_weight span {
        display: inline-flex;
        align-items: center;
        height: 40px;
        background: #f7f7f7;
        border-radius: 8px;
        padding: 0px 8px 0 8px;
        text-overflow: ellipsis;
        text-align: left;
        font-size: 1.25em;
        font-weight: 500;
        color: #000;
      }




    .product .item_button {
      text-align: right;
      height: 36px;
    }
      .product .item_button .button-passive,
      .product .item_button .button-active {
        display: flex;
        align-items: center;
      }












@media screen and (max-width: 800px) {

  .product .product-item {
    position: relative;
    display: block;
    margin-top: 0em;
  }



    .mobile_photo_gallery {
      display: block;
      width: 100%;
    }
      .mobile_photo_gallery img {
        border-radius: 8px;
      }
      .mobile_photo_gallery .photo_group {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        grid-column-gap: 8px;
        align-items: center;
        justify-content: center;
      }



    .product .item_photo {
      justify-content: center;
      background: rgba(0,0,0,.03);
      border-radius: 16px;
    }
      .product .item_photo img.photo {
        box-sizing: border-box;
        width: 100%;
        height: 280px;
        object-fit: contain;
        object-position: top top;
        padding: 12px;
      }

      .product .item_photo.cover img.photo {
        height: 100%;
        object-fit: cover;
        padding: 0;
      }

      .product .item_photo img.label {
        position: absolute;
        top: 0;
        right: 0;
        height: 28px;
      }


    .product .product-item .information {
      padding-top: 1em;
    }

      .product .item_title {}
        .product .item_title .title {
          font-size: 16px;
          font-weight: 700;
        }

      .product .item_cost {}
        .product .item_cost h2 {
          font-size: 16px;
          font-weight: 700;
        }

      .product .item_desc {}
        .product .item_desc p {
          margin: 0;
          font-size: 14px;
        }

      .product .item_nutritional {
        width: 100%;
      }
        .product .item_nutritional label {
          font-size: 12px;
        }
        .product .item_nutritional p {
          font-size: 12px;
        }


      .product .item_weight {}
        .product .item_weight select {
          position: relative;
          height: 36px;
          background-size: 12px 12px;
          font-size: 1em;
        }
        .product .item_weight span {
          font-size: 1em;
        }

}





@media screen and (max-width: 321px) {

    .product .product-item .item_weight select {
      max-width: 160px;
    }

}

/**/



























.product .modifiers {
}


.product .final_cost_bar {
  margin-top: 25px;
}

.product div.product_row.modifiers, .product div.product_row.final_cost_bar {
  display: block;
}





.modifiers h3 {
  margin-bottom: 12px;
  font-size: 1.15em;
  font-weight: 700;
}

.mod_group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 2.5em;
  grid-row-gap: 0.75em;
  align-items: center;
  justify-content: center;
  margin-bottom: 2em;

  background: #f7f7f7;
  /*box-shadow: 0 0 6px 0 rgba(0,0,0,.04), 0 4px 10px 0 rgba(13,35,67,.15);*/
  border-radius: 8px;
  padding: 1em;
}
.mod_group .mod_item .title {
  display: inline-flex;
  align-items: center;
  font-size: 1em;
  font-weight: 500;
  color: ;
}
.mod_group .mod_item .cost {
  display: inline-flex;
  justify-content: flex-end;
  font-size: 1em;
  font-weight: 700;
}

/* Single */
.mod_group.single {

}
.mod_group.single .mod_item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-column-gap: 24px;
}
.mod_item input[type="radio"] {
  -webkit-appearance: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin: auto 0;
  background: transparent;
  border: 2px solid #b9b9b7;
  border-radius: 9999px;
}
.mod_item input[type="radio"]:checked:after {
  -webkit-appearance: none;
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: #b9b9b7;
  transition: 1s;
}



/* Multiple */
.mod_group.multiple {

}
.mod_group.multiple .mod_item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-column-gap: 16px;
}

.mod_item .checkbox {
  display: inline-flex;
}
.mod_item .checkbox input[type="checkbox"]{display:none}
.mod_item .checkbox input[type="checkbox"]:checked + label{
  background: #b9b9b7;
  border-color: #b9b9b7;
}
.mod_item .checkbox input[type="checkbox"]:checked + label:after{
  transform:scale(1.3);
}
.mod_item .checkbox label {
  position: relative;
  top: 0;
  display: block;
  box-sizing: border-box;
  width: 21px;
  height: 21px;
  margin-right: 0px;
  background: transparent;
  border: 2px solid #b9b9b7;
  border-radius: 10%;
  position: relative;
  cursor: pointer;
  transition: .2s;
}
.mod_item .checkbox label:before{
  content:'';
  position: absolute;
  display: block;
  height: 300%;
  width: 300%;
  top:-100%;
  left:-100%;
  z-index: 1111;
  border-radius:50%;
  transition:.3s
}
.mod_item .checkbox label:after{
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background: url(../images/icons/ic_check.svg) center center no-repeat;
  background-size: contain;
  transform: scale(0);
  transition: .2s;
}
.mod_item .checkbox label:active:before{
  background:red;
  transition: 1s;
}





/* Default */
.mod_group.default {
  grid-template-columns: 1fr;
}
.mod_group.default .mod_item {
  display: grid;
  grid-template-columns: 1fr auto 64px;
  grid-column-gap: 2px;
  align-items: center;
  justify-content: center;
}


.button_group {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.button_group .button {
  cursor: pointer;
  -webkit-user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  overflow: hidden;
  border: 0;
  border-radius: 160px;
  background: #b9b9b7;
  padding: 0;
  font-size: 1.3em;
  font-weight: 500;
  color: #fff;
}
.button_group .button.minus span {
  position: relative;
  top: -1px;
  font-size: 1.0em;
}
.button_group .button.plus span {
  position: relative;
  top: 0px;
  font-size: 1.0em;
}
.button_group .kolvo {
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  text-align: center;
  font-size: 1.0em;
  font-weight: 500;
  color: #000;
}




.final_cost_bar {
  display: grid;
  min-width: 100%;
  grid-template-columns: 1fr auto 1fr;
  grid-column-gap: 0px;
  align-items: center;
  justify-content: center;
}

.final_cost_bar .quantity {
  display: flex;
  justify-content: flex-start;
}
.final_cost_bar .button_group .button {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.final_cost_bar .cost {
  display: flex;
  justify-content: center;
  font-size: 1.5em;
  font-weight: 700;
}
.final_cost_bar .cost span {
  font-size:
}


.final_cost_bar .button-passive {
  justify-content: flex-end;
}
.final_cost_bar .button-passive .addToCart_withdop {
  height: 40px;
}
.final_cost_bar .button-passive .order_info {
  font-size: .85em;
  font-weight: 700;
}






@media screen and (max-width: 480px) {

  .final_cost_bar {
    position: fixed;
    left: 0;
    bottom: 0;
    box-sizing: border-box;
    width: 100% !important;
    height: 56px;
    background: #fff;
    box-shadow: 0 -3px 7px 0 rgba(0,0,0,.15);
    padding: 0 12px;
  }

    .mod_group {
      grid-template-columns: 1fr;
      background: transparent;
      border-radius: 8px;
      padding: 0;
    }

    .mod_group.default .mod_item {
      grid-template-columns: 1fr auto 48px;
    }

    .button_group { }

    .final_cost_bar .button_group .button {
      width: 32px;
      height: 32px;
    }

    .final_cost_bar .cost {
      font-size: 17px;
    }

    .final_cost_bar .button-passive .order_info {
      text-align: right;
      line-height: 1em;
      font-size: .85em;
      font-weight: 400 !important;
    }

    .button_group .kolvo {
      width: 32px;
    }


}




























/* Кнопки */
.button-passive,
.button-active {
  display: flex;
  align-items: center;
}



.button-passive .addToCart, .button-passive .addToCart_withdop {
  cursor: pointer;
  -webkit-user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 40px;
  overflow: hidden;
  border: 0; 
  border-radius: 12px;
  background: #b9b9b7;
  padding: 0;
  font-size: .9em;
  font-weight: 700;
  color: #fff;
  transition: all .2s;
}
.button-passive .addToCart:active {
  width: 128px;
  height: 40px;
  transition: all .1s;
}

.button-active .updateCart, .mod_group .button-passive .addToCart {
  cursor: pointer;
  -webkit-user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border: 0; 
  border-radius: 12px;
  background: #b9b9b7;
  padding: 0;
  font-size: 1.5em;
  font-weight: 500;
  color: #fff;
  transition: all .2s;
}
.button-active .updateCart:active {
  width: 43px;
  height: 43px;
  transition: all .1s;
}
  .button-active .updateCart.minus span {
    position: relative;
    top: -1px;
    font-size: 1.0em;
  }
  .button-active .updateCart.plus span {
    position: relative;
    top: -0px;
    font-size: 1.0em;
  }

  .button-active .kolvo, .mod_group .button-passive .kolvo {
    cursor: default;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    text-align: center;
    font-size: 1.2em;
    font-weight: 500;
    color: #000;
  }

@media screen and (max-width: 800px) {

  .button-passive .addToCart {
    width: 116px;
    height: 34px;
    color: #fff;
  }

  .button-active .updateCart, .mod_group .button-passive .addToCart {
    width: 34px;
    height: 34px;
    transition: all .2s;
  }
  .button-active .updateCart:active {
    width: 37px;
    height: 37px;
    transition: all .1s;
  }
  .button-active .kolvo, .mod_group .button-passive .kolvo {
    width: 48px;
  }

}

/* */






















































.recommended_products .products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  grid-column-gap: 1.0em;
  grid-row-gap: 3em;
  margin-bottom: 5em;
  padding: 0;
  text-align: center;
}

.recommended_products .product-item {
  box-sizing: border-box;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
  /*box-shadow: 0 15px 18px 0 rgb(210 210 210 / 40%);*/
  border-top: 0px solid #eee;
  padding: 0px;
  overflow: hidden;
  padding: 0;
}

  .recommended_products .product-item .image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 144px;
    text-align: center;
    overflow: hidden !important;
  }
    .recommended_products .product-item .image img {
      position: relative;
      left: 0;
      top: 4px;
      display: block;
      overflow: hidden;
      width: 100%;
      max-width: 220px;
      height: 132px;
      margin: auto;
      object-fit: contain;
      object-position: center center;
      transition: .6s;
    }


  .recommended_products .product-item .image.cover {
    display: block;
    box-sizing: border-box;
    padding: 12px;
  }
    .recommended_products .product-item .image.cover img {
      width: 100%;
      max-width: 1000px;
      height: 100%;
      object-fit: cover;
      border-radius: 12px;
    }

    .recommended_products .product-item .image img.label {
      position: absolute;
      top: 0;
      left: 0;
      display: none;
      width: auto;
      height: 28px;
      min-height: auto;
      border-radius: 0;
    }

  .recommended_products .product-item .text {
    position: relative;
    padding: 12px 12px 0 12px;
  }



    .recommended_products .product-item .title {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      height: 64px;
      overflow: hidden;
      text-align: center;
      line-height: 1.15;
      font-size: 1.10em;
      font-weight: 600;
    }
    .recommended_products .product-item .desc {
      display: block;
      min-height: 4px;
      margin: 0px 0;
      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: #777;
    }

   @media screen and (min-width: 1024px) {

  .recommended_products .product-item .weight select,
  .recommended_products .product-item .weight span {
    position: relative;
    top: 0px;
    display: flex;
    box-sizing: border-box;
    align-items: center;
    width: 100%;
    height: 32px;
    background: #;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding-left: 4px;
    text-align: center;
    font-weight: 400;
    color: #000;
  }
  .recommended_products .product-item .weight select {
    cursor: pointer;
    -webkit-appearance: none;
    background-image: url('../images/icons/ic_select.png');
    background-size: 16px 16px;
    background-position: right 10px center;
    background-repeat: no-repeat;
  }
  .recommended_products .product-item .weight span {
    justify-content: center;
  }

  }


  .recommended_products .product-item .oldcost {
    position: ;
    left: 0;
    text-align: left;
    text-decoration: line-through;
    font-size: ;
    font-weight: 500;
    color: #aaa;
  }

  .recommended_products .product-item .cost {
    position: absolute;
    top: -32px;
    right: 12px;
    display: inline-block;
    background: #b9b9b7;
    border-radius: 6px;
    padding: 2px 8px;
    text-align: left;
    font-size: 1.05em;
    font-weight: 600;
    color: #fff;
  }

.recommended_products .hide {
  display: none !important;
}



/* NOTEBOOK / IPAD */
@media screen and (max-width: 1480px) {

  .recommended_products .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    grid-column-gap: 1em;
    grid-row-gap: 3em;
    margin-bottom: 32px;
    padding: 0;
    text-align: center;
  }

  .recommended_products .product-item {
    box-sizing: border-box;
    border-radius: 16px;
    background: #fff;
    padding: 0px;
    overflow: hidden;
    transition: .3s;
  }

    .recommended_products .product-item .image {

    }
      .recommended_products .product-item .image img {

      }

      .recommended_products .product-item .title {}

      .recommended_products .product-item .desc {
        min-height: 48px;
        -webkit-line-clamp: 3;
      }



}




@media screen and (max-width: 1023px) {

  .recommended_products h2 {
    font-size: 18px !important;
  }


  .recommended_products .products-grid {
    /*grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));*/
    grid-template-columns: 1fr 1fr;
    grid-row-gap: 24px !important;
  }

    .recommended_products .product-item {
      display: grid;
      grid-template-columns: 1fr;
      grid-column-gap: 8px;
      align-items: start;
      margin: 0;
      padding: 0;
      box-shadow: ;
      padding: 8px;
    }
    .recommended_products .product-item:hover {
      border: 0;
    }

    .recommended_products .product-item .image {
      position: relative;
      display: flex;
      align-items: start;
      width: 100%;
      height: 128px;
      overflow: hidden;
    }
      .recommended_products .product-item .image img {
        top: 0;
        display: block;
        width: 100%;
        height: 128px;
        object-fit: contain;
        object-position: center;

        border-radius: 12px;
        transition: .6s;
      }

    .recommended_products .product-item .image.cover {
      padding: 0;
    }
      .recommended_products .product-item .image.cover img {
        min-width: 100%;
        height: 128px;
      }

      .recommended_products .product-item .image img.label {
        min-width: auto;
        width: auto;
        height: 24px;
        border-radius: 0;
      }


    .recommended_products .product-item .text {
      padding: 0;
    }

      .recommended_products .product-item .title {
        min-height: 34px;
        font-size: 15px !important;
      }

      .recommended_products .product-item .desc {
        min-height: auto;
        line-height: 1.3;
        -webkit-line-clamp: 3;
        font-size: 12px;
        color: #444;
      }


      .recommended_products .product-item .weight select,
      .recommended_products .product-item .weight span {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        height: 36px;
        box-sizing: border-box;
        margin: 4px 0;
        background: #f5f5f5;
        border: 0px solid rgba(0,0,0,.1);
        border-radius: 8px;
        padding: 0 6px;
        font-weight: 400;
        color: #000;
      }
      .recommended_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;
      }



    .recommended_products .product-item .cost-line {
      margin: 0;
    }
    .recommended_products .product-item .cost {
      top: -36px;
      font-size: 16px;
      font-weight: 700;
    }


}



@media screen and (max-width: 330px) {

  .recommended_products .products-grid {
    grid-row-gap: 8px;
  }
    .recommended_products .product-item {
      grid-template-columns: 104px 1fr;
      grid-template-rows: ;
    }
    .recommended_products .product-item .desc {
      -webkit-line-clamp: 2;
    }
}












/* Кнопки */
.recommended_products .button-passive,
.recommended_products .button-active {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 12px 0;
}

.recommended_products .button-active {

}



.recommended_products .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: 0;
  border-radius: 12px;
  background: #b9b9b7;
  padding: 0;
  font-size: .9em;
  font-weight: 700;
  color: #fff;
  transition: all .2s;
}
.recommended_products .button-passive .addToCart:active {
  width: ;
  height: 40px;
  transition: all .1s;
}

.recommended_products .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: 0;
  border-radius: 12px;
  background: #b9b9b7;
  padding: 0;
  font-size: 1.5em;
  font-weight: 500;
  color: #fff;
  transition: all .2s;
}
.recommended_products .button-active .updateCart:active {
  width: 40px;
  height: 40px;
  transition: all .1s;
}

  .recommended_products .button-active .updateCart.minus span, 
  .button-active .updateCart_fake.minus span {
    position: relative;
    top: -1px;
    font-size: 1.0em;
  }
  .recommended_products .button-active .updateCart.plus span, 
  .button-active .updateCart_fake.plus span {
    position: relative;
    top: 0px;
    font-size: 1.0em;
  }

  .recommended_products .button-active .kolvo {
    position: relative;
    cursor: default;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    text-align: center;
    font-size: 1.2em;
    font-weight: 500 !important;
    color: #000;
  }

@media screen and (max-width: 1025px) {

  .recommended_products .button-passive,
  .recommended_products .button-active {
  }

  .recommended_products .button-active {
    grid-template-columns: 32px auto 32px;
    grid-column-gap: 0;
  }

    .recommended_products .button-passive .addToCart, a.addToCart_a {
      width: 116px !important;
      height: 32px;
      border-radius: 8px;
    }

    .recommended_products .button-active .updateCart,
    .button-active .updateCart_fake {
      width: 32px;
      height: 32px;
      border-radius: 8px;
    }
    .recommended_products .button-active .updateCart:active,
    .button-active .updateCart_fake:active {
      width: 32px;
      height: 32px;
    }
    .recommended_products .button-active .kolvo {
      top: 1px;
      width: 52px;
      font-size: 16px;
    }






}

/* */