/* Фотографии клиентов не используют оформление рекламных баннеров. */
.av-home-photos{margin:64px 0 48px;color:#263034}
.av-home-photos__header{margin-bottom:22px}
.av-home-photos__header h2{margin:8px 0 6px;font-size:30px;line-height:1.2;letter-spacing:-.025em}
.av-home-photos__header p{margin:0;color:#718083;font-size:15px;line-height:1.5}
.av-home-photos__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.av-home-photos__item{display:block;min-width:0;aspect-ratio:3/4;overflow:hidden;border:1px solid #e4e8e7;border-radius:13px;background:#f3f5f3}
.av-home-photos__item img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.av-home-photos__item:hover img{transform:scale(1.025)}
.av-home-photos__item:focus-visible{outline:3px solid #c9292f;outline-offset:3px}
@media(max-width:767px){
 .av-home-photos{margin:46px 0 36px}
 .av-home-photos__header{margin-bottom:18px}
 .av-home-photos__header h2{font-size:25px}
 .av-home-photos__header p{font-size:14px}
 .av-home-photos__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .av-home-photos__item{border-radius:11px}
 .mobile-header__body{height:60px;align-items:center}
 .mobile-header__menu-button{width:40px;min-width:40px;height:44px;border-radius:10px}
 .mobile-header__logo{flex:0 0 95px;width:95px;min-width:0;padding:0 5px}
 .mobile-header__logo img{display:block;max-width:100%!important;max-height:46px!important;height:auto}
 .mobile-header__indicators{align-items:center}
 .mobile-header__indicators .mobile-indicator__button{width:40px;height:44px;padding:0;border-radius:9px}
 .mobile-header__indicators .av-mobile-dealers{height:42px;min-height:42px;margin-left:1px;border-radius:10px}
 .mobile-menu__body{width:min(340px,calc(100vw - 20px));box-shadow:0 0 35px rgba(20,30,30,.14)}
 .mobile-menu__panel-title{font-size:16px;font-weight:700;color:#263034}
 .mobile-menu__indicators{gap:8px;padding:12px 16px}
 .mobile-menu__indicator{width:calc(50% - 4px);border:1px solid #edf0ef;border-radius:10px}
 .mobile-menu__indicator-title{font-size:10px;color:#6b7777}
 .mobile-menu__links>li>a,.mobile-menu__links>li>button{min-height:45px;padding-top:10px;padding-bottom:10px;color:#293538}
 .mobile-menu__contacts{background:#f7f8f7}
 .mobile-menu__close,.mobile-menu__panel-back{color:#3b484a}
 .avacan-home .block-slideshow>.container{padding-left:12px;padding-right:12px}
 .avacan-home .block-slideshow__carousel{background:#fff}
 .avacan-home .block-slideshow__carousel .owl-dots{position:static;display:flex;align-items:center;justify-content:flex-start;min-height:46px;padding:0 130px 0 12px;overflow:hidden;background:#fff}
 .avacan-home .block-slideshow__carousel .owl-carousel button.owl-dot:before{background:#c4c9c8}
 .avacan-home .block-slideshow__carousel .owl-carousel button.owl-dot.active:before{background:#c9272d}
 .avacan-home .av-slider-controls{right:7px;bottom:6px}
 .avacan-home .block-banners__item-title{font-size:22px;line-height:1.15}
 .avacan-home .block-banners__item-details{font-size:13px;line-height:1.45}
 .avacan-home .block-banners__item-button{display:inline-flex;align-items:center;min-height:40px}
 .av-catalog-page .view-options__body{display:flex;align-items:center;gap:10px 12px}
 .av-catalog-page .view-options__filters-button{min-height:42px;padding:0 13px}
 .av-catalog-page .view-options__layout{margin-left:auto}
 .av-catalog-page .view-options__spring{display:none}
 .av-catalog-page .layout-switcher__list{display:flex;gap:2px}
 .av-catalog-page .layout-switcher__button{display:inline-flex;align-items:center;justify-content:center;width:34px;height:40px}
 .av-catalog-page .view-options__select{display:flex;flex:1 1 120px;flex-direction:column;align-items:stretch;gap:6px;min-width:0;margin:0}
 .av-catalog-page .view-options__select label{margin:0;line-height:1.3}
 .av-catalog-page .view-options__select select{width:100%;max-width:none;min-height:44px}
 .av-catalog-page .sidebar--offcanvas--mobile .sidebar__body{width:min(340px,calc(100vw - 20px))}
 .av-catalog-page .sidebar__close{min-width:44px;min-height:44px}
 .av-catalog-page .products-list[data-layout=grid] .product-card__quantity .product-card__meta-title{display:inline!important}
 .av-catalog-page .products-list[data-layout=grid] .product-card__quantity{font-size:11px;line-height:1.35}
 .av-catalog-page .products-list[data-layout=grid] .product-card__footer--dealer .av-card-links,
 .avacan-home .av-offers .product-card__footer--dealer .av-card-links,
 .avacan-home .av-new .product-card__footer--dealer .av-card-links{display:grid;grid-template-columns:minmax(0,1fr);gap:7px}
 .av-catalog-page .products-list[data-layout=grid] .product-card__footer--dealer .av-card-links a,
 .avacan-home .av-offers .product-card__footer--dealer .av-card-links a,
 .avacan-home .av-new .product-card__footer--dealer .av-card-links a{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;margin:0;padding:7px 4px;border:1px solid #e1e7e4;border-radius:8px;font-size:12px;line-height:1.2;text-align:center;white-space:nowrap;text-decoration:none}
 .av-catalog-page .products-list[data-layout=grid] .product-card__footer--dealer .av-card-links .av-dealer-link,
 .avacan-home .av-offers .product-card__footer--dealer .av-card-links .av-dealer-link,
 .avacan-home .av-new .product-card__footer--dealer .av-card-links .av-dealer-link{border-color:#f0d7d6;background:#fff5f4;color:#b92127}
 .av-catalog-page .products-list[data-layout=grid] .product-card__footer--dealer .av-card-links .av-card-details,
 .avacan-home .av-offers .product-card__footer--dealer .av-card-links .av-card-details,
 .avacan-home .av-new .product-card__footer--dealer .av-card-links .av-card-details{background:#f7f8f7;color:#344144}
 .av-catalog-page .products-list[data-layout=grid] .product-card .product-card__footer--dealer,
 .avacan-home .av-offers .product-card .product-card__footer--dealer,
 .avacan-home .av-new .product-card .product-card__footer--dealer{gap:9px}
}
@media(max-width:575px){
 .mobile-header__indicators .av-mobile-dealers{width:40px}
 .av-categories{padding-top:34px}
 .av-categories__heading{align-items:flex-start;gap:10px;margin-bottom:18px}
 .av-categories__grid{grid-template-columns:minmax(0,1fr);gap:10px}
 .av-category{display:grid;grid-template-columns:118px minmax(0,1fr);min-width:0;border-radius:14px}
 .av-category:hover{transform:none}
 .av-category__image,.av-category__image--placeholder{width:100%;height:100%;min-height:132px;padding:0;aspect-ratio:auto}
 .av-category__image img{width:100%;height:100%;object-fit:cover}
 .av-category__image--placeholder img{object-fit:contain;padding:20%}
 .av-category__content{min-width:0;padding:15px;border-top:0;border-left:1px solid #eff1f1}
 .av-category h3{font-size:16px;line-height:1.3}
 .av-category ul{gap:6px;margin-top:10px}
 .av-category li a{padding:5px 7px;line-height:1.3;white-space:normal}
 .av-category__more{margin-top:12px;padding:0;min-height:24px;align-items:center}
 .av-about__intro,.av-about__contact{padding:24px 20px}
 .av-about__text{padding:24px 20px 28px;font-size:14px;line-height:1.7}
}
@media(min-width:420px) and (max-width:767px){
 .av-catalog-page .products-list[data-layout=grid] .product-card__footer--dealer .av-card-links,
 .avacan-home .av-offers .product-card__footer--dealer .av-card-links,
 .avacan-home .av-new .product-card__footer--dealer .av-card-links{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(prefers-reduced-motion:reduce){.av-home-photos__item img{transition:none}}
/* В мобильном фильтре прокручивается одна панель, а не вложенные списки. */
@media(max-width:991px){
 .av-catalog-page .sidebar--offcanvas--mobile .filter__body.custom-scroll{max-height:none}
 .av-catalog-page .sidebar--offcanvas--mobile .filter__body .mCustomScrollBox{max-height:none!important;overflow:visible}
 .av-catalog-page .sidebar--offcanvas--mobile .filter__body .mCSB_container{top:0!important;margin-right:0!important}
 .av-catalog-page .sidebar--offcanvas--mobile .filter__body .mCSB_scrollTools{display:none!important}
 .av-catalog-page .sidebar--offcanvas--mobile .filter-list__item{align-items:center;min-height:40px;margin:0;padding:8px 0}
 .av-catalog-page .sidebar--offcanvas--mobile .filter-list__input{margin-right:10px}
 .av-catalog-page .sidebar--offcanvas--mobile .filter-list__input .input-check__body,
 .av-catalog-page .sidebar--offcanvas--mobile .filter-list__input .input-check__box{width:20px;height:20px}
 .av-catalog-page .sidebar--offcanvas--mobile .filter-list__input .input-check__icon{left:6px;top:7px}
 .av-catalog-page .sidebar--offcanvas--mobile .filter-categories__item a{display:flex;align-items:center;min-height:38px;padding:7px 0}
}

/* Мобильные карточки: больше места фотографии, меньше — действиям. */
@media(max-width:767px){
 .av-catalog-page .products-list[data-layout=grid] .product-card__image{padding:4px 4px 0}
 .av-catalog-page .products-list[data-layout=grid] .product-card__footer--dealer .av-card-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
 .av-catalog-page .products-list[data-layout=grid] .product-card__footer--dealer .av-card-links a{min-width:0;min-height:38px;padding:5px 1px;font-size:clamp(10px,3.05vw,12px);letter-spacing:-.02em}
 .av-catalog-page .products-list[data-layout=grid] .product-card .product-card__footer--dealer{gap:7px}
 /* Изображение заполняет всю ширину слайдера; управление остаётся снизу. */
 .avacan-home .block-slideshow__item:not(:has(.blk)){border-radius:0;aspect-ratio:1272/500}
 .avacan-home .block-slideshow__item:not(:has(.blk)) .block-slideshow__item-image{background-size:cover}
}

@media(max-width:419px){
 .av-catalog-page .products-list[data-layout=grid] .product-card .product-card__actions-list{gap:4px;min-height:48px;padding:6px 6px 4px}
 .av-catalog-page .products-list[data-layout=grid] .product-card .product-card__actions-list .product-card__action{width:36px;min-width:36px;height:38px;border-radius:9px}
}
