/* Gamla útlitið · Síður með flipum: the old site's layout brought up to date.
 * Header with the wordmark and orange tabs (a menu button below 900px), the page in a
 * light column between two narrow side columns, then a short orange footer.
 * Each page is short enough to fit a laptop screen; on phones the sides follow the page. */

.sec-pages-sidur { min-height: 100dvh; display: flex; flex-direction: column; color: var(--ink); }
.sec-pages-sidur .sd-wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sec-pages-sidur a { color: inherit; }

/* ---------- Header: a bar like Fyrsta tilraun's (B · Birta) ---------- */
.sec-pages-sidur .sd-head { position: sticky; top: 0; z-index: 40;  /* stays at the top where the page scrolls (phones) */ background: var(--header-bg); border-bottom: 1px solid var(--line); }
.sec-pages-sidur .sd-head-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.sec-pages-sidur .sd-logo { font-family: var(--font-logo); font-size: clamp(21px, 2.4vw, 27px); color: var(--ink); text-decoration: none; white-space: nowrap; min-width: 0; }
.sec-pages-sidur .sd-logo span { color: var(--logo-accent); }
.sec-pages-sidur .sd-head-right { display: flex; align-items: center; align-self: stretch; gap: 10px; }
/* the page links as orange tabs on the header's bottom edge, like the old site; the current one
   takes the page's colour and runs into it */
.sec-pages-sidur .sd-nav { display: flex; align-self: stretch; align-items: flex-end; gap: 4px; margin-right: 14px; }
.sec-pages-sidur .sd-nav a {
  position: relative; top: 1px; padding: 11px 16px 10px; border: 1px solid transparent; border-bottom: 0; border-radius: 8px 8px 0 0;
  background: var(--accent); color: var(--on-accent); text-decoration: none; white-space: nowrap;
  font: 700 13px/1 var(--font-head); letter-spacing: .05em; text-transform: uppercase; transition: background .15s;
}
.sec-pages-sidur .sd-nav a:hover { background: var(--accent-2); }
@media (max-width: 1240px) { .sec-pages-sidur .sd-nav a { padding-inline: 11px; font-size: 12px; letter-spacing: .03em; } .sec-pages-sidur .sd-nav { margin-right: 6px; } }
.sec-pages-sidur .sd-nav a[aria-current="page"] { background: var(--surface); color: var(--accent-ink); border-color: var(--line); }
.sec-pages-sidur .sd-burger {
  display: none; align-items: center; gap: 10px; height: 40px; padding: 0 16px; border-radius: 999px; cursor: pointer; flex: none;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); font: 600 14px/1 var(--font-head);
}
.sec-pages-sidur .sd-burger .lines { width: 18px; }
.sec-pages-sidur .sd-burger .lines i { display: block; height: 2px; background: currentColor; border-radius: 2px; }
.sec-pages-sidur .sd-burger .lines i + i { margin-top: 4px; }
.sec-pages-sidur .sd-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* ---------- Phone menu (drawer) ---------- */
.sec-pages-sidur .sd-drawer { position: fixed; inset: 0; z-index: 50; visibility: hidden; }
.sec-pages-sidur .sd-scrim { position: absolute; inset: 0; background: rgba(34, 30, 25, .45); opacity: 0; transition: opacity .2s; }
.sec-pages-sidur .sd-drawer-panel {
  position: absolute; inset: 0 0 0 auto; width: min(340px, 88vw); display: flex; flex-direction: column; gap: 16px; overflow-y: auto; overscroll-behavior: contain;
  padding: 64px 20px 24px; background: var(--panel); border-top: 5px solid var(--accent); box-shadow: var(--shadow-pop);
  translate: 100% 0; transition: translate .25s ease;
}
.menu-open .sec-pages-sidur .sd-drawer { visibility: visible; }
.menu-open .sec-pages-sidur .sd-scrim { opacity: 1; }
.menu-open .sec-pages-sidur .sd-drawer-panel { translate: 0 0; }
.sec-pages-sidur .sd-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--bg-2); cursor: pointer; }
.sec-pages-sidur .sd-drawer-nav { display: grid; gap: 2px; }
.sec-pages-sidur .sd-drawer-nav a { padding: 13px 12px; border-radius: var(--radius-sm); font: 700 16px/1.2 var(--font-head); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; }
.sec-pages-sidur .sd-drawer-nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-ink); box-shadow: inset 4px 0 0 var(--accent); }
.sec-pages-sidur .sd-drawer-contact { margin-top: auto; display: grid; gap: 8px; padding: 16px 12px 0; border-top: 1px solid var(--line); color: var(--ink-2); }

