/* Heimaform — stíll 1a „Bjart & skandinavískt" */

:root {
  --bg: #FDFCFA;
  --surface: #F7F5F1;
  --ink: #1C1917;
  --ink-soft: #57534E;
  --ink-muted: #78716C;
  --ink-faint: #A8A29E;
  --border: #EDE9E3;
  --border-strong: #D6D1C9;
  --accent: #F5A623;
  --accent-dark: #8A5B00;
  --accent-tint: #FBF3E2;
  --accent-glow: #FFFBF2;
  --dark: #1C1917;
  --dark-fg: #FDFCFA;
  --dark-muted: #A8A29E;
  --dark-link: #E7E5E4;
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Instrument Sans', sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 20px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

h1, h2, h3 { font-family: var(--font-heading); letter-spacing: -0.01em; }

/* ---------- Tilkynningaborði ---------- */
.topbar {
  background: var(--dark);
  color: var(--dark-fg);
  font-size: 13px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 9px 16px;
}
.topbar strong { font-weight: 600; color: var(--accent); }
.topbar span { opacity: .7; }

/* ---------- Haus ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 56px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.site-header .logo img { height: 36px; display: block; }
.site-nav { display: flex; gap: 36px; font-size: 15px; font-weight: 500; }
.site-nav a { color: var(--ink-muted); }
.site-nav a:hover { color: var(--ink); }
.site-nav a.active { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { font-size: 14px; color: var(--ink-muted); }

/* ---------- Hnappar ---------- */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 15px;
  padding: 11px 22px;
  border-radius: 8px;
  transition: filter .15s ease;
}
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { filter: brightness(.96); }
.btn-outline { border: 1.5px solid var(--border-strong); color: var(--ink); }
.btn-outline:hover { background: var(--surface); }
.btn-lg { font-weight: 700; font-size: 17px; padding: 16px 30px; border-radius: 10px; }
.btn-block { display: block; width: 100%; text-align: center; border: 0; cursor: pointer; font-family: inherit; }

