.navbar .geo-tools-nav {
    position: static;
}

.navbar .geo-tools-menu {
    --geo-accent: #8b3dff;
    --geo-tint: #f5f0ff;
    --geo-border: #e9e2f3;
    --geo-muted: #64748b;
    width: min(1140px, calc(100vw - 48px));
    min-width: 0 !important;
}

.navbar .geo-tool-link {
    border-radius: .5rem;
    white-space: normal;
    text-decoration: none;
}

.geo-tool-copy {
    min-width: 0;
}

.navbar .geo-tool-link:hover,
.navbar .geo-tool-link:focus-visible {
    background: var(--bs-light, #f1f5f9);
}

.geo-tools-promo-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 5px;
}

.geo-tools-promo-title {
    color: var(--bs-heading-color, #1e293b);
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.4;
}

.geo-tools-promo-description {
    color: var(--geo-muted);
    font-size: .8125rem;
    line-height: 1.6;
}

.navbar .geo-tools-promo {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 8px;
    padding: 20px 22px;
    border: 1px solid var(--geo-border);
    border-radius: 14px;
    color: var(--geo-accent);
    background: var(--geo-tint);
    text-decoration: none;
}

.geo-tools-promo-icon {
    flex: 0 0 auto;
    font-size: 1.75rem;
}

.geo-tools-promo-actions {
    display: flex;
    flex: 0 0 auto;
    flex-direction: row;
    gap: 8px;
    margin-left: auto;
}

.geo-tools-promo-cta {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    padding: 7px 12px;
    border: 1px solid var(--geo-border);
    border-radius: 8px;
    color: var(--geo-accent);
    font-size: .8125rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.geo-tools-promo-cta:hover {
    border-color: var(--geo-accent);
    color: var(--geo-accent);
}

.navbar .geo-tool-link:focus-visible,
.geo-tools-promo-cta:focus-visible {
    outline: 2px solid var(--geo-accent);
    outline-offset: 2px;
}

[data-bs-theme="dark"] .navbar .geo-tool-link:hover,
[data-bs-theme="dark"] .navbar .geo-tool-link:focus-visible {
    background: #343a40;
}

[data-bs-theme="dark"] .navbar .geo-tools-menu {
    --geo-tint: #30243f;
    --geo-border: #49375c;
    --geo-muted: #b6adbf;
    --geo-accent: #bd93ff;
}

@media (min-width: 992px) {
    .navbar .geo-tools-menu {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
}

@media (max-width: 991.98px) {
    .navbar .geo-tools-menu {
        width: 100%;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .navbar .geo-tools-promo {
        flex-wrap: wrap;
        gap: 12px;
        padding: 16px;
    }

    .geo-tools-promo-copy {
        flex: 1;
    }

    .geo-tools-promo-actions {
        width: 100%;
        margin-left: 0;
    }
}
