.site-main.collectie {
    max-width: var(--max-screen-width);
    padding:70px 0px;
}

.collectie-page-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 20px;
    max-width: var(--max-screen-width);
    margin: 0 auto;
    padding: 0 20px;
}

.collectie-container {
    padding-top: 70px;
}

@media (max-width: 768px) {
    .collectie-page-wrapper {
        display: flex;
        flex-direction: column;
    }
}

.collectie-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
    grid-auto-rows: min-content;
    transition: all 0.3s ease-in-out;
}


.collectie-grid.collectie-rij {
    grid-template-columns: repeat(4, 1fr);
    max-width: var(--max-screen-width);
    margin:0 auto;
}

@media (max-width: 1200px) {
    .collectie-grid, .collectie-grid.collectie-rij {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .collectie-grid, .collectie-grid.collectie-rij {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1200px) {
    .collectie-grid {

    }

}

.collectie-rij-container {
    padding:60px 20px;
}
.collectie-rij-container.lichtgrijs {
    background-color: var(--color-lichtgrijs);
}
.collectie-rij-container.lichtgrijs .collectie-header {
    background-color: var(--color-wit);
}
.collectie-rij-titel {
    text-transform: uppercase;
    text-align:center;
    padding:30px 0px;
}
.collectie-rij-container-more {
    display:block;
    text-align:center;
    padding-top:50px;
}

.collectie-item {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    cursor: pointer;
    height: 100%;
    min-height: 290px;
}

.collectie-header {
    background-color: #F1F3F4;
    text-align: center;
    padding: 5px 10px;
    height: 65px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.collectie-soort {
    font-size: 12px;
    text-transform: uppercase;
}

.collectie-titel {
    font-size: 20px;
    font-weight: 400;
}

@media (max-width: 1200px) {
    .collectie-titel {

    }
}


.collectie-carousel {
flex-grow: 1;
position: relative;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
max-height:232px;
}

.carousel-slides {
display: flex;
width: 100%;
height: 100%;
transition: transform 0.5s ease-in-out;
}

.carousel-slide {
flex: 0 0 100%;
position: relative;
display: flex;
align-items: flex-end;
justify-content: center;
background: #ccc;
}

.carousel-slide img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}

.slide-overlay {
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 60px;
background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
pointer-events: none;
}

.carousel-indicators {
position: absolute;
bottom: 20px;
left: 20px;
display: flex;
gap: 5px;
}

.indicator {
width: 10px;
height: 10px;
border: 1px solid #fff;
cursor: pointer;
}

.indicator.active {
background: #fff;
}

.meer-info-btn {
position: absolute;
bottom: 10px;
right: 20px;
color: #fff;
text-decoration: none;
text-transform: uppercase;
font-size: var(--font-size-p-caps);
}

.collectie-item.cta {
background-color: #4B4746;
color: #fff;
padding: 20px;
display: flex;
flex-direction: column;
justify-content: space-evenly;
}

.cta-header {
font-size: 32px;
text-transform: uppercase;
line-height: 1.1;
margin-bottom: 10px;
}

.cta-tekst {
margin-bottom: 10px;
}

.cta-button {
color: #fff;
border: 1px solid #fff;
padding: 6px;
font-size: var(--font-size-p-caps);
text-transform: uppercase;
text-align: center;
transition: all 0.3s ease;
text-decoration: none;
}

.collectie-filters {
position: relative;
}

.filter-groep {
margin-bottom: 20px;
}

.filter-titel {
text-transform: uppercase;
font-weight: 500;
}

.filter-kleur {
display: none;
}

.zoekveld-groep {
position: relative;
}

.zoekveld-wrapper {
position: relative;
display: flex;
align-items: center;
max-width: 215px;
}

@media (max-width: 768px) {
.zoekveld-wrapper {
    max-width: 100%;
}
}

#filter-zoekveld {
width: 100%;
padding: 10px 40px 10px 15px;
font-size: 14px;
border: 1px solid #4B4746;
outline: none;
box-sizing: border-box;
transition: border-color 0.2s;
}

.zoekveld-icoon {
position: absolute;
right: 10px;
color: #999;
font-size: 16px;
pointer-events: none;
}

.zoekveld-label {
display: none;
}

.reset-filters-btn {
background-color: #fff;
border: none;
cursor: pointer;
display: inline-flex;
align-items: center;
}

.reset-filters-btn .reset-icon {
margin-left: 5px;
font-weight: bold;
font-size: 16px;
}

.kleur-container {
display: flex;
flex-wrap: wrap;
gap: 10px;
row-gap: 0;
max-width: 80%;
}

.kleur-keuze {
flex: 1 1 calc(50% - 10px);
display: flex;
align-items: center;
gap: 10px;
margin: 0.2rem 0;
cursor: pointer;
}

.kleur-cirkel {
display: inline-block;
width: 20px;
height: 20px;
border-radius: 50%;
border: 2px solid #ccc;
}

.kleur-keuze input[type="checkbox"]:checked + .kleur-cirkel {
border-color: #333;
}
.kleur-keuze input[type="checkbox"]:checked + .kleur-cirkel + .kleur-naam {
    text-decoration: underline;
}

.filter-toggle-btn {
display: none;
width: 100%;
background-color: #4B4746;
color: white;
padding: 16px;
text-align: center;
font-size: var(--font-size-p);
text-transform: uppercase;
border: none;
cursor: pointer;
}

.filter-toggle-btn[aria-expanded="true"] {
background-color: #666;
}

.filter-content {
display: block;
}

@media (max-width: 768px) {
.filter-toggle-btn {
    display: block;
}

.filter-content {
    display: none;
}

.filter-content.show {
    display: block;
}
}

input[type="checkbox"] {
appearance: none;
-webkit-appearance: none;
border-radius: 0;
width: 12px;
height: 12px;
border: 1px solid #4B4746;
cursor: pointer;
outline: none;
transition: background-color 0.2s ease, border-color 0.2s ease;
margin-right:4px;
}

input[type="checkbox"]:checked {
background-color: #4B4746;
border-color: #4B4746;
}