/* ---------- Hetja (forsíða) ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 72px 56px 80px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-tint);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 99px;
  margin-bottom: 24px;
}
.pill::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 99px;
}
.hero h1 {
  font-size: 56px;
  line-height: 1.08;
  font-weight: 800;
  margin: 0 0 22px;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}
.hero .lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 34px;
  max-width: 44ch;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 28px; font-size: 14px; color: var(--ink-soft); }
.hero-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 20px;
}

/* ---------- Vörukort ---------- */
.section { padding: 0 56px 72px; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
}
.section-head h2 { font-size: 30px; font-weight: 700; margin: 0; }
.section-head .more { font-weight: 600; font-size: 15px; color: var(--accent-dark); }
.section-head .more:hover { color: var(--ink); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow .15s ease;
}
.product-card:hover { box-shadow: 0 4px 16px rgba(28, 25, 23, .07); }
.product-card .thumb {
  background: var(--surface);
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.product-card .thumb img {
  max-height: 180px;
  max-width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
/* Staðgengilsmyndir eru þegar í bakgrunnslit — engin blöndun */
.product-card .thumb img[src$=".svg"],
.gallery .main img[src$=".svg"] { mix-blend-mode: normal; }
.product-card .body { padding: 16px 18px 18px; }
.product-card .name { font-weight: 600; font-size: 16px; margin-bottom: 4px; }
.product-card .cat { font-size: 14px; color: var(--ink-muted); margin-bottom: 12px; }
.product-card .row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.price { font-weight: 700; font-size: 17px; }
.price .per { font-weight: 400; font-size: 13px; color: var(--ink-muted); }
.tag-btn {
  font-size: 13px;
  font-weight: 600;
  background: var(--accent-tint);
  color: var(--accent-dark);
  padding: 7px 12px;
  border-radius: 8px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.tag-btn:hover { background: var(--accent); color: var(--ink); }

/* ---------- Pakkar ---------- */
.bundles-band {
  background: var(--accent-tint);
  padding: 64px 56px 72px;
}
.bundles-band .section-head { margin-bottom: 24px; align-items: flex-end; }
.bundles-band h2 { font-size: 30px; font-weight: 700; margin: 0; letter-spacing: -0.01em; }
.band-kicker {
  display: inline-block;
  background: var(--accent);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 99px;
  margin-bottom: 12px;
}
.band-sub { font-size: 15px; font-weight: 600; color: var(--accent-dark); }
.bundle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.bundle-card {
  border-radius: 16px;
  background: #fff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 2px 10px rgba(138, 91, 0, .08);
}
.bundle-card .b-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.bundle-card .b-name { font-family: var(--font-heading); font-weight: 700; font-size: 20px; }
.bundle-card .b-save {
  flex: none;
  background: var(--accent);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 99px;
  white-space: nowrap;
}
.bundle-card .tag-btn { background: var(--dark); color: var(--dark-fg); }
.bundle-card .tag-btn:hover { background: #000; color: #fff; }
.bundle-card .b-tagline { font-size: 14px; color: var(--ink-muted); margin-top: -8px; }
.bundle-card .b-imgs { display: flex; gap: 10px; }
.bundle-card .b-imgs a {
  flex: 1;
  background: var(--surface);
  border-radius: 12px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.bundle-card .b-imgs img { max-height: 76px; max-width: 100%; object-fit: contain; mix-blend-mode: multiply; }
.bundle-card .b-items { font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; }
.bundle-card .b-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.bundle-card .b-price { font-weight: 700; font-size: 18px; }
.bundle-card .b-price .per { font-weight: 400; font-size: 13px; color: var(--ink-muted); }
.bundle-card .b-price .strike {
  font-weight: 400;
  font-size: 13px;
  color: var(--ink-faint);
  text-decoration: line-through;
  margin-right: 6px;
}

/* ---------- Tímabil (forsíða) ---------- */
.periods {
  background: var(--surface);
  padding: 64px 56px;
}
.periods h2 { font-size: 30px; font-weight: 700; margin: 0 0 8px; text-align: center; }
.periods .sub { text-align: center; color: var(--ink-soft); font-size: 16px; margin: 0 0 12px; }
.periods .note {
  text-align: center;
  color: var(--accent-dark);
  font-size: 15px;
  font-weight: 600;
  margin: 0 auto 36px;
  background: var(--accent-tint);
  display: table;
  padding: 9px 18px;
  border-radius: 99px;
}
.period-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
}
.period-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
}
.period-card .title { font-family: var(--font-heading); font-weight: 700; font-size: 20px; margin-bottom: 6px; }
.period-card .desc { font-size: 14px; color: var(--ink-muted); margin-bottom: 16px; }
.period-card .deal { font-size: 15px; color: var(--ink-soft); }
.period-card.featured {
  background: var(--dark);
  color: var(--dark-fg);
  border: 0;
  position: relative;
}
.period-card.featured .desc { color: var(--dark-muted); }
.period-card.featured .deal { color: var(--accent); font-weight: 600; }
.period-card .flag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 99px;
}
.period-card .deal.good { color: var(--accent-dark); font-weight: 600; }

/* ---------- Svona virkar það ---------- */
.how {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 72px 56px;
}
.how-steps { display: flex; flex-direction: column; gap: 22px; }
.how-steps h2 { font-size: 30px; font-weight: 700; margin: 0; }
.step { display: flex; gap: 18px; }
.step .num {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 99px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step .title { font-weight: 600; font-size: 17px; margin-bottom: 3px; }
.step .text { color: var(--ink-soft); font-size: 15px; line-height: 1.55; }

.quote {
  background: var(--accent-tint);
  border-radius: 20px;
  padding: 40px;
}
.quote .mark { font-size: 34px; color: var(--accent); line-height: 1; margin-bottom: 18px; }
.quote p { font-size: 18px; line-height: 1.65; margin: 0 0 20px; }
.quote .who { font-weight: 600; font-size: 15px; }
.quote .what { font-size: 13px; color: var(--accent-dark); }

/* ---------- Fótur ---------- */
.site-footer {
  background: var(--dark);
  color: var(--dark-muted);
  padding: 48px 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.site-footer .brand { display: flex; flex-direction: column; gap: 10px; }
.site-footer .brand img {
  height: 30px;
  filter: brightness(0) invert(1);
  align-self: flex-start;
}
.site-footer .brand div { font-size: 14px; }
.footer-links { display: flex; gap: 32px; font-size: 14px; }
.footer-links a { color: var(--dark-link); }
.footer-links a:hover { color: #fff; }
.site-footer .legal { font-size: 13px; }

/* ---------- Allar vörur ---------- */
.page-head { padding: 40px 56px 20px; }
.page-head h1 { font-size: 38px; font-weight: 800; margin: 0 0 8px; letter-spacing: -0.02em; }
.page-head .sub { color: var(--ink-soft); font-size: 16px; margin: 0 0 24px; }
.filter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--border-strong);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: 99px;
  background: none;
  font-family: inherit;
  cursor: pointer;
}
.chip:hover { background: var(--surface); }
.chip.active {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--dark-fg);
  font-weight: 600;
}
.sort {
  flex: none;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  font-family: inherit;
}
.catalog { padding: 20px 56px 56px; }
.catalog .product-card .thumb { height: 190px; padding: 16px; }
.catalog .product-card .thumb img { max-height: 160px; }
.catalog .product-card .name { font-size: 15px; }
.catalog .product-card .cat { font-size: 13px; margin: 2px 0 10px; }
.catalog .price { font-size: 16px; }
.catalog .price .per { font-size: 12px; }
.catalog-foot {
  padding: 0 56px 40px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-muted);
}
.catalog-foot a { font-weight: 600; color: var(--accent-dark); }

/* ---------- Vörusíða ---------- */
.crumbs { padding: 24px 56px 0; font-size: 14px; color: var(--ink-muted); }
.crumbs a { color: var(--ink-muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs .here { color: var(--ink); font-weight: 500; }

.product-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  padding: 28px 56px 64px;
  align-items: start;
}
.gallery { display: flex; flex-direction: column; gap: 14px; }
.gallery .main {
  background: var(--surface);
  border-radius: 18px;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.gallery .main img { max-height: 400px; max-width: 100%; object-fit: contain; }
.gallery .thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery .thumbs > div {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  cursor: pointer;
}
.gallery .thumbs > div.active { border: 2px solid var(--accent); }
.gallery .thumbs img { max-height: 68px; max-width: 100%; object-fit: contain; }

.buy-box h1 { font-size: 36px; font-weight: 800; margin: 0 0 12px; letter-spacing: -0.02em; }
.buy-box .desc { font-size: 16px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 26px; }
.buy-box .pill { margin-bottom: 14px; }
.choose-label { font-weight: 700; font-size: 16px; margin-bottom: 12px; }

.period-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.period-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  cursor: pointer;
  position: relative;
  background: #fff;
}
.period-option input { position: absolute; opacity: 0; pointer-events: none; }
.period-option .left { display: flex; align-items: center; gap: 12px; }
.period-option .radio {
  width: 20px; height: 20px;
  border-radius: 99px;
  border: 2px solid var(--border-strong);
  transition: border .1s ease;
}
.period-option .label { font-weight: 600; font-size: 16px; }
.period-option .amount { font-weight: 700; font-size: 17px; }
.period-option .amount .per { font-weight: 400; font-size: 13px; color: var(--ink-muted); }
.period-option .amount .disc { font-size: 13px; color: var(--accent-dark); font-weight: 600; }
.period-option:has(input:checked) {
  border: 2px solid var(--accent);
  background: var(--accent-glow);
  padding: 15px 19px;
}
.period-option:has(input:checked) .radio { border: 6px solid var(--accent); }
.period-option .flag {
  position: absolute;
  top: -10px;
  right: 16px;
  background: var(--accent);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
}

/* ---------- Aukahlutir á vörusíðu ---------- */
.addons { margin-bottom: 18px; }
.addon {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1.5px solid var(--border-strong);
  border-radius: 12px;
  padding: 14px 18px;
  cursor: pointer;
  background: #fff;
  margin-bottom: 10px;
}
.addon:hover { background: var(--surface); }
.addon.active { border: 2px solid var(--accent); background: var(--accent-glow); padding: 13px 17px; }
.addon .box {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 7px;
  border: 1.5px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; color: var(--ink);
}
.addon.active .box { background: var(--accent); border-color: var(--accent); }
.addon .txt { flex: 1; }
.addon .n { display: block; font-weight: 600; font-size: 15px; }
.addon .d { display: block; font-size: 13px; color: var(--ink-muted); margin-top: 2px; }
.addon .p { flex: none; font-weight: 700; font-size: 15px; white-space: nowrap; }
.addon .p .per { font-weight: 400; font-size: 12px; color: var(--ink-muted); }

/* ---------- Pakkatillaga á vörusíðu ---------- */
.bundle-upsell {
  border: 1px solid var(--border);
  background: var(--accent-tint);
  border-radius: 14px;
  padding: 18px 20px;
  margin-top: 22px;
}
.bundle-upsell .bu-head { font-size: 15px; margin-bottom: 12px; }
.bu-kicker {
  display: inline-block;
  background: var(--accent);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 99px;
  margin-right: 8px;
}
.bu-items { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.bu-item { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-soft); }
.bu-item img { width: 34px; height: 34px; object-fit: contain; mix-blend-mode: multiply; }
.bu-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.bu-price { font-weight: 700; font-size: 17px; }
.bu-price .strike {
  font-weight: 400; font-size: 13px; color: var(--ink-faint);
  text-decoration: line-through; margin-right: 7px;
}
.bu-price .per { font-weight: 400; font-size: 12.5px; color: var(--ink-muted); }
.bundle-upsell .tag-btn { background: var(--dark); color: var(--dark-fg); }

.info-note {
  background: var(--accent-tint);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--accent-dark);
  margin-bottom: 20px;
}

/* ---------- Þjappað tímabilsval (segmented) ---------- */
.seg {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 6px 0 14px;
}
.seg-opt {
  position: relative;
  border: 1.5px solid var(--border-strong);
  border-radius: 12px;
  background: #fff;
  padding: 13px 6px 11px;
  font-family: inherit;
  cursor: pointer;
  text-align: center;
  color: var(--ink);
}
.seg-opt:hover { background: var(--surface); }
.seg-opt .m { display: block; font-weight: 700; font-size: 15px; }
.seg-opt .p { display: block; font-size: 12.5px; color: var(--ink-muted); margin-top: 3px; }
.seg-opt .d {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-dark);
  background: var(--accent-tint);
  border-radius: 99px;
  padding: 1px 7px;
  margin-top: 5px;
}
.seg-opt.active {
  border: 2px solid var(--accent);
  background: var(--accent-glow);
  padding: 12px 5px 10px;
}
.seg-flag {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  white-space: nowrap;
}

