/* Optioneel: wil je 100% controle? Zet dan je accentkleur hier:
.nw-pricing { --nw-accent: #0ea5a4; }
*/

.nw-pricing{
  /* “Haak aan” op veel voorkomende WP/Elementor variabelen, met nette fallbacks */
  --nw-accent: var(--e-global-color-primary, var(--wp--preset--color--primary, #111827));
  --nw-radius: 16px;
  --nw-border: rgba(0,0,0,.12);
  --nw-soft: rgba(0,0,0,.04);
  --nw-shadow: 0 10px 28px rgba(0,0,0,.08);

  font-family: var(--e-global-typography-text-font-family, inherit);
  color: var(--e-global-color-text, inherit);

  max-width: 900px;
  margin: 0 auto;
  padding: 18px 0;
}

/* Mooiere “auto-tint” als color-mix beschikbaar is */
@supports (color: color-mix(in srgb, black, white)){
  .nw-pricing{
    --nw-border: color-mix(in srgb, currentColor 16%, transparent);
    --nw-soft: color-mix(in srgb, currentColor 6%, transparent);
  }
}

.nw-pricing__title{
  margin: 0 0 14px;
  font-family: var(--e-global-typography-primary-font-family, inherit);
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .01em;
}

.nw-pricing__tableWrap{
  border: 1px solid var(--nw-border);
  border-radius: var(--nw-radius);
  overflow: hidden;
  background: var(--e-global-color-secondary, #fff);
  box-shadow: var(--nw-shadow);
}

/* Toegankelijk: caption verbergen, maar wél aanwezig voor screenreaders */
.nw-pricing__caption{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nw-pricing__table{
  width: 100%;
  border-collapse: collapse;
}

.nw-pricing__table thead th{
  text-align: left;
  padding: 14px 16px;
  font-weight: 800;
  font-size: 14px;
  background: var(--nw-soft);
  border-bottom: 1px solid var(--nw-border);
}

.nw-pricing__table tbody td{
  padding: 14px 16px;
  border-bottom: 1px solid var(--nw-soft);
  font-size: 15px;
}

.nw-pricing__table tbody tr:last-child td{
  border-bottom: none;
}

/* subtiele hover die “meekleurt” met het accent */
.nw-pricing__table tbody tr:hover{
  background: rgba(0,0,0,.02);
}
@supports (color: color-mix(in srgb, black, white)){
  .nw-pricing__table tbody tr:hover{
    background: color-mix(in srgb, var(--nw-accent) 10%, transparent);
  }
}

/* prijs kolom rechts uitlijnen */
.nw-pricing__table thead th:last-child,
.nw-pricing__table tbody td:last-child{
  text-align: right;
  white-space: nowrap;
}

.nw-pricing__table strong{
  font-weight: 900;
}

/* note met accent-strip links */
.nw-pricing__note{
  margin: 12px 2px 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(0,0,0,.75);
  padding: 10px 12px;
  border-left: 4px solid var(--nw-accent);
  background: rgba(0,0,0,.02);
  border-radius: 10px;
}
@supports (color: color-mix(in srgb, black, white)){
  .nw-pricing__note{
    color: color-mix(in srgb, currentColor 78%, transparent);
    background: color-mix(in srgb, var(--nw-accent) 7%, transparent);
  }
}

.nw-pricing__note strong{
  color: inherit;
  font-weight: 800;
}

/* mobiel: iets compacter + horizontaal scrollbaar als het krap wordt */
@media (max-width: 520px){
  .nw-pricing__tableWrap{
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nw-pricing__table thead th,
  .nw-pricing__table tbody td{
    padding: 12px 12px;
  }
}