/*===================Корзина=======================*/
p.n_order span {
  font-weight: 700;
  font-size: 20px;
}
.link_back a:hover {
  color: #f3722c;
}
.link_back a {
  text-decoration: underline;
  text-underline-position: under;
}
.basketpage button.btn.ms2_link.unready,
.basketpage button.btn.ms2_link.unready:hover {
  background: #6e6e6e;
  cursor: default;
}

#msCart {
  margin-top: 50px;
}
.basketpage .downinfo {
  margin-top: 50px;
  margin-right: 30px;
}
.basketpage h1 {
  margin: 0 auto;
  text-align: center;
}
.basketpage {
  max-width: 1230px;
  margin: 50px auto;
}
@media (min-width: 1201px){
   .basketpage {
      margin-top: 150px;
    } 
}
#msCart .table .item {
  display: grid;
  grid-template-columns: 15% 36% 14% 17% 18%;
  align-items: center;
  border: 1px solid #8b8b8b;
  font-size: 15px;
  margin-bottom: -1px;
  padding: 6px 20px;
}
.basketpage .orderget .item {
  grid-template-columns: 18% auto 14% 17%;
}
#msCart .table.orderget .item {
  grid-template-columns: 13% 50% 17% 15%;
  font-size: 18px;
  text-align: center;
  justify-content: space-between;
}
#msCart .table.orderget .descript span {
  font-size: 16px;
}
#msCart .table .item .price {
  font-size: 18px;
  font-weight: 600;
}
table.table.table-striped {
  width: 100%;
}
table.table.table-striped td {
  text-align: center;
  vertical-align: middle;
}
#msCart .quantity-inner [type='submit'][value='cart/change'] {
  display: block !important;
}
#msCart .table .descript span {
  text-align: left;
  display: block;
  font-size: 15px;
  line-height: 1.9;
}
#msCart .table .image img {
  padding-bottom: 10px;
  max-width: 120px;
  max-height: 230px;
}
#msCart .descript span.hide {
  display: none;
}
#msCart .descript span.name {
  line-height: 1;
  display: block;
}

.count .jq-number__field {
  width: 100%;
}
.count .jq-number__field {
  width: 100%;
  max-width: 50px;
  height: 50px;
  border: 1px solid #8b8b8b;
  box-shadow: unset;
  border-radius: 0;
  text-align: center;
}
.count input.form-control {
  font-size: 16px;
  height: 100%;
  width: 100%;
  padding: 0;
  text-align: center;
  font-weight: 500;
}

.remove {
  position: relative;
  padding-right: 30px;
}
.remove form button:after,
.basket_clean button:after {
  content: '';
  position: absolute;
  width: 18px;
  height: 23px;
  background-repeat: no-repeat;
  background-position: right center;
  top: -5px;
  right: 10px;
}
.basket_clean button {
  position: relative;
}
.basket_clean button:after {
  top: 10px;
  right: 0;
}
.basketpage .image {
  overflow: hidden;
  position: relative;
}

#msCart button.btn.btn-sm {
  background: unset;
  color: black;
  min-width: unset;
  padding: 0;
  display: none;
}
#modalwindow {
  width: 100%;
  text-align: center;
  max-width: 860px;
  margin: 100px auto;
}
#modalwindow h4 {
  font-size: 35px;
  line-height: 1;
  text-transform: unset;
}
#modalwindow > span {
  max-width: 350px;
  display: block;
  margin: 10px auto 30px;
  font-weight: 500;
}
#modalwindow .halfed {
  display: grid;
  grid-template-columns: 48% 48%;
  justify-content: space-between;
  margin-top: 20px;
}
#modalwindow .halfed input,
#modalwindow .halfed textarea,
#modalwindow .halfed select {
  border: 1px solid #7e7d7c;
  padding: 14px 15px;
  margin: 0;
  font-size: 16px;
  color: #646464;
  width: 100%;
}
#modalwindow .halfed textarea {
  height: 132px;
  margin-bottom: 0;
  resize: none;
}
#modalwindow .halfed select {
  padding: 17px 15px 16px;
  font-weight: 500;
  color: black;
}
#modalwindow .agree {
  text-align: center;
  font-size: 16px;
  margin: 30px auto 70px;
  color: #4c4c4c;
}
#modalwindow .agree a {
  text-decoration: underline;
  color: #05b340;
  text-underline-position: under;
}
#modalwindow .agree input {
  margin-right: 10px;
}
#modalwindow .form-group {
  margin-bottom: 20px;
}
h4.allcost span {
  font-weight: 600;
}
h4.allcost {
  text-align: right;
  font-size: 35px;
  font-weight: 400;
  text-transform: none;
  line-height: 1;
}
.basketpage .btn,
.basketpage button.btn-danger {
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  align-items: center;
  background: #6e6e6e;
  border: none;
  border-radius: 8px;
  bottom: -2rem;
  -webkit-box-shadow: 0 0 20px rgb(0 0 0 / 15%);
  box-shadow: 0 0 20px rgb(0 0 0 / 15%);
  color: #fff;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-size: 1.5rem;
  font-weight: 500;
  height: 4rem;
  justify-content: center;
  left: 0;
  margin: 0 auto;
  max-width: 17.6rem;
  padding: 0;
  position: absolute;
  right: 0;
  -webkit-transition: all 0.45s cubic-bezier(0.39, 0.575, 0.565, 1);
  -o-transition: all 0.45s cubic-bezier(0.39, 0.575, 0.565, 1);
  transition: all 0.45s cubic-bezier(0.39, 0.575, 0.565, 1);
  width: 100%;
  z-index: 2;
}
.basketpage .btn:hover,
.basketpage button.btn-danger:hover {
  background: #f3722c;
}
.basketpage .basket_clean .btn {
  position: unset;
  margin: 20px 0;
  height: 36px;
}
.basketpage .downinfo .btn,
.basketpage button.btn.ms2_link {
  margin-right: 0;
  position: unset;
  background: #05b340;
}
.basketpage button.btn.ms2_link {
  margin: 0 auto;
}
.basketpage .downinfo .btn:hover,
.basketpage button.btn.ms2_link:hover {
  background: #0fcb4f;
}
.card-item__photo {
  margin: 0 -2rem 0.5rem;
  padding: 1.5rem 0;
}
@media (max-width: 767px) {
  .card-item__photo {
    margin: 0;
    padding-bottom: 10px;
  }
}
.card-item__photo img {
  width: 18rem;
  height: 18rem;
  border-radius: 0.4rem;
}
.personaldata h2 {
  text-align: center;
}
.personaldata {
  max-width: 1100px;
  margin: 130px auto 50px;
}
@media (max-width: 767px) {
  .card-item__photo img {
    max-width: 100%;
    height: auto;
    aspect-ratio: 1;
    width: 100%;
  }
  .catalog-menu__body .card-item .card-item__photo {
    margin: 0;
    padding: 5px 0 10px;
  }
}

