.anps-topbar {
    background:
        radial-gradient(circle at 18% 50%, rgba(250, 204, 21, 0.12), transparent 24%),
        radial-gradient(circle at 86% 50%, rgba(130, 201, 30, 0.12), transparent 28%),
        linear-gradient(90deg, #2e1065 0%, #1e3a8a 45%, #0f766e 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
    color: #f8fafc;
    font-family: "Montserrat", sans-serif;
    min-height: 38px;
    position: relative;
    z-index: 100;
}

.anps-topbar::before {
    content: "";
    display: none;
}

.anps-topbar__inner {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 0 auto;
    max-width: 1280px;
    min-height: 38px;
    padding: 4px 18px;
    position: relative;
}

.anps-topbar__content {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    justify-content: center;
    min-width: 0;
}

.anps-topbar__badge {
    align-items: center;
    background: rgba(130, 201, 30, 0.14);
    border: 1px solid rgba(130, 201, 30, 0.45);
    border-radius: 999px;
    color: #d9f99d;
    display: inline-flex;
    flex: none;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
    padding: 5px 7px;
    text-transform: uppercase;
}

.anps-topbar__badge::before {
    background: #82c91e;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(130, 201, 30, 0.18);
    content: "";
    height: 5px;
    margin-right: 6px;
    width: 5px;
}

.anps-topbar__message {
    color: rgba(255, 255, 255, 0.95);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.35;
    white-space: nowrap;
}

.anps-topbar__message--mobile,
.anps-topbar__button-text--mobile {
    display: none;
}

.anps-topbar__price {
    align-items: baseline;
    display: inline-flex;
    flex: none;
    gap: 6px;
    line-height: 1;
    white-space: nowrap;
}

.anps-topbar__price-old {
    color: rgba(226, 232, 240, 0.68);
    font-size: 11px;
    font-weight: 700;
    text-decoration: line-through;
}

.anps-topbar__price-current {
    color: #facc15;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.anps-topbar__button {
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(15, 127, 242, 0.12);
    color: #071a2f;
    display: inline-flex;
    flex: none;
    font-size: 11px;
    font-weight: 800;
    justify-content: center;
    line-height: 1;
    min-height: 27px;
    padding: 0 12px;
    text-decoration: none;
    transition: box-shadow 0.2s ease, filter 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.anps-topbar__button:hover,
.anps-topbar__button:focus {
    background: #f8fafc;
    color: #071a2f;
    filter: none;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22), 0 0 0 2px rgba(15, 127, 242, 0.22);
    transform: translateY(-1px);
}

.anps-topbar__button:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.72);
    outline-offset: 2px;
}

@media (max-width: 1069px) {
    .mobile-nav-open .anps-topbar {
        display: none;
    }
}

@media (max-width: 900px) {
    .anps-topbar__inner {
        justify-content: flex-start;
    }

    .anps-topbar__content {
        justify-content: flex-start;
    }

    .anps-topbar__badge {
        display: none;
    }
}

@media (max-width: 720px) {
    .anps-topbar {
        min-height: 38px;
    }

    .anps-topbar__inner {
        min-height: 38px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .anps-topbar__content {
        gap: 8px;
        width: 100%;
    }

    .anps-topbar__message--desktop,
    .anps-topbar__button-text--desktop {
        display: none;
    }

    .anps-topbar__message--mobile,
    .anps-topbar__button-text--mobile {
        display: inline;
    }

    .anps-topbar__message {
        flex: 1 1 auto;
        font-size: 11px;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .anps-topbar__price {
        display: inline-flex;
        gap: 0;
    }

    .anps-topbar__price-old {
        display: none;
    }

    .anps-topbar__price-current {
        font-size: 11px;
    }

    .anps-topbar__button {
        font-size: 11px;
        min-height: 27px;
        padding: 0 11px;
    }
}

@media (max-width: 380px) {
    .anps-topbar__message {
        max-width: 185px;
    }

    .anps-topbar__price {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .anps-topbar__button {
        transition: none;
    }
}
