.brand-popup {
    position: relative;
    background: linear-gradient(135deg, #F649A7, #54A4FB, #54FC9D);
    padding: 1.5rem 3rem;
    /* border-radius: 12px; */
    /* max-width: 800px; */
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.brand-popup-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    /* padding: 20px; */
}

.brand-popup-close {
    position: absolute;
    top: .5rem;
    right: .5rem;
    font-size: 50px;
    color: #000;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.brand-popup-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Swiper customization */
.brand-swiper {
    width: 100%;
    margin-bottom: 15px;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.swiper-button-prev,
.swiper-button-next {
    filter: invert(1);
}

.swiper-button-prev:after,
.swiper-button-next:after {
    display: none;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.brand-popup-bg {
    animation: fadeIn 0.3s ease;
}

@media(max-width: 768px) {
    .brand-popup {
        padding: 1rem;
    }

    .brand-popup-close {
        font-size: 40px;
    }

    .brand-swiper {
        padding: 0 2rem!important;
    }
}