/* =========================================================
   ATLANTIS FINAL HOTFIX
========================================================= */


/* Пока Atlantis не перестроен — старую карточку не показываем */

body.is-atlantis-object.atlantis-pending #view-object{
  visibility:hidden !important;
}

body.is-atlantis-object.atlantis-ready #view-object{
  visibility:visible !important;
}


/* =========================================================
   ФОТО ОБЪЕКТА
========================================================= */

body.is-atlantis-object #view-object #objCard{
  position:relative !important;
}

body.is-atlantis-object #view-object
#objCard > .vko-real-badge.at-final-photo-badge{

  position:absolute !important;

  left:12px !important;
  bottom:12px !important;

  right:auto !important;
  top:auto !important;

  z-index:30 !important;

  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;

  width:auto !important;
  max-width:max-content !important;

  min-height:26px !important;

  margin:0 !important;
  padding:6px 10px !important;

  border:1px solid rgba(7,30,56,.08) !important;
  border-radius:999px !important;

  background:rgba(255,255,255,.96) !important;

  color:#718091 !important;

  box-shadow:
    0 3px 10px rgba(7,30,56,.08) !important;

  font-size:10px !important;
  line-height:1 !important;
  font-weight:650 !important;

  white-space:nowrap !important;

  pointer-events:none !important;
}


/* =========================================================
   ЭКСПЕРТ
========================================================= */

body.is-atlantis-object #view-object
.at-expert-card.at-final-expert-card{

  display:grid !important;

  grid-template-columns:
    minmax(0,1fr)
    108px !important;

  grid-template-rows:
    minmax(92px,auto)
    44px !important;

  align-items:stretch !important;

  gap:0 !important;

  width:100% !important;

  margin-top:14px !important;
  padding:0 !important;

  overflow:hidden !important;

  border:1px solid #E8EDF1 !important;
  border-radius:11px !important;

  background:#FAFAFA !important;

  box-sizing:border-box !important;
}


body.is-atlantis-object #view-object
.at-expert-card.at-final-expert-card
> .at-final-expert-copy{

  grid-column:1 !important;
  grid-row:1 !important;

  display:flex !important;

  align-items:center !important;

  min-width:0 !important;

  margin:0 !important;
  padding:15px 17px !important;

  color:#17283A !important;

  font-size:12.5px !important;
  line-height:1.45 !important;
  font-weight:500 !important;
}


body.is-atlantis-object #view-object
.at-expert-card.at-final-expert-card
> .at-final-expert-photo{

  grid-column:2 !important;
  grid-row:1 !important;

  display:block !important;

  width:108px !important;
  min-width:108px !important;
  max-width:108px !important;

  height:100% !important;
  min-height:92px !important;
  max-height:none !important;

  margin:0 !important;

  object-fit:cover !important;
  object-position:center top !important;

  border-radius:0 !important;
}


body.is-atlantis-object #view-object
.at-expert-card.at-final-expert-card
> .at-final-expert-button{

  grid-column:1 / -1 !important;
  grid-row:2 !important;

  display:flex !important;

  align-items:center !important;
  justify-content:center !important;

  width:100% !important;

  height:44px !important;
  min-height:44px !important;

  margin:0 !important;
  padding:0 16px !important;

  border:0 !important;
  border-radius:0 !important;

  background:#071E38 !important;

  color:#FFFFFF !important;

  font-size:11.5px !important;
  line-height:1.2 !important;
  font-weight:600 !important;

  text-align:center !important;
}


/* =========================================================
   РАСПОЛОЖЕНИЕ — ИКОНКИ
========================================================= */

body.is-atlantis-object #view-object
.at-location-item > .at-final-location-icon{

  flex:0 0 44px !important;

  display:flex !important;

  align-items:center !important;
  justify-content:center !important;

  width:44px !important;
  height:44px !important;

  min-width:44px !important;
  min-height:44px !important;

  margin:0 !important;
  padding:0 !important;

  border-radius:50% !important;

  background:#EEF1F3 !important;

  color:#667686 !important;
}


