/* ============================================================
   Tuinhoutcentrum — Design system
   ============================================================ */

:root {
  /* Palette — huisstijl Tuinhoutcentrum. Kleurwaarden overgenomen uit de
     stylesheet van tuinhoutcentrum.be, niet geschat:
       #95C11E  fel groen (ook de kleur die in de iframe-embed meegegeven wordt)
       #3A5F2B  donkergroen, de meest gebruikte kleur op hun site
       #F59A00  oranje, bij hen gebruikt voor iconen en accenten
     De neutralen zijn koel gehouden in plaats van de warme bruintinten van
     De Cock, zodat het groen niet vuil oogt. */
  --color-bg:        #ffffff;
  --color-surface:   #ffffff;
  --color-surface-2: #f4f6f0;   /* zeer licht groen-grijs */
  --color-ink:       #202020;   /* hun tekstkleur */
  --color-ink-soft:  #4a4f45;
  --color-ink-mute:  #7c8177;
  --color-line:      #dfe3d8;
  --color-line-soft: #eef1e9;
  --color-brand:     #3A5F2B;   /* donkergroen — nav, footer, koppen */
  --color-brand-2:   #2f4d22;   /* donkerder voor hover/active */
  --color-brand-3:   #26401b;   /* diepste tint */
  --color-accent:    #95C11E;   /* fel groen — knoppen, prijzen, accenten */
  --color-accent-2:  #7fa519;   /* accent hover */
  --color-accent-soft:#eaf4cf;  /* zachte tint voor achtergronden */
  --color-feature-bg:#f1f1f1;   /* lichtgrijs, zoals op hun site */
  --color-success:   #2E9935;   /* hun tweede groen */
  --color-danger:    #a8432d;
  --color-highlight: #F59A00;   /* oranje — iconen en kleine accenten */

  /* Typography — Source Sans 3 voor heldere leesbaarheid; Cormorant voor accent-headings */
  --font-serif: "Cormorant Garamond", "Crimson Text", Georgia, "Times New Roman", serif;
  --font-sans:  "Source Sans 3", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Radii */
  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 16px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(42,40,34,0.06);
  --shadow-sm: 0 2px 8px rgba(42,40,34,0.08);
  --shadow-md: 0 6px 20px rgba(42,40,34,0.10);
  --shadow-lg: 0 18px 40px rgba(42,40,34,0.14);

  /* Sizing */
  --container: 1240px;
  --gap: 24px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--color-ink);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent-2); text-decoration: none; }
a:hover { color: var(--color-accent); }

h1, h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
  color: var(--color-brand-3);
}
h3, h4, h5 {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.005em;
  margin: 0 0 0.6em;
  color: var(--color-brand-3);
}
h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.1; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); line-height: 1.2; }
h3 { font-size: 1.35rem; line-height: 1.25; }
h4 { font-size: 1.05rem; }

p  { margin: 0 0 1em; color: var(--color-ink-soft); }

small, .small { font-size: 0.875rem; }
.muted { color: var(--color-ink-mute); }

/* ============================================================
   Layout
   ============================================================ */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 48px 0;
}

/* ============================================================
   Features strip (boven de header)
   ============================================================ */
.features-strip {
  background: var(--color-feature-bg);
  border-bottom: 1px solid var(--color-line);
  padding: 10px 0;
}
.features-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: center;
}
.feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--color-ink-soft);
  justify-content: center;
}
.feature svg { flex-shrink: 0; color: var(--color-accent-2); }
.feature b { font-weight: 600; color: var(--color-ink); }
@media (max-width: 900px) {
  .features-strip { display: none; }
}

/* ============================================================
   Header / Nav
   ============================================================ */

.site-header {
  background: #fff;
  color: var(--color-ink);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-xs);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  display: flex;
  align-items: center;
  color: var(--color-ink);
  text-decoration: none;
}
.brand img {
  height: 46px;   /* logo is breed (430x142), lagere hoogte houdt de kop in balans */
  width: auto;
  display: block;
}
@media (max-width: 600px) {
  .brand img { height: 36px; }
}

