
/* Top banner *********************************************************************/

.topBanner {
    position: relative;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    background-color: #0C64C3;
    color: white;
    font-family: 'SF Pro Text', sans-serif;
    font-size: 18px;
    font-weight: 300;
}
.topBanner_button {
    width: 268px;
    height: 40px;
    background-color: #007AFF;
    color: #fff;
    text-align: center;
    font-weight: 500;
    line-height: 39px;
    vertical-align: center;
    border-radius: 4px;
}
.topBanner_mobileText {
    display: none;
}

.topBar {
    display: flex;
    flex-direction: column;
    background: #041077;
    font-family: 'SF Pro Text', sans-serif;;
    font-size: 18px;
    align-items: center;
    padding: 0 16px;
    margin-bottom: 26px;
}

.topBar_logo {
    margin-right: 16px;
}

.topBar_content {
    width: 100%;
    max-width: 922px;
    display: flex;
    align-items: center;
    margin: 10px 0;
    color: #ffffff;
}

.topBar_info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.topBarInfo_title {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 24px;
    font-weight: 400;
}

.topBarInfo_link {
    display: flex;
    padding: 12px 32px;
    color: #2a2a2a;
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    border-radius: 5px;
    background-color: #e6cb17;
    align-items: center;
    justify-items: center;
    cursor: pointer;
}

.wrapper {
    margin: 0 auto;
    width: 100%;
    max-width: 843px;
    align-self: center;
}

.header {
    display: flex;
    margin: 22px 0;
}
.header_logo {
    /*добавляем смещение, т.к. картинка имеет тени
    (чтобы выровнять относительно других блоков) */
    margin-left: -6px;
    width: 76px;
    height: 75px;
}
.headerText {
    margin-left: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family: 'SF Pro Text', sans-serif;
}
.headerText_brand {
    color: #000;
    font-size: 28px;
    font-weight: 500;
}
.headerText_slogan {
    color: #8A8A8C;
    font-size: 18px;
}

.slider {
    width: 100%;
    overflow-x: scroll;
    scrollbar-width: auto; /* Для видимости скролла в Firefox */
    -ms-overflow-style: auto; /* Для видимости скролла в Internet Explorer */
}

.banner {
    width: 1613px;
    height: 437px;
}

.link {
    color: #007AFF;
    font-size: 18px;
    line-height: 30px;
}
.link.active {
    color: #000;
}

/* Stores list **********************************/

.storesList {
    background-color: #E5F7FE;
    width: 100%;
}

.download {
    max-width: 730px;
    margin: 0 auto;
    padding: 20px 10px 20px 40px;
}

.download_title {
    margin-bottom: 21px;
    font-family: 'SF Pro Text', sans-serif;
    font-weight: 300;
    font-size: 18px;
    letter-spacing: 0;
    color: #8A8A8C;
}

.download_stores {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}

.store {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 48px;
}

.store.hide {
    display: none;
}

.store_link {
    height: 40px;
}

.store_qr {
    height: 48px;
    position: relative;
    z-index: 1;
}

.store_qr.hide {
    display: none;
}

.store_qr img {
    cursor: pointer;
}

.store_qr:hover .qrPopup {
    display: flex;
}

.qrPopup {
    position: absolute;
    width: 412px;
    top: calc(48px + 14px);
    left: calc(48px - 460px / 2);
    border-radius: 20px;
    background-color: white;

    display: none;
    flex-direction: column;
    align-items: center;
    gap: 36px;
    padding: 55px 40px 46px;
    box-shadow: 0 16px 50px 0 rgba(0, 0, 0, 0.2);
}

.qrPopup_qr {
    width: 260px;
    height: 260px;
}

.qrPopup_text {
    font-family: 'SF Pro Text', sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0;
    text-align: center;
    color: rgb(138, 138, 140);
}

.downloadTitle_mobile {
    font-size: 13px;
    display: none;
    color: #000;
}

.downloadTitle_mobile b {
    font-weight: bold;
}

/* Media *********************************************************************/

@media (max-width:1100px) {
    .topBanner {
        gap: 20px;
        font-size: 16px;
    }
    .topBanner_title {
        font-size: 18px;
    }
    .topBanner_icon {
        margin-left: -12px;
    }
}

@media (max-width:950px) {
    .topBarInfo_title {
        font-size: 18px;
    }

    .topBarInfo_link {
        font-size: 16px;
        padding: 6px 32px;
    }

    .topBanner {
        padding: 12px 218px 12px 82px;
        flex-direction: column;
        gap: 8px;
        height: auto;
        align-items: start;
    }
    .topBanner_icon {
        position: absolute;
        left: 16px;
        top: calc(50% - 42px/2);
        margin-left: 0;
    }
    .topBanner_button {
        position: absolute;
        right: 16px;
        top: calc(50% - 39px/2);
    }
}

@media (max-width:820px) {
    .topBarInfo_place {
        display: none;
    }
}

@media (max-width:650px) {
    .topBar_content {
        margin: 16px 0;
    }

    .topBar_info {
        display: block;
    }

    .topBarInfo_title {
        margin-bottom: 4px;
    }

    .topBarInfo_place {
        display: block;
        margin-bottom: 8px;
    }

    .topBarInfo_link {
        display: inline-block;
    }
}

@media (max-width:550px) {
    .topBanner {
        padding: 18px 40px 18px 86px;
        gap: 12px;
        font-size: 16px;
    }

    .topBanner_title {
        font-size: 18px;
    }

    .topBanner_icon {
        left: 24px;
        top: 20px;
    }

    .topBanner_button {
        position: unset;
        width: 236px;
        height: 34px;
        line-height: 34px;
    }

    .download {
        padding: 15px 20px 15px 20px;
    }

    .download_stores {
        gap: 36px;
    }
}

/* Mobile *****************************/

body.mobile .topBanner {
    padding-left: 0;
    padding-right: 0;
    flex-direction: row;
}
body.mobile .topBanner_text,
body.mobile .topBanner_button {
    display: none;
}
body.mobile .topBanner_mobileText {
    display: block;
    width: 288px;
    text-align: center;
}
