/* Algemene pagina's die via de navigatie worden gewisseld. */
.page {
  display: none;
}
.page.is-active {
  display: block;
  flex: 1 0 auto;
  min-width: 0;
  animation: pageIn .28s ease both;
}
@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .page.is-active {
    animation: none;
  }
}
.page-inner {
  padding: 2.25rem 0 3rem;
}
.page-head {
  max-width: 46rem;
  margin-bottom: 1.75rem;
}
.page-head h1 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 600;
  margin-bottom: .5rem;
}
.page-head p {
  color: var(--vm-muted);
  margin-bottom: 0;
}
.cfg-choice-page__eyebrow {
  margin-bottom: .4rem !important;
  color: var(--vm-green) !important;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.cfg-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1rem;
  max-width: 920px;
}
.cfg-choice-card {
  display: flex;
  min-width: 0;
  min-height: 112px;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--vm-line);
  border-radius: 8px;
  background: #fff;
  color: var(--vm-ink);
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.cfg-choice-card:hover {
  border-color: #cbd5c5;
  box-shadow: 0 10px 24px rgba(35, 41, 31, .08);
  color: var(--vm-ink);
  transform: translateY(-2px);
}
.cfg-choice-card:focus-visible {
  outline: 3px solid rgba(78, 99, 64, .22);
  outline-offset: 2px;
}
.cfg-choice-card__icon {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 7px;
  background: #eef3ea;
  color: var(--vm-green);
  font-size: 1.15rem;
}
.cfg-choice-card__content {
  display: block;
  min-width: 0;
}
.cfg-choice-card__content strong,
.cfg-choice-card__content span {
  display: block;
}
.cfg-choice-card__content strong {
  margin-bottom: .2rem;
  font-size: 1rem;
}
.cfg-choice-card__content span {
  color: var(--vm-muted);
  font-size: .82rem;
  line-height: 1.45;
}
.cfg-choice-card__arrow {
  margin-left: auto;
  color: #9aa093;
}
.cfg-choice-back {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: 1.25rem;
  color: var(--vm-green);
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
}
.cfg-choice-back:hover {
  color: var(--vm-green-dark);
  text-decoration: underline;
}
.cfg-choice-empty {
  padding: 1rem;
  border: 1px solid var(--vm-line);
  border-radius: 8px;
  background: #fff;
  color: var(--vm-muted);
}
@media (max-width: 575.98px) {
  .page-inner {
    padding: 1.5rem 0 2.25rem;
  }
  .page-head {
    margin-bottom: 1.25rem;
  }
}