.price-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 14px;
  background: #fff;
}
.price-panel .amount { font-family: var(--font-heading); font-weight: 800; font-size: 24px; }
.price-panel .amount .per { font-family: var(--font-body); font-weight: 400; font-size: 13px; color: var(--ink-muted); }
.price-panel .fees { font-size: 13px; line-height: 1.5; text-align: right; color: var(--ink-soft); }
.price-panel .fees .free { color: var(--accent-dark); font-weight: 600; }
.price-panel .fees .fee { color: var(--accent-dark); font-weight: 600; }

/* ---------- Karfa ---------- */
.cart-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.cart-item .remove {
  flex: none;
  font-size: 13px;
  color: var(--ink-muted);
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
  text-decoration: underline;
  padding: 4px;
}
.cart-item .remove:hover { color: var(--ink); }
.cart-item .item-price { font-weight: 700; font-size: 15px; white-space: nowrap; }
.cart-item .item-price .per { font-weight: 400; font-size: 12px; color: var(--ink-muted); }
.add-more {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-dark);
  margin-bottom: 22px;
}
.add-more:hover { color: var(--ink); }
.cart-empty { text-align: center; padding: 72px 24px; max-width: 460px; margin: 0 auto; }
.cart-empty h2 { font-size: 26px; font-weight: 800; margin: 0 0 10px; }
.cart-empty p { color: var(--ink-soft); font-size: 15px; margin: 0 0 24px; }

