/* ============================================================
   MINIGARÐURINN — nýtt útlit
   Ljóst og líflegt (hvítt + kol + gull) með dökkum video-eyjum.
   Poppins + Source Sans.
   ============================================================ */

:root {
  --ink: #ffffff; /* innri fletir / input */
  --char: #ece8de; /* tónaður flötur */
  --char-2: #ffffff; /* kort / upphækkaðir fletir */
  --gold: #a8834f; /* brons-gull á ljósu */
  --gold-bright: #8f6f42;
  --bronze: #a8834f;
  --cream: #302f2f; /* aðaltexti (kol) */
  --muted: #6f6a60;
  --line: rgba(48, 47, 47, 0.16);
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 76px;
}

/* Dökku eyjarnar — haus, hero, video-bönd, CTA, kort, fótur, spjall */
.site-header,
.hero,
.page-hero,
.video-band,
.cta-band,
.exp-card,
.marquee,
.site-footer {
  --ink: #131210;
  --char: #1c1b18;
  --char-2: #242320;
  --gold: #d3c398;
  --gold-bright: #e8dbb4;
  --bronze: #a8834f;
  --cream: #f2ecdd;
  --muted: #9b958a;
  --line: rgba(211, 195, 152, 0.18);
}
.hero,
.page-hero,
.video-band,
.cta-band {
  color: var(--cream);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #f4f1ea;
  color: var(--cream);
  font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
.display {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

/* ---------- Takkar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 1em 2.2em;
  border-radius: 100px;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
}
/* Sími: langir takkar ("Settu saman veisluna — sjáðu verðið") stóðu út fyrir
   skjáinn og bjuggu til lárétt skroll (veislur + hópar, fix Villa 23/7) */
@media (max-width: 700px) {
  .btn {
    white-space: normal;
    max-width: 100%;
    text-align: center;
    justify-content: center;
  }
}
.btn:hover {
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-2px);
}
.btn.solid {
  background: #cebf95;
  color: #302f2f;
  border-color: #cebf95;
}
.btn.solid:hover {
  background: #bfae7f;
  box-shadow: 0 10px 30px rgba(168, 131, 79, 0.3);
}
.btn.ghost {
  border-color: rgba(242, 236, 221, 0.35);
  color: var(--cream);
}
.btn.ghost:hover {
  border-color: var(--cream);
  background: var(--cream);
  color: var(--ink);
}
.btn.xl {
  font-size: 1.05rem;
  padding: 1.15em 4em;
  letter-spacing: 0.18em;
  box-shadow: 0 12px 50px rgba(211, 195, 152, 0.35);
  animation: btnPulse 2.6s ease-in-out infinite;
}
.btn.xl:hover {
  animation: none;
}
@keyframes btnPulse {
  0%,
  100% {
    box-shadow: 0 12px 50px rgba(211, 195, 152, 0.35);
  }
  50% {
    box-shadow: 0 12px 65px rgba(211, 195, 152, 0.6);
  }
}

/* ---------- Haus ---------- */
.site-header {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  margin-inline: auto;
  width: min(1256px, calc(100% - 32px));
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  /* Blur er á ::before, EKKI á hausnum sjálfum — backdrop-filter á hausinn
     gerir hann að viðmiðunarramma fyrir fixed afkomendur (karfan í síma) */
  background: rgba(48, 45, 40, 0.42);
  border: 1px solid rgba(236, 232, 222, 0.14);
  border-radius: 999px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: -1;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0 56px; /* ~1,5 cm frá ávölu brúnunum beggja vegna */
}
@media (max-width: 600px) {
  .site-header .container {
    padding: 0 22px;
  }
}

.brand img {
  height: 42px;
  width: auto;
}
.brand .logo-mg {
  display: none;
  height: 38px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.main-nav a {
  font-family: "Poppins", sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.85;
  position: relative;
  padding: 0.4em 0;
  transition:
    opacity 0.3s,
    color 0.3s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.main-nav a:hover,
.main-nav a.active {
  opacity: 1;
  color: var(--gold);
}
.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-toggle,
.lang-link {
  background: none;
  border: 1px solid rgba(236, 232, 222, 0.45);
  border-radius: 100px;
  color: #ece8de;
  font-family: "Poppins", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  padding: 0.5em 1em;
  cursor: pointer;
  transition: all 0.3s;
}
.lang-toggle:hover,
.lang-link:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 120;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  margin: 5px auto;
  transition: 0.35s var(--ease);
}
.nav-burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-burger.open span:nth-child(2) {
  opacity: 0;
}
.nav-burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.hero video,
.hero .hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  /* Engin síun og engin skilja — videoið eins og það kemur */
}
.hero::after {
  /* Dökka skiljan tekin af að ósk Villa — videoið fær að njóta sín */
  display: none;
}
.hero-inner {
  padding: 8rem 1.5rem 6rem;
  max-width: 1000px;
  text-shadow: 0 2px 26px rgba(0, 0, 0, 0.55);
}

.hero-kicker {
  font-family: "Poppins", sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.6rem;
}
.hero-title {
  font-size: clamp(2.6rem, 8vw, 6.4rem);
  color: var(--cream);
}
.hero-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.6em);
  animation: wordUp 0.9s var(--ease) forwards;
}
.hero-title .word:nth-child(1) {
  animation-delay: 0.15s;
}
.hero-title .word:nth-child(2) {
  animation-delay: 0.32s;
}
.hero-title .word:nth-child(3) {
  animation-delay: 0.49s;
}
.hero-title .word:nth-child(4) {
  animation-delay: 0.66s;
}
.hero-title .word:last-child {
  color: var(--gold);
}
@keyframes wordUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-sub {
  margin: 1.8rem auto 2.6rem;
  max-width: 34em;
  color: rgba(242, 236, 221, 0.85);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  opacity: 0;
  animation: fadeIn 1s 0.9s forwards;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeIn 1s 1.1s forwards;
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 56px;
  background: var(--line);
  overflow: hidden;
}
.scroll-cue::after {
  content: "";
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--gold);
  animation: cue 2s ease-in-out infinite;
}
@keyframes cue {
  0% {
    top: -50%;
  }
  100% {
    top: 110%;
  }
}

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
  overflow: hidden;
  background: var(--char);
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  gap: 3rem;
  animation: marquee 30s linear infinite;
  will-change: transform;
}
.marquee span {
  font-family: "Poppins", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.marquee span:nth-child(even) {
  color: var(--muted);
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(4.5rem, 10vw, 8.5rem) 0;
  position: relative;
}
.section.tint {
  background: var(--char);
}

.section-head {
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
  max-width: 700px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.kicker {
  font-family: "Poppins", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--bronze);
  display: block;
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.9rem, 4.5vw, 3.4rem);
  color: var(--cream);
}
.section-title em {
  font-style: normal;
  color: var(--gold);
}
.section-lead {
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36em;
}

/* ---------- Upplifana-grind ---------- */
.exp-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.exp-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  background: var(--char-2);
  isolation: isolate;
  grid-column: span 2;
}
.exp-card.wide {
  grid-column: span 3;
  min-height: 420px;
}
.exp-card .media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  transition:
    transform 0.8s var(--ease),
    filter 0.8s;
  filter: saturate(0.85) brightness(0.85);
}
.exp-card video.media {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.exp-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(19, 18, 16, 0) 30%, rgba(19, 18, 16, 0.92) 100%);
}
.exp-card:hover .media {
  transform: scale(1.06);
  filter: saturate(1) brightness(1);
}
.exp-body {
  padding: 1.8rem;
  width: 100%;
}
.exp-body h3 {
  font-size: 1.35rem;
  color: var(--cream);
  margin-bottom: 0.3rem;
}
.exp-body p {
  color: rgba(242, 236, 221, 0.7);
  font-size: 0.95rem;
  max-width: 30em;
}
.exp-link {
  margin-top: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: "Poppins", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.exp-link .arrow {
  transition: transform 0.35s var(--ease);
}
.exp-card:hover .exp-link .arrow {
  transform: translateX(6px);
}

/* Placeholder fyrir ljósmyndir sem vantar */
.media.ph {
  background-image:
    radial-gradient(ellipse at 30% 20%, rgba(168, 131, 79, 0.35), transparent 55%),
    radial-gradient(ellipse at 80% 90%, rgba(211, 195, 152, 0.16), transparent 50%),
    url("../img/forsida-hero.jpg");
}

/* ---------- Video band ---------- */
.video-band {
  position: relative;
  min-height: 72vh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.video-band video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.video-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(19, 18, 16, 0.62);
}
.video-band .inner {
  padding: 5rem 1.5rem;
  max-width: 760px;
}
.video-band h2 {
  font-size: clamp(2rem, 5vw, 3.6rem);
}
.video-band p {
  margin: 1.2rem 0 2rem;
  color: rgba(242, 236, 221, 0.85);
}

/* ---------- Tvískiptur (texti + mynd) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.split .media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  position: relative;
  background: var(--char-2);
}
.split .media-frame > * {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split .media-frame .ph-note {
  position: absolute;
  inset: auto 1rem 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(242, 236, 221, 0.45);
}
.split.rev .media-frame {
  order: 2;
}
.feature-list {
  list-style: none;
  margin-top: 1.8rem;
}
.feature-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 1rem;
  align-items: baseline;
  color: var(--cream);
}
.feature-list li::before {
  content: "—";
  color: var(--bronze);
}

/* ---------- Stats / info band ---------- */
.info-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--line);
  padding-top: 3rem;
}
.info-band h4 {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  margin-bottom: 1rem;
}
.info-band p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center;
  padding: clamp(5rem, 12vw, 9rem) 1.5rem;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(168, 131, 79, 0.25), transparent 60%), var(--char);
  border-top: 1px solid var(--line);
}
.cta-band .mg {
  height: 90px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}
