/*
 * Theme Name: Start-Site 2.5
 * Description: Ultra-minimal WordPress starter theme. Optimized for converting html-layouts to websites. Also is a good start for SPA, creating unique projects.
 * Theme URI:   https://start-site.by
 * Author:      ULADZIMIR KONOVALOVE
 * Author URI:  https://start-site.by
*/


/* шапка */
.container-fluid.other_header {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.4) 100%), #207EC4;
    margin-bottom: 50px;
}
/* товары  */


.tovary-grid {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.tovar-card {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.tovar-left {
  flex: 0.5;
}

.tovar-right {
  flex: 1.5;
  display: flex;
  flex-direction: column;
  gap: 20px;
    font-size: 24px;align-items: flex-start;
}

.tovar-thumb img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.tovar-gallery {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.tovar-gallery img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
}

.opisanie-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.opisanie-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.icon {
  color: #4caf50;
}






/* попап */
.flexy {
    display: flex;
    font-size: 11px;
}
div#popup-card-title {
    font-size: 30px;
    text-align: center;
}

.popup-card-price {
    text-align: center;
    font-size: 27px;
    font-weight: 900;
}
/* контакты */

.contacts-info h2 {
    font-size: 26px;
    margin: 10px 0px;
}

.contacts-block {
    display: flex;
    width: 100%;
    gap: 70px;
}

.contacts-info p {
    font-size: 22px;
}
/* КОнтакты */


.dogovor {
    margin: 40px 0px 0px 0px;
    font-size: 20px;
}
.button-block {
    display: flex;
    gap: 20px;
}
/*страницы*/
.first-text, .second-text {
    font-size: 22px;
    line-height: 1.5;
}
.first-text {
    display: flex;
    gap: 20px;
    flex-direction: column;
}
section.section-flex.service_one .flex-row {
    column-gap: 80px;
    row-gap: 20px;
}


section.section-background.dvk_main {
    background: #fff;
}


.dvk_main span.small-text.white {
    color: #171717;
}

.dvk_main h2.title-h2.white {
    color: #171717;
}

.dvk_main h3.white.title_preim {
    color: #171717;
}

.dvk_main p.white.desc__preim {
    color: #171717;
}



/*  цена*/
.price-section {
  padding: 80px 0;
  text-align: center;
}

.price-title {
  font-size: 45px;
  color: #1E2C37;
  margin-bottom: 50px;
}

.price-cards {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
    width: 100%;
}

.price-card {
  flex: 1 1 30%;
  background: #fff;
  box-shadow: 0px 5px 30px rgba(0,0,0,0.1);
  padding: 40px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
max-width: 420px;
}

.price-card-title {
  font-size: 26px;
  font-weight: 600;
  color: #092544;
  margin-bottom: 30px;    text-align: left;
}

.price-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
  padding: 0;
  list-style: none;
  width: 100%;
  text-align: left;
}

.price-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #092544;
  font-size: 16px;
}

.price-separator {
  width: 100%;
  height: 1px;
  background: #C8C8C8;
  margin: 20px 0;
}

.price-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.price-value {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.ot_price {
  font-size: 20px;
  font-weight: 600;
  color: #092544;
}

.price-number {
  font-size: 30px;
  font-weight: 600;
  color: #092544;
}

/* адаптив */
@media (max-width: 1200px) {
  .price-cards {
    gap: 20px;
  }
  .price-card {
    flex: 1 1 45%;
  }
}

@media (max-width: 768px) {
.price-card {

max-width: 100%;
}

  .price-card {
    flex: 1 1 100%;
  }
  .price-title {
    font-size: 32px;
  }
}

/*  цена*/

.full-width-section {
  width: 100%;
  display: flex;
  justify-content: flex-end; /* прижать контейнер вправо */
  position: relative;
  background-size: cover;
  background-position: center;
}

.container {
  width: 100%;
  display: flex;
  justify-content: flex-end; /* прижать .other_style вправо */
}

.other_style {
  width: 55%;
  background-color: rgba(255, 255, 255, 0.9); /* белый 90% */
  padding: 70px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-left: auto; /* прижимает к правому краю */
    align-items: flex-start;
    gap: 70px;
}

a.white-button, button.white-button {
    border: 1px solid #fff;
    color: #fff !important;
}
.capture-logo {
    max-width: 360px;
}
.container.flex_action {
    flex-direction: row;
align-items: center;
}


/* capture-form.css */
.capture-form {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 50px 0px;
  background: linear-gradient(0deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.4) 100%), #207EC4;
}

.capture-left {
  display: flex;
  align-items: center;  gap: 50px;
}

.capture-logo img {
  display: block;
}

.capture-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
}


.capture-text .capture-subtitle {
  color: white;
  font-size: 20px;
  font-weight: 400;
  line-height: 20px;
}

.capture-right {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}







/* Адаптив */
@media (max-width: 1024px) {
  .other_style {
    width: 70%;
    padding: 30px;
  }

}

@media (max-width: 768px) {
  .full-width-section {
    justify-content: center;
  }
    .other_style {
        width: 100%;
        padding: 30px;
    }
.container.flex_action {
    flex-direction: column;
gap: 40px;
}
.capture-right {

    flex-direction: column;
}
}

@media (max-width: 480px) {
  .other_style {
    width: 100%;
    padding: 15px;
  }
  .first-text {
    font-size: 16px;
  }

}











.section-contact {
    padding: 100px 20px;
    background: #f5f5f5;
}

.contact-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

/* Карта */
.contact-map {
    flex: 0 0 65%; /* фиксированная ширина 65% */
    min-height: 533px;
    border-radius: 10px;
    overflow: hidden;
width: 100% !important;
    max-width: 1200px !important;
}
.container.contact-flex {
    flex-direction: row;
}
.contact-map iframe {
    width: 100% !important;
    max-width: 1200px !important;
}
/* Контакты */
.contact-info {
    flex: 0 0 30%; /* оставшиеся 30% */
    display: flex;
    flex-direction: column;
    gap: 20px;
align-items: flex-start;
}

.contact-title {
    font-size: 45px;
    color: #1E2C37;
    margin: 0;
}

.contact-subtitle {
    font-size: 14px;
    color: #092544;
}

.contact-block {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
li.page_item.page-item-2.current_page_item::marker {
    list-style: none;
 content: none; /* отключает маркер */
}
.footer-menu-secondary a {
    text-decoration: none;
    font-size: 18px;
    color: #C7C7C7;
}
.footer-block.footer-menu-secondary h4 {
    margin-bottom: 10px;
}
li.page_item.page-item-2.current_page_item {
/*     padding: 10px 0px; */
}
.contact-label {
    font-size: 16px;
    font-weight: 500;
    color: #092544;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-text {
    font-size: 22px;
    color: #1E2C37;
}

/* Иконки через CSS */
.icon-address::before {
    content: url('/wp-content/uploads/2025/09/map.svg');
}

.icon-phone::before {
    content: url('/wp-content/uploads/2025/09/phone.svg');
}

.icon-mail::before {
    content: url('/wp-content/uploads/2025/09/mail.svg');
}

/* Кнопка */
.btn-all-contacts {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 10px 45px;
    background: #207EC4;
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    border-radius: 5px;
}

/* Адаптив */
@media (max-width: 1024px) {
    .contact-flex {
        gap: 30px;
    }
    .contact-map {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .contact-flex {
        flex-direction: column;
        align-items: center;
    }
    .contact-map {
        width: 100%;
        min-height: 300px;
    }
    .contact-info {
        align-items: center;
        text-align: center;
    }
}

span.bodysite p {
    margin-bottom: 40px;
}
.footer-block.footer-form p {
    margin: 0px;
}
.desc__preim {
    text-align: center;
    font-size: 22px;
}
section.section-background {
    background: #092544;
}
section.section-background .container {
    padding: 110px 0px;
    gap: 70px;
}
.buttons-wrapper {
    display: flex;
    gap: 30px;
    color: #1e2c37;
}

a.hero-button {
    color: #1e2c37;
}
.hero-section {
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.hero-section .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4); /* если нужен тёмный оверлей */
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.team-block-fullwidth {
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}

.team-overlay {
  background: rgba(0, 0, 0, 0.6); /* затемнение */
  width: 100%;
  max-width: 800px;
  padding: 60px 60px;
  display: flex;
  align-items: center;
}

.team-overlay-inner {
  color: #fff;
}

.team-block-title {
  font-size: 32px;
  margin-bottom: 20px;
  color: #fff;
}

.team-block-text {
  font-size: 18px;
  line-height: 1.6;
  color: #fff;
}

/* адаптив */
@media (max-width: 768px) {
  .team-block-fullwidth {
    flex-direction: column;
    min-height: auto;
  }

  .team-overlay {
    max-width: 100%;
    padding: 40px 20px;
  }
}

.installment-rows {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  margin: 40px 0;
width: 100%;
}

.installment-block {
  flex: 1 1 calc(33.333% - 20px);
  display: flex;
  flex-direction: column;
  padding: 30px 20px;
  background-color: hwb(0deg 0% 100% / 30%);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.installment-top,
.installment-bottom {
  font-size: 24px;
  color: #fff;
  margin-bottom: 10px;
}

.installment-counter {
  font-size: 60px;
  font-weight: 300;
  color: var(--site-main-color, #896930);
  margin: 10px 0;
}

@media (max-width: 992px) {
  .installment-block {
    flex: 1 1 48%;
  }
}

@media (max-width: 600px) {
  .installment-block {
    flex: 1 1 100%;
  }
}

.video-sound-toggle {
    position: absolute;
    bottom: 92px;
    right: 40px;
    z-index: 10;
    cursor: pointer;
}
.video-sound-toggle .icon {
  pointer-events: none;
}.call_tr {
    margin: 0 auto;
}
/**/
/* section-flex.css */
.section-flex {
    padding: 100px 20px;
}

.flex-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 80px;
    flex-wrap: wrap; /* для адаптива */

    margin: 20px 0px;
}

.flex-image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 0px;
}

.flex-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1 1 400px; /* адаптивная ширина */
}

.small-text {
    font-size: 20px;
    color: #ADADAD;
}

.title-h2, h2 {
    font-size: 45px;
    color: #1E2C37;
    margin: 0;
}

.bodysite {
    font-size: 22px;
    color: #1E2C37;
    margin: 0;
}

/* Адаптив */
h2.installment-title {
    font-size: 40px;
    letter-spacing: 3px;
    margin: 40px 0px;
}

.installment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.installment-list li {
  flex: 0 1 calc(50% - 20px);
  margin: 0;
  padding-left: 1.2em;
  position: relative;
  line-height: 1.4;
    font-size: 28px;
    font-weight: 300;
}

.installment-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--site-main-color, #896930);
  font-weight: bold;
}

