/* T6: home; порядок правил исходного custom.css сохранён. */
#front-form-two {
display: flex;
  padding: 24px 40px;
}

#front-form-two form {
display: flex;
  flex-grow: 1;
  flex-direction: column;
  gap: 16px;
}

#front-form-two form .inputs-wrap input::placeholder {
font-size: 14px;
  line-height: 1.25;
  color: var(--figma-black-30);
}

#front-form-two form input:focus {
outline: none;
}

#front-form-two form .phone-wrap input {
padding-left: 56px;
}

#front-form-two form button:hover {
background: var(--figma-gradient-2);
}

#front-form-two form input[type="checkbox"] {
appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background:none no-repeat;
  background-size: contain;
}
/* VVMD PERF-95 T17-A: фон при приближении; без JS виден сразу. */
#front-form-two form input[type="checkbox"]:where(.vvmd-bg-ready, html:not(.vvmd-media-js) *){background-image:url("../images/custom/checkbox_unchecked_dark.svg");}

#front-form-two form input[type="checkbox"]:checked {
background:none;
}
/* VVMD PERF-95 T17-A: фон при приближении; без JS виден сразу. */
#front-form-two form input[type="checkbox"]:checked:where(.vvmd-bg-ready, html:not(.vvmd-media-js) *){background-image:url("../images/custom/checkbox_checked_dark.svg");}

#front-form-two form .checkbox-wrap a {
color: var(--figma-black-100);
  text-decoration: underline;
}

#front-showrooms-custom .showrooms .selected .title,
#front-showrooms-custom .showrooms .selected .info-wrap {
color: var(--figma-white-100);
}

#front-team-custom .item .title {
font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--figma-black-100);
}

#front-team-custom .item .text {
font-size: 18px;
  line-height: 1.1;
  color: var(--figma-grey-100);
}

#front-steps-custom .item .top-area {
display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

#front-steps-custom .item .title {
font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--figma-black-100);
}

@media (max-width: 1023px) {

#front-steps-custom .item .title {
font-size: 18px;
}

}

#front-faq-custom .accordion .question span {
flex-grow: 1;
}

#front-faq-custom .accordion.active .question img {
transform: rotate(180deg);
    transition: transform 0.4s;
}

@media (max-width: 1023px) {

#front-faq-custom .accordion .question {
font-size: 18px;
}

#front-faq-custom .accordion .answer {
font-size: 14px;
}

}

#front-showrooms-custom .showrooms .showroom:not(.selected) .info-wrap,
#front-showrooms-custom .showrooms .showroom:not(.selected) .info-wrap .phone,
#front-showrooms-custom .showrooms .showroom:not(.selected) .info-wrap .phone a,
#front-showrooms-custom .showrooms .showroom:not(.selected) .info-wrap .schedule {
color: var(--figma-grey-100) !important;
}

#front-showrooms-custom .showrooms .selected .info-wrap,
#front-showrooms-custom .showrooms .selected .info-wrap .phone,
#front-showrooms-custom .showrooms .selected .info-wrap .phone a,
#front-showrooms-custom .showrooms .selected .info-wrap .schedule {
color: var(--figma-white-100) !important;
}

@media (max-width: 1023px) {

#front-showrooms-custom .showrooms .info-wrap .phone,
#front-showrooms-custom .showrooms .info-wrap .schedule {
min-height: 24px !important;
        line-height: 1.25 !important;
}

}

/* top banners */
/* Top banners */

#banner-custom {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 132px 40px 40px;
  background: var(--figma-gradient-1);
  border-radius: 0 0 32px 32px;
}

#banner-custom form {
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  gap: 16px;
}

#banner-custom form .inputs-wrap input::placeholder {
  font-size: 14px;
  line-height: 1.25;
  color: var(--figma-white-dark);
}

#banner-custom form input:focus {
  outline: none;
}

#banner-custom form button:hover {
  background-color: var(--figma-white-dark);
}

#banner-custom form input[type="checkbox"]:checked {
  background: url("../images/custom/checkbox_checked_light.svg");
}

#banner-custom form .checkbox-wrap a {
  color: var(--figma-white-100);
  text-decoration: underline;
}

