/* Каталог марок: стили изолированы от селектора и темы. */
.amcs-brands{box-sizing:border-box;width:100%;max-width:1260px;margin-inline:auto}
.amcs-brands *{box-sizing:border-box}
/* Flexbox центрирует неполную последнюю строку (1, 2, 4, 5 ... марок). */
.amcs-brands__list{list-style:none!important;display:flex;flex-wrap:wrap;justify-content:center;gap:18px;margin:0!important;padding:0!important}
.amcs-brands__item{list-style:none!important;margin:0!important;padding:0!important;min-width:0;flex:0 0 calc((100% - 36px)/3)}
.amcs-brands--columns-2 .amcs-brands__item{flex-basis:calc((100% - 18px)/2)}
.amcs-brands--columns-4 .amcs-brands__item{flex-basis:calc((100% - 54px)/4)}
.amcs-brands__card{display:flex;align-items:center;gap:16px;min-height:110px;padding:18px;border:1px solid #e1e3e6;border-radius:12px;background:#fff;color:#242424!important;text-decoration:none!important;box-shadow:0 2px 8px rgba(0,0,0,.035);transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.amcs-brands__card:hover{border-color:#c90000;box-shadow:0 6px 20px rgba(0,0,0,.09);transform:translateY(-2px)}
.amcs-brands__card:focus-visible{outline:3px solid #b80000;outline-offset:3px}
.amcs-brands__visual{display:flex;align-items:center;justify-content:center;flex:0 0 58px;width:58px;height:58px;border-radius:16px;background:transparent;overflow:hidden}
.amcs-brands .amcs-brands__image{display:block;width:100%;height:100%;object-fit:contain;border-radius:16px!important;clip-path:inset(0 round 16px)}
.amcs-brands__initial{font-size:27px;font-weight:700;line-height:1;color:#b60000}
.amcs-brands__details{display:flex;flex-direction:column;gap:5px;min-width:0}
.amcs-brands__name{font-size:20px;font-weight:600;line-height:1.3;overflow-wrap:anywhere}
.amcs-brands__models{color:#686868;font-size:13px;line-height:1.3}
.amcs-brands__arrow{flex:0 0 auto;margin-left:auto;font-size:24px;color:#c90000;line-height:1}
@media(max-width:1000px){.amcs-brands__item,.amcs-brands--columns-4 .amcs-brands__item{flex-basis:calc((100% - 18px)/2)}}
@media(max-width:650px){.amcs-brands__list{gap:12px}.amcs-brands__item,.amcs-brands--columns-2 .amcs-brands__item,.amcs-brands--columns-4 .amcs-brands__item{flex-basis:100%}.amcs-brands__card{min-height:90px;padding:14px}.amcs-brands__name{font-size:18px}.amcs-brands__visual{width:50px;height:50px;flex-basis:50px}}
@media(prefers-reduced-motion:reduce){.amcs-brands__card{transition:none}.amcs-brands__card:hover{transform:none}}
