body{
	position: relative;
}

.fv_header__city{
	/* display: none; */
	position: absolute;
	bottom: 0;
	right: 0;
	z-index: 9999999999999;
	background-color: #ccc;
}

.header__modal-city .FVH2 {
    margin-bottom: 40px;
    font-size: 30px;
    font-weight: 900;
    color: #ffffff;
}


.header__modal {
  position: absolute;
  top: -200px;
  left: -130px;
  transform: translateX(-50%);
  width: 268px;
  padding: 20px 41px 26px;
  background-color: #ccc;
  border-radius: 6px;
  display: none;
}

.header__modal::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #f1f2fa;
}

.header__close {
  position: absolute;
  top: 9px;
  right: 9px;
  display: block;
  width: 14px;
  height: 14px;
  /* background: transparent url('../imgs/seo2/circle-x.svg') no-repeat center center; */
  /* background-size: contain; */
  /* transform: rotate(45deg); */
}

.header__modal-title {
  line-height: 1.5;
  color: #082244;
  text-align: center;
}

.header__modal-title strong {
  font-size: 18px;
  font-weight: 500;
}

.header__modal-btns {
  margin-bottom: 21px;
  text-align: center;
}

.header .header__modal-btns .btn_wr .btn {
  width: auto;
  min-width: 185px;
  font-size: 16px;
  background: #ffd244 !important;
  font-weight: 700;
  cursor: pointer;
}

.header .header__modal-btns .btn_wr .btn:hover {
  font-weight: 700 !important;
  background: transparent !important;
}

.header__modal-links {
  text-align: center;
}

.header .header__modal .header__modal-link {
  display: inline-block;
  outline: none;
  text-decoration: underline;
  font-size: 14px;
  font-weight: 700;
  color: #082244;
  transition: 0.3s;
}

.header .header__modal .header__modal-link:hover {
  color: #ffd244;
}

.header__modal-city {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  max-height: 100vh;
  overflow: auto;
  background-color: #05213e;
  z-index: 500;
}

.header__modal-city h2 {
  margin-bottom: 40px;
  font-size: 30px;
  font-weight: 900;
  color: #ffffff;
}

.header__modal-top {
  display: flex;
  justify-content: space-between;
  overflow: auto;
  max-width: 100%;
  margin-bottom: 35px;
  padding-top: 10px;
  padding-bottom: 19px;
  border-bottom: 1px solid #ffd244;
}

.header__modal-top a {
  display: block;
  text-decoration: none;
  outline: none;
  margin-right: 15px;
  font-family: 'Panton';
  font-size: 24px;
  font-weight: 900;
  color: #ffd244;
  transition: 0.3s;
}

.header__modal-top a:hover {
  color: #fff;
}

.header__modal-city .modal__content {
  top: 0;
  display: block;
  max-width: 100%;
  padding: 30px 15px;
}

.header__modal-city .modal__close {
  position: absolute;
  top: 43px;
  right: 18px;
  display: block;
  width: 14px;
  height: 14px;
  /* background: transparent url('../imgs/seo2/circle-x2.svg') no-repeat center center; */
  /* background-size: contain; */
  /* transform: rotate(45deg); */
  cursor: pointer;
  color: #fff;
}

.header__modal-city .fv_modal__close {
  position: absolute;
  top: 43px;
  right: 18px;
  display: block;
  width: 14px;
  height: 14px;
  /* background: transparent url('../imgs/seo2/circle-x2.svg') no-repeat center center; */
  /* background-size: contain; */
  /* transform: rotate(45deg); */
  cursor: pointer;
  color: #fff;
}

.header__modal-wrap {
  columns: 6;
}

.header__modal-block span {
  display: block;
  margin-bottom: 20px;
  font-family: 'Panton';
  font-size: 24px;
  font-weight: 900;
  color: #ffd244;
}

.header__modal-block ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.header__modal-block {
  margin-bottom: 30px;
}

.header__modal-block ul>li {
  margin-bottom: 15px;
}

.header__modal-block ul>li>a {
  display: block;
  text-decoration: none;
  outline: none;
  font-family: 'Panton';
  font-size: 14px;
  font-weight: 600;
  color: #f9fafa;
  transition: 0.3s;
}

.header__modal-block ul>li>a:hover {
  color: #ffd244;
}

.search-sity {
  margin-top: 26px;
  position: relative;
}

.icon-search {
  width: 55px;
  height: 48px;
  top: 0;
  left: 0;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border: none;
  color: #000;
}