/* Brown nav bar under the white header */
.nav-bar {
  background: var(--color-brand);
  color: #fff;
}
.nav-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 0;
}
.nav { display: flex; gap: 48px; }
.nav-toggle { display: none; }
.nav-burger { display: none; }
.nav a {
  color: #fff;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 14px 2px;
  border-bottom: 2px solid transparent;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
}
.nav a:hover, .nav a.active {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.nav-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--color-ink-soft);
}
.nav-contact a { color: var(--color-accent-2); font-weight: 600; }
.nav-contact a:hover { color: var(--color-accent); }
.nav-contact b { color: var(--color-ink); font-weight: 600; display: block; font-size: 0.82rem; }

@media (max-width: 900px) {
  .site-header .container { flex-wrap: wrap; gap: 12px; }
  /* Hoofdmenu klapt in tot een hamburger (CSS-only via #nav-toggle) */
  .nav-bar .container { flex-wrap: wrap; justify-content: flex-start; padding: 0 16px; gap: 0; }
  .nav-burger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 46px; height: 46px; cursor: pointer;
  }
  .nav-burger span {
    display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .nav { display: none; flex-direction: column; width: 100%; gap: 0; padding-bottom: 8px; }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav a {
    width: 100%; padding: 12px 2px; font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .nav a:hover, .nav a.active { border-bottom-color: var(--color-accent); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-contact { font-size: 0.85rem; }
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  padding: 56px 0 40px;
  background:
    radial-gradient(ellipse at 20% 0%, var(--color-accent-soft) 0%, transparent 55%),
    radial-gradient(ellipse at 95% 100%, var(--color-accent-soft) 0%, transparent 60%),
    linear-gradient(180deg, var(--color-surface-2) 0%, #ffffff 100%);
  border-bottom: 1px solid var(--color-line);
}

/* Breadcrumb */
.breadcrumb {
  padding: 16px 0 0;
  font-size: 0.85rem;
  color: var(--color-ink-mute);
}
.breadcrumb a { color: var(--color-ink-soft); }
.breadcrumb a:hover { color: var(--color-accent-2); }
.breadcrumb .sep { margin: 0 8px; color: var(--color-ink-mute); }
.hero .eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent-2);
  margin-bottom: 16px;
  font-weight: 500;
}
.hero h1 { margin-bottom: 16px; }
.hero p { max-width: 640px; font-size: 1.1rem; }

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: var(--color-accent);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
}
.btn:hover  { background: var(--color-accent-2); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

.btn--ghost {
  background: transparent;
  color: var(--color-brand-2);
  border-color: var(--color-line);
}
.btn--ghost:hover {
  background: var(--color-surface);
  border-color: var(--color-accent);
  color: var(--color-brand-2);
}

.btn--dark {
  background: var(--color-brand-2);
  color: #fff;
}
.btn--dark:hover { background: var(--color-brand); }

.btn--lg  { padding: 16px 28px; font-size: 1.05rem; }
.btn--sm  { padding: 8px 14px;  font-size: 0.85rem; }
.btn--block { width: 100%; }

/* ============================================================
   Shop page
   ============================================================ */

.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
  padding: 32px 0 64px;
}

@media (max-width: 900px) {
  .shop-layout { grid-template-columns: 1fr; gap: 24px; }
}

.shop-filters {
  position: sticky;
  top: 90px;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 8px 0;
}

.filter-block {
  padding: 20px 22px;
  border-bottom: 1px solid var(--color-line-soft);
}
.filter-block:last-child { border-bottom: none; }

.search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.search-icon {
  position: absolute;
  left: 12px;
  color: var(--color-ink-mute);
  pointer-events: none;
}
.search-input {
  width: 100%;
  padding: 10px 12px 10px 36px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-surface);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--color-ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.search-input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(214,158,46,0.15);
}
.search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  height: 14px; width: 14px;
  background: var(--color-ink-mute);
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18 6L6 18M6 6l12 12'/%3E%3C/svg%3E") no-repeat center / 12px;
  cursor: pointer;
}

.filter-block h4 {
  margin: 0 0 14px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
}

.filter-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.filter-list li { display: flex; align-items: center; gap: 10px; }
.filter-list label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--color-ink);
  flex: 1;
}
.filter-list input[type="checkbox"] { accent-color: var(--color-accent); width: 16px; height: 16px; }
.filter-list .count { color: var(--color-ink-mute); font-size: 0.85rem; }

