/**
 * Fixlift Offerte - knop, melding en offertepagina (huisstijl).
 */

:root {
	--fx-red: #C8102E;
	--fx-red-press: #9E0820;
	--fx-ink: #111114;
	--fx-text: #2C2C32;
	--fx-caption: #5C5C63;
	--fx-sand: #F7F6F2;
	--fx-border: #C7CAD1;
	--fx-paper: #FFFFFF;
	--fx-green: #1B7F4B;
}

/* Bare-variant: alleen de knop, zonder de calculator-kaart */
.fixlift-lease--bare {
	border: 0;
	padding: 0;
	background: transparent;
}

/* "Toevoegen aan offerte"-knop */
.fixlift-offerte-add {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 10px;
	width: 100% !important;
	margin-top: 14px;
	min-height: 48px;
	padding: 0 22px;
	font-family: 'Inter', system-ui, sans-serif;
	font-weight: 600;
	font-size: 15px;
	line-height: 1;
	color: #fff;
	background: var(--fx-red);
	border: 1px solid var(--fx-red);
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.12s ease, border-color 0.12s ease, transform 0.12s ease;
}

.fixlift-offerte-add__icon {
	flex: none;
	width: 18px;
	height: 18px;
}

.fixlift-lease--bare .fixlift-offerte-add {
	margin-top: 0;
}

.fixlift-offerte-add:hover {
	background: var(--fx-red-press);
	border-color: var(--fx-red-press);
}

.fixlift-offerte-add:active {
	transform: scale(0.98);
}

.fixlift-offerte-add[disabled] {
	opacity: 0.7;
	cursor: default;
}

/* Status na toevoegen / al in offerte */
.fixlift-offerte-status {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 10px 0 0;
	font-family: 'Inter', system-ui, sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
}

/* Verborgen totdat de JS ze toont (eigen display-regel wint anders van [hidden]). */
.fixlift-offerte-status[hidden],
.fixlift-offerte-view[hidden] {
	display: none !important;
}

.fixlift-offerte-status.is-ok {
	color: var(--fx-green);
}

.fixlift-offerte-status.is-ok::before {
	content: "";
	flex: none;
	width: 18px;
	height: 18px;
	margin-top: 1px;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%231B7F4B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.fixlift-offerte-status.is-error {
	color: var(--fx-red);
}

/* "Bekijk offerte"-knop (donker, secundair t.o.v. de rode toevoegknop) */
.fixlift-offerte-view {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	margin-top: 10px;
	height: 48px;
	padding: 0 22px;
	font-family: 'Inter', system-ui, sans-serif;
	font-weight: 600;
	font-size: 15px;
	line-height: 1;
	color: var(--fx-ink);
	background: var(--fx-paper);
	border: 1px solid var(--fx-border);
	border-radius: 6px;
	text-decoration: none;
	transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}

.fixlift-offerte-view::after {
	content: "→";
	font-weight: 700;
	transition: transform 0.16s ease;
}

.fixlift-offerte-view:hover {
	background: var(--fx-ink);
	color: #fff;
	border-color: var(--fx-ink);
}

.fixlift-offerte-view:hover::after {
	transform: translateX(3px);
}

/* =========================================================================
   Offertepagina
   ========================================================================= */
.fixlift-offerte-page {
	font-family: 'Inter', system-ui, sans-serif;
	color: var(--fx-text);
}

.fixlift-offerte-empty {
	padding: 20px;
	background: var(--fx-sand);
	border: 1px solid var(--fx-border);
	border-radius: 8px;
}

/* Offerteregels als kaarten */
.fixlift-offerte-items {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-bottom: 28px;
}

.fixlift-oi {
	display: grid;
	grid-template-columns: 84px 1fr auto;
	gap: 18px;
	align-items: start;
	padding: 18px;
	background: var(--fx-paper);
	border: 1px solid var(--fx-border);
	border-radius: 12px;
}

.fixlift-oi__media {
	width: 84px;
	height: 84px;
	border-radius: 8px;
	overflow: hidden;
	background: var(--fx-sand);
}

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

.fixlift-oi__head {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 4px;
}

.fixlift-oi__name {
	font-size: 16px;
	font-weight: 700;
	color: var(--fx-ink);
	text-decoration: none;
}

.fixlift-oi__name:hover {
	color: var(--fx-red);
}

.fixlift-oi__badge {
	display: inline-flex;
	align-items: center;
	height: 22px;
	padding: 0 10px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	border-radius: 999px;
}

.fixlift-oi__badge--lease {
	color: var(--fx-red);
	background: #FAE6E9;
}

.fixlift-oi__badge--buy {
	color: var(--fx-caption);
	background: var(--fx-sand);
}

.fixlift-oi__price {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--fx-text);
}

