/* ==========================================================================
   Lejlet – designsystem
   Farver hentet fra logoet: skovgrøn, lysegrøn accent, hvid.
   ========================================================================== */

:root {
  --green-950: #072816;
  --green-900: #0B3A22;
  --green-800: #124B2E;
  --green-700: #1C5F3B;
  --green-100: #E6EFE8;
  --lime: #8ED46A;
  --lime-600: #5FAE3B;
  --lime-100: #EAF6E2;

  --bg: #F6F7F3;
  --surface: #FFFFFF;
  --surface-2: #F0F2EC;
  --ink: #13211A;
  --ink-2: #47564D;
  --ink-3: #75837A;
  --line: #E1E5DD;
  --line-strong: #CBD2C6;

  --danger: #B42318;
  --danger-100: #FCEBE9;
  --warn: #9A6A00;
  --warn-100: #FFF4D6;
  --info: #1F5E9C;
  --info-100: #E7F0FA;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(11, 58, 34, .06);
  --shadow: 0 1px 2px rgba(11, 58, 34, .05), 0 8px 24px -12px rgba(11, 58, 34, .18);
  --shadow-lg: 0 24px 60px -20px rgba(7, 40, 22, .35);

  --font-head: 'Nunito', ui-rounded, system-ui, sans-serif;
  --font-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1180px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green-800); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-950); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; color: var(--green-950); }
h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 900; letter-spacing: -.025em; }
h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 800; }
p { margin: 0 0 1em; }
small, .small { font-size: .875rem; }
.muted { color: var(--ink-3); }
.ink-2 { color: var(--ink-2); }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.stack > * + * { margin-top: var(--gap, 16px); }
.row { display: flex; align-items: center; gap: 12px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.center { text-align: center; }
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 28px; height: 28px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green-900); }
.brand img { width: 36px; height: 36px; }
.brand span { font-family: var(--font-head); font-weight: 900; font-size: 1.55rem; letter-spacing: -.02em; }
.nav { display: flex; gap: 4px; }
.nav a {
  text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .95rem;
  padding: 8px 12px; border-radius: 999px;
}
.nav a:hover { background: var(--surface-2); color: var(--ink); }
.nav a.active { color: var(--green-900); background: var(--lime-100); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn {
  position: relative; width: 42px; height: 42px; display: inline-grid; place-items: center;
  border-radius: 999px; border: 0; background: transparent; color: var(--ink-2); cursor: pointer; text-decoration: none;
}
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }
.dot-count {
  position: absolute; top: 4px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--danger); color: #fff; font-size: 11px; font-weight: 700;
  display: grid; place-items: center; border: 2px solid #fff;
}
.user-chip {
  display: flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; cursor: pointer; font: inherit; font-weight: 600; color: var(--ink);
}
.user-chip:hover { box-shadow: var(--shadow); }

.menu { position: relative; }
.menu-panel {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 240px; z-index: 50;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 6px; display: none;
}
.menu.open .menu-panel { display: block; }
.menu-panel a, .menu-panel button {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 8px;
  color: var(--ink); text-decoration: none; background: none; border: 0; font: inherit; cursor: pointer; text-align: left;
}
.menu-panel a:hover, .menu-panel button:hover { background: var(--surface-2); }
.menu-panel .sep { height: 1px; background: var(--line); margin: 6px 4px; }

.notif-panel { width: min(360px, calc(100vw - 32px)); max-height: 440px; overflow: auto; padding: 0; }
.notif-panel h4 { padding: 14px 16px 6px; margin: 0; font-size: 1rem; }
.notif { display: block; padding: 12px 16px; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: .92rem; }
.notif:hover { background: var(--surface-2); }
.notif.unread { background: var(--lime-100); }
.notif time { display: block; color: var(--ink-3); font-size: .8rem; margin-top: 2px; }

/* Mobil bundnavigation */
.tabbar { display: none; }
@media (max-width: 820px) {
  .nav, .header-actions .hide-m { display: none; }
  .site-header .wrap { gap: 12px; }
  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; inset: auto 0 0 0; z-index: 40;
    background: #fff; border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; font-weight: 600; color: var(--ink-3); text-decoration: none; padding: 4px 0; position: relative; }
  .tabbar a.active { color: var(--green-900); }
  .tabbar a.active .icon { stroke: var(--green-900); }
  .tabbar .dot-count { top: -2px; right: calc(50% - 22px); }
  body { padding-bottom: 72px; }
}

