/* ═══════════════════════════════════════════════
   GrachtenAtelier – Offerte Wizard Styles
   Thema: GrachtenAtelier roze + zwart + grijs + wit
   Font: Playfair Display + Source Sans 3
═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Source+Sans+3:wght@300;400;600&display=swap');

/* ── Reset & wrapper ── */
.ga-wizard {
  --gold:       #b34065;
  --gold-light: #d96b8c;
  --gold-pale:  #f9edf1;
  --dark:       #111111;
  --dark-2:     #2a2a2f;
  --text:       #2d2d33;
  --muted:      #6d6d76;
  --border:     #d7d7de;
  --radius:     10px;

  font-family: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  color: var(--text);
  max-width: 780px;
  margin: 40px auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 48px rgba(0,0,0,.10);
  overflow: hidden;
}

/* ── Voortgangsbalk ── */
.ga-progress {
  background: var(--dark);
  padding: 24px 40px;
}
.ga-progress-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.ga-step-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
}
.ga-step-dot .dot-icon {
  width: 42px; height: 42px;
  background: var(--dark-2);
  border: 2px solid #50505a;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: all .3s ease;
  cursor: default;
}
.ga-step-dot.active .dot-icon,
.ga-step-dot.done .dot-icon {
  background: var(--gold);
  border-color: var(--gold-light);
  box-shadow: 0 0 16px rgba(179,64,101,.35);
}
.ga-step-dot .dot-label {
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #8b8b95;
  transition: color .3s;
}
.ga-step-dot.active .dot-label,
.ga-step-dot.done .dot-label {
  color: var(--gold-light);
}
.ga-progress-line {
  flex: 1;
  height: 2px;
  background: #4a4a52;
  margin: 0 4px;
  margin-bottom: 20px;
  transition: background .3s;
}
.ga-progress-line.active { background: var(--gold); }

/* ── Panels ── */
.ga-panel {
  display: none;
  padding: 36px 40px 20px;
  animation: ga-fade .3s ease;
}
.ga-panel.active { display: block; }

@keyframes ga-fade {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ga-panel-header { margin-bottom: 28px; }
.ga-panel-header h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px;
  color: var(--dark);
  margin-bottom: 6px;
}
.ga-panel-header p {
  color: var(--muted);
  font-size: 14px;
}

/* ── Categorie-tabs ── */
.ga-cat-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.ga-tab {
  padding: 8px 18px;
  border-radius: 20px;
  border: 2px solid var(--border);
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  color: var(--muted);
  transition: all .2s;
}
.ga-tab:hover { border-color: var(--gold); color: var(--gold); }
.ga-tab.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  font-weight: 600;
}

/* ── Workshop grid ── */
.ga-workshop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  max-height: 360px;
  overflow-y: auto;
  padding: 4px 2px;
}
.ga-workshop-grid::-webkit-scrollbar { width: 6px; }
.ga-workshop-grid::-webkit-scrollbar-track { background: #efeff2; border-radius: 3px; }
.ga-workshop-grid::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

.ga-workshop-card {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  cursor: pointer;
  transition: all .2s;
  background: #fff;
}
.ga-workshop-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(179,64,101,.14);
  transform: translateY(-2px);
}
.ga-workshop-card.selected {
  border-color: var(--gold);
  background: var(--gold-pale);
  box-shadow: 0 4px 20px rgba(179,64,101,.18);
}
.ga-card-naam {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
  line-height: 1.3;
}
.ga-card-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.ga-card-badge {
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 10px;
  background: #f2f2f5;
  color: var(--muted);
}
.ga-card-badge.prijs {
  background: var(--gold);
  color: #fff;
  font-weight: 600;
}
.ga-card-inclusief {
  font-size: 10px;
  color: var(--gold);
  margin-top: 5px;
}

/* ── Geselecteerd badge ── */
.ga-selected-info {
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--dark);
  border-radius: 8px;
  color: #fff;
}
.ga-selected-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}
.ga-badge-pp {
  color: var(--gold-light);
  font-weight: 600;
}