@media (max-width: 1023px){
  #banner-custom {
    padding: 132px 20px 20px;
  }
}

/* banner desktop viewport */
/* =========================================================
   V6 — ГЛАВНАЯ: ПЕРВЫЙ БЛОК РОВНО В ВЫСОТУ ЭКРАНА
   Только desktop >= 1280px.
   Не меняет мобильную версию и остальные блоки.
   ========================================================= */

@media (min-width: 1280px){

    /* Весь золотой первый экран, включая место под шапку,
       занимает одну высоту окна браузера. */
    #banner-custom {
        height: 100svh !important;
        min-height: 760px !important;
        max-height: 100svh !important;

        padding-top: 112px !important;
        padding-bottom: 24px !important;
        gap: 20px !important;

        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Основная двухколоночная область получает всё оставшееся место. */
    #banner-custom > .content {
        flex: 1 1 auto !important;
        min-height: 0 !important;
        height: auto !important;
        align-items: stretch !important;
    }

    #banner-custom .left-side,
    #banner-custom .slider-wrap {
        height: 100% !important;
        min-height: 0 !important;
    }

    /* Левая колонка: карточки преимуществ остаются внутри первого экрана. */
    #banner-custom .left-side {
        justify-content: space-between !important;
    }

    #banner-custom .features-wrap-1 {
        margin-top: 0 !important;
    }

    /* Правая карточка больше не живёт по старым 944px. */
    #banner-custom .top-banner-main-slider,
    #banner-custom .top-banner-main-slider .owl-stage-outer,
    #banner-custom .top-banner-main-slider .owl-stage,
    #banner-custom .top-banner-main-slider .owl-item {
        height: 100% !important;
        min-height: 0 !important;
    }

    #banner-custom .slider-wrap .item {
        height: 100% !important;
        min-height: 0 !important;
        max-height: none !important;
    }
}


/* Невысокие ноутбуки: чуть плотнее верхняя часть,
   чтобы нижние 3 карточки не уходили под сгиб экрана. */
@media (min-width: 1280px) and (max-height: 820px){

    #banner-custom {
        min-height: 700px !important;
        padding-top: 96px !important;
        padding-bottom: 18px !important;
        gap: 16px !important;
    }

    #banner-custom .headline {
        font-size: 48px !important;
    }

    #banner-custom .subheadline {
        line-height: 1.18 !important;
    }

    #banner-custom form {
        gap: 10px !important;
    }

    #banner-custom form .inputs-wrap input {
        height: 50px !important;
    }

    #banner-custom form button {
        height: 50px !important;
    }
}

#banner-custom {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 132px 40px 40px;
  background: var(--figma-gradient-1);
  border-radius: 0 0 32px 32px;
}

#banner-custom form {
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  gap: 16px;
}

#banner-custom form .inputs-wrap input::placeholder {
  font-size: 14px;
  line-height: 1.25;
  color: var(--figma-white-dark);
}

#banner-custom form input:focus {
  outline: none;
}

#banner-custom form .phone-wrap input {
  padding-left: 56px;
}

#banner-custom form button:hover {
  background-color: var(--figma-white-dark);
}

#banner-custom form input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: url("../images/custom/checkbox_unchecked_light.svg") no-repeat;
  background-size: contain;
}

#banner-custom form input[type="checkbox"]:checked {
  background: url("../images/custom/checkbox_checked_light.svg");
}

#banner-custom form .checkbox-wrap a {
  color: var(--figma-white-100);
  text-decoration: underline;
}

#banner-custom .slider-wrap .dark {
  color: var(--figma-black-100);
}

@media (max-width: 1279px) {

#banner-custom .slider-wrap .item {
    height: 722px;
  
}
}

@media (max-width: 1023px) {
#banner-custom {
    padding: 132px 20px 20px;
  
}

#banner-custom .slider-wrap .item {
    height: 622px;
  
}

#banner-custom form .inputs-wrap {
    flex-direction: row;
  
}
}

@media (max-width: 743px) {

#banner-custom form .inputs-wrap {
    flex-direction: column;
  
}
}

#sections-custom .item .font_sm {
  font-size: 14px;
  line-height: 1.25;
  color: var(--figma-black-100);
}

