@charset "utf-8";
/* Дополнительные стили Vue-версии лэндинга (модальные окна, слайдеры, fade-переходы) */

/* --- Одинаковые промежутки между контактами, звонком и аккаунтом --- */
header .header-top .phone,
header .header-top .mail,
header .header-top .callback{
  margin-right: 25px;
}
header .header-top .callback .fa{
  position: relative;
  top: 1px;
}
header .header-top .account{
  white-space: nowrap;
}
@media (min-width: 768px){
  header .header-top .row{
    display: flex;
    align-items: center;
  }
  header .header-top .row > div:first-child{
    flex: 0 1 auto;
    width: auto;
  }
  header .header-top .row > .text-right{
    flex: 0 0 auto;
    float: none;
    margin-left: auto;
    white-space: nowrap;
    width: auto;
  }
}

/* --- Модальные окна (замена fancybox) --- */
.vue-modal-overlay{
  align-items: flex-start;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  justify-content: center;
  height: 100%;
  left: 0;
  overflow-y: auto;
  padding: 40px 15px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10000;
}
.vue-modal-overlay .mymodal{
  display: block;
  position: relative;
}
.vue-modal-close{
  background: url(../images/close.png) 0 0 no-repeat;
  cursor: pointer;
  height: 30px;
  position: absolute;
  right: -15px;
  top: -15px;
  width: 30px;
  z-index: 10;
}
.vue-modal-enter-active, .vue-modal-leave-active{
  transition: opacity .3s ease;
}
.vue-modal-enter-from, .vue-modal-leave-to{
  opacity: 0;
}

/* --- Слайдеры (замена slick, с сохранением классов для стилей шаблона) --- */
/* slick-CSS шаблона скрывает слайды до класса .slick-initialized, который вешает slick-JS.
   В Vue-версии slick нет — показываем слайды явно. */
.vue-slider .slick-slide,
.vue-carousel .slick-slide{
  display: block;
}
.vue-carousel .slick-track{
  display: flex;
}
.vue-slider{
  position: relative;
}
.vue-slider .slick-track{
  display: flex;
  transition: transform .6s ease;
}
.vue-slider .slick-slide{
  flex: 0 0 100%;
}
.top-slider .slick-track{
  display: block;
}
.top-slider .vue-fade-slide{
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}
.top-slider .vue-fade-slide.active{
  opacity: 1;
  position: relative;
  z-index: 2;
}
.top-slider .vue-fade-slide{
  opacity: 0;
  transition: opacity .8s ease;
  z-index: 1;
}
/* --- Карусель популярных инструментов --- */
.premium-container .vue-carousel{
  overflow: hidden;
  position: relative;
}
.premium-container .vue-carousel .slick-slide{
  flex: 0 0 33.3333%;
  padding: 0 10px;
  text-align: center;
}
.premium-container .vue-carousel.few-items .slick-track{
  justify-content: center;
}
.premium-container .vue-carousel.few-items .slick-slide{
  flex-basis: 33.3333%;
}
.premium-container .vue-carousel .slick-slide img{
  opacity: .5;
  transition: all .4s ease;
}
.premium-container .vue-carousel .slick-slide.slick-center img{
  opacity: 1;
}
@media (max-width: 768px){
  .premium-container .vue-carousel .slick-slide{
    flex: 0 0 100%;
  }
}

/* --- CAPTCHA и защита форм --- */
.vue-form .captcha-layout{
  align-items: start;
  display: grid;
  gap: 12px;
  grid-template-columns: 180px minmax(0, 1fr);
  max-width: 744px;
}
.vue-form .captcha-visual{
  grid-column: 1;
  grid-row: 1;
}
.vue-form .review-captcha-image{
  border: 1px solid #ddd;
  border-radius: 4px;
  display: block;
  height: 56px;
  /* margin: 0 auto 8px; */
  width: 180px;
}
.vue-form .review-captcha-refresh{
  background: none;
  border: 0;
  color: #2b7d45;
  cursor: pointer;
  display: block;
  margin: 0 auto 8px;
}
.vue-form .captcha-answer{
  grid-column: 2;
  grid-row: 1;
  width: 100%;
}
.vue-form .captcha-layout > .error-message{
  grid-column: 1 / -1;
  grid-row: 2;
}
.vue-form .review-captcha-group:not(.captcha-layout) .review-captcha-image{
  margin-left: 0;
}
.vue-form .review-honeypot{
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  top: auto;
  width: 1px;
}
@media (max-width: 520px){
  .vue-form .captcha-layout{
    grid-template-columns: minmax(0, 1fr);
  }
  .vue-form .captcha-visual,
  .vue-form .captcha-answer{
    grid-column: 1;
  }
  .vue-form .captcha-visual{
    grid-row: 1;
  }
  .vue-form .captcha-answer{
    grid-row: 2;
    max-width: 100%;
  }
  .vue-form .captcha-layout > .error-message{
    grid-row: 3;
  }
}

/* --- Ошибки валидации форм --- */
.vue-form .error-message{
  color: #e74c3c;
  display: none;
  font-size: 12px;
  margin-top: 3px;
}
.vue-form .form-group.has-error .error-message,
.vue-form .has-error > .error-message{
  display: block;
}
.vue-form input.error, .vue-form textarea.error{
  border-color: #e74c3c;
}
.application-form .application-form-error{
  color: #e74c3c;
  margin: 8px 0;
}

/* Сохраняем для изображения область 4:3, а ценник выносим в отдельные 32 px сверху. */
.products-container .list .item .pict img{
  height: calc(100% - 32px);
  left: 0;
  object-fit: cover;
  position: absolute;
  top: 32px;
  width: 100%;
}
.premium-container .vue-carousel .premium-image-frame{
  align-items: center;
  aspect-ratio: 4 / 3;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  max-width: 344px;
  width: 100%;
}
.premium-container .vue-carousel .premium-image-frame img{
  filter: grayscale(100%);
  height: 100%;
  object-fit: cover;
  opacity: .5;
  transition: all .4s ease;
  width: 100%;
}
.premium-container .vue-carousel .slick-center .premium-image-frame img{
  filter: none;
  opacity: 1;
}
@media only screen and (max-width: 767px){
  .premium-container .vue-carousel .slick-slide{
    flex-basis: 100%;
  }
  .premium-container .vue-carousel .premium-image-frame{
    aspect-ratio: 4 / 3;
  }
}

/* --- Визуально скрытый текст (доступность и SEO) --- */
.visually-hidden{
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

/* --- Скролл наверх (замена jQuery fade) --- */
.btn-up{
  border: 0;
  display: none;
  padding: 0;
}
.btn-up.visible{
  display: block;
}

/* --- Аккордеон FAQ (замена slideUp/slideDown) --- */
.info-conainer .akardion .open .desc{
  display: block;
}

/* --- Анимации появления при скролле --- */
.vue-animate{
  opacity: 0;
}
.vue-animate.visible{
  animation-duration: 1s;
  animation-fill-mode: both;
  opacity: 1;
}

/* ��������� �������� �������� */
.vue-skeleton-block {
  background: #e0e0e0;
  border-radius: 4px;
  margin-bottom: 10px;
  animation: vue-skeleton-pulse 1.4s ease-in-out infinite;
}
@keyframes vue-skeleton-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

/* Дисклеймер в футере: мельче основного текста, ограничен по ширине для читаемости */
.footer-disclaimer {
  color: #8c8c8c;
  font-size: 13px;
  letter-spacing: 0.2px;
  line-height: 19px;
  margin: 12px 0 0;
  max-width: 760px;
}
