/* RepairMe booking app. Structure follows the agreed reference flow; colours,
 * type and voice are RepairMe's own. Everything is scoped to .rmba. */
.rmba {
  --teal: #024c48; --teal-2: #013a37; --mint: #deffcf; --mint-2: #eef8e8; --paper: #f2f6f3;
  --line: #d8e4e0; --line-2: #c7dad0; --muted: #5c6d69; --ink: #16211f; --white: #fff;
  --radius: 16px; --shadow: 0 1px 2px #024c480a;
  font: 15px/1.5 var(--font, "Satoshi", system-ui, sans-serif); color: var(--ink);
  min-height: 100vh; background: var(--paper);
}
body.rmba-page { margin: 0; background: var(--paper); }
.rmba *, .rmba *::before, .rmba *::after { box-sizing: border-box; }
.rmba a { color: var(--teal); }
.rmba button { font: inherit; color: inherit; cursor: pointer; }
.rmba :focus-visible { outline: 3px solid #268779; outline-offset: 3px; }
.rmba-i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.rmba-flip { transform: scaleX(-1); }
.rmba-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.rmba-h1 { font: 600 clamp(28px, 3.2vw, 38px)/1.1 var(--font-heading, "Clash Display", sans-serif); letter-spacing: -.02em; margin: 0 0 22px; color: var(--ink); }
.rmba-h1:focus { outline: none; }
.rmba-h3 { font: 700 17px/1.3 var(--font, sans-serif); letter-spacing: 0; margin: 0 0 12px; }
.rmba-eyebrow { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.rmba-lead { color: var(--muted); margin: -10px 0 24px; max-width: 60ch; }

/* ---- top bar ---- */
.rmba-top { display: flex; align-items: center; gap: 22px; height: 76px; padding: 0 max(16px, calc((100% - 1160px) / 2)); background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.rmba-top__back { display: inline-flex; align-items: center; gap: 10px; border: 0; background: none; padding: 10px 0; font-weight: 700 !important; color: var(--teal); }
.rmba-top__back svg, .rmba-top__help svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rmba-top__logo { display: flex; color: var(--teal); }
.rmba-top__logo .site-logo { display: flex; color: var(--teal); }
.rmba-top__logo .site-logo__svg { width: 132px; height: 34px; }
.rmba-top__title { position: absolute; left: 50%; transform: translateX(-50%); margin: 0; font-weight: 700; font-size: 16px; white-space: nowrap; }
.rmba-top__help { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; font-weight: 700; }

/* ---- steps ---- */
.rmba-steps { background: var(--white); border-bottom: 1px solid var(--line); }
.rmba-steps ol { display: flex; justify-content: center; gap: 8px; list-style: none; margin: 0 auto; padding: 12px 16px; max-width: 1160px; }
.rmba-steps li { flex: 0 1 205px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 10px; border-radius: 12px; color: #93a19c; font-weight: 600; font-size: 14px; }
.rmba-steps li.is-current { background: var(--paper); color: var(--teal); font-weight: 700; }
.rmba-steps li.is-done { color: var(--teal); }
.rmba-steps__icon { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.rmba-steps__icon .rmba-i { width: 15px; height: 15px; }
.rmba-steps li.is-current .rmba-steps__icon { background: var(--teal); border-color: var(--teal); color: var(--white); }
.rmba-steps li.is-done .rmba-steps__icon { background: var(--mint-2); border-color: #cfe6c6; }
.rmba-steps__mobile, .rmba-steps__bar { display: none; }
/* Wide screens: one bar. The steps lie over the sticky top bar (same height,
   also sticky) instead of a second white bar, and replace the centred title,
   which only repeated the page heading. The top bar's edges follow the content
   width (1160px), so back link and phone line up with the cards. */
@media (min-width: 1100px) {
  .rmba-top__title { display: none; }
  .rmba:has(.rmba-steps[hidden]) .rmba-top__title { display: block; }
  .rmba-steps { position: sticky; top: 0; z-index: 31; display: flex; align-items: center; justify-content: center; height: 76px; margin-top: -76px; background: none; border: 0; pointer-events: none; }
  .rmba-steps ol { gap: 4px; margin: 0; padding: 0; max-width: none; pointer-events: auto; }
  .rmba-steps li { flex: 0 1 auto; gap: 8px; padding: 8px 12px; white-space: nowrap; }
  .rmba-steps__icon { width: 26px; height: 26px; }
  .rmba-steps[hidden] { display: none; }
}

/* ---- page layout ---- */
.rmba-main { max-width: 1192px; margin: 0 auto; padding: 32px 16px 80px; }
.rmba-solo { max-width: 1100px; margin: 0 auto; }
.rmba-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 32px; align-items: start; }
.rmba-aside { position: sticky; top: 100px; }
.rmba-loading, .rmba-empty { color: var(--muted); }
.rmba-error { max-width: 520px; margin: 40px auto; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }

/* ---- cards (device, brand, series, model) ---- */
.rmba-grid { display: grid; gap: 18px; }
.rmba-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rmba-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rmba-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rmba-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; text-decoration: none; color: var(--ink); text-align: left; transition: border-color .15s, box-shadow .15s, transform .15s; }
.rmba-card:hover { border-color: #9fbcb3; box-shadow: 0 8px 24px #024c4812; transform: translateY(-1px); }
.rmba-card__media { display: flex; align-items: center; justify-content: center; height: 180px; color: var(--teal); }
.rmba-card__media { overflow: hidden; }
.rmba-card__media img { width: 100%; height: 100%; object-fit: contain; }
.rmba-card__media .rmba-i { width: 64px; height: 64px; stroke-width: 1.2; }
.rmba-card__body strong { display: block; font-size: 20px; font-weight: 700; }
.rmba-card__body small { display: block; margin-top: 3px; color: var(--muted); font-size: 14px; }
.rmba-card__chev { position: absolute; right: 24px; bottom: 30px; color: var(--muted); }
.rmba-card--model { padding: 20px 18px; border: 1px solid var(--line); }
.rmba-card--model .rmba-card__media { height: 130px; }
.rmba-card--model .rmba-card__body strong { font-size: 16px; }
.rmba-card--model .rmba-card__body small { font-size: 12px; }
.rmba-crumbs { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.rmba-crumbs a, .rmba-link-back { font-weight: 700; text-decoration: none; font-size: 14px; }
.rmba-crumb { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.rmba-crumbs .rmba-crumb { margin: 0; }
.rmba-link-back { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; }
.rmba-aside-note { margin-top: 32px; text-align: center; color: var(--muted); font-size: 14px; }
.rmba-search { display: flex; align-items: center; gap: 12px; padding: 0 18px; margin: 0 0 26px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; color: var(--muted); }
/* Focus shows on the rounded field, not as a square ring around the bare input. */
.rmba-search:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px #26877933; }
.rmba-search input:focus-visible { outline: none; }
.rmba-search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; cursor: pointer; background: var(--muted); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / contain no-repeat; }
.rmba-search input { flex: 1; min-width: 0; height: 54px; border: 0; background: none; font: inherit; font-size: 16px; color: var(--ink); outline: none; }

/* ---- repair step ---- */
.rmba-device { display: flex; align-items: center; gap: 20px; padding: 22px 26px; margin-bottom: 30px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; }
.rmba-device img { width: 58px; height: 72px; object-fit: contain; }
.rmba-device strong { display: block; font: 600 22px/1.2 var(--font-heading, sans-serif); }
.rmba-device small { color: var(--muted); }
.rmba-device .rmba-eyebrow { margin-bottom: 4px; font-size: 11px; }
.rmba-device > a { margin-left: auto; font-weight: 700; text-decoration: none; font-size: 14px; }
.rmba-combo { display: flex; align-items: center; gap: 16px; padding: 18px 22px; margin: 0 0 22px; background: var(--mint-2); border: 1px solid #cfe6c6; border-radius: 14px; }
.rmba-combo > strong { font-size: 16px; color: var(--teal); white-space: nowrap; }
.rmba-combo b { display: block; font-size: 15px; }
.rmba-combo span { color: var(--muted); font-size: 14px; }
.rmba-combo--quiet { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 18px 0 0; margin-top: 24px; }
.rmba-rows { display: grid; gap: 12px; }
.rmba-row { display: flex; align-items: stretch; background: var(--white); border: 1px solid var(--line); border-radius: 16px; transition: border-color .15s; }
.rmba-row:hover { border-color: #9fbcb3; }
.rmba-row.is-selected { border-color: var(--teal); box-shadow: inset 3px 0 0 var(--teal); }
.rmba-row__main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 16px; padding: 20px 22px; border: 0; background: none; text-align: left; }
.rmba-row__icon { display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 46px; border-radius: 12px; background: var(--paper); color: var(--teal); }
.rmba-row.is-selected .rmba-row__icon { background: var(--mint); }
.rmba-row__copy { flex: 1; min-width: 0; }
.rmba-row__copy strong { display: block; font-size: 18px; font-weight: 700; }
.rmba-row__copy small { display: block; margin-top: 2px; color: var(--muted); font-size: 14px; }
.rmba-row__price { text-align: right; white-space: nowrap; }
.rmba-row__price small { display: block; font-size: 12px; color: var(--muted); }
.rmba-row__price strong { font-size: 21px; font-weight: 700; color: var(--teal); }
.rmba-row__price strong.is-text, .rmba-q__top strong.is-text { font-size: 15px; }
.rmba-row__chev { color: var(--muted); }
.rmba-row__remove { display: grid; place-items: center; width: 56px; border: 0; background: none; color: var(--muted); }
.rmba-row__remove:hover { color: var(--teal); }
.rmba-more { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; margin-top: 14px; border: 0; background: none; color: var(--teal); font-weight: 700 !important; }
.rmba-more .rmba-i { width: 16px; height: 16px; }
/* ---- colour step ---- */
.rmba-fgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 0 0 18px; }
.rmba-fcol { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 22px 12px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; font: inherit; font-weight: 600; color: var(--ink); text-align: center; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.rmba-fcol:hover { border-color: var(--teal); }
.rmba-fcol > span { width: 52px; height: 52px; border-radius: 50%; border: 1px solid #0002; box-shadow: inset 0 -6px 12px #0001; }
.rmba-fcol.is-on { border-color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal); background: var(--mint-2); }
.rmba .rmba-fskip { padding: 0; border: 0; background: none; color: var(--teal); font: inherit; font-weight: 700; font-size: 14px; text-decoration: underline; cursor: pointer; }
.rmba-device small a { font-weight: 700; }
@media (max-width: 720px) { .rmba-fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rmba-fcol { padding: 18px 10px 14px; } .rmba-fcol > span { width: 44px; height: 44px; } }
.rmba-colors { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); scroll-margin-top: 120px; }
.rmba-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.rmba-chip { display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 8px 16px 8px 10px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-size: 14px; }
.rmba-chip > span { width: 24px; height: 24px; border-radius: 50%; border: 1px solid #0002; }
.rmba-chip[aria-pressed="true"] { border-color: var(--teal); background: var(--mint-2); box-shadow: inset 0 0 0 1px var(--teal); font-weight: 700; }
.rmba-hint { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.rmba-foot { display: flex; justify-content: space-between; gap: 16px; margin-top: 22px; color: var(--muted); font-size: 13px; }
.rmba-foot span { display: inline-flex; align-items: center; gap: 7px; }
.rmba-foot .rmba-i { width: 16px; height: 16px; }

/* ---- quality ---- */
.rmba-qdevice { display: flex; align-items: center; gap: 12px; padding: 14px 20px; margin-bottom: 26px; background: var(--white); border-radius: 14px; color: var(--muted); font-size: 15px; }
.rmba-qdevice img { width: 34px; height: 42px; object-fit: contain; }
.rmba-qdevice__time { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; }
.rmba-qdevice__time .rmba-i { width: 16px; height: 16px; }
.rmba-qhead { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.rmba-qhead .rmba-h1 { margin: 0; }
.rmba-qhead .rmba-eyebrow { margin-bottom: 2px; }
.rmba-qhead__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); color: var(--teal); }
.rmba-qhead__close { display: grid; place-items: center; width: 44px; height: 44px; margin-left: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.rmba-qgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; align-items: stretch; }
.rmba-qgrid.is-single { grid-template-columns: minmax(0, 520px); }
.rmba-q { position: relative; display: flex; flex-direction: column; padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.rmba-q.is-selected { border-color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal); }
.rmba-q__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.rmba-q__top h2 { margin: 0; padding-top: 3px; font: 600 21px/1.2 var(--font-heading, sans-serif); color: var(--teal); }
.rmba-q__top strong { font-size: 24px; font-weight: 700; white-space: nowrap; }
/* The Klarna instalment belongs to the price, so it sits under it. */
.rmba-q__price { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.rmba-q__price .rmba-kl { margin-top: 2px; }
.rmba-q > p { margin: 14px 0 6px; color: var(--muted); font-size: 15px; }
/* "Mest solgte" sits on the card's top edge, out of the flow, so it never makes
   one card taller than its neighbour. */
.rmba-badge { position: absolute; top: 0; left: 22px; transform: translateY(-50%); padding: 4px 11px; border: 1px solid var(--teal); border-radius: 999px; background: var(--mint); color: var(--teal); font-size: 12px; font-weight: 700; line-height: 1.3; }
.rmba-more-info { margin: 6px 0 4px; font-size: 14px; color: var(--muted); }
.rmba-more-info summary { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; cursor: pointer; list-style: none; color: var(--teal); font-weight: 700; }
.rmba-more-info summary::-webkit-details-marker { display: none; }
.rmba-more-info summary .rmba-i { width: 16px; height: 16px; }
.rmba-more-info[open] summary .rmba-i:last-child { transform: rotate(90deg); }
/* The button stays at the bottom, so buttons line up across cards. */
.rmba-q .rmba-btn { margin-top: auto; }
.rmba-q > :has(+ .rmba-btn) { margin-bottom: 18px; }

/* ---- buttons ---- */
.rmba-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 20px; border: 1px solid var(--teal); border-radius: 12px; background: var(--teal); color: var(--white) !important; font-weight: 700 !important; font-size: 15px; text-decoration: none; transition: background .15s; }
.rmba-btn:hover { background: var(--teal-2); }
.rmba-btn:disabled { background: #c9d6d1; border-color: #c9d6d1; color: #f4f8f6 !important; cursor: not-allowed; }
.rmba-btn .rmba-i { width: 18px; height: 18px; }
.rmba-btn--ghost { background: var(--white); color: var(--teal) !important; border-color: var(--line-2); }
.rmba-btn--ghost:hover { background: var(--paper); }
.rmba-btn--big { width: 100%; min-height: 54px; font-size: 16px; }
.rmba-btn--inline { margin-bottom: 26px; }

/* ---- accessories ---- */
.rmba-acc__card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.rmba-acc__card.is-selected { border-color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal); }
.rmba-acc__media { display: grid; place-items: center; height: 200px; background: var(--paper); }
.rmba-acc__media img { max-height: 170px; max-width: 80%; object-fit: contain; mix-blend-mode: multiply; }
.rmba-acc__body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.rmba-acc__body h2 { margin: 0 0 6px; font: 600 20px/1.2 var(--font-heading, sans-serif); }
.rmba-acc__body p { margin: 0 0 8px; color: var(--muted); font-size: 14px; }
.rmba-acc__tag { color: var(--teal) !important; font-weight: 700; }
.rmba-acc__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; }
.rmba-acc__foot strong { font-size: 20px; color: var(--teal); }
.rmba-acc__foot s { margin-left: 8px; color: var(--muted); font-size: 14px; }

/* ---- later steps placeholder ---- */
.rmba-later { display: flex; gap: 16px; padding: 24px; background: var(--white); border: 1px dashed var(--line-2); border-radius: 18px; color: var(--muted); }
.rmba-later strong { color: var(--ink); }
.rmba-later p { margin: 4px 0 0; }

/* ---- summary ---- */
.rmba-sum { padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; }
.rmba-sum__icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 14px; color: var(--teal); }
.rmba-sum__title { margin: 0 0 18px; font: 600 22px/1.2 var(--font-heading, sans-serif); }
.rmba-sum__empty { margin: -8px 0 18px; color: var(--muted); }
.rmba-sum__device { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.rmba-sum__device img { width: 42px; height: 52px; object-fit: contain; }
.rmba-sum__device strong { display: block; }
.rmba-sum__device small { color: var(--muted); font-size: 13px; }
.rmba-sum__lines { padding: 6px 0; border-bottom: 1px solid var(--line); }
.rmba-line { display: grid; grid-template-columns: 1fr auto 32px; align-items: start; gap: 8px; padding: 12px 0; font-size: 14px; }
.rmba-line strong { display: block; }
.rmba-line small { color: var(--muted); }
.rmba-line > span { font-weight: 700; white-space: nowrap; }
.rmba-line > button { display: grid; place-items: center; width: 32px; height: 28px; border: 0; background: none; color: var(--muted); }
.rmba-line .rmba-i { width: 16px; height: 16px; }
.rmba-sum__row { display: flex; justify-content: space-between; padding: 12px 0 0; color: var(--teal); font-size: 14px; font-weight: 700; }
.rmba-sum__total { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 18px 0; }
.rmba-sum__total small { display: block; color: var(--muted); font-size: 13px; }
.rmba-sum__total b { display: block; font: 600 30px/1 var(--font-heading, sans-serif); color: var(--teal); text-align: right; white-space: nowrap; }
.rmba-sum__total div:last-child small { text-align: right; margin-top: 8px; }
.rmba-sum__error { margin: 0 0 12px; color: #9b3427; font-size: 13px; }
.rmba-sum__hint { display: flex; align-items: center; gap: 8px; width: 100%; margin: 0 0 12px; padding: 6px 0; border: 0; background: none; color: var(--muted); font-size: 14px; text-align: left; }
.rmba-sum__hint .rmba-i { width: 16px; height: 16px; }
.rmba-sum__pay { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; color: var(--muted); font-size: 13px; }
.rmba-sum__pay .rmba-i { width: 17px; height: 17px; }
.rmba-help { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 18px; color: var(--muted); font-size: 14px; }
.rmba-help a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 700; }
.rmba-help .rmba-i { width: 15px; height: 15px; }
.rmba-backdrop, .rmba-bar { display: none; }

/* ---- tablet & phone ---- */
@media (max-width: 1000px) {
  .rmba-layout { grid-template-columns: minmax(0, 1fr); }
  .rmba-aside { position: fixed; left: 12px; right: 12px; bottom: 88px; z-index: 50; max-height: calc(100dvh - 150px); overflow-y: auto; display: none; }
  .rmba-aside.is-open { display: block; }
  .rmba-aside .rmba-sum { box-shadow: 0 20px 60px #024c4833; }
  .rmba-aside .rmba-btn--big, .rmba-aside .rmba-help { display: none; }
  .rmba.has-sheet .rmba-backdrop { display: block; position: fixed; inset: 0; z-index: 45; border: 0; background: #16211f66; }
  [data-bar] .rmba-bar { display: flex; align-items: center; gap: 14px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px #024c4810; }
  .rmba-bar__total { flex: 0 0 auto; padding: 0; border: 0; background: none; text-align: left; }
  .rmba-bar__total small { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 13px; }
  .rmba-bar__total .rmba-up { width: 14px; height: 14px; transform: rotate(-90deg); }
  .rmba-bar__total strong { font-size: 20px; color: var(--ink); white-space: nowrap; }
  .rmba-bar .rmba-btn { flex: 1; min-width: 0; margin-left: auto; max-width: 260px; }
  .rmba-main { padding-bottom: 120px; }
  .rmba-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.rmba-page #CookiebotWidget { bottom: 92px !important; }
}
@media (max-width: 720px) {
  .rmba-top { height: 60px; gap: 10px; padding: 0 16px; }
  .rmba-top__back span, .rmba-top__logo, .rmba-top__help span { display: none; }
  .rmba-top__title { position: static; transform: none; font-size: 16px; overflow: hidden; text-overflow: ellipsis; }
  .rmba-top__help { padding: 9px; border-radius: 10px; background: var(--paper); border: 0; }
  .rmba-steps ol { display: none; }
  .rmba-steps__mobile { display: flex; justify-content: space-between; margin: 0; padding: 10px 16px 8px; font-size: 13px; color: var(--muted); }
  .rmba-steps__mobile b { color: var(--ink); }
  .rmba-steps__bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding: 0 16px 12px; }
  .rmba-steps__bar span { height: 4px; border-radius: 4px; background: var(--line); }
  .rmba-steps__bar span.is-on { background: var(--teal); }
  .rmba-main { padding: 22px 16px 120px; }
  .rmba-h1 { font-size: 28px; margin-bottom: 18px; }
  .rmba-grid--3, .rmba-grid--2 { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .rmba-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .rmba-card { flex-direction: row; align-items: center; padding: 14px 16px; border-radius: 16px; }
  .rmba-card__media { width: 72px; height: 72px; flex: 0 0 72px; }
  .rmba-card__chev { position: static; margin-left: auto; }
  .rmba-card__body strong { font-size: 17px; }
  .rmba-card--model { flex-direction: column; align-items: stretch; text-align: center; }
  .rmba-card--model .rmba-card__media { width: auto; height: 96px; flex-basis: auto; }
  .rmba-device { padding: 16px; gap: 14px; border-radius: 16px; margin-bottom: 22px; }
  .rmba-device img { width: 44px; height: 56px; }
  .rmba-device strong { font-size: 18px; }
  .rmba-combo { padding: 14px 16px; gap: 12px; }
  .rmba-combo span { font-size: 13px; }
  .rmba-row__main { padding: 15px 14px; gap: 12px; }
  .rmba-row__icon { width: 40px; height: 40px; flex-basis: 40px; }
  .rmba-row__copy strong { font-size: 16px; }
  .rmba-row__copy small { font-size: 13px; }
  .rmba-row__price strong { font-size: 17px; }
  .rmba-row__remove { width: 44px; }
  .rmba-qgrid { grid-template-columns: minmax(0, 1fr); }
  .rmba-q { padding: 20px; }
  .rmba-qhead__icon { display: none; }
  .rmba-foot { flex-direction: column; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) { .rmba * { transition: none !important; } }

/* ---- time, details, confirm ---- */
.rmba-h2 { font: 600 22px/1.2 var(--font-heading, sans-serif); margin: 30px 0 14px; }
.rmba-panel { padding: 26px; margin-bottom: 18px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; }
.rmba-panel > .rmba-h3:first-child { margin-top: 0; }
.rmba-muted { color: var(--muted); }
.rmba-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.rmba-method { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 18px; text-align: left; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.rmba-method:hover { border-color: #9fbcb3; }
.rmba-method[aria-pressed="true"] { border-color: var(--teal); background: var(--mint-2); box-shadow: inset 0 0 0 1px var(--teal); }
.rmba-method__icon { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; border-radius: 10px; background: var(--paper); color: var(--teal); }
.rmba-method[aria-pressed="true"] .rmba-method__icon { background: var(--white); }
.rmba-method strong { display: block; font-size: 16px; }
.rmba-method small { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.rmba-method__tick { position: absolute; top: 14px; right: 14px; color: var(--teal); width: 18px; height: 18px; }
.rmba-note { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0 0; padding: 14px 16px; background: var(--paper); border-radius: 12px; font-size: 14px; color: var(--ink); }
.rmba-note .rmba-i { color: var(--teal); margin-top: 1px; }
.rmba-cal__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.rmba-cal__head .rmba-h3 { margin: 0; }
.rmba-cal__nav { display: flex; gap: 8px; }
.rmba-cal__nav button { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--teal); }
.rmba-cal__nav button:disabled { opacity: .35; cursor: default; }
.rmba-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.rmba-day { display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 78px; padding: 12px 4px; border: 1px solid transparent; border-radius: 12px; background: var(--paper); }
.rmba-day small { color: var(--muted); font-size: 13px; }
.rmba-day b { font-size: 22px; }
.rmba-day em { font-style: normal; font-size: 11px; color: var(--muted); }
.rmba-day:not(:disabled):hover { border-color: var(--teal); }
.rmba-day[aria-pressed="true"] { background: var(--teal); color: var(--white); }
.rmba-day[aria-pressed="true"] small { color: #cfe3de; }
.rmba-day:disabled { background: none; color: #a9b6b1; cursor: not-allowed; }
.rmba-slots-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 22px 0 12px; }
.rmba-slots-head .rmba-h3 { margin: 0; }
.rmba-slots-head span { color: var(--muted); font-size: 14px; }
.rmba-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; }
.rmba-slots.is-window { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.rmba-slot { min-height: 46px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); font-weight: 600; font-variant-numeric: tabular-nums; }
.rmba-slot:not(:disabled):hover { border-color: var(--teal); }
.rmba-slot[aria-pressed="true"] { border-color: var(--teal); background: var(--mint-2); box-shadow: inset 0 0 0 1px var(--teal); color: var(--teal); }
.rmba-slot:disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.rmba-hint .rmba-i { width: 15px; height: 15px; vertical-align: -3px; margin-right: 6px; }
.rmba-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.rmba-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; margin: 0; padding: 0; border: 0; font-weight: 600; font-size: 14px; }
.rmba-field.is-wide, .rmba-form > .is-wide { grid-column: 1 / -1; }
.rmba-field legend { padding: 0; margin-bottom: 9px; }
.rmba-field i { font-style: normal; font-weight: 400; color: var(--muted); }
.rmba-field input, .rmba-field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #cfdcd7; border-radius: 12px; background: #fbfdfc; font-family: inherit; font-size: 16px; font-weight: 400; line-height: 1.4; color: var(--ink); }
.rmba-field textarea { resize: vertical; }
.rmba-field input:focus, .rmba-field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px #024c4822; background: var(--white); }
.rmba-field.has-error input { border-color: #b54f3a; background: #fff8f5; }
.rmba-err { color: #9b3427; font-weight: 400; font-size: 13px; }
.rmba-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; background: var(--paper); border-radius: 12px; }
.rmba-seg button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border: 0; border-radius: 9px; background: none; color: var(--muted); font-weight: 700; }
.rmba-seg button[aria-pressed="true"] { background: var(--white); color: var(--teal); box-shadow: 0 1px 3px #024c4818; }
.rmba-seg .rmba-i { width: 17px; height: 17px; }
.rmba-review { padding: 24px 26px; margin-bottom: 16px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; }
.rmba-review header { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.rmba-review header .rmba-i { color: var(--teal); }
.rmba-review h2 { margin: 0; font: 700 18px/1.3 var(--font, sans-serif); letter-spacing: 0; }
.rmba-review header a, .rmba-review__line a { margin-left: auto; font-weight: 700; font-size: 14px; }
.rmba-review p { margin: 0 0 8px; }
.rmba-review__device { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.rmba-review__device img { width: 40px; height: 50px; object-fit: contain; }
.rmba-review__device strong { display: block; }
.rmba-review__device small, .rmba-review__line small { display: block; color: var(--muted); }
.rmba-review__line { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.rmba-review__line:last-child { border-bottom: 0; padding-bottom: 0; }
.rmba-review__line > span { font-weight: 700; white-space: nowrap; }
.rmba-review__line.is-quiet { color: var(--muted); }
.rmba-review__line.is-quiet > span { font-weight: 400; }
.rmba-terms { display: flex; align-items: flex-start; gap: 12px; margin: 22px 0 6px; font-size: 15px; cursor: pointer; }
.rmba-terms input { width: 22px; height: 22px; flex: 0 0 22px; margin: 0; accent-color: var(--teal); }
.rmba-alert { margin: 16px 0 0; padding: 14px 18px; border: 1px solid #edc1ad; border-radius: 12px; background: #fff1eb; color: #853c23; }
.rmba-sum__visit { display: flex; align-items: flex-start; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.rmba-sum__visit .rmba-i { color: var(--teal); width: 18px; height: 18px; margin-top: 2px; }
.rmba-sum__visit small { display: block; color: var(--muted); margin-top: 2px; }
.rmba-sum__visit a { margin-left: auto; font-size: 13px; font-weight: 700; }
@media (max-width: 720px) {
  .rmba-panel, .rmba-review { padding: 18px; border-radius: 16px; }
  .rmba-days { gap: 5px; }
  .rmba-day { min-height: 66px; padding: 9px 2px; }
  .rmba-day b { font-size: 18px; }
  .rmba-day small { font-size: 11px; }
  .rmba-form { grid-template-columns: minmax(0, 1fr); }
  .rmba-slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rmba-slots.is-window { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- several devices ---- */
.rmba-devcard header { gap: 14px; }
.rmba-devcard header img { width: 44px; height: 54px; object-fit: contain; }
.rmba-devcard header small { display: block; color: var(--muted); font-size: 13px; }
.rmba-devcard header h2 { font: 600 20px/1.2 var(--font-heading, sans-serif); letter-spacing: -.01em; }
.rmba-link { margin-left: auto; padding: 8px 4px; border: 0; background: none; color: var(--teal); font-weight: 700 !important; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.rmba-icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 10px; background: none; color: var(--muted); }
.rmba-icon-btn:hover { background: var(--paper); color: var(--teal); }
.rmba-devcard__total { margin-top: 0; }
.rmba-devcard__total strong, .rmba-devcard__total span { font-size: 16px; }
.rmba-add { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 58px; margin: 6px 0 12px; border: 1.5px dashed var(--line-2); border-radius: 16px; background: var(--white); color: var(--teal); font-weight: 700 !important; font-size: 16px; }
.rmba-add:hover { border-color: var(--teal); background: var(--mint-2); }
.rmba-only-wide { margin-top: 18px; }
.rmba-sum__other { display: flex; align-items: center; gap: 12px; padding: 0 0 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.rmba-sum__other img { width: 30px; height: 38px; object-fit: contain; }
.rmba-sum__other strong { display: block; }
.rmba-sum__other small { color: var(--muted); }
.rmba-sum__other > span, .rmba-sum__price { margin-left: auto; font-weight: 700; white-space: nowrap; font-size: 14px; }
.rmba-sum .rmba-sum__device + .rmba-sum__device { padding-top: 16px; }
.rmba-sum__device small { line-height: 1.5; }
@media (max-width: 1000px) { .rmba-only-wide { display: none; } }

/* ---- thank you (#tak) ---- */
.rmba-tak { max-width: 600px; margin: 12px auto 0; }
.rmba-tak__head { text-align: center; margin-bottom: 26px; }
.rmba-tak__badge { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 16px; border-radius: 50%; background: var(--teal); color: var(--mint); }
.rmba-tak__badge.is-pending { background: var(--mint); color: var(--teal); }
.rmba-tak__badge .rmba-i { width: 28px; height: 28px; stroke-width: 2.2; }
.rmba-tak .rmba-h1 { margin-bottom: 10px; }
.rmba-tak__lead { margin: 0 auto; max-width: 48ch; color: var(--muted); font-size: 16px; }
.rmba-tak__card { padding: 8px 24px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; }
.rmba-tak__card small { display: block; color: var(--muted); font-size: 14px; }
.rmba-tak__when { display: flex; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.rmba-tak__when .rmba-i { color: var(--teal); margin-top: 2px; }
.rmba-tak__when a { font-weight: 700; }
.rmba-tak__dev { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.rmba-tak__dev > span { font-weight: 700; white-space: nowrap; }
.rmba-tak__card .rmba-tak__nr { margin-top: 4px; font-size: 13px; }
.rmba-tak__total { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; }
.rmba-tak__total b { font: 600 26px/1 var(--font-heading, sans-serif); color: var(--teal); white-space: nowrap; }
.rmba-tak__actions { display: flex; gap: 12px; margin-top: 22px; }
.rmba-tak__actions .rmba-btn { flex: 1; }
.rmba-tak__help { margin: 20px 0 0; text-align: center; color: var(--muted); font-size: 14px; }
.rmba-tak__help a { font-weight: 700; }
@media (max-width: 720px) {
  .rmba-tak { margin-top: 4px; }
  .rmba-tak__card { padding: 4px 18px; border-radius: 16px; }
  .rmba-tak__actions { flex-direction: column; }
}

/* ---- payment choice (Klarna) ---- */
.rmba-pay { display: grid; gap: 10px; }
.rmba-pay__opt { display: flex; align-items: flex-start; gap: 12px; width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); text-align: left; }
.rmba-pay__opt[aria-checked="true"] { border-color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal); background: var(--mint-2); }
.rmba-pay__opt strong { display: block; }
.rmba-pay__opt small { display: block; color: var(--muted); font-size: 14px; }
.rmba-pay__dot { flex: 0 0 20px; height: 20px; margin-top: 2px; border: 2px solid var(--line-2); border-radius: 50%; background: var(--white); }
.rmba-pay__opt[aria-checked="true"] .rmba-pay__dot { border: 6px solid var(--teal); }
.rmba-pay__klarna { margin-left: auto; align-self: center; padding: 4px 9px; border-radius: 6px; background: #ffa8cd; color: #17120f; font-weight: 800; font-size: 14px; letter-spacing: -.01em; }
.rmba-tak__notice { margin: 0 0 18px; }
/* "Følg din reparation" on the thank-you page */
.rmba-follow { margin-top: 18px; padding: 20px; background: var(--teal); color: #fff; border-radius: 18px; display: grid; gap: 14px; }
.rmba-follow h2 { margin: 0; font: 600 22px/1.15 var(--font-heading, "Clash Display", sans-serif); letter-spacing: -.01em; text-wrap: balance; color: #fff; }
.rmba-follow h2 em { font-style: normal; color: var(--mint); }
.rmba-follow ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 15px; }
.rmba-follow li { display: flex; gap: 10px; align-items: flex-start; }
.rmba-follow li .rmba-i { width: 18px; height: 18px; color: var(--mint); margin-top: 3px; }
.rmba .rmba-follow__btn { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--mint); border-color: var(--mint); color: var(--teal) !important; box-shadow: 3px 3px 0 #0b3a1f; text-decoration: none; }
.rmba .rmba-follow__btn:hover { background: #fff; }
.rmba-follow p { margin: 0; font-size: 14px; color: #cfe3dd; }

/* ---- Klarna "Betal i 3" examples ---- */
.rmba-kl { display: block; margin-top: 3px; font-size: 12.5px; color: var(--muted); font-weight: 500; white-space: nowrap; }
.rmba-kl__badge { display: inline-block; vertical-align: 1px; margin-left: 3px; padding: 1px 5px 2px; border-radius: 4px; background: #ffa8cd; color: #17120f; font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.rmba-kl__badge--big { margin: 0; padding: 3px 8px; font-size: 13px; }
.rmba-klsum { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 11px 13px; border-radius: 12px; background: #fff0f6; font-size: 13.5px; line-height: 1.35; }
.rmba-klsum .rmba-kl__badge { flex: 0 0 auto; margin: 0; padding: 3px 7px; font-size: 12px; }
.rmba-klsum button { margin-left: auto; padding: 0; border: 0; background: none; color: var(--teal); font-weight: 700; font-size: 13px; text-decoration: underline; white-space: nowrap; }
.rmba-klbar { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.rmba-klmodal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: #16211f66; }
.rmba-klmodal__box { width: 100%; max-width: 440px; max-height: calc(100dvh - 32px); overflow: auto; padding: 24px; background: var(--white); border-radius: 20px; box-shadow: 0 20px 60px #024c4833; }
.rmba-klmodal__box:focus { outline: none; }
.rmba-klmodal__box h2 { margin: 12px 0 6px; font: 600 22px/1.2 var(--font-heading, sans-serif); }
.rmba-klmodal__box > p { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.rmba-klopt { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.rmba-klopt strong { display: block; }
.rmba-klopt small { display: block; color: var(--muted); font-size: 13px; }
.rmba-klopt > span { font-weight: 700; white-space: nowrap; text-align: right; }
.rmba-klfine { margin: 14px 0 18px !important; font-size: 12.5px !important; }
@media (max-width: 720px) {
  .rmba-kl { font-size: 12px; }
  .rmba-klmodal { place-items: end center; padding: 0; }
  .rmba-klmodal__box { max-width: none; border-radius: 20px 20px 0 0; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
}

/* iPhone zoomer ind på et felt, hvis skriften er under 16 px. Ingen felter i appen må komme under. */
.rmba input, .rmba textarea, .rmba select { font-size: max(16px, 1em); }
