/* /checkout: to spalter, som kunden kender dem. Klart og uden pynt. */
:root { --plum: #3f1f2d; --berry: #7b3549; --cream: #f7ebdf; --yellow: #fddd1d; --ink: #2e1c22; --soft: #6d5a62; --line: #e4dcd8; --bg: #f7f4f2; --green: #1e7a54; --r: 12px; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 1rem/1.45 "Figtree", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, dl, dd { margin: 0; padding: 0; }
ul { list-style: none; }
h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; letter-spacing: -.01em; }
a { color: inherit; text-underline-offset: 3px; }
button { font: inherit; cursor: pointer; touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--berry); outline-offset: 2px; }

.bar { padding: 9px 16px; background: var(--plum); color: var(--cream); text-align: center; font-size: .9rem; }
.bar b { color: var(--yellow); }

.top { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 12px max(16px, calc((100vw - 1040px) / 2)); border-bottom: 1px solid var(--line); }
.top img { height: 44px; width: auto; }
.top__tilbage { justify-self: start; width: 44px; height: 44px; display: grid; place-items: center; font-size: 1.8rem; line-height: 1; text-decoration: none; color: var(--plum); }
.top__kurv { position: relative; justify-self: end; color: var(--plum); display: grid; }
.top__kurv i { position: absolute; top: -7px; right: -8px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--plum); color: #fff; font: 700 .7rem/18px "Figtree"; text-align: center; }

.side { display: grid; gap: 22px; max-width: 480px; margin: 0 auto; padding: 16px 16px 32px; }
.koeb { display: grid; gap: 26px; min-width: 0; order: 2; }
.hoejre { display: contents; }
.sum { order: 1; }
.tillid { order: 3; }

.felt { position: relative; display: block; margin-top: 10px; }
h2 + .felt { margin-top: 0; }
.felt input { width: 100%; height: 56px; padding: 20px 14px 6px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink); font: inherit; font-size: 16px; transition: border-color .12s; }
.felt input:focus { outline: 0; border-color: var(--plum); box-shadow: 0 0 0 1px var(--plum); }
.felt span { position: absolute; left: 15px; top: 17px; color: var(--soft); pointer-events: none; transform-origin: 0 0; transition: transform .12s, color .12s; }
.felt input:focus + span, .felt input:not(:placeholder-shown) + span { transform: translateY(-9px) scale(.76); }
.felt.er-fejl input { border-color: #b3261e; box-shadow: 0 0 0 1px #b3261e; }
.felt--laast input { background: var(--bg); }
.felt--laast span { transform: translateY(-9px) scale(.76); }
.to { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.to .felt { margin-top: 0; }
.hjaelp { display: block; margin: 5px 2px 0; color: var(--soft); font-size: .8rem; }
.flueben { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; color: var(--soft); font-size: .92rem; cursor: pointer; }
.flueben input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--plum); }

