.hdm-collectie {
  --hdm-navy: var(--blue, #0A2639);
  --hdm-yellow: var(--lightblue, #3FCFDE);
  --hdm-white: #fdfaf5;
  visibility: visible;
}

.hdm-collectie-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.hdm-collectie-filters::-webkit-scrollbar {
  display: none;
}

.hdm-filter-tab {
  padding: 7px 16px;
  border-radius: 100px;
  font-size: var(--font-size-small, 14px);
  font-weight: 700;
  border: 1.5px solid var(--hdm-yellow);
  background: transparent;
  color: var(--hdm-navy);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  white-space: nowrap;
}

.hdm-filter-tab .hdm-filter-count {
  font-size: 17px;
  margin-left: 4px;
  opacity: 0.85;
}

.hdm-filter-tab.is-active {
  background: var(--hdm-yellow);
  border-color: var(--hdm-yellow);
  color: var(--hdm-navy);
}

.hdm-filter-tab.is-active .hdm-filter-count {
  opacity: 0.65;
}

.hdm-collectie-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin: 22px 0px;
}

.hdm-collectie-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0;
}

.hdm-nav-arrows {
  display: flex;
  gap: 8px;
}

.hdm-nav-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--hdm-navy);
  color: var(--hdm-white);
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  transition: border-color 0.15s, color 0.15s, opacity 0.15s;
}

.hdm-nav-arrow:hover:not(:disabled) {
  border-color: var(--hdm-yellow);
  color: var(--hdm-yellow);
}

.hdm-nav-arrow:disabled {
  opacity: 0.22;
  cursor: not-allowed;
}

.hdm-collectie-wrap {
  position: relative;
  overflow: hidden;
}



.hdm-collectie-track {
  margin-bottom: 12px;
}

.hdm-collectie--hero .hdm-collectie-track {
  margin-bottom: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 23px;
  width: max-content;
  will-change: transform;
  list-style: none;
  padding: 0;
}

.hdm-collectie--hero .hdm-collectie-progress,
.hdm-collectie--hero .hdm-collectie-controls,
.hdm-collectie--hero .hdm-collectie-header {
  display: none;
}

.hdm-collectie .splide__list {
  align-items: stretch;
}

.hdm-collectie .splide__slide {
  display: flex;
}
.hdm-collectie-wrap.splide__track {
  border-radius: var(--border-radius, 16px);
}
.hdm-collectie--hero .splide__slide {
  display: block;
  flex: 0 0 auto;
}

.hdm-collectie .splide__slide.is-filter-hidden {
  display: none !important;
}

.hdm-mat-card {
  width: 100%;
  aspect-ratio: 4 / 6;
  border-radius: var(--border-radius, 16px);
  overflow: hidden;
  position: relative;
}

.hdm-collectie--hero .hdm-mat-card {
  aspect-ratio: 4 / 7;
}

.hdm-collectie:not(.hdm-collectie--hero) .hdm-mat-card::after {
  content: "\f061";
  position: absolute;
  right: 14px;
  bottom: 18px;
  z-index: 5;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-family: 'fontawesome';
  font-style: normal;
  font-weight: 900;
  font-size: 13px;
  line-height: 1;
  color: var(--blue, #0A2639);
  background: #fff;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
}

.hdm-mat-card__image-wrap {
  position: absolute;
  inset: 0;
}

.hdm-mat-card.is-bestseller::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(10, 38, 57, 0.78) 0%,
    rgba(10, 38, 57, 0.44) 56%,
    rgba(10, 38, 57, 0) 100%
  );
}

