/**
 * MEDonline MEDstudio Offerte - frontend styling.
 * House style taken from medonline.nl/medstudio.
 */

.mso-overlay,
.mso-trigger-wrap,
.mso-float {
	--mso-navy: #0e233e;
	--mso-navy-soft: #183a68;
	--mso-header-bg: #ffedd7;
	--mso-header-fg: #0e233e;
	--mso-ink: #221e34;
	--mso-red: #ff8e06;
	--mso-red-dark: #e07a00;
	--mso-orange: #ff8e06;
	--mso-cream: #f5f4f0;
	--mso-line: #e6e3dc;
	--mso-muted: #6c6c7d;
	--mso-white: #fff;
	/* Text on the accent-coloured buttons; set under Uitstraling > Kleuren. */
	--mso-button-fg: #fff;
	--mso-radius: 18px;
	--mso-font-size-base: 16px;
	--mso-logo-height: 30px;
	--mso-font: "Museo Sans Rounded", "Museo Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------------------------------------------------------------- trigger */

.mso-trigger-wrap {
	display: flex;
	margin: 0;
}

.mso-align-left { justify-content: flex-start; }
.mso-align-center { justify-content: center; }
.mso-align-right { justify-content: flex-end; }


.mso-trigger {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 14px 26px;
	border: 0;
	border-radius: 999px;
	background: var(--mso-red);
	color: var(--mso-button-fg);
	font-family: var(--mso-font);
	font-size: var(--mso-font-size-base);
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
	box-shadow: 0 6px 18px color-mix(in srgb, var(--mso-red) 22%, transparent);
}

.mso-trigger:visited { color: var(--mso-button-fg); }


.mso-trigger:hover,
.mso-trigger:focus-visible {
	background: var(--mso-red-dark);
	color: var(--mso-button-fg);
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow: 0 10px 24px color-mix(in srgb, var(--mso-red) 28%, transparent);
}

/* Themes and ACSS draw a rectangular outline around focused links; the pill
   gets its own ring instead, only for keyboard focus. */
.mso-trigger:focus,
.mso-float__btn:focus {
	outline: none !important; /* theme and ACSS focus outlines, whatever their specificity */
	-webkit-tap-highlight-color: transparent;
}

.medstudio-offerte-trigger:focus,
.medstudio-offerte-trigger:focus-visible,
.medstudio-offerte-trigger:active {
	outline: none !important;
	outline-offset: 0 !important;
}

.mso-trigger,
.mso-trigger:focus,
.mso-trigger:active,
.mso-float__btn,
.mso-float__btn:focus,
.mso-float__btn:active {
	border-radius: 999px !important;
}

.mso-trigger:focus-visible {
	box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--mso-red);
}


/* Icon in front of the label: mark image, calculator, dot or nothing. */
.mso-trigger__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
}

.mso-trigger__icon--dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--mso-orange);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--mso-orange) 28%, transparent);
}

.mso-trigger__icon--img {
	width: 28px;
	height: 28px;
	margin: -6px 0 -6px -10px;
	border-radius: 50%;
	overflow: hidden;
}

.mso-trigger__icon--img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mso-trigger__icon--svg svg {
	display: block;
	width: 20px;
	height: 20px;
}

.mso-trigger--link {
	background: transparent;
	color: var(--mso-red);
	padding: 6px 0;
	box-shadow: none;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.mso-trigger--link:hover,
.mso-trigger--link:focus-visible {
	background: transparent;
	color: var(--mso-red-dark);
	box-shadow: none;
}

.mso-trigger--link:focus-visible { outline: 2px solid var(--mso-red); outline-offset: 3px; }

/* ---------------------------------------------------------------- overlay */

.mso-overlay[hidden] { display: none; }

.mso-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	font-family: var(--mso-font);
	color: var(--mso-ink);
	-webkit-font-smoothing: antialiased;
}

.mso-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(10, 22, 40, .72);
	backdrop-filter: blur(3px);
	animation: mso-fade .22s ease;
}

