.bfcm-banner-slider {
    background-color: #000;
    color: #ffffff;
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Push arrows to edges */
    padding: 0 20px;
    box-sizing: border-box;
    position: sticky;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    top: 0;
    z-index: 99;
}

.bfcm-banner-slider .content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    overflow: hidden;
    /* Ensure slider doesn't break layout */
    margin: 0 40px;
    /* Space for arrows */
}

.bfcm-banner-slider .fixed-text {
    font-weight: 700;
    white-space: nowrap;
    margin-right: 10px;
    color: #FFD700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bfcm-banner-slider .swiper {
    width: auto;
    max-width: 600px;
    /* Limit width to prevent stretching too much */
    margin: 0;
}

.bfcm-banner-slider .swiper-slide {
    text-align: left;
    font-size: 16px;
    display: flex;
    align-items: center;
    height: 100%;
    white-space: nowrap;
}

/* Highlight Styles */
.bfcm-banner-slider .highlight-offer {
    background-color: #007BFF;
    /* Blue */
    color: #ffffff;
    font-weight: 700;
    margin: 0 5px;
    padding: 2px 8px;
    border-radius: 4px;
    animation: smoothBlink 2s infinite ease-in-out;
}

.bfcm-banner-slider .highlight-code {
    background-color: #FF5722;
    /* Orange */
    color: #ffffff;
    font-weight: 700;
    margin-left: 5px;
    padding: 2px 8px;
    border-radius: 4px;
}

@keyframes smoothBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

/* Custom Navigation Arrows */
.bfcm-banner-slider .swiper-button-prev-custom,
.bfcm-banner-slider .swiper-button-next-custom {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    color: #ffffff;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.bfcm-banner-slider .swiper-button-prev-custom {
    left: 20px;
}

.bfcm-banner-slider .swiper-button-next-custom {
    right: 20px;
}

.bfcm-banner-slider .swiper-button-prev-custom:hover,
.bfcm-banner-slider .swiper-button-next-custom:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #FFD700;
}

.bfcm-banner-slider .swiper-button-prev-custom svg,
.bfcm-banner-slider .swiper-button-next-custom svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .bfcm-banner-slider {
        height: auto;
        padding: 15px 40px;
        /* More padding for arrows on mobile */
        flex-wrap: wrap;
    }

    .bfcm-banner-slider .content-wrapper {
        flex-direction: column;
        text-align: center;
        margin: 0;
    }

    .bfcm-banner-slider .fixed-text {
        margin-right: 0;
        margin-bottom: 5px;
    }

    .bfcm-banner-slider .swiper-slide {
        justify-content: center;
    }
    .bfcm-banner-slider .swiper-button-prev-custom{
        left: 0
    }
    .bfcm-banner-slider .swiper-button-next-custom {
        right: 0;
    }
}