/* Hoofdindeling: gereedschap links, tekenvlak in het midden en overzicht rechts. */
.cfg {
  background: var(--vm-content-bg);
  padding: 1.25rem 0 .75rem;
}
.cfg-layout {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 212px minmax(0, 1fr) 288px;
  align-items: start;
}
.cfg-view-switch {
  display: none;
}
.cfg-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8b9084;
  margin: 0 0 .5rem;
}
.cfg-card {
  background: #fff;
  border: 1px solid var(--vm-line);
  border-radius: 6px;
}
.cfg-group + .cfg-group {
  margin-top: 1.35rem;
}
.cfg-tool {
  display: flex;
  align-items: center;
  gap: .7rem;
  width: 100%;
  padding: .6rem .7rem;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--vm-line);
  text-align: left;
  color: var(--vm-ink);
  transition: background .18s ease;
}
.cfg-card .cfg-tool:last-child {
  border-bottom: 0;
}
.cfg-tool:hover {
  background: #f5f7f3;
}
.cfg-tool__icon {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--vm-line);
  border-radius: 5px;
  font-size: .82rem;
  color: #5c6255;
  background: #fff;
  transition: all .18s ease;
}
.cfg-tool__body {
  min-width: 0;
}
.cfg-tool__title {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.25;
}
.cfg-tool__desc {
  display: block;
  font-size: .69rem;
  color: var(--vm-muted);
  line-height: 1.3;
}
.cfg-tool.is-active {
  background: #eef3ea;
}
.cfg-tool.is-active .cfg-tool__icon {
  background: var(--vm-green);
  border-color: var(--vm-green);
  color: #fff;
}
.cfg-tool.is-active .cfg-tool__title {
  color: var(--vm-green);
}
.cfg-history {
  display: flex;
  gap: .6rem;
}
.cfg-iconbtn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--vm-line);
  border-radius: 5px;
  color: #5c6255;
  transition: all .18s ease;
}
.cfg-iconbtn:hover:not(:disabled) {
  border-color: var(--vm-green);
  color: var(--vm-green);
}
.cfg-iconbtn:disabled {
  opacity: .4;
  cursor: not-allowed;
}
.cfg-tip {
  display: flex;
  gap: .6rem;
  padding: .8rem;
  background: #f3f7ef;
  border: 1px solid #dfe8d8;
  border-radius: 6px;
  font-size: .74rem;
  line-height: 1.45;
  color: #4c5545;
}
.cfg-tip i {
  color: var(--vm-green);
  margin-top: .1rem;
}
.cfg-tip strong {
  display: block;
  margin-bottom: .15rem;
}
.cfg-canvas-bar {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .75rem;
  flex-wrap: wrap;
}
.cfg-canvas-reset {
  height: 40px;
  white-space: nowrap;
}
.cfg-stage {
  position: relative;
  padding: 26px 12px 26px 34px;
  overflow: hidden;
}
.cfg-stage__unit {
  position: absolute;
  left: 10px;
  bottom: 6px;
  font-size: .64rem;
  color: #9aa093;
}
.cfg-ruler {
  position: absolute;
  color: #9aa093;
  font-size: .6rem;
  user-select: none;
}
.cfg-ruler--x {
  top: 8px;
  left: 34px;
  right: 12px;
  height: 16px;
}
.cfg-ruler--y {
  left: 8px;
  top: 26px;
  bottom: 26px;
  width: 24px;
}
.cfg-ruler span {
  position: absolute;
  transform: translate(-50%, 0);
}
.cfg-ruler--y span {
  transform: translate(0, -50%);
  right: 0;
}
.cfg-viewport {
  position: relative;
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  aspect-ratio: 10 / 7;
}
@media (min-width: 1200px) {
  .cfg-viewport {
    height: clamp(420px, 58dvh, 680px);
    max-height: none;
    aspect-ratio: auto;
  }
}
.cfg-viewport::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(
      to left,
      rgba(78, 99, 64, .13),
      transparent 11%) right / 100% 100% no-repeat,
    linear-gradient(
      to top,
      rgba(78, 99, 64, .13),
      transparent 11%) bottom / 100% 100% no-repeat;
  transition: opacity .16s ease;
}
.cfg.is-growing-workspace .cfg-viewport::after {
  opacity: 1;
}
.cfg-drawing {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  background: #fbfcfa;
  cursor: default;
  touch-action: none;
  user-select: none;
  outline: none;
}
.cfg-grid-minor {
  stroke: #eef0ec;
  stroke-width: 1;
}
.cfg-grid-major {
  stroke: #e0e4dc;
  stroke-width: 1;
}
.cfg-summary {
  padding: .35rem .9rem;
}
.cfg-summary__mobile-toggle {
  display: none;
}
.cfg-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .5rem 0;
  font-size: .8rem;
  border-bottom: 1px solid #f0f1ee;
}
.cfg-summary__row:last-child {
  border-bottom: 0;
}
.cfg-summary__row span:first-child {
  color: #5c6255;
}
.cfg-summary__row span:last-child {
  font-variant-numeric: tabular-nums;
}
.cfg-summary__row--total {
  border-top: 1px solid var(--vm-line);
  border-bottom: 0;
  margin-top: .2rem;
  padding-top: .7rem;
  font-weight: 700;
  font-size: .88rem;
}
.cfg-summary__row--total span:last-child {
  color: var(--vm-green);
}
.cfg-note {
  display: flex;
  gap: .55rem;
  align-items: center;
  margin-top: .85rem;
  padding: .75rem .8rem;
  background: #f4f5f2;
  border-radius: 6px;
  font-size: .72rem;
  line-height: 1.45;
  color: #5c6255;
}
.cfg-note i {
  color: #9aa093;
  margin-top: .12rem;
}
@media (max-width: 1199.98px) {
  .cfg-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .cfg.is-default-zoom [data-zoom-control] {
    display: none;
  }
  .cfg-view-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px;
    padding: 3px;
    border: 1px solid #d9e0d5;
    border-radius: 7px;
    background: #eef2eb;
  }
  .cfg-view-switch button {
    display: inline-flex;
    min-width: 0;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    padding: .55rem .65rem;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: #687164;
    font: inherit;
    font-size: .76rem;
    font-weight: 700;
  }
  .cfg-view-switch button.is-active {
    background: #fff;
    box-shadow: 0 1px 4px rgba(40, 54, 35, .12);
    color: var(--vm-green);
  }
  .cfg-view-switch button:focus-visible {
    outline: 3px solid rgba(78, 99, 64, .22);
    outline-offset: 1px;
  }
  .cfg.is-mobile-view-2d [data-editor-view-panel="3d"],
  .cfg.is-mobile-view-3d [data-editor-view-panel="2d"],
  .cfg.is-mobile-view-3d .cfg-side {
    display: none;
  }
  .cfg-side {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: .35rem;
  }
  .cfg-group + .cfg-group {
    margin-top: 0;
  }
  .cfg-side .cfg-group {
    flex: 0 0 auto;
  }
  .cfg-side .cfg-card {
    display: flex;
  }
  .cfg-tool {
    width: auto;
    flex-direction: column;
    align-items: center;
    gap: .3rem;
    padding: .55rem .7rem;
    border-bottom: 0;
    border-right: 1px solid var(--vm-line);
    text-align: center;
  }
  .cfg-card .cfg-tool:last-child {
    border-right: 0;
  }
  .cfg-tool__desc {
    display: none;
  }
  .cfg-tool__title {
    font-size: .72rem;
    white-space: nowrap;
  }
  .cfg-side .cfg-group--tip {
    display: none;
  }
  .cfg-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: start;
  }
  .cfg.is-mobile-view-2d .cfg-panel {
    grid-template-columns: minmax(0, 1fr);
  }
  .cfg.is-mobile-view-3d .cfg-panel {
    grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr);
  }
}
@media (min-width: 768px) and (max-width: 1199.98px) {
  .cfg.is-mobile-view-3d [data-editor-view-panel="3d"] .cfg-preview__stage {
    min-height: clamp(360px, 52dvh, 520px);
  }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .cfg.is-mobile-view-3d .cfg-panel {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 767.98px) {
  /* Een transform op de pagina maakt position: fixed relatief aan de pagina in plaats van het scherm. */
  #configureren.page.is-active {
    animation: none;
    transform: none;
  }
  .cfg {
    --cfg-mobile-workspace-height: clamp(260px, 52dvh, 420px);
    padding-top: .85rem;
    padding-bottom: calc(5.25rem + env(safe-area-inset-bottom));
  }
  .cfg-viewport,
  [data-editor-view-panel="3d"] .cfg-preview__stage {
    height: var(--cfg-mobile-workspace-height);
    min-height: var(--cfg-mobile-workspace-height);
    max-height: none;
    aspect-ratio: auto;
  }
  [data-editor-view-panel="3d"] .cfg-deck3d {
    height: 100%;
    min-height: 100%;
  }
  .cfg-side {
    display: flex;
    gap: .45rem;
    overflow-x: auto;
    padding: .05rem 0 .45rem;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }
  .cfg-side > .cfg-group:not(.cfg-group--history):not(.cfg-group--tip),
  .cfg-side .cfg-card {
    display: contents;
  }
  .cfg-side .cfg-label {
    display: none;
  }
  .cfg-side .cfg-tool {
    flex: 0 0 80px;
    width: 80px;
    min-width: 80px;
    min-height: 64px;
    padding: .45rem .35rem;
    border: 1px solid var(--vm-line);
    border-radius: 6px;
    background: #fff;
    scroll-snap-align: start;
  }
  .cfg-side .cfg-card .cfg-tool:last-child {
    border-right: 1px solid var(--vm-line);
  }
  .cfg-side .cfg-tool__title {
    overflow-wrap: anywhere;
    white-space: normal;
  }
  .cfg-side .cfg-group--history {
    display: none;
  }
  .cfg.is-mobile-view-2d .cfg-panel,
  .cfg.is-mobile-view-3d .cfg-panel {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
  }
  .cfg.is-mobile-view-3d .cfg-panel > .cfg-group {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
  }
  .cfg.is-mobile-view-2d .cfg-panel > .cfg-price-dock,
  .cfg.is-mobile-view-3d .cfg-panel > .cfg-price-dock {
    position: fixed;
    z-index: 1034;
    right: max(var(--vm-shell-gutter, .75rem), env(safe-area-inset-right));
    bottom: 0;
    left: max(var(--vm-shell-gutter, .75rem), env(safe-area-inset-left));
    width: auto;
    max-height: min(72dvh, 520px);
    min-width: 0;
    margin: 0;
    padding-bottom: env(safe-area-inset-bottom);
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid #d7ddd3;
    border-bottom: 0;
    border-radius: 10px 10px 0 0;
    background: #fff;
    box-shadow: 0 -8px 24px rgba(35, 41, 31, .16);
  }
  .cfg-price-dock > .cfg-label {
    display: none;
  }
  .cfg-price-dock .cfg-summary {
    padding: 0;
    border: 0;
    border-radius: 0;
  }
  .cfg-summary__mobile-toggle {
    position: sticky;
    z-index: 1;
    top: 0;
    display: flex;
    width: 100%;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .75rem .95rem;
    border: 0;
    background: #fff;
    color: var(--vm-ink);
    font: inherit;
    font-size: .86rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
  }
  .cfg-summary__mobile-toggle:focus-visible {
    outline: 3px solid rgba(78, 99, 64, .24);
    outline-offset: -3px;
  }
  .cfg-summary__mobile-value {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    color: var(--vm-green);
    font-size: .95rem;
    font-variant-numeric: tabular-nums;
  }
  .cfg-summary__mobile-value i {
    font-size: .72rem;
    transition: transform .18s ease;
  }
  .cfg-price-dock.is-expanded .cfg-summary__mobile-value i {
    transform: rotate(180deg);
  }
  .cfg-price-dock .cfg-summary__details,
  .cfg-price-dock .cfg-note {
    display: none;
  }
  .cfg-price-dock.is-expanded .cfg-summary__details {
    display: block;
    padding: 0 .9rem .35rem;
    border-top: 1px solid var(--vm-line);
  }
  .cfg-price-dock.is-expanded .cfg-note {
    display: flex;
    margin: 0;
    border-top: 1px solid var(--vm-line);
    border-radius: 0;
  }
  .cfg.is-mobile-view-3d [data-editor-view-panel="3d"] .cfg-preview,
  .cfg.is-mobile-view-3d [data-editor-view-panel="3d"] .cfg-preview__stage,
  .cfg.is-mobile-view-3d [data-editor-view-panel="3d"] .cfg-babylon-canvas {
    width: 100%;
  }
  .cfg-stage {
    padding: 22px 8px 22px 28px;
  }
  .cfg-ruler--x {
    left: 28px;
    right: 8px;
  }
  .cfg-ruler {
    font-size: .55rem;
  }
  .cfg-canvas-bar {
    gap: .35rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cfg-tool,
  .cfg-tool__icon,
  .cfg-iconbtn,
  .cfg-summary__mobile-value i {
    transition: none;
  }
}
/* Knoppen en vormen in het 2D-tekenvlak. */
.cfg-side,
.cfg-main,
.cfg-panel {
  min-width: 0;
}
.cfg-tool:disabled {
  opacity: .4;
  cursor: not-allowed;
}
.cfg-drawing:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(78, 99, 64, .22);
}
.cfg[data-active-tool=rectangle] .cfg-drawing,
.cfg[data-active-tool=polygon] .cfg-drawing,
.cfg[data-active-tool=cutout-rectangle] .cfg-drawing {
  cursor: crosshair;
}
.cfg-pan-bg {
  fill: #f1f3ef;
  pointer-events: all;
}
.cfg-canvas-bg {
  stroke: #cbd3c7;
  stroke-width: 1px;
  vector-effect: non-scaling-stroke;
  pointer-events: all;
}
.cfg[data-active-tool=select] .cfg-drawing,
.cfg[data-active-tool=move] .cfg-drawing,
.cfg[data-active-tool=delete] .cfg-drawing,
.cfg[data-active-tool=select] .cfg-pan-bg,
.cfg[data-active-tool=move] .cfg-pan-bg,
.cfg[data-active-tool=delete] .cfg-pan-bg,
.cfg[data-active-tool=select] .cfg-canvas-bg,
.cfg[data-active-tool=move] .cfg-canvas-bg,
.cfg[data-active-tool=delete] .cfg-canvas-bg {
  cursor: grab;
}
.cfg.is-panning .cfg-drawing,
.cfg.is-panning .cfg-pan-bg,
.cfg.is-panning .cfg-canvas-bg,
.cfg.is-panning .cfg-deck-shape,
.cfg.is-panning .cfg-cutout-hit {
  cursor: grabbing;
}
.cfg.is-pan-shortcut .cfg-drawing,
.cfg.is-pan-shortcut .cfg-pan-bg,
.cfg.is-pan-shortcut .cfg-canvas-bg,
.cfg.is-pan-shortcut .cfg-deck-shape,
.cfg.is-pan-shortcut .cfg-cutout-hit {
  cursor: grab;
}
.cfg.is-pan-shortcut.is-panning .cfg-drawing,
.cfg.is-pan-shortcut.is-panning .cfg-deck-shape,
.cfg.is-pan-shortcut.is-panning .cfg-cutout-hit {
  cursor: grabbing;
}
.cfg-deck-shape {
  fill: #b9793f;
  fill-opacity: .9;
  stroke: #4e6340;
  stroke-width: 3px;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  cursor: pointer;
  transition: fill-opacity .14s ease, filter .14s ease;
}
.cfg[data-active-tool=move] .cfg-deck-shape,
.cfg[data-active-tool=move] .cfg-cutout-hit {
  cursor: grab;
}
.cfg[data-active-tool=move] .cfg-deck-shape:active {
  cursor: grabbing;
}
.cfg[data-active-tool=delete] .cfg-deck-shape,
.cfg[data-active-tool=delete] .cfg-cutout-hit {
  cursor: crosshair;
}
.cfg-deck-shape:hover {
  fill-opacity: .98;
}
.cfg-deck-shape.is-selected {
  stroke: #294222;
  stroke-width: 5px;
  filter: drop-shadow(0 3px 5px rgba(39, 60, 31, .22));
}
.cfg-deck-shape.is-invalid-preview {
  fill: #c8675d;
  stroke: #9d332a;
}
.cfg-cutout-hit {
  fill: transparent;
  stroke: transparent;
  stroke-width: 24px;
  vector-effect: non-scaling-stroke;
  pointer-events: all;
  cursor: grab;
}
.cfg[data-active-tool=select] .cfg-cutout-hit {
  cursor: pointer;
}
.cfg-cutout-outline {
  fill: rgba(255, 255, 255, .55);
  stroke: #46523c;
  stroke-width: 2.5px;
  stroke-dasharray: 10 7;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}