.mso-dialog {
	position: relative;
	z-index: 1;
	font-size: var(--mso-font-size-base);
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 1060px;
	max-height: calc(100vh - 48px);
	background: var(--mso-white);
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 30px 80px rgba(3, 12, 25, .45);
	animation: mso-pop .26s cubic-bezier(.2, .8, .3, 1);
}

@keyframes mso-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes mso-pop {
	from { opacity: 0; transform: translateY(16px) scale(.985); }
	to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.mso-backdrop, .mso-dialog { animation: none; }
}


.mso-close {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: color-mix(in srgb, var(--mso-header-fg) 14%, transparent);
	color: var(--mso-header-fg);
	line-height: 1;
	cursor: pointer;
	transition: background .18s ease;
}

.mso-close svg { display: block; }

.mso-close:hover,
.mso-close:focus-visible { background: color-mix(in srgb, var(--mso-header-fg) 28%, transparent); }

/* ----------------------------------------------------------------- header */

.mso-header {
	flex: none;
	padding: 26px 32px 0;
	background: var(--mso-header-bg);
	color: var(--mso-header-fg);
}

.mso-dialog.is-done .mso-header { padding-bottom: 24px; }
.mso-dialog.is-done .mso-title { margin-bottom: 0; }

.mso-brand {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 14px;
}

.mso-brand__logo { height: var(--mso-logo-height); width: auto; display: block; }

.mso-brand__mark {
	display: block;
	width: var(--mso-logo-height);
	height: var(--mso-logo-height);
	border-radius: 50%;
	object-fit: cover;
}

.mso-brand__dot {
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: var(--mso-orange);
	box-shadow: 0 0 0 5px rgba(255, 142, 6, .22), 0 0 18px rgba(255, 142, 6, .7);
}

/* Like the logo: first part ("med") bold, second part ("studio") light. */
.mso-brand__word {
	font-size: 1.1875em;
	font-weight: 300;
	letter-spacing: .3px;
	color: var(--mso-header-fg);
}

.mso-brand__word span { font-weight: 700; }

.mso-title {
	margin: 0 0 6px;
	font-family: var(--mso-font);
	font-size: 1.625em;
	font-weight: 600;
	line-height: 1.25;
	color: var(--mso-header-fg);
}

.mso-intro {
	margin: 0;
	max-width: 62ch;
	font-size: .9375em;
	line-height: 1.6;
	color: color-mix(in srgb, var(--mso-header-fg) 78%, transparent);
}

.mso-steps[hidden],
.mso-intro[hidden] { display: none; }

.mso-steps {
	display: flex;
	gap: 4px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
}

.mso-steps::-webkit-scrollbar { display: none; }


.mso-steps__item {
	flex: 1 1 0;
	min-width: 120px;
	border-bottom: 3px solid color-mix(in srgb, var(--mso-header-fg) 18%, transparent);
	font-size: .875em;
	color: color-mix(in srgb, var(--mso-header-fg) 62%, transparent);
	white-space: nowrap;
	transition: color .2s ease, border-color .2s ease;
}

/* The whole tab is a button: back to an earlier step, forward to a step already
   reached. Disabled (not yet reached) tabs look like plain labels. */
.mso-steps__btn {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	margin: 0;
	padding: 12px 14px;
	border: 0;
	border-radius: 6px 6px 0 0;
	background: none;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: default;
	-webkit-tap-highlight-color: transparent;
}

.mso-steps__item.is-done .mso-steps__btn,
.mso-steps__item.is-reachable .mso-steps__btn { cursor: pointer; }

.mso-steps__item.is-done .mso-steps__btn:hover,
.mso-steps__item.is-reachable .mso-steps__btn:hover { color: var(--mso-header-fg); }

.mso-steps__btn:focus-visible {
	outline: 2px solid var(--mso-header-fg);
	outline-offset: -2px;
}

.mso-steps__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	flex: none;
	border-radius: 50%;
	background: color-mix(in srgb, var(--mso-header-fg) 12%, transparent);
	font-size: calc(12em / 14);
	font-weight: 700;
}

.mso-steps__item.is-active {
	color: var(--mso-header-fg);
	border-bottom-color: var(--mso-red);
}

