/*
 * Poul Larsen Bil-app – tilkøb, pris i alt, "Få tilsendt slutseddel/leasingaftale" og (v0.5) Privat/Erhverv-knappen
 * i prisboksen på bilsiden.
 * Matcher sitets eksisterende tilkøbskort (.pl-addons-card, titel omdøbes til "Tilkøb"): samme paddings,
 * hårlinjer #eee, guld #A28B58 (hover #8f7a4c), 13px grå beskrivelser. Fungerer fra 320 px.
 *
 * Rækkerne (.pl-x-row) bruger bevidst IKKE klassen .pl-addon-row, da det eksisterende
 * script overskriver prisen i alle .pl-addon-row. Alt er scoped til pl-x-*-klasser.
 * !important bruges kun hvor temaet (Hello Elementor) styler knapper/inputs/lister globalt.
 */

/* Fallback-kort (kun når .pl-addons-card ikke findes, eller via [pl_tilkoeb]) */
.pl-x-card {
	box-sizing: border-box;
	max-width: 600px;
	margin: 20px 0;
	padding: 20px 24px;
	border: 1px solid #e5e0d5;
	border-radius: 14px;
	background: #fafaf8;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	color: #333;
	line-height: 1.5;
}

.pl-x-title {
	font-size: 17px;
	font-weight: 600;
	margin: 0 0 14px;
	color: #222;
}

.pl-x-card .pl-x-rows > .pl-x-row:first-child {
	border-top: none;
	padding-top: 0;
}

.pl-x-row [hidden],
.pl-x-ss [hidden],
.pl-x-ss[hidden] {
	display: none !important;
}

/* Skærmlæsertekst */
.pl-x-sr {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* Række */
.pl-x-row {
	padding: 14px 0;
	border-top: 1px solid #eee;
}

.pl-x-info {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 16px;
}

.pl-x-text {
	flex: 1 1 auto;
	min-width: 0;
}

.pl-x-name {
	font-weight: 600;
	color: #222;
	margin: 0 0 4px;
	font-size: 15px;
	line-height: 1.35;
}

.pl-x-desc {
	font-size: 13px;
	color: #666;
	margin: 0;
	max-width: 400px;
	line-height: 1.45;
}

.pl-x-price {
	flex-shrink: 0;
	font-weight: 600;
	color: #A28B58;
	font-size: 15px;
	line-height: 1.35;
	white-space: nowrap;
	text-align: right;
	padding-top: 1px;
}

/* Badge (Servicehistorik) */
.pl-x-badge {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #A28B58;
	color: #fff;
	border-radius: 20px;
	padding: 4px 12px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
	white-space: nowrap;
}

.pl-x-badge::before {
	content: "\2713";
	font-size: 12px;
	line-height: 1;
}

/* Servicebesøg */
.pl-x-poster {
	margin-top: 8px;
}

.pl-x-poster-list {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.pl-x-poster-item {
	position: relative;
	margin: 0 !important;
	padding: 2px 0 2px 14px !important;
	font-size: 13px;
	line-height: 1.45;
	color: #555;
	font-variant-numeric: tabular-nums;
	overflow-wrap: anywhere;
}

.pl-x-poster-item::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 9px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #A28B58;
}

.pl-x-poster-more {
	margin: 0;
	padding: 0;
	border: 0;
}

.pl-x-poster-toggle {
	display: inline-flex;
	align-items: center;
	list-style: none;
	cursor: pointer;
	margin: 2px 0 0;
	padding: 2px 0;
	font-size: 13px;
	font-weight: 600;
	color: #A28B58;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.pl-x-poster-toggle::-webkit-details-marker {
	display: none;
}

.pl-x-poster-toggle::marker {
	content: "";
}

.pl-x-poster-toggle:hover {
	color: #8f7a4c;
}

.pl-x-poster-toggle:focus-visible {
	outline: 2px solid #A28B58;
	outline-offset: 2px;
	border-radius: 4px;
}

.pl-x-more-close,
.pl-x-poster-more[open] > .pl-x-poster-toggle .pl-x-more-open {
	display: none;
}

.pl-x-poster-more[open] > .pl-x-poster-toggle .pl-x-more-close {
	display: inline;
}

/* Miniaturer (Brugte vinterdæk) */
.pl-x-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}

