/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

/* Eyebrow - Used for small labels above headings */
.text-eyebrow {
    font-family: var(--font-family);
    font-size: var(--text-eyebrow);
    font-weight: 600;
    text-transform: uppercase;
    color: #A65D43; /* Your Primary Color */
    letter-spacing: 0.05em;
}

/* Lead - For intro text or larger paragraphs */
.text-lead {
    font-family: var(--font-family);
    font-size: var(--text-lead);
    font-weight: 600;
    color: #1A1A1A;
}

/* Body - Standard text */
.text-body {
    font-family: var(--font-family);
    font-size: var(--text-body);
    font-weight: 400;
    line-height: 1.6;
    color: #1A1A1A;
}

/* Small - For secondary info */
.text-small {
    font-family: var(--font-family);
    font-size: var(--text-small);
    font-weight: 400;
    color: #8A8682; /* Your Ink Subtle color */
}

/* Caption - For footers and tiny details */
.text-caption {
    font-family: var(--font-family);
    font-size: var(--text-caption);
    font-weight: 400;
    color: #C9C3BA; /* Your Border/Light color */
}


/* 1. Definieer de container context op de buitenste wrapper */
.bk-tarieven-container {
  container-type: inline-size;
  width: 100%;
}

/* ---- Brand tokens ---- */

.bk-tarieven * { box-sizing: border-box; }
.bk-tarieven {
  font-family: var(--bk-font-body); color: var(--bk-fg2);
  width: 100%; margin: 0 auto; padding: 0px;
}
.bk-tarieven__hd { margin: 0 0 16px; }
.bk-tarieven__hd h2 {
  font-family: var(--bk-font-display); font-weight: 700; font-size: 26px;
  letter-spacing: -0.02em; color: var(--bk-fg1); margin: 0 0 4px;
}
.bk-tarieven__hd p { margin: 0; font-size: 14px; color: var(--bk-fg3); }

/* Scroll wrapper vult 100% van de container */
.bk-tarieven__scroll {
  border: 1px solid var(--bk-border); border-radius: var(--bk-radius-md);
  overflow-x: auto; background: var(--bk-surface); width: 100%;
}

/* Tabel vult 100% van de container zonder geforceerde min-width */
.bk-tarieven table {
  width: 100%; border-collapse: collapse; table-layout: auto;
}
.bk-tarieven caption { display: none; }

/* Header styling */
.bk-tarieven thead th {
  font-family: var(--bk-font-display); font-weight: 700; font-size: 12px;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--bk-on-dark-muted);
  background: var(--bk-dark); padding: 14px 16px; text-align: right; white-space: nowrap;
}
.bk-tarieven thead th:first-child { text-align: left; }

/* Categorie balken */
.bk-tarieven tr.cat td {
  font-family: var(--bk-font-display); font-weight: 700; font-size: 17px;
  color: var(--bk-primary); background: var(--bk-surface-card);
  border-top: 1px solid var(--bk-divider); letter-spacing: -0.01em;
  padding: 13px 16px;
}

/* Data rijen */
.bk-tarieven tbody td { padding: 12px 16px; font-size: 14.5px; border-top: 1px solid var(--bk-divider); }
.bk-tarieven tr.item td:first-child { color: var(--bk-fg2); font-weight: 500; font-style: italic; }
.bk-tarieven td.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--bk-fg1); }
.bk-tarieven td.na { text-align: right; white-space: nowrap; color: var(--bk-fg4); font-style: italic; font-weight: 400; font-size: 13.5px; }
.bk-tarieven td.empty { text-align: right; color: var(--bk-fg4); }
.bk-tarieven tr.item:hover td { background: var(--bk-surface); }

/* ============ RESPONSIVE: Schakelt om op basis van de kolombreedte ============ */
@container (max-width: 760px) {
  .bk-tarieven__scroll { border: none; background: transparent; overflow: visible; }
  .bk-tarieven table { min-width: 0; }
  .bk-tarieven thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .bk-tarieven tbody, .bk-tarieven tr, .bk-tarieven td { display: block; width: 100%; }

  .bk-tarieven tr.cat td {
    border-radius: var(--bk-radius-md); margin: 18px 0 8px; border-top: none;
    font-size: 16px; padding: 12px 14px;
  }
  .bk-tarieven tr.cat:first-child td { margin-top: 0; }

  .bk-tarieven tr.item {
    background: #fff; border: 1px solid var(--bk-border);
    border-radius: var(--bk-radius-md); padding: 6px 14px 10px; margin-bottom: 10px;
  }
  .bk-tarieven tr.item td { border-top: none; padding: 0; }
  .bk-tarieven tr.item td:first-child {
    font-size: 15px; font-style: normal; font-weight: 700; color: var(--bk-fg1);
    font-family: var(--bk-font-display); padding: 8px 0; margin-bottom: 4px;
    border-bottom: 1px solid var(--bk-divider);
  }
  
  /* Prijs rijen: label links via data-label, waarde rechts */
  .bk-tarieven tr.item td.num,
  .bk-tarieven tr.item td.na,
  .bk-tarieven tr.item td.empty {
    display: flex; align-items: baseline; justify-content: space-between;
    text-align: right; padding: 6px 0; font-size: 14.5px;
  }
  .bk-tarieven tr.item td[data-label]::before {
    content: attr(data-label); font-family: var(--bk-font-body);
    font-weight: 500; font-style: normal; color: var(--bk-fg3); font-size: 13px;
    text-transform: none; letter-spacing: 0; margin-right: 16px; white-space: nowrap;
  }
  
  /* Verberg lege cellen op mobiel/smalle kolommen */
  .bk-tarieven tr.item td.empty { display: none; }
}

.bk-calc__form h2{
	font-size: 36px!important;
}

.bricks-button .remove {
	background: green!important;
}