.mso-steps__item.is-active .mso-steps__num {
	background: var(--mso-header-fg);
	color: var(--mso-header-bg);
}

.mso-steps__item.is-done { color: color-mix(in srgb, var(--mso-header-fg) 85%, transparent); }

.mso-steps__item.is-done .mso-steps__num {
	background: color-mix(in srgb, var(--mso-header-fg) 22%, transparent);
	color: var(--mso-header-fg);
}

/* ------------------------------------------------------------------- body */

.mso-body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	flex: 1 1 auto;
	min-height: 0;
	overflow: hidden;
}

.mso-main {
	overflow-y: auto;
	padding: 28px 32px 32px;
	background: #fff;
}

/* On the success screen the summary column is gone, so the grid collapses
   to one column and the thank-you content centres in the full width. */
.mso-dialog.is-done .mso-body { grid-template-columns: minmax(0, 1fr); }

.mso-step { display: none; }
.mso-step.is-active { display: block; animation: mso-slide .24s ease; }

@keyframes mso-slide {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.mso-step.is-active { animation: none; }
}

.mso-step__title {
	margin: 0 0 6px;
	font-family: var(--mso-font);
	font-size: 1.3125em;
	font-weight: 600;
	line-height: 1.3;
	color: var(--mso-navy);
}

.mso-step__sub {
	margin: 0 0 20px;
	font-size: .9375em;
	line-height: 1.6;
	color: var(--mso-muted);
}

/* ---------------------------------------------------------------- options */

.mso-options {
	display: grid;
	gap: 12px;
}