.pl-x-thumbs a {
	display: block;
	width: 72px;
	height: 54px;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid #e5e0d5;
	background: #eee;
	box-shadow: none !important;
	transition: opacity .15s;
}

.pl-x-thumbs a:hover {
	opacity: .85;
}

.pl-x-thumbs img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	margin: 0;
}

/* Valg-toggle (samme look som sitets .pl-toggle: 44×24, guld når slået til) */
.pl-x-toggle-wrap {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	gap: 12px;
}

.pl-x-toggle {
	position: relative;
	display: inline-block;
	width: 44px;
	height: 24px;
	flex-shrink: 0;
	margin: 0 !important;
	padding: 0 !important;
	cursor: pointer;
}

/* Større trykflade (44 px) uden at ændre udseendet */
.pl-x-toggle::after {
	content: "";
	position: absolute;
	top: -10px;
	bottom: -10px;
	left: -6px;
	right: -6px;
}

.pl-x-toggle .pl-x-toggle-input {
	position: absolute !important;
	inset: 0;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	opacity: 0 !important;
	cursor: pointer;
	z-index: 2;
	-webkit-appearance: none;
	appearance: none;
}

.pl-x-toggle-slider {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: #ccc;
	border-radius: 24px;
	transition: background-color .2s;
	pointer-events: none;
}

.pl-x-toggle-slider::before {
	position: absolute;
	content: "";
	height: 18px;
	width: 18px;
	left: 3px;
	bottom: 3px;
	background: #fff;
	border-radius: 50%;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
	transition: transform .2s;
}

.pl-x-toggle-input:checked + .pl-x-toggle-slider {
	background: #A28B58;
}

.pl-x-toggle-input:checked + .pl-x-toggle-slider::before {
	transform: translateX(20px);
}

.pl-x-toggle-input:focus-visible + .pl-x-toggle-slider {
	outline: 2px solid #A28B58;
	outline-offset: 2px;
}

/* ---------- Pris i alt (samme look som sitets .pl-addons-total) ---------- */

.pl-x-total,
.pl-x-total-engang {
	display: none;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-top: 14px;
	padding-top: 14px;
	border-top: 2px solid #A28B58;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-weight: 600;
	font-size: 15px;
	line-height: 1.35;
	color: #222;
}

.pl-x-total.pl-visible,
.pl-x-total-engang.pl-visible {
	display: flex;
}

/* Engangslinjen lige under en synlig hovedtotal: ingen ekstra streg */
.pl-addons-total.pl-visible + .pl-x-total-engang,
.pl-x-total.pl-visible + .pl-x-total-engang {
	margin-top: 6px;
	padding-top: 0;
	border-top: none;
}

.pl-x-total-label {
	min-width: 0;
}

