.dh-filter {
    --dh-navy: #1D3A4F;
    --dh-accent: #FF9900;
    --dh-accent-dark: #E08700;
    position: relative;
    box-sizing: border-box;
    width: 100%;
    margin: 0 auto;
    padding: 10px 20px;
    background: var(--dh-navy);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(29, 58, 79, .25);
    color: #fff;
    font-family: 'Lexend', sans-serif;
}
.dh-filter * { box-sizing: border-box; }
.dh-filter__step-label { position: absolute; top: 8px; right: 14px; font-size: .7rem; font-weight: 600; opacity: .6; }
.dh-filter__panel { display: none; }
.dh-filter__panel.is-active { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.dh-filter__title { margin: 0; font-family: 'Rajdhani', sans-serif; font-size: 1.3rem; font-weight: 700; color: #fff; white-space: nowrap; }
.dh-filter__input-row { display: flex; align-items: center; gap: 8px; }
.dh-filter__input-row input {
    width: 130px; height: 42px; padding: 0 10px;
    font: 600 1rem 'Lexend', sans-serif; text-align: center; color: var(--dh-navy);
    background: #fff; border: 2px solid transparent; border-radius: 8px; outline: none;
}
.dh-filter__input-row input::placeholder { opacity: .45; font-weight: 500; }
.dh-filter__input-row input:focus { border-color: var(--dh-accent); }
.dh-filter__input-row input.has-error { border-color: #e53e3e; background: #fdecea; }
.dh-filter__unit { font-weight: 600; opacity: .85; }
.dh-filter__error { display: none; width: 100%; margin: 0; font-size: .8rem; text-align: center; color: #ffb4a8; }
.dh-filter__error.is-visible { display: block; }
.dh-filter__error a { color: #ffb4a8; font-weight: 700; text-decoration: underline; }
.dh-filter__error a:hover { color: #fff; }
.dh-filter__choices { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.dh-filter__choice {
    padding: 8px 18px; margin: 0; cursor: pointer; white-space: nowrap;
    font: 600 .9rem 'Lexend', sans-serif; color: #fff;
    background: transparent; border: 2px solid rgba(255, 255, 255, .35); border-radius: 8px;
    transition: all .15s;
}
.dh-filter__choice:hover { border-color: var(--dh-accent); }
.dh-filter__choice.is-selected { background: var(--dh-accent); border-color: var(--dh-accent); }
.dh-filter__nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.dh-filter__btn {
    height: 42px; padding: 0 22px; margin: 0; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    font: 700 .9rem 'Lexend', sans-serif; border: none; border-radius: 8px;
}
.dh-filter__btn--primary { background: var(--dh-accent); color: #fff; }
.dh-filter__btn--primary:hover { background: var(--dh-accent-dark); }
.dh-filter__btn--secondary { background: transparent; color: #fff; border: 2px solid #fff; }
.dh-filter__btn--secondary:hover { background: rgba(255, 255, 255, .12); }
.dh-filter__btn--tertiary { background: transparent; color: #fff; text-decoration: underline; padding: 0 6px; opacity: .75; }
.dh-filter__btn--tertiary:hover { opacity: 1; }

/* Plaatsing */
.row.dh-filter-row { padding: 30px 0 10px; }
.row.dh-filter-row .dh-filter-row__heading { margin: 0 0 4px; }
.row.dh-filter-row .dh-filter-row__sub { margin: 0 0 14px; }
.row.dh-filter-row--category { padding: 20px 0 0; background: #F7F7F7; }

@keyframes dh-fade { from { opacity: 0; transform: translateY(2px); } to { opacity: 1; transform: translateY(0); } }
.dh-filter__panel.is-active { animation: dh-fade .2s ease; }

@media (min-width: 641px) {
    .dh-filter__error.is-visible { display: inline; width: auto; margin-left: 8px; }
}

@media (max-width: 640px) {
    .dh-filter { padding: 22px 20px; }
    .dh-filter__panel.is-active { flex-direction: column; gap: 16px; }
    .dh-filter__title { white-space: normal; font-size: 1.4rem; text-align: center; }
    .dh-filter__input-row { width: 100%; justify-content: center; }
    .dh-filter__input-row input { height: 48px; font-size: 1.1rem; }
    .dh-filter__btn { height: 48px; padding: 0 24px; }
    .dh-filter__input-row .dh-filter__btn { padding: 0 26px; }
    .dh-filter__choice { padding: 10px 8px; font-size: .88rem; }
    .dh-filter__choices--usage { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
    .dh-filter__choices--usage .dh-filter__choice { width: 100%; white-space: normal; }
    .dh-filter__step-label { top: 14px; }
}