@media (max-width: 768px) {
  .installment-list li {
    flex: 0 1 100%;
  }
}

/**/

#scrollTopBtn {
  position: fixed;
  bottom: 50px;
  right: 50px;
  width: 50px;
  height: 50px;

  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}



#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
}


span.icon.icon-play {
    width: 26px;
    height: 26px;
    position: relative;
    display: block;
}

.video-toggle {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 9999; /* очень высокий z-index */
/*   background: rgba(0, 0, 0, 0.5); */
  border: none;
/*   padding: 10px; */
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.news_info a {
    color: #fff;
}
.container-fluid.footer-extra {
    background: #092544;
    margin-top: -5px;
}
.footer-extra {

  color: #fff;
  padding: 50px 0;
}
.container.footer-extra-inner {
  display: flex;
  flex-wrap: nowrap;
  gap: 90px;
    flex-direction: row;
}
ul.footer-menu, ul.footer-menu-secondary {
    display: flex;
    gap: 15px;
    flex-direction: column;
}
.footer-block.footer-menu-secondary {
    flex: 1 1 15%;
    min-width: 200px;
}
ul.footer-menu li a, ul.footer-menu-secondary li a{
    color: #fff;
font-weight: 100;
    text-decoration: none;
}
.footer-block.footer-logo {
    flex: 1 1 18%;
    min-width: 290px;
    gap: 10px;
    display: grid;
}

.footer-block.footer-menu {
    flex: 1 1 10%;
    min-width: auto;
}
ul.footer-menu li, ul.footer-menu-secondary li {
    list-style: none;
}
ul#menu-podval-3 {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

ul#menu-podval-3 li {
    max-width: 90px;
    width: 100%;
}
.container.footer-extra-inner h4 {
    font-size: 24px;
    font-weight: 400;
}
nav.header-nav.futersklass.eshe, ul.footer-menu-secondary {
    margin-top: 20px;
}
.footer-block {
  flex: 1 1 18%;
  min-width: 200px;
}

.footer-form {
  flex: 1 1 30%;
}

.footer-logo img {
  max-width: 100%;
width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.footer-description {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.85;
}
.footer-block.footer-form .wpcf7.js {
    padding: 0px;
}

.footer-block.footer-form .title_form {
    text-align: left;
    font-size: 24px;
}

.footer-block.footer-form .title_form_label_main.footer_main_second {
    display: flex;
    gap: 20px;
}

.footer-block.footer-form .title_form_label_check_main.footer_main_last {
    margin-bottom: 10px;
}
@media (max-width: 992px) {
  .footer-block {
    flex: 1 1 100%;
  }
}

.flickity-overflow-wrapper {
  position: relative;
  margin-left: 0;
  margin-right: 0;
  overflow-x: clip; /* важно: обрезает, но НЕ scroll */
}

/*form*/
.small-blocks.form_block {
    border: 1px solid #207EC4;
    color: #fff;
}

.wpcf7.js {
    padding: 40px;
    height: 100%;
    display: flex;
    justify-content: flex-end;
}

form.wpcf7-form.init {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Фикс высоты сообщений об ошибке (резервируем место, даже если текста нет) */
.wpcf7-form .wpcf7-form-control-wrap {
  position: relative;
  display: block;
 /* подгоняй по нужному */
}
form.wpcf7-form.invalid, form.wpcf7-form.submitting, form.wpcf7-form.sent, form.wpcf7-form.resetting {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
position: relative;
}

/* Сообщения об ошибках */
.wpcf7-not-valid-tip {
  display: block;
  font-size: 13px;
  color: #e53935;
  position: absolute;
  bottom: 0;
  left: 0;
  transform: translateY(100%);
  margin-top: 4px;
}

/* Чтобы при появлении ошибок форма не "дергалась" */
.wpcf7-form .wpcf7-form-control {
  transition: border-color 0.3s ease;
}

/*contact home*/


.hero-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
width: 100%;
    padding: 60px 0px;
}




.hero-line {
  height: 1px;
  background: hsl(38deg 59% 55% / 40%);
  flex: 1;
  max-width: 200px;
}

.hero-logo img {
  height: 100px;
  max-width: 100%;
}




/**/

.search-filter-field.model {
    display: none;
}


.third-right-grid.another a {
    text-decoration: none;
}

button {
  all: unset;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
      cursor: pointer;
    box-sizing: border-box;
}

@font-face {
  font-family: 'FuturaPT';
  src: url('fonts/FuturaPT-Light.woff2') format('woff2'),
       url('fonts/FuturaPT-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'FuturaPT';
  src: url('fonts/FuturaPT-Book.woff2') format('woff2'),
       url('fonts/FuturaPT-Book.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'FuturaPT';
  src: url('fonts/FuturaPT-Medium.woff2') format('woff2'),
       url('fonts/FuturaPT-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'FuturaPT';
  src: url('fonts/FuturaPT-Demi.woff2') format('woff2'),
       url('fonts/FuturaPT-Demi.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}


.container-fluid.other_header {
/*     background: hwb(0deg 0% 100% / 50%); */
}
.white {
  color:#ffffff;
}
    :root {
        --site-main-color: <?php the_field('site_main_color', 'option'); ?>;
    }
/*popupo*/

.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.popup-overlay.active { display: flex; }

.popup-window {
  background: #fff;
  border-radius: 16px;
  padding: 40px 30px;
  max-width: 500px;
  width: 90%;
  position: relative;
  animation: popupFade .3s ease;
}
.popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
}
@keyframes popupFade {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}









span.wpcf7-list-item.first.last {
    font-size: 11px;
}
.title_form {
    font-size: 30px;
    margin-bottom: 20px;

    text-align: center;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner {
    display: inline-block;
    padding: 20px 50px;
    background-color: #207EC4;
    color: white;
    font-weight: bold;
    
    text-decoration: none;
    transition: background-color 0.3s ease;
    outline: 0px;
    border: 0px;
    font-family: 'FuturaPT';
    font-weight: 100;
    width: 100%;
    font-size: 15px;
    cursor: pointer;
}
.wpcf7-response-output {
    margin-top: 0px;
    color: #207EC4;
    text-align: center;
    position: absolute;
    bottom: -34px;
    font-size: 11px;
}
.screen-reader-response {
    display: none;
}
span.wpcf7-list-item.first.last label {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

label .wpcf7-form-control {
    width: 100%;
    
    height: 45px;
    border: 1px solid var(--site-main-color);
    background: #0000001c;
    font-family: 'FuturaPT';
    padding: 12px 11px;
    margin: 5px 0px 0px;
    color: #fff;
}
.title_form_label input {
    width: 100%;
    
    height: 60px;
    border: 1px solid #092544;
    background: #00000000;
    font-family: 'FuturaPT';
    padding: 12px 11px;
    margin: 5px 0px 0px;
    color: #000;
}
.footer-block.footer-form .title_form_label input {
    border: 1px solid #ffffff;
}
.title_form_label {
    margin: 20px 0px;
}
.title_form_label_check{
  margin: 0px 0px 10px;
}
span.wpcf7-not-valid-tip {
    font-size: 10px;
    color: #c00505;
}
label .wpcf7-form-control:focus-visible {
    outline: 0px solid #123;
    border: 1px solid var(--site-main-color);
}




/*супер блок */
.exclusive-block {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}

/* Ряды */
.row {
  display: flex;
  gap: 30px;
    height: 610px;
width: 100%;
}

/* Первый ряд: слева большая, справа 2 маленьких вертикально */
.row-1 .large-block {
  flex: 2;
  position: relative;
}
.row-1 .small-blocks {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.row-1 .small-block {
  flex: 1;
  position: relative;
}

/* Второй ряд: слева 2 маленьких вертикально, справа 1 большая */
.row-2 .small-blocks {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.row-2 .small-block {
  flex: 1;
  position: relative;
}
.row-2 .large-block {
  flex: 2;
  position: relative;
}

/* Общие стили для блоков */
.media-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: white;
  height: 100%;
  text-decoration: none;
  overflow: hidden;
}
.home_scene.fin_scene:hover .overlay {
    background: rgba(137, 105, 48, 0.7);
}
.media-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
/*   filter: brightness(0.7); */
  z-index: 1;
}


/* .media-bg::after, .media-video::after {
  content: "";
  position: absolute;
  inset: 0; 
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 20.01%, rgba(0, 0, 0, 0.8) 90%);
  pointer-events: none; 
  z-index: 2;
}

.media-wrapper:hover .media-bg::after, .media-wrapper:hover .media-video::after {
  background: rgba(137, 105, 48, 0.7);
  transition: background 0.3s ease;
}
 */


.media-video {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  z-index: 1;
}


.media-bg, .media-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover; /* для видео */
  z-index: 0;
}

.overlay {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(186deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.7) 100%);
  pointer-events: none;
  z-index: 1;
  transition: background 0.3s ease;
}

.media-wrapper:hover .overlay {
  background: rgba(137, 105, 48, 0.7);
}



.content {
  position: relative;
  z-index: 3;
  padding: 30px 40px;
}

.content h3 {
  margin: 0 0 8px;
    font-size: 30px;
    letter-spacing: 2px;
}
.content h3:after {
    
    content: none;
}
.content p {
  margin: 0;
  font-size: 16px;
}







/**/

.button {
    background-color: var(--site-main-color);
}
a {
    color: var(--site-main-color);
}
.black20 {
  color:#202020;
}
/*меню выпадающее*/
.sub-menu .menu-item{
    padding: 0px;
  margin:0px !important;
}
.sub-menu .menu-item a{
    padding: 10px;
  transition:all 0.2s;
}



#primary-menu li ul.sub-menu li a {
  padding: 10px 15px;
  color: #fff;
  white-space: nowrap;transition:all 0.2s;
}
#primary-menu li ul.sub-menu li a:hover {
color: var(--site-main-color);
    transition: all 0.2s;
}
ul.sub-menu {
    
}


#primary-menu li ul.sub-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
/* background: #063124; */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 999;
    padding: 0;
    border: 1px solid #207EC452;
  margin: 0;
  list-style: none;
  min-width: 200px;
}


#primary-menu li.menu-item-has-children:hover > ul.sub-menu {
  display: block;
}

/**/


.container-fluid {
    background: #ebebeb00;
}
/*pagination*/

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  gap: 6px;
  margin: 15px auto;
}
.nav-links {
    display: flex;
    gap: 10px;
}
.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #fff;
  border: 1px solid #dfe3e8;
  
  font: 700 14px/1 'Inter', sans-serif;
  color: #212b36;
  text-decoration: none;
  transition: 0.2s;
}

