/* =====================================================================
   Annelunds Gård · onnerud.com — designsystem v2
   Gemensamt tema: linne, ladrött och mörkt trä. Varje avdelning har en
   egen accentfärg (--accent) men delar typografi, rytm och komponenter.
   ===================================================================== */

@font-face { font-family: "Lora"; src: url("../fonts/lora.woff") format("woff"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/lora-italic.woff") format("woff"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-semibold.woff") format("woff"); font-weight: 600 700; font-display: swap; }

:root {
  --barn: #7b2d26;          /* ladrött – varumärkesfärg */
  --barn-deep: #5e211c;
  --moss: #4f5d45;          /* B&B */
  --moss-deep: #3b4634;
  --brass: #a4733a;         /* auktioner */
  --brass-deep: #7f5627;
  --ink: #221915;
  --ink-2: #4a3f38;
  --muted: #7c7067;
  --linen: #f5efe5;
  --paper: #fbf8f3;
  --sand: #ebe1d1;
  --line: #e0d4c2;
  --night: #1b1411;
  --ok: #3d6b47; --ok-bg: #e4efe5;
  --bad: #9b2c22; --bad-bg: #f8e2de;
  --warn: #8a5a10; --warn-bg: #f9eedb;

  --accent: var(--barn);
  --accent-deep: var(--barn-deep);
  --accent-soft: #f3e2dd;

  --serif: "Lora", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1240px;
  --r: 18px; --r-sm: 10px;
  --shadow: 0 1px 2px rgba(34, 25, 21, .06), 0 10px 30px rgba(34, 25, 21, .08);
  --shadow-lg: 0 30px 70px rgba(34, 25, 21, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}
.theme-bnb { --accent: var(--moss); --accent-deep: var(--moss-deep); --accent-soft: #e6eadf; }
.theme-auction { --accent: var(--brass); --accent-deep: var(--brass-deep); --accent-soft: #f2e7d6; }

/* Mjuka sidövergångar mellan sidor (Chrome/Edge/Safari 18+) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .45s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }
.site-header { view-transition-name: header; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 130px; }
body { margin: 0; font: 400 17px/1.7 var(--sans); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-deep); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .45em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.6vw, 5rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 1.6vw, 1.5rem); }
h4 { font: 600 .74rem/1.4 var(--sans); text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
em, .it { font-style: italic; }
h1 em, h2 em { color: var(--accent); }
p { margin: 0 0 1.1em; }
code { background: var(--sand); padding: .1em .4em; border-radius: 5px; font-size: .9em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.hidden { display: none !important; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }
.plain { list-style: none; padding: 0; margin: 0; }
.plain li { margin: .4em 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: #fff; }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 600 .74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow.light { color: #f1dcc4; }
.center .eyebrow::after, .eyebrow.both::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.lead { font-size: clamp(1.08rem, 1.3vw, 1.25rem); line-height: 1.7; color: var(--ink-2); max-width: 40em; }
.center .lead { margin-left: auto; margin-right: auto; }
.display-quote { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.3rem); line-height: 1.35; font-weight: 400; color: var(--ink); max-width: 30em; }

/* ---------- Knappar ---------- */
.btn { --b: var(--accent); display: inline-flex; align-items: center; justify-content: center; gap: .6em; padding: .9em 1.6em; border-radius: 999px; font: 600 .95rem/1.2 var(--sans); letter-spacing: .01em; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .25s var(--ease), color .25s, border-color .25s, transform .2s var(--ease), box-shadow .25s; white-space: nowrap; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--b); color: #fff; box-shadow: 0 8px 22px -8px color-mix(in srgb, var(--b) 70%, transparent); }
.btn-primary:hover { background: var(--accent-deep); color: #fff; box-shadow: 0 14px 30px -10px color-mix(in srgb, var(--b) 80%, transparent); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--linen); color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); border-color: color-mix(in srgb, var(--ink) 22%, transparent); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); background: rgba(255, 255, 255, .5); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .08); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-danger { background: var(--bad); color: #fff; }
.btn-danger:hover { background: #7c1f17; color: #fff; }
.btn-lg { padding: 1.05em 1.9em; font-size: 1rem; }
.btn-sm { padding: .5em 1.05em; font-size: .84rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; color: var(--ink); border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--accent); }
.link-arrow:hover::after { transform: translateX(5px); }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
form.inline { display: inline; margin: 0; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--header-h); transition: background .35s var(--ease), box-shadow .35s, height .35s var(--ease), color .35s; color: #fff; }
.site-header.solid, body.no-hero .site-header { background: rgb(251, 248, 243); color: var(--ink); box-shadow: 0 1px 0 rgba(34, 25, 21, .08); }
.site-header.solid { --header-h: 66px; }
body.no-hero main { padding-top: var(--header-h); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; flex: none; }
.brand:hover { color: inherit; }
.brand-mark { width: 54px; height: 34px; background: url("../img/farm-illustration-light.png") center / contain no-repeat; transition: filter .3s; }
.solid .brand-mark, body.no-hero .brand-mark { background-image: url("../img/farm-illustration.png"); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font: 500 1.32rem/1 var(--serif); letter-spacing: -.01em; }
.brand-text small { font: 500 .64rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; opacity: .75; margin-top: 6px; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > a, .main-nav .linklike { position: relative; padding: .55em .9em; text-decoration: none; color: inherit; font-weight: 500; font-size: .93rem; opacity: .92; }
.main-nav > a:not(.btn)::after { content: ""; position: absolute; left: .9em; right: .9em; bottom: .25em; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.main-nav > a:not(.btn):hover::after, .main-nav > a.active::after { transform: scaleX(1); }
.main-nav > a:hover, .main-nav .linklike:hover { color: inherit; opacity: 1; }
.main-nav > a.btn { margin-left: 10px; opacity: 1; color: #fff; }
.nav-sep { width: 1px; height: 20px; background: currentColor; opacity: .25; margin: 0 8px; }
.badge { display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; margin-left: 6px; border-radius: 99px; background: var(--barn); color: #fff; font-size: .7rem; font-weight: 700; vertical-align: 1px; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; color: inherit; }
.nav-toggle span:not(.sr) { display: block; width: 24px; height: 1.5px; background: currentColor; margin: 6px auto; transition: transform .3s var(--ease), opacity .2s; }

/* Undernavigering i avdelningar */
.subnav { position: sticky; top: 66px; z-index: 40; background: rgb(251, 248, 243); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 58px; }
.subnav-links { position: relative; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.subnav-links::-webkit-scrollbar { display: none; }
.subnav-links a { padding: .45em .9em; border-radius: 99px; text-decoration: none; color: var(--ink-2); font-size: .88rem; font-weight: 500; white-space: nowrap; transition: background .2s, color .2s; }
.subnav-links a:hover, .subnav-links a.active { background: var(--accent-soft); color: var(--accent-deep); }
.subnav-title { font: 500 1.05rem var(--serif); white-space: nowrap; display: flex; align-items: center; gap: 10px; }
.subnav-title::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* ---------- Flash ---------- */
.flash-stack { position: fixed; top: calc(var(--header-h) + 14px); left: 50%; transform: translateX(-50%); z-index: 90; width: min(640px, calc(100% - 32px)); display: grid; gap: 10px; }
.flash { position: relative; padding: 15px 46px 15px 20px; border-radius: 12px; font-weight: 500; font-size: .95rem; box-shadow: var(--shadow-lg); animation: flash-in .5s var(--ease); background: #fff; border-left: 4px solid; }
@keyframes flash-in { from { opacity: 0; transform: translateY(-10px); } }
.flash-success { color: var(--ok); border-color: var(--ok); }
.flash-error { color: var(--bad); border-color: var(--bad); }
.flash-info { color: #33475b; border-color: #6b8299; }
.inline-note { position: static; box-shadow: none; animation: none; background: #eef1f4; margin-bottom: 18px; }
.flash-x { position: absolute; right: 12px; top: 9px; background: none; border: 0; font-size: 1.4rem; cursor: pointer; color: var(--muted); }

/* ---------- Startsidans tre ingångar ---------- */
.portal { position: relative; height: 100vh; min-height: 640px; max-height: 1000px; display: flex; background: var(--night); color: #fff; overflow: hidden; }
.portal-panel { position: relative; flex: 1; overflow: hidden; text-decoration: none; color: #fff; transition: flex .9s var(--ease); isolation: isolate; border-right: 1px solid rgba(255, 255, 255, .12); }
.portal-panel:last-child { border-right: 0; }
.portal-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.06); transition: transform 1.6s var(--ease), filter .9s; filter: saturate(.92) brightness(.9); }
.portal-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 13, 10, .55) 0%, rgba(20, 13, 10, .05) 30%, rgba(20, 13, 10, .25) 55%, rgba(20, 13, 10, .88) 100%); transition: opacity .6s; }
.portal-panel:hover, .portal-panel:focus-visible { flex: 1.55; color: #fff; }
.portal-panel:hover img { transform: scale(1); filter: saturate(1.05) brightness(1); }
.portal:hover .portal-panel:not(:hover) img { filter: saturate(.6) brightness(.6); }
.portal-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 clamp(24px, 3vw, 48px) clamp(36px, 6vh, 64px); }
.portal-num { font: 500 .78rem var(--sans); letter-spacing: .2em; opacity: .75; display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.portal-num::after { content: ""; flex: 0 0 40px; height: 1px; background: currentColor; transition: flex-basis .8s var(--ease); }
.portal-panel:hover .portal-num::after { flex-basis: 90px; }
.portal-panel h2 { color: #fff; font-size: clamp(2rem, 3.2vw, 3.2rem); margin-bottom: .25em; }
.portal-panel h2 em { color: #f1d3b6; }
.portal-panel p { max-width: 25em; font-size: .98rem; line-height: 1.6; margin: 0 0 6px; opacity: .82; transition: opacity .6s; }
.portal-panel:hover p { opacity: 1; }
.portal-cta { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: .92rem; margin-top: 14px; }
.portal-cta span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .55); transition: background .4s, color .4s, transform .4s var(--ease); }
.portal-panel:hover .portal-cta span { background: #fff; color: var(--ink); transform: translateX(4px); }
.portal-tag { position: absolute; top: calc(var(--header-h) + 28px); left: clamp(24px, 3vw, 48px); font: 600 .7rem var(--sans); letter-spacing: .18em; text-transform: uppercase; padding: .55em 1em; border-radius: 99px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(6px); }
.portal-tag .live { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #e8b061; margin-right: 8px; box-shadow: 0 0 0 0 rgba(232, 176, 97, .7); animation: live 2s infinite; vertical-align: 1px; }
@keyframes live { 70% { box-shadow: 0 0 0 9px rgba(232, 176, 97, 0); } 100% { box-shadow: 0 0 0 0 rgba(232, 176, 97, 0); } }
.portal-intro { position: absolute; z-index: 5; left: 50%; top: calc(var(--header-h) + 8px); transform: translateX(-50%); text-align: center; pointer-events: none; display: none; }
.scroll-cue { position: absolute; z-index: 5; left: 50%; bottom: 22px; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid rgba(255, 255, 255, .6); border-radius: 14px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: cue 2s infinite var(--ease); }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Sektioner ---------- */
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section.tight { padding: clamp(60px, 7vw, 96px) 0; }
.section.pt-0 { padding-top: 0; }
.bg-linen { background: var(--linen); }
.bg-sand { background: var(--sand); }
.bg-night { background: var(--night); color: #e9e1d7; }
.bg-night h2, .bg-night h3 { color: #fff; }
.bg-night .lead { color: rgba(233, 225, 215, .8); }
.bg-accent { background: var(--accent-deep); color: #f3ebe1; }
.bg-accent h2, .bg-accent h3 { color: #fff; }
.section-head { margin-bottom: clamp(40px, 5vw, 70px); }
.section-head.center { max-width: 780px; margin-left: auto; margin-right: auto; text-align: center; }
.section-head.split, .split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.split { align-items: center; margin-bottom: 14px; }
.split h1, .split h2 { margin: 0; }

/* Intro med illustration */
.welcome { text-align: center; }
.welcome .illu { width: min(420px, 80%); margin: 0 auto 40px; opacity: .95; }
.welcome .display-quote { margin: 0 auto 28px; }
.signature { font: italic 400 1.2rem var(--serif); color: var(--accent); }
.fact-row { display: flex; justify-content: center; gap: clamp(28px, 6vw, 90px); margin-top: 60px; flex-wrap: wrap; }
.fact-row div { text-align: center; }
.fact-row strong { display: block; font: 500 clamp(2rem, 3.4vw, 3rem)/1 var(--serif); color: var(--ink); }
.fact-row span { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* Redaktionella layouter */
.editorial { display: grid; grid-template-columns: repeat(12, 1fr); gap: 28px; align-items: center; }
.editorial .ed-media { grid-column: 1 / span 7; position: relative; }
.editorial .ed-text { grid-column: 9 / span 4; }
.editorial.flip .ed-media { grid-column: 6 / span 7; order: 2; }
.editorial.flip .ed-text { grid-column: 1 / span 4; order: 1; }
.ed-media .main { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: var(--r); }
.ed-media .inset { position: absolute; width: 44%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-sm); right: -14%; bottom: -10%; border: 8px solid var(--paper); box-shadow: var(--shadow-lg); }
.bg-linen .ed-media .inset { border-color: var(--linen); }
.editorial.flip .ed-media .inset { right: auto; left: -14%; }
.ed-media .stamp { position: absolute; left: -26px; top: 36px; width: 128px; height: 128px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; text-align: center; font: 500 .74rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; box-shadow: var(--shadow-lg); transform: rotate(-8deg); }
.ed-media .stamp strong { display: block; font: 500 2rem/1 var(--serif); letter-spacing: 0; text-transform: none; margin-bottom: 2px; }
.editorial.flip .ed-media .stamp { left: auto; right: -26px; }
.checks { list-style: none; padding: 0; margin: 0 0 2em; }
.checks li { padding: .7em 0 .7em 34px; position: relative; border-bottom: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft); }
.checks li::after { content: ""; position: absolute; left: 6px; top: calc(1.05em + 5px); width: 8px; height: 5px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.bg-night .checks li { border-color: rgba(255, 255, 255, .12); }

/* Dagens tidslinje */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; margin-top: 20px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 1px; background: rgba(255, 255, 255, .25); }
.tl-item { position: relative; padding-right: 30px; }
.tl-dot { width: 55px; height: 55px; border-radius: 50%; display: grid; place-items: center; background: var(--night); border: 1px solid rgba(255, 255, 255, .35); font: 500 .85rem var(--sans); color: #f1d3b6; margin-bottom: 26px; position: relative; }
.tl-item h3 { font-size: 1.35rem; margin-bottom: .3em; }
.tl-item p { color: rgba(233, 225, 215, .72); font-size: .95rem; margin: 0; }
.tl-item .tl-link { display: inline-block; margin-top: 12px; color: #f1d3b6; font-size: .85rem; font-weight: 600; text-decoration: none; }
.tl-item .tl-link:hover { text-decoration: underline; }

/* Auktionskort */
.auction-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 28px; }
.auction-grid.three { grid-template-columns: repeat(3, 1fr); }
.auction-card { position: relative; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; }
.auction-card:hover { color: var(--ink); }
.ac-img { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--sand); }
.ac-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.auction-card:hover .ac-img img { transform: scale(1.05); }
.ac-noimg { display: grid; place-items: center; height: 100%; background: linear-gradient(135deg, var(--sand), #e1d4bf); color: var(--muted); font: italic 1rem var(--serif); }
.ac-time { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; background: rgba(27, 20, 17, .78); color: #fff; padding: .5em .9em; border-radius: 99px; font-size: .78rem; font-weight: 600; font-variant-numeric: tabular-nums; backdrop-filter: blur(6px); }
.ac-time::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #9fd18b; }
.ac-time.soon::before { background: #f08a6c; animation: live 1.6s infinite; }
.ac-time.sold { background: var(--ok); } .ac-time.sold::before, .ac-time.ended::before { display: none; }
.ac-time.ended { background: var(--ink); }
.ac-bn { position: absolute; right: 14px; top: 14px; background: #fff; color: var(--brass-deep); padding: .4em .85em; border-radius: 99px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; }
.ac-body { padding: 18px 4px 0; }
.ac-cat { font: 600 .7rem var(--sans); text-transform: uppercase; letter-spacing: .16em; color: var(--brass-deep); display: block; margin-bottom: 6px; }
.ac-body h3 { font-size: 1.3rem; margin-bottom: 12px; transition: color .2s; }
.auction-card:hover h3 { color: var(--brass-deep); }
.ac-meta { display: flex; justify-content: space-between; align-items: end; border-top: 1px solid var(--line); padding-top: 12px; }
.ac-meta small, .price-row small { display: block; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.ac-meta strong { font: 500 1.35rem var(--serif); }
.right { text-align: right; }
.empty { text-align: center; padding: 70px 24px; background: var(--linen); border-radius: var(--r); }
.empty h3 { font-size: 1.6rem; }
.empty p { color: var(--muted); max-width: 32em; margin-left: auto; margin-right: auto; }

/* Fortsätt utforska */
.next-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.next-card { position: relative; display: block; min-height: 360px; border-radius: var(--r); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; }
.next-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.next-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(20, 13, 10, .85)); }
.next-card:hover { color: #fff; }
.next-card:hover img { transform: scale(1.06); }
.next-card .nc-body { position: absolute; left: 32px; right: 32px; bottom: 30px; }
.next-card small { font: 600 .72rem var(--sans); letter-spacing: .18em; text-transform: uppercase; opacity: .8; }
.next-card h3 { color: #fff; font-size: clamp(1.6rem, 2.4vw, 2.2rem); margin: .3em 0 .2em; }
.next-card .link-arrow { color: #fff; }

/* Sidhjältar för avdelningar */
.hero { position: relative; min-height: 88vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--night); isolation: isolate; }
.hero.short { min-height: 64vh; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 115%; object-fit: cover; z-index: -2; will-change: transform; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 13, 10, .55) 0%, rgba(20, 13, 10, .1) 35%, rgba(20, 13, 10, .78) 100%); }
.hero-content { padding-top: 160px; padding-bottom: clamp(60px, 9vh, 110px); width: 100%; }
.hero h1 { color: #fff; max-width: 13em; }
.hero h1 em { color: #f1d3b6; }
.hero .lead { color: rgba(255, 255, 255, .88); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero-meta { display: flex; gap: 36px; margin-top: 46px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .22); flex-wrap: wrap; }
.hero-meta div { font-size: .85rem; color: rgba(255, 255, 255, .75); }
.hero-meta strong { display: block; font: 500 1.6rem var(--serif); color: #fff; }

/* Bokningsrad (B&B) */
.booking-bar { display: grid; grid-template-columns: 1fr 1fr .8fr auto; gap: 0; background: #fff; border-radius: 16px; padding: 8px; box-shadow: var(--shadow-lg); color: var(--ink); max-width: 860px; margin-top: 40px; }
.booking-bar label { margin: 0; padding: 10px 18px; border-right: 1px solid var(--line); font: 600 .7rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.booking-bar input, .booking-bar select { border: 0 !important; padding: 4px 0 0 !important; margin: 0 !important; background: transparent !important; font: 500 1rem var(--sans) !important; color: var(--ink); box-shadow: none !important; text-transform: none; letter-spacing: 0; }
.booking-bar .btn { border-radius: 11px; margin-left: 8px; }
.booking-note { font-size: .82rem; color: rgba(255, 255, 255, .7); margin-top: 12px; }

/* Ikonrutnät */
.amenities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.amenity { background: var(--paper); padding: 34px 30px; transition: background .3s; }
.amenity:hover { background: #fff; }
.amenity svg { width: 34px; height: 34px; stroke: var(--accent); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.amenity h3 { font-size: 1.2rem; margin-bottom: .35em; }
.amenity p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Galleri */
.gallery { columns: 3 280px; column-gap: 16px; }
.g-item { display: block; margin-bottom: 16px; border-radius: 12px; overflow: hidden; break-inside: avoid; background: var(--sand); position: relative; }
.g-item img { width: 100%; transition: transform 1s var(--ease); }
.g-item:hover img { transform: scale(1.04); }
.g-item::after { content: "+"; position: absolute; right: 14px; bottom: 14px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); display: grid; place-items: center; font-size: 1.3rem; opacity: 0; transform: scale(.8); transition: .35s var(--ease); }
.g-item:hover::after { opacity: 1; transform: none; }
.lightbox { position: fixed; inset: 0; background: rgba(15, 11, 9, .95); z-index: 300; display: flex; align-items: center; justify-content: center; padding: 30px; animation: flash-in .3s; }
.lightbox img { max-height: 88vh; max-width: 92vw; border-radius: 8px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .1); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .22); }
.lb-close { top: 20px; right: 20px; } .lb-prev { left: 20px; top: 50%; } .lb-next { right: 20px; top: 50%; }
.lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .7); font-size: .85rem; }

/* Rumskort (B&B) */
.room-card { display: grid; grid-template-columns: 1.2fr 1fr; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.room-media { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; min-height: 460px; }
.room-media img { width: 100%; height: 100%; object-fit: cover; }
.room-media img:first-child { grid-row: span 2; }
.room-info { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; }
.room-info .tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 22px; }
.tag { font: 600 .74rem var(--sans); padding: .45em .9em; border-radius: 99px; background: var(--accent-soft); color: var(--accent-deep); }
.room-info .btn { align-self: flex-start; margin-top: auto; }

/* Lokala tips */
.local-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.local { padding: 28px 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.local small { font: 600 .7rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.local h3 { font-size: 1.2rem; margin: .5em 0 .3em; }
.local p { font-size: .93rem; color: var(--muted); margin: 0; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 50px 26px 0; position: relative; font: 500 1.2rem var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 14px; margin-top: -9px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--ink-2); padding-right: 50px; margin-bottom: 26px; }

/* Formulär */
.card { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); }
.card.block { padding: 30px; margin-bottom: 24px; }
.form-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.form-card { padding: clamp(26px, 3.4vw, 44px); }
.contact-list { list-style: none; padding: 0; margin: 30px 0 0; border-top: 1px solid var(--line); }
.contact-list li { display: flex; justify-content: space-between; gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list span { color: var(--muted); }
.bg-night .contact-list, .bg-night .contact-list li { border-color: rgba(255, 255, 255, .14); }
.bg-night .contact-list a { color: #f1d3b6; }
label { display: block; font-weight: 500; font-size: .86rem; color: var(--ink-2); margin-bottom: 18px; }
input:not([type=checkbox]):not([type=file]):not([type=radio]), select, textarea { display: block; width: 100%; margin-top: 7px; padding: .85em 1em; font: 400 1rem/1.4 var(--sans); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); transition: border-color .2s, box-shadow .2s, background .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px var(--accent-soft); }
input:disabled { background: var(--sand); color: var(--muted); }
textarea { resize: vertical; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 18px; }
label.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: .9rem; }
label.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 20px; }
.chips label { margin: 0; position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: .55em 1.1em; border: 1px solid var(--line); border-radius: 99px; font-size: .88rem; cursor: pointer; transition: .2s; background: var(--paper); }
.chips input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.w-200 { max-width: 220px; }

/* Avdelningsheader för auktioner */
.auction-head { padding: calc(var(--header-h) + 70px) 0 50px; background: var(--night); color: #e9e1d7; position: relative; overflow: hidden; }
.auction-head::after { content: ""; position: absolute; right: -60px; bottom: -40px; width: 520px; height: 180px; background: url("../img/farm-illustration-light.png") center / contain no-repeat; opacity: .08; }
.auction-head h1 { color: #fff; }
.auction-head .lead { color: rgba(233, 225, 215, .78); }
.auction-stats { display: flex; gap: 40px; margin-top: 34px; flex-wrap: wrap; }
.auction-stats div { font-size: .82rem; color: rgba(233, 225, 215, .65); }
.auction-stats strong { display: block; font: 500 1.7rem var(--serif); color: #fff; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; margin-bottom: 30px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.toolbar-right { display: flex; gap: 10px; align-items: center; }
.toolbar-right input, .toolbar-right select { margin: 0; width: auto; min-width: 210px; padding: .6em 1em; border-radius: 99px; background: #fff; }
.tabs { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.tabs a { padding: .55em 1.15em; border-radius: 99px; text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: .9rem; border: 1px solid var(--line); transition: .2s; }
.tabs a:hover { border-color: var(--ink); color: var(--ink); }
.tabs a.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.small-tabs { margin-bottom: 18px; }
.how-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--r); overflow: hidden; margin-top: 80px; }
.how-strip div { background: var(--linen); padding: 28px; }
.how-strip b { font: 500 1.6rem var(--serif); color: var(--brass); display: block; margin-bottom: 8px; }
.how-strip h3 { font-size: 1.15rem; margin-bottom: .3em; }
.how-strip p { font-size: .9rem; color: var(--muted); margin: 0; }

/* Auktionssida */
.crumbs { padding-top: 26px; padding-bottom: 22px; font-size: .88rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; } .crumbs a:hover { color: var(--ink); }
.crumbs span { margin: 0 8px; opacity: .6; }
.auction-layout { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-areas: "gal box" "desc box"; grid-template-rows: auto 1fr; gap: 0 56px; align-items: start; }
.auction-gallery { grid-area: gal; }
.bid-box { grid-area: box; }
.auction-desc { grid-area: desc; margin-top: 50px; }
.ag-main { border-radius: var(--r); overflow: hidden; background: var(--linen); aspect-ratio: 4 / 3.4; }
.ag-main img { width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; }
.ag-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.ag-thumbs button { width: 88px; height: 70px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: var(--sand); opacity: .7; transition: .2s; }
.ag-thumbs button.active, .ag-thumbs button:hover { border-color: var(--brass); opacity: 1; }
.ag-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.prose { color: var(--ink-2); font-size: 1.05rem; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.specs { display: grid; grid-template-columns: max-content 1fr; gap: 12px 30px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.specs dt { color: var(--muted); font-size: .9rem; } .specs dd { margin: 0; font-weight: 500; }
.bid-box { padding: 34px; position: sticky; top: 90px; }
.bid-title { font-size: clamp(1.8rem, 2.6vw, 2.4rem); }
.countdown { background: var(--night); color: #fff; border-radius: 14px; padding: 18px 22px; margin: 18px 0 22px; display: grid; }
.countdown small { text-transform: uppercase; letter-spacing: .14em; font-size: .7rem; color: rgba(255, 255, 255, .55); }
.countdown strong { font: 500 2rem var(--serif); font-variant-numeric: tabular-nums; }
.countdown .muted { color: rgba(255, 255, 255, .55); }
.countdown.urgent { background: var(--barn); }
.status-banner { border-radius: 14px; padding: 18px 22px; margin: 18px 0; font-weight: 600; font-size: 1.05rem; }
.status-banner.sold { background: var(--ok-bg); color: var(--ok); }
.status-banner.ended { background: var(--linen); color: var(--ink-2); }
.price-row { display: flex; justify-content: space-between; align-items: end; padding: 4px 0 18px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.price { font: 500 2.7rem/1.05 var(--serif); color: var(--ink); }
.price-row .right strong { font: 500 1.5rem var(--serif); }
.price.flash-up { animation: pulse 1s; }
@keyframes pulse { 0% { color: var(--brass); transform: scale(1.05); } 100% { color: var(--ink); transform: none; } }
.lead-note { background: var(--ok-bg); color: var(--ok); padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: .9rem; }
.bid-input { position: relative; }
.bid-input input { font: 500 1.6rem var(--serif) !important; padding-right: 54px !important; background: #fff !important; }
.bid-input span { position: absolute; right: 18px; top: 50%; transform: translateY(-38%); color: var(--muted); font-weight: 600; }
.quick-bids { display: flex; gap: 8px; margin: 12px 0 18px; flex-wrap: wrap; }
.quick-bids button { background: var(--paper); border: 1px solid var(--line); border-radius: 99px; padding: .45em 1em; font: 600 .84rem var(--sans); cursor: pointer; color: var(--ink-2); transition: .2s; }
.quick-bids button:hover { border-color: var(--brass); color: var(--brass-deep); }
.or { text-align: center; position: relative; margin: 20px 0; color: var(--muted); font-size: .82rem; }
.or::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid var(--line); }
.or span { position: relative; background: #fff; padding: 0 14px; }
.login-cta { background: var(--linen); padding: 22px; border-radius: 14px; display: grid; gap: 10px; }
.login-cta p { margin: 0 0 4px; }
.winner-box { background: var(--ok-bg); padding: 22px; border-radius: 14px; }
.winner-box h3 { color: var(--ok); }
.trust { list-style: none; padding: 20px 0 0; margin: 24px 0 0; border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
.trust li { padding-left: 26px; position: relative; margin: 7px 0; }
.trust li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.bid-history { margin-top: 24px; }
.bid-history h3 { font-size: 1.1rem; }
.bid-history ol { list-style: none; padding: 0; margin: 0; max-height: 300px; overflow: auto; }
.bid-history li { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9rem; align-items: center; }
.bid-history li.top strong:last-child { color: var(--brass-deep); }
.admin-strip { padding-bottom: 40px; }

/* Konto / inloggning */
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - var(--header-h)); }
.auth-card { margin: 50px auto 60px; width: min(470px, calc(100% - 40px)); padding: 44px; align-self: center; }
.auth-card h1 { font-size: 2.4rem; }
.auth-side { position: relative; overflow: hidden; }
.auth-side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth-side::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(20, 13, 10, .7)); }
.auth-side blockquote { position: absolute; z-index: 2; left: 48px; right: 48px; bottom: 48px; margin: 0; color: #fff; font: 400 1.6rem/1.35 var(--serif); }
.auth:not(:has(.auth-side)) { grid-template-columns: 1fr; }
.pw-meter { height: 5px; background: var(--sand); border-radius: 99px; overflow: hidden; margin: -8px 0 8px; }
.pw-meter span { display: block; height: 100%; width: 0; background: var(--bad); transition: width .25s, background .25s; }
.page-head { padding: 70px 0 40px; }
.account-grid { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.win-card { border: 2px solid #c4e0cc; }
.list-rows { display: grid; gap: 4px; }
.row-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; padding: 12px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.row-item:hover { background: var(--paper); color: var(--ink); }
.ri-img { width: 64px; height: 52px; border-radius: 8px; overflow: hidden; background: var(--sand); }
.ri-img img { width: 100%; height: 100%; object-fit: cover; }
.ri-main small, .ri-side small { display: block; color: var(--muted); font-size: .82rem; }
.ri-side { text-align: right; }
.pill { display: inline-block; padding: .2em .75em; border-radius: 99px; font-size: .74rem; font-weight: 600; margin-top: 3px; }
.pill.ok { background: var(--ok-bg); color: var(--ok) !important; }
.pill.bad { background: var(--bad-bg); color: var(--bad) !important; }
.pill.wait { background: var(--warn-bg); color: var(--warn) !important; }
.pill.info { background: #e6edf4; color: #2d4a66 !important; }
.pill.muted { background: var(--sand); }
.notes { position: sticky; top: 90px; }
.note-list { list-style: none; padding: 0; margin: 0; }
.note { padding: 12px 0 12px 14px; border-bottom: 1px solid var(--line); font-size: .92rem; border-left: 3px solid transparent; }
.note.unread { border-left-color: var(--barn); background: linear-gradient(90deg, #f6e7e4, transparent); }
.note-win { border-left-color: var(--ok) !important; }
.note a { color: var(--ink); text-decoration: none; } .note a:hover { color: var(--barn); }
.note small { display: block; color: var(--muted); font-size: .78rem; margin-top: 3px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

/* Admin */
.admin-shell { display: grid; grid-template-columns: 220px 1fr; gap: 36px; padding-top: 36px; padding-bottom: 80px; align-items: start; }
.admin-nav { position: sticky; top: 90px; display: grid; gap: 2px; }
.admin-nav a { padding: .65em 1em; border-radius: 10px; text-decoration: none; color: var(--ink-2); font-weight: 500; }
.admin-nav a:hover { background: var(--linen); }
.admin-nav a.active { background: var(--ink); color: #fff; }
.admin-main h1 { font-size: 2.2rem; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.stat { background: #fff; border-radius: var(--r); padding: 22px 24px; border: 1px solid var(--line); }
.stat small { color: var(--muted); font-size: .82rem; }
.stat strong { display: block; font: 500 2.1rem var(--serif); }
.stat.warn { border-color: #ecc98f; background: var(--warn-bg); }
.tbl { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tbl th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 10px; border-bottom: 1px solid var(--line); font-weight: 600; }
.tbl td { padding: 13px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl td.thumb img { width: 56px; height: 44px; object-fit: cover; border-radius: 6px; }
.tbl td.actions { display: flex; gap: 6px; flex-wrap: wrap; }
.tbl form { margin: 0; }
.admin-form fieldset { border: 1.5px dashed var(--line); border-radius: 12px; padding: 18px; margin: 4px 0 22px; }
.admin-form legend { font-weight: 600; font-size: .9rem; padding: 0 6px; }
.img-admin, .img-preview { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.img-tile { position: relative; width: 130px; }
.img-tile img, .img-preview img { width: 130px; height: 100px; object-fit: cover; border-radius: 8px; }
.danger-zone { display: flex; justify-content: space-between; align-items: center; gap: 20px; border: 1px solid #efc5bf; }
.danger-zone h3 { color: var(--bad); margin-bottom: 4px; } .danger-zone p { margin: 0; }
.inq { padding: 18px 0; border-bottom: 1px solid var(--line); }
.inq header { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.inq .push { margin-left: auto; }
.inq.done { opacity: .55; }
.error-page { padding: 100px 0 120px; }

/* ---------- Sidfot ---------- */
.site-footer { background: var(--night); color: rgba(233, 225, 215, .7); padding: 100px 0 0; position: relative; overflow: hidden; }
.footer-cta { text-align: center; padding-bottom: 80px; border-bottom: 1px solid rgba(255, 255, 255, .1); margin-bottom: 70px; }
.footer-cta img { width: min(360px, 70%); margin: 0 auto 34px; opacity: .9; }
.footer-cta h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.4rem); }
.footer-cta h2 em { color: #f1d3b6; }
.footer-cta .hero-actions { justify-content: center; }
.site-footer a { color: rgba(233, 225, 215, .9); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px; }
.site-footer h4 { color: rgba(233, 225, 215, .45); margin-bottom: 16px; }
.footer-brand { font: 500 1.5rem var(--serif); color: #fff; margin-bottom: 12px; }
.footer-bottom { display: flex; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 70px; padding: 24px 0 30px; font-size: .84rem; color: rgba(233, 225, 215, .45); gap: 10px; flex-wrap: wrap; }

/* Mobil bokningsknapp */
.mobile-cta { display: none; }

/* Scroll-animationer */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsivt ---------- */
@media (max-width: 1100px) {
  .editorial .ed-media, .editorial.flip .ed-media { grid-column: 1 / span 7; }
  .editorial .ed-text { grid-column: 8 / span 5; }
  .editorial.flip .ed-media { grid-column: 6 / span 7; }
  .editorial.flip .ed-text { grid-column: 1 / span 5; }
  .local-grid { grid-template-columns: 1fr 1fr; }
  .auction-layout, .account-grid { grid-template-columns: 1fr; }
  .auction-layout { grid-template-areas: "gal" "box" "desc"; gap: 30px; }
  .auction-desc { margin-top: 0; }
  .bid-box, .notes { position: static; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-nav { position: static; display: flex; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .how-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 66px; }
  body { font-size: 16px; }
  .nav-toggle { display: block; position: relative; z-index: 2; }
  .main-nav { position: fixed; inset: 0; background: var(--night); color: #fff; flex-direction: column; align-items: flex-start; justify-content: center; padding: 90px 32px 40px; gap: 2px; opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); }
  .main-nav.open { opacity: 1; pointer-events: auto; }
  .main-nav > a, .main-nav .linklike { font: 400 2rem/1.3 var(--serif); padding: .25em 0; opacity: 1; }
  .main-nav > a:not(.btn)::after { left: 0; right: 0; bottom: 0; }
  .main-nav > a.btn { margin: 26px 0 0; font: 600 1rem var(--sans); }
  .main-nav .nav-sep { width: 60px; height: 1px; margin: 18px 0; }
  .main-nav form.inline .linklike { font-size: 1.2rem; font-family: var(--sans); opacity: .7; }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header { color: #fff; background: transparent; box-shadow: none; backdrop-filter: none; }
  body.menu-open .brand-mark { background-image: url("../img/farm-illustration-light.png"); }
  .nav-toggle[aria-expanded=true] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded=true] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded=true] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .portal { flex-direction: column; height: auto; max-height: none; min-height: 0; }
  .portal-panel { flex: none !important; height: 62vh; min-height: 420px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .portal-panel:first-child { height: 78vh; }
  .portal-panel p { max-height: 8em; opacity: .9; margin-bottom: 18px; }
  .portal:hover .portal-panel:not(:hover) img { filter: saturate(.92) brightness(.9); }
  .scroll-cue { display: none; }
  .editorial, .editorial.flip { grid-template-columns: 1fr; gap: 60px; }
  .editorial .ed-media, .editorial .ed-text, .editorial.flip .ed-media, .editorial.flip .ed-text { grid-column: auto; order: initial; }
  .ed-media { margin-right: 12%; }
  .editorial.flip .ed-media { margin: 0 0 0 12%; }
  .ed-media .stamp { left: -8px; width: 104px; height: 104px; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .timeline::before { display: none; }
  .amenities { grid-template-columns: 1fr 1fr; }
  .next-grid, .form-wrap, .two-col, .room-card { grid-template-columns: 1fr; }
  .room-media { min-height: 320px; }
  .auction-grid.three { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .booking-bar { grid-template-columns: 1fr 1fr; }
  .booking-bar label:nth-child(2) { border-right: 0; }
  .booking-bar label:nth-child(3) { grid-column: span 2; border-right: 0; border-top: 1px solid var(--line); }
  .booking-bar .btn { grid-column: span 2; margin: 6px 0 0; }
  .auth { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .tbl { display: block; overflow-x: auto; }
  .subnav { top: var(--header-h); }
  .subnav-title { display: none; }
  .mobile-cta { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 55; gap: 8px; transform: translateY(140%); transition: transform .5s var(--ease); }
  .mobile-cta.show { transform: none; }
  .mobile-cta .btn { flex: 1; box-shadow: var(--shadow-lg); }
}
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .amenities, .grid-2, .grid-3, .footer-grid, .local-grid, .how-strip { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .hero { min-height: 92vh; }
  .hero-meta { gap: 22px; }
  .hero-meta strong { font-size: 1.3rem; }
  .toolbar-right input, .toolbar-right select { min-width: 0; flex: 1; }
  .bid-box, .card.block, .form-card, .auth-card { padding: 24px; }
  .row-item { grid-template-columns: 52px 1fr; }
  .ri-side { grid-column: 2; text-align: left; }
  .fact-row { gap: 26px 40px; }
  .brand-text small { display: none; }
  .next-card { min-height: 280px; }
  .faq summary { font-size: 1.08rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  @view-transition { navigation: none; }
}
.lead-sm { max-width: 26em; }
.amenities.mini { grid-template-columns: 1fr 1fr; margin-top: 26px; }
.amenities.mini .amenity { padding: 18px 20px; display: flex; align-items: center; gap: 14px; }
.amenities.mini svg { width: 26px; height: 26px; margin: 0; flex: none; }
.amenities.mini h3 { font: 500 .95rem var(--sans); margin: 0; }
#garden .editorial .ed-media .main { aspect-ratio: 4 / 4.2; }

.site-footer .btn-light { color: var(--ink); }
.site-footer .btn-light:hover { color: var(--ink); }
.ed-media .inset { object-position: center 30%; }
.bg-night .local { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); transition: background .3s, transform .4s var(--ease); }
.bg-night .local:hover { background: rgba(255, 255, 255, .08); transform: translateY(-3px); }
.bg-night .local small { color: #f1d3b6; }
.bg-night .local p { color: rgba(233, 225, 215, .7); }
main { overflow-x: clip; }
@media (max-width: 900px) {
  .ed-media .inset { right: -8%; width: 46%; }
  .editorial.flip .ed-media .inset { left: -8%; }
  .editorial.flip .ed-media .stamp { right: -8px; }
  .booking-bar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .booking-bar input, .booking-bar select { min-width: 0; width: 100%; }
}
.hero .hero-content { padding-top: calc(var(--header-h) + 90px); padding-bottom: clamp(60px, 9vh, 110px); }
@media (max-width: 600px) { .hero .hero-content { padding-top: calc(var(--header-h) + 50px); padding-bottom: 56px; } }

/* =====================================================================
   Admin v2
   ===================================================================== */
.admin-shell { grid-template-columns: 230px 1fr; }
.admin-nav h4 { margin: 0 0 12px 12px; }
.admin-nav a { display: flex; align-items: center; gap: 12px; padding: .62em .9em; font-size: .93rem; }
.admin-nav .ai { width: 19px; height: 19px; flex: none; }
.admin-nav .cnt { margin-left: auto; background: var(--barn); color: #fff; font-size: .7rem; min-width: 20px; height: 20px; border-radius: 99px; display: grid; place-items: center; padding: 0 6px; }
.admin-nav a.active .cnt { background: #fff; color: var(--ink); }
.admin-nav .back { margin-top: 14px; color: var(--muted); }
.ai { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; }
.btn .ai { width: 17px; height: 17px; }
.admin-main { min-width: 0; }
.admin-main h1 { font-size: clamp(1.9rem, 3vw, 2.5rem); margin-bottom: .15em; }
.admin-main h2 { font-size: 1.35rem; }
.admin-main .eyebrow a { color: inherit; text-decoration: none; }
.admin-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.admin-top .muted { margin: 0; max-width: 46em; }
.admin-top .eyebrow { margin-bottom: 12px; }
.quick { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.search-sm { width: 240px !important; margin: 0 !important; padding: .55em 1em !important; border-radius: 99px !important; }
.notice { display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; border-radius: 14px; background: #eef1f4; color: #2d4a66; margin-bottom: 22px; font-size: .94rem; }
.notice .ai { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.notice.warn { background: var(--warn-bg); color: var(--warn); }
.notice.ok { background: var(--ok-bg); color: var(--ok); }
.notice a { color: inherit; font-weight: 600; }
.stat-grid { grid-template-columns: repeat(3, 1fr); }
a.stat { text-decoration: none; color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s; }
a.stat:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.stat span { font-size: .8rem; color: var(--muted); }
.admin-cols { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: start; }
.todo-list { display: grid; gap: 4px; }
.todo { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 12px; }
.todo:hover { background: var(--paper); }
.todo .grow { flex: 1; min-width: 0; }
.todo .grow a { color: var(--ink); text-decoration: none; }
.todo small { display: block; color: var(--muted); }
.todo small a { color: var(--muted); }
.mini-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: .92rem; }
.mini-row small { color: var(--muted); margin-left: auto; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 55%; }
a.mini-row:hover strong { color: var(--barn); }
.mini-row .pill { margin: 0; }

/* Objektlista */
.obj-list { display: grid; gap: 12px; }
.obj { display: grid; grid-template-columns: 96px 1fr auto auto; gap: 20px; align-items: center; background: #fff; padding: 14px; border-radius: var(--r); box-shadow: var(--shadow); }
.obj-img { width: 96px; height: 80px; border-radius: 10px; overflow: hidden; background: var(--sand); display: grid; place-items: center; color: var(--muted); font-size: .75rem; text-decoration: none; }
.obj-img img { width: 100%; height: 100%; object-fit: cover; }
.obj-main { min-width: 0; }
.obj-main a { color: var(--ink); text-decoration: none; }
.obj-main h3 { font-size: 1.15rem; margin: 4px 0 2px; }
.obj-main a:hover h3 { color: var(--barn); }
.obj-price { text-align: right; }
.obj-price small { display: block; font-size: .74rem; color: var(--muted); }
.obj-price strong { font: 500 1.35rem var(--serif); }
.obj-act { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.obj-act form { margin: 0; }

/* Auktionsformulär */
.form-grid { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; margin-bottom: 24px; }
.form-grid .card.block { margin-bottom: 0; }
.form-side { display: grid; gap: 20px; position: sticky; top: 90px; }
.h-step { display: flex; align-items: center; gap: 12px; font-size: 1.2rem !important; margin: 6px 0 18px; }
.h-step:not(:first-child) { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.form-side .h-step:not(:first-child) { margin-top: 22px; padding-top: 20px; }
.h-step span { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 600 .8rem var(--sans); }
.money { position: relative; display: block; }
.money i { position: absolute; right: 16px; top: 50%; transform: translateY(-30%); font-style: normal; color: var(--muted); }
.money input { font: 500 1.2rem var(--serif) !important; }
.dropzone { display: grid; place-items: center; text-align: center; gap: 6px; padding: 34px 20px; border: 2px dashed var(--line); border-radius: 14px; background: var(--paper); cursor: pointer; position: relative; transition: border-color .2s, background .2s; margin-bottom: 14px; }
.dropzone:hover, .dropzone.drag { border-color: var(--barn); background: #fbf1ee; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone .ai { width: 34px; height: 34px; color: var(--barn); }
.dropzone small { color: var(--muted); font-weight: 400; max-width: 34em; }
.img-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; margin-bottom: 16px; }
.img-tile { position: relative; width: auto; border-radius: 10px; overflow: hidden; }
.img-tile img { width: 100%; height: 110px; object-fit: cover; border-radius: 10px; }
.cover-badge { position: absolute; left: 8px; top: 8px; background: var(--ink); color: #fff; font-size: .7rem; font-weight: 600; padding: .25em .7em; border-radius: 99px; }
.tile-btn { position: absolute; left: 8px; bottom: 8px; background: rgba(255, 255, 255, .92); border: 0; border-radius: 99px; font: 600 .7rem var(--sans); padding: .35em .7em; cursor: pointer; opacity: 0; transition: .2s; }
.img-tile:hover .tile-btn { opacity: 1; }
.tile-del { position: absolute; right: 6px; top: 6px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(27, 20, 17, .75); color: #fff; font-size: 1.1rem; cursor: pointer; }
.tile-del:hover { background: var(--bad); }
.img-tile button.btn { display: none; }
.preview-card h4 { margin-bottom: 12px; }
.pv-img { aspect-ratio: 4 / 3; border-radius: 12px; background: linear-gradient(135deg, var(--sand), #e1d4bf); overflow: hidden; margin-bottom: 12px; }
.pv-img img { width: 100%; height: 100%; object-fit: cover; }
.pv-title { display: block; font: 500 1.2rem var(--serif); margin-bottom: 10px; }
.pv-price { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 10px; }
.pv-price small { color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; }
.pv-price b { font: 500 1.2rem var(--serif); }
.action-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.act { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 !important; }
.act > div { flex: 1; min-width: 160px; }
.act h3 { font-size: 1.1rem; margin: 0 0 2px; }
.act p { margin: 0; }
.w-auto { width: auto !important; margin: 0 !important; }
.lead-row td { background: #f3f8f3; }

/* Kalender (admin) */
.cal-toolbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; margin-left: auto; font-size: .82rem; color: var(--muted); }
.lg::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; background: #fff; border: 1px solid var(--line); }
.lg.booked::before { background: var(--barn); border-color: var(--barn); }
.lg.prelim::before { background: #e8b061; border-color: #e8b061; }
.lg.closed::before { background: #9a9087; border-color: #9a9087; }
.lg.off::before { background: repeating-linear-gradient(45deg, #efe8dc, #efe8dc 3px, #fff 3px, #fff 6px); }
.lg.free::before { background: #fff; border-color: var(--moss); }
.cal-months { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 16px; }
.cal { padding: 20px; }
.cal h3 { font-size: 1.15rem; margin-bottom: 12px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-grid .wd { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); text-align: center; padding-bottom: 4px; }
.day { position: relative; aspect-ratio: 1; border: 1px solid var(--line); background: #fff; border-radius: 8px; cursor: pointer; font: 500 .85rem var(--sans); color: var(--ink); padding: 4px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; overflow: hidden; transition: transform .12s, box-shadow .12s; }
.day:hover { box-shadow: 0 0 0 2px var(--ink) inset; }
.day i { font-style: normal; font-size: .58rem; line-height: 1.1; opacity: .9; white-space: nowrap; max-width: 100%; overflow: hidden; }
.day.weekend span { font-weight: 700; }
.day.off { background: repeating-linear-gradient(45deg, #f4eee4, #f4eee4 4px, #fff 4px, #fff 8px); color: var(--muted); }
.day.booked { background: var(--barn); border-color: var(--barn); color: #fff; }
.day.prelim { background: #e8b061; border-color: #e8b061; color: #3d2a10; }
.day.closed { background: #9a9087; border-color: #9a9087; color: #fff; }
.day.past { opacity: .45; }
.day.today { box-shadow: 0 0 0 2px var(--moss) inset; }
.day.sel { box-shadow: 0 0 0 3px var(--ink) inset, 0 4px 12px rgba(0, 0, 0, .15); transform: scale(1.05); z-index: 1; }
.cal-bar { position: sticky; bottom: 16px; z-index: 20; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; background: var(--night); color: #fff; padding: 14px 18px; border-radius: 16px; box-shadow: var(--shadow-lg); opacity: .55; transition: opacity .3s; margin-bottom: 8px; }
.cal-bar.active { opacity: 1; }
.cal-bar .chips { margin: 0; }
.cal-bar .chips span { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.cal-bar .chips input:checked + span { background: #fff; color: var(--ink); border-color: #fff; }
.cal-bar input[name=note] { flex: 1; min-width: 200px; margin: 0; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: #fff; }
.cal-bar input[name=note]::placeholder { color: rgba(255, 255, 255, .5); }
.cal-bar .linklike { color: rgba(255, 255, 255, .7); text-decoration: underline; margin-left: 6px; }
.cal-sel { font-size: .9rem; }
kbd { background: var(--sand); border-radius: 4px; padding: 0 5px; font-size: .85em; }

/* Kalender (publik) */
.pub-cal { background: #fff; border-radius: var(--r); padding: clamp(20px, 3vw, 36px); box-shadow: var(--shadow); }
.pub-cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.pub-cal-nav strong { font: 500 1.2rem var(--serif); text-transform: capitalize; }
.pub-cal-months { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; min-height: 280px; }
.pc-month h3 { font-size: 1.1rem; text-align: center; margin-bottom: 12px; }
.pc-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.pc-grid .wd { text-align: center; font-size: .7rem; color: var(--muted); padding-bottom: 4px; }
.pd { aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; font-size: .9rem; border: 0; background: none; color: var(--ink); }
.pd.free { cursor: pointer; background: #eef2ea; color: var(--moss-deep); font-weight: 600; transition: background .2s, color .2s, transform .2s; }
.pd.free:hover { background: var(--moss); color: #fff; transform: scale(1.08); }
.pd.booked { color: var(--barn); text-decoration: line-through; opacity: .75; }
.pd.closed, .pd.past { color: #c2b8ad; }
.pub-cal .legend { margin: 22px 0 0; justify-content: center; }

/* Förfrågningar */
.inq-list { display: grid; gap: 16px; }
.inq.card { padding: 22px 24px; border: 0; }
.inq header { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.inq header h3 { margin: 0; font-size: 1.25rem; }
.inq-body { display: grid; grid-template-columns: 1fr 280px; gap: 26px; }
.specs.compact { margin: 0 0 12px; padding: 0; border: 0; gap: 6px 20px; font-size: .92rem; }
.inq .msg { background: var(--paper); padding: 14px 16px; border-radius: 10px; margin: 0; font-size: .95rem; }
.inq-side { display: grid; gap: 14px; align-content: start; }
.inq-side form { margin: 0; }
.inq-side select, .inq-side textarea, .inq-side input { margin: 4px 0 6px !important; font-size: .9rem !important; padding: .55em .8em !important; }
.book-form { background: var(--paper); border-radius: 10px; padding: 12px; }
.book-form small { font-weight: 600; font-size: .78rem; }
.book-form .row { display: flex; gap: 8px; align-items: center; }
.book-form .row select { flex: 1; }
.danger-link { color: var(--bad); text-decoration: underline; }

/* Galleri (admin) */
.gal-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.gal-tile { padding: 10px; display: grid; gap: 8px; }
.gal-tile img { width: 100%; height: 160px; object-fit: cover; border-radius: 10px; }
.alt-form { display: flex; gap: 6px; }
.alt-form input { margin: 0 !important; padding: .45em .7em !important; font-size: .85rem !important; }
.gal-act { display: flex; gap: 6px; }
.gal-act form { margin: 0; }
.gal-act form:last-child { margin-left: auto; }

/* Inställningar / säkerhet */
.settings .span-2 { grid-column: span 2; }
.sticky-save { position: sticky; bottom: 16px; display: flex; justify-content: flex-end; }
.sticky-save .btn { box-shadow: var(--shadow-lg); }
.secret { font: 600 1.25rem/1.6 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .06em; background: var(--paper); border: 1px dashed var(--line); border-radius: 12px; padding: 14px 18px; margin: 8px 0; word-break: break-all; }
.steps-ol { padding-left: 20px; margin: 0 0 8px; }
.steps-ol li { margin: 6px 0; }
.code-input { font: 600 1.6rem ui-monospace, Menlo, Consolas, monospace !important; letter-spacing: .3em; text-align: center; }

/* Meddelanderad */
.site-banner { position: fixed; left: 50%; bottom: 20px; z-index: 70; transform: translate(-50%, 140%); display: flex; align-items: center; gap: 14px; background: var(--night); color: #fff; padding: 12px 14px 12px 22px; border-radius: 99px; box-shadow: var(--shadow-lg); font-size: .93rem; max-width: calc(100% - 32px); transition: transform .6s var(--ease); }
.site-banner.show { transform: translate(-50%, 0); }
.site-banner button { background: rgba(255, 255, 255, .12); border: 0; color: #fff; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; flex: none; font-size: 1.1rem; }

@media (max-width: 1100px) {
  .form-grid, .admin-cols, .inq-body { grid-template-columns: 1fr; }
  .form-side { position: static; }
  .cal-months, .pub-cal-months { grid-template-columns: 1fr 1fr; }
  .admin-nav a { padding: .5em .8em; font-size: .85rem; }
  .admin-nav h4, .admin-nav .back { display: none; }
}
@media (max-width: 700px) {
  .obj { grid-template-columns: 72px 1fr; }
  .obj-img { width: 72px; height: 64px; }
  .obj-price { grid-column: 2; text-align: left; }
  .obj-act { grid-column: 1 / -1; justify-content: flex-start; }
  .cal-months, .pub-cal-months { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .settings .span-2 { grid-column: auto; }
  .legend { margin-left: 0; }
  .admin-nav { gap: 4px; }
  .admin-nav a span { display: none; }
  .admin-nav a.active span { display: inline; }
  .mobile-cta ~ .site-banner, body:has(.mobile-cta) .site-banner { bottom: 84px; }
}

/* =====================================================================
   Gårdsbutiken
   ===================================================================== */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 24px; }
.product-grid.small { grid-template-columns: repeat(4, 1fr); }
.product-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.product-card:hover { color: var(--ink); }
.pc-img { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--sand); }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.product-card:hover .pc-img img { transform: scale(1.05); }
.pc-flag { position: absolute; left: 14px; top: 14px; background: #fff; color: var(--brass-deep); padding: .4em .85em; border-radius: 99px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; }
.pc-flag.sold { background: var(--ink); color: #fff; }
.pc-flag.held { background: #e8b061; color: #3d2a10; }
.pc-ship { position: absolute; right: 14px; bottom: 14px; background: rgba(27, 20, 17, .75); color: #fff; padding: .4em .8em; border-radius: 99px; font-size: .72rem; font-weight: 600; backdrop-filter: blur(6px); }
.pc-body { padding: 16px 2px 0; }
.pc-body h3 { font-size: 1.2rem; margin-bottom: 8px; transition: color .2s; }
.product-card:hover h3 { color: var(--brass-deep); }
.pc-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.pc-price { font: 500 1.3rem var(--serif); }
.pc-price s { font-size: .9rem; color: var(--muted); margin-left: 4px; }
.pc-cond { font-size: .8rem; color: var(--muted); }
.product-card.is-sold .pc-img img { filter: grayscale(.6) brightness(.9); }
.product-card.is-sold .pc-price { color: var(--muted); text-decoration: line-through; }
.sold-strip { margin-top: 90px; padding-top: 60px; border-top: 1px solid var(--line); }
.cat-tabs a small { opacity: .6; margin-left: 2px; }
.shop-head::after { opacity: .1; }
.buy-box .price-row { align-items: center; }
.buy-box .price-row small { display: block; margin-top: 4px; }
.buy-box .btn-block + .btn-block { margin-top: 10px; }
.unique-note { font: italic 400 1rem var(--serif); color: var(--brass-deep); margin: 0 0 16px; }
.status-banner.held { background: var(--warn-bg); color: var(--warn); font-weight: 500; font-size: .95rem; }
.cart-link { position: relative; display: grid; place-items: center; width: 40px; height: 40px; color: inherit; margin-left: 4px; }
.cart-link .ai { width: 22px; height: 22px; }
.cart-link .badge { position: absolute; top: 0; right: -2px; margin: 0; }
.main-nav > a.cart-link::after { display: none; }

/* Varukorg & kassa */
.checkout-grid { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.summary { position: sticky; top: 90px; }
.summary h2 { font-size: 1.4rem; }
.cart-lines { padding: 10px 22px; }
.cart-line { display: grid; grid-template-columns: 76px 1fr auto auto auto; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-line:last-child { border-bottom: 0; }
.cart-line .ri-img { width: 76px; height: 76px; }
.cart-line.bad { opacity: .8; }
.cart-line.bad .ri-img img { filter: grayscale(1); }
.cl-main a { color: var(--ink); text-decoration: none; }
.cl-main small { display: block; color: var(--muted); font-size: .84rem; }
.cl-qty input { width: 70px; margin: 0; padding: .4em .6em; }
.cl-sum { font: 500 1.2rem var(--serif); }
.cart-line .tile-del { position: static; background: var(--sand); color: var(--ink); }
.cart-line .tile-del:hover { background: var(--bad); color: #fff; }
.sum-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.sum-row.total { border-bottom: 0; font-size: 1.1rem; padding-top: 14px; }
.sum-row.total strong { font: 500 1.6rem var(--serif); }
.sum-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; text-decoration: none; color: var(--ink); font-size: .92rem; }
.sum-item .ri-img { width: 52px; height: 52px; }
.btn.disabled, .btn:disabled { opacity: .45; pointer-events: none; }
.bad-text { color: var(--bad); }
.block-link { display: block; margin-top: 14px; }
.hold-banner { display: flex; gap: 14px; align-items: center; background: var(--ok-bg); color: var(--ok); padding: 16px 20px; border-radius: 14px; margin-bottom: 20px; font-size: .95rem; }
.hold-banner .ai { width: 24px; height: 24px; flex: none; }
.hold-banner strong { font-variant-numeric: tabular-nums; }
.hold-banner.urgent { background: var(--warn-bg); color: var(--warn); }
.hold-banner.expired { background: var(--bad-bg); color: var(--bad); }
.hold-banner a { color: inherit; font-weight: 600; }
.choice-list { display: grid; gap: 10px; margin-bottom: 20px; }
.choice { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; margin: 0; font-weight: 400; transition: border-color .2s, background .2s; }
.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.choice input { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; flex: none; }
.choice.disabled { opacity: .5; cursor: not-allowed; }
.ch-body { flex: 1; }
.ch-body strong { display: block; font-size: 1rem; color: var(--ink); }
.ch-body small { color: var(--muted); }
.ch-price { font: 500 1.1rem var(--serif); color: var(--ink); }
.pay-card { background: var(--night); color: #e9e1d7; border-radius: var(--r); padding: 30px; margin-bottom: 24px; }
.pay-swish { display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; align-items: baseline; margin-bottom: 18px; }
.pay-swish small { color: rgba(233, 225, 215, .6); text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; }
.pay-swish strong { font: 500 1.6rem var(--serif); color: #fff; }
.pay-card p { margin: 0; }
.order-ic { display: grid; place-items: center; color: var(--muted); }
.order-ic .ai { width: 24px; height: 24px; }
.click-row:hover td { background: var(--paper); }
.msg { background: var(--paper); padding: 14px 16px; border-radius: 10px; font-size: .95rem; }

@media (max-width: 1100px) {
  .product-grid, .product-grid.small { grid-template-columns: repeat(3, 1fr); }
  .checkout-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 700px) {
  .product-grid, .product-grid.small { grid-template-columns: 1fr 1fr; gap: 24px 14px; }
  .pc-body h3 { font-size: 1.02rem; }
  .pc-price { font-size: 1.1rem; }
  .pc-cond { display: none; }
  .pc-ship { display: none; }
  .cart-line { grid-template-columns: 64px 1fr auto; }
  .cart-line .ri-img { width: 64px; height: 64px; grid-row: span 2; }
  .cl-qty, .cl-sum { grid-column: 2; }
  .cart-line form:last-child { grid-column: 3; grid-row: 1; }
  .pay-swish strong { font-size: 1.25rem; }
}
.pill.warn { background: var(--warn-bg); color: var(--warn) !important; }
@media (max-width: 700px) {
  .auction-head { padding: calc(var(--header-h) + 36px) 0 36px; }
  .auction-head .lead { font-size: 1rem; }
  .auction-stats { gap: 22px; margin-top: 22px; }
  .auction-stats strong { font-size: 1.3rem; }
  .cat-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: 100%; padding-bottom: 2px; }
  .cat-tabs::-webkit-scrollbar { display: none; }
  .cat-tabs a { white-space: nowrap; }
  .toolbar { gap: 12px; }
  .toolbar-right { width: 100%; }
}
a.todo { text-decoration: none; color: var(--ink); } a.todo:hover { color: var(--ink); } a.todo strong { color: var(--ink); }

/* =====================================================================
   v5 – Art direction: "galleri på landet"
   Inspirerat av Daylesford (lugn, versaler, luft) och Modernity
   (katalogprecision, kursiv serif, referensnummer). Raka hörn,
   inga skuggor, hårfina linjer och bilder som får ta plats.
   ===================================================================== */
:root {
  --r: 2px; --r-sm: 2px;
  --shadow: none;
  --shadow-lg: 0 20px 60px rgba(34, 25, 21, .12);
  --hair: 1px solid rgba(34, 25, 21, .14);
  --paper: #f8f5ef;
  --linen: #efe9df;
  --ink: #1e1814;
  --label: 500 .68rem/1.4 var(--sans);
}
body {
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .12 0 0 0 0 .09 0 0 0 0 .07 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
h1, h2, h3 { font-weight: 400; letter-spacing: -.02em; }
h4 { font: var(--label); letter-spacing: .22em; }

/* Etiketter i stället för "streck-eyebrows" */
.eyebrow { font: var(--label); letter-spacing: .26em; color: var(--ink-2); gap: 10px; }
.eyebrow::before, .center .eyebrow::after, .eyebrow.both::after { content: none; }
.eyebrow.light { color: rgba(255, 255, 255, .82); }
.bg-night .eyebrow, .hero .eyebrow { color: rgba(255, 255, 255, .82); }
.label { font: var(--label); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

/* Knappar: raka, versaler, spärrade */
.btn { border-radius: 0; font: 500 .72rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; padding: 1.25em 2.2em; box-shadow: none !important; }
.btn-lg { padding: 1.45em 2.6em; font-size: .74rem; }
.btn-sm { padding: 1em 1.6em; font-size: .66rem; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); color: #fff; }
.btn-line, .btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-line:hover, .btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { border-radius: 0; }
.btn-light { color: var(--ink); }
.btn .arr { display: none; }
.link-arrow { font: var(--label); letter-spacing: .22em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 6px; }
.link-arrow::after { content: ""; }

/* Kort & ytor */
.card { box-shadow: none; border: var(--hair); border-radius: 0; background: #fffdf9; }
.ed-media .main, .ed-media .inset, .g-item, .next-card, .room-card, .pub-cal, .amenities, .empty, .local, .how-strip, .cta-band, .pay-card { border-radius: 0; }
.ed-media .stamp { border-radius: 50%; }
.room-card, .pub-cal { box-shadow: none; border: var(--hair); }
.tag { border-radius: 0; background: transparent; border: 1px solid currentColor; font: var(--label); letter-spacing: .16em; text-transform: uppercase; padding: .5em .9em; }
.pill { border-radius: 0; font-weight: 500; letter-spacing: .04em; }
.flash { border-radius: 0; }
input:not([type=checkbox]):not([type=file]):not([type=radio]), select, textarea { border-radius: 0; background: #fffdf9; }
.chips span { border-radius: 0; }

/* Header: mittställt varumärke */
.site-header { height: var(--header-h); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.nav-left, .nav-right { display: flex; align-items: center; gap: 26px; }
.nav-right { justify-content: flex-end; }
.nav-left a, .nav-right > a:not(.btn) { position: relative; color: inherit; text-decoration: none; font: var(--label); letter-spacing: .2em; text-transform: uppercase; opacity: .92; padding: 6px 0; }
.nav-left a::after, .nav-right > a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav-left a:hover::after, .nav-left a.active::after, .nav-right > a:hover::after, .nav-right > a.active::after { transform: scaleX(1); }
.nav-right .btn-line { color: inherit; border-color: currentColor; }
.has-hero .site-header:not(.solid) .nav-right .btn-line:hover { background: #fff; color: var(--ink); border-color: #fff; }
.brand { flex-direction: column; gap: 6px; text-align: center; }
.brand-mark { width: 64px; height: 22px; }
.brand-text { align-items: center; }
.brand-text strong { font: 400 1.45rem/1 var(--serif); letter-spacing: .01em; }
.brand-text small { font: 500 .56rem/1 var(--sans); letter-spacing: .32em; margin-top: 5px; }
.site-header.solid .brand-mark { display: none; }
.site-header.solid .brand-text small { display: none; }
.cart-n { display: inline-grid; place-items: center; min-width: 18px; height: 18px; margin-left: 8px; padding: 0 5px; border: 1px solid currentColor; border-radius: 50%; font-size: .62rem; letter-spacing: 0; vertical-align: 1px; }
.site-header .main-nav { display: none; }
.nav-toggle { display: none; }
.badge { border-radius: 50%; }

@media (max-width: 1100px) { .nav-left, .nav-right { gap: 18px; } .nav-right .btn-line { display: none; } }
@media (max-width: 900px) {
  .header-inner { grid-template-columns: 44px 1fr 44px; }
  .nav-left, .nav-right { display: none; }
  .nav-toggle { display: block; }
  .brand-mark { display: none; }
  .brand-text small { display: none; }
  .site-header .main-nav { display: flex; }
}

/* Sidfot & övrigt i samma anda */
.site-footer { background: #191310; }
.footer-cta h2 { font-weight: 400; }

/* =====================================================================
   Gårdsbutiken v5
   ===================================================================== */
.gb-intro { padding-top: 76px; padding-bottom: 56px; text-align: center; border-bottom: var(--hair); }
.gb-intro .label { display: block; margin-bottom: 26px; }
.gb-intro h1 { font-size: clamp(3.4rem, 9vw, 8.2rem); line-height: .95; letter-spacing: -.035em; margin: 0 0 26px; }
.gb-intro h1 em { color: var(--ink); }
.gb-intro .sub { font: italic 400 clamp(1.15rem, 1.8vw, 1.5rem)/1.5 var(--serif); color: var(--ink-2); max-width: 34em; margin: 0 auto; }
.gb-meta { display: flex; justify-content: center; gap: 0; margin-top: 40px; flex-wrap: wrap; }
.gb-meta span { font: var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); padding: 0 22px; border-left: var(--hair); }
.gb-meta span:first-child { border-left: 0; }

.gb-bar { position: sticky; top: 66px; z-index: 30; background: rgb(248, 245, 239); border-bottom: var(--hair); }
.gb-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 60px; }
.gb-cats { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.gb-cats::-webkit-scrollbar { display: none; }
.gb-cats a { font: var(--label); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); text-decoration: none; white-space: nowrap; padding: 20px 0 18px; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.gb-cats a sup { font-size: .6rem; margin-left: 3px; letter-spacing: 0; }
.gb-cats a:hover { color: var(--ink); }
.gb-cats a.active { color: var(--ink); border-bottom-color: var(--ink); }
.gb-tools { display: flex; align-items: center; gap: 18px; flex: none; }
.gb-tools input[type=search] { width: 200px; margin: 0; padding: .55em 0; border: 0; border-bottom: 1px solid var(--ink); background: transparent; font-size: .9rem; }
.gb-tools input[type=search]:focus { box-shadow: none; background: transparent; }
.gb-tools select { width: auto; margin: 0; padding: .55em 1.6em .55em 0; border: 0; background: transparent; font: var(--label); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.gb-tools select:focus { box-shadow: none; }

/* Utvalt: redaktionell komposition */
.gb-feature { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: end; padding: clamp(60px, 8vw, 110px) 0; border-bottom: var(--hair); }
.gb-feature .big .gb-img { aspect-ratio: 4 / 4.6; }
.gb-feature-side { display: grid; gap: 40px; }
.gb-feature-side .head h2 { font-size: clamp(2.2rem, 3.6vw, 3.4rem); margin: 10px 0 14px; }
.gb-feature-side .head p { color: var(--ink-2); margin: 0; max-width: 26em; }
.gb-feature-side .small-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* Föremålskort */
.gb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(48px, 6vw, 80px) clamp(24px, 3vw, 44px); padding: clamp(56px, 7vw, 96px) 0; }
.gb-item { display: block; text-decoration: none; color: var(--ink); }
.gb-item:hover { color: var(--ink); }
.gb-img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #e9e3d8; }
.gb-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .8s var(--ease), transform 1.6s var(--ease); }
.gb-img img.alt { opacity: 0; }
.gb-item:hover .gb-img img { transform: scale(1.035); }
.gb-item:hover .gb-img img.alt { opacity: 1; }
.gb-img .ac-noimg { position: absolute; inset: 0; }
.gb-flag { position: absolute; left: 0; top: 18px; background: var(--paper); color: var(--ink); font: var(--label); letter-spacing: .2em; text-transform: uppercase; padding: 7px 12px 7px 14px; }
.gb-flag.sold { background: var(--ink); color: #fff; }
.gb-flag.held { background: #e9c486; }
.gb-view { position: absolute; left: 50%; bottom: 20px; transform: translate(-50%, 8px); opacity: 0; background: var(--paper); font: var(--label); letter-spacing: .22em; text-transform: uppercase; padding: 12px 18px; transition: opacity .4s, transform .5s var(--ease); white-space: nowrap; }
.gb-item:hover .gb-view { opacity: 1; transform: translate(-50%, 0); }
.gb-cap { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding-top: 18px; }
.gb-no { grid-column: 1 / -1; font: var(--label); letter-spacing: .2em; color: var(--muted); text-transform: uppercase; }
.gb-title { font: italic 400 1.32rem/1.25 var(--serif); margin: 2px 0 0; }
.gb-price { font: 400 1.12rem/1.3 var(--serif); text-align: right; white-space: nowrap; padding-top: 2px; }
.gb-price s { display: block; font-size: .85rem; color: var(--muted); }
.gb-sub { grid-column: 1 / -1; font-size: .84rem; color: var(--muted); }
.gb-item.is-sold .gb-img img { filter: grayscale(.7) contrast(.95); opacity: .75; }
.gb-item.is-sold .gb-price { text-decoration: line-through; color: var(--muted); }

/* Berättelseruta i rutnätet */
.gb-story { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 3vw, 48px); background: var(--linen); text-align: center; aspect-ratio: 4 / 5; }
.gb-story .label { margin-bottom: 22px; }
.gb-story p { font: italic 400 clamp(1.25rem, 1.8vw, 1.6rem)/1.45 var(--serif); margin: 0 0 24px; }
.gb-story img { width: 140px; margin: 0 auto 24px; opacity: .85; }

/* Delad sektion à la Daylesford */
.gb-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; border-top: var(--hair); border-bottom: var(--hair); }
.gb-split .media { position: relative; overflow: hidden; }
.gb-split .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gb-split .text { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: clamp(40px, 6vw, 100px); background: var(--linen); }
.gb-split h2 { font-size: clamp(2rem, 3.2vw, 2.9rem); margin: 14px 0 20px; }
.gb-split p { color: var(--ink-2); max-width: 30em; }
.gb-steps { list-style: none; padding: 0; margin: 10px 0 30px; text-align: left; counter-reset: s; }
.gb-steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 10px; padding: 14px 0; border-bottom: var(--hair); }
.gb-steps li::before { content: counter(s, decimal-leading-zero); font: italic 400 1.1rem var(--serif); color: var(--accent); }
.gb-steps strong { display: block; font-weight: 500; }
.gb-steps span { color: var(--muted); font-size: .92rem; }

.gb-section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-top: clamp(60px, 8vw, 100px); }
.gb-section-head h2 { font-size: clamp(2rem, 3.4vw, 3rem); margin: 8px 0 0; }
.gb-grid.compact { grid-template-columns: repeat(4, 1fr); padding-top: 40px; }
.gb-empty { text-align: center; padding: 120px 20px; }
.gb-empty h2 { font-style: italic; }

/* Produktsida */
.gb-product { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 90px); align-items: start; padding: 20px 0 clamp(70px, 9vw, 120px); }
.gb-gallery { display: grid; gap: 12px; }
.gb-gallery figure { margin: 0; background: #e9e3d8; cursor: zoom-in; }
.gb-gallery img { width: 100%; height: auto; display: block; }
.gb-gallery .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gb-info { position: sticky; top: 100px; }
.gb-crumbs { font: var(--label); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding: 30px 0 22px; }
.gb-crumbs a { color: var(--muted); text-decoration: none; } .gb-crumbs a:hover { color: var(--ink); }
.gb-crumbs span { margin: 0 10px; }
.gb-info .gb-no { display: block; margin-bottom: 18px; }
.gb-info h1 { font: italic 400 clamp(2.2rem, 3.6vw, 3.3rem)/1.08 var(--serif); margin: 0 0 14px; }
.gb-byline { font: 400 1.1rem/1.5 var(--serif); color: var(--ink-2); margin: 0 0 28px; }
.gb-pricebox { display: flex; align-items: baseline; gap: 14px; padding: 22px 0; border-top: var(--hair); border-bottom: var(--hair); margin-bottom: 26px; }
.gb-pricebox .p { font: 400 2.2rem/1 var(--serif); }
.gb-pricebox s { color: var(--muted); }
.gb-pricebox .vat { margin-left: auto; font: var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.gb-actions { display: grid; gap: 10px; margin-bottom: 18px; }
.gb-actions .btn { width: 100%; }
.gb-unique { font: italic 400 1rem var(--serif); color: var(--ink-2); margin: 0 0 18px; display: flex; align-items: center; gap: 10px; }
.gb-unique::before { content: ""; width: 18px; height: 1px; background: var(--ink-2); }
.gb-notice { padding: 16px 18px; background: var(--linen); font-size: .94rem; margin-bottom: 18px; }
.gb-notice.held { background: #f6e9cf; }
.gb-spec { margin: 34px 0 0; display: grid; grid-template-columns: 150px 1fr; border-top: var(--hair); }
.gb-spec dt, .gb-spec dd { padding: 13px 0; border-bottom: var(--hair); margin: 0; font-size: .95rem; }
.gb-spec dt { font-family: var(--serif); font-style: italic; color: var(--muted); }
.gb-desc { margin-top: 34px; }
.gb-desc h2 { font: var(--label); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.gb-desc .prose { font: 400 1.1rem/1.75 var(--serif); color: var(--ink); }
.gb-assure { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(34, 25, 21, .12); border: var(--hair); }
.gb-assure li { background: var(--paper); padding: 16px 18px; font-size: .86rem; color: var(--ink-2); }
.gb-assure strong { display: block; font: var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin-bottom: 4px; }

/* Varukorg / kassa / kvitto */
.gb-page-head { padding-top: 56px; padding-bottom: 34px; border-bottom: var(--hair); margin-bottom: 40px; }
.gb-page-head h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); margin: 10px 0 0; }
.gb-page-head h1 em { color: var(--ink); }
.checkout-grid { grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(30px, 5vw, 80px); }
.summary { background: var(--linen); border: 0; padding: 34px; }
.summary h2 { font: var(--label); letter-spacing: .22em; text-transform: uppercase; margin-bottom: 18px; }
.sum-row { border-color: rgba(34, 25, 21, .12); }
.sum-row.total strong { font-weight: 400; }
.cart-lines { padding: 0; border: 0; background: transparent; }
.cart-line { padding: 24px 0; border-color: rgba(34, 25, 21, .14); grid-template-columns: 110px 1fr auto auto auto; }
.cart-line:first-child { border-top: var(--hair); }
.cart-line:last-child { border-bottom: var(--hair); }
.cart-line .ri-img { width: 110px; height: 136px; border-radius: 0; }
.cl-main strong { font: italic 400 1.3rem var(--serif); }
.cl-sum { font-weight: 400; }
.cart-line .tile-del { border-radius: 0; background: transparent; border: var(--hair); }
.ri-img { border-radius: 0; }
.choice { border-radius: 0; border: var(--hair); padding: 18px 20px; }
.choice:has(input:checked) { border-color: var(--ink); background: #fffdf9; box-shadow: inset 0 0 0 1px var(--ink); }
.ch-price { font-weight: 400; }
.hold-banner { border-radius: 0; background: transparent; border: var(--hair); color: var(--ink-2); }
.hold-banner.urgent { background: #f6e9cf; }
.h-step { font: 400 1.5rem var(--serif) !important; letter-spacing: -.01em; }
.h-step span { border-radius: 50%; background: transparent; border: 1px solid var(--ink); color: var(--ink); width: 30px; height: 30px; font: italic 400 .95rem var(--serif); }
.co-plain { border: 0; background: transparent; padding: 0; }
.co-plain .h-step:not(:first-child) { border-color: rgba(34, 25, 21, .14); }
.pay-card { background: var(--ink); }
.receipt { border: var(--hair); background: #fffdf9; padding: clamp(24px, 4vw, 48px); }

/* Distraktionsfri kassa */
body.checkout-mode .site-header { position: absolute; background: transparent; box-shadow: none; }
body.checkout-mode .nav-left, body.checkout-mode .nav-right, body.checkout-mode .nav-toggle { visibility: hidden; }
body.checkout-mode .site-footer { padding-top: 40px; }
.secure-note { display: inline-flex; align-items: center; gap: 8px; font: var(--label); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

@media (max-width: 1100px) {
  .gb-grid { grid-template-columns: repeat(2, 1fr); }
  .gb-grid.compact { grid-template-columns: repeat(2, 1fr); }
  .gb-product { grid-template-columns: 1fr; }
  .gb-info { position: static; }
  .checkout-grid { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .gb-feature { grid-template-columns: 1fr; }
  .gb-split { grid-template-columns: 1fr; }
  .gb-split .media { min-height: 360px; }
  .gb-bar { top: var(--header-h); }
  .gb-bar .wrap { flex-direction: column; align-items: stretch; gap: 0; }
  .gb-tools { border-top: var(--hair); justify-content: space-between; padding: 6px 0; }
  .gb-tools input[type=search] { flex: 1; width: auto; }
  .gb-meta span { padding: 6px 14px; }
}
@media (max-width: 560px) {
  .gb-grid, .gb-grid.compact { grid-template-columns: 1fr 1fr; gap: 36px 14px; }
  .gb-title { font-size: 1.05rem; }
  .gb-price { font-size: .95rem; }
  .gb-cap { grid-template-columns: 1fr; }
  .gb-price { text-align: left; }
  .gb-story { grid-column: 1 / -1; aspect-ratio: auto; }
  .gb-spec { grid-template-columns: 120px 1fr; }
  .gb-assure { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 80px 1fr auto; }
  .cart-line .ri-img { width: 80px; height: 100px; }
}
.gb-page-head.split { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; }
.secure-note a { color: inherit; }
.secure-note .ai { width: 16px; height: 16px; }
.gb-page-head .narrow h1 { font-size: clamp(2.4rem, 4.5vw, 3.8rem); }
.sum-item em { font-family: var(--serif); font-size: 1.02rem; }
.sum-item .gb-no { font-size: .6rem; }
.cl-main .gb-no { display: block; font-size: .62rem; margin-bottom: 4px; }
.gb-after { margin-top: 36px; }
.summary .btn-block { margin-top: 18px; }
.gb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gb-grid.compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gb-feature-side .small-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gb-feature { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.gb-tools input[type=search] { width: 220px !important; margin: 0 !important; padding: .6em 0 !important; border: 0 !important; border-bottom: 1px solid var(--ink) !important; background: transparent !important; box-shadow: none !important; }
.gb-tools select { width: auto !important; margin: 0 !important; border: 0 !important; background-color: transparent !important; box-shadow: none !important; }
.cart-link { display: inline-flex !important; align-items: center; white-space: nowrap; }
.portal-tag { border-radius: 0; background: rgba(20, 13, 10, .35); }
.portal-cta span { border-radius: 50%; }
@media (max-width: 1100px) { .gb-grid, .gb-grid.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 800px) { .gb-feature { grid-template-columns: 1fr; } .gb-tools input[type=search] { width: auto !important; flex: 1; } }
@media (max-width: 560px) { .gb-grid, .gb-grid.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gb-meta { flex-direction: column; gap: 6px; } .gb-meta span { border-left: 0; padding: 0; } .gb-flag { font-size: .58rem; } }

/* ==========================================================================
   v6 – Förhandsvisning (teasersida bakom lösenord)
   ========================================================================== */
.page-pre { background-color: var(--paper); }
.pre { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); min-height: 100vh; min-height: 100svh; }
.pre-media { position: relative; overflow: hidden; background: var(--night); }
.pre-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: preZoom 24s ease-out both; }
.pre-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27, 20, 17, 0) 55%, rgba(27, 20, 17, .45)); }
@keyframes preZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.pre-panel { display: flex; flex-direction: column; gap: 48px; padding: clamp(28px, 5vw, 72px); border-left: var(--hair); }
.pre-brand { display: flex; align-items: center; gap: 14px; }
.pre-brand strong { display: block; font: 400 1.25rem/1.1 var(--serif); letter-spacing: -.01em; }
.pre-brand small { display: block; font: var(--label); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.pre-body { margin-block: auto; max-width: 30rem; }
.pre-label { font: var(--label); letter-spacing: .26em; text-transform: uppercase; color: var(--accent); margin: 0 0 22px; }
.pre h1 { font: 400 clamp(2.3rem, 4.4vw, 3.6rem)/1.04 var(--serif); letter-spacing: -.025em; margin: 0 0 22px; text-wrap: balance; }
.pre h1 em { font-style: italic; color: var(--accent); }
.pre-lede { font-size: 1.06rem; line-height: 1.65; color: var(--ink-2); margin: 0 0 32px; }
.pre-hints { list-style: none; margin: 0 0 40px; padding: 0; border-top: var(--hair); }
.pre-hints li { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: var(--hair); font: 400 1.2rem/1.2 var(--serif); }
.pre-hints li span { width: 2.2em; font: var(--label); letter-spacing: .2em; color: var(--muted); }
.pre-hints em { font-style: italic; }
.pre-form label { display: block; font: var(--label); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; }
.pre-row { display: flex; gap: 0; border: 1px solid var(--ink); background: #fff; }
.pre-row input { flex: 1; min-width: 0; margin: 0 !important; border: 0 !important; border-radius: 0 !important; padding: .95em 1em !important; font-size: 1rem; background: transparent !important; box-shadow: none !important; }
.pre-row input:focus { outline: 2px solid var(--accent); outline-offset: -2px; }
.pre-row .btn { border-radius: 0; flex: none; }
.pre-form.has-error .pre-row { border-color: var(--bad); animation: preShake .35s; }
.pre-err { color: var(--bad); font-size: .9rem; margin: 10px 0 0; }
@keyframes preShake { 25% { transform: translateX(-6px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }
.pre-foot { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .86rem; color: var(--muted); border-top: var(--hair); padding-top: 18px; }
.pre-foot a { color: var(--ink); }
@media (max-width: 860px) {
  .pre { grid-template-columns: 1fr; }
  .pre-media { min-height: 38vh; }
  .pre-panel { border-left: 0; gap: 36px; }
}
@media (prefers-reduced-motion: reduce) { .pre-media img, .pre-form.has-error .pre-row { animation: none; } }
.pre-brand .brand-mark { background-image: url("../img/farm-illustration.png"); }
.pre-hints li b { font-weight: 400; }
.pre-brand .brand-mark { display: block !important; flex: none; }

/* =====================================================================
   v7 – fyra avdelningar + Om oss i sidhuvudet
   ===================================================================== */
.nav-left a, .nav-right > a { white-space: nowrap; }
@media (max-width: 1360px) {
  .nav-left, .nav-right { gap: 20px; }
  .nav-left a, .nav-right > a:not(.btn) { letter-spacing: .14em; }
  .nav-right .btn-line { display: none; }
}
@media (max-width: 1180px) {
  .header-inner { grid-template-columns: 44px 1fr 44px; }
  .nav-left, .nav-right { display: none; }
  .nav-toggle { display: block; position: relative; z-index: 2; }
  .brand { position: relative; z-index: 2; }
  .brand-mark { display: none; }
  .brand-text small { display: none; }
  .site-header .main-nav { display: flex; }
  .main-nav { position: fixed; inset: 0; background: var(--night); color: #fff; flex-direction: column; align-items: flex-start; justify-content: center; padding: 90px 32px 40px; gap: 2px; opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); overflow-y: auto; }
  .main-nav.open { opacity: 1; pointer-events: auto; }
  .main-nav > a, .main-nav .linklike { font: 400 2rem/1.3 var(--serif); padding: .25em 0; opacity: 1; }
  .main-nav .nav-sep { width: 60px; height: 1px; margin: 18px 0; }
  .main-nav form.inline .linklike { font-size: 1.2rem; font-family: var(--sans); opacity: .7; }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header { color: #fff; background: transparent; box-shadow: none; backdrop-filter: none; }
  .nav-toggle[aria-expanded=true] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded=true] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded=true] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}
