/* inModern: leieflyten (forsikring, kilometer, tillegg) og kassens topp. Alt er scopet til body.ipl-design-inmodern .inplug-flow. */

body.ipl-design-inmodern .inplug-flow {
	--fl-w: 760px;
	position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(16px, 1fr) minmax(0, var(--fl-w)) minmax(16px, 1fr);
	grid-auto-rows: min-content; align-content: start; background: var(--page); color: var(--ink); padding-bottom: 120px; font-family: var(--im-f);
}
body.ipl-design-inmodern .inplug-flow--checkout { --fl-w: 1240px; }
body.ipl-design-inmodern .inplug-flow > * { grid-column: 2; }
body.ipl-design-inmodern .inplug-flow .woocommerce-notices-wrapper, body.ipl-design-inmodern .inplug-flow > .woocommerce-error, body.ipl-design-inmodern .inplug-flow > .woocommerce-message { grid-row: 3; margin: 0 0 16px; max-width: none; }
body.ipl-design-inmodern .inplug-flow .inplug-flow-bar { display: contents; position: static; border: 0; background: none; }

/* ---------- mørkt bånd øverst: trinn og «Din leie» ---------- */
body.ipl-design-inmodern .im-fb__band { grid-column: 1 / -1; grid-row: 1; background: var(--im-ink); color: #fff; padding: 8px 16px 44px; }
body.ipl-design-inmodern .inplug-flow::before { content: ""; grid-column: 1 / -1; grid-row: 1; align-self: end; height: 28px; background: var(--page); border-radius: 28px 28px 0 0; z-index: 3; }
body.ipl-design-inmodern .im-fb__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1240px; margin: 0 auto; padding: 10px 0; }
body.ipl-design-inmodern .im-fb__steps { display: flex; align-items: center; gap: 4px; margin: 0; padding: 5px; list-style: none; overflow-x: auto; scrollbar-width: none; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
body.ipl-design-inmodern .im-fb__steps li { display: flex; flex: none; align-items: center; gap: 8px; margin: 0; padding: 5px 12px 5px 5px; border-radius: 999px; font-size: 13.5px; color: #a3a6ad; white-space: nowrap; transition: background-color .3s, color .3s; }
body.ipl-design-inmodern .im-fb__steps li[data-step="thanks"] { display: none; }
body.ipl-design-inmodern .im-fb__steps li span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); background: none; color: #fff; font-size: 12px; font-weight: 600; transition: background-color .3s, color .3s; }
body.ipl-design-inmodern .im-fb__steps li em { font-style: normal; }
body.ipl-design-inmodern .im-fb__steps li.is-current { background: rgba(255,255,255,.12); color: #fff; font-weight: 500; }
body.ipl-design-inmodern .im-fb__steps li.is-current span { border-color: #fff; box-shadow: inset 0 0 0 1px #fff; }
body.ipl-design-inmodern .im-fb__steps li.is-done span { background: #fff; border-color: #fff; color: var(--ink); }
body.ipl-design-inmodern .im-fb__x { display: inline-flex; flex: none; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; font-size: 14px; color: #d4d6da; text-decoration: none; }
body.ipl-design-inmodern .im-fb__x .im-ico { transform: rotate(45deg); }
body.ipl-design-inmodern .im-fb__x:hover { color: #fff; border-color: rgba(255,255,255,.45); }

body.ipl-design-inmodern .im-fb__dl { max-width: 1240px; margin: 14px auto 0; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; background: rgba(255,255,255,.05); }
body.ipl-design-inmodern .im-fb__dl > summary { display: flex; align-items: center; gap: 12px; padding: 14px 16px; list-style: none; cursor: pointer; font-size: 15px; font-weight: 500; }
body.ipl-design-inmodern .im-fb__dl > summary::-webkit-details-marker { display: none; }
body.ipl-design-inmodern .im-fb__dlt { margin-right: auto; }
body.ipl-design-inmodern .im-fb__dl .inplug-flow-total { margin: 0; font-size: 15px; color: #fff; }
body.ipl-design-inmodern .im-fb__dl .inplug-flow-total strong { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; color: #fff; }
body.ipl-design-inmodern .im-fb__dl .woocommerce-Price-amount, body.ipl-design-inmodern .im-fb__act .woocommerce-Price-amount { color: inherit; }
body.ipl-design-inmodern .im-fb__chev { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.1); transition: transform .45s var(--ease); }
body.ipl-design-inmodern .im-fb__dl[open] .im-fb__chev { transform: rotate(180deg); }
body.ipl-design-inmodern .im-fb__dlb { display: grid; gap: 10px; padding: 0 16px 16px; }
body.ipl-design-inmodern .im-fb__car { display: grid; margin: 0; gap: 2px; }
body.ipl-design-inmodern .im-fb__car b { font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
body.ipl-design-inmodern .im-fb__car span { font-size: 13.5px; color: #a3a6ad; }
body.ipl-design-inmodern .im-fb__list { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 0; padding: 0; list-style: none; }
body.ipl-design-inmodern .im-fb__list li { margin: 0; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: 12.5px; color: #e6e7ea; }
body.ipl-design-inmodern .im-fb__list li[hidden] { display: none; }
body.ipl-design-inmodern .im-fb__list li::before { display: none; }

/* ---------- tittel ---------- */
body.ipl-design-inmodern .im-fb__title { grid-column: 2; grid-row: 2; margin: 18px 0 0; padding: 0 16px; font-family: var(--im-f); font-size: 32px; font-weight: 600; letter-spacing: -.04em; line-height: 1.05; text-transform: none; color: var(--ink); }
body.ipl-design-inmodern .im-fb__lead { grid-column: 2; grid-row: 3; margin: 8px 0 0; padding: 0 16px; color: var(--ink-2); font-size: 15px; max-width: 52ch; }
body.ipl-design-inmodern .inplug-flow .inplug-flow-body, body.ipl-design-inmodern .inplug-flow .inplug-co { grid-row: 4; max-width: none; margin: 0; padding: 24px 16px 0; display: block; }
body.ipl-design-inmodern .inplug-flow-body .inplug-flow-summary { display: none; }

/* ---------- handlingslinje nederst ---------- */
body.ipl-design-inmodern .inplug-flow .im-fb__act { grid-column: auto; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; gap: 14px; margin: 0; width: auto;
	padding: 12px max(16px, calc((100% - var(--fl-w)) / 2)) calc(12px + env(safe-area-inset-bottom, 0px)); background: rgba(255,255,255,.95); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
body.ipl-design-inmodern .im-fb__back { color: var(--ink-2); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; width: auto; height: auto; }
body.ipl-design-inmodern .im-fb__mirror { margin-left: auto; font-size: 18px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
body.ipl-design-inmodern .im-fb__mirror::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 400; letter-spacing: 0; color: var(--ink-2); }
body.ipl-design-inmodern .inplug-flow .inplug-flow-continue.im-btn { min-width: 0; height: 50px; padding: 0 6px 0 22px !important; font-size: 15px !important; font-weight: 500 !important; color: #fff !important; border-radius: 999px !important; cursor: pointer; background: linear-gradient(180deg, #2b2c31 0%, #0e0f11 100%) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 0 0 1px #0e0f11, 0 0 0 4px rgba(14,15,17,.08), 0 0 0 5px rgba(14,15,17,.12) !important; }
body.ipl-design-inmodern .inplug-flow .inplug-flow-continue.im-btn::after { content: ""; flex: none; box-sizing: content-box; width: 15px; height: 15px; padding: 7px; border: 2px solid transparent; border-radius: 50%;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e0f11' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 15px no-repeat padding-box,
		linear-gradient(#fff, #fff) padding-box, conic-gradient(from 210deg, #ff6b6b, #ffb547, #f7e95a, #5ee38b, #4cc9f0, #7b8cff, #c36bff, #ff6bb5, #ff6b6b) border-box; box-shadow: 0 1px 3px rgba(14,15,17,.18); }
body.ipl-design-inmodern .inplug-flow .inplug-flow-continue.im-btn:disabled { opacity: .4; cursor: not-allowed; }

/* ---------- steg 1: forsikring ---------- */
body.ipl-design-inmodern .inplug-flow-packages { display: grid; grid-template-columns: 1fr; gap: 12px; }
body.ipl-design-inmodern .inplug-flow-package { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "head ded" "price ded" "feat feat"; gap: 6px 16px; padding: 18px; border: 0; border-radius: 16px; background: var(--tile); color: var(--ink); cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease); }
body.ipl-design-inmodern .inplug-flow-package input { position: absolute; opacity: 0; pointer-events: none; }
body.ipl-design-inmodern .inplug-flow-package__head { grid-area: head; display: grid; gap: 4px; }
body.ipl-design-inmodern .inplug-flow-package__title { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
body.ipl-design-inmodern .inplug-flow-stars { display: flex; gap: 4px; order: -1; margin-bottom: 6px; font-size: 0; }
body.ipl-design-inmodern .inplug-flow-stars i { width: 16px; height: 4px; border-radius: 2px; background: rgba(14,15,17,.15); }
body.ipl-design-inmodern .inplug-flow-stars i.on { background: currentColor; }
body.ipl-design-inmodern .inplug-flow-radio { position: absolute; top: 16px; right: 16px; width: 26px; height: 26px; border: 0; border-radius: 50%; background: #fff; display: grid; place-items: center; }
body.ipl-design-inmodern .inplug-flow-radio::after { content: ""; width: 12px; height: 7px; border: 2px solid var(--ink); border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg) scale(0); transition: transform .3s var(--ease); }
body.ipl-design-inmodern .inplug-flow-package__price { grid-area: price; font-size: 13.5px; opacity: .75; align-self: start; }
body.ipl-design-inmodern .inplug-flow-package__price strong { font-size: 13.5px; font-weight: 500; }
body.ipl-design-inmodern .inplug-flow-package__price small { font-size: 13.5px; }
body.ipl-design-inmodern .inplug-flow-deductible { grid-area: ded; align-self: end; display: grid; justify-items: end; background: none; padding: 0; margin: 0; border: 0; text-align: right; font-size: 13px; font-weight: 400; }
body.ipl-design-inmodern .inplug-flow-deductible b { font-size: 26px; font-weight: 600; letter-spacing: -.035em; font-variant-numeric: tabular-nums; line-height: 1.1; }
body.ipl-design-inmodern .inplug-flow-deductible small { font-size: 12px; opacity: .7; }
body.ipl-design-inmodern .inplug-flow-features { background: none; padding: 0; border: 0; border-radius: 0; grid-area: feat; display: grid; grid-template-columns: 1fr; gap: 6px 24px; margin-top: 10px; font-size: 13.5px; }
body.ipl-design-inmodern .inplug-flow-feature { display: grid; grid-template-columns: 14px 1fr; gap: 8px; align-items: start; }
body.ipl-design-inmodern .inplug-flow-feature i { font-style: normal; opacity: .8; font-size: 13px; }
body.ipl-design-inmodern .inplug-flow-feature.is-off { opacity: .4; }
body.ipl-design-inmodern .inplug-flow-package:has(input:checked) { background: radial-gradient(120% 90% at 100% 0%, #2c2d33 0%, #0e0f11 60%); color: #fff; }
body.ipl-design-inmodern .inplug-flow-package:has(input:checked) .inplug-flow-stars i { background: rgba(255,255,255,.2); }
body.ipl-design-inmodern .inplug-flow-package:has(input:checked) .inplug-flow-stars i.on { background: #fdd523; }
body.ipl-design-inmodern .inplug-flow-package:has(input:checked) .inplug-flow-radio::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
body.ipl-design-inmodern .inplug-flow-package:has(input:checked) .inplug-flow-deductible { padding-right: 34px; }
body.ipl-design-inmodern .inplug-flow-package:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ---------- steg 2: kilometer ---------- */
body.ipl-design-inmodern .inplug-flow-km { display: grid; gap: 20px; padding: 22px; border: 0; border-radius: 18px; background: var(--tile); }
body.ipl-design-inmodern .inplug-flow-km__price { margin: 0; font-size: 13.5px; color: var(--ink-2); }
body.ipl-design-inmodern .inplug-flow-km__included { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink); }
body.ipl-design-inmodern .inplug-flow-km__price strong { color: var(--ink); font-weight: 600; }
body.ipl-design-inmodern .inplug-flow-km__mode { order: -1; display: inline-flex; justify-self: start; margin: 0; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
body.ipl-design-inmodern .inplug-flow-km__mode label { margin: 0; cursor: pointer; }
body.ipl-design-inmodern .inplug-flow-km__mode input { position: absolute; opacity: 0; pointer-events: none; }
body.ipl-design-inmodern .inplug-flow-km__mode span { display: block; padding: 8px 16px; border-radius: 999px; font-size: 14px; transition: background-color .2s, color .2s; }
body.ipl-design-inmodern .inplug-flow-km__mode input:checked + span { background: var(--ink); color: #fff; }
body.ipl-design-inmodern .inplug-flow-km__mode input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
body.ipl-design-inmodern .inplug-flow-km__field label { font-size: 13px; color: var(--ink-2); }
body.ipl-design-inmodern .inplug-flow-km__control { display: grid; gap: 14px; }
body.ipl-design-inmodern .inplug-flow-km__number { display: flex; align-items: baseline; justify-content: center; gap: 8px; order: -1; }
body.ipl-design-inmodern .inplug-flow-km__number input { width: 5ch; min-width: 0; border: 0; background: none; text-align: center; font-family: var(--im-f); font-size: 64px; font-weight: 600; letter-spacing: -.06em; line-height: 1; color: var(--ink); padding: 0; box-shadow: none; -moz-appearance: textfield; }
body.ipl-design-inmodern .inplug-flow-km__number input::-webkit-inner-spin-button, body.ipl-design-inmodern .inplug-flow-km__number input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
body.ipl-design-inmodern .inplug-flow-km__number span { font-size: 18px; font-weight: 500; }
body.ipl-design-inmodern .inplug-flow-km__range { width: 100%; --fill: 0%; appearance: none; height: 4px; border-radius: 2px; background: linear-gradient(to right, var(--ink) var(--fill), #d9dade var(--fill)); outline: none; }
body.ipl-design-inmodern .inplug-flow-km__range::-webkit-slider-thumb { appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); cursor: grab; }
body.ipl-design-inmodern .inplug-flow-km__range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); cursor: grab; }
body.ipl-design-inmodern .inplug-flow-km__hint { margin: 0; font-size: 13.5px; color: var(--ink-2); }

/* ---------- steg 3: tillegg ---------- */
body.ipl-design-inmodern .inplug-flow-extras { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
body.ipl-design-inmodern .inplug-flow-extra { position: relative; display: grid; gap: 4px; align-content: start; padding: 16px; border: 0; border-radius: 14px; background: var(--tile); color: var(--ink); transition: background-color .3s var(--ease), color .3s var(--ease); }
body.ipl-design-inmodern .inplug-flow-group { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin: 0; padding: 0; border: 0; background: none; }
body.ipl-design-inmodern .inplug-flow-group legend { grid-column: 1 / -1; padding: 6px 0 0; float: none; width: 100%; font-size: 14px; font-weight: 600; }
body.ipl-design-inmodern .inplug-flow-extra--option + .inplug-flow-extra--option { border: 0; margin: 0; }
body.ipl-design-inmodern .inplug-flow-extra__icon { width: 40px; height: 40px; margin-bottom: 10px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; }
body.ipl-design-inmodern .inplug-flow-extra__icon svg { width: 18px; height: 18px; }
body.ipl-design-inmodern .inplug-flow-extra__text { display: grid; gap: 2px; padding: 0; }
body.ipl-design-inmodern .inplug-flow-extra__name { font-size: 14.5px; font-weight: 500; }
body.ipl-design-inmodern .inplug-flow-extra__price { font-size: 13px; opacity: .7; }
body.ipl-design-inmodern .inplug-flow-extra__price strong { font-weight: 400; }
body.ipl-design-inmodern .inplug-flow-switch { position: absolute; top: 14px; right: 14px; width: 24px; height: 24px; display: block; }
body.ipl-design-inmodern .inplug-flow-switch input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
body.ipl-design-inmodern .inplug-flow-switch > span:not(.screen-reader-text) { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid rgba(14,15,17,.2); background: transparent; transition: background-color .2s, border-color .2s; }
body.ipl-design-inmodern .inplug-flow-switch > span:not(.screen-reader-text)::after { content: ""; position: static; width: 10px; height: 6px; border: 2px solid transparent; border-top: 0; border-right: 0; background: none; border-radius: 0; transform: translateY(-1px) rotate(-45deg); transition: border-color .2s; box-shadow: none; }
body.ipl-design-inmodern .inplug-flow-switch input:checked + span { background: #fdd523; border-color: #fdd523; }
body.ipl-design-inmodern .inplug-flow-switch input:checked + span::after { border-color: var(--ink); transform: translateY(-1px) rotate(-45deg); }
body.ipl-design-inmodern .inplug-flow-extra:has(input[type="checkbox"]:checked) { background: var(--ink); color: #fff; }
body.ipl-design-inmodern .inplug-flow-extra:has(input[type="checkbox"]:checked) .inplug-flow-switch > span:not(.screen-reader-text) { border-color: #fdd523; }
body.ipl-design-inmodern .inplug-flow .inplug-flow-qty { width: 64px; height: 34px; margin-top: 6px; border: 1px solid #d3d5d9; border-radius: 8px; padding: 0 8px; color: var(--ink); background: #fff; }
body.ipl-design-inmodern .inplug-flow-group.is-missing { outline: 2px solid #b42318; outline-offset: 4px; border-radius: 12px; }

@media (min-width: 960px) {
	body.ipl-design-inmodern .im-fb__band { padding: 12px 28px 52px; }
	body.ipl-design-inmodern .im-fb__title { font-size: 52px; margin-top: 28px; padding: 0; }
	body.ipl-design-inmodern .im-fb__lead { padding: 0; font-size: 16px; }
	body.ipl-design-inmodern .inplug-flow .inplug-flow-body, body.ipl-design-inmodern .inplug-flow .inplug-co { padding: 28px 0 0; }
	body.ipl-design-inmodern .inplug-flow-features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 719px) {
	body.ipl-design-inmodern .im-fb__steps li { padding-right: 5px; }
	body.ipl-design-inmodern .im-fb__steps li:not(.is-current) em { display: none; }
	body.ipl-design-inmodern .im-fb__steps li.is-current { padding-right: 12px; }
	body.ipl-design-inmodern .im-fb__x span { display: none; }
	body.ipl-design-inmodern .im-fb__x { padding: 9px; }
}
@media (prefers-reduced-motion: reduce) {
	body.ipl-design-inmodern .inplug-flow-package, body.ipl-design-inmodern .inplug-flow-extra, body.ipl-design-inmodern .im-fb__chev { transition: none; }
}

/* valgt forsikring: ingen blå ramme eller blå radio fra pluginen */
body.ipl-design-inmodern .inplug-flow-package, body.ipl-design-inmodern .inplug-flow-package:has(input:checked) { border: 0 !important; box-shadow: none !important; outline: 0; }
body.ipl-design-inmodern .inplug-flow-package input:checked ~ .inplug-flow-package__head .inplug-flow-radio, body.ipl-design-inmodern .inplug-flow-radio { background: #fff !important; border: 0 !important; box-shadow: none !important; }
body.ipl-design-inmodern .inplug-flow-package:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
body.ipl-design-inmodern .inplug-flow-radio::before { display: none; }

/* tilleggene: hele flisen er klikkbar */
body.ipl-design-inmodern .inplug-flow-switch { inset: 0; top: 0; right: 0; width: auto; height: auto; }
body.ipl-design-inmodern .inplug-flow-switch input { z-index: 1; }
body.ipl-design-inmodern .inplug-flow-switch > span:not(.screen-reader-text) { position: absolute; top: 14px; right: 14px; }
body.ipl-design-inmodern .inplug-flow .inplug-flow-qty { position: relative; z-index: 2; }

/* kilometer: tall midt i, valgknapper */
body.ipl-design-inmodern .inplug-flow-km__number input { field-sizing: content; width: auto; min-width: 1ch; max-width: 7ch; }
body.ipl-design-inmodern .im-kmchips { display: flex; flex-wrap: wrap; gap: 8px; }
body.ipl-design-inmodern .im-kmchips button { height: 36px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: 400 13.5px var(--im-f); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
body.ipl-design-inmodern .im-kmchips button.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
body.ipl-design-inmodern .im-kmstep { display: grid; grid-template-columns: 52px minmax(0, 1fr) 52px; align-items: center; }
body.ipl-design-inmodern .im-kmstep button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; padding: 0; }
@media (hover: hover) { body.ipl-design-inmodern .im-kmstep button:hover { border-color: var(--ink); } }
body.ipl-design-inmodern .inplug-flow-switch > span:not(.screen-reader-text) { left: auto; bottom: auto; }
body.ipl-design-inmodern .im-kmstep { order: -1; }
body.ipl-design-inmodern .im-kmstep .inplug-flow-km__number { min-width: 0; justify-content: center; }
body.ipl-design-inmodern .inplug-flow-km__number input { max-width: 6ch; }
body.ipl-design-inmodern .inplug-flow-km__field > label { display: block; margin-bottom: 4px; }
body.ipl-design-inmodern .im-kmstep .inplug-flow-km__number { order: 0; margin: 0; }

/* =====================================================================
   Kassen (opplysninger, din bestilling, betaling)
   ===================================================================== */
body.ipl-design-inmodern .inplug-flow .woocommerce-message, body.ipl-design-inmodern .inplug-flow .woocommerce-notice--success:not(.woocommerce-thankyou-order-received) { display: none; }
body.ipl-design-inmodern .inplug-flow--checkout .inplug-co { max-width: none; }
body.ipl-design-inmodern .inplug-co-grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; max-width: none; margin: 0; padding: 0; }
@media (min-width: 960px) { body.ipl-design-inmodern .inplug-co-grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 64px; } }
body.ipl-design-inmodern .inplug-co-card { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
body.ipl-design-inmodern .inplug-co-heading { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-family: var(--im-f); font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); text-transform: none; }
body.ipl-design-inmodern .inplug-co-num { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; }
body.ipl-design-inmodern .inplug-co .form-row label { font-size: 13px; font-weight: 500; color: var(--ink); }
body.ipl-design-inmodern .inplug-co .form-row .required { color: #b42318; }
body.ipl-design-inmodern .inplug-co .form-row :is(input.input-text, select, textarea), body.ipl-design-inmodern .inplug-co .form-row .select2-selection { width: 100%; height: 50px; border: 1px solid #d3d5d9; border-radius: 10px; padding: 0 14px; font: 400 16px var(--im-f); color: var(--ink); background: var(--page); box-shadow: none; transition: border-color .2s, box-shadow .2s; }
body.ipl-design-inmodern .inplug-co .form-row .select2-selection .select2-selection__rendered { line-height: 48px; padding-left: 0; }
body.ipl-design-inmodern .inplug-co .form-row .select2-selection .select2-selection__arrow { height: 48px; }
body.ipl-design-inmodern .inplug-co .form-row :is(input.input-text, select, textarea):focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(14,15,17,.08); }
body.ipl-design-inmodern .inplug-co .form-row.woocommerce-invalid :is(input.input-text, select) { border-color: #b42318; box-shadow: 0 0 0 3px rgba(180,35,24,.08); }
body.ipl-design-inmodern .inplug-co .form-row.woocommerce-validated :is(input.input-text) { border-color: #d3d5d9; }

/* knappene styres fra handlingslinjen nederst: ikke dobbelt opp */
body.ipl-design-inmodern .inplug-co .inplug-co-next, body.ipl-design-inmodern .inplug-co .inplug-co-order-actions .inplug-co-continue, body.ipl-design-inmodern .inplug-co #payment #place_order { display: none !important; }
body.ipl-design-inmodern .inplug-co .inplug-co-edit { padding: 0; border: 0; background: none; color: var(--ink-2); font: 400 14px var(--im-f); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
body.ipl-design-inmodern .inplug-co-order-actions { display: flex; justify-content: center; }

/* betaling */
body.ipl-design-inmodern .inplug-co-recap { display: flex; justify-content: space-between; gap: 16px; padding: 16px 18px; border-radius: 14px; background: var(--tile); }
body.ipl-design-inmodern .inplug-co-recap__text { display: grid; gap: 2px; font-size: 14px; color: var(--ink-2); }
body.ipl-design-inmodern .inplug-co-recap__text span:first-child { color: var(--ink); font-weight: 600; }
body.ipl-design-inmodern .inplug-co .wc_payment_methods > li { padding: 0; border: 0; border-radius: 16px; background: var(--tile); overflow: hidden; }
body.ipl-design-inmodern .inplug-co .wc_payment_methods > li > label { display: flex; align-items: center; gap: 12px; padding: 18px; font-size: 16px; font-weight: 600; color: var(--ink); }
body.ipl-design-inmodern .inplug-co .payment_box { margin: 0; padding: 0 18px 18px; border: 0; background: none; color: var(--ink-2); font-size: 14px; }
body.ipl-design-inmodern .inplug-co .payment_box::before { display: none; }
body.ipl-design-inmodern .inplug-co .woocommerce-terms-and-conditions-wrapper { margin-top: 16px; font-size: 14px; color: var(--ink-2); }
body.ipl-design-inmodern .inplug-co .woocommerce-form__label-for-checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }

/* oppsummeringen (din bestilling) */
body.ipl-design-inmodern .inplug-co-aside { display: grid; gap: 16px; max-width: none; padding: 0; border: 0; background: none; }
body.ipl-design-inmodern .inplug-co-summary { border: 0; border-radius: 18px; background: var(--tile); padding: 0; }
body.ipl-design-inmodern .inplug-co-summary > summary { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; font-size: 18px; font-weight: 600; letter-spacing: -.02em; cursor: pointer; list-style: none; }
body.ipl-design-inmodern .inplug-co-summary > .woocommerce-checkout-review-order { padding: 0 22px 18px; }
body.ipl-design-inmodern .inplug-co-totals :is(th, td), body.ipl-design-inmodern .inplug-co .shop_table :is(th, td) { font-size: 14px; color: var(--ink); }
body.ipl-design-inmodern .inplug-co .order-total :is(th, td) { font-size: 18px; font-weight: 600; }
body.ipl-design-inmodern .inplug-co-trust { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 13.5px; color: var(--ink-2); }
body.ipl-design-inmodern .inplug-co-coupon { font-size: 14px; color: var(--ink-2); }
body.ipl-design-inmodern .inplug-co-coupon a { color: var(--ink); }
body.ipl-design-inmodern .inplug-co[data-step="2"] .inplug-co-aside { max-width: 760px; margin-inline: auto; }
body.ipl-design-inmodern .inplug-flow .inplug-co .woocommerce-info { border: 0; border-radius: 12px; background: var(--tile); color: var(--ink-2); }

/* bestillingsbekreftelsen: se nederst */
body.ipl-design-inmodern .inplug-co-heading.inplug-co-order-only { display: none; }
body.ipl-design-inmodern .inplug-co[data-step="2"] .inplug-co-heading.inplug-co-order-only { display: flex; }
body.ipl-design-inmodern .inplug-co .inplug-co-edit, body.ipl-design-inmodern .inplug-co-order-actions .inplug-co-edit { color: var(--ink-2) !important; }
body.ipl-design-inmodern .inplug-co :is(input[type="radio"], input[type="checkbox"]) { accent-color: var(--ink); }

/* informasjonskapsel-banneret ligger over handlingslinjen, ikke bak */
body.ipl-design-inmodern.inplug-flow-page .cookie-notification { bottom: 84px !important; }
@media (max-width: 599px) { body.ipl-design-inmodern.inplug-flow-page .cookie-notification { left: 8px !important; right: 8px !important; width: auto !important; max-width: none; } }
body.ipl-design-inmodern .im-fb__top { flex-wrap: nowrap; }
body.ipl-design-inmodern .im-fb__steps { min-width: 0; }
@media (max-width: 959px) {
	body.ipl-design-inmodern .inplug-co[data-step="1"] .inplug-co-aside, body.ipl-design-inmodern .inplug-co[data-step="3"] .inplug-co-aside { display: none; }
}
body.ipl-design-inmodern .im-fb__steps { flex-wrap: nowrap; flex: 0 1 auto; }

/* kontrast */
body.ipl-design-inmodern .inplug-flow-feature.is-off { opacity: 1; color: #6a6d74; }
body.ipl-design-inmodern .inplug-flow-package:has(input:checked) .inplug-flow-feature.is-off { color: #a3a6ad; }
body.ipl-design-inmodern .inplug-flow .inplug-flow-km__hint, body.ipl-design-inmodern .inplug-flow .inplug-flow-km__price { color: #5d6168; }
body.ipl-design-inmodern .inplug-flow .inplug-flow-km__price strong { color: var(--ink); }
body.ipl-design-inmodern .inplug-flow .inplug-flow-km__hint { opacity: 1; }

/* ---------- ett sammenhengende svart felt: logo, trinn og Avbryt i én rad (som mockupens kasse), uten den vanlige headeren ---------- */
body.ipl-design-inmodern.inplug-flow-page #header { display: none; }
body.ipl-design-inmodern .im-fb__band { padding: 14px 28px 48px; }
body.ipl-design-inmodern .im-fb__top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; max-width: 1240px; padding: 6px 0; }
body.ipl-design-inmodern .im-fb__top .ipl-logo { justify-self: start; display: block; line-height: 0; }
body.ipl-design-inmodern .im-fb__top .ipl-logo img { height: 24px; width: auto; max-width: none; filter: invert(1); }
body.ipl-design-inmodern .im-fb__top .ipl-logo--color img { filter: none; }
body.ipl-design-inmodern .im-fb__steps { justify-self: center; }
body.ipl-design-inmodern .im-fb__end { justify-self: end; display: flex; align-items: center; gap: 8px; }
body.ipl-design-inmodern .im-fb__dl { margin-top: 18px; }
@media (max-width: 959px) {
	body.ipl-design-inmodern .im-fb__band { padding: 12px 16px 44px; }
	body.ipl-design-inmodern .im-fb__top { grid-template-columns: 1fr auto; grid-template-areas: "logo x" "steps steps"; row-gap: 12px; }
	body.ipl-design-inmodern .im-fb__top .ipl-logo { grid-area: logo; }
	body.ipl-design-inmodern .im-fb__top .ipl-logo img { height: 22px; }
	body.ipl-design-inmodern .im-fb__end { grid-area: x; }
	body.ipl-design-inmodern .im-fb__steps { grid-area: steps; justify-self: stretch; }
}


/* =====================================================================
   Takkesiden (bestillingsbekreftelsen)
   ===================================================================== */
body.ipl-design-inmodern .im-fb__steps li[data-step="thanks"].is-current { display: flex; }
body.ipl-design-inmodern .inplug-flow--checkout .woocommerce-order { max-width: 760px; margin: 0 auto; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; display: grid; gap: 22px; }
body.ipl-design-inmodern .inplug-flow--checkout .woocommerce-order > * { margin: 0; }
body.ipl-design-inmodern .inplug-flow--checkout .woocommerce-notice--success { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 0; border-radius: 14px; background: var(--tile); color: var(--ink); font-size: 18px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
body.ipl-design-inmodern .inplug-flow--checkout .woocommerce-order-overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin: 0; padding: 0; border: 0; background: none; list-style: none; }
body.ipl-design-inmodern .inplug-flow--checkout .woocommerce-order-overview li { margin: 0; padding: 14px 16px; border: 0; border-radius: 12px; background: var(--tile); font-size: 13px; color: var(--ink-2); }
body.ipl-design-inmodern .inplug-flow--checkout .woocommerce-order-overview li strong { display: block; margin-top: 4px; font-size: 16px; font-weight: 600; color: var(--ink); }
body.ipl-design-inmodern .inplug-flow--checkout :is(.woocommerce-order-details, .woocommerce-customer-details, .woocommerce-bacs-bank-details) { margin: 0; padding: 0; border: 0; }
body.ipl-design-inmodern .inplug-flow--checkout :is(.woocommerce-order-details__title, .woocommerce-column__title, .wc-bacs-bank-details-heading, .woocommerce-order-details h2, .woocommerce-customer-details h2) { margin: 0 0 12px; font-family: var(--im-f); font-size: 22px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; color: var(--ink); text-transform: none; }
body.ipl-design-inmodern .inplug-flow--checkout table.woocommerce-table { width: 100%; margin: 0; border: 0; border-collapse: collapse; font-size: 14px; color: var(--ink); background: none; }
body.ipl-design-inmodern .inplug-flow--checkout table.woocommerce-table :is(th, td) { padding: 14px 0; border: 0; border-bottom: 1px solid var(--line); background: none; vertical-align: top; text-align: left; font-weight: 400; }
body.ipl-design-inmodern .inplug-flow--checkout table.woocommerce-table thead th { font-weight: 600; }
body.ipl-design-inmodern .inplug-flow--checkout table.woocommerce-table tfoot th { font-weight: 600; }
body.ipl-design-inmodern .inplug-flow--checkout table.woocommerce-table :is(td:last-child, th:last-child) { text-align: right; white-space: nowrap; padding-left: 16px; }
body.ipl-design-inmodern .inplug-flow--checkout table.woocommerce-table a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
body.ipl-design-inmodern .inplug-flow--checkout table.woocommerce-table :is(ul.wc-item-meta, dl.variation) { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 3px; font-size: 13.5px; }
body.ipl-design-inmodern .inplug-flow--checkout table.woocommerce-table :is(.wc-item-meta li, dl.variation dt, dl.variation dd) { margin: 0; padding: 0; }
body.ipl-design-inmodern .inplug-flow--checkout .woocommerce-columns { display: grid; gap: 16px; width: 100%; float: none; }
body.ipl-design-inmodern .inplug-flow--checkout .woocommerce-columns > .woocommerce-column { float: none; width: 100%; max-width: none; margin: 0; }
body.ipl-design-inmodern .inplug-flow--checkout .woocommerce-customer-details address { margin: 0; padding: 16px 18px; border: 0; border-radius: 14px; background: var(--tile); font-style: normal; font-size: 14px; line-height: 1.6; color: var(--ink); }
body.ipl-design-inmodern .inplug-flow--checkout .woocommerce-bacs-bank-details :is(ul, .wc-bacs-bank-details) { margin: 0; padding: 14px 16px; list-style: none; border-radius: 14px; background: var(--tile); display: grid; gap: 4px; font-size: 14px; }
@media (max-width: 959px) {
	body.ipl-design-inmodern .inplug-flow--checkout .woocommerce-order { gap: 20px; }
}
body.ipl-design-inmodern .inplug-flow--checkout .woocommerce-notice--success :is(svg, i, .ct-icon) { position: static; flex: none; margin: 0; }
body.ipl-design-inmodern .inplug-flow--checkout .woocommerce-notice--success::before { display: none; }
body.ipl-design-inmodern .inplug-flow--checkout:has(.woocommerce-order) :is(.im-fb__title, .im-fb__lead) { justify-self: center; width: min(100%, 760px); }
@media (max-width: 599px) { body.ipl-design-inmodern .inplug-flow--checkout .woocommerce-order-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* forsikringskortene: pluginens negative sidemarg på listen fjernes, så luften følger kortets egen padding */
body.ipl-design-inmodern .inplug-flow-features { margin: 10px 0 0; }
body.ipl-design-inmodern .inplug-flow-package { padding: 20px 22px; }
body.ipl-design-inmodern .inplug-flow-radio { top: 18px; right: 18px; }
@media (max-width: 599px) { body.ipl-design-inmodern .inplug-flow-package { padding: 18px 18px; } }

/* kilometer: jevn luft mellom alle delene */
body.ipl-design-inmodern .inplug-flow-km { gap: 24px; padding: 26px; }
body.ipl-design-inmodern .inplug-flow-km__field { display: grid; gap: 14px; }
body.ipl-design-inmodern .inplug-flow-km__control { gap: 22px; }
body.ipl-design-inmodern .inplug-flow-km__range { margin: 6px 0 2px; }
body.ipl-design-inmodern .im-kmchips { margin-top: 2px; }
body.ipl-design-inmodern .inplug-flow-km__hint { padding-top: 2px; }
@media (max-width: 599px) { body.ipl-design-inmodern .inplug-flow-km { padding: 20px 18px; gap: 20px; } body.ipl-design-inmodern .im-kmstep { grid-template-columns: 44px minmax(0, 1fr) 44px; } body.ipl-design-inmodern .im-kmstep button { width: 44px; height: 44px; } }

/* «Din bestilling» er sitt eget trinn (5): oppsummeringen vises bare der, ikke ved opplysninger eller betaling */
body.ipl-design-inmodern .inplug-co:not([data-step="2"]) .inplug-co-aside { display: none; }
body.ipl-design-inmodern .inplug-co:not([data-step="2"]) .inplug-co-grid { grid-template-columns: minmax(0, 760px); justify-content: center; }
body.ipl-design-inmodern .inplug-co-num { display: none; }
body.ipl-design-inmodern .inplug-co-heading { gap: 0; }
body.ipl-design-inmodern .inplug-flow--checkout :is(.im-fb__title, .im-fb__lead) { justify-self: center; width: min(100%, 760px); }
@media (max-width: 959px) { body.ipl-design-inmodern .inplug-flow--checkout :is(.im-fb__title, .im-fb__lead) { padding-inline: 16px; } }

/* rabattkode: padding i boksen og i skjemaet som åpnes */
body.ipl-design-inmodern .inplug-co-coupon .woocommerce-info, body.ipl-design-inmodern .inplug-co .woocommerce-form-coupon-toggle .woocommerce-info { margin: 0; padding: 16px 20px; border: 0; border-radius: 14px; background: var(--tile); color: var(--ink-2); font-size: 14px; line-height: 1.5; }
body.ipl-design-inmodern .inplug-co-coupon .woocommerce-info::before { display: none; }
body.ipl-design-inmodern .inplug-co-coupon a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
body.ipl-design-inmodern .inplug-co-coupon form.checkout_coupon { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 10px 0 0; padding: 16px 20px; border: 0; border-radius: 14px; background: var(--tile); }
body.ipl-design-inmodern .inplug-co-coupon form.checkout_coupon p { margin: 0; padding: 0; width: auto; float: none; }
body.ipl-design-inmodern .inplug-co-coupon form.checkout_coupon .form-row-first { flex: 1 1 200px; }
body.ipl-design-inmodern .inplug-co-coupon form.checkout_coupon p:first-child { flex: 1 0 100%; }
body.ipl-design-inmodern .inplug-co-coupon form.checkout_coupon input.input-text { width: 100%; height: 46px; padding: 0 14px; border: 1px solid #d3d5d9; border-radius: 10px; background: var(--page); font: 400 15px var(--im-f); box-shadow: none; }
body.ipl-design-inmodern .inplug-co-coupon form.checkout_coupon button { height: 46px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 500 14px var(--im-f); cursor: pointer; }

/* «Se over og bekreft» (trinn Din bestilling) */
body.ipl-design-inmodern .im-rv { display: none; }
body.ipl-design-inmodern .inplug-co[data-step="2"] .im-rv { display: block; margin-bottom: 28px; }
body.ipl-design-inmodern .im-tk { display: grid; border-radius: 20px; overflow: hidden; color: #fff; background: radial-gradient(120% 120% at 0% 0%, #2c2d33 0%, #0e0f11 55%); }
body.ipl-design-inmodern .im-tk__main { display: grid; gap: 10px; padding: 22px; order: 1; }
body.ipl-design-inmodern .im-tk__k { margin: 0; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: #fdd523; font-weight: 600; }
body.ipl-design-inmodern .im-tk h2 { margin: 0; color: #fff; font-size: 26px; font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
body.ipl-design-inmodern .im-tk__pill { justify-self: start; font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; padding: 4px 10px; border-radius: 999px; background: #fff; color: var(--ink); }
body.ipl-design-inmodern .im-tk__trip { display: grid; grid-template-columns: auto minmax(40px, 1fr) auto; align-items: center; gap: 12px; margin-top: 8px; }
body.ipl-design-inmodern .im-tk__trip small { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; color: #a3a6ad; }
body.ipl-design-inmodern .im-tk__trip b { display: block; font-size: 52px; font-weight: 600; letter-spacing: -.06em; line-height: .95; font-variant-numeric: tabular-nums; }
body.ipl-design-inmodern .im-tk__trip > div:not(.im-tk__line) > span { display: block; font-size: 12.5px; color: #d4d6da; }
body.ipl-design-inmodern .im-tk__end { text-align: right; }
body.ipl-design-inmodern .im-tk__line { display: flex; align-items: center; gap: 8px; }
body.ipl-design-inmodern .im-tk__line i { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.5) 0 8px, transparent 8px 14px); }
body.ipl-design-inmodern .im-tk__line span { font-size: 12px; font-weight: 600; color: var(--ink); padding: 4px 10px; border-radius: 999px; background: #fff; white-space: nowrap; }
body.ipl-design-inmodern .im-tk__perf { order: 0; height: 0; border-top: 2px dashed rgba(255,255,255,.22); margin: 0 18px; }
body.ipl-design-inmodern .im-tk__stage { order: -1; display: grid; place-items: center; margin: 14px; border-radius: 14px; height: 150px; background: radial-gradient(90% 75% at 50% 62%, #fff 0%, #f1f1f2 50%, #e2e3e6 100%); }
body.ipl-design-inmodern .im-tk__stage { position: relative; overflow: hidden; }
body.ipl-design-inmodern .im-tk__stage img { position: absolute; inset: 10% 12%; width: 76%; height: 80%; max-width: none; object-fit: contain; mix-blend-mode: multiply; }
body.ipl-design-inmodern .im-rv__tiles { display: grid; gap: 10px; margin-top: 12px; }
body.ipl-design-inmodern .im-rt { display: grid; gap: 4px; align-content: start; padding: 18px; border-radius: 16px; background: var(--tile); min-width: 0; }
body.ipl-design-inmodern .im-rt__top { margin-bottom: 6px; }
body.ipl-design-inmodern .im-rt__top small { font-size: 11px; text-transform: uppercase; letter-spacing: .09em; color: var(--ink-2); }
body.ipl-design-inmodern .im-rt__big { font-size: 26px; font-weight: 600; letter-spacing: -.035em; line-height: 1.1; }
body.ipl-design-inmodern .im-rt__sub { font-size: 13px; color: var(--ink-2); overflow-wrap: anywhere; }
body.ipl-design-inmodern .im-rt--ins { background: radial-gradient(120% 90% at 100% 0%, #2c2d33 0%, #0e0f11 60%); color: #fff; }
body.ipl-design-inmodern .im-rt--ins .im-rt__top small, body.ipl-design-inmodern .im-rt--ins .im-rt__sub { color: #a3a6ad; }
body.ipl-design-inmodern .im-rt__lvl { display: flex; gap: 4px; margin-bottom: 4px; }
body.ipl-design-inmodern .im-rt__lvl i { width: 18px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.18); }
body.ipl-design-inmodern .im-rt__lvl i.on { background: #fdd523; }
body.ipl-design-inmodern .im-rn { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 14px; align-items: start; margin-top: 12px; padding: 18px; border-radius: 16px; border: 1px solid var(--line); }
body.ipl-design-inmodern .im-rn[hidden] { display: none; }
body.ipl-design-inmodern .im-rn__av { width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 16px; letter-spacing: .02em; }
body.ipl-design-inmodern .im-rn small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .09em; color: var(--ink-2); }
body.ipl-design-inmodern .im-rn b { display: block; font-size: 17px; font-weight: 600; margin-top: 2px; }
body.ipl-design-inmodern .im-rn div > span { display: block; font-size: 13.5px; color: var(--ink-2); overflow-wrap: anywhere; }
@media (min-width: 640px) { body.ipl-design-inmodern .im-rv__tiles { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) {
	body.ipl-design-inmodern .im-tk { grid-template-columns: minmax(0, 1fr) auto 300px; }
	body.ipl-design-inmodern .im-tk__stage { order: 2; height: auto; margin: 14px 14px 14px 0; }
	body.ipl-design-inmodern .im-tk__perf { order: 1; height: auto; width: 0; border-top: 0; border-left: 2px dashed rgba(255,255,255,.22); margin: 18px 0; }
	body.ipl-design-inmodern .im-tk__main { order: 0; padding: 28px; }
	body.ipl-design-inmodern .im-tk h2 { font-size: 32px; }
	body.ipl-design-inmodern .im-tk__trip b { font-size: 64px; }
}

/* forsikringskortene: nivåstrekene øverst (egen rad), jevn padding, og haken ligger ikke oppå egenandelen */
body.ipl-design-inmodern .inplug-flow-package { grid-template-areas: "stars stars" "head ded" "price ded" "feat feat"; padding: 22px 24px 24px; gap: 6px 16px; }
body.ipl-design-inmodern .inplug-flow-stars { grid-area: stars; align-self: start; margin: 0 0 10px; }
body.ipl-design-inmodern .inplug-flow-radio { top: 20px; right: 22px; }
body.ipl-design-inmodern .inplug-flow-package:has(input:checked) .inplug-flow-deductible { padding-right: 0; }
body.ipl-design-inmodern .inplug-flow-features { margin: 14px 0 0; }
@media (max-width: 599px) {
	body.ipl-design-inmodern .inplug-flow-package { padding: 20px 20px 22px; }
	body.ipl-design-inmodern .inplug-flow-radio { top: 18px; right: 18px; }
}

/* kilometertallet: ingen ring eller sirkel rundt tallet (Blocksy gir feltet en gjennomsiktig kontur med runde hjørner), og ingen hengende ramme på +/- etter trykk */
body.ipl-design-inmodern .inplug-flow-km__number input { outline: 0 !important; box-shadow: none !important; border-radius: 0 !important; -webkit-tap-highlight-color: transparent; caret-color: var(--ink); }
body.ipl-design-inmodern .inplug-flow-km__number input:focus-visible { box-shadow: 0 3px 0 -1px var(--ink) !important; }
body.ipl-design-inmodern .inplug-flow-km__number input::selection { background: rgba(14, 15, 17, .12); color: inherit; }
body.ipl-design-inmodern .im-kmstep button, body.ipl-design-inmodern .im-kmchips button { -webkit-tap-highlight-color: transparent; }
body.ipl-design-inmodern .im-kmstep button:focus:not(:focus-visible), body.ipl-design-inmodern .im-kmchips button:focus:not(:focus-visible) { outline: 0; }
body.ipl-design-inmodern .im-kmstep button:focus-visible, body.ipl-design-inmodern .im-kmchips button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
body.ipl-design-inmodern .inplug-flow-km__number input { padding: 0 .1em 0 .04em !important; box-sizing: content-box; }

/* «Din leie»: forsikring, kilometer og tillegg som piller i én rekke under kjøretøyet (ikke én liste per rad) */
body.ipl-design-inmodern .im-fb__dlb { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; padding: 0 16px 18px; }
body.ipl-design-inmodern .im-fb__dlb .im-fb__car { flex: 0 0 100%; margin-bottom: 4px; }
body.ipl-design-inmodern .im-fb__dlb .im-fb__list { display: contents; }
body.ipl-design-inmodern .im-fb__dlb .im-fb__car:not(:first-child) { margin-top: 10px; }

/* «Din leie» i flyten og kassen: samme utseende som handlekurvpanelet (bilde, navn, hent/lever med store datotall), pillene under */
body.ipl-design-inmodern .im-fb__dlb { display: block; padding: 4px 16px 18px; }
body.ipl-design-inmodern .im-dlc { display: grid; grid-template-columns: 96px minmax(0, 1fr); grid-template-areas: "stage name" "trip trip" "pills pills"; gap: 14px; align-items: center; }
body.ipl-design-inmodern .im-dlc + .im-dlc { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); }
body.ipl-design-inmodern .im-dlc__main { display: contents; }
body.ipl-design-inmodern .im-dlc__stage { grid-area: stage; position: relative; display: grid; place-items: center; overflow: hidden; height: 72px; border-radius: 12px; background: radial-gradient(90% 75% at 50% 62%, #ffffff 0%, #f1f1f2 50%, #e2e3e6 100%); }
body.ipl-design-inmodern .im-dlc__stage img { width: 86%; height: 78%; object-fit: contain; mix-blend-mode: multiply; }
body.ipl-design-inmodern .im-dlc__name { grid-area: name; margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
body.ipl-design-inmodern .im-dlc__name a { color: #fff; text-decoration: none; }
body.ipl-design-inmodern .im-dlc__trip { grid-area: trip; display: grid; grid-template-columns: auto minmax(40px, 1fr) auto; align-items: center; gap: 10px; }
body.ipl-design-inmodern .im-dlc__pt { display: grid; justify-items: start; }
body.ipl-design-inmodern .im-dlc__pt--end { justify-items: end; text-align: right; }
body.ipl-design-inmodern .im-dlc__pt small { margin-bottom: 2px; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: #8b8e95; }
body.ipl-design-inmodern .im-dlc__day { font-size: 42px; font-weight: 600; letter-spacing: -.06em; line-height: .95; font-variant-numeric: tabular-nums; color: #fff; }
body.ipl-design-inmodern .im-dlc__md { margin-top: 2px; font-size: 12.5px; font-weight: 500; color: #fff; }
body.ipl-design-inmodern .im-dlc__t { font-size: 12px; color: #a3a6ad; }
body.ipl-design-inmodern .im-dlc__line { display: flex; align-items: center; gap: 10px; }
body.ipl-design-inmodern .im-dlc__line i { flex: 1; height: 2px; border-radius: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.55) 0 8px, transparent 8px 14px); }
body.ipl-design-inmodern .im-dlc__line span { padding: 4px 9px; border-radius: 999px; background: #fff; font-size: 11.5px; font-weight: 600; color: var(--ink); white-space: nowrap; }
body.ipl-design-inmodern .im-dlc__pills { grid-area: pills; display: flex; flex-wrap: wrap; gap: 8px; }
body.ipl-design-inmodern .im-dlc__pills .im-fb__list { display: contents; }
@media (min-width: 960px) {
	body.ipl-design-inmodern .im-fb__dlb { padding: 6px 22px 24px; }
	body.ipl-design-inmodern .im-dlc { grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: stretch; }
	body.ipl-design-inmodern .im-dlc__main { display: grid; align-content: center; gap: 14px; grid-area: auto; min-width: 0; }
	body.ipl-design-inmodern .im-dlc__stage { grid-area: auto; height: 190px; border-radius: 16px; }
	body.ipl-design-inmodern .im-dlc__name { grid-area: auto; font-size: 26px; }
	body.ipl-design-inmodern .im-dlc__trip { grid-area: auto; gap: 18px; grid-template-columns: auto minmax(70px, 1fr) auto; max-width: 620px; }
	body.ipl-design-inmodern .im-dlc__day { font-size: 56px; }
	body.ipl-design-inmodern .im-dlc__md { margin-top: 4px; font-size: 14px; }
	body.ipl-design-inmodern .im-dlc__t { font-size: 13px; }
	body.ipl-design-inmodern .im-dlc__line span { padding: 5px 12px; font-size: 12.5px; }
	body.ipl-design-inmodern .im-dlc__pills { grid-area: auto; }
}
body.ipl-design-inmodern .im-dlc__stage img { position: absolute; inset: 10% 7%; width: 86%; height: 80%; max-width: none; }
@media (min-width: 960px) { body.ipl-design-inmodern .im-dlc { grid-template-areas: none; grid-template-rows: auto; } }
@media (min-width: 960px) {
	body.ipl-design-inmodern .im-dlc { grid-template-columns: 340px minmax(0, 1fr); gap: 36px; }
	body.ipl-design-inmodern .im-dlc__stage { height: 210px; }
	body.ipl-design-inmodern .im-dlc__trip { max-width: none; width: 100%; }
	body.ipl-design-inmodern .im-dlc__day { font-size: 64px; }
}

/* handlingslinjen på smale skjermer: Tilbake og total øverst, den store knappen i full bredde under (ikke alt på én trang rad) */
@media (max-width: 520px) {
	body.ipl-design-inmodern .inplug-flow { padding-bottom: 168px; }
	body.ipl-design-inmodern .inplug-flow .im-fb__act { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "back total" "go go"; align-items: end; gap: 12px 16px; padding: 14px 20px calc(16px + env(safe-area-inset-bottom, 0px)); }
	body.ipl-design-inmodern .inplug-flow .im-fb__back { grid-area: back; align-self: center; }
	body.ipl-design-inmodern .inplug-flow .im-fb__mirror { grid-area: total; margin: 0; justify-self: end; text-align: right; }
	body.ipl-design-inmodern .inplug-flow .inplug-flow-continue.im-btn { grid-area: go; width: 100%; justify-content: space-between; padding: 0 8px 0 24px !important; }
}

/* meldinger fra WooCommerce (f.eks. «ikke ledig i perioden») under tittelen og ingressen, ikke oppå dem */
body.ipl-design-inmodern .inplug-flow > .woocommerce-error, body.ipl-design-inmodern .inplug-flow > .woocommerce-message, body.ipl-design-inmodern .inplug-flow > .woocommerce-info, body.ipl-design-inmodern .inplug-flow > .woocommerce-notices-wrapper { grid-row: 4; margin: 18px 16px 4px; }
@media (min-width: 960px) { body.ipl-design-inmodern .inplug-flow > .woocommerce-error, body.ipl-design-inmodern .inplug-flow > .woocommerce-message, body.ipl-design-inmodern .inplug-flow > .woocommerce-info, body.ipl-design-inmodern .inplug-flow > .woocommerce-notices-wrapper { margin: 22px 0 4px; } }
body.ipl-design-inmodern .inplug-flow:has(> .woocommerce-error, > .woocommerce-message, > .woocommerce-info) :is(.inplug-flow-body, .inplug-co) { grid-row: 5; }
body.ipl-design-inmodern .inplug-flow > :is(.woocommerce-error, .woocommerce-message, .woocommerce-info) { align-self: start; }

/* tjenestegrupper (f.eks. «Henting»): overskriften på linje med flisene, og teksten under bryteren i hjørnet */
body.ipl-design-inmodern .inplug-flow-group legend { margin: 0 !important; padding: 14px 0 4px !important; transform: none; font-size: 15px; letter-spacing: -.01em; }
body.ipl-design-inmodern .inplug-flow-group legend em { margin-left: 6px; }
body.ipl-design-inmodern .inplug-flow-extra--option { padding: 16px 52px 16px 16px; min-height: 78px; align-content: center; }
body.ipl-design-inmodern .inplug-flow-extra--option .inplug-flow-extra__text { display: grid; gap: 4px; }
