/* Fotoval: þema fyrir vefverslunina. Hvítur haus með stórri leit, tilboðsborði, flokkaflísar,
   vörulínur á ljósgráu og svartur fótur, í svörtu og rauðu Fotoval. Sama útlit og sýnishornið. */
@font-face { font-family: "Barlow"; src: url("letur/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("letur/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("letur/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("letur/barlow-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("letur/barlow-semi-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("letur/barlow-semi-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("letur/barlow-semi-condensed-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --ink: #000000;
  --black: #000000;
  --paper: #ffffff;
  --bg: #f3f3f1;          /* flötur undir vörumyndum og í leitarreit */
  --line: #e4e4e1;
  --muted: #5c5c56;
  --red: #d42a1f;        /* prices on sale, badges, focus */
  --red-deep: #a81f16;
  --banner: #e9e8e4;
  --pad: clamp(20px, 4vw, 32px);
  --max: 1280px;
  --radius: 4px;
  --head: "Barlow Semi Condensed", "Arial Narrow", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 1rem; line-height: 1.5; overflow-wrap: break-word; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
h1, h2, h3, h4 { margin: 0; font-family: var(--head); font-weight: 700; line-height: 1.08; min-width: 0; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tafla { display: none; }
svg.takn { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.hoppa:focus { position: fixed; left: 12px; top: 12px; z-index: 100; width: auto; height: auto; clip: auto; background: var(--paper); padding: 10px 14px; border-radius: var(--radius); }

/* ---------- Header ---------- */
.verkfaeri { background: var(--paper); border-bottom: 1px solid var(--line); font-size: 0.875rem; color: var(--muted); }
.verkfaeri .wrap { display: flex; justify-content: space-between; align-items: center; gap: 8px 24px; min-height: 36px; }
.verkfaeri-texti { margin: 0; display: flex; flex-wrap: wrap; gap: 0 28px; }
.verkfaeri ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; }
.verkfaeri a { text-decoration: none; display: inline-flex; align-items: center; min-height: 36px; }
.verkfaeri a:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 759px) { .verkfaeri ul { display: none; } .verkfaeri .wrap { justify-content: center; text-align: center; } .verkfaeri-texti span + span { display: none; } }

.haus { position: relative; z-index: 20; background: var(--paper); box-shadow: 0 1px 0 var(--line); }
.haus-efri { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px 16px; padding-top: 12px; padding-bottom: 14px; }
.merki { display: inline-flex; align-items: center; min-height: 44px; }
.merki img { width: 48px; height: auto; }
.leit { grid-column: 1 / -1; order: 1; display: flex; align-items: center; background: var(--bg); border: 1.5px solid transparent; border-radius: 999px; padding: 0 4px 0 18px; min-height: 50px; }
.leit:focus-within { border-color: var(--ink); background: var(--paper); }
.leit .takn { color: var(--muted); }
.leit input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px; font: inherit; font-size: 1rem; color: var(--ink); }
.leit input:focus { outline: none; }
.leit button { min-height: 42px; border: 0; border-radius: 999px; background: var(--ink); color: var(--paper); font: inherit; font-weight: 600; padding: 0 20px; cursor: pointer; }
.takn-hnappar { display: flex; align-items: center; gap: 4px; justify-self: end; }
.takn-hnappur { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 0 8px; border: 0; background: none; color: var(--ink); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; border-radius: var(--radius); }
.takn-hnappur:hover { background: var(--bg); }
.takn-hnappur .fjoldi-korfu[hidden] { display: none; }
.takn-hnappur .fjoldi-korfu { position: absolute; top: 4px; left: 20px; min-width: 17px; height: 17px; border-radius: 9px; box-shadow: 0 0 0 2px var(--paper); background: var(--red); color: var(--paper); font-size: 0.75rem; font-weight: 700; display: grid; place-items: center; padding: 0 4px; }
.takn-hnappur .texti { display: none; }
.flokkastika { display: none; }

@media (min-width: 960px) {
  .haus-efri { grid-template-columns: auto minmax(0, 640px) 1fr; gap: 28px; padding-top: 14px; padding-bottom: 14px; }
  .merki img { width: 56px; }
  .leit { grid-column: auto; order: 0; }
  .takn-hnappur .texti { display: inline; }
  .valmynd-hnappur { display: none; }
  .flokkastika { display: block; border-top: 1px solid var(--line); }
  .flokkastika > .wrap > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
  .flokkastika li { margin: 0; }
  .flokkur-hnappur, .flokkastika .beinn {
    display: inline-flex; align-items: center; min-height: 48px; padding: 0 14px; font-family: var(--head); font-weight: 600; font-size: 1.08rem;
    color: var(--ink); background: none; border: 0; border-bottom: 3px solid transparent; cursor: pointer; text-decoration: none;
  }
  .flokkur-hnappur[aria-expanded="true"], .flokkur-hnappur:hover, .flokkastika .beinn:hover { border-bottom-color: var(--ink); }
  .flokkastika .beinn.rautt { color: var(--red); }
  .flokkastika .beinn.rautt:hover { border-bottom-color: var(--red); }
}

/* Mega menu */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08); }
.mega[hidden] { display: none; }
.mega-innri { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 40px; padding-top: 26px; padding-bottom: 30px; }
.mega-dalkar { columns: 3 190px; column-gap: 32px; }
.mega-hopur { break-inside: avoid; margin: 0 0 16px; }
.mega-hopur > a { font-weight: 700; text-decoration: none; }
.mega-hopur > a:hover, .mega-hopur li a:hover { text-decoration: underline; }
.mega-hopur ul { list-style: none; margin: 6px 0 0; padding: 0; }
.mega-hopur li { margin: 3px 0; }
.mega-hopur li a { text-decoration: none; color: var(--muted); }
.fj { color: var(--muted); font-size: 0.85em; font-weight: 400; margin-left: 4px; }
.mega-merki { margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mega-merki span { font-weight: 700; margin-right: 4px; }
.flis { display: inline-flex; align-items: center; min-height: 34px; border: 1.5px solid var(--line); border-radius: 999px; padding: 2px 12px; font: inherit; font-size: 0.9rem; font-weight: 600; text-decoration: none; background: var(--paper); color: var(--ink); cursor: pointer; }
.flis:hover { border-color: var(--ink); }
.mega-allt { display: inline-block; margin-top: 14px; font-weight: 700; }
.mega-tilbod { display: block; text-decoration: none; background: var(--bg); border-radius: var(--radius); padding: 16px; }
.mega-tilbod .merkimidi-texti { display: inline-block; font-weight: 700; color: var(--paper); background: var(--red); padding: 2px 8px; border-radius: 3px; font-size: 0.8rem; }
.mega-tilbod img { width: 100%; aspect-ratio: 1; object-fit: contain; margin: 10px 0 8px; mix-blend-mode: multiply; }
.mega-tilbod p { font-weight: 600; line-height: 1.3; }

/* Drawers */
dialog.skuffa { margin: 0 0 0 auto; height: 100%; max-height: 100%; width: min(92vw, 420px); max-width: 100%; padding: 0; border: 0; background: var(--paper); color: var(--ink); }
dialog.skuffa::backdrop, dialog.siur::backdrop { background: rgba(0, 0, 0, 0.45); }
.skuffa-haus { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--paper); }
.skuffa-haus h2 { font-size: 1.6rem; }
.loka { min-height: 44px; font: inherit; font-weight: 700; background: var(--paper); border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 6px 14px; cursor: pointer; }
.skuffa-efni { padding: 4px 16px 24px; }
.skuffa-efni details { border-bottom: 1px solid var(--line); }
.skuffa-efni summary { cursor: pointer; min-height: 52px; display: flex; align-items: center; justify-content: space-between; font-family: var(--head); font-weight: 700; font-size: 1.25rem; list-style: none; }
.skuffa-efni summary::after { content: "+"; font-weight: 400; }
.skuffa-efni details[open] summary::after { content: "–"; }
.skuffa-efni ul { list-style: none; margin: 0 0 12px; padding: 0; }
.skuffa-efni li a { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
.skuffa-efni li ul { margin: 0 0 4px 14px; }
.skuffa-efni .beinir a { font-weight: 700; font-size: 1.1rem; border-bottom: 1px solid var(--line); }


/* ---------- Buttons ---------- */
.hnappur { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: var(--radius); border: 2px solid var(--ink); font-family: var(--head); font-weight: 700; font-size: 1.1rem; text-decoration: none; cursor: pointer; }
.hnappur.adal { background: var(--ink); color: var(--paper); }
.hnappur.adal:hover { background: #333; border-color: #333; }
.hnappur.auka { background: var(--paper); color: var(--ink); }
.hnappur.rautt { background: var(--red); border-color: var(--red); color: var(--paper); }
.hnappur.rautt:hover { background: var(--red-deep); border-color: var(--red-deep); }

/* ---------- Front page ---------- */
.forsida-efni { padding-bottom: clamp(48px, 7vw, 88px); }
.bordi { background: var(--bg); border-bottom: 1px solid var(--line); }
.bordi-innri { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 8px 40px; padding-top: clamp(28px, 5vw, 64px); }
.bordi .lykill { display: inline-block; background: var(--red); color: var(--paper); font-family: var(--head); font-weight: 700; font-size: 1rem; padding: 3px 10px; border-radius: 3px; }
.bordi .bordi-titill { font-weight: 800; font-size: clamp(3rem, 1.4rem + 6.4vw, 6.6rem); line-height: 0.88; letter-spacing: -0.015em; max-width: 8ch; }
.bordi .setning { margin-top: 18px; font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.3rem); max-width: 32ch; }
.bordi-texti .hnappur { margin-top: 24px; }
.bordi .hnappar { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.bordi .bordi-mynd { position: relative; display: block; align-self: end; justify-self: center; width: min(100%, 560px); color: inherit; text-decoration: none; }
.bordi .bordi-mynd img { width: 100%; mix-blend-mode: multiply; }
.verdmidi { position: absolute; left: 0; bottom: clamp(16px, 3vw, 32px); display: grid; gap: 2px; background: var(--paper); padding: 10px 16px; border-radius: var(--radius); box-shadow: 0 1px 0 var(--line); }
.verdmidi-heiti { font-weight: 600; font-size: 0.95rem; }
.verdmidi-verd { display: flex; align-items: baseline; gap: 8px; }
.verdmidi-verd strong { font-family: var(--head); font-weight: 800; font-size: 1.45rem; color: var(--red); }
.verdmidi-verd s { color: var(--muted); font-size: 0.85rem; }
.bordi-mynd:hover .verdmidi-heiti { text-decoration: underline; }
@media (min-width: 860px) { .bordi-innri { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); padding-top: clamp(32px, 4vw, 56px); } .bordi-texti { padding-bottom: clamp(40px, 5vw, 64px); } }
@media (max-width: 859px) { .bordi-texti { padding-bottom: 8px; } .verdmidi { bottom: 12px; } }

.flokkaflisar { list-style: none; margin: clamp(24px, 4vw, 40px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 12px; }
.flokkaflisar a { display: flex; flex-direction: column; gap: 2px; text-decoration: none; height: 100%; }
.flis-mynd { display: grid; place-items: center; aspect-ratio: 1; background: var(--bg); border-radius: var(--radius); padding: 14%; margin-bottom: 8px; }
.flokkaflisar a:hover .heiti { text-decoration: underline; }
.flokkaflisar a:hover .flis-mynd { background: #ebebe8; }
.flokkaflisar img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.flokkaflisar .heiti { font-family: var(--head); font-weight: 700; font-size: 1.15rem; line-height: 1.1; }
.flokkaflisar .fj { margin: 0; }
@media (min-width: 760px) { .flokkaflisar { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; } }

.rod { margin-top: clamp(44px, 6vw, 72px); }
.rod-haus { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.rod-haus h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); }
.rod-haus .sja-allt { margin-left: auto; font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 4px; }
.orvar { display: flex; gap: 6px; }
.orvar button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper); cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.orvar button:hover { border-color: var(--ink); }
.orvar button:disabled { opacity: 0.35; cursor: default; }
@media (max-width: 759px) { .orvar { display: none; } }
.braut { list-style: none; margin: 0; padding: 0 0 6px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 12px) / 2.15); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; overscroll-behavior-x: contain; }
.braut > li { scroll-snap-align: start; }
@media (min-width: 760px) { .braut { grid-auto-columns: calc((100% - 2 * 16px) / 3); gap: 16px; } }
@media (min-width: 1100px) { .braut { grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px; } }


.um-fotoval { margin-top: clamp(56px, 7vw, 88px); padding-top: clamp(28px, 4vw, 40px); border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px 64px; }
.um-stadreyndir { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: start; border-top: 1px solid var(--line); }
.um-stadreyndir dt, .um-stadreyndir dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.um-stadreyndir dt { font-weight: 700; padding-right: 24px; }
.um-fotoval h2 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); margin-bottom: 10px; }
.um-fotoval p { max-width: 60ch; }
.um-fotoval p + p { margin-top: 10px; }
@media (min-width: 860px) { .um-fotoval { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }

/* ---------- Product cards (shared) ---------- */
.spjold { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 16px; }
.spjald { margin: 0; min-width: 0; }
a.spjald-tengill { position: relative; display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
a.spjald-tengill:hover .mynd { background: #ebebe8; }
a.spjald-tengill:hover h3 { text-decoration: underline; }
.spjald .mynd { position: relative; aspect-ratio: 1; display: grid; place-items: center; background: var(--bg); border-radius: var(--radius); padding: 9%; overflow: hidden; }
.spjald .mynd img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.spjald.notad .mynd { padding: 0; }
.spjald.notad .mynd img { object-fit: cover; mix-blend-mode: normal; }
.spjald .merkimidar { position: absolute; top: 8px; right: 8px; z-index: 1; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.merkimidi { font-family: var(--head); font-weight: 700; font-size: 0.85rem; line-height: 1.2; padding: 3px 8px; border-radius: 3px; background: var(--red); color: var(--paper); }
.merkimidi.notad { background: var(--ink); }
.merkimidi.uppselt { background: var(--paper); color: var(--muted); border: 1px solid var(--line); }
.spjald.uppselt-vara .mynd img { opacity: 0.5; }
.spjald .framleidandi { margin-top: 14px; font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.spjald h3 { margin-top: 4px; font-family: "Barlow", system-ui, sans-serif; font-weight: 600; font-size: 1rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.verd { margin-top: auto; padding-top: 12px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.verd strong { font-family: var(--head); font-weight: 700; font-size: 1.2rem; }
.verd .tilbodsverd { color: var(--red); }
.verd s { color: var(--muted); font-size: 0.85rem; }
@media (min-width: 760px) { .spjold { gap: 48px 24px; } }

/* ---------- Shop listing ---------- */
.verslun { padding: 18px 0 64px; }
.brautarmolar { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; font-size: 0.9rem; color: var(--muted); }
.brautarmolar li + li::before { content: "/"; margin-right: 6px; color: #b5b5ae; }
.brautarmolar a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.brautarmolar a:hover { text-decoration: underline; }
.verslun-titill { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 4px 0 24px; }
.verslun-titill h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); font-weight: 800; }
.verslun-titill .fjoldi-nidurstodu { color: var(--muted); font-weight: 600; }
.verslun-grind { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.tolstika { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 24px; }
.sia-hnappur { min-height: 44px; font: inherit; font-weight: 700; background: var(--ink); color: var(--paper); border: 0; border-radius: var(--radius); padding: 0 16px; cursor: pointer; }
.rodun { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 0.9rem; }
/* Á síma sýnir listinn sjálfur röðunina („Nýjast“), svo merkið víkur fyrir lofti en er áfram fyrir skjálesara */
@media (max-width: 759px) { .rodun label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
.rodun select { min-height: 44px; font: inherit; font-size: 0.95rem; padding: 0 10px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.virkar { display: flex; flex-wrap: wrap; gap: 6px; width: 100%; }
.virkar:empty { display: none; }
.virkar .flis::after { content: "✕"; margin-left: 6px; font-size: 0.8em; }
.virkar .hreinsa { display: inline-flex; align-items: center; min-height: 34px; font-size: 0.9rem; text-decoration: underline; }

dialog.siur { padding: 0; border: 0; color: var(--ink); background: var(--paper); }
.sia-hopur { border-bottom: 1px solid var(--line); }
.sia-hopur > summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 50px; font-family: var(--head); font-weight: 700; font-size: 1.15rem; }
.sia-hopur > summary::after { content: "+"; font-weight: 400; }
.sia-hopur[open] > summary::after { content: "–"; }
.sia-hopur .innihald { padding-bottom: 14px; }
.sia-hopur ul { list-style: none; margin: 0; padding: 0; }
.sia-hopur label { display: flex; align-items: center; gap: 10px; min-height: 36px; cursor: pointer; }
.sia-hopur input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--ink); margin: 0; flex: none; }
.sia-hopur label .fj { margin-left: auto; }
.sia-hopur label.ovirkt { color: #a6a6a3; }
.flokka-tre a { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 36px; text-decoration: none; }
.flokka-tre a:hover { text-decoration: underline; }
.flokka-tre a.valid { font-weight: 700; }
.flokka-tre .til-baka { color: var(--muted); font-size: 0.9rem; }
.flokka-tre ul ul { margin-left: 12px; }
.fleiri { min-height: 36px; font: inherit; background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; font-size: 0.9rem; }
.verd-reitir { display: flex; align-items: center; gap: 8px; }
.verd-reitir input { width: 100%; min-width: 0; min-height: 44px; font: inherit; padding: 0 10px; border: 1.5px solid var(--line); border-radius: var(--radius); }
.verd-flytival { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.verd-flytival .flis { font-size: 0.82rem; }
.verd-flytival .flis[aria-current="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.siur-fotur { display: none; }
.syna-fleiri { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 32px; color: var(--muted); font-size: 0.9rem; }
.tomt { padding: 24px 0; }
.tomt h2 { font-size: 2rem; margin-bottom: 10px; }
.athugasemd { color: var(--muted); font-size: 0.9rem; max-width: 70ch; }

@media (max-width: 959px) {
  dialog.siur:modal { margin: auto 0 0 0; width: 100%; max-width: 100%; max-height: 88vh; border-radius: 12px 12px 0 0; }
  dialog.siur:not(:modal) { display: none; }
  dialog.siur .skuffa-efni { padding-bottom: 90px; }
  .siur-fotur { display: block; position: sticky; bottom: 0; padding: 12px 16px; background: var(--paper); border-top: 1px solid var(--line); }
  .siur-fotur button { width: 100%; min-height: 48px; font: inherit; font-weight: 700; background: var(--ink); color: var(--paper); border: 0; border-radius: var(--radius); cursor: pointer; }
}
@media (min-width: 960px) {
  .verslun-grind { grid-template-columns: 250px minmax(0, 1fr); gap: 32px; }
  dialog.siur { display: block; position: static; width: auto; max-width: none; margin: 0; background: none; padding: 0; align-self: start; border-top: 1px solid var(--line); }
  dialog.siur .skuffa-haus { display: none; }
  dialog.siur .skuffa-efni { padding: 0; }
  .sia-hnappur { display: none; }
  .verslun .spjold { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1200px) { .verslun .spjold { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Product page ---------- */
.vara-sida { padding: 18px 0 64px; }
.vara-grind { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 8px; }
.myndasafn-vara { min-width: 0; }
.myndasafn-vara .adalmynd { background: var(--bg); border-radius: var(--radius); padding: 6%; }
.myndasafn-vara .adalmynd img { mix-blend-mode: multiply; }
.myndasafn-vara .adalmynd { aspect-ratio: 1; display: grid; place-items: center; }
.myndasafn-vara .adalmynd img { width: 100%; height: 100%; object-fit: contain; }
.smamyndir { display: flex; gap: 8px; margin-top: 10px; }
.smamyndir button { width: 72px; height: 72px; padding: 4px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--paper); cursor: pointer; }
.smamyndir button[aria-current="true"] { border-color: var(--ink); }
.smamyndir img { width: 100%; height: 100%; object-fit: contain; }
.vara-upplys { min-width: 0; }
.kaupupplysingar { list-style: none; margin: 20px 0 0; padding: 0; color: var(--muted); font-size: 0.95rem; }
.kaupupplysingar li + li { margin-top: 10px; }
.kaupupplysingar a { color: var(--ink); font-weight: 600; }
.vara-upplys .framleidandi { font-weight: 600; color: var(--muted); }
.vara-upplys h1 { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.8rem); font-weight: 800; margin-top: 6px; }
.vara-upplys .spec-stort { margin-top: 8px; font-family: var(--head); font-weight: 700; font-size: 1.3rem; color: var(--muted); }
.verd-stort { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.verd-stort strong { font-family: var(--head); font-size: 2.2rem; font-weight: 800; }
.verd-stort .a-tilbodi { color: var(--red); }
.verd-stort s { color: var(--muted); }
.lagerstada { margin-top: 14px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.lagerstada::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #1f8a4c; flex: none; }
.lagerstada.uppselt::before { background: var(--red); }
.vara-upplys .hnappur { margin-top: 24px; }
.vara-upplys .athugasemd-litil { margin-top: 10px; font-size: 0.85rem; color: var(--muted); }
.stadreyndalisti { margin: 32px 0 0; display: grid; grid-template-columns: auto minmax(0, 1fr); border-top: 1px solid var(--line); }
.stadreyndalisti dt, .stadreyndalisti dd { margin: 0; padding: 4px 0; min-height: 52px; display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.stadreyndalisti dt { font-weight: 700; padding-right: 20px; }
.stadreyndalisti a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.lysing-vara { margin-top: clamp(40px, 6vw, 64px); padding-top: 28px; border-top: 1px solid var(--line); }
.lysing-vara p { max-width: 70ch; }
.lysing-vara h2, .tengdar h2 { font-size: 1.9rem; margin-bottom: 20px; }
.lysing-vara p + p { margin-top: 10px; }
.tengdar { margin-top: clamp(48px, 6vw, 72px); }
@media (min-width: 960px) { .vara-grind { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: start; } .vara-upplys { position: sticky; top: 24px; } .tengdar .spjold { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Footer ---------- */
.fotur { background: var(--black); color: #cfcfca; padding: clamp(36px, 6vw, 60px) 0 22px; font-size: 0.95rem; }
.fotur a { color: var(--paper); text-decoration: none; }
.fotur a:hover { text-decoration: underline; }
.fotur :focus-visible { outline-color: var(--paper); }
.fotur-efri { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 28px 32px; }
.fotur-merki img { width: 76px; height: auto; filter: invert(1); }
.fotur-merki p { margin-top: 12px; max-width: 32ch; }
.fotur-h { font-family: var(--head); font-weight: 700; font-size: 1.2rem; color: var(--paper); margin-bottom: 6px; }
.fotur ul { list-style: none; margin: 0; padding: 0; }
.fotur li a { display: inline-flex; align-items: center; min-height: 34px; max-width: 100%; overflow-wrap: anywhere; }
@media (pointer: coarse) { .fotur li a { min-height: 44px; } }
.fotur-smatt { margin-top: 10px; color: #a3a39d; font-size: 0.9rem; }
.fotur .netfang { overflow-wrap: anywhere; }
.fotur-nedri { margin-top: 28px; padding-top: 16px; border-top: 1px solid #333; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 0.85rem; color: #a3a39d; }

/* ---------- WordPress og WooCommerce ---------- */
.verslun-titill + .woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-notices-wrapper { margin: 0 0 16px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { list-style: none; margin: 0 0 12px; padding: 14px 16px; background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.woocommerce-error { border-color: var(--red); }
.woocommerce-error li { margin: 0; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; margin-left: auto; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--radius); background: var(--ink); color: var(--paper); font-weight: 700; text-decoration: none; }

.rodun label { white-space: nowrap; }
.fleiri-kostir summary { min-height: 36px; display: inline-flex; align-items: center; text-decoration: underline; cursor: pointer; font-size: 0.9rem; list-style: none; }
.fleiri-kostir summary::-webkit-details-marker { display: none; }
.fleiri-kostir[open] summary { display: none; }
.sia-form noscript .hnappur { width: 100%; margin-top: 12px; }
.flokkslysing { margin-top: 36px; color: var(--muted); max-width: 70ch; }
.flokkslysing p + p { margin-top: 10px; }

.sidur { margin-top: 32px; }
.sidur ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.sidur a, .sidur span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: var(--radius); background: var(--paper); border: 1.5px solid var(--line); text-decoration: none; font-weight: 600; }
.sidur a:hover { border-color: var(--ink); }
.sidur .current { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.sidur .dots { background: none; border: 0; }

/* Karfa á vörusíðu */
.i-korfu { margin-top: 20px; }
.i-korfu form.cart { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; margin: 0; }
.i-korfu .quantity input.qty { width: 76px; min-height: 48px; font: inherit; font-size: 1.05rem; text-align: center; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.i-korfu .single_add_to_cart_button { flex: 1 1 200px; min-height: 48px; border: 2px solid var(--red); border-radius: var(--radius); background: var(--red); color: var(--paper); font-family: var(--head); font-weight: 700; font-size: 1.15rem; cursor: pointer; padding: 0 22px; }
.i-korfu .single_add_to_cart_button:hover { background: var(--red-deep); border-color: var(--red-deep); }
.i-korfu .stock { display: none; }
.vara-upplys .hnappur.fyrirspurn { margin-top: 10px; width: 100%; }
.lysing-vara ul, .lysing-vara ol { padding-left: 20px; max-width: 70ch; }
.lysing-vara img { margin: 12px 0; }

/* Venjulegar síður, karfa, greiðsla og mínar síður */
.sida { padding: 24px 0 64px; }
.sida h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); font-weight: 800; margin-bottom: 18px; }
.sida-efni { min-width: 0; }
.sida:not(.wc-sida) .sida-efni > * { max-width: 70ch; }
.sida-efni p + p, .sida-efni ul, .sida-efni h2 { margin-top: 12px; }
.sida-efni h2 { font-size: 1.6rem; }
.faersla + .faersla { margin-top: 24px; }
.wc-sida .woocommerce a.button, .wc-sida .woocommerce button.button, .wc-sida .woocommerce input.button { background: var(--ink); color: var(--paper); border-radius: var(--radius); font-family: inherit; font-weight: 700; min-height: 44px; padding: 10px 18px; }
.wc-sida .woocommerce a.button:hover, .wc-sida .woocommerce button.button:hover { background: #333; color: var(--paper); }
.wc-sida .woocommerce a.button.alt, .wc-sida .woocommerce button.button.alt, .wc-sida #place_order { background: var(--red); color: var(--paper); font-family: var(--head); font-size: 1.15rem; }
.wc-sida .woocommerce a.button.alt:hover, .wc-sida .woocommerce button.button.alt:hover { background: var(--red-deep); }
.wc-sida .woocommerce button.button:disabled, .wc-sida .woocommerce button.button:disabled[disabled] { background: var(--line); color: var(--muted); }
.wc-sida .woocommerce table.shop_table { border-color: var(--line); border-radius: var(--radius); }
.wc-sida .woocommerce table.shop_table td, .wc-sida .woocommerce table.shop_table th { border-color: var(--line); }
.wc-sida .woocommerce form .form-row input.input-text, .wc-sida .woocommerce form .form-row textarea, .wc-sida .woocommerce form .form-row select, .wc-sida .quantity .qty { min-height: 44px; font: inherit; padding: 8px 10px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.wc-sida .woocommerce a.remove { color: var(--red) !important; width: 32px; height: 32px; line-height: 30px; font-size: 1.4rem; }
.wc-sida .woocommerce a.remove:hover { background: var(--red); color: var(--paper) !important; }
.wc-sida .woocommerce-cart-form img { width: 64px; mix-blend-mode: multiply; }
.wc-sida .cart_totals h2, .wc-sida #order_review_heading, .wc-sida .woocommerce-billing-fields h3 { font-size: 1.6rem; margin-bottom: 10px; }
.wc-sida .woocommerce-checkout #payment { background: var(--bg); border-radius: var(--radius); }
.wc-sida .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
.wc-sida .woocommerce-MyAccount-navigation a { display: flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.wc-sida .woocommerce-MyAccount-navigation .is-active a { color: var(--red); }
@media (max-width: 768px) {
  .wc-sida .woocommerce table.shop_table_responsive tr td::before { font-weight: 700; }
}
.um-fotoval .fotur-h { color: inherit; }
.um-texti p + p { margin-top: 10px; }
@media (max-width: 959px) {
  .flis, .virkar .hreinsa { min-height: 44px; }
}
.wc-sida .woocommerce form .show-password-input { width: 44px; height: 44px; top: 0; right: 0; display: grid; place-items: center; }
.wc-sida .woocommerce-form__label-for-checkbox { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.wc-sida .woocommerce-form__label-for-checkbox input[type="checkbox"] { width: 20px; height: 20px; margin: 0; accent-color: var(--ink); }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none; }
.wc-sida .woocommerce-additional-fields h3 { margin-top: 20px; }
.wc-sida .woocommerce-checkout #payment div.payment_box { background: var(--paper); color: var(--ink); border-radius: var(--radius); }
.wc-sida .woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--paper); }

/* ======================================================================
   Útgáfa 0.2: raungögn af fotoval.is, FiboSearch, kökuborði, kaupferli
   ====================================================================== */

/* ---------- Leit: FiboSearch í útliti þemans ---------- */
.leit.leit-fibo { display: block; padding: 0; background: none; border: 0; min-height: 0; }
.leit-fibo .dgwt-wcas-search-wrapp.dgwt-wcas-search-darkoverl-on .dgwt-wcas-search-form, .leit-fibo .dgwt-wcas-search-form { background: none; }
.leit-fibo .dgwt-wcas-search-wrapp { max-width: none; min-width: 0; width: 100%; margin: 0; }
.leit-fibo .dgwt-wcas-sf-wrapp {
  display: flex; align-items: center; gap: 4px; min-height: 52px; padding: 0 4px 0 46px; background: var(--bg) no-repeat 16px 50% / 22px 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2366665f' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E");
  border: 1.5px solid transparent; border-radius: 999px;
}
.leit-fibo .dgwt-wcas-sf-wrapp:focus-within { border-color: var(--ink); background-color: var(--paper); }
.leit-fibo .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input,
.leit-fibo .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:focus {
  flex: 1; min-width: 0; height: 44px; padding: 10px 4px 10px 0; border: 0; border-radius: 0; background: transparent; box-shadow: none;
  font: inherit; font-size: 1rem; line-height: 1.2; color: var(--ink); outline: none; transition: none;
}
.leit-fibo .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input::placeholder { color: var(--muted); font-style: normal; opacity: 1; }
.leit-fibo .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit {
  position: static; flex: none; height: 44px; min-height: 44px; min-width: 0; padding: 0 18px; border-radius: 999px; background: var(--ink); color: var(--paper);
  font: inherit; font-weight: 600; font-size: 1rem; text-transform: none; text-shadow: none; opacity: 1; transition: background-color 0.15s;
}
.leit-fibo .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit:hover { background: #333; opacity: 1; }
.leit-fibo .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit:focus { opacity: 1; }
.leit-fibo .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.leit-fibo .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit::before { content: none; }
.leit-fibo .dgwt-wcas-search-filled input[type="search"].dgwt-wcas-search-input { padding-right: 40px; }
.leit-fibo .dgwt-wcas-preloader { right: 74px !important; }
.leit-fibo .dgwt-wcas-close path { fill: var(--muted); }

/* Tillögurnar (FiboSearch teiknar þær neðst í body og staðsetur með JS) */
.dgwt-wcas-suggestions-wrapp, .dgwt-wcas-details-wrapp {
  margin-top: 6px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 18px 36px rgba(0, 0, 0, 0.14);
  font-family: "Barlow", system-ui, sans-serif; color: var(--ink);
}
.dgwt-wcas-suggestions-wrapp { border-radius: var(--radius); padding: 6px 0; }
.dgwt-wcas-is-details .dgwt-wcas-suggestions-wrapp { border-radius: var(--radius) 0 0 var(--radius); }
.dgwt-wcas-details-wrapp { border-left: 0; border-radius: 0 var(--radius) var(--radius) 0; }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 6px 14px; color: var(--ink); text-decoration: none; border: 0; line-height: 1.3; }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-selected { background: var(--bg); }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-si { flex: none; width: 48px; }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-si img { width: 48px; height: 48px; object-fit: contain; mix-blend-mode: multiply; border: 0; padding: 0; }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-st { font-size: 0.95rem; color: var(--ink); }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-st strong { font-weight: 700; }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-content-wrapp { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-meta { flex: none; width: 100%; margin: 0; padding: 0; text-align: left; }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-st { margin: 0; padding: 0; }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-sp { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; padding: 0; }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-sp ins { order: -1; }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-sp, .dgwt-wcas-details-wrapp .dgwt-wcas-pd-price { color: var(--ink); font-weight: 700; font-family: var(--head); font-size: 1rem; }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-sp del, .dgwt-wcas-details-wrapp .dgwt-wcas-pd-price del { display: inline; color: var(--muted); font-family: "Barlow", system-ui, sans-serif; font-weight: 400; font-size: 0.8rem; opacity: 1; }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-sp ins, .dgwt-wcas-details-wrapp .dgwt-wcas-pd-price ins { color: var(--red); text-decoration: none; background: none; }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-headline { min-height: 0; padding: 10px 14px 4px; }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-st--direct-headline, .dgwt-wcas-suggestion-headline .dgwt-wcas-st { font-family: var(--head); font-weight: 700; font-size: 0.95rem; letter-spacing: 0; text-transform: none; color: var(--muted); border: 0; }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-tax .dgwt-wcas-st { font-weight: 600; }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-more { justify-content: center; width: auto; margin: 6px 14px 4px; min-height: 44px; border-radius: var(--radius); background: var(--ink); }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-more .dgwt-wcas-st-more { color: var(--paper); font-weight: 700; text-transform: none; font-size: 0.95rem; text-decoration: none; }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-more.dgwt-wcas-suggestion-selected { background: #333; }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-nores { min-height: 44px; color: var(--muted); }
.dgwt-wcas-details-wrapp .dgwt-wcas-details-main-image img { mix-blend-mode: multiply; }
.dgwt-wcas-details-wrapp .dgwt-wcas-details-product-title { font-family: var(--head); font-weight: 700; font-size: 1.3rem; line-height: 1.15; color: var(--ink); text-decoration: none; }
.dgwt-wcas-details-wrapp .dgwt-wcas-details-desc { color: var(--muted); font-size: 0.9rem; line-height: 1.45; }
.dgwt-wcas-details-wrapp .dgwt-wcas-details-hr { border-color: var(--line); background: var(--line); }
.dgwt-wcas-details-wrapp .dgwt-wcas-pd-addtc-form { display: flex; align-items: stretch; gap: 8px; }
.dgwt-wcas-details-wrapp .dgwt-wcas-pd-addtc-form .quantity { flex: none; width: 64px; margin: 0; }
.dgwt-wcas-details-wrapp .dgwt-wcas-pd-addtc-form input.qty { width: 100%; min-height: 44px; font: inherit; text-align: center; border: 1.5px solid var(--line); border-radius: var(--radius); }
.dgwt-wcas-details-wrapp .dgwt-wcas-pd-addtc-form .add_to_cart_button, .dgwt-wcas-details-wrapp .dgwt-wcas-pd-addtc-form .button {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 12px; border: 0; border-radius: var(--radius);
  background: var(--red); color: var(--paper); font-family: var(--head); font-weight: 700; font-size: 1.05rem; text-decoration: none; cursor: pointer;
}
.dgwt-wcas-details-wrapp .dgwt-wcas-pd-addtc-form .add_to_cart_button:hover { background: var(--red-deep); }
.dgwt-wcas-details-wrapp .added_to_cart { margin-top: 8px; font-weight: 700; color: var(--ink); }
/* Myrkvun síðunnar á bak við tillögurnar er slökkt í stillingum FiboSearch en kviknar samt með klassíska reitnum */
.dgwt-wcas-darkened-overlay { display: none !important; }

/* Leit á síma: FiboSearch opnar leitina yfir allan skjáinn */
.dgwt-wcas-overlay-mobile { background: var(--paper); font-family: "Barlow", system-ui, sans-serif; }
.dgwt-wcas-overlay-mobile .dgwt-wcas-om-bar { padding: 10px 12px; gap: 8px; border-bottom: 1px solid var(--line); background: var(--paper); }
.dgwt-wcas-overlay-mobile .dgwt-wcas-om-bar button.dgwt-wcas-om-return { width: 44px; height: 48px; padding: 0; background: none; }
.dgwt-wcas-overlay-mobile .dgwt-wcas-om-bar button.dgwt-wcas-om-return path { fill: var(--ink); }
.dgwt-wcas-overlay-mobile .dgwt-wcas-search-form { background: none; }
.dgwt-wcas-overlay-mobile .dgwt-wcas-sf-wrapp { display: flex; align-items: center; min-height: 48px; padding: 0 4px 0 16px; background: var(--bg); border: 1.5px solid var(--ink); border-radius: 999px; }
.dgwt-wcas-overlay-mobile .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input,
.dgwt-wcas-overlay-mobile .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:focus {
  height: 44px; padding: 8px 40px 8px 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; font: inherit; font-size: 16px; color: var(--ink);
}
.dgwt-wcas-overlay-mobile .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input::placeholder { color: var(--muted); font-style: normal; }
.dgwt-wcas-overlay-mobile .dgwt-wcas-suggestions-wrapp { margin-top: 0; border: 0; border-radius: 0; box-shadow: none; }

/* ---------- Kökuborði (Cookie Notice) ---------- */
#cookie-notice { min-width: 0; right: 0; font-family: "Barlow", system-ui, sans-serif; font-size: 0.95rem; line-height: 1.5; text-align: left; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1); }
#cookie-notice .cookie-notice-container { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; max-width: var(--max); margin: 0 auto; padding: 14px var(--pad); text-align: left; }
#cookie-notice.cookie-notice-hidden .cookie-notice-container { display: none; }
#cookie-notice.cookie-notice-hidden.cookie-revoke-hidden:not(.cn-animated) { display: none; }
#cookie-notice .cn-text-container { flex: 1 1 360px; margin: 0; }
#cookie-notice .cn-buttons-container { display: flex; flex-wrap: wrap; gap: 8px; }
#cookie-notice .cn-button.cn-button-custom {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin: 0; padding: 0 20px; border-radius: var(--radius);
  border: 2px solid var(--ink); background: var(--paper); color: var(--ink); font-family: var(--head); font-weight: 700; font-size: 1.05rem; line-height: 1; cursor: pointer;
}
#cookie-notice #cn-accept-cookie { background: var(--ink); color: var(--paper); }
#cookie-notice #cn-accept-cookie:hover { background: #333; border-color: #333; }
#cookie-notice #cn-more-info:hover { background: var(--bg); }
#cookie-notice .cn-button:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
/* Krossinn samþykkir líka kökur en heitir „Hafna“ í stillingunum, svo hann er falinn: „Í lagi“ gerir það sama */
#cookie-notice #cn-close-notice { display: none; }
@media (min-width: 760px) {
  #cookie-notice { left: 16px; right: auto; bottom: 16px; width: min(560px, calc(100% - 32px)); border: 1px solid var(--line); border-radius: 10px; }
  #cookie-notice .cookie-notice-container { padding: 18px 20px; }
}
@media (max-width: 759px) {
  #cookie-notice .cn-buttons-container { width: 100%; }
  #cookie-notice .cn-button.cn-button-custom { flex: 1; }
}

/* ---------- Brautarmolar á síma: aðeins tengill upp um eitt stig ---------- */
@media (max-width: 759px) {
  .brautarmolar li { display: none; }
  .brautarmolar li:nth-last-child(2) { display: block; }
  .brautarmolar li:nth-last-child(2)::before { content: "‹"; margin-right: 8px; font-size: 1.3em; line-height: 1; color: var(--ink); }
  .brautarmolar li:nth-last-child(2) a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
}

/* ---------- Vörusíða ---------- */
.adalmynd a { display: grid; place-items: center; width: 100%; height: 100%; cursor: zoom-in; }
.adalmynd a:focus-visible { outline-offset: -3px; }
.engin-mynd { color: var(--muted); font-weight: 600; }
.lager-skyring { margin-top: 6px; color: var(--muted); max-width: 46ch; }
.abyrgd { margin-top: 12px; max-width: 52ch; color: var(--muted); }
.abyrgd strong { color: var(--ink); font-weight: 700; }
.smamyndir { flex-wrap: wrap; }
.smamyndir button[aria-pressed="true"] { border-color: var(--ink); }
.smamyndir button:hover { border-color: var(--muted); }
.vara-upplys .hnappur.fyrirspurn.adal { margin-top: 20px; }
.i-korfu .quantity input.qty:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.lysing-vara { overflow-wrap: anywhere; }
.lysing-vara table { border-collapse: collapse; max-width: 100%; display: block; overflow-x: auto; }
.lysing-vara td, .lysing-vara th { border: 1px solid var(--line); padding: 6px 10px; }
@media (max-width: 759px) {
  .vara-grind { gap: 12px; }
  .myndasafn-vara { padding: 10px; }
  .myndasafn-vara .adalmynd { aspect-ratio: 4 / 3; }
  .smamyndir { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; }
  .smamyndir button { flex: none; width: 60px; height: 60px; }
  .vara-upplys h1 { font-size: 1.9rem; }
  .verd-stort strong { font-size: 2rem; }
}

/* Spjöld: verð á fyrirspurn */
.verd .fyrirspurn-verd { font-family: "Barlow", system-ui, sans-serif; font-weight: 600; font-size: 0.95rem; color: var(--muted); }

/* ---------- Tilkynningar WooCommerce ---------- */
.woocommerce-message { border-color: #1f8a4c; }
.woocommerce-info { border-color: var(--ink); }
.woocommerce-error { border-color: var(--red); display: block; }
.woocommerce-error li { padding: 2px 0; }
.woocommerce-error li + li { border-top: 1px solid var(--line); padding-top: 6px; margin-top: 4px; }
.woocommerce-error a { color: inherit; }
.woocommerce-message .button:focus-visible, .woocommerce-info .button:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.vara-sida .woocommerce-notices-wrapper:not(:empty) { margin-top: 8px; }
.vara-sida .woocommerce-message { font-weight: 600; font-size: 1.05rem; }

/* ---------- Tómar síður: karfa, leit, 404 ---------- */
.tomt { padding: clamp(24px, 4vw, 40px); }
.tomt > p { max-width: 60ch; margin-top: 6px; }
.tomt .hnappar { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.tomt-rad { margin: 12px 0 0; padding-left: 20px; max-width: 64ch; }
.tomt-rad li + li { margin-top: 6px; }
.tomt-flokkar { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.tomt-flokkar p { font-family: var(--head); font-weight: 700; font-size: 1.15rem; margin-bottom: 10px; }
.tomt-flokkar ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tomt-flokkar .flis { min-height: 44px; padding: 2px 16px; font-size: 0.95rem; }
.tomt-404 .villukodi { font-family: var(--head); font-weight: 700; color: var(--red-deep); }
.tomt-404 h1 { margin: 4px 0 6px; }
.verslun-grind.an-sia { grid-template-columns: minmax(0, 1fr); }
.wc-sida .tomt-karfa { padding: 8px 0; }
.wc-sida .tomt-karfa h2 { font-size: 2rem; }
.wc-sida .woocommerce .tomt .hnappur { min-height: 48px; }

/* ---------- Karfa ---------- */
.wc-sida .woocommerce table.shop_table { border-collapse: separate; }
.wc-sida .woocommerce table.shop_table th { font-family: var(--head); font-weight: 700; font-size: 1rem; }
.wc-sida .woocommerce-cart-form .product-thumbnail img { width: 72px; height: 72px; object-fit: contain; }
.wc-sida .woocommerce-cart-form .product-name a { font-weight: 600; text-decoration: none; }
.wc-sida .woocommerce-cart-form .product-name a:hover { text-decoration: underline; }
.wc-sida .woocommerce a.remove { text-decoration: none; display: grid; place-items: center; width: 44px; height: 44px; line-height: 1; border-radius: 50%; font-size: 1.6rem; font-weight: 400; }
.wc-sida .woocommerce a.remove:focus-visible { outline: 3px solid var(--red); outline-offset: 0; }
.wc-sida .woocommerce-cart-form .quantity .qty { width: 72px; text-align: center; }
.wc-sida .woocommerce-cart-form .actions .coupon { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.wc-sida .woocommerce-cart-form .actions .coupon .input-text { width: 180px; min-height: 44px; margin: 0; padding: 8px 12px; font: inherit; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.wc-sida .woocommerce-cart-form .actions .coupon .input-text:focus { border-color: var(--ink); outline: none; }
.wc-sida .woocommerce-cart-form .actions .coupon .button { margin: 0; }
.wc-sida .woocommerce .coupon-error-notice { flex-basis: 100%; margin: 4px 0 0; color: var(--red-deep); font-size: 0.9rem; font-weight: 600; }
.wc-sida .woocommerce button.button[name="update_cart"] { background: var(--paper); color: var(--ink); border: 1.5px solid var(--line); }
.wc-sida .woocommerce button.button[name="update_cart"]:not(:disabled):hover { border-color: var(--ink); }
.wc-sida .woocommerce button.button[name="update_cart"]:disabled { opacity: 1; color: var(--muted); }
.wc-sida .cart-collaterals .cart_totals { width: 100%; max-width: 520px; float: right; }
.wc-sida .cart_totals .wc-proceed-to-checkout a.checkout-button { display: flex; align-items: center; justify-content: center; min-height: 52px; margin-bottom: 0; font-size: 1.25rem; }
.wc-sida .woocommerce ul#shipping_method { margin: 0; padding: 0; }
.wc-sida .woocommerce ul#shipping_method li { display: flex; align-items: center; gap: 8px; min-height: 44px; margin: 0; padding: 0; text-indent: 0; }
.wc-sida .woocommerce ul#shipping_method li input { width: 20px; height: 20px; margin: 0; accent-color: var(--ink); flex: none; }
.wc-sida .woocommerce ul#shipping_method li label { cursor: pointer; }
.wc-sida .woocommerce-shipping-destination, .wc-sida .woocommerce-shipping-calculator { color: var(--muted); font-size: 0.9rem; }
.wc-sida .woocommerce-shipping-totals td::before, .wc-sida .order-total td::before { font-weight: 700; }
.wc-sida .order-total .amount { font-family: var(--head); font-size: 1.35rem; }
@media (max-width: 768px) {
  .wc-sida .woocommerce table.shop_table_responsive tr td, .wc-sida .woocommerce-page table.shop_table_responsive tr td { padding: 10px 12px; }
  .wc-sida .woocommerce-cart-form .product-remove { text-align: right !important; }
  .wc-sida .woocommerce-cart-form .product-thumbnail { display: block !important; text-align: left !important; }
  .wc-sida .woocommerce-cart-form .product-thumbnail::before { display: none; }
  .wc-sida .woocommerce-cart-form .actions .coupon { float: none; width: 100%; }
  .wc-sida .woocommerce-cart-form .actions .coupon .input-text { flex: 1; width: auto; float: none; }
  .wc-sida .woocommerce-cart-form .actions .coupon .button { float: none; width: auto; }
  .wc-sida .woocommerce button.button[name="update_cart"] { width: 100%; margin-top: 10px; }
  .wc-sida .cart-collaterals .cart_totals { float: none; max-width: none; }
}

/* ---------- Greiðsla ---------- */
.wc-sida .woocommerce form .form-row { margin: 0 0 14px; padding: 0; }
.wc-sida .woocommerce form .form-row label { display: block; margin-bottom: 4px; font-weight: 600; line-height: 1.3; }
.wc-sida .woocommerce form .form-row .required { color: var(--red-deep); text-decoration: none; border: 0; }
.wc-sida .woocommerce form .form-row input.input-text:focus, .wc-sida .woocommerce form .form-row textarea:focus, .wc-sida .woocommerce form .form-row select:focus { border-color: var(--ink); outline: 2px solid var(--ink); outline-offset: 0; }
.wc-sida .woocommerce form .form-row.woocommerce-invalid label { color: var(--red-deep); }
.wc-sida .woocommerce form .form-row.woocommerce-invalid input.input-text, .wc-sida .woocommerce form .form-row.woocommerce-invalid select { border-color: var(--red); }
.wc-sida .woocommerce form .form-row.woocommerce-validated input.input-text, .wc-sida .woocommerce form .form-row.woocommerce-validated select { border-color: var(--line); }
.wc-sida .woocommerce form .form-row .checkout-inline-error-message { margin: 4px 0 0; color: var(--red-deep); font-size: 0.9rem; font-weight: 600; }
.wc-sida .woocommerce form .form-row textarea { min-height: 96px; }
.wc-sida .woocommerce-billing-fields h3, .wc-sida .woocommerce-additional-fields h3, .wc-sida #order_review_heading, .wc-sida #ship-to-different-address { font-family: var(--head); font-size: 1.6rem; margin: 0 0 12px; }
.wc-sida #ship-to-different-address label { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 1.15rem; cursor: pointer; }
.wc-sida #ship-to-different-address input { width: 20px; height: 20px; margin: 0; accent-color: var(--ink); }
.wc-sida .woocommerce-form-coupon-toggle .showcoupon { font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; min-height: 44px; }
.wc-sida form.checkout_coupon { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; padding: 16px; margin: 0 0 16px; border: 1.5px solid var(--line); border-radius: var(--radius); }
.wc-sida form.checkout_coupon .form-row { float: none; width: auto; margin: 0; }
.wc-sida form.checkout_coupon .form-row-first { flex: 1 1 200px; }
.wc-sida form.checkout_coupon .clear, .wc-sida form.checkout_coupon > p:first-child { flex-basis: 100%; }
.wc-sida #order_review { margin-top: 8px; }
.wc-sida .woocommerce-checkout-review-order-table .product-name { font-weight: 600; }
.wc-sida .woocommerce-checkout #payment { padding: 4px 0 8px; }
.wc-sida .woocommerce-checkout #payment ul.payment_methods { padding: 16px; border-bottom-color: var(--line); }
.wc-sida .woocommerce-checkout #payment ul.payment_methods li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; line-height: 1.4; }
.wc-sida .woocommerce-checkout #payment ul.payment_methods li > input { width: 20px; height: 20px; margin: 0; accent-color: var(--ink); }
.wc-sida .woocommerce-checkout #payment ul.payment_methods li > label { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 700; font-size: 1.1rem; }
.wc-sida .woocommerce-checkout #payment ul.payment_methods li img { max-height: 40px; width: auto; margin: 0; border-radius: 6px; }
.wc-sida .woocommerce-checkout #payment div.payment_box { flex-basis: 100%; margin: 10px 0 0; font-size: 0.95rem; }
.wc-sida .woocommerce-checkout #payment div.form-row.place-order { padding: 16px; margin: 0; }
.wc-sida .woocommerce-privacy-policy-text p { font-size: 0.9rem; color: var(--muted); margin-bottom: 8px; }
.wc-sida .woocommerce-privacy-policy-text a, .wc-sida .woocommerce-terms-and-conditions-link { color: var(--ink); font-weight: 600; }
.wc-sida .woocommerce-terms-and-conditions-wrapper .form-row { margin: 4px 0 14px; }
.wc-sida .woocommerce-terms-and-conditions-wrapper label.woocommerce-form__label-for-checkbox { font-weight: 400; }
.wc-sida .woocommerce-terms-and-conditions { border-radius: var(--radius); border-color: var(--line) !important; background: var(--paper); padding: 12px 16px; }
.wc-sida #place_order { width: 100%; min-height: 56px; float: none; font-size: 1.3rem; }
.wc-sida .woocommerce form .show-password-input:focus-visible { outline: 3px solid var(--red); }
@media (min-width: 960px) {
  .wc-sida form.woocommerce-checkout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0 40px; align-items: start; }
  .wc-sida form.woocommerce-checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
  .wc-sida form.woocommerce-checkout > #customer_details { grid-column: 1; grid-row: span 3; }
  .wc-sida form.woocommerce-checkout > #customer_details .col-1, .wc-sida form.woocommerce-checkout > #customer_details .col-2 { float: none; width: 100%; }
  .wc-sida form.woocommerce-checkout > #customer_details .col-2 { margin-top: 12px; }
  .wc-sida form.woocommerce-checkout > #order_review_heading, .wc-sida form.woocommerce-checkout > #order_review { grid-column: 2; }
  .wc-sida form.woocommerce-checkout > #order_review { position: sticky; top: 16px; }
}

/* ---------- Mínar síður (innskráning) ---------- */
.wc-sida .woocommerce form.login, .wc-sida .woocommerce form.register { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 12px 0 24px; max-width: 520px; }
.wc-sida .woocommerce-form-login__submit { margin-top: 6px; }
.wc-sida .woocommerce-LostPassword a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Venjulegar síður ---------- */
.sida-efni a:not(.hnappur):not(.flis):not(.button) { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.sida-efni a:not(.hnappur):not(.flis):not(.button):hover { color: var(--red-deep); }
.sida:not(.wc-sida) .sida-efni ul, .sida:not(.wc-sida) .sida-efni ol { padding-left: 22px; }
.sida:not(.wc-sida) .sida-efni li + li { margin-top: 4px; }
.sida-efni .tomt-flokkar ul { margin: 0; padding: 0; }
.sida-efni strong { font-weight: 700; }
.sida-efni p { line-height: 1.6; }
.sida-efni > p:first-child > strong:only-child { font-family: var(--head); font-size: 1.3rem; }
.sida-efni .samband-kort { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.sida-efni .samband-kort .hnappur { color: var(--paper); margin-top: 12px; }

/* Landareiturinn er selectWoo (select2) í greiðsluferlinu */
.wc-sida .select2-container--default .select2-selection--single { height: 44px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.wc-sida .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 41px; padding-left: 10px; color: var(--ink); }
.wc-sida .select2-container--default .select2-selection--single .select2-selection__arrow { height: 42px; }
.wc-sida .woocommerce form .form-row.woocommerce-validated .select2-container:not(.select2-container--open) .select2-selection { border-color: var(--line); }
.wc-sida .select2-container--focus .select2-selection--single, .wc-sida .select2-container--open .select2-selection--single { border-color: var(--ink); outline: 2px solid var(--ink); }

/* Karfa á síma: hver vara er eitt spjald (mynd, heiti, verð, magn) í stað langrar töflu */
@media (max-width: 768px) {
  .wc-sida .woocommerce-cart-form table.shop_table { border: 0; }
  .wc-sida .woocommerce-cart-form tr.cart_item {
    display: grid; grid-template-columns: 72px minmax(0, 1fr) 44px; grid-template-areas: "mynd nafn fjarl" "mynd verd verd" "mynd magn samtals";
    align-items: center; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid var(--line);
  }
  .wc-sida .woocommerce-cart-form tr.cart_item td { display: block; padding: 0 !important; border: 0 !important; background: none !important; text-align: left !important; }
  .wc-sida .woocommerce-cart-form tr.cart_item td::before { display: none; }
  .wc-sida .woocommerce-cart-form tr.cart_item td.product-thumbnail { grid-area: mynd; align-self: start; }
  .wc-sida .woocommerce-cart-form tr.cart_item td.product-thumbnail img { width: 72px; height: 72px; }
  .wc-sida .woocommerce-cart-form tr.cart_item td.product-name { grid-area: nafn; font-size: 1.05rem; }
  .wc-sida .woocommerce-cart-form tr.cart_item td.product-remove { grid-area: fjarl; justify-self: end; }
  .wc-sida .woocommerce-cart-form tr.cart_item td.product-price { grid-area: verd; color: var(--muted); font-size: 0.9rem; }
  .wc-sida .woocommerce-cart-form tr.cart_item td.product-quantity { grid-area: magn; }
  .wc-sida .woocommerce-cart-form tr.cart_item td.product-subtotal { grid-area: samtals; justify-self: end; font-weight: 700; font-family: var(--head); font-size: 1.15rem; }
  .wc-sida .woocommerce-cart-form tr.cart_item td.product-quantity .quantity { margin: 0; }
  .wc-sida .woocommerce-cart-form td.actions { padding: 14px 0 0 !important; }
  .wc-sida .cart_totals table.shop_table tr.woocommerce-shipping-totals td { text-align: left !important; }
  .wc-sida .cart_totals table.shop_table tr.woocommerce-shipping-totals td::before { display: block; float: none; margin-bottom: 4px; }
}

/* ======================================================================
   Útgáfa 0.3: karfa til hliðar, tilkynningar
   ====================================================================== */

/* WooCommerce setur fókus á tilkynninguna eftir að vara fer í körfu; ramminn þar á ekki að vera rauður */
.woocommerce-message:focus, .woocommerce-info:focus, .woocommerce-error:focus { outline: none; }

/* Karfan opnast til hliðar þegar vara fer í hana */
dialog.karfa-skuffa .skuffa-efni { padding-top: 8px; }
.karfa-skuffa .woocommerce-mini-cart { list-style: none; margin: 0; padding: 0; }
.karfa-skuffa .woocommerce-mini-cart-item { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 4px 14px; padding: 14px 40px 14px 0; border-bottom: 1px solid var(--line); }
.karfa-skuffa .woocommerce-mini-cart-item > a:not(.remove) { display: contents; font-weight: 600; text-decoration: none; }
.karfa-skuffa .woocommerce-mini-cart-item img { grid-row: span 2; width: 72px; height: 72px; object-fit: contain; background: var(--bg); border-radius: var(--radius); padding: 6px; mix-blend-mode: multiply; }
.karfa-skuffa .woocommerce-mini-cart-item .quantity { grid-column: 2; color: var(--muted); font-size: 0.95rem; }
.karfa-skuffa .woocommerce-mini-cart-item a.remove { position: absolute; top: 10px; right: 0; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--muted); font-size: 1.4rem; line-height: 1; text-decoration: none; }
.karfa-skuffa .woocommerce-mini-cart-item a.remove:hover { background: var(--bg); color: var(--ink); }
.karfa-skuffa .woocommerce-mini-cart__total { display: flex; justify-content: space-between; align-items: baseline; margin: 0; padding: 16px 0 12px; font-weight: 700; }
.karfa-skuffa .woocommerce-mini-cart__total .amount { font-family: var(--head); font-size: 1.4rem; }
.karfa-skuffa .woocommerce-mini-cart__buttons { display: grid; gap: 8px; margin: 0; }
.karfa-skuffa .woocommerce-mini-cart__buttons a { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: var(--radius); font-family: var(--head); font-weight: 700; font-size: 1.1rem; text-decoration: none; background: var(--paper); color: var(--ink); border: 2px solid var(--ink); }
.karfa-skuffa .woocommerce-mini-cart__buttons a.checkout { order: -1; background: var(--red); border-color: var(--red); color: var(--paper); }
.karfa-skuffa .woocommerce-mini-cart__buttons a.checkout:hover { background: var(--red-deep); border-color: var(--red-deep); }
.karfa-skuffa .woocommerce-mini-cart__empty-message { padding: 16px 0; color: var(--muted); }
.karfa-skuffa .halda-afram { display: block; width: 100%; min-height: 44px; margin-top: 8px; font: inherit; font-weight: 600; background: none; border: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; color: var(--ink); }
.i-korfu .single_add_to_cart_button[aria-busy="true"] { opacity: 0.75; cursor: progress; }

/* ======================================================================
   Útgáfa 0.4: festingar í valmynd og á eigin síðum, síur
   ====================================================================== */
.mega-festing { margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.mega-titill { font-family: var(--head); font-weight: 700; font-size: 1.05rem; margin: 0 0 10px; }
.mega-flisar { display: flex; flex-wrap: wrap; gap: 8px; }
.mega-flisar .flis .fj { margin-left: 6px; }
.mega-merki span { font-family: var(--head); }
.skuffa-efni .sk-festingar > span { display: flex; align-items: center; min-height: 40px; font-weight: 700; color: var(--muted); }
.skuffa-efni .sk-festingar ul { margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 0 18px; }
.skuffa-efni .sk-festingar li a { min-height: 40px; }
.verslun-titill .inngangur { flex-basis: 100%; margin-top: 8px; color: var(--muted); max-width: 60ch; }
#efni[aria-busy="true"] .spjold { opacity: 0.55; transition: opacity 0.15s; }
@media (prefers-reduced-motion: reduce) { #efni[aria-busy="true"] .spjold { transition: none; } }

/* ---------- 0.5.0: notað sem stök eintök, festing á spjöldum, festingaflísar ---------- */
.spjald .festing-lina { margin-top: 4px; font-size: 0.85rem; color: var(--muted); }
.festingaflisar { margin: -4px 0 28px; }
.festingaflisar p { font-weight: 700; font-size: 0.95rem; margin-bottom: 10px; }
.festingaflisar ul { list-style: none; margin: 0; padding: 0 0 4px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; }
.festingaflisar li { flex: none; }
.festingaflisar .flis { min-height: 40px; white-space: nowrap; }
.festingaflisar .flis[aria-current="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.festingaflisar .flis[aria-current="true"] .fj { color: inherit; }
@media (min-width: 960px) { .festingaflisar { display: none; } }
.selt-notad { margin-top: 10px; max-width: 52ch; color: var(--muted); }
.selt-tenglar { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.abyrgd a { color: var(--ink); font-weight: 600; }
/* Notuð vara er stakt eintak: fjöldareiturinn er falinn (input type=hidden) og á ekki að taka pláss */
.i-korfu .quantity:has(> input[type="hidden"]) { display: none; }
.verslun-titill .inngangur a { color: var(--ink); font-weight: 600; }
