/* --- 1. HERO --- */
.page-hero {
    background-color: #8B1E22;
    color: white;
    padding: 50px 0;
    text-align: center;
    width: 100%;
    margin-bottom: 40px;
}

.page-hero h1 {
    font-family: 'Lufga', sans-serif;
    font-size: 2.2rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.page-hero span {
    font-size: 1.1rem;
    display: block;
    margin-top: 20px;
    line-height: 1.5;
    opacity: 0.9;
}


/* --- 2. CONTAINER --- */
.catalog-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px 80px 20px;
    width: 100%;
}

.category-separator {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin: 60px 0 100px 0;
    width: 100%;
}

/* LINHAS CINZAS */
.category-separator::before,
.category-separator::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #A79157;
    margin: 0 10px;
    margin-bottom: 6px;
}

/* CAIXA DO TÍTULO */
.titulo-wrapper {
    position: relative;
    padding: 0 25px;
    display: flex;
    justify-content: center;
    line-height: 1;
}

/* TÍTULO H3 */
.category-separator h3 {
    font-family: 'chella-semi-bold', sans-serif;
    font-size: 2.0rem;
    color: #A79157;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0;
    text-align: center;
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

.prod-curve {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: auto;
    margin: 5px auto 15px -10px;
    pointer-events: none;
}



/* --- 4. GRID --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 90px 25px;
    width: 100%;
}

.product-grid.grid-centralizado {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

/* Ajuste de largura para os cards ficarem iguais aos do Grid normal */
.product-grid.grid-centralizado .prod-card {
    flex: 0 1 280px;
    max-width: 300px;
    width: 100%;
}

/* --- 5. CARD --- */
.prod-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
}

.prod-card:hover {
    transform: translateY(-5px);
}

/* Link na Imagem (NOVO) */
.prod-link {
    display: block;
    width: 100%;
    text-decoration: none;
    cursor: pointer;
}

.prod-img-box {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 15px;
}

.prod-img-box img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0px 10px 10px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s ease;
}

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

/* Título e Descrição */
.prod-title {
    font-family: 'Lufga', sans-serif;
    font-weight: 500;
    font-size: 1.0rem;
    font-weight: 500;
    color: #000000;
    text-transform: uppercase;
    margin-bottom: 3px;
    line-height: 1.3;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 180px;
    margin: 0 auto 5px auto;
    line-height: 1.2;
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Botão "Ver Detalhes" */
.prod-btn-detalhes {
    display: inline-block;
    margin-top: 12px;
    padding: 5px 25px;
    background-color: var(--cor-vermelho);
    color: #fff;
    border: 2px solid var(--cor-vermelho);
    border-radius: 50px;
    font-family: 'LufgaMediumItalic', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.prod-btn-detalhes:hover {
    background-color: #A79157;
    border: 2px solid #A79157;
    color: #ffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(139, 30, 34, 0.2);
}

/* Ajuste no Mobile (adicione dentro do @media max-width: 480px) */
@media (max-width: 480px) {
    .prod-btn-detalhes {
        padding: 8px 20px;
        font-size: 0.75rem;
        margin-top: 8px;
    }
}

/* Tablets (iPad / Celulares deitados) */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        /* 3 Colunas */
        gap: 60px 20px;
        /* Reduz o espaço vertical */
    }
}

/* Celulares Maiores e Tablets Pequenos */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 Colunas */
        gap: 50px 15px;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }

    .category-separator h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {

    .page-hero {
        padding: 30px 10px;
        margin-bottom: 20px;
    }

    .page-hero h1 {
        font-size: 1.5rem;
    }

    .page-hero span {
        font-size: 0.8rem;
        margin-top: 10px;
    }

    .category-separator {
        margin: 40px 0 30px 0;
    }

    .category-separator h3 {
        font-size: 1.3rem;
        padding: 0 5px;
    }

    .category-separator::before,
    .category-separator::after {
        margin: 0 10px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 10px;
    }

    .catalog-container {
        padding-bottom: 40px;
    }

    .prod-img-box {
        height: 140px;
        margin-bottom: 10px;
    }

    .prod-title {
        font-size: 0.8rem;
        min-height: 35px;
        line-height: 1.2;
    }

    .prod-desc {
        font-size: 0.7rem;
        line-height: 1.2;
        display: none;/
    }
}