@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

/* Принудительно включаем шрифт только для наших кастомных карточек авто */
.ja-car-card, .ja-car-card * {
    font-family: 'Manrope', sans-serif !important;
}

.ns-bitrix.c-catalog-element.c-catalog-element-catalog-default-1 .catalog-element-section-property-name, .ns-bitrix.c-catalog-element.c-catalog-element-catalog-default-1 .catalog-element-section-property-value {
	font-size: 20px;}

 /* Убираем элемент наличие */
.ns-bitrix.c-catalog-element.c-catalog-element-catalog-default-1 .catalog-element-quantity {
display: none !important; 
} 
.ns-bitrix.c-catalog-element.c-catalog-element-quick-view-2 .catalog-element-quantity {
display: none !important; 
} 
.ns-bitrix.c-catalog-section.c-catalog-section-catalog-tile-4 .catalog-section-item-quantity-value {
display: none !important; 
} 
.ns-bitrix.c-catalog-section.c-catalog-section-catalog-tile-4 .catalog-section-item-quantity-icon[data-quantity-state=many], .ns-bitrix.c-catalog-section.c-catalog-section-catalog-tile-4 .catalog-section-item-quantity-icon[data-quantity-state=enough] {
display: none !important; 
} 
.ns-bitrix.c-catalog-section.c-catalog-section-catalog-text-1 .catalog-section-item-quantity {
display: none !important; 
} 
.ns-bitrix.c-catalog-section.c-catalog-section-catalog-list-2 .catalog-section-item-quantity {
display: none !important; 
} 
.ns-bitrix.c-catalog-element.c-catalog-element-catalog-default-1 .catalog-element-panel-quantity-wrap {
display: none !important; 
} 


.ns-bitrix.c-catalog-element.c-catalog-element-catalog-default-1 .catalog-element-property {
	font-size: 16px;}
.intec-content .intec-content-wrapper, .intec-content .intec-content.intec-content-primary .intec-content-wrapper {
	font-size: 14px;}
.intec-template .intec-template-title h1 {
font: var(--text-h1) / var(--line-h1-height) "FuturaPT Medium";
font-size: 36px;
text-transform: uppercase;
font-weight: 700;}
.catalog-element-tab {
font-size: 20px;}
.ns-bitrix.c-catalog-element.c-catalog-element-catalog-default-1 .catalog-element-tab a {
font-size: 36px;}
.ns-bitrix.c-catalog-element.c-catalog-element-catalog-default-1 .catalog-element-delivery-calculation-text {
font-size: 14px;}

 /* Свойство Бренд в карточке товара */
.ns-bitrix.c-catalog-element.c-catalog-element-catalog-default-1 .catalog-element-brand img {
    max-width: 100%;
    margin-right: 70px;
}

.intec-ui-picture img, .intec-ui-picture svg {
    max-width: 100%;
    width: 100%;
    vertical-align: middle;
    height: max-content;
    position: relative;
    z-index: 1;
    object-fit: contain;
}

/* Контейнер */
.container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Заголовок секции */
.section-title {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin: 40px 0 20px;
}

/* Обёртка аукционного блока */
.auc_list_section {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start; /* важно */
    justify-content: space-between;
    gap: 20px;
}

/* Левая часть — изображение */
.auc_img {
    width: 58%; /* было 60%, но можно точнее */
    flex: 0 0 58%;
    box-sizing: border-box;
    padding: 10px;
}

.auc_img img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Правая часть — описание */
.auc_desc {
    width: 40%;
    flex: 0 0 40%;
    box-sizing: border-box;
    padding: 10px;
}

