body.land_theme .app__popup {
    position: fixed !important;
}
/* хедер сайта */
body.app__popup--show .top_menu_section,
body.app__popup--show.mobile_menu_active .general_outer_wrapper .top_menu_section {
    top: 74px;
}
/* враппер контента на лендах */
body.app__popup--show .main_page_wrap {
    padding-top: 74px;
}
/* меню сайта */
body.app__popup--show .top_menu_section .header_nav .ubermenu.ubermenu-headermainmenu {
    top: 134px;
}
/* хедер сайта не в начале страницы */
body.compact_header.app__popup--show .top_menu_section,
body.compact_header.app__popup--show.mobile_menu_active .general_outer_wrapper .top_menu_section {
    top: 0;
}
/* меню сайта не в начале страницы */
body.compact_header.app__popup--show .top_menu_section .header_nav .ubermenu.ubermenu-headermainmenu {
    top: 64px;
}
/* если админпанель есть */
body.admin-bar .app__popup {
    display: none !important;
}
/* первый блок на главной странице сайта */
body.app__popup--show #homepage_slider {
    padding-top: 100px !important;
}
/* враппер контента на портале партнеров */
body.app__popup--show #gp-site-wrapper {
    margin-top: 74px;
}
body.admin-bar.app__popup--show #gp-site-wrapper {
    margin: 0;
}
/* фикс по локалям сайта/партнерского портала/лендов */
html[lang='ru'] .app__popup-rating,
html[lang='ru-RU'] .app__popup-rating,
html[lang='uz'] .app__popup-rating,
html[lang='kk'] .app__popup-rating,
html[lang='uk'] .app__popup-rating {
    display: none;
}

html[lang='ar'] .app__popup-title,
html[lang='ar'] .app__popup-subtitle {
    direction: ltr !important;
}
.app__popup {
    inset-inline-start: 0;
    z-index: 9999;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 5px;
    background-color: #f9f9fa;
    font-family: inherit;
    transition: .3s ease-in-out;
}

.app__popup.app__popup--show {
    top: 0 !important;
    opacity: 1 !important;
}

.app__popup.app__popup--android .app__popup-link--iphone,
.app__popup.app__popup--iphone .app__popup-link--android {
    display: none;
}

.app__popup.app__popup--android .app__popup-link--android,
.app__popup.app__popup--iphone .app__popup-link--iphone {
    display: flex;
}

.app__popup-col--content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.app__popup-col--links {
    margin-inline-start: auto;
}

.app__popup-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 12px;
    padding: 0;
    background-image: url(../img/close.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-color: transparent;
    border: none;
    outline: none;
}

.app__popup-logo {
    display: block;
    width: 58px;
    height: 58px;
    object-fit: contain;
    object-position: center;
}

.app__popup-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.app__popup-title {
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
    color: #000;
}

.app__popup-subtitle {
    font-size: 12px;
    line-height: 1.5;
    font-weight: 500;
    color: #777f86;
}

.app__popup-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.app__popup-rating-stars {
    height: 12px;
}

.app__popup-rating-text {
    color: #8f8f8f;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.4;
}

.app__popup-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.app__popup-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.app__popup-link.app__popup-link--default {
    padding: 10px 16px;
    background: #000;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    text-decoration: none;
}

/* Dark theme */
.app__popup.app__popup--dark {
    background-color: #000;
}

.app__popup.app__popup--dark .app__popup-title {
    color: #fff;
}

.app__popup.app__popup--dark .app__popup-link.app__popup-link--default {
    background-color: #fff;
    color: #000;
}

/* RTL */
.app__popup.app__popup--rtl {
    font-family: Vazirmatn-Regular, sans-serif;
    direction: rtl;
}

@media (max-width: 390px) {
    .app__popup {
        gap: 6px;
    }

    .app__popup-link.app__popup-link--default {
        font-size: 12px;
    }

    .app__popup-link img {
        width: 40px;
    }

    .app__popup-title {
        font-size: 12px;
    }

    .app__popup-subtitle {
        font-size: 10px;
    }

    .app__popup-logo {
        width: 50px;
        height: 50px;
    }
}
