/* Каталог: аккуратная навигация, фильтры и карточки товаров. */
.av-catalog-header .block-header__body{padding-top:24px;padding-bottom:27px}
.av-catalog-header .block-header__title{margin-top:16px;color:#253034;font-size:clamp(30px,3vw,40px);font-weight:700;letter-spacing:-.035em}
.av-catalog-page{color:#263034}
.av-catalog-page .widget-filters,.av-catalog-page .widget-products{overflow:hidden;border:1px solid #e6e8e7;border-radius:16px;background:#fff;box-shadow:0 5px 20px rgba(25,34,37,.035)}
.av-catalog-page .widget-filters__header,.av-catalog-page .widget-products .widget__header{padding:23px 22px 18px}
.av-catalog-page .widget-filters__header h4,.av-catalog-page .widget-products .widget__header h4{margin:0;color:#263034;font-size:20px;letter-spacing:-.02em}
.av-catalog-page .widget-filters__item{border-color:#eef0ef}
.av-catalog-page .filter__title{width:100%;margin:0;padding:16px 22px;border-radius:0;color:#283336;font-size:14px}
.av-catalog-page .filter__title:hover,.av-catalog-page .filter__title:focus{background:#f8f8f6;fill:#bd282d}
.av-catalog-page .filter__title:focus-visible,.av-catalog-page a:focus-visible,.av-catalog-page button:focus-visible,.av-catalog-page select:focus-visible{outline:2px solid #cf292e;outline-offset:2px}
.av-catalog-page .filter__arrow{right:22px;top:20px}
.av-catalog-page .filter__body{margin:0;max-height:250px}
.av-catalog-page .filter__container{padding:8px 22px 18px}
.av-catalog-page .filter-categories__list{padding:0;list-style:none}
.av-catalog-page .filter-categories__item a{display:inline-block;padding:5px 0;color:#647073;font-size:14px;line-height:1.35;text-decoration:none}
.av-catalog-page .filter-categories__item.active a,.av-catalog-page .filter-categories__item a:hover{color:#bd252b;font-weight:700}
.av-catalog-page .filter-list__item{margin:0 0 8px;color:#4f5c5f;font-size:14px;line-height:1.35;cursor:pointer}
.av-catalog-page .filter-list__item:hover{color:#bf252b}
.av-catalog-page .widget-filters__actions{padding:16px 22px 22px;border-top:1px solid #eef0ef;text-align:left!important}
.av-catalog-page .widget-filters__actions a{padding:0;color:#be252b;font-weight:700;text-decoration:none}
.av-catalog-page .categories-list__body{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;padding:0;background:transparent;box-shadow:none}
.av-catalog-page .categories-list__divider{display:none}
.av-catalog-page .categories-list__item{width:auto!important;min-width:0;padding:16px;border:1px solid #e6e9e8;border-radius:14px;background:#fff;transition:border-color .2s,box-shadow .2s,transform .2s}
.av-catalog-page .categories-list__item:before{display:none}
.av-catalog-page .categories-list__item:hover{border-color:#e2c3c1;box-shadow:0 9px 24px rgba(25,34,37,.07);transform:translateY(-2px)}
.av-catalog-page .categories-list__item a{color:#263034;text-decoration:none}
.av-catalog-page .categories-list__item img{width:100%;height:155px;object-fit:contain}
.av-catalog-page .categories-list__item-name{margin-top:10px;font-size:15px;font-weight:700;line-height:1.35}
.av-catalog-page .categories-list__item-products{margin-top:5px;color:#8a9495;font-size:13px}
.av-catalog-page .view-options{margin-bottom:20px;border:1px solid #e6e9e8;border-radius:13px;background:#fff;box-shadow:0 5px 20px rgba(25,34,37,.035)}
.av-catalog-page .view-options__body{min-height:64px;padding:12px 16px;gap:10px}
.av-catalog-page .view-options__select{gap:7px}
.av-catalog-page .view-options__select label{color:#718083;font-size:13px}
.av-catalog-page .view-options__select select{height:36px;max-width:180px;border:1px solid #e4e8e7;border-radius:7px;background-color:#f8f9f8;color:#354144;font-size:13px}
.av-catalog-page .filters-button{border-radius:8px;background:#263235;color:#fff}
.av-catalog-page .layout-switcher__button{border-radius:6px}
.av-catalog-page .layout-switcher__button:hover{background:#f7eeee}
.av-catalog-page .products-list__item .product-card{height:100%;overflow:hidden;border:1px solid #e6e9e8;border-radius:14px;background:#fff;box-shadow:0 4px 16px rgba(25,34,37,.025);transition:box-shadow .2s,border-color .2s}
.av-catalog-page .products-list__item .product-card:hover{border-color:#e4d4d2;box-shadow:0 12px 28px rgba(25,34,37,.08)}
.av-catalog-page .products-list[data-layout=grid] .product-card__image{padding:8px 8px 0}
.av-catalog-page .products-list[data-layout=grid] .product-card__image img{border-radius:9px}
.av-catalog-page .products-list .product-card__name a{color:#263034;font-weight:600;line-height:1.35}
.av-catalog-page .products-list .product-card__name a:hover{color:#b92228}
.av-catalog-page .products-list .product-card__meta{color:#8a9596}
/* Цена и ссылка расположены раздельно даже в узкой карточке. */
.av-catalog-page .products-list[data-layout=grid] .product-card .product-card__footer--dealer,
.av-offers .block-sale__item .product-card .product-card__footer--dealer,
.av-new .product-card .product-card__footer--dealer{display:flex;flex-direction:column;align-items:stretch;gap:12px}
.av-catalog-page .products-list[data-layout=grid] .product-card .product-card__footer--dealer .product-card__prices,
.av-offers .block-sale__item .product-card .product-card__footer--dealer .product-card__prices,
.av-new .product-card .product-card__footer--dealer .product-card__prices{display:flex;flex-direction:row;align-items:baseline;justify-content:flex-start;gap:5px 8px;flex-wrap:wrap;width:100%;min-width:0;padding:0;line-height:1.3;letter-spacing:0}
.av-catalog-page .products-list .product-card__footer--dealer .product-card__price--old,
.av-offers .product-card__footer--dealer .product-card__price--old,
.av-new .product-card__footer--dealer .product-card__price--old{margin-left:0}
.av-catalog-page .products-list[data-layout=grid] .product-card__footer--dealer .av-dealer-link,
.av-offers .product-card__footer--dealer .av-dealer-link,
.av-new .product-card__footer--dealer .av-dealer-link{align-self:flex-start;margin:0}
.av-catalog-page .products-list[data-layout=list] .product-card__footer--dealer .av-dealer-link{margin:0 0 10px}
.av-catalog-page .products-view__pagination{margin-top:24px;padding:14px;border:1px solid #e6e9e8;border-radius:12px;background:#fff}
.av-catalog-page .pagination{flex-wrap:wrap;gap:5px;margin:0}
.av-catalog-page .pagination .page-link{border:0;border-radius:7px}
.av-catalog-page .av-catalog-description{overflow:hidden;border:1px solid #e6e9e8;border-radius:16px;background:#fff;box-shadow:0 5px 20px rgba(25,34,37,.035)}
.av-catalog-page .av-catalog-description .card-body{padding:32px;color:#4c595c;font-size:15px;line-height:1.75}
.av-catalog-page .av-catalog-description h2,.av-catalog-page .av-catalog-description h3{color:#263034;letter-spacing:-.02em}
@media(max-width:767px){
 .av-catalog-header .block-header__body{padding-top:16px;padding-bottom:18px}
 .av-catalog-header .block-header__title{margin-top:12px}
 .av-catalog-page .categories-list__body{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .av-catalog-page .categories-list__item{padding:12px}
 .av-catalog-page .categories-list__item img{height:125px}
 .av-catalog-page .view-options__body{flex-wrap:wrap;padding:12px;gap:10px}
 .av-catalog-page .view-options__select select{max-width:150px}
 .av-catalog-page .av-catalog-description .card-body{padding:22px}
}

/* Выравнивание заголовка и содержимого фильтров. */
.av-catalog-header .block-header__breadcrumb{padding:0}
.av-catalog-header .block-header__breadcrumb + .block-header__title{margin:16px 0 0;padding:0;text-align:left}
.av-catalog-page .widget-filters__item{padding:0}
.av-catalog-page .filter-categories__item{padding:0}

.av-catalog-page .filters-button__icon{fill:currentColor}
.av-catalog-page .filters-button:hover,.av-catalog-page .filters-button:focus{background:#bf282d;color:#fff}

/* Действия в карточке: два понятных перехода и избранное со сравнением. */
.av-card-links{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-width:0}
.av-card-links .av-dealer-link{margin:0;white-space:normal}
.av-card-details{display:inline-flex;align-items:center;justify-content:center;padding:7px 10px;border:1px solid #e2e7e5;border-radius:7px;background:#f8f9f8;color:#304044;font-size:12px;font-weight:700;line-height:1.2;text-decoration:none;white-space:nowrap}
.av-card-details:hover,.av-card-details:focus{border-color:#d4aaa8;background:#fff5f4;color:#ae2026;text-decoration:none}
.product-card .product-card__action--wishlist.added,.product-card .product-card__action--compare.added{color:#c4252b;fill:#c4252b}
.product-card .product-card__action--wishlist:focus-visible,.product-card .product-card__action--compare:focus-visible{outline:2px solid #c4252b;outline-offset:-2px;opacity:1;transform:none}
@media(max-width:991px){.product-card .product-card__action--wishlist,.product-card .product-card__action--compare{opacity:1!important;transform:none!important}}
@media(min-width:992px){.products-list[data-layout=list] .av-card-links{flex-direction:column;align-items:stretch}.products-list[data-layout=list] .av-card-links .av-dealer-link{margin:0;text-align:center}}

@media(max-width:767px){
 .av-catalog-page .products-list[data-layout=grid] .product-card .product-card__actions-list{display:flex;top:8px;right:8px;z-index:1000;gap:4px;overflow:visible}
 .av-catalog-page .products-list[data-layout=grid] .product-card .product-card__action{border-radius:50%;box-shadow:0 2px 8px rgba(25,34,37,.14);color:#657174}
 .av-catalog-page .products-list[data-layout=grid] .product-card .product-card__action.added{color:#c4252b}
}

.av-catalog-page .products-list .product-card__actions-list{z-index:5}

/* Значки товара не перекрывают меню; действия всегда доступны поверх них. */
.av-catalog-page .products-list__item .product-card,.av-offers .product-card,.av-new .product-card{isolation:isolate}
.av-catalog-page .products-list .product-card__actions-list{z-index:1000}
/* Крупные, постоянно видимые действия в отдельной строке карточки. */
.av-catalog-page .products-list[data-layout=grid] .product-card .product-card__actions-list,
.av-offers .product-card .product-card__actions-list,
.av-new .product-card .product-card__actions-list{
    position:relative;top:auto;right:auto;left:auto;z-index:3;order:-1;
    display:flex;flex-direction:row;justify-content:flex-end;align-items:center;
    gap:8px;min-height:54px;padding:8px 10px 4px;overflow:visible
}
.av-catalog-page .products-list[data-layout=grid] .product-card .product-card__actions-list .product-card__action,
.av-offers .product-card .product-card__actions-list .product-card__action,
.av-new .product-card .product-card__actions-list .product-card__action{
    display:flex;align-items:center;justify-content:center;width:42px;height:42px;min-width:42px;
    padding:0;border:1px solid #d7dddc;border-radius:11px;background:#fff;color:#374446;
    box-shadow:0 2px 8px rgba(25,34,37,.08);opacity:1!important;transform:none!important
}
.av-catalog-page .products-list[data-layout=grid] .product-card .product-card__actions-list .product-card__action:hover,
.av-catalog-page .products-list[data-layout=grid] .product-card .product-card__actions-list .product-card__action:focus-visible,
.av-offers .product-card .product-card__actions-list .product-card__action:hover,
.av-new .product-card .product-card__actions-list .product-card__action:hover{
    border-color:#c4252b;background:#fff3f2;color:#b92228;outline:2px solid transparent
}
.av-catalog-page .products-list[data-layout=grid] .product-card .product-card__actions-list .product-card__action.added,
.av-offers .product-card .product-card__actions-list .product-card__action.added,
.av-new .product-card .product-card__actions-list .product-card__action.added{border-color:#e9b8b7;background:#fff3f2;color:#c4252b}
.av-catalog-page .products-list[data-layout=grid] .product-card .product-card__actions-list svg,
.av-offers .product-card .product-card__actions-list svg,
.av-new .product-card .product-card__actions-list svg{width:19px;height:19px;fill:currentColor;pointer-events:none}
.av-catalog-page .products-list[data-layout=grid] .product-card .product-card__actions-list .product-card__action:focus-visible,
.av-offers .product-card .product-card__actions-list .product-card__action:focus-visible,
.av-new .product-card .product-card__actions-list .product-card__action:focus-visible{outline:2px solid #c4252b;outline-offset:2px}

.av-compare-hint{display:none;color:#667477;font-size:13px;line-height:1.5}
@media(max-width:767px){.av-compare-hint{display:block;margin:0 0 12px}}