.hf-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  background: var(--dark);
  color: var(--dark-fg);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 8px 28px rgba(28, 25, 23, .28);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;
  max-width: calc(100vw - 40px);
}
.hf-toast.show { opacity: 1; transform: none; }
.hf-toast a { color: var(--accent); font-weight: 600; white-space: nowrap; }
.buy-box .cta {
  display: block;
  text-align: center;
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
  font-size: 18px;
  padding: 17px;
  border-radius: 12px;
  margin-bottom: 14px;
}
.buy-box .cta:hover { filter: brightness(.96); }
.buy-checks {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 26px;
}
.spec-list {
  margin: 0;
  padding: 0 0 0 20px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.spec-list li { margin-bottom: 4px; }
.spec-list li::marker { color: var(--accent); }

.specs {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  font-size: 14px;
}
.specs > div { display: flex; justify-content: space-between; gap: 12px; }
.specs .k { color: var(--ink-muted); }
.specs .v { font-weight: 600; text-align: right; }

.related { padding: 0 56px 64px; }
.related h2 { font-size: 26px; font-weight: 700; margin: 0 0 22px; }
.related .product-card .thumb { height: 170px; padding: 16px; }
.related .product-card .thumb img { max-height: 140px; }
.related .product-card .body { padding: 14px 16px 16px; }
.related .from { font-size: 14px; color: var(--ink-muted); margin-top: 3px; }
.related .from strong { color: var(--ink); }

/* ---------- Pöntunarflæði ---------- */
.checkout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 48px;
  border-bottom: 1px solid var(--border);
}
.checkout-header .logo img { height: 32px; display: block; }
.checkout-header .secure { font-size: 13px; color: var(--ink-muted); }
.stepper {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
}
.stepper .s { display: flex; align-items: center; gap: 8px; color: var(--ink-faint); }
.stepper .s .dot {
  width: 26px; height: 26px;
  border-radius: 99px;
  border: 1.5px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.stepper .s.current { color: var(--ink); }
.stepper .s.current .dot { background: var(--accent); border: 0; }
.stepper .s.done { color: var(--ink); }
.stepper .s.done .dot { background: var(--dark); color: var(--dark-fg); border: 0; }
.stepper .bar { width: 32px; height: 1.5px; background: var(--border-strong); }
.stepper .bar.done { background: var(--accent); }

.checkout-step { display: none; }
.checkout-step.active { display: block; }
.checkout-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  padding: 36px 48px 44px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}
.checkout-layout h2 { font-size: 26px; font-weight: 800; margin: 0 0 20px; }

.cart-item {
  display: flex;
  gap: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 22px;
  align-items: center;
  background: #fff;
}
.cart-item .thumb {
  flex: none;
  width: 76px; height: 76px;
  background: var(--surface);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}
.cart-item .thumb img { max-height: 62px; max-width: 100%; object-fit: contain; }
.cart-item .info { flex: 1; }
.cart-item .info .name { font-weight: 700; font-size: 16px; }
.cart-item .info .meta { font-size: 14px; color: var(--ink-muted); }
.cart-item .swap { font-size: 13px; color: var(--ink-muted); text-decoration: underline; }

.checkout-step .period-option { padding: 15px 20px; }
.checkout-step .period-option:has(input:checked) { padding: 14px 19px; }
.checkout-step .info-note { margin: 16px 0 0; }

.summary {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  background: #fff;
  position: sticky;
  top: 16px;
}
.summary h3 { font-size: 17px; font-weight: 700; margin: 0 0 16px; }
.summary .lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
  margin-bottom: 16px;
}
.summary .lines > div { display: flex; justify-content: space-between; gap: 12px; }
.summary .lines .k { color: var(--ink-muted); }
.summary .lines .v { font-weight: 600; text-align: right; }
.summary .lines .v.free { color: var(--accent-dark); }
.summary .total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 18px;
}
.summary .total .k { font-weight: 700; font-size: 15px; }
.summary .total .v { font-family: var(--font-heading); font-weight: 800; font-size: 22px; }
.summary .btn-block {
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
  font-size: 16px;
  padding: 15px;
  border-radius: 10px;
}
.summary .btn-block:hover { filter: brightness(.96); }
.summary .fine { text-align: center; font-size: 13px; color: var(--ink-muted); margin-top: 12px; }
.summary .mini-item {
  display: flex;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
  margin-bottom: 14px;
}
.summary .mini-item .thumb {
  flex: none;
  width: 54px; height: 54px;
  background: var(--surface);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}
