/* Banner Icons and Improvements */

/* Add icons to banners using pseudo elements */
.ec-sideBanners a {
    position: relative;
    display: block;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.ec-sideBanners a:hover {
    transform: scale(1.05);
}

/* Add shopping cart icon to first side banner */
.ec-sideBanners a:first-child::after {
    content: "🛍️";
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 48px;
    opacity: 0.8;
}

/* Add user icon to second side banner */
.ec-sideBanners a:last-child::after {
    content: "👤";
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 48px;
    opacity: 0.8;
}

/* Bottom banner improvements */
.ec-bottomBanners {
    margin: 40px 0;
}

.ec-bottomBanners a {
    position: relative;
    display: block;
    overflow: hidden;
    transition: all 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.ec-bottomBanners a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* Add recycle icon to buy service banner */
.ec-bottomBanners a:first-child::after {
    content: "♻️";
    position: absolute;
    top: 15px;
    right: 30px;
    font-size: 64px;
    opacity: 0.7;
}

/* Add mail icon to newsletter banner */
.ec-bottomBanners a:last-child::after {
    content: "📧";
    position: absolute;
    top: 15px;
    right: 30px;
    font-size: 64px;
    opacity: 0.7;
}

/* Main visual carousel improvements */
.main_visual {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.main_visual img {
    width: 100%;
    height: auto;
    display: block;
}

/* Slick dots styling */
.main_visual .slick-dots {
    bottom: 20px;
}

.main_visual .slick-dots li button:before {
    color: white;
    font-size: 12px;
    opacity: 0.5;
}

.main_visual .slick-dots li.slick-active button:before {
    opacity: 1;
    color: #ff6600;
}

/* Alert banner icon animation */
.ec-alertBanner i {
    animation: pulse 2s infinite;
    margin-right: 10px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Banner text overlays */
.ec-sideBanners a::before,
.ec-bottomBanners a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ec-sideBanners a:hover::before,
.ec-bottomBanners a:hover::before {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ec-sideBanners a::after,
    .ec-bottomBanners a::after {
        font-size: 36px;
        top: 10px;
        right: 15px;
    }
    
    .ec-bottomBanners {
        grid-template-columns: 1fr;
    }
}