:root {
    --promo-banner-max-width: 1320px;
}

.promo-banner {
    background: #ffffff;
    color: var(--text-primary, #1a1a1a);
    padding: 4px 0;
    border-bottom: 1px solid var(--border-color, #e5e5e5);
    position: relative;
    z-index: 1100;
    max-height: 100px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: opacity 0.3s ease, max-height 0.3s ease, padding 0.3s ease;
}

.promo-banner.promo-banner--hidden {
    opacity: 0;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    visibility: hidden;
    pointer-events: none;
    border-bottom-width: 0;
}

.promo-banner__inner {
    max-width: var(--promo-banner-max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.promo-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    text-align: center;
}

.promo-headline {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.005em;
    color: var(--primary-color, #0f0f0f);
}

.promo-subhead {
    font-size: 13px;
    color: var(--text-secondary, #666666);
    line-height: 1.5;
}

.promo-close {
    background: transparent;
    border: none;
    color: var(--text-primary, #1a1a1a);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: background 0.3s ease, color 0.3s ease;
    margin-left: 8px;
}

.promo-close span {
    font-size: inherit;
    line-height: 1;
    display: block;
}

.promo-close:hover,
.promo-close:focus {
    background: rgba(0, 0, 0, 0.06);
    color: var(--primary-color, #0f0f0f);
}

@media (max-width: 768px) {
    .promo-banner {
        padding: 14px 0 16px;
    }

    .promo-banner__inner {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 0 16px;
        position: relative;
    }

    .promo-text {
        text-align: center;
    }

    .promo-headline {
        font-size: 15px;
        padding-right: 40px;
    }

    .promo-close {
        position: absolute;
        top: 8px;
        right: 12px;
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .promo-banner {
        padding: 12px 0 14px;
    }

    .promo-banner__inner {
        padding: 0 12px;
    }

    .promo-headline {
        font-size: 15px;
        padding-right: 36px;
    }

    .promo-subhead {
        font-size: 12.5px;
    }
}