#front-news-custom .tablet .item .title,
#front-news-custom .mobile .item .title {
  font-size: 14px;
  line-height: 1.1;
  color: var(--figma-black-100);
}

@media (max-width: 1279px) {
#front-news-custom .content .desktop {
    display: none;
  
}
}

@media (max-width: 460px) {
#front-news-custom .content .mobile {
    display: flex;
  
}
}

#banner-custom .top-banner-main-slider .owl-item {
    position: relative;
    z-index: 1;
}

#banner-custom .top-banner-main-slider .owl-item.active {
    z-index: 2;
}

#banner-custom .top-banner-main-slider .owl-item.active .item {
    width: calc(100% + 3px) !important;
    max-width: none !important;
}

@media (max-width: 743px) {
#banner-custom {
    position: relative;
    z-index: 1;
    background: var(--figma-gradient-1) !important;

    /* На реальном iPhone 145px оказалось мало.
       Опускаем первую плашку чуть ниже. */
padding-top: calc(70px + env(safe-area-inset-top, 0px)) !important;
  
}

#banner-custom #top-banner-features-slider-dots {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 8px !important;
    top: auto !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 !important;
    z-index: 30;
  
}
}

@media (min-width: 1280px) {
#banner-custom {
        height: 100svh !important;
        min-height: 760px !important;
        max-height: 100svh !important;

        padding-top: 112px !important;
        padding-bottom: 24px !important;
        gap: 20px !important;

        box-sizing: border-box !important;
        overflow: hidden !important;
    
}

#banner-custom > .content {
        flex: 1 1 auto !important;
        min-height: 0 !important;
        height: auto !important;
        align-items: stretch !important;
    
}

#banner-custom .left-side,
#banner-custom .slider-wrap {
        height: 100% !important;
        min-height: 0 !important;
    
}

#banner-custom .left-side {
        justify-content: space-between !important;
    
}

#banner-custom .features-wrap-1 {
        margin-top: 0 !important;
    
}

#banner-custom .top-banner-main-slider,
#banner-custom .top-banner-main-slider .owl-stage-outer,
#banner-custom .top-banner-main-slider .owl-stage,
#banner-custom .top-banner-main-slider .owl-item {
        height: 100% !important;
        min-height: 0 !important;
    
}

#banner-custom .slider-wrap .item {
        height: 100% !important;
        min-height: 0 !important;
        max-height: none !important;
    
}
}

@media (min-width: 1280px) and (max-height: 820px) {
#banner-custom {
        min-height: 700px !important;
        padding-top: 96px !important;
        padding-bottom: 18px !important;
        gap: 16px !important;
    
}

#banner-custom .headline {
        font-size: 48px !important;
    
}

#banner-custom .subheadline {
        line-height: 1.18 !important;
    
}

#banner-custom form {
        gap: 10px !important;
    
}

#banner-custom form .inputs-wrap input {
        height: 50px !important;
    
}

#banner-custom form button {
        height: 50px !important;
    
}
}

@media (max-width: 743px) {
#banner-custom .slider-wrap .title {
    font-size: 26px;
    line-height: 1.1;
  
}
}

#front-news-custom .content .tablet,
#front-news-custom .content .mobile,
#news-slider-nav,
#news-slider-dots {
  display: none;
}

@media (max-width: 1279px) {

  #front-news-custom .content .desktop {
    display: none;
  }

  #front-news-custom .content .tablet,
  #news-slider-dots {
    display: flex;
  }
}

@media (max-width: 460px) {
  #front-news-custom .content .tablet,
  #news-slider-nav,
  #news-slider-dots {
    display: none;
  }

  #front-news-custom .content .mobile {
    display: flex;
  }
}



/* Убираем 2px соседнего слайда справа */
#banner-custom .top-banner-main-slider .owl-item {
    position: relative;
    z-index: 1;
}

#banner-custom .top-banner-main-slider .owl-item.active {
    z-index: 2;
}

#banner-custom .top-banner-main-slider .owl-item.active .item {
    width: calc(100% + 3px) !important;
    max-width: none !important;
}

/* =====================================================
   MOBILE FIX — шапка + пагинация преимуществ
   Изолировано только для мобильной версии главного блока
   ===================================================== */
