.h4-activen {
  --h4-plum: #501f3a;
  --h4-coral: #f9895b;
  --h4-chip-active: #fb8e5a;
  --h4-icon: #9d3153;
  --h4-border: rgba(80, 31, 58, 0.15);
  --h4-track: #ece8eb;
  padding: 40px 0 88px;
  color: var(--h4-plum);
  background: #fff;
  font-family: "Outfit", Arial, sans-serif;
}

.h4-activen *,
.h4-activen *::before,
.h4-activen *::after {
  box-sizing: border-box;
}

.h4-activen__head {
  --be-grid-gutter-y: 18px;
  align-items: flex-end;
  margin-bottom: 38px;
}

.h4-activen__title {
  margin: 0;
  color: var(--h4-plum);
  font-size: 44px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
}

.h4-activen__title em {
    color: var(--h4-coral);
    font-style: normal;
    background: linear-gradient(90deg, #ff965e 0%, #ff5b62 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-style: normal;
    -webkit-text-fill-color: transparent;
}

.h4-activen__head h2 {
  margin: 8px 0 0;
  color: #501f3a;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.4;
}

.h4-activen__filter-wrap {
  display: flex;
  justify-content: flex-end;
}

.h4-activen__filter-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid var(--h4-border);
  border-radius: 999px;
  padding: 0 25px;
  color: var(--h4-plum);
  background: #fff;
  box-shadow: 0 5px 12px rgba(80, 31, 58, 0.05);
  font: inherit;
  font-size: 18px;
  cursor: default;
}

.h4-activen__filter-button .h4-activen__state-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  object-fit: contain;
}

.h4-activen__panel {
  position: relative;
  width: 100%;
  border: 1px solid var(--h4-border);
  border-radius: 24px;
  padding: 32px 30px 38px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(80, 31, 58, 0.04);
  overflow: hidden;
}

.h4-activen__panel,
.h4-activen__panel p,
.h4-activen__panel span,
.h4-activen__panel strong,
.h4-activen__panel button {
  color: #501f3a;
}

.h4-activen__advanced {
  display: grid;
  grid-template-rows: 1fr;
  opacity: 1;
  transition: grid-template-rows 360ms ease, opacity 240ms ease;
}

.h4-activen__advanced-inner {
  min-height: 0;
  overflow: hidden;
}

.h4-activen__panel.is-collapsed .h4-activen__advanced {
  grid-template-rows: 0fr;
  opacity: 0;
  pointer-events: none;
}

.h4-activen__collapse {
  position: absolute;
  top: 26px;
  right: 26px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: var(--h4-plum);
  cursor: pointer;
}

.h4-activen__collapse img {
  width: 12px;
  height: 12px;
  transition: transform 300ms ease;
}

.h4-activen__panel.is-collapsed .h4-activen__collapse img {
  transform: rotate(180deg);
}

.h4-activen__ranges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  padding-right: 64px;
}


.h4-activen__ranges--participants-only {
  grid-template-columns: minmax(0, 1fr);
}
.h4-activen__label {
  display: flex;
  flex-direction: column;
  margin-bottom: 28px;
}

.h4-activen__label strong,
.h4-activen__legend strong {
  color: var(--h4-plum);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.15;
}

.h4-activen__label span,
.h4-activen__legend span {
  margin-top: 2px;
  color: var(--h4-plum);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
}

.h4-activen__range-group input[type="range"] {
  --h4-progress: 34%;
  width: 100%;
  height: 26px;
  margin: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

.h4-activen__range-group input[type="range"]::-webkit-slider-runnable-track {
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--h4-coral) 0 var(--h4-progress), var(--h4-track) var(--h4-progress) 100%);
}

.h4-activen__range-group input[type="range"]::-moz-range-track {
  height: 5px;
  border-radius: 999px;
  background: var(--h4-track);
}

.h4-activen__range-group input[type="range"]::-moz-range-progress {
  height: 5px;
  border-radius: 999px;
  background: var(--h4-coral);
}

.h4-activen__range-group input[type="range"]::-webkit-slider-thumb {
  width: 36px;
  height: 36px;
  margin-top: -15px;
  appearance: none;
  border: 1px solid rgba(80, 31, 58, 0.14);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 10px rgba(80, 31, 58, 0.12);
}

