.announcement-bar {
    width: 100%;
    height: 70px;
    background: linear-gradient(
        90deg,
        #000000 0%,
        #111111 25%,
        #1c1c1c 50%,
        #111111 75%,
        #000000 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    position: relative;
    overflow: hidden;
    z-index: 20;
}

/* Hareketli kırmızı ışık efekti */
.announcement-bar::before {
    content: '';
    position: absolute;
    width: 220%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 0, 0, 0.18) 20%,
        rgba(255, 0, 0, 0.24) 40%,
        rgba(255, 0, 0, 0.18) 60%,
        transparent 80%
    );
    animation: slide 6s linear infinite;
    pointer-events: none;
}

@keyframes slide {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(50%); }
}

.content-wrapper {
    display: flex;
    align-items: center;
    gap: 25px;
    position: relative;
    z-index: 1;
}

.main-message {
    font-size: 26px;
    font-weight: 600;
    color: #ff0000;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* SEPETTE EK %15 İNDİRİM! – farklı ritim */
.discount-highlight {
    font-weight: 900;
    animation: discountBlink 1.2s ease-in-out infinite;
}

@keyframes discountBlink {
    0%, 100% { color: #ff0000; }
    50% { color: #ffffff; }
}

.separator {
    width: 2px;
    height: 35px;
    background: #ff0000;
}

.warning-message {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    animation: colorChange 1s linear infinite;
}

@keyframes colorChange {
    0%, 100% { color: #ffffff; }
    50% { color: #ff0000; }
}

/* ------- Mobil & tablet düzeni ------- */
@media (max-width: 991px) {
    .announcement-bar {
        height: auto;
        padding: 4px 0;              /* Üst-alt boşluk minimum */
    }

    .content-wrapper {
        flex-direction: column;
        gap: 0;                      /* Elemanlar arası boşluk yok */
        white-space: normal;
        text-align: center;
        align-items: center;
    }

    .main-message,
    .warning-message {
        display: block;
        margin: 0;
    }

    .main-message {
        font-size: 15px;
        letter-spacing: 0.4px;
        line-height: 1.1;            /* Satır aralığı sıkı */
    }

    .discount-highlight {
        display: block;
        font-size: 17px;
        line-height: 1.1;
        margin-top: 2px;
        margin-bottom: 0;
    }

    .warning-message {
        font-size: 14px;
        line-height: 1.1;
        margin-top: 2px;
    }

    .separator {
        display: none;
    }
}
