/* ============================================================
   vetur.is
   Efniviðurinn er gróðurhúsið: mjólkurlitað plast, álprófílar,
   dagsbirta að ofan og hlýja innandyra á meðan frystir úti.
   Merki síðunnar er mælibandið - plássið er selt í metrum.
   ============================================================ */

:root {
  --paper: #F7FAF6;      /* nánast hvítt með grænum blæ */
  --pane: #FFFFFF;       /* hreint gler */
  --mist: #EFF5EE;       /* mildur grænn flötur */
  --glow: #F6F3E8;       /* hlýja - notað sparlega */
  --ink: #1E2B24;        /* mjúkt grænsvart */
  --ink-2: #3C4E44;
  --ink-soft: #566A5D;
  --frame: #DCE6DB;      /* hárfínar línur */
  --frame-soft: #EDF2EC;
  --leaf: #2F7350;       /* aðallitur, ferskt lauf */
  --leaf-light: #5FA37A;
  --leaf-pale: #E4F0E7;
  --heat: #C98A2A;       /* hiti og upptekið pláss */
  --heat-soft: #F0E0C2;
  --alert: #B4472B;

  --font-display: 'Bricolage Grotesque', 'Helvetica Neue', sans-serif;
  --font-body: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

  --measure: 68rem;
  --gap: clamp(1.5rem, 4vw, 3rem);
  --radius: 10px;
  --radius-sm: 6px;

  --shadow: 0 1px 2px rgba(30, 43, 36, .04), 0 8px 24px rgba(30, 43, 36, .05);

  /* rifin í tvöfalda plastinu - endurtekið mynstur úr efniviðnum */
  --ribs: repeating-linear-gradient(90deg,
    rgba(47, 115, 80, .045) 0 1px, transparent 1px 46px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 .6em;
  color: var(--ink);
}
h1 { font-size: clamp(2.5rem, 6vw, 4.3rem); }
h2 { font-size: clamp(2.05rem, 4.6vw, 3.2rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 2.5rem, var(--measure)); margin-inline: auto; }
.wrap-wide { width: min(100% - 2.5rem, 84rem); margin-inline: auto; }

.eyebrow {
  display: flex; align-items: center; gap: .7rem;
  font-family: var(--font-mono);
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--leaf);
  margin: 0 0 1rem;
}
/* stutt strik gerir kaflamerkið að sýnilegri fyrirsögn en ekki hvísli */
.eyebrow::before {
  content: ''; flex: none;
  width: 30px; height: 2px;
  background: var(--leaf);
}
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 46ch; }
.muted { color: var(--ink-soft); }
.small { font-size: .85rem; }
.mono { font-family: var(--font-mono); }
.center { text-align: center; }

/* ---------------------------------------------------------- haus */

.masthead {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 250, 246, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--frame);
}
.masthead__inner { display: flex; align-items: center; gap: 1.5rem; padding: .85rem 0; }
.logo {
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 700; letter-spacing: -.03em;
  text-decoration: none; color: var(--ink);
}
.logo span { color: var(--leaf); }
.nav { display: flex; gap: 1.4rem; margin-left: auto; align-items: center; }
.nav a {
  text-decoration: none; font-size: .92rem; color: var(--ink-2);
  padding: .3rem 0; border-bottom: 1px solid transparent;
}
.nav a:hover, .nav a.is-active { color: var(--leaf); border-bottom-color: var(--leaf); }
.nav form { margin: 0; }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); font-size: 1.4rem; cursor: pointer; }

@media (max-width: 820px) {
  .nav-toggle { display: block; margin-left: auto; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: .2rem;
    background: var(--pane); padding: 1rem 1.25rem 1.5rem;
    border-bottom: 1px solid var(--frame);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .6rem 0; width: 100%; }
}

/* ---------------------------------------------------------- hnappar */

.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body); font-size: .95rem; font-weight: 500;
  padding: .85rem 1.7rem; border: 1px solid transparent; border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn--primary { background: var(--leaf); color: #fff; }
.btn--primary:hover { background: #265E41; transform: translateY(-1px); }
.btn--ghost { border-color: var(--frame); color: var(--ink-2); background: var(--pane); }
.btn--ghost:hover { border-color: var(--leaf); color: var(--leaf); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--ink-2); }
.btn--danger { background: transparent; border-color: rgba(180, 71, 43, .45); color: var(--alert); }
.btn--danger:hover { background: rgba(180, 71, 43, .08); }
.btn--sm { padding: .5rem .95rem; font-size: .85rem; }
.btn--block { width: 100%; justify-content: center; }
.btn:focus-visible, a:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--leaf); outline-offset: 3px;
}