/* ---------- Knapper ---------- */
.btn {
  --b: var(--green-900); --c: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--b);
  background: var(--b); color: var(--c); font: inherit; font-weight: 700; font-size: .95rem;
  text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .08s, background .15s, box-shadow .15s;
}
.btn:hover { background: var(--green-800); border-color: var(--green-800); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.is-loading { opacity: .55; cursor: not-allowed; }
.btn-lime { --b: var(--lime); --c: var(--green-950); }
.btn-lime:hover { background: #9BDD78; border-color: #9BDD78; color: var(--green-950); }
.btn-outline { background: #fff; color: var(--green-900); border-color: var(--line-strong); }
.btn-outline:hover { background: var(--surface-2); color: var(--green-950); border-color: var(--green-900); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--green-900); }
.btn-ghost:hover { background: var(--surface-2); border-color: transparent; color: var(--green-950); }
.btn-danger { --b: var(--danger); }
.btn-danger:hover { background: #931c13; border-color: #931c13; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: .875rem; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--green-800); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.report-link { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 6px 0; font: inherit; font-size: .875rem; color: var(--ink-3); cursor: pointer; }
.report-link:hover { color: var(--danger); }

/* ---------- Formularer ---------- */
.field { display: grid; gap: 6px; }
.field > span, .label { font-weight: 600; font-size: .92rem; color: var(--ink); }
.field .hint { font-size: .82rem; color: var(--ink-3); }
.input, .select, .textarea {
  width: 100%; min-height: 46px; padding: 10px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line-strong); background: #fff; font: inherit; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 110px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: 0; border-color: var(--green-700); box-shadow: 0 0 0 4px rgba(142, 212, 106, .35); }
.input-group { position: relative; }
.input-group .suffix { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; font-size: .92rem; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--green-900); flex: none; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-error { background: var(--danger-100); color: var(--danger); padding: 10px 14px; border-radius: var(--radius-sm); font-size: .92rem; font-weight: 600; display: none; }
.form-error.show { display: block; }

.segmented { display: inline-flex; padding: 4px; background: var(--surface-2); border-radius: 999px; gap: 2px; }
.segmented button {
  border: 0; background: transparent; font: inherit; font-weight: 700; font-size: .9rem; color: var(--ink-2);
  padding: 8px 16px; border-radius: 999px; cursor: pointer;
}
.segmented button.active { background: #fff; color: var(--green-900); box-shadow: var(--shadow-sm); }

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink-2); font: inherit; font-weight: 600; font-size: .9rem;
  cursor: pointer; text-decoration: none; white-space: nowrap;
}
.chip:hover { border-color: var(--green-900); color: var(--green-900); }
.chip.active { background: var(--green-900); border-color: var(--green-900); color: #fff; }

/* ---------- Badges, avatarer, stjerner ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px 3px 6px; border-radius: 999px;
  font-size: .78rem; font-weight: 700; line-height: 1.4; white-space: nowrap;
}
.badge .icon { width: 15px; height: 15px; }
.badge-verified { background: var(--lime-100); color: var(--green-900); }
.badge-verified .icon { stroke: var(--lime-600); stroke-width: 2.6; }
.badge-unverified { background: var(--surface-2); color: var(--ink-3); }
.badge-status { padding: 3px 10px; }
.st-requested, .st-pending { background: var(--warn-100); color: var(--warn); }
.st-accepted, .st-active { background: var(--lime-100); color: var(--green-900); }
.st-handed_over { background: var(--info-100); color: var(--info); }
.st-returned, .st-rejected, .st-hidden, .st-suspended, .st-high { background: var(--danger-100); color: var(--danger); }
.st-completed, .st-paused, .st-cancelled, .st-declined, .st-normal, .st-dismissed, .st-resolved { background: var(--surface-2); color: var(--ink-2); }

.verified-tick {
  display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 999px;
  background: var(--lime); color: var(--green-950); vertical-align: -3px;
}
.verified-tick .icon { width: 12px; height: 12px; stroke-width: 3.2; }

.avatar {
  --s: 40px; width: var(--s); height: var(--s); border-radius: 999px; flex: none; overflow: hidden;
  display: grid; place-items: center; background: var(--green-100); color: var(--green-900);
  font-family: var(--font-head); font-weight: 800; font-size: calc(var(--s) * .4); position: relative;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-sm { --s: 32px; }
.avatar-lg { --s: 64px; }
.avatar-xl { --s: 104px; }

.stars { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: .92rem; color: var(--ink); }
.stars .icon { width: 16px; height: 16px; fill: var(--green-900); stroke: var(--green-900); }
.stars .count { font-weight: 500; color: var(--ink-3); }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-input input { position: absolute; opacity: 0; pointer-events: none; }
.star-input label { cursor: pointer; color: var(--line-strong); }
.star-input label .icon { width: 34px; height: 34px; fill: currentColor; stroke: currentColor; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: var(--green-900); }

/* ---------- Kort ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.card-pad { padding: 24px; }
@media (max-width: 640px) { .card-pad { padding: 18px; } }

.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px 20px; }
.item-card { position: relative; text-decoration: none; color: var(--ink); display: block; }
.item-card .thumb {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--surface-2);
}
.item-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.item-card:hover .thumb img, .item-card:hover .thumb .illu svg { transform: scale(1.035); }
.item-card .meta { padding: 10px 2px 0; }
.item-card .title { font-weight: 700; font-size: 1rem; line-height: 1.3; margin: 0 0 2px; color: var(--ink); }
.item-card .sub { color: var(--ink-3); font-size: .88rem; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.item-card .price { margin-top: 4px; font-size: .95rem; }
.item-card .price b { font-weight: 800; }
.fav-btn {
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 36px; height: 36px; border-radius: 999px; border: 0;
  background: rgba(255, 255, 255, .92); display: grid; place-items: center; cursor: pointer; color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.fav-btn .icon { width: 18px; height: 18px; }
.fav-btn.on .icon { fill: var(--danger); stroke: var(--danger); }
.thumb-tag {
  position: absolute; left: 10px; top: 10px; z-index: 2; background: rgba(255, 255, 255, .95); padding: 4px 10px;
  border-radius: 999px; font-size: .78rem; font-weight: 700; color: var(--green-900); display: inline-flex; gap: 4px; align-items: center;
}

/* Kategori-illustrationer (stregikoner i logoets stil) */
.illu { width: 100%; height: 100%; display: grid; place-items: center; background: var(--green-900); color: #fff; position: relative; overflow: hidden; }
.illu::before, .illu::after {
  content: ''; position: absolute; border: 6px solid var(--lime); border-radius: 50%; opacity: .9;
  width: 78%; aspect-ratio: 1; clip-path: polygon(0 0, 100% 0, 100% 34%, 0 34%);
}
.illu::after { transform: rotate(180deg); }
.illu svg { width: 34%; height: auto; stroke: #fff; stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s ease; position: relative; }
.illu.c-have { background: #164A2C; } .illu.c-cykler { background: #0E3F2A; } .illu.c-camping { background: #133F24; }
.illu.c-fest { background: #0F4531; } .illu.c-boern { background: #174F33; } .illu.c-elektronik { background: #0A3420; }
.illu.c-sport { background: #11452B; } .illu.c-hjem { background: #0D3B26; }

/* ---------- Forside ---------- */
.hero { background: var(--green-900); color: #fff; position: relative; overflow: hidden; }
.hero .wrap { position: relative; padding-top: 72px; padding-bottom: 84px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero .lead { font-size: 1.15rem; color: rgba(255, 255, 255, .82); max-width: 520px; margin-bottom: 28px; }
.hero-art { position: relative; aspect-ratio: 1; max-width: 420px; justify-self: end; width: 100%; }
.hero-art .ring { position: absolute; inset: 0; }
.hero-art .float {
  position: absolute; background: #fff; color: var(--ink); border-radius: var(--radius); padding: 12px 14px; box-shadow: var(--shadow-lg);
  display: flex; gap: 10px; align-items: center; font-size: .88rem; min-width: 210px;
}
.hero-art .float b { display: block; font-size: .95rem; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 52px; }
  .hero-art { display: none; }
}

.searchbar {
  display: grid; grid-template-columns: 1.4fr 1fr auto; background: #fff; border-radius: 999px; padding: 6px;
  box-shadow: var(--shadow-lg); max-width: 640px;
}
.searchbar label { display: flex; align-items: center; gap: 10px; padding: 0 16px; color: var(--ink-3); min-width: 0; }
.searchbar label + label { border-left: 1px solid var(--line); }
.searchbar input { border: 0; outline: 0; font: inherit; color: var(--ink); width: 100%; min-height: 48px; background: transparent; }
@media (max-width: 640px) {
  .searchbar { grid-template-columns: 1fr; border-radius: var(--radius-lg); padding: 8px; gap: 4px; }
  .searchbar label + label { border-left: 0; border-top: 1px solid var(--line); }
  .searchbar .btn { width: 100%; }
}
.trust-row { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 26px; color: rgba(255, 255, 255, .85); font-size: .92rem; font-weight: 600; }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; }
.trust-row .icon { stroke: var(--lime); }

.section { padding: 56px 0; }
.section-tight { padding: 32px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: 4px 0 0; color: var(--ink-2); }

.cat-scroller { display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: none; }
.cat-scroller::-webkit-scrollbar { display: none; }
.cat-tile {
  flex: none; display: flex; flex-direction: column; align-items: center; gap: 10px; width: 118px; padding: 18px 8px 14px;
  border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink);
  font-size: .85rem; font-weight: 700; text-align: center; line-height: 1.25; transition: border-color .15s, transform .15s;
}
.cat-tile:hover { border-color: var(--green-900); transform: translateY(-2px); }
.cat-tile .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--lime-100); display: grid; place-items: center; color: var(--green-900); }
.cat-tile .ic svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.step .num { width: 36px; height: 36px; border-radius: 999px; background: var(--green-900); color: var(--lime); display: grid; place-items: center; font-family: var(--font-head); font-weight: 900; margin-bottom: 14px; }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--ink-2); margin: 0; font-size: .95rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.trust-band { background: var(--lime-100); border-radius: var(--radius-lg); padding: 40px; display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: center; }
.trust-list { display: grid; gap: 18px; }
.trust-list .ti { display: flex; gap: 14px; }
.trust-list .ti .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--green-900); color: var(--lime); display: grid; place-items: center; flex: none; }
.trust-list h4 { margin: 0 0 2px; font-size: 1rem; }
.trust-list p { margin: 0; color: var(--ink-2); font-size: .93rem; }
@media (max-width: 900px) { .trust-band { grid-template-columns: 1fr; padding: 26px; gap: 24px; } }

.cta-band { background: var(--green-900); color: #fff; border-radius: var(--radius-lg); padding: 44px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: rgba(255, 255, 255, .8); margin: 0; }

/* ---------- Søgning ---------- */
.search-top { background: #fff; border-bottom: 1px solid var(--line); padding: 18px 0; position: sticky; top: var(--header-h); z-index: 30; }
.search-fields { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr auto; gap: 10px; }
@media (max-width: 960px) { .search-fields { grid-template-columns: 1fr 1fr; } .search-fields .q { grid-column: 1 / -1; } }
.search-layout { display: grid; grid-template-columns: 250px 1fr; gap: 32px; padding: 28px 0 56px; }
.filters { position: sticky; top: calc(var(--header-h) + 110px); align-self: start; display: grid; gap: 24px; }
.filters h4 { margin: 0 0 10px; font-size: .95rem; }
.filter-list { display: grid; gap: 2px; }
.filter-list button {
  display: flex; justify-content: space-between; align-items: center; background: none; border: 0; padding: 8px 10px; border-radius: 8px;
  font: inherit; font-size: .93rem; color: var(--ink-2); cursor: pointer; text-align: left;
}
.filter-list button:hover { background: var(--surface-2); }
.filter-list button.active { background: var(--lime-100); color: var(--green-900); font-weight: 700; }
.range-row { display: flex; justify-content: space-between; font-size: .88rem; color: var(--ink-2); }
input[type=range] { width: 100%; accent-color: var(--green-900); }
.filters-toggle { display: none; }
@media (max-width: 960px) {
  .search-layout { grid-template-columns: 1fr; }
  .filters { position: static; display: none; background: #fff; padding: 20px; border-radius: var(--radius-lg); border: 1px solid var(--line); }
  .filters.open { display: grid; }
  .filters-toggle { display: inline-flex; }
}
.result-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }

/* ---------- Produktside ---------- */
.crumbs { font-size: .88rem; color: var(--ink-3); padding: 20px 0 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--ink-3); }
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 8; }
.gallery > * { background: var(--surface-2); min-height: 0; }
.gallery > :first-child { grid-row: 1 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.gallery.single { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.gallery.single > :first-child { grid-row: auto; }
@media (max-width: 720px) { .gallery { grid-template-columns: 1fr; grid-template-rows: 1fr; aspect-ratio: 4 / 3; } .gallery > :not(:first-child) { display: none; } }

.item-layout { display: grid; grid-template-columns: 1fr 380px; gap: 48px; padding: 28px 0 64px; }
@media (max-width: 960px) { .item-layout { grid-template-columns: 1fr; gap: 28px; } }
.item-title h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 8px; }
.item-facts { display: flex; gap: 8px 18px; flex-wrap: wrap; color: var(--ink-2); font-size: .95rem; align-items: center; }
.item-facts > span { display: inline-flex; align-items: center; gap: 6px; }
.owner-card { display: flex; gap: 16px; align-items: center; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.owner-card .stats { display: flex; gap: 16px; flex-wrap: wrap; font-size: .88rem; color: var(--ink-2); margin-top: 4px; }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.spec-list div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.spec-list dt { font-size: .8rem; color: var(--ink-3); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.spec-list dd { margin: 2px 0 0; font-weight: 600; }
@media (max-width: 520px) { .spec-list { grid-template-columns: 1fr; } }

.safety-box { border: 1.5px solid var(--green-900); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.safety-box header { background: var(--green-900); color: #fff; padding: 14px 20px; display: flex; gap: 10px; align-items: center; font-weight: 700; }
.safety-box header .icon { stroke: var(--lime); }
.safety-grid { display: grid; grid-template-columns: 1fr 1fr; }
.safety-grid > div { padding: 16px 20px; border-top: 1px solid var(--line); display: flex; gap: 12px; }
.safety-grid > div:nth-child(odd) { border-right: 1px solid var(--line); }
.safety-grid .icon { stroke: var(--green-700); margin-top: 2px; }
.safety-grid h4 { margin: 0 0 2px; font-size: .95rem; }
.safety-grid p { margin: 0; font-size: .88rem; color: var(--ink-2); }
@media (max-width: 600px) { .safety-grid { grid-template-columns: 1fr; } .safety-grid > div:nth-child(odd) { border-right: 0; } }

.book-box { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; padding: 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.book-box .price-big { font-family: var(--font-head); font-weight: 900; font-size: 1.9rem; color: var(--green-950); }
.book-box .price-big small { font-family: var(--font-body); font-size: 1rem; font-weight: 500; color: var(--ink-2); }
.calc { display: grid; gap: 8px; font-size: .95rem; margin: 16px 0; }
.calc .line { display: flex; justify-content: space-between; gap: 12px; color: var(--ink-2); }
.calc .line b { color: var(--ink); font-weight: 600; }
.calc .line.discount b { color: var(--lime-600); }
.calc .total { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; font-weight: 800; color: var(--ink); font-size: 1.05rem; }
.calc .total b { font-weight: 800; }
.calc .note { font-size: .82rem; color: var(--ink-3); }
.date-pill { display: grid; grid-template-columns: 1fr 1fr; border: 1.5px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; margin-top: 12px; }
.date-pill > div { padding: 10px 14px; }
.date-pill > div + div { border-left: 1.5px solid var(--line-strong); }
.date-pill small { display: block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); }
.date-pill b { font-weight: 600; }
.mobile-book { display: none; }
@media (max-width: 960px) {
  .book-box { position: static; }
  .mobile-book {
    display: flex; position: fixed; inset: auto 0 72px 0; z-index: 35; background: #fff; border-top: 1px solid var(--line);
    padding: 12px 20px; justify-content: space-between; align-items: center; gap: 12px; box-shadow: 0 -8px 24px -16px rgba(0, 0, 0, .25);
  }
}
@media (min-width: 821px) and (max-width: 960px) { .mobile-book { bottom: 0; } }

/* Kalender */
.cal { user-select: none; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-head b { font-family: var(--font-head); font-weight: 800; text-transform: capitalize; }
.cal-nav { width: 34px; height: 34px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.cal-nav:hover { border-color: var(--green-900); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-grid .dow { font-size: .72rem; font-weight: 700; color: var(--ink-3); text-align: center; padding: 4px 0; text-transform: uppercase; }
.cal-day {
  aspect-ratio: 1; border: 0; background: none; border-radius: 999px; font: inherit; font-size: .9rem; font-weight: 600; color: var(--ink);
  cursor: pointer; position: relative;
}
.cal-day:hover:not(:disabled) { background: var(--surface-2); }
.cal-day:disabled { color: var(--line-strong); cursor: not-allowed; }
.cal-day.booked { color: var(--ink-3); text-decoration: line-through; background: repeating-linear-gradient(135deg, transparent 0 4px, var(--surface-2) 4px 6px); }
.cal-day.blocked { color: var(--ink-3); background: var(--surface-2); }
.cal-day.in-range { background: var(--lime-100); border-radius: 0; color: var(--green-900); }
.cal-day.sel { background: var(--green-900); color: #fff; }
.cal-day.today::after { content: ''; position: absolute; bottom: 5px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 99px; background: var(--lime-600); }
.cal-legend { display: flex; gap: 14px; font-size: .78rem; color: var(--ink-3); margin-top: 10px; flex-wrap: wrap; }
.cal-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -2px; margin-right: 4px; }

/* Anmeldelser */
.review { padding: 18px 0; border-top: 1px solid var(--line); }
.review:first-child { border-top: 0; }
.review .who { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.review .who b { display: block; }
.review p { margin: 0; color: var(--ink-2); }
.rating-summary { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.rating-summary .big { font-family: var(--font-head); font-size: 2.6rem; font-weight: 900; color: var(--green-950); line-height: 1; }

/* ---------- Beskeder ---------- */
.chat-layout { display: grid; grid-template-columns: 340px 1fr; height: calc(100vh - var(--header-h)); background: #fff; border-top: 0; }
.conv-list { border-right: 1px solid var(--line); overflow-y: auto; }
.conv-list h2 { padding: 22px 20px 12px; margin: 0; font-size: 1.4rem; }
.conv { display: flex; gap: 12px; padding: 14px 20px; text-decoration: none; color: var(--ink); border-left: 3px solid transparent; }
.conv:hover { background: var(--surface-2); }
.conv.active { background: var(--lime-100); border-left-color: var(--green-900); }
.conv .preview { color: var(--ink-3); font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv .ctx { font-size: .78rem; color: var(--green-700); font-weight: 700; }
.conv.unread .preview { color: var(--ink); font-weight: 700; }
.conv .unread-dot { width: 10px; height: 10px; background: var(--lime-600); border-radius: 99px; margin-top: 6px; flex: none; }
.thread { display: flex; flex-direction: column; min-height: 0; }
.thread-head { padding: 14px 20px; border-bottom: 1px solid var(--line); display: flex; gap: 12px; align-items: center; }
.thread-body { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 6px; background: var(--bg); }
.bubble { max-width: min(520px, 78%); padding: 10px 14px; border-radius: 18px; background: #fff; border: 1px solid var(--line); white-space: pre-wrap; word-wrap: break-word; font-size: .95rem; }
.bubble.mine { align-self: flex-end; background: var(--green-900); color: #fff; border-color: var(--green-900); border-bottom-right-radius: 6px; }
.bubble:not(.mine) { border-bottom-left-radius: 6px; }
.bubble time { display: block; font-size: .72rem; opacity: .65; margin-top: 2px; }
.day-sep { align-self: center; font-size: .78rem; color: var(--ink-3); font-weight: 700; padding: 10px 0 4px; }
.composer { display: flex; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--line); background: #fff; }
.composer .textarea { min-height: 46px; height: 46px; max-height: 140px; border-radius: 22px; padding: 11px 16px; resize: none; overflow-y: auto; scrollbar-width: none; }
.safety-hint { margin: 0 20px; padding: 10px 14px; background: var(--warn-100); color: #6b4a00; border-radius: var(--radius-sm); font-size: .84rem; display: flex; gap: 8px; align-items: flex-start; }
.back-link { display: none; }
@media (max-width: 820px) {
  .chat-layout { grid-template-columns: 1fr; height: calc(100vh - var(--header-h) - 72px); }
  .chat-layout.has-thread .conv-list { display: none; }
  .chat-layout:not(.has-thread) .thread { display: none; }
  .back-link { display: inline-grid; }
}

/* ---------- Naboer ---------- */
.nb-layout { display: grid; grid-template-columns: 1fr 320px; gap: 32px; padding: 32px 0 64px; }
@media (max-width: 960px) { .nb-layout { grid-template-columns: 1fr; } .nb-side { order: -1; } }
.radius-viz { position: relative; aspect-ratio: 1; max-width: 240px; margin: 8px auto 4px; }
.radius-viz .ring { position: absolute; border-radius: 50%; border: 1.5px dashed var(--line-strong); left: 50%; top: 50%; transform: translate(-50%, -50%); transition: all .3s; }
.radius-viz .ring.on { border: 2px solid var(--green-900); background: rgba(142, 212, 106, .18); }
.radius-viz .me { position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 99px; background: var(--green-900); border: 3px solid var(--lime); }
.radius-viz .pt { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 99px; background: var(--lime-600); }
.radius-viz .lbl { position: absolute; font-size: .7rem; font-weight: 700; color: var(--ink-3); transform: translate(-50%, 0); }
.post { padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.post .kind { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 3px 9px; border-radius: 999px; }
.kind-efterlyser { background: var(--warn-100); color: var(--warn); }
.kind-tilbyder { background: var(--lime-100); color: var(--green-900); }
.kind-snak { background: var(--info-100); color: var(--info); }
.post p { margin: 12px 0 14px; font-size: 1.02rem; white-space: pre-wrap; }
.composer-card { padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }

/* ---------- Min side ---------- */
.page-head { padding: 36px 0 8px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 16px 0 28px; overflow-x: auto; scrollbar-width: none; }
.tabs a { padding: 12px 16px; text-decoration: none; color: var(--ink-2); font-weight: 700; border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; }
.tabs a:hover { color: var(--ink); }
.tabs a.active { color: var(--green-900); border-bottom-color: var(--green-900); }
.tabs .n { background: var(--danger); color: #fff; font-size: .72rem; padding: 0 7px; border-radius: 99px; line-height: 18px; }

.booking { display: grid; grid-template-columns: 112px 1fr auto; gap: 18px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); align-items: start; }
.booking .thumb { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; }
.booking .thumb img { width: 100%; height: 100%; object-fit: cover; }
.booking .actions { display: flex; flex-direction: column; gap: 8px; align-items: stretch; min-width: 170px; }
@media (max-width: 720px) {
  .booking { grid-template-columns: 72px 1fr; }
  .booking .actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; min-width: 0; }
  .booking .actions .btn { flex: 1; }
}
.progress { display: flex; gap: 4px; margin: 12px 0 6px; }
.progress span { flex: 1; height: 4px; border-radius: 99px; background: var(--line); }
.progress span.done { background: var(--green-900); }
.progress-labels { display: flex; justify-content: space-between; font-size: .72rem; color: var(--ink-3); font-weight: 600; }
.checklog { margin-top: 12px; display: grid; gap: 8px; }
.checklog div { font-size: .86rem; background: var(--surface-2); padding: 8px 12px; border-radius: var(--radius-sm); display: flex; gap: 10px; align-items: center; }
.checklog img { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; }

.mine-row { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); align-items: center; }
.mine-row .thumb { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; }
.mine-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 720px) { .mine-row { grid-template-columns: 72px 1fr; } .mine-row > :last-child { grid-column: 1 / -1; } }

.verify-card { display: flex; gap: 20px; align-items: center; padding: 24px; border-radius: var(--radius-lg); background: var(--green-900); color: #fff; flex-wrap: wrap; }
.verify-card h3 { color: #fff; margin-bottom: 4px; }
.verify-card p { margin: 0; color: rgba(255, 255, 255, .8); }
.verify-card .shield { width: 56px; height: 56px; border-radius: 16px; background: rgba(142, 212, 106, .16); display: grid; place-items: center; color: var(--lime); flex: none; }
.verify-card.done { background: var(--lime-100); color: var(--ink); }
.verify-card.done h3 { color: var(--green-950); }
.verify-card.done p { color: var(--ink-2); }
.verify-card.done .shield { background: var(--green-900); }

/* ---------- Opret annonce ---------- */
.wizard { max-width: 760px; margin: 0 auto; padding: 32px 0 80px; }
.wizard-steps { display: flex; gap: 6px; margin: 18px 0 28px; }
.wizard-steps div { flex: 1; }
.wizard-steps span { display: block; height: 4px; border-radius: 99px; background: var(--line); }
.wizard-steps div.on span { background: var(--green-900); }
.wizard-steps small { display: block; margin-top: 6px; font-weight: 700; color: var(--ink-3); font-size: .78rem; }
.wizard-steps div.on small { color: var(--green-900); }
.dropzone { border: 2px dashed var(--line-strong); border-radius: var(--radius-lg); padding: 36px 20px; text-align: center; background: #fff; cursor: pointer; transition: border-color .15s, background .15s; }
.dropzone:hover, .dropzone.drag { border-color: var(--green-900); background: var(--lime-100); }
.dropzone .icon { width: 40px; height: 40px; color: var(--green-700); margin: 0 auto 8px; }
.previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; margin-top: 14px; }
.previews .pv { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); }
.previews .pv img { width: 100%; height: 100%; object-fit: cover; }
.previews .pv button { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 99px; border: 0; background: rgba(0, 0, 0, .65); color: #fff; cursor: pointer; display: grid; place-items: center; }
.previews .pv .cover { position: absolute; left: 6px; bottom: 6px; background: #fff; font-size: .7rem; font-weight: 800; padding: 2px 8px; border-radius: 99px; }
.cat-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cat-pick label { display: flex; gap: 10px; align-items: center; padding: 14px; border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer; font-weight: 600; font-size: .92rem; background: #fff; }
.cat-pick input { position: absolute; opacity: 0; }
.cat-pick label:has(input:checked) { border-color: var(--green-900); background: var(--lime-100); color: var(--green-900); }
.cat-pick svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
@media (max-width: 640px) { .cat-pick { grid-template-columns: 1fr 1fr; } }
.preview-price { background: var(--surface-2); border-radius: var(--radius); padding: 16px; font-size: .92rem; }

/* ---------- Profil ---------- */
.profile-layout { display: grid; grid-template-columns: 320px 1fr; gap: 40px; padding: 36px 0 64px; }
.profile-card { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; text-align: center; padding: 28px 24px; }
.profile-card .avatar { margin: 0 auto 14px; }
.profile-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: 20px; padding-top: 18px; }
.profile-stats b { display: block; font-family: var(--font-head); font-size: 1.4rem; font-weight: 900; color: var(--green-950); }
.profile-stats span { font-size: .78rem; color: var(--ink-3); }
.trust-checks { text-align: left; display: grid; gap: 10px; margin-top: 18px; font-size: .92rem; }
.trust-checks div { display: flex; gap: 10px; align-items: center; }
.trust-checks .ok { color: var(--lime-600); }
.trust-checks .no { color: var(--line-strong); }
@media (max-width: 900px) { .profile-layout { grid-template-columns: 1fr; } .profile-card { position: static; } }

/* ---------- Tekstsider ---------- */
.prose { max-width: 760px; padding: 40px 0 80px; }
.prose h2 { margin-top: 1.6em; }
.prose li { margin-bottom: .4em; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 18px; margin-bottom: 10px; }
.faq summary { padding: 16px 0; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '+'; font-size: 1.3rem; line-height: 1; color: var(--green-700); }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--ink-2); }

/* ---------- Auth ---------- */
.auth { min-height: calc(100vh - var(--header-h)); display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { background: var(--green-900); color: #fff; padding: 56px; display: flex; flex-direction: column; justify-content: space-between; }
.auth-side h2 { color: #fff; font-size: 2.1rem; }
.auth-side p { color: rgba(255, 255, 255, .8); }
.auth-quote { background: rgba(255, 255, 255, .07); border-radius: var(--radius-lg); padding: 22px; }
.auth-main { display: grid; place-items: center; padding: 40px 20px; }
.auth-form { width: 100%; max-width: 420px; }
.demo-box { background: var(--lime-100); border-radius: var(--radius); padding: 14px 16px; font-size: .88rem; color: var(--green-900); }
@media (max-width: 900px) { .auth { grid-template-columns: 1fr; } .auth-side { display: none; } }

/* ---------- Modal, toast, diverse ---------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100; background: rgba(7, 40, 22, .55); display: grid; place-items: center; padding: 20px;
  animation: fade .15s ease;
}
.modal { width: 100%; max-width: 520px; max-height: calc(100vh - 40px); overflow-y: auto; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); animation: pop .18s ease; }
.modal-head { padding: 22px 24px 0; display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.modal-head h3 { font-size: 1.3rem; margin: 0; }
.modal-body { padding: 18px 24px 24px; }
.modal-foot { display: flex; gap: 10px; justify-content: flex-end; padding: 0 24px 24px; flex-wrap: wrap; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.lightbox { background: rgba(0, 0, 0, .9); }
.lightbox img { max-height: 88vh; max-width: 92vw; border-radius: var(--radius); }

.toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 200; display: grid; gap: 8px; width: min(440px, calc(100vw - 32px)); }
@media (max-width: 820px) { .toasts { bottom: 92px; } }
.toast { background: var(--green-950); color: #fff; padding: 14px 18px; border-radius: var(--radius); box-shadow: var(--shadow-lg); display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: .94rem; animation: pop .2s ease; }
.toast .icon { stroke: var(--lime); }
.toast.error { background: var(--danger); }
.toast.error .icon { stroke: #fff; }

.empty { text-align: center; padding: 56px 20px; background: #fff; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); }
.empty .ic { width: 64px; height: 64px; border-radius: 18px; background: var(--lime-100); color: var(--green-900); display: grid; place-items: center; margin: 0 auto 16px; }
.empty h3 { margin-bottom: 6px; }
.empty p { color: var(--ink-2); max-width: 420px; margin: 0 auto 18px; }

.skeleton { background: linear-gradient(90deg, var(--surface-2) 0%, #f7f8f5 50%, var(--surface-2) 100%); background-size: 200% 100%; animation: sk 1.2s infinite linear; border-radius: var(--radius); }
@keyframes sk { to { background-position: -200% 0; } }
.loader { display: grid; place-items: center; padding: 80px 0; }
.spinner { width: 34px; height: 34px; border-radius: 99px; border: 3px solid var(--line); border-top-color: var(--green-900); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.notice { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--radius); font-size: .93rem; align-items: flex-start; }
.notice .icon { margin-top: 2px; }
.notice-warn { background: var(--warn-100); color: #6b4a00; }
.notice-info { background: var(--info-100); color: #18466f; }
.notice-ok { background: var(--lime-100); color: var(--green-900); }
.notice-danger { background: var(--danger-100); color: var(--danger); }

.site-footer { background: var(--green-950); color: rgba(255, 255, 255, .72); padding: 56px 0 32px; margin-top: 40px; font-size: .93rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.site-footer a { color: rgba(255, 255, 255, .72); text-decoration: none; display: block; padding: 3px 0; }
.site-footer a:hover { color: var(--lime); }
.site-footer .bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 36px; padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; }
@media (max-width: 820px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } .site-footer { padding-bottom: 100px; } }
.chat-page .site-footer { display: none; }
.gallery.illu-only { aspect-ratio: 16 / 5; }
.gallery.illu-only .illu svg { width: 14%; }
@media (max-width: 720px) { .gallery.illu-only { aspect-ratio: 16 / 7; } }
@media (max-width: 960px) { .search-top { position: static; } }
@media (max-width: 560px) {
  .owner-card { flex-wrap: wrap; align-items: flex-start; }
  .owner-card .grow { flex-basis: calc(100% - 90px); }
  .owner-card .stats { gap: 4px 12px; }
  .owner-card > .btn { width: 100%; }
}
.item-layout > *, .search-layout > *, .profile-layout > *, .nb-layout > *, .panel-grid > * { min-width: 0; }
@media (max-width: 960px) { body:has(.mobile-book) { padding-bottom: 150px; } }