.mso-option {
	position: relative;
	border: 2px solid var(--mso-line);
	border-radius: 14px;
	background: #fff;
	transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.mso-option:hover { border-color: #cfd6df; }


.mso-option.is-selected {
	border-color: var(--mso-red);
	background: color-mix(in srgb, var(--mso-red) 6%, #fff);
	box-shadow: 0 6px 20px color-mix(in srgb, var(--mso-red) 12%, transparent);
}

.mso-option.is-recommended { border-color: rgba(255, 142, 6, .55); }
.mso-option.is-recommended.is-selected { border-color: var(--mso-red); }

.mso-option__badge {
	position: absolute;
	top: -11px;
	left: 18px;
	padding: 3px 11px;
	border-radius: 999px;
	background: var(--mso-orange);
	color: #2a1a00;
	font-size: .6875em;
	font-weight: 700;
	letter-spacing: .4px;
	text-transform: uppercase;
	box-shadow: 0 3px 10px rgba(255, 142, 6, .4);
}

.mso-option__main {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 18px 18px;
	margin: 0;
	cursor: pointer;
}

.mso-option__main input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	margin: 0;
	pointer-events: none;
}

.mso-option__mark {
	flex: none;
	width: 22px;
	height: 22px;
	margin-top: 2px;
	border: 2px solid #c8ccd4;
	border-radius: 6px;
	background: #fff;
	transition: border-color .18s ease, background .18s ease;
	position: relative;
}

.mso-option[data-input="radio"] .mso-option__mark { border-radius: 50%; }

.mso-option.is-selected .mso-option__mark {
	border-color: var(--mso-red);
	background: var(--mso-red);
}


/* Check mark: an SVG mask, centred with inset/margin so it can never sit off-axis. */
.mso-option.is-selected .mso-option__mark::after {
	content: "";
	position: absolute;
	inset: 0;
	width: 14px;
	height: 14px;
	margin: auto;
	background: #fff;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / contain no-repeat;
}


.mso-option[data-input="radio"].is-selected .mso-option__mark::after {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #fff;
	-webkit-mask: none;
	mask: none;
}


.mso-option__main input:focus-visible + .mso-option__mark {
	outline: 3px solid color-mix(in srgb, var(--mso-red) 35%, transparent);
	outline-offset: 2px;
}

.mso-option__text {
	flex: 1 1 auto;
	min-width: 0;
}

.mso-option__label {
	display: block;
	font-size: 1em;
	font-weight: 600;
	line-height: 1.35;
	color: var(--mso-ink);
}

.mso-option__desc {
	display: block;
	margin-top: 3px;
	font-size: .84375em;
	line-height: 1.55;
	color: var(--mso-muted);
}

.mso-option__price {
	flex: none;
	padding-left: 8px;
	font-size: 1em;
	font-weight: 700;
	color: var(--mso-navy);
	white-space: nowrap;
	text-align: right;
}

.mso-option__unit {
	display: block;
	font-size: .75em;
	font-weight: 500;
	color: var(--mso-muted);
}

/* quantity stepper */

.mso-qty {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 18px 16px 54px;
	padding: 10px 14px;
	border-radius: 10px;
	background: var(--mso-cream);
}

.mso-qty[hidden] { display: none; }

.mso-qty__label {
	font-size: .84375em;
	font-weight: 600;
	color: var(--mso-navy);
}


.mso-qty__control {
	display: flex;
	align-items: center;
	gap: 6px;
}


.mso-qty__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 1px solid #d8d4ca;
	border-radius: 8px;
	background: #fff;
	color: var(--mso-navy);
	font-family: var(--mso-font);
	font-size: 1.0625em;
	line-height: 1;
	cursor: pointer;
	transition: border-color .15s ease, color .15s ease;
}

.mso-qty__btn:hover { border-color: var(--mso-red); color: var(--mso-red); }


.mso-qty__input {
	width: 62px;
	height: 32px;
	padding: 0 6px;
	border: 1px solid #d8d4ca;
	border-radius: 8px;
	background: #fff;
	font-family: var(--mso-font);
	font-size: .875em;
	font-weight: 600;
	line-height: 30px;
	text-align: center;
	color: var(--mso-ink);
	box-sizing: border-box;
	-moz-appearance: textfield;
	appearance: textfield;
}

.mso-qty__input::-webkit-outer-spin-button,
.mso-qty__input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.mso-qty__input:focus {
	outline: none;
	border-color: var(--mso-red);
}

/* dependent subgroup */

.mso-subgroup {
	margin-top: 22px;
	padding-top: 20px;
	border-top: 1px dashed var(--mso-line);
}

.mso-subgroup[hidden] { display: none; }

.mso-subgroup__title {
	margin: 0 0 4px;
	font-size: 1em;
	font-weight: 700;
	color: var(--mso-navy);
}

/* included list */

.mso-included {
	margin-top: 24px;
	padding: 18px 20px;
	border-radius: 14px;
	background: var(--mso-cream);
}

.mso-included h4 {
	margin: 0 0 10px;
	font-size: .875em;
	font-weight: 700;
	letter-spacing: .3px;
	text-transform: uppercase;
	color: var(--mso-navy);
}

.mso-included ul {
	display: grid;
	gap: 7px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mso-included li {
	position: relative;
	padding-left: 24px;
	font-size: .875em;
	line-height: 1.55;
	color: #4a4a59;
}


.mso-included li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .2em;
	width: 15px;
	height: 15px;
	background: var(--mso-orange);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------------------------------------------------------------- summary */

.mso-summary[hidden] { display: none; }

.mso-summary {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 26px 26px 28px;
	background: var(--mso-cream);
	border-left: 1px solid var(--mso-line);
	overflow-y: auto;
}

.mso-summary__title {
	margin: 0;
	font-size: .8125em;
	font-weight: 700;
	letter-spacing: .5px;
	text-transform: uppercase;
	color: var(--mso-navy);
}

.mso-summary__lines {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 9px;
}

.mso-summary__lines li {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	font-size: .875em;
	line-height: 1.45;
	color: #4a4a59;
}

.mso-summary__lines li span:last-child {
	font-weight: 600;
	color: var(--mso-ink);
	white-space: nowrap;
}

.mso-summary__lines li.is-empty {
	color: var(--mso-muted);
	font-style: italic;
}

.mso-summary__lines li.is-pm {
	padding-top: 9px;
	border-top: 1px dashed #d8d4ca;
}

.mso-summary__note {
	margin: 0;
	font-size: .78125em;
	line-height: 1.55;
	color: var(--mso-muted);
}

.mso-summary__note[hidden] { display: none; }

.mso-summary__total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	margin-top: auto;
	padding-top: 14px;
	border-top: 2px solid var(--mso-navy);
	font-size: .875em;
	font-weight: 600;
	color: var(--mso-navy);
}

.mso-summary__total strong {
	font-size: calc(24em / 14);
	font-weight: 700;
	color: var(--mso-red);
	white-space: nowrap;
}

.mso-summary__vat {
	margin: 0;
	font-size: .75em;
	color: var(--mso-muted);
}

.mso-disclaimer {
	display: flex;
	gap: 10px;
	padding: 12px 14px;
	border-radius: 10px;
	background: color-mix(in srgb, var(--mso-orange) 12%, transparent);
}

.mso-disclaimer p {
	margin: 0;
	font-size: .78125em;
	line-height: 1.55;
	color: #5a4a33;
}

.mso-disclaimer__icon {
	flex: none;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--mso-orange);
	color: #fff;
	font-size: .75em;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
}