.cfg-cutout-outline.is-selected {
  fill: rgba(255, 250, 232, .72);
  stroke: #bd7118;
  stroke-width: 4px;
}
.cfg[data-active-tool=delete] .cfg-deck-shape:hover,
.cfg[data-active-tool=delete] .cfg-deck-shape.is-delete-hovered {
  fill: #c95f56 !important;
  fill-opacity: .42 !important;
  stroke: #a53d34;
  filter: drop-shadow(0 3px 6px rgba(117, 39, 32, .25));
}
.cfg[data-active-tool=delete] .cfg-cutout-hit:hover + .cfg-cutout-outline,
.cfg[data-active-tool=delete] .cfg-cutout-outline.is-delete-hovered {
  fill: rgba(201, 95, 86, .38);
  stroke: #a53d34;
  stroke-width: 4px;
}
.cfg-delete-marker {
  cursor: pointer;
  pointer-events: all;
}
.cfg-delete-marker__background {
  fill: #fff;
  stroke: #a53d34;
  stroke-width: 2px;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 2px 4px rgba(68, 30, 26, .28));
}
.cfg-delete-marker__icon {
  fill: none;
  stroke: #a53d34;
  stroke-width: 2px;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}
.cfg-delete-marker:hover .cfg-delete-marker__background,
.cfg-delete-marker:focus-visible .cfg-delete-marker__background {
  fill: #a53d34;
}
.cfg-delete-marker:hover .cfg-delete-marker__icon,
.cfg-delete-marker:focus-visible .cfg-delete-marker__icon {
  stroke: #fff;
}
.cfg-delete-marker:focus-visible {
  outline: none;
}
.cfg-vertex-hit {
  fill: transparent;
  cursor: move;
  pointer-events: all;
}
.cfg-resize-hit {
  fill: transparent;
  pointer-events: all;
}
.cfg-resize-hit--n,
.cfg-resize-hit--s {
  cursor: ns-resize;
}
.cfg-resize-hit--e,
.cfg-resize-hit--w {
  cursor: ew-resize;
}
.cfg-resize-hit--nw,
.cfg-resize-hit--se {
  cursor: nwse-resize;
}
.cfg-resize-hit--ne,
.cfg-resize-hit--sw {
  cursor: nesw-resize;
}
.cfg-resize-handle {
  fill: #fff;
  stroke: var(--vm-green);
  stroke-width: 3px;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
  transition: fill .14s ease, stroke .14s ease;
}
.cfg-resize-hit:hover + .cfg-resize-handle,
.cfg-resize-hit:active + .cfg-resize-handle {
  fill: var(--vm-green);
  stroke: #fff;
}
.cfg-vertex-handle {
  fill: #fff;
  stroke: var(--vm-green);
  stroke-width: 3px;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}
.cfg-draw-preview {
  fill: rgba(78, 99, 64, .18);
  stroke: var(--vm-green);
  stroke-width: 3px;
  stroke-dasharray: 10 7;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}
.cfg-draw-preview.is-cutout {
  fill: rgba(194, 113, 33, .17);
  stroke: #bd7118;
}
.cfg-draw-preview.is-invalid,
.cfg-poly-preview.is-invalid {
  fill: rgba(176, 54, 45, .16);
  stroke: #a53d34;
}
.cfg-poly-preview {
  fill: rgba(78, 99, 64, .12);
  stroke: var(--vm-green);
  stroke-width: 3px;
  stroke-dasharray: 10 7;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}
.cfg-preview-point {
  fill: #fff;
  stroke: var(--vm-green);
  stroke-width: 3px;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}
