

/* Start:/local/components/new.site/catalog.detail/templates/.default/style.css?17639975188026*/
.car-page {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: #f5f5f5;
}

.car-page h1 {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.car-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 30px;
}

.car-image-section {
    flex: 0 0 60%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.car-image-main {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

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

.car-thumbnails {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.car-thumbnails img {
    width: 30%;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.car-thumbnails img:hover {
    transform: scale(1.05);
}

.car-info-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.car-details,
.benefits {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.car-details h2,
.benefits h2 {
    font-size: 25px;
    margin-bottom: 10px;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.car-specs {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 20px;
}

.car-specs p {
    display: contents;
}

.car-specs span:first-child {
    font-weight: 600;
    color: #333;
    padding-right: 10px;
}

.car-specs span:last-child {
    color: #777;
    opacity: 0.85;
    text-align: center;
}

.car-price {
    font-size: 20px;
    color: #555;
    margin: 25px 0 20px;
}

.car-price strong {
    font-size: 30px;
    font-weight: 700;
    color: #333;
}

.btn-get-car {
    display: block;
    background: #FFC107;
    color: #000;
    text-align: center;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s;
    font-size: 16px;
}

.btn-get-car:hover {
    background: #e6b000;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.benefit-item:last-child {
    margin-bottom: 0;
}

.benefit-svg {
    width: 50px;
    height: 50px;
    background: #000;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-sizing: border-box;
}

.benefit-text {
    font-size: 18px;
    line-height: 1.5;
}

.gallery-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

#modalImage {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: rgba(255,255,255,0.4);
}

.prev { left: 20px; }
.next { right: 20px; }

/* === Блок описания — ВНЕ контейнера, на всю ширину === */
.car-description {
        max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'HeliosExtC', Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 30px;
}

.car-description p {
    margin: 0 0 15px;
}

.car-description p:last-child {
    margin-bottom: 0;
}

/* === АДАПТИВ ДЛЯ МОБИЛЬНЫХ (до 968px) === */
@media (max-width: 968px) {
    .car-page {
        padding: 15px;
        margin: 15px auto;
    }

    .car-page h1 {
        font-size: 24px;
        text-align: center;
    }

    .car-container {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    .car-image-section,
    .car-info-section {
        flex: none;
        width: 100%;
    }

    .car-thumbnails {
        justify-content: center;
    }

    .car-thumbnails img {
        min-width: 80px;
    }

    .car-details h2,
    .benefits h2 {
        text-align: center;
    }

    .car-price {
        text-align: center;
        font-size: 18px;
        margin: 20px 0;
    }

    .car-price strong {
        font-size: 24px;
    }

    .btn-get-car {
        padding: 14px;
        font-size: 16px;
    }

    .benefit-svg {
        width: 40px;
        height: 40px;
        padding: 6px;
    }

    .benefit-text {
        font-size: 16px;
    }

    .car-description {
        padding: 20px;
        font-size: 16px;
        line-height: 1.5;
    }
}

/* === Адаптация для средних экранов (969px – 1350px) === */
@media (min-width: 969px) and (max-width: 1350px) {
    .car-container {
        display: grid;
        grid-template-columns: 60% 1fr;
        grid-template-rows: auto 1fr; /* вторая строка — растягивается */
        grid-template-areas:
      "image-main details"
      "thumbnails benefits";
        gap: 20px 30px;
        margin-bottom: 30px;
        align-items: start;
    }

    .car-image-section,
    .car-info-section {
        display: contents;
    }

    .car-image-main-wrapper {
        grid-area: image-main;
    }

    .car-thumbnails-wrapper {
        grid-area: thumbnails;
        display: flex;
        flex-direction: column;
    }

    .car-thumbnails {
        flex: 1;
        display: flex;
        gap: 10px;
        justify-content: space-between;
    }

    .car-thumbnails img {
        width: 30%;
        object-fit: cover;
        border-radius: 8px;
        cursor: pointer;
        transition: transform 0.2s;
        flex-shrink: 0;
    }

    .car-details-wrapper {
        grid-area: details;
    }

    .benefits-wrapper {
        grid-area: benefits;
        display: flex;
        flex-direction: column;
        height: 100%; /* растягиваем по высоте строки */
    }

    .car-details,
    .benefits {
        background: white;
        padding: 25px;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .benefits {
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 10px;
        padding: 10px;
        flex: 1;
    }

    .benefit-item {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        flex: 1;
        min-width: 0; /* важно для корректного сжатия */
        margin-bottom: 0;
    }

    .benefit-svg {
        width: 30px;
        height: 30px;
        padding: 6px;
        background: #000;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .benefit-text {
        font-size: 16px;
        line-height: 1.4;
        color: #333;
        margin: 0;
        overflow: hidden;
        /* УБРАНО: -webkit-line-clamp — чтобы текст не обрезался */
        /* Вместо этого — разрешаем перенос и растягиваем по высоте */
    }

    .car-page h1 { font-size: 26px; }
    .car-specs { font-size: 20px; gap: 20px; }
    .car-price { font-size: 25px; margin: 15px 0; }
    .car-price strong { font-size: 40px; }
    .btn-get-car {
        font-size: 20px;
        padding: 12px 16px;
    }
}
/* End */


/* Start:/local/components/new.site/preimushchestva/templates/.default/style.css?17640788445205*/
.preimushchestva-component-wrapper {
    background-color: #1A1919; /* Фон на всю ширину */
    padding: 60px;
}

.advantages-section {
  background: #1A1919;
  text-align: center;
  font-family: 'HeliosExtC', Arial, sans-serif;.advantages-title
}

.advantages-title {
  font-size: 2.3rem;
  font-weight: 700;
  color: white;
  margin: 0 auto;
    max-width: 1200px;
    text-align: left;
    padding-bottom: 30px;
}

/* Центрируем сетку на больших экранах */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

.advantage-card {
  background: white;
  padding: 30px 20px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08); 

  /* === ФИКСИРУЕМ РАЗМЕРЫ === */
  width: 90%; /* Фиксированная ширина */
  height: 160px; /* Фиксированная высота */
  min-height: 165px; /* Защита от сжатия */
}

.advantage-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

.advantage-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 12px;
}

.advantage-text {
  font-size: 20px;
  line-height: 1.45;
}

/* === ПЛАНШЕТНАЯ ВЕРСИЯ: 2 карточки + карусель === */

@media (min-width: 577px) and (max-width: 992px) {
  .advantages-section {
    padding: 40px 10px;
  }
  .preimushchestva-component-wrapper {
    padding: 0px;
  }

  .advantages-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .advantages-grid {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 15px;
    padding-bottom: 15px;
    flex-wrap: nowrap;
    width: 100%;
    padding: 0 5px;
    scrollbar-width: none;
  }

  .advantages-grid::-webkit-scrollbar {
    display: none;
  }

  .advantage-card {
    /* === ФИКСИРУЕМ РАЗМЕРЫ === */
    width: 300px; /* Фиксированная ширина */
    height: 250px; /* Фиксированная высота */
    min-width: 300px; /* Защита от сжатия */
    min-height: 250px; /* Защита от сжатия */
    padding: 20px 15px;
    flex-shrink: 0;
    box-sizing: border-box;
    background: white;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  .advantage-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
  }

  .advantage-text {
    font-size: 1rem;
    color: #333;
    line-height: 1.4;
    font-weight: 500;
  }

  /* Полоса прогресса */
  .scroll-indicator {
    height: 6px;
    background: #333;
    border-radius: 3px;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
  }

  .scroll-indicator .progress-bar {
    height: 100%;
    background: #FFD700;
    width: 50%; /* Начальная ширина — 50% */
    border-radius: 3px;
    transition: width 0.3s ease;
  }
}

@media (max-width: 576px) {
  .advantages-section {
    padding: 40px 15px;
  }
  .preimushchestva-component-wrapper {
    padding: 0px;
  }

  .advantages-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .advantages-grid {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 15px;
    padding-bottom: 15px;
    flex-wrap: nowrap;
    width: 100%;
    padding: 0;
    scrollbar-width: none;
  }

  .advantages-grid::-webkit-scrollbar {
    display: none;
  }

  .advantage-card {
    /* === ФИКСИРУЕМ РАЗМЕРЫ === */
    width: 200px; /* Фиксированная ширина (чуть меньше для мобилки) */
    height: 200px; /* Фиксированная высота */
    min-width: 20px; /* Защита от сжатия */
    min-height: 20px; /* Защита от сжатия */
    padding: 30px 15px;
    flex-shrink: 0;
    box-sizing: border-box;
    background: white;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  .advantage-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
  }

  .advantage-text {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.4;
    font-weight: 500;
  }

  /* Контейнер для динамической полосы прокрутки */
  .scroll-indicator {
    height: 6px;
    background: #333; /* Тёмный фон */
    border-radius: 3px;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
  }

  .scroll-indicator .progress-bar {
    height: 100%;
    background: #FFD700;
    width: 30%; /* Начальная ширина — 30% */
    border-radius: 3px;
    transition: width 0.3s ease; /* Плавное изменение ширины */
  }
}
/* End */


/* Start:/local/components/new.site/opisanie/templates/.default/style.css?17640788781344*/
.new-text-section {
  background: #E8E8E8;
  width: 100vw; /* Растягиваем фон на всю ширину окна */
  margin-left: 50%; /* Смещаем влево на 50% */
  transform: translateX(-50%); /* Центрируем обратно */
  box-sizing: border-box;
}

.new-text-content {
  max-width: 1200px; /* Ограничение ширины текста */
  margin: 0 auto; /* Центрирование */
  padding: 60px; /* Отступы внутри */
  font-family: 'HeliosExtC', Arial, sans-serif;
  line-height: 1.6;
}

.new-text-content p {
  margin: auto;
  font-size: 20px;
}

.new-text-content h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 2em 0 1em;
  color: #000;
}

.new-text-content h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 1.5em 0 0.8em;
  color: #000;
}

.new-text-content ul,
.new-text-content ol {
  margin: 1em 0 1.2em 1.5em;
  padding-left: 0;
}

.new-text-content ul li,
.new-text-content ol li {
  margin-bottom: 0.5em;
  font-size: 20px;
}

/* Адаптивность */
@media (max-width: 768px) {
  .new-text-content {
    padding: 30px 20px;
  }

  .new-text-content h2 {
    font-size: 1.6rem;
    margin: 0.5em 0 0.5em;
  }

  .new-text-content h3 {
    font-size: 1.2rem;
  }

  .new-text-content p,
  .new-text-content li {
    font-size: 0.95rem;
  }
}
/* End */


/* Start:/local/components/new.site/katalog-karusel/templates/.default/style.css?17639898284592*/
/* === Защита от скролла === */


/* === Обёртка === */
.car-catalog-component-wrapper {
    background-color: #f5f5f5;
    width: 100%;
    font-family: 'HeliosExtC', Arial, sans-serif;
}

.new-catalog-section.carousel-section {
    background-color: #f5f5f5;
    padding: 30px 0 40px;
    margin: 0;
}

.new-catalog-title {
    color: #333;
    font-size: 28px;
    font-weight: bold;
    margin: 30px auto 24px;
    text-align: center;
    padding: 0 16px;
}

/* === Карточка === */
.new-car-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    min-width: 0;
}

.new-car-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    background-color: #eee;
}

.new-car-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.new-car-name {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.new-car-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
    font-size: 15px;
    color: #666;
}

.new-car-spec-label {
    font-weight: bold;
    color: #333;
}

.new-car-price {
    font-size: 20px;
    margin: 12px 0 16px;
    color: #333;
}

.new-car-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 20px 20px;
}

