/*
 * BANNER INFERIOR - Após Produtos por Categorias
 * Posição: bottom
 */

/* ==================== SEÇÃO PRINCIPAL ==================== */

.bottom-banner-section {
    padding: 3rem 0 !important;
    background-color: #f8f9fa !important;
    position: relative !important;
    overflow: hidden !important;
}

.bottom-banner-section .container {
    position: relative !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
}

/* ==================== SWIPER CONTAINER ==================== */

.bottom-banner-swiper {
    width: 100% !important;
    height: auto !important;
    position: relative !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12) !important;
}

.bottom-banner-swiper .swiper-wrapper {
    display: flex !important;
    align-items: stretch !important;
}

.bottom-banner-swiper .swiper-slide {
    width: 100% !important;
    height: auto !important;
    display: flex !important;
    align-items: stretch !important;
}

/* ==================== BANNER ITEM ==================== */

.bottom-banner-item {
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
    overflow: hidden !important;
}

.bottom-banner-link {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    text-decoration: none !important;
    color: inherit !important;
    position: relative !important;
}

/* ==================== DESKTOP BANNER ==================== */

.bottom-banner-desktop {
    position: relative !important;
    width: 100% !important;
    height: 300px !important;
    overflow: hidden !important;
    display: block !important;
}

.bottom-banner-desktop img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    transition: transform 0.6s ease !important;
}

.bottom-banner-link:hover .bottom-banner-desktop img {
    transform: scale(1.05) !important;
}

/* ==================== CONTEÚDO DO BANNER ==================== */

.bottom-banner-content {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3)) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 2rem !important;
    text-align: center !important;
}

.bottom-banner-text {
    color: #ffffff !important;
    max-width: 600px !important;
}

.bottom-banner-title {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    margin: 0 0 1rem 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    font-family: 'Inter', 'Roboto', sans-serif !important;
}

.bottom-banner-subtitle {
    font-size: 1.25rem !important;
    font-weight: 400 !important;
    margin: 0 !important;
    opacity: 0.9 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
    line-height: 1.4 !important;
}

/* ==================== MOBILE BANNER ==================== */

.bottom-banner-mobile {
    display: none !important;
    position: relative !important;
    width: 100% !important;
    height: 200px !important;
    overflow: hidden !important;
}

.bottom-banner-mobile img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

.bottom-banner-mobile-content {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent) !important;
    padding: 1.5rem !important;
    color: #ffffff !important;
    text-align: center !important;
}

.bottom-banner-mobile-title {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    margin: 0 0 0.5rem 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

.bottom-banner-mobile-subtitle {
    font-size: 0.9rem !important;
    font-weight: 400 !important;
    margin: 0 0 1rem 0 !important;
    opacity: 0.9 !important;
}

.bottom-banner-mobile-btn {
    display: inline-block !important;
    background: #e4002b !important;
    color: #ffffff !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 25px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    transition: all 0.3s ease !important;
}

.bottom-banner-link:hover .bottom-banner-mobile-btn {
    background: #c8001f !important;
    transform: translateY(-2px) !important;
}

/* ==================== NAVEGAÇÃO DO SWIPER ==================== */

.bottom-banner-next,
.bottom-banner-prev {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 50px !important;
    height: 50px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border: none !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    z-index: 10 !important;
    color: #333333 !important;
    font-size: 18px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
}

.bottom-banner-next {
    right: 1rem !important;
}

.bottom-banner-prev {
    left: 1rem !important;
}

.bottom-banner-next:hover,
.bottom-banner-prev:hover {
    background: #e4002b !important;
    color: #ffffff !important;
    transform: translateY(-50%) scale(1.1) !important;
}

.bottom-banner-next::after {
    content: '→' !important;
}

.bottom-banner-prev::after {
    content: '←' !important;
}

/* ==================== PAGINAÇÃO ==================== */

.bottom-banner-pagination {
    position: relative !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: auto !important;
    margin-top: 1.5rem !important;
    display: flex !important;
    justify-content: center !important;
    gap: 0.5rem !important;
}

.bottom-banner-pagination .swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    background: rgba(0, 0, 0, 0.3) !important;
    border: 2px solid transparent !important;
    border-radius: 50% !important;
    margin: 0 !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    opacity: 1 !important;
}

.bottom-banner-pagination .swiper-pagination-bullet-active {
    background: #e4002b !important;
    border-color: #e4002b !important;
    transform: scale(1.2) !important;
}

/* ==================== RESPONSIVIDADE ==================== */

/* Tablet */
@media (max-width: 1024px) {
    .bottom-banner-section {
        padding: 2.5rem 0 !important;
    }
    
    .bottom-banner-section .container {
        padding: 0 1.5rem !important;
    }
    
    .bottom-banner-desktop {
        height: 250px !important;
    }
    
    .bottom-banner-title {
        font-size: 2rem !important;
    }
    
    .bottom-banner-subtitle {
        font-size: 1.1rem !important;
    }
    
    .bottom-banner-next,
    .bottom-banner-prev {
        width: 45px !important;
        height: 45px !important;
        font-size: 16px !important;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .bottom-banner-section {
        padding: 2rem 0 !important;
    }
    
    .bottom-banner-section .container {
        padding: 0 1rem !important;
    }
    
    .bottom-banner-desktop {
        display: none !important;
    }
    
    .bottom-banner-mobile {
        display: block !important;
    }
    
    .bottom-banner-swiper {
        border-radius: 8px !important;
    }
    
    .bottom-banner-next,
    .bottom-banner-prev {
        width: 40px !important;
        height: 40px !important;
        font-size: 14px !important;
    }
    
    .bottom-banner-next {
        right: 0.75rem !important;
    }
    
    .bottom-banner-prev {
        left: 0.75rem !important;
    }
}

/* Mobile pequeno */
@media (max-width: 480px) {
    .bottom-banner-section .container {
        padding: 0 0.75rem !important;
    }
    
    .bottom-banner-mobile {
        height: 180px !important;
    }
    
    .bottom-banner-mobile-content {
        padding: 1rem !important;
    }
    
    .bottom-banner-mobile-title {
        font-size: 1.25rem !important;
    }
    
    .bottom-banner-mobile-subtitle {
        font-size: 0.8rem !important;
    }
    
    .bottom-banner-mobile-btn {
        padding: 0.6rem 1.25rem !important;
        font-size: 0.8rem !important;
    }
}

/* ==================== ANIMAÇÕES ==================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bottom-banner-section {
    animation: fadeInUp 0.8s ease-out !important;
}

/* ==================== OTIMIZAÇÕES DE PERFORMANCE ==================== */

.bottom-banner-desktop img,
.bottom-banner-mobile img,
.bottom-banner-next,
.bottom-banner-prev {
    will-change: transform !important;
    backface-visibility: hidden !important;
    transform: translateZ(0) !important;
}