/**
 * FurryNestLab Module Z1:
 * High-Converting Context-Aware Top Announcement Nano-Bar (100% Brand Typography)
 */

/* 1. Top Announcement Nano-Bar (Strict 34px Height) */
.fnl-geo-trust-bar {
    position: relative;
    width: 100%;
    height: 34px;
    min-height: 34px;
    max-height: 34px;
    background: #173b45; /* Native Brand Navy Fallback */
    color: #f8fafc;
    font-size: 12px;
    font-weight: 500;
    line-height: 34px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--font-body, 'DM Sans', -apple-system, sans-serif);
    z-index: 99990;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    box-sizing: border-box;
}

.fnl-geo-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 16px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.fnl-geo-link-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    max-width: 100%;
    height: 100%;
}

.fnl-geo-link-wrap:hover .fnl-geo-text {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.fnl-geo-message {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
    font-weight: 500;
}

/* 2. Micro Badge */
.fnl-geo-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-family: var(--font-heading, 'Nunito', sans-serif);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 2px 7px;
    border-radius: 4px;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 1.2;
    flex-shrink: 0;
}

/* Context Badge Highlights */
.fnl-banner-ctx-home .fnl-geo-badge {
    background: rgba(2, 132, 199, 0.4);
    border: 1px solid rgba(56, 189, 248, 0.35);
}

.fnl-banner-ctx-pdp .fnl-geo-badge {
    background: #ef9c63; /* Brand Orange */
    color: #173b45;      /* Brand Navy */
    font-weight: 900;
}

.fnl-banner-ctx-catalog .fnl-geo-badge {
    background: rgba(15, 107, 101, 0.45); /* Brand Teal */
    border: 1px solid rgba(52, 211, 153, 0.35);
}

.fnl-geo-text {
    color: inherit;
    font-size: 12px;
    letter-spacing: 0.15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fnl-geo-text strong {
    font-weight: 700;
    color: #fde047; /* Soft gold highlight for key numbers */
}

.fnl-geo-arrow {
    font-size: 11px;
    opacity: 0.75;
    margin-left: 2px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.fnl-geo-link-wrap:hover .fnl-geo-arrow {
    transform: translateX(3px);
    opacity: 1;
}

/* 3. Suppress Legacy Theme Duplicate Announcement */
body.has-fnl-geo-trust-bar .announcement,
.fnl-geo-trust-bar ~ .announcement,
.announcement:has(+ .site-header) {
    display: none !important;
}

/* 4. Mobile Responsiveness (Strict 32px Nano-Height) */
@media (max-width: 768px) {
    .fnl-geo-trust-bar {
        height: 32px;
        min-height: 32px;
        max-height: 32px;
        line-height: 32px;
        font-size: 11px;
    }

    .fnl-geo-inner {
        padding: 0 10px;
    }

    .fnl-geo-badge {
        font-size: 9px;
        padding: 1px 5px;
        letter-spacing: 0.3px;
    }

    .fnl-geo-text {
        font-size: 11px;
    }

    .fnl-geo-arrow {
        display: none;
    }
}
