/* Estilo para a página de Produtos */

.wrap_section_produtos_header {
    padding: 40px 0 20px 0;
}

.breadcrumb_custom {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.breadcrumb_custom a {
    color: #666;
    text-decoration: none;
}

.breadcrumb_custom a:hover {
    color: #e31e24; 
}

.titulo_produtos_red {
    font-size: 32px;
    font-weight: 700;
    color: #e31e24; 
    margin-bottom: 40px;
    font-family: 'Montserrat', sans-serif; 
}

.filtro-barra {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.pesquisa-wrapper {
    position: relative;
    width: 60%;
}

.pesquisa-input {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    color: #666;
}

.pesquisa-wrapper .fa-search {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.exibir-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 14px;
}

.exibir-select {
    padding: 8px 12px;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    outline: none;
    color: #666;
    background: transparent;
}

.wrap_section_produtos_galeria {
    padding: 0 0 60px 0;
}

.flex-row-produtos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.flex-row-produtos::before,
.flex-row-produtos::after {
    display: none !important;
}

.col-produto {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* For responsiveness */
@media (max-width: 991px) {
    .flex-row-produtos {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .flex-row-produtos {
        grid-template-columns: repeat(2, 1fr);
    }
    .filtro-barra {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    .pesquisa-wrapper {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .flex-row-produtos {
        grid-template-columns: repeat(1, 1fr);
    }
}

.produto-card {
    position: relative;
    width: 100%;
    background: transparent;
    display: flex;
    flex-direction: column;
}

.produto-img-wrapper {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.produto-img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.produto-nome-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(239, 99, 107, 0.85); /* Semi-transparent red/pink from the screenshot */
    color: #fff;
    text-align: center;
    padding: 15px 10px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}
