

/* Start:/local/templates/avrorashop_01/components/bitrix/catalog.section/main/style.css?17826063275836*/
/* =========================================================
   Шаблон catalog.section "main" — стандартная выдача каталога.

   Содержит:
   - тулбар (сортировка, фильтр, счётчик),
   - грид карточек,
   - пагинацию / "Показать ещё",
   - пустое состояние.

   Стили самой карточки .custom-product-card вынесены в общий
   файл: local/templates/avrorashop_01/assets/css/product-card.css
   ========================================================= */

.custom-catalog {
    width: 100%;
}

/* ===== Тулбар ===== */
.custom-catalog__toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.custom-catalog__toolbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.custom-catalog__sort {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    text-decoration: none;
    color: #222;
    background: #fff;
    font-size: 18px;
    line-height: 1;
}

.custom-catalog__filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 14px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    color: #222;
    font-size: 1rem;
    line-height: 1;
}

.custom-catalog__filter-icon {
    font-size: 16px;
    line-height: 1;
}

.custom-catalog__count {
    color: #666;
    font-size: 14px;
    white-space: nowrap;
}

/* ===== Сетка карточек ===== */
.custom-catalog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}

/* ===== Пустое состояние ===== */
.custom-catalog-empty {
    padding: 24px;
    color: #666;
    text-align: center;
    border: 1px dashed #ddd;
    border-radius: 12px;
    background: #fafafa;
}

/* ===== Пагинация ===== */
.custom-catalog__pagination {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}

/* ===== Сортировка (выпадающий список) ===== */
.custom-catalog__sort-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.custom-catalog__sort {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    padding: 0;
}

.custom-catalog__sort-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    padding: 8px 0;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    display: none;
    z-index: 20;
}

.custom-catalog__sort-dropdown.is-open {
    display: block;
}

.custom-catalog__sort-dropdown a {
    display: block;
    padding: 10px 14px;
    color: #222;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.3;
    white-space: nowrap;
}

.custom-catalog__sort-dropdown a:hover {
    background: #f6f6f6;
}

.custom-catalog__sort-dropdown a.is-active {
    font-weight: 600;
    background: #f3f3f3;
}

/* ===== Активный фильтр (точка-индикатор) ===== */
.custom-catalog__filter-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.custom-catalog__filter-btn.is-active .custom-catalog__filter-icon::after {
    content: "";
    position: absolute;
    top: -4px;
    right: -5px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #DA251E;
    box-shadow: 0 0 0 2px #fff;
}

.custom-catalog__filter-reset {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #DA251E;
    font-size: 1rem;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.custom-catalog__filter-reset:hover {
    color: #DA251E;
    text-decoration: underline;
}

/* ===== Кнопка "Показать ещё" ===== */
.custom-catalog__load-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.custom-catalog__load-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 240px;
    height: 48px;
    padding: 0 28px;
    border: 1px solid #222;
    border-radius: 999px;
    background: #fff;
    color: #222;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, opacity .2s ease;
}

.custom-catalog__load-more:hover {
    background: #222;
    color: #fff;
}

.custom-catalog__load-more:disabled,
.custom-catalog__load-more.is-loading {
    opacity: .6;
    cursor: default;
}

.custom-catalog__load-more.is-loading:hover {
    background: #fff;
    color: #222;
}

/* ===== Адаптив ===== */
@media (max-width: 991.5px) {
    .custom-catalog__load-more {
        min-width: 200px;
        height: 44px;
        font-size: 13px;
    }
    .custom-catalog__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .custom-catalog__toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    /* .custom-catalog__grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 14px;
    } */
}
/* End */