.page-numbers:hover {
  background: #f4f6f8;
}

.page-numbers.current {
  background: #303030;
  border-color: var(--site-main-color);
  color: var(--site-main-color);
}

.page-numbers.prev::after,
.page-numbers.next::after {
  content: '';
  border: solid #c4cdd5;
  border-width: 0 2px 2px 0;
  padding: 4px;
  display: inline-block;
  transform: rotate(45deg);
}

.page-numbers.prev::after {
  transform: rotate(225deg);
}

.page-numbers.prev,
.page-numbers.next {
  font-size: 0;
  rotate: -90deg;
}
/*blog*/


.blog_sec_head {
    margin-bottom: 50px;
}
.page_title {
  font-size: 36px;
  margin-bottom: 40px;
  color: white;
}

.news_list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.news_item {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
  padding: 30px;
  
  align-items: center;
  background: hwb(0deg 0% 100% / 30%);border: 1px solid #207EC4;
}

.news_thumb {
  flex: 1 1 300px;
  max-width: 400px;
}

.news_thumb img {
  width: 100%;
  height: auto;
  
  object-fit: cover;
}

.news_info {
  flex: 1 1 500px;
  color: white;
  font-weight: 300;
}

.news_info h2 {
  font-size: 36px;
  margin-bottom: 35px;
  position: relative;
}

.news_info p {
  font-size: 21px;
  line-height: 1.6;
}
.news_info a {
    text-decoration: none;
    font-weight: 400;
}
/* Single */
.news-featured-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  height: 450px;
  max-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
      
}
.container.single_news.other_page .news_text p {
    font-size: 18px;
}

.news-featured-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8); /* затемнение 80% */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;    border: 1px solid #207EC4;
  
}

.news-featured-overlay h1 {
  font-size: 32px;
  line-height: 1.3;
  margin: 0;
  color: #fff;
      position: relative;
}
.news-featured-overlay h1:after {
content: "";
    position: absolute;
    bottom: -25px;
    min-width: 150px;
    height: 0.5px;
    background: #207EC4;
    left: 50%;
    transform: translateX(-50%);
}
.single .container.other_page {
    margin: -20px auto 0px;
      padding: 20px 20px 50px;
}
.news_text {
    font-size: 18px;
    line-height: 1.8;
    color: white;
    margin-top: 40px;
    padding: 0px 90px;
}

.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 100%;
  margin: 30px 0px;
  width: 100%;
  flex-wrap: nowrap;
  flex-direction: row;
}

.nav-btn {
  flex: 1 1 100%;
  max-width: 100%;
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid #207EC4;
  
  font-family: 'FuturaPT', sans-serif;
  font-weight: 300;
  font-size: 18px;
  height: 90px;
  color: #fff;
  display: flex;
  text-decoration: none;
  transition: background 0.3s;
  align-items: center;
  justify-content: center;
}

.nav-btn:hover {
  background: rgba(0, 0, 0, 0.5);
}

.single-tovary .container.other_page {
    margin: 50px auto 0px;
    padding: 20px 40px 50px;
}
.single-tovary .other_page h3{
      font-size: 26px;
  font-weight:400;
}

.container.footer-extra-inner ul.sub-menu li {
    margin-top: 10px !important;
}
/* Адаптив */

@media (max-width: 768px) {

  .news_item {
    flex-direction: column;
    text-align: center;
  }
  .news_thumb, .news_info {
    flex: 1 1 100%;
    max-width: 100%;
  }
}


/*онас */
.team-wrapper.o_nas .team-content:hover {
/*     background: #063124; */
    border: 1px solid var(--site-main-color);
}
.team-wrapper.o_nas .team-content {
    background: #202020;
    color: #fff;
    min-height: 125px;
    border: 1px solid #202020;
}
.team-wrapper h2:after {
      background: var(--site-main-color);
    content: "";
    min-width: 150px;
    height: 0.5px;
    position: absolute;
    display: block;
    bottom: -7px;
}
.team-block {
  padding: 60px 20px;
}

.team-block-title {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--site-main-color);
  display: inline-block;
  padding-bottom: 8px;
  color: #fff;
}

.team-block-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
}

.team-text {
  flex: 1 1 50%;
  color: #eee;
  font-size: 21px;
  line-height: 1.6;
}

.team-image {
  flex: 1 1 40%;
  
  overflow: hidden;
}

.team-image img {
  width: 100%;
  height: auto;
  display: block;
  
}

/* Адаптив */
@media (max-width: 768px) {
  .team-block-title {
    font-size: 21px;
  }


  .team-block-content {
    flex-direction: column;
  }

  .team-text, .team-image {
    flex: 1 1 100%;
  }
}