@media (max-width: 743px){

  #banner-custom {
    position: relative;
    z-index: 1;
    background: var(--figma-gradient-1) !important;

    /* На реальном iPhone 145px оказалось мало.
       Опускаем первую плашку чуть ниже. */
padding-top: calc(70px + env(safe-area-inset-top, 0px)) !important;
  }

  /* Пагинация строго под карточками */
  #banner-custom #top-banner-features-slider-dots {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 8px !important;
    top: auto !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 !important;
    z-index: 30;
  }
}

body:is(#company-about-page,.vvmd-is-page-about) .top-block-wrapper,
body:is(#company-about-page,.vvmd-is-page-about) .page-top {
  display: none !important;
}

.co-hero-news__nav--prev {
  left: -8px !important;
  right: auto !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E") !important;
}

.co-hero-news__nav--next {
  right: -8px !important;
  left: auto !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E") !important;
}













/* --- Projects split --- */
















/* --- Gold --- */
















@media (max-width: 1023px){
  .co-founder__inner {
    grid-template-columns: 1fr;
  }

  

  
}

#company-about-page .co-enterprise__media img,
#company-about-page .co-founder__card--photo img {
    position: static !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    min-height: 100% !important;
    margin: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 0 !important;
}


/* ---------------------------------------------------------
   5. TABLET
   --------------------------------------------------------- */

@media (max-width: 1279px){
    #company-about-page {
        --co-page-pad: 24px;
    }
}

@media (max-width: 743px){
    #company-about-page {
        --co-page-pad: 20px;
    }

    #company-about-page .co-enterprise__media img,
    #company-about-page .co-founder__card--photo img {
        width: 100% !important;
        height: 100% !important;
        min-height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
    }
}

@media (max-width: 374px){
    #company-about-page {
        --co-page-pad: 16px;
    }
}

#company-about-page .co-enterprise__media img,
#company-about-page .co-founder__card--photo img {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
}


/* ---------------------------------------------------------
   5. MOBILE
   Здесь фото снова получает заданное нами раньше aspect-ratio,
   чтобы мобильная композиция не поплыла.
   --------------------------------------------------------- */

@media (max-width: 743px){

    #company-about-page .co-enterprise__media img,
    #company-about-page .co-founder__card--photo img {
        width: 100% !important;
        height: 100% !important;
        min-height: 100% !important;
        object-fit: cover !important;
    }
}

#company-about-page .co-goal__nav--prev {
    right: 60px !important;
    left: auto !important;
}

#company-about-page .co-goal__nav--next {
    right: 0 !important;
    left: auto !important;
}


/* ---------------------------------------------------------
   3. ПРЕДПРИЯТИЕ / ОСНОВАТЕЛЬ
   Ключевой фикс: изображение исключено из расчёта высоты grid-row.
   Высоту задаёт левая текстовая карточка, фото просто заполняет её.
   --------------------------------------------------------- */

@media (min-width: 744px){

    #company-about-page .co-enterprise__media img,
    #company-about-page .co-founder__card--photo img {
        position: absolute !important;
        inset: 0 !important;

        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        max-height: none !important;

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


/* ---------------------------------------------------------
   4. Mobile оставляем существующую вертикальную композицию:
   video 420px + форма ниже. Не затрагиваем.
   --------------------------------------------------------- */


/* =========================================================
   V6 — ГЛАВНАЯ: ПЕРВЫЙ БЛОК РОВНО В ВЫСОТУ ЭКРАНА
   Только desktop >= 1280px.
   Не меняет мобильную версию и остальные блоки.
   ========================================================= */

@media (min-width: 1280px){

    /* Весь золотой первый экран, включая место под шапку,
       занимает одну высоту окна браузера. */
    #banner-custom {
        height: 100svh !important;
        min-height: 760px !important;
        max-height: 100svh !important;

        padding-top: 112px !important;
        padding-bottom: 24px !important;
        gap: 20px !important;

        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Основная двухколоночная область получает всё оставшееся место. */
    #banner-custom > .content {
        flex: 1 1 auto !important;
        min-height: 0 !important;
        height: auto !important;
        align-items: stretch !important;
    }

    #banner-custom .left-side,
    #banner-custom .slider-wrap {
        height: 100% !important;
        min-height: 0 !important;
    }

    /* Левая колонка: карточки преимуществ остаются внутри первого экрана. */
    #banner-custom .left-side {
        justify-content: space-between !important;
    }

    #banner-custom .features-wrap-1 {
        margin-top: 0 !important;
    }

    /* Правая карточка больше не живёт по старым 944px. */
    #banner-custom .top-banner-main-slider,
    #banner-custom .top-banner-main-slider .owl-stage-outer,
    #banner-custom .top-banner-main-slider .owl-stage,
    #banner-custom .top-banner-main-slider .owl-item {
        height: 100% !important;
        min-height: 0 !important;
    }

    #banner-custom .slider-wrap .item {
        height: 100% !important;
        min-height: 0 !important;
        max-height: none !important;
    }
}


