/* Gávukort – stílur. Mjúkur og rólígur, eins og wellness.fo. Litirnir eru á :root, so teir kunnu broytast til aðrar vinnur. */

@font-face { font-family: "GK Serif"; src: url(../fonts/cormorant-garamond-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "GK Serif"; src: url(../fonts/cormorant-garamond-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "GK Serif"; src: url(../fonts/cormorant-garamond-latin-500-italic.woff2) format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "GK Sans"; src: url(../fonts/jost-latin-300-normal.woff2) format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "GK Sans"; src: url(../fonts/jost-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "GK Sans"; src: url(../fonts/jost-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --ink: #2f2b28;
  --muted: #7a716a;
  --bg: #ffffff;
  --sand: #f6f1eb;
  --sand-2: #ede5db;
  --line: #e5dbcf;
  --sage: #8fa391;
  --sage-soft: #e6ece4;
  --brand: #3e5a4f;
  --brand-dark: #2e463d;
  --blush: #efd9cf;
  --bad: #a2543a;
  --bad-soft: #f7e8e1;
  --ok: #3e5a4f;
  --ok-soft: #e6ece4;
  --serif: "GK Serif", "Cormorant Garamond", Georgia, serif;
  --sans: "GK Sans", "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 22px;
  --r-sm: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.65; }
img, svg { max-width: 100%; }
a { color: var(--brand); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; margin: 0; line-height: 1.1; }
p { margin: 0 0 .8em; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.narrow { max-width: 640px; }
.narrow-wide { max-width: 860px; }
.page { padding-top: clamp(2rem, 5vw, 3.5rem); padding-bottom: clamp(3rem, 7vw, 5rem); }
.section { margin-top: clamp(3rem, 7vw, 5rem); }
.section-sm { margin-top: 2.5rem; }
.section-xs { margin-top: 1.5rem; }
.mono, .mono-title { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .04em; }
.mono-title { font-size: clamp(1.6rem, 4vw, 2.4rem) !important; }
small { font-size: .85em; color: var(--muted); }

.display { font-size: clamp(3rem, 7vw, 5.4rem); line-height: .98; margin-bottom: 1rem; }
.h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); margin-bottom: 1rem; }
.h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); margin-bottom: 1rem; }
.h3 { font-size: 1.6rem; margin-bottom: .8rem; }
.h4 { font-size: 1.25rem; margin-bottom: .4rem; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); font-weight: 300; color: var(--muted); max-width: 36em; }
.help { font-size: .9rem; color: var(--muted); margin: .35rem 0 0; }
.opt { font-weight: 300; color: var(--muted); font-size: .88em; }
.err { color: var(--bad); font-size: .9rem; font-weight: 500; margin: .35rem 0 0; }
.back { margin-bottom: 1rem; font-size: .95rem; }
.back a::before { content: "‹ "; }
.head-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem 1.5rem; margin-bottom: 1rem; }
.head-row .h1, .head-row .h2, .head-row .h3 { margin-bottom: 0; }
.textlink { font-weight: 500; }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }

/* --- toppur ------------------------------------------------------------------ */
.top { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 10; }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; min-height: 68px; flex-wrap: wrap; padding-top: .5rem; padding-bottom: .5rem; }
.brand { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; color: var(--brand); text-decoration: none; display: inline-flex; align-items: baseline; gap: .6rem; }
.brand small { font-family: var(--sans); font-size: .82rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--sage); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .3rem; }
.nav a, .nav__out button { padding: .45em .85em; border-radius: 999px; color: var(--ink); text-decoration: none; font-size: .95rem; background: none; border: 0; font-family: inherit; cursor: pointer; }
.nav a:hover, .nav__out button:hover { background: var(--sand); }
.nav a.on { background: var(--sage-soft); color: var(--brand-dark); }
.nav__out { margin: 0; }
.nav__out button { color: var(--muted); }