/*КОнтакты*/

h1.title-pages {
    font-size: 43px;
    color: #fff;
    margin-top: 40px;
}

.team-section {
  width: 100%;
  padding: 40px 20px;
}


.team-wrapper {
  position: relative;
  overflow: hidden;
  
  width: 100%;
}

.team-bg {
  background-size: cover;
  background-position: center;
  
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  min-height: 755px;
  padding: 50px;
  width: 100%;
}
.team-content:hover {
/*     background: #063124; */
    color: #fff;
    transition: 0.3s;
}
.team-content {
  background: white;
  
    transition: 0.3s;
  padding: 40px;
  max-width: 680px;
  min-height: 225px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.team-content h2 {
  font-size: 28px;
  margin-bottom: 25px;
      position: relative;
}

.team-content p {
  font-size: 19px;
  line-height: 1.4;
}

/* Адаптивность */
@media (max-width: 768px) {
  .team-bg {
    justify-content: center;
    align-items: center;
            padding: 0px 20px;
    min-height: 0px;
  }

  .team-content {
    max-width: 100%;
    padding: 20px;
  }

  .team-content h2 {
    font-size: 20px;
  }

  .team-content p {
    font-size: 14px;
  }
}


/**/


/*другие страницы*/

.container.other_page {
    padding: 30px 40px 50px;
    background: hwb(0deg 0% 100% / 30%);
    color: #fff;
    
    margin: 50px auto;
}

.button_class .hero-button {
    display: inline-block;
    padding: 20px 50px;
    background-color: var(--site-main-color);
    color: #1e2c37;
    font-weight: bold;
    
    text-decoration: none;
    transition: background-color 0.3s ease;
      margin: 0 auto;
}
.container.other_page p {
    font-size: 21px;
      margin-bottom: 20px;
}


/*Финансе*/

section.offers-section.finance_section h2.offers-title {
    margin-bottom: 10px;
}
.home_scene.fin_scene .hero-content {
    gap: 20px;
    max-width: 690px;
z-index: 9;
}
.home_scene.fin_scene {
       padding: 40px;
    height: 600px;
    display: flex;
    align-items: center;
/*     background: #000000b3; */
    justify-content: space-between;
}
.home_scene.fin_scene .overlay
 {
    background:linear-gradient(215deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.9) 100%);
}
.contacts-socials-main-two {
    display: flex;
    height: 100%;
    align-items: flex-end;
}
.small-block-text .content {
  
  border: 1px solid #207EC4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.small-block-text h3 {
  font-size: 23px;
  margin-bottom: 10px;
  color: #f8f8f8;
    font-weight: 300;
}

.small-block-text p {
  font-size: 15px;
  color: #ffffff;
  margin-bottom: 20px;
    width: 70%;
}

.btn-gold {
    background: #207EC4;
    color: white;
    text-decoration: none;
    padding: 10px 30px;
    display: inline-block;
    transition: background 0.3s ease;
    position: absolute;
    right: 0px;
    bottom: 0px;
    width: 200px;
    display: flex;
    height: 50px;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.btn-gold:hover {
  background: #b78c3f;
}


.large-block.second .overlay {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.8) 90%);
  pointer-events: none;
  z-index: 1;
  transition: background 0.3s ease;
}

.large-block.second .media-wrapper:hover .overlay {
  background: rgba(137, 105, 48, 0.7);
}
.large-block.second .media-wrapper {
    justify-content: flex-start;
}

.finance_section .offer-item {
      max-width: 20%;
}

















section.offers-section.finance_section.finance_section_two .container {
    width: 100%;
}

.page-template-finance header {
    margin-bottom: 0px;

}
.page-template-finance .hero-content {
      max-width: 1000px;
z-index:2;
}
.page-template-finance .hero-title {
    margin-bottom: 40px;
}
.page-template-finance .hero-description  {
    margin-bottom: 60px;
}

section.offers-section.finance_section.finance_section_two
 {
    background-repeat: no-repeat;
    background-size: cover;
    height: 730px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px;
}
/*Финансе*/

/*финанс - 2*/

.finance_section .offer-item {
    background: #11223300;
}

.finance_section .offer-icon img {
/*     width: 200px;
    height: 200px; */
}

.finance_section .offer-main {
    width: 100%;
}

.finance_section .offer-icon {
    width: 120px;
}

.finance_section .offer-text.sub_title_offer {
    font-size: 21px;
    font-weight: 600;
margin-bottom: 10px;
    height: 60px;
}

.finance_section .offer-text {
    font-size: 18px;
    font-weight: 400;
  max-width: 360px;
}
.finance_section .offer-item {

    padding: 36px 0px;
}

/*финанс - 2*/
/*trade in*/
.finance_section_two .offers-grid.new-grid {
    display: flex;
    flex-wrap: wrap;
       justify-content: space-between;
    /* gap: 20px; */ /* отступ между элементами */
}

.finance_section_two .offers-grid.new-grid .offer-item {
    /* width: 50%; */
    flex: 0 1 calc(49% - 10px); /* два в ряд, минус половина gap */
}

.finance_section_two .offers-grid.new-grid .offer-item:nth-child(3) {
    flex: 0 1 100%;
    display: flex;
    justify-content: center;
}


/**/
.after-hero .offer-item {
    flex: 1 1 calc(50% - 20px);
    padding: 50px 50px;
}

.after-hero .offer-icon {
    width: 125px;
}

.after-hero .offer-icon img {
    width: 125px;
    height: 125px;
}

.after-hero .offer-main {
    /* width: 100%; */
}

.after-hero .offer-text.sub_title_offer {
    width: 100%;
    max-width: 360px;
    font-size: 30px;
}

/*end trade in*/
.home_scene {
  position: relative;
    overflow: hidden;
    max-width: 1700px;
    width: 100%;
}

.hero-slider {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
/*   aspect-ratio: 16 / 9; */
    height: 850px;
  position: relative;
}

.hero-slide {
  position: relative;
  width: 100%;
  height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px;
    box-sizing: border-box;
}

.hero-slide::before {
/*   content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 20.01%, rgba(0, 0, 0, 0.8) 90%);
  z-index: 1;
  pointer-events: none; */
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Текст и кнопки поверх */
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  color: white;
width: 100%;
    max-width: 60%;
gap: 45px;
}

/* Заголовок */
.hero-title {
  font-size: 70px;
  color: #fff;
    line-height: 1.1;
}
.hero-description {
    font-size: 26px;
}
/* Кнопки */
.hero-buttons {
  display: flex;
  gap: 20px;
    justify-content: space-between;
    width: 100%;
}
.btn-hero {
    padding: 20px 50px;
    border: 1px solid #FFFFFF;
    font-size: 20px;
    color: #FFFFFF;
    text-decoration: none;
    cursor: pointer;
}
a.link_button, button.link_button
 {
    padding: 15px 50px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s 
ease;
    text-decoration: none;
    color: #ffffff;
    background: #207EC4;
    border: 1px solid #207EC4;
}
.hero-button {
 
padding: 15px 50px;
  font-size: 18px;
  border: 1px solid #171717;
  background: transparent;
  color: #1e2c37;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
	text-decoration:none;
}

.hero-button:hover {
    background: #207EC4;
    color: #ffffff;
    border: 1px solid #207EC4;
    transition: all 0.3s;
}

/* Стрелки */
.hero-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
  pointer-events: none; /* чтобы клики проходили только по кнопкам */
}

.hero-nav button {
  width: 47px;
  height: 47px;
  border: 1px solid #207EC4;
  background: transparent;
  color: white;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto; /* вернуть кликабельность кнопкам */
}
.hero-prev {
  margin-left: 40px;
}

.hero-next {
  margin-right: 40px;
}


.page-template-tradein  .after-hero .offer-text.sub_title_offer {
    width: 100%;
    max-width: 360px;
    font-size: 20px;
    font-weight: 100;
}
.page-template-tradein .offer-item {
    max-width: 21%;
    padding: 0px 20px;
}
.page-template-tradein .offers-grid {
    gap: 40px;
margin-bottom:60px;
}
.page-template-tradein h2.offers-title {
    margin-bottom: 10px;
}
/* товар */

.car-features.single_tovar img {
    width: 25px;
    height: 25px;
}

.car-features.single_tovar .car-feature {
    font-size: 21px;
    gap: 17px;
    color: #fff;
}
.car-features.single_tovar > .car-feature {
    width: calc(62% - 4px);
    max-width: 230px;
}
.car-features.single_tovar .car-feature .km_cl {
    font-size: 14px;
}



/* Устанавливаем шрифт для body и делаем strong полужирным (600) */