.hdm-mat-card__bestseller {
  position: absolute;
  top: 24px;
  left: 17px;
  z-index: 4;
  font-family: 'Caveat', cursive;
  font-size: 26px;
  line-height: 1;
  color: var(--yellow);
  transform: rotate(-9deg);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.huisdecor-materiaal-sfeerfoto {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scale(1);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.hdm-mat-card__texture-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
  z-index: 3;
  background: #fff;
  transform: scale(1);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.hdm-mat-card__texture-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.hdm-mat-card:hover .huisdecor-materiaal-sfeerfoto {
  transform: scale(1.09);
}

.hdm-mat-card:hover .hdm-mat-card__texture-badge {
  transform: scale(1.09);
}

.hdm-collectie:not(.hdm-collectie--hero) .hdm-mat-card:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.hdm-mat-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 86px 18px 18px;
  background: linear-gradient(
    to top,
    rgba(10, 38, 57, 0.96) 0%,
    rgba(10, 38, 57, 0.88) 30%,
    rgba(10, 38, 57, 0.68) 52%,
    rgba(10, 38, 57, 0.42) 70%,
    rgba(10, 38, 57, 0.18) 86%,
    transparent 100%
  );
}

.hdm-collectie--hero .hdm-mat-info {
  background: linear-gradient(
    to top,
    rgb(255 244 227 / 96%) 0%,
    rgb(255 244 227 / 88%) 30%,
    rgb(255 244 227 / 68%) 52%,
    rgb(255 244 227 / 42%) 70%,
    rgb(255 244 227 / 18%) 86%,
    transparent 100%
  );
}

.hdm-collectie--hero .hdm-mat-card.is-bestseller::before {
  background: linear-gradient(
    to bottom,
    rgb(255 244 227 / 78%) 0%,
    rgb(255 244 227 / 44%) 56%,
    rgb(255 244 227 / 0%) 100%
  );
}

.hdm-collectie--hero .hdm-mat-cat,
.hdm-collectie--hero .hdm-mat-name {
  color: var(--blue);
}



.hdm-collectie--hero .hdm-mat-info,
.hdm-collectie--hero .hdm-mat-card__texture-badge,
.hdm-collectie--hero .hdm-mat-card__bestseller,
.hdm-collectie--hero .hdm-mat-card.is-bestseller::before {
  display: none !important;
}

.hdm-mat-cat {
  display: block;
  font-size: var(--font-size-small, 14px);
  font-weight: 400;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgb(255 255 255 / 55%);
  margin-bottom: 4px;
}

.hdm-mat-name {
    margin: 0;
    font-size: 25px;
    font-weight: 800;
    color: var(--hdm-white);
    line-height: 1.15;
    letter-spacing: -0.01em;
    padding-top: 6px;
}

.hdm-mat-card-more {
  width: 100%;
  aspect-ratio: 4 / 6;
  border-radius: var(--border-radius, 16px);
  border: 1.5px dashed var(--hdm-yellow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
  padding: 32px;
  text-align: center;
  background: var(--blue);
}

.hdm-mat-card-more:hover {
  border-color: var(--hdm-yellow);
  background: rgba(255, 196, 0, 0.08);
}

.hdm-more-count {
  font-size: 52px;
  font-weight: 900;
  color: var(--hdm-yellow);
  line-height: 1;
  letter-spacing: -0.04em;
}

.hdm-more-label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
}

.hdm-more-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--hdm-yellow);
  color: var(--hdm-navy);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 100px;
  margin-top: 8px;
}

.hdm-collectie-progress {
  height: 4px;
  background: rgb(63 207 222 / 27%);
  border-radius: 5px;
  margin-top: 24px;
  position: relative;
}

.hdm-collectie-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--hdm-yellow);
  border-radius: 2px;
  transition: left 0.08s linear, width 0.08s linear;
}

@media (max-width: 767px) {
  .hdm-collectie-controls {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hdm-collectie-header {
    justify-content: flex-start;
  }

  .hdm-filter-tab {
    font-size: 17px;
    padding: 6px 14px;
  }

  .hdm-filter-tab .hdm-filter-count {
    font-size: 14px;
  }

  .hdm-mat-name {
    font-size: 24px;
  }
}