.h4-activen__range-group input[type="range"]::-moz-range-thumb {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(80, 31, 58, 0.14);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 10px rgba(80, 31, 58, 0.12);
}

.h4-activen__range-group p {
  margin: 14px 0 0;
  color: var(--h4-plum);
  font-size: 15px;
  font-weight: 300;
}

.h4-activen__range-group p strong {
  font-weight: 700;
}

.h4-activen__row {
  min-width: 0;
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  margin: 42px 0 0;
  border: 0;
  border-top: 1px solid rgba(80, 31, 58, 0.12);
  padding: 28px 0 0;
}

.h4-activen__legend {
  min-width: 0;
  display: flex;
  flex-direction: column;
  width: 310px;
  margin: 0;
}

.h4-activen__options {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.h4-activen__pill,
.h4-activen__chip {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--h4-border);
  border-radius: 999px;
  padding: 0 24px;
  color: var(--h4-plum);
  background: #fff;
  box-shadow: 0 4px 10px rgba(80, 31, 58, 0.04);
  font: inherit;
  font-size: 15px;
  font-weight: 300;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.h4-activen__pill {
  width: 100px;
  padding-inline: 12px;
}

.h4-activen__pill:hover,
.h4-activen__chip:hover,
.h4-activen__pill:focus-visible,
.h4-activen__chip:focus-visible {
  border-color: var(--h4-chip-active);
  color: var(--h4-chip-active);
}

.h4-activen__pill.is-active,
.h4-activen__chip.is-active {
  border-color: var(--h4-chip-active);
  color: var(--h4-chip-active);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(251, 142, 90, 0.12);
}

.h4-activen__chip {
  width: var(--h4-chip-width);
  height: 50px;
  min-height: 50px;
  padding: 0 17px;
  line-height: 1;
}

.h4-activen__chip:nth-child(1) { --h4-chip-width: 100px; }
.h4-activen__chip:nth-child(2) { --h4-chip-width: 136px; }
.h4-activen__chip:nth-child(3) { --h4-chip-width: 132px; }
.h4-activen__chip:nth-child(4) { --h4-chip-width: 154px; }
.h4-activen__chip:nth-child(5) { --h4-chip-width: 170px; }
.h4-activen__chip:nth-child(6) { --h4-chip-width: 108px; }
.h4-activen__chip:nth-child(7) { --h4-chip-width: 154px; }
.h4-activen__chip:nth-child(8) { --h4-chip-width: 150px; }

.h4-activen__chip:not(:hover):not(:focus-visible):not(.is-active) {
  color: #501f3a;
}

.h4-activen__chip .h4-activen__state-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  object-fit: contain;
}

.h4-activen__state-icon--active {
  display: none;
}

.h4-activen__chip:hover .h4-activen__state-icon--normal,
.h4-activen__chip:focus-visible .h4-activen__state-icon--normal,
.h4-activen__chip.is-active .h4-activen__state-icon--normal {
  display: none;
}

.h4-activen__chip:hover .h4-activen__state-icon--active,
.h4-activen__chip:focus-visible .h4-activen__state-icon--active,
.h4-activen__chip.is-active .h4-activen__state-icon--active {
  display: block;
}

@media (max-width: 1200px) {
  .h4-activen__ranges {
    gap: 42px;
  }

  .h4-activen__row {
    grid-template-columns: 250px minmax(0, 1fr);
  }

  .h4-activen__legend {
    width: 250px;
  }
}