.konto { display: grid; gap: 1px; width: 100%; padding: 12px 14px; border: 1px dashed var(--line); border-radius: var(--r); background: none; color: var(--ink); text-align: left; }
.konto span { color: var(--soft); font-size: .88rem; }
.konto[aria-pressed="true"] { border-style: solid; border-color: var(--plum); box-shadow: 0 0 0 1px var(--plum); }
.valg { display: grid; gap: 8px; }
.valg label { position: relative; cursor: pointer; }
.valg input { position: absolute; left: 14px; top: 16px; width: 20px; height: 20px; margin: 0; accent-color: var(--plum); }
.valg span { display: grid; grid-template-columns: 1fr auto; gap: 1px 8px; padding: 12px 14px 12px 44px; border: 1px solid var(--line); border-radius: var(--r); }
.valg b { grid-column: 1; }
.valg i { grid-column: 2; grid-row: 1; align-self: center; padding: 2px 8px; border-radius: 6px; background: var(--yellow); color: var(--plum); font: 700 .74rem "Figtree"; }
.valg small { grid-column: 1 / -1; color: var(--soft); font-size: .84rem; line-height: 1.3; }
.valg input:checked + span { border-color: var(--plum); box-shadow: 0 0 0 1px var(--plum); }
.valg input:focus-visible + span { outline: 2px solid var(--berry); outline-offset: 2px; }
.hjaelp--top { margin: -6px 2px 10px; font-size: .88rem; }
.venner { display: grid; gap: 8px; }
.ven { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--r); background: var(--bg); }
.ven img { width: 48px; height: 48px; object-fit: contain; }
.ven p b { display: block; font-size: .95rem; }
.ven p small { color: var(--soft); font-size: .84rem; }
.taeller { display: flex; align-items: center; gap: 2px; }
.taeller button { width: 44px; height: 44px; border: 0; border-radius: 10px; background: #fff; color: var(--plum); font: 700 1.2rem "Figtree"; box-shadow: inset 0 0 0 1px var(--line); }
.taeller button:disabled { opacity: .4; cursor: default; }
.taeller span { min-width: 24px; text-align: center; font-weight: 700; }

.metode { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.metode label { position: relative; }
.metode input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.metode span { display: grid; place-items: center; min-height: 52px; padding: 6px 10px; border: 1px solid var(--line); border-radius: var(--r); font-weight: 700; font-size: .95rem; text-align: center; }
.metode input:checked + span { border-color: var(--plum); box-shadow: 0 0 0 1px var(--plum); }
.metode input:focus-visible + span { outline: 2px solid var(--berry); outline-offset: 2px; }
.metode__note { margin: -2px 0 12px; color: var(--soft); font-size: .88rem; }
.betal { min-height: 96px; }
img[src$="icon-192.png"] { filter: saturate(1.8) contrast(1.05); }
.fejl { padding: 10px 14px; border-radius: var(--r); background: #fbeae9; color: #8c1d18; font-size: .92rem; }
.cta { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 58px; border: 0; border-radius: var(--r); background: var(--plum); color: #fff; font: 700 1.1rem "Figtree"; text-decoration: none; transition: transform .1s, opacity .12s; }
.cta:active { transform: scale(.985); }
.cta:disabled { opacity: .55; cursor: default; }
.abo { margin-top: -14px; color: var(--soft); font-size: .84rem; text-align: center; }
.abo:empty { display: none; }

.sum { border: 1px solid var(--line); border-radius: 16px; padding: 14px; min-width: 0; }
.sum__fragt { position: relative; display: flex; align-items: center; gap: 8px; padding-bottom: 14px; font-size: .92rem; color: var(--plum); }
.sum__fragt i { position: absolute; left: 0; right: 0; bottom: 4px; height: 5px; border-radius: 3px; background: var(--yellow); }
.vare { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 12px; padding: 10px; margin-top: 8px; border-radius: var(--r); background: var(--bg); }
.vare__foto { position: relative; display: block; width: 56px; height: 56px; border-radius: 10px; background: #fff; }
.vare__foto img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }
.vare__foto i { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--plum); color: #fff; font: 700 .72rem/20px "Figtree"; text-align: center; }
.vare p { min-width: 0; }
.vare p b { display: block; font-size: .98rem; }
.vare small { display: block; color: var(--soft); font-size: .84rem; line-height: 1.3; }
.vare__pris { font-weight: 700; white-space: nowrap; }
.vare__ret { display: grid; justify-items: end; }
.vare__ret button { padding: 2px 0 2px 8px; min-height: 28px; border: 0; background: none; color: var(--soft); font-size: .82rem; text-decoration: underline; text-underline-offset: 2px; }
/* Puko+ er en del af bamsen, ikke en vare for sig */
.vare--plus { grid-template-columns: 1fr auto; gap: 8px; padding: 2px 10px 0; margin-top: 4px; background: none; }
.vare--plus .vare__foto { display: none; }
.vare--plus p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; }
.vare--plus p b, .vare--plus .vare__pris { font-size: .88rem; font-weight: 600; }
.vare--plus small { font-size: .84rem; }
.vare--plus .vare__ret { grid-auto-flow: column; align-items: baseline; gap: 4px; }
dl { display: grid; gap: 7px; margin-top: 16px; }
dl div { display: flex; justify-content: space-between; align-items: baseline; }
dt { color: var(--soft); }
.gratis { color: var(--green); font-weight: 700; }
.i-alt { margin-top: 6px; }
.i-alt dt { color: var(--ink); font-size: 1.2rem; font-weight: 800; }
.i-alt small { color: var(--soft); font-size: .8rem; }
.i-alt b { font-size: 1.45rem; font-weight: 800; }
.moms { display: block; text-align: right; color: var(--soft); font-size: .8rem; }

.tillid { display: grid; gap: 14px; padding: 0 4px; }
.tillid li { display: flex; gap: 12px; color: var(--plum); }
.tillid svg { flex: none; margin-top: 1px; }
.tillid b { display: block; font-size: .95rem; color: var(--ink); }
.tillid span { display: block; color: var(--soft); font-size: .88rem; }

.tak { max-width: 460px; margin: 0 auto; padding: 40px 16px 56px; text-align: center; display: grid; justify-items: center; gap: 12px; }
.tak img { width: 220px; }
.tak h1 { font-size: 1.8rem; line-height: 1.1; }
.tak p { color: var(--soft); }
.tak .cta { margin-top: 12px; max-width: 280px; }

@media (min-width: 900px) {
  .side { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; max-width: 1040px; padding: 0 20px; align-items: stretch; }
  .koeb { padding: 32px 44px 48px 0; border-right: 1px solid var(--line); order: 0; }
  .hoejre { display: block; position: sticky; top: 0; align-self: start; padding: 32px 0 32px 44px; }
  .sum { padding: 16px; }
  .tillid { margin-top: 24px; }
}
@media (hover: hover) and (pointer: fine) {
  .cta:not(:disabled):hover { background: var(--berry); }
  .taeller button:not(:disabled):hover { box-shadow: inset 0 0 0 1px var(--plum); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.felt select { width: 100%; height: 56px; padding: 20px 14px 6px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink); font: inherit; font-size: 16px; appearance: none; -webkit-appearance: none; }
.felt select:focus { outline: 0; border-color: var(--plum); box-shadow: 0 0 0 1px var(--plum); }
.felt select + span { transform: translateY(-9px) scale(.76); }
