

/* Start:/local/templates/s1_copy/components/bitrix/news/news/style.css?17549414865256*/
/* News List Styles */
.news-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px 30px;
    margin-bottom: 40px;
}

.news-list-card {
    height: 100%;
}

.news-list-card .news-card {
    padding: 30px;
    transition: transform 0.3s ease-out;
}

.news-list-card .news-card:hover {
    transform: translateY(-8px);
}

.news-list-card .news-card__image-link {
    display: block;
    margin-bottom: 40px;
}

.news-list-card .news-card__image {
    width: 100%;
    height: 330px;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-list-card .news-card:hover .news-card__image {
    transform: scale(1.01);
}

.news-list-card .news-card__content {
    flex-grow: 1;
    margin-bottom: 40px;
}

.news-list-card .news-card__date {
    display: block;
    font-size: var(--font-size-small);
    color: var(--color-black);
    opacity: 0.6;
    margin-bottom: 20px;
}

.news-list-card .news-card__title {
    font-size: var(--font-size-normal);
    font-weight: 600;
    color: var(--color-black);
    line-height: 1.4;
    margin: 0;
    height: auto;
    min-height: 63px;
}

.news-list-card .news-card__title a {
    color: inherit;
    text-decoration: none;
}

.news-list-card .news-card__title a:hover {
    text-decoration: underline;
}

.news-list-card .news-card__button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 60px;
    background-color: var(--color-bg);
    color: var(--color-black);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 500px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    margin-top: auto;
}

.news-list-card .news-card__button:hover {
    background-color: var(--color-blue);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* Empty State */
.news-list__empty {
    text-align: center;
    padding: 80px 20px;
    background-color: var(--color-white);
    border-radius: 20px;
}

.news-list__empty h3 {
    font-size: var(--font-size-h3);
    color: var(--color-black);
    margin: 0 0 15px 0;
}

.news-list__empty p {
    font-size: var(--font-size-normal);
    color: #6c757d;
    margin: 0;
}

/* Pagination */
.news-list__pagination {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

/* News Detail Styles */
.news-detail {
    margin-bottom: 60px;
}

.news-detail__layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
}

.news-detail__image-wrapper {
    width: 100%;
    padding-bottom: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.news-detail__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.news-detail__content {
    background-color: var(--color-white);
    border-radius: 20px;
    padding: 40px 80px;
}

.news-detail__preview {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e9ecef;
}

.news-detail__text {
    font-size: var(--font-size-normal);
    line-height: 1.6;
    color: var(--color-black);
}

/* Mobile Responsive */
@media (min-width: 1025px) {
    .news-detail__image-wrapper {
        position: sticky;
        top: 120px;
    }
}

@media (max-width: 1024px) {
    .news-list-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px 20px;
    }

    .news-detail__layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .news-detail__image {
        position: relative;   
    }
    .news-detail__image-wrapper {
        position: static;
        order: 1;
        padding-bottom: 0px;
    }

    .news-detail__content {
        order: 2;
    }
}

@media (max-width: 768px) {
    .news-list-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-list-card .news-card {
        padding: 20px;
        min-height: 450px;
    }
    
    .news-list-card .news-card__image {
        height: 200px;
    }
    
    .news-list-card .news-card__content {
        margin-bottom: 30px;
    }
    
    .news-list-card .news-card__title {
        font-size: var(--font-size-small);
    }
    
    .news-detail__layout {
        gap: 20px;
    }
    
    .news-detail__content {
        padding: 30px 20px;
    }
    
    .news-detail__preview {
        font-size: var(--font-size-normal);
    }
    
    .news-detail__image-wrapper {
    }
    
    .news-list__empty {
        padding: 60px 20px;
    }
}

@media (max-width: 480px) {
    .news-list-card .news-card {
        padding: 15px;
        min-height: 400px;
    }
    
    .news-list-card .news-card__image {
        height: 180px;
    }
    
    .news-detail__content {
        padding: 20px 15px;
    }
    
    .news-detail__text {
        font-size: var(--font-size-small);
    }
}
/* End */


/* Start:/local/templates/s1_copy/components/bitrix/system.pagenavigation/brands_pagination/style.css?17544924331841*/
.brand-detail__pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.brands-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 40px 0;
}

.brands-pagination__item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.brands-pagination__item:not(.brands-pagination__item--current):not(.brands-pagination__item--prev):not(.brands-pagination__item--next) {
    background-color: #E9ECEF;
    color: var(--color-black);
}

.brands-pagination__item:not(.brands-pagination__item--current):not(.brands-pagination__item--prev):not(.brands-pagination__item--next):hover {
    background-color: var(--color-blue);
    color: var(--color-white);
    transform: translateY(-2px);
}