/* ---------- Page and sides ---------- */
.sec-pages-sidur .sd-body {
  --main: 700px;  /* narrow; .is-wide: the whole width */
  flex: 1; display: grid; grid-template-columns: minmax(0, var(--main)); grid-template-areas: "main"; justify-content: center;
  align-items: stretch;  /* the side columns are no panels of their own: the booking box sits on the page background */
}
.sec-pages-sidur .sd-body.is-wide { --main: 1fr; }
.sec-pages-sidur .sd-main { grid-area: main; padding: 28px 32px 36px; background: var(--surface); border-inline: 1px solid var(--line); box-shadow: 0 0 24px rgba(60, 40, 10, .05); }
.sec-pages-sidur .sd-side { align-self: start; }
.sec-pages-sidur .sd-right { grid-area: right; }
.sec-pages-sidur .sd-side:empty { display: none; }  /* no booking box: no right column */
.sec-pages-sidur .sd-side { display: grid; gap: 14px; padding: 20px 14px; }

.sec-pages-sidur h1 { margin: 0 0 14px; font: var(--display-weight) clamp(22px, 2.2vw, 27px)/1.2 var(--font-display); color: var(--ink-2); text-wrap: balance; }
.sec-pages-sidur .sd-main h2 { margin: 0 0 10px; font: 700 16px/1.3 var(--font-head); color: var(--accent-ink); letter-spacing: .02em; }
.sec-pages-sidur .sd-main p { margin: 0 0 10px; font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 78ch; }
.sec-pages-sidur .sd-main .sd-strong { color: var(--ink); font-weight: 700; }
.sec-pages-sidur .sd-note { font-size: 14px !important; color: var(--muted) !important; }

.sec-pages-sidur .sd-box { display: block; padding: 14px 16px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; }
.sec-pages-sidur .sd-box h2 { margin: -14px -16px 12px; padding: 10px 16px; border-radius: var(--radius) var(--radius) 0 0; background: var(--accent); color: var(--on-accent); font: 700 13px/1.2 var(--font-head); letter-spacing: .06em; text-transform: uppercase; }
.sec-pages-sidur .sd-more { display: inline-block; margin-top: 12px; font: 600 14px/1.3 var(--font-head); color: var(--accent-ink); text-decoration: none; }
.sec-pages-sidur .sd-more:hover { text-decoration: underline; }



.sec-pages-sidur .sd-btn {
  display: inline-flex; align-items: center; justify-content: center; margin-top: 14px; padding: 11px 18px; border: 0; border-radius: var(--radius-sm);
  background: var(--accent); color: var(--on-accent); font: 700 14px/1 var(--font-head); letter-spacing: .03em; text-decoration: none; cursor: pointer;
  transition: background .15s, box-shadow .15s;
}
.sec-pages-sidur .sd-box .sd-btn { width: 100%; }
.sec-pages-sidur .sd-btn:hover { background: var(--accent-2); box-shadow: var(--btn-shadow-hover); }

/* ---------- Forsíða: the photo viewer from apartments A · Kvöld (large photo, caption and
   count, arrows, a row of thumbnails), about the size of the old site's photo ---------- */
.sec-pages-sidur .sd-viewer { margin-top: 14px; max-width: 600px; outline: none; }
.sec-pages-sidur .sd-viewer:focus-visible .carousel-stage { outline: 2px solid var(--accent); outline-offset: 3px; }
.sec-pages-sidur .sd-viewer .carousel-stage { position: relative; aspect-ratio: 2 / 1; overflow: hidden; border-radius: var(--radius); background: var(--bg-3); touch-action: pan-y; }
.sec-pages-sidur .sd-viewer .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s ease; }
.sec-pages-sidur .sd-viewer .slide.active { opacity: 1; }
.sec-pages-sidur .sd-viewer .carousel-stage::after { content: ""; position: absolute; inset: auto 0 0 0; height: 32%; background: linear-gradient(transparent, rgba(0, 0, 0, .55)); pointer-events: none; }
.sec-pages-sidur .sd-viewer .carousel-meta {
  position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 12px; display: flex; justify-content: space-between; align-items: end; gap: 12px;
  font-size: 14px; color: #fff; pointer-events: none; text-shadow: 0 1px 6px rgba(0, 0, 0, .5);
}
.sec-pages-sidur .sd-viewer .carousel-count { font: 600 13px/1 var(--font-head); padding: 6px 10px; border-radius: 999px; background: rgba(0, 0, 0, .45); white-space: nowrap; }
.sec-pages-sidur .sd-viewer .carousel-prev,
.sec-pages-sidur .sd-viewer .carousel-next {
  position: absolute; z-index: 2; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 42px; height: 42px; padding: 0;
  border: 0; border-radius: 50%; background: var(--glass); color: var(--ink); cursor: pointer; box-shadow: var(--shadow);
  transition: background .2s, color .2s;
}
.sec-pages-sidur .sd-viewer .carousel-prev { left: 12px; }
.sec-pages-sidur .sd-viewer .carousel-next { right: 12px; }
.sec-pages-sidur .sd-viewer .carousel-prev:hover,
.sec-pages-sidur .sd-viewer .carousel-next:hover { background: var(--accent); color: var(--on-accent); }
.sec-pages-sidur .sd-viewer svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sec-pages-sidur .sd-viewer .carousel-thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 6px; scrollbar-width: thin; }
.sec-pages-sidur .sd-viewer .carousel-thumbs button {
  flex: 0 0 auto; width: 80px; aspect-ratio: 3 / 2; padding: 0; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer;
  border: 2px solid transparent; opacity: .55; scroll-snap-align: center; background: none; transition: opacity .2s, border-color .2s;
}
.sec-pages-sidur .sd-viewer .carousel-thumbs button:hover { opacity: .85; }
.sec-pages-sidur .sd-viewer .carousel-thumbs button.active { opacity: 1; border-color: var(--accent); }
.sec-pages-sidur .sd-viewer .carousel-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Íbúðirnar ---------- */
.sec-pages-sidur .sd-cols { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; margin-top: 18px; }
.sec-pages-sidur .sd-list { margin: 0 0 12px; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; color: var(--ink-2); }
.sec-pages-sidur .sd-list li { padding: 8px 12px; background: var(--paper); border-radius: var(--radius-sm); }
.sec-pages-sidur .sd-list b { color: var(--ink); }
.sec-pages-sidur .sd-amen { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 15px; color: var(--ink-2); }
.sec-pages-sidur .sd-amen li { display: flex; align-items: center; gap: 10px; }
.sec-pages-sidur .sd-amen .amenity-icon { flex: none; color: var(--accent-ink); }
.sec-pages-sidur .sd-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 6px; text-decoration: none; }
.sec-pages-sidur .sd-thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); }
.sec-pages-sidur .sd-thumbs span { grid-column: 1 / -1; font: 600 14px/1.3 var(--font-head); color: var(--accent-ink); }
.sec-pages-sidur .sd-thumbs:hover span { text-decoration: underline; }

