.ann-ios-app-banner {
    display: none;
    position: relative;
    z-index: 1030;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.ann-ios-app-banner.is-visible {
    display: block;
}

.ann-ios-app-banner__content {
    display: flex;
    align-items: center;
    gap: 10px;
    width: min(100% - 24px, 720px);
    min-height: 66px;
    margin: 0 auto;
    padding: 8px 0;
}

.ann-ios-app-banner__icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 10px;
}

.ann-ios-app-banner__copy {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 2px;
    line-height: 1.25;
}

.ann-ios-app-banner__copy strong,
.ann-ios-app-banner__copy span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ann-ios-app-banner__copy strong {
    color: #202326;
    font-size: 14px;
}

.ann-ios-app-banner__copy span {
    color: #697386;
    font-size: 12px;
}

.ann-ios-app-banner__open {
    flex: 0 0 auto;
    padding: 9px 12px;
    border-radius: 8px;
    background: var(--ann-site-primary, #ff6600);
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}

.ann-ios-app-banner__close {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    margin-left: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f1f3f5;
    color: #697386;
    font-size: 22px;
    line-height: 26px;
}

@media (min-width: 992px) {
    .ann-app-banner-home-fallback {
        display: none !important;
    }
}

.ann-app-download-popup[hidden] {
    display: none !important;
}

.ann-app-download-popup {
    position: fixed;
    inset: 0;
    z-index: 1095;
    display: grid;
    place-items: center;
    padding: 20px;
}

.ann-app-download-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.62);
    backdrop-filter: blur(2px);
}

.ann-app-download-popup__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 430px);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.3);
    padding: 28px 24px 24px;
    color: #202326;
    text-align: center;
}

.ann-app-download-popup__close {
    position: absolute;
    top: 10px;
    right: 10px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f1f3f5;
    color: #5d6472;
    font-size: 27px;
    line-height: 1;
}

.ann-app-download-popup__icon {
    display: block;
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 16px;
}

.ann-app-download-popup__dialog h2 {
    margin: 0;
    color: #202326;
    font-size: 22px;
    font-weight: 750;
    line-height: 1.3;
}

.ann-app-download-popup__dialog p {
    margin: 9px 0 20px;
    color: #697386;
    font-size: 15px;
    line-height: 1.5;
}

.ann-app-download-popup__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.ann-app-download-popup__store {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 58px;
    border-radius: 10px;
    background: #111111;
    padding: 9px 12px;
    color: #ffffff !important;
    text-align: left;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.ann-app-download-popup__store:hover,
.ann-app-download-popup__store:focus-visible,
.ann-app-download-popup__store:active {
    background: #111111;
    color: #ffffff !important;
}

.ann-app-download-popup__store:focus-visible {
    outline: 3px solid rgba(255, 102, 0, 0.32);
    outline-offset: 2px;
}

.ann-app-download-popup__store-logo {
    position: relative;
    display: block;
    flex: 0 0 auto;
    width: 27px;
    height: 32px;
    overflow: hidden;
}

.ann-app-download-popup__store-logo img {
    position: absolute;
    inset: -2px auto auto -4px;
    display: block;
    width: 122px;
    max-width: none;
    height: 36px;
}

.ann-app-download-popup__store span {
    display: flex;
    min-width: 0;
    flex-direction: column;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.12;
    white-space: nowrap;
}

.ann-app-download-popup__store small {
    font-size: 10px;
    font-weight: 400;
}

body.ann-app-download-popup-open {
    overflow: hidden;
}

.ann-store-introduction-popup__dialog {
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
}

.ann-store-introduction-popup__lead {
    margin-bottom: 16px !important;
}

.ann-store-introduction-popup__information {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
    text-align: left;
}

.ann-store-introduction-popup__info {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 58px;
    border-radius: 12px;
    background: #f5f6f8;
    padding: 10px 12px;
    color: #202326 !important;
    text-decoration: none;
}

.ann-store-introduction-popup__info svg {
    width: 25px;
    height: 25px;
    flex: 0 0 auto;
    fill: none;
    stroke: var(--ann-site-primary, #ff6600);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ann-store-introduction-popup__info span {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.ann-store-introduction-popup__info small {
    color: #697386;
    font-size: 11px;
    line-height: 1.2;
}

.ann-store-introduction-popup__info strong {
    font-size: 13px;
    font-weight: 650;
    line-height: 1.35;
}

.ann-store-introduction-popup__info strong em {
    color: var(--ann-site-primary, #ff6600);
    font-style: normal;
    white-space: nowrap;
}

.ann-store-introduction-popup__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.ann-store-introduction-popup__action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    min-height: 54px;
    border: 0;
    border-radius: 11px;
    background: #202326;
    padding: 9px 10px;
    color: #ffffff !important;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.ann-store-introduction-popup__action svg {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ann-store-introduction-popup__action--zalo {
    background: #0877f9;
}

.ann-store-introduction-popup__action--zalo strong {
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: #ffffff;
    color: #0877f9;
    font-size: 10px;
}

.ann-store-introduction-popup__action--flash {
    background: var(--ann-site-primary, #ff6600);
}

.ann-store-introduction-popup__action:hover,
.ann-store-introduction-popup__action:focus-visible,
.ann-store-introduction-popup__action:active {
    color: #ffffff !important;
    filter: brightness(.94);
}

.ann-store-introduction-popup__action:focus-visible,
.ann-store-introduction-popup__info:focus-visible {
    outline: 3px solid rgba(255, 102, 0, .3);
    outline-offset: 2px;
}

@media (max-width: 575.98px) {
    .ann-app-download-popup {
        align-items: end;
        padding: 12px;
    }

    .ann-app-download-popup__dialog {
        width: 100%;
        border-radius: 18px;
        padding: 24px 16px 18px;
    }

    .ann-app-download-popup__icon {
        width: 62px;
        height: 62px;
        margin-bottom: 12px;
    }

    .ann-app-download-popup__dialog h2 {
        padding-inline: 20px;
        font-size: 20px;
    }

    .ann-app-download-popup__dialog p {
        margin-bottom: 16px;
        font-size: 14px;
    }

    .ann-app-download-popup__store {
        min-height: 54px;
        padding-inline: 8px;
    }

    .ann-app-download-popup__store-logo {
        width: 25px;
        height: 30px;
    }

    .ann-app-download-popup__store-logo img {
        width: 115px;
        height: 34px;
    }

    .ann-app-download-popup__store span {
        font-size: 13px;
    }

    .ann-store-introduction-popup__dialog {
        padding-top: 22px;
    }

    .ann-store-introduction-popup__info {
        min-height: 54px;
    }

    .ann-store-introduction-popup__action {
        min-height: 52px;
        padding-inline: 7px;
        font-size: 12px;
    }
}