.pl-x-total-value {
	flex-shrink: 0;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

/* ---------- Privat / Erhverv ved prisen (v0.5) ---------- */

/*
 * "Pris:"-overskriftens widget-container: "Pris:" til venstre, knappen til højre på samme linje.
 * Knappen ligger absolut og lodret centreret på linjen, så overskriftens højde er uændret: prisen og alt under
 * den i kolonnen flytter sig ikke, når knappen sættes ind (intet layout-skift). Knappen (32 px) rager nogle få px
 * op i kolonnens luft (10 px) og ned i afstanden til prisen (20 px). "Pris:" + knappen kræver ca. 200 px
 * (sticky-kolonnen er ~298 px på desktop, ~340 px ved 373 px skærm).
 */
.pl-x-moms-host {
	position: relative !important;
}

.pl-x-moms-host > .pl-x-moms {
	position: absolute !important;
	top: 50% !important;
	right: 0 !important;
	-webkit-transform: translateY(-50%) !important;
	transform: translateY(-50%) !important;
}

/* iOS-segmenteret kontrol i sitets farver */
.pl-x-moms {
	box-sizing: border-box;
	display: inline-flex !important;
	align-items: center;
	flex-shrink: 0;
	max-width: 100%;
	margin: 0 !important;
	padding: 2px !important;
	background: #efece4 !important;
	border: 0 !important;
	border-radius: 999px !important;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	line-height: 1;
	vertical-align: middle;
}

/* Temaet gør alle knapper til sorte Roboto-piller: alt, der betyder noget, har !important (som .pl-duration-btn) */
.pl-x-moms button[data-pl-x-moms] {
	position: relative;
	box-sizing: border-box !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex: 0 0 auto;
	width: auto !important;
	height: auto !important;
	min-width: 0 !important;
	min-height: 28px !important;
	margin: 0 !important;
	padding: 5px 14px !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 999px !important;
	box-shadow: none !important;
	color: #444 !important;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
	font-size: 13px !important;
	font-style: normal !important;
	font-weight: 600 !important;
	line-height: 18px !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	text-decoration: none !important;
	text-shadow: none !important;
	white-space: nowrap !important;
	cursor: pointer;
	transition: background-color .15s, color .15s !important;
	-webkit-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
}

.pl-x-moms button[data-pl-x-moms]:hover,
.pl-x-moms button[data-pl-x-moms]:focus,
.pl-x-moms button[data-pl-x-moms]:active {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	color: #222 !important;
}

.pl-x-moms button[data-pl-x-moms][aria-checked="true"],
.pl-x-moms button[data-pl-x-moms][aria-checked="true"]:hover,
.pl-x-moms button[data-pl-x-moms][aria-checked="true"]:focus,
.pl-x-moms button[data-pl-x-moms][aria-checked="true"]:active {
	background: #A28B58 !important;
	color: #fff !important;
}

.pl-x-moms button[data-pl-x-moms]:focus:not(:focus-visible) {
	outline: none !important;
}

.pl-x-moms button[data-pl-x-moms]:focus-visible {
	outline: 2px solid #A28B58 !important;
	outline-offset: 2px !important;
}

/* Fallback 1 (blok før prisen) og 2 (øverst i Tilkøb-kortet med etiket) */
.pl-x-moms-wrap {
	box-sizing: border-box;
	width: 100%;
	margin: 0 0 8px;
}

.pl-x-moms-wrap.pl-x-moms-kort {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	margin: 0 0 14px;
}

.pl-x-moms-label {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	color: #666;
}

/* ---------- Få tilsendt slutseddel / leasingaftale ---------- */

.pl-x-ss {
	padding: 14px 0;
	border-top: 1px solid #eee;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	color: #333;
	line-height: 1.5;
}

.pl-x-card .pl-x-rows:empty ~ .pl-x-ss {
	border-top: none;
	padding-top: 0;
}

.pl-x-ss *,
.pl-x-ss *::before,
.pl-x-ss *::after {
	box-sizing: border-box;
}

.pl-x-ss .pl-x-ss-btn,
.pl-x-ss .pl-x-ss-submit {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100% !important;
	min-height: 44px;
	margin: 0 !important;
	padding: 11px 18px !important;
	background: #A28B58 !important;
	border: 1px solid #A28B58 !important;
	border-radius: 20px !important;
	color: #fff !important;
	font-family: inherit !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	text-decoration: none !important;
	text-align: center;
	white-space: normal;
	box-shadow: none !important;
	cursor: pointer;
	transition: background-color .15s, border-color .15s;
	-webkit-appearance: none;
	appearance: none;
}

.pl-x-ss .pl-x-ss-btn:hover,
.pl-x-ss .pl-x-ss-submit:hover,
.pl-x-ss .pl-x-ss-btn:focus,
.pl-x-ss .pl-x-ss-submit:focus {
	background: #8f7a4c !important;
	border-color: #8f7a4c !important;
	color: #fff !important;
}

.pl-x-ss .pl-x-ss-btn:focus-visible,
.pl-x-ss .pl-x-ss-submit:focus-visible {
	outline: 2px solid #A28B58 !important;
	outline-offset: 3px !important;
}

.pl-x-ss .pl-x-ss-submit[disabled] {
	opacity: .75;
	cursor: progress;
}

.pl-x-ss-btn::after {
	content: "";
	width: 7px;
	height: 7px;
	margin-left: 2px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	transition: transform .2s;
}

.pl-x-ss-open .pl-x-ss-btn::after {
	transform: translateY(2px) rotate(-135deg);
}

.pl-x-ss-panel.pl-x-anim {
	transition: height .28s ease;
}

.pl-x-ss-inner {
	padding-top: 16px;
}

.pl-x-ss .pl-x-ss-heading {
	margin: 0 0 4px !important;
	padding: 0 !important;
	font-family: inherit !important;
	font-size: 17px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	color: #222 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
}

.pl-x-ss-heading:focus {
	outline: none;
}

.pl-x-ss-heading:focus-visible {
	outline: 2px solid #A28B58;
	outline-offset: 2px;
}

.pl-x-ss .pl-x-ss-intro {
	margin: 0 0 14px !important;
	font-size: 13px;
	color: #666;
	line-height: 1.45;
}

/* Opsummering */
.pl-x-ss-summary {
	margin: 0 0 18px;
	padding: 12px 14px;
	background: #fff;
	border: 1px solid #e5e0d5;
	border-radius: 12px;
}

.pl-x-ss-car {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
	padding-bottom: 10px;
	margin-bottom: 10px;
	border-bottom: 1px solid #eee;
}

.pl-x-ss-car-text {
	min-width: 0;
}

.pl-x-ss-car-name {
	font-weight: 600;
	font-size: 15px;
	color: #222;
	line-height: 1.35;
}

.pl-x-ss-car-variant {
	font-size: 13px;
	color: #666;
	line-height: 1.4;
}

.pl-x-ss-car-price {
	flex-shrink: 0;
	font-weight: 600;
	font-size: 15px;
	color: #A28B58;
	white-space: nowrap;
	line-height: 1.35;
}

/* Leasinglinjer (v0.5): Periode / Udbetaling / Restværdi */
.pl-x-ss-leasing {
	padding-bottom: 10px;
	margin-bottom: 10px;
	border-bottom: 1px solid #eee;
}

.pl-x-ss-leasing-line {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	padding: 1px 0;
	font-size: 13px;
	line-height: 1.45;
	color: #555;
}

.pl-x-ss-leasing-label {
	flex-shrink: 0;
}

.pl-x-ss-leasing-value {
	min-width: 0;
	text-align: right;
	color: #333;
	font-variant-numeric: tabular-nums;
	overflow-wrap: anywhere;
}

.pl-x-ss-sel-title {
	font-size: 13px;
	font-weight: 600;
	color: #222;
	margin: 0 0 4px;
}

.pl-x-ss .pl-x-ss-sel {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.pl-x-ss .pl-x-ss-sel li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin: 0 !important;
	padding: 3px 0 !important;
	font-size: 13px;
	line-height: 1.45;
	color: #444;
}

.pl-x-ss-sel-name {
	min-width: 0;
	overflow-wrap: anywhere;
}

.pl-x-ss-sel-price {
	flex-shrink: 0;
	font-weight: 600;
	color: #A28B58;
	white-space: nowrap;
}

.pl-x-ss .pl-x-ss-sel li.pl-x-ss-sel-none {
	color: #888;
	font-style: italic;
}

/* Totallinje(r) i opsummeringen */
.pl-x-ss-totals {
	margin-top: 8px;
	padding-top: 8px;
	border-top: 2px solid #A28B58;
}

.pl-x-ss-total {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 2px 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	color: #222;
}

.pl-x-ss-total-label {
	min-width: 0;
	overflow-wrap: anywhere;
}

.pl-x-ss-total-value {
	flex-shrink: 0;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

/* Privat / Erhverv */
.pl-x-ss .pl-x-ss-type {
	margin: 0 0 14px !important;
	padding: 0 !important;
	border: 0 !important;
	min-width: 0;
}

.pl-x-ss .pl-x-ss-legend {
	display: block;
	float: none;
	width: 100%;
	margin: 0 0 8px !important;
	padding: 0 !important;
	font-size: 15px;
	font-weight: 600;
	color: #222;
	line-height: 1.35;
}

.pl-x-ss-type-opts {
	display: flex;
	gap: 10px;
}

.pl-x-ss .pl-x-ss-radio {
	position: relative;
	flex: 1 1 0;
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 52px;
	margin: 0 !important;
	padding: 10px 14px !important;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 12px;
	cursor: pointer;
	font-size: 15px;
	font-weight: 600;
	color: #333;
	transition: border-color .15s, background-color .15s, box-shadow .15s;
}

.pl-x-ss .pl-x-ss-radio:hover {
	border-color: #A28B58;
}

.pl-x-ss .pl-x-ss-radio input[type="radio"] {
	flex-shrink: 0;
	width: 20px !important;
	height: 20px !important;
	margin: 0 !important;
	padding: 0 !important;
	accent-color: #A28B58;
	cursor: pointer;
}

.pl-x-ss .pl-x-ss-radio.pl-x-checked {
	border-color: #A28B58;
	background: #faf6ee;
	box-shadow: inset 0 0 0 1px #A28B58;
}

.pl-x-ss .pl-x-ss-radio:focus-within {
	outline: 2px solid #A28B58;
	outline-offset: 2px;
}

/* Felter */
.pl-x-field {
	margin: 0 0 12px;
	min-width: 0;
}

.pl-x-field-row {
	display: flex;
	gap: 10px;
}

.pl-x-field-row .pl-x-field-postnr {
	flex: 0 0 34%;
}

.pl-x-field-row .pl-x-field-by {
	flex: 1 1 auto;
}

.pl-x-ss .pl-x-label {
	display: block;
	margin: 0 0 4px !important;
	padding: 0 !important;
	font-size: 13px;
	font-weight: 600;
	color: #333;
	line-height: 1.35;
}

.pl-x-ss input.pl-x-input {
	display: block;
	width: 100% !important;
	max-width: 100%;
	min-height: 44px;
	margin: 0 !important;
	padding: 10px 12px !important;
	background: #fff !important;
	border: 1px solid #ccc !important;
	border-radius: 10px !important;
	box-shadow: none !important;
	color: #222 !important;
	font-family: inherit !important;
	font-size: 16px !important; /* undgår zoom på iOS */
	line-height: 1.3 !important;
	transition: border-color .15s, box-shadow .15s;
	-webkit-appearance: none;
	appearance: none;
}

.pl-x-ss input.pl-x-input:focus {
	outline: none !important;
	border-color: #A28B58 !important;
	box-shadow: 0 0 0 3px rgba(162, 139, 88, .25) !important;
}

.pl-x-ss .pl-x-invalid input.pl-x-input {
	border-color: #b3261e !important;
}

.pl-x-ss .pl-x-invalid input.pl-x-input:focus {
	box-shadow: 0 0 0 3px rgba(179, 38, 30, .2) !important;
}

.pl-x-field-error {
	margin: 4px 0 0;
	font-size: 13px;
	line-height: 1.4;
	color: #b3261e;
}

.pl-x-cvr-status {
	margin: 4px 0 0;
	font-size: 13px;
	line-height: 1.4;
	color: #666;
}

.pl-x-cvr-status:empty {
	display: none;
}

.pl-x-cvr-status.pl-x-cvr-loading::before {
	content: "";
	display: inline-block;
	width: 12px;
	height: 12px;
	margin-right: 6px;
	vertical-align: -1px;
	border: 2px solid #d9cfb9;
	border-top-color: #A28B58;
	border-radius: 50%;
	animation: pl-x-spin .8s linear infinite;
}

.pl-x-cvr-status.pl-x-cvr-ok {
	color: #2e7d32;
}

.pl-x-cvr-status.pl-x-cvr-error {
	color: #8a5a00;
}

/* Samtykke */
.pl-x-consent {
	margin-top: 4px;
}

.pl-x-ss .pl-x-check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0 !important;
	padding: 4px 0 !important;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.45;
	color: #444;
	cursor: pointer;
}

.pl-x-ss .pl-x-check input[type="checkbox"] {
	flex-shrink: 0;
	width: 22px !important;
	height: 22px !important;
	margin: 0 !important;
	padding: 0 !important;
	accent-color: #A28B58;
	cursor: pointer;
}

.pl-x-ss .pl-x-link {
	color: #A28B58 !important;
	text-decoration: underline !important;
	box-shadow: none !important;
}

.pl-x-ss .pl-x-link:hover {
	color: #8f7a4c !important;
}

/* Honeypot – uden for skærmen */
.pl-x-hp {
	position: absolute !important;
	left: -10000px !important;
	top: auto !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

/* Fejl / kvittering */
.pl-x-ss-alert {
	margin: 0 0 12px;
	padding: 10px 12px;
	border: 1px solid #f1c4c0;
	border-radius: 10px;
	background: #fdf1f0;
	color: #8c1d18;
	font-size: 14px;
	line-height: 1.45;
}

.pl-x-ss-success {
	padding: 14px 16px;
	border: 1px solid #b9dcbc;
	border-radius: 12px;
	background: #eef7ef;
	color: #1f5e24;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.45;
}

.pl-x-ss-success::before {
	content: "\2713";
	display: inline-block;
	margin-right: 8px;
	font-weight: 700;
}

.pl-x-ss-success:focus {
	outline: none;
}

.pl-x-ss-success:focus-visible {
	outline: 2px solid #2e7d32;
	outline-offset: 2px;
}

/* Spinner i indsend-knappen */
.pl-x-spinner {
	display: inline-block;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	border: 2px solid rgba(255, 255, 255, .45);
	border-top-color: #fff;
	border-radius: 50%;
	animation: pl-x-spin .8s linear infinite;
}

@keyframes pl-x-spin {
	to {
		transform: rotate(360deg);
	}
}

/* Smalle skærme – samme brud som det eksisterende kort */
@media (max-width: 480px) {
	.pl-x-info {
		flex-direction: column;
		gap: 8px;
	}
	.pl-x-price,
	.pl-x-badge {
		white-space: normal;
		text-align: left;
	}
	.pl-x-toggle-wrap {
		width: 100%;
		justify-content: space-between;
	}
	.pl-x-thumbs a {
		width: 64px;
		height: 48px;
	}
}

@media (max-width: 360px) {
	.pl-x-card {
		padding: 16px;
		border-radius: 12px;
	}
	.pl-x-ss-summary {
		padding: 10px 12px;
	}
	.pl-x-ss-car {
		flex-direction: column;
		gap: 2px;
	}
	.pl-x-ss-type-opts {
		gap: 8px;
	}
	.pl-x-ss .pl-x-ss-radio {
		padding: 10px !important;
		gap: 8px;
	}
	.pl-x-field-row {
		flex-direction: column;
		gap: 0;
	}
	.pl-x-field-row .pl-x-field-postnr {
		flex-basis: auto;
	}
}

/* Touch: lidt større trykflader */
@media (pointer: coarse) {
	.pl-x-poster-toggle {
		min-height: 44px;
	}
	/* Privat/Erhverv: højere trykflade (44 px) uden at ændre udseendet */
	.pl-x-moms button[data-pl-x-moms]::after {
		content: "";
		position: absolute;
		top: -8px;
		bottom: -8px;
		left: 0;
		right: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pl-x-ss-panel.pl-x-anim,
	.pl-x-toggle-slider,
	.pl-x-toggle-slider::before,
	.pl-x-ss-btn::after,
	.pl-x-ss .pl-x-ss-btn,
	.pl-x-ss .pl-x-ss-submit,
	.pl-x-ss input.pl-x-input,
	.pl-x-ss .pl-x-ss-radio,
	.pl-x-moms button[data-pl-x-moms] {
		transition: none !important;
	}
	.pl-x-spinner,
	.pl-x-cvr-status.pl-x-cvr-loading::before {
		animation-duration: 2.4s;
	}
}
