/* Container met wit vlak (filters + producten samen) */
.airco-filters,
#airco-products {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  margin-bottom: 30px;
}

/* Filters grid – 3 kolommen voor sliders */
.airco-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 4rem;
}

/* Labels + range teksten */
.filter-block label {
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}
.range-label {
  font-size: 0.9rem;
  margin-top: 6px;
  color: #333;
}

/* Full-row elementen (merken + knoppen) */
.full-row,
.filter-actions {
  grid-column: 1 / -1;
}

/* Merken grid (logo's) */
.brand-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
}
.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: 10px;
  background: #fff;
  padding: 10px;
  cursor: pointer;
  transition: 0.2s ease;
  min-height: 80px;
  text-align: center;
}
.brand-logo:hover { border-color: #bbb; }
.brand-logo img,
.brand-logo span {
  max-height: 60px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.brand-logo input { display: none; }
/* Container highlight bij selectie (afbeelding blijft even groot) */
.brand-logo:has(input:checked) {
  border: 2px solid #222;
  background: #f9f9f9;
}

/* Actieknoppen */
.filter-actions {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}
.apply-btn {
  flex: 1;
  background: #222;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}
.reset-btn {
  background: #ccc;
  color: #000;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1rem;
  display: inline-block;
  text-align: center;
}

/* Resultaten grid – forceer nette layout */
#airco-products ul.products {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  justify-items: center;
}
#airco-products ul.products li.product {
  margin: 0 !important;
  width: 100% !important;
  max-width: 260px;
}

/* Paginering (indien ooit nodig) */
.af-pagination {
  margin-top: 20px;
}
.af-pagination .page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.af-pagination .page-numbers li { list-style: none; }
.af-pagination .page-numbers a,
.af-pagination .page-numbers span {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  text-decoration: none;
}
.af-pagination .page-numbers .current {
  background: #222;
  color: #fff;
  border-color: #222;
}

/* Loading state */
#airco-products.af-loading {
  opacity: 0.6;
  pointer-events: none;
}


/* Type naast de sliders */
/* Zorg dat alle filter-blokken dezelfde verticale uitlijning hebben */
.filter-block {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Speciale styling voor Type zodat knoppen horizontaal gecentreerd staan */
.type-options {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}

.type-option {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #fff;
  padding: 8px 16px;
  cursor: pointer;
  transition: 0.2s ease;
  font-size: 0.9rem;
  min-width: 120px;
  text-align: center;
}

.type-option:hover { border-color: #bbb; }
.type-option input { display: none; }
.type-option:has(input:checked) {
  border: 2px solid #222;
  background: #f9f9f9;
}



.af-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}


.af-product {
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%; /* gelijk trekken */
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform .2s;
}

.af-product:hover {
  transform: translateY(-3px);
}

.af-product-image {
  max-height: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto 10px;
  display: block;
}

.af-product-title {
  font-size: 16px;
  font-weight: 600;
  margin: 10px 0;
  min-height: 40px; /* hou titels netjes uitgelijnd */
}

.af-product-price {
  font-size: 14px;
  color: #444;
  margin-top: auto;
}


.af-product-thumb {
  position: relative;
}

.af-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-block;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  border-radius: 3px;
  text-transform: uppercase;
  z-index: 2;
}

.badge-koelen {
  background-color: #2e7d32; /* Groen */
}

.badge-verwarmen {
  background-color: #1565c0; /* Blauw */
  top: 35px; /* iets onder de eerste */
}