.auc_desc .h {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.auc_desc .params_table ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.auc_desc .params_table li {
    margin-bottom: 6px;
    font-size: 14px;
    line-height: 1.5;
}

.auc_desc .params_table span {
    font-weight: bold;
    display: inline-block;
    width: 35px;
}

/* 🔁 Адаптивность */
@media (max-width: 1024px) {
  .auc_list_section {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }

  .auc_img, .auc_desc {
    width: 100%;
    flex: 1 1 100%;
  }

  .section-title {
    font-size: 20px;
    margin-top: 30px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 18px;
  }

  .auc_desc .h {
    font-size: 16px;
  }

  .auc_desc .params_table li {
    font-size: 13px;
    line-height: 1.3;
  }

  .auc_desc .params_table span {
    width: 32px;
  }
}

/* Увеличиваем высоту баннера */
.ns-bitrix.c-catalog-element.c-catalog-element-services-default-4 .catalog-element-banner {
    min-height: 800px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Адаптивность */
@media all and (max-width: 1000px) {
    .ns-bitrix.c-catalog-element.c-catalog-element-services-default-4 .catalog-element-banner {
        min-height: 400px;
    }
}

@media all and (max-width: 600px) {
    .ns-bitrix.c-catalog-element.c-catalog-element-services-default-4 .catalog-element-banner {
        min-height: 300px;
    }
}

/* Если "Преимущества" всё ещё не видны — принудительно показываем их */
.ns-bitrix.c-catalog-element.c-catalog-element-services-default-4 .catalog-element-banner .catalog-element-banner-additional-wrap {
    margin-top: auto;
    display: block !important;
    padding-top: 26px;
    padding-bottom: 64px;
    position: relative;
    z-index: 1;
}

/* =========================================
   СТИЛИ КВИЗА (МОДАЛЬНОЕ ОКНО) 
   ========================================= */

/* Оболочка модального окна */
.ja-modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--overlay-bg);
    backdrop-filter: blur(8px); /* Премиальное размытие */
    display: none; /* Скрыто по умолчанию */
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.ja-modal.active { display: flex; animation: modalFadeIn 0.3s ease; }

@keyframes modalFadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Карточка квиза */
.ja-quiz-window {
    background: #fff;
    width: 100%;
    max-width: 650px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

/* Кнопка закрытия */
.ja-close-modal {
    position: absolute;
    top: 20px; right: 20px;
    background: none; border: none;
    font-size: 30px; color: #ccc;
    cursor: pointer; z-index: 10;
    transition: 0.2s;
}
.ja-close-modal:hover { color: var(--brand-red); }

/* Контент квиза (стили из предыдущего шага) */
.ja-quiz-inner { padding: 50px 40px; }
.ja-quiz-title { font-size: 24px; font-weight: 800; text-transform: uppercase; margin-bottom: 30px; text-align: center; }

.ja-step { display: none; }
.ja-step.active { display: block; }

.ja-label { display: block; font-size: 12px; font-weight: 800; color: #888; margin-bottom: 8px; text-transform: uppercase; }
.ja-input { width: 100%; padding: 16px; border: 1px solid #eee; border-radius: 12px; font-size: 16px; margin-bottom: 20px; box-sizing: border-box; font-family: inherit; }
.ja-input:focus { border-color: var(--brand-red); outline: none; }

.ja-select-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.ja-option { padding: 15px; border: 1px solid #eee; border-radius: 12px; cursor: pointer; text-align: center; font-weight: 600; font-size: 14px; transition: 0.2s; }
.ja-option:hover { border-color: var(--brand-red); }
.ja-option.selected { background: var(--brand-red); color: #fff; border-color: var(--brand-red); }

.ja-nav-btns { display: flex; gap: 15px; margin-top: 20px; }
.btn-next { flex: 2; background: var(--brand-red); color: #fff; padding: 18px; border: none; border-radius: 12px; font-weight: 800; text-transform: uppercase; cursor: pointer; }
.btn-back { flex: 1; background: #f5f5f5; color: #888; padding: 18px; border: none; border-radius: 12px; font-weight: 700; cursor: pointer; }

.ja-progress { height: 4px; background: #f0f0f0; width: 100%; position: absolute; top: 0; }
.ja-progress-fill { height: 100%; background: var(--brand-red); width: 33%; transition: 0.3s; }

/* Стили чекбокса ФЗ-152 */
.ja-policy-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    cursor: pointer;
}
.ja-policy-check input {
    margin-top: 2px;
    accent-color: var(--brand-red);
    width: 16px;
    height: 16px;
    cursor: pointer;
}
.ja-policy-text {
    font-size: 12px;
    color: #888888 !important;
    background-color: transparent !important;
    line-height: 1.4;
    display: inline-block;
}
.ja-policy-text a {
    color: var(--brand-red);
    text-decoration: underline;
}