.brands-pagination__item--current {
    background-color: var(--color-blue);
    color: var(--color-white);
    cursor: default;
}

.brands-pagination__item--prev,
.brands-pagination__item--next {
    background-color: #e9ecef;
    color: var(--color-black);
    border-color: #E9ECEF;
    border-radius: 500px;
    padding: 0 35px;
}

.brands-pagination__item--prev:hover,
.brands-pagination__item--next:hover {
    background-color: var(--color-blue);
    color: var(--color-white);
    border-color: var(--color-blue);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
        
    .brands-pagination__item {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .brands-pagination {
        gap: 8px;
        margin: 30px 0;
    }
}
/* End */


/* Start:/local/templates/s1_copy/components/bitrix/news.list/faq_vol2/style.css?17531161872943*/
/* --- FAQ Section --- */
.faq-section {
    display: grid;
    grid-template-columns: 3fr 7fr; /* Делим на 2 колонки в пропорции 3:7 */
    gap: 60px;
    align-items: start;
}

.faq-section__left {
    position: sticky; /* "Прилипает" при скролле */
    top: 40px;
}

.faq-section__description {
    font-size: var(--font-size-normal);
    margin-top: 20px;
    margin-bottom: 40px;
}

/* --- Accordion --- */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.faq-item {
}

.faq-item:hover {
}

.faq-item__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    cursor: pointer;
}

.faq-item__title {
    font-size: var(--font-size-h3);
    font-weight: 600;
    margin: 0;
    transition: color 0.3s ease; 
}

.faq-item__header:hover .faq-item__title {
    color: var(--color-blue);
}


.faq-item__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #A9D6E5;
    color: var(--color-blue);
    border: none;
    cursor: pointer;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), background-color 0.3s ease;
}

.faq-item__icon::before,
.faq-item__icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 2px;
    background-color: currentColor;
    border-radius: 1px;
    transform: translate(-50%, -50%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.faq-item__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

/* --- Accordion Content Animation (CSS Grid trick) --- */
.faq-item__content-wrapper {
    display: grid;
    grid-template-rows: 0fr; /* Изначально высота 0 */
    transition: grid-template-rows 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.faq-item__content {
    overflow: hidden;
    font-size: var(--font-size-normal);
    max-width: 90%;
}

/* --- Active State --- */
.faq-item.is-active .faq-item__icon {
    transform: rotate(45deg); /* Поворачиваем '+' в 'x' */
    background-color: var(--color-blue);
    color: var(--color-white);
}

.faq-item.is-active .faq-item__content-wrapper {
    grid-template-rows: 1fr; /* Раскрываем до полной высоты */
    padding-top: 20px; /* Отступ при раскрытии */
}

/* --- Адаптивность --- */
@media (max-width: 1024px) {
    .faq-section {
        grid-template-columns: 1fr; /* Все в одну колонку */
        gap: 40px;
    }
    .faq-section__left {
        position: static; /* Отключаем "прилипание" */
    }
}

@media (max-width: 768px) {
    .faq-item__title{
        font-size: var(--font-size-normal);
    }
}
/* End */


/* Start:/local/templates/s1_copy/components/bitrix/form.result.new/popup_form_vol2/style.css?17527870437953*/
/* --- Popup Form --- */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.popup-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.popup-container {
    position: relative;
    background-color: var(--color-white);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}
.popup-overlay.is-visible .popup-container {
    transform: scale(1) translateY(0);
}

.popup-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border: none;
    background: none;
    font-size: 28px;
    line-height: 1;
    color: #aaa;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
    z-index: 10;
}
.popup-close-btn:hover {
    color: var(--color-black);
    transform: rotate(90deg);
}

.popup-title {
    font-size: var(--font-size-h3);
    font-weight: 700;
    text-align: center;
    margin: 0 0 10px 0;
}
.popup-subtitle {
    font-size: var(--font-size-small);
    text-align: center;
    color: #666;
    margin: 0 0 30px 0;
}

/* Анимированные поля формы */
/* --- Animated Form Fields --- */
.popup-form__field {
    margin-bottom: 25px;
}

.popup-form__input-wrapper {
    position: relative;
}

.popup-form__input,
.popup-form__textarea {
    width: 100%;
    padding: 20px 20px 8px 20px; /* Сделали место для лейбла вверху */
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: transparent; /* Обязательно для правильного отображения */
}
.popup-form__textarea {
    min-height: 120px;
    resize: vertical;
    padding-top: 25px; /* Чуть больше отступ для textarea */
}

.popup-form__label {
    position: absolute;
    left: 21px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    color: #999;
    pointer-events: none;
    transition: all 0.2s ease-out;
    background-color: var(--color-white); /* Для "разрезания" рамки */
    padding: 0 4px;
}

/* Для textarea лейбл изначально чуть выше */
.popup-form__textarea + .popup-form__label {
    top: 30px; 
}

/* --- МАГИЯ АНИМАЦИИ --- */
/* Стиль лейбла, когда поле в фокусе ИЛИ оно НЕ ПУСТОЕ */
.popup-form__input:focus + .popup-form__label,
.popup-form__input:not(:placeholder-shown) + .popup-form__label,
.popup-form__textarea:focus + .popup-form__label,
.popup-form__textarea:not(:placeholder-shown) + .popup-form__label {
    top: 0;
    transform: translateY(-50%);
    font-size: 0.8rem;
    color: var(--color-blue);
    font-weight: 500;
}

/* Стиль самого поля при фокусе */
.popup-form__input:focus,
.popup-form__textarea:focus {
    outline: none;
    border-color: var(--color-blue);
    box-shadow: 0 0 0 3px rgba(19, 64, 116, 0.2);
}

/* --- Checkbox for Policy Agreement --- */
.popup-form__checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 12px;
    justify-content: center;
}