.mso-disclaimer--inline {
	margin: 0 0 22px;
	background: color-mix(in srgb, var(--mso-orange) 10%, transparent);
}

.mso-disclaimer--inline p { font-size: .84375em; }

/* ------------------------------------------------------------------ recap */

/* Step 4 repeats the side column's breakdown; with the column in view (wide
   screens) that copy is hidden. The success screen keeps its own recap. */
@media (min-width: 981px) {
	.mso-step[data-step="4"] [data-mso-recap] { display: none; }
}

.mso-recap {
	margin: 0 0 22px;
	padding: 18px 20px;
	border-radius: 14px;
	border: 1px solid var(--mso-line);
	background: #fff;
}

.mso-recap table { width: 100%; border-collapse: collapse; }

.mso-recap td {
	padding: 9px 0;
	border-bottom: 1px solid var(--mso-line);
	font-size: .90625em;
	line-height: 1.45;
	color: #41414f;
	vertical-align: top;
}

.mso-recap__amount {
	text-align: right;
	white-space: nowrap;
	font-weight: 600;
	color: var(--mso-ink);
}

.mso-recap__meta { color: var(--mso-muted); font-size: calc(13em / 14.5); }

.mso-recap__total td {
	padding-top: 14px;
	border-bottom: 0;
	font-size: 1em;
	font-weight: 700;
	color: var(--mso-navy);
}

.mso-recap__total .mso-recap__amount {
	font-size: 1.3125em;
	color: var(--mso-red);
}

/* ------------------------------------------------------------------- form */

.mso-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

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

.mso-field__label {
	font-size: .84375em;
	font-weight: 600;
	color: var(--mso-navy);
}

.mso-req { color: var(--mso-red); }

.mso-field input,
.mso-field textarea {
	width: 100%;
	padding: 11px 14px;
	border: 2px solid var(--mso-line);
	border-radius: 10px;
	background: #fff;
	font-family: var(--mso-font);
	font-size: .9375em;
	color: var(--mso-ink);
	transition: border-color .16s ease;
	box-sizing: border-box;
}

.mso-field input:focus,
.mso-field textarea:focus {
	outline: none;
	border-color: var(--mso-red);
}

