.mfp-container {
  padding-top: 40px !important;
  padding-bottom: 40px !important;
}
.popup {
  display: none !important;
}
.popup__container {
  pointer-events: none;
}
.popup__box {
  position: relative;
  width: 100%;
  max-width: 100rem;
  margin: 0 auto;
  pointer-events: all;
}
.popup__box.popup__box_md {
  max-width: 680px;
}
.popup__box.popup__box_sm {
  max-width: 560px;
}
.popup__box.popup__box_b {
  max-width: 118rem;
}
.popup__box .mfp-close {
  top: -32px;
  right: -32px;
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.popup__box .mfp-close svg {
  width: 32px;
  height: 32px;
}
.popup__box .mfp-close:active {
  top: -32px;
}
.popup__wrap {
  display: flex;
  align-items: stretch;
}
.popup__block {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 70px 60px 86px;
  border-radius: 17px;
  background-color: #fff;
}
.popup__img {
  width: 52.3%;
  flex-shrink: 0;
}
.popup__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  display: block;
  border-radius: 20px 0 0 20px;
  -o-object-position: right;
  object-position: right;
}
.popup__img .picture-contain {
  -o-object-fit: contain;
  object-fit: contain;
  background-color: #fff;
}
.popup__content {
  width: 50%;
  position: relative;
}
.popup__loader {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 200;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
}
.popup__loader::after {
  content: "";
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 4px solid #1e5d9d;
  border-color: #1e5d9d transparent;
  animation: 1.2s linear infinite lds-dual-ring;
}
.popup__content-main.is-loading .popup__loader {
  display: block;
}
.popup__content-main {
  height: 100%;
  border-radius: 0 20px 20px 0;
  background-color: #fff;
  padding: 30px;
  position: relative;
}
.popup__content-main.is-loading::before {
  content: "";
}
.popup__content-main::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background-color: #fff;
  opacity: 0.7;
  border-radius: 0 20px 20px 0;
}
.popup__msg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background-color: #fff;
  min-height: 300px;
  border-radius: 20px;
  padding: 30px;
  display: none;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}