/* ---------------------------------------------- MÆLIBANDIÐ (signature) */

.band { --fill: 0%; }
.band__meta {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1.5rem;
  font-family: var(--font-mono); font-size: .75rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: .8rem;
}
.band__meta strong { color: var(--ink); font-weight: 500; }
.band__meta .free { color: var(--leaf); }

.band__tape {
  position: relative; height: 62px;
  background: var(--pane);
  border: 1px solid var(--frame);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.band__ticks {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(to right,
    rgba(22, 33, 28, .16) 0 1px, transparent 1px 2.5%);
}
.band__ticks::after {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(to right,
    rgba(22, 33, 28, .34) 0 1px, transparent 1px 12.5%);
}
.band__fill {
  position: absolute; inset: 0 auto 0 0; width: var(--fill);
  background: linear-gradient(180deg, #F0DCB4, #E3C68E);
  transition: width .9s cubic-bezier(.22,.61,.36,1);
}
.band__fill::after {
  content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 2px; background: var(--heat);
}
.band__marker {
  position: absolute; top: 0; bottom: 0; left: var(--fill);
  display: flex; align-items: center; padding-left: .6rem;
  font-family: var(--font-mono); font-size: .8rem; color: var(--ink);
  white-space: nowrap; transition: left .9s cubic-bezier(.22,.61,.36,1);
}
.band__scale {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: .68rem; color: var(--ink-soft);
  margin-top: .45rem; letter-spacing: .1em;
}
.band--full .band__fill { background: linear-gradient(180deg, #F0C9BC, #E0A794); }
.band--sm .band__tape { height: 34px; }
.band--sm .band__marker { font-size: .72rem; }

/* ---------------------------------------------------------- forsíða */

.hero {
  padding: clamp(3rem, 8vw, 6rem) 0 2.5rem;
  position: relative; overflow: hidden;
  background-image: var(--ribs);
}
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--gap); align-items: end; }
.hero h1 { text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--leaf); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero__figure { position: relative; margin: 0; }
.hero__figure img {
  width: 100%; height: clamp(280px, 40vw, 440px); object-fit: cover;
  border: 1px solid var(--frame); border-radius: var(--radius);
}
.hero__figure figcaption {
  position: absolute; bottom: 0; left: 0; right: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  padding: .6rem .9rem; background: rgba(255, 255, 255, .9);
  border-top: 1px solid var(--frame);
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-2);
}
.hero__band { margin-top: clamp(2.5rem, 6vw, 4rem); }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__figure { order: -1; }
}

/* hitamerki - lítill fáni sem segir hvað er í gangi inni */
.heatline {
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em;
  text-transform: uppercase; color: #8A5A12;
  background: var(--glow); border: 1px solid var(--heat-soft);
  padding: .45rem .8rem; margin-bottom: 1.2rem;
}
.heatline::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--heat); box-shadow: 0 0 0 4px rgba(210, 129, 31, .18);
}

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--paper { background: var(--mist); }
.section--dark { background: var(--leaf-pale); }
.section__head { max-width: 46ch; margin-bottom: 3.25rem; }

/* skref - raunveruleg röð, þess vegna númeruð */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.step { border-top: 1px solid var(--frame); padding-top: 1.1rem; }
.step__no {
  font-family: var(--font-mono); font-size: .75rem; letter-spacing: .2em;
  color: var(--leaf); display: block; margin-bottom: .8rem;
}
.step h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.step p { font-size: .95rem; margin: 0; color: var(--ink-2); }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* myndasafn */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: .75rem; }
.gallery figure {
  margin: 0; position: relative; overflow: hidden;
  background: var(--pane); border: 1px solid var(--frame);
  border-radius: var(--radius);
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: .5rem .75rem;
  background: rgba(255, 255, 255, .92); border-top: 1px solid var(--frame);
  color: var(--ink-2);
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
}
.gallery figure:nth-child(1) { grid-column: span 7; aspect-ratio: 16/10; }
.gallery figure:nth-child(2) { grid-column: span 5; aspect-ratio: 4/3.4; }
.gallery figure:nth-child(3) { grid-column: span 4; aspect-ratio: 1; }
.gallery figure:nth-child(4) { grid-column: span 4; aspect-ratio: 1; }
.gallery figure:nth-child(5) { grid-column: span 4; aspect-ratio: 1; }
.gallery figure:nth-child(n+6) { grid-column: span 3; aspect-ratio: 1; }
@media (max-width: 700px) {
  .gallery figure, .gallery figure:nth-child(n) { grid-column: span 6; aspect-ratio: 4/3; }
}

