/* =============================================
   TABLII — Configurator — Japandi
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&family=Montserrat:wght@300;400;500&display=swap');

/* anchor offset (sticky header) */
/* Elementor menu-anchors + any element targeted by a #hash get pushed down
   so they land below the 100px sticky header instead of behind it. */
.elementor-menu-anchor,
:target {
  scroll-margin-top: 120px;
}
html { scroll-padding-top: 120px; }
/* end anchor offset */

/* Hide native JFB chrome */
.jet-form-builder > *:not(#tbl-wizard):not(input[type=hidden]) {
  display: none !important;
}

#tbl-wizard {
  font-family: 'Montserrat', sans-serif;
  color: #4D4D4D;
  width: 100%;
}

/* ---- PROGRESS ---- */
.tbl-progress {
  display: flex;
  align-items: flex-start;
  margin-bottom: 48px;
  width: 100%;
}
.tbl-step-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.tbl-dot-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #e0dbd2;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .06em;
  color: #c0b9b0;
  transition: all .3s;
  font-family: 'Montserrat', sans-serif;
}
.tbl-dot-lbl {
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #c8c2b8;
  font-weight: 500;
  white-space: nowrap;
  transition: color .3s;
  font-family: 'Montserrat', sans-serif;
}
.tbl-step-dot.active .tbl-dot-num { background:#4D4D4D; border-color:#4D4D4D; color:#f5f2ec; }
.tbl-step-dot.active .tbl-dot-lbl { color:#4D4D4D; }
.tbl-step-dot.done .tbl-dot-num   { background:#f5f2ec; border-color:#9e9183; color:#9e9183; }
.tbl-step-dot.done .tbl-dot-lbl   { color:#9e9183; }
.tbl-progress-line {
  flex: 1;
  height: 1px;
  background: #e4dfd6;
  margin: 16px 10px 0;
  transition: background .3s;
}
.tbl-progress-line.done { background: #9e9183; }

/* ---- STEP LABELS ---- */
.tbl-step { width: 100%; }
.tbl-eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #b8b0a6;
  margin: 0 0 6px;
  font-family: 'Montserrat', sans-serif;
}
.tbl-title {
  font-family: 'Nunito', sans-serif !important;
  font-weight: 700 !important;
  font-size: 2rem !important;
  letter-spacing: .01em !important;
  color: #4D4D4D !important;
  margin: 0 0 28px !important;
  padding: 0 !important;
  border: none !important;
  line-height: 1.2 !important;
  text-transform: none !important;
}
.tbl-subtitle {
  font-size: 13px;
  color: #9e9183;
  font-weight: 400;
  letter-spacing: .03em;
  margin: -20px 0 24px;
  font-family: 'Montserrat', sans-serif;
}
.tbl-section {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #b8b0a6;
  margin: 0 0 14px;
  font-family: 'Montserrat', sans-serif;
}

/* ---- IMAGE CARDS (full width) ---- */
.tbl-cards {
  display: flex;
  gap: 14px;
  flex-wrap: nowrap;
  width: 100%;
  margin-bottom: 8px;
}
.tbl-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 28px 16px 20px;
  border: 1px solid #ddd9d0;
  background: #faf9f6;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .15s;
  position: relative;
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  /* reset browser button styles */
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  border-radius: 5px;
}
.tbl-card:hover  { border-color:#9e9183; background:#f5f2ec; transform:translateY(-2px); }
.tbl-card.sel    { border-color:#4D4D4D; background:#f0ede6; transform:translateY(-2px); }
.tbl-card.sel::before {
  content:'';
  position:absolute;
  top:0; left:0; right:0;
  height:2px;
  background:#4D4D4D;
  border-radius:5px 5px 0 0;
}
.tbl-card-img {
  width: 72px; height: 72px;
  object-fit: contain;
  filter: brightness(0) opacity(.5);
  transition: filter .2s;
  display: block;
}
.tbl-card.sel .tbl-card-img { filter: brightness(0) opacity(.88); }

/* Inline SVG edge icons */
.tbl-edge-svg {
  display: block;
  width: 80px;
  height: 40px;
  color: rgba(77,77,77,.55);
  transition: color .2s;
}
.tbl-edge-svg svg { width:100%; height:100%; }
.tbl-card.sel .tbl-edge-svg { color: #4D4D4D; }

.tbl-card-lbl {
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #a09890;
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.3;
}
.tbl-card.sel .tbl-card-lbl { color: #4D4D4D; }

/* ---- COLOR STEP ---- */
.tbl-color-wrap {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  width: 100%;
  margin-bottom: 8px;
}
.tbl-color-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.tbl-color-box {
  width: 150px;
  height: 150px;
  border-radius: 5px;
  background: #e8e4da;
  border: 1px solid rgba(0,0,0,.06);
  transition: background .25s;
}
.tbl-color-name {
  font-family: 'Nunito', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #4D4D4D;
  letter-spacing: .02em;
  text-align: center;
}

/* swatch grid — right side, full width */
.tbl-swatches {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.tbl-swatch {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: #faf9f6;
  border: 1px solid #e4dfd6;
  border-radius: 5px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  font-family: 'Montserrat', sans-serif;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
}
.tbl-swatch:hover {
  border-color: #9e9183;
  background: #f5f2ec;
}
.tbl-swatch.sel {
  border-color: #4D4D4D;
  background: #f0ede6;
}
.tbl-swatch-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.1);
}
.tbl-swatch-name {
  font-size: 11px;
  letter-spacing: .04em;
  color: #6b6560;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tbl-swatch.sel .tbl-swatch-name { color: #4D4D4D; }
/* Popular badge */
.tbl-swatch { position: relative; }
.tbl-swatch.is-popular {
  border-color: #c9b8a0;
}
.tbl-swatch-badge {
  position: absolute;
  top: -8px;
  right: 8px;
  background: #4D4D4D;
  color: #f5f2ec;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 0;
  white-space: nowrap;
  font-family: 'Montserrat', sans-serif;
  line-height: 1;
}
.tbl-swatch.is-popular.sel .tbl-swatch-badge {
  background: #4D4D4D;
}
/* ---- SUMMARY ---- */
.tbl-summary {
  background: #f5f2ec;
  border: 1px solid #e4dfd6;
  padding: 24px 28px;
  margin-bottom: 24px;
  width: 100%;
  box-sizing: border-box;
  border-radius: 5px;
}
.tbl-sum-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #e8e4dc;
}
.tbl-sum-key {
  font-size: 9px; letter-spacing:.2em; text-transform:uppercase;
  color:#b8b0a6; font-weight:500; font-family:'Montserrat',sans-serif;
}
.tbl-sum-val {
  font-size:13px; color:#4D4D4D; letter-spacing:.02em;
  display:flex; align-items:center; gap:8px;
  font-family:'Montserrat',sans-serif;
}
.tbl-cdot {
  display:inline-block; width:12px; height:12px;
  border-radius:50%; border:1px solid rgba(0,0,0,.1); flex-shrink:0;
}
.tbl-price-row {
  display:flex; justify-content:space-between; align-items:baseline; padding-top:16px;
}
.tbl-price-key {
  font-size:9px; letter-spacing:.2em; text-transform:uppercase;
  color:#b8b0a6; font-weight:500; font-family:'Montserrat',sans-serif;
}
.tbl-price-val {
  font-family:'Nunito',sans-serif;
  font-size:2rem; font-weight:700; color:#4D4D4D; letter-spacing:.01em;
}

/* ---- INPUTS ---- */
.tbl-field-group { margin-bottom:20px; }
.tbl-lbl {
  display:block; font-size:10px; font-weight:500; letter-spacing:.18em;
  text-transform:uppercase; color:#b8b0a6; margin-bottom:8px;
  font-family:'Montserrat',sans-serif;
}
.tbl-inp {
  width:100%; padding:12px 14px;
  border:1px solid #ddd9d0;
  background:#faf9f6;
  font-family:'Montserrat',sans-serif; font-size:14px; font-weight:400;
  color:#4D4D4D; box-sizing:border-box; outline:none; letter-spacing:.02em;
  border-radius:5px; appearance:none; -webkit-appearance:none;
  transition:border-color .15s, background .15s;
}
.tbl-inp:focus { border-color:#4D4D4D; background:#fff; }

/* ---- ERRORS ---- */
.tbl-err {
  font-size:12px; color:#a04030; letter-spacing:.02em;
  margin:10px 0 0; display:none; font-family:'Montserrat',sans-serif;
}
.tbl-err.show { display:block; }

/* ---- NAV BUTTONS (homepage style) ---- */
.tbl-nav { display:flex; align-items:center; gap:12px; margin-top:36px; }

/* Next & Submit — homepage button: light bg, dark text, 2px border, 5px radius */
.tbl-btn-next, .tbl-submit {
  font-family:'Montserrat',sans-serif;
  font-size:1.05rem;
  font-weight:500;
  letter-spacing:.01em;
  text-transform:none;
  padding:11px 44px;
  background:#4D4D4D;
  color:#F5F3EE;
  border:2px solid #4D4D4D;
  border-radius:5px;
  cursor:pointer;
  transition:background .2s, color .2s, border-color .2s;
  appearance:none; -webkit-appearance:none; outline:none;
  line-height:1.4;
}
.tbl-btn-next:hover, .tbl-submit:hover {
  background:#FFFFFF;
  color:#4D4D4D;
  border-color:#4D4D4D;
}

/* Prev — secondary homepage button: light bg, dark text */
.tbl-btn-prev {
  font-family:'Montserrat',sans-serif;
  font-size:1.05rem;
  font-weight:500;
  letter-spacing:.01em;
  text-transform:none;
  padding:11px 32px;
  background:#F5F3EE !important;
  color:#4D4D4D !important;
  border:2px solid #F5F3EE !important;
  border-radius:5px;
  cursor:pointer;
  transition:background .2s, color .2s, border-color .2s;
  appearance:none; -webkit-appearance:none; outline:none;
  box-shadow:none !important;
  line-height:1.4;
}
.tbl-btn-prev:hover {
  background:#FFFFFF !important;
  border-color:#4D4D4D !important;
  color:#4D4D4D !important;
}
/* ---- THANKS ---- */
.tbl-thanks { text-align:center; padding:56px 0; }
.tbl-check { font-size:2rem; color:#9e9183; margin-bottom:16px; }

/* textarea + optional */
.tbl-textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.5;
}
.tbl-lbl-opt {
  text-transform: none;
  letter-spacing: .02em;
  color: #c0b9b0;
  font-weight: 400;
  font-size: 10px;
}
/* end textarea */
/* afmeting step */
/* Organic shape icon (same sizing as edge svg / card img) */
.tbl-shape-svg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  color: rgba(77,77,77,.55);
  transition: color .2s;
}
.tbl-shape-svg svg { width: 72px; height: 44px; }

.tbl-card.sel .tbl-shape-svg { color: #4D4D4D; }

/* Maat choice cards */
.tbl-maat-card {
  justify-content: center;
  gap: 6px;
  min-height: 110px;
}
.tbl-maat-label {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #a09890;
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
}
.tbl-card.sel .tbl-maat-label { color: #4D4D4D; }
.tbl-maat-value {
  font-family: 'Nunito', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #4D4D4D;
}

/* Custom dimension inputs */
.tbl-custom-maat {
  margin-top: 20px;
  padding: 24px;
  background: #faf9f6;
  border: 1px solid #e4dfd6;
  border-radius: 5px;
}
.tbl-maat-inputs {
  display: flex;
  align-items: flex-end;
  gap: 16px;
}
.tbl-maat-field { flex: 1; margin-bottom: 0; }
.tbl-maat-x {
  font-family: 'Nunito', sans-serif;
  font-size: 1.4rem;
  color: #b8b0a6;
  padding-bottom: 10px;
}
.tbl-maat-note {
  font-size: 12px;
  color: #9e9183;
  letter-spacing: .02em;
  margin: 14px 0 0;
  font-family: 'Montserrat', sans-serif;
}

/* Chair indicator */
.tbl-chairs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 14px 18px;
  background: #F5F3EE;
  border-radius: 5px;
}
.tbl-chairs-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #4D4D4D;
  letter-spacing: .02em;
}
.tbl-maat-chairs {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  letter-spacing: .04em;
  color: #9e9183;
  font-weight: 500;
  margin-top: 2px;
}
.tbl-card.sel .tbl-maat-chairs { color: #6b6560; }
/* end afmeting */
/* leg icons */
.tbl-leg-svg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  color: rgba(77,77,77,.55);
  transition: color .2s;
}
.tbl-leg-svg svg { width: 72px; height: 72px; }
.tbl-card.sel .tbl-leg-svg { color: #4D4D4D; }
/* end leg */
/* delivery info */
.tbl-delivery-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  margin-bottom: 24px;
  background: #F5F3EE;
  border-left: 3px solid #D8CFBD;
  border-radius: 4px;
}
.tbl-delivery-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #b8b0a6;
}
.tbl-delivery-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #4D4D4D;
  letter-spacing: .01em;
}
/* end delivery */
/* cookie banner japandi */
/* Japandi restyle of CookieYes banner (colors are inline in markup, so !important). */

/* cookie banner (japandi) */
/* CookieYes-kleuren passen niet in de gratis versie, daarom overschrijven we ze hier.
   De banner zet kleuren inline, dus !important is nodig. */

/* Container + modal: witte achtergrond, zachte huisstijlrand, Montserrat */
.cky-consent-bar,
.cky-preference-center,
.cky-modal .cky-preference-center {
  background-color: #FFFFFF !important;
  border-color: #E4DFD6 !important;
  font-family: 'Montserrat', sans-serif !important;
}

/* Titels in Nunito, body in huisstijl-donker */
.cky-title,
.cky-preference-title {
  color: #4D4D4D !important;
  font-family: 'Nunito', sans-serif !important;
  font-weight: 700 !important;
}
.cky-notice-des,
.cky-notice-des p,
.cky-preference-content-wrapper,
.cky-accordion-header,
.cky-accordion-header-des,
.cky-accordion-btn,
.cky-always-active {
  color: #4D4D4D !important;
  font-family: 'Montserrat', sans-serif !important;
}

/* Accepteren (primaire knop): donker met beige tekst, 5px radius */
.cky-btn-accept {
  background-color: #4D4D4D !important;
  border-color: #4D4D4D !important;
  color: #F5F3EE !important;
  border-radius: 5px !important;
  font-family: 'Montserrat', sans-serif !important;
  transition: background-color .2s, color .2s !important;
}
.cky-btn-accept:hover { background-color: #3d3d3d !important; }

/* Weigeren / aanpassen / voorkeuren / opslaan: outline-stijl, donkere tekst */
.cky-btn-reject,
.cky-btn-customize,
.cky-btn-preferences,
.cky-btn-preferences-save {
  background-color: transparent !important;
  border-color: #4D4D4D !important;
  color: #4D4D4D !important;
  border-radius: 5px !important;
  font-family: 'Montserrat', sans-serif !important;
  transition: background-color .2s, color .2s !important;
}
.cky-btn-reject:hover,
.cky-btn-customize:hover,
.cky-btn-preferences:hover {
  background-color: #F5F3EE !important;
}

/* Toggles: actief = donker, inactief = warm accent */
.cky-switch input[type="checkbox"]:checked + label {
  background-color: #4D4D4D !important;
}
.cky-switch label {
  background-color: #D8CFBD !important;
}

/* Revisit-bubbel (zwevend knopje) */
.cky-btn-revisit-wrapper {
  background-color: #4D4D4D !important;
}

/* Audit-tabel: zacht beige */
.cky-audit-table,
.cky-cookie-des-table {
  background-color: #F5F3EE !important;
  border-color: #E4DFD6 !important;
  color: #4D4D4D !important;
}
/* end cookie banner */
/* ===== RESPONSIVE ===== */

/* Tablet (<= 900px) */
@media (max-width: 900px) {
  .tbl-title { font-size: 1.7rem !important; }

  /* Color step stacks: preview on top, swatches below */
  .tbl-color-wrap {
    flex-direction: column;
    gap: 24px;
  }
  .tbl-color-preview { flex-direction: row; gap: 16px; align-items: center; }
  .tbl-color-box { width: 88px; height: 88px; }
  .tbl-color-name { text-align: left; font-size: 1rem; }
  .tbl-swatches { width: 100%; }
}

/* Phone (<= 600px) */
@media (max-width: 600px) {
  .tbl-maat-inputs { flex-direction: column; align-items: stretch; gap: 4px; }
  .tbl-maat-x { display: none; }
  .tbl-maat-card { min-height: 90px; flex: 1 1 100%; min-width: 100%; }\n  .tbl-chairs { margin-top: 16px; }\n  .tbl-custom-maat { padding: 18px; }

  .tbl-title { font-size: 1.5rem !important; }
  .tbl-subtitle { margin: -14px 0 22px; }

  /* Progress: keep dots in a row, shrink + allow labels to wrap small */
  .tbl-progress { margin-bottom: 36px; }
  .tbl-dot-num { width: 28px; height: 28px; font-size: 9px; }
  .tbl-dot-lbl { font-size: 7px; letter-spacing: .06em; }
  .tbl-progress-line { margin: 14px 5px 0; }

  /* Cards wrap to a 2-per-row grid */
  .tbl-cards {
    flex-wrap: wrap;
  }
  .tbl-card {
    flex: 1 1 calc(50% - 7px);
    min-width: calc(50% - 7px);
    padding: 20px 12px 16px;
  }
  .tbl-card-img { width: 56px; height: 56px; }
  .tbl-edge-svg { width: 64px; height: 32px; }
  .tbl-shape-svg { width: 56px; height: 56px; }
  .tbl-leg-svg { width: 52px; height: 66px; }\n  .tbl-shape-svg svg { width: 56px; height: 36px; }
  .tbl-card-lbl { font-size: 9px; letter-spacing: .1em; }

  /* Color swatches: 2 columns on phone */
  .tbl-swatches { grid-template-columns: repeat(2, 1fr); }
  .tbl-swatch { padding: 8px 10px; }
  .tbl-swatch-name { font-size: 10px; }
  .tbl-swatch-badge { font-size: 6px; padding: 2px 5px; top: -7px; right: 6px; }
  .tbl-color-box { width: 72px; height: 72px; }

  /* Nav buttons full width, stacked nicely */
  .tbl-nav { gap: 10px; }
  .tbl-btn-next, .tbl-submit { flex: 1; padding: 14px 20px; text-align: center; }
  .tbl-btn-prev { padding: 14px 18px; }

  /* Summary padding tighter */
  .tbl-summary { padding: 20px 18px; }
  .tbl-price-val { font-size: 1.7rem; }
}

/* Very small phones (<= 380px) */
@media (max-width: 380px) {
  .tbl-maat-card { flex-direction: column; justify-content: center; }
  .tbl-shape-svg { width: 48px; height: 48px; }\n  .tbl-shape-svg svg { width: 48px; height: 30px; }

  .tbl-cards { flex-direction: column; }
  .tbl-card { flex: 1 1 100%; min-width: 100%; flex-direction: row; justify-content: flex-start; gap: 16px; padding: 16px 18px; }
  .tbl-card-img, .tbl-edge-svg { width: 48px; height: 48px; }
  .tbl-edge-svg { height: 28px; }
}