.mso-field.has-error input,
.mso-field.has-error textarea { border-color: var(--mso-red); background: #fff6f8; }

.mso-field textarea { resize: vertical; min-height: 84px; }

.mso-checkline {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 16px 0 0;
	font-size: .84375em;
	line-height: 1.55;
	color: #4a4a59;
	cursor: pointer;
}

.mso-checkline input {
	flex: none;
	width: 18px;
	height: 18px;
	margin-top: 1px;
	accent-color: var(--mso-red);
}

.mso-checkline.has-error { color: #a2012b; }

.mso-checkline__link {
	margin-left: 2px;
	color: var(--mso-navy);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.mso-checkline__link:hover { color: var(--mso-red-dark); }

.mso-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.mso-form__error {
	margin: 14px 0 0;
	padding: 11px 14px;
	border-radius: 10px;
	background: #fdecf1;
	color: #a2012b;
	font-size: .875em;
	line-height: 1.5;
}

.mso-form__error[hidden] { display: none; }

/* ---------------------------------------------------------------- success */

.mso-success { text-align: center; padding: 20px 0; }
.mso-success__icon { color: #1aa06d; margin-bottom: 14px; }
.mso-success .mso-step__title { font-size: 1.5em; }
.mso-success .mso-step__sub { max-width: 52ch; margin-inline: auto; }
.mso-success .mso-recap { text-align: left; max-width: 520px; margin-inline: auto; }

/* ----------------------------------------------------------------- footer */

.mso-footer[hidden] { display: none; }

.mso-footer {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 32px;
	background: #fff;
	border-top: 1px solid var(--mso-line);
}

.mso-footer__total {
	display: none;
	align-items: baseline;
	gap: 8px;
	font-size: .8125em;
	font-weight: 600;
	color: var(--mso-navy);
}

.mso-footer__total strong {
	font-size: calc(19em / 13);
	color: var(--mso-red);
}

.mso-footer__actions {
	display: flex;
	gap: 10px;
	margin-left: auto;
}

.mso-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 28px;
	border: 2px solid transparent;
	border-radius: 999px;
	font-family: var(--mso-font);
	font-size: .9375em;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.mso-btn[hidden] { display: none; }

.mso-btn--primary {
	background: var(--mso-red);
	color: var(--mso-button-fg);
}

.mso-btn--primary:hover:not(:disabled) {
	background: var(--mso-red-dark);
	transform: translateY(-1px);
}

.mso-btn--primary:disabled { opacity: .6; cursor: not-allowed; }

.mso-btn--ghost {
	background: transparent;
	border-color: var(--mso-line);
	color: var(--mso-navy);
}

.mso-btn--ghost:hover { border-color: var(--mso-navy); }

body.mso-modal-open { overflow: hidden; }

/* ------------------------------------------------------- floating button */

/*
 * Fixed in a corner of every page. The offsets come from the settings as CSS
 * variables on the wrapper; the colour variants map onto the palette from the
 * Uitstraling tab, so a colour change there follows here.
 */
.mso-float {
	--mso-float-bottom: 28px;
	--mso-float-side: 24px;
	--mso-float-bg: var(--mso-red);
	--mso-float-fg: var(--mso-button-fg);
	position: fixed;
	right: var(--mso-float-side);
	bottom: calc(var(--mso-float-bottom) + env(safe-area-inset-bottom, 0px));
	/* Below the pop-up overlay (999999), above cookie tabs and sticky headers. */
	z-index: 99990;
	font-family: var(--mso-font);
	font-size: var(--mso-font-size-base);
	line-height: 1.2;
	-webkit-font-smoothing: antialiased;
	animation: mso-float-in .5s cubic-bezier(.2, .8, .3, 1) .35s both;
	transition: opacity .18s ease, transform .18s ease;
}

.mso-float--left {
	right: auto;
	left: var(--mso-float-side);
}

/* Every colour variant takes its text colour from "Tekst op knoppen"
   (Uitstraling > Kleuren), so the admin decides white or dark in one place. */
.mso-float--orange {
	--mso-float-bg: var(--mso-orange);
}

.mso-float--navy {
	--mso-float-bg: var(--mso-navy);
}

.mso-float__btn,
.mso-float__btn:visited {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 56px;
	padding: 0 22px 0 8px;
	border: 0;
	border-radius: 999px;
	background: var(--mso-float-bg);
	color: var(--mso-float-fg);
	font-family: inherit;
	font-size: .9375em;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	box-shadow: 0 10px 28px rgba(3, 12, 25, .28);
	transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.mso-float__btn:hover,
.mso-float__btn:focus-visible {
	background: color-mix(in srgb, var(--mso-float-bg) 90%, #000);
	color: var(--mso-float-fg);
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 14px 32px rgba(3, 12, 25, .34);
}

.mso-float__btn:focus-visible {
	outline: none !important;
	box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--mso-float-bg);
}


.mso-float__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .18);
	overflow: hidden;
}

.mso-float__icon--img { background: transparent; }

.mso-float__icon--img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mso-float__icon--dot { background: transparent; }

.mso-float__icon--dot::before {
	content: "";
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--mso-orange);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--mso-orange) 30%, transparent);
}