/* Start:/local/templates/avrorashop_01/components/bitrix/system.pagenavigation/my_round_pagination/style.css?17826063282914*/
.bx-pagination {
	margin: 10px 0;
}
.bx-pagination .bx-pagination-container {
	text-align: center;
	position: relative;
}
.bx-pagination .bx-pagination-container ul {
	padding: 0;
	margin: 0;
	list-style: none;
	display: inline-block;
}
.bx-pagination .bx-pagination-container ul li {
	display: inline-block;
	margin: 0 2px 15px 2px;
}
.bx-pagination .bx-pagination-container ul li span{
    -webkit-transition: color .3s ease, background-color .3s ease, border-color .3s ease;
       -moz-transition: color .3s ease, background-color .3s ease, border-color .3s ease;
    	-ms-transition: color .3s ease, background-color .3s ease, border-color .3s ease;
    	 -o-transition: color .3s ease, background-color .3s ease, border-color .3s ease;
    		transition: color .3s ease, background-color .3s ease, border-color .3s ease;
	background: #eff0f1;
	padding: 0 8px;
	display: block;
	height: 32px;
	min-width: 32px;
	line-height: 32px;
	color: #444;
	font-size: 14px;
	border-radius: 16px;
	vertical-align: middle;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.bx-pagination .bx-pagination-container ul li a {
	text-decoration: none;
	display: block;
	border-radius: 16px;
	height: 32px;
	min-width: 32px;
	line-height: 32px;
	color: #444;
	vertical-align: middle;
}
.bx-pagination .bx-pagination-container ul li a:hover span{
	background: #DADADA;
}
.bx-pagination .bx-pagination-container ul li.bx-active span{
	background: #000;
	color: #fff;
}
.bx-pagination .bx-pagination-container ul li.bx-pag-all a span,
.bx-pagination .bx-pagination-container ul li.bx-pag-prev a span,
.bx-pagination .bx-pagination-container ul li.bx-pag-next a span {
	background: #fff;
	border: 1px solid #eff0f1;
	line-height: 28px;
	padding: 0 18px;
	color: #444;
}
.bx-pagination .bx-pagination-container ul li.bx-pag-all span,
.bx-pagination .bx-pagination-container ul li.bx-pag-prev span,
.bx-pagination .bx-pagination-container ul li.bx-pag-next span{
	color: #aab1b4;
	background: #fff;
	border: 1px solid #eff0f1;
	line-height: 28px;
	padding: 0 18px;
}
.bx-pagination .bx-pagination-container ul li.bx-pag-all a:hover span,
.bx-pagination .bx-pagination-container ul li.bx-pag-prev a:hover span,
.bx-pagination .bx-pagination-container ul li.bx-pag-next a:hover span {
	background: #fff;
	border-color: #DADADA;
	color: #000;
}

/*color schemes*/
.bx-pagination.bx-green  .bx-pagination-container ul li.bx-active span{
	background: #3bc915;
	color: #fff;
}
.bx-pagination.bx-yellow  .bx-pagination-container ul li.bx-active span{
	background: #F9A91D;
	color: #fff;
}
.bx-pagination.bx-red  .bx-pagination-container ul li.bx-active span{
	background: #E22B2B;
	color: #fff;
}
.bx-pagination.bx-blue .bx-pagination-container ul li.bx-active span{
	background: #0083d1;
	color: #fff;
}

/* End */


/* Start:/local/templates/avrorashop_01/components/bitrix/news.list/collections/style.css?17826063273626*/
.collections-page {
    margin: 0 auto;
}

.collections-page__title {
    margin: 0 0 12px;
}

.collections-page__subtitle {
    margin: 0 0 32px;
    color: #666;
    font-size: 16px;
    line-height: 1.5;
    max-width: 720px;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
}

.collection-card {
    display: block;
    color: inherit;
    text-decoration: none;
    background: #fff;

    padding: 1rem;
    /* border: 1px solid #eaeaea; */
    border: 1px solid #f1f1f1;
    box-sizing: border-box;

}

.collection-card__image-wrapper {
    display: block;
    position: relative;
    aspect-ratio: 3 / 4;
    background: #f5f5f5;
    overflow: hidden;
}

.collection-card__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collection-card__info {
    display: block;
    padding: 12px 12px 16px;
    background: #fff;
}

.collection-card__name {
    display: block;
    font-size: 16px;
    line-height: 1.3;
    color: #111;
    margin-bottom: 4px;
}

.collection-card__brand {
    display: block;
    font-size: 13px;
    line-height: 1.3;
    color: #888;
}

.collections-grid__empty {
    padding: 32px 0;
    color: #777;
}

/* ===== Дропдаун фильтра брендов на /collections/ ===== */
.custom-catalog__filter-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.custom-catalog__filter-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 260px;
    padding: 12px 0 8px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    display: none;
    z-index: 20;
}

.custom-catalog__filter-dropdown.is-open {
    display: block;
}

.custom-catalog__filter-title {
    padding: 0 14px 8px;
    color: #999;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.custom-catalog__filter-list {
    max-height: 320px;
    overflow-y: auto;
    padding: 0 14px;
}

.custom-catalog__filter-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    cursor: pointer;
    font-size: 14px;
    color: #222;
}

.custom-catalog__filter-item input {
    margin: 0;
}

.custom-catalog__filter-actions {
    padding: 10px 14px 4px;
    border-top: 1px solid #f0f0f0;
    margin-top: 8px;
}

.custom-catalog__filter-apply {
    width: 100%;
    height: 38px;
    border: 1px solid #222;
    border-radius: 999px;
    background: #222;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s, color .2s;
}

.custom-catalog__filter-apply:hover {
    background: #fff;
    color: #222;
}
.collections-grid__pager {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}

/* ===== Адаптив ===== */
@media (max-width: 991.5px) {
    .collections-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
    .collection-card {
    padding: 0.5rem;
}
.collections-grid {
    gap: 12px;
}
}

@media (max-width: 575.5px) {
    .collections-grid {
        /* grid-template-columns: 1fr; */
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .custom-catalog__filter-dropdown {
        left: auto;
        right: 0;
    }
}
/* End */
/* /local/templates/avrorashop_01/components/bitrix/catalog.section/main/style.css?17826063275836 */
/* /local/templates/avrorashop_01/components/bitrix/system.pagenavigation/my_round_pagination/style.css?17826063282914 */
/* /local/templates/avrorashop_01/components/bitrix/news.list/collections/style.css?17826063273626 */