.cfg-preview-point.is-first {
  fill: #dfead9;
  stroke-width: 4px;
}
.cfg-measure-label {
  fill: #46523c;
  font-size: 150px;
  font-weight: 700;
  paint-order: stroke;
  stroke: #fff;
  stroke-width: 28px;
  stroke-linejoin: round;
  pointer-events: none;
}
.cfg-measurements {
  color: #46523c;
  pointer-events: none;
}
.cfg-measurements.is-cutout {
  color: #bd7118;
}
.cfg-measurements.is-invalid {
  color: #a53d34;
}
.cfg-measurements .cfg-measure-label {
  fill: currentColor;
}
.cfg-angle-arc {
  fill: none;
  stroke: currentColor;
  stroke-width: 2px;
  vector-effect: non-scaling-stroke;
}
.cfg-angle-reference {
  stroke: currentColor;
  stroke-width: 1.5px;
  stroke-dasharray: 4 4;
  vector-effect: non-scaling-stroke;
  opacity: .62;
}
.cfg-angle-label {
  font-weight: 800;
}
.cfg-dimensions {
  color: #46523c;
  pointer-events: none;
}
.cfg-dimensions.is-cutout {
  color: #bd7118;
}
.cfg-dimensions.is-invalid {
  color: #a53d34;
}
.cfg-dimension-line,
.cfg-dimension-extension,
.cfg-dimension-arrow,
.cfg-offset-guide {
  fill: none;
  stroke: currentColor;
  vector-effect: non-scaling-stroke;
}
.cfg-dimension-line,
.cfg-dimension-arrow {
  stroke-width: 1.5px;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cfg-offset-guide {
  stroke-width: 1.25px;
  stroke-dasharray: 5 4;
  opacity: .82;
}
.cfg-dimension-extension {
  stroke-width: 1px;
  stroke-dasharray: 3 3;
  opacity: .62;
}
.cfg-dimension-label {
  fill: currentColor;
  font-weight: 700;
  paint-order: stroke;
  stroke: #fff;
  stroke-linejoin: round;
  pointer-events: none;
}
.cfg-empty-canvas {
  fill: #8d9588;
  font-size: 190px;
  font-weight: 600;
  pointer-events: none;
}
.cfg-feedback {
  box-sizing: border-box;
  min-height: 42px;
  margin-bottom: .7rem;
  padding: .65rem .8rem;
  border: 1px solid #dfe6da;
  border-radius: 6px;
  background: #f4f7f1;
  color: #52604c;
  font-size: .76rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  opacity: 1;
  transform: translateY(0);
  transition: opacity .24s ease, transform .24s ease;
}
.cfg-feedback.is-fading {
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
}
.cfg-feedback.is-empty {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.cfg-feedback[hidden],
.cfg-dialog__feedback[hidden] {
  display: none;
}
.cfg-feedback__action {
  flex: 0 0 auto;
  min-height: 32px;
  padding: .25rem .55rem;
  border: 1px solid currentColor;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
}
.cfg-feedback[data-type=success],
.cfg-dialog__feedback[data-type=success] {
  border-color: #cfe1c7;
  background: #f0f7ec;
  color: #36572d;
}
.cfg-feedback[data-type=error],
.cfg-dialog__feedback[data-type=error] {
  border-color: #e9c6c2;
  background: #fff5f4;
  color: #8d332b;
}
.cfg-feedback[data-type=warning],
.cfg-dialog__feedback[data-type=warning] {
  border-color: #ead9ad;
  background: #fffaf0;
  color: #765815;
}
@media (prefers-reduced-motion: reduce) {
  .cfg-feedback {
    transition: none;
  }
  .cfg-feedback.is-fading {
    transform: none;
  }
}
.cfg-dialog__feedback {
  margin: 0 0 .9rem;
  padding: .65rem .75rem;
  border: 1px solid #dfe6da;
  border-radius: 5px;
  background: #f4f7f1;
  color: #52604c;
  font-size: .76rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.cfg-canvas-ui {
  position: absolute;
  inset: 0;
  z-index: 6;
  overflow: hidden;
  pointer-events: none;
}
.cfg-delete-control {
  position: absolute;
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 1px solid #cfd7ca;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(39, 52, 34, .16);
  color: #596453;
  font-size: .9rem;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  transition:
    background-color .16s ease,
    border-color .16s ease,
    color .16s ease,
    box-shadow .16s ease;
}
.cfg-delete-control[hidden] {
  display: none;
}
.cfg-delete-control:hover {
  border-color: #c96e65;
  background: #fff5f4;
  box-shadow: 0 7px 18px rgba(104, 46, 39, .18);
  color: #a53d34;
}
.cfg-delete-control:focus-visible {
  border-color: #a53d34;
  outline: 3px solid rgba(165, 61, 52, .24);
  outline-offset: 3px;
  color: #a53d34;
}
.cfg-preview {
  padding: .7rem;
  overflow: hidden;
}
.cfg-deck3d {
  display: block;
  width: 100%;
  min-height: 190px;
  background:
    linear-gradient(
      180deg,
      #f7f7f5 0%,
      #f0f1ed 100%);
  border-radius: 4px;
}
.cfg-preview-top {
  fill: #9b6338;
  stroke: #614326;
  stroke-width: 4px;
  vector-effect: non-scaling-stroke;
}
.cfg-preview-depth {
  fill: #654225;
  opacity: .82;
}
.cfg-preview-empty {
  fill: #8c9287;
  font-size: 350px;
  font-weight: 600;
}
.cfg-hint {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin-top: .45rem;
  color: var(--vm-muted);
  font-size: .7rem;
}
/* Algemene opmaak die alle configurator-popups delen. */
.cfg-dialog {
  width: min(760px, calc(100vw - 2rem));
  max-width: none;
  max-height: min(860px, calc(100dvh - 2rem));
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--vm-line);
  border-radius: 8px;
  background: #fff;
  color: var(--vm-ink);
  box-shadow: 0 14px 40px rgba(35, 41, 31, .18);
}
.cfg-dialog::backdrop {
  background: rgba(31, 37, 29, .28);
}
.cfg-dialog__surface {
  display: flex;
  flex-direction: column;
  max-height: min(860px, calc(100dvh - 2rem));
  margin: 0;
  overflow: hidden;
  background: #fff;
}
.cfg-dialog__surface[data-dialog-initial-focus]:focus {
  outline: none;
}
.cfg-dialog__header {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 16px;
  border-bottom: 1px solid var(--vm-line);
  background: #fff;
}
.cfg-dialog__header h2 {
  margin: 0;
  color: #2f382c;
  font-size: .9rem;
  font-weight: 600;
}
.cfg-dialog__tabs {
  display: flex;
  flex: 1 1 auto;
  align-self: stretch;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #c7d0c1 transparent;
}
.cfg-dialog__tabs button {
  position: relative;
  flex: 1 1 0;
  min-height: 44px;
  padding: 0 .85rem;
  border: 0;
  background: transparent;
  color: #5b6556;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .16s ease, color .16s ease;
}
.cfg-dialog__tabs button:hover {
  background: #f7f9f6;
  color: var(--vm-green);
}
.cfg-dialog__tabs button.is-active {
  color: var(--vm-green);
}
.cfg-dialog__tabs button.is-active::after {
  content: "";
  position: absolute;
  right: .85rem;
  bottom: 0;
  left: .85rem;
  height: 2px;
  border-radius: 0;
  background: var(--vm-green);
}
.cfg-dialog__tabs button:focus-visible {
  z-index: 1;
  outline: 3px solid rgba(78, 99, 64, .24);
  outline-offset: -3px;
}
.cfg-dialog__close {
  display: grid;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #626b5d;
  cursor: pointer;
  transition:
    background-color .16s ease,
    border-color .16s ease,
    color .16s ease;
}
.cfg-dialog__close:hover {
  background: #f0f3ed;
  color: var(--vm-green);
}
.cfg-dialog__close:focus-visible {
  outline: 3px solid rgba(78, 99, 64, .25);
  outline-offset: 2px;
}
.cfg-dialog__body {
  min-height: 0;
  padding: 16px 18px 18px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: #bcc7b5 #f5f7f3;
}
.cfg-dialog__body h2 {
  margin: 0 0 .2rem;
  color: #2f382c;
  font-size: 15px;
  font-weight: 600;
}
.cfg-dialog__intro {
  margin: 0 0 .8rem;
  color: #65705f;
  font-size: 12px;
  line-height: 1.45;
}
.cfg-settings-panel__heading {
  margin-bottom: .75rem;
}
.cfg-settings-panel__heading h2,
.cfg-settings-panel__heading h3 {
  margin: 0 0 .15rem;
  color: #2f382c;
  font-size: 15px;
  font-weight: 600;
}
.cfg-settings-panel__heading p {
  max-width: 62ch;
  margin: 0;
  color: #65705f;
  font-size: 12px;
  line-height: 1.45;
}
.cfg-dialog__footer {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  min-height: 58px;
  padding: 9px 18px;
  border-top: 1px solid var(--vm-line);
  background: #fff;
  color: var(--vm-muted);
  font-size: .75rem;
}
.cfg-dialog__footer--actions {
  justify-content: flex-end;
}
.cfg-dialog__footer-actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .55rem;
  margin-left: auto;
}
.cfg-dialog__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 38px;
  padding: .5rem .9rem;
  border: 1px solid transparent;
  border-radius: 5px;
  font: inherit;
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition:
    background-color .16s ease,
    border-color .16s ease,
    color .16s ease,
    box-shadow .16s ease;
}
.cfg-dialog__button:disabled {
  opacity: .48;
  cursor: not-allowed;
}
.cfg-dialog__button:focus-visible {
  outline: 3px solid rgba(78, 99, 64, .25);
  outline-offset: 2px;
}
.cfg-dialog__button--primary {
  border-color: var(--vm-green);
  background: var(--vm-green);
  color: #fff;
}
.cfg-dialog__button--primary:hover {
  border-color: #34482d;
  background: #34482d;
  color: #fff;
}
.cfg-dialog__button--secondary {
  border-color: #ccd5c7;
  background: #fff;
  color: #4c5748;
}
.cfg-dialog__button--secondary:hover {
  border-color: #9eac97;
  background: #f2f6ef;
  color: var(--vm-green);
}
.cfg-dialog__button--confirm {
  border-color: var(--vm-green);
  background: var(--vm-green);
  color: #fff;
}
.cfg-dialog__button--confirm:hover {
  border-color: #34482d;
  background: #34482d;
  color: #fff;
}
.cfg-dialog[data-confirm-kind=reset] .cfg-dialog__button--confirm {
  border-color: #a53d34;
  background: #a53d34;
}
.cfg-dialog[data-confirm-kind=reset] .cfg-dialog__button--confirm:hover {
  border-color: #843029;
  background: #843029;
}
.cfg-dialog[data-confirm-kind=reset] .cfg-dialog__button--confirm:focus-visible {
  outline-color: rgba(165, 61, 52, .28);
}
.cfg-dialog[data-confirm-kind=discard-deck-settings] .cfg-dialog__button--confirm {
  border-color: #a66e1b;
  background: #a66e1b;
}
.cfg-dialog[data-confirm-kind=discard-deck-settings] .cfg-dialog__button--confirm:hover {
  border-color: #805314;
  background: #805314;
}
/* Materiaal- en kleurkeuzes in de instellingenpopup. */
.cfg-material-options {
  display: grid;
  gap: 8px;
}
.cfg-material-option {
  --cfg-material-thumb-width: 104px;
  --cfg-material-thumb-gap: .75rem;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--vm-line);
  border-radius: 6px;
  background: #fff;
  transition:
    border-color .16s ease,
    box-shadow .16s ease,
    background-color .16s ease;
}
.cfg-material-option:hover {
  border-color: #b7c3b1;
}
.cfg-material-option:has(.cfg-material-option__radio:checked) {
  border-color: var(--vm-green);
  background: #f8faf6;
  box-shadow: inset 3px 0 0 var(--vm-green);
}
.cfg-material-option:focus-within {
  outline: 3px solid rgba(78, 99, 64, .2);
  outline-offset: 1px;
}
.cfg-material-option__main {
  position: relative;
  display: grid;
  grid-template-columns: var(--cfg-material-thumb-width) minmax(0, 1fr);
  gap: var(--cfg-material-thumb-gap);
  align-items: center;
  min-height: 80px;
  padding: .5rem;
  cursor: pointer;
}
.cfg-material-option__radio,
.cfg-color-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  clip-path: inset(50%);
}
.cfg-material-option__content {
  min-width: 0;
  padding: .1rem 0 1.55rem;
}
.cfg-material-option__content strong,
.cfg-material-option__content small {
  display: block;
}
.cfg-material-option__content strong {
  color: #30392d;
  font-size: 13px;
  font-weight: 600;
}
.cfg-material-option__content small {
  margin-top: .1rem;
  color: var(--vm-muted);
  font-size: 12px;
  line-height: 1.35;
}
.cfg-material-thumb {
  width: var(--cfg-material-thumb-width);
  height: 64px;
  border-radius: 4px;
  background-color: #8f5a36;
  background-image:
    repeating-linear-gradient(
      165deg,
      transparent 0 12px,
      rgba(45, 27, 16, .24) 13px 15px);
}
.cfg-color-choices {
  position: absolute;
  right: .5rem;
  bottom: .55rem;
  left: calc(.5rem + var(--cfg-material-thumb-width) + var(--cfg-material-thumb-gap));
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.cfg-color-choice span {
  display: block;
  width: 18px;
  height: 18px;
  border: 1px solid #fff;
  border-radius: 3px;
  background: var(--swatch);
  box-shadow: 0 0 0 1px rgba(43, 52, 39, .25), inset 0 0 0 1px rgba(255, 255, 255, .14);
  transition: box-shadow .14s ease, transform .14s ease;
}
.cfg-color-choice {
  position: relative;
  display: block;
  border-radius: 3px;
  cursor: pointer;
}
.cfg-color-choice:hover span {
  box-shadow: 0 0 0 2px rgba(78, 99, 64, .45);
}
.cfg-color-choice input:checked + span {
  box-shadow: 0 0 0 1px #fff, 0 0 0 3px var(--vm-green);
}
.cfg-color-choice:focus-within {
  outline: 3px solid rgba(78, 99, 64, .25);
  outline-offset: 3px;
}
/* Keuzes voor legrichting, kantplanken en constructie. */
.cfg-layout-option > input,
.cfg-edge-choice > input,
.cfg-construction-option > input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  clip-path: inset(50%);
}
.cfg-layout-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
}
.cfg-layout-option,
.cfg-construction-option {
  position: relative;
  display: flex;
  min-width: 0;
  border: 1px solid #dce1d9;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  transition:
    border-color .16s ease,
    background-color .16s ease,
    box-shadow .16s ease;
}
.cfg-layout-option {
  min-height: 236px;
  padding: 12px 10px 14px;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.cfg-layout-option:hover,
.cfg-construction-option:hover {
  border-color: #acb8a6;
}
.cfg-layout-option:has(input:checked),
.cfg-construction-option:has(input:checked) {
  border-color: #829576;
  background: #f7faf5;
  box-shadow: 0 0 0 1px rgba(78, 99, 64, .08);
}
.cfg-layout-option:focus-within,
.cfg-construction-option:focus-within,
.cfg-edge-choice:focus-within {
  outline: 3px solid rgba(78, 99, 64, .24);
  outline-offset: 2px;
}
.cfg-layout-preview {
  position: relative;
  display: block;
  width: min(100%, 112px);
  height: 104px;
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid #d7dcd3;
  background-color: #f2f3f1;
}
.cfg-layout-preview--length {
  background-image:
    repeating-linear-gradient(
      to bottom,
      transparent 0 11px,
      #858b84 12px 13px);
}
.cfg-layout-preview--width {
  background-image:
    repeating-linear-gradient(
      to right,
      transparent 0 11px,
      #858b84 12px 13px);
}
.cfg-layout-preview--diagonal {
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent 0 12px,
      #7f867e 13px 14px,
      transparent 15px 25px);
}
.cfg-layout-preview--diagonal-reverse {
  background-image:
    repeating-linear-gradient(
      135deg,
      transparent 0 12px,
      #7f867e 13px 14px,
      transparent 15px 25px);
}
.cfg-layout-preview--frame {
  padding: 8px;
  background-color: #f2f3f1;
}
.cfg-layout-preview--frame svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #7f867e;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}
.cfg-radio-mark {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-bottom: 10px;
  border: 1.5px solid #737d6e;
  border-radius: 50%;
  background: #fff;
}
.cfg-radio-mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--vm-green);
  opacity: 0;
  transform: scale(.45);
  transition: opacity .14s ease, transform .14s ease;
}
input:checked ~ .cfg-radio-mark {
  border-color: var(--vm-green);
}
input:checked ~ .cfg-radio-mark::after {
  opacity: 1;
  transform: scale(1);
}
.cfg-visual-choice__copy {
  display: block;
  min-width: 0;
}
.cfg-visual-choice__copy strong,
.cfg-visual-choice__copy small {
  display: block;
}
.cfg-visual-choice__copy strong {
  color: #30372d;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.25;
}
.cfg-visual-choice__copy small {
  margin-top: 7px;
  color: #697166;
  font-size: 11px;
  line-height: 1.45;
}
.cfg-settings-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 13px 15px;
  border: 1px solid #e1e5de;
  border-radius: 6px;
  background: #f8f9f7;
  color: #525b4e;
  font-size: 11.5px;
  line-height: 1.45;
}
.cfg-settings-note i {
  flex: 0 0 auto;
  color: var(--vm-green);
  font-size: 17px;
}
.cfg-edge-settings {
  display: grid;
  grid-template-columns: minmax(190px, .8fr) minmax(0, 1.35fr);
  gap: 26px;
  align-items: center;
}
.cfg-edge-settings__controls {
  min-width: 0;
}
.cfg-edge-options {
  display: grid;
  gap: 11px;
  margin: 18px 0 0;
  padding: 0;
  border: 0;
}
.cfg-edge-choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-height: 26px;
  border-radius: 4px;
  color: #333b30;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.cfg-edge-choice__sample {
  display: block;
  width: 23px;
  height: 23px;
  border: 1px solid #9ea69a;
  background: #fff;
  transition: border-color .14s ease, box-shadow .14s ease;
}
.cfg-edge-choice__sample--board {
  border-color: #78906a;
  background-color: #e7eee2;
  background-image:
    repeating-linear-gradient(
      135deg,
      transparent 0 3px,
      #819975 4px 5px);
}
.cfg-edge-choice input:checked + .cfg-edge-choice__sample {
  border-color: var(--vm-green);
  box-shadow: 0 0 0 2px rgba(78, 99, 64, .18);
}
.cfg-edge-diagram-wrap {
  display: grid;
  min-height: 245px;
  place-items: center;
}
.cfg-edge-diagram {
  display: block;
  width: 100%;
  max-width: 390px;
  height: 245px;
  overflow: visible;
}
.cfg-edge-diagram__surface {
  fill: #f7f8f6;
  stroke: #c1c8bd;
  stroke-width: 1px;
  vector-effect: non-scaling-stroke;
}
.cfg-edge-diagram__edge {
  fill: none;
  stroke: #6e8a60;
  stroke-width: 8px;
  stroke-dasharray: 2 2;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
  transition: stroke .16s ease, opacity .16s ease, stroke-width .16s ease;
}
.cfg-edge-diagram__edge-hit {
  fill: none;
  stroke: transparent;
  stroke-width: 30px;
  vector-effect: non-scaling-stroke;
  cursor: pointer;
}
.cfg-edge-diagram__segment.is-disabled .cfg-edge-diagram__edge {
  stroke: #b8bfb4;
  stroke-dasharray: 5 4;
  opacity: .72;
}
.cfg-edge-diagram__segment:hover .cfg-edge-diagram__edge,
.cfg-edge-diagram__segment:focus .cfg-edge-diagram__edge {
  stroke: #c542b5;
  stroke-width: 10px;
  opacity: 1;
}
.cfg-edge-diagram__segment:focus {
  outline: none;
}
.cfg-construction-height {
  display: grid;
  grid-template-columns: minmax(230px, .85fr) minmax(280px, 1.15fr);
  gap: 28px;
  align-items: center;
}
.cfg-height-field {
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  color: #41493e;
  font-size: 12px;
  font-weight: 600;
}
.cfg-height-input {
  display: grid;
  grid-template-columns: minmax(0, 74px) 36px;
  align-items: center;
  min-height: 40px;
  overflow: hidden;
  border: 1px solid #d8ddd5;
  border-radius: 6px;
  background: #fff;
}
.cfg-height-input:focus-within {
  border-color: #8c9c82;
  box-shadow: 0 0 0 3px rgba(78, 99, 64, .16);
}
.cfg-height-input input {
  width: 100%;
  min-width: 0;
  height: 38px;
  padding: 0 10px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #30372d;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  text-align: right;
  appearance: textfield;
}
.cfg-height-input input::-webkit-inner-spin-button,
.cfg-height-input input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}
.cfg-height-input > span {
  color: #687064;
  font-size: 11px;
  font-weight: 600;
}
.cfg-height-diagram {
  display: block;
  width: 100%;
  max-width: 360px;
  height: 155px;
  justify-self: end;
}
.cfg-height-diagram__grass {
  fill: none;
  stroke: #6f933f;
  stroke-width: 4;
  stroke-linecap: round;
}
.cfg-height-diagram__value {
  fill: #3e473a;
  font: 600 12px system-ui, sans-serif;
  dominant-baseline: middle;
}
.cfg-construction-divider {
  height: 1px;
  margin: 17px 0;
  background: var(--vm-line);
}
.cfg-construction-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
}
.cfg-construction-option {
  min-height: 246px;
  padding: 12px 12px 14px;
  flex-direction: column;
  align-items: flex-start;
}
.cfg-construction-option .cfg-radio-mark {
  margin: 0 0 4px;
}
.cfg-construction-art {
  display: block;
  width: 100%;
  height: 94px;
  margin: 0 auto 5px;
}
.cfg-construction-option .cfg-visual-choice__copy {
  margin-top: auto;
}
@media (max-width: 639.98px) {
  .cfg-layout-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cfg-layout-option {
    min-height: 220px;
  }
  .cfg-edge-settings,
  .cfg-construction-height {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .cfg-edge-diagram-wrap {
    min-height: 190px;
  }
  .cfg-edge-diagram {
    height: 190px;
  }
  .cfg-height-diagram {
    height: 135px;
    justify-self: center;
  }
  .cfg-construction-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cfg-construction-option {
    min-height: 190px;
  }
  .cfg-construction-art {
    width: min(100%, 220px);
    height: 78px;
  }
}
@media (max-width: 479.98px) {
  .cfg-construction-options {
    grid-template-columns: 1fr;
  }
}
.cfg-dialog__message-layout {
  display: block;
}
.cfg-dialog--json {
  width: min(660px, calc(100vw - 2rem));
}
.cfg-compound-share {
  display: grid;
  gap: .55rem;
  padding: .9rem;
  border: 1px solid #dfe6da;
  border-radius: 6px;
  background: #f7f9f6;
}
.cfg-compound-share label {
  color: #30382d;
  font-size: .78rem;
  font-weight: 700;
}
.cfg-compound-share input {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: .55rem .65rem;
  border: 1px solid #cfd8ca;
  border-radius: 5px;
  background: #fff;
  color: #3f493b;
  font: inherit;
  font-size: .78rem;
}
.cfg-compound-share input:focus {
  border-color: var(--vm-green);
  outline: 3px solid rgba(78, 99, 64, .18);
}
.cfg-compound-share input::placeholder {
  color: #818a7c;
}
.cfg-compound-share small {
  color: #687263;
  font-size: .68rem;
  line-height: 1.45;
}
.cfg-compound-share__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: .2rem;
}
.cfg-dialog--confirm {
  width: min(420px, calc(100vw - 1rem));
}
.cfg-confirm-message {
  margin: 0;
  color: #4f574b;
  line-height: 1.55;
}
@media (max-width: 1199.98px) {
  .cfg-drawing {
    min-height: 360px;
  }
}
@media (max-width: 991.98px) {
  /* Nieuw starten staat op mobiel in het hamburgermenu. */
  .cfg-canvas-bar > [data-action=reset] {
    display: none;
  }
}
@media (max-width: 767.98px) {
  .cfg-layout {
    position: relative;
  }
  /* De melding ligt tijdelijk over de volledige keuze voor 2D en 3D. */
  .cfg-feedback {
    position: absolute;
    z-index: 10;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    margin: 0;
  }
  .cfg-feedback.is-empty {
    display: none;
  }
  .cfg-drawing {
    min-height: 0;
  }
  .cfg-height-input input,
  .cfg-compound-share input {
    font-size: 16px;
  }
  .cfg-dialog {
    width: calc(100vw - 1rem);
    max-height: calc(100dvh - 1rem);
    border-radius: 8px;
  }
  .cfg-dialog__surface {
    max-height: calc(100dvh - 1rem);
  }
  .cfg-dialog__header {
    min-height: 52px;
    padding: 0 .5rem;
  }
  .cfg-dialog__tabs button {
    flex: 0 0 auto;
    padding: 0 .7rem;
  }
  .cfg-dialog__body {
    padding: 1rem .85rem;
  }
  .cfg-dialog__footer {
    min-height: 58px;
    padding: 9px .85rem;
  }
  .cfg-material-option__main {
    min-width: 0;
  }
  .cfg-material-option {
    --cfg-material-thumb-width: 84px;
    --cfg-material-thumb-gap: .7rem;
  }
  .cfg-material-option__content {
    padding-bottom: .1rem;
  }
  .cfg-material-thumb {
    height: 56px;
  }
  .cfg-color-choices {
    position: static;
    gap: 0;
    margin-top: -.25rem;
    padding: 0 .5rem .5rem calc(.5rem + var(--cfg-material-thumb-width) + var(--cfg-material-thumb-gap));
  }
}
@media (max-width: 479.98px) {
  .cfg-feedback {
    flex-wrap: wrap;
  }
  .cfg-feedback > span:first-child {
    flex: 1 1 100%;
  }
  .cfg-feedback__action {
    flex: 1 1 auto;
    min-height: 44px;
  }
  .cfg-canvas-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) repeat(2, 44px);
  }
  .cfg.is-default-zoom .cfg-canvas-bar {
    grid-template-columns: repeat(2, 44px);
  }
  .cfg-canvas-bar .dropdown,
  .cfg-canvas-bar .dropdown-toggle {
    width: 100%;
  }
  .cfg-compound-share__actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .cfg-compound-share__actions .cfg-dialog__button {
    width: 100%;
  }
  .cfg-dialog__footer {
    flex-wrap: wrap;
  }
  .cfg-dialog__footer-actions {
    width: 100%;
  }
  .cfg-dialog__footer-actions .cfg-dialog__button {
    flex: 1 1 auto;
  }
  .cfg-dialog__footer--actions .cfg-dialog__button {
    flex: 1 1 auto;
  }
  .cfg-material-option {
    --cfg-material-thumb-width: 72px;
  }
  .cfg-material-thumb {
    height: 54px;
  }
  .cfg-color-choices {
    padding-left: calc(.5rem + var(--cfg-material-thumb-width) + var(--cfg-material-thumb-gap));
  }
}
@media (max-height: 520px) and (orientation: landscape) {
  .cfg-dialog,
  .cfg-dialog__surface {
    max-height: calc(100dvh - .5rem);
  }
  .cfg-dialog__header {
    min-height: 50px;
  }
  .cfg-dialog__body {
    padding-top: .75rem;
    padding-bottom: .75rem;
  }
  .cfg-dialog__footer {
    min-height: 54px;
    padding-top: .45rem;
    padding-bottom: .45rem;
  }
}
@media (pointer: coarse) {
  .cfg-height-input input,
  .cfg-compound-share input {
    font-size: 16px;
  }
  .cfg-material-option__content {
    padding-bottom: .1rem;
  }
  .cfg-color-choices {
    position: static;
    gap: 0;
    margin-top: -.25rem;
    padding: 0 .5rem .5rem calc(.5rem + var(--cfg-material-thumb-width) + var(--cfg-material-thumb-gap));
  }
  .cfg-iconbtn {
    width: 44px;
    height: 44px;
  }
  .cfg-canvas-bar .dropdown-toggle {
    min-height: 44px;
  }
  .cfg-feedback__action,
  .cfg-edge-choice,
  .cfg-price-lengths__expand {
    min-width: 44px;
    min-height: 44px;
  }
  .cfg-color-choice {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
  }
  .cfg-note__info {
    min-width: 44px;
    min-height: 44px;
  }
  .cfg-delete-control,
  .cfg-dialog__close {
    width: 44px;
    height: 44px;
  }
  .cfg-dialog__button {
    min-height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cfg-delete-control,
  .cfg-dialog__tabs button,
  .cfg-dialog__close,
  .cfg-dialog__button,
  .cfg-material-option,
  .cfg-color-choice span,
  .cfg-layout-option,
  .cfg-construction-option,
  .cfg-radio-mark::after,
  .cfg-edge-choice__sample,
  .cfg-edge-diagram__edge {
    transition: none;
  }
}

/* 3D-voorbeeld. Bij een fout blijft het eenvoudige 2D-voorbeeld zichtbaar. */
.cfg-preview__stage {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  border-radius: 4px;
  background: linear-gradient(180deg, #f7f7f5 0%, #f0f1ed 100%);
}

.cfg-preview__expand {
  position: absolute;
  top: .55rem;
  right: .55rem;
  z-index: 3;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(207, 215, 202, .92);
  border-radius: 6px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 4px 12px rgba(39, 52, 34, .14);
  color: #5c6255;
  cursor: pointer;
  touch-action: manipulation;
  transition:
    background-color .16s ease,
    border-color .16s ease,
    color .16s ease,
    box-shadow .16s ease;
}

.cfg-preview__expand:hover {
  border-color: var(--vm-green);
  background: #fff;
  box-shadow: 0 6px 16px rgba(39, 52, 34, .18);
  color: var(--vm-green);
}

.cfg-preview__expand:focus-visible {
  border-color: var(--vm-green);
  outline: 3px solid rgba(78, 99, 64, .26);
  outline-offset: 2px;
  color: var(--vm-green);
}

.cfg-preview__backdrop {
  position: fixed;
  inset: 0;
  z-index: 9998;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(28, 34, 26, .68);
  cursor: zoom-out;
}

.cfg-preview__backdrop[hidden] {
  display: none;
}

body.cfg-preview-popup-open {
  overflow: hidden;
}

.cfg-preview__stage.is-expanded {
  position: fixed;
  inset: 2vh 2vw;
  z-index: 9999;
  width: 96vw;
  height: 96vh;
  height: 96dvh;
  min-height: 0;
  max-height: none;
  border: 1px solid rgba(207, 215, 202, .9);
  border-radius: 10px;
  box-shadow: 0 24px 70px rgba(17, 22, 15, .34);
}

.cfg-preview__stage.is-expanded .cfg-deck3d,
.cfg-preview__stage.is-expanded .cfg-babylon-canvas {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 9px;
}

.cfg-preview__stage.is-expanded .cfg-preview__expand {
  top: .75rem;
  right: .75rem;
  width: 44px;
  height: 44px;
  font-size: 1rem;
}

.cfg-preview__stage .cfg-deck3d {
  position: relative;
  z-index: 0;
  transition: opacity .18s ease;
}

.cfg-babylon-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 190px;
  border: 0;
  border-radius: 4px;
  outline: none;
  opacity: 0;
  pointer-events: none;
  touch-action: none;
  transition: opacity .18s ease;
}

.cfg-preview__stage.is-babylon-ready .cfg-deck3d {
  opacity: 0;
  pointer-events: none;
}

.cfg-preview__stage.is-babylon-ready .cfg-babylon-canvas {
  opacity: 1;
  pointer-events: auto;
}

.cfg-preview__stage.is-babylon-ready .cfg-babylon-canvas:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(78, 99, 64, .3);
}

