/*NOTE: This file is intended for programmers. Aspro technical support is not advised to work with him.*/

/* Examples (uncomment to use):*/

/* Expand site width */
/* body .wrapper { max-width: 1400px !important;  } */

/* Set site background image */
/* body {  background: url(image_source) top no-repeat; }

/* Hide compare button */
/* a.compare_item { display: none !important;  }*/

/* Cookie popup (marketing popup TEXT BOTTOM_CENTER) fix */
/* Проблема: класс popup-text-info.default склеивается в один токен, */
/* CSS компонента не матчится. Таргетим через .marketing-popup */
.dyn_mp_jqm_frame.TEXT.BOTTOM_CENTER {
  max-width: none;
  overflow: visible;
}
.dyn_mp_jqm_frame.TEXT.BOTTOM_CENTER > .marketing-popup {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  max-width: none;
  padding: 21px 40px 20px 26px;
  min-height: auto;
  height: auto;
}
.dyn_mp_jqm_frame.TEXT.BOTTOM_CENTER .popup-text-info__btn {
  margin-top: 0;
  margin-left: 30px;
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .dyn_mp_jqm_frame.TEXT.BOTTOM_CENTER > .marketing-popup {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 26px 20px 26px;
  }
  .dyn_mp_jqm_frame.TEXT.BOTTOM_CENTER .popup-text-info__btn {
    margin-top: 19px;
    margin-left: 0;
  }
}

/* ========================================
   Compact sections & viscosity chips
   ======================================== */

/* --- Бренды: sections-list (мини-чипсы) --- */
.section-block .sections-list.custom-template .sections-list__item-link {
  padding: 7px 14px;
}
.section-block .sections-list.custom-template .sections-list__item-text {
  font-size: 13px;
}
.section-block .sections-list.custom-template .line-block--gap-12 {
  --gap: 6px;
}
.section-block .sections-list.custom-template .sections-list__item {
  box-shadow: none;
}
.section-block .sections-list.custom-template .sections-list__item:hover {
  box-shadow: none;
}

/* --- Вязкость: landings-list chips (компактнее) --- */
.top-content-block .landings-list__item .chip {
  --item-height: 28px;
  --item-pl: 10px;
  --item-pr: 10px;
  font-size: 13px;
  border-radius: 6px;
}
.top-content-block .landings-list .line-block--gap-8 {
  --gap: 5px;
}
.top-content-block .landings-list__section-title {
  font-size: 13px;
  margin-right: 10px;
}

/* --- Уменьшаем отступ между блоками секций и контентом --- */
.top-content-block .section-block {
  margin-bottom: 12px;
}
.top-content-block .smartseo-block {
  margin-bottom: 8px;
}

/* --- Мобильная адаптация --- */
@media (max-width: 600px) {
  .section-block .sections-list.custom-template .sections-list__item-link {
    padding: 6px 10px;
  }
  .section-block .sections-list.custom-template .sections-list__item-text {
    font-size: 12px;
  }
  .section-block .sections-list.custom-template .line-block--gap-12 {
    --gap: 4px;
  }
  .top-content-block .landings-list__item .chip {
    --item-height: 26px;
    --item-pl: 8px;
    --item-pr: 8px;
    font-size: 12px;
  }
}

/* === ZSMOTO LOGO (только сайт s2 zsmoto.ru) — логотип «выезжает» из хедера, 07.10.2026 === */
@media (min-width: 992px) {
	body.site_s2 .header__main-part--long .logo {
		position: relative;
		z-index: 20;
		width: 214px;
		min-height: 48px;
	}
	body.site_s2 .header__main-part--long .logo > a {
		position: absolute;
		left: 16px;
		top: -8px;
		display: block;
		transition: transform .25s ease;
	}
	body.site_s2 .header__main-part--long .logo > a:hover {
		transform: rotate(-3deg) scale(1.03);
	}
	body.site_s2 .header__main-part--long .logo img {
		height: 144px;
		width: auto;
		max-width: none;
		max-height: none;
		filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .18));
	}
	body.site_s2 .header__bottom-part .header__bottom-inner {
		padding-left: 234px;
	}
	body.site_s2 #headerfixed .logo img {
		height: 46px;
		width: auto;
		max-height: none;
	}
}
@media (max-width: 991px) {
	body.site_s2 #mobileheader .logo {
		position: relative;
		z-index: 20;
		align-self: flex-start;
	}
	body.site_s2 #mobileheader .logo img {
		height: 70px;
		width: auto;
		max-height: none;
		margin-bottom: -22px;
		filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .25));
	}
}
body.site_s2.theme-dark .logo img {
	filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 2px rgba(255, 255, 255, .8));
}
/* === /ZSMOTO LOGO === */

/* === ZSMOTO MOBILE LOGO (только s2): логотип по центру, крупнее, свисает из шапки, 07.10.2026 === */
@media (max-width: 991px) {
	body.site_s2 #mobileheader .mobileheader__inner { position: relative; }
	body.site_s2 #mobileheader .mobileheader__item, body.site_s2 #mobileheader .mobileheader__item .line-block { position: static; }
	body.site_s2 #mobileheader .logo {
		position: absolute;
		left: 50%;
		top: 16px;
		transform: translateX(-50%);
		z-index: 20;
		margin: 0;
	}
	body.site_s2 #mobileheader .logo img {
		height: 72px;
		width: auto;
		max-height: none;
		margin-bottom: 0;
		filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .25));
	}
}
/* === /ZSMOTO MOBILE LOGO === */
