/* Skíðasvæði Tindastóls — tillaga A „Fjallalína“ */
:root {
  --navy: #12304d;
  --navy-2: #1b4166;
  --snow: #f6f8fa;
  --white: #fff;
  --ink: #142230;
  --muted: #506172;
  --line: #d5e0e8;
  --green: #2f8f6a;
  --red: #e2332f;
  --blue: #20507d;
  --wrap: 74rem;
  --gut: clamp(16px, 4vw, 40px);
  --display: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 120px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--snow); color: var(--ink); font-family: var(--display); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gut); }
.skip { position: absolute; left: -999px; top: 0; background: var(--white); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 13px; font-weight: 700; color: var(--muted); margin: 0 0 6px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* Punktar fyrir stöðu */
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex: none; vertical-align: middle; }
.dot.is-open { background: #3fb882; box-shadow: 0 0 0 3px rgba(63, 184, 130, .18); }
.dot.is-closed { background: transparent; border: 2px solid var(--red); }

/* ---------- Stöðuborði ---------- */
.statusbar { position: sticky; top: 0; z-index: 50; background: var(--navy); color: #dfe8f1; font-size: 15px; }
.sb-row { display: flex; align-items: center; gap: 14px; min-height: 48px; padding-block: 6px; }
.statusbar a { color: inherit; text-decoration: none; }
.sb-spark { width: 34px; height: 14px; color: #8fb3d6; flex: none; }
.sb-open { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.sb-open b { color: #fff; font-weight: 700; font-stretch: 85%; letter-spacing: .01em; }
.sb-note { color: #b9cbdc; white-space: normal; }
.sb-sep { width: 1px; height: 20px; background: rgba(255, 255, 255, .22); flex: none; }
.sb-wx { white-space: nowrap; }
.sb-wx b { color: #fff; font-stretch: 85%; }
.sb-lifts { display: flex; gap: 16px; align-items: center; }
.sb-lift { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.sb-lift-st { display: none; font-style: normal; color: #9fb6cc; margin-left: auto; padding-left: 12px; }
.sb-lifts-btn { display: none; }
.sb-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.sb-upd { font-size: 13px; color: #a9bfd3; white-space: nowrap; }
.sb-cam { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; padding: 6px 14px; font-weight: 700; color: #fff !important; white-space: nowrap; }
.sb-cam svg { width: 18px; height: 15px; }
.sb-cam:hover { background: rgba(255, 255, 255, .1); }

/* ---------- Haus ---------- */
.site-head { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: var(--sb-h, 0px); z-index: 40; transition: box-shadow .2s; }
.head-row { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; transition: min-height .2s; }
.brand, .brand img, .mainnav a { transition: font-size .2s, width .2s, height .2s, padding .2s; }
/* Minni haus þegar skrollað er */
.scrolled .site-head { box-shadow: 0 6px 18px rgba(18, 48, 77, .1); }
.scrolled .head-row { min-height: 52px; }
.scrolled .brand { font-size: 19px; gap: 9px; }
.scrolled .brand img { width: 32px; height: 32px; }
@media (min-width: 961px) { .scrolled .mainnav > ul > li > a { padding-block: 6px; font-size: 15px; } }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); font-weight: 800; font-stretch: 72%; font-size: 24px; letter-spacing: -.01em; }
.brand img { width: 46px; height: 46px; }
.mainnav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; align-items: center; }
.mainnav a { display: block; padding: 10px 12px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 17px; border-radius: 4px; }
.mainnav a:hover, .mainnav a[aria-current] { color: var(--blue); }
.mainnav .has-sub { position: relative; }
.mainnav .sub { display: none; position: absolute; top: 100%; left: 0; background: var(--white); border: 1px solid var(--line); border-radius: 6px; list-style: none; margin: 0; padding: 6px; min-width: 200px; box-shadow: 0 10px 30px rgba(18, 48, 77, .12); }
.mainnav .has-sub:hover .sub, .mainnav .has-sub:focus-within .sub { display: block; }
.mainnav .nav-buy a { background: var(--red); color: #fff; padding: 9px 14px; margin-left: 6px; }
.mainnav .nav-buy a:hover { color: #fff; filter: brightness(1.06); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: none; border-radius: 6px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 20px; height: 2px; background: var(--navy); }

/* ---------- Hnappar og tenglar ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 4px; background: var(--navy); color: #fff; font-weight: 800; font-size: 18px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; }
.btn:hover { color: #fff; filter: brightness(1.12); }
.btn-red { background: var(--red); }
.btn-buy { font-size: 19px; padding: 15px 28px; box-shadow: 0 6px 18px rgba(226, 51, 47, .35); }
.btn-ghost-light { background: transparent; border: 2px solid rgba(255, 255, 255, .8); padding: 11px 20px; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); }
.head-buy { display: none; margin-left: auto; background: var(--red); color: #fff; font-weight: 800; text-decoration: none; padding: 8px 12px; border-radius: 4px; font-size: 15px; white-space: nowrap; }
.head-buy:hover { color: #fff; filter: brightness(1.06); }
.link { font-weight: 700; color: var(--blue); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.link-light { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.link-light:hover { color: #fff; opacity: .85; }

/* ---------- Forsíðuhaus ---------- */
.hero { position: relative; color: #fff; min-height: min(78vh, 760px); display: flex; align-items: center; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); background: var(--navy); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 48, 77, .92) 0%, rgba(18, 48, 77, .72) 40%, rgba(18, 48, 77, .05) 75%); }
.hero-inner { position: relative; z-index: 1; padding-block: 70px 120px; width: 100%; }
.hero h1 { font-size: clamp(3.2rem, 10vw, 8.6rem); font-weight: 800; font-stretch: 72%; line-height: .92; letter-spacing: -.01em; margin: 0 0 28px; }
.hero-text { font-size: clamp(1.1rem, 1.8vw, 1.45rem); max-width: 30ch; margin-bottom: 34px; line-height: 1.45; }
.hero-cta { display: flex; gap: 14px 18px; align-items: center; flex-wrap: wrap; }

/* ---------- Kaflar ---------- */
section { position: relative; }
.display { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; font-stretch: 72%; color: var(--navy); line-height: .95; letter-spacing: -.01em; margin: 0 0 20px; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--ink); line-height: 1.5; }
.split-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px 60px; align-items: center; margin-bottom: 40px; }
.split-head .lede { margin: 0; }
.h3 { font-size: 1.35rem; color: var(--navy); }

.notices { padding-block: 56px 10px; }
.notice { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 12px 40px; padding-block: 22px; border-bottom: 1px solid var(--line); }
.notice:first-child { border-top: 1px solid var(--line); }
.notice-meta strong { display: block; color: var(--navy); font-size: 18px; }
.notice-meta time { color: var(--muted); }
.notice-body h2 { font-size: 1.3rem; color: var(--navy); }
.notice-body .prose { max-width: 62ch; }
.notice-body .prose h4 { font-size: 1rem; font-weight: 600; margin: 0 0 .5em; }
.notices-more { text-align: right; margin-top: 12px; font-weight: 700; }
.notices-older { margin-top: 14px; }
.notices-older > summary { display: inline-block; cursor: pointer; font-weight: 800; color: var(--blue); padding: 8px 0; list-style: none; }
.notices-older > summary::-webkit-details-marker { display: none; }
.notices-older > summary::after { content: " ▾"; }
.notices-older[open] > summary::after { content: " ▴"; }
.notices-older .notice-list { max-width: none; }

.area { padding-block: 70px; }
.weather-sec { padding-block: 70px; background: var(--white); border-block: 1px solid var(--line); }
.prices-sec { padding-block: 80px; background: var(--white); }
.weather-sec + .prices-sec { border-top: 0; }

/* Lyftuteikning */
.liftmap { margin: 10px 0 30px; }
.liftmap-canvas { position: relative; aspect-ratio: 1000 / 400; margin-left: 70px; }
.liftmap svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.liftmap .grid { stroke: var(--line); stroke-width: 1; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; }
.liftmap .grid.top { stroke: #9db4c9; stroke-dasharray: none; }
.liftmap .mountain { fill: #dbe5ee; stroke: #9db4c9; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.liftmap .cable { stroke: var(--navy); stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.liftmap .station { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--white); border: 3px solid var(--navy); transform: translate(-50%, -50%); }
.liftmap .alt { position: absolute; left: -70px; transform: translateY(-50%); font-size: 14px; color: var(--muted); }
.liftmap .alt.strong { color: var(--navy); font-weight: 800; }
.lift-label { position: absolute; transform: translateY(-100%); line-height: 1.3; font-size: 15px; background: rgba(246, 248, 250, .85); padding: 2px 6px; border-radius: 4px; }
.lift-label strong { display: flex; align-items: center; gap: 7px; font-size: 1.25rem; font-stretch: 85%; color: var(--ink); }
.lift-label span { display: block; color: var(--muted); padding-left: 16px; }
.lift-label b { display: block; padding-left: 16px; }
.liftmap figcaption { margin-top: 14px; color: var(--muted); font-size: 15px; }

.lift-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 30px; }
.lift-card { border-top: 2px solid var(--navy); padding-top: 18px; }
.lift-card h3 { font-size: 1.45rem; color: var(--navy); margin-bottom: 4px; }
.lift-meta { font-weight: 700; margin-bottom: 8px; }
.lift-status { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--muted); }
.lift-card p { color: var(--muted); }

/* Veður */
.weather-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 40px; align-items: start; }
.webcam-wide { margin-bottom: 36px; }
.cam-scroll { display: block; }
.cam-hint { display: none; }
.webcam-wide .webcam img { aspect-ratio: 3072 / 1152; height: auto; object-fit: cover; display: block; }
.weather-row { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.weather-row .wx { grid-template-columns: auto minmax(0, 1fr); gap: 36px; }
.wx { display: grid; gap: 26px; margin-bottom: 30px; }
.wx-temp { font-size: clamp(3.5rem, 8vw, 5.2rem); font-weight: 800; font-stretch: 72%; color: var(--navy); line-height: 1; margin: 0 0 6px; }
.wx-temp span { font-size: .45em; margin-left: 4px; }
.wx-wind { display: flex; align-items: center; gap: 8px; font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; }
.wind-arrow { width: 18px; height: 18px; color: var(--blue); display: inline-block; vertical-align: -3px; }
.wx-days { list-style: none; margin: 0 0 10px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.wx-days li { background: var(--snow); border: 1px solid var(--line); border-radius: 8px; padding: 10px 6px; text-align: center; display: grid; gap: 2px; }
.wx-day { font-weight: 700; font-size: 14px; }
.wx-icon { font-size: 26px; line-height: 1.2; }
.wx-range { font-size: 15px; }
.wx-w { font-size: 13px; color: var(--muted); display: grid; justify-items: center; gap: 1px; white-space: nowrap; }
.wx-w > span { display: inline-flex; align-items: center; gap: 3px; }
.wx-w svg { width: 12px; height: 12px; }
.wx-dir { font-size: 11px; color: var(--muted); }
.wx-hours { list-style: none; margin: 14px 0; padding: 0; display: flex; gap: 6px; overflow-x: auto; }
.wx-hours li { flex: none; min-width: 58px; text-align: center; display: grid; gap: 2px; font-size: 14px; padding: 8px 4px; border-radius: 6px; background: var(--snow); border: 1px solid var(--line); }
.webcam { margin: 0; }
.webcam img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; background: #dbe5ee; }
.webcam figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.hours { background: var(--snow); border: 1px solid var(--line); border-radius: 8px; padding: 20px 22px; }
.weather-sec .hours { background: var(--snow); }
.hours h3 { color: var(--navy); font-size: 1.25rem; }
.hours dl { margin: 0; }
.hours dl div { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.hours dt { font-weight: 700; }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; }
.exceptions { list-style: none; margin: 14px 0 0; padding: 0; font-size: 15px; }
.exceptions li { padding: 6px 0 6px 12px; border-left: 3px solid var(--red); margin-bottom: 6px; }

/* Verðskrá */
.prices-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px 80px; }
.prices { width: 100%; border-collapse: collapse; margin: 18px 0; font-variant-numeric: tabular-nums; }
.prices th, .prices td { padding: 14px 8px 14px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: bottom; }
.prices thead th { font-size: 15px; color: var(--muted); font-weight: 600; border-bottom: 2px solid var(--navy); }
.prices thead small { display: block; font-weight: 400; }
.prices tbody th { font-weight: 700; }
.prices .num { text-align: right; padding-right: 0; padding-left: 12px; white-space: nowrap; }
.prices td.num { font-weight: 800; color: var(--navy); font-size: 1.1rem; }
.prices tr.total th, .prices tr.total td { border-top: 2px solid var(--navy); }
.note { color: var(--muted); font-size: 15px; }
.links { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.sec-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; margin-bottom: 28px; }

/* Kennsla */
.teach { background: var(--navy); color: #fff; }
.teach-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 0 60px; }
.teach-text { padding-block: 80px; }
.teach .display { color: #fff; }
.teach img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; }
.big-mail { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; font-stretch: 80%; color: #fff; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.big-mail:hover { color: #fff; opacity: .85; }
.big-mail.dark { color: var(--navy); }

/* Sauðárkrókur */
.town { padding-block: 90px; }
.town-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 50px 70px; align-items: center; }
.town-grid img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.dist { list-style: none; padding: 0; margin: 0 0 26px; color: var(--muted); }
.town-links { display: flex; gap: 28px; flex-wrap: wrap; }
.town-links a { font-weight: 800; font-stretch: 80%; font-size: 1.35rem; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }

/* ---------- Undirsíður ---------- */
.page-hero { background: var(--navy); color: #fff; padding-block: 64px 70px; position: relative; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%); }
.page-hero.has-img { padding-block: 120px 120px; }
.page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(2.8rem, 8vw, 6rem); font-weight: 800; font-stretch: 72%; line-height: .95; margin: 0; }
.page-hero .lede { color: #dfe8f1; margin-top: 16px; }
.crumb { margin: 0 0 10px; color: #b9cbdc; }
.crumb a { color: #fff; }
.page-body { padding-block: 40px 80px; }
.page-body.narrow { max-width: 50rem; }
.lede-block { font-size: 1.2rem; max-width: 64ch; margin-bottom: 40px; }
.prose { max-width: 68ch; }
.prose h2, .prose h3, .prose h4 { color: var(--navy); }
.prose img { border-radius: 4px; margin: 12px 0; }
.prose ul { padding-left: 1.2em; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; margin: 30px 0 50px; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; font-stretch: 75%; color: var(--navy); margin: 50px 0 20px; }
.features { display: grid; gap: 50px; }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.feature:nth-child(even) img { order: 2; }
.feature img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
.feature:not(:has(img)) { grid-template-columns: minmax(0, 1fr); max-width: 68ch; }
.feature h3 { font-size: 1.7rem; color: var(--navy); font-stretch: 85%; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-body { padding: 20px 22px 24px; }
.card h3 { font-size: 1.3rem; color: var(--navy); margin-bottom: 4px; }
.card .sub, .feature .sub { font-weight: 700; color: var(--muted); font-size: 15px; }
.card .prose { font-size: 16px; color: var(--ink); }
.price-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px 60px; margin-bottom: 30px; }
.price-group { min-width: 0; }
.price-group.wide { grid-column: 1 / -1; max-width: 52rem; }
.price-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.price-group h2 { font-size: 1.6rem; color: var(--navy); font-stretch: 85%; margin-bottom: 0; }
.cta-row { margin: 20px 0 40px; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 20px 0 40px; }
.tile { display: block; background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 24px; text-decoration: none; color: var(--ink); }
.tile h2 { color: var(--navy); font-stretch: 80%; }
.tile:hover { border-color: var(--blue); color: var(--ink); }
.notice-list { list-style: none; margin: 0; padding: 0; max-width: 60rem; }
.notice-list li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.notice-list time { color: var(--muted); font-size: 15px; }
.notice-list h2 { font-size: 1.35rem; margin: 2px 0 6px; }
.notice-list h2 a { color: var(--navy); text-decoration: none; }
.notice-list h2 a:hover { text-decoration: underline; }
.pager { display: flex; gap: 20px; margin-top: 24px; font-weight: 700; }

/* Kaup */
.alert { background: #fdecea; border: 1px solid #f0b8b3; color: #8f2e22; padding: 12px 16px; border-radius: 6px; font-weight: 600; }
.shop-rows { display: grid; gap: 0; margin: 12px 0 30px; }
.shop-rows { max-width: 40rem; }
.shop-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.shop-row > span { display: flex; flex: 1; justify-content: space-between; gap: 12px; }
.qty { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 15px; }
.qty b { display: block; color: var(--navy); }
.qty input { width: 64px; padding: 8px; border: 1px solid var(--line); border-radius: 6px; font: inherit; text-align: center; }
.buyer { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 26px; max-width: 46rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; align-items: start; }
.form-grid label { display: grid; gap: 4px; font-weight: 700; font-size: 15px; align-content: start; }
.form-grid input { padding: 11px 12px; border: 1px solid #b8c7d4; border-radius: 6px; font: inherit; font-weight: 400; }
.form-grid small { font-weight: 400; color: var(--muted); }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; }
.shop-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.3rem; border-top: 2px solid var(--navy); padding-top: 14px; margin: 16px 0; }
.shop-total b { font-size: 1.8rem; color: var(--navy); }
.hp { position: absolute; left: -5000px; }
/* Kaupa: samandregnar vörur, magn, kaupstika, karfa */
.shop-steps { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 24px; counter-reset: s; flex-wrap: wrap; }
.shop-steps li { counter-increment: s; color: var(--muted); font-weight: 700; font-size: 15px; }
.shop-steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--line); color: var(--navy); margin-right: 6px; font-size: 13px; }
.shop-steps li + li::after { content: none; }
.shop-steps li.on { color: var(--navy); }
.shop-steps li.on::before, .shop-steps li.done::before { background: var(--navy); color: #fff; }
.shop-steps li:not(:last-child) { padding-right: 14px; border-right: 1px solid var(--line); }
.cart-note { background: #e5f4ec; border: 1px solid #b5dcc6; padding: 10px 14px; border-radius: 6px; max-width: 46rem; }
.product { background: var(--white); border: 1px solid var(--line); border-radius: 8px; margin-bottom: 12px; max-width: 46rem; }
.product > summary { display: flex; align-items: center; gap: 12px; padding: 16px 18px; cursor: pointer; list-style: none; font-weight: 800; color: var(--navy); }
.product > summary::-webkit-details-marker { display: none; }
.product > summary::after { content: "▾"; margin-left: 8px; color: var(--muted); transition: transform .2s; }
.product[open] > summary::after { transform: rotate(180deg); }
.p-name { flex: 1; font-size: 1.15rem; line-height: 1.25; }
.p-from { color: var(--muted); font-weight: 600; font-size: 15px; white-space: nowrap; }
.p-sel { background: var(--green); color: #fff; border-radius: 999px; padding: 2px 10px; font-size: 13px; white-space: nowrap; }
.product-body { padding: 0 18px 10px; }
.product-body .shop-rows { margin: 0; max-width: none; }
.p-desc { margin: 0 0 8px; font-size: 15px; }
.p-desc > summary { cursor: pointer; color: var(--blue); font-weight: 700; }
.shop-row.picked strong { color: var(--green); }
.shop-row > .stepper { flex: none; gap: 0; justify-content: flex-start; }
.stepper { display: inline-flex; align-items: center; border: 1px solid #b8c7d4; border-radius: 6px; overflow: hidden; flex: none; }
.stepper button { width: 38px; height: 40px; border: 0; background: var(--snow); font-size: 20px; font-weight: 700; color: var(--navy); cursor: pointer; }
.stepper button:hover { background: var(--line); }
.stepper input { width: 46px; height: 40px; border: 0; border-inline: 1px solid #b8c7d4; text-align: center; font: inherit; font-weight: 700; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buybar { position: sticky; bottom: 0; z-index: 30; display: flex; justify-content: space-between; align-items: center; gap: 14px; max-width: 46rem; margin-top: 18px; padding: 14px 18px; background: var(--navy); color: #fff; border-radius: 8px 8px 0 0; box-shadow: 0 -8px 24px rgba(18, 48, 77, .2); }
.buybar b { display: block; font-size: 1.4rem; }
.buybar .btn { min-width: 140px; }
.btn-buy:disabled { background: #b9c2cc; border-color: #b9c2cc; color: #fff; box-shadow: none; cursor: not-allowed; transform: none; }
.pay-hint { color: var(--muted); margin: 6px 0 0; }
.buybar .btn:disabled { opacity: .5; cursor: not-allowed; filter: none; }
.cart-table th small { display: block; font-weight: 400; color: var(--muted); }
.cart-table .qty-in { width: 64px; padding: 8px; border: 1px solid #b8c7d4; border-radius: 6px; font: inherit; text-align: center; }
.cart-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; max-width: 46rem; margin-bottom: 30px; }
.btn-ghost { background: var(--white); color: var(--navy); border: 2px solid var(--navy); padding: 10px 18px; font-size: 16px; }
.btn-ghost:hover { color: var(--navy); background: var(--snow); }
.cart { max-width: 46rem; }
.linkbtn { background: none; border: 0; color: var(--red); cursor: pointer; font-size: 18px; padding: 4px 8px; }

/* ---------- Fótur ---------- */
.site-foot { background: #dbe5ee; color: var(--ink); padding-top: 60px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 30px 50px; padding-bottom: 40px; }
.foot-brand { display: flex; gap: 16px; align-items: flex-start; }
.foot-brand img { width: 64px; height: 64px; }
.foot-brand strong { display: block; font-size: 1.8rem; font-weight: 800; font-stretch: 72%; color: var(--navy); line-height: 1.1; margin-bottom: 8px; }
.site-foot h2 { font-size: 1rem; color: var(--navy); margin-bottom: 10px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-foot a { color: var(--ink); }
.credit { display: inline-flex; align-items: center; gap: 8px; color: var(--muted) !important; text-decoration: none; }
.credit img { height: 26px; width: auto; }
.foot-legal { align-items: center; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; border-top: 1px solid #b9c9d7; padding-block: 18px 26px; font-size: 14px; color: var(--muted); }

/* ---------- Spjaldtölva og sími ---------- */
@media (max-width: 1100px) {
  .weather-row .wx { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .sb-upd { display: none; }
  .mainnav a { padding: 10px 8px; font-size: 16px; }
}
@media (max-width: 960px) {
  .burger { display: flex; }
  .head-buy { display: inline-block; }
  .brand span { line-height: 1.05; }
  .head-row { gap: 10px; }
  .mainnav { display: none; position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - var(--sb-h, 44px) - 50px); overflow-y: auto; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(18, 48, 77, .12); }
  .mainnav.open { display: block; }
  .mainnav > ul { flex-direction: column; align-items: stretch; padding: 8px var(--gut) 18px; gap: 0; }
  .mainnav a { padding: 13px 4px; font-size: 18px; border-bottom: 1px solid var(--line); }
  .mainnav .sub { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 0 16px; }
  .mainnav .sub a { font-weight: 500; }
  .mainnav .nav-buy a { margin: 12px 0 0; text-align: center; }
  .weather-row, .weather-row .wx { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .webcam-wide .cam-scroll { overflow-x: auto; border-radius: 8px; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
  .webcam-wide .webcam img { width: auto; height: 300px; max-width: none; border-radius: 0; }
  .webcam-wide .cam-hint { display: inline; }
  .split-head, .prices-grid, .weather-grid, .town-grid, .two-col { grid-template-columns: minmax(0, 1fr); }
  .lift-cards { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .teach-grid { grid-template-columns: minmax(0, 1fr); }
  .teach img { max-height: 340px; margin-inline: calc(var(--gut) * -1); width: calc(100% + 2 * var(--gut)); max-width: none; }
  .teach-text { padding-block: 60px 40px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
  .feature, .feature:nth-child(even) { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .feature:nth-child(even) img { order: 0; }
  .tiles { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  html { scroll-padding-top: 110px; }
  /* Stöðuborðinn í eina línu, lyfturnar opnast með einum smelli */
  .statusbar { font-size: 14px; }
  .sb-row { gap: 10px; min-height: 44px; flex-wrap: nowrap; position: relative; }
  .sb-spark, .sb-hide-s, .sb-note, .sb-wx span { display: none; }
  .sb-lifts-btn { display: inline-flex; gap: 4px; align-items: center; background: none; border: 1px solid rgba(255, 255, 255, .35); color: #fff; border-radius: 999px; padding: 4px 11px; font: inherit; font-weight: 700; cursor: pointer; }
  .sb-lifts { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy-2); flex-direction: column; align-items: stretch; gap: 0; padding: 6px var(--gut) 12px; box-shadow: 0 10px 20px rgba(0, 0, 0, .2); }
  .sb-lifts.open { display: flex; }
  .sb-lift { padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .sb-lift-st { display: inline; }
  .sb-cam { padding: 6px 9px; }
  .sb-cam span { display: none; }
  .head-row { min-height: 64px; }
  .brand { font-size: 20px; }
  .brand img { width: 38px; height: 38px; }
  .scrolled .head-row { min-height: 50px; }
  .scrolled .brand { font-size: 17px; }
  .scrolled .brand img { width: 28px; height: 28px; }
  .hero { min-height: 560px; clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%); }
  .hero::after { background: linear-gradient(180deg, rgba(18, 48, 77, .55) 0%, rgba(18, 48, 77, .88) 100%); }
  .hero-inner { padding-block: 60px 90px; }
  .notice { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .liftmap-canvas { margin-left: 44px; }
  .liftmap .alt { left: -44px; font-size: 12px; }
  .lift-label { display: none; }
  .liftmap .station { width: 10px; height: 10px; border-width: 2px; }
  .wx-days { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
  .wx-days li { padding: 8px 2px; }
  .prices th, .prices td { padding-block: 11px; }
  .prices thead small { font-size: 12px; }
  .area, .weather-sec, .prices-sec, .town { padding-block: 50px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .page-hero.has-img { padding-block: 80px 90px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

/* Verðtöflur í síma: spjöld í stað breiðra taflna (ekkert hliðarskrun) */
@media (max-width: 640px) {
  .prices-cards thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .prices-cards, .prices-cards tbody, .prices-cards tr, .prices-cards th, .prices-cards td { display: block; width: 100%; }
  .prices-cards { margin: 14px 0 22px; }
  .prices-cards tr { border-bottom: 1px solid var(--line); padding: 12px 0 10px; }
  .prices-cards tbody tr:first-child { border-top: 2px solid var(--navy); }
  .prices-cards tbody th { border: 0; padding: 0 0 4px; font-size: 1.05rem; color: var(--navy); }
  .prices-cards td.num { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border: 0; padding: 3px 0; text-align: right; font-size: 1.05rem; }
  .prices-cards td.num::before { content: attr(data-label); font-weight: 400; font-size: 15px; color: var(--muted); text-align: left; white-space: normal; }
  .price-scroll { overflow: visible; }
}
