.header .navigation__link.js-stores-show {
    color: var(--orange-400);
}

.header .navigation__link.js-stores-show:hover,
.header .navigation__link.js-stores-show:focus-visible,
.header .navigation__link.js-stores-show[aria-expanded="true"] {
    color: var(--orange-300);
}

.header__nav:not(.header__nav--menu) .navigation__wrapper-item--stores.navigation__wrapper-item--show {
    position: absolute;
    z-index: 10;
    inset: 100% var(--stores-panel-right, 16px) auto auto;
    display: block;
    width: min(460px, calc(100% - 32px));
    padding: 8px;
    background: var(--nav-bg);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--border-radius-m);
    box-shadow: 0 18px 42px rgba(3, 3, 3, 0.24);
}

.header-stores__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.header-stores__links a {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    column-gap: 8px;
    row-gap: 3px;
    height: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--border-radius-s);
    font: 2.4rem/1.2 var(--second-font);
    color: var(--stores-link-color, var(--orange-400));
    background: var(--header-bg);
    text-decoration: none;
}

.header-stores__moto {
    --stores-link-color: var(--blue-500);
}

.header-stores__links small {
    grid-column: 1 / -1;
    color: var(--gray-300);
    font: 1.5rem/1.25 var(--main-font);
}

.header-stores__links a:hover,
.header-stores__links a:focus-visible {
    background: var(--gray-900);
    border-color: currentColor;
}

.header-stores__links a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 1px;
}

.footer .footer__shops a:focus-visible,
.sub-service-head__footer .service-moto-button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

.header__nav--menu .header-stores__links {
    grid-template-columns: 1fr;
}

.header__nav--menu .navigation__wrapper-item--stores .navigation__name {
    min-height: 44px;
    color: var(--gray-300);
}

.footer__shops {
    display: none;
    align-content: start;
    justify-items: start;
    gap: 8px;
}

.footer .footer__shops .footer__shop {
    display: flex;
    margin: 0;
}

.footer .footer__shops .footer__shop--moto {
    color: var(--blue-500);
    background-image: none;
    -webkit-text-fill-color: currentColor;
}

.footer .footer__shops .footer__shop--moto .footer__shop-arrow {
    color: var(--primary-white);
}

.footer .footer__shops .footer__shop--moto:hover {
    color: var(--blue-460);
    text-decoration: underline;
    text-underline-offset: 4px;
}

@media (min-width: 1631px), (min-width: 768px) and (max-width: 1023px) {
    .footer__links > .footer__shops { display: grid }
}

@media (min-width: 1024px) and (max-width: 1630px) {
    .footer__left > .footer__shops { display: grid }
}

@media (max-width: 767px) {
    .footer__bottom > .footer__shops {
        display: grid;
        margin-bottom: 8px;
    }
}

.sub-service-head .sub-service-head__footer--moto {
    gap: 12px 16px;
}

.sub-service-head__footer .service-moto-button {
    gap: 8px;
    min-height: 44px;
    color: var(--primary-black);
    background: var(--blue-460);
    text-decoration: none;
}

.service-moto-button svg {
    flex: none;
}

.sub-service-head__footer .service-moto-button:hover,
.sub-service-head__footer .service-moto-button:focus-visible {
    color: var(--primary-black);
    background: var(--blue-500);
}
