/* =============================================================================
   SBK customer flow — offerteoverzicht, gegevens, bevestiging, portaal.
   The keuzehulp (css/sbk-quiz-v2.css) defines the house style; these tokens
   mirror it so every next screen reads as the next step of the same flow.
   ============================================================================= */

.sbk-flow {
	--f-navy: #0d1f2d;
	--f-text: #0d1f2d;
	--f-text-2: #465a70;
	--f-muted: #6b7f96;
	--f-blue: #0062e3;
	--f-blue-dark: #004fc4;
	--f-sky: #ebf3fe;
	--f-select: #e8f1ff;
	--f-cream: #f5f7fa;
	--f-yellow: #f5c518;
	--f-yellow-hover: #e8b800;
	--f-green: #16a34a;
	--f-green-soft: #e9f8ef;
	--f-red: #c62828;
	--f-red-soft: #fdecec;
	--f-line: #dde3ec;
	--f-radius: 16px;
	--f-radius-sm: 12px;
	--f-display: var(--font-display, "Sora", sans-serif);
	--f-body: var(--font-body, "DM Sans", sans-serif);

	background: var(--f-cream);
	color: var(--f-text);
	font-family: var(--f-body);
	padding: 20px 0 40px;
}

.sbk-flow *,
.sbk-flow *::before,
.sbk-flow *::after { box-sizing: border-box; }

.sbk-flow__wrap {
	width: 100%;
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 16px;
}
.sbk-flow__wrap--narrow { max-width: 680px; }

.sbk-flow__back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	color: var(--f-text-2);
	font-size: .875rem;
	font-weight: 600;
	text-decoration: none;
}
.sbk-flow__back:hover { color: var(--f-blue); }

.sbk-flow__title {
	margin: 4px 0 6px;
	color: var(--f-navy);
	font-family: var(--f-display);
	font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -.02em;
}
.sbk-flow__lead {
	margin: 0 0 18px;
	color: var(--f-text-2);
	font-size: 1rem;
	line-height: 1.5;
}

.sbk-flow__layout { display: grid; gap: 14px; }
@media (min-width: 900px) {
	.sbk-flow { padding-top: 32px; }
	.sbk-flow__layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
	.sbk-flow__aside { position: sticky; top: 24px; }
}

.sbk-card {
	padding: 16px;
	border: 1px solid var(--f-line);
	border-radius: var(--f-radius);
	background: #fff;
}
.sbk-card + .sbk-card { margin-top: 12px; }
.sbk-card__title {
	margin: 0 0 6px;
	color: var(--f-navy);
	font-family: var(--f-display);
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.3;
}
.sbk-card__text { margin: 0; color: var(--f-text-2); font-size: .9375rem; line-height: 1.5; }

