.allcssfix header .link-cabinet {
    width: 40px;
    height: 40px;
    margin-right: 16px;
    display: block;
    position: relative;
}

.allcssfix header .link-cabinet::before {
    content: '';
    position: absolute;
    top: -3px;
    right: -3px;
    bottom: -3px;
    left: -3px;
    border-radius: 50%;
    background: linear-gradient(to right, #8A00EF, #BA42EC 20%, #FE4F78 40%, #FCB316 60%, #B6E142 80%, #2DD246 100%);
    filter: blur(2px);
    z-index: -1;
    animation: gradient 5s linear infinite;
}

@media (min-width: 1200px) {
    .allcssfix header .link-cabinet {
        display: none;
    }
}

.allcssfix header .logo,
.allcssfix footer .logo {
    width: auto !important;
    max-width: min(280px, calc(100% - 130px));
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.allcssfix header .logo img,
.allcssfix footer .logo img {
    width: 58px !important;
    height: 58px !important;
    max-width: none;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: left center;
    flex: 0 0 58px;
}

.allcssfix .logo-text {
    display: block;
    max-width: 180px;
    aspect-ratio: auto !important;
    height: auto !important;
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 1.2;
    color: #1a1a1a;
    text-transform: none;
}

@media (min-width: 768px) {
    .allcssfix .logo-text {
        font-size: 13px;
        max-width: 190px;
    }

    .allcssfix header .logo img,
    .allcssfix footer .logo img {
        width: 68px !important;
        height: 68px !important;
        flex-basis: 68px;
    }
}

.allcssfix .header > .toolbar {
    flex-wrap: nowrap;
}

.allcssfix .header > .toolbar > .link.h5-s3 {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    white-space: nowrap;
    gap: 8px;
    flex-shrink: 0;
    line-height: 1;
}

.allcssfix .header > .toolbar > .link.h5-s3 > a {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    margin: 0;
    vertical-align: middle;
}

.allcssfix .header > .toolbar > .link.h5-s3 img {
    display: block;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}