.filter-reset {
  padding: 16px 22px;
  border-top: 1px solid var(--color-line-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}
.filter-reset button {
  background: none;
  border: none;
  color: var(--color-accent-2);
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}
.filter-reset button:hover { color: var(--color-accent); text-decoration: underline; }

/* Product grid */
.shop-results-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.shop-results-header h2 { margin: 0; }
.results-count { color: var(--color-ink-mute); font-size: 0.95rem; }

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent-soft);
}

.product-card__media {
  aspect-ratio: 4 / 3;
  background: var(--color-surface-2);
  position: relative;
  overflow: hidden;
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card__media img { transform: scale(1.04); }

.product-card__placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--color-line), var(--color-ink-mute));
  color: rgba(255,255,255,0.85);
  font-family: var(--font-serif);
  font-size: 2rem;
}

.product-card__body {
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card__badges { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.badge {
  display: inline-block;
  background: var(--color-surface-2);
  color: var(--color-ink-soft);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}
.product-card h3 {
  margin: 0 0 8px;
  font-size: 1.3rem;
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--color-brand-3);
  letter-spacing: -0.01em;
}
.product-card__tagline {
  color: var(--color-ink-soft);
  font-size: 0.93rem;
  line-height: 1.5;
  margin: 0 0 18px;
  flex: 1;
}
.product-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--color-line-soft);
}
.product-card__price {
  font-size: 0.78rem;
  color: var(--color-ink-mute);
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.product-card__price b {
  display: block;
  color: var(--color-brand-3);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  margin-top: 2px;
}
.product-card__price span {
  display: block;
  font-size: 0.78rem;
  color: var(--color-ink-mute);
  text-transform: none;
  letter-spacing: 0;
  margin-top: 2px;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--color-ink-mute);
  grid-column: 1 / -1;
}
.empty-state h3 { color: var(--color-ink-soft); }

/* ============================================================
   Configurator page
   ============================================================ */

.config-back {
  padding: 20px 0;
  font-size: 0.9rem;
}
.config-back a { color: var(--color-ink-soft); }
.config-back a:hover { color: var(--color-accent); }

.config-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 48px;
  padding-bottom: 80px;
}
@media (max-width: 1050px) {
  .config-layout { grid-template-columns: 1fr; gap: 32px; }
}

.config-gallery {
  margin-bottom: 32px;
}

.gallery-main {
  aspect-ratio: 4 / 3;
  min-height: 280px;
  background: var(--color-surface-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 14px;
  position: relative;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--color-line), var(--color-ink-mute));
  color: rgba(255,255,255,0.9);
  font-family: var(--font-serif);
  font-size: 2.4rem;
  flex-direction: column;
  gap: 4px;
}
.gallery-placeholder small {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  opacity: 0.7;
  text-transform: uppercase;
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.gallery-thumb {
  aspect-ratio: 1 / 1;
  background: var(--color-surface-2);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.15s ease;
}
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--color-accent); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Config title area */
.config-header {
  margin-bottom: 28px;
}
.config-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}
.config-title-row h1 { margin: 0; flex: 1 1 auto; min-width: 0; }

.jump-price {
  background: var(--color-accent-soft);
  color: var(--color-brand-3);
  border: 1px solid var(--color-accent);
  padding: 10px 16px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-top: 8px;
}
.jump-price:hover {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent-2);
  transform: translateY(-1px);
}
.jump-price__label { font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }

/* Flash-highlight op summary-paneel na klik op jump-price */
.summary-flash {
  animation: summary-flash 0.9s ease-out;
}
@keyframes summary-flash {
  0%   { box-shadow: 0 0 0 0 rgba(214,158,46,0.55); }
  30%  { box-shadow: 0 0 0 8px rgba(214,158,46,0.35); }
  100% { box-shadow: 0 0 0 0 rgba(214,158,46,0); }
}
.config-header .eyebrow {
  display: inline-block;
  background: var(--color-accent-soft);
  color: var(--color-accent-2);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 600;
}
.config-header h1 { margin-bottom: 10px; }
.config-header .lead { font-size: 1.05rem; color: var(--color-ink-soft); margin-bottom: 0; }

