/* =========================================
   CATEGORY HERO (Layout 2 Colunas)
   ========================================= */

/* Remove margens extras do container fluido */
.category-hero .container-fluid {
    padding: 0;
    margin-top: 70px;
    width: 100%;
    max-width: 100%;
}

/* O container principal que segura as duas colunas */
.category-hero__row {
    display: flex;
    flex-wrap: nowrap; /* Não deixa quebrar linha */
    background-color: #F8F8F8; /* Fallback caso variáveis não carreguem */
    align-items: stretch; /* Faz as duas colunas terem a mesma altura */
    min-height: 400px; /* Altura mínima para desktop */
    position: relative;
    /* Imagem de fundo aplicada na própria ROW (Desktop) */
    background-image: var(--hero-bg-desktop);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right center; /* Como antes a imagem ficava à direita */
}

/* --- COLUNA DE TEXTO (Esquerda) --- */
.category-hero__text-col {
    /* DESKTOP: Ocupa apenas o espaço do texto, resto é background da row */
    flex: 0 0 auto;
    max-width: 600px;
    
    display: flex;
    align-items: center; /* Centraliza verticalmente o conteúdo do texto */
    justify-content: flex-start;
    padding: 60px 40px; /* Espaçamento interno desktop */
}

.category-hero__text-wrapper {
    width: 100%;
    max-width: 480px; /* Limite de largura para leitura no desktop */
}

.category-hero__text-wrapper h1 {
    font-family: "Inter Tight", sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: #575656;
    text-transform: uppercase;
    margin-bottom: 24px;
    line-height: 1.1;
}

.category-hero__text-wrapper .category-hero__desc {
    font-family: "Inter Tight", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    font-weight: 400;
}

/* --- COLUNA DE IMAGEM (Agora é background da row) --- */
/* Coluna removida - imagem é background do container principal */


/* =========================================
   RESPONSIVO (MOBILE) - max-width: 991px
   ========================================= */
@media (max-width: 991px) {
    
    .category-hero__row {
        min-height: 534px; /* Altura automática no mobile */
        /* Troca para a imagem mobile quando em telas pequenas */
        background-image: var(--hero-bg-mobile);
        background-position: center top;
        /* Mantemos flex-direction row, pois queremos lado a lado */
    }

    /* --- TEXTO MOBILE --- */
    .category-hero__text-col {
        flex: 1; 
        max-width: none; 
        padding: 30px 20px; /* Padding menor no mobile */
        align-items: flex-start; /* Alinha texto mais ao topo no mobile */
    }
    .category-hero__text-wrapper {
        max-width: 200px;
        margin-block: auto; 
    }
    .category-hero__text-wrapper h1 {
        font-size: 24px; /* Fonte menor */
        margin-bottom: 16px;
        letter-spacing: 2px;
        
    }

    .category-hero__text-col .category-hero__desc {
        font-size: 16px;
        font-weight: 500;
        line-height: 25px;
        letter-spacing: 2px;
    }

    /* --- IMAGEM MOBILE (A REGRA DE OURO) --- */
    /* Como a imagem agora é background da ROW, a coluna de imagem não é necessária.
       Mantemos as regras abaixo comentadas por referência. */
    /* .category-hero__image-col { max-width: 40%; } */
    /* .hero-img-fit { object-position: left; } */
}    /* --- RESPONSIVO: Ajusta layout de texto no mobile --- */