

/* Start:/local/templates/euroauto/assets/css/home-filter-mobile.css?17798270421178*/
.filter-field-mobile {
    display: none;
    height: 100%;
    width: 100%;
}
.filter-field-mobile select.mobile-select {
    width: 100%;
    height: 44px;
    border: 1px solid #e0e0e0;
    background-color: #fff;
    padding: 5px 16px;
    font-size: 14px;
    color: inherit;
    outline: none;
    cursor: pointer;
    border-radius: 4px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    padding-right: 32px;
}
.filter-field-mobile select.mobile-select:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
    opacity: 1;
}

@media (max-width: 991px) {
    .filter-field-desktop {
        display: none !important;
    }
    .filter-field-mobile {
        display: block !important;
    }
}

/* End */


/* Start:/local/templates/euroauto/components/bitrix/catalog.smart.filter/section_filter/template_styles.css?178151906111046*/
/* Стили для фильтра */
.widget-filters {
    position: relative;
}

.widget-filters__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.widget-filters__item {
    /* margin-bottom: 1rem; */
    position: relative;
    /* Create stacking context */
    z-index: 1;
}

/* Ensure the filter item containing a focused input (and active dropdown) sits on top of following items */
.widget-filters__item:focus-within {
    z-index: 1000;
}

.filter__title {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    background: none;
    border: none;
    border-bottom: 1px solid #e9ecef;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter__title:hover {
    color: #c94a00;
    /* Orange theme color */
}

.filter__arrow {
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.filter__arrow svg {
    fill: #c94a00;
    /* Orange theme color */
}

.filter--opened .filter__arrow {
    transform: rotate(180deg);
}

.filter__body {
    padding: 1rem 0;
    display: none;
}

.filter--opened .filter__body {
    display: block;
}

/* Список фильтров (чекбоксы) */
.filter-list__list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-list__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.filter-list__item:hover {
    background-color: #f8f9fa;
}

.filter-list__item--disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.input-check {
    position: relative;
}

.input-check__body {
    display: flex;
    align-items: center;
}

.input-check__input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.input-check__box {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.input-check__input:checked~.input-check__box {
    background-color: #c94a00;
    /* Orange theme color */
    border-color: #c94a00;
}

.input-check__icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.input-check__input:checked~.input-check__icon {
    opacity: 1;
}

.input-check__icon svg {
    fill: #fff;
}

/* Радиокнопки */
.input-radio {
    position: relative;
    display: inline-flex;
}

.input-radio__body {
    display: flex;
    align-items: center;
}

.input-radio__input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.input-radio__circle {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 50%;
    background-color: #fff;
    transition: all 0.3s ease;
    position: relative;
}

.input-radio__input:checked~.input-radio__circle {
    border-color: #c94a00;
}

.input-radio__input:checked~.input-radio__circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #c94a00;
}

.input-radio__input:disabled~.input-radio__circle {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Заголовок виджета */
.widget__header {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 1rem;
}

.widget__header h4 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #333;
}

.filter-list__title {
    flex: 1;
    font-size: 0.875rem;
    color: #333;
}

.filter-list__counter {
    font-size: 0.75rem;
    color: #999;
}

/* Кнопки фильтра */
.widget-filters__actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.widget-filters__actions .btn {
    flex: 1;
}

/* Категории фильтра */
.filter-categories {
    padding-left: 0.5rem;
}

.filter-categories__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Вложенные списки категорий */
.filter-categories__list .filter-categories__list {
    padding-left: 0.75rem;
    margin-top: 0.25rem;
    border-left: 1px solid #e9ecef;
}

.filter-categories__item {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 0.35rem 0;
    margin-bottom: 0;
    transition: background-color 0.2s ease;
}

.filter-categories__item:hover {
    background-color: #f2590070;
    border-radius: 3px;
    /* margin: 0.25rem 0; */
}

/* Родительский раздел (со стрелкой "назад") */
.filter-categories__item--parent {
    font-weight: 600;
    padding-left: 1.25rem;
}

/* Текущий выбранный раздел */
.filter-categories__item--current {
    background-color: #f2590070;
    border-radius: 3px;
    /* margin: 0.25rem 0; */
}

.filter-categories__item--current>a {
    color: #c94a00;
    font-weight: 600;
}

/* Дочерний раздел */
.filter-categories__item--child {
    font-size: 0.875rem;
    padding-left: 0.75rem;
}

/* Раздел с дочерними элементами (но не в текущем пути) */
.filter-categories__item--has-children>a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0.5rem;
    border-left: 4px solid #999;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
    vertical-align: middle;
}