/* Невысокие ноутбуки: чуть плотнее верхняя часть,
   чтобы нижние 3 карточки не уходили под сгиб экрана. */
@media (min-width: 1280px) and (max-height: 820px){

    #banner-custom {
        min-height: 700px !important;
        padding-top: 96px !important;
        padding-bottom: 18px !important;
        gap: 16px !important;
    }

    #banner-custom .headline {
        font-size: 48px !important;
    }

    #banner-custom .subheadline {
        line-height: 1.18 !important;
    }

    #banner-custom form {
        gap: 10px !important;
    }

    #banner-custom form .inputs-wrap input {
        height: 50px !important;
    }

    #banner-custom form button {
        height: 50px !important;
    }
}

body:is(#page-contacts,.vvmd-is-page-contacts) #navigation .breadcrumbs {
	display: none !important;
}

body:is(#page-contacts,.vvmd-is-page-contacts) #navigation .breadcrumbs,
body:is(#page-contacts,.vvmd-is-page-contacts) .breadcrumbs {
	display: flex !important;
	visibility: visible !important;
	opacity: 1 !important;
	font-family: var(--figma-font) !important;
	font-size: 14px !important;
	line-height: 17.5px !important;
	font-weight: 400 !important;
	color: #8C8C8C !important;
}

body:is(#page-contacts,.vvmd-is-page-contacts) .topic {
	display: block !important;
	width: calc(100% - 80px) !important;
	max-width: var(--figma-container) !important;
	margin: 0 auto 36px !important;
	padding: 0 !important;
	text-align: center !important;
}

@media (max-width: 1023px) {
	body:is(#page-contacts,.vvmd-is-page-contacts) #navigation,
	body:is(#page-contacts,.vvmd-is-page-contacts) .topic {
		width: calc(100% - 40px) !important;
	}
}

@media (max-width: 743px) {
	body:is(#page-contacts,.vvmd-is-page-contacts) #navigation,
	body:is(#page-contacts,.vvmd-is-page-contacts) .topic {
		width: calc(100% - 32px) !important;
	}
}


/* ---------------------------------------------------------
   4. ШОУРУМЫ — ЦВЕТА КАК НА DESKTOP
   Выбранный (Киров): телефон + время белые.
   Не выбранный (Москва): телефон + время серые.
   Отдельно фиксируем <a>, потому что общий цвет ссылок темы
   на mobile мог перебивать цвет .info-wrap.
   --------------------------------------------------------- */

#front-showrooms-custom .showrooms .showroom:not(.selected) .info-wrap,
#front-showrooms-custom .showrooms .showroom:not(.selected) .info-wrap .phone,
#front-showrooms-custom .showrooms .showroom:not(.selected) .info-wrap .phone a,
#front-showrooms-custom .showrooms .showroom:not(.selected) .info-wrap .schedule {
    color: var(--figma-grey-100) !important;
}

#front-showrooms-custom .showrooms .selected .info-wrap,
#front-showrooms-custom .showrooms .selected .info-wrap .phone,
#front-showrooms-custom .showrooms .selected .info-wrap .phone a,
#front-showrooms-custom .showrooms .selected .info-wrap .schedule {
    color: var(--figma-white-100) !important;
}


/* ---------------------------------------------------------
   3. ШОУРУМЫ — MOBILE/TABLET.
   Адрес отдельно, телефон/время ниже с устойчивым отступом.
   Цвета остаются такими же, как на desktop:
   Киров — белые контакты; Москва — серые.
   --------------------------------------------------------- */

@media (max-width: 1023px) {

    #front-showrooms-custom .showrooms .info-wrap .phone,
    #front-showrooms-custom .showrooms .info-wrap .schedule {
        min-height: 24px !important;
        line-height: 1.25 !important;
    }
}
@media (max-width: 743px) {

    #company-about-page .co-enterprise__media img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: 42% center !important;
    }
}


