.rpanel-side {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 500px;
  height: 100vh;
  background: #fff;
  z-index: 200;
  padding-top: 105px;
}
.rpanel-side__close {
  position: absolute;
  top: 30px;
  right: 30px;
  cursor: pointer;
}
.rpanel-side {
  transform: translateX(550px);
  transition: 0.5s;
}
.rpanel-side.open {
  transform: translateX(0px);
}
.rpanel-side .side-body {
    padding: 0 40px;
    font-size: 11px;
}
.footer-updates__title {
  font-size: 11px;
}
.footer-content__right ul li a {
  font-size: 11px;
}
.footer-updates form button {
  font-size: 11px;
}
.link_upper {
  font-size: 11px;
  border-bottom: 1px solid rgb(38, 5, 5);
  color: rgb(38, 5, 5);
  transition: 0.5s;
  text-transform: uppercase;
}
/* modals */
.btn-x {
  position: absolute;
  right: 30px;
  top: 30px;
  width: 17px;
  opacity: 0.3;
  height: 17px;
  background: url(../images/close.svg) 50% 50% no-repeat;
  transition: 0.5s;
  border: none !important;
}
.btn-x.__left {
  right: unset;
  left: 40px;
}
.modal-content {
  border-radius: 0 !important;
}
#modalSelect .modal-dialog {
  max-width: 390px;
}
.modal__title {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.cursor {
  cursor: pointer;
}
.main_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
  transition: 0.5s;
  opacity: 0;
  display: none;
}
.main_overlay.open {
  opacity: 1;
  z-index: 96;
  display: block;
}
@media (max-width: 767px) {
  .modal-dialog.__mobile-end {
    align-items: flex-end;
    margin: 0px !important;
    max-width: 100% !important;
    bottom: -20px !important;
  }
  .modal.fade .modal-dialog {
    transform: translate3d(0, 20vh, 0) !important;
  }
  .modal.show .modal-dialog {
    transform: translate3d(0, 0, 0) !important;
  }
  .rpanel-side .left-back {
    position: absolute;
    top: 22px;
    left: 20px;
    padding-right: 15px;
    padding-bottom: 15px;
  }
  .rpanel-side .left-back img {
    rotate: 180deg;
  }
}

/* old
.modal {
  width: 100%;
  max-width: 778px;
  padding: 60px 30px;
}
@media (max-width: 580px) {
  .modal {
    padding: 40px 15px;
  }
}

@media (max-width: 580px) {
  .modal__title {
    text-align: center;
    margin-bottom: 60px;
  }
}

.fancybox-close-small {
  position: absolute;
  right: 30px;
  top: 30px;
  width: 17px;
  opacity: 0.3;
  height: 17px;
  background: url(../images/close.svg) 50% 50% no-repeat;
  transition: 0.5s;
}
@media (max-width: 580px) {
  .fancybox-close-small {
    top: 15px;
    right: 15px;
  }
}
.fancybox-close-small:hover {
  opacity: 0.6;
}
.fancybox-close-small svg {
  display: none;
}

.modal-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.modal-content__product {
  width: calc(50% - 15px);
  max-width: 350px;
}
@media (max-width: 580px) {
  .modal-content__product {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
  }
}
.modal-content__product .product {
  padding: 0;
  border: none;
  margin-bottom: 0;
}
.modal-content__product .product__image {
  width: 112px;
  height: 174px;
  margin-right: 25px;
}
.modal-content__product .product__articul {
  margin-bottom: 40px;
}
.modal-content__form {
  width: calc(50% - 15px);
  max-width: 350px;
}
@media (max-width: 580px) {
  .modal-content__form {
    width: 100%;
    max-width: 100%;
  }
}

.modal-content form {
  width: 100%;
}
.modal-content__form p {
  font-size: 12px;
  color: rgba(38, 5, 5, 0.3);
}
.modal-content__form p a {
  color: rgba(38, 5, 5, 0.3);
  border-bottom: 1px solid rgba(38, 5, 5, 0.3);
  transition: 0.5s;
}
.modal-content__form p a:hover {
  border-color: transparent;
}
.modal-content__form input {
  font-family: "Golos Text", sans-serif;
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(38, 5, 5, 0.3);
  padding-bottom: 11px;
  margin-bottom: 40px;
  font-size: 12px;
  color: rgb(38, 5, 5);
}
.modal-content__form input:placeholder {
  color: rgba(38, 5, 5, 0.5);
}
.modal-content__form button {
  display: flex;
  flex-direction: column;
  height: 60px;
  width: 100%;
  background-color: rgb(38, 5, 5);
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  cursor: pointer;
  align-items: center;
  text-align: center;
  justify-content: center;
  border: 0;
  transition: 0.5s;
  margin-bottom: 20px;
}
.modal-content__form button span {
  color: rgba(255, 255, 255, 0.6);
  text-transform: none;
  font-size: 12px;
}
.modal-content__form button:hover {
  background-color: rgba(38, 5, 5, 0.5);
}
.modal-content__form-title {
  display: block;
  font-size: 12px;
  margin-bottom: 15px;
}
@media (max-width: 580px) {
  .modal-content__form-title {
    text-align: center;
    margin-bottom: 55px;
  }
}
*/