/* ---------- Myndir ---------- */
.sec-pages-sidur .sd-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.sec-pages-sidur .sd-grid button { padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; background: var(--bg-3); box-shadow: var(--shadow); }
.sec-pages-sidur .sd-grid-blank { aspect-ratio: 1; }  /* the last page's empty places */
.sec-pages-sidur .sd-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: scale .3s, opacity .2s; }
.sec-pages-sidur .sd-grid button:hover img { scale: 1.05; }
.sec-pages-sidur .sd-paging { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
.sec-pages-sidur .sd-paging a { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 8px; border: 1px solid var(--line); border-radius: var(--radius-sm); font: 600 14px/1 var(--font-head); text-decoration: none; background: var(--surface); }
.sec-pages-sidur .sd-paging a:hover { border-color: var(--accent); }
.sec-pages-sidur .sd-paging a[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

/* --lb-bg / --lb-fg: the dark theme colours, or the dev bar's choice (sidur.js) */
.sec-pages-sidur .sd-lightbox { --lb-bg: var(--dark); --lb-fg: var(--on-dark); width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; overflow: hidden; background: var(--lb-bg); color: var(--lb-fg); }
.sec-pages-sidur .sd-lightbox::backdrop { background: var(--lb-bg); }
.sec-pages-sidur .sd-lightbox .carousel { --dark: var(--lb-bg); --on-dark: var(--lb-fg); height: 100%; min-width: 0; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; grid-template-columns: minmax(0, 1fr); outline: none; }
.sec-pages-sidur .lb-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; padding: 12px var(--gutter); }
.sec-pages-sidur .lb-top .lb-btn { flex: none; }
.sec-pages-sidur .lb-meta { display: flex; flex: 1; gap: 14px; align-items: baseline; min-width: 0; overflow: hidden; }
.sec-pages-sidur .sd-lightbox .carousel-count { font: 600 14px/1 var(--font-head); white-space: nowrap; }
.sec-pages-sidur .sd-lightbox .carousel-caption { flex: 1; min-width: 0; opacity: .75; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sec-pages-sidur .sd-lightbox .carousel-stage { position: relative; margin: 0 var(--gutter); touch-action: pan-y; }
.sec-pages-sidur .sd-lightbox .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .4s; }
.sec-pages-sidur .sd-lightbox .slide.active { opacity: 1; }
.sec-pages-sidur .lb-btn {
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0; cursor: pointer; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--on-dark) 25%, transparent); background: color-mix(in srgb, var(--dark) 60%, transparent); color: var(--on-dark);
}
.sec-pages-sidur .lb-btn:hover { background: var(--on-dark); color: var(--dark); }
.sec-pages-sidur .lb-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sec-pages-sidur .sd-lightbox .carousel-prev, .sec-pages-sidur .sd-lightbox .carousel-next { position: absolute; top: 50%; translate: 0 -50%; z-index: 2; }
.sec-pages-sidur .sd-lightbox .carousel-prev { left: 8px; }
.sec-pages-sidur .sd-lightbox .carousel-next { right: 8px; }
.sec-pages-sidur .sd-lightbox .carousel-thumbs { display: flex; gap: 6px; overflow-x: auto; padding: 14px var(--gutter) 18px; scrollbar-width: none; }
.sec-pages-sidur .sd-lightbox .carousel-thumbs button { flex: none; width: 84px; height: 56px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; cursor: pointer; opacity: .55; background: none; }
.sec-pages-sidur .sd-lightbox .carousel-thumbs button.active { opacity: 1; border-color: var(--on-dark); }
.sec-pages-sidur .sd-lightbox .carousel-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Fyrirspurnir ---------- */
.sec-pages-sidur .sd-form { display: grid; gap: 12px; margin-top: 8px; max-width: 620px; }
.sec-pages-sidur .sd-row { display: grid; gap: 12px; }
.sec-pages-sidur .sd-row-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sec-pages-sidur .sd-row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sec-pages-sidur .sd-form label { display: grid; gap: 5px; font: 600 14px/1.2 var(--font-head); color: var(--ink-2); }
.sec-pages-sidur .sd-form small { margin-left: 4px; font: 400 12px/1 var(--font-body); color: var(--muted); }
.sec-pages-sidur .sd-req { color: var(--accent-2); }
.sec-pages-sidur .sd-form input, .sec-pages-sidur .sd-form textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper);
  font: 400 16px/1.4 var(--font-body); color: var(--ink); color-scheme: var(--scheme); transition: border-color .15s, background .15s;
}
.sec-pages-sidur .sd-form textarea { resize: vertical; min-height: 96px; }
.sec-pages-sidur .sd-form input:focus, .sec-pages-sidur .sd-form textarea:focus { outline: none; border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 3px var(--accent-soft); }
.sec-pages-sidur .sd-send { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.sec-pages-sidur .sd-send .sd-btn { margin: 0; padding-inline: 28px; }
.sec-pages-sidur .sd-send .sd-note { margin: 0; flex: 1 1 220px; }

/* ---------- Staðsetning: what's nearby as Fyrsta tilraun's small cards, then the map ---------- */
.sec-pages-sidur .sd-main .sd-near-title { margin: 16px 0 10px; }
.sec-pages-sidur .sd-near { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.sec-pages-sidur .sd-near li { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px 12px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.sec-pages-sidur .sd-near .ico {
  flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  color: var(--accent-ink); background: var(--accent-soft);
}
.sec-pages-sidur .sd-near .ico svg { width: 19px; height: 19px; }
.sec-pages-sidur .sd-near li > span:last-child { min-width: 0; overflow-wrap: break-word; }
.sec-pages-sidur .sd-near b { display: block; font: 700 14px/1.25 var(--font-head); color: var(--ink); }
.sec-pages-sidur .sd-near small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.3; color: var(--muted); }
.sec-pages-sidur .sd-map { margin-top: 14px; aspect-ratio: 16 / 7; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-3); }
.sec-pages-sidur .sd-map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ---------- Gott að vita: the facts in a grid, then the rules numbered in two columns ---------- */
.sec-pages-sidur .sd-facts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 6px; }
.sec-pages-sidur .sd-facts-grid div { padding: 10px 12px; border-radius: var(--radius-sm); background: var(--paper); border: 1px solid var(--line); }
.sec-pages-sidur .sd-facts-grid dt { font-size: 13px; color: var(--muted); }
.sec-pages-sidur .sd-facts-grid dd { margin: 2px 0 0; font-weight: 700; color: var(--ink); }
.sec-pages-sidur .sd-main .sd-rules-title { margin: 16px 0 6px; }
.sec-pages-sidur .sd-rules { margin: 14px 0 0; padding: 0; list-style: none; counter-reset: rule; columns: 2; column-gap: 28px; }
.sec-pages-sidur .sd-rules li { position: relative; break-inside: avoid; margin-bottom: 12px; padding-left: 34px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); counter-increment: rule; }
.sec-pages-sidur .sd-rules li::before {
  content: counter(rule); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-ink); font: 700 12px/1 var(--font-head);
}