/* =========================================================
   V13 — ТОЛЬКО 2 ТОЧЕЧНЫЕ MOBILE-ПРАВКИ
   1) Шоурумы: мобильная кнопка «Заказать звонок»
      больше не подрезается и получает нормальную высоту.
   2) Новости первого экрана /company/:
      максимум 3 строки, легче и компактнее.
   Остальные работающие стили НЕ ТРОГАЕМ.
   ========================================================= */

@media (max-width: 743px) {

    #company-about-page .co-hero-news__meta {
        font-size: 12px !important;
        font-weight: 400 !important;
        line-height: 1.2 !important;
    }
}

body:is(#page-requisites,.vvmd-is-page-requisites) .container_inner {
	display: block !important;
}

/* Ширину и внешние отступы задаёт #content выше */
body:is(#page-contacts,.vvmd-is-page-contacts) .wrapper_inner,
body:is(#page-contacts,.vvmd-is-page-contacts) .container_inner,
body:is(#page-contacts,.vvmd-is-page-contacts) .right_block,
body:is(#page-contacts,.vvmd-is-page-contacts) .middle,
body:is(#page-contacts,.vvmd-is-page-contacts) .container {
	max-width: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

body:is(#page-contacts,.vvmd-is-page-contacts) .container_inner {
	display: block !important;
}


/* =====================================================================
   Контакты: карта не должна раздувать grid (#page-contacts min-width:auto).
   Только APPEND. 06.09.2026.
   ===================================================================== */

#page-contacts {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow-x: clip;
}
/* =========================================================
   COMPANY - FOUNDER IMAGE
   Заполняем весь блок без белых полей.
   ========================================================= */

#company-about-page .co-founder__card--photo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}
/* =====================================================================
   /contacts/ — Figma 6300:88829 (cache + PNG; live API 429)
   Только APPEND. Scoped #page-contacts.
   gallery = production (IB 40), not showrooms.
   Цели: те же карточки, что на /company/ (#company-about-page), без правки эталона.
   CONTACTS_GOAL_ETALON_20260907
   ===================================================================== */

#page-contacts {
	display: flex;
	flex-direction: column;
	gap: 24px;
	min-width: 0;
	overflow-x: clip;
}

@media (max-width: 743px) {
	#page-contacts {
		gap: 32px;
		overflow-x: clip;
	}
}

#page-payment.page-payment--figma .pg-pay-delivery__tabs {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 8px;
	max-width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
}

#page-payment.page-payment--figma .pg-pay-delivery__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	width: 100%;
	max-width: 1840px;
	margin: 0 auto;
	min-height: 457px;
}

#page-payment.page-payment--figma .pg-pay-delivery__logos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	width: 100%;
	max-width: 1840px;
	margin: 32px auto 0;
}

#page-payment .pg-pay-sec--about {
	min-height: 1224px;
}

#page-payment .pg-pay-sec--video {
	min-height: 746px;
}

#page-payment .pg-pay-sec--gallery {
	min-height: 804px;
}

#page-payment .pg-pay-sec--quiz {
	min-height: 659px;
}

#page-payment .pg-pay-sec--reviews {
	min-height: 784px;
}

#page-payment .pg-pay-sec--business {
	min-height: 873px;
}

#page-payment .pg-pay-sec--seo {
	min-height: 305px;
}

@media (max-width: 1279px) {
	#page-payment.page-payment--figma .pg-pay-delivery__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		min-height: 0;
	}
}