/* оверлей‑SVG */
.section-overlay{
  position: absolute;
  left: 0;
  right: 0;
  bottom: -100px;  /* пример: если hero 100 vh; или задайте числом */
  height: 190px;             /* высота вашего SVG */
  background: url(/wp-content/uploads/2025/05/fin_back.svg) repeat-x;
  background-size: cover;    /* либо contain / 100% 100% — по макету */
  pointer-events: none;      /* клики проходят сквозь */
  z-index: 2;                /* выше обеих секций */
}

strong {
  font-weight: 600;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
/*     background: #063124; */
    border: 0px solid;
  font-family: 'FuturaPT', sans-serif;
  font-weight: 400;
}

.header-adress {
    color: #929292;
    font-size: 16px;
}
/* контейнер можно оставить без изменений */
.header-phone{
  /* при необходимости свои отступы/выравнивание */
}

/* ссылка с белым пунктирным подчёркиванием */
.header-phone__link{
  position: relative;
  display: inline-block;
  color: #ffffff;            /* сам текст */
  font-family: 'FuturaPT', sans-serif;
  font-size: 24px;
  line-height: 20px;
    font-weight: 600;
transition: all 0.4s;
  text-decoration: none;     /* убираем обычную линию */
}
.callback-link {
  position: relative;
  display: inline-block;
  color: #fff;    font-weight: 300;
  text-decoration: none;
  font-size: 21px;
}

.callback-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px; /* немного ниже текста */
  width: 100%;
  height: 1px;
  background-color: #fff;
  transition: width 0.6s ease;
}

.callback-link:hover::after {
  width: 0%;
  right: 0;
  left: auto; /* линия "уезжает" вправо */
}

/* псевдо‑элемент рисует пунктир */


/* при наведении, например, меняем цвет текста — линия остаётся белой */
.header-phone__link:hover{
  color: #207EC4;
transition: all 0.2s;
}

 
/* Контейнер */
.container {
  max-width: 1700px;
  margin: 0 auto;
  display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
}

/* Логотип */
.header-logo img {
  display: block; /* убирает отступы у img */
    max-width: 170px;
}

/* Обёртка навигации */
.header-nav {
  display: flex; 
  align-items: center;
}




/* Кнопка переключения мобильного меню (если нужна) */
.menu-toggle {
  display: none; /* по умолчанию скрыта, если не нужна на десктопе */
  /* при желании стилизуйте её для мобильной версии */
}

/* Селектор, под который попадает ваш список из wp_nav_menu */
#primary-menu ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}
header {
/*     margin-bottom: 65px; */
}
.container.head {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
padding: 45px 0px;
    align-items: center;
    background: #ffffff00;
}
#primary-menu li a {
    text-decoration: none;
    color: #fff;
    font-size: 20px;
    letter-spacing: 1px;
    font-weight: 300;
    line-height: 1.2;
    display: block;
    padding: 10px 20px;
}

/* Иконки */
.header-icons {
    display: flex;
    gap: 10px;
    position: relative;
    flex-direction: column;
    align-items: flex-end;
}
.wrapper-cart-count {
    color: #303030;
    position: absolute;
    right: -4px;
    bottom: 13px;
    background-color: #fff;
    width: 18px;
    height: 18px;
    
    display: flex
;
    align-items: center;
    justify-content: center;
    font-family: "FuturaPT";
    font-size: 12px;
    border: 1px solid;
}
.header-icons a img {
  width: 24px; /* задайте нужный размер иконок */
  height: auto;
}


/* Контейнер обёртка */
.featured-container {
  display: flex; /* Включаем флекс, чтобы левый и правый блоки шли в строку */
  width: 100%;   /* Ширину берём из родительского контейнера */
  
}

/* Большой левый блок */
.left_side {
  flex: 0 0 50%;               /* Занимает 50% места по ширине */
  background-size: cover;       /* Размер фона */
  background-position: center;  /* Центровка фона */
  background-repeat: no-repeat; /* Отключаем повтор */
  position: relative;           /* Чтобы можно было позиционировать ссылку внутри */
      height: 980px;
}

/* Правая часть, внутри будут два блока (верхний second_and_third, нижний four_and_five) */
.right_side {
  flex: 0 0 50%;  /* Ещё 50% ширины для правой части */
  display: flex;  
  flex-direction: column; /* Блоки идут вертикально друг за другом */
}

/* Каждый из внутренних «рядов» справа (second_and_third, four_and_five) */
.second_and_third,
.four_and_five {
  display: flex; /* Чтобы блоки (featured-item) стояли в ряд */
  flex: 1 1 auto;
}

/* Общие стили для всех featured-item справа */
.second_and_third .featured-item,
.four_and_five .featured-item {
  flex: 1 1 50%;             /* Делим ширину на 2 блока пополам */
  background-size: cover;     /* Растягиваем фон с сохранением пропорций */
  background-position: center;/* Центруем фон */
  background-repeat: no-repeat;
  position: relative;         /* Для позиционирования ссылки внутри */
}

/* Ссылка-кнопка */
.featured-link {
  display: inline-block;
  padding: 10px 20px;
  background: #fff;
  color: #000;
  text-decoration: none;
  font-family: "FuturaPT", sans-serif;
  font-size: 18px;
  

  /* Чтобы «прикрепить» ссылку к нижнему краю блока (если нужно). */
  position: absolute;
  bottom: 20px;
  left: 20px;
}


.sale_block {
    height: 680px;
    background-size: cover;
}

/*меню*/
/* 
   Общий контейнер для меню. 
   На мобильных будет скрыт за левой границей экрана 
   (через transform: translateX(-100%)), 
   при активном состоянии (is-active) выезжает (translateX(0)).
*/



ul.footer-menu li > a, ul#menu-podval-3 li > a {
  position: relative;
  display: inline-block;
  color: inherit;
  text-decoration: none;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

ul.footer-menu li > a::after, ul#menu-podval-3 li > a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 0%;
  height: 1px;
  background-color: #207EC4; /* тот же цвет, что и цвет текста при ховере */
  transition: width 0.4s ease;
}

ul.footer-menu li:hover > a, ul#menu-podval-3 li:hover > a{
  color: #207EC4;
 transition: all 0.2s ease;
}

ul.footer-menu li:hover > a::after, ul#menu-podval-3 li:hover > a::after {
  width: 100%;
}


#primary-menu {
  /* По умолчанию для десктопа сделаем отображение flex (или block),
     но сразу скроем его только для мобильных через @media (max-width) */
  display: flex; 
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Пункты меню */#primary-menu li {
  margin-right: 20px;
  position: relative;
  transition: all 0.2s;
  overflow: visible; /* Важно! Чтобы подменю не обрезалось */
}

/* Переносим ховер-линию на <a> */
#primary-menu li > a {
  position: relative;
  display: inline-block;
  color: inherit;
  text-decoration: none; 
color: #fff;
}

#primary-menu li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0; /* Подстраивай под шрифт */
  width: 0%;
  height: 1px;
  background-color: #9ad4ff;
  transition: width 1.8s ease;
}

#primary-menu li > a:hover::after {
  width: 100%;
}


#primary-menu li:hover > a {
    color: #9ad4ff;
    transition: all 0.2s;
}
/* Ссылки в меню */
#primary-menu a {
  text-decoration: none;

  font-weight: 700;
  color: #202020;
  font-size: 14px;
}


.socials-title {
    transform: rotate(270deg);
    transform-origin: right top;
    white-space: nowrap;
    font-size: 0.93em;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: #ffffff;
    opacity: .6;
    position: absolute;
    bottom: 140px;
    font-weight: 100;
    width: 0px;
    right: 20px;
}



/*second block*/




.offers-section {
  padding: 60px 0 0px;
  color: #fff;
  background-size: contain;
}

.offers-title {
  font-size: 43px;
  font-weight: 400;
    margin: 0px auto 60px;
    letter-spacing: 4px;
}

.offers-subtitle {
  font-size: 24px;
  color: #aaa;
    margin: 20px auto 40px;
}

.offers-grid {
display: flex;
    flex-wrap: wrap;
    /* gap: 85px; */
    padding: 0px 0px;
    width: 100%;
    justify-content: space-between;
    align-content: center;
}

.offer-item {
  flex: 1 1 calc(23.333% - 20px);

  max-width: 360px;
  padding: 0px 0px;
/*     max-width: 220px; */
}

.offer-content {
  display: flex;
  align-items: center;
  gap: 20px;
    flex-direction: column;
}

.offer-icon img {
  /* width: 48px; */
  /* height: 48px; */
  object-fit: contain;
  width: 100%;
}

