/* ============================================
   Big Central Lojista - Página de Categorias
   Design Moderno, Criativo e Responsivo
   ============================================ */

/* Hero Section */
.categorias-hero-section {
    background: linear-gradient(135deg, #DC143C 0%, #B71C1C 100%);
    padding: 30px 20px 40px;
    position: relative;
    overflow: hidden;
}

/* Ondulação criativa no fundo */
.categorias-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 120"><path fill="rgba(255,255,255,0.08)" d="M0,64L48,69.3C96,75,192,85,288,85.3C384,85,480,75,576,64C672,53,768,43,864,48C960,53,1056,75,1152,80C1248,85,1344,75,1392,69.3L1440,64L1440,120L1392,120C1344,120,1248,120,1152,120C1056,120,960,120,864,120C768,120,672,120,576,120C480,120,384,120,288,120C192,120,96,120,48,120L0,120Z"></path></svg>');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
    opacity: 1;
    animation: wave 8s ease-in-out infinite;
}

.categorias-hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 120"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,101.3C96,107,192,117,288,117.3C384,117,480,107,576,96C672,85,768,75,864,80C960,85,1056,107,1152,112C1248,117,1344,107,1392,101.3L1440,96L1440,120L1392,120C1344,120,1248,120,1152,120C1056,120,960,120,864,120C768,120,672,120,576,120C480,120,384,120,288,120C192,120,96,120,48,120L0,120Z" transform="scale(-1,1) translate(-1440,0)"></path></svg>');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
    animation: wave 10s ease-in-out infinite reverse;
}

@keyframes wave {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    50% {
        transform: translateX(-25px) translateY(5px);
    }
}

.categorias-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.categorias-hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.categorias-hero-image {
    flex: 0 0 auto;
    z-index: 2;
}

.categorias-mascot-img {
    max-width: 200px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.3));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-6px);
    }
}

.categorias-hero-text {
    flex: 1;
    min-width: 250px;
    text-align: left;
    z-index: 2;
}

.categorias-hero-title {
    font-size: 42px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 12px;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3), 
                 0 1px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.02em;
}

.categorias-hero-title .highlight-text-white {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.categorias-hero-subtitle {
    font-size: 20px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.4;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.01em;
}

/* Main Section */
.categorias-main-section {
    padding: 40px 20px;
    background: linear-gradient(to bottom, #F9FAFB 0%, #FFFFFF 100%);
}

.categorias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.categoria-card {
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.categoria-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.categoria-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.categoria-card-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%);
    position: relative;
}

.categoria-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.categoria-card:hover .categoria-card-image {
    transform: scale(1.05);
}

.categoria-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #DC143C 0%, #B71C1C 100%);
}

.categoria-placeholder-icon {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.8);
}

.categoria-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.categoria-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 12px;
    line-height: 1.3;
}

.categoria-card-description {
    font-size: 0.9375rem;
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.categoria-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #F3F4F6;
}

.categoria-card-count {
    font-size: 0.875rem;
    color: #6B7280;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.categoria-card-count i {
    color: #DC143C;
}

.categoria-card-arrow {
    color: #DC143C;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.categoria-card:hover .categoria-card-arrow {
    transform: translateX(4px);
}

.categorias-empty {
    text-align: center;
    padding: 80px 20px;
    color: #6B7280;
}

.categorias-empty i {
    font-size: 4rem;
    color: #D1D5DB;
    margin-bottom: 24px;
}

.categorias-empty h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 12px;
}

.categorias-empty p {
    font-size: 1rem;
    color: #6B7280;
}

/* Responsivo - Tablet */
@media (max-width: 992px) {
    .categorias-hero-section {
        padding: 25px 20px 35px;
    }
    
    .categorias-hero-content {
        flex-direction: column;
        gap: 12px;
    }
    
    .categorias-mascot-img {
        max-width: 180px;
    }
    
    .categorias-hero-title {
        font-size: 36px;
        text-align: center;
    }
    
    .categorias-hero-subtitle {
        font-size: 18px;
        text-align: center;
    }
    
    .categorias-hero-text {
        text-align: center;
    }
    
    .categorias-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }
}

/* Responsivo - Mobile */
@media (max-width: 768px) {
    .categorias-hero-section {
        padding: 25px 20px 35px;
    }
    
    .categorias-hero-content {
        flex-direction: column;
        gap: 12px;
    }
    
    .categorias-mascot-img {
        max-width: 150px;
    }
    
    .categorias-hero-title {
        font-size: 32px;
        text-align: center;
        margin-bottom: 10px;
    }
    
    .categorias-hero-subtitle {
        font-size: 17px;
        text-align: center;
    }
    
    .categorias-hero-text {
        text-align: center;
    }
    
    .categorias-main-section {
        padding: 30px 15px;
    }
    
    .categorias-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 16px;
    }
    
    .categoria-card-image-wrapper {
        height: 160px;
    }
    
    .categoria-card-body {
        padding: 20px;
    }
    
    .categoria-card-title {
        font-size: 1.25rem;
    }
}



