/* ===== PÁGINA DE CATEGORIA ===== */

/* Breadcrumb */
.breadcrumb {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .breadcrumb {
        margin-top: 50px; /* Adiciona margem para não sobrepor o menu mobile */
        padding: 0.75rem 0;
    }
}

.breadcrumb-content {
    display: flex;
    align-items: center;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.breadcrumb-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: #3b82f6;
}

.breadcrumb-separator {
    color: #94a3b8;
    font-size: 0.75rem;
}

.breadcrumb-current {
    color: #1e293b;
    font-weight: 500;
}

/* Hero da Categoria */
.categoria-hero {
    background: linear-gradient(135deg, var(--industrial-black, #1B1B1B) 0%, #000000 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.categoria-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.categoria-hero-text {
    text-align: left;
}

.categoria-hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 20px 0;
    line-height: 1.2;
    text-align: left;
}

.categoria-hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
    text-align: left;
}

.categoria-hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(30, 64, 175, 0.3), rgba(96, 165, 250, 0.2));
}

.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.hero-shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 10%;
    animation: float 6s ease-in-out infinite;
}

.hero-shape-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 5%;
    animation: float 8s ease-in-out infinite reverse;
}

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

@media (max-width: 768px) {
    .categoria-hero {
        padding: 3rem 0;
        min-height: auto;
        margin-top: 60px; /* Adiciona margem para não sobrepor o menu mobile */
        position: relative;
        z-index: 1; /* Garante que fique abaixo do menu */
    }
    
    .categoria-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .categoria-hero-title {
        font-size: 2.5rem;
    }
    
    .categoria-hero-stats {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .hero-stat {
        text-align: center;
    }
    
    .hero-image-container {
        max-width: 300px;
        height: 200px;
    }
}

/* Produtos da Categoria */
.categoria-produtos {
    padding: 80px 0;
    background: #f8fafc;
}

.produtos-header {
    text-align: center;
    margin-bottom: 60px;
}

.produtos-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 15px 0;
    text-align: center;
}

.produtos-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    margin: 0 0 40px 0;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.produtos-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid #e2e8f0;
    background: white;
    color: #64748b;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: #3b82f6;
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.4);
}

.produtos-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.empty-icon {
    font-size: 4rem;
    color: #cbd5e1;
    margin-bottom: 1.5rem;
}

.produtos-empty h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
}

.produtos-empty p {
    color: #6b7280;
    margin-bottom: 2rem;
}

.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.produto-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
}

.produto-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.produto-imagem {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.produto-imagem-link {
    display: block;
    width: 100%;
    height: 100%;
}

.produto-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.produto-card:hover .produto-img {
    transform: scale(1.1);
}

.produto-sem-imagem {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.produto-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    color: #64748b;
    font-size: 2.5rem;
}

.produto-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #000000, #333333);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    z-index: 3;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.produto-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.produto-card:hover .produto-overlay {
    opacity: 1;
}

.produto-overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: white;
}

.produto-conteudo {
    padding: 2rem;
}

.produto-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.produto-nome {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.produto-nome a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.produto-nome a:hover {
    color: #3b82f6;
}

.produto-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
}

.stars {
    display: flex;
    gap: 0.125rem;
}

.stars i {
    color: #fbbf24;
    font-size: 0.875rem;
}

.rating-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
}

.produto-descricao {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
}

.produto-descricao.expanded {
    -webkit-line-clamp: unset;
    display: block;
    overflow: visible;
}

.btn-ver-mais {
    display: inline-block;
    color: #3b82f6;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 1.5rem;
    background: none;
    border: none;
    padding: 0;
    text-decoration: underline;
}

.btn-ver-mais:hover {
    color: #1e40af;
}

.produto-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #64748b;
}

.feature-item i {
    color: #10b981;
    font-size: 1rem;
    width: 16px;
    text-align: center;
}

.produto-actions {
    margin-top: auto;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-white {
    background: white;
    color: #1e293b;
    border: 2px solid white;
}

.btn-white:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-white:hover {
    background: white;
    color: #1e293b;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .categoria-produtos {
        padding: 3rem 0;
    }
    
    .produtos-title {
        font-size: 2rem;
    }
    
    .produtos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .produto-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .produto-rating {
        margin-left: 0;
    }
    
    .produto-overlay-content {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

.produto-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.produto-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.produto-imagem {
    position: relative;
    height: 250px;
    overflow: hidden;
    z-index: 1;
}

.produto-imagem-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.produto-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.produto-card:hover .produto-img {
    transform: scale(1.05);
}

.produto-sem-imagem {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.produto-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    color: #64748b;
    font-size: 2rem;
}

.produto-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 2;
}

.produto-card:hover .produto-overlay {
    opacity: 1;
    visibility: visible;
}

.produto-overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-align: center;
}