.cfg-preview-status {
  position: absolute;
  right: .55rem;
  bottom: .55rem;
  left: .55rem;
  z-index: 2;
  margin: 0;
  padding: .5rem .6rem;
  border: 1px solid #e1b8b3;
  border-radius: 4px;
  background: rgba(255, 247, 246, .94);
  color: #8b3028;
  font-size: .72rem;
  line-height: 1.4;
}

@media (prefers-reduced-motion: reduce) {
  .cfg-preview__expand {
    transition: none;
  }
}

/* Popup met producten, planklengtes, bezorging en de totaalprijs. */
.cfg-note [data-pricing-note] {
  flex: 1 1 auto;
}
.cfg-note__info {
  display: grid;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #899383;
  cursor: pointer;
  transition: color .16s ease, background-color .16s ease;
}
.cfg-note__info:hover,
.cfg-note__info:focus-visible {
  background: #e8eee4;
  color: var(--vm-green);
}
.cfg-note__info:focus-visible {
  outline: 3px solid rgba(78, 99, 64, .22);
  outline-offset: 1px;
}
.cfg-dialog--price {
  width: min(920px, calc(100vw - 2rem));
}
.cfg-dialog--price .cfg-dialog__surface {
  max-height: min(820px, calc(100dvh - 2rem));
}
.cfg-price-dialog__body {
  padding: 0;
}
.cfg-price-dialog__status {
  margin: 18px;
  padding: 1rem;
  border: 1px solid #dfe6da;
  border-radius: 6px;
  background: #f5f8f3;
  color: #566251;
  font-size: .82rem;
  line-height: 1.5;
  text-align: center;
}
.cfg-price-dialog__status[hidden],
.cfg-price-dialog__content[hidden] {
  display: none;
}
.cfg-price-dialog__content {
  min-height: 0;
}
.cfg-price-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 555px;
}
.cfg-price-info > section {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 18px 18px 20px;
}
.cfg-price-info__products {
  border-right: 1px solid var(--vm-line);
}
.cfg-price-info h3 {
  margin: 0 0 .65rem;
  color: #30382d;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.3;
}
.cfg-price-products {
  display: grid;
}
.cfg-price-product {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) minmax(82px, auto);
  gap: 10px;
  align-items: center;
  min-height: 68px;
  padding: 7px 0;
  border-bottom: 1px solid #e4e8e1;
}
.cfg-price-product:first-child {
  padding-top: 0;
}
.cfg-price-product__visual {
  position: relative;
  display: grid;
  width: 66px;
  height: 52px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(58, 66, 52, .12);
  border-radius: 4px;
  background: var(--cfg-price-swatch, #9a6842);
  color: #5d6658;
}
.cfg-price-product__visual--deckBoards::after,
.cfg-price-product__visual--edgeBoards::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .08), transparent 45%, rgba(38, 25, 16, .1)),
    repeating-linear-gradient(165deg, transparent 0 8px, rgba(49, 32, 20, .23) 9px, rgba(255, 255, 255, .09) 10px, transparent 11px 17px);
  content: "";
}
.cfg-price-product__visual--edgeBoards {
  width: 25px;
  height: 52px;
  justify-self: center;
}
.cfg-price-product__visual--fasteners {
  width: 34px;
  height: 52px;
  justify-self: center;
  border: 0;
  background: transparent;
  font-size: 1.45rem;
}
.cfg-price-product__copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}
.cfg-price-product__copy strong {
  color: #343b31;
  font-size: .74rem;
  line-height: 1.3;
}
.cfg-price-product__copy small {
  overflow: hidden;
  color: #667060;
  font-size: .66rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cfg-price-product__metrics {
  display: grid;
  align-self: stretch;
  align-content: center;
  justify-items: end;
  gap: 3px;
  color: #30382d;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.cfg-price-product__usage {
  color: #566052;
  font-size: .67rem;
}
.cfg-price-product__price {
  color: #30382d;
  font-size: .71rem;
  font-weight: 700;
}
.cfg-price-empty-copy {
  margin: 0;
  padding: .8rem;
  border: 1px dashed #d8ddd4;
  border-radius: 5px;
  color: #6c7567;
  font-size: .72rem;
}
.cfg-price-lengths {
  margin: 17px -18px 0;
  padding: 15px 18px 0;
  border-top: 1px solid var(--vm-line);
}
.cfg-price-lengths__heading {
  display: flex;
  gap: .75rem;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 .65rem;
}
.cfg-price-lengths__heading h3 {
  margin: 0;
}
.cfg-price-lengths__expand {
  display: inline-flex;
  flex: 0 0 auto;
  gap: .35rem;
  align-items: center;
  padding: .28rem .45rem;
  border: 1px solid #d7ded2;
  border-radius: 4px;
  background: #fff;
  color: #52604d;
  font-size: .62rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}
.cfg-price-lengths__scroll {
  max-height: 180px;
  overflow: auto;
}
.cfg-price-lengths .table {
  --bs-table-bg: transparent;
  --bs-table-border-color: #e4e8e1;
  width: 100%;
  margin: 0;
  color: #4f584b;
  font-size: .68rem;
  table-layout: fixed;
}
.cfg-price-lengths__col--length {
  width: 42%;
}
.cfg-price-lengths__col--quantity {
  width: 25%;
}
.cfg-price-lengths__col--area {
  width: 33%;
}
.cfg-price-lengths .table > :not(caption) > * > * {
  padding: .38rem .35rem;
}
.cfg-price-lengths thead {
  background: #f6f7f5;
}
.cfg-price-lengths thead th {
  position: sticky;
  z-index: 2;
  top: 0;
  background: #f6f7f5;
  color: #60695b;
  font-size: .63rem;
  font-weight: 600;
  white-space: nowrap;
}
.cfg-price-lengths tr > :first-child {
  text-align: left;
}
.cfg-price-lengths tr > :nth-child(2),
.cfg-price-lengths tr > :nth-child(3) {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.cfg-price-lengths tbody td:first-child strong,
.cfg-price-lengths tbody td:first-child small {
  display: block;
}
.cfg-price-lengths tbody td:first-child small {
  margin-top: 1px;
  color: #7a8375;
  font-size: .6rem;
}
.cfg-price-lengths tfoot th,
.cfg-price-lengths tfoot td {
  position: sticky;
  z-index: 2;
  bottom: 0;
  border-top: 1px solid #cfd6ca;
  background: #fff;
  box-shadow: 0 -1px 0 #cfd6ca;
  color: #30382d;
  font-weight: 700;
}
.cfg-dialog--price-lengths {
  width: min(760px, calc(100vw - 1rem));
}
.cfg-dialog--price-lengths .cfg-dialog__surface {
  display: flex;
  max-height: min(860px, calc(100dvh - 1rem));
  flex-direction: column;
  overflow: hidden;
}
.cfg-dialog--price-lengths .cfg-dialog__body {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  padding: 18px;
}
.cfg-price-lengths--expanded {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border-top: 0;
}
.cfg-price-lengths--expanded .cfg-price-lengths__scroll {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  max-height: none;
}
.cfg-price-table-empty {
  padding: .8rem !important;
  color: #717a6d;
  text-align: center !important;
}
.cfg-price-cut-note {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
  margin: 12px 0 14px;
  color: #687263;
  font-size: .65rem;
  line-height: 1.45;
}
.cfg-price-cut-note i {
  margin-top: .12rem;
  color: #899383;
}
.cfg-price-delivery-note {
  display: flex;
  gap: .55rem;
  align-items: flex-start;
  margin-top: auto;
  padding: .72rem .75rem;
  border-radius: 5px;
  background: #eef2eb;
  color: #566251;
  font-size: .64rem;
  line-height: 1.42;
}
.cfg-price-delivery-note > i {
  margin-top: .1rem;
  color: var(--vm-green);
}
.cfg-price-delivery-note__copy {
  display: grid;
  gap: 2px;
}
.cfg-price-delivery-note__copy strong {
  color: #4f5c49;
  font-size: .65rem;
}
.cfg-price-delivery-note__copy small {
  color: #70796b;
  font-size: .59rem;
}
.cfg-delivery-options {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  border: 0;
}
.cfg-delivery-option {
  position: relative;
  display: grid;
  grid-template-columns: 18px 32px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
  min-height: 76px;
  padding: 10px;
  border: 1px solid #dfe4dc;
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.cfg-delivery-option:hover {
  border-color: #b9c5b3;
  background: #fbfcfa;
}
.cfg-delivery-option.is-selected {
  border-color: #718468;
  box-shadow: 0 0 0 2px rgba(78, 99, 64, .1);
  background: #fbfdf9;
}
.cfg-delivery-option:focus-within {
  outline: 3px solid rgba(78, 99, 64, .2);
  outline-offset: 1px;
}
.cfg-delivery-option > input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.cfg-delivery-option__marker {
  position: relative;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border: 1.5px solid #a8b0a2;
  border-radius: 50%;
  background: #fff;
}
.cfg-delivery-option > input:checked + .cfg-delivery-option__marker {
  border-color: var(--vm-green);
}
.cfg-delivery-option > input:checked + .cfg-delivery-option__marker::after {
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--vm-green);
  content: "";
}
.cfg-delivery-option__icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #4e594a;
  font-size: 1rem;
}
.cfg-delivery-option__copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}
.cfg-delivery-option__copy strong {
  color: #30382d;
  font-size: .7rem;
  line-height: 1.35;
}
.cfg-delivery-option__copy small {
  color: #717a6c;
  font-size: .6rem;
  line-height: 1.4;
}
.cfg-delivery-option__price {
  padding-top: 1px;
  color: #30382d;
  font-size: .69rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.cfg-delivery-option__price[data-free=true] {
  color: var(--vm-green);
}
.cfg-delivery-option:has(input:disabled) {
  cursor: not-allowed;
  opacity: .58;
}
.cfg-price-totals {
  display: grid;
  gap: 0;
  margin: 17px 0 0;
  padding: 11px 0 0;
  border-top: 1px solid var(--vm-line);
}
.cfg-price-totals > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .34rem 0;
  color: #5b6557;
  font-size: .68rem;
}
.cfg-price-totals dt {
  font-weight: 500;
}
.cfg-price-totals dd {
  margin: 0;
  color: #30382d;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.cfg-price-totals .cfg-price-totals__total {
  margin-top: .28rem;
  padding-top: .72rem;
  border-top: 1px solid #d8ded4;
  color: #293027;
  font-size: .86rem;
  font-weight: 700;
}
.cfg-price-totals__total dt {
  font-weight: 700;
}
.cfg-price-totals__total dd {
  color: var(--vm-green);
  font-size: .96rem;
}
.cfg-price-checkout {
  display: grid;
  justify-items: end;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
}
.cfg-price-dialog__disclaimer {
  max-width: 100%;
  margin: 0;
  color: #727b6e;
  font-size: .6rem;
  line-height: 1.35;
  text-align: right;
}
.cfg-price-checkout .cfg-dialog__button {
  min-width: 238px;
  min-height: 44px;
  justify-content: center;
  white-space: nowrap;
}
@media (max-width: 767.98px) {
  .cfg-dialog--price {
    width: calc(100vw - 1rem);
    max-height: calc(100dvh - 1rem);
  }
  .cfg-price-info {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .cfg-price-info > section {
    min-height: 0;
    padding: 16px;
  }
  .cfg-price-info__products {
    border-right: 0;
    border-bottom: 1px solid var(--vm-line);
  }
  .cfg-price-lengths {
    margin-inline: -16px;
    padding-inline: 16px;
  }
  .cfg-price-delivery-note,
  .cfg-price-checkout {
    margin-top: 16px;
  }
  .cfg-price-checkout {
    justify-items: stretch;
  }
  .cfg-price-dialog__disclaimer {
    text-align: left;
  }
  .cfg-price-checkout .cfg-dialog__button {
    width: 100%;
  }
}
@media (max-width: 479.98px) {
  .cfg-price-lengths__heading {
    align-items: flex-start;
  }
  .cfg-price-lengths__expand {
    width: 32px;
    height: 30px;
    justify-content: center;
    padding: 0;
  }
  .cfg-price-lengths__expand span {
    display: none;
  }
  .cfg-price-product {
    grid-template-columns: 50px minmax(0, 1fr) auto;
    gap: 8px;
  }
  .cfg-price-product__visual {
    width: 50px;
    height: 44px;
  }
  .cfg-price-product__visual--edgeBoards {
    width: 22px;
  }
  .cfg-price-product__visual--fasteners {
    width: 30px;
  }
  .cfg-price-product__copy small {
    max-width: 125px;
  }
  .cfg-price-product__metrics {
    white-space: normal;
  }
  .cfg-delivery-option {
    grid-template-columns: 18px 28px minmax(0, 1fr);
  }
  .cfg-delivery-option__price {
    grid-column: 3;
    padding-top: 0;
  }
  .cfg-price-lengths .table {
    min-width: 390px;
  }
}
/* Einde van de prijs-popup. */
.site-header .header-actions a.is-loading {
  pointer-events: none;
  opacity: 0.72;
}

.site-header .header-actions a.is-loading i {
  animation: cfg-header-order-pulse 700ms ease-in-out infinite alternate;
}

@keyframes cfg-header-order-pulse {
  to {
    opacity: 0.35;
    transform: translateY(-1px);
  }
}