@media (max-width: 1024px) {

	#page-payment .pg-pay-sec--main,
	#page-payment .pg-pay-sec--main #banner-custom,
	#page-payment .pg-pay-sec--main .front-news-slider,
	#page-payment .pg-pay-sec--main #banner-custom .content,
	#page-payment .pg-pay-sec--main .front-news-slider .content {
		min-height: 0;
	}

	#page-payment .pg-pay-sec--partners,
	#page-payment .pg-pay-sec--delivery,
	#page-payment .pg-pay-sec--about,
	#page-payment .pg-pay-sec--video,
	#page-payment .pg-pay-sec--gallery,
	#page-payment .pg-pay-sec--quiz,
	#page-payment .pg-pay-sec--reviews,
	#page-payment .pg-pay-sec--business,
	#page-payment .pg-pay-sec--seo {
		min-height: 0;
	}

	#page-payment.page-payment--figma .pg-pay-delivery__grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	#page-payment.page-payment--figma .pg-pay-delivery__head {
		min-height: 0;
		margin-bottom: 24px;
	}
}



/* --- Шрифт банера в мобильной --- */
@media (max-width: 743px) {
  #banner-custom .slider-wrap .title {
    font-size: 26px;
    line-height: 1.1;
  }
}
#page-payment #page-payment-delivery .pg-pay-delivery__tabs .figma-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 44px;
    margin: 0;
    padding: 10px 20px;
    border: 0;
    border-radius: 50px;
    background: transparent;
    box-shadow: none;
    color: #424446;
    font: inherit;
    line-height: 1.3;
    letter-spacing: normal;
    text-transform: none;
    text-decoration: none;
    white-space: nowrap;
    box-sizing: border-box;
}
#page-payment #page-payment-delivery .figma-tab.is-selected { background: #fff; }
#page-payment #page-payment-delivery .pg-pay-delivery-copy > :first-child { margin-top: 0; }
#page-payment #page-payment-delivery .pg-pay-delivery-copy > :last-child { margin-bottom: 0; }
@media (max-width: 743px) {
    #page-payment #page-payment-delivery .pg-pay-delivery__tabs .figma-tab {
        padding: 10px 12px;
        font-size: 14px;
    }
}
/* Интервал ПОСЛЕ фильтра задан в .select_head_wrap выше: 32px.
   Начало комментария перед этим правилом исправлено на строке 15701. */

/* =========================================
   SHOWROOMS — скругление большого слайдера
   ========================================= */

#front-showrooms-custom .slider-wrap {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 24px !important;
}

/* На случай оберток Owl */
#front-showrooms-custom .slider-wrap .owl-stage-outer,
#front-showrooms-custom .slider-wrap .gallery {
    overflow: hidden !important;
    border-radius: 24px !important;
}

/* Само изображение */
#front-showrooms-custom .slider-wrap img,
#front-showrooms-custom .gallery img {
    display: block !important;
    width: 100%;
    max-width: 100%;
}

/* =========================================================
   ОСНОВАТЕЛЬ — фото масштабируется СТРОГО ПО ВЫСОТЕ.
   Высота = высоте текстовой карточки.
   Лишняя ширина обрезается симметрично по краям.
   ========================================================= */

@media (min-width: 1024px) {

    #company-about-page .co-founder__inner {
        align-items: stretch !important;
    }

    #company-about-page .co-founder__card--photo {
        position: relative !important;
        align-self: stretch !important;

        height: auto !important;
        min-height: 0 !important;

        overflow: hidden !important;
        border-radius: 32px !important;
        background: #000 !important;
    }

    #company-about-page .co-founder__card--photo img {
        position: absolute !important;

        top: 0 !important;
        left: 50% !important;

        /* КЛЮЧЕВОЕ: масштабируем только от высоты */
        height: 100% !important;
        min-height: 100% !important;

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

        transform: translateX(-50%) !important;

        object-fit: initial !important;
        object-position: initial !important;

        margin: 0 !important;
    }

}
/* Заголовок блока клиентов: слева на всех экранах */
#brands-custom .left-block {
    text-align: left;
}

/* Staging: .middle { gap: 32px } только на главной, чтобы не раздвигать каталог. */
@media (max-width: 743px) {
  body:is(#banner-custom,.vvmd-is-home-banner) .middle {
    gap: 32px;
  }
}

/* Главная - Наши шоурумы */

#front-showrooms-custom {
  background-color: var(--figma-white-dark);
}

#front-showrooms-custom .content {
  gap: 20px;
  padding: 0;
}