/* ---------- Booking: the booking box with the calendar inline, in the right column ---------- */
/* the page to the left of it, or (.is-both) in the middle with an empty column of the same width on the left */
.sec-pages-sidur .sd-body:has(.sd-book, .sd-stay) { grid-template-columns: minmax(0, var(--main)) 300px; grid-template-areas: "main right"; }
.sec-pages-sidur .sd-body.is-both:has(.sd-book, .sd-stay) { grid-template-columns: 300px minmax(0, var(--main)) 300px; grid-template-areas: "left main right"; }
.sec-pages-sidur .sd-body.is-both:has(.sd-book, .sd-stay) { width: min(1300px, 100% - 2 * var(--gutter)); }   /* 300 + 700 + 300 */
.sec-pages-sidur .sd-body.is-wide.is-both:has(.sd-book, .sd-stay) { width: calc(100% - 2 * var(--gutter)); }
.sec-pages-sidur .sd-book { display: grid; gap: 10px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.sec-pages-sidur .sd-book-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 36px; margin: -14px -14px 2px; padding: 10px 14px; border-radius: var(--radius) var(--radius) 0 0; background: var(--accent); color: var(--on-accent); }
/* one line whatever is picked, so the box keeps its size: the title, and the nights and price to its right */
.sec-pages-sidur .sd-book .booking-title { flex: 1; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.sec-pages-sidur .sd-book .booking-title strong { flex: none; font: 700 13px/1.2 var(--font-head); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.sec-pages-sidur .sd-book .booking-summary { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; line-height: 1.2; font-weight: 600; color: inherit; }
.sec-pages-sidur .sd-book .booking-summary:empty { display: none; }
.sec-pages-sidur .sd-book .booking-title { min-width: 0; }
.sec-pages-sidur .sd-book-close { display: none; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--on-accent) 12%, transparent); color: inherit; cursor: pointer; }
.sec-pages-sidur .sd-book-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.sec-pages-sidur .sd-book-dates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sec-pages-sidur .sd-book .field { display: grid; gap: 4px; min-width: 0; }
.sec-pages-sidur .sd-book .field > span { font: 600 12px/1 var(--font-head); color: var(--muted); }
.sec-pages-sidur .sd-book .field input, .sec-pages-sidur .sd-book .field select {
  width: 100%; min-width: 0; padding: 9px 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper);
  font: 600 14px/1.2 var(--font-body); color: var(--ink); color-scheme: var(--scheme);
}
.sec-pages-sidur .sd-book .field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.sec-pages-sidur .sd-book .btn { width: 100%; padding: 12px 18px; border-radius: var(--radius-sm); background: var(--accent); color: var(--on-accent); box-shadow: none; }
.sec-pages-sidur .sd-book .btn:hover { background: var(--accent-2); transform: none; }
.sec-pages-sidur .sd-book .btn.is-waiting { opacity: .55; }
.sec-pages-sidur .sd-book .booking-hint { margin: 0; font-size: 13px; }
.sec-pages-sidur .sd-book .booking-hint:empty { display: none; }
.sec-pages-sidur .sd-book .booking-hint.bad { color: var(--bad); }
.sec-pages-sidur .sd-cal .dp-days button:hover:not([disabled]) { background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }

