/* Geo / language suggestion banner — homepage first-visit routing.
   Injected by assetslp/js/geo-suggest.js. */

.op-geo-suggest {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%) translateY(160%);
    z-index: 9990; /* below Intercom launcher, above page content */
    display: flex;
    align-items: center;
    gap: 14px;
    width: max-content;
    max-width: min(640px, calc(100vw - 32px));
    padding: 14px 16px 14px 20px;
    background: var(--sys-color-ink, #1a1a1a);
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    font-family: var(--sys-font-body, system-ui, -apple-system, sans-serif);
    opacity: 0;
    transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .35s ease;
}

.op-geo-suggest.is-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.op-geo-suggest__msg {
    flex: 1 1 auto;
    font-size: .95rem;
    line-height: 1.35;
}

.op-geo-suggest__cta {
    flex: 0 0 auto;
    background: var(--sys-color-primary, #C8A24B);
    color: var(--sys-color-ink, #1a1a1a) !important;
    font-weight: 700;
    font-size: .9rem;
    text-decoration: none;
    padding: 9px 16px;
    border-radius: 8px;
    white-space: nowrap;
    transition: filter .2s ease;
}

.op-geo-suggest__cta:hover,
.op-geo-suggest__cta:focus {
    filter: brightness(1.08);
    text-decoration: none;
}

.op-geo-suggest__close {
    flex: 0 0 auto;
    background: transparent;
    border: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    padding: 2px 6px;
    transition: color .2s ease;
}

.op-geo-suggest__close:hover,
.op-geo-suggest__close:focus {
    color: #fff;
}

/* Mobile: full-width sheet, lifted to clear the chat launcher */
@media (max-width: 600px) {
    .op-geo-suggest {
        left: 16px;
        right: 16px;
        bottom: 84px;
        width: auto;
        max-width: none;
        transform: translateY(200%);
        flex-wrap: wrap;
    }

    .op-geo-suggest.is-visible {
        transform: translateY(0);
    }

    .op-geo-suggest__msg {
        flex: 1 1 100%;
        margin-bottom: 4px;
    }

    .op-geo-suggest__cta {
        flex: 1 1 auto;
        text-align: center;
    }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    .op-geo-suggest {
        transition: opacity .2s ease;
    }
}