#front-showrooms-custom .showrooms {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  background-color: var(--figma-grey-super-light-2x);
  border-radius: 24px;
}

#front-showrooms-custom .showrooms-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#front-showrooms-custom .showrooms .title {
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--figma-black-100);
}

#front-showrooms-custom .showrooms .info-wrap {
  font-size: 16px;
  line-height: 1.25;
  color: var(--figma-grey-100);
  display: flex;
  gap: 24px;
  justify-content: flex-start;
}

#front-showrooms-custom .showrooms .info-wrap .phone,
#front-showrooms-custom .showrooms .info-wrap .schedule {
  display: flex;
  gap: 4px;
  align-items: center;
}

#front-showrooms-custom .showrooms .info-wrap .phone .icon {
  width: 24px;
  height: 24px;
  background:none;
}
/* VVMD PERF-95 T17-A: фон при приближении; без JS виден сразу. */
#front-showrooms-custom .showrooms .info-wrap .phone .icon:where(.vvmd-bg-ready, html:not(.vvmd-media-js) *){background-image:url("../images/custom/icon_phone.svg");}

#front-showrooms-custom .showrooms .info-wrap .schedule .icon {
  width: 24px;
  height: 24px;
  background:none;
}
/* VVMD PERF-95 T17-A: фон при приближении; без JS виден сразу. */
#front-showrooms-custom .showrooms .info-wrap .schedule .icon:where(.vvmd-bg-ready, html:not(.vvmd-media-js) *){background-image:url("../images/custom/icon_clock.svg");}

#front-showrooms-custom .showrooms .selected {
  background: var(--figma-gradient-1);
}

#front-showrooms-custom .showrooms .selected .title,
#front-showrooms-custom .showrooms .selected .info-wrap {
  color: var(--figma-white-100);
}

#front-showrooms-custom .showrooms .selected .info-wrap .phone .icon {
  width: 24px;
  height: 24px;
  background:none;
}
/* VVMD PERF-95 T17-A: фон при приближении; без JS виден сразу. */
#front-showrooms-custom .showrooms .selected .info-wrap .phone .icon:where(.vvmd-bg-ready, html:not(.vvmd-media-js) *){background-image:url("../images/custom/icon_phone_white.svg");}

#front-showrooms-custom .showrooms .selected .info-wrap .schedule .icon {
  width: 24px;
  height: 24px;
  background:none;
}
/* VVMD PERF-95 T17-A: фон при приближении; без JS виден сразу. */
#front-showrooms-custom .showrooms .selected .info-wrap .schedule .icon:where(.vvmd-bg-ready, html:not(.vvmd-media-js) *){background-image:url("../images/custom/icon_clock_white.svg");}

#front-showrooms-custom .slider-wrap {
  display: flex;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}

#front-showrooms-custom .gallery {
  display: flex;
  cursor: grab;
}

#showrooms-slider-nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 24px;
  position: absolute;
  top: 50%;
  z-index: 1000;
}

#showrooms-slider-dots {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 24px;
  position: absolute;
  bottom: 0;
  z-index: 1000;
}

#front-showrooms-custom .mobile-version {
  display: none;
}

@media (max-width: 1023px){
  #front-showrooms-custom {
    background: none;
  }

  #front-showrooms-custom .content {
    flex-direction: column;
  }

  #front-showrooms-custom .showrooms {
    padding: 0;
    background: none;
  }

  #front-showrooms-custom .showrooms-wrap {
    flex-direction: row;
  }

  #front-showrooms-custom .showrooms .showroom {
    min-width: 288px;
    flex-basis: 0;
    flex-grow: 1;
  }

  #front-showrooms-custom .showrooms .info-wrap {
    flex-direction: column;
    gap: 8px;
  }

  #front-showrooms-custom .desktop-version {
    display: none;
  }

  #front-showrooms-custom .mobile-version {
    display: flex;
  }

  #showrooms-slider-nav {
    display: none;
  }

  #front-showrooms-custom .gallery img {
    width: 100%;
    object-fit: cover;
    object-position: center center;
  }
}

@media (max-width: 743px){
  #front-showrooms-custom .showrooms-wrap {
    flex-direction: column;
  }
}
