.card-header .del {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 10px;
  margin: auto;
  width: 30px;
  height: 30px;
  border-radius: 5px;

}

.img_wrapper_basket {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 23%;
  overflow: hidden;

}

.btn_cart {
  display: flex;
  border: 2px solid #e5e5e5;
  border-radius: 3px;
  align-items: center;
  justify-content: center;
  padding: 5px;
  color: #7c7b7b;
  max-width: 188px;
  margin-left: auto;
  margin-right: auto;

}

.btn_cart:hover {
  border: 2px solid #002d64;
  background-color: #002d64;
  color: white;

}

.btn_cart .icon_cart {
  display: inline-block;
  width: 21px;
  height: 21px;
  background: url('/www.rightfoodrzn.ru/template/img/cart.png') center center no-repeat;

}

.btn_cart:hover .icon_cart {
  background: url('/www.rightfoodrzn.ru/template/img/cart_h.png') center center no-repeat;

}

.card {
  background: #f9f9f9;
  padding: 20px;
  display: flex;
  flex-direction: row;
  border: none;
  justify-content: space-between;

}

.card_name {
  font-family: Merriweather;
  font-size: 18px;
  width: 37%;
  letter-spacing: 0.8px;
  display: flex;
  align-items: center;

}

.del {
  display: flex;
  align-items: center;

}

.del a {
  background: url('/www.rightfoodrzn.ru/template/img/btn_delete.svg') center center no-repeat;
  display: block;
  width: 1.5em;
  height: 1.5em;

}

.hr_card {
  height: inherit;
  border-left: 1px solid #e5e5e5;
  margin: 0 16px;

}

.card_price {
  width: 10%;

}

.card_num {
  width: 13%;

}

.itog {
  font-family: Merriweather;
  font-size: 24px;
  color: #525764;

}

.itog span {
  font-family: OpenSansSemiBold;
  padding-left: 15px;

}

.form_basket {
  max-width: 700px;
  margin: auto;

}

.form_box input[type="radio"] {
  width: 0.8em;
  height: 0.8em;

}

.form_box {
  background: #e5e5e5;
  min-height: 135px;
  padding: 10px 15px;

}

.form_basket textarea {
  height: 100px;

}

.modal_basket .modal_fade {
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.4);

}

.modal_basket {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1050;
  margin: auto;
  width: 100%;
  height: 100%;
  display: block;

}

.modal_basket .modal_content {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  max-width: 30em;
  max-height: 14em;
  z-index: 1050;
  display: flex;
  background-color: white;
  border-radius: 10px;
  flex-direction: column;
  -webkit-box-shadow: 1px 4px 14px 10px rgba(34, 60, 80, 0.2);
  -moz-box-shadow: 1px 4px 14px 10px rgba(34, 60, 80, 0.2);
  box-shadow: 1px 4px 14px 10px rgba(34, 60, 80, 0.2);

}

.modal_basket .modal_content .modal_close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 1em;
  height: 1em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;

}

@media (max-width: 767px) {
  .card {
    flex-direction: column !important;
    align-items: center;

  }

}

@media (min-width: 768px) and (max-width: 991px) {
  .card {
    padding: 10px;

  }
  .card_num > .d-flex {
    flex-direction: column;

  }
  .card .minus {
    order: 3;

  }
  .card .num {
    order: 2;

  }
  .card .plus {
    order: 1;

  }
  .card_num button, .card_num .form-control {
    margin: 5px !important;

  }
  .card_price {
    width: 20%;

  }
  .card_num {
    width: 7%;

  }

}

@media (min-width: 992px) and (max-width: 1199px) {
  .img_wrapper_basket {
    width: 20%;

  }
  .card_name {
    width: 33%;

  }
  .card_num {
    width: 15%;

  }
  .card_price {
    width: 15%;

  }

}

@media (max-width: 1199px) {
  .card_name a {
    font-size: 16px;

  }

}