/* =================================================
   Announcement Bar Widget
   File: elementor-widgets/assets/announcement-bar.css
   ================================================= */

/* ── Bar wrapper ── */
.csw-ann-bar {
    display: flex;
    align-items: center;
    background-color: #fde8e8;
    padding: 10px 40px;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

/* ── Swiper ── */
.csw-ann-swiper {
    flex: 1;
    overflow: hidden;
    min-width: 0;
}

.csw-ann-swiper .swiper-wrapper {
    align-items: center;
}

/* ── Slide inner ── */
.csw-ann-slide-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

/* ── Link style ── */
a.csw-ann-link {
    text-decoration: none;
}

a.csw-ann-link:hover .csw-ann-text {
    text-decoration: underline;
}

/* ── Text ── */
.csw-ann-text {
    font-size: 14px;
    font-weight: 500;
    color: #333333;
    line-height: 1.4;
    text-align: center;
}

/* ── Icon ── */
.csw-ann-icon {
    display: inline-flex;
    align-items: center;
    color: #ee0055;
    font-size: 14px;
    flex-shrink: 0;
}

.csw-ann-icon svg,
.csw-ann-icon i {
    display: block;
}

/* ── Arrows ── */
.csw-ann-prev,
.csw-ann-next {
    flex-shrink: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: opacity 0.2s ease;
    z-index: 10;
}

.csw-ann-prev:hover,
.csw-ann-next:hover {
    opacity: 1;
}

.csw-ann-prev svg,
.csw-ann-next svg {
    stroke: #555555;
    display: block;
}

.csw-ann-prev.swiper-button-disabled,
.csw-ann-next.swiper-button-disabled {
    opacity: 0.2;
    pointer-events: none;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .csw-ann-bar {
        padding: 8px 32px;
    }
    .csw-ann-text {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .csw-ann-bar {
        padding: 8px 28px;
    }
    .csw-ann-text {
        font-size: 12px;
    }
}
