/* PresentTool™ Storytelling — section: offerte (read-only voorstel + wensenlaag) */

.story-offerte {
  position: relative;
  width: 100%;
  background: var(--pt-surface-2, #f3efe9);
  color: var(--pt-text);
  padding: 96px 24px;
}
.offerte-inner {
  max-width: 840px;
  margin: 0 auto;
}
.offerte-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-family: var(--pt-mono);
  font-size: 11px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--pt-primary);
}
.offerte-eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--story-accent, var(--pt-primary));
}
.offerte-headrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.offerte-title {
  font-family: var(--pt-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}
.offerte-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--pt-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.offerte-status svg { width: 14px; height: 14px; }
.offerte-status--accepted {
  color: #1f7a4d;
  background: rgba(31, 122, 77, 0.12);
}
.offerte-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
  font-family: var(--pt-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--pt-text-dim, #6b6258);
}
.offerte-valid { display: inline-flex; align-items: center; gap: 6px; }
.offerte-valid svg { width: 13px; height: 13px; }
.offerte-num { font-weight: 600; color: var(--pt-text); }
.offerte-intro {
  margin: 22px 0 0;
  font-size: 17px;
  line-height: 1.62;
  max-width: 62ch;
  color: var(--pt-text);
}

/* ─── Regels ─── */
.offerte-lines {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  border-top: 1px solid var(--pt-border, rgba(0,0,0,0.10));
}
.offerte-line {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 18px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--pt-border, rgba(0,0,0,0.10));
}
.offerte-line__thumb {
  width: 64px; height: 64px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  background-color: rgba(0,0,0,0.05);
}
.offerte-line__thumb--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pt-text-dim, #9a9189);
}
.offerte-line__thumb--empty svg { width: 22px; height: 22px; }
.offerte-line__body { min-width: 0; }
.offerte-line__head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.offerte-line__desc {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--pt-text);
}
.offerte-line__tag {
  font-family: var(--pt-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pt-primary);
  background: var(--story-accent-soft, rgba(0,0,0,0.05));
  padding: 3px 8px;
  border-radius: 999px;
}
.offerte-line__meta {
  display: block;
  margin-top: 4px;
  font-family: var(--pt-mono);
  font-size: 12px;
  color: var(--pt-text-dim, #6b6258);
}
.offerte-line__price {
  font-family: var(--pt-mono);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--pt-text);
  text-align: right;
}

/* ─── Reactie-chips (wensenlaag) ─── */
.offerte-line__react {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.offerte-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--pt-border, rgba(0,0,0,0.16));
  background: var(--pt-surface-1, #fff);
  color: var(--pt-text-dim, #6b6258);
  font-family: var(--pt-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color .16s ease, color .16s ease, background .16s ease, transform .12s ease;
}
.offerte-chip svg { width: 13px; height: 13px; }
.offerte-chip:hover { transform: translateY(-1px); color: var(--pt-text); }
.offerte-chip[aria-pressed="true"] {
  border-color: var(--story-accent, var(--pt-primary));
  color: var(--story-accent, var(--pt-primary));
  background: var(--story-accent-soft, rgba(0,0,0,0.05));
}
.offerte-chip[data-sentiment="skip"][aria-pressed="true"] {
  border-color: #c0492f;
  color: #c0492f;
  background: rgba(192,73,47,0.08);
}

/* ─── Totalen ─── */
.offerte-totals {
  margin-top: 26px;
  margin-left: auto;
  max-width: 320px;
}
.offerte-totals__row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 7px 0;
  font-size: 14px;
  color: var(--pt-text-dim, #6b6258);
}
.offerte-totals__row span:last-child { font-family: var(--pt-mono); }
.offerte-totals__row--total {
  border-top: 1px solid var(--pt-border, rgba(0,0,0,0.16));
  margin-top: 4px;
  padding-top: 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--pt-text);
}

/* ─── CTA ─── */
.offerte-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--story-accent, var(--pt-primary));
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: transform .14s ease, box-shadow .14s ease, filter .14s ease;
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}
.offerte-cta:hover { transform: translateY(-2px); filter: brightness(1.04); }
.offerte-cta svg { width: 16px; height: 16px; }

/* ─── Wensenlaag-blok ─── */
.offerte-wish {
  margin-top: 48px;
  padding: 28px;
  border-radius: 16px;
  background: var(--pt-surface-1, #fff);
  border: 1px solid var(--pt-border, rgba(0,0,0,0.10));
}
.offerte-wish__title {
  font-family: var(--pt-serif);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 6px;
}
.offerte-wish__sub {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--pt-text-dim, #6b6258);
}
.offerte-wish__field { margin-bottom: 14px; }
.offerte-wish__field label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--pt-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pt-text-dim, #6b6258);
}
.offerte-wish__opt { text-transform: none; letter-spacing: 0; opacity: 0.7; }
.offerte-wish__field input,
.offerte-wish__field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--pt-border, rgba(0,0,0,0.16));
  background: var(--pt-surface-2, #faf8f5);
  color: var(--pt-text);
  font: inherit;
  font-size: 15px;
  resize: vertical;
}
.offerte-wish__field input:focus,
.offerte-wish__field textarea:focus {
  outline: none;
  border-color: var(--story-accent, var(--pt-primary));
}
.offerte-wish__warning {
  margin-bottom: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  background: rgba(192,73,47,0.10);
  color: #a83a23;
}
.offerte-wish__warning.is-rate { background: rgba(0,0,0,0.06); color: var(--pt-text-dim, #6b6258); }
.offerte-wish__submit {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 6px;
  padding: 13px 22px;
  border: none;
  border-radius: 999px;
  background: var(--pt-text, #1a1a1a);
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: transform .14s ease, opacity .14s ease;
}
.offerte-wish__submit:hover:not(:disabled) { transform: translateY(-1px); }
.offerte-wish__submit:disabled { opacity: 0.6; cursor: default; }
.offerte-wish__submit-icon { width: 15px; height: 15px; }
.offerte-wish__spinner {
  width: 15px; height: 15px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: offerte-spin .7s linear infinite;
}
@keyframes offerte-spin { to { transform: rotate(360deg); } }

.offerte-wish-success {
  text-align: center;
  padding: 14px 8px;
}
.offerte-wish-success__check {
  width: 48px; height: 48px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(31,122,77,0.14);
  color: #1f7a4d;
  display: flex;
  align-items: center;
  justify-content: center;
}
.offerte-wish-success__check svg { width: 24px; height: 24px; }
.offerte-wish-success h3 {
  font-family: var(--pt-serif);
  font-size: 22px;
  margin: 0 0 6px;
}
.offerte-wish-success p {
  margin: 0;
  font-size: 14px;
  color: var(--pt-text-dim, #6b6258);
}

@media (max-width: 768px) {
  .story-offerte { padding: 64px 18px; }
  .offerte-line { grid-template-columns: 52px 1fr; }
  .offerte-line__thumb { width: 52px; height: 52px; }
  .offerte-line__price { grid-column: 2 / 3; text-align: left; margin-top: 4px; }
  .offerte-totals { margin-left: 0; max-width: none; }
  .offerte-wish { padding: 22px 18px; }
}