/* reiknivél */
.calc {
  background: var(--pane); border: 1px solid var(--frame);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.calc__row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.2rem; }
.calc__value { font-family: var(--font-mono); font-size: clamp(1.8rem, 4vw, 2.5rem); }
.calc input[type=range] { width: 100%; accent-color: var(--leaf); }
.calc__out {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 1px solid var(--frame); margin-top: 1.4rem; padding-top: 1.2rem;
}
.calc__price { font-family: var(--font-mono); font-size: clamp(1.6rem, 3.5vw, 2.1rem); color: var(--leaf); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: start; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1.5rem; }
.fact { border-left: 2px solid var(--leaf); padding-left: 1rem; }
.fact__n { font-family: var(--font-mono); font-size: 1.65rem; display: block; }
.fact__l { font-size: .9rem; color: var(--ink-soft); }
.section--dark .fact { border-left-color: var(--leaf-light); }

.faq { border-top: 1px solid var(--frame); }
.faq details { border-bottom: 1px solid var(--frame); }
.faq summary {
  padding: 1.1rem 0; cursor: pointer; font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--font-mono); color: var(--leaf); }
.faq details[open] summary::after { content: '−'; }
.faq p { padding-bottom: 1.2rem; margin: 0; max-width: 60ch; color: var(--ink-2); }

/* ---------------------------------------------------------- eyðublöð */

.page { padding: clamp(2.5rem, 6vw, 4rem) 0 5rem; }
.page__head { margin-bottom: 2.5rem; }