.fixlift-oi__price span {
	font-weight: 400;
	color: var(--fx-caption);
}

/* Lease-uitsplitsing */
.fixlift-oi__lease {
	margin-top: 12px;
	padding: 14px 16px;
	background: var(--fx-sand);
	border-radius: 8px;
}

.fixlift-oi__pm {
	display: flex;
	align-items: baseline;
	gap: 6px;
	margin-bottom: 10px;
}

.fixlift-oi__pm-amount {
	font-size: 24px;
	font-weight: 800;
	color: var(--fx-red);
	line-height: 1;
}

.fixlift-oi__pm-suffix {
	font-size: 13px;
	color: var(--fx-caption);
}

.fixlift-oi__specs {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px 18px;
}

.fixlift-oi__specs li {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	font-size: 13px;
	color: var(--fx-text);
	padding: 3px 0;
	border-bottom: 1px solid rgba(199, 202, 209, 0.5);
}

.fixlift-oi__specs li span {
	color: var(--fx-caption);
}

.fixlift-oi__specs li strong {
	font-weight: 700;
	color: var(--fx-ink);
}

.fixlift-oi__spec--gain strong {
	color: var(--fx-green);
}

.fixlift-oi__specs-note {
	grid-column: 1 / -1;
	border-bottom: 0 !important;
}

.fixlift-oi__specs-note em {
	font-style: normal;
	font-size: 12px;
	color: var(--fx-caption);
}

.fixlift-oi__disclaimer {
	margin: 10px 0 0;
	font-size: 11px;
	color: var(--fx-caption);
}

/* Acties (aantal + verwijderen) naast elkaar */
.fixlift-oi__actions {
	display: flex;
	flex-direction: row;
	align-items: flex-end;
	gap: 10px;
}

.fixlift-oi__qty {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	font-size: 12px;
	font-weight: 600;
	color: var(--fx-caption);
}

.fixlift-offerte-qty {
	width: 74px;
	height: 44px;
	padding: 0 10px;
	font: inherit;
	font-size: 15px;
	text-align: center;
	color: var(--fx-ink);
	background: var(--fx-paper);
	border: 1px solid var(--fx-border);
	border-radius: 8px;
}

.fixlift-offerte-del {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	height: 44px;
	padding: 0 16px;
	font-family: 'Inter', system-ui, sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: var(--fx-caption);
	background: transparent;
	border: 1px solid var(--fx-border);
	border-radius: 8px;
	cursor: pointer;
	white-space: nowrap;
	transition: color 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}

.fixlift-offerte-del:hover {
	color: var(--fx-red);
	border-color: var(--fx-red);
}

.fixlift-offerte-del:disabled {
	opacity: 0.5;
	cursor: default;
}

@media (max-width: 600px) {
	.fixlift-oi {
		grid-template-columns: 64px 1fr;
		gap: 14px;
	}
	.fixlift-oi__media {
		width: 64px;
		height: 64px;
	}
	.fixlift-oi__actions {
		grid-column: 1 / -1;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
	.fixlift-oi__qty {
		flex-direction: row;
		align-items: center;
		gap: 8px;
	}
	.fixlift-oi__specs {
		grid-template-columns: 1fr;
	}
}

/* Formulier — als nette kaart */
.fixlift-offerte-form {
	padding: 28px;
	background: var(--fx-paper);
	border: 1px solid var(--fx-border);
	border-radius: 12px;
	box-shadow: 0 1px 2px rgba(17, 17, 20, 0.04);
}

.fixlift-offerte-form__title {
	margin: 0 0 4px;
	font-size: 20px;
	font-weight: 700;
	color: var(--fx-ink);
}

.fixlift-offerte-form__intro {
	margin: 0 0 22px;
	font-size: 14px;
	color: var(--fx-caption);
}

.fixlift-field-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	margin-bottom: 22px;
}