.offer-text {
    font-size: 20px;
    line-height: 1.4;
    font-weight: 400;
    max-width: 280px;
    text-align: center;
}
.offer-icon {
    width: 100px;
}




/*третья секция */



.third-section {
  padding: 80px 0;
  background-size: cover;
  background-position: center;
  color: #fff;
}



.third-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  width:100%;
  margin: 30px 0px 60px;
}

.third-left {
  flex: 1 1 35%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.third-left-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.left-icon img {
  width: 100px;
  height: auto;
}

.left-text {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 4px;
}
.left-texts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.left-desc {
  font-size: 15px;
  color: #ACACAC;
}

.third-right {
  flex: 1 1 36%;
}

.third-right-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.right-card {
    padding: 24px;
    

    transition: transform 0.3s ease;
    min-height: 245px;
    position: relative;
  max-width:340px;
}
.right-card:hover {
  transform: translateY(-4px);
}

.card-image {
    position: absolute;
    right: 0px;
    bottom: 0px;
}
.card-title {
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 8px;
}

.card-desc {
  font-size: 18px;
}


.left-texts {
    max-width: 350px;
}



/*4 сецкция (товары)*/
.flickity-slider {
/*   margin-left: 0;  прижимаем к левому краю контейнера */
}
  .flickity-slider.js-flickity.flickity-enabled.is-draggable {
    position: relative;
padding:0px 0px;
}
html, body {
  overflow-x: hidden;
}
.fullwidth-wrapper {
  width: 100vw;
  position: relative;
  overflow: hidden;
  margin-left: calc(-50vw + 50%);
}

.flickity-slider {
  width: 100%;
}
.flickity-viewport {
    overflow: visible !important;
}
.flickity-slider .car-card {
  width: 290px;
    background: #333333;
    
    padding: 0px;
    margin-right: 20px;
    color: #000;

  flex-shrink: 0;
}
.car-card h3 a {
    color: #ffffff;
    font-size: 20px;
}
.car_desc_2 {
    padding: 7px 15px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
height: 160px;
}
.catalog_all .car_desc_2 {
    min-height: 140px;
height: auto;
}
.car-image img {
  width: 100%;
      min-height: 140px;
}

h3 {
    font-size: 36px;
position: relative;
}
  h3 a {
    color: #fff;
    text-decoration: none;
}
.other_page h3 {
    margin: 30px 0 20px;
}
h3:after {
    background: var(--site-main-color);
    content: "";
    min-width: 150px;
    height: 0.5px;
    position: absolute;
    display: block;
    bottom: -3px;
}
.car-desc {
  font-size: 14px;
  color: #aaa;
  margin-bottom: 10px;
}

.car-features {
  display: flex;
  justify-content: flex-start;
    flex-wrap: wrap;    gap: 10px;
}

.car-feature {
  display: flex;
    flex-direction: row;

    align-items: center;
  font-size: 13px;
  color:#BABABA;
width: 85px;
}
.car-feature span {
    width: 100%;
}
.car-feature img {
  width: 40px;
  height: 40px;
  margin-bottom: 4px;
}
.car-price {
font-size: 19px;
    font-weight: 600;
    background: none;
    width: fit-content;
    
    color: #ffffff;
}

  span.km_cl {
    font-size: 10px;
}

h3.car-title {
    font-size: 24px;
    margin: 0px 0 20px;
    position: relative;
}
p.car-meta {
    color: #ffffff;
    font-size: 14px;
}




/*5 секция*/

/* --- ГЛОБАЛЬНОЕ --------------------------------------------- */
.offers-desc {
    font-size: 20px;
    font-size: 30px;
    color: #fff;
}

/* --- БАННЕР -------------------------------------------------- */
.container-fluid.fluid-banner h2.offers-title.black20 {
    margin: 0px;
    color: #fff;
    font-size: 30px;
    font-weight: 400;
}
.container-fluid.fluid-banner .offers-desc.black20 {
    color: #fff;
    font-size: 20px;
}
.button_style {
    display: flex;
    z-index: 9;
    justify-content: flex-end;
    position: relative;
}
.offers-banner {
    position: relative;
    max-width: 1700px;
    margin: 0 auto;
/*     background: url(banner-bg.jpg) center / cover no-repeat; */
    background-size: cover;
    overflow: visible;

    gap: 40px;
    padding: 60px 60px;
display: flex;
    flex-direction: column;
    justify-content: space-between;
height: 620px;
}
.container-fluid.fluid-banner .overlay {
    background: linear-gradient(108.66deg, rgba(0, 0, 0, 0.6) 14.4%, rgba(0, 0, 0, 0.552149) 28.03%, rgba(0, 0, 0, 0.315036) 40.22%, rgba(0, 0, 0, 0) 63.14%, rgba(0, 0, 0, 0.245028) 72.76%, rgba(0, 0, 0, 0.6) 81.1%);
}
/* --- Текст + кнопка ----------------------------------------- */
.offers-content {
  z-index: 2;               /* поверх фоновой картинки */
  max-width: 500px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 20px;
      align-items: flex-start;
    z-index: 9;
    align-items: flex-start;
    position: relative;
}

.fluid-banner {
    padding: 0px 30px 0px;
/*     background: #262626; */
}

/* --- Изображение автомобиля --------------------------------- */
.offers-car {
  position: absolute;
  right: -110px;     /* “выезд” за баннер */
    bottom: 50px;
  width: clamp(280px, 50vw, 947px);
  height: auto;
  pointer-events: none;
  user-select: none;
}

/* --- АДАПТИВ ------------------------------------------------- */

@media (max-width: 1023px) {
section.section-background .container {
    padding: 110px 50px;
    gap: 70px;
}
.offer-item {
    flex: 1 1 calc(43.333% - 20px);
}
.container.footer-extra-inner {

    flex-wrap: wrap;
}
  .offers-banner {
    padding: 40px 40px 120px; /* снизу больше места под картинку */
  }
  .offers-car {
    right: -40px;
    width: clamp(240px, 50vw, 500px);
  }
}

@media (max-width: 767px) {
  .offers-banner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 40px 20px;
  }
  .offers-content {
    align-items: center;
  }

  .offers-car {
    position: static;     /* убираем абсолют — станет частью потока */
    width: 100%;
    max-width: 320px;
    margin-top: 20px;
  }
}





/*Подвал */ 


.contacts-section {

 
  color: #ffffff;               /* белый текст */
  padding: 60px 0 0px;
}
footer.contacts-section h3:after {
    content: none;
}
.contacts-wrapper {
    position: relative;
}

/* ----------- левая колонка ----------- */
.contacts-left {
/*   flex: 0 1 640px;              фикс‑макс ширина текста  */
    max-width: 385px;
    width: 100%;
    background: #fff;
    color: #202020;
    border: 1px solid #207EC4;
    padding: 60px 40px;
position: absolute;
    left: 0px;
    top: 100px;
}

.contacts-title {
  font-size: clamp(18px, 3vw, 30px);
  margin: 0 0 16px;
}

.contacts-subtitle {
    font-size: 14px;
    line-height: 1.4;
    margin: 0 0 0px;
}

/* список контактов */
.contacts-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
    gap: 5px;
    display: flex;
    flex-direction: column;
}

.contacts-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    margin-bottom: 0px;
}

.contacts-list a {
  color: inherit;
  text-decoration: none;
}

.contacts-list a:hover {
  color: var(--site-main-color);        
}


/**/

.car-features.home_feat .car-feature {
    width: 32%;
    padding: 0px 5px 0px 0px;
}
.breadcrumbs {
    font-size: 14px;
    opacity: 1;
    color: #A9A9A9;
    font-family: 'FuturaPT';
margin: 26px 0px 0px;
}.breadcrumbs a {
    text-decoration: none;
    color: #a9a9a9;
}
/* базовая сетка */
section.portfolio {
    margin-top: 50px;
}
.product-head{display:flex;gap:30px;flex-wrap:wrap; width:100%}
.product-gallery .hero-nav {
	top: 45%;}
.product-gallery{flex:0 0 60%; width: 50%;     overflow: hidden;    position: relative;}
.product-info   {flex:1 1 37%;display:flex;flex-direction:column;gap:45px;    background: #00000059;
    padding: 45px 35px;
    }


/* правая колонка */

.product-title {
    margin: 0;
    font-size: 36px;
    position: relative;
    color: #fff;
}
.product-title:after {
    background: var(--site-main-color);
    content: "";
    min-width: 300px;
    height: 1px;
    position: absolute;
    display: block;
    bottom: -12px;
}
.breadcrumbs{font-size:14px;opacity:.7}

