.sc-global-topbar,
.sc-global-topbar * {
    box-sizing: border-box;
}

.sc-global-topbar {
    width: 100%;
    background: #111;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}

.sc-global-topbar__inner {
    width: calc(100% - 30px);
    max-width: 1170px;
    min-height: 35px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.sc-global-topbar__socials {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 0 0 auto;
}

.sc-global-topbar__socials a {
    display: inline-flex;
    width: 18px;
    height: 18px;

    align-items: center;
    justify-content: center;

    color: #aaa;
    text-decoration: none;
}

.sc-global-topbar__socials svg {
    display: block;
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.sc-global-topbar__socials a:hover {
    color: #fff;
}

.sc-global-topbar__contacts {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;

    min-width: 0;

    color: #fff;
    line-height: 1.4;
}

.sc-global-topbar__contact {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.sc-global-topbar__contact a {
    color: #fff;
    text-decoration: none;
}

.sc-global-topbar__contact a:hover {
    text-decoration: underline;
}


/* Tablet / mobile */
@media (max-width: 767px) {

    .sc-global-topbar__inner {
        min-height: 64px;
        padding: 7px 0;

        flex-direction: column;
        justify-content: center;
        gap: 6px;
    }

    .sc-global-topbar__socials {
        justify-content: center;
    }

    .sc-global-topbar__contacts {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 5px 18px;
        text-align: center;
    }
}


/* Very narrow phones */
@media (max-width: 480px) {

    .sc-global-topbar__inner {
        min-height: 82px;
    }

    .sc-global-topbar__contacts {
        flex-direction: column;
        gap: 3px;
    }
}
/* ==========================================================
 * Єдина кнопка "До верху" для всього сайту
 * ========================================================== */

#topcontrol.sc-topcontrol {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9998;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    cursor: pointer;

    background: #111;
    color: #fff;
}

#topcontrol.sc-topcontrol > .to_the_top {
    position: static;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    margin: 0;
    padding: 0;

    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

#topcontrol.sc-topcontrol .to_the_top > span {
    display: block;

    color: #fff;
    font-size: 23px;
    line-height: 28px;
}
/* Старі сторінки — вигляд кнопки "До верху" як у магазині */
#topcontrol:not(.sc-topcontrol) > .to_the_top {
    width: 32px;
    height: 32px;

    background: #111;
    border-radius: 0;
    box-shadow: none;

    display: flex;
    align-items: center;
    justify-content: center;
}

#topcontrol:not(.sc-topcontrol) > .to_the_top i {
    color: #fff;
    font-size: 20px;
    line-height: 1;
}