/* Spec list (standaard kenmerken) */
.spec-list {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  margin-bottom: 28px;
}
.spec-list h4 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
  margin: 0 0 14px;
}
.spec-list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.spec-list li {
  padding-left: 22px;
  position: relative;
  font-size: 0.95rem;
  color: var(--color-ink);
}
.spec-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.5em;
  width: 12px;
  height: 6px;
  border-left: 2px solid var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
  transform: rotate(-45deg);
}

/* Config sections */
.config-section {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  overflow: hidden;
}
.config-section__header {
  padding: 18px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-line-soft);
  cursor: pointer;
  user-select: none;
}
.config-section__header h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-brand-2);
  letter-spacing: 0.01em;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
}
.config-section__title {
  /* keeps the title flowing inline with the step circle */
}
.config-section__subtitle {
  display: block;
  flex-basis: 100%;
  margin-left: 36px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--color-ink-soft);
  letter-spacing: 0;
}
.config-section__header .chevron {
  width: 16px; height: 16px;
  border-right: 2px solid var(--color-ink-soft);
  border-bottom: 2px solid var(--color-ink-soft);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.config-section.is-collapsed .chevron { transform: rotate(-45deg); }
.config-section.is-collapsed .config-section__body { display: none; }
.config-section__body {
  padding: 20px 26px 24px;
  display: grid;
  gap: 18px;
}

/* Section number */
.config-section__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--color-accent-soft);
  color: var(--color-accent-2);
  font-size: 0.85rem;
  font-weight: 700;
  margin-right: 10px;
}

/* ============================================================
   Form controls
   ============================================================ */

.field { display: flex; flex-direction: column; gap: 8px; }
.field-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-ink);
}
.field-hint {
  font-size: 0.82rem;
  color: var(--color-ink-mute);
  margin-top: 2px;
}
.field-note {
  font-size: 0.82rem;
  color: var(--color-accent-2);
  margin-top: 2px;
}

.select, .input {
  display: block;
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-surface);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--color-ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.select:focus, .input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(200,156,50,0.15);
}
.select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'><path d='M1 1l5 5 5-5' stroke='%235c5749' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.field-inline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Afmetingen-sectie met selects + mini SVG-schema */
.dim-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}
@media (max-width: 720px) {
  .dim-grid { grid-template-columns: 1fr; }
}
.dim-fields { display: flex; flex-direction: column; gap: 12px; }
.dim-hint {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: baseline;
  padding: 10px 14px;
  background: var(--color-feature-bg);
  border-radius: var(--radius);
  color: var(--color-ink);
  font-size: 0.88rem;
}
.dim-hint .dim-stat b { color: var(--color-brand-3); font-weight: 700; }
.dim-hint .dim-note {
  font-size: 0.8rem;
  color: var(--color-ink-mute);
  font-style: italic;
  width: 100%;
  padding-top: 6px;
  border-top: 1px dashed var(--color-line);
}
.dim-schema {
  background: var(--color-surface-2);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 12px;
  aspect-ratio: auto;
}
.dim-schema svg { width: 100%; height: auto; display: block; }

/* Luifel-afmeting-selectors (dynamisch ingevoegd onder de luifel-toggle) */
.luifel-dims {
  margin: 14px 0 4px;
  padding: 16px;
  background: var(--color-feature-bg);
  border: 1px solid var(--color-line);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.luifel-dims__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-ink);
  letter-spacing: 0.02em;
}
.luifel-sync { align-self: flex-start; font-size: 0.78rem; }
.luifel-sync:disabled { cursor: default; }

/* Klikbare suggestie-chip onder perLm/perM² velden */
.suggest-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: inherit;
  font-size: 0.75rem;
  color: var(--color-accent-2);
  background: var(--color-accent-soft);
  border: 1px solid transparent;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.02em;
  width: fit-content;
  margin-top: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.suggest-chip:hover {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent-2);
}
.suggest-chip:active { transform: translateY(1px); }