/* Стрелка "назад" для родительских разделов */
.filter-categories__arrow {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.filter-categories__arrow svg {
    fill: #c94a00;
    width: 6px;
    height: 9px;
}

.filter-categories__arrow:hover svg {
    fill: #a03800;
}

/* Ссылка на категорию */
.filter-categories__item>a {
    flex: 1;
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
    padding: 0.15rem 0;
}

.filter-categories__item>a:hover {
    color: #c94a00;
}

/* Счётчик товаров */
.filter-categories__counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    /* padding: 0.15rem 0.4rem;
    margin-left: 0.5rem; */
    font-size: 0.7rem;
    font-weight: 500;
    color: #666;
    background-color: #f0f0f0;
    border-radius: 1px;
}

/* Price Slider */
.filter-price {
    padding: 1rem 0;
}

.filter-price__slider {
    margin: 1.5rem 0;
}

.filter-price__title-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.filter-price__title {
    font-size: 0.875rem;
    color: #333;
}

/* noUiSlider Orange Theme */
.noUi-connect {
    background: #c94a00 !important;
}

.noUi-handle {
    border-color: #c94a00 !important;
}

.noUi-handle:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(201, 74, 0, 0.3);
}

/* Mobile */
@media (max-width: 991px) {
    .widget-filters--offcanvas--mobile {
        background: #fff;
    }

    .widget-filters--opened {
        left: 0;
    }

    .widget-filters__backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1040;
        display: none;
    }

    .widget-filters--opened .widget-filters__backdrop {
        display: block;
    }

    .widget-filters__header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
        border-bottom: 1px solid #e9ecef;
    }

    .widget-filters__title {
        font-size: 1.25rem;
        font-weight: 600;
    }

    .widget-filters__close {
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
    }

    .widget-filters__close {
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: background-color 0.2s ease;
    }

    .widget-filters__close:hover {
        background-color: #f5f5f5;
    }

    .widget-filters__close svg {
        fill: #333;
        width: 12px;
        height: 12px;
    }

    .widget-filters__body {
        padding: 1rem;
    }
}

/* Form controls */
.form-control {
    display: block;
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Стили для автодополнения */
.autocomplete-wrapper {
    position: relative;
    width: 100%;
}

.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-top: none;
    max-height: 300px;
    overflow-y: auto;
    z-index: 9999;
    display: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    margin-top: -1px;
}

.filter--opened .filter__body {
    display: block;
    overflow: visible !important;
}

.filter--opened {
    position: relative;
    z-index: 100;
}

.autocomplete-dropdown.visible {
    display: block;
}

.autocomplete-item {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
    font-size: 14px;
    color: #333;
}

.autocomplete-item:hover,
.autocomplete-item.selected {
    background-color: #f5f5f5;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.filter__container .autocomplete-wrapper input[type="text"] {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
}

.filter__container .autocomplete-wrapper input[type="text"]:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
}
/* End */


/* Start:/local/templates/euroauto/components/bitrix/catalog.section/section_table/style.css?17815190625327*/
/* Стили для табличного отображения товаров (layout=table) */

/* Заголовки таблицы */
.products-list[data-layout="table"] .products-list__head {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ebebeb;
    padding: 10px 0;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    background: transparent;
}

.products-list[data-layout="table"] .products-list__column--image {
    width: 90px;
    box-sizing: content-box;
    text-align: center;
    padding: 0 16px;
}

.products-list[data-layout="table"] .products-list__column--meta {
    width: 140px;
    text-align: center;
    padding: 0 15px;
}

.products-list[data-layout="table"] .products-list__column--product {
    padding: 0 18px;
    flex-grow: 1;
    /* Вернул 1 для баланса с характеристиками */
}