.cta-band h2 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  margin-bottom: 1rem;
}
.cta-band p {
  color: var(--muted);
  margin-bottom: 2.4rem;
}

/* ---------- Fótur ---------- */
.site-footer {
  background: var(--ink);
  border-top: 1px solid var(--line);
  padding: 4.5rem 0 2.5rem;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}
.footer-grid .wordmark {
  height: 60px;
  width: auto;
  margin-bottom: 1.2rem;
}
.footer-grid h5 {
  font-family: "Poppins", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.footer-grid ul {
  list-style: none;
}
.footer-grid li {
  margin-bottom: 0.55rem;
}
.footer-grid a,
.footer-grid p,
.footer-grid li {
  /* li líka: heimilisfang og sími eru textar án hlekks og erfðu áður
     dökka aðaltextalitinn á dökkum fæti (1,4:1, ósýnilegt). P0 21/9. */
  color: var(--muted);
  transition: color 0.3s;
}
.footer-grid a:hover {
  color: var(--gold);
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.82rem;
}
.socials {
  display: flex;
  gap: 1.2rem;
}
.socials a {
  color: var(--muted);
}
.socials a:hover {
  color: var(--gold);
}
/* "Vafrakökur" í fætinum (samthykki.js) er takki, en á að líta út eins og
   hlekkirnir við hliðina, ekki hvítur kerfistakki (Villi 2/10) */
.footer-bottom .mg-sam-faetur {
  appearance: none;
  background: none;
  border: 0;
  padding: 0.5rem 0;
  margin: 0;
  font: inherit;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.3s;
}
.footer-bottom .mg-sam-faetur:hover,
.footer-bottom .mg-sam-faetur:focus-visible {
  color: var(--gold);
}
.footer-bottom .mg-sam-faetur:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ---------- Reveal á skrolli ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal[data-delay="1"] {
  transition-delay: 0.12s;
}
.reveal[data-delay="2"] {
  transition-delay: 0.24s;
}
.reveal[data-delay="3"] {
  transition-delay: 0.36s;
}

/* ---------- Undirsíðu-hero ---------- */
.page-hero {
  position: relative;
  min-height: 68svh;
  display: grid;
  place-items: end start;
  overflow: hidden;
  isolation: isolate;
}
.page-hero video,
.page-hero .bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-size: cover;
  background-position: center;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(19, 18, 16, 0.5), rgba(19, 18, 16, 0.92));
}
.page-hero .container {
  padding-bottom: 4rem;
  padding-top: 10rem;
}
.page-hero h1 {
  font-size: clamp(2.4rem, 7vw, 5rem);
}
.page-hero .lead {
  margin-top: 1.2rem;
  max-width: 34em;
  color: rgba(242, 236, 221, 0.85);
}
.page-hero .hero-cta {
  justify-content: flex-start;
  margin-top: 2rem;
  animation: none;
  opacity: 1;
}

/* ---------- Verðtafla / pakkar ---------- */
.pack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.pack {
  background: var(--char-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.4rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition:
    transform 0.4s var(--ease),
    border-color 0.4s;
}
.pack:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}
.pack h3 {
  font-size: 1.15rem;
  color: var(--gold);
}
.pack .price {
  font-family: "Poppins", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--cream);
}
.pack .price small {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--muted);
}
.pack ul {
  list-style: none;
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}
.pack li {
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(48, 47, 47, 0.08);
}
.pack {
  box-shadow: 0 6px 24px rgba(48, 47, 47, 0.06);
}
.pack .btn {
  justify-content: center;
}

