/* ============================================
   HOME BANNER SECTION - Giống mẫu divineshop.vn
   ============================================ */

.home-banner-section {
    margin-bottom: 30px;
}

/* Banner Slider Styles */
.banner-slider-main {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.banner-slide-item {
    outline: none;
}

.banner-slider-main .slick-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 10;
}

.banner-slider-main .slick-dots li {
    width: 10px;
    height: 10px;
    margin: 0;
    padding: 0;
}

.banner-slider-main .slick-dots li button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    font-size: 0;
    transition: all 0.3s ease;
}

.banner-slider-main .slick-dots li.slick-active button {
    background: #fff;
    width: 30px;
    border-radius: 5px;
}

.banner-slider-main .slick-prev,
.banner-slider-main .slick-next {
    display: none !important;
}

.banner-slider-main .slick-prev {
    left: 15px;
}

.banner-slider-main .slick-next {
    right: 15px;
}

.banner-slider-main .slick-prev:hover,
.banner-slider-main .slick-next:hover {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.banner-slider-main .slick-prev:before,
.banner-slider-main .slick-next:before {
    display: none;
}

.banner-slider-main .slick-prev i,
.banner-slider-main .slick-next i {
    font-size: 18px;
    color: #333;
    line-height: 1;
}

/* Responsive cho slider */
@media (max-width: 767px) {
    .banner-slider-main .slick-prev,
    .banner-slider-main .slick-next {
        width: 35px;
        height: 35px;
    }
    
    .banner-slider-main .slick-prev {
        left: 10px;
    }
    
    .banner-slider-main .slick-next {
        right: 10px;
    }
    
    .banner-slider-main .slick-dots {
        bottom: 10px;
    }
}

.home-banner-card {
    border-radius: 12px;
    padding: 25px;
    color: #fff;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.home-banner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Banner lớn - Group săn sale */
.home-banner-large {
    min-height: 350px;
    background-size: cover;
    background-position: center;
}

.banner-content {
    position: relative;
    z-index: 2;
}

.banner-title-large {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
}

.banner-subtitle {
    font-size: 16px;
    margin-bottom: 20px;
    opacity: 0.95;
}

.banner-btn {
    display: inline-block;
    background: #fff;
    color: #667eea;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.banner-btn i {
    margin-right: 8px;
}

.banner-title-small i,
.banner-title-medium i {
    margin-right: 8px;
    opacity: 0.95;
}

.banner-icon-item i {
    line-height: 1;
}

.banner-btn:hover {
    background: #f0f0f0;
    transform: scale(1.05);
    color: #667eea;
}

.banner-icons {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    z-index: 1;
}

.banner-icon-item {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.banner-icon-item:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

/* Banner nhỏ */
.home-banner-small {
    min-height: 150px;
}

.banner-content-small {
    position: relative;
    z-index: 2;
}

.banner-title-small {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.banner-desc-small {
    font-size: 13px;
    margin-bottom: 12px;
    opacity: 0.9;
}

.banner-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.banner-logo-text {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

/* Banner medium */
.home-banner-medium {
    min-height: 120px;
}

.banner-content-medium {
    position: relative;
    z-index: 2;
}

.banner-title-medium {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.banner-desc-medium {
    font-size: 12px;
    opacity: 0.9;
}

/* ============================================
   CATEGORY SIDEBAR DESKTOP
   ============================================ */

.category-sidebar-desktop {
    padding-right: 20px;
}

.category-sidebar-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.category-sidebar-header {
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    padding: 15px 20px;
    color: #fff;
}

.category-sidebar-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-sidebar-title i {
    font-size: 18px;
}

.category-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-sidebar-item {
    border-bottom: 1px solid #f0f0f0;
}

.category-sidebar-item:last-child {
    border-bottom: none;
}

.category-sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.category-sidebar-link:hover {
    background: #f8f9fa;
    color: #0066cc;
    padding-left: 25px;
}

.category-sidebar-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.category-sidebar-icon-fallback {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0066cc;
    font-size: 18px;
}

.category-sidebar-link span {
    flex: 1;
}

/* Responsive */
@media (max-width: 991px) {
    .category-sidebar-desktop {
        display: none !important;
    }
    
    .home-banner-large {
        min-height: 280px;
    }
    
    .banner-title-large {
        font-size: 24px;
    }
    
    .banner-icons {
        top: 15px;
        right: 15px;
        gap: 8px;
    }
    
    .banner-icon-item {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .home-banner-section .row {
        margin: 0;
    }
    
    .home-banner-section .row > div {
        padding: 0 5px;
        margin-bottom: 10px;
    }
    
    .home-banner-large {
        min-height: 220px;
        padding: 20px;
    }
    
    .banner-title-large {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .banner-subtitle {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .banner-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .banner-icons {
        position: static;
        margin-top: 15px;
        justify-content: center;
    }
    
    .home-banner-small,
    .home-banner-medium {
        min-height: 100px;
        padding: 15px;
    }
    
    .banner-title-small,
    .banner-title-medium {
        font-size: 14px;
    }
    
    .banner-desc-small,
    .banner-desc-medium {
        font-size: 11px;
    }
}

/* Extra small mobile tuning */
@media (max-width: 575px) {
    .home-banner-large {
        min-height: 180px;
        padding: 16px;
    }

    .banner-title-large {
        font-size: 18px;
        margin-bottom: 8px;
        line-height: 1.3;
    }

    .banner-subtitle {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .banner-btn {
        padding: 10px 18px;
        font-size: 13px;
    }

    .banner-icons {
        position: static;
        margin-top: 10px;
        justify-content: flex-start;
        gap: 6px;
    }

    .banner-icon-item {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .home-banner-small,
    .home-banner-medium {
        min-height: 90px;
        padding: 12px;
    }

    .banner-title-small,
    .banner-title-medium {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .banner-desc-small,
    .banner-desc-medium {
        font-size: 10px;
    }
}