/* ── Formulier grid ── */
.ga-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 560px) {
  .ga-form-grid { grid-template-columns: 1fr; }
  .ga-workshop-grid { grid-template-columns: 1fr 1fr; }
}

.ga-field { display: flex; flex-direction: column; gap: 6px; }
.ga-field--full { grid-column: 1 / -1; }

.ga-field label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--muted);
}
.ga-field label .req { color: var(--gold); }

.ga-field input,
.ga-field select,
.ga-field textarea {
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--dark);
  background: #fff;
  transition: border-color .2s;
  outline: none;
}
.ga-field input:focus,
.ga-field select:focus,
.ga-field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(179,64,101,.12);
}
.ga-field textarea { resize: vertical; min-height: 80px; }
.ga-hint { font-size: 11px; color: var(--muted); min-height: 16px; }
.ga-hint.warn { color:#8f2c49; }

/* ── Teller ── */
.ga-counter {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 240px;
  width: 100%;
}
.ga-counter-btn {
  width: 56px; height: 56px;
  background: var(--gold-pale);
  border: 2px solid var(--border);
  font-size: 18px;
  cursor: pointer;
  transition: background .2s;
  color: var(--dark);
}
.ga-counter-btn:first-child { border-radius: 8px 0 0 8px; border-right: none; }
.ga-counter-btn:last-child  { border-radius: 0 8px 8px 0; border-left: none; }
.ga-counter-btn:hover { background: var(--gold); color: #fff; }
.ga-counter input {
  width: 120px;
  min-width: 120px;
  height: 56px;
  text-align: center;
  border-radius: 0;
  border-left: none;
  border-right: none;
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
}

/* ── Prijspreview ── */
.ga-prijs-preview {
  margin-top: 24px;
  background: var(--dark);
  border-radius: 10px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.prijs-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,.4);
}
.prijs-waarde {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--gold-light);
  font-weight: 700;
}
.prijs-sub {
  font-size: 11px;
  color: rgba(255,255,255,.35);
  margin-left: auto;
}