.product-specs{display:flex;gap:16px;flex-wrap:wrap}
.spec{display:flex;align-items:center;gap:6px;font-size:14px}
.price_nalichie {
    display: flex;
    justify-content: space-between;
}
.product-status{display:flex;align-items:center;gap:5px;font-size:21px}
.in-stock span {
    color: #ffffff;
    font-size: 16px;
}
.on-way  span{    color: #ffffff;
    font-size: 16px;}

.product-buy{display:flex;align-items:center;gap:60px}
.product_price {
  font-size: 35px;
  font-weight: 400;
  color: #207EC4;
  position: relative;
  display: inline-block; /* важно для ::after */
  cursor: default; /* по желанию, если это не ссылка */
  transition: all 0.9s;
  overflow: hidden;
}

section.portfolio .in-stock span {
    color: #fff;
    font-size: 20px;
}

section.portfolio .product-status.in-stock {
    gap: 20px;
}

section.portfolio .product-status.in-stock img {
    width: 10px;
}
.product_price::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 1px; /* можно подстроить под размер шрифта */
  width: 0%;
  height: 2px;
  background-color: #207EC4;
  transition: width 0.9s ease;
}

.product_price:hover::after {
  width: 100%;
}



.product-info-block {
    display: flex;
    gap: 30px;
    flex-direction: column;
}


a.hero-button.single_button {
    padding: 16px 30px 17px;
    font-size: 20px;
    transition: all 0.3s;
    border: 1px solid;
    
    border-color: var(--site-main-color);
}

a.hero-button.single_button:hover {
    background: #ffffff00;
    transition: all 0.3s;
}

/* главная */
.carousel-main .carousel-cell{
  width:100%;      /* каждый кадр занимает всю ширину,
                      поэтому видно ровно один */
}
.carousel-main img{
  width:100%; display:block; 
}

/* превью */
.carousel-nav .carousel-cell{ width: 17.1%;    padding: 20px 20px 0px 0px;    cursor: pointer;}
.carousel-nav img{ width:100%;  opacity:.6; transition:.3s; }
.carousel-nav .is-nav-selected img{ opacity:1; }

/* иконки — можно заменить на свои SVG‑inline или font‑icon */
.ci {
  display: inline-block;
  width: 35px;
  height: 35px;
  background-size: contain;
  background-repeat: no-repeat;
}
.ci-map   { background-image: url('/wp-content/uploads/2025/06/map-svgrepo-com-1.svg'); }
.ci-phone { background-image: url('/wp-content/uploads/2025/06/phone-mobile-svgrepo-com-1.svg'); }
.ci-mail  { background-image: url('/wp-content/uploads/2025/06/mail-svgrepo-com-1.svg'); }

/* заголовок блока соцсетей */
.contacts-soc-title {
    font-size: 16px;
    margin: 0 0 15px;
    font-weight: 400;
}
.foot-cont {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    color: #fff;
    font-size: 14px;
  align-items: center;
  width: 100%;
}
.fluid_cont {
    display: flex;
    background: #041931;
    padding: 20px 0px;
    align-items: center;
}
/* иконки соцсетей */
.contacts-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contacts-socials img {
  width: 36px;
  height: 36px;
  transition: transform 0.3s ease;
}

.contacts-socials a:hover img {
  transform: scale(1.15);
}

/* ----------- правая колонка с картой ----------- */
.contacts-map {
  flex: 1 1 560px;
}

.contacts-map iframe {
    width: 100%;
    height: 610px;
    border: 0;
    
  
}

.contacts-map {
    width: 100%;
}
/* ---------- адаптив ---------- */
@media (max-width: 1400px) {
	
	.hero-title {
    font-size: 58px;
}
.hero-content {
    max-width: 80%;
}
	.flex-image {
    max-width: 460px;
}

}
@media (max-width: 1300px) {

	.product_price {
    font-size: 27px;
}
.product-buy {
    gap: 40px;
}
	
}

@media (max-width: 1024px) {
.container.contact-flex {
    flex-direction: column;
}
    .flex-image {
        max-width: 100%;
    }
    .flex-row {
        gap: 30px;
        justify-content: center;
    }
    .title-h2 {
        font-size: 36px;
    }
    .bodysite {
        font-size: 20px;
    }
  .contacts-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .contacts-left,
  .contacts-map {
    flex: none;
  }

  .contacts-map iframe {
    height: 380px;
  }
}

@media (max-width: 768px) {
    .flex-row {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .flex-content {
        align-items: center;
        text-align: center;
    }
    .title-h2 {
        font-size: 28px;
    }
    .bodysite {
        font-size: 18px;
    }
}


/* мобильный */
@media(max-width:768px){
  
  
  /*трейд ин*/
  .offers-title {
    font-size: 27px;
}
.offers-subtitle {
    font-size: 21px;
}
.after-hero .offer-item {
    padding: 20px 20px;
}
.after-hero .offer-text.sub_title_offer {

    font-size: 19px;
}

.finance_section .offer-item {
    padding: 5px 0px;
max-width: 48%;
}
.finance_section .offer-text.sub_title_offer {
    font-size: 19px;

}

.finance_section .offer-text {
    font-size: 16px;
        max-width: 100%;
}
.finance_section .offer-icon img {
    width: 100%;
    height: 130px;
}
.finance_section_two .offers-grid.new-grid {
        display: flex;
        flex-direction: column;
    justify-content: flex-start;
align-items: center;
}
.offer-content {
   gap: 5px;
          flex-direction: column;
}
.finance_section .offer-main {
    width: 100%;
    text-align: center;
}
  /**/
  
  
  .product-head{flex-direction:column}
  .product-gallery,.product-info{flex:1 1 100%}
 
}



h3.white.title_preim {
    font-size: 26px;
}


/* Кнопка (гамбургер) 
   По умолчанию скрываем, на мобильных покажем в @media 
*/
.menu-toggle {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  padding: 8px 2px 8px 12px;
}

/* ==================== */
/*  Адаптивная часть    */
/* ==================== */
@media (max-width: 768px) {
  
  /* Показываем кнопку на мобильных */
  .menu-toggle {
    display: inline-block;
  }
h1.title-pages {
    font-size: 36px;

}
  /* Делаем меню фиксированным, за экраном слева */
  #primary-menu {
    display: block; /* или flex, если хотите расположить элементы вертикально/горизонтально */
    position: fixed;
    top: 0;
    left: 0;
    width: 70%; /* ширину на ваше усмотрение */
    height: 100%;
    background: #1a1a1a;
    transform: translateX(-100%); /* сдвинуто за левый край */
    transition: transform 0.3s ease;
    z-index: 9999; /* чтобы было поверх контента */
    padding: 20px; /* отступы внутри */
  }

  /* Теперь пункты меню в столбик */
  #primary-menu ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  /* Когда меню активно (is-active), выезжает на экран */
  #primary-menu.is-active {
    transform: translateX(0);
  }
}

/* На экранах больше 768px меню видно всегда, 
   а кнопку скрываем (десктопное отображение).
*/
@media (min-width: 769px) {
  .menu-toggle {
    display: none;
  }

  #primary-menu {
    position: static;
    transform: none;
    background: transparent;
    height: auto;
  }

  /* Горизонтальное меню */
  #primary-menu ul {
    display: flex;
    flex-direction: row;
align-items: center;
  }
}






@media (max-width: 1140px) {
  .product-title {
    font-size: 27px;
}
.car-features.single_tovar img {
    width: 42px;
    height: 42px;
}
.car-features.single_tovar .car-feature {
    font-size: 13px;
    width: 70px;
    gap: 8px;
}
.product-status {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 17px;
}
.product-status.in-stock img {
    width: 19px;
}
.product-info {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #00000059;
    padding: 45px 35px;
    
}
.product-gallery {
    flex: 0 0 100%;
    width: 100%;
    overflow: hidden;
}
.product_price {
/*     font-size: 14px;
    font-weight: 400;
    color: #fff; */
  
}

}
@media (max-width: 820px) {
.hero-slider {
    height: 540px;
}
  
  .product-gallery {
    flex: 0 0 100%;
    width: 100%;
    overflow: hidden;
}
    .carousel-main.flickity-enabled.is-draggable {
        min-height: 100%;
    }
.carousel-nav.flickity-enabled.is-draggable {
    height: 100px;
}
.hero-title {
    font-size: 34px;
}
.third-left-item {

    align-items: center;
    gap: 16px;
    flex-direction: column;
    text-align: center;
}
}
@media (max-width: 1665px) {
  .offers-car {
    right: -30px;
}
}

@media (max-width: 1550px) {
  #primary-menu li a {
    font-size: 14px;
}
#primary-menu li {
    margin-right: 10px;
}
.offers-car {
    right: 0px;
}
}

  @media (max-width: 1700px) {
.contacts-socials-main {
    margin-bottom: 50px;
}
  .catalog_all {
padding: 0px 30px;
}

.search-filter-query-posts {

    max-width: 1000px;
}




svg.hamburger-icon {
    stroke: #fff;
}
.container {
    padding: 0px 30px;
}
section.section-background .container {
    padding: 110px 50px;
    gap: 70px;
}
.container.head {
    padding: 25px 30px;
        flex-wrap: wrap;
}   
    .car-features.single_tovar > .car-feature {
        max-width: 220px;
        width: calc(47% - 4px);
        font-size: 17px;
    }
.car-features {

    gap: 0px;
    row-gap: 10px;
}


}

/* Адаптив для мобильных устройств */
@media (max-width: 768px) {
    .hero-content {
        max-width: 100%;

gap:15px;
    }

 .product-buy{flex-direction:row;align-items:center;}
    .car-features.single_tovar > .car-feature {
        max-width: 260px;
        width: calc(49% - 4px);
        font-size: 17px;        gap: 18px;

    }
    .car-features.single_tovar img {
        width: 32px;
        height: 32px;
    }
.small-block.small-block-text .content {
    padding: 20px;
}
.small-block-text p {
    font-size: 13px;
    color: #ffffff;
    margin-bottom: 20px;
    width: 100%;
}
.wpcf7.js {
    padding: 20px;
}
.title_form {
    font-size: 16px;
    margin-bottom: 10px;
    text-align: center;
}
.sub_title_form {
    font-size: 14px;
}
.title_form_label input {
    width: 100%;
    
    height: 30px;
}
  .title_form_label {
    margin: 0px 0px;
}
.row {
    height: 370px;
}
.right-card {

    max-width: 480px;
}
  .news_text {
    padding: 0px 0px;
}

.facetwp-template.car-grid.flickity-slider {
    display: flex;
    flex-direction: column;
    align-items: center;        width: 100%;
}


.search-filter-query-posts {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}

.team-bg {
    background-image: none !important;
}
h3 {
    font-size: 21px;
}
.team-section {
    padding: 21px 0px;
}
.container.other_page p {
    font-size: 16px;
    margin-bottom: 0px;
}
/* .hero-content {
    min-height: 400px;
} */
  .socials-title{
    display:none;
  }
.home_scene {

    padding: 20px 0px 0px;
   gap: 15px;
    flex-direction: column;
}
.title_page {
    font-size: 18px;
    margin-bottom: 10px;
}
.hero-description
 {
    font-size: 15px;
    margin-bottom: 40px;

}
  .contacts-socials.contacts-socials-header a {
    width: 50px;
}
.contacts-socials {
    gap: 0px;
}

.news-featured-bg {
    max-height: 160px;
}
  .news_info a {
    font-size: 26px;
}
  .news_info p {
    font-size: 16px;
}
  .news_item {

    gap: 10px;
}
  .news_info h2 {
    margin-bottom: 15px;
}
  .featured-container {
    display: block; /* Меняем на блочное, чтобы всё шло вертикально */

  }

  .left_side,
  .right_side {
    width: 100% !important; /* Растягиваем на всю ширину экрана */
    flex: none;            /* Сбрасываем флекс-ограничения */
    
  }

  /* Правые блоки теперь тоже складываем в столбец */
  .second_and_third,
  .four_and_five {
    display: block;
  }

  /* Каждый отдельный .featured-item становится на всю ширину */
  .second_and_third .featured-item,
  .four_and_five .featured-item {
    width: 100%;
    flex: none; 
  }
  .featured-item{
    height:500px;
  }
  /* При желании можно чуть уменьшить размеры ссылки */
  .featured-link {
    bottom: 10px;
    left: 10px;
    font-size: 16px;
    padding: 8px 16px;
  }
.offers-banner {
    background-position: center;
}

@media (max-width: 599px) {
    .offer-item {
        flex: 1 1 calc(98.333% - 20px);
        max-width: 100%;
    }
  .offers-grid {
/*     flex-wrap: wrap;
    gap: 25px; */
}
    .hero-slider {
        height: 440px;
    }

.home_scene.fin_scene {
    height: auto;
}
.home_scene.fin_scene .overlay {
    background: linear-gradient(215deg, rgb(0 0 0 / 56%) 30%, rgb(0 0 0 / 69%) 50%, rgba(0, 0, 0, 0.9) 100%);
}
	section.offers-section.finance_section.finance_section_two .offer-item {
    MAX-WIDTH: 100%;
		    width: 100%;
}
.page-template-tradein .offer-item {
    max-width: 47%;
}
.finance_section .offer-text.sub_title_offer
 {
    height: 70px;
}
	section.offers-section.finance_section.finance_section_two {

    height: auto;
}
.video-sound-toggle {
    position: absolute;
    bottom: -4px;
    right: 0px;
    z-index: 10;
    cursor: pointer;
}
.contacts-left {
    max-width: 100%;
    width: 100%;
    background: #fff;
    color: #202020;
    border: 1px solid #207EC4;
    padding: 60px 40px;
    position: relative;
    left: 0px;
    top: -30px;
}
.container-fluid.fluid-banner .overlay {
    background: linear-gradient(174deg, rgba(0, 0, 0, 0.6) 14.4%, rgba(0, 0, 0, 0.552149) 28.03%, rgba(0, 0, 0, 0.315036) 40.22%, rgba(0, 0, 0, 0) 63.14%, rgba(0, 0, 0, 0.245028) 72.76%, rgba(0, 0, 0, 0.6) 81.1%);
}
.contacts-map {
    height: 300px;
}
    .title_form_label {
        margin: 20px 0px;
    }
    .title_form {
        font-size: 23px;
    }.title_form_label_check_main {
    margin-bottom: 20px;
}
.wpcf7.js {
    justify-content: center;  padding: 40px 20px;
}
.hero-flex {
 
    flex-direction: column;
}
    .title_form_label input {
        height: 60px;
    }


  .row.row-1.fince_dow .content, .row.row-2.fince_dow_two .content {

    justify-content: flex-start;
}
    .hero-title {
        font-size: 24px;
    margin-bottom: 10px;
    }
    .hero-content {
/*         display: none; */
/* 
        bottom: -80px; */
        left: 0px;
    }
    .home_scene {
        overflow: visible;
    }
.hero-button {
            width: 100%;
}.small-block.small-block-text .content {
    min-height: 200px;
}
.exclusive-block .content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.hero-nav {
        right: 0px;
        bottom: -80px;
}.container.and_social {
    padding: 0px 15px 0px;
            background-size: cover;
            background-position: center;
}
.hero-nav button {
        width: 31px;
        height: 31px;
}
  .contacts-section {
    padding: 60px 0;
  }

  .contacts-title {
    font-size: 32px;
  }

  .contacts-subtitle {
    font-size: 14px;
  }

  .contacts-list li {
    font-size: 16px;
  }

  .contacts-socials img {
    width: 32px;
    height: 32px;
  }

  .contacts-map iframe {
    height: 360px;
  }



.row {
    height: auto;
    flex-direction: column;
}
.content {
    height: 240px;
}
    .car-features.single_tovar img {
        width: 25px;
        height: 25px;
    }
    .product_price {
        font-size: 20px;
    }

    .product-buy {
        gap: 20px;
    }
.product-title:after {

    min-width: 80px;
}
.single-tovary .other_page h3 {
    font-size: 22px;
    font-weight: 400;
}
    .container.other_page p {
        font-size: 14px;
    }
}

@media (max-width: 400px) {
.product-info-block {
    margin-top: 40px;
}
    .car-features.single_tovar > .car-feature {
        max-width: 260px;
        width: calc(99% - 4px);
        font-size: 22px;
        gap: 28px;
    }
    .car-features.single_tovar img {
        width: 30px;
        height: 30px;
    }
    .offers-grid {
        flex-wrap: wrap;
        gap: 15px;
    }
.offer-item {

    max-width: 120px;
    width: 120px;
}
}


@media(max-width:480px){
  .carousel-nav .carousel-cell{ width:33.333%; }
}


article.news_full {
    width: 100%;
}
@media (max-width: 440px) {
.filters {

/*     margin: 0px 20px; */
}
.facetwp-template.car-grid.flickity-slider .car-card {

    width: 380px;
    max-width: 390px;
}
.header-adress {
    font-size: 10px;
}
.header-phone__link {
    font-size: 15px;
}
  .header-logo img {
    max-width: 120px;
}
  .single .container.other_page {
    padding: 10px 30px 40px;
        max-width: 100%;
margin: 30px;
}
  
  
  .news-featured-overlay h1 {
    font-size: 21px;
}

.container.single_news.other_page .news_text p {
    font-size: 15px;
}
}