body.is-atlantis-object #view-object
.at-location-item
> .at-final-location-icon svg{

  display:block !important;

  width:20px !important;
  height:20px !important;

  fill:none !important;

  stroke:currentColor !important;

  stroke-width:1.7 !important;

  stroke-linecap:round !important;
  stroke-linejoin:round !important;
}


/* =========================================================
   ЗАСТРОЙЩИК
========================================================= */

body.is-atlantis-object #view-object
.at-final-dev-duplicate{

  display:none !important;
}


/* =========================================================
   ИНФРАСТРУКТУРА
========================================================= */

body.is-atlantis-object #view-object
.at-infra-thumbs img{

  cursor:pointer !important;

  border:
    2px solid transparent !important;

  box-sizing:border-box !important;

  opacity:.9 !important;
}


body.is-atlantis-object #view-object
.at-infra-thumbs img:hover,
body.is-atlantis-object #view-object
.at-infra-thumbs img.is-active{

  opacity:1 !important;

  border-color:
    rgba(255,255,255,.92) !important;
}


/* =========================================================
   MOBILE
========================================================= */

@media(max-width:720px){

  body.is-atlantis-object #view-object
  .at-expert-card.at-final-expert-card{

    grid-template-columns:
      minmax(0,1fr)
      82px !important;

    grid-template-rows:
      minmax(84px,auto)
      42px !important;
  }


  body.is-atlantis-object #view-object
  .at-expert-card.at-final-expert-card
  > .at-final-expert-photo{

    width:82px !important;
    min-width:82px !important;
    max-width:82px !important;

    min-height:84px !important;
  }


  body.is-atlantis-object #view-object
  .at-location-item
  > .at-final-location-icon{

    flex-basis:38px !important;

    width:38px !important;
    height:38px !important;

    min-width:38px !important;
    min-height:38px !important;
  }

}

/* ATLANTIS_TZ_PROTO_CTA_V1_START */


/* =========================================================
   ATLANTIS — ПРОТОТИПНЫЕ ТЕКСТЫ + CTA
========================================================= */


/* =========================================================
   ПЛАНИРОВКИ — ВВОДНЫЙ ТЕКСТ
========================================================= */

body.is-atlantis-object #view-object
.vko-plans > .at-tz-plans-intro{

  width:100% !important;
  max-width:900px !important;

  margin:
    20px 0
    34px !important;

  padding:0 !important;

  color:#42566A !important;

  font-size:16px !important;
  line-height:1.55 !important;
  font-weight:400 !important;

  letter-spacing:0 !important;
}


/* =========================================================
   FOOTER ПЛАНИРОВОК
========================================================= */

body.is-atlantis-object #view-object
.at-tz-plans-footer{

  width:100% !important;

  display:flex !important;
  flex-direction:column !important;

  align-items:center !important;
  justify-content:center !important;

  box-sizing:border-box !important;

  margin-top:42px !important;
  padding:0 !important;

  text-align:center !important;
}


/* =========================================================
   FOOTER КАЛЬКУЛЯТОРА
========================================================= */

body.is-atlantis-object #view-object
.at-tz-roi-footer{

  width:100% !important;

  display:flex !important;
  flex-direction:column !important;

  align-items:center !important;
  justify-content:center !important;

  box-sizing:border-box !important;

  margin-top:48px !important;
  padding:0 !important;

  text-align:center !important;
}


/* =========================================================
   ТЕКСТ ПЕРЕД CTA
========================================================= */

body.is-atlantis-object #view-object
.at-tz-premium-note{

  width:100% !important;
  max-width:780px !important;

  margin:
    0 auto
    28px !important;

  padding:0 !important;

  color:#17283A !important;

  font-size:15px !important;
  line-height:1.55 !important;
  font-weight:400 !important;

  text-align:center !important;
}


/* =========================================================
   PREMIUM CTA — КАК В ПРОТОТИПЕ
========================================================= */