.popup__msg.is-error,
.popup__msg.is-success {
  display: flex;
}
.popup__msg .popup__text p:not(:last-child) {
  margin-bottom: 20px;
}
.popup__title {
  font-weight: 600;
  font-size: 22px;
  line-height: 116%;
  margin-bottom: 5px;
}
.popup__box_md .popup__title {
  text-align: center;
}
.popup__title_b {
  font-size: 26px;
  font-weight: 600;
  line-height: 29px;
  text-align: center;
  margin-bottom: 16px;
}
.popup__icon {
  margin-bottom: 40px;
}
.popup__text {
  font-size: 16px;
  line-height: 26px;
}
.popup__box_md .popup__text {
  text-align: center;
}
.popup__form {
  margin: 20px 0;
}
.popup__form .label {
  display: block;
  margin-bottom: 20px;
  height: 50px;
}
.popup__form .select2.select2-container {
  margin-bottom: 20px;
}
.popup__form .label input {
  border-radius: 5px;
  font-size: 1.4rem;
  line-height: 17px;
  padding: 0 12px;
  color: black;
  font-weight: 400;
}
.popup__form .button {
  width: 100%;
  height: 50px;
  font-size: 1.6rem;
  line-height: 20px;
}
.popup__form-info {
  border: 1px solid #1e5d9d;
  border-radius: 5px;
  height: 50px;
  background-color: #f1f8fd;
  display: flex;
  align-items: center;
  font-size: 14px;
  line-height: 17px;
  color: #1e5d9d;
  padding: 0 12px;
}
.popup__policy {
    font-size: 1rem;
    line-height: 12px;
    margin-top: 20px;
    display: flex;
    align-items: flex-start;
    gap: 5px;
}
.popup__policy a {
  color: #272727;
  text-decoration: underline;
}
.popup__policy a:hover {
  text-decoration: none;
}
.popup__video-wrap video {
  width: 100%;
  height: auto;
  border-radius: 1.6rem;
  overflow: hidden;
}
.popup__video-wrap .slider-button-prev {
  left: -2rem;
}
.popup__video-wrap .slider-button-next {
  right: -2rem;
}
.popup__video-item {
  width: 100rem;
  pointer-events: none;
}
.popup__video-item.swiper-slide-active {
  pointer-events: all;
}
.popup__video-item.swiper-slide-active .popup__video-text-block {
  display: block;
}
.popup__video-item_active-controls {
  pointer-events: all;
}
.popup__video-wrap {
  line-height: 0;
  border-radius: 1.6rem;
  overflow: hidden;
}
.popup__video-wrap video::-webkit-media-controls-panel {
  display: flex !important;
  opacity: 1 !important;
}
.popup__video-text-block {
  display: none;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding-bottom: 8.3rem;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  pointer-events: none;
}
.popup__video-text-block::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 22.4rem;
  width: 100%;
  background: linear-gradient(
    360deg,
    rgba(0, 0, 0, 0.7) 0,
    rgba(0, 0, 0, 0) 100%
  );
  border-radius: 0 0 1.6rem 1.6rem;
}
.popup__video-name {
  position: relative;
  z-index: 2;
  margin-bottom: 0.6rem;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 2.4rem;
  color: #fff;
}
.popup__video-text {
  position: relative;
  z-index: 2;
  overflow: hidden;
  max-height: 5.1rem;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.7rem;
  color: #fff;
}
.popup__video-close {
  top: 0.7rem !important;
  right: calc(50% - 48rem) !important;
}
.popup-story {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: none;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.8);
}
.popup-story_active {
  display: flex;
  justify-content: flex-end;
}
.popup-story__content {
  margin-left: auto;
  height: 100%;
  padding: 2.4rem 4.2rem;
  background-color: #fafafa;
  position: relative;
  overflow-y: auto;
}
.popup-story__close {
  position: absolute;
  top: 4rem;
  right: 3rem;
  width: 3.2rem;
  height: 3.2rem;
  cursor: pointer;
}
.popup-story__close svg {
  width: 100%;
  height: 100%;
}
.popup-story__group:not(:last-child) {
  margin-bottom: 4.2rem;
}
.popup-story__title {
  width: 90%;
  font-size: 3.2rem;
  font-weight: 600;
  margin-bottom: 2rem;
}
.popup-story__clear {
  display: inline-flex;
  align-items: center;
  font-size: 1.6rem;
  font-weight: 500;
  color: #c1c1c2;
  margin-bottom: 2rem;
}
.popup-story__clear svg {
  width: 2.4rem;
  height: 2.4rem;
  flex-shrink: 0;
  margin-right: 0.6rem;
}
.popup-story__item {
  padding: 2rem 10rem 2rem 2rem;
  background-color: #fff;
  border-radius: 1rem;
  position: relative;
  margin: 10px 0;
}
.popup-story__item-delete {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 2.4rem;
  height: 2.4rem;
  cursor: pointer;
}
.popup-story__item-delete svg {
  width: 100%;
  height: 100%;
}
.popup-story__brand {
  display: flex;
  align-items: center;
  margin-bottom: 2.4rem;
}
.popup-story__brand-img {
  width: 5rem;
  height: 5rem;
  flex-shrink: 0;
  margin-right: 2rem;
}
.popup-story__brand-img img {
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}
.popup-story__brand-title {
  font-size: 1.6rem;
  font-weight: 600;
}
.popup-story__info {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
}
.popup-story__info-item {
  font-size: 1.6rem;
  padding-right: 1.5rem;
  margin-bottom: 0.8rem;
}
.popup-story__info-item span {
  margin-left: 1rem;
  font-weight: 700;
}
.popup-story__info-item:not(:last-child) {
  border-right: 1px solid #c1c1c2;
  margin-right: 1.5rem;
}
.popup-story__link {
  display: inline-flex;
  align-items: center;
  font-size: 1.6rem;
  font-weight: 500;
  color: #1e5d9d;
}
.popup-story__link svg {
  width: 1.4rem;
  height: 1.4rem;
  flex-shrink: 0;
  margin-left: 1rem;
}
.popup_custom .popup__box {
  max-width: 112rem;
}
.popup_custom .popup__content-main {
  width: 100%;
  padding: 30px;
  border-radius: 29px;
}
.popup_custom .popup__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border: 1px solid #eaeaeb;
  border-radius: 14px;
  background: #fafafa;
  padding: 20px;
}
.popup_custom .popup__header,
.popup_custom .popup__content {
  margin-bottom: 25px;
}
.popup_custom .popup__title {
  font-size: 2.2rem;
  line-height: 120%;
  margin-bottom: 10px;
}
.popup_custom .popup__content-main > .popup__title {
  font-size: 2.6rem;
  text-align: center;
  max-width: 751px;
  margin: 0 auto 18px;
}
.popup_custom .price {
  text-align: right;
}
.popup_custom .price > * {
  white-space: nowrap;
}
.popup_custom .price-old {
  font-size: 1.8rem;
  font-weight: 400;
  text-decoration: line-through;
  color: #272727;
}
.popup_custom .price-credit {
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 110%;
  color: rgba(7, 55, 103, 0.7);
}
.popup_custom .price-actual {
  font-weight: 600;
  font-size: 2.2rem;
}
.popup_custom .status {
  gap: 0.7rem;
}
.popup_custom .status__item {
  font-size: 1.1rem;
  margin: 0 !important;
}
.popup_custom .popup__content {
  display: flex;
  align-items: center;
  gap: 43px;
  width: 100%;
}
.popup_custom .popup__img {
  width: 51.68%;
}
.popup_custom .popup__img img {
  vertical-align: top;
  border-radius: 17px;
}
.popup_custom .specifications {
  display: flex;
  flex-flow: column;
  gap: 17px;
  flex: auto;
  padding-right: 18px;
}
.popup_custom .specifications > * {
  flex: 0 0 50%;
}
.popup_custom .specifications__title {
  font-weight: 600;
  font-size: 1.8rem;
  line-height: 116%;
}
.popup_custom .specifications__list {
  display: flex;
  flex-flow: column;
  gap: 7px;
}
.popup_custom .specifications__item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.62;
}
.popup_custom .specifications__item-title {
  display: flex;
  gap: 16px;
  align-items: center;
  color: rgba(39, 39, 39, 0.3);
}
.popup_custom .specifications__item-title .icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  color: #1e5d9d;
  position: relative;
}
.popup_custom .specifications__item-title .icon::before {
  display: block;
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: rgba(30, 93, 157, 0.1);
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.popup_custom .specifications__item-value {
  color: rgba(39, 39, 39, 0.7);
}
.popup_custom .form {
  display: flex;
  flex-flow: column;
  gap: 20px;
  background-color: #f1f8fd;
  border-radius: 10px;
  padding: 20px;
  margin: 0;
}
.popup_custom .form__row {
  display: flex;
  gap: 11px;
}
.popup_custom .form__row * {
  margin: 0 !important;
}
.popup_custom
  .select2.select2-modal
  + .select2-container--default
  .select2-selection.select2-selection--single
  .select2-selection__placeholder {
  font-size: 1.4rem;
}
.popup_custom .popup__form-title {
  font-weight: 500;
  font-size: 1.5rem;
}
.popup_custom .popup__msg {
  position: static;
}
.popup_custom2 .popup__content {
  width: 100%;
}
.popup_custom2 .popup__box {
  max-width: 610px;
}
.popup_custom2 .popup__content-main {
  border-radius: 20px;
  padding: 40px;
}
.popup_custom2 .popup__title {
  font-weight: 600;
  font-size: 32px;
  line-height: 116%;
  color: #272727;
  text-align: center;
  margin-bottom: 9px;
}
.popup_custom2 .popup__text {
  line-height: 116%;
  text-align: center;
  color: #272727;
}
.popup_custom2 .popup__car {
  display: flex;
  gap: 20px;
  align-items: center;
  border-radius: 10px;
  overflow: hidden;
  margin: 40px 0;
  background: #fafafa;
}
.popup_custom2 .popup__car-imgs {
  max-width: 150px;
  min-height: 120px;
  flex: 0 0 auto;
}
.popup_custom2 .popup__car-name {
  font-weight: 600;
  font-size: 20px;
  line-height: 116%;
  color: #272727;
  margin-bottom: 8px;
  margin-top: 15px;
}
.popup_custom2 .popup__car-spec {
  font-weight: 400;
  font-size: 14px;
  line-height: 116%;
  color: #272727;
}
.popup_custom2 .popup__car-price {
  font-weight: 600;
  font-size: 20px;
  line-height: 116%;
  color: #272727;
  margin-top: 20px;
  margin-bottom: 15px;
}
.popup_custom2 .price-old {
  font-weight: 400;
  font-size: 16px;
  line-height: 116%;
  text-decoration: line-through;
  color: #272727;
  margin-left: 20px;
}
.popup_custom2 .swiper-slide img {
  height: 120px;
  object-fit: cover;
}
.popup_custom2 .popup__form .label {
  margin-bottom: 10px;
}
.popup_custom2 .popup__form {
  margin: 10px 0;
}
@keyframes lds-dual-ring {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}
@media (min-width: 501px) {
  .popup__form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .popup__form-row:not(:last-child) {
    margin-bottom: 20px;
  }
  .popup__form-row .button,
  .popup__form-row .label {
    margin-bottom: 0;
  }
  .popup__form-row .button,
  .popup__form-row .file-field,
  .popup__form-row .label,
  .popup__form-row .popup__form-info {
    width: 48.5%;
  }
}
@media (min-width: 621px) {
  .popup__box_md .popup__content {
    width: 100%;
    min-height: 192px;
  }
  .popup__box_md .popup__content-main {
    border-radius: 20px;
  }
  .popup__box_md .popup__content-main::before {
    border-radius: 20px;
  }
  .popup__box_md .popup__msg {
    border-radius: 20px;
  }
}
@media (max-width: 1023px) {
  .popup__block {
    padding: 40px 20px 50px;
  }
  .popup__container:not(.popup_custom) .popup__img {
    display: none !important;
  }
  .popup__content {
    width: 100%;
  }
  .popup__content-main {
    padding: 30px 20px;
    border-radius: 16px;
  }
  .popup__title {
    text-align: center;
  }
  .popup__icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
  }
  .popup__text {
    text-align: center;
  }
  .popup_custom .popup__title {
    text-align: left;
  }
  .popup_custom .popup__content {
    flex-flow: column;
    gap: 23px;
  }
  .popup_custom .form__row {
    flex-flow: column;
  }
}
@media (max-width: 900px) {
  .popup__box .mfp-close {
    top: -40px;
    right: 0;
  }
  .popup__title {
    font-size: 18px;
    line-height: 22px;
  }
  .popup__text {
    font-size: 14px;
    line-height: 17px;
  }
  .popup_custom .form__right {
    flex: auto;
  }
}
@media (max-width: 768px) {
  .popup__form .label {
    height: 50px;
  }
  .popup-story__content {
    width: 100%;
    padding: 3rem 2.5rem 20rem;
  }
  .popup-story__close {
    width: 5.7rem;
    height: 5.7rem;
    top: 2.5rem;
    right: 2.5rem;
  }
  .popup-story__group:not(:last-child) {
    margin-bottom: 6.4rem;
  }
  .popup-story__title {
    font-size: 3.8rem;
    margin-bottom: 3.4rem;
  }
  .popup-story__clear {
    font-size: 2.7rem;
    margin-bottom: 7rem;
  }
  .popup-story__clear svg {
    width: 4rem;
    height: 4rem;
    margin-right: 1rem;
  }
  .popup-story__item {
    padding: 3.6rem;
    border-radius: 2rem;
  }
  .popup-story__item-delete {
    top: 3.4rem;
    right: 3.4rem;
    width: 4rem;
    height: 4rem;
  }
  .popup-story__brand {
    width: 90%;
    margin-bottom: 4rem;
  }
  .popup-story__brand-img {
    width: 8.5rem;
    height: 8.5rem;
    margin-right: 3.2rem;
  }
  .popup-story__brand-title {
    font-size: 2.7rem;
  }
  .popup-story__info {
    margin-bottom: 4rem;
  }
  .popup-story__info-item {
    font-size: 2.7rem;
    padding-right: 2.8rem;
    margin-bottom: 1rem;
  }
  .popup-story__info-item span {
    margin-left: 1.4rem;
  }
  .popup-story__info-item:not(:last-child) {
    margin-right: 2.8rem;
  }
  .popup-story__link {
    font-size: 2.7rem;
  }
  .popup-story__link svg {
    width: 2.4rem;
    height: 2.4rem;
    margin-left: 2rem;
  }
  .popup_custom .popup__box {
    width: calc(100% - 20px);
  }
  .popup_custom .popup__content-main > .popup__title {
    margin-bottom: 18px;
    font-size: 18px;
  }
  .popup_custom .popup__title {
    font-size: 16px;
    text-align: left;
  }
  .popup_custom .status__item {
    font-size: 11px;
  }
  .popup_custom .popup__header {
    padding: 0;
    flex-flow: column;
    border: none;
    margin-bottom: 18px;
    gap: 10px;
    background-color: transparent;
  }
  .popup_custom .popup__header-left {
    padding: 12px;
    border: 1px solid #eaeaeb;
    border-radius: 14px;
    background-color: #fafafa;
  }
  .popup_custom .popup__header-right {
    padding: 12px;
    border: 1px solid #eaeaeb;
  }
  .popup_custom .popup__header-left,
  .popup_custom .popup__header-right {
    width: 100%;
  }
  .popup_custom .price {
    text-align: left;
  }
  .popup_custom .price-old {
    font-size: 16px;
    order: 2;
  }
  .popup_custom .price-actual {
    font-size: 18px;
    order: 1;
  }
  .popup_custom .popup__img {
    max-width: 260px;
  }
  .popup_custom .specifications {
    padding: 0;
    gap: 18px;
  }
  .popup_custom .specifications__title {
    font-size: 16px;
  }
  .popup_custom .specifications__item-title {
    gap: 10px;
  }
  .popup_custom .specifications__item {
    font-size: 14px;
  }
  .popup_custom .popup__form-title {
    font-size: 14px;
    text-align: center;
  }
  .popup_custom .popup__content-main {
    padding: 30px 20px 30px 20px;
  }
  .popup_custom .popup__content-main:not(.popup__msg) {
    padding-bottom: 0;
  }
  .popup_custom .form {
    margin: 0 -20px;
    gap: 16px;
  }
  .popup_custom .popup__content-main > .popup__title {
    text-align: left;
  }
  .popup_custom .popup__content {
    margin-bottom: 18px;
    gap: 18px;
  }
  .popup_custom .price-credit {
    font-size: 11px;
  }
  .popup__form .label input,
  .popup_custom
    .select2.select2-modal
    + .select2-container--default
    .select2-selection.select2-selection--single
    .select2-selection__placeholder {
    font-size: 14px;
  }
  .popup_custom2 .popup__content-main {
    padding: 40px 20px;
  }
}
@media (max-width: 48em) {
  .popup__policy {
    font-size: 1.6rem;
    line-height: normal;
  }
  .popup__form .button {
    width: 100%;
    height: 50px;
    font-size: 1.6rem;
    line-height: 20px;
  }
  .popup__box {
    max-width: 48rem;
  }
  .popup__video-item {
    width: 48rem;
  }
  .popup__video-text-block {
    padding-left: 3rem;
    padding-right: 3rem;
    padding-bottom: 14.3rem;
  }
  .popup__video-name {
    margin-bottom: 2rem;
    font-size: 2.8rem;
    line-height: 3.4rem;
  }
  .popup__video-text {
    font-size: 2rem;
    line-height: 2.4rem;
  }
  .popup__video-close {
    right: 0.5rem !important;
  }
  .popup_price .popup__content {
    min-height: auto;
  }
}
@media (max-width: 620px) {
  .popup__content {
    width: 100%;
    min-height: 410px;
  }
  .popup__content-main::before {
    border-radius: 16px;
  }
  .popup__msg {
    border-radius: 16px;
  }
}
@media (max-width: 32em) {
  .popup__video-item_active-controls {
    width: 50rem;
  }
}
@media (max-width: 500px) {
  .popup__form-info,
  .popup__form-row .file-field {
    margin-bottom: 20px;
  }
  .popup_custom2 .popup__box {
    max-width: 345px;
  }
  .popup_custom2 .popup__car {
    flex-flow: column;
    align-items: flex-start;
    gap: 0;
    margin: 20px 0 30px 0;
  }
  .popup_custom2 .popup__title {
    font-size: 22px;
    line-height: 116%;
    color: #272727;
  }
  .popup_custom2 .popup__text {
    max-width: 197px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 116%;
    color: #272727;
  }
  .popup_custom2 .popup__car-imgs {
    width: 100%;
    max-width: unset;
  }
  .popup_custom2 .popup__car-imgs .swiper-slide {
    width: 150px;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
  }
  .popup_custom2 .popup__car-info {
    width: 100%;
    padding: 10px;
  }
  .popup_custom2 .popup__car-name,
  .popup_custom2 .popup__form {
    margin-top: 0;
  }
  .popup_custom2 .popup__car-price {
    margin-bottom: 0;
  }
}
#center-name {
  font-size: 16px;
  margin-bottom: 10px;
  color: #1e5d9d;
  font-weight: 500;
}
#center-name span {
  color: black;
  font-weight: 400;
}
