/**
 * Aanbod (catalogue) page — two-column layout with facet sidebar.
 */

.aanbod-page {
  max-width: 1220px;
  margin: 0 auto;
}

.aanbod-page > h1 {
  margin-bottom: 3rem;
}

@media screen and (max-width: 1023px) {
  .aanbod-page > h1 {
    margin-bottom: 2.25rem;
  }
}

@media screen and (max-width: 767px) {
  .aanbod-page > h1 {
    margin-bottom: 1.5rem;
  }
}

.aanbod-intro {
  margin-bottom: 24px;
  font-size: 1.6rem;
  color: #333332;
  max-width: 66%;
}

/* Filter bar: "N filters actief × Wis filters" */
.aanbod-filter-bar {
  font-size: 1.4rem;
  margin-bottom: 16px;
  visibility: visible;
}

.aanbod-filter-bar--empty {
  visibility: hidden;
}

.aanbod-filter-bar__wis {
  color: #075e8d;
  text-decoration: none;
  margin-left: 4px;
}

.aanbod-filter-bar__wis:hover {
  text-decoration: underline;
}

/* Two-column layout */
.aanbod-layout {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  border: none;
  padding: 0;
  margin: 0;
}

/* Left sidebar: 253 px */
.aanbod-sidebar {
  width: 253px;
  flex-shrink: 0;
}

/* Right content area: 907 px */
.aanbod-content {
  flex: 1;
  max-width: 907px;
}

/* Tablet: tighten sidebar */
@media screen and (max-width: 1023px) {
  .aanbod-layout {
    gap: 32px;
  }

  .aanbod-sidebar {
    width: 210px;
  }
}

/* Mobile: single-column stack */
@media screen and (max-width: 767px) {
  .aanbod-page {
    padding: 0 16px;
  }

  .aanbod-layout {
    flex-direction: column;
    gap: 0;
  }

  .aanbod-sidebar {
    width: 100%;
    margin-bottom: 24px;
  }

  .aanbod-content {
    max-width: 100%;
  }

  .aanbod-result-header {
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* Facet section labels */
.aanbod-facet-label {
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #333332;
  margin: 0 0 8px;
}

/* Individual checkbox row */
.aanbod-checkbox-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.aanbod-checkbox-wrap label {
  font-size: 1.4rem;
  cursor: pointer;
}

.aanbod-checkbox {
  cursor: pointer;
  flex-shrink: 0;
}

/* Horizontal divider between facet groups */
.aanbod-divider {
  border: none;
  border-top: 1px solid #cfd5dd;
  margin: 16px 0;
}

/* Search row */
.aanbod-search-row {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.aanbod-search-input {
  flex: 1;
  height: 35px;
  border: 1px solid #cfd5dd;
  border-radius: 3px;
  padding: 0 12px;
  font-size: 1.4rem;
  color: #333332;
}

.aanbod-search-input:focus {
  outline: 2px solid #075e8d;
  outline-offset: 0;
}

.aanbod-search-btn {
  width: 35px;
  height: 35px;
  border: 1px solid #cfd5dd;
  border-radius: 3px;
  background: #f3f5f6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") center no-repeat;
  cursor: pointer;
  flex-shrink: 0;
}

/* Result count + sort row */
.aanbod-result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 1.4rem;
  color: #333332;
}

.aanbod-result-count {
  font-weight: 400;
}

.aanbod-sort-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.aanbod-sort-select {
  height: 30px;
  border: 1px solid #cfd5dd;
  border-radius: 3px;
  font-size: 1.4rem;
  padding: 0 8px;
  color: #333332;
  cursor: pointer;
}
