.promo-banner {
    position: relative;
    z-index: 16;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    padding: 12px 72px;
    box-sizing: border-box;
    overflow: hidden;
    color: #fff;
    font-family: inherit;
    background: #27303F;
    text-transform: uppercase;
    --promo-fs: 16px;
    font-size: var(--promo-fs);
}
.promo-banner[hidden] {
    display: none;
}
.promo-banner::before {
    content: "";
    position: absolute;
    top: -40px;
    left: -30px;
    width: 160px;
    height: 120px;
    background: linear-gradient(135deg, #4DABF7, transparent 60%);
    transform: skewX(-30deg);
    pointer-events: none;
}
.promo-banner-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px 100px;
}
.promo-banner-title {
    display: flex;
    gap: 16px;
    font-size: var(--promo-fs);
    font-weight: 600;
    line-height: 1.2;
}

@media (min-width: 1280px) {
    .promo-banner-text {
        white-space: nowrap;
    }
}
.promo-banner-accent {
    color: #4DABF7;
    font-weight: 700;
}
.promo-banner-timer {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: var(--promo-fs);
    white-space: nowrap;
}
.promo-banner-timer-items {
    display: flex;
    gap: 8px;
}
.promo-banner-timer-item {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    min-width: 58px;
    justify-content: center;
    padding: 6px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
}
.promo-banner-timer-item b {
    font-size: var(--promo-fs);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.promo-banner-timer-item small {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.72);
    text-transform: none;
}

.promo-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    background: none;
    color: #4DABF7;
    font-size: var(--promo-fs);
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
}
.promo-banner-btn:hover {
    background: none;
    color: #8CCBFA;
}
.promo-banner-close {
    position: absolute;
    top: 50%;
    right: 32px;
    transform: translateY(-50%);
    display: flex;
    padding: 8px;
    border: 0;
    background: none;
    color: #fff;
    cursor: pointer;
    opacity: 0.85;
}
.promo-banner-close:hover {
    opacity: 1;
}

.promo-banner-text-mobile {
    display: none;
}

.promo-banner-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 16;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 14px 24px;
    background: #27303F;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    text-transform: uppercase;
    transform: translateY(-100%);
    visibility: hidden;
    transition: transform 0.3s ease-out, visibility 0s linear 0.3s;
}
.promo-banner-sticky:hover {
    color: #fff;
}
.promo-banner-sticky svg {
    flex-shrink: 0;
}
.promo-sticky-on .promo-banner-sticky {
    transform: translateY(0);
    visibility: visible;
    transition: transform 0.3s ease-out;
}
/* Зафиксированная шапка встаёт под полосой акции */
.promo-sticky-on .header.fixed .header-fixed-inside {
    top: var(--promo-sticky-h, 0px);
}
.promo-banner-arrow {
    flex-shrink: 0;
}

.promo-banner-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.promo-banner-btn,
.promo-banner-close {
    z-index: 2;
}
.promo-banner-btn {
    position: relative;
}

@media (min-width: 1360px) and (max-width: 1439px) {
    .promo-banner {
        --promo-fs: 15px;
    }
}

@media (max-width: 1359px) {
    .promo-banner {
        --promo-fs: 14px;
        padding: 12px 56px;
    }
    .promo-banner-container {
        gap: 12px 24px;
    }
    .promo-banner-title {
        gap: 10px;
    }
    .promo-banner-timer {
        padding-left: 24px;
    }
    .promo-banner-timer-item {
        min-width: 48px;
        padding: 4px;
    }
    .promo-banner-close {
        right: 12px;
    }
}

@media (max-width: 1199px) {
    .promo-banner-timer-label {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .promo-banner-btn {
        display: none;
    }
}

@media (max-width: 767px) {
    /* На мобильных — всегда тонкая полоса, закреплённая сверху.
       Сама .promo-banner остаётся в потоке как пустое место под полосу. */
    .promo-banner {
        display: block;
        min-height: 0;
        height: var(--promo-sticky-h, 46px);
        padding: 0;
        overflow: visible;
        background: none;
    }
    .promo-banner::before,
    .promo-banner-container,
    .promo-banner-close {
        display: none;
    }
    .promo-banner-sticky {
        gap: 12px;
        padding: 12px 16px;
        font-size: 13px;
        transform: none;
        visibility: visible;
        transition: none;
    }
}
