/* Sticky offer banner — above navbar */
.offer-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1101;
    background: #0f172a;
    color: #fff;
    font-size: 14px;
    line-height: 1.35;
    transition: background-color 0.4s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.offer-banner--active {
    background: #16a34a;
}

.offer-banner--dismissed {
    display: none !important;
}

.offer-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    max-width: 100%;
    margin: 0 auto;
    padding: 10px 16px;
    flex-wrap: wrap;
}

.offer-banner__label {
    font-weight: 800;
    white-space: nowrap;
    flex-shrink: 0;
}

.offer-banner__message {
    flex: 1 1 280px;
    margin: 0;
    text-align: center;
    min-width: 0;
}

.offer-banner__timer {
    font-weight: 800;
    color: #fbbf24;
    font-variant-numeric: tabular-nums;
}

.offer-banner--active .offer-banner__timer,
.offer-banner--active .offer-banner__activated {
    color: #fff;
}

.offer-banner__activated {
    font-weight: 800;
}

.offer-banner__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.offer-banner__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border: none;
    border-radius: 999px;
    background: #eda423;
    color: #000;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.02em;
    cursor: pointer;
    white-space: nowrap;
    transition: filter 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.offer-banner__cta:hover:not(:disabled) {
    filter: brightness(0.95);
}

.offer-banner__cta:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.offer-banner__cta:disabled {
    cursor: not-allowed;
    opacity: 0.65;
    background: #6b7280;
    color: #fff;
}

.offer-banner--active .offer-banner__cta:disabled {
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    opacity: 1;
}

.offer-banner__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.offer-banner__close:hover {
    background: rgba(255, 255, 255, 0.22);
}

.offer-banner__close:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

body.has-offer-banner .header {
    top: var(--offer-banner-height, 0px) !important;
}

body.has-offer-banner {
    padding-top: var(--offer-banner-height, 0px);
}

body.offer-banner-dismissed {
    padding-top: 0;
}

body.offer-banner-dismissed .header {
    top: 0;
}

@media (max-width: 768px) {
    .offer-banner__inner {
        padding: 10px 12px;
        gap: 8px 10px;
    }

    .offer-banner__label {
        flex: 1 1 100%;
        text-align: center;
    }

    .offer-banner__message {
        flex: 1 1 100%;
        font-size: 13px;
    }

    .offer-banner__actions {
        flex: 1 1 100%;
        justify-content: center;
    }

    .offer-banner__cta {
        flex: 1;
        max-width: 280px;
    }
}
