/**
 * CSS OTIMIZADO PARA SISTEMA DE BUSCA - ESCOLA GRATUITA
 * Implementado seguindo metodologia cirúrgica
 * FASE 3: Design e Interface Moderna
 */

/* ===== CONTAINER DE BUSCA NO HEADER ===== */
.search-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    max-width: 400px;
    position: relative;
}

.search-form {
    display: flex;
    width: 100%;
    position: relative;
}

/* ===== CAMPO DE BUSCA PRINCIPAL ===== */
.search-input {
    width: 100%;
    padding: 12px 20px;
    padding-left: 45px;
    padding-right: 50px;
    border: 2px solid #e1e5e9;
    border-radius: 25px;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    outline: none;
}

.search-input:focus {
    border-color: #1a2035;
    box-shadow: 0 4px 12px rgba(26, 32, 53, 0.15);
    transform: translateY(-1px);
}

.search-input::placeholder {
    color: #6c757d;
    font-weight: 400;
}

/* ===== ÍCONES DE BUSCA ===== */
.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 18px;
    transition: color 0.3s ease;
    z-index: 2;
}

.search-input:focus + .search-icon {
    color: #1a2035;
}

.search-button {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #1a2035, #2c3e50);
    color: white;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(26, 32, 53, 0.2);
    z-index: 2;
}

.search-button:hover {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 12px rgba(26, 32, 53, 0.3);
}

.search-button:active {
    transform: translateY(-50%) scale(0.95);
}

/* ===== AUTOCOMPLETE E SUGESTÕES ===== */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e1e5e9;
    border-top: none;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

.search-suggestions.show {
    display: block;
    animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.suggestion-item {
    padding: 12px 20px;
    cursor: pointer;
    border-bottom: 1px solid #f8f9fa;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #495057 !important; /* Forçar cor para garantir visibilidade */
    opacity: 1 !important;
    visibility: visible !important;
}

.suggestion-item:hover,
.suggestion-item.highlighted {
    background-color: #f8f9fa;
    color: #1a2035;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-icon {
    color: #6c757d;
    font-size: 14px;
    width: 16px;
}

.suggestion-text {
    flex: 1;
    font-size: 14px !important;
    color: #495057 !important; /* Forçar cor para garantir visibilidade */
    font-weight: 400 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.suggestion-category {
    font-size: 12px;
    color: #6c757d;
    background: #e9ecef;
    padding: 2px 8px;
    border-radius: 10px;
}

/* ===== LOADING STATE ===== */
.search-loading {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
}

.search-loading.show {
    display: block;
}

.search-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #e1e5e9;
    border-top: 2px solid #1a2035;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== PÁGINA DE RESULTADOS ===== */
.search-results {
    padding: 40px 0;
    min-height: 60vh;
}

.search-results-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f8f9fa;
}

.search-results-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #1a2035;
    margin-bottom: 10px;
}

.search-results-header p {
    color: #6c757d;
    font-size: 18px;
}

