.card {
  width: 100%;
  z-index: 10;
  border: 1px solid #b6b3b3;
  background-color: #fff;
  overflow: hidden
}
.card:hover {
  transform: translateY(-20px) scale(1.03);
  transition: .25s;
  z-index: 11;
  border-radius: 20px!important;
  border-color: #090000
}
.card:hover .card__img-item {
  transform: scale(1.1);
  transition: .25s
}
.card:hover .card__title {
  color: #6ba442
}
.card a {
  transition: none
}
.card__counter {
  margin-bottom: 16px
}
.card__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: auto
}
.card__wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100%;
  background-color: #fff;
  border-radius: 20px;
  padding: 20px 30px 30px
}
.card__img-list {
  margin-bottom: 15px;
  height: 302px
}
.card__img-item {
  display: block;
  height: 100%
}
.card__img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  display: block;
  border-radius: 20px
}
.card__text-block {
  flex-grow: 1;
  display: flex;
  flex-direction: column
}
.card__vendor-code {
  margin-bottom: 16px;
  width: -moz-fit-content;
  width: fit-content;
  font-family: Onest,sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 100%;
  color: #507541;
  padding: 9px 10px 6px;
  text-transform: uppercase;
  background-color: rgba(80,117,65,.1);
  border-radius: 10px
}
.card__name {
  margin-bottom: 9px;
  font-size: 15px;
  font-weight: 700;
  line-height: 110%;
  color: rgba(38,38,38,.4);
  text-transform: uppercase
}
.card__title {
  margin-bottom: 11px;
  min-height: 60px;
  font-family: Onest,sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 110%;
  color: #090000
}
.card__price {
  font-family: Onest,sans-serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 110%;
  color: #090000
}
.card__price-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto
}
.card__cart {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #f9f9f9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0
}
.card__cart svg {
  fill: #507541
}
.card__cart:hover {
  background-color: #507541
}
.card__cart:hover svg {
  fill: #fff
}
.card__badge {
  position: absolute;
  top: 22px;
  left: 22px;
  padding: 1px 12px 2px 7px;
  font-size: 14px;
  font-weight: 500;
  line-height: 110%;
  color: #090000;
  border-radius: 10px;
  height: 23px
}
.card__badge::after {
  position: absolute;
  content: '';
  width: 100%;
  height: 100%;
  top: -3px;
  left: -2px;
  border-radius: 10px;
  border: 1px solid #090000;
  background-color: transparent
}
.card__badge_blue {
  background-color: #b4e3ed
}
.card__badge_yellow {
  background-color: #f7f0b0
}
.card__badge_pink {
  background-color: #f3b8db
}
.card__badge_red {
  background-color: #fbd8d6
}
.cart .card__wrap {
  border-radius: 30px
}
.cart__item-radius-bottom-left .card {
  border-bottom-left-radius: 30px
}
.cart__item-radius-top-right .card {
  border-top-right-radius: 30px
}
.cart__item:first-child .card {
  border-top-left-radius: 30px
}
.cart__item:first-child .card__wrap {
  border-radius: 30px
}
.cart__item:last-child .card {
  border-bottom-right-radius: 30px
}
.cart__item:last-child .card__wrap {
  border-radius: 30px
}
@media (max-width:1600px) {
  .card__img-list {
    height: 316px;
    height: calc((100vw - 570px)/ 3)
  }
}
@media (max-width:1200px) {
  .card__img-list {
    height: calc((100vw - 510px)/ 2)
  }
}
@media (max-width:1024px) {
  .card__img-list {
    height: calc((100vw - 96px)/ 4)
  }
}
@media (max-width:1023px) {
  .card:hover .card__img-item {
    transform: none
  }
  .card__counter {
    margin-bottom: 8px
  }
  .card__wrap {
    padding: 8px 6px 5px
  }
  .card__img-list {
    margin-bottom: -7px
  }
  .card__text-block {
    padding: 0 8px 8px
  }
  .card__vendor-code {
    font-size: 10px;
    padding: 4px 5px 2px;
    margin-bottom: 10px
  }
  .card__name {
    font-size: 12px;
    margin-bottom: 3px
  }
  .card__title {
    font-size: 12px;
    margin-bottom: -3px
  }
  .card__price {
    font-size: 16px
  }
  .card__cart {
    width: 45px;
    height: 45px
  }
  .card__badge {
    top: 11px;
    left: 11px;
    padding: 0 5px;
    font-size: 10px;
    border-radius: 3px;
    height: 17px
  }
  .card__badge::after {
    top: -2px;
    left: -1px;
    border-radius: 3px
  }
}
@media (max-width:767px) {
  .card__img-list {
    height: calc((100vw - 72px)/ 3)
  }
  .cart__item-radius-bottom-left .card {
    border-bottom-left-radius: 20px
  }
  .cart__item-radius-top-right .card {
    border-top-right-radius: 20px
  }
  .cart__item:first-child .card {
    border-top-left-radius: 20px
  }
  .cart__item:last-child .card {
    border-bottom-right-radius: 20px
  }
}
@media (max-width:600px) {
  .card__img-list {
    height: calc((100vw - 58px)/ 2)
  }
}