.paymentRadio {
  display: flex;
  padding: 15px 0 36px;
  text-align: center;
  position: relative;
  align-items: center;
  gap: 25px;
}
.paymentRadio label {
  position: relative;
  display: flex;
  justify-content: center;
  font-size: 16px;
  color: #6e6e6e;
  align-items: center;
  margin: 0;
}
#modalwindow .paymentRadio label input {
  width: auto;
  margin-right: 15px;
}

.radio-item {
  display: inline-block;
  position: relative;
}
.radio-item input[type='radio'] {
  display: none;
}

.radio-item label:before {
  content: ' ';
  display: inline-block;
  position: relative;
  margin: 0 5px 0 0;
  width: 20px;
  height: 20px;
  border-radius: 11px;
  border: 1px solid #6e6e6e;
  background-color: transparent;
}

.radio-item input[type='radio']:checked + label:after {
  border-radius: 11px;
  width: 12px;
  height: 12px;
  position: absolute;
  top: 7px;
  left: 4px;
  content: ' ';
  display: block;
  background: #ff5c00;
}
#payments{
display: none;
opacity: 0;
visibility: hidden; 
}

/* .catalog-menu{
  scroll-margin-top: 50px;
} */


.hidden-scroll{
  opacity: 0;
  visibility: hidden;
  z-index: -1;
  left: 0;
  top: 0;
  height: 0;
  width: 0;
  position: absolute;
  left: 0;
  top: 0;
  display: none;
}
@media (max-width: 767px){
    #msCart .table .image img{
        width: 100%!important;
    }
    .basketpage .btn, .basketpage button.btn-danger{
        height: auto;
        padding: 3px;
    }
    h4.allcost{
        display: flex;
        flex-direction: column;
        text-align: center;
    }

}
@media (max-width: 545px){
    .basketpage button.btn-danger{
        position: unset;
        padding: 5px 10px;
        max-height: 34px;
    }
    .remove{
        width: 100%;
        display: flex;
    }
    #msCart .table .item{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    #modalwindow .halfed{
        flex-direction: column;
        display: flex;
    }
    #modalwindow .form-group #text_address{
        height: 132px;
    }
    .basketpage button.btn.ms2_link {
          margin: 0 auto;
          height: 36px;
        }
}



.fixed_call_btn{
    display: none;
    opacity: 0;
    position: fixed;
    z-index: 9999;
    width: 50px;
    height: 50px;
    text-decoration: none;
    color: #fff;
    background: #f00b0b;
    border: 3px solid #fe4a4a;
    opacity: 0.8;
    left: 40px;
    bottom: 17px;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 0 20px 0px #ffffff8a;
    animation: fixed_phone_pulse 0.8s alternate ease-out infinite;
    -webkit-transition: all ease 0.3s;
    -o-transition: all ease 0.3s;
    transition: all ease 0.3s;
}
.fixed_call_btn.active{
    display: flex;
    opacity: 1;
}
.fixed_call_btn:hover{
  margin-left:  6px
}

#jGrowl{
    opacity: 0!important;
    visibility: hidden!important;
}