/* Option row (toggle / count / perLm / perM2) */
.opt {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  background: var(--color-bg);
  border: 1px solid var(--color-line-soft);
  border-radius: var(--radius);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.opt.is-active {
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
}
.opt[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
}

.opt__label {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.opt__label strong {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-ink);
}
.opt__label .sub {
  font-size: 0.8rem;
  color: var(--color-ink-mute);
}
.opt__label .price-tag {
  font-size: 0.82rem;
  color: var(--color-accent-2);
  font-weight: 600;
}

.opt__control { display: flex; align-items: center; gap: 8px; }

/* Toggle switch */
.toggle {
  position: relative;
  display: inline-block;
  width: 44px; height: 24px;
  flex: 0 0 auto;
}
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle .slider {
  position: absolute; inset: 0;
  background: var(--color-line);
  border-radius: 999px;
  transition: background 0.2s ease;
  cursor: pointer;
}
.toggle .slider::before {
  content: "";
  position: absolute;
  height: 18px; width: 18px;
  left: 3px; top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s ease;
  box-shadow: var(--shadow-xs);
}
.toggle input:checked + .slider { background: var(--color-accent); }
.toggle input:checked + .slider::before { transform: translateX(20px); }

/* Count stepper */
.stepper {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-surface);
}
.stepper button {
  width: 34px; height: 36px;
  border: none;
  background: var(--color-surface);
  color: var(--color-ink-soft);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.15s ease;
  font-family: inherit;
}
.stepper button:hover:not(:disabled) { background: var(--color-surface-2); color: var(--color-brand-2); }
.stepper button:disabled { opacity: 0.3; cursor: not-allowed; }
.stepper input {
  width: 42px;
  height: 36px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--color-line);
  border-right: 1px solid var(--color-line);
  background: transparent;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-ink);
  -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Number + unit (perLm / perM2) */
.num-input {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 4px 10px 4px 12px;
}
.num-input input {
  width: 60px;
  border: none;
  outline: none;
  padding: 6px 0;
  font-family: inherit;
  font-size: 0.95rem;
  background: transparent;
  color: var(--color-ink);
  -moz-appearance: textfield;
}
.num-input input::-webkit-outer-spin-button,
.num-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.num-input .unit { font-size: 0.85rem; color: var(--color-ink-mute); }

/* Choice (radio) */
.choice-group { display: flex; gap: 8px; flex-wrap: wrap; }
.choice-group label {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-surface);
  font-size: 0.9rem;
  transition: all 0.15s ease;
}
.choice-group input { accent-color: var(--color-accent); }
.choice-group input:checked + span { color: var(--color-brand-2); font-weight: 500; }
.choice-group label:has(input:checked) {
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
}