body.is-atlantis-object #view-object
.at-tz-premium-cta{

  appearance:none !important;
  -webkit-appearance:none !important;

  width:min(100%,520px) !important;

  min-height:76px !important;

  display:flex !important;

  align-items:center !important;
  justify-content:center !important;

  box-sizing:border-box !important;

  margin:0 auto !important;

  padding:
    18px 30px !important;

  border:
    1px solid #E0E4E7 !important;

  border-radius:18px !important;

  background:#E7E8E9 !important;

  color:#17283A !important;

  box-shadow:none !important;

  font-family:
    Inter,
    Manrope,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif !important;

  font-size:16px !important;
  line-height:1.3 !important;
  font-weight:500 !important;

  text-align:center !important;
  text-decoration:none !important;

  cursor:pointer !important;

  transition:
    background .18s ease,
    transform .18s ease !important;
}


body.is-atlantis-object #view-object
.at-tz-premium-cta:hover{

  background:#DDDFE1 !important;

  transform:
    translateY(-1px) !important;
}


/* =========================================================
   СКРЫВАЕМ "СДЕЛАТЬ ЗАПРОС К ЗАСТРОЙЩИКУ"
========================================================= */

body.is-atlantis-object #view-object
.at-tz-hide-developer-request,

body.is-atlantis-object #view-object
.at-tz-hide-developer-request-row{

  display:none !important;
}


/*
  Основная нижняя кнопка старой карточки.
  Скрываем сразу CSS, чтобы она даже не мигала
  до выполнения JS.
*/

body.is-atlantis-object #view-object
.obj-actions > .btn.dev{

  display:none !important;
}



/* =========================================================
   MOBILE
========================================================= */

@media(max-width:720px){

  body.is-atlantis-object #view-object
  .vko-plans > .at-tz-plans-intro{

    margin:
      14px 0
      24px !important;

    font-size:14px !important;
    line-height:1.5 !important;
  }


  body.is-atlantis-object #view-object
  .at-tz-plans-footer{

    margin-top:28px !important;
  }


  body.is-atlantis-object #view-object
  .at-tz-roi-footer{

    margin-top:32px !important;
  }


  body.is-atlantis-object #view-object
  .at-tz-premium-note{

    max-width:100% !important;

    margin-bottom:20px !important;

    font-size:14px !important;
    line-height:1.5 !important;
  }


  body.is-atlantis-object #view-object
  .at-tz-premium-cta{

    width:100% !important;

    min-height:58px !important;

    padding:
      15px 18px !important;

    border-radius:14px !important;

    font-size:14px !important;
  }

}


/* ATLANTIS_TZ_PROTO_CTA_V1_END */

/* ATLANTIS_GOLD_BUTTONS_START */


/* ======================================================
   ОСНОВНЫЕ CTA
   Подобрать лучший лот
   Получить точный расчёт
====================================================== */

body.is-atlantis-object #view-object
.at-kurortka-gold-primary{

  background:#E6A83C !important;

  color:#071E38 !important;

  border:
    1px solid #D99B30 !important;

  box-shadow:
    none !important;

  text-decoration:none !important;

  transition:
    background .18s ease,
    border-color .18s ease,
    transform .18s ease !important;
}


body.is-atlantis-object #view-object
.at-kurortka-gold-primary:hover{

  background:#D99728 !important;

  border-color:#CF8D1F !important;

  color:#071E38 !important;

  transform:
    translateY(-1px) !important;
}


/* ======================================================
   ВТОРОСТЕПЕННЫЕ КНОПКИ
   Дом.РФ
   Читать
====================================================== */

body.is-atlantis-object #view-object
.at-kurortka-gold-secondary{

  background:#FFF3DC !important;

  color:#071E38 !important;

  border:
    1px solid #E6A83C !important;

  box-shadow:
    none !important;

  text-decoration:none !important;

  transition:
    background .18s ease,
    border-color .18s ease,
    transform .18s ease !important;
}


body.is-atlantis-object #view-object
.at-kurortka-gold-secondary:hover{

  background:#FFE8BB !important;

  border-color:#D99B30 !important;

  color:#071E38 !important;

  transform:
    translateY(-1px) !important;
}


/* ATLANTIS_GOLD_BUTTONS_END */