/* ---------- Take away: áleggsval (Domino's-fílingur) ---------- */
.tw-teljari {
  display: inline-block;
  margin-left: 0.6em;
  background: var(--gold);
  color: #fff;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.12rem 0.55rem;
  vertical-align: middle;
  animation: twPop 0.35s var(--ease);
}
.tw-alegg {
  border-top: 1px solid rgba(48, 47, 47, 0.12);
  margin-top: 0.4rem;
}
.tw-flokkur {
  border-bottom: 1px solid rgba(48, 47, 47, 0.12);
}
.tw-flokkhaus {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cream);
  padding: 0.85rem 0.2rem;
  transition: color 0.25s;
}
.tw-flokkhaus:hover {
  color: var(--gold);
}
.tw-orv {
  margin-left: auto;
  color: var(--gold);
  transition: transform 0.35s var(--ease);
}
.tw-flokkur.opinn .tw-orv {
  transform: rotate(180deg);
}
.tw-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}
.tw-flokkur.opinn .tw-panel {
  grid-template-rows: 1fr;
}
.tw-panel-inn {
  overflow: hidden;
  min-height: 0;
}
.tw-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.15rem 0.2rem 1rem;
}
.tw-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(48, 47, 47, 0.25);
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-family: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  transition:
    border-color 0.25s,
    background 0.25s,
    color 0.25s,
    transform 0.2s,
    box-shadow 0.25s;
}
.tw-chip:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(48, 47, 47, 0.12);
}
.tw-chip small {
  color: var(--muted);
  font-size: 0.76rem;
  transition: color 0.25s;
}
.tw-chip.on {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  animation: twPop 0.35s var(--ease);
}
.tw-chip.on small {
  color: rgba(255, 255, 255, 0.85);
}
@keyframes twPop {
  0% {
    transform: scale(0.85);
  }
  55% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
/* Innifalið álegg sem var tekið af pizzunni — yfirstrikað í körfunni */
.cw-mod-af {
  text-decoration: line-through;
  opacity: 0.65;
}

/* Sósu-upsell glugginn: sér gluggi sem teygist út frá miðju
   (sami fílingur og fjöldakassinn í bókunarvélinni) */
.tw-sosumodal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.tw-sosumodal-bak {
  position: absolute;
  inset: 0;
  background: rgba(19, 18, 16, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.tw-sosumodal-kort {
  position: relative;
  width: min(460px, 94vw);
  background: #fff;
  border-radius: 22px;
  padding: 1.8rem 1.6rem 1.6rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  text-align: center;
  animation: twTeygja 0.7s var(--ease);
  transform-origin: center;
}
.tw-sosumodal-kort h3 {
  font-size: 1.25rem;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.tw-sosumodal-texti {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}
.tw-sosumodal-kort .tw-chips {
  justify-content: center;
  padding-bottom: 1.2rem;
}
.tw-sosumodal-takki {
  width: 100%;
  justify-content: center;
  cursor: pointer;
}
@keyframes twTeygja {
  from {
    transform: scaleX(0);
    opacity: 0;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

/* ---------- Ofnæmisvaldar: lítil tákn með heiti undir, þétt saman ---------- */
.of-listi {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.45rem;
  margin-top: 0.35rem;
}
.of-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  min-width: 30px;
  max-width: 52px;
  text-align: center;
}
.of-item svg {
  width: 15px;
  height: 15px;
  color: var(--gold);
}
.of-nafn {
  font-size: 0.53rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  line-height: 1.1;
}

/* ---------- Mobile ---------- */
.main-nav {
  display: none;
}
.nav-burger {
  display: block;
}
/* Hamborgarinn: flippast í heild 90° á hover — strikin haldast þrjú */
.nav-burger {
  transition: transform 0.45s var(--ease);
}
.nav-burger:not(.open):hover {
  transform: rotate(90deg);
}

@keyframes mgMenuNidur {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes mgLinkInn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.main-nav.mobile-open {
  display: flex;
  position: fixed;
  inset: 0;
  animation: mgMenuNidur 0.45s var(--ease) both;
  background: rgba(15, 14, 12, 0.55);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* vh-stýrðar stærðir: valmyndin passar ALLTAF á skjáinn, ekkert skroll —
     á lágum skjám (landscape sími) minnkar allt í hlutfalli við hæðina */
  gap: min(1.1rem, 1.4vh);
  padding: min(6rem, 9vh) 1.5rem;
  overflow: hidden;
  z-index: 110;
}
.main-nav.mobile-open a {
  font-size: min(1.8rem, max(0.95rem, 2.9vh));
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: none;
  color: #ece8de;
  animation: mgLinkInn 0.5s var(--ease) both;
}
.main-nav.mobile-open a:hover {
  color: var(--gold);
}
/* Merkið og X-ið (hamborgarinn opinn) fljóta yfir yfirlaginu */
.site-header .brand,
.site-header .nav-burger {
  position: relative;
  z-index: 130;
}
.main-nav.mobile-open a:nth-child(1) {
  animation-delay: 0.05s;
}
.main-nav.mobile-open a:nth-child(2) {
  animation-delay: 0.09s;
}
.main-nav.mobile-open a:nth-child(3) {
  animation-delay: 0.13s;
}
.main-nav.mobile-open a:nth-child(4) {
  animation-delay: 0.17s;
}
.main-nav.mobile-open a:nth-child(5) {
  animation-delay: 0.21s;
}
.main-nav.mobile-open a:nth-child(6) {
  animation-delay: 0.25s;
}
.main-nav.mobile-open a:nth-child(7) {
  animation-delay: 0.29s;
}
.main-nav.mobile-open a:nth-child(8) {
  animation-delay: 0.33s;
}
.main-nav.mobile-open a:nth-child(9) {
  animation-delay: 0.37s;
}
.main-nav.mobile-open a:nth-child(10) {
  animation-delay: 0.41s;
}
/* Lágir skjáir (landscape sími): tveir dálkar svo aldrei þurfi að skrolla */
@media (max-height: 480px) {
  .main-nav.mobile-open {
    display: grid;
    grid-template-columns: repeat(2, auto);
    column-gap: clamp(2rem, 8vw, 4rem);
    row-gap: min(0.8rem, 2vh);
    place-content: center;
    padding: min(4rem, 10vh) 1.5rem;
  }
  .main-nav.mobile-open a {
    font-size: min(1.3rem, 4.5vh);
  }
}
/* Bóka efst í valmyndinni — gyllt og áberandi */
.main-nav.mobile-open a.nav-boka {
  color: var(--gold);
  font-weight: 700;
}
.main-nav a.nav-boka {
  color: var(--gold);
}

@media (max-width: 1024px) {
  .exp-card,
  .exp-card.wide {
    grid-column: span 6;
    min-height: 300px;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .split.rev .media-frame {
    order: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pack-grid {
    grid-template-columns: 1fr;
  }
  .info-band {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .header-actions .btn {
    padding: 0.8em 1.4em;
    font-size: 0.72rem;
  }
  .brand .logo-fullt {
    display: none;
  }
  .brand .logo-mg {
    display: block;
  }
  /* Hausinn á React-síðunum í síma (Villi 1/10): Bóka hnappurinn í hausnum
     þrýsti merkinu niður í 0 px á /gift-cards og /pontun/lokid. Merkið
     skreppur aldrei saman og Bóka víkur úr hausnum, eins og á statísku
     síðunum (hann er efstur í valmyndinni). Take away heldur sinni ör. */
  .site-header .brand {
    flex-shrink: 0;
  }
  body:not(:has(.tk)) .site-header .header-actions > .btn.orv {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Minni hreyfing ef notandi kýs */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Take away pöntunarsíðan (React) ---------- */
/* Flokkakaflar: hopp af stiku/fellilista lendir fyrir neðan föstu stikuna
   (símaútgáfan yfirskrifar aftar í skjalinu — röðin skiptir máli) */
.ta-flokkur {
  scroll-margin-top: calc(var(--nav-h) + 7.5rem);
}
.ta-catbar {
  position: sticky;
  top: var(--nav-h);
  z-index: 40;
  background: #f4f1ea;
  padding: 0.9rem 0;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}
/* Flokkavalið í síma: fellilisti í stað pillutakka (ósk Villa 23/7) */
.ta-catval {
  display: none;
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: 0.9rem;
  background: #fff;
  color: #302f2f;
}
@media (max-width: 700px) {
  /* Hausinn eltir ekki skrollið í símanum — fer ekki fyrir valið.
     Stikan (leit + flokkaval) límist þá efst í skjáinn í staðinn. */
  body:has(.ta-stika) .site-header {
    position: absolute;
  }
  .ta-catbar {
    display: none;
  }
  .ta-catval {
    display: block;
  }
}
.ta-catbar::-webkit-scrollbar {
  display: none;
}
.ta-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 1.15rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  background: none;
  cursor: pointer;
  font-family: inherit;
  transition:
    background 0.15s,
    color 0.15s;
}
.ta-pill:hover {
  border-color: #a8834f;
}
.ta-pill.active {
  background: #cebf95;
  color: #302f2f;
  border-color: #cebf95;
  font-weight: 600;
}
.ta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.ta-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(48, 47, 47, 0.08);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.ta-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(48, 47, 47, 0.13);
}
.ta-imglink {
  display: block;
  position: relative;
}
/* Gos og safar: léttar myndaflísar með plús/mínus */
.ta-gos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 0.8rem;
}
.ta-gos {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.6rem 0.5rem 0.75rem;
  text-align: center;
  box-shadow: 0 6px 20px rgba(48, 47, 47, 0.05);
  transition:
    border-color 0.2s,
    transform 0.15s;
}
.ta-gos:hover {
  transform: translateY(-2px);
}
.ta-gos.on {
  border-color: #cebf95;
}
.ta-gos-mynd {
  width: 100%;
  height: 96px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin-bottom: 0.45rem;
}
.ta-gos-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #141313;
}
.ta-gos-ph img {
  width: 45%;
  height: auto;
  opacity: 0.85;
  margin: 0;
}
.ta-gos > strong {
  display: block;
  font-size: 0.8rem;
  line-height: 1.25;
  min-height: 2.5em;
}
.ta-gos-verd {
  display: block;
  color: #a8834f;
  font-weight: 700;
  font-size: 0.82rem;
  margin: 0.15rem 0 0.5rem;
}
.ta-gos-stjorn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.ta-gos-stjorn .ta-step:disabled {
  opacity: 0.35;
  cursor: default;
}

/* Tilboðskortin í grindinni — sama útlit og vörukortin */
.ta-card-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.ta-card-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(48, 47, 47, 0.14);
}
.ta-tilbod-mynd {
  position: relative;
}
.ta-tilbod-merki {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  background: #cebf95;
  color: #302f2f;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
}

/* Combo-síðan: valin pizza sýnir lýsingu + áleggseditorinn */
.tw-combo-vara {
  margin-top: 0.6rem;
  border-left: 3px solid #cebf95;
  padding-left: 0.9rem;
}
.tw-combo-lysing {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0 0 0.3rem;
}

/* ---------- Combo sem skrefaflæði (Domino's-pælingin) ---------- */
.cb-haus {
  margin-bottom: 1.6rem;
}
.cb-mynd {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  margin-bottom: 1.1rem;
}
.cb-titill {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 0.4rem;
}
.cb-lysing {
  color: var(--muted);
  max-width: 44em;
  margin: 0;
}
.cb-skref {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  margin-top: 0.9rem;
  box-shadow: 0 6px 24px rgba(48, 47, 47, 0.05);
  transition: border-color 0.25s;
}
.cb-skref.opid {
  border-color: #cebf95;
}
.cb-skref-haus {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  text-align: left;
}
.cb-smellanlegt {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.cb-skref-haus strong {
  display: block;
  font-size: 1rem;
}
.cb-hint {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.1rem;
}
.cb-num {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #cebf95;
  color: #302f2f;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cb-num.buid {
  background: #302f2f;
  color: #cebf95;
}
.cb-orv {
  margin-left: auto;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  flex: none;
}
.cb-veljari {
  margin-top: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 0.4rem;
}
.cb-vara {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(48, 47, 47, 0.08);
  padding: 0.65rem 0.2rem;
  cursor: pointer;
  font: inherit;
  color: inherit;
  border-radius: 10px;
  transition: background 0.2s;
}
.cb-vara:hover {
  background: rgba(206, 191, 149, 0.12);
}
.cb-vara.on {
  background: rgba(206, 191, 149, 0.2);
}
.cb-vara-mynd {
  flex: none;
  width: 58px;
  height: 58px;
  border-radius: 10px;
  object-fit: cover;
}
.cb-vara-ph {
  background: #141313;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cb-vara-ph img {
  width: 60%;
  height: auto;
  opacity: 0.85;
}
.cb-vara-texti {
  flex: 1;
  min-width: 0;
}
.cb-vara-texti strong {
  display: block;
  font-size: 0.95rem;
}
.cb-vara-texti em {
  display: block;
  font-style: normal;
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 0.1rem;
}
.cb-vara-verd {
  flex: none;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
}
.cb-stadfesta {
  margin: 0.9rem 0 0.4rem;
}
/* Drykkjaskrefið: myndaflísar, margir drykkir í einum glugga */
.cb-drykkir {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 0.7rem;
  padding-top: 0.9rem;
}
.cb-drykkur {
  position: relative;
}
.cb-drykkur-smellur {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.5rem 0.4rem 0.6rem;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: center;
  transition:
    border-color 0.2s,
    background 0.2s,
    transform 0.15s;
}
.cb-drykkur-smellur:hover {
  transform: translateY(-2px);
  border-color: #cebf95;
}
.cb-drykkur.on .cb-drykkur-smellur {
  border-color: #cebf95;
  background: rgba(206, 191, 149, 0.15);
}
.cb-drykkur-smellur img {
  width: 100%;
  height: 82px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin-bottom: 0.4rem;
}
.cb-drykkur-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 82px;
  background: #141313;
  border-radius: 8px;
  margin-bottom: 0.4rem;
}
.cb-drykkur-ph img {
  width: 50%;
  height: auto;
  opacity: 0.85;
  margin: 0;
}
.cb-drykkur-smellur strong {
  display: block;
  font-size: 0.76rem;
  line-height: 1.2;
}
.cb-drykkur-smellur small {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.72rem;
}
.cb-drykkur-fjoldi {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #cebf95;
  color: #302f2f;
  font-weight: 700;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}
.cb-drykkur-minus {
  position: absolute;
  top: -7px;
  left: -7px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #302f2f;
  color: #ece8de;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}
.cb-bar {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  justify-content: flex-end;
  position: sticky;
  bottom: 0;
  z-index: 30;
  margin-top: 1.6rem;
  background: rgba(244, 241, 234, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 2px solid #cebf95;
  padding: 0.9rem 0.4rem calc(0.9rem + env(safe-area-inset-bottom));
  box-shadow: 0 -10px 26px rgba(48, 47, 47, 0.08);
}
.cb-samtals {
  margin-right: auto;
  font-size: 1.05rem;
}
.cb-samtals strong {
  color: var(--gold);
  font-size: 1.25rem;
  margin-left: 0.4em;
}
.cb-fjoldi {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
@media (max-width: 640px) {
  .cb-bar {
    flex-wrap: wrap;
  }
  .cb-samtals {
    width: 100%;
  }
}

/* Kortið sem varan fór í körfuna af — stutt gyllt blik við heimkomu */
.ta-card-heim {
  animation: taHeim 1.5s ease;
}
@keyframes taHeim {
  0% {
    box-shadow: 0 0 0 3px #cebf95;
  }
  100% {
    box-shadow: 0 10px 30px rgba(48, 47, 47, 0.08);
  }
}
/* Rautt afsláttarmerki uppi í hægra horninu þegar sale-verð er í gildi */
.ta-afsl {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  background: #d63b2f;
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 2;
}
.ta-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.ta-ph {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #141313;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ta-ph img {
  height: 40%;
  opacity: 0.85;
}
.ta-body {
  padding: 1.05rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}
.ta-titlerow {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.8rem;
}
.ta-titlerow h3 {
  font-size: 1.02rem;
  margin: 0;
  overflow-wrap: break-word;
}
/* Langt nafn brotnar innan síns dálks — verðið heldur alltaf sínu plássi */
.ta-titlerow a {
  text-decoration: none;
  color: inherit;
  flex: 1;
  min-width: 0;
}
.ta-price {
  color: #a8834f;
  font-weight: 700;
  white-space: nowrap;
  flex: none;
}
.ta-price .was {
  text-decoration: line-through;
  color: var(--muted);
  font-weight: 400;
  font-size: 0.85em;
  margin-right: 0.4em;
}
.ta-desc {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
  flex: 1;
}
.ta-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.15rem;
}
.ta-chip {
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.14rem 0.6rem;
  color: var(--muted);
}
.ta-chip.kcal {
  border-color: rgba(168, 131, 79, 0.5);
  color: #a8834f;
  font-weight: 600;
}
.ta-chip.diet {
  border-color: rgba(76, 122, 76, 0.4);
  color: #4c7a4c;
}
.ta-addrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.55rem;
}
.ta-step {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #302f2f;
  color: #ece8de;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}

/* ---------- Karfa í header (CartWidget) ---------- */
.cw {
  position: relative;
}
.cw-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: 1px solid rgba(236, 232, 222, 0.35);
  border-radius: 999px;
  color: #ece8de;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  transition: border-color 0.15s;
}
.cw-btn:hover {
  border-color: #cebf95;
}
.cw-badge {
  background: #cebf95;
  color: #302f2f;
  border-radius: 999px;
  min-width: 1.25rem;
  height: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0 0.3rem;
}
.cw-drop {
  position: absolute;
  right: 0;
  top: 100%;
  padding-top: 0.7rem;
  z-index: 95;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-14px);
  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    visibility 0.3s;
  pointer-events: none;
}
.cw-drop.open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
/* Karfan í sama gler-fíling og hausinn: hálfgegnsæ, blur, mjúk horn */
.cw-panel {
  width: min(400px, 92vw);
  background: rgba(42, 39, 34, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(236, 232, 222, 0.14);
  border-radius: 22px;
  padding: 1.15rem 1.25rem;
  color: #ece8de;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
}
.cw-line {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(236, 232, 222, 0.12);
  font-size: 1rem;
}
.cw-name {
  flex: 1;
  min-width: 0;
}
.cw-mods {
  color: #b8b2a6;
  font-size: 0.88rem;
}
.cw-step {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  border: 1px solid rgba(236, 232, 222, 0.35);
  background: none;
  color: #ece8de;
  cursor: pointer;
  font-size: 1.05rem;
  line-height: 1;
  flex: none;
}
.cw-step:hover {
  border-color: #cebf95;
}
.cw-qty {
  min-width: 1.3em;
  text-align: center;
}
.cw-sum {
  min-width: 5.4em;
  text-align: right;
  color: #cebf95;
  font-size: 0.98rem;
}
.cw-x {
  background: none;
  border: none;
  color: #b8b2a6;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0 0.1rem;
  flex: none;
}
.cw-x:hover {
  color: #e8a49a;
}
.cw-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
  font-size: 1rem;
}
.cw-clear {
  background: none;
  border: none;
  color: #b8b2a6;
  cursor: pointer;
  font-size: 0.9rem;
  text-decoration: underline;
  padding: 0;
  font-family: inherit;
}
.cw-clear:hover {
  color: #e8a49a;
}
.cw-total strong {
  color: #cebf95;
  margin-left: 0.3em;
}
.cw-go {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  cursor: pointer;
}
.cw-go:disabled {
  opacity: 0.6;
}
.cw-error {
  color: #e8a49a;
  font-size: 0.9rem;
  margin: 0.6rem 0 0;
}

/* ---------- Matseðillinn (af gömlu takeaway-síðunni, notað á /take-away) ---------- */
/* Tilboðskort */
.ta-deals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.section.light .pack {
  box-shadow: 0 6px 24px rgba(48, 47, 47, 0.07);
}
.pack p.desc {
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}

/* Matseðilslistinn */
.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 4rem;
}
.menu-cat {
  break-inside: avoid;
  margin-bottom: 3rem;
}
.menu-cat > h3 {
  font-family: "Poppins", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #302f2f;
  border-bottom: 2px solid #cebf95;
  padding-bottom: 0.6rem;
  margin-bottom: 1.4rem;
}
.menu-cat > .cat-sub {
  color: var(--muted);
  font-size: 0.9rem;
  margin: -1rem 0 1.4rem;
  font-style: italic;
}
.menu-item {
  margin-bottom: 1.3rem;
}
.menu-item .row {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
}
.menu-item .row h4 {
  font-family: "Poppins", sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  color: #302f2f;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0; /* flex-barn með nowrap sprengir annars breiddina í síma */
}
.menu-item .row .dots {
  flex: 1;
  border-bottom: 1px dotted rgba(48, 47, 47, 0.35);
  transform: translateY(-4px);
  min-width: 20px;
}
.menu-item .row .p {
  font-family: "Poppins", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: #a8834f;
  white-space: nowrap;
}
.menu-item .row .p.out {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.menu-item p.d {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0.25rem 0 0;
}
.veg {
  display: inline-block;
  font-family: "Poppins", sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  color: #4c7a3f;
  border: 1px solid #4c7a3f;
  border-radius: 100px;
  padding: 0.1em 0.6em;
  margin-left: 0.4em;
  vertical-align: middle;
  letter-spacing: 0.08em;
}
.ta-orderbar {
  position: sticky;
  bottom: 1rem;
  z-index: 50;
  display: flex;
  justify-content: center;
  pointer-events: none;
  margin-top: 1rem;
}
.ta-orderbar .btn {
  pointer-events: auto;
  box-shadow: 0 10px 40px rgba(48, 47, 47, 0.3);
}
@media (max-width: 900px) {
  .menu-grid {
    grid-template-columns: 1fr;
  }
  .ta-deals {
    grid-template-columns: 1fr;
  }
}

/* ---------- Karfan í síma: föst stika neðst + blað sem slæðast upp ---------- */
.cw-label,
.cw-bar-total {
  display: none;
}
body.hefur-korfu {
  scroll-padding-bottom: 70px;
}
@media (max-width: 700px) {
  body.hefur-korfu {
    padding-bottom: 64px;
  }
  .cw-btn {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    border-radius: 0;
    border: none;
    border-top: 2px solid #cebf95;
    background: #131210;
    padding: 0.95rem 1.2rem calc(0.95rem + env(safe-area-inset-bottom));
    justify-content: center;
    gap: 0.6rem;
    font-family: "Poppins", sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .cw-label {
    display: inline;
  }
  .cw-bar-total {
    display: inline;
    color: #cebf95;
    font-weight: 700;
  }
  .cw-drop {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    padding: 0;
    z-index: 210; /* yfir spjallbúbblunni (200) */
    visibility: hidden;
    opacity: 1;
    transform: translateY(105%);
    transition:
      transform 0.35s ease,
      visibility 0.35s;
  }
  .cw-drop.open {
    visibility: visible;
    transform: translateY(0);
  }
  .cw-panel {
    width: 100%;
    border-radius: 16px 16px 0 0;
    border: none;
    border-top: 2px solid #cebf95;
    background: rgba(38, 35, 31, 0.85);
    max-height: 75vh;
    overflow-y: auto;
    padding: 0.9rem 1.2rem calc(1.1rem + env(safe-area-inset-bottom));
  }
  .cw-panel::before {
    content: "";
    display: block;
    width: 44px;
    height: 4px;
    border-radius: 4px;
    background: rgba(236, 232, 222, 0.35);
    margin: 0 auto 0.8rem;
  }
}

/* ---------- Sími: matseðillinn brotnar rétt ---------- */
@media (max-width: 700px) {
  .menu-item .row h4 {
    white-space: normal;
  }
  .menu-item .row {
    align-items: baseline;
  }
}

/* Kauphluti veislubakka-korta: fjöldaval + karfa, fest neðst á kortinu */
.rg-card {
  display: flex;
  flex-direction: column;
  position: relative; /* afsláttarborðinn (.ta-afsl) situr í horninu */
}
.rg-card .rg-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.rg-card .rg-desc {
  flex: 1;
}
.rg-buy {
  display: flex;
  flex-wrap: wrap; /* sósuvalið (flex-basis 100%) fær sína eigin línu — annars flæðir allt út úr kortinu */
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}
.rg-step {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #302f2f;
  color: #ece8de;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  flex: none;
}
.rg-step:hover {
  border-color: #a8834f;
}
.rg-qty {
  width: 3em;
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: #302f2f;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.45em 0.2em;
}
.rg-qty:focus {
  outline: none;
  border-color: #a8834f;
}
.rg-add {
  margin-left: auto;
  font-size: 0.68rem;
  padding: 0.75em 1.3em;
  cursor: pointer;
  white-space: nowrap;
}
@media (max-width: 380px) {
  .rg-add {
    margin-left: 0;
    width: 100%;
  }
  .rg-buy {
    flex-wrap: wrap;
  }
}

/* ---------- Bóka-takkinn með örinni (fyrirmynd poolhouse) ---------- */
.btn.orv {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(236, 232, 222, 0.08);
  border: 1px solid rgba(236, 232, 222, 0.12);
  border-radius: 999px;
  padding: 0.45em 0.45em 0.45em 1.5em;
  overflow: hidden;
  text-decoration: none;
}
.btn.orv .orv-t {
  position: relative;
  z-index: 1;
  font-family: "Poppins", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ece8de;
  transition: color 0.35s;
}
.btn.orv .orv-c {
  position: relative;
  z-index: 1;
  width: 2.3em;
  height: 2.3em;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #302f2f;
  flex: none;
}
.btn.orv .orv-c svg {
  transition: transform 0.35s var(--ease);
}
.btn.orv::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.45em;
  width: 2.3em;
  height: 2.3em;
  border-radius: 999px;
  background: #cebf95;
  transform: translateY(-50%);
  transition:
    width 0.4s var(--ease),
    height 0.4s var(--ease),
    right 0.4s var(--ease),
    border-radius 0.4s;
  z-index: 0;
}
.btn.orv:hover::before {
  width: 100%;
  height: 100%;
  right: 0;
}
.btn.orv:hover .orv-t {
  color: #302f2f;
}
.btn.orv:hover .orv-c svg {
  transform: rotate(45deg);
}
.btn.orv.xl {
  padding: 0.7em 0.7em 0.7em 2.4em;
  gap: 1.1rem;
  border-width: 2px;
}
.btn.orv.xl .orv-t {
  font-size: 1.1rem;
  letter-spacing: 0.18em;
}
.btn.orv.xl .orv-c {
  width: 3em;
  height: 3em;
}
.btn.orv.xl .orv-c svg {
  width: 22px;
  height: 22px;
}
.btn.orv.xl::before {
  width: 3em;
  height: 3em;
  right: 0.7em;
}
.btn.orv.xl:hover::before {
  width: 100%;
  height: 100%;
  right: 0;
}

/* ---------- Fljótandi Bóka-takki á forsíðunni (fylgir skrolli) ---------- */
.btn.orv.flot-boka {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 230; /* yfir öllu: haus 100, spjall 200, körfublað 210 */
  background: rgba(19, 18, 16, 0.72);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.45);
  min-width: min(310px, calc(100vw - 48px));
  justify-content: flex-end;
}
.btn.orv.flot-boka .orv-t {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
@media (max-width: 700px) {
  .btn.orv.flot-boka {
    bottom: 22px;
    min-width: min(230px, calc(100vw - 110px));
    padding: 0.55em 0.55em 0.55em 1.8em;
  }
  .btn.orv.flot-boka .orv-t {
    font-size: 0.9rem;
  }
  .btn.orv.flot-boka .orv-c {
    width: 2.5em;
    height: 2.5em;
  }
  body.hefur-korfu .btn.orv.flot-boka {
    bottom: calc(76px + env(safe-area-inset-bottom));
  }
}
/* Opið spjall á alltaf sviðið — Bóka víkur */
body.spjall-opid .flot-boka {
  visibility: hidden;
}

/* Á meðan fullskjár-valmyndin er opin víkja fljótandi hnappar */
body:has(.main-nav.mobile-open) .flot-boka,
body:has(.main-nav.mobile-open) .header-actions .btn.orv,
body:has(.main-nav.mobile-open) .header-actions .lang-toggle,
body:has(.main-nav.mobile-open) .header-actions .lang-link,
body:has(.main-nav.mobile-open) .header-actions .cw {
  visibility: hidden;
}

/* ==========================================================
   Take away í Domino's-uppsetningu — Minigarðs-elegans
   ========================================================== */

/* Sticky leitar- og flokkastikan á listasíðunni */
.ta-stika {
  position: sticky;
  top: var(--nav-h);
  z-index: 40;
  background: rgba(244, 241, 234, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.7rem 0 0.6rem;
  margin: 0 0 1rem;
  border-bottom: 1px solid rgba(48, 47, 47, 0.1);
}
.ta-leitbox {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 420px;
  margin: 0 auto 0.7rem;
  color: var(--muted);
}
.ta-leitbox svg {
  position: absolute;
  left: 0.9rem;
  pointer-events: none;
}
.ta-leit {
  width: 100%;
  font: inherit;
  font-size: 0.92rem;
  color: #302f2f;
  background: #fff;
  border: 1px solid rgba(48, 47, 47, 0.16);
  border-radius: 999px;
  padding: 0.55em 2.4em 0.55em 2.5em;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.ta-leit:focus {
  border-color: #cebf95;
  box-shadow: 0 0 0 3px rgba(206, 191, 149, 0.25);
}
.ta-leit::-webkit-search-cancel-button {
  display: none;
}
.ta-leit-x {
  position: absolute;
  right: 0.5rem;
  border: 0;
  background: none;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 0.2em 0.4em;
}
.ta-flokkhaus {
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  border-bottom: 2px solid #cebf95;
  padding-bottom: 0.6rem;
  margin: 1.6rem 0 1.4rem;
}

/* Vörusíðan: tvískipt — val vinstra megin, sticky mynd hægra megin */
.pd-section {
  padding-top: calc(var(--nav-h) + 2rem);
  padding-bottom: 4rem;
}
.pd-skipting {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 3rem;
  align-items: start;
}
.pd-valhluti {
  order: 0;
}
.pd-myndhluti {
  order: 1;
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
}
.pd-myndrammi {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(48, 47, 47, 0.14);
}
.pd-myndrammi img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.pd-ph {
  background: #ece8de;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
}
.pd-ph img {
  width: 40%;
  aspect-ratio: auto;
  opacity: 0.5;
}
.pd-braud {
  margin: 0 0 1rem;
}
.pd-braud a {
  color: var(--gold);
  font-size: 0.85rem;
}
.pd-titill {
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  line-height: 1.1;
  margin: 0 0 0.5rem;
}
.pd-verd {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 0.8rem;
}
.pd-verd .was {
  text-decoration: line-through;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 400;
  margin-right: 0.5em;
}
.pd-lysing {
  color: var(--muted);
  margin: 0 0 1.4rem;
  max-width: 56ch;
}
.pd-hopur {
  margin-top: 1.2rem;
}
.pd-hopur > h4 {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin: 0 0 0.5rem;
}
.pd-hopur-regla {
  color: var(--muted);
  font-weight: 400;
  margin-left: 0.6em;
}
.pd-astadnum {
  margin-top: 1.4rem;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Pöntunarstikan: sticky neðst í valdálknum (Domino's-stíll) —
   límist við botn skjásins á meðan skrunað er og sest svo á sinn
   stað undir ofnæmisvöldunum */
.pd-bar {
  position: sticky;
  bottom: 0;
  z-index: 30;
  margin-top: 1.6rem;
  background: rgba(244, 241, 234, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 2px solid #cebf95;
  box-shadow: 0 -10px 26px rgba(48, 47, 47, 0.08);
  padding: 0.7rem 0.2rem calc(0.7rem + env(safe-area-inset-bottom));
}
.pd-bar-inn {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 3vw, 1.6rem);
}
.pd-samtals {
  margin-right: auto;
  font-size: 0.9rem;
  color: var(--muted);
}
.pd-samtals strong {
  display: block;
  font-size: 1.25rem;
  white-space: nowrap;
  color: #302f2f;
}
.pd-fjoldi {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.pd-fjoldi > strong {
  min-width: 1.4em;
  text-align: center;
  font-size: 1.05rem;
}
.pd-fjoldi .ta-step:disabled {
  opacity: 0.4;
  cursor: default;
}
.pd-setja:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

@media (max-width: 880px) {
  .pd-skipting {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
  .pd-myndhluti {
    order: -1;
    position: static;
    margin: 0 0 0.4rem;
  }
  .pd-myndrammi img,
  .pd-ph {
    aspect-ratio: 16 / 9;
  }
  .pd-section {
    padding-top: calc(var(--nav-h) + 1.2rem);
  }
  .pd-samtals strong {
    font-size: 1.1rem;
  }
  .pd-setja {
    flex: 1;
    text-align: center;
    justify-content: center;
  }
  .ta-stika {
    /* Hausinn er ekki fastur í síma — stikan á að límast ALVEG efst,
       ekki skilja eftir pláss fyrir hann (fix Villa 23/7). Verður að
       standa HÉR, aftar en grunnreglan (top: var(--nav-h)) í cascade. */
    top: 0;
    padding-top: 0.55rem;
  }
  .ta-leitbox {
    margin-bottom: 0.55rem;
  }
  .ta-flokkur {
    /* hopp-offset án haussins: bara stikuhæðin */
    scroll-margin-top: 7.2rem;
  }
}

/* Á vörusíðunni á pöntunarstikan sviðið neðst — símakörfustikan víkur
   (karfan birtist um leið og komið er aftur á matseðilinn) og fljótandi
   hnappar lyfta sér upp fyrir stikuna */
@media (max-width: 700px) {
  body:has(.pd-bar) .cw {
    visibility: hidden;
  }
  body:has(.pd-bar) .btn.orv.flot-boka {
    bottom: calc(92px + env(safe-area-inset-bottom));
  }
}

/* ==========================================================
   Combo í Domino's-uppsetningu: skref vinstra megin, valið
   gerist í hægri glugganum (mynd þegar ekkert skref er opið)
   ========================================================== */
.cb-section {
  padding-top: calc(var(--nav-h) + 2rem);
  padding-bottom: 4rem;
}
.cb-skipting {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: start;
}
.cb-haegri {
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
}
.cb-haegri-mynd {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(48, 47, 47, 0.14);
}
.cb-haegri-mynd img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.cb-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.2rem 1.3rem;
  box-shadow: 0 18px 45px rgba(48, 47, 47, 0.1);
  max-height: calc(100vh - var(--nav-h) - 3.5rem);
  overflow-y: auto;
}
.cb-panel-titill {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.9rem;
}
/* Á tölvu er borðamyndin í hausnum óþörf — hún býr í hægri glugganum */
@media (min-width: 881px) {
  .cb-mynd {
    display: none;
  }
}
@media (max-width: 880px) {
  .cb-skipting {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .cb-haegri {
    display: none;
  }
}

/* Combo á síma: sticky stikan á sviðið neðst — karfan víkur (birtist á
   matseðlinum eftir á) og spjallbólan lyftir sér upp fyrir stikuna */
@media (max-width: 700px) {
  body:has(.cb-section) .cw {
    visibility: hidden;
  }
  .cb-bar {
    flex-wrap: wrap;
    gap: 0.7rem 1rem;
  }
  .cb-bar .btn.solid {
    flex: 1;
    text-align: center;
    justify-content: center;
  }
}

/* Rennihreyfing combo-gluggans: INN frá hægri þegar skref er opnað,
   ÚT til hægri við skrefaskipti (lengdin á útrennslinu = UT_MS í
   $comboId.tsx — halda í takt) */
.cb-haegri {
  overflow: hidden;
}
@keyframes cbRennaInn {
  from {
    transform: translateX(112%);
    opacity: 0.5;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
@keyframes cbRennaUt {
  from {
    transform: none;
    opacity: 1;
  }
  to {
    transform: translateX(112%);
    opacity: 0.5;
  }
}
.cb-panel.inn {
  animation: cbRennaInn 1.1s cubic-bezier(0.22, 0.9, 0.3, 1) both;
}
.cb-panel.ut {
  animation: cbRennaUt 0.65s cubic-bezier(0.55, 0.06, 0.68, 0.19) both;
}
.cb-haegri-mynd {
  animation: cbRennaInn 0.9s cubic-bezier(0.22, 0.9, 0.3, 1) both;
}
@media (prefers-reduced-motion: reduce) {
  .cb-panel.inn,
  .cb-panel.ut,
  .cb-haegri-mynd {
    animation: none;
  }
}

/* Hægri glugginn fyllir út að skjájaðri (ósk Villa 22/7) — full-bleed
   með neikvæðum spássíutrixi; overflow-x: clip á sektioninni klippir
   yfirflæðið án þess að brjóta sticky (ólíkt overflow: hidden) */
@media (min-width: 881px) {
  .cb-section {
    overflow-x: clip;
  }
  /* ~1 cm bil frá skjájaðri, rúnnuð öll horn (ósk Villa 22/7).
     Bilið frá container-jaðri að skjájaðri er (100vw - container)/2 —
     reiknað beint (prósentur miðast við grid-dálkinn og klikka) */
  .cb-haegri {
    margin-right: calc(38px - (100vw - min(1200px, 92vw)) / 2);
  }
  .cb-panel {
    min-height: calc(100vh - var(--nav-h) - 3.5rem);
  }
  .cb-haegri-mynd img {
    aspect-ratio: auto;
    min-height: calc(100vh - var(--nav-h) - 3.5rem);
    max-height: calc(100vh - var(--nav-h) - 3.5rem);
  }
}

/* Tvö stig í pizzuskrefi: editorinn (álegg + stór mynd) rennur inn
   frá VINSTRI, listinn sömuleiðis þegar farið er til baka */
.cb-panel {
  overflow-x: hidden;
}
@keyframes cbStigInn {
  from {
    transform: translateX(-55%);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
.cb-stig {
  animation: cbStigInn 0.55s cubic-bezier(0.22, 0.9, 0.3, 1) both;
}
.cb-tilbaka {
  border: 0;
  background: none;
  color: var(--gold);
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0 0 0.8rem;
}
.cb-tilbaka:hover {
  text-decoration: underline;
}
.cb-stig-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.6rem;
  align-items: start;
}
.cb-stig-nafn {
  font-size: 1.25rem;
  margin: 0 0 0.3rem;
}
.cb-stig-lysing {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 1rem;
}
.cb-stig-mynd {
  position: sticky;
  top: 0;
}
.cb-stig-mynd img {
  width: 100%;
  border-radius: 14px;
  display: block;
}
.cb-stig-mynd .cb-vara-ph {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  background: #ece8de;
  border-radius: 14px;
}
.cb-stig-mynd .cb-vara-ph img {
  width: 40%;
  opacity: 0.5;
}
@media (max-width: 1100px) {
  .cb-stig-grid {
    grid-template-columns: 1fr;
  }
  .cb-stig-mynd {
    order: -1;
    position: static;
  }
}

/* Gosskrefið án stóra hvíta kassans — flísarnar standa léttar á kreminu */
.cb-panel.lett {
  background: transparent;
  border: 0;
  box-shadow: none;
  min-height: 0;
  max-height: none;
  overflow: visible;
  padding: 0.4rem 0.2rem;
}

/* Veislubakkar: sósuval á vængjabökkum + villunóta reiknivélar */
.rg-sosa {
  flex-basis: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: 0.85rem;
  background: #fff;
  color: #302f2f;
  margin-bottom: 0.4rem;
}
.rv-villa {
  color: #b3452f;
  font-size: 0.82rem;
  margin: 0.6rem 0 0;
}
.rg-fullt {
  color: var(--muted);
  font-size: 0.85em;
  margin-right: 0.1em;
}

/* ---------- Tilboðs-popup bókunarvélarinnar (svítan) ---------- */
.bk-tilbod-bak {
  position: fixed;
  inset: 0;
  background: rgba(48, 47, 47, 0.5);
  backdrop-filter: blur(4px);
  z-index: 95;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.bk-tilbod-kort {
  background: #fff;
  border-radius: 18px;
  max-width: 440px;
  width: 100%;
  padding: 2rem 1.7rem 1.7rem;
  text-align: center;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
  animation: bkTilbodInn 0.35s var(--ease);
}
@keyframes bkTilbodInn {
  from {
    transform: translateY(14px) scale(0.96);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
.bk-tilbod-merki {
  display: inline-block;
  background: #9fbf8f;
  color: #24322a;
  font-family: "Poppins", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.22rem 0.8rem;
  border-radius: 100px;
  margin-bottom: 0.8rem;
}
.bk-tilbod-kort h3 {
  font-family: "Poppins", sans-serif;
  font-size: 1.25rem;
  color: #302f2f;
  margin: 0 0 0.35rem;
}
.bk-tilbod-nafn {
  color: var(--gold);
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  margin: 0 0 0.5rem;
}
.bk-tilbod-verd {
  margin: 0 0 0.6rem;
}
.bk-tilbod-verd strong {
  font-family: "Poppins", sans-serif;
  font-size: 1.6rem;
  color: #302f2f;
}
.bk-tilbod-verd s {
  color: #9a938a;
  margin-left: 0.5em;
}
.bk-tilbod-texti {
  color: #6f6a63;
  font-size: 0.92rem;
  margin: 0 0 1.2rem;
}
.bk-tilbod-takkar {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.bk-tilbod-ja {
  font: inherit;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  background: var(--gold);
  color: #fff;
  border: 0;
  border-radius: 100px;
  padding: 0.75rem 1.4rem;
  cursor: pointer;
  transition: filter 0.15s;
}
.bk-tilbod-ja:hover {
  filter: brightness(1.07);
}
.bk-tilbod-nei {
  font: inherit;
  font-size: 0.88rem;
  background: none;
  border: 0;
  color: #6f6a63;
  cursor: pointer;
  text-decoration: underline;
  padding: 0.3rem;
}

/* ---------- Hópefliskassinn á forsíðunni: logo-flötur þar til videoið kemur ---------- */
.exp-logoflotur {
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(206, 191, 149, 0.14), transparent 55%),
    #1c1b18;
}
.exp-logoflotur img {
  width: min(46%, 300px);
  opacity: 0.92;
  filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.4));
}

/* ============ Domino's-mýktin (9/9): síðuskipti + körfupúls ============ */

/* Sjálfgefna síðuskiptingin: hröð, mjúk yfirblöndun með örlítilli lyftingu.
   Vörumyndir með viewTransitionName morphast sjálfkrafa milli síðna. */
/* Stefnan kemur af <html data-stefna="inn|ut"> (sett í router.tsx):
   dýpra í vefinn rennur inn frá hægri, til baka rennur út til hægri —
   eins og maður fletti spjöldum. Vörumyndin morphast sjálfstætt ofan á. */
::view-transition-old(root) {
  animation: vtFadeUt 0.16s ease both;
}
::view-transition-new(root) {
  animation: vtFadeInn 0.22s ease both;
}
html[data-stefna="inn"]::view-transition-old(root) {
  animation: vtUtVinstri 0.18s ease both;
}
html[data-stefna="inn"]::view-transition-new(root) {
  animation: vtInnHaegri 0.26s cubic-bezier(0.22, 0.9, 0.3, 1) both;
}
html[data-stefna="ut"]::view-transition-old(root) {
  animation: vtUtHaegri 0.18s ease both;
}
html[data-stefna="ut"]::view-transition-new(root) {
  animation: vtInnVinstri 0.26s cubic-bezier(0.22, 0.9, 0.3, 1) both;
}
@keyframes vtFadeUt {
  to {
    opacity: 0;
  }
}
@keyframes vtFadeInn {
  from {
    opacity: 0;
  }
}
@keyframes vtUtVinstri {
  to {
    opacity: 0;
    transform: translateX(-28px);
  }
}
@keyframes vtInnHaegri {
  from {
    opacity: 0;
    transform: translateX(42px);
  }
}
@keyframes vtUtHaegri {
  to {
    opacity: 0;
    transform: translateX(28px);
  }
}
@keyframes vtInnVinstri {
  from {
    opacity: 0;
    transform: translateX(-42px);
  }
}

/* Valdálkurinn á vörusíðunni lyftist upp á meðan myndin morphast —
   tvíradda hreyfingin sem gefur Domino's-dýptina */
html[data-stefna="inn"]::view-transition-new(pd-val) {
  animation: vtValInn 0.34s cubic-bezier(0.22, 0.9, 0.3, 1) both;
}
@keyframes vtValInn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
}

/* Körfumerkið poppar þegar talan hækkar (key={count} endurfæðir spanið) */
.cw-badge {
  animation: cwPopp 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes cwPopp {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.45);
  }
  100% {
    transform: scale(1);
  }
}

/* Plús/mínus og körfutakkar svara í hendinni */
.ta-step:active,
.cw-step:active,
.pd-magn button:active {
  transform: scale(0.88);
}
.ta-step,
.cw-step {
  transition: transform 0.1s ease;
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root),
  ::view-transition-new(pd-val) {
    animation: none;
  }
  .cw-badge {
    animation: none;
  }
}


/* Vefurinn inni í Minigarðs-appinu (iframe, html[data-inni]): appið á
   hausinn, fótinn og flipana — vefurinn sýnir bara innihaldið */
html[data-inni="1"] .site-header,
html[data-inni="1"] .site-footer,
html[data-inni="1"] .mg-samthykki {
  display: none !important;
}
html[data-inni="1"] body {
  padding-top: 0;
}
html[data-inni="1"] .section:first-of-type {
  padding-top: 1.5rem;
}

/* ---------- Innskráning á vefnum (21/9): hausatakki, gluggi, valmynd ----------
   Sjá public/js/innskraning.js. Litir úr sama grunni og hausinn og fóturinn. */
.mg-inn-haus-takki {
  background: none;
  border: 1px solid rgba(236, 232, 222, 0.45);
  border-radius: 100px;
  color: #ece8de;
  font-family: "Poppins", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5em 1.1em;
  cursor: pointer;
  white-space: nowrap;
  flex: none;
  transition: all 0.3s;
}
.mg-inn-haus-takki.innskradur { max-width: 12ch; overflow: hidden; text-overflow: ellipsis; }
body:has(.main-nav.mobile-open) .header-actions .mg-inn-haus-takki { visibility: hidden; }
/* körfuflísarnar (korfur.js): tómi staðurinn tekur ekki bil í hausnum áður en skráin hleðst */
.mgk-stadur:empty { display: none; }
.mg-inn-haus-takki:hover { color: #d3c398; border-color: #d3c398; }
.mg-inn-haus-takki.innskradur {
  border-color: #d3c398;
  color: #d3c398;
  text-transform: none;
  letter-spacing: 0.04em;
  font-size: 0.8rem;
}
.header-actions { position: relative; }
/* Valmyndin, glugginn sjálfur og bakgrunnurinn búa í public/css/innskraning.css
   (nýja útlitið 2/10), innskraning.js hleður skránni sjálf. */
.mg-inn-haus { display: flex; flex-direction: column; align-items: flex-start; gap: 0.3rem; padding-right: 2.5rem; }
.mg-inn-haus p { margin: 0; color: #9b958a; font-size: 0.95rem; }
.mg-inn-form { display: flex; flex-direction: column; gap: 0.9rem; }
.mg-inn-simareitur {
  display: flex;
  align-items: center;
  border: 1px solid rgba(211, 195, 152, 0.35);
  border-radius: 12px;
  background: #1c1b18;
  overflow: hidden;
}
.mg-inn-simareitur:focus-within { border-color: #d3c398; }
.mg-inn-simi,
.mg-inn-kodi,
.mg-inn-reitur input {
  width: 100%;
  background: none;
  border: 0;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 1.25rem;
  padding: 0.85rem 1rem;
  outline: none;
  letter-spacing: 0.06em;
}
.mg-inn-kodi {
  border: 1px solid rgba(211, 195, 152, 0.35);
  border-radius: 12px;
  background: #1c1b18;
  text-align: center;
  font-size: 1.9rem;
  letter-spacing: 0.45em;
  padding-left: 1.45em;
}
.mg-inn-kodi:focus { border-color: #d3c398; }
.mg-inn-reitur { display: flex; flex-direction: column; gap: 0.3rem; }
.mg-inn-reitur span {
  font-family: "Poppins", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #d3c398;
}
.mg-inn-reitur input {
  border: 1px solid rgba(211, 195, 152, 0.35);
  border-radius: 10px;
  background: #1c1b18;
  font-size: 1.05rem;
  letter-spacing: 0;
  padding: 0.7rem 0.9rem;
}
.mg-inn-reitur input:focus { border-color: #d3c398; }
.mg-inn-hak { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.92rem; color: #9b958a; }
.mg-inn-hak input { margin-top: 0.25rem; accent-color: #d3c398; }
.mg-inn-hak a { color: #d3c398; text-decoration: underline; text-underline-offset: 3px; }
.mg-inn-takki {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  border-radius: 100px;
  border: 1px solid #d3c398;
  background: none;
  color: #d3c398;
  font-family: "Poppins", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 1em 1.4em;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}
.mg-inn-takki.adal { background: #d3c398; color: #131210; }
.mg-inn-takki.adal:hover { background: #e8dbb4; }
.mg-inn-takki[disabled] { opacity: 0.6; cursor: default; }
.mg-inn-leidir { display: flex; flex-direction: column; gap: 0.6rem; }
.mg-inn-leid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  text-align: left;
  background: #1c1b18;
  border: 1px solid rgba(211, 195, 152, 0.25);
  border-radius: 12px;
  padding: 0.95rem 1.1rem;
  color: #f2ecdd;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
}
.mg-inn-leid:hover { border-color: #d3c398; }
.mg-inn-leid:active { transform: scale(0.99); }
.mg-inn-leid strong { display: block; font-family: "Poppins", sans-serif; font-size: 0.98rem; color: #fff; }
.mg-inn-leid small { display: block; color: #9b958a; font-size: 0.85rem; margin-top: 0.1rem; }
.mg-inn-orv { color: #d3c398; font-size: 1.1rem; }
.mg-inn-hlekkur {
  align-self: center;
  background: none;
  border: 0;
  color: #9b958a;
  font: inherit;
  font-size: 0.88rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  padding: 0.2rem 0;
}
.mg-inn-hlekkur:hover { color: #d3c398; }
.mg-inn-villa { margin: 0; color: #e8a1a1; font-size: 0.92rem; }
.mg-inn-prof { margin: 0; color: #9b958a; font-size: 0.85rem; text-align: center; }
.mg-inn-sendir { margin: 0; color: #9b958a; font-size: 0.85rem; text-align: center; }
.mg-inn-bidtexti { margin: 0; color: #9b958a; text-align: center; }
.mg-inn-puls {
  width: 54px;
  height: 54px;
  margin: 0.4rem auto 0;
  border-radius: 50%;
  border: 2px solid rgba(211, 195, 152, 0.35);
  border-top-color: #d3c398;
  animation: mgInnSnu 1s linear infinite;
}
@keyframes mgInnSnu { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .mg-inn-puls { animation: none; } }
/* Auðkennisappið (30/9). Tölva: QR-kóði á hvítum fleti, því skanninn þarf
   dökkt á ljósu. Myndin er SVG í heilum einingum, 65 einingar á um 5,5 px
   (skjöl Auðkennis: 6 til 10 px á einingu á tölvu, 5 og minna of smátt).
   Sama útlit í vefglugganum (innskraning.js), /app/eg og /stjorn. */
.skq { display: flex; flex-direction: column; align-items: center; gap: 0.7rem; }
.skq-hlid { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.1rem 1.6rem; }
.skq-dalkur { flex: 1 1 220px; display: flex; flex-direction: column; align-items: stretch; gap: 0.8rem; }
.skq-dalkur .skq-texti, .skq-dalkur .skq-timi { text-align: left; }
.skq-dalkur .mg-inn-hlekkur { align-self: flex-start; text-align: left; }
@media (max-width: 640px) { .skq-dalkur .skq-texti, .skq-dalkur .skq-timi { text-align: center; } .skq-dalkur .mg-inn-hlekkur { align-self: center; text-align: center; } }
.skq-mynd { flex-shrink: 0; align-self: center; display: grid; place-items: center; width: min(100%, 340px, calc(100vh - 380px)); min-width: 220px; aspect-ratio: 1; padding: 0; border-radius: 14px; background-color: #fff; overflow: hidden; transition: opacity 0.2s ease; }
.skq-mynd img { display: block; width: 100%; height: 100%; }
.skq-mynd.utrunnid { opacity: 0.18; }
.skq-saeki { color: #131210; font-size: 0.9rem; }
.skq-texti { margin: 0; text-align: center; font-weight: 600; color: inherit; }
.skq-timi { margin: 0; text-align: center; font-size: 0.85rem; opacity: 0.75; font-variant-numeric: tabular-nums; }
.skq-vis, .skq-vis-texti { margin: 0; text-align: center; font-size: 0.85rem; opacity: 0.8; }
.skq > .skq-nyr { min-height: 44px; padding: 0 1.4rem; border: 1px solid currentColor; border-radius: 999px; background-color: transparent; color: inherit; font: inherit; font-weight: 600; cursor: pointer; }
.skq > .skq-nyr.adal { border-color: #d3c398; background-color: #d3c398; color: #131210; }
.skq > .skq-vis { background-color: transparent; border: 0; color: inherit; font: inherit; font-size: 0.85rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
/* Sími: aðalhnappurinn sem opnar appið, raunverulegur hlekkur (snerting) */
.mg-inn-takki.skq-opna, .ap-btn.skq-opna { min-height: 48px; display: flex; align-items: center; justify-content: center; }
.mgk-innfellt .skq-mynd { margin: 0; }
.skq-hlid .skq-mynd { width: min(100%, 320px, calc(100vh - 250px)); }
.mg-inn-listi { display: flex; flex-direction: column; gap: 0.7rem; }
.mg-inn-listi h3 {
  font-family: "Poppins", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #d3c398;
  margin: 0.4rem 0 0;
}
.mg-inn-bokun {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(211, 195, 152, 0.14);
}
.mg-inn-bokun strong { color: #fff; font-family: "Poppins", sans-serif; font-size: 0.95rem; }
.mg-inn-bokun span { color: #9b958a; font-size: 0.9rem; }
.mg-inn-daufar { opacity: 0.6; }
.mg-inn-tomt, .mg-inn-smatt { margin: 0; color: #9b958a; font-size: 0.9rem; }
.mg-inn-stor { display: flex; flex-direction: column; align-items: center; padding: 0.6rem 0 0.2rem; }
.mg-inn-stor strong { font-family: "Poppins", sans-serif; font-size: 2.2rem; color: #d3c398; line-height: 1; }
.mg-inn-stor span { color: #9b958a; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 0.3rem; }
/* ---------- Landsnúmerið ----------
   Eigin combobox, ekki native select: fáni, landsnúmer og leitanlegur
   listi yfir öll löndin. Glugginn hangir undir reitnum, þess vegna má
   símareiturinn ekki klippa hann af. */
.mg-inn-simareitur { position: relative; overflow: visible; }
.mg-inn-landval {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  align-self: stretch;
  padding: 0 0.7rem 0 0.85rem;
  margin: 0;
  border: 0;
  border-right: 1px solid rgba(211, 195, 152, 0.2);
  border-radius: 12px 0 0 12px;
  background: none;
  color: #f2ecdd;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}
.mg-inn-landval:hover { background: rgba(211, 195, 152, 0.07); }
.mg-inn-landval:focus-visible {
  outline: 2px solid #d3c398;
  outline-offset: -2px;
}
.mg-inn-landtexti { font-variant-numeric: tabular-nums; }
.mg-inn-landorv {
  display: block;
  flex: 0 0 auto;
  width: 0.4rem;
  height: 0.4rem;
  margin-left: 0.1rem;
  border-right: 1.5px solid #9b958a;
  border-bottom: 1.5px solid #9b958a;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.18s linear;
}
.mg-inn-landval[aria-expanded="true"] .mg-inn-landorv {
  transform: translateY(1px) rotate(225deg);
  border-color: #d3c398;
}
/* Fánarnir eru raunverulegar SVG-skrár, ekki emoji: emoji-fánar birtast
   ekki á Windows og hefðu orðið að tveimur bókstöfum þar. */
.mg-inn-fani {
  display: block;
  width: 21px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35);
}
.mg-inn-fani.stor { width: 24px; height: 18px; }

/* Listinn býr í body og er staðsettur með JS upp við símareitinn, svo
   ekkert í síðunni geti teiknast ofan á hann */
.mg-inn-landgluggi {
  position: fixed;
  z-index: 1200;
  top: 0;
  left: 0;
  width: 20rem;
  max-width: calc(100vw - 1.75rem);
  padding: 0.5rem;
  background: #171613;
  border: 1px solid rgba(211, 195, 152, 0.22);
  border-radius: 12px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: translateY(-6px) scale(0.985);
  transform-origin: top left;
  transition:
    opacity 0.13s linear,
    transform 0.19s cubic-bezier(0.22, 1, 0.36, 1);
}
.mg-inn-landgluggi.opin { opacity: 1; transform: none; }
/* Lágur gluggi: listinn snýr sér upp fyrir reitinn í stað þess að lenda
   hálfur utan skjás (JS setur bottom-gildið) */
.mg-inn-landgluggi.upp {
  transform-origin: bottom left;
  transform: translateY(6px) scale(0.985);
}
.mg-inn-landgluggi.upp.opin { transform: none; }
.mg-inn-landleitreitur {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0 0.7rem;
  margin-bottom: 0.4rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(211, 195, 152, 0.18);
  border-radius: 9px;
}
.mg-inn-landleitreitur:focus-within { border-color: #d3c398; }
.mg-inn-landleittakn { display: flex; color: #9b958a; }
.mg-inn-landleit {
  flex: 1;
  min-width: 0;
  padding: 0.62rem 0;
  background: none;
  border: 0;
  outline: none;
  color: #f2ecdd;
  font-family: "Source Sans 3", sans-serif;
  font-size: 1rem;
}
.mg-inn-landleit::placeholder { color: #8d877c; }
.mg-inn-landlisti {
  max-height: 17.5rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(211, 195, 152, 0.3) transparent;
}
.mg-inn-landlisti::-webkit-scrollbar { width: 8px; }
.mg-inn-landlisti::-webkit-scrollbar-thumb {
  background: rgba(211, 195, 152, 0.28);
  border-radius: 99px;
}
.mg-inn-landrod {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.58rem 0.65rem;
  border-radius: 8px;
  cursor: pointer;
  color: #f2ecdd;
  font-family: "Source Sans 3", sans-serif;
  font-size: 1rem;
  line-height: 1.25;
}
.mg-inn-landrod.virk { background: rgba(211, 195, 152, 0.12); }
/* 29/9: algengu löndin fremst, skil á undan öllum hinum. Snertiflötur
   hverrar raðar og landsflísarinnar er minnst 44 px. */
.mg-inn-landrod { min-height: 44px; }
.mg-inn-landval { min-width: 44px; min-height: 44px; }
.mg-inn-landskil {
  margin: 0.4rem 0.65rem 0.25rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(211, 195, 152, 0.16);
  color: #9b958a;
  font-family: "Poppins", sans-serif;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
}
.mg-inn-landnafn {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mg-inn-landkodi {
  color: #9b958a;
  font-family: "Poppins", sans-serif;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}
.mg-inn-landrod.valid .mg-inn-landkodi { color: #d3c398; }
.mg-inn-landhak { display: flex; color: #d3c398; }
.mg-inn-landtomt {
  margin: 0;
  padding: 1.1rem 0.65rem;
  color: #9b958a;
  font-size: 0.95rem;
  text-align: center;
}
/* Sími: listinn er of hár til að hanga undir reitnum inni í blaðinu, svo
   hann leggst yfir neðri hlutann eins og venja er í símaviðmótum. Leitin
   stendur þá alltaf efst og sést. */
.mg-inn-landgluggi.simi {
  left: 0.75rem;
  right: 0.75rem;
  top: auto;
  bottom: 0.75rem;
  width: auto;
  max-width: none;
  transform-origin: bottom center;
  transform: translateY(12px);
}
.mg-inn-landgluggi.simi.opin { transform: none; }
.mg-inn-landgluggi.simi .mg-inn-landlisti { max-height: min(24rem, 52vh); }
.mg-inn-landgluggi.simi .mg-inn-landrod { padding: 0.72rem 0.65rem; }
@media (prefers-reduced-motion: reduce) {
  .mg-inn-landgluggi { transition-duration: 0.01s; transform: none; }
  .mg-inn-landorv { transition-duration: 0.01s; }
}
/* Innfellt í bókunarskrefið: sömu skref, án ramma gluggans */
.bk-innskraning { padding: 1.4rem 1.6rem 1.6rem; gap: 1rem; align-items: stretch; text-align: left; }
.bk-innskraning .mg-inn-haus { padding-right: 0; }
.bk-innskraning .mg-inn-haus h4 {
  font-family: "Poppins", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #d3c398;
  margin: 0;
}
.bk-innskraning .mg-inn-haus p { font-size: 0.9rem; }
.bk-innskraning .mg-inn-simareitur { background: #1c1b18; }
.bk-innskraning .mg-inn-form,
.bk-innskraning .mg-inn-leidir { width: 100%; }
.bk-innskraning .mg-inn-hlekkur { align-self: center; }
.bk-innskraning .mg-inn-bidtexti { text-align: center; }

/* ============================================================
   OPNUNARROFI (Villi 5/10). Spegill af OPID í src/lib/opid.ts.
   Ein lína hér = lokaður eiginleiki. Allt merkt data-rofi="…" hverfur,
   án þess að blikka, því reglan er komin áður en síðan teiknast.
   Opna aftur: eyða línunni hér OG setja true í opid.ts.
   tests/opid.harness.mjs fellur ef þetta tvennt er ekki í takt.
   ============================================================ */
[data-rofi="club"] { display: none !important; }
[data-rofi="gjafabref"] { display: none !important; }
[data-rofi="takeaway"] { display: none !important; }
[data-rofi="veislur"] { display: none !important; }