/* Колонку характеристик привязываем к классу --rating, как сделал пользователь в template.php */
.products-list[data-layout="table"] .products-list__column--rating {
    width: 250px;
    /* Увеличил ширину для вместимости */
    padding: 0 18px;
    text-align: left;
}

.products-list[data-layout="table"] .products-list__column--price {
    width: 140px;
    padding: 0 16px;
    text-align: right;
}

/* Строки таблицы (карточки) */
.products-list[data-layout="table"] .product-card {
    display: flex;
    align-items: center;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-bottom: 1px solid #ebebeb;
}

/* Изображение */
.products-list[data-layout="table"] .product-card__image {
    width: 90px;
    flex-shrink: 0;
    margin-right: 16px;
    padding-left: 16px;
    box-sizing: content-box;
}

.products-list[data-layout="table"] .product-card__image .image {
    width: 100%;
}

/* Инфо блок (Артикул + Наименование + Характеристики) */
.products-list[data-layout="table"] .product-card__info {
    flex-grow: 1;
    display: flex;
    align-self: stretch;
    padding: 0;
    margin: 16px 0;
}

/* Артикул (Meta) */
.products-list[data-layout="table"] .product-card__meta {
    width: 140px;
    flex-shrink: 0;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    font-size: 13px;
    border-left: 1px solid #ebebeb;
    color: #6c757d;
}

.products-list[data-layout="table"] .product-card__meta-title {
    display: none;
}

/* Наименование */
.products-list[data-layout="table"] .product-card__name {
    flex-grow: 1;
    padding: 0 18px;
    border-left: 1px solid #ebebeb;
    display: flex;
    align-items: center;
    font-size: 15px;
    line-height: 18px;
    font-weight: normal;
}

/* Характеристики */
.products-list[data-layout="table"] .product-card__features {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    width: 250px;
    /* Должна совпадать с заголовком --rating */
    flex-shrink: 0;
    padding: 0 18px;
    border-left: 1px solid #ebebeb;
    font-size: 13px;
    color: #6c757d;
}

.products-list[data-layout="table"] .product-card__features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.products-list[data-layout="table"] .product-card__features li {
    margin-bottom: 4px;
    line-height: 1.4;
    word-wrap: break-word;
    white-space: normal;
    display: block;
}

.product-card__feature-title {
    color: #333;
    font-weight: 500;
}

/* Футер (Цена + Кнопка) */
.products-list[data-layout="table"] .product-card__footer {
    display: flex;
    align-items: center;
    align-self: stretch;
    flex-shrink: 0;
    margin: 16px 0;
    border-left: 1px solid #ebebeb;
    padding-left: 16px;
}

.products-list[data-layout="table"] .product-card__prices {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: stretch;
    align-items: flex-end;
    width: 120px;
    font-size: 15px;
}

.products-list[data-layout="table"] .product-card__price--current {
    font-weight: 700;
    color: #262626;
    font-size: 18px;
}

/* Кнопка купить */
.products-list[data-layout="table"] .product-card__addtocart-icon {
    display: flex !important;
    margin: 0 16px;
    background: transparent;
    border: none;
    color: #c94a00;
    cursor: pointer;
    transition: color 0.15s;
    padding: 0;
}

.products-list[data-layout="table"] .product-card__addtocart-icon:hover {
    color: #262626;
}

/* Скрываем всё лишнее в режиме таблицы */
.products-list[data-layout="table"] .product-card__addtocart-full,
.products-list[data-layout="table"] .product-card__rating,
.products-list[data-layout="table"] .product-card__badges,
.products-list[data-layout="table"] .status-badge,
.products-list[data-layout="table"] .product-card__wishlist,
.products-list[data-layout="table"] .product-card__compare {
    display: none !important;
}
/* End */
/* /local/templates/euroauto/assets/css/home-filter-mobile.css?17798270421178 */
/* /local/templates/euroauto/components/bitrix/catalog.smart.filter/section_filter/template_styles.css?178151906111046 */
/* /local/templates/euroauto/components/bitrix/catalog.section/section_table/style.css?17815190625327 */