.new-btn-primary,
.new-btn-secondary {
    width: 100%;
    padding: 18px;
    font-size: 15px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
}
.new-btn-primary { background-color: #FFD700; color: #000; border: none; }
.new-btn-primary:hover { background-color: #FFC107; }
.new-btn-secondary { background-color: #fff; color: #000; border: 2px solid #FFD700; }
.new-btn-secondary:hover { background-color: #FFF9DB; }

/* === Карусель === */
.carousel-full-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 20px;
    margin: 0;
}

.carousel-container {
    overflow: hidden;
    flex-shrink: 0;
}

.carousel-slides {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    margin: 0;
    padding: 0;
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: #ddd;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}
.carousel-btn:hover { background: #ccc; }

/* ========================================================================== */
/* АДАПТИВНЫЕ РЕЖИМЫ */
/* ========================================================================== */

/* МОБИЛЬНЫЙ: ≤768px → 1 карточка */
@media (max-width: 768px) {
    .carousel-full-container { padding: 0 6px; gap: 8px; }
    .carousel-container { max-width: calc(100% - 60px); flex: 1; }
    .carousel-slides { gap: 0; width: 100%; }
    .new-car-card { width: 100%; }
    .new-car-image { height: 200px; }
    .carousel-btn { width: 34px; height: 34px; font-size: 16px; }
    .new-car-info { padding: 18px; }
    .new-car-buttons { padding: 0 18px 18px; }
    .new-btn-primary,
    .new-btn-secondary { padding: 15px; font-size: 16px; }
}

/* ПЛАНШЕТ / МАЛЕНЬКИЙ ДЕСКТОП: 769–1299px → 2 карточки */
@media (min-width: 769px) and (max-width: 1299px) {
    .carousel-full-container { gap: 16px; padding: 0 16px; }
    .carousel-container {
        width: calc(2 * 340px + 16px);
    }
    .carousel-slides { gap: 16px; }
    .new-car-card { width: 340px; }
    .new-car-image { height: 190px; }
    .carousel-btn { width: 40px; height: 40px; font-size: 18px; }
    .new-car-info { padding: 18px; }
    .new-car-name,
    .new-car-price { font-size: 19px; }
    .new-car-buttons { padding: 0 16px 16px; }
    .new-btn-primary,
    .new-btn-secondary { padding: 15px; font-size: 15px; }
}

/* БОЛЬШОЙ ДЕСКТОП: ≥1300px → 3 карточки */
@media (min-width: 1300px) {
    .carousel-full-container { gap: 20px; padding: 0 20px; }
    .carousel-container {
        width: calc(3 * 360px + 2 * 20px);
    }
    .carousel-slides { gap: 20px; }
    .new-car-card { width: 360px; }
    .new-car-image { height: 220px; }
}
/* End */


/* Start:/local/components/new.site/form/templates/.default/style.css?17639998986420*/
.b24-form-content form {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: flex-end !important;
    gap: 10px !important;
    justify-content: space-between !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

.b24-form-content form > div:first-child {
    display: flex !important;
    gap: 15px !important;
    flex: 1 !important;
    margin-bottom: 0 !important;
}

.b24-form-content form > div:first-child > div {
    flex: 1 !important;
    margin-bottom: 0 !important;
}

.b24-form-btn-container {
    flex-shrink: 0 !important;
    margin-bottom: 0 !important;
    width: auto !important;
}

.b24-form-btn-block {
    margin-bottom: 0 !important;
}

/* Адаптивность */
@media (max-width: 768px) {
    .b24-form-content form {
        flex-direction: column !important;
    }

    .b24-form-content form > div:first-child {
        flex-direction: column !important;
    }

    .b24-form-btn-container {
        width: 100% !important;
    }
}

/* Мобильная версия */
@media (max-width: 768px) {
    .b24-form-content form > div:nth-child(1) {
        flex-direction: column;
    }
}

.b24-form-wrapper {
    min-height: auto !important;
    max-width: none !important;
    background-color: #1A1919 !important; /* Цвет фона изменён */
}

.new-crm-form-wrapper, .b24-form {
    background-color: #1A1919 !important; /* Цвет фона изменён */
    padding: 60px !important;
    text-align: center !important;
    font-family: 'HeliosExtC', Arial, sans-serif;
    color: #fff !important;
}

.b24-form {
    padding: 0px !important;
}

.new-crm-form-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
    text-align: left; /* Заголовок по левому краю */
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
}

.new-crm-form-row {
    display: flex !important;
    gap: 10px !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    max-width: 900px !important;
    margin: 0 auto !important;
    flex-wrap: nowrap !important;
}

.new-crm-field, .b24-form-control-container {
    position: relative !important;
    flex: 1 1 0 !important;
    min-width: 150px !important;
    display: flex !important;
    flex-direction: column !important;
}

.new-crm-label {
    display: block;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 5px;
    text-align: left;
}

.new-crm-input, .b24-form-control {
    padding: 12px 15px !important;
    border: 1px solid #555 !important;
    border-radius: 6px !important;
    background-color: #fff !important;
    color: #000 !important;
    font-family: 'HeliosExtC', Arial, sans-serif !important; /* Шрифт добавлен */
    font-size: 14px !important; /* Установлен размер шрифта */
    transition: border-color 0.2s !important;
    height: 44px !important; /* Фиксированная высота */
    box-sizing: border-box !important;
}

.b24-form-control-label {
    text-align: left !important;
}

.new-crm-input:focus {
    outline: none;
    border-color: #FFD700;
}

.new-crm-button, .b24-form-btn {
    height: 44px !important; /* Та же высота, что и у полей */
    padding: 0 20px !important; /* Убираем вертикальный padding */
    background-color: #FFD700 !important;
    color: #000 !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: background-color 0.2s !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 180px !important;
    min-height: auto !important;
    font-family: 'HeliosExtC', Arial, sans-serif !important; /* Шрифт добавлен */
    font-weight: 600 !important;
    font-size: 14px !important;
    line-height: 22px !important;
}

.new-crm-button:hover {
    background-color: #FFC107;
}

.new-crm-policy {
    font-size: 8px;
    color: #aaa;
    margin-top: 5px;
    text-align: end;
    line-height: 1.4;
    max-width: 1000px;
    margin: 5px auto 0;
}

.b24-form-wrapper.b24-form-shadow {
box-shadow: none !important;
}

/* Адаптивность для планшета */
@media (max-width: 1024px) and (min-width: 769px) {
    .new-crm-form-wrapper {
        padding: 30px 15px;
    }

    .new-crm-form-title {
        font-size: 20px;
        text-align: center;
        margin-left: 0;
        margin-right: 0;
    }

    .new-crm-form-row {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .new-crm-field {
        min-width: auto;
    }

    .new-crm-input, .b24-form-control {
        padding: 10px 12px !important;
        font-size: 13px !important;
        height: 42px !important; /* Адаптивная высота */
    }

    .new-crm-button, .b24-form-btn {
        height: 42px !important; /* Та же высота */
        padding: 0 15px !important;
        font-size: 14px !important;
        min-width: auto !important;
        width: 100%;
        align-self: stretch;
    }

    .new-crm-policy {
        text-align: left;
        margin-top: 8px;
    }
}

/* Адаптивность для телефона */
@media (max-width: 768px) {
    .new-crm-form-wrapper {
        padding: 20px 10px;
    }

    .new-crm-form-title {
        font-size: 18px;
        text-align: center;
        margin-left: 0;
        margin-right: 0;
    }

    .new-crm-form-row {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .new-crm-field {
        min-width: auto;
    }

    .new-crm-input, .b24-form-control {
        padding: 8px 10px !important;
        font-size: 12px !important;
        height: 40px !important; /* Адаптивная высота */
    }

    .new-crm-button, .b24-form-btn {
        height: 40px !important; /* Та же высота */
        padding: 0 12px !important;
        font-size: 12px !important;
        min-width: auto !important;
        width: 100%;
        align-self: stretch;
    }

    .new-crm-policy {
        font-size: 11px;
        text-align: left;
        margin-top: 8px;
    }
}
/* End */


/* Start:/local/components/new.site/map/templates/.default/style.css?17640005823010*/
    #map {
        width: 100%;
        height: 500px; /* Базовая высота */
        position: relative;
    }
    .info-panel {
        position: absolute;
        top: 55%; /* Базовая позиция для больших экранов */
        left: 35%; /* Базовая позиция для больших экранов */
        transform: translate(-50%, -50%); /* Центрируем по вертикали и горизонтали относительно своей позиции */
        background: #1A1919;
        color: white;
        padding: 20px 50px 20px 40px; /* Изменили padding как в вашем коде */
        border-radius: 8px;
        max-width: 280px;
        font-family: 'HeliosExtC', Arial, sans-serif;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
        z-index: 1000;
        margin-top: -60px; /* При необходимости можно убрать или изменить */
        font-size: 16px;
    }

    /* Адаптив для info-panel */
    @media (max-width: 1400px) {
        .info-panel {
            left: 30%;
            padding: 20px;
        }
    }
    @media (max-width: 998px) {
        .info-panel {
            left: 25%;
            padding: 20px;
        }
    }

   @media (max-width: 768px) {
    /* Увеличиваем высоту карты на мобильных */
    #map {
        height: 600px; /* Можно изменить это значение под ваши предпочтения */
    }

    .info-panel {
        /* Позиционируем ВЕРХНИЙ край панели под меткой */
        top: calc(50% + 100px); 
        left: 50%; 
        transform: translateX(-50%); 
        max-width: 75vw; 
        width: 90vw; 
        padding: 15px; 
        border-radius: 12px;
        box-shadow: 0 4px 16px rgba(0,0,0,0.4);
    }
}

    .info-panel h3 {
        margin-top: 0;
        margin-bottom: 10px;
    }
    .info-panel p {
        margin: 8px 0;
        line-height: 1.4;
    }
    .phone {
        font-size: 24px;
        font-weight: bold;
        margin: 15px 0;
        color: #fff;
        text-decoration: underline; /* Сделаем как ссылку */
        cursor: pointer; /* Покажем, что элемент кликабелен */
    }
    .phone:hover {
        opacity: 0.8; /* Легкий эффект при наведении */
    }
    .social-icons {
        display: flex;
        gap: 10px;
        margin-top: 15px;
    }
    .social-icons a {
        display: inline-block;
        width: 32px;
        height: 32px;
        background-size: contain;
        background-repeat: no-repeat;
        text-decoration: none;
    }
    .yt { background-image: url('/upload/foto-mashin/ikonki/Icons.svg'); } /* Убрали лишние пробелы */
    .tg { background-image: url('/upload/foto-mashin/ikonki/telega.svg'); }
    .vk { background-image: url('/upload/foto-mashin/ikonki/vk.svg'); }
/* End */
/* /local/components/new.site/catalog.detail/templates/.default/style.css?17639975188026 */
/* /local/components/new.site/preimushchestva/templates/.default/style.css?17640788445205 */
/* /local/components/new.site/opisanie/templates/.default/style.css?17640788781344 */
/* /local/components/new.site/katalog-karusel/templates/.default/style.css?17639898284592 */
/* /local/components/new.site/form/templates/.default/style.css?17639998986420 */
/* /local/components/new.site/map/templates/.default/style.css?17640005823010 */
