/* IVE Offerte-configurator — huisstijl: Exo (koppen) + Source Sans Pro, oranje #F08A31 / #D2740F.
   Let op: het thema zet p/ul-marges op 0 !important → eigen marges met !important. */

.ive-q, .ive-q-hero {
	--q-ink: #2E2E2A;
	--q-muted: #6B665D;
	--q-line: #E7E3DC;
	--q-paper: #F7F5F1;
	--q-tint: #FBF3EA;
	--q-or: #F08A31;
	--q-or-d: #D2740F;
	--q-ok: #2F7A4A;
	--q-err: #B3261E;
	--q-r: 14px;
}

/* ---------- Hero in de donkere themabalk ---------- */
.ive-q-hero { max-width: 760px; }
.ive-q-hero .ive-q-h1 { margin: 0 0 12px !important; text-wrap: balance; }
.ive-q-hero__sub { color: rgba(255,255,255,.86); font-size: 17px; line-height: 1.6; margin: 0 0 22px !important; max-width: 62ch; }
.ive-q-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.ive-q-hero__link { color: #fff !important; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--q-or); padding-bottom: 2px; }
.ive-q-hero__link:hover { color: var(--q-or) !important; }

/* ---------- Knoppen ---------- */
.ive-q-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 999px; font-family: Exo, 'Exo 2', sans-serif; font-weight: 700; font-size: 15px; letter-spacing: .02em; line-height: 1.2; text-decoration: none !important; cursor: pointer; border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s; }
.ive-q-btn--primary { background: var(--q-or); color: #fff !important; text-transform: uppercase; }
.ive-q-btn--primary:hover { background: var(--q-or-d); }
.ive-q-btn--ghost { background: #fff; color: var(--q-ink) !important; border-color: var(--q-line); }
.ive-q-btn--ghost:hover { border-color: var(--q-or); color: var(--q-or-d) !important; }
.ive-q-btn--block { width: 100%; }
.ive-q-btn[disabled] { opacity: .45; cursor: not-allowed; }
.ive-q-btn:focus-visible, .ive-q button:focus-visible, .ive-q input:focus-visible, .ive-q select:focus-visible, .ive-q textarea:focus-visible, .ive-q summary:focus-visible { outline: 3px solid rgba(240,138,49,.45); outline-offset: 2px; }

/* ---------- Basis ---------- */
.ive-q { color: var(--q-ink); font-size: 16px; line-height: 1.55; }
.ive-q p { margin: 0 0 12px !important; }
.ive-q ul, .ive-q ol { margin: 0 !important; }
.ive-q-h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; margin: 0 0 14px !important; color: var(--q-ink); text-wrap: balance; }
.ive-q-h3 { font-size: 18px; line-height: 1.25; margin: 0 0 12px !important; color: var(--q-ink); }
.ive-q-muted, .ive-q-help { color: var(--q-muted); }
.ive-q-help { font-size: 14.5px; margin: 0 0 8px !important; }
.ive-q-small { font-size: 13px; }
.ive-q-opt { color: var(--q-muted); font-weight: 400; font-size: .9em; }
.ive-q-req { color: var(--q-or-d); }
.ive-q-hp { position: absolute !important; left: -9999px !important; height: 1px; overflow: hidden; }

/* Thema geeft elke li in .content-block een pijltje + inspringing → binnen de offertepagina uitzetten. */
.content-block .ive-q li { padding-left: 0; line-height: inherit; }
.content-block .ive-q ul li::before { content: none; }

/* ---------- USP-balk ---------- */
.ive-q-usp { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px 22px; margin: 0 0 34px !important; padding-bottom: 22px !important; border-bottom: 1px solid var(--q-line); }
.content-block .ive-q .ive-q-usp li { position: relative; padding-left: 30px; font-weight: 600; line-height: 1.4; }
.content-block .ive-q .ive-q-usp li::before { content: ""; font-family: inherit; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--q-tint); box-shadow: inset 0 0 0 2px var(--q-or); }
.content-block .ive-q .ive-q-usp li::after { content: ""; position: absolute; left: 7px; top: 6px; width: 6px; height: 9px; border: solid var(--q-or-d); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* ---------- Voortgang ---------- */
.ive-q-config { scroll-margin-top: 130px; }
.ive-q-progress { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 8px; margin: 0 0 24px !important; counter-reset: s; }
.ive-q-progress button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--q-line); border-radius: 12px; background: #fff; color: var(--q-muted); font-weight: 600; font-size: 14.5px; text-align: left; cursor: pointer; }
.ive-q-progress button[disabled] { cursor: default; }
.ive-q-progress__n { flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--q-paper); color: var(--q-muted); font-family: Exo, sans-serif; font-weight: 700; font-size: 14px; }
.ive-q-progress li.is-current button { border-color: var(--q-or); color: var(--q-ink); box-shadow: 0 0 0 3px rgba(240,138,49,.12); }
.ive-q-progress li.is-current .ive-q-progress__n { background: var(--q-or); color: #fff; }
.ive-q-progress li.is-done .ive-q-progress__n { background: var(--q-tint); color: var(--q-or-d); }
.ive-q-progress li.is-done .ive-q-progress__n { font-size: 0; }
.ive-q-progress li.is-done .ive-q-progress__n::before { content: "✓"; font-size: 15px; }
.ive-q-progress li.is-done button { color: var(--q-ink); }

/* ---------- Layout ---------- */
.ive-q-grid { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 28px; align-items: start; }
.ive-q-form { background: #fff; border: 1px solid var(--q-line); border-radius: 18px; padding: clamp(18px, 3vw, 32px); min-width: 0; }
.ive-q-summary { position: sticky; top: 140px; }
.ive-q-summary__card { background: var(--q-paper); border: 1px solid var(--q-line); border-radius: 18px; padding: 22px; }
.ive-q-summary__stats { list-style: none; padding: 0 !important; display: grid; gap: 6px; margin: 0 0 14px !important; font-weight: 600; }
.ive-q-summary__stats li { display: flex; justify-content: space-between; }
.ive-q-summary__total { font-size: 14.5px; color: var(--q-muted); border-top: 1px solid var(--q-line); padding-top: 12px; }
.ive-q-summary__total strong { color: var(--q-ink); font-size: 17px; display: block; }
.ive-q-summary__reply { font-size: 13.5px; color: var(--q-muted); margin: 12px 0 0 !important; }

/* ---------- Stappen ---------- */
.ive-q-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.ive-q-step__title { font-family: Exo, 'Exo 2', sans-serif; font-weight: 700; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; color: var(--q-ink); margin: 0 0 8px; padding: 0; }
.ive-q-step__n { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--q-or-d); margin-bottom: 6px; }
.ive-q-step__intro { color: var(--q-muted); margin: 0 0 20px !important; max-width: 62ch; }

.ive-q-label { display: block; font-weight: 700; font-size: 15px; margin: 0 0 6px !important; color: var(--q-ink); }
.ive-q-field { margin: 0 0 16px; min-width: 0; }
.ive-q-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 16px; }
.ive-q input[type=text], .ive-q input[type=search], .ive-q input[type=email], .ive-q input[type=tel], .ive-q input[type=url], .ive-q input[type=number], .ive-q input[type=date], .ive-q select, .ive-q textarea {
	width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid #D9D4CB; border-radius: 10px; background: #fff; color: var(--q-ink); font: inherit; font-size: 16px; line-height: 1.4; box-sizing: border-box;
}
.ive-q textarea { min-height: 84px; resize: vertical; }
.ive-q select { background-color: #fff !important; }
.ive-q-more-res { justify-self: start; }
.ive-q input:focus, .ive-q select:focus, .ive-q textarea:focus { border-color: var(--q-or); outline: none; box-shadow: 0 0 0 3px rgba(240,138,49,.18); }
.ive-q .is-invalid { border-color: var(--q-err) !important; }
.ive-q-ferr, .ive-q-err { color: var(--q-err); font-size: 14px; margin: 6px 0 0 !important; }
.ive-q-alert { background: #FDECEA; color: var(--q-err); border: 1px solid #F3C2BE; border-radius: 12px; padding: 12px 16px; margin: 0 0 18px; font-weight: 600; }

/* Zoeken */
.ive-q-search input { padding-left: 44px !important; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%236B665D' stroke-width='2'%3E%3Ccircle cx='9' cy='9' r='6'/%3E%3Cpath d='m14 14 4 4'/%3E%3C/svg%3E") no-repeat 14px center !important; }
.ive-q-quick { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0 6px; font-size: 14px; color: var(--q-muted); }
.ive-q-quick span { margin-right: 4px; }
.ive-q-chip { border: 1px solid var(--q-line); background: var(--q-paper); color: var(--q-ink); border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 600; cursor: pointer; }
.ive-q-chip:hover, .ive-q-chip.is-active { border-color: var(--q-or); background: var(--q-tint); }
.ive-q-results { display: grid; gap: 10px; margin: 14px 0 6px; }
.ive-q-results:empty { margin: 0; }
.ive-q-res { display: grid; grid-template-columns: 56px minmax(0,1fr) auto; gap: 12px 14px; align-items: center; border: 1px solid var(--q-line); border-radius: 12px; padding: 10px 12px; }
.ive-q-res img, .ive-q-res__ph { width: 56px; height: 56px; object-fit: contain; border-radius: 8px; background: var(--q-paper); }
.ive-q-res__name { font-weight: 700; line-height: 1.3; display: block; }
.ive-q-res__meta { font-size: 13.5px; color: var(--q-muted); }
.ive-q-res__meta b { color: var(--q-ink); }
.ive-q-res__act { display: flex; gap: 8px; align-items: center; }
.ive-q-res__act input[type=number] { width: 84px; min-height: 42px; padding: 8px 10px; text-align: center; }
.ive-q-res__act .ive-q-btn { min-height: 42px; padding: 9px 16px; }
.ive-q-res__vars { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.ive-q-res__vars select { flex: 1 1 260px; min-height: 42px; padding: 8px 12px; }
.ive-q-res.is-added { border-color: var(--q-ok); }

/* Mandje */
.ive-q-basket { margin: 22px 0 18px; padding: 18px; background: var(--q-paper); border-radius: 14px; }
.ive-q-line { display: grid; grid-template-columns: 44px minmax(0,1fr) auto auto; gap: 10px 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--q-line); }
.ive-q-line:first-child { border-top: 0; }
.ive-q-line img, .ive-q-line .ive-q-res__ph { width: 44px; height: 44px; object-fit: contain; border-radius: 6px; background: #fff; }
.ive-q-line__name { font-weight: 700; line-height: 1.3; }
.ive-q-line__meta { font-size: 13px; color: var(--q-muted); }
.ive-q-line__price { font-size: 14px; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ive-q-stepper { display: inline-flex; align-items: center; border: 1px solid #D9D4CB; border-radius: 999px; background: #fff; overflow: hidden; }
.ive-q-stepper button { width: 38px; height: 40px; border: 0; background: transparent; font-size: 18px; font-weight: 700; color: var(--q-ink); cursor: pointer; }
.ive-q-stepper button:hover { color: var(--q-or-d); }
.ive-q .ive-q-stepper input { width: 58px; min-height: 40px; border: 0; border-radius: 0; text-align: center; padding: 6px 2px; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.ive-q-stepper input::-webkit-outer-spin-button, .ive-q-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ive-q-line__rm { border: 0; background: none; color: var(--q-muted); font-size: 13px; text-decoration: underline; cursor: pointer; padding: 4px 0; grid-column: 2; justify-self: start; }
.ive-q-basket__total { display: flex; justify-content: space-between; gap: 12px; border-top: 2px solid var(--q-line); padding-top: 12px; margin-top: 4px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ive-q-basket__note { font-size: 13px; color: var(--q-muted); margin: 6px 0 0 !important; }

/* Keuzes */
.ive-q-types, .ive-q-radios { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; margin: 0 0 16px; }
.ive-q-radios--inline { grid-template-columns: repeat(3, max-content); }
.ive-q-check { display: flex; align-items: flex-start; gap: 10px; border: 1px solid var(--q-line); border-radius: 10px; padding: 12px 14px; cursor: pointer; background: #fff; line-height: 1.35; }
.ive-q-check input { margin: 2px 0 0; width: 18px; height: 18px; flex: none; accent-color: var(--q-or); }
.ive-q-check:has(input:checked) { border-color: var(--q-or); background: var(--q-tint); }
.ive-q-privacy { margin: 18px 0 8px; }
.ive-q-privacy a { color: var(--q-or-d); }

/* Machines */
.ive-q-machine { border: 1px solid var(--q-line); border-radius: 14px; padding: 16px; margin: 0 0 12px; background: #fff; }
.ive-q-machine__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-weight: 700; }
.ive-q-machine__head button { border: 0; background: none; color: var(--q-muted); text-decoration: underline; cursor: pointer; font-size: 14px; }
.ive-q-machine__grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 10px; }
.ive-q-machine__grid .ive-q-field { margin: 0; }
.ive-q-machine__grid .ive-q-label { font-size: 13.5px; }
.ive-q-addmachine { margin-bottom: 4px; }

/* Meer / upload / vloot */
.ive-q-more { border: 1px solid var(--q-line); border-radius: 12px; padding: 0 16px; margin: 4px 0 18px; }
.ive-q-more > summary { cursor: pointer; padding: 14px 0; font-weight: 700; list-style: none; }
.ive-q-more > summary::-webkit-details-marker { display: none; }
.ive-q-more > summary::before { content: "+"; display: inline-block; width: 20px; color: var(--q-or-d); font-weight: 800; }
.ive-q-more[open] > summary::before { content: "–"; }
.ive-q-more[open] { padding-bottom: 4px; }
.ive-q-upload { margin: 0 0 18px; }
.ive-q-filebtn { position: relative; overflow: hidden; }
.ive-q-filebtn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ive-q-files { list-style: none; padding: 0 !important; display: grid; gap: 6px; margin-top: 8px !important; }
.content-block .ive-q .ive-q-files li { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; background: var(--q-paper); border-radius: 8px; padding: 8px 12px; }
.ive-q-files li.is-bad { background: #FDECEA; color: var(--q-err); }
.ive-q-files button { border: 0; background: none; color: var(--q-muted); text-decoration: underline; cursor: pointer; }
.ive-q-fleet { display: flex; gap: 12px; align-items: flex-start; background: var(--q-tint); border: 1px solid #F3D3B3; border-radius: 14px; padding: 16px; cursor: pointer; line-height: 1.5; font-size: 15px; scroll-margin-top: 150px; }
.ive-q-fleet input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--q-or); }
.ive-q-fleet.is-flash { box-shadow: 0 0 0 4px rgba(240,138,49,.35); transition: box-shadow .3s; }

/* Controle */
.ive-q-review { display: grid; gap: 12px; }
.ive-q-rev { border: 1px solid var(--q-line); border-radius: 14px; padding: 14px 16px; }
.ive-q-rev__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.ive-q-rev__head h3 { font-size: 16px; margin: 0 !important; }
.ive-q-rev__head button { border: 0; background: none; color: var(--q-or-d); font-weight: 700; text-decoration: underline; cursor: pointer; }
.ive-q-rev ul { list-style: none; padding: 0 !important; display: grid; gap: 4px; font-size: 15px; }
.ive-q-rev li span { color: var(--q-muted); }

/* Navigatie */
.ive-q-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--q-line); }
.ive-q-nav .ive-q-next, .ive-q-nav .ive-q-submit { margin-left: auto; }

/* Hulpblokken / FAQ / slot */
.ive-q-helpers { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; margin: 48px 0 0; }
.ive-q-helpcard { background: var(--q-paper); border: 1px solid var(--q-line); border-radius: 18px; padding: 24px; }
.ive-q-helpcard p { color: var(--q-muted); }
.ive-q-helpcard--fleet { background: var(--q-tint); border-color: #F3D3B3; }
.ive-q-finder > summary { list-style: none; }
.ive-q-finder > summary::-webkit-details-marker { display: none; }
.ive-q-finder__body { margin-top: 16px; background: #fff; border-radius: 14px; padding: 8px; }
.ive-q-faq { margin: 48px 0 0; max-width: 860px; }
.ive-q-faq__item { border-top: 1px solid var(--q-line); }
.ive-q-faq__item:last-child { border-bottom: 1px solid var(--q-line); }
.ive-q-faq__item > summary { cursor: pointer; list-style: none; padding: 16px 32px 16px 0; font-weight: 700; position: relative; }
.ive-q-faq__item > summary::-webkit-details-marker { display: none; }
.ive-q-faq__item > summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 20px; color: var(--q-or-d); }
.ive-q-faq__item[open] > summary::after { content: "–"; }
.ive-q-faq__item p { color: var(--q-muted); padding-bottom: 6px; }
.ive-q-end { text-align: center; margin: 48px 0 8px; padding: 34px 20px; background: var(--q-paper); border-radius: 18px; }

/* Bedankt */
.ive-q-thanks { max-width: 760px; }
.ive-q-thanks__ref { font-size: 18px; }
.ive-q-thanks__steps { counter-reset: t; list-style: none; padding: 0 !important; display: grid; gap: 10px; margin: 6px 0 26px !important; }
.content-block .ive-q .ive-q-thanks__steps li { counter-increment: t; position: relative; padding: 12px 14px 12px 52px; background: var(--q-paper); border-radius: 12px; font-weight: 600; }
.ive-q-thanks__steps li::before { content: counter(t); position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--q-or); color: #fff; display: grid; place-items: center; font-family: Exo, sans-serif; font-size: 14px; }
.ive-q-thanks__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sticky mobiele balk */
.ive-q-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--q-line); box-shadow: 0 -6px 18px rgba(0,0,0,.08); }
.ive-q-sticky__info { font-size: 13.5px; color: var(--q-muted); line-height: 1.3; }
.ive-q-sticky__btn { min-height: 46px; padding: 10px 18px; font-size: 14px; }

/* ---------- Responsief ---------- */
@media (max-width: 1099px) {
	.ive-q-machine__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 991px) {
	.ive-q-grid { grid-template-columns: 1fr; }
	.ive-q-summary { display: none; }
	.ive-q-usp { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.ive-q-progress__l { display: none; }
	.ive-q-progress li.is-current .ive-q-progress__l { display: inline; }
	.ive-q-progress { display: flex; gap: 6px; }
	.ive-q-progress li { flex: 0 0 auto; }
	.ive-q-progress li.is-current { flex: 1 1 auto; min-width: 0; }
	.ive-q-progress button { padding: 8px; gap: 8px; }
	.ive-q-progress li.is-current .ive-q-progress__l { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.ive-q-helpers { grid-template-columns: 1fr; }
}
@media (min-width: 992px) {
	.ive-q-sticky { display: none !important; }
}
@media (max-width: 767px) {
	.ive-q-hero__sub { font-size: 16px; }
	.ive-q-row { grid-template-columns: 1fr; }
	.ive-q-res { grid-template-columns: 48px minmax(0,1fr); }
	.ive-q-res img, .ive-q-res__ph { width: 48px; height: 48px; }
	.ive-q-res__act { grid-column: 1 / -1; }
	.ive-q-res__act .ive-q-btn { flex: 1; }
	.ive-q-line { grid-template-columns: 44px minmax(0,1fr); }
	.ive-q-line__qty, .ive-q-line__price { grid-column: 2; justify-self: start; text-align: left; }
	.ive-q-machine__grid { grid-template-columns: 1fr 1fr; }
	.ive-q-radios--inline { grid-template-columns: 1fr; }
	.ive-q-nav .ive-q-next { display: none; }
	.ive-q-has-sticky .ive-q { padding-bottom: 76px; }
}
@media (prefers-reduced-motion: reduce) {
	.ive-q * { transition: none !important; }
}