/* --- knøttar --------------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; background: var(--brand); color: #fff; border: 1px solid var(--brand); border-radius: 999px; padding: .7em 1.6em; font: inherit; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn:focus-visible, .linkbtn:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; }
.btn--line { background: transparent; color: var(--brand); border-color: var(--sage); }
.btn--line:hover { background: var(--sage-soft); color: var(--brand-dark); border-color: var(--sage); }
.btn--sm { min-height: 38px; padding: .4em 1em; font-size: .92rem; }
.btn--big { min-height: 58px; padding: .9em 2em; font-size: 1.08rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; font-size: .95rem; color: var(--brand); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.linkbtn--bad { color: var(--bad); }

/* --- boð ----------------------------------------------------------------------------- */
.flash { margin-top: 1.25rem; border-radius: var(--r-sm); padding: .9rem 1.2rem; }
.flash--ok { background: var(--ok-soft); color: var(--brand-dark); }
.flash--bad { background: var(--bad-soft); color: var(--bad); }
.alert { background: var(--bad-soft); color: var(--bad); border-radius: var(--r-sm); padding: .9rem 1.2rem; margin-bottom: 1rem; }

/* --- formularar ------------------------------------------------------------------- */
.form { display: grid; gap: 1.1rem; margin: 0; }
.form--tight { gap: .5rem; }
.field { display: grid; gap: .3rem; min-width: 0; margin: 0; border: 0; padding: 0; }
.field > label, .field > legend { font-weight: 500; font-size: .95rem; padding: 0; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=password], input[type=search], input[type=number], input[type=date], input[type=month], input:not([type]), select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: .65em .9em; min-height: 48px; line-height: 1.4; margin: 0; transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 0; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 4px var(--sage-soft); }
.bad input, .bad textarea, .bad select { border-color: var(--bad); }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; align-items: start; }
.row--tight { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.row--tight input:not([type=date]) { flex: 1 1 160px; width: auto; }
.w-sm { max-width: 80px; flex: 0 0 80px !important; }
.unit { position: relative; }
.unit input { padding-right: 3rem; }
.unit span { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.unit--big input { font-family: var(--serif); font-size: 2.2rem; font-weight: 600; min-height: 72px; padding-left: 1.1rem; }
.code-input { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.3rem !important; letter-spacing: .12em; text-transform: uppercase; }
.check { display: flex; gap: .7rem; align-items: flex-start; cursor: pointer; font-size: .95rem; }
.check input { width: 20px; height: 20px; margin: .2rem 0 0; accent-color: var(--brand); flex: none; }
.check.bad span { color: var(--bad); }
.inline-form { display: inline; margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.filters input { flex: 1 1 260px; width: auto; }
.filters select { width: auto; }

/* --- keyp ---------------------------------------------------------------------------- */
.hero { background: var(--sand); padding: clamp(2.5rem, 6vw, 5rem) 0; margin-bottom: clamp(2rem, 5vw, 3.5rem); overflow: hidden; }
.hero__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; }
.hero__card { display: flex; justify-content: center; }
.gcard { position: relative; display: flex; flex-direction: column; justify-content: space-between; width: 100%; max-width: 400px; aspect-ratio: 1.586; border-radius: 22px; padding: 1.4rem 1.6rem; color: #fff; overflow: hidden;
  background: radial-gradient(120% 90% at 100% 0%, rgba(239, 217, 207, .45), transparent 55%), radial-gradient(90% 80% at 0% 100%, rgba(143, 163, 145, .55), transparent 60%), var(--brand);
  box-shadow: 0 30px 60px -28px rgba(46, 70, 61, .55); }
.gcard--demo { transform: rotate(-4deg); }
.gcard__brand { font-family: var(--serif); font-size: 1.25rem; opacity: .9; }
.gcard__amount { font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 3.4rem); font-weight: 600; line-height: 1; }
.gcard__to { font-size: .95rem; opacity: .9; min-height: 1.4em; }
.gcard__code { font-family: ui-monospace, Menlo, monospace; font-size: .85rem; letter-spacing: .14em; opacity: .8; }
.gcard.is-off { filter: grayscale(.8); opacity: .75; }
.gcard__stamp { position: absolute; right: 1rem; top: 1rem; background: rgba(255,255,255,.92); color: var(--bad); font-weight: 500; font-size: .85rem; padding: .25em .8em; border-radius: 999px; }

.buy { padding-bottom: clamp(3rem, 7vw, 5rem); }
.buy--grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.buy__aside { position: sticky; top: 90px; display: grid; gap: 1rem; }
.buy__aside .gcard { max-width: none; }
.kv--aside > div { grid-template-columns: 110px 1fr; }
.hero--buy { padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.buy__form { max-width: 780px; gap: 1.25rem; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: clamp(1.4rem, 3vw, 2.2rem); }
.step > legend { float: left; width: 100%; display: flex; align-items: center; gap: .7rem; font-family: var(--serif); font-size: 1.7rem; margin-bottom: 1.2rem; padding: 0; }
.step > legend + * { clear: both; }
.step__n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--sage-soft); color: var(--brand); font-family: var(--sans); font-size: 1rem; font-weight: 500; flex: none; }
.step > * + * { margin-top: 1rem; }
.amounts { display: flex; flex-wrap: wrap; gap: .5rem; }
.pick, .chip, .scope, .seg label, .pitem { position: relative; cursor: pointer; margin: 0; }
.pick input, .chip input, .scope input, .seg input { position: absolute; opacity: 0; pointer-events: none; }
.pick span { display: inline-block; padding: .65em 1.3em; border: 1px solid var(--line); border-radius: 999px; font-size: 1.05rem; background: #fff; transition: all .2s; }
.pick:hover span { border-color: var(--sage); }
.pick input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.pick input:focus-visible + span, .chip input:focus-visible + span, .scope input:focus-visible + span, .seg input:focus-visible + span { outline: 2px solid var(--sage); outline-offset: 2px; }
.field--inline { max-width: 280px; }
.scopes { display: grid; gap: .5rem; }
.scope span { display: grid; gap: .1rem; padding: .9rem 1.1rem .9rem 3rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; transition: all .2s; position: relative; }
.scope span::before { content: ""; position: absolute; left: 1.1rem; top: 1.15rem; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--sage); background: #fff; }
.scope b { font-weight: 500; }
.scope small { font-size: .9rem; }
.scope input:checked + span { border-color: var(--brand); background: var(--sage-soft); }
.scope input:checked + span::before { background: var(--brand); border-color: var(--brand); box-shadow: inset 0 0 0 4px #fff; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip span { display: inline-block; padding: .4em 1em; border: 1px solid var(--line); border-radius: 999px; font-size: .95rem; background: #fff; transition: all .2s; }
.chip input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip input:checked + span small { color: rgba(255,255,255,.75); }
.filter { margin-bottom: .6rem; }
.plist { display: grid; gap: .35rem; max-height: 340px; overflow: auto; padding: .2rem; }
.pitem { display: flex; gap: .7rem; align-items: flex-start; padding: .65rem .9rem; border: 1px solid var(--line); border-radius: var(--r-sm); }
.pitem input { width: 19px; height: 19px; margin: .25rem 0 0; accent-color: var(--brand); flex: none; }
.pitem span { display: grid; }
.pitem b { font-weight: 500; }
.pitem:has(input:checked) { border-color: var(--brand); background: var(--sage-soft); }
.seg { display: inline-flex; flex-wrap: wrap; background: var(--sand); border-radius: 999px; padding: 4px; }
.seg span { display: inline-block; padding: .55em 1.1em; border-radius: 999px; color: var(--muted); font-size: .95rem; transition: all .2s; }
.seg input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(47,43,40,.12); }
.submit { display: grid; justify-items: start; gap: .3rem; }

/* --- bílegging og kort -------------------------------------------------------------- */
.paybox { background: var(--sage-soft); border-radius: 28px; padding: clamp(1.4rem, 3.5vw, 2.2rem); margin: 1.5rem 0; }
.summary { padding: 0 .2rem; }
.kv { margin: 0; display: grid; }
.kv > div { display: grid; grid-template-columns: 40% 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.kv dt { color: var(--muted); font-size: .95rem; }
.kv dd { margin: 0; overflow-wrap: anywhere; }
.kv dd.big { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; color: var(--brand); line-height: 1.1; }
.kv--wide > div { grid-template-columns: 220px 1fr; }

.cardpage__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.greeting { margin: 1.5rem 0 0; background: var(--sand); border-radius: var(--r); padding: 1.3rem 1.5rem; font-family: var(--serif); font-size: 1.35rem; line-height: 1.4; }
.greeting p { margin: 0; white-space: pre-line; }
.greeting cite { display: block; margin-top: .6rem; font-family: var(--sans); font-style: normal; font-size: .95rem; color: var(--muted); }
.greeting cite::before { content: "– "; }
.qrbox { display: flex; gap: 1.1rem; align-items: center; margin-top: 1.5rem; background: var(--sand); border-radius: var(--r); padding: 1rem 1.2rem; }
.qrbox p { margin: 0; font-size: .95rem; }
.qr { flex: none; width: 112px; background: #fff; padding: 10px; border-radius: 12px; }
.qr svg { display: block; width: 100%; height: auto; }

.pgroup { margin-top: 3rem; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.pcard { background: var(--sand); border-radius: var(--r); padding: 1.3rem 1.4rem; }
.pcard h3 { font-size: 1.5rem; }
.pcard__town { color: var(--sage); font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; margin: .2rem 0 .5rem; }
.pcard__desc { font-size: .95rem; font-weight: 300; color: var(--muted); }
.pcard__links { font-size: .93rem; margin: .4rem 0 0; }
.empty { background: var(--sand); border-radius: var(--r); padding: 3rem 1.5rem; text-align: center; color: var(--muted); }

/* --- veitari --------------------------------------------------------------------------- */
.scan { margin-bottom: 1.5rem; }
.scan__view { position: relative; border-radius: var(--r); overflow: hidden; background: #000; aspect-ratio: 3 / 4; max-height: 70vh; }
.scan__view video { width: 100%; height: 100%; object-fit: cover; display: block; }
.scan__frame { position: absolute; inset: 18%; border: 3px solid rgba(255,255,255,.9); border-radius: 22px; box-shadow: 0 0 0 999px rgba(0,0,0,.35); }
.scan__stop { position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%); background: #fff !important; }
.lookup { padding: 1.25rem; background: var(--sand); border-radius: var(--r); }
.txlist { list-style: none; margin: 0; padding: 0; }
.txlist li { border-bottom: 1px solid var(--line); }
.txlist a { display: flex; justify-content: space-between; align-items: center; padding: .8rem .2rem; text-decoration: none; color: var(--ink); }
.txlist span { display: grid; }
.txlist .chev { font-size: 1.5rem; color: var(--muted); }
.vcard { border-radius: var(--r); padding: 1.5rem; margin-bottom: 1rem; text-align: center; }
.vcard.is-ok { background: var(--ok-soft); }
.vcard.is-bad { background: var(--bad-soft); }
.vcard__code { font-family: ui-monospace, Menlo, monospace; letter-spacing: .12em; margin: 0; color: var(--muted); }
.vcard__bal { font-family: var(--serif); font-size: clamp(3rem, 10vw, 4.2rem); font-weight: 600; margin: .2rem 0; line-height: 1; color: var(--brand); }
.vcard.is-bad .vcard__bal { color: var(--bad); }
.vcard__state { margin: 0; font-weight: 500; }
.redeem { margin-top: 1.5rem; }
.receipt { background: var(--ok-soft); border-radius: var(--r); padding: 2rem 1.5rem; text-align: center; margin-bottom: 1.25rem; }
.receipt.is-void { background: var(--bad-soft); }
.receipt__label { margin: 0; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; color: var(--muted); }
.receipt__amount { font-family: var(--serif); font-size: clamp(3rem, 10vw, 4.4rem); font-weight: 600; margin: .2rem 0; line-height: 1; color: var(--brand); }
.receipt.is-void .receipt__amount { text-decoration: line-through; color: var(--bad); }
.receipt__left { margin: 0; }
.void { margin-top: 1.5rem; text-align: center; }

/* --- umsiting --------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .8rem; margin: 1rem 0 0; }
.stat { display: flex; flex-direction: column; gap: .15rem; background: var(--sand); border-radius: var(--r); padding: 1.1rem 1.3rem; color: var(--ink); text-decoration: none; }
.stat span { font-size: .9rem; color: var(--muted); }
.stat b { font-family: var(--serif); font-size: 2rem; font-weight: 600; line-height: 1.1; }
.stat.is-hot { background: var(--blush); }
a.stat:hover { outline: 1px solid var(--sage); color: var(--ink); }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th { text-align: left; font-weight: 500; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding: .6rem .6rem; border-bottom: 1px solid var(--ink); }
.table td { padding: .7rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table .r { text-align: right; white-space: nowrap; }
.table tr.muted td { color: var(--muted); }
.table tr.muted td:last-child { text-decoration: line-through; }
.badge { display: inline-block; padding: .15em .75em; border-radius: 999px; font-size: .82rem; font-weight: 500; background: var(--sand-2); white-space: nowrap; }
.badge--awaiting_payment, .badge--open { background: var(--blush); color: #7a3a24; }
.badge--paid, .badge--active { background: var(--ok-soft); color: var(--brand-dark); }
.badge--cancelled, .badge--blocked, .badge--expired { background: var(--bad-soft); color: var(--bad); }
.two { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.panel { background: var(--sand); border-radius: 28px; padding: 1.6rem; display: grid; gap: .7rem; }
.panel--wide { display: block; }
.ulist { list-style: none; margin: 0; padding: 0; }
.ulist li { padding: .7rem 0; border-bottom: 1px solid var(--line); }
.ulist li > div { display: grid; }
.ulist details { margin-top: .3rem; font-size: .92rem; }
.ulist summary { cursor: pointer; color: var(--brand); }
.ulist details form { margin-top: .5rem; }
.ulist li.muted b { color: var(--muted); }

/* --- prent ------------------------------------------------------------------------ */
.printpage { background: var(--sand); padding: 1.5rem 1rem; }
.printbar { max-width: 620px; margin: 0 auto 1rem; display: flex; gap: .5rem; }
.sheet { max-width: 620px; margin: 0 auto; background: #fff; border-radius: 24px; padding: 2.5rem 2.25rem; box-shadow: 0 30px 60px -40px rgba(47,43,40,.4); }
.sheet__brand { font-family: var(--serif); font-size: 1.4rem; color: var(--brand); margin: 0 0 1.5rem; }
.sheet__title { font-size: clamp(2.2rem, 6vw, 3rem); margin-bottom: 1.25rem; }
.sheet__msg { margin: 0 0 1.75rem; font-family: var(--serif); font-size: 1.45rem; line-height: 1.4; }
.sheet__msg p { margin: 0; white-space: pre-line; }
.sheet__msg cite { display: block; font-family: var(--sans); font-style: normal; font-size: 1rem; color: var(--muted); margin-top: .5rem; }
.sheet__msg cite::before { content: "– "; }
.sheet__card { display: grid; grid-template-columns: 1fr 150px; grid-template-areas: "amount qr" "where qr" "code code"; gap: .5rem 1.5rem; background: var(--sand); border-radius: 20px; padding: 1.5rem; align-items: start; }
.sheet__amount { grid-area: amount; font-family: var(--serif); font-size: 3.4rem; font-weight: 600; color: var(--brand); line-height: 1; }
.sheet__where { grid-area: where; }
.sheet__where span, .sheet__code span { display: block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sheet__qr { grid-area: qr; background: #fff; padding: 10px; border-radius: 12px; }
.sheet__qr svg { display: block; width: 100%; height: auto; }
.sheet__code { grid-area: code; font-family: ui-monospace, Menlo, monospace; font-size: 1.35rem; letter-spacing: .16em; margin-top: .5rem; }
.sheet__foot { margin-top: 1.5rem; font-size: .85rem; color: var(--muted); }

@media print {
  .top, .foot, .printbar, .nav, .actions, form, .back { display: none !important; }
  .printpage { background: #fff; padding: 0; }
  .sheet { box-shadow: none; border: 1px solid var(--line); }
  body { font-size: 12pt; }
}

/* --- fótur ---------------------------------------------------------------------------- */
.foot { background: var(--sand); margin-top: 0; padding: 2.5rem 0; color: var(--muted); font-size: .95rem; }
.foot__brand { font-family: var(--serif); font-size: 1.4rem; color: var(--brand); margin: 0 0 .3rem; }
.foot__links { margin: .6rem 0 0; }
.login .form { margin-top: 1.5rem; }

@media (max-width: 860px) {
  .hero__in, .cardpage__grid, .two, .buy--grid { grid-template-columns: 1fr; }
  .buy__aside { position: static; order: -1; max-width: 420px; }
  .hero__card { order: -1; }
  .gcard--demo { max-width: 320px; }
  .kv--wide > div { grid-template-columns: 1fr; gap: .1rem; }
  .table { font-size: .88rem; }
  .table th, .table td { padding: .55rem .35rem; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .kv > div { grid-template-columns: 1fr; gap: .1rem; }
  .sheet { padding: 1.5rem 1.25rem; }
  .sheet__card { grid-template-columns: 1fr 110px; }
  .sheet__amount { font-size: 2.6rem; }
  .top__in { min-height: 56px; }
  .nav a, .nav__out button { padding: .35em .6em; font-size: .9rem; }
  .table { display: block; overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* --- 1.1: kortgjald og stuðlað gávukort --------------------------------- */
.paybox--card { display: grid; gap: .9rem; max-width: 460px; }
.paybox__row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.paybox__row span { color: var(--muted); }
.paybox__row b { font-family: var(--serif); font-size: 2rem; font-weight: 600; }
.paybox--card .help { margin: 0; text-align: center; }
.muted-txt { color: var(--muted); font-family: var(--sans); font-size: .95rem; font-weight: 400; margin-left: .4rem; }
.badge--gift { background: var(--sage-soft); color: var(--brand-dark); }
.head-row .btn { margin-left: auto; }
.pill-note { display: inline-block; font-size: .85rem; color: var(--muted); }
.panel--gift { background: var(--sage-soft); border: 0; }

/* --- 1.2: tilboð og tænastukort ----------------------------------------- */
.tag { display: inline-block; background: var(--brand); color: #fff; border-radius: 999px; padding: .2em .8em; font-size: .8rem; font-weight: 500; letter-spacing: .02em; vertical-align: middle; }
.tag--save { background: var(--blush, #efd9cf); color: var(--brand-dark); }
.eyebrow { color: var(--muted); margin: 0 0 1rem; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.hero--offer .display { font-size: clamp(2.6rem, 6vw, 4.4rem); margin-bottom: .6rem; }
.offer__service { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0 0 1rem; color: var(--brand-dark); }
.offer__price { display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; margin: 0 0 1rem; }
.offer__price b { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.2rem); font-weight: 600; color: var(--brand-dark); line-height: 1; }
.offer__price s { color: var(--muted); font-size: 1.3rem; }
.offer__desc { max-width: 34em; }
.offer__facts { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .35rem; }
.offer__facts li::before { content: "✓"; color: var(--brand); margin-right: .5rem; }
.gcard__amount--service { font-size: clamp(1.6rem, 4vw, 2.1rem); line-height: 1.1; }

.offers { margin-bottom: clamp(2rem, 5vw, 3rem); }
.offers__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; margin-top: 1rem; }
.ocard { display: flex; flex-direction: column; gap: .5rem; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.3rem 1.4rem; text-decoration: none; color: inherit; transition: border-color .2s, transform .2s; }
.ocard:hover { border-color: var(--sage); transform: translateY(-2px); color: inherit; }
.ocard__top { display: flex; justify-content: space-between; align-items: center; gap: .5rem; color: var(--muted); font-size: .9rem; }
.ocard h3 { font-size: 1.5rem; }
.ocard__service { color: var(--brand-dark); margin: 0; }
.ocard__price { margin: auto 0 0; display: flex; align-items: baseline; gap: .6rem; }
.ocard__price b { font-family: var(--serif); font-size: 1.8rem; font-weight: 600; color: var(--brand-dark); }
.ocard__price s { color: var(--muted); }
.ocard__foot { font-size: .85rem; color: var(--muted); }

.vcard__service { font-family: var(--serif); font-size: 1.5rem; margin: .2rem 0 0; }
.payout-note { background: var(--sage-soft); border-radius: 14px; padding: .8rem 1rem; font-size: .95rem; }
@media (max-width: 760px) { .hero--offer .hero__in { grid-template-columns: 1fr; } }
.sheet__amount--service { font-size: 2.2rem; line-height: 1.1; }
.unit--pre input { padding-left: 5.4rem; padding-right: 1rem; }
.unit--pre span { left: 1rem; right: auto; }
.paybox__row--sm span:last-child { color: var(--ink, inherit); }
.kv--total { margin: 0 0 1rem; max-width: 420px; }
.kv--total { max-width: 460px; }
.kv--total > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.kv--total dd { text-align: right; margin: 0; }
.kv--total dd.big { font-size: 1.8rem; }