.mso-float__icon svg {
	display: block;
	width: 22px;
	height: 22px;
}

.mso-float__label {
	white-space: nowrap;
	padding-right: 2px;
}

/* Two labels, one per breakpoint: the desktop text above 700px, a shorter
   mobile text below it. The desktop label is also the accessible name. */
.mso-float__label--mobile { display: none; }

/* Icon only: the label stays for screen readers. */
.mso-float--compact .mso-float__btn {
	width: 56px;
	padding: 0;
	justify-content: center;
}

.mso-float--compact .mso-float__icon { background: transparent; }

.mso-float--compact .mso-float__label--desktop {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* While the pop-up is open the button steps aside. The entrance animation
   is cancelled here: its fill-mode would otherwise keep the opacity at 1. */
body.mso-modal-open .mso-float {
	animation: none;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(8px);
}

@keyframes mso-float-in {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.mso-float { animation: none; }
}

@media (max-width: 700px) {
	/* On phones the pill is a touch smaller and carries the mobile label; the
	   desktop label stays in the DOM for screen readers only. */
	.mso-float .mso-float__btn {
		width: auto;
		min-height: 50px;
		padding: 0 18px 0 7px;
		gap: 8px;
		font-size: .875em;
		justify-content: flex-start;
	}

	.mso-float .mso-float__icon {
		width: 36px;
		height: 36px;
	}

	.mso-float .mso-float__icon svg {
		width: 20px;
		height: 20px;
	}

	.mso-float .mso-float__label--desktop {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}

	.mso-float .mso-float__label--mobile { display: inline; }

	/* Mobile label switched off: the round icon, so it never covers copy. */
	.mso-float--compact-mobile .mso-float__btn {
		width: 50px;
		padding: 0;
		justify-content: center;
	}

	.mso-float--compact-mobile .mso-float__icon { background: transparent; }

	.mso-float--compact-mobile .mso-float__label--mobile { display: none; }

	.mso-float--no-mobile { display: none; }
}

@media print {
	.mso-float { display: none; }
}

/* ------------------------------------------------------------- responsive */

@media (max-width: 980px) {
	/* One column: the whole body scrolls instead of the two panes separately. */
	.mso-body {
		grid-template-columns: minmax(0, 1fr);
		overflow-y: auto;
	}

	.mso-main { overflow: visible; }

	.mso-summary {
		border-left: 0;
		border-top: 1px solid var(--mso-line);
		overflow: visible;
	}

	.mso-summary__total { margin-top: 0; }
}

@media (max-width: 700px) {
	.mso-overlay { padding: 0; }

	.mso-dialog {
		max-width: none;
		max-height: 100vh;
		height: 100%;
		border-radius: 0;
	}

	.mso-header { padding: 22px 20px 0; }
	.mso-title { font-size: 1.3125em; }
	.mso-intro { font-size: .875em; }
	.mso-steps__item { min-width: 104px; font-size: .78125em; }
	.mso-steps__btn { padding: 10px; }
	.mso-steps__num { font-size: calc(12em / 12.5); }
	.mso-steps__label { display: none; }
	.mso-steps__item.is-active .mso-steps__label { display: inline; }

	.mso-main { padding: 22px 20px 26px; }
	.mso-summary { padding: 20px; }

	.mso-option__main { padding: 15px 14px; gap: 11px; }
	.mso-option__label { font-size: .9375em; }
	.mso-option__price { font-size: .9375em; }
	.mso-option__unit { font-size: calc(12em / 15); }
	.mso-qty { margin: 0 14px 14px 47px; flex-wrap: wrap; }

	.mso-form__grid { grid-template-columns: minmax(0, 1fr); }

	.mso-footer { padding: 12px 16px; flex-wrap: wrap; }
	.mso-footer__total { display: flex; }
	.mso-footer__actions { width: 100%; }
	.mso-btn { flex: 1 1 auto; padding: 13px 18px; }
}