.card {
  background: var(--pane); border: 1px solid var(--frame);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.card--paper { background: var(--pane); }
.card + .card { margin-top: 1.25rem; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.field label { display: block; font-size: .82rem; letter-spacing: .04em; color: var(--ink-2); margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .9rem; font-family: inherit; font-size: 1rem;
  background: var(--pane); color: var(--ink);
  border: 1px solid var(--frame); border-radius: var(--radius-sm);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--leaf); outline: none; box-shadow: 0 0 0 3px rgba(47, 115, 80, .14);
}
.field__hint { font-size: .8rem; color: var(--ink-soft); margin: .35rem 0 0; }
.field--check { display: flex; gap: .7rem; align-items: flex-start; }
.field--check input { width: auto; margin-top: .25rem; accent-color: var(--leaf); }
.field--check label { margin: 0; font-size: .92rem; }

.plate-input { text-transform: uppercase; font-family: var(--font-mono); letter-spacing: .1em; }

.alert {
  padding: .95rem 1.1rem; border-left: 3px solid; margin-bottom: 1.25rem;
  font-size: .95rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.alert--error { border-color: var(--alert); background: #FBEDE8; color: #8C3418; }
.alert--success { border-color: var(--leaf-light); background: var(--leaf-pale); color: #1F5A3C; }
.alert--info { border-color: var(--heat); background: var(--glow); color: #8A5A12; }
.alert ul { margin: .4rem 0 0; padding-left: 1.1rem; }

.lookup-note {
  display: flex; gap: .6rem; align-items: flex-start;
  font-size: .9rem; padding: .8rem .9rem; margin-top: .5rem;
  border: 1px dashed var(--frame); color: var(--ink-2);
}
.lookup-note[data-state="verified"] { border-color: var(--leaf-light); background: var(--leaf-pale); color: #1F5A3C; }
.lookup-note[data-state="mismatch"],
.lookup-note[data-state="not_found"] { border-color: var(--alert); background: #FBEDE8; color: #8C3418; }
.lookup-note[data-state="checking"] { color: var(--ink-soft); }
.lookup-note[hidden] { display: none; }

/* ------------------------------------------------------------ merki */

.tag {
  display: inline-block; border-radius: 999px; font-family: var(--font-mono); font-size: .68rem;
  letter-spacing: .12em; text-transform: uppercase;
  padding: .25rem .55rem; border: 1px solid;
}
.tag--confirmed { color: #1F5A3C; border-color: var(--leaf-light); background: var(--leaf-pale); }
.tag--pending { color: #8A5A12; border-color: var(--heat); background: var(--glow); }
.tag--waitlisted { color: #2C4E77; border-color: #9DB8D6; background: #EAF1F8; }
.tag--cancelled { color: #8C3418; border-color: #D9A08D; background: #FBEDE8; }
.tag--completed { color: var(--ink-soft); border-color: var(--frame); background: var(--frame-soft); }

/* ------------------------------------------------------------ töflur */

.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.data th, table.data td {
  text-align: left; padding: .75rem .8rem;
  border-bottom: 1px solid var(--frame-soft); white-space: nowrap;
}
table.data th {
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-soft); font-weight: 400;
  border-bottom-color: var(--frame);
}
table.data tbody tr:hover { background: var(--paper); }
table.data a { color: var(--leaf); }
.num { font-family: var(--font-mono); }

.dl { display: grid; grid-template-columns: max-content 1fr; gap: .55rem 1.5rem; font-size: .95rem; }
.dl dt { color: var(--ink-soft); }
.dl dd { margin: 0; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.stat {
  background: var(--pane); border: 1px solid var(--frame);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.25rem;
}
.stat__n { font-family: var(--font-mono); font-size: 1.8rem; display: block; line-height: 1.1; }
.stat__l { font-size: .82rem; color: var(--ink-soft); letter-spacing: .04em; }

.admin-nav { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 2.5rem; }
.admin-nav a {
  text-decoration: none; font-size: .88rem; padding: .5rem 1rem;
  border: 1px solid var(--frame); color: var(--ink-2); background: var(--pane);
  border-radius: 999px;
}
.admin-nav a.is-active, .admin-nav a:hover { border-color: var(--leaf); color: var(--leaf); }

.toolbar { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-bottom: 1.5rem; }
.toolbar select, .toolbar input {
  border-radius: var(--radius-sm); padding: .55rem .75rem; background: var(--pane); color: var(--ink);
  border: 1px solid var(--frame); font-family: inherit; font-size: .9rem;
}

.timeline { list-style: none; padding: 0; margin: 0; font-size: .9rem; }
.timeline li { padding: .6rem 0 .6rem 1.1rem; border-left: 1px solid var(--frame); position: relative; }
.timeline li::before {
  content: ''; position: absolute; left: -4px; top: 1rem;
  width: 7px; height: 7px; background: var(--leaf); border-radius: 50%;
}
.timeline time { color: var(--ink-soft); font-family: var(--font-mono); font-size: .75rem; }

/* ------------------------------------------------------------- fótur */

.footer {
  background: var(--mist); color: var(--ink-2);
  padding: 3rem 0 2rem; margin-top: 4rem; font-size: .9rem;
  border-top: 1px solid var(--frame);
}
.footer .logo { color: var(--ink); }
.footer .logo span { color: var(--leaf); }
.footer .muted { color: var(--ink-soft); }
.footer h4 {
  font-size: .78rem; font-family: var(--font-mono); letter-spacing: .18em;
  text-transform: uppercase; color: var(--leaf);
}
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .45rem; }
.footer a { color: var(--ink-2); text-decoration: none; }
.footer a:hover { color: var(--leaf); }
.footer__base {
  margin-top: 2.5rem; padding-top: 1.25rem;
  border-top: 1px solid var(--frame);
  color: var(--ink-soft); font-size: .82rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
}
@media (max-width: 700px) { .footer__grid { grid-template-columns: 1fr; } }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--leaf); color: #fff;
  border-radius: var(--radius-sm);
  padding: .7rem 1.1rem; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.stack > * + * { margin-top: 1.25rem; }
.flex-between { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }

/* ------------------------------------------------- bókun í þremur skrefum */

.progress {
  display: flex; gap: .5rem; list-style: none; padding: 0;
  margin: 0 0 2.5rem; font-size: .85rem; flex-wrap: wrap;
}
.progress__item { flex: 1 1 0; min-width: 8rem; }
.progress__item > * {
  display: flex; align-items: center; gap: .6rem;
  padding-top: .7rem; border-top: 2px solid var(--frame);
  color: var(--ink-soft); text-decoration: none;
}
.progress__item.is-current > * { border-top-color: var(--leaf); color: var(--ink); }
.progress__item.is-done > * { border-top-color: var(--leaf-light); color: var(--leaf); }
.progress__item.is-done a:hover { color: var(--ink); }
.progress__no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--frame-soft); font-family: var(--font-mono); font-size: .75rem;
}
.progress__item.is-current .progress__no { background: var(--leaf); color: #fff; }
.progress__item.is-done .progress__no { background: var(--leaf-pale); color: var(--leaf); }
@media (max-width: 560px) { .progress__label { display: none; } .progress__item { min-width: 0; } }

/* þrír takkar sem hver leiðir beint í næsta skref */
.type-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 720px) { .type-picker { grid-template-columns: 1fr; } }

.type-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: .35rem;
  width: 100%; text-align: left; cursor: pointer;
  padding: 1.6rem 1.4rem 1.3rem;
  background: var(--pane); border: 1.5px solid var(--frame);
  border-radius: var(--radius); box-shadow: var(--shadow);
  font-family: var(--font-body); color: var(--ink);
  transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.type-card:hover {
  border-color: var(--leaf); transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(30,43,36,.05), 0 14px 32px rgba(30,43,36,.09);
}
.type-card.is-chosen { border-color: var(--leaf); background: var(--leaf-pale); }
.type-card:focus-visible { outline: 2px solid var(--leaf); outline-offset: 3px; }
.type-card__icon { display: block; width: 72px; color: var(--leaf); margin-bottom: .6rem; }
.type-card__icon svg { width: 100%; height: auto; }
.type-card__label {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; line-height: 1.15;
}
.type-card__hint { font-size: .88rem; color: var(--ink-soft); }
.type-card__go {
  margin-top: .8rem; font-family: var(--font-mono); font-size: .78rem;
  letter-spacing: .06em; color: var(--leaf);
}

.plate-input--big {
  font-size: 1.5rem; letter-spacing: .18em; text-align: center; padding: 1rem .9rem;
}

.measure-note {
  background: var(--glow); border: 1px solid var(--heat-soft);
  border-radius: var(--radius); padding: 1rem 1.15rem; margin-top: 1.25rem;
}
.measure-note strong {
  display: block; font-size: .78rem; letter-spacing: .12em;
  text-transform: uppercase; color: #8A5A12; margin-bottom: .45rem;
  font-family: var(--font-mono);
}
.measure-note p { margin: 0; font-size: .9rem; color: var(--ink-2); }

.price-box {
  background: var(--mist); border: 1px solid var(--frame);
  border-radius: var(--radius); padding: 1.15rem 1.25rem; margin-top: 1.25rem;
}
.price-box__row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 1rem; font-size: .95rem; padding: .3rem 0;
}
.price-box__row--total {
  border-top: 1px solid var(--frame); margin-top: .5rem; padding-top: .8rem;
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 600;
}
.price-box__row--total .num { color: var(--leaf); font-size: 1.3rem; }

/* ------------------------------------------------------- leiðarlýsing */

.route { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: start; }
@media (max-width: 860px) { .route { grid-template-columns: 1fr; } }

.route__map {
  position: sticky; top: 5rem;
  background: var(--pane); border: 1px solid var(--frame);
  border-radius: var(--radius); overflow: hidden;
}
@media (max-width: 860px) { .route__map { position: static; } }

.route-steps { list-style: none; counter-reset: leg; padding: 0; margin: 0; }
.route-steps li {
  position: relative; counter-increment: leg;
  padding: 0 0 1.6rem 3.2rem;
  border-left: 2px solid var(--frame); margin-left: 1rem;
}
.route-steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.route-steps li::before {
  content: counter(leg);
  position: absolute; left: -1.05rem; top: -.15rem;
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--leaf-pale); color: var(--leaf);
  font-family: var(--font-mono); font-size: .85rem;
  border: 2px solid var(--paper);
}
.route-steps li:last-child::before { background: var(--leaf); color: #fff; }
.route-steps p { margin: 0; color: var(--ink-2); }
.route-steps strong { display: block; color: var(--ink); margin-bottom: .2rem; }

/* tímabilið sem verið er að bóka - kemur í stað dagsetningarvals */
.season-note {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .8rem;
  background: var(--leaf-pale); border: 1px solid var(--leaf-light);
  border-radius: var(--radius); padding: .95rem 1.15rem;
}
.season-note__label {
  width: 100%; font-family: var(--font-mono); font-size: .72rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--leaf);
  margin-bottom: .15rem;
}
.season-note strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); }
.season-note__dates { font-family: var(--font-mono); font-size: .85rem; color: var(--ink-2); }

/* skilmálar */
.terms { font-size: .95rem; }
.terms section { margin-bottom: 2rem; }
.terms h2 {
  font-size: 1.1rem; margin: 0 0 .6rem;
  padding-top: 1.2rem; border-top: 1px solid var(--frame);
}
.terms p { color: var(--ink-2); margin: 0 0 .7rem; }
.terms ul { color: var(--ink-2); margin: 0 0 .7rem; padding-left: 1.2rem; }
.terms li { margin-bottom: .3rem; }

.terms-accept {
  background: var(--leaf-pale); border: 1px solid var(--leaf-light);
  border-radius: var(--radius); padding: 1.1rem 1.2rem;
}
.terms-accept .field--check label { font-size: 1rem; color: var(--ink); }
.terms-accept a { color: var(--leaf); font-weight: 500; }

/* gátlisti með hökum - notað fyrir það sem er innifalið */
.checklist { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.checklist li {
  position: relative; padding: 0 0 .55rem 1.75rem;
  color: var(--ink-2); font-size: .95rem;
}
.checklist li::before {
  content: ''; position: absolute; left: 0; top: .42em;
  width: 11px; height: 6px;
  border-left: 2px solid var(--leaf); border-bottom: 2px solid var(--leaf);
  transform: rotate(-45deg);
}
/* punktar fyrir atriði sem eru upplýsingar en ekki innifalin þjónusta */
.checklist--note li::before {
  width: 6px; height: 6px; border: 0; border-radius: 50%;
  background: var(--heat); transform: none; top: .55em;
}

/* --------------------------------------------- stæðastaða eftir tegund */

.slots__head {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
  font-family: var(--font-mono); font-size: .75rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: 1rem;
}
.slots__head strong { color: var(--ink); font-weight: 500; }
.slots__free { color: var(--leaf) !important; }

.slots__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 760px) { .slots__grid { grid-template-columns: 1fr; } }

.slot-card {
  background: var(--pane); border: 1px solid var(--frame);
  border-radius: var(--radius); padding: 1.1rem 1.2rem;
}
.slot-card.is-full { border-color: #D9A08D; background: #FDF4F1; }
.slot-card.is-closed { opacity: .55; }
.slot-card__top {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 1rem; margin-bottom: .8rem;
}
.slot-card__label { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; }
.slot-card__count { font-family: var(--font-mono); font-size: .95rem; color: var(--ink-soft); }
.slot-card__count strong { font-size: 1.35rem; color: var(--leaf); font-weight: 500; }
.slot-card.is-full .slot-card__count strong { color: var(--alert); }

/* eitt strik á hvert stæði - fyllist eftir því sem bókast */
.slot-bar { display: flex; flex-wrap: wrap; gap: 3px; }
.slot-bar__unit {
  flex: 1 1 6px; min-width: 5px; height: 22px; border-radius: 2px;
  background: var(--frame-soft); border: 1px solid var(--frame);
}
.slot-bar__unit.is-taken { background: #E3C68E; border-color: #D2AE72; }
.slot-card.is-full .slot-bar__unit.is-taken { background: #E0A794; border-color: #CE8F79; }
.slot-card__note { margin: .6rem 0 0; font-size: .82rem; color: var(--ink-soft); }

.type-card__slots {
  margin-top: .7rem; font-family: var(--font-mono); font-size: .75rem;
  letter-spacing: .04em; color: var(--ink-soft);
}
.type-card__slots.is-full { color: var(--alert); }

/* fjöldi og verð hlið við hlið í stjórnborði */
.slot-editor td, .slot-editor th { padding: .6rem .5rem; }
.slot-editor input {
  padding: .5rem .6rem; font-family: var(--font-mono); font-size: .95rem;
  background: var(--pane); color: var(--ink);
  border: 1px solid var(--frame); border-radius: var(--radius-sm);
}
.slot-editor input:focus { border-color: var(--leaf); outline: none; }

/* staðfesting á að vagn sé kominn í hús */
.delivered-badge {
  display: flex; flex-direction: column; gap: .15rem;
  background: var(--leaf-pale); border: 1px solid var(--leaf-light);
  border-radius: var(--radius); padding: .9rem 1.1rem;
}
.delivered-badge span:first-child {
  font-family: var(--font-mono); font-size: .72rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--leaf);
}
.delivered-badge strong { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); }