.produto-overlay-content i {
    font-size: 2rem;
}

.produto-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.produto-nome {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 10px 0;
    line-height: 1.3;
    text-align: left;
}

.produto-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.rating-stars {
    display: flex;
    gap: 2px;
}

.rating-stars .fas {
    color: var(--industrial-yellow, #F2B705);
    font-size: 0.875rem;
}

.rating-text {
    font-size: 0.875rem;
    color: #64748b;
}

.produto-descricao {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 20px 0;
    text-align: left;
}

.produto-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.produto-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state-content {
    max-width: 400px;
    margin: 0 auto;
}

.empty-state i {
    font-size: 4rem;
    color: #94a3b8;
    margin-bottom: 1rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: #64748b;
    margin-bottom: 2rem;
}

/* Outras Categorias */
.outras-categorias {
    padding: 5rem 0;
    background: white;
}

.outras-categorias-header {
    text-align: center;
    margin-bottom: 4rem;
}

.outras-categorias-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.outras-categorias-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    margin: 0;
    text-align: center;
}

.categorias-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-item .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 0.25rem;
}

.stat-item .stat-label {
    font-size: 0.875rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.categorias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.categoria-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
}

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

.categoria-imagem {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.categoria-imagem-link {
    display: block;
    width: 100%;
    height: 100%;
}

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

.categoria-card:hover .categoria-img {
    transform: scale(1.1);
}

.categoria-sem-imagem {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.categoria-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    color: #64748b;
    font-size: 2rem;
}

.categoria-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.categoria-card:hover .categoria-overlay {
    opacity: 1;
}

.categoria-overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: white;
}

.categoria-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59, 130, 246, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.categoria-content {
    padding: 2rem;
}

.categoria-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.categoria-nome {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.categoria-nome a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.categoria-nome a:hover {
    color: #3b82f6;
}

.categoria-icon {
    color: #cbd5e1;
    transition: all 0.3s ease;
}

.categoria-card:hover .categoria-icon {
    color: #3b82f6;
    transform: translateX(4px);
}

.categoria-descricao {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.categoria-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f1f5f9;
    padding: 0.5rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    color: #475569;
    font-weight: 500;
}

.feature-tag i {
    color: var(--industrial-blue, #1E5A82);
    font-size: 0.875rem;
}

.categoria-footer {
    margin-top: auto;
}

.categorias-cta {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 20px;
    padding: 4rem 2rem;
    text-align: center;
    border: 1px solid #334155;
    position: relative;
    overflow: hidden;
}

.categorias-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-content p {
    color: #e2e8f0;
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 200px;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cta-buttons .btn-primary {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #ffffff;
    border: none;
}

.cta-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.cta-buttons .btn-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.cta-buttons .btn-outline:hover {
    background: #ffffff;
    color: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .outras-categorias {
        padding: 3rem 0;
    }
    
    .outras-categorias-title {
        font-size: 2rem;
    }
    
    .categorias-stats {
        gap: 1.5rem;
    }
    
    .categorias-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .categoria-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .categoria-icon {
        align-self: flex-end;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

.outras-categorias .section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.outras-categorias .section-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

.outras-categorias .categorias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.categoria-card-small {
    transform: scale(0.9);
    transition: all 0.3s ease;
}

.categoria-card-small:hover {
    transform: scale(0.95) translateY(-4px);
}

.categoria-card-small .categoria-imagem {
    height: 200px;
}

.categoria-card-small .categoria-titulo {
    font-size: 1.125rem;
}

.categoria-card-small .categoria-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .categoria-hero {
        padding: 2rem 0;
    }
    
    .categoria-hero-title {
        font-size: 2rem;
    }
    
    .categoria-hero-description {
        font-size: 1rem;
    }
    
    .categoria-hero-stats {
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .produtos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .outras-categorias .categorias-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .categoria-card-small {
        transform: none;
    }
    
    .categoria-card-small:hover {
        transform: translateY(-2px);
    }
}

@media (max-width: 480px) {
    .breadcrumb-nav {
        font-size: 0.75rem;
    }
    
    .categoria-hero-title {
        font-size: 1.75rem;
    }
    
    .outras-categorias .categorias-grid {
        grid-template-columns: 1fr;
    }
}