/* ── Extras grid ── */
.ga-extras-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.ga-extra-card {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  cursor: pointer;
  transition: all .2s;
  user-select: none;
}
.ga-extra-card:hover { border-color: var(--gold); }
.ga-extra-card.selected {
  border-color: var(--gold);
  background: var(--gold-pale);
}
.ga-extra-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.ga-extra-naam { font-weight: 600; font-size: 13px; color: var(--dark); }
.ga-extra-prijs {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
}
.ga-extra-oms {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.4;
}
.ga-extra-check {
  display: inline-block;
  width: 18px; height: 18px;
  border: 2px solid var(--border);
  border-radius: 4px;
  margin-top: 8px;
  position: relative;
  transition: all .2s;
}
.ga-extra-card.selected .ga-extra-check {
  background: var(--gold);
  border-color: var(--gold);
}
.ga-extra-card.selected .ga-extra-check::after {
  content: '✓';
  position: absolute;
  top: -2px; left: 2px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

/* ── Samenvatting ── */
.ga-samenvatting {
  margin-top: 20px;
  background: var(--gold-pale);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 13px;
}
.ga-samenvatting h3 {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  color: var(--dark);
  margin-bottom: 10px;
}
.ga-samenvatting table { border-collapse: collapse; width: 100%; }
.ga-samenvatting td { padding: 4px 0; color: var(--text); }
.ga-samenvatting td:first-child { color: var(--muted); width: 40%; }
.ga-samenvatting .totaal-row td {
  font-weight: 700;
  font-size: 15px;
  color: var(--gold);
  border-top: 1px solid var(--border);
  padding-top: 8px;
  margin-top: 4px;
}

/* ── Navigatie ── */
.ga-nav {
  padding: 20px 40px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f0ede8;
  gap: 12px;
}
.ga-btn {
  padding: 12px 28px;
  border-radius: 8px;
  border: 2px solid transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ga-btn--ghost {
  border-color: var(--border);
  background: #fff;
  color: var(--muted);
}
.ga-btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.ga-btn--primary {
  background: var(--gold);
  color: #fff;
  margin-left: auto;
}
.ga-btn--primary:hover {
  background: var(--gold-light);
  box-shadow: 0 4px 20px rgba(179,64,101,.28);
}
.ga-btn--submit {
  background: var(--dark);
  color: var(--gold-light);
  border-color: var(--gold);
  margin-left: auto;
}
.ga-btn--submit:hover {
  background: var(--gold);
  color: #fff;
}
.ga-btn:disabled { opacity: .5; cursor: not-allowed; }

/* ── Resultaat ── */
.ga-result {
  text-align: center;
  padding: 20px 0 40px;
}
.ga-result .result-icon {
  font-size: 56px;
  margin-bottom: 16px;
}
.ga-result h2 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  color: var(--dark);
  margin-bottom: 10px;
}
.ga-result p {
  color: var(--muted);
  font-size: 14px;
  max-width: 440px;
  margin: 0 auto 24px;
  line-height: 1.7;
}
.ga-result .ga-btn--primary {
  font-size: 15px;
  padding: 14px 36px;
  text-decoration: none;
}
.ga-error {
  background: #f9edf1;
  border: 2px solid #b34065;
  border-radius: 8px;
  padding: 16px 20px;
  color:#8f2c49;
  font-size: 13px;
}

/* ── Auto-select banner (via URL parameter) ── */
.ga-auto-select-banner {
  background: linear-gradient(135deg, #111111, #2a2a2f);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 13px;
  color: rgba(255,255,255,.8);
  animation: ga-fade .4s ease;
}
.ga-auto-select-banner strong { color: var(--gold-light); }
@media (max-width: 600px) {
  .ga-wizard { margin: 20px 12px; border-radius: 10px; }
  .ga-panel  { padding: 24px 20px 12px; }
  .ga-nav    { padding: 16px 20px 24px; }
  .ga-progress { padding: 16px 20px; }
  .ga-progress-line { display: none; }
  .ga-prijs-preview { flex-direction: column; gap: 6px; }
  .prijs-sub { margin-left: 0; }
}


/* ── Grotere inputvelden voor deelnemers & tijdstip ── */
#ga-personen,
#ga-tijdstip {
  min-height: 56px;
}

#ga-tijdstip {
  width: 100%;
  font-size: 16px;
}

/* ── Arrangementen / aanvullingen lijst ── */
.ga-extra-section {
  margin-bottom: 22px;
}
.ga-extra-section h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  color: var(--dark);
  margin: 0 0 4px;
}
.ga-extra-section h3 span,
.ga-extra-section-sub {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 16px;
  color: var(--muted);
  font-weight: 400;
}
.ga-extra-list {
  display: grid;
  gap: 12px;
}
.ga-extra-row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 16px;
  align-items: center;
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  background: #fff;
  cursor: pointer;
  transition: all .2s ease;
}
.ga-extra-row:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(179,64,101,.12);
}
.ga-extra-row.selected {
  border-color: var(--gold);
  background: var(--gold-pale);
}
.ga-extra-row.is-required {
  cursor: default;
}
.ga-extra-check {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  border: 2px solid var(--border);
  background: #fff;
  position: relative;
  box-shadow: 0 3px 12px rgba(0,0,0,.08);
}
.ga-extra-row.selected .ga-extra-check::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b34065;
  font-weight: 700;
  font-size: 20px;
}
.ga-extra-copy {
  min-width: 0;
}
.ga-extra-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
}
.ga-extra-desc {
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}
.ga-extra-meta {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}
.ga-extra-meta strong {
  font-size: 18px;
  color: var(--dark);
}
.ga-empty-state {
  padding: 18px;
  border: 2px dashed var(--border);
  border-radius: 12px;
  color: var(--muted);
  background: #f7f7f9;
}
@media (max-width: 680px) {
  .ga-extra-row {
    grid-template-columns: 28px 1fr;
  }
  .ga-extra-meta {
    grid-column: 2;
    text-align: left;
  }
}
