table {
  border: 1px solid #ccc;
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  width: 100%;
  table-layout: fixed;
}

table caption {
  font-size: 1.5em;
  margin: .5em 0 .75em;
}

table tr {
  
  border: 1px solid #ddd;
  padding: .35em;
}

table th,
table td {
  padding: .625em;
  text-align: center;
}

#tabel1 .c1 {text-align: left}

table th {
  font-size: .85em;
  background-color: #f8f8f8;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Extra ruimte boven de OPTIES-header */
/* spacer rij */
tr.spacer td {
    height: 12px;      /* gewenste ruimte */
    padding: 0;
    border: none;      /* geen rand zodat het echt een gap is */
    background: transparent;
}

/* --- Specifieke rijen stylen --- */
tr.total td {
    background-color: #d7e8ff;      /* lichtblauw voorbeeld */
    font-weight: bold;
}

tr.package-discount td {
    background-color: #d8e4bc;      /* licht oranje/beige */
    font-style: italic;
    font-weight: 400;
    font-size: 11px;
}

tr.blue td {
    background-color: #d7e8ff;
    font-weight: bold;
}

tr.green td {
    background-color: #d8e4bc;
    font-style: italic;
    font-weight: 400;
    font-size: 11px;
}

/* Mobiel stacked versie – kleuren en bold behouden */
@media (max-width: 767.98px) {

tr.total td {
    background-color: #d7e8ff; /* lichtblauw */
    font-weight: bold;
}

tr.package-discount td {
    background-color: #d8e4bc; /* licht oranje/beige */
    font-style: italic;
    font-weight: 600;
}



@media screen and (max-width: 600px) {
  table {
    border: 0;
  }

  table caption {
    font-size: 1.3em;
  }
  
  table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  
  table tr {
    border-bottom: 3px solid #ddd;
    display: block;
    margin-bottom: .625em;
  }
  
  table td {
    border-bottom: 1px solid #ddd;
    display: block;
    font-size: .8em;
    text-align: right;
  }
  
  table td::before {
    /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
  }
  
  table td:last-child {
    border-bottom: 0;
  }
}