/* birtingasalan.is, Birtingasalan's sales site (templates/vefir/birtingasalan/, outlets/birtingasalan.py), in the look of
   its WordPress theme before it: the green mark, Sentinel in headings and Nitti Grotesk in text (its Adobe Fonts kit),
   Nitti for the small labels; its blue-white page with grey bars, and its dark colours where the device is dark.
   Green text on the light page is a darker green than the mark's, for legibility: a heading's (--heading-green, 3:1 for
   large type) and small text's (--green-text, 4.5:1); the focus ring is the link's green there, which shows on the light
   page (the mark's green has 1.6:1 on it). An error's red has a dark value. */
:root {
  --green: #50dc96; --pink: #f07878; --black: #141e28; --darkgrey: #2d3c4b; --grey: #5a6978; --lightgrey: #9baab9;
  --offwhite: #d2dce6; --white: #f0f5fa;
  --bg: var(--white); --card: #f7fafc; --text: var(--black); --text2: var(--darkgrey); --muted: var(--grey); --line: var(--offwhite);
  --heading-green: #109c5b; --green-text: #0b7a47; --link: #0b7a47; --focus: var(--link); --error: #c62828; --pill: var(--green); --pill-text: var(--black); --pill-hover: #3cc985;
  --alert: #fde8e8; --alert-text: #8a1f1f; --done: #e3f7ec;
  --serif: sentinel, Georgia, "Times New Roman", serif; --ui: nitti-grotesk, "Helvetica Neue", Arial, sans-serif; --mono: nitti, ui-monospace, monospace;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: var(--black); --card: #1b2733; --text: var(--white); --text2: var(--lightgrey); --muted: var(--lightgrey); --line: var(--darkgrey);
    --heading-green: var(--green); --green-text: var(--green); --link: var(--green); --focus: var(--green); --error: #ffa29c; --pill-hover: #79e6b0; --alert: #3a1d22; --alert-text: #ffb4b4; --done: #173226; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.55 var(--ui); }
a { color: var(--link); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
.bs-wrap { max-width: 1080px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.bs-bar { height: 12px; background: var(--line); }
.bs-muted { color: var(--muted); font-size: 14px; }
.bs-kicker { font: 500 11px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--green-text); }
/* (For the keyboard: past the head to the page, seen when it has the focus.) */
.bs-skip { position: absolute; left: -9999px; top: 8px; padding: 8px 14px; background: var(--bg); color: var(--text); font-weight: 700; z-index: 20; }
.bs-skip:focus { left: 8px; }
.bs-preview { background: #ffd37a; color: #000; font: 600 13px/1.3 var(--ui); text-align: center; padding: 6px 12px; }

/* Buttons: the green pill */
.bs-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 6px 20px; border: 0; border-radius: 999px;
  background: var(--pill); color: var(--pill-text) !important; font: 700 14px/1.2 var(--ui); text-decoration: none; cursor: pointer; }
.bs-pill:hover { background: var(--pill-hover); }
.bs-pill--big { min-height: 44px; padding: 10px 28px; font-size: 16px; }
.bs-link { background: none; border: 0; padding: 0; color: var(--link); font: inherit; text-decoration: underline; cursor: pointer; }

/* The head */
.bs-head__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 92px; }
.bs-brand { display: inline-flex; color: var(--text); }
.bs-logo { height: 30px; width: auto; fill: currentColor; display: block; }
.bs-logo__mark { fill: #50e682; }
.bs-nav ul { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 28px; margin: 0; padding: 0; list-style: none; }
.bs-nav a:not(.bs-pill) { color: var(--text); text-decoration: none; font-size: 15px; }
.bs-nav a:not(.bs-pill):hover, .bs-nav a[aria-current="page"]:not(.bs-pill) { color: var(--green-text); }
.bs-nav--narrow { display: none; }

/* The page */
.bs-main { padding-bottom: 72px; }
.bs-title { padding-top: 44px; }
.bs-title h1 { max-width: 22ch; }
.bs-title h1, .bs-hero h1 { font: 400 48px/1.08 var(--serif); margin: 0 0 14px; letter-spacing: -.01em; text-wrap: balance; }
.bs-intro { font-size: 19px; line-height: 1.5; color: var(--text2); margin: 0 0 8px; max-width: 62ch; }
.bs-hero { text-align: center; padding-top: 48px; padding-bottom: 0; }
.bs-hero h1 { font-size: clamp(40px, 6vw, 64px); }
.bs-hero h1 em { display: block; font-style: normal; font-weight: 700; color: var(--heading-green); }
.bs-hero .bs-intro { margin: 0 auto 24px; max-width: 46ch; }
.bs-hero__art { display: block; margin: 36px auto 0; width: min(100%, 720px); }
.bs-body { margin-top: 32px; }
.bs-title + .bs-body { max-width: 1080px; }
.bs-body > p, .bs-body > ul, .bs-body > ol, .bs-body > h3, .bs-body > blockquote { max-width: 68ch; }
.bs-body > h2 { font: 700 34px/1.15 var(--serif); color: var(--heading-green); margin: 64px 0 22px; }
.bs-body > h2:first-child { margin-top: 24px; }
.bs-body h3 { font: 700 21px/1.25 var(--serif); }
.bs-body p { margin: 0 0 14px; }

/* [[merki]]: the outlets' marks in a row */
.bs-merki { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 32px; list-style: none; padding: 8px 0 12px; margin: 0; }
.bs-body > .bs-merki { max-width: none; }
.bs-merki li { flex: 0 1 auto; max-width: 150px; min-width: 0; }
.bs-merki__a { display: flex; align-items: center; justify-content: center; height: 32px; color: var(--text); text-decoration: none; }
.bs-merki__a svg { height: 100%; width: auto; max-width: 100%; fill: currentColor; }
.bs-merki__a img { height: 100%; width: auto; filter: grayscale(1) contrast(1.6) brightness(.7); }
.bs-merki__a.bs-merki--hun, .bs-merki__a.bs-merki--blika, .bs-merki__a.bs-merki--islendingavaktin { height: 44px; }
.bs-merki__a span { font: 700 15px/1 var(--ui); }
@media (prefers-color-scheme: dark) { .bs-merki__a img { filter: grayscale(1) contrast(1.6) brightness(.7) invert(1); } }

/* [[pakkar]]: a card for each package */
.bs-pakkar { margin-bottom: 20px; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.bs-pakki { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 26px 22px 24px; background: var(--card); border: 1px solid var(--line); scroll-margin-top: 20px; }
.bs-pakki h3 { font: 700 26px/1.15 var(--serif); margin: 6px 0 10px; }
.bs-pakki__text, .bs-pakki__price { width: 100%; font-size: 15px; color: var(--text2); }
.bs-pakki__text p, .bs-pakki__price p { margin: 0; padding: 10px 0; border-top: 1px solid var(--line); }
.bs-pakki__price strong { color: var(--text); font-variant-numeric: tabular-nums; }
.bs-pakki__figure strong { display: block; font: 700 26px/1.15 var(--serif); margin-bottom: 2px; }
.bs-pakki__price .bs-pakki__figure { padding-top: 14px; }
.bs-pakki__price s { color: var(--muted); }
.bs-pakki__price .bs-muted { border-top: 0; padding-top: 0; font-size: 14px; }
/* (the price at the card's foot, above its button: the prices of a row side by side) */
.bs-pakki .bs-pill { width: 100%; }
.bs-pakki__price { margin: auto 0 14px; }

/* [[solufolk]] */
.bs-folk { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.bs-folk__card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 26px 18px; background: var(--card); border: 1px solid var(--line); }
.bs-folk__pic { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin-bottom: 10px; }
.bs-folk__pic--initials { display: flex; align-items: center; justify-content: center; background: var(--green); color: var(--pill-text); font: 700 30px/1 var(--serif); }
.bs-folk__card h3 { font: 700 20px/1.2 var(--serif); margin: 0; }
.bs-folk__card .bs-kicker { margin-bottom: 8px; }
.bs-folk__card a { font-size: 14px; }

/* [[midlar]] */
.bs-midlar { border-top: 1px solid var(--line); }
.bs-midill { display: grid; grid-template-columns: 180px minmax(0, 1fr) auto; gap: 16px 32px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 20px; }
.bs-midill__logo { height: 44px; display: flex; align-items: center; color: var(--text); }
.bs-midill__logo svg { height: 100%; width: auto; max-width: 100%; fill: currentColor; }
.bs-midill__logo img { height: 100%; width: auto; }
.bs-midill h2 { font: 700 21px/1.25 var(--serif); margin: 0 0 4px; }
.bs-midill p { margin: 0 0 4px; color: var(--text2); }
.bs-midill__links { font-size: 14px; }
.bs-midill > .bs-pill { white-space: nowrap; }

/* [[tolur]] */
.bs-tolur { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 0 0 8px; }
.bs-tolur div { background: var(--card); padding: 18px 20px; display: flex; flex-direction: column-reverse; }
.bs-tolur dd { margin: 0; font: 700 34px/1.1 var(--serif); font-variant-numeric: tabular-nums; }
.bs-tolur dt { font: 500 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.bs-tolur__text { font-size: 18px; }

/* The form, [[pontun]] and [[min_sida]] */
.bs-pontun, .bs-min { max-width: 640px; }
.bs-form { position: relative; }
.bs-form--narrow { max-width: 440px; }
.bs-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.bs-field { margin: 0 0 20px; min-width: 0; }
.bs-field label, .bs-choices legend { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.bs-field label span, .bs-choices legend span { color: var(--pink); margin-left: 2px; }
.bs-field input:not([type=checkbox]):not([type=radio]), .bs-field select, .bs-field textarea {
  width: 100%; font: 16px/1.4 var(--ui); color: var(--text); background: transparent; border: 1px solid var(--text2); border-radius: 4px; padding: 10px 10px; min-height: 44px; }
.bs-field select { background: var(--bg); }
.bs-field input[type=file] { padding: 6px; font-size: 15px; color: var(--text2); }
.bs-field input[type=file]::file-selector-button, .bs-efni__send input[type=file]::file-selector-button { margin-right: 12px; padding: 6px 16px; border: 1px solid var(--text2); border-radius: 999px; background: var(--bg); color: var(--text); font: 700 14px/1.2 var(--ui); cursor: pointer; }
.bs-field small, .bs-choices small, .bs-account small { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
.bs-choices { border: 1px solid var(--text2); border-radius: 6px; padding: 12px 18px 14px; margin: 0 0 20px; min-width: 0; }
.bs-choices legend { padding: 0 6px; margin-left: -6px; }
.bs-choices__list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.bs-choices__list label { display: flex; gap: 8px; align-items: center; font-size: 15px; cursor: pointer; }
.bs-choices input, .bs-account input { accent-color: var(--link); width: 18px; height: 18px; margin: 0; flex: none; }
.bs-account { padding: 14px 18px; background: var(--done); border-radius: 6px; margin: 0 0 20px; }
.bs-account label { display: flex; gap: 8px; align-items: center; }
.bs-account .bs-field { margin: 14px 0 0; }
.bs-account .bs-field input { background: var(--bg); }
.bs-views { margin: 6px 0 0; font-size: 14.5px; font-weight: 500; color: var(--text); }
.bs-views:empty { display: none; }
.bs-pontun [hidden] { display: none !important; }
.bs-field--error input, .bs-field--error select, .bs-field--error textarea, .bs-choices.bs-field--error { border-color: var(--error) !important; }
.bs-error { color: var(--error); font-size: 14px; margin: 4px 0 0 !important; }
.bs-alert { background: var(--alert); color: var(--alert-text); padding: 12px 16px; border-radius: 6px; margin: 0 0 20px; }
.bs-alert p { margin: 0; }
.bs-done { background: var(--done); padding: 22px 24px; border-radius: 6px; }
.bs-done h2 { font: 700 26px/1.2 var(--serif); margin: 0 0 8px; color: var(--text); }
.bs-min__who { padding: 18px 20px; background: var(--card); border: 1px solid var(--line); margin-bottom: 8px; }
.bs-min h2 { font: 700 24px/1.2 var(--serif); margin: 32px 0 12px; }
.bs-table { overflow-x: auto; margin-bottom: 20px; }
.bs-table table { border-collapse: collapse; width: 100%; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.bs-table th, .bs-table td { text-align: left; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.bs-table th { font: 500 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.bs-table .r { text-align: right; padding-right: 0; }
.bs-table small { color: var(--muted); font-size: 13px; }
.bs-status { display: inline-block; padding: 1px 9px; border-radius: 999px; font-size: 13px; background: var(--line); color: var(--text); white-space: nowrap; }
.bs-status--vinnsla, .bs-status--tilbod, .bs-status--samthykkt, .bs-status--birting { background: var(--done); }
.bs-status--hafnad { background: var(--alert); color: var(--alert-text); }

/* Mín síða: a card for each order */
.bs-order { background: var(--card); border: 1px solid var(--line); padding: 18px 20px; margin: 0 0 14px; scroll-margin-top: 20px; }
.bs-order:target { border-color: var(--green); box-shadow: 0 0 0 2px var(--green); }
.bs-order__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.bs-order h3 { font: 700 19px/1.25 var(--serif); margin: 0; }
.bs-order h4 { font: 500 11px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.bs-order__facts { display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 12px 0 0; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.bs-order__facts dt { font: 500 11px/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.bs-order__facts dd { margin: 0; }
.bs-offer, .bs-report, .bs-efni { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 12px; font-size: 14.5px; }
.bs-offer { background: var(--done); border-top: 0; padding: 14px 16px; border-radius: 6px; }
.bs-offer p { margin: 0 0 10px; }
.bs-offer__answer { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.bs-report p { margin: 0; }
.bs-efni__row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 6px; word-break: break-word; }
.bs-efni__send { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 6px; }
.bs-efni__send input[type=file] { font: inherit; font-size: 14px; max-width: 100%; }
.bs-efni__send small { flex-basis: 100%; color: var(--muted); font-size: 13px; }
.bs-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* [[reiknivel]] and the form's booked days */
.bs-calc { background: var(--card); border: 1px solid var(--line); padding: 20px 22px 6px; margin: 0 0 20px; max-width: 760px; }
.bs-calc__out { font-size: 17px; min-height: 1.5em; margin: 0 0 6px; }
.bs-calc__out strong { color: var(--green-text); }
.bs-calc__small { width: 9em; padding: 4px 8px; font: inherit; border: 1px solid var(--text2); border-radius: 4px; background: var(--bg); color: var(--text); }
.bs-pakki__where { margin: 0; padding: 8px 0; border-top: 1px solid var(--line); width: 100%; font: 500 11px/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.bs-booked { margin: -8px 0 20px; font-size: 14px; color: var(--alert-text); }
.bs-choices__list label.is-sold { color: var(--muted); text-decoration: line-through; cursor: not-allowed; }

/* The foot */
.bs-foot { padding-bottom: 40px; }
.bs-foot__text { padding-top: 22px; font-size: 13px; line-height: 1.7; color: var(--text2); text-align: center; }
.bs-foot__text p { display: inline; margin: 0; }
.bs-foot__text strong { color: var(--text); }

@media (max-width: 760px) {
  .bs-head__in { min-height: 72px; }
  .bs-logo { height: 26px; }
  .bs-nav--wide { display: none; }
  .bs-nav--narrow { display: block; }
  .bs-head { position: relative; }
  /* (iPhones send a tap on a plain area to the page only where it looks clickable: outside the open menu it closes it) */
  .bs-menu-open body { cursor: pointer; }
  .bs-nav__btn { display: block; cursor: pointer; width: 44px; height: 44px; margin: -12px -8px; padding: 0; border: 0; background: none; position: relative; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
  .bs-nav__btn span, .bs-nav__btn::before, .bs-nav__btn::after { content: ""; position: absolute; left: 8px; right: 8px; height: 2px; background: var(--text); }
  .bs-nav__btn::before { top: 12px; } .bs-nav__btn span { top: 21px; } .bs-nav__btn::after { bottom: 12px; }
  .bs-nav--narrow nav { display: none; }
  .bs-nav--narrow.is-open nav { display: block; position: absolute; left: 0; right: 0; top: 72px; background: var(--bg); padding: 8px 20px 20px; z-index: 10; border-bottom: 1px solid var(--line); }
  .bs-nav--narrow.is-open ul { flex-direction: column; align-items: flex-start; gap: 16px; }
  /* (open: the three bars become an X, the sign that the same button closes it) */
  .bs-nav--narrow.is-open .bs-nav__btn span { opacity: 0; }
  .bs-nav--narrow.is-open .bs-nav__btn::before { top: 21px; transform: rotate(45deg); }
  .bs-nav--narrow.is-open .bs-nav__btn::after { bottom: 21px; transform: rotate(-45deg); }

  .bs-title { padding-top: 28px; }
  .bs-title h1 { font-size: 36px; }
  .bs-intro { font-size: 17px; }
  .bs-body > h2 { font-size: 28px; margin-top: 48px; }
  .bs-midill { grid-template-columns: 1fr; gap: 10px; }
  .bs-midill > .bs-pill { justify-self: start; }
  .bs-midill__logo { height: 36px; }
  .bs-row, .bs-choices__list { grid-template-columns: 1fr; }
  .bs-merki { justify-content: flex-start; gap: 16px 24px; }
  .bs-merki li { max-width: 110px; }
  .bs-merki__a { height: 24px; }
  .bs--front .bs-pakkar { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 82%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px 20px; padding: 0 20px 8px; scroll-padding: 0 20px; }
  .bs--front .bs-pakki { scroll-snap-align: start; }
  .bs-merki__a.bs-merki--hun, .bs-merki__a.bs-merki--blika, .bs-merki__a.bs-merki--islendingavaktin { height: 34px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
