/* by Frema – butikkens stylesheet. Designtokens øverst; se /styleguide for et overblik. */
@font-face { font-family: "Cormorant Garamond"; src: url(fonts/cormorant-garamond-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(fonts/cormorant-garamond-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(fonts/cormorant-garamond-latin-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url(fonts/dm-sans-latin-wght-normal.woff2) format("woff2"); font-weight: 100 1000; font-display: swap; }

:root {
  --paper: #fbfaf7; --sand: #f1ede6; --line: #e3ded5; --muted: #6f6a62; --ink: #22201c;
  --accent: #9c4f65; --gold: #b89a6a; --white: #fff;
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px; --s9: 112px;
  --gutter: clamp(18px, 4vw, 48px); --max: 1440px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 64px;
}
@media (min-width: 1024px) { :root { --header-h: 76px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 15px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
picture { display: contents; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2, .h1, .h2, blockquote { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -.01em; text-wrap: balance; }
h1, .h1 { font-size: clamp(38px, 5.4vw, 72px); }
h2, .h2 { font-size: clamp(30px, 3.4vw, 44px); }
h1 em, .h1 em { font-style: italic; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow { font: 500 11px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.fine { font-size: 12px; color: var(--muted); line-height: 1.5; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Knapper */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 34px; background: var(--ink); color: #fff; border: 1px solid var(--ink); font: 500 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; transition: background .25s, color .25s; }
.btn:hover { background: transparent; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--full { width: 100%; }
.btn--small { min-height: 44px; padding: 0 20px; font-size: 12px; }
.btn[disabled] { background: var(--line); border-color: var(--line); color: var(--muted); cursor: not-allowed; }
.more { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding-bottom: 6px; border-bottom: 1px solid currentColor; }
.more svg { transition: transform .3s var(--ease); }
.more:hover svg { transform: translateX(4px); }
.iconbtn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; transition: background .2s; }
.iconbtn:hover { background: var(--sand); }
.linkbtn { text-align: left; }

/* Announcement + header */
.announce { background: var(--sand); text-align: center; font-size: 12px; letter-spacing: .06em; padding: 9px var(--gutter); }
.header { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: 1px solid transparent; transition: border-color .3s; }
.header.is-stuck, .header.is-open { border-color: var(--line); }
.header__bar { display: flex; align-items: center; height: var(--header-h); gap: var(--s4); transition: height .3s var(--ease); }
.header.is-stuck .header__bar { height: calc(var(--header-h) - 14px); }
.logo img { width: 104px; transition: width .3s var(--ease); }
.header.is-stuck .logo img { width: 90px; }
.header__burger { margin-left: -10px; }
.header__tools { display: flex; margin-left: auto; margin-right: -10px; }
.cartbtn { position: relative; }
.cartbtn__count { position: absolute; top: 5px; right: 3px; min-width: 17px; height: 17px; border-radius: 9px; background: var(--accent); color: #fff; font: 600 10px/17px var(--sans); text-align: center; padding: 0 4px; }
.nav { display: none; }
@media (max-width: 1023px) { .logo { position: absolute; left: 50%; transform: translateX(-50%); } }
@media (min-width: 1024px) {
  .header__burger { display: none; }
  .nav { display: block; margin-left: clamp(24px, 4vw, 64px); }
  .nav ul { display: flex; gap: clamp(14px, 2vw, 30px); }
  .nav__link { display: inline-flex; align-items: center; gap: 7px; height: 44px; font-size: 14px; letter-spacing: .01em; position: relative; white-space: nowrap; }
  .nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
  .nav__link:hover::after, .nav__link[aria-current]::after { transform: scaleX(1); }
  .nav__item--mega { display: flex; align-items: center; }
  .nav__chev { display: grid; place-items: center; width: 22px; height: 44px; margin-right: -6px; }
  .nav__chev .chev { transition: transform .3s; }
  .nav__chev[aria-expanded="true"] .chev { transform: rotate(180deg); }
  .nav__item--mega:has([aria-expanded="true"]) .nav__link::after { transform: scaleX(1); }
}

/* Mega-menu */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgb(34 32 28 / .18); animation: megaIn .32s var(--ease); }
@keyframes megaIn { from { opacity: 0; transform: translateY(-6px); } }
.mega__inner { display: grid; grid-template-columns: minmax(300px, 1fr) 2.1fr; gap: var(--s8); padding-block: 44px 52px; }
.mega__links { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); align-content: start; }
.mega__links .eyebrow { margin-bottom: 18px; }
.mega__links li + li { margin-top: 12px; }
.mega__links a { font: 400 22px/1.2 var(--serif); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease); padding-bottom: 2px; }
.mega__links a:hover { background-size: 100% 1px; }
.mega__products { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); }
.scrim { position: fixed; inset: 0; background: rgb(34 32 28 / .28); z-index: 30; animation: fade .3s; }
.scrim.is-top { z-index: 65; }
@keyframes fade { from { opacity: 0; } }

/* Mobilmenu */
.mnav { position: fixed; inset: 0; z-index: 60; background: var(--paper); overflow-y: auto; padding: 0 var(--gutter) 40px; animation: fade .25s; }
.mnav__top { display: flex; justify-content: space-between; align-items: center; height: 64px; margin-right: -10px; }

.mnav__list > li { border-bottom: 1px solid var(--line); }
.mnav__list > li > a, .mnav summary { display: flex; justify-content: space-between; align-items: center; padding: 17px 0; font: 400 26px/1.15 var(--serif); cursor: pointer; list-style: none; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav details[open] summary .chev { transform: rotate(180deg); }
.mnav__sub { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 16px; }
.mnav__sub a { display: block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 99px; font-size: 13px; }
.mnav__row { scroll-padding-inline: var(--gutter); display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 22px; scrollbar-width: none; }
.mnav__row::-webkit-scrollbar { display: none; }
.mnav__row .card { flex: 0 0 42%; scroll-snap-align: start; }
.mnav__foot { margin-top: 28px; font-size: 13px; color: var(--muted); }

/* Søgning */
.search { position: fixed; inset: 0; z-index: 70; background: var(--paper); overflow-y: auto; animation: fade .2s; }
.search__bar { display: flex; align-items: center; gap: 14px; height: 84px; border-bottom: 1px solid var(--line); }
.search__bar input { flex: 1; min-width: 0; border: 0; background: none; font: 400 clamp(20px, 3vw, 30px) var(--serif); color: var(--ink); outline: none; }
.search__bar input::-webkit-search-cancel-button { display: none; }
.search__results { padding-block: 32px 60px; }
.search__results .grid { margin-top: 20px; }
.search__hint { color: var(--muted); }

/* Kurvskuffe */
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 70; width: min(440px, 100%); background: var(--paper); display: flex; flex-direction: column; box-shadow: -20px 0 60px rgb(34 32 28 / .12); animation: slideIn .35s var(--ease); }
@keyframes slideIn { from { transform: translateX(100%); } }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 14px 14px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 28px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer__foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); }
.drawer__empty { padding: 60px 0; text-align: center; color: var(--muted); }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line__img { background: var(--sand); aspect-ratio: 4/5; display: grid; place-items: center; }
.line__img img { max-height: 76%; width: auto; box-shadow: 2px 3px 8px rgb(0 0 0 / .14); }
.line h3 { font: 400 19px/1.2 var(--serif); }
.line small { color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); margin-top: 10px; }
.qty button { width: 32px; height: 32px; }
.qty span { min-width: 24px; text-align: center; font-size: 13px; }
.line__rm { font-size: 12px; color: var(--muted); text-decoration: underline; margin-top: 8px; display: block; text-align: right; }
.sum { display: flex; justify-content: space-between; padding: 3px 0; }
.sum--total { font-weight: 600; font-size: 17px; padding-top: 12px; margin-top: 10px; border-top: 1px solid var(--line); }
.freebar { height: 3px; background: var(--line); margin: 10px 0 16px; }
.freebar i { display: block; height: 100%; background: var(--accent); transition: width .4s var(--ease); }
.drawer__foot .btn { margin-top: 16px; }

/* Hero: to billeder, der skifter hvert 8. sekund (det nye med tekst ved siden af, og det klassiske banner) */
.hero { position: relative; display: grid; background: var(--sand); overflow: hidden; }
.hero__media { position: relative; order: 2; aspect-ratio: 4/4.2; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__img.is-on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero__img { transition: none; } }
.hero__dots { position: absolute; right: calc(var(--gutter) - 8px); bottom: 12px; z-index: 2; display: flex; }
.hero__dots button { width: 28px; height: 28px; display: grid; place-items: center; }
.hero__dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--ink); background: rgb(255 255 255 / .6); transition: background .3s; }
.hero__dots button[aria-pressed="true"]::before { background: var(--ink); }
.hero__text { padding-block: 44px 36px; }
.hero__text .eyebrow { margin-bottom: 14px; }
.hero__lead { max-width: 30em; margin: 18px 0 26px; font-size: 16px; color: #4a463f; }
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(380px, 5fr) 7fr; height: min(80vh, 780px); min-height: 560px; }
  .hero__media { aspect-ratio: auto; min-height: 0; }
  .hero__img { object-position: 50% 60%; }
  .hero__text { align-self: center; max-width: none; padding: 56px clamp(32px, 4vw, 72px) 64px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
  .hero__text h1 { font-size: clamp(44px, 4.6vw, 68px); }
}

.hero__img--2, .hero__img--3 { object-position: 50% 50%; }

/* Banner på forsiden: pynt uden link, aldrig bredere end billedet selv (1500 px) og aldrig beskåret */
.homebanner { max-width: 1500px; margin: 0 auto; }
.homebanner img { display: block; width: 100%; height: auto; }

/* Tillidsrække */
.trust ul { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 16px; padding-block: 30px; border-bottom: 1px solid var(--line); }
.trust li { display: flex; gap: 12px; align-items: center; }
.trust svg { flex: none; color: var(--accent); }
.trust strong { display: block; font-weight: 500; font-size: 13.5px; line-height: 1.3; }
.trust span { font-size: 12px; color: var(--muted); }
@media (min-width: 900px) { .trust ul { grid-template-columns: repeat(4, 1fr); padding-block: 34px; } .trust li { justify-content: center; } }

/* Sektioner og gitter */
.section { padding-block: clamp(56px, 8vw, 112px); }
.section--tint { background: var(--sand); }
.section--tint.section { padding-inline: 0; }
.section--grid { padding-bottom: clamp(56px, 8vw, 112px); }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: clamp(24px, 3vw, 44px); }
.section__head .eyebrow { margin-bottom: 10px; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
@media (min-width: 760px) { .grid { gap: 48px 24px; } .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* Produktkort */
.card__link { display: block; }
.card__media { position: relative; aspect-ratio: 4/5; background: var(--sand); display: grid; place-items: center; overflow: hidden; }
.section--tint .card__media, .mega .card__media { background: #ebe6dd; }
.card__art { height: auto; box-shadow: 0 1px 1px rgb(0 0 0 / .08), 6px 10px 22px rgb(60 50 35 / .16); }
.card__hover { position: absolute; max-width: none; height: auto; opacity: 0; transition: opacity .5s; }
@media (hover: hover) { .card__link:hover .card__hover { opacity: 1; } }
.card--photo .card__media { background: #fbfbfb; }
.card__photo { width: 100%; height: 100%; object-fit: cover; }
.card__title { font: 400 21px/1.2 var(--serif); margin-top: 14px; }
.card__meta { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; margin-top: 4px; }
.card__sizes { color: var(--muted); }
.card--compact .card__title { font: 400 13px/1.35 var(--sans); margin-top: 10px; }
.badge { position: absolute; top: 12px; left: 12px; background: var(--paper); font: 500 10px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 7px 9px; }
@media (max-width: 759px) { .card__title { font-size: 18px; } .card__meta { flex-direction: column; gap: 0; } }

/* Kollektionsfliser */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
@media (min-width: 900px) { .tiles { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.tile__media { aspect-ratio: 3/4; overflow: hidden; }
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile h3 { font: 400 24px/1.15 var(--serif); margin-top: 16px; }
.tile p { font-size: 13px; color: var(--muted); }

/* Historie + citat */
.story { display: grid; gap: 32px; padding-block: clamp(56px, 8vw, 112px); align-items: center; }
.story__media img { width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.story__text .eyebrow { margin-bottom: 14px; }
.story__text p:not(.eyebrow) { margin-top: 18px; max-width: 34em; color: #45413b; }
.story__text .more { margin-top: 28px; }
@media (min-width: 900px) { .story { grid-template-columns: 1.15fr 1fr; gap: clamp(48px, 7vw, 112px); } }
.quote { text-align: center; padding-block: 0 clamp(64px, 9vw, 120px); }
.quote blockquote { margin: 0 auto 26px; max-width: 22em; font-size: clamp(28px, 3.6vw, 46px); font-style: italic; line-height: 1.18; }

/* Sidehoved (kollektion m.m.) */
.pagehead { padding-block: clamp(28px, 4vw, 56px) clamp(20px, 3vw, 36px); }
.crumbs { font-size: 12px; color: var(--muted); margin-bottom: 18px; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.pagehead__lead { max-width: 40em; margin-top: 14px; color: #45413b; }
.pagehead__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.count { font-size: 13px; color: var(--muted); white-space: nowrap; margin-left: auto; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.chips a { white-space: nowrap; padding: 8px 16px; border: 1px solid var(--line); border-radius: 99px; font-size: 13px; transition: border-color .2s; }
.chips a:hover { border-color: var(--ink); }
.chips a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Produktside */
.pdp { display: grid; gap: 28px; padding-block: 16px 0; }
.pdp > * { min-width: 0; }
.pdp__gallery { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
.pdp__gallery::-webkit-scrollbar { display: none; }
.pdp__gallery > .shot { flex: 0 0 86%; scroll-snap-align: start; aspect-ratio: 1/1.2; }
.pdp__gallery > .shot:not(.shot--art):not(.shot--photo) img { height: 100%; object-fit: cover; }
.shot { position: relative; display: block; width: 100%; background: var(--sand); cursor: zoom-in; }
.shot img { width: 100%; }
.shot--photo img { height: 100%; object-fit: contain; }
.shot--art { aspect-ratio: 1/1.12; display: grid; place-items: center; }
.shot--art img { width: auto; max-width: 62%; max-height: 80%; box-shadow: 0 1px 2px rgb(0 0 0 / .08), 12px 18px 40px rgb(60 50 35 / .18); }
.shot__zoom { position: absolute; right: 14px; bottom: 14px; width: 38px; height: 38px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; opacity: .9; }
.pdp h1 { font-size: clamp(34px, 3.6vw, 50px); }
.pdp__price { font-size: 19px; margin: 12px 0 26px; }
.buy fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.buy legend { font: 500 11px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; padding: 0; }
.sizes { display: grid; gap: 8px; }
.size { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; column-gap: 14px; padding: 14px 16px; border: 1px solid var(--line); cursor: pointer; transition: border-color .2s, background .2s; }
.size:hover { border-color: var(--muted); }
.size input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.size:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--white); }
.size:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
.size__name { font: 500 21px/1 var(--serif); min-width: 2.6em; }
.size__dims { font-size: 13px; color: var(--muted); }
.size__price { font-size: 14px; }
.size__stock { grid-column: 2 / -1; font-size: 12px; margin-top: 4px; }
.size__stock--low { color: #9a6a1c; }
.size__stock--order { color: var(--muted); }
.size__stock--out { color: var(--muted); }
.size.is-out { cursor: not-allowed; background: repeating-linear-gradient(135deg, transparent 0 7px, rgb(0 0 0 / .025) 7px 8px); }
.size.is-out .size__name, .size.is-out .size__price { color: #a39d93; text-decoration: line-through; }
.pdp__usp { margin: 20px 0 28px; display: grid; gap: 8px; font-size: 13px; color: #45413b; }
.pdp__usp li { display: flex; gap: 10px; align-items: center; }
.pdp__usp svg { width: 20px; height: 20px; flex: none; color: var(--accent); }
.acc details { border-top: 1px solid var(--line); }
.acc details:last-child { border-bottom: 1px solid var(--line); }
.acc summary { display: flex; justify-content: space-between; align-items: center; padding: 17px 0; cursor: pointer; list-style: none; font: 500 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font: 300 20px/1 var(--sans); transition: transform .3s; }
.acc details[open] summary::after { transform: rotate(45deg); }
.rte { padding-bottom: 22px; color: #45413b; }
.rte p + p, .rte p + ul, .rte ul + p { margin-top: 12px; }
.rte a { text-decoration: underline; }
.dims { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 13px; }
.dims th, .dims td { text-align: left; padding: 8px 0; border-top: 1px solid var(--line); font-weight: 400; }
.dims td:last-child { text-align: right; }
@media (min-width: 900px) {
  .pdp { grid-template-columns: minmax(0, 1.35fr) minmax(360px, 1fr); grid-template-areas: "gallery info"; column-gap: clamp(32px, 5vw, 88px); row-gap: 14px; padding-top: 24px; align-items: start; }
  .pdp__gallery { grid-area: gallery; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0; padding: 0; overflow: visible; }
  .pdp__gallery > .shot { aspect-ratio: 1/1.32; }
  .pdp__gallery > .shot:only-child { grid-column: 1 / -1; aspect-ratio: 1/.9; }
  .pdp__info { grid-area: info; align-self: stretch; }
  .pdp__sticky { position: sticky; top: calc(var(--header-h) + 12px); padding-bottom: 24px; }
}

/* Størrelsesguide */
.sg { width: 100%; max-width: 420px; margin-inline: auto; }
.sg__floor { stroke: var(--line); }
.sg__sofa rect { fill: #e9e3d9; stroke: #d6cfc2; }
.sg__sofa path { stroke: #b9b1a3; stroke-width: 3; }
.sg__size rect { fill: var(--paper); stroke: #b4ada1; stroke-width: 1; transition: fill .3s, stroke .3s; }
.sg__size text { font: 500 8.5px var(--sans); fill: var(--muted); }
.sg__size.is-na rect { stroke-dasharray: 3 3; stroke: #d2ccc1; fill: none; }
.sg__size.is-na text { fill: #bdb6aa; }
.sg__size.is-on rect { fill: color-mix(in srgb, var(--accent) 16%, var(--paper)); stroke: var(--accent); stroke-width: 1.6; }
.sg__size.is-on text { fill: var(--accent); font-weight: 700; }
.sg__rule path { stroke: #b4ada1; fill: none; }
.sg__rule text { font: 400 8.5px var(--sans); fill: var(--muted); paint-order: stroke; stroke: var(--paper); stroke-width: 6px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgb(251 250 247 / .97); display: grid; place-items: center; padding: 24px; animation: fade .25s; cursor: zoom-out; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 48px); box-shadow: 0 20px 60px rgb(0 0 0 / .14); }
.lightbox .iconbtn { position: absolute; top: 14px; right: 14px; }

/* Indholdssider */
.prose { max-width: 820px; padding-block: clamp(28px, 4vw, 56px) clamp(64px, 8vw, 112px); }
.prose h1 { margin-bottom: 28px; }
.prose h2 { font-size: 28px; margin: 36px 0 10px; }
.prose p, .prose ul { margin-top: 14px; color: #3d3933; font-size: 16px; }
.prose ul { list-style: disc; padding-left: 20px; }
.prose a { text-decoration: underline; }
.prose__img { width: 100%; aspect-ratio: 16/9; object-fit: cover; margin-bottom: 12px; }

/* Footer */
.footer { background: var(--sand); margin-top: 0; padding-top: clamp(48px, 6vw, 80px); font-size: 14px; }
.footer__grid { display: grid; gap: 36px; }
.footer__brand img { margin-bottom: 14px; }
.footer__brand p { max-width: 26em; color: #45413b; }
.footer .eyebrow { margin-bottom: 14px; }
.footer li + li { margin-top: 8px; }
.footer a:hover, .footer .linkbtn:hover { text-decoration: underline; }
.footer address { font-style: normal; }
.footer__social { margin-top: 12px; }
.newsletter__row { display: flex; margin: 14px 0 10px; }
.newsletter input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid var(--ink); border-right: 0; background: var(--paper); font: inherit; border-radius: 0; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 48px; padding-block: 20px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.3fr .8fr 1fr 1.3fr; gap: 56px; } .footer__grid--3 { grid-template-columns: 1.6fr 1fr 1fr; } }

/* Cookie-pille */
.cookie { position: fixed; right: 16px; bottom: 16px; z-index: 50; display: flex; align-items: center; gap: 14px; max-width: calc(100vw - 32px); padding: 9px 9px 9px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 99px; box-shadow: 0 8px 30px rgb(34 32 28 / .1); font-size: 12px; animation: cookieIn .8s .6s var(--ease) backwards; }
.cookie p { white-space: nowrap; }
.cookie a { text-decoration: underline; color: var(--muted); }
.cookie button { flex: none; height: 32px; padding: 0 16px; border-radius: 99px; background: var(--ink); color: #fff; font: 500 12px var(--sans); }
@keyframes cookieIn { from { opacity: 0; transform: translateY(10px); } }

/* Cookie-samtykke (kun når cookie_mode = consent): Afvis og Accepter er lige store og lige tydelige */
.cookie--consent { border-radius: 18px; flex-wrap: wrap; padding: 14px 16px; max-width: min(420px, calc(100vw - 32px)); }
.cookie--consent p { white-space: normal; }
.cookie__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
.cookie__btns button { height: 38px; background: var(--ink); color: #fff; }

/* Formularer (Fortryd køb) */
.form { margin-top: 24px; max-width: 520px; }
.form label { display: grid; gap: 6px; margin-bottom: 18px; font-size: 14px; font-weight: 500; }
.form input, .form textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid #b9b2a6; background: var(--white); border-radius: 0; color: var(--ink); width: 100%; }
.form small { font-weight: 400; color: var(--muted); }
.form .hp { position: absolute; left: -9999px; }
.form ul { margin-bottom: 20px; }
.form .more { margin-left: 18px; }
.formerror { margin-top: 18px; padding: 12px 16px; background: #f8e6e3; color: #8a2f2b; }
.notfound__links { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; margin-top: 28px; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 95; background: var(--ink); color: #fff; padding: 12px 20px; font-size: 13px; border-radius: 99px; animation: cookieIn .4s var(--ease); }

/* Blød indtoning */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in, .no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* Designsystem-siden */
.sgp { padding-block: 56px 112px; max-width: 1100px; }
.sgp > h2 { margin: 64px 0 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.sgp__lead { max-width: 38em; margin-top: 16px; font-size: 17px; }
.sgp__colors { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 16px; }
.sgp__colors span { display: block; aspect-ratio: 4/3; border: 1px solid var(--line); margin-bottom: 8px; }
.sgp__colors small, .sgp__type small, .sgp__space small { display: block; color: var(--muted); font-size: 12px; }
.sgp__type { display: grid; gap: 28px; }
.sgp__type small { margin-bottom: 6px; }
.sgp__row { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.sgp__sizes { max-width: 420px; }
.sgp__space { display: flex; gap: 20px; align-items: end; flex-wrap: wrap; }
.sgp__space span { display: block; background: var(--accent); opacity: .7; margin-bottom: 6px; }

/* ---------- Betaling og ordre ---------- */
.cartnote { margin-bottom: 14px; padding: 12px 14px; background: #f8e6e3; color: #8a2f2b; font-size: 13px; line-height: 1.5; }
.cartnote p + p { margin-top: 6px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.receipt { margin-top: 24px; max-width: 520px; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); }
.receipt .sum { margin: 0; font-size: 15px; }
.receipt .sum span:first-child { padding-right: 16px; }