/* Скрываем стандартный чекбокс */
.popup-form__checkbox {
    display: none;
}

.popup-form__checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    line-height: 1.4;
    
}
.popup-form__checkbox-label a {
    color: var(--color-blue);
    text-decoration: none;
}
.popup-form__checkbox-label a:hover {
    text-decoration: underline;
}

/* Рисуем наш кастомный чекбокс */
.popup-form__checkbox-custom {
    flex-shrink: 0; /* Чтобы не сжимался */
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Стили для галочки внутри */
.popup-form__checkbox-custom::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid var(--color-white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0); /* Изначально скрыта */
    transition: transform 0.2s ease-in-out;
}

/* Стили для отмеченного состояния */
.popup-form__checkbox:checked + .popup-form__checkbox-label .popup-form__checkbox-custom {
    background-color: var(--color-blue);
    border-color: var(--color-blue);
}
.popup-form__checkbox:checked + .popup-form__checkbox-label .popup-form__checkbox-custom::after {
    transform: rotate(45deg) scale(1); /* Показываем галочку */
}


.popup-form__footer {
    margin-top: 30px;
    text-align: center;
}

.popup-form__submit-btn {
    width: 100%;
    border: none;
    cursor: pointer;
    padding: 15px 20px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.popup-form__submit-btn:hover {
    transform: translateY(-2px);
}

.popup-form__submit-btn:active {
    transform: translateY(0);
}

/* Messages */
.popup-error-message,
.popup-success-message {
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 12px;
    text-align: center;
    font-size: 1rem;
    line-height: 1.4;
}

.popup-error-message {
    background-color: #f8d7da;
    color: #721c24;
}

.popup-success-message {
    background-color: #DDF1FF;
    color: #134074;
}

/* Кнопка в сообщении об успехе */
.popup-success-message .show-all-btn {
    background-color: #134074;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.popup-success-message .show-all-btn:hover {
    background-color: #174e8b;
}

/* Состояние загрузки кнопки */
.popup-form__submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Валидация чекбокса */
.popup-form__checkbox:invalid + .popup-form__checkbox-label .popup-form__checkbox-custom {
    border-color: #dc3545;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .popup-container {
        padding: 30px 20px;
        margin: 20px;
        max-width: calc(100% - 40px);
        border-radius: 15px;
    }
    
    .popup-title {
        font-size: 1.5rem;
    }
    
    .popup-form__input-animated,
    .popup-form__textarea {
        padding: 18px 16px 6px 16px;
    }
    
    .popup-form__label {
        left: 16px;
        font-size: 0.95rem;
    }
    
    .popup-form__textarea + .popup-form__label {
        top: 22px;
    }
    
    .popup-form__checkbox-wrapper {
        gap: 8px;
    }
    
    .popup-form__checkbox-label {
        font-size: 13px;
    }
}
/* End */
/* /local/templates/s1_copy/components/bitrix/news/news/style.css?17549414865256 */
/* /local/templates/s1_copy/components/bitrix/system.pagenavigation/brands_pagination/style.css?17544924331841 */
/* /local/templates/s1_copy/components/bitrix/news.list/faq_vol2/style.css?17531161872943 */
/* /local/templates/s1_copy/components/bitrix/form.result.new/popup_form_vol2/style.css?17527870437953 */