.fixlift-field {
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.fixlift-field--full {
	grid-column: 1 / -1;
}

.fixlift-field label {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.01em;
	color: var(--fx-text);
}

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

.fixlift-field input,
.fixlift-field textarea {
	width: 100%;
	box-sizing: border-box;
	height: 50px;
	padding: 0 14px;
	font-family: 'Inter', system-ui, sans-serif;
	font-size: 15px;
	font-weight: 400;
	color: var(--fx-ink);
	background: var(--fx-sand);
	border: 1px solid transparent;
	border-radius: 8px;
	transition: background 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
}

.fixlift-field textarea {
	height: auto;
	min-height: 110px;
	padding: 12px 14px;
	line-height: 1.5;
	resize: vertical;
}

.fixlift-field input::placeholder,
.fixlift-field textarea::placeholder {
	color: #9A9AA2;
}

.fixlift-field input:hover,
.fixlift-field textarea:hover {
	border-color: var(--fx-border);
}

.fixlift-field input:focus,
.fixlift-field textarea:focus {
	outline: none;
	background: var(--fx-paper);
	border-color: var(--fx-red);
	box-shadow: 0 0 0 3px #FAE6E9;
}

/* Honeypot verbergen */
.fixlift-offerte-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.fixlift-offerte-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 52px;
	padding: 0 28px;
	font-family: 'Inter', system-ui, sans-serif;
	font-weight: 600;
	font-size: 16px;
	color: #fff;
	background: var(--fx-red);
	border: 1px solid var(--fx-red);
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.12s ease, border-color 0.12s ease, transform 0.12s ease;
}

.fixlift-offerte-submit:hover {
	background: var(--fx-red-press);
	border-color: var(--fx-red-press);
}

.fixlift-offerte-submit:active {
	transform: scale(0.99);
}

.fixlift-offerte-thanks {
	padding: 28px;
	background: var(--fx-sand);
	border: 1px solid var(--fx-border);
	border-left: 3px solid var(--fx-green);
	border-radius: 8px;
}

.fixlift-offerte-thanks h2 {
	margin: 0 0 8px;
	color: var(--fx-ink);
}

@media (max-width: 540px) {
	.fixlift-offerte-form {
		padding: 20px;
	}
	.fixlift-field-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}
}

/* =========================================================================
   "Of vanaf ... per maand"-indicatie ([fixlift_vanaf])
   ========================================================================= */
.fixlift-vanaf {
	margin: 8px 0 0;
	font-family: 'Inter', system-ui, sans-serif;
	font-size: 14px;
	line-height: 1.4;
	color: var(--fx-caption);
}

.fixlift-vanaf__amount {
	font-weight: 700;
	color: var(--fx-red);
}

/* =========================================================================
   Offerte-opties (productpagina, boven Kopen/Leasen)
   ========================================================================= */
.fixlift-lease__options {
	margin-bottom: 16px;
}

.fixlift-lease__options > .fixlift-lease__label {
	display: block;
	margin-bottom: 8px;
	font-size: 13px;
	font-weight: 600;
	color: var(--fx-caption);
}

.fixlift-opts {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.fixlift-opt {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 11px 13px;
	background: var(--fx-paper);
	border: 1px solid var(--fx-border);
	border-radius: 8px;
	cursor: pointer;
	font-size: 14px;
	color: var(--fx-text);
	transition: border-color 0.12s ease;
}

.fixlift-opt:hover {
	border-color: var(--fx-ink);
}

.fixlift-opt__cb {
	width: 18px;
	height: 18px;
	flex: none;
	margin: 0;
	accent-color: var(--fx-red);
}

.fixlift-opt__main {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.fixlift-opt__label {
	font-weight: 500;
	color: var(--fx-ink);
}

.fixlift-opt__desc {
	font-size: 12px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--fx-caption);
}

.fixlift-opt__price {
	font-weight: 600;
	color: var(--fx-caption);
	white-space: nowrap;
}

.fixlift-opts__total {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-top: 10px;
	padding: 4px 2px;
	font-size: 13px;
	font-weight: 600;
	color: var(--fx-ink);
}

.fixlift-opts__total [data-opts-total] {
	color: var(--fx-red);
}

/* Gekozen opties op de offertekaart */
.fixlift-oi__options {
	list-style: none;
	margin: 10px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.fixlift-oi__options li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: 13px;
	padding: 5px 0;
	border-bottom: 1px dashed rgba(199, 202, 209, 0.6);
}

.fixlift-oi__options li span {
	color: var(--fx-caption);
}

.fixlift-oi__options li strong {
	color: var(--fx-ink);
	font-weight: 600;
	white-space: nowrap;
}