@media (max-width: 1024px) {
  .h4-activen {
    padding-top: 28px;
  }

  .h4-activen__filter-wrap {
    justify-content: flex-start;
  }

  .h4-activen__filter-button {
    min-height: 46px;
  }

  .h4-activen__panel {
    padding: 28px 24px 32px;
  }

  .h4-activen__ranges {
    padding-right: 50px;
  }

  .h4-activen__row {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .h4-activen__legend {
    width: 220px;
  }
}

@media (max-width: 820px) {
  .h4-activen {
    padding-bottom: 68px;
  }

  .h4-activen__title {
    font-size: 36px;
	line-height: 1.1;
  }

  .h4-activen__head h2 {
    font-size: 17px;
  }

  .h4-activen__ranges {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-right: 48px;
  }

  .h4-activen__row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .h4-activen__legend {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .h4-activen {
    padding: 24px 0 56px;
  }

  .h4-activen__head {
    margin-bottom: 26px;
  }

  .h4-activen__title {
    font-size: 36px;
    line-height: 1.1;
  }

  .h4-activen__head h2 {
    font-size: 16px;
  }

  .h4-activen__filter-button {
    min-height: 42px;
    gap: 9px;
    padding: 0 18px;
    font-size: 16px;
  }

  .h4-activen__filter-button .h4-activen__state-icon {
    width: 23px;
    height: 23px;
    flex-basis: 23px;
  }

  .h4-activen__panel {
    border-radius: 18px;
    padding: 24px 16px 26px;
  }

  .h4-activen__collapse {
    top: 18px;
    right: 16px;
  }

  .h4-activen__ranges {
    gap: 30px;
    padding-right: 34px;
  }

  .h4-activen__label {
    margin-bottom: 20px;
  }

  .h4-activen__label strong,
  .h4-activen__legend strong {
    font-size: 19px;
  }

  .h4-activen__label span,
  .h4-activen__legend span {
    font-size: 14px;
  }

  .h4-activen__row {
    margin-top: 32px;
    padding-top: 24px;
  }

  .h4-activen__options {
    gap: 9px;
  }

  .h4-activen__pill,
  .h4-activen__chip {
    min-height: 44px;
    padding: 0 15px;
    font-size: 14px;
  }

  .h4-activen__chip {
    width: var(--h4-chip-width);
    height: 44px;
  }

  .h4-activen__chip .h4-activen__state-icon {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }
}

@media (max-width: 390px) {
  .h4-activen__title {
    font-size: 32px;
  }

  .h4-activen__chip {
    width: 135px;
    justify-content: center;
  }

  .h4-activen__chip .h4-activen__state-icon {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }

  .h4-activen__pill,
  .h4-activen__chip {
    font-size: 13px;
  }
}

.h4-activen .be-container {
    padding-inline: 0px;
    width: min(calc(100% - 160px), 1300px);
}
 
@media (max-width: 1500px) and (min-width: 1201px) {
.h4-activen .be-container {
    padding-inline: 0px;
    width: min(calc(100% - 160px), 1300px);
}
}
 
@media (max-width: 1200px) and (min-width: 1025px) {
.h4-activen .be-container {
    padding-inline: 0px;
    width: min(calc(100% - 120px), 1300px);
}
}
 
@media (max-width: 1024px) and (min-width: 768px) {
.h4-activen .be-container {
    padding-inline: 0px;
    width: min(calc(100% - 80px), 1300px);
}
}
 
@media (max-width: 767px) { 
.h4-activen .be-container{
    padding-inline: 0px;
    width: min(calc(100% - 40px), 1300px);
}

.h4-activen__panel.is-mobile-collapsed {
    display: none;
}
}

/* Match the arrangement catalogue price badge without affecting other cards. */
.beleef-activities-overview-page #arrangementen
  .card-row--arrangements .product-card__price--range {
  justify-content: center;
  text-align: right;
}

.beleef-activities-overview-page #arrangementen
  .card-row--arrangements .product-card__price--range .product-card__price-row {
  justify-content: flex-end;
}

.beleef-activities-overview-page #arrangementen
  .card-row--arrangements .product-card__price--range .product-card__price-row:only-of-type {
  display: grid;
  grid-template-columns: 1fr;
  align-items: baseline;
  width: 100%;
  gap: 1px 3px;
  white-space: normal;
}

.beleef-activities-overview-page #arrangementen
  .card-row--arrangements .product-card__price--range
  .product-card__price-row:only-of-type > small:first-child {
  grid-column: 1 / -1;
}

.beleef-activities-overview-page #arrangementen
  .card-row--arrangements .product-card__price--range
  .product-card__price-row:only-of-type > small:first-child::after {
  content: ":";
}

.beleef-activities-overview-page #arrangementen
  .card-row--arrangements .product-card__price--range
  .product-card__price-row:only-of-type > strong {
  justify-self: end;
}

.beleef-activities-overview-page #arrangementen
  .card-row--arrangements .product-card__price-row > small:last-child {
  display: none;
}
