.categories-map {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 2px;
    grid-auto-rows: 160px
}

@media only screen and (max-width:1279px) {
    .categories-map {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media only screen and (max-width:767px) {
    .categories-map {
        grid-template-columns: 1fr
    }
}

.categories-map__link {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: 16px 16px 24px;
    overflow: hidden;
    background-color: rgba(51, 51, 51, .6);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover
}

.categories-map__link::after {
    position: absolute;
    top: 0;
    inset-inline: 0;
    bottom: 0;
    z-index: 1;
    background-color: var(--color-bg-primary-contrast);
    opacity: .6;
    content: ""
}

.categories-map__link:hover .categories-map__image {
    transform: scale(1.085)
}

.categories-map__image {
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    transition: transform .4s ease-in-out;
    -o-object-fit: cover;
    object-fit: cover
}

.categories-map__link-content {
    position: relative;
    z-index: 2
}

.categories-map__slogan {
    color: var(--color-text-contrast)
}

.categories-map__amount {
    margin-top: 8px;
    color: var(--color-line-border)
}

.categories-map__icon {
    position: relative;
    z-index: 2;
    max-width: 36px;
    max-height: 36px
}

.categories-map__icon_type_img {
    -o-object-fit: contain;
    object-fit: contain
}

.categories-map__icon_type_svg {
    fill: var(--color-text-tertiary-contrast)
}

.categories-map__item {
    overflow: hidden;
    background-color: var(--color-bg-secondary-contrast)
}

.categories-map__item_other {
    padding: 32px
}

@media only screen and (min-width:768px) {
    .categories-map__item_span-2 {
        grid-row: span 2
    }
}

.categories-map__slogan {
    font-weight: 500;
    font-size: 18px;
    line-height: 24px
}

.categories-map__amount {
    font-weight: 400;
    font-size: 12px;
    line-height: 16px
}

.categories-map-menu {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    list-style: none;
    scrollbar-width: thin
}

.categories-map-menu::-webkit-scrollbar {
    width: 4px;
    background-color: transparent
}

.categories-map-menu::-webkit-scrollbar-thumb {
    background-color: var(--color-text-secondary)
}

.categories-map-menu__item:not(:last-child) {
    margin-bottom: 16px
}

.categories-map-menu__link {
    display: block
}

.categories-map-menu__name {
    position: relative;
    display: inline-flex;
    width: 100%;
    overflow: hidden;
    font-weight: 400
}

.categories-map-menu {
    scrollbar-color: var(--color-text-secondary) transparent
}

.categories-map-menu__link {
    color: var(--color-text-tertiary-contrast);
    font-size: 14px;
    line-height: 16px;
    transition: color .15s ease-in-out
}

.categories-map-menu__link:hover {
    color: var(--color-text-contrast)
}

.categories-map-menu__name {
    font-size: 14px;
    line-height: 20px
}