/* Buttons — same primary as "Vraag offerte aan" in the keuzehulp. */
.sbk-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 52px;
	padding: 0 20px;
	border: 0;
	border-radius: var(--f-radius);
	font-family: var(--f-body);
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: background-color .15s ease, border-color .15s ease;
}
.sbk-btn--primary { background: var(--f-yellow); color: var(--f-navy); }
.sbk-btn--primary:hover, .sbk-btn--primary:focus-visible { background: var(--f-yellow-hover); color: var(--f-navy); }
.sbk-btn--secondary { border: 1.5px solid #b5d4f4; background: #fff; color: var(--f-blue-dark); }
.sbk-btn--secondary:hover { border-color: var(--f-blue); color: var(--f-blue); }
.sbk-btn--block { width: 100%; }
.sbk-btn--small { min-height: 44px; padding: 0 14px; border-radius: var(--f-radius-sm); font-size: .9375rem; }
.sbk-btn:focus-visible { outline: 3px solid rgba(0, 98, 227, .45); outline-offset: 2px; }
.sbk-btn[disabled], .sbk-btn[aria-disabled="true"] { opacity: .6; cursor: default; }

.sbk-reassure {
	margin: 8px 0 0;
	color: var(--f-text-2);
	font-size: .8125rem;
	font-weight: 600;
	text-align: center;
}

.sbk-link { color: var(--f-blue-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Disclosure — same look as "Uitbreidingen" / "Specificaties" in the keuzehulp. */
.sbk-disclosure {
	border: 1px solid var(--f-line);
	border-radius: 14px;
	background: #fff;
	overflow: hidden;
}
.sbk-disclosure + .sbk-disclosure, .sbk-card + .sbk-disclosure, .sbk-disclosure + .sbk-card { margin-top: 12px; }
.sbk-disclosure > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 52px;
	padding: 0 16px;
	color: var(--f-text);
	font-size: .9375rem;
	font-weight: 700;
	list-style: none;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.sbk-disclosure > summary::-webkit-details-marker { display: none; }
.sbk-disclosure > summary::after { content: "+"; flex: 0 0 auto; color: var(--f-text-2); font-size: 1.4rem; font-weight: 600; line-height: 1; }
.sbk-disclosure[open] > summary::after { content: "−"; }
.sbk-disclosure > summary:focus-visible { outline: 3px solid rgba(0, 98, 227, .45); outline-offset: -3px; }
.sbk-disclosure__meta { margin-left: auto; color: var(--f-blue-dark); font-size: .8125rem; font-weight: 700; }
.sbk-disclosure__body { padding: 0 16px 16px; color: var(--f-text-2); font-size: .9375rem; line-height: 1.55; }
.sbk-disclosure__body p { margin: 0 0 8px; }
.sbk-disclosure__body p:last-child { margin-bottom: 0; }

.sbk-notice {
	margin: 0 0 12px;
	padding: 12px 14px;
	border-radius: var(--f-radius-sm);
	font-size: .9375rem;
	line-height: 1.45;
}
.sbk-notice--success { background: var(--f-green-soft); color: #14532d; }
.sbk-notice--error { background: var(--f-red-soft); color: #8a1c1c; }
.sbk-notice--info { background: var(--f-sky); color: var(--f-navy); }
.sbk-notice[hidden] { display: none; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* -----------------------------------------------------------------------------
   Milestones: "[Voornaam]’s thuisbatterijaanvraag"
   Mobile: current step + mini connected dots; full list in a disclosure.
   Desktop: five connected circles with centred labels.
   ----------------------------------------------------------------------------- */
.sbk-journey { margin: 0 0 14px; }
.sbk-journey__details {
	border: 1px solid var(--f-line);
	border-radius: var(--f-radius);
	background: #fff;
	box-shadow: 0 1px 2px rgba(13, 31, 45, .04);
}
.sbk-journey__summary {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 6px 12px;
	padding: 12px 16px;
	list-style: none;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.sbk-journey__summary::-webkit-details-marker { display: none; }
.sbk-journey__summary:focus-visible { outline: 3px solid rgba(0, 98, 227, .45); outline-offset: -3px; border-radius: var(--f-radius); }
.sbk-journey__title { color: var(--f-navy); font-size: .9375rem; font-weight: 800; line-height: 1.3; overflow-wrap: anywhere; }
.sbk-journey__summary .sbk-journey__title { grid-column: 1 / -1; }
.sbk-journey__now { color: var(--f-text-2); font-size: .875rem; }
.sbk-journey__now strong { color: var(--f-navy); }
.sbk-journey__toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; color: var(--f-blue-dark); font-size: .8125rem; font-weight: 700; white-space: nowrap; }
.sbk-journey__toggle::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .18s ease; }
.sbk-journey__details[open] .sbk-journey__toggle::after { transform: translateY(1px) rotate(-135deg); }
.sbk-journey__toggle-open { display: none; }
.sbk-journey__details[open] .sbk-journey__toggle-open { display: inline; }
.sbk-journey__details[open] .sbk-journey__toggle-closed { display: none; }

/* Mini dots (mobile summary): connected, same states as the full list. */
.sbk-journey__mini { grid-column: 1 / -1; display: flex; align-items: center; margin-top: 2px; }
.sbk-journey__mini > span { position: relative; flex: 1 1 0; height: 10px; }
.sbk-journey__mini > span::before { content: ""; position: absolute; top: 4px; left: 0; right: 0; height: 2px; background: #dbe3ee; }
.sbk-journey__mini > span:first-child::before { left: 50%; }
.sbk-journey__mini > span:last-child::before { right: 50%; }
.sbk-journey__mini > span::after { content: ""; position: absolute; top: 0; left: 50%; width: 10px; height: 10px; margin-left: -5px; border: 2px solid #c9d4e2; border-radius: 50%; background: #fff; box-sizing: border-box; }
.sbk-journey__mini > .is-done::before { background: var(--f-green); }
.sbk-journey__mini > .is-done::after { border-color: var(--f-green); background: var(--f-green); }
.sbk-journey__mini > .is-current::after { border-color: var(--f-blue); background: var(--f-blue); box-shadow: 0 0 0 3px rgba(0, 98, 227, .18); }

/* Full vertical list (mobile, inside the disclosure). */
.sbk-journey__list { display: grid; gap: 0; margin: 0; padding: 4px 16px 14px; list-style: none; }
.sbk-journey__list li { position: relative; display: flex; align-items: center; gap: 12px; min-height: 44px; color: var(--f-muted); font-size: .9375rem; }
.sbk-journey__list li:not(:last-child)::before { content: ""; position: absolute; top: calc(50% + 15px); bottom: calc(-50% + 15px); left: 13px; width: 2px; background: #dbe3ee; }
.sbk-journey__list li.is-done:not(:last-child)::before { background: var(--f-green); }
.sbk-journey__dot {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	flex: 0 0 28px;
	width: 28px; height: 28px;
	border: 2px solid #c9d4e2;
	border-radius: 50%;
	background: #fff;
	color: var(--f-muted);
	font-size: .8125rem;
	font-weight: 800;
	transition: background-color .2s ease, border-color .2s ease;
}
.sbk-journey__dot svg { width: 15px; height: 15px; }
.sbk-journey__list li.is-done { color: var(--f-text); }
.sbk-journey__list li.is-done .sbk-journey__dot { border-color: var(--f-green); background: var(--f-green); color: #fff; }
.sbk-journey__list li.is-current { color: var(--f-navy); font-weight: 700; }
.sbk-journey__list li.is-current .sbk-journey__dot { border-color: var(--f-blue); background: var(--f-blue); color: #fff; box-shadow: 0 0 0 4px rgba(0, 98, 227, .15); }
.sbk-journey__sub { margin: 8px 2px 0; color: var(--f-text-2); font-size: .9375rem; }
.sbk-journey__sub strong { color: var(--f-navy); }

.sbk-journey__desk { display: none; }
@media (min-width: 900px) {
	/* Desktop: all five milestones always visible in one connected row. */
	.sbk-journey__details { display: none; }
	.sbk-journey__desk { display: block; padding: 14px 16px 16px; border: 1px solid var(--f-line); border-radius: var(--f-radius); background: #fff; box-shadow: 0 1px 2px rgba(13, 31, 45, .04); }
	.sbk-journey__list--row { grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 12px 0 0; }
	.sbk-journey__list--row li { flex-direction: column; align-items: center; gap: 8px; min-height: 0; font-size: .8125rem; line-height: 1.3; text-align: center; }
	.sbk-journey__list--row li:not(:last-child)::before { top: 13px; bottom: auto; left: calc(50% + 18px); right: calc(-50% + 18px); width: auto; height: 2px; }
}
@media (prefers-reduced-motion: reduce) {
	.sbk-journey__toggle::after, .sbk-journey__dot { transition: none; }
}


/* -----------------------------------------------------------------------------
   Offerteoverzicht (cart)
   ----------------------------------------------------------------------------- */
.sbk-lines { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.sbk-line {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr) auto;
	gap: 4px 12px;
	align-items: start;
	padding: 14px 0;
	border-top: 1px solid var(--f-line);
}
.sbk-line:first-child { padding-top: 2px; border-top: 0; }
.sbk-line__thumb {
	grid-row: span 2;
	width: 56px; height: 56px;
	border-radius: 10px;
	background: #f2f5f9;
	object-fit: contain;
}
.sbk-line__name { margin: 0; color: var(--f-navy); font-size: .9375rem; font-weight: 700; line-height: 1.3; }
.sbk-line__name a { color: inherit; text-decoration: none; }
.sbk-line__meta { margin: 2px 0 0; color: var(--f-text-2); font-size: .8125rem; line-height: 1.4; }
.sbk-line__meta--ok { color: #15803d; font-weight: 600; }
.sbk-line__price { grid-column: 3; grid-row: 1; text-align: right; white-space: nowrap; }
.sbk-line__price strong { display: block; color: var(--f-navy); font-size: 1rem; font-weight: 800; }
.sbk-line__price strong .woocommerce-Price-amount { font: inherit; }
.sbk-line__price small { display: block; color: var(--f-text-2); font-size: .75rem; }
.sbk-line__controls { grid-column: 2 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.sbk-qty { display: inline-flex; align-items: center; border: 1px solid var(--f-line); border-radius: 10px; overflow: hidden; }
.sbk-qty button { width: 40px; height: 40px; border: 0; background: #fff; color: var(--f-navy); font-size: 1.1rem; font-weight: 700; cursor: pointer; }
.sbk-qty button:focus-visible { outline: 3px solid rgba(0, 98, 227, .45); outline-offset: -3px; }
.sbk-qty input { width: 40px; height: 40px; border: 0; border-inline: 1px solid var(--f-line); text-align: center; font: inherit; font-weight: 700; -moz-appearance: textfield; }
.sbk-qty input::-webkit-outer-spin-button, .sbk-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.sbk-line__qty-fixed { color: var(--f-text-2); font-size: .8125rem; }
.sbk-line__remove { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 4px; color: var(--f-text-2); font-size: .8125rem; font-weight: 600; text-decoration: none; }
.sbk-line__remove:hover { color: var(--f-red); }

.sbk-extras__list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.sbk-extra {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 4px 12px;
	align-items: center;
	padding: 12px;
	border: 1px solid var(--f-line);
	border-radius: var(--f-radius-sm);
}
.sbk-extra__name { margin: 0; color: var(--f-navy); font-size: .9375rem; font-weight: 700; }
.sbk-extra__text { margin: 2px 0 0; color: var(--f-text-2); font-size: .8125rem; line-height: 1.4; }
.sbk-extra__price { color: var(--f-navy); font-size: .875rem; font-weight: 700; }
.sbk-extra form { grid-column: 2; grid-row: 1 / span 2; margin: 0; }

.sbk-total { display: grid; gap: 4px; }
.sbk-total__label { color: var(--f-text-2); font-size: .875rem; font-weight: 600; }
.sbk-total__amount { color: var(--f-navy); font-family: var(--f-display); font-size: 1.6rem; font-weight: 700; line-height: 1.1; }
.sbk-total__amount small { color: var(--f-text-2); font-family: var(--f-body); font-size: .875rem; font-weight: 600; }
.sbk-total__incl { color: var(--f-text-2); font-size: .875rem; }
.sbk-total + .sbk-btn { margin-top: 14px; }

/* Mobile sticky bar: compact total + continue. */
.sbk-sticky {
	position: fixed;
	z-index: 90;
	left: 0; right: 0; bottom: 0;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
	border-top: 1px solid var(--f-line);
	background: rgba(255, 255, 255, .97);
	box-shadow: 0 -8px 24px rgba(7, 17, 24, .08);
	transition: transform .2s ease;
}
.sbk-sticky__total { display: grid; min-width: 0; line-height: 1.2; }
.sbk-sticky__total strong { color: var(--f-navy); font-size: 1.0625rem; font-weight: 800; }
.sbk-sticky__total small { color: var(--f-text-2); font-size: .75rem; }
.sbk-sticky .sbk-btn { flex: 1 1 auto; min-height: 50px; }
.sbk-sticky.is-hidden { transform: translateY(110%); }
.sbk-flow--has-sticky { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 900px) {
	.sbk-sticky { display: none; }
	.sbk-flow--has-sticky { padding-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) { .sbk-sticky { transition: none; } }

/* Compact package summary (gegevens page, bevestiging). */
.sbk-flow-summary {
	margin: 0 0 16px;
	border: 1px solid var(--f-line);
	border-radius: var(--f-radius);
	background: #fff;
}
.sbk-flow-summary > summary {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 2px 12px;
	align-items: center;
	padding: 12px 16px;
	list-style: none;
	cursor: pointer;
}
.sbk-flow-summary > summary::-webkit-details-marker { display: none; }
.sbk-flow-summary > summary:focus-visible { outline: 3px solid rgba(0, 98, 227, .45); outline-offset: -3px; border-radius: var(--f-radius); }
.sbk-flow-summary__label { grid-column: 1 / -1; color: var(--f-muted); font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.sbk-flow-summary__main { overflow: hidden; color: var(--f-navy); font-size: .9375rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.sbk-flow-summary__total { color: var(--f-navy); font-size: .9375rem; font-weight: 800; white-space: nowrap; }
.sbk-flow-summary__total small { color: var(--f-text-2); font-size: .75rem; font-weight: 600; }
.sbk-flow-summary__lines { display: grid; gap: 8px; margin: 0; padding: 4px 16px 0; list-style: none; border-top: 1px solid var(--f-line); }
.sbk-flow-summary__lines li { display: flex; justify-content: space-between; gap: 12px; padding-top: 8px; color: var(--f-text); font-size: .875rem; }
.sbk-flow-summary__lines li span:last-child { white-space: nowrap; font-weight: 700; }
.sbk-flow-summary__totals { margin: 10px 16px 0; color: var(--f-text-2); font-size: .875rem; }
.sbk-flow-summary__totals strong { color: var(--f-navy); }
.sbk-flow-summary__edit { margin: 6px 16px 12px; font-size: .875rem; }
.sbk-flow-summary__edit a { color: var(--f-blue-dark); font-weight: 700; }

/* -----------------------------------------------------------------------------
   Aanvraag bevestigd
   ----------------------------------------------------------------------------- */
.sbk-success { text-align: center; }
.sbk-success__check {
	display: grid;
	place-items: center;
	width: 64px; height: 64px;
	margin: 4px auto 12px;
	border-radius: 50%;
	background: var(--f-green);
	color: #fff;
}
.sbk-success__check svg { width: 32px; height: 32px; }
.sbk-success .sbk-flow__title { margin-bottom: 8px; }
.sbk-success__next { margin: 0 auto 18px; max-width: 30em; color: var(--f-text-2); font-size: 1rem; line-height: 1.5; }
.sbk-success__later { margin: 12px 0 0; color: var(--f-text-2); font-size: .875rem; line-height: 1.5; }
.sbk-success__actions { display: grid; gap: 10px; max-width: 420px; margin: 0 auto; }
.sbk-success .sbk-journey, .sbk-success .sbk-disclosure { text-align: left; }
.sbk-confetti { position: fixed; inset: 0; z-index: 9999; width: 100%; height: 100%; pointer-events: none; }

/* -----------------------------------------------------------------------------
   Persoonlijk portaal
   ----------------------------------------------------------------------------- */
.sbk-portal__ref { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--f-text-2); font-size: .875rem; }
.sbk-portal__ref strong { color: var(--f-navy); }
.sbk-portal__copy { min-height: 32px; padding: 0 10px; border: 1px solid var(--f-line); border-radius: 999px; background: #fff; color: var(--f-blue-dark); font: inherit; font-size: .8125rem; font-weight: 700; cursor: pointer; }

.sbk-now { border-left: 4px solid var(--f-blue); }
.sbk-now__eyebrow { margin: 0 0 4px; color: var(--f-blue-dark); font-size: .75rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.sbk-now__who { margin: 10px 0 0; color: var(--f-text-2); font-size: .875rem; }
.sbk-now .sbk-btn { margin-top: 14px; }
.sbk-now--done { border-left-color: var(--f-green); }
.sbk-checkline { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; color: #15803d; font-weight: 800; }
.sbk-checkline svg { flex: 0 0 20px; width: 20px; height: 20px; }

.sbk-photos__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; margin-bottom: 4px; }
.sbk-photos__count { color: var(--f-text-2); font-size: .875rem; font-weight: 700; }
.sbk-photos__bar { height: 6px; margin: 8px 0 14px; border-radius: 999px; background: #e7edf5; overflow: hidden; }
.sbk-photos__bar > span { display: block; height: 100%; border-radius: inherit; background: var(--f-green); transition: width .3s ease; }
.sbk-photo {
	margin-top: 10px;
	border: 1px solid var(--f-line);
	border-radius: var(--f-radius-sm);
	background: #fff;
}
.sbk-photo > summary {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 2px 12px;
	align-items: center;
	padding: 12px;
	list-style: none;
	cursor: pointer;
}
.sbk-photo > summary::-webkit-details-marker { display: none; }
.sbk-photo > summary:focus-visible { outline: 3px solid rgba(0, 98, 227, .45); outline-offset: -3px; border-radius: var(--f-radius-sm); }
.sbk-photo__name { display: block; margin: 0; color: var(--f-navy); font-size: .9375rem; font-weight: 700; line-height: 1.3; }
.sbk-photo__hint { display: block; margin: 0; color: var(--f-text-2); font-size: .8125rem; line-height: 1.4; }
.sbk-photo__badge { grid-column: 2; grid-row: 1 / span 2; padding: 4px 10px; border-radius: 999px; background: #fff4d6; color: #7a5600; font-size: .75rem; font-weight: 800; white-space: nowrap; }
.sbk-photo.is-received .sbk-photo__badge { background: var(--f-green-soft); color: #15803d; }
.sbk-photo.is-rejected .sbk-photo__badge { background: var(--f-red-soft); color: #8a1c1c; }
.sbk-photo__body { padding: 0 12px 12px; }
.sbk-photo__reason { margin: 0 0 10px; padding: 10px 12px; border-radius: 10px; background: var(--f-red-soft); color: #8a1c1c; font-size: .875rem; }
.sbk-photo__form { display: grid; gap: 8px; margin: 0; }
.sbk-photo__input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.sbk-photo__picker {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 52px;
	padding: 0 16px;
	border: 1.5px dashed #9cc0f0;
	border-radius: var(--f-radius-sm);
	background: var(--f-sky);
	color: var(--f-blue-dark);
	font-weight: 800;
	cursor: pointer;
}
.sbk-photo__input:focus-visible + .sbk-photo__picker { outline: 3px solid rgba(0, 98, 227, .45); outline-offset: 2px; }
.sbk-photo__picker svg { width: 22px; height: 22px; }
.sbk-photo__files { margin: 0; color: var(--f-text-2); font-size: .8125rem; word-break: break-word; }
.sbk-photo__files[hidden] { display: none; }
.sbk-photo__progress { height: 6px; border-radius: 999px; background: #e7edf5; overflow: hidden; }
.sbk-photo__progress[hidden] { display: none; }
.sbk-photo__progress > span { display: block; width: 0; height: 100%; background: var(--f-blue); transition: width .2s ease; }
.sbk-photo__msg { margin: 0; font-size: .875rem; }
.sbk-photo__msg[hidden] { display: none; }
.sbk-photo__msg.is-error { color: #8a1c1c; font-weight: 700; }
.sbk-photo__msg.is-success { color: #15803d; font-weight: 700; }
.sbk-photos__fine { margin: 12px 0 0; color: var(--f-muted); font-size: .8125rem; line-height: 1.45; }
.sbk-photos__done[hidden] { display: none; }

.sbk-docs { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sbk-docs li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--f-line); }
.sbk-docs li:first-child { border-top: 0; }
.sbk-docs strong { display: block; color: var(--f-navy); font-size: .9375rem; }
.sbk-docs span { color: var(--f-text-2); font-size: .8125rem; }
.sbk-docs a { flex: 0 0 auto; }

.sbk-contact-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.sbk-contact-row a { display: grid; place-items: center; min-height: 48px; border: 1px solid var(--f-line); border-radius: var(--f-radius-sm); color: var(--f-blue-dark); font-size: .875rem; font-weight: 800; text-decoration: none; }

.sbk-quote-lines { display: grid; gap: 0; margin: 0 0 12px; padding: 0; list-style: none; }
.sbk-quote-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--f-line); font-size: .9375rem; }
.sbk-quote-lines li:first-child { border-top: 0; }
.sbk-quote-lines span:last-child { font-weight: 700; white-space: nowrap; }
.sbk-quote-total { margin: 0; color: var(--f-navy); font-size: 1rem; }
.sbk-quote-total strong { font-size: 1.15rem; }

.sbk-portal__lost { margin: 18px 0 0; color: var(--f-text-2); font-size: .875rem; text-align: center; }

/* -----------------------------------------------------------------------------
   Gegevens (WooCommerce Blocks checkout) — presentation only.
   Fields, validation and submission stay WooCommerce's own.
   ----------------------------------------------------------------------------- */
.sbk-checkout .wc-block-checkout { margin: 0; }
/* WooCommerce adds 2 x 32px above the form; the milestones already separate it. */
.sbk-checkout .wp-block-woocommerce-checkout,
.sbk-checkout .wc-block-components-sidebar-layout { padding-top: 0 !important; }
.sbk-checkout .wc-block-components-checkout-step {
	margin: 0 0 12px !important;
	padding: 16px !important;
	border: 1px solid var(--f-line);
	border-radius: var(--f-radius);
	background: #fff;
}
.sbk-checkout .wc-block-components-checkout-step__heading { margin: 0 0 8px !important; }
.sbk-checkout .wc-block-components-checkout-step__title { color: var(--f-navy); font-family: var(--f-display); font-size: 1.125rem !important; font-weight: 700; }
.sbk-checkout .wc-block-components-checkout-step__container::after,
.sbk-checkout .wc-block-components-checkout-step::after { display: none !important; }
.sbk-checkout .wc-block-components-checkout-step__description { color: var(--f-text-2); font-size: .875rem; }
.sbk-checkout .wc-block-components-text-input input,
.sbk-checkout .wc-block-components-text-input textarea,
.sbk-checkout .wc-block-components-combobox .components-combobox-control input,
.sbk-checkout .wc-blocks-components-select select,
.sbk-checkout .wc-block-components-textarea {
	min-height: 52px;
	border: 1.5px solid #c9d4e2 !important;
	border-radius: var(--f-radius-sm) !important;
	background: #fff !important;
	color: var(--f-navy) !important;
	font-size: 16px !important; /* No iOS zoom on focus. */
}
/* Room for WooCommerce's floating label above the value (border-box sizing in the flow pages). */
.sbk-checkout .wc-block-components-text-input input { height: auto !important; min-height: 58px; line-height: 1.5 !important; }
.sbk-checkout .wc-block-components-text-input input:focus,
.sbk-checkout .wc-block-components-textarea:focus { border-color: var(--f-blue) !important; box-shadow: 0 0 0 3px rgba(0, 98, 227, .18) !important; }
.sbk-checkout .wc-block-components-text-input.has-error input { border-color: var(--f-red) !important; }
.sbk-checkout .wc-block-components-validation-error { color: var(--f-red); font-size: .8125rem; font-weight: 600; }
.sbk-checkout .wc-block-components-checkout-place-order-button {
	min-height: 56px !important;
	border: 0 !important;
	border-radius: var(--f-radius) !important;
	background: var(--f-yellow) !important;
	color: var(--f-navy) !important;
	font-size: 1.0625rem !important;
	font-weight: 800 !important;
	box-shadow: none !important;
}
.sbk-checkout .wc-block-components-checkout-place-order-button:hover { background: var(--f-yellow-hover) !important; }
.sbk-checkout .wc-block-components-checkout-return-to-cart-button { color: var(--f-text-2); font-size: .875rem; }
.sbk-checkout .wc-block-checkout__actions_row { flex-wrap: wrap; }
.sbk-checkout .sbk-reassure--checkout { flex: 1 0 100%; order: 3; }
.sbk-checkout .wc-block-checkout__sidebar .wc-block-components-panel,
.sbk-checkout .wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block {
	border: 1px solid var(--f-line);
	border-radius: var(--f-radius);
	background: #fff;
}
/* One column; the compact package summary above the form replaces WooCommerce's long sidebar. */
.sbk-checkout .wc-block-components-sidebar-layout { flex-direction: column; margin: 0 !important; }
.sbk-checkout .wc-block-components-main { width: 100% !important; padding: 0 !important; }
.sbk-checkout .wc-block-checkout__sidebar,
.sbk-checkout .wc-block-components-sidebar,
.sbk-checkout .checkout-order-summary-block-fill-wrapper { display: none !important; }
@media (max-width: 599px) {
	.sbk-checkout .wc-block-components-address-form { display: grid !important; grid-template-columns: 1fr; gap: 0 12px; }
	.sbk-checkout .wc-block-components-address-form > * { width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }
}
.sbk-checkout__after { margin-top: 16px; }

/* Gegevens: one card. "Contactgegevens" = e-mail (contact block) + name and phone
   (first fields of the address block); then "Adres". Visual only: WooCommerce's
   fields, names and order of focus stay its own (order set via country locale). */
.sbk-journey__details[open] .sbk-journey__mini { display: none; }
.sbk-checkout #contact-fields { margin-bottom: 0 !important; padding-bottom: 0 !important; border-bottom: 0; border-radius: var(--f-radius) var(--f-radius) 0 0; }
.sbk-checkout #billing-fields { padding-top: 0 !important; border-top: 0; border-radius: 0 0 var(--f-radius) var(--f-radius); }
.sbk-checkout #billing-fields .wc-block-components-checkout-step__heading-container { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sbk-checkout #billing-fields .wc-block-components-checkout-step__content { padding-top: 0; }
.sbk-checkout #wc-guest-checkout-notice { display: none; }
.sbk-checkout #contact .wc-block-components-address-form__email { margin-bottom: 12px; }
.sbk-checkout #billing .wc-block-components-address-form__phone::after {
	content: "Adres";
	display: block;
	margin: 22px 0 0;
	padding: 18px 0 0;
	border-top: 1px solid var(--f-line);
	color: var(--f-navy);
	font-family: var(--f-display);
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.3;
}
.sbk-checkout #billing .wc-block-components-address-form__phone { padding-bottom: 14px; }
@media (min-width: 900px) {
	.sbk-checkout .wc-block-components-checkout-step { padding: 20px 22px !important; }
	.sbk-checkout #contact-fields { padding-bottom: 0 !important; }
	.sbk-checkout #billing-fields { padding-top: 0 !important; }
}

/* Phones: price under the name so long package names keep their width. */
@media (max-width: 599px) {
	.sbk-line { grid-template-columns: 56px minmax(0, 1fr); }
	.sbk-line__thumb { grid-row: span 3; }
	.sbk-line__price { grid-column: 2; grid-row: auto; text-align: left; }
	.sbk-line__price strong { display: inline; }
	.sbk-line__price small { display: inline; margin-left: 6px; }
	.sbk-line__price small + small { display: block; margin-left: 0; }
	.sbk-line__controls { grid-column: 2; }
}
.sbk-photo__saved { margin: 0 0 10px; color: var(--f-text-2); font-size: .8125rem; word-break: break-word; }
.sbk-photo__saved[hidden] { display: none; }
.sbk-photo__saved span { color: var(--f-navy); font-weight: 600; }

/* Sticky bar: one-line button text down to 360px. */
.sbk-sticky .sbk-btn { padding: 0 14px; font-size: .9375rem; white-space: nowrap; }
.sbk-sticky__total { flex: 0 0 auto; }
@media (max-width: 374px) { .sbk-sticky { gap: 8px; } .sbk-sticky__total strong { font-size: 1rem; } }

@media (prefers-reduced-motion: reduce) {
	.sbk-flow *, .sbk-flow *::before, .sbk-flow *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Btw-teruggave checkout prompt (offerteoverzicht) ---------- */
.sbk-vat-modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.sbk-vat-modal[hidden] { display: none; }
.sbk-vat-modal__backdrop { position: absolute; inset: 0; background: rgba(13, 31, 45, .5); animation: sbk-fade .16s ease; }
.sbk-vat-modal__panel { position: relative; width: min(440px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 24px 20px 20px; border-radius: 18px; background: #fff; box-shadow: 0 24px 60px rgba(13, 31, 45, .28); animation: sbk-pop .18s ease; }
.sbk-vat-modal__panel h2 { margin: 0 0 8px; padding-right: 40px; color: var(--f-text); font-size: 1.15rem; line-height: 1.3; }
.sbk-vat-modal__panel p { margin: 0 0 14px; color: var(--f-text-2); font-size: .9rem; line-height: 1.55; }
.sbk-vat-modal__panel .sbk-vat-modal__product { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid #e4eaf2; border-radius: 12px; background: var(--f-cream); }
.sbk-vat-modal__product strong { color: var(--f-text); font-size: .9rem; }
.sbk-vat-modal__product span { color: var(--f-text); font-weight: 700; text-align: right; }
.sbk-vat-modal__actions { display: grid; gap: 10px; margin-top: 16px; }
.sbk-vat-modal__actions form { margin: 0; }
.sbk-vat-modal__close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 10px; background: none; color: var(--f-muted); cursor: pointer; }
.sbk-vat-modal__close:hover, .sbk-vat-modal__close:focus-visible { background: #f1f5f9; color: var(--f-text); }
html.sbk-modal-open, html.sbk-modal-open body { overflow: hidden; }
@keyframes sbk-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sbk-pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }

/* Portal: documents box above the photos; photo-complete notice on two lines. */
.sbk-docs-box + .sbk-card { margin-top: 12px; }
.sbk-docs__note { margin: 10px 0 0; color: var(--f-text-2); font-size: .8125rem; }
.sbk-photos__done strong, .sbk-photos__done span { display: block; }

/* Photo step: existing inverter (same card as the photo items; optional). */
.sbk-inverter { display: grid; gap: 6px; padding: 12px; }
.sbk-inverter__select,
.sbk-inverter__other input {
	width: 100%;
	min-height: 48px;
	margin-top: 4px;
	padding: 0 12px;
	border: 1.5px solid #c9d4e2;
	border-radius: var(--f-radius-sm);
	background: #fff;
	color: var(--f-navy);
	font: inherit;
	font-size: 16px;
}
.sbk-inverter__select:focus,
.sbk-inverter__other input:focus { border-color: var(--f-blue); outline: 0; box-shadow: 0 0 0 3px rgba(0, 98, 227, .18); }
.sbk-inverter__other { display: grid; gap: 2px; margin-top: 4px; }
.sbk-inverter__other[hidden] { display: none; }
.sbk-inverter__other label { color: var(--f-text-2); font-size: .8125rem; font-weight: 600; }

/* Photo step as 2×2 tiles (design 2026-10-25): icon, status, title, hint, previews, picker. */
.sbk-photos__lead { margin: 6px 0 2px; color: var(--f-text); font-size: .9375rem; line-height: 1.45; }
.sbk-photos__tip { margin: 0 0 12px; color: var(--f-muted); font-size: .8125rem; }
.sbk-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.sbk-tile.sbk-photo { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 12px; border-radius: 14px; }
.sbk-tile__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; margin-bottom: 4px; }
.sbk-tile__icon { display: grid; place-items: center; flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; background: var(--f-sky); color: var(--f-blue-dark); }
.sbk-tile__icon svg { width: 28px; height: 28px; }
.sbk-tile .sbk-photo__badge { padding: 3px 9px; font-size: .6875rem; }
.sbk-tile__name { margin: 0; color: var(--f-navy); font-size: .9375rem; font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; }
.sbk-tile__hint { flex: 1 0 auto; margin: 0; color: var(--f-text-2); font-size: .8125rem; line-height: 1.4; }
.sbk-tile .sbk-photo__reason { margin: 2px 0; padding: 8px 10px; font-size: .8125rem; }
.sbk-tile .sbk-photo__form { gap: 6px; margin-top: 4px; }
.sbk-tile .sbk-photo__picker { min-height: 44px; padding: 0 10px; font-size: .875rem; }
.sbk-tile .sbk-photo__picker svg { width: 18px; height: 18px; }
.sbk-tile .sbk-photo__msg { font-size: .8125rem; }

/* Thumbnails: sent (tap = full size) and chosen-not-yet-sent (× removes). */
.sbk-tile__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 6px; margin-top: 2px; }
.sbk-tile__thumbs[hidden] { display: none; }
.sbk-thumb { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 8px; background: #eef2f7; }
.sbk-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sbk-thumb.is-sent { outline: 2px solid #bbe5c8; outline-offset: -2px; }
.sbk-thumb.is-pending { outline: 2px dashed #9cc0f0; outline-offset: -2px; }
.sbk-thumb__name { display: grid; place-items: center; height: 100%; padding: 4px; color: var(--f-text-2); font-size: .625rem; line-height: 1.2; text-align: center; overflow-wrap: anywhere; }
.sbk-thumb__remove { position: absolute; top: 2px; right: 2px; display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: rgba(13, 31, 45, .72); color: #fff; font-size: 16px; line-height: 1; cursor: pointer; }
.sbk-thumb__remove:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }

.sbk-photos__send { margin-top: 14px; }
.sbk-photos__send-msg { margin-top: 8px; text-align: center; }
.sbk-photos__later { display: block; min-height: 44px; margin: 4px auto 0; padding: 0 12px; border: 0; background: none; color: var(--f-blue-dark); font: inherit; font-size: .9375rem; font-weight: 700; cursor: pointer; }
.sbk-photos__later-note { margin: 0 0 4px; color: var(--f-text-2); font-size: .8125rem; text-align: center; }
.sbk-photos__later-note[hidden] { display: none; }
.sbk-inverter { margin-top: 12px; }
@media (max-width: 359px) {
	.sbk-tiles { grid-template-columns: minmax(0, 1fr); }
}