.summary .mini-item .thumb img { max-height: 44px; max-width: 100%; object-fit: contain; }
.summary .mini-item .name { font-weight: 600; font-size: 14px; }
.summary .mini-item .meta { font-size: 13px; color: var(--ink-muted); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field.wide { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.field input {
  border: 1.5px solid var(--border-strong);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 15px;
  background: #fff;
  font-family: inherit;
  color: var(--ink);
}
.field input:focus {
  outline: none;
  border: 2px solid var(--accent);
  background: var(--accent-glow);
  padding: 12.5px 15.5px;
}
.field input::placeholder { color: var(--ink-faint); }
.field input.invalid { border: 2px solid #C0392B; padding: 12.5px 15.5px; background: #FDF3F2; }
.field-error {
  font-size: 13px;
  line-height: 1.5;
  color: #C0392B;
  background: #FDF3F2;
  border-radius: 8px;
  padding: 9px 12px;
}
.summary .btn-block:disabled { opacity: .5; cursor: not-allowed; filter: none; }

.slot-label { font-weight: 700; font-size: 16px; margin: 24px 0 12px; }
.slot-sub { font-size: 14px; color: var(--ink-muted); margin: -6px 0 12px; }

/* Afhendingarmáti */
.fulfill { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 22px; }
.fulfill-opt {
  border: 1.5px solid var(--border-strong);
  border-radius: 14px;
  background: #fff;
  padding: 18px 20px;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
}
.fulfill-opt:hover { background: var(--surface); }
.fulfill-opt .t { display: block; font-weight: 700; font-size: 16px; color: var(--ink); }
.fulfill-opt .s { display: block; font-size: 13.5px; color: var(--ink-muted); margin-top: 4px; }
.fulfill-opt.active {
  border: 2px solid var(--accent);
  background: var(--accent-glow);
  padding: 17px 19px;
}

/* Tímagluggar með lausum plássum */
.windows { display: flex; gap: 10px; flex-wrap: wrap; }
.window-slot {
  border: 1.5px solid var(--border-strong);
  border-radius: 10px;
  padding: 10px 16px;
  background: #fff;
  font-family: inherit;
  cursor: pointer;
  text-align: center;
}
.window-slot:hover { background: var(--surface); }
.window-slot .w { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }
.window-slot .f { display: block; font-size: 12.5px; color: var(--ink-muted); margin-top: 2px; }
.window-slot .f .fee { color: var(--accent-dark); font-weight: 600; }
.window-slot .cap { display: block; font-size: 11.5px; margin-top: 3px; color: var(--ink-faint); }
.window-slot .cap.low { color: var(--accent-dark); font-weight: 600; }
.window-slot.active {
  border: 2px solid var(--accent);
  background: var(--accent-glow);
  padding: 9px 15px;
}
.window-slot.full {
  cursor: not-allowed;
  opacity: .55;
  background: var(--surface);
}
.window-slot.full .cap { color: var(--ink-muted); font-weight: 600; }

.pickup-info {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 24px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.pickup-info strong { color: var(--ink); }
.slots { display: flex; gap: 10px; flex-wrap: wrap; }
.slot {
  border: 1.5px solid var(--border-strong);
  border-radius: 10px;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 500;
  background: #fff;
  font-family: inherit;
  cursor: pointer;
}
.slot:hover { background: var(--surface); }
.slot.active {
  border: 2px solid var(--accent);
  background: var(--accent-glow);
  font-weight: 700;
  padding: 10.5px 17.5px;
}
.slot.other { color: var(--ink-muted); }
.delivery-note { font-size: 14px; color: var(--ink-soft); margin-top: 16px; }
.delivery-note a { font-weight: 600; color: var(--accent-dark); }

.pay-method {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 15px 20px;
  background: #fff;
  margin-bottom: 22px;
}
.pay-method .name { font-weight: 600; font-size: 15px; }
.pay-method .brands { font-size: 13px; color: var(--ink-muted); }
.card-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 22px;
}
.terms {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  cursor: pointer;
}
.terms input { position: absolute; opacity: 0; pointer-events: none; }
.terms .box {
  flex: none;
  width: 20px; height: 20px;
  border-radius: 6px;
  border: 1.5px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: transparent;
  font-weight: 700;
  margin-top: 1px;
}
.terms:has(input:checked) .box {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}
.terms a { font-weight: 600; color: var(--accent-dark); }

/* Staðfesting móttekin */
.confirm-done {
  max-width: 560px;
  margin: 0 auto;
  padding: 72px 48px;
  text-align: center;
}
.confirm-done .badge {
  width: 64px; height: 64px;
  border-radius: 99px;
  background: var(--accent);
  color: var(--ink);
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.confirm-done h2 { font-size: 30px; font-weight: 800; margin: 0 0 12px; }
.confirm-done p { font-size: 16px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 28px; }

/* ---------- Textasíður (skilmálar o.fl.) ---------- */
.prose {
  max-width: 760px;
  padding: 0 56px 72px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.prose h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin: 36px 0 12px;
}
.prose ol { padding-left: 22px; }
.prose li { margin-bottom: 10px; }
.prose li::marker { color: var(--accent-dark); font-weight: 600; }
.prose .disclaimer { font-size: 13.5px; color: var(--ink-muted); margin-top: 28px; }

/* ---------- Hafa samband ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 0 56px 72px;
  align-items: start;
}
.contact-cards { display: grid; gap: 14px; }
.contact-card {
  display: block;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 24px;
  background: #fff;
}
a.contact-card:hover { border-color: var(--accent); background: var(--accent-glow); }
.contact-card .ck { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: var(--accent-dark); margin-bottom: 8px; }
.contact-card .cv { display: block; font-family: var(--font-heading); font-size: 21px;
  font-weight: 700; letter-spacing: -0.01em; }
.contact-card .cv a { color: var(--accent-dark); }
.contact-card .cn { display: block; font-size: 14px; color: var(--ink-muted); margin-top: 6px; line-height: 1.5; }

.contact-side { display: grid; gap: 20px; }
.card-note {
  background: var(--surface);
  border-radius: 16px;
  padding: 26px 28px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.card-note h2 { font-size: 19px; font-weight: 700; color: var(--ink); margin: 0 0 14px; }
.card-note p { margin: 0 0 14px; }
.card-note p:last-child { margin-bottom: 0; }
.card-note strong { color: var(--ink); }
.card-note a { color: var(--accent-dark); font-weight: 600; }

.press-card {
  display: block;
  background: var(--dark);
  color: var(--dark-fg);
  border-radius: 16px;
  padding: 26px 28px;
}
.press-card:hover { background: #000; }
.press-card .pk { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.press-card .pt { display: block; font-family: var(--font-heading); font-size: 22px;
  font-weight: 700; letter-spacing: -0.01em; margin-bottom: 10px; }
.press-card .pn { display: block; font-size: 14px; line-height: 1.6; color: var(--dark-muted); }

/* ---------- Skölun ---------- */
@media (max-width: 1080px) {
  .site-header, .section, .periods, .how, .site-footer,
  .page-head, .catalog, .catalog-foot, .crumbs,
  .product-layout, .related, .bundles-band, .contact-layout, .prose { padding-left: 32px; padding-right: 32px; }
  .contact-layout { grid-template-columns: 1fr; gap: 22px; }
  .bundle-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 32px 56px; gap: 40px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .period-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 44px; }
}

@media (max-width: 820px) {
  .site-nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-img { height: 320px; }
  .how { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; padding-bottom: 48px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-layout { grid-template-columns: 1fr; gap: 32px; }
  .gallery .main { height: 340px; }
  .checkout-layout { grid-template-columns: 1fr; padding: 28px 24px 36px; }
  .summary { position: static; }
  .checkout-header { padding: 14px 24px; flex-wrap: wrap; }
  .stepper { order: 3; width: 100%; justify-content: center; }
  .site-footer { flex-direction: column; align-items: flex-start; }
}

/* ---------- Lárétt skrun á símum (kort stafla ekki endalaust niður) ---------- */
@media (max-width: 820px) {
  .product-grid, .bundle-grid, .period-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    /* pláss að ofan svo VINSÆLAST-merkið klippist ekki af í skrunboxinu */
    padding: 16px 0 10px;
    margin: -16px 0 -10px;
    scrollbar-width: none;
  }
  .product-grid::-webkit-scrollbar,
  .bundle-grid::-webkit-scrollbar,
  .period-grid::-webkit-scrollbar { display: none; }

  .product-grid > *, .bundle-grid > *, .period-grid > * {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }
  .bundle-grid > * { flex-basis: 86%; }
  .period-grid > * { flex-basis: 62%; }

  /* Skrunsvæði ná út í kant svo það sjáist að meira sé til hliðar */
  .section, .bundles-band, .periods { padding-right: 0; }
  .section .section-head, .bundles-band .section-head { padding-right: 32px; }
  .product-grid, .bundle-grid, .period-grid { padding-right: 32px; }

  /* „Allar vörur": lóðrétt tveggja dálka rist — ekki lárétt skrun.
     Þar vill fólk sjá margar vörur í einu. */
  .catalog .product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: visible;
    gap: 12px;
    padding: 0;
    margin: 0;
  }
  .catalog .product-grid > * { flex: none; }
  .catalog .product-card .thumb { height: 130px; padding: 10px; }
  .catalog .product-card .thumb img { max-height: 110px; }
  .catalog .product-card .body { padding: 10px 12px 12px; }
  .catalog .product-card .name { font-size: 13.5px; line-height: 1.3; }
  .catalog .product-card .cat { font-size: 11.5px; margin: 2px 0 8px; }
  .catalog .product-card .row { flex-direction: column; align-items: stretch; gap: 8px; }
  .catalog .price { font-size: 14px; }
  .catalog .price .per { font-size: 11px; }
  .catalog .tag-btn { text-align: center; padding: 8px; font-size: 12.5px; }
  .catalog { padding-left: 16px; padding-right: 16px; }
  .page-head { padding-left: 16px; padding-right: 16px; }
  .periods h2, .periods .sub, .periods .note { padding-right: 32px; }

  /* Tímabilskortin þurfa ekki að vera svona stór á síma */
  .period-card { padding: 18px 16px; }
  .period-card .title { font-size: 17px; margin-bottom: 4px; }
  .period-card .desc { font-size: 13px; margin-bottom: 10px; }
  .period-card .deal { font-size: 13.5px; }
  .periods { padding-top: 44px; padding-bottom: 48px; }
  .periods h2 { font-size: 24px; }
  .periods .sub { font-size: 14.5px; }
  .periods .note { font-size: 13.5px; padding: 8px 14px; }
  .bundles-band { padding-top: 44px; padding-bottom: 48px; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: 36px; }
  .form-grid, .card-grid { grid-template-columns: 1fr; }
  .header-phone { display: none; }
  .seg { grid-template-columns: repeat(2, 1fr); }
  .price-panel { flex-direction: column; align-items: flex-start; }
  .price-panel .fees { text-align: left; }
  .cart-item { flex-wrap: wrap; }
  .cart-item .info { flex: 1 1 60%; }
  .cart-item .item-price { margin-left: 68px; }
  .cart-item .remove { margin-left: auto; }
  .summary .lines .v { max-width: 55%; }
  .checkout-header { padding: 12px 16px; }
  .stepper { font-size: 12.5px; gap: 6px; }
  .stepper .bar { width: 16px; }
  .stepper .s .dot { width: 22px; height: 22px; font-size: 11.5px; }
}

/* ---- Áhersla á „Greitt núna" í staðfestingu ---- */
.summary .total.now {
  display: block;                 /* stafla: talan fær fulla breidd, brotnar ekki */
  background: var(--accent-tint);
  border-radius: 12px;
  padding: 14px 18px 16px;
  margin: 4px 0 12px;
}
.summary .total.now .k {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.summary .total.now .v {
  display: block;
  font-size: 32px;
  line-height: 1.1;
  color: var(--ink);
  margin-top: 6px;
  white-space: nowrap;
}
.summary .total.after {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 0 18px;
  margin-bottom: 18px;
}
.summary .total.after .k { font-weight: 600; font-size: 13.5px; color: var(--ink-soft); }
.summary .total.after .v { font-size: 17px; font-weight: 700; white-space: nowrap; }
.summary .total .k .sub {
  display: block;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-muted);
  margin-top: 3px;
}

/* ---------- „Viltu kaupa?" borði (Techform) ---------- */
.buy-band { background: var(--dark); color: var(--dark-fg); padding: 64px 56px; }
.buy-inner {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}
.buy-kicker {
  display: inline-block;
  border: 1px solid rgba(255,255,255,.32);
  color: var(--dark-fg);
  font-size: 11.5px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 99px; margin-bottom: 16px;
}
.buy-band h2 { font-size: 32px; font-weight: 800; margin: 0 0 14px; color: var(--dark-fg); }
.buy-band p { font-size: 16px; line-height: 1.6; color: var(--dark-muted); margin: 0 0 26px; max-width: 46ch; }
.btn-buy {
  display: inline-block;
  background: var(--dark-fg); color: var(--ink);
  font-weight: 700; font-size: 16px;
  padding: 15px 28px; border-radius: 10px;
}
.btn-buy:hover { background: #fff; }
.buy-marks { display: grid; gap: 18px; }
.buy-marks div { border-left: 2px solid var(--accent); padding-left: 16px; }
.buy-marks strong { display: block; font-family: var(--font-heading); font-size: 22px; font-weight: 800; }
.buy-marks span { display: block; font-size: 13.5px; color: var(--dark-muted); margin-top: 3px; }

/* ---------- Sölusíða ---------- */
.sale-head { background: var(--surface); padding: 44px 56px 40px; border-bottom: 1px solid var(--border); }
.sale-head .back { font-size: 14px; font-weight: 600; color: var(--accent-dark); }
.sale-head h1 { font-size: 38px; font-weight: 800; margin: 12px 0 10px; letter-spacing: -0.02em; }
.sale-head .sub { font-size: 16px; line-height: 1.6; color: var(--ink-soft); max-width: 62ch; margin: 0; }
.sale-card .price-ask { font-weight: 700; font-size: 15px; color: var(--accent-dark); }
.sale-card .rent-alt { font-size: 12.5px; color: var(--ink-muted); margin-top: 3px; }
.sale-note {
  background: var(--accent-tint); color: var(--accent-dark);
  border-radius: 12px; padding: 14px 18px; font-size: 14px; line-height: 1.55;
  margin: 22px 56px 0; max-width: 900px;
}

@media (max-width: 820px) {
  .buy-band { padding: 44px 24px; }
  .buy-inner { grid-template-columns: 1fr; gap: 30px; }
  .buy-band h2 { font-size: 26px; }
  .sale-head { padding: 28px 20px 26px; }
  .sale-head h1 { font-size: 28px; }
  .sale-note { margin: 18px 20px 0; }
}

/* ---------- Verðtilboðskassi ---------- */
.quote-box { background: #fff; border-radius: 16px; padding: 26px; box-shadow: 0 2px 10px rgba(138,91,0,.08); }
.quote-chosen { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chosen-tag {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--accent-tint); color: var(--accent-dark);
  font-size: 13.5px; font-weight: 600;
  padding: 7px 8px 7px 14px; border-radius: 99px;
}
.chosen-tag button {
  border: 0; background: rgba(138,91,0,.15); color: var(--accent-dark);
  width: 20px; height: 20px; border-radius: 99px; cursor: pointer;
  font-size: 14px; line-height: 1; padding: 0; font-family: inherit;
}
.chosen-tag button:hover { background: var(--accent); color: var(--ink); }
.muted-note { font-size: 13.5px; color: var(--ink-muted); margin: 10px 0 0; }
.sale-card .tag-btn.picked { background: var(--dark); color: var(--dark-fg); }
.quote-done { text-align: center; padding: 20px 0 8px; }
.quote-done .badge {
  width: 52px; height: 52px; border-radius: 99px; background: var(--accent);
  color: var(--ink); font-size: 24px; display: flex; align-items: center;
  justify-content: center; margin: 0 auto 16px;
}
.quote-done h3 { font-size: 22px; font-weight: 800; margin: 0 0 8px; }
.quote-done p { color: var(--ink-soft); line-height: 1.6; margin: 0; }
.quote-done a { color: var(--accent-dark); font-weight: 600; }

/* ---------- Magnstillir í sölukörfu ---------- */
.cart-item .qty { display: flex; align-items: center; gap: 4px; flex: none; }
.cart-item .qty button {
  width: 28px; height: 28px; border-radius: 8px;
  border: 1.5px solid var(--border-strong); background: #fff;
  font-family: inherit; font-size: 15px; font-weight: 700; line-height: 1;
  cursor: pointer; color: var(--ink); padding: 0;
}
.cart-item .qty button:hover { background: var(--surface); }
.cart-item .qty span { min-width: 24px; text-align: center; font-weight: 700; font-size: 14.5px; }

/* ---------- Hleðsluvísir í greiðsluskrefi ----------
   Tvö augnablik í greiðslunni taka nokkrar sekúndur og sýndu áður ekkert:
   þegar kortareiturinn er sóttur frá Teya, og þegar greiðslan er staðfest
   í bakenda eftir að kortið er samþykkt. Hvort tveggja fær nú sýnilegt
   merki um að eitthvað sé í gangi — annars heldur fólk að ekkert hafi
   gerst og smellir aftur.                                               */
.pay-loading {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.5;
}
.pay-loading[hidden] { display: none; }
.pay-spinner {
  width: 20px;
  height: 20px;
  flex: none;
  border: 2.5px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: hf-spin 0.7s linear infinite;
}
@keyframes hf-spin { to { transform: rotate(360deg); } }

/* Hægari snúningur fyrir þau sem kjósa minni hreyfingu — en ekki kyrrstæður,
   því þá er ekkert sem segir að beðið sé. */
@media (prefers-reduced-motion: reduce) {
  .pay-spinner { animation-duration: 2.4s; }
}

/* ---------- Pakkasíða og pakkakort ---------- */
.bundle-card[data-bundle] { cursor: pointer; transition: box-shadow .15s ease, transform .15s ease; }
.bundle-card[data-bundle]:hover { box-shadow: 0 6px 22px rgba(138, 91, 0, .14); transform: translateY(-1px); }
.bundle-card a.b-name { color: inherit; }
.bundle-card a.b-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.bundle-card a.b-imgs { display: flex; gap: 10px; }
.bundle-card a.b-imgs > span {
  flex: 1;
  background: var(--surface);
  border-radius: 12px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.bundle-card .b-actions { display: flex; align-items: center; gap: 16px; }
.bundle-card .b-more { font-size: 14px; font-weight: 600; color: var(--ink-soft); white-space: nowrap; }
.bundle-card .b-more:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.pack-items { display: flex; flex-direction: column; gap: 14px; }
.pack-item {
  display: flex;
  gap: 20px;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  color: inherit;
  transition: box-shadow .15s ease, border-color .15s ease;
}
.pack-item:hover { border-color: var(--border-strong); box-shadow: 0 4px 16px rgba(28, 25, 23, .07); }
.pack-item .pi-img {
  flex: none;
  width: 150px;
  min-height: 130px;
  background: var(--surface);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.pack-item .pi-img img { max-width: 100%; max-height: 110px; object-fit: contain; mix-blend-mode: multiply; }
.pack-item .pi-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.pack-item .pi-cat { font-size: 12.5px; font-weight: 600; color: var(--accent-dark); letter-spacing: .02em; }
.pack-item .pi-name { font-family: var(--font-heading); font-weight: 700; font-size: 18px; }
.pack-item .pi-text { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); margin-top: 2px; }
.pack-item .pi-foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: auto;
  padding-top: 10px;
  font-size: 14px;
}
.pack-item .pi-price { color: var(--ink-muted); }
.pack-item .pi-link { font-weight: 600; white-space: nowrap; }
.pack-item:hover .pi-link { text-decoration: underline; text-underline-offset: 3px; }

.price-panel .amount .strike {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  color: var(--ink-faint);
  text-decoration: line-through;
  margin-right: 8px;
}
.pack-fine { font-size: 13.5px; color: var(--ink-muted); text-align: center; margin: 0; }
.buy-box .cta.is-off { background: var(--surface); color: var(--ink); border: 1.5px solid var(--border-strong); }

/* ---------- Kaupa í stað þess að leigja (á vörusíðu) ---------- */
.buy-instead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 14px;
  background: #fff;
}
.buy-instead[hidden] { display: none; }
.buy-instead .bi-text { font-size: 14px; line-height: 1.45; color: var(--ink-soft); }
.buy-instead .bi-text strong { display: block; font-size: 15px; color: var(--ink); }
.buy-instead .btn { white-space: nowrap; border: 1.5px solid var(--border-strong); background: #fff; cursor: pointer; font-family: inherit; }
.buy-instead .btn:hover { background: var(--surface); }

@media (max-width: 820px) {
  .pack-item { gap: 14px; padding: 12px; }
  .pack-item .pi-img { width: 104px; min-height: 104px; }
  .bundle-card .b-foot { flex-wrap: wrap; row-gap: 12px; }
}
@media (max-width: 560px) {
  .buy-instead { flex-direction: column; align-items: stretch; text-align: left; }
  .buy-instead .btn { text-align: center; }
  .bundle-card .b-actions { width: 100%; justify-content: space-between; }
}

/* ---------- Lagfæringar eftir hönnunarrýni ---------- */
/* Þrír pakkar: þrír í röð, ekki tveir og einn stakur með autt pláss við hliðina */
@media (min-width: 1081px) {
  .bundle-grid:has(> .bundle-card:nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); }
}
.bundle-card .b-foot { flex-wrap: wrap; row-gap: 12px; }
.bundle-card .b-actions { margin-left: auto; }
.bundle-card .b-more { padding: 8px 0; }
.pack-item .pi-price { white-space: nowrap; }

/* Í síma kemur heiti, verð og hnappur pakkans FYRST; tækjalistinn á eftir */
@media (max-width: 820px) {
  .pack-layout > .buy-box { order: -1; }
}
@media (max-width: 560px) {
  .pack-item .pi-img { width: 84px; height: 84px; min-height: 0; align-self: flex-start; padding: 8px; }
  .pack-item .pi-img img { max-height: 68px; }
  .pack-item .pi-name { font-size: 16px; }
  .pack-item .pi-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}
/* Mjóstu símar (320px): dálkarnir mega ekki þenja síðuna út fyrir skjáinn */
.pack-layout > * { min-width: 0; }
.pack-item .pi-foot { flex-wrap: wrap; row-gap: 4px; }
/* Í mjóum síma: yfirstrikaða verðið fer ofan við, svo upphæðin sjálf brotni ekki */
@media (max-width: 560px) {
  .price-panel .amount .strike { display: block; margin: 0 0 2px; }
}

/* ---------- Netfang við hlið símanúmers ---------- */
.header-phone { display: inline-flex; align-items: center; gap: 14px; }
.header-phone a { color: var(--ink-muted); }
.header-phone a:hover { color: var(--ink); }
.header-mail { padding-left: 14px; border-left: 1px solid var(--border-strong); }
@media (max-width: 1180px) { .header-mail { display: none; } }
.site-footer .footer-contact { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; }
.site-footer .footer-contact a { color: var(--dark-link); }
.site-footer .footer-contact a:hover { color: #fff; }
