/*========SECC 1========*/
.secc1-background-color{
    background-color: #834411;
    overflow: hidden;

}
.secc1-background-img{
    background-image: url('../img/catalogo/banner1.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 540px;

    /*max-width: 1600px;
    margin-left: auto;*/
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.secc1-div-subdiv-textos{
    color: white;
    padding-left: 170px;
    max-width: 750px;
}

.secc1-div-subdiv-textos p{
    max-width: 450px;
}

/*========SECC 2========*/
.secc2{
    z-index: 1;
}
.secc-catalogo{
    margin-top: 80px;
}
.secc2-productos-categorias{
    display: flex;
    justify-content: space-between;
    gap: 3vw;
}
.mostrar-categorias{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.accordion{
    width: 230px;
}
.accordion-button{
    z-index: 1 ;
}
.accordion-button:focus{
    border-color: none;
    box-shadow: none;
}
.accordion-button:not(.collapsed){
    color: black;
    background-color: transparent;
}
.accordion-button:not(.collapsed)::after{
    background-image: var(--bs-accordion-btn-icon);
}
.categorias{
    display: flex;
    gap: 10px;
    align-items: center;
}
.btncategoria{
    background-color: transparent;
    border: solid black 1px;
    border-radius: 5px;
    width: 20px;
    height: 20px;
    transition: all .10s ease-in-out;
    background-repeat: no-repeat;
    background-position: center;
    
}
.btncategoria:hover {
    border: solid 1px #834411;
}
.categoria-activada {
    border: solid 1px #834411;
    background-image: url('../img/catalogo/Group10.png');

}
.secc2-productos{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: left;
    gap: 20px;
}
.div-producto{
    width: 30%;
    background-color: #F4E5C4;
    border-radius: 1rem;
    transition: all .15s ease-in-out;
    margin-top: auto;
    margin-bottom: 40px;
}
.producto-nombre{
    text-wrap: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.div-producto a{
    color: #744210;
    text-decoration: none;
    
}
.producto-descripcion{
    padding: 20px;
    text-align: left;
}
.producto-descripcion h3{
    font-weight: bold;
}
.div-producto:hover{
    background-color: #744210;
}
.div-producto:hover a{
    color: white;
}
.img-prod-catalogo{
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 1rem 1rem 0 0;
}
.img-prod-catalogo::after{
    content: '';
    display: block;
    padding-bottom: 100%;
    width: 100%;
}
.producto-ver{
    text-decoration: underline;
}
/*-----------*/
.pagination{
    gap: 10px;
}
.page-item:first-child{
    display: none;
}
.page-item:last-child{
    display: none;
}
.page-link{
    background-color: #FFEBA2;
    color: #744210;
}
.page-link:focus {
    z-index: 3;
    color: #FFEBA2;
    background-color: #744210;
    outline: 0;
    box-shadow: none;
}
.active>.page-link, .page-link.active{
    background-color: #744210;
    color: #F4E5C4;
    border-color: unset;
    z-index: 1;
}
.page-link:hover {
    color: #F4E5C4;
    background-color: #744210;
    border-color: unset;
}
.paginación{
    margin-right: 120px;
    padding-right: 0;
}

/*========RESPONSIVE========*/
@media(max-width: 1500px){
    .secc1-background-img{
        width: 110%;
    }
}

@media(max-width: 1366px){
    .secc1-div-subdiv-textos{
        padding-left: 70px;
        max-width: 520px;
    }
    .paginación{
        margin-right: 80px;
    }
    
}

@media(max-width: 1200px){
    .secc1-div-subdiv-textos{
        padding-left: 20px;
    }
    .secc1-background-img{
        width: 130%;
    }
    .paginación{
        margin-right: 70px;
    }
}

@media(max-width: 992px){
    .secc1-div-subdiv-textos p{
        max-width: unset;
    }
    .secc1-div-textos{
        width: 100%;
        background-color: rgba(0, 0, 0, 0.171);
        backdrop-filter: blur(0.5rem);
    }
    .secc1-div-subdiv-textos{
        padding: 20px;
        
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .secc1-background-img {
        width: 100%;
        justify-content: center;
        background-size: cover;
        background-position: center;
    }
    /*-------------*/
    .secc2-productos-categorias{
        flex-direction: column;
        gap: 40px;
    }
    .accordion{
        width: 100%;
    }
    .secc2-productos{
        justify-content: space-between;
    }

    .paginación{
        margin-right: 20px;
    }

}

@media(max-width: 768px){
    .div-producto{
        width: 48%;
    }
}

@media(max-width: 580px){
    .div-producto{
        width: 100%;
    }
}