.search-query-highlight {
    background: linear-gradient(120deg, #ffeaa7 0%, #fab1a0 100%);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    color: #2d3436;
}

/* ===== CONTADOR E FILTROS ===== */
.search-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.search-results-count {
    font-size: 16px;
    color: #6c757d;
}

.search-filters {
    display: flex;
    gap: 15px;
    align-items: center;
}

.search-sort {
    padding: 8px 15px;
    border: 1px solid #e1e5e9;
    border-radius: 20px;
    background: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-sort:hover {
    border-color: #1a2035;
    background: #f8f9fa;
}

/* ===== GRID DE RESULTADOS OTIMIZADO ===== */
.courses-grid-ecommerce {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.course-card-ecommerce {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

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

.course-img-ecommerce {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.course-content-ecommerce {
    padding: 20px;
}

.course-category-ecommerce {
    display: inline-block;
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.course-content-ecommerce h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a2035;
    margin-bottom: 15px;
    line-height: 1.4;
}

.btn-ecommerce {
    display: inline-block;
    background: linear-gradient(135deg, #00b894, #00a085);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
}

.btn-ecommerce:hover {
    background: linear-gradient(135deg, #00a085, #00b894);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 184, 148, 0.3);
    color: white;
}

/* ===== RELEVANCE SCORE (ADMIN) ===== */
.relevance-score {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(26, 32, 53, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}

/* ===== ESTADOS ESPECIAIS ===== */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.no-results h2 {
    font-size: 28px;
    color: #1a2035;
    margin-bottom: 15px;
    font-weight: 600;
}

.no-results p {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 30px;
    line-height: 1.6;
}

.search-tips {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 25px;
    border-radius: 15px;
    margin-top: 30px;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.search-tips h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #1a2035;
    font-weight: 600;
}

.search-tips ul {
    padding-left: 20px;
    margin: 0;
}

.search-tips li {
    margin-bottom: 8px;
    color: #495057;
    line-height: 1.5;
}

/* ===== PAGINAÇÃO ===== */
.search-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination-btn {
    padding: 10px 15px;
    border: 1px solid #e1e5e9;
    background: white;
    color: #6c757d;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.pagination-btn:hover {
    border-color: #1a2035;
    background: #1a2035;
    color: white;
}

.pagination-btn.active {
    background: #1a2035;
    color: white;
    border-color: #1a2035;
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-btn.disabled:hover {
    border-color: #e1e5e9;
    background: white;
    color: #6c757d;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
        padding: 10px 0;
    }
    
    .search-container {
        max-width: 100%;
        order: 3;
    }
    
    .search-input {
        font-size: 16px; /* Evitar zoom no iOS */
        padding: 10px 18px;
        padding-left: 40px;
        padding-right: 45px;
    }
    
    .search-button {
        width: 35px;
        height: 35px;
        right: 5px;
    }
    
    .search-results-header h1 {
        font-size: 24px;
    }
    
    .courses-grid-ecommerce {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .search-meta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-filters {
        justify-content: center;
    }
    
    .search-pagination {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .search-input {
        padding: 8px 15px;
        padding-left: 35px;
        padding-right: 40px;
        font-size: 14px;
    }
    
    .search-icon {
        left: 12px;
        font-size: 16px;
    }
    
    .search-button {
        width: 32px;
        height: 32px;
        right: 4px;
    }
    
    .course-content-ecommerce {
        padding: 15px;
    }
    
    .course-content-ecommerce h3 {
        font-size: 16px;
    }
}

/* ===== ACESSIBILIDADE ===== */
.search-input:focus-visible,
.search-button:focus-visible,
.suggestion-item:focus-visible {
    outline: 2px solid #1a2035;
    outline-offset: 2px;
}

.search-suggestions {
    scrollbar-width: thin;
    scrollbar-color: #e1e5e9 transparent;
}

.search-suggestions::-webkit-scrollbar {
    width: 6px;
}

.search-suggestions::-webkit-scrollbar-track {
    background: transparent;
}

.search-suggestions::-webkit-scrollbar-thumb {
    background: #e1e5e9;
    border-radius: 3px;
}

.search-suggestions::-webkit-scrollbar-thumb:hover {
    background: #ced4da;
}

/* ===== ANIMAÇÕES AVANÇADAS ===== */
.course-card-ecommerce {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Delay progressivo para cards */
.course-card-ecommerce:nth-child(1) { animation-delay: 0.1s; }
.course-card-ecommerce:nth-child(2) { animation-delay: 0.2s; }
.course-card-ecommerce:nth-child(3) { animation-delay: 0.3s; }
.course-card-ecommerce:nth-child(4) { animation-delay: 0.4s; }
.course-card-ecommerce:nth-child(5) { animation-delay: 0.5s; }
.course-card-ecommerce:nth-child(6) { animation-delay: 0.6s; }


/* ===== DESIGN SIMÉTRICO PARA CATEGORIAS ===== */
/* Aplicando o mesmo design moderno dos cursos às categorias */

.categories-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
    gap: 25px !important;
    margin-bottom: 40px !important;
}

.category-card {
    background: white !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
}

.category-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15) !important;
}

.category-img {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    transition: transform 0.3s ease !important;
}

.category-card:hover .category-img {
    transform: scale(1.05) !important;
}

.category-content {
    padding: 20px !important;
    text-align: left !important;
}

.category-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a2035;
    margin-bottom: 15px;
    line-height: 1.4;
}

/* Link invisível para tornar todo o card clicável */
.category-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    text-decoration: none;
}

/* Botão da categoria com mesmo estilo dos cursos */
.category-content .btn {
    display: inline-block;
    background: linear-gradient(135deg, #00b894, #00a085);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 3;
}

.category-content .btn:hover {
    background: linear-gradient(135deg, #00a085, #00b894);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 184, 148, 0.3);
    color: white;
    text-decoration: none;
}

/* Animações para categorias */
.category-card {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Delay progressivo para cards de categoria */
.category-card:nth-child(1) { animation-delay: 0.1s; }
.category-card:nth-child(2) { animation-delay: 0.2s; }
.category-card:nth-child(3) { animation-delay: 0.3s; }
.category-card:nth-child(4) { animation-delay: 0.4s; }
.category-card:nth-child(5) { animation-delay: 0.5s; }
.category-card:nth-child(6) { animation-delay: 0.6s; }

/* ===== RESPONSIVIDADE PARA CATEGORIAS ===== */
@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category-content {
        padding: 15px;
    }
    
    .category-content h3 {
        font-size: 16px;
    }
}

/* ===== MELHORIAS GERAIS PARA SIMETRIA ===== */
/* Garantir que todos os botões tenham o mesmo estilo */
.btn:not(.btn-ecommerce):not(.pagination-btn):not(.search-button) {
    display: inline-block;
    background: linear-gradient(135deg, #00b894, #00a085);
    color: white !important;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
}

.btn:not(.btn-ecommerce):not(.pagination-btn):not(.search-button):hover {
    background: linear-gradient(135deg, #00a085, #00b894);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 184, 148, 0.3);
    color: white !important;
    text-decoration: none !important;
}

/* Melhorar seções gerais */
.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a2035;
    margin-bottom: 20px;
    text-align: center;
}

.section-title {
    margin-bottom: 40px;
}

/* Garantir que todas as seções tenham espaçamento consistente */
section {
    padding: 60px 0;
}

section:first-of-type {
    padding-top: 40px;
}

/* Melhorar o container geral */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 40px 0;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
}


/* ===== SISTEMA DE CORES POR CATEGORIA ===== */
/* Cores harmônicas diferenciadas para cada categoria */

/* Tecnologia - Azul (mantém atual) */
.course-category-tecnologia,
.course-category-technology {
    background: linear-gradient(135deg, #74b9ff, #0984e3) !important;
    color: white !important;
}

/* Exatas - Verde (combina com botões) */
.course-category-exatas,
.course-category-exact {
    background: linear-gradient(135deg, #00b894, #00a085) !important;
    color: white !important;
}

/* Humanas - Laranja (caloroso e acolhedor) */
.course-category-humanas,
.course-category-humanities {
    background: linear-gradient(135deg, #fdcb6e, #e17055) !important;
    color: white !important;
}

/* Geopolítica - Roxo (elegante e sério) */
.course-category-geopolitica,
.course-category-geopolitics {
    background: linear-gradient(135deg, #a29bfe, #6c5ce7) !important;
    color: white !important;
}

/* Teologia - Azul escuro (solene e respeitoso) */
.course-category-teologia,
.course-category-theology {
    background: linear-gradient(135deg, #6c5ce7, #5f3dc4) !important;
    color: white !important;
}

/* Outras - Rosa suave (versátil e moderno) */
.course-category-outras,
.course-category-other,
.course-category-others {
    background: linear-gradient(135deg, #fd79a8, #e84393) !important;
    color: white !important;
}

/* Garantir que todas as categorias tenham o mesmo estilo base */
.course-category-ecommerce[class*="course-category-"] {
    display: inline-block !important;
    padding: 4px 12px !important;
    border-radius: 15px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 10px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

/* Efeito hover para categorias */
.course-card-ecommerce:hover .course-category-ecommerce[class*="course-category-"] {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

/* ===== FALLBACK PARA CATEGORIAS NÃO MAPEADAS ===== */
/* Caso alguma categoria não tenha classe específica */
.course-category-ecommerce:not([class*="course-category-"]) {
    background: linear-gradient(135deg, #74b9ff, #0984e3) !important;
    color: white !important;
}


/* ===== PADRONIZAÇÃO DOS BOTÕES PARA SIMETRIA PERFEITA ===== */
/* Garantir que botões de cursos e categorias tenham mesmo tamanho e estilo */

/* Botão padrão dos cursos (referência) */
.btn-ecommerce {
    display: block !important;
    width: 100% !important;
    padding: 12px 20px !important;
    background: linear-gradient(135deg, #00b894, #00a085) !important;
    color: white !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-align: center !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: none !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 3 !important;
}

.btn-ecommerce:hover {
    background: linear-gradient(135deg, #00a085, #00b894) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 184, 148, 0.3) !important;
    color: white !important;
    text-decoration: none !important;
}

/* Padronizar TODOS os botões das categorias */
.category-content .btn {
    display: block !important;
    width: 100% !important;
    padding: 12px 20px !important;
    background: linear-gradient(135deg, #00b894, #00a085) !important;
    color: white !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-align: center !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: none !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 3 !important;
    margin-top: auto !important; /* Para alinhar na parte inferior do card */
}

.category-content .btn:hover {
    background: linear-gradient(135deg, #00a085, #00b894) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 184, 148, 0.3) !important;
    color: white !important;
    text-decoration: none !important;
}

/* Garantir que o conteúdo das categorias use flexbox para alinhar botão na parte inferior */
.category-content {
    padding: 20px !important;
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.category-content h3 {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #1a2035 !important;
    margin-bottom: 15px !important;
    line-height: 1.4 !important;
    flex-grow: 1 !important; /* Para ocupar espaço disponível */
}

/* Garantir que cards de categoria tenham altura consistente */
.category-card {
    background: white !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important; /* Altura total disponível */
}

/* Garantir que cards de curso também tenham altura consistente */
.course-card-ecommerce {
    background: white !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important; /* Altura total disponível */
}

/* Garantir que o conteúdo dos cursos também use flexbox */
.course-content-ecommerce {
    padding: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}

.course-content-ecommerce h3 {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #1a2035 !important;
    margin-bottom: 15px !important;
    line-height: 1.4 !important;
    flex-grow: 1 !important; /* Para ocupar espaço disponível */
}

/* Garantir que grids tenham altura uniforme */
.courses-grid-ecommerce,
.categories-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
    gap: 25px !important;
    margin-bottom: 40px !important;
    align-items: stretch !important; /* Cards com mesma altura */
}

/* ===== MELHORIAS ADICIONAIS PARA SIMETRIA ===== */

/* Garantir que ícones nos botões tenham espaçamento consistente */
.btn-ecommerce i,
.category-content .btn i {
    margin-right: 8px !important;
}

/* Hover consistente para todos os cards */
.course-card-ecommerce:hover,
.category-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Imagens com altura consistente */
.course-img-ecommerce,
.category-img {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    transition: transform 0.3s ease !important;
}

.course-card-ecommerce:hover .course-img-ecommerce,
.category-card:hover .category-img {
    transform: scale(1.05) !important;
}

/* Responsividade para botões */
@media (max-width: 768px) {
    .btn-ecommerce,
    .category-content .btn {
        padding: 10px 16px !important;
        font-size: 13px !important;
    }
    
    .course-content-ecommerce,
    .category-content {
        padding: 15px !important;
    }
    
    .course-content-ecommerce h3,
    .category-content h3 {
        font-size: 16px !important;
        margin-bottom: 12px !important;
    }
}