.search-sity input {
  height: 48px;
  padding: 0 55px;
  background-color: #ffffff;
  box-shadow: inset 0px 3px 3px 0px rgb(200 201 204 / 34%);
  border-radius: 8px;
  border: none;
  font-size: 14px;
  line-height: 21px;
  font-weight: 400;
  color: #373c3d;
  font-family: 'Proxima Nova';
  width: 100%;
}

.clear-search {
  height: 48px;
  width: 48px;
  font-size: 16px;
  color: #373c3d;
  position: absolute;
  top: 0;
  right: 0;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: none;
  cursor: pointer;
}

/***/
.header__info {
  position: relative;
  width: 300px;
  padding-left: 14px; 
}
.dropdown-city__title{
  font-size: 18px;
  line-height: 24px;
  margin: 0 0 20px;
}
.dropdown-city .btn{
  margin: 0 auto 20px;
}
.close-dropdown{
  position: absolute;
  width: 10px;
  height: 10px;
  cursor: pointer;
  right: 10px;
  top: 5px;
}
.close-dropdown:after{
  content: 'x';
  position: absolute;
  font-size: 24px;
  left: 0;
  top: 0;
}
.dropdown-link{
  font-size: 14px;
  color: #8b0a0e;
}

.header__info-sity {
  position: relative;
  display: inline-block;
  font-size: 14px;
  line-height: 24px;
  font-weight: 500;
  color: #432928; 
  cursor: pointer;
}
.header__info-sity:before{
  content: '';
  position: absolute;
  top: -webkit-calc(47% - 4px);
  top: calc(47% - 4px);
  right: -10px;
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
  display: block;
  width: 5px;
  height: 5px;
  border-bottom: 1px solid #000;
  border-left: 1px solid #000;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.dropdown-city .link-page {
  color: #373c3d;
  cursor: pointer;
  border-bottom: 1px solid #373c3d;
}

.select-city__value i {
  font-size: 10px;
  margin-left: 10px;
      color: #176a74;
}
.select-city__value span {
  color: #373c3d;
  transition: all 0.3s;
	font-size: 18px;
	font-weight: 500;
}
.select-city__value {
  cursor: pointer;
}
.dropdown-city__title {
  font-weight: 700;
  text-align: center;
}
.dropdown-city__title span {
  font-size: 18px;
  display: block;
  text-align: center;
}
.dropdown-city {
  background-color: #e9f1f2;
border-radius: 6px;
width: 100%;
padding: 25px;
padding-bottom: 30px;
max-width: 268px;
  position: absolute;
  top: 100%;
  margin-top: 20px;
  text-align: center;
  display: none;
  z-index: 90;
  right: 0;
}
.dropdown-city::after {
  position: absolute;
  display: block;
  content: " ";
  width: 10px;
  height: 10px;
  border: 10px solid transparent;
  bottom: 100%;
  right: 55px;
  border-bottom: 10px #e9f1f2 solid;
}

.dropdown-city .btn-main {
margin: 25px auto;
}
.dropdown-city .link-page {
color: #373c3d;
cursor: pointer;
border-bottom: 1px solid #373c3d;
}
.dropdown-city .link-page:hover {
border-color: transparent;
}
.close-dropdown {
top: 9px;
right: 9px;
font-size: 16px;
color: #1f7680;
position: absolute;
cursor: pointer;
}
.title-modal {
font-size: 20px;
line-height: 24px;
font-weight: 700;
}
.modal-city {
padding: 22px 14px;
padding-bottom: 38px;
top: 100%;
right: 0;
width: 100%;
margin-top: 20px;
background-color: #e9f1f2;
box-shadow: 0px 10px 30px 0px rgba(29,117,128,0.38);
border-radius: 6px;
display: none;
z-index: 90;
position: absolute;
}
.list-cities {
display: flex;
align-items: center;
flex-wrap: wrap;
list-style: none;
}
.list-cities a {
height: 35px;
padding: 0 10px;
min-width: 170px;
font-size: 14px;
line-height: 1.2;
font-weight: 700;
color: #1d7580;
margin-right: 13px;
margin-top: 13px;
display: flex !important;
align-items: center;
justify-content: center;
text-align: center;
background-color: rgba(29,117,128,0.0);
border: 1px solid #09aba6 !important;
border-radius: 8px;
transition: all 0.3s;
}
.list-cities li:last-child a {
margin-right: 0;
}
.list-cities a:hover,
.list-cities .active a {
background-color: #1d7580;
color: #fff;
}
.search-sity {
margin-top: 26px;
position: relative;
}
.search-sity input {
height: 48px;
padding: 0 55px;
background-color: #ffffff;
box-shadow: inset 0px 3px 3px 0px rgba(200,201,204,0.34);
border-radius: 8px;
border: none;
font-size: 14px;
line-height: 21px;
font-weight: 400;
color: #373c3d;
font-family: 'Proxima Nova';
width: 100%;
}
.clear-search {
height: 48px;
width: 48px;
font-size: 16px;
color: #373c3d;
position: absolute;
top: 0;
right: 0;
background-color: transparent;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
border: none;
cursor: pointer;
}
.icon-search {
width: 55px;
height: 48px;
top: 0;
left: 0;
position: absolute;
display: flex;
align-items: center;
justify-content: center;
background-color: transparent;
border: none;
color: #000;
}