/* phones: a "Book your stay" button that opens the box as a sheet from the bottom */
.sec-pages-sidur .sd-book-fab, .sec-pages-sidur .sd-book-scrim { display: none; }

/* ---------- Footer ---------- */
.sec-pages-sidur .sd-foot { background: var(--accent); color: var(--on-accent); border-top: 4px solid var(--dark); }
/* two rows in four columns: name, address, phone, email; under them the company's details, smaller */
.sec-pages-sidur .sd-foot-in { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 4px 24px; padding-block: 14px 12px; font-size: 14.5px; }
.sec-pages-sidur .sd-foot-name { font-weight: 700; }
.sec-pages-sidur .sd-foot-co { font-size: 12.5px; opacity: .8; }

/* the dev bar (locally and on the demo): show the booking box or not; x hides it until the next load */
.sec-pages-sidur .sd-devbar {
  position: fixed; z-index: 80; left: 50%; bottom: 12px; translate: -50% 0; display: flex; align-items: center; gap: 10px;
  padding: 6px 6px 6px 8px; border-radius: 999px; background: var(--dark); color: var(--on-dark); box-shadow: var(--shadow-pop);
  font: 600 13px/1 var(--font-head); white-space: nowrap;
}
.sec-pages-sidur .sd-devbar[hidden] { display: none; }
.sec-pages-sidur .sd-devbar-group { display: flex; align-items: center; gap: 8px; }
.sec-pages-sidur .sd-devbar-label { opacity: .75; }
.sec-pages-sidur .sd-devbar-tag { padding: 5px 8px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.sec-pages-sidur .sd-devbar-switch { display: flex; padding: 3px; border-radius: 999px; background: color-mix(in srgb, var(--on-dark) 12%, transparent); }
.sec-pages-sidur .sd-devbar-switch a { padding: 6px 12px; border-radius: 999px; color: inherit; text-decoration: none; opacity: .75; }
.sec-pages-sidur .sd-devbar-switch button { padding: 6px 12px; border: 0; border-radius: 999px; background: none; color: inherit; font: inherit; cursor: pointer; opacity: .75; }
.sec-pages-sidur .sd-devbar-switch button[aria-pressed="true"],
.sec-pages-sidur .sd-devbar-switch a[aria-current="true"] { background: var(--on-dark); color: var(--dark); opacity: 1; }
.sec-pages-sidur .sd-devbar-range { width: 110px; accent-color: var(--accent); cursor: pointer; }
/* in the lightbox: only the background switch, above the thumbnails */
.sec-pages-sidur .sd-lightbox .sd-devbar { bottom: auto; top: 12px; }  /* in the top row, between the count and the close button */
.sec-pages-sidur .sd-lightbox .sd-devbar-group:not([data-key="photo-bg"]) { display: none; }
.sec-pages-sidur .sd-devbar-close { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: none; color: inherit; cursor: pointer; opacity: .8; }
.sec-pages-sidur .sd-devbar-close:hover { opacity: 1; background: color-mix(in srgb, var(--on-dark) 12%, transparent); }
.sec-pages-sidur .sd-devbar-close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.sec-pages-sidur .sd-foot a { text-decoration: none; font-weight: 600; }
.sec-pages-sidur .sd-foot a:hover { text-decoration: underline; }

/* ---------- Booking and payment pages (sidur/flow.html: .sd-flow in the page, .sd-stay on the right) ----------
 * The same templates as the plain frame (book.html, pay_*.html, booking_done.html), restyled to sit on the page:
 * no cards inside it, the small serif-free headings, square-ish fields and buttons like the enquiry form. */
.sec-pages-sidur .sd-flow .flow-head { margin-bottom: 18px; }
.sec-pages-sidur .sd-flow .flow-head .kicker { margin: 0 0 8px; font: 700 12px/1 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.sec-pages-sidur .sd-flow .flow-head h1 { margin: 0; font: var(--display-weight) clamp(22px, 2.2vw, 27px)/1.2 var(--font-display); letter-spacing: 0; color: var(--ink-2); }
.sec-pages-sidur .sd-flow .flow-head p { margin: 8px 0 0; max-width: none; }
.sec-pages-sidur .sd-flow .flow-head-last { margin-bottom: 0; }
.sec-pages-sidur .sd-flow .flow-grid { display: block; }
.sec-pages-sidur .sd-flow .card { padding: 0; border: 0; border-radius: 0; background: none; }
.sec-pages-sidur .sd-flow .flow-narrow { max-width: none; }
.sec-pages-sidur .sd-flow .card-rule { margin: 18px 0 14px; }
.sec-pages-sidur .sd-flow .form-grid { gap: 12px 14px; }
.sec-pages-sidur .sd-flow .fld { gap: 5px; font: 600 14px/1.2 var(--font-head); color: var(--ink-2); }
.sec-pages-sidur .sd-flow .fld input, .sec-pages-sidur .sd-flow .fld select, .sec-pages-sidur .sd-flow .fld textarea,
.sec-pages-sidur .sd-flow .dial-shown, .sec-pages-sidur .sd-flow .dial-box {
  border-radius: var(--radius-sm); background-color: var(--paper); font-family: var(--font-body); color-scheme: var(--scheme);
}
.sec-pages-sidur .sd-flow .fld input, .sec-pages-sidur .sd-flow .fld select, .sec-pages-sidur .sd-flow .fld textarea { padding: 10px 12px; }
.sec-pages-sidur .sd-flow .fld select { padding-right: 40px; }
.sec-pages-sidur .sd-flow .fld input:focus, .sec-pages-sidur .sd-flow .fld select:focus, .sec-pages-sidur .sd-flow .fld textarea:focus { background-color: var(--surface); }
.sec-pages-sidur .sd-flow .check { font-size: 15px; color: var(--ink-2); }
.sec-pages-sidur .sd-flow .flow-rules { font-size: 14.5px; }
.sec-pages-sidur .sd-flow .flow-rules summary { font: 600 14px/1.3 var(--font-head); }
.sec-pages-sidur .sd-flow .flow-rules ol { margin: 10px 0; line-height: 1.5; }
.sec-pages-sidur .flow-link { color: var(--accent-ink); font-weight: 600; }
.sec-pages-sidur .sd-flow .btn {
  padding: 13px 22px; border-radius: var(--radius-sm); font: 700 15px/1 var(--font-head); letter-spacing: .02em; white-space: normal; text-align: center;
}
.sec-pages-sidur .sd-flow .btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: none; }
.sec-pages-sidur .sd-flow .btn-primary:hover { background: var(--accent-2); box-shadow: var(--btn-shadow-hover); transform: none; }
.sec-pages-sidur .sd-flow .btn-ghost { background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.sec-pages-sidur .sd-flow .btn-ghost:hover { background: var(--bg-2); }
.sec-pages-sidur .sd-flow form + .btn, .sec-pages-sidur .sd-flow .btn + .btn { margin-top: 10px; }
.sec-pages-sidur .sd-flow .secure { font-size: 13.5px; }
.sec-pages-sidur .sd-flow .notice { border-radius: var(--radius-sm); color: var(--ink); }
.sec-pages-sidur .sd-flow .notice.bad { background: color-mix(in srgb, var(--bad) 8%, var(--surface)); border-color: color-mix(in srgb, var(--bad) 35%, transparent); }
.sec-pages-sidur .sd-flow .alts-title { margin: 20px 0 0; }
.sec-pages-sidur .sd-flow .alts { gap: 8px; margin-top: 10px; }
.sec-pages-sidur .sd-flow .alt { padding: 11px 14px; border-radius: var(--radius-sm); background: var(--paper); }
.sec-pages-sidur .sd-flow .alt span { color: var(--accent-ink); }
.sec-pages-sidur .sd-flow .flow-contact { margin: 18px 0 0; font-size: 14.5px; }
.sec-pages-sidur .sd-flow .flow-open-box { display: none; }
.sec-pages-sidur .sd-flow .flow-text { color: var(--ink-2); }
.sec-pages-sidur .sd-flow dl.lines { margin: 4px 0 16px; }
.sec-pages-sidur dl.lines .total dd { font: 800 20px/1.2 var(--font-head); color: var(--accent-ink); }
.sec-pages-sidur dl.lines .discount dd { color: var(--good); }
.sec-pages-sidur .sd-flow .status-big { width: 56px; height: 56px; font-size: 24px; margin-bottom: 14px; }
.sec-pages-sidur .sd-flow .status-big.ok { color: var(--good); border-color: var(--good); background: color-mix(in srgb, var(--good) 10%, var(--surface)); }
.sec-pages-sidur .sd-flow .status-big.bad { color: var(--bad); border-color: var(--bad); background: color-mix(in srgb, var(--bad) 8%, var(--surface)); }
.sec-pages-sidur .sd-flow .status-big.wait { color: var(--accent-ink); }

/* the stay being booked, in the right column: a box like the booking box, staying in view beside the form */
.sec-pages-sidur .sd-stay { position: sticky; top: 84px; padding: 0 14px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.sec-pages-sidur .sd-stay-head { margin: 0 -14px 12px; padding: 10px 14px; border-radius: var(--radius) var(--radius) 0 0; background: var(--accent); color: var(--on-accent); font: 700 13px/1.2 var(--font-head); letter-spacing: .05em; text-transform: uppercase; }
.sec-pages-sidur .sd-stay .summary-photo { aspect-ratio: 3 / 2; margin-bottom: 6px; border-radius: var(--radius-sm); }
.sec-pages-sidur .sd-stay dl.lines div { padding: 8px 0; font-size: 14px; }
.sec-pages-sidur .sd-stay dl.lines dt { color: var(--muted); }
.sec-pages-sidur .sd-stay dl.lines .total { padding-top: 10px; }
.sec-pages-sidur .sd-stay .summary-note { margin: 8px 0 0; font-size: 13px; line-height: 1.45; color: var(--muted); }

/* ---------- Narrower screens ---------- */
@media (max-width: 1100px) {
  .sec-pages-sidur .sd-body:has(.sd-book, .sd-stay), .sec-pages-sidur .sd-body.is-both:has(.sd-book, .sd-stay) { grid-template-columns: minmax(0, 1fr) 290px; grid-template-areas: "main right"; }
  .sec-pages-sidur .sd-body.is-both:has(.sd-book, .sd-stay) { width: min(var(--max), 100% - 2 * var(--gutter)); }
}
/* the links don't fit beside the logo: the menu button instead */
@media (max-width: 1000px) {
  .sec-pages-sidur .sd-nav { display: none; }
  .sec-pages-sidur .sd-burger { display: inline-flex; }
  .sec-pages-sidur .sd-body, .sec-pages-sidur .sd-body:has(.sd-book), .sec-pages-sidur .sd-body.is-both:has(.sd-book) { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main"; }
  .sec-pages-sidur .sd-right:has(.sd-book) {
    position: fixed; inset: auto 0 0 0; z-index: 70; max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain; padding: 0;
    translate: 0 105%; transition: translate .28s ease; visibility: hidden;
  }
  .book-open .sec-pages-sidur .sd-right:has(.sd-book) { translate: 0 0; visibility: visible; }
  .sec-pages-sidur .sd-right .sd-book { width: min(460px, 100%); margin-inline: auto; border-radius: 18px 18px 0 0; padding-bottom: calc(18px + env(safe-area-inset-bottom)); box-shadow: var(--shadow-pop); }
  .sec-pages-sidur .sd-book-head { border-radius: 18px 18px 0 0; }
  .sec-pages-sidur .sd-book-close { display: grid; }
  .sec-pages-sidur .sd-devbar-group:not([data-key="boka"]):not([data-key="photo-bg"]) { display: none; }
  .sec-pages-sidur .sd-devbar:has([data-key="photo-bg"]) .sd-devbar-group[data-key="boka"] { display: none; }  /* one column here: width and sides change nothing */
  .sec-pages-sidur .sd-book-fab {
    position: fixed; z-index: 45; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 18px; border: 0; border-radius: 999px; background: var(--dark); color: var(--on-dark);
    box-shadow: 0 0 0 2px var(--surface), var(--shadow-pop);  /* dark with a light ring: it stands out on the page and on the orange footer */
    font: 700 15px/1 var(--font-head); cursor: pointer;
    transition: bottom .2s ease;
  }
  /* The owner, 4 Dec 2026: "book your stay should be above the cookie shit, not the
   * other way around, and if u press accept or deny then it should be moved back
   * down" — while the cookie banner (base.css, posthog.js) is up, lift the fab clear
   * of it instead of moving the banner; it drops back the moment the banner is hidden.
   * --cookie-consent-h is the banner's own measured height (posthog.js), so this holds
   * however long the banner's text and button row end up being. */
  body:has(#cookie-consent:not([hidden])) .sec-pages-sidur .sd-book-fab {
    bottom: calc(var(--cookie-consent-h, 150px) + 24px + env(safe-area-inset-bottom));
  }
  .sec-pages-sidur .sd-book-fab svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
  .book-open .sec-pages-sidur .sd-book-fab { display: none; }
  .book-open .sec-pages-sidur .sd-book-scrim { display: block; position: fixed; inset: 0; z-index: 65; background: rgba(34, 30, 25, .45); }
  .sec-pages-sidur:has(.sd-book-fab) .sd-foot { padding-bottom: 72px; }
  .sec-pages-sidur .sd-main { border-right: 0; }
}
/* booking pages on phones: the stay's summary above the form (no photo), and a button that opens the booking box */
@media (max-width: 1000px) {
  .sec-pages-sidur .sd-body:has(.sd-stay), .sec-pages-sidur .sd-body.is-both:has(.sd-stay) { grid-template-columns: minmax(0, 1fr); grid-template-areas: "right" "main"; width: min(var(--max), 100% - 2 * var(--gutter)); }
  .sec-pages-sidur .sd-right:has(.sd-stay) { padding-bottom: 0; }
  .sec-pages-sidur .sd-stay { position: static; }
  .sec-pages-sidur .sd-stay .summary-photo { display: none; }
  .sec-pages-sidur .sd-flow .flow-open-box { display: inline-flex; }
}
@media (max-width: 900px) {
  .sec-pages-sidur .sd-body, .sec-pages-sidur .sd-body.is-both:has(.sd-book) { border-inline: 0; width: 100%; }
  .sec-pages-sidur .sd-main { border-inline: 0; padding: 22px var(--gutter) 28px; }
  .sec-pages-sidur .sd-side { padding: 18px var(--gutter) 22px; }
}
@media (max-width: 640px) {
  .sec-pages-sidur .sd-head-in { height: 60px; gap: 10px; }
  .sec-pages-sidur .sd-head-right { gap: 8px; }
  .sec-pages-sidur .sd-burger { padding: 0 13px; }
  .sec-pages-sidur .sd-burger .txt { display: none; }
  .sec-pages-sidur .sd-cols { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .sec-pages-sidur .sd-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .sec-pages-sidur .sd-row-2, .sec-pages-sidur .sd-row-3 { grid-template-columns: minmax(0, 1fr); }
  .sec-pages-sidur .sd-row-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sec-pages-sidur .sd-row-3 label:last-child { grid-column: 1 / -1; }
  .sec-pages-sidur .sd-map { aspect-ratio: 4 / 3; }
  .sec-pages-sidur .sd-rules { columns: 1; }
  .sec-pages-sidur .sd-facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sec-pages-sidur .sd-viewer .carousel-stage { aspect-ratio: 4 / 3; }
  .sec-pages-sidur .sd-viewer .carousel-prev, .sec-pages-sidur .sd-viewer .carousel-next { width: 38px; height: 38px; }
  .sec-pages-sidur .sd-viewer .carousel-thumbs button { width: 76px; }
  .sec-pages-sidur .sd-lightbox .carousel-prev, .sec-pages-sidur .sd-lightbox .carousel-next { top: auto; bottom: 8px; translate: none; width: 44px; height: 44px; }
  .sec-pages-sidur .sd-foot-in { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 6px 16px; padding-block: 16px; }
  .sec-pages-sidur .sd-foot-in > :not(.sd-foot-co) { flex-basis: 100%; }
  .sec-pages-sidur .sd-foot-co:first-of-type { margin-top: 6px; }
  .sec-pages-sidur .sd-devbar { left: 12px; translate: none; bottom: calc(12px + env(safe-area-inset-bottom)); max-width: calc(100% - 24px); overflow-x: auto; }
  .sec-pages-sidur .sd-devbar-label { display: none; }
  .sec-pages-sidur .sd-devbar-range { width: 70px; }
  .sec-pages-sidur .sd-lightbox .sd-devbar { top: 70px; }
  .sec-pages-sidur .sd-devbar-switch button, .sec-pages-sidur .sd-devbar-switch a { padding-inline: 9px; }
  .sec-pages-sidur:has(.sd-devbar:not([hidden])) .sd-book-fab { bottom: calc(68px + env(safe-area-inset-bottom)); }
  .sec-pages-sidur:has(.sd-devbar:not([hidden])) .sd-foot { padding-bottom: 130px; }
}
@media (prefers-reduced-motion: reduce) {
  .sec-pages-sidur * { transition: none !important; }
}