/* Plaatsing radio cards */
.plaatsing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.plaatsing-card {
  padding: 16px;
  border: 2px solid var(--color-line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.15s ease;
  background: var(--color-surface);
}
.plaatsing-card:hover { border-color: var(--color-accent-soft); }
.plaatsing-card:has(input:checked) {
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
}
.plaatsing-card input { position: absolute; opacity: 0; pointer-events: none; }
.plaatsing-card strong { display: block; margin-bottom: 4px; }
.plaatsing-card p { font-size: 0.85rem; margin: 0; color: var(--color-ink-mute); }

/* ============================================================
   Summary panel
   ============================================================ */

.config-summary {
  position: sticky;
  top: 90px;
  align-self: start;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
@media (max-width: 1050px) {
  .config-summary {
    position: static;
    max-height: none;
    overflow-y: visible;
  }
}

.summary-hero {
  background: var(--color-brand-2);
  color: #fff;
  padding: 24px 26px;
}
.summary-hero .label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 6px;
}
.summary-hero .total {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  line-height: 1;
  color: #fff;
}
.summary-hero .btw { font-size: 0.82rem; opacity: 0.7; margin-left: 8px; }

.summary-body { padding: 20px 26px 22px; }
.summary-block {
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px dashed var(--color-line);
}
.summary-block:last-of-type { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.summary-block h5 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-ink-mute);
  margin: 0 0 10px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--color-ink-soft);
  margin-bottom: 5px;
}
.summary-row > span {
  min-width: 0;
  flex: 1 1 auto;
  word-break: break-word;
}
.summary-row b {
  font-weight: 500;
  color: var(--color-ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  flex-shrink: 0;
  text-align: right;
}
.summary-row .neg b { color: var(--color-success); }

.summary-footer {
  padding: 20px 26px;
  background: var(--color-surface-2);
  border-top: 1px solid var(--color-line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.summary-note {
  font-size: 0.78rem;
  color: var(--color-ink-mute);
  line-height: 1.45;
}

/* Mobile: sticky bottom summary */
.mobile-summary {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--color-surface);
  box-shadow: 0 -4px 20px rgba(42,40,34,0.12);
  padding: 14px 20px;
  z-index: 40;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.mobile-summary .total {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--color-brand-2);
}
.mobile-summary .label { font-size: 0.72rem; color: var(--color-ink-mute); letter-spacing: 0.1em; text-transform: uppercase; }

@media (max-width: 1050px) {
  .mobile-summary { display: flex; }
  body.has-mobile-summary { padding-bottom: 90px; }
}

/* ============================================================
   Offerte modal
   ============================================================ */

.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(42,40,34,0.55);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-backdrop.is-open { display: flex; }

.modal {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  box-shadow: var(--shadow-lg);
}
.modal-header {
  padding: 22px 26px;
  border-bottom: 1px solid var(--color-line-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-header h3 { margin: 0; }
.modal-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--color-ink-mute);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}
.modal-body { padding: 24px 26px; display: grid; gap: 14px; }
.modal-body .field { gap: 6px; }
.modal-footer {
  padding: 18px 26px 24px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* ============================================================
   Foto lightbox
   ============================================================ */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 14, 8, 0.94);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  user-select: none;
}
.lightbox.is-open { display: flex; }

.lightbox-stage {
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  overflow: hidden;
}
.lightbox-stage.zoomed { cursor: zoom-out; }
.lightbox-stage img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  transition: transform 0.25s ease;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-stage.zoomed img {
  transform: scale(2);
  cursor: zoom-out;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease;
  backdrop-filter: blur(8px);
}
.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.4);
}
.lightbox-close {
  top: 20px; right: 24px;
  transform: none;
  width: 44px; height: 44px;
  font-size: 1.8rem;
  line-height: 1;
  padding: 0;
}
.lightbox-nav {
  width: 52px; height: 52px;
  font-size: 2.2rem;
  line-height: 1;
  padding: 0 0 6px;
}
.lightbox-nav.prev { left: 24px; }
.lightbox-nav.next { right: 24px; }

.lightbox-counter {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  background: rgba(0,0,0,0.35);
  padding: 6px 14px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.lightbox-hint {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 0.78rem;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .lightbox { padding: 12px; }
  .lightbox-nav { width: 40px; height: 40px; font-size: 1.6rem; }
  .lightbox-nav.prev { left: 10px; }
  .lightbox-nav.next { right: 10px; }
  .lightbox-close { top: 10px; right: 10px; width: 36px; height: 36px; font-size: 1.4rem; }
  .lightbox-hint { display: none; }
}

/* Cursor op main gallery image */
.gallery-main {
  cursor: zoom-in;
}
.gallery-main:has(.gallery-placeholder) { cursor: default; }

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  background: var(--color-brand-2);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 32px;
  margin-top: 60px;
}
.site-footer .container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
}
.footer-links {
  list-style: none; margin: 0; padding: 0;
  font-size: 0.92rem; line-height: 1.55;
}
.footer-links li { margin-bottom: 4px; }
.footer-links li.subhead {
  margin: 14px 0 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.footer-links li.subhead:first-child { margin-top: 0; }
.site-footer h5 {
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: var(--color-accent); }
.site-footer p { color: rgba(255,255,255,0.7); font-size: 0.92rem; }

.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  opacity: 0.6;
  text-align: center;
}

@media (max-width: 1000px) {
  .site-footer .container { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .site-footer .container { grid-template-columns: 1fr; gap: 28px; }
}

/* ============================================================
   Embed-modus (iframe met ?config=1) — marketing-chrome verbergen
   zodat het iframe enkel de configurator toont. Logo/header blijft.
   ============================================================ */
html.embed .features-strip,
html.embed .nav-bar,
html.embed .site-footer { display: none; }
/* Index + bedankt: volledige header weg (logo én telefoonnummer). */
html.embed body:not(.wizard-body) .site-header { display: none; }
/* Wizard: header blijft staan voor de "← Andere modellen"-link, maar zonder logo. */
html.embed .wizard-body .site-header .brand { visibility: hidden; }

