#bannerContainer {
    width: auto; 
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    position: fixed;
    top: 200px;
    left: 0;
    z-index: 9999;
    pointer-events: none;
}

#bannerContainer .banner-wrapper {
    display: flex;
    align-items: stretch;
    height: 250px;
    position: relative;
    background: transparent;
    margin: 0;
    padding: 0;
    pointer-events: auto;
}

#bannerContainer .toggle-btn {
    width: 28px;
    height: 250px;
    background: #1565C0;
    color: white;
    border: 2px solid #1565C0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.3s ease, border 0.3s ease, box-shadow 0.3s ease;
    z-index: 10;
    border-radius: 0;
    padding: 0;
    position: relative;
    box-shadow: -2px 0 10px rgba(33, 150, 243, 0.3);
    order: 2;
}

#bannerContainer .toggle-btn:hover {
    background: #1565C0;
    border: 2px solid #0D47A1;
    box-shadow: -2px 0 25px rgba(33, 150, 243, 0.6);
}

#bannerContainer .toggle-btn .arrow {
    width: 30px;
    height: 30px;
    transition: transform 0.4s ease;
    display: inline-block;
}

#bannerContainer .toggle-btn.active .arrow {
    transform: rotate(180deg);
}

#bannerContainer .banner-content {
    width: 0;
    overflow: hidden;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    display: flex;
    align-items: center;
    height: 250px;
    flex-shrink: 0;
    border: 2px solid #2196F3;
    border-right: none;
    order: 1;
}

#bannerContainer .banner-content.expanded {
    width: 250px;
}

#bannerContainer .banner-image {
    width: 250px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    background: #f0f0f0;
}

#bannerContainer .banner-image img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    display: block;
}

#bannerContainer .banner-image .isd-promotion {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#bannerContainer .banner-image .isd-promotion iframe,
#bannerContainer .banner-image .isd-promotion img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border: none;
}

#bannerContainer .banner-content:not(.expanded) {
    width: 0;
    border: none;
}


@media (max-width: 768px) {
    #bannerContainer {
        top: 150px; 
    }
    
    #bannerContainer .banner-wrapper {
        height: 200px;
    }

    #bannerContainer .toggle-btn {
        width: 28px;
        height: 200px;
    }

    #bannerContainer .toggle-btn .arrow {
        width: 25px;
        height: 25px;
    }

    #bannerContainer .banner-content {
        height: 200px;
    }

    #bannerContainer .banner-content.expanded {
        width: 200px;
    }

    #bannerContainer .banner-image {
        width: 200px;
        height: 200px;
    }

    #bannerContainer .banner-image img,
    #bannerContainer .banner-image .isd-promotion iframe,
    #bannerContainer .banner-image .isd-promotion img {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    #bannerContainer {
        top: 100px; 
    }
    
    #bannerContainer .banner-wrapper {
        height: 150px;
    }

    #bannerContainer .toggle-btn {
        width: 28px;
        height: 150px;
    }

    #bannerContainer .toggle-btn .arrow {
        width: 20px;
        height: 20px;
    }

    #bannerContainer .banner-content {
        height: 150px;
    }

    #bannerContainer .banner-content.expanded {
        width: 150px;
    }

    #bannerContainer .banner-image {
        width: 150px;
        height: 150px;
    }

    #bannerContainer .banner-image img,
    #bannerContainer .banner-image .isd-promotion iframe,
    #bannerContainer .banner-image .isd-promotion img {
        width: 150px;
        height: 150px;
    }
}