/* STICKY PILLS */
.pills-bar-area {
  background: #F7F4EE;
  padding: 14px 0px;
  border-bottom: 1px solid #E8E3D8;
}

.pills-bar {

  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  position: sticky;
  top: 57px;
  z-index: 15;
}

.pills-label {
  font-size: 9px;
  color: #999;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-right: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.pill {
  background: #fff;
  border: 0.5px solid #E2DED5;
  color: #666;
  padding: 6px 14px;
  font-size: 10px;
  letter-spacing: 0.5px;
  cursor: pointer;
  border-radius: 20px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s;
  white-space: nowrap;
  line-height: 1;
}

.pill i {
  font-size: 12px;
}

.pill:hover,
.pill.active {
  background: #441C3A;
  color: #E7EAC0;
  border-color: #441C3A;
}

/* KLACHTEN */
.klachten-wrap {
  padding: 40px 40px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.klacht-card {
  background: #fff;
  border: 0.5px solid #E2DED5;
  border-radius: 3px;
  overflow: hidden;
  scroll-margin-top: 140px;
}

.klacht-card.open {
  border-color: #441C3A;
  border-width: 1.5px;
}

.klacht-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background 0.15s;
}

.klacht-header:hover {
  background: #FDFBF9;
}

.klacht-card.open .klacht-header {
  background: #FDFBF9;
  border-bottom: 1px solid #F0EDE8;
}

.klacht-header-l {
  display: flex;
  align-items: center;
  gap: 16px;
}

.klacht-icon-wrap {
  width: 44px;
  height: 44px;
  background: #F7F4EE;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.klacht-icon-wrap i {
  font-size: 20px;
  color: #441C3A;
}

.klacht-icon-wrap svg {
  width: 20px;
  height: 20px;
  fill: #441C3A;
  stroke: #441C3A;
}

.klacht-card.open .klacht-icon-wrap {
  background: #441C3A;
}

.klacht-card.open .klacht-icon-wrap i {
  color: #E7EAC0;
}

.klacht-card.open .klacht-icon-wrap svg {
  fill: #E7EAC0;
  stroke: #E7EAC0;
}

.klacht-naam {
  font-family: 'IntegralCF', sans-serif;
  font-size: 17px;
  color: #1a1a1a;
  margin-bottom: 3px;
  line-height: normal;
}

.klacht-omschrijving {
  font-size: 11px;
  color: #888;
  line-height: 1.5;
}

.klacht-header-r {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.klacht-badge {
  font-size: 8px;
  padding: 4px 10px;
  border-radius: 2px;
  letter-spacing: 1px;
  font-weight: 600;
  white-space: nowrap;
}

.klacht-badge.actie {
  background: #8A7F48;
  color: #CDE4ED;
}

.klacht-badge.uniek {
  background: #441C3A;
  color: #E7EAC0;
}

.klacht-toggle {
  font-size: 18px;
  color: #441C3A;
  transition: transform 0.25s;
  flex-shrink: 0;
}

.klacht-card.open .klacht-toggle {
  transform: rotate(180deg);
}

/* DETAIL */
.klacht-detail {
  background: #FDFBF9;
}

.klacht-detail-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
}

.klacht-img-wrap {
  overflow: hidden;
}

.klacht-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.klacht-content {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.klacht-uitleg {
  font-size: 12px;
  color: #666;
  line-height: 1.8;
  padding-bottom: 16px;
  border-bottom: 1px solid #EDE8E2;
  margin-bottom: 0;
}

.beh-link-titel {
  font-size: 8.5px;
  color: #441C3A;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.6;
  line-height: normal;
}

.beh-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.beh-link-item {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: center;
  background: #fff;
  border: 0.5px solid #E2DED5;
  border-radius: 3px;
  padding: 12px 16px;
  text-decoration: none;
  transition: all 0.15s;
}

.beh-link-item:hover {
  border-color: #441C3A;
  background: #FDFBF9;
}

.beh-link-naam {
  font-size: 12px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 2px;
  line-height: normal;
}

.beh-link-apparaat {
  font-size: 9px;
  color: #441C3A;
  opacity: 0.5;
  letter-spacing: 0.5px;
  line-height: 1.6;
}

.beh-link-desc {
  font-size: 11px;
  color: #888;
}

.beh-link-arrow {
  color: #441C3A;
  opacity: 0.4;
  font-size: 16px;
}

.beh-link-item:hover .beh-link-arrow {
  opacity: 1;
}

/* RESPONSIVE ADDITIONS */
@media (max-width: 767px) {
  .klacht-detail-inner {
    grid-template-columns: 1fr;
  }

  .klacht-img-wrap {
    height: 300px;
  }

  .pills-bar {
    padding: 14px 20px;
  }

  .klachten-wrap {
    padding: 20px 20px;
  }
}

@media (max-width: 575px) {
  .pills-bar {
    padding: 10px 15px;
  }

  .klachten-wrap {
    padding: 15px 10px;
  }

  .klacht-header {
    padding: 15px 16px;
  }

  .klacht-header-l {
    gap: 10px;
  }

  .klacht-naam {
    font-size: 15px;
  }

  .klacht-omschrijving {
    font-size: 10px;
  }

  .beh-link-item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 10px 12px;
  }

  .beh-link-arrow {
    display: none;
  }
}