.select-city.mobile {
display: none;
}
.header__city {
position: relative;
width: 195px;
text-align: center;
}
@media screen and (max-width: 768px) {
.select-city {
  display: none;
}
.select-city.mobile {
  display: block;
  padding-bottom: 25px;
}
}
.select-city.mobile .select-city__value span {
color: #fff;
}

@media screen and (max-width: 992px) {
  .header__info{
    width: 250px;
  }
}


/* ============================================
   Модалка "Оформить заказ" — финальная версия
   ============================================ */

/* Затемнение фона */
.fancybox-overlay {
    background: rgba(0, 0, 0, .5) !important;
}

/* Обёртка Fancybox 1.x — кремовый фон, скругление */
.fancybox-skin {
    background: #FAF9F3 !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .18) !important;
    padding: 0 !important;
}
.fancybox-outer,
.fancybox-inner {
    background: #FAF9F3 !important;
    border-radius: 16px !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Крестик */
.fancybox-close {
    top: 18px !important;
    right: 18px !important;
    width: 24px !important;
    height: 24px !important;
    background: transparent url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='%23777' stroke-width='1.3' d='M5 5l14 14M19 5L5 19'/></svg>") center/20px 20px no-repeat !important;
    opacity: .7;
    transition: opacity .2s ease;
}
.fancybox-close:hover { opacity: 1; }

/* Сам контент окна */
#callback {
    background: #FAF9F3 !important;
    padding: 55px 90px !important;
    box-sizing: border-box !important;
    font-family: 'Jost', sans-serif !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

/* Первая строка */
#callback .popup__name {
    display: block !important;
    font-family: 'Jost', sans-serif !important;
    font-size: 26px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    color: #16394a !important;
    background: none !important;
    margin: 0 0 22px 0 !important;
    padding: 0 !important;
    text-align: center !important;
    white-space: nowrap !important;
}

/* Email-ссылка */
#callback a.popup__name {
    display: inline-block !important;
    font-family: 'Jost', sans-serif !important;
    font-size: 32px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    color: #16394a !important;
    background: none !important;
    text-decoration: none !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    transition: color .2s ease;
}
#callback a.popup__name:hover {
    color: #28a745 !important;
}

/* ============================================
   Планшеты
   ============================================ */
@media (max-width: 900px) {
    #callback {
        padding: 50px 60px !important;
    }
    #callback .popup__name {
        font-size: 22px !important;
    }
    #callback a.popup__name {
        font-size: 28px !important;
    }
}

/* ============================================
   Мобильные
   ============================================ */
@media (max-width: 600px) {
    .fancybox-skin,
    .fancybox-outer,
    .fancybox-inner {
        width: 92vw !important;
        max-width: 92vw !important;
        margin-left: auto !important;
        margin-right: auto !important;
        border-radius: 12px !important;
    }

    #callback {
        width: 100% !important;
        max-width: 100% !important;
        padding: 45px 20px !important;
        box-sizing: border-box !important;
    }

    #callback .popup__name {
        white-space: normal !important;
        font-size: 19px !important;
        line-height: 1.35 !important;
        margin: 0 0 18px 0 !important;
    }

    #callback a.popup__name {
        font-size: 22px !important;
        word-break: break-word !important;
    }

    .fancybox-close {
        top: 12px !important;
        right: 12px !important;
        width: 22px !important;
        height: 22px !important;
        background-size: 18px 18px !important;
    }
}

/* ============================================
   Очень узкие экраны (iPhone SE и т.п.)
   ============================================ */
@media (max-width: 380px) {
    .fancybox-skin,
    .fancybox-outer,
    .fancybox-inner {
        width: 94vw !important;
        max-width: 94vw !important;
    }
    #callback {
        padding: 35px 16px !important;
    }
    #callback .popup__name {
        font-size: 17px !important;
    }
    #callback a.popup__name {
        font-size: 19px !important;
    }
}