/* Minderiet: farver og skrifter fra designet */
:root {
  --bund: #F7F0E5;
  --papir: #FBF6EE;
  --hvid: #FFFFFF;
  --streg: #E7DACB;
  --blaek: #211F1C;
  --tekst: #4F4842;
  --daempet: #625B54;
  --accent: #9C553E;
  --accent-moerk: #8F4E38;
  --accent-streg: #AD6248;
  --accent-blød: #FBEFE8;
  --ok: #3F7A4A;
  --fejl: #A3352B;
  --skygge: 0 10px 24px rgba(50, 35, 22, 0.14);
  --f-titel: 'Cormorant Garamond', Georgia, serif;
  --f-tekst: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-haand: 'Caveat', cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bund); color: var(--blaek); font: 16px/1.6 var(--f-tekst); }
img { max-width: 100%; display: block; }
a { color: var(--accent-moerk); }
a:hover { color: #6E3A28; }
h1, h2, h3 { font-family: var(--f-titel); font-weight: 500; line-height: 1.05; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(40px, 6vw, 72px); }
h2 { font-size: clamp(32px, 4.2vw, 52px); }
h3 { font-size: 30px; }
p { margin: 0; }
em.accent { color: var(--accent-moerk); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.haand { font-family: var(--f-haand); font-weight: 600; font-size: 24px; color: var(--accent-moerk); line-height: 1.1; }
.lille { font-size: 14px; color: var(--daempet); }
.lede { font-size: clamp(17px, 1.6vw, 19px); color: var(--tekst); max-width: 62ch; }

/* Billeder der mangler vises som en rolig flade i stedet for et brudt ikon */
.billede { background: var(--streg); overflow: hidden; }
.billede img { width: 100%; height: 100%; object-fit: cover; }
img.mangler { visibility: hidden; }

/* Knapper */
.knap { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px; border-radius: 999px; border: 1.5px solid var(--blaek); background: none; color: var(--blaek); font: 600 16px var(--f-tekst); text-decoration: none; cursor: pointer; }
.knap:hover { color: var(--blaek); background: var(--hvid); }
.knap.fyldt { background: var(--accent); border-color: var(--accent); color: #fff; }
.knap.fyldt:hover { background: var(--accent-moerk); border-color: var(--accent-moerk); color: #fff; }
.knap[disabled] { opacity: 0.5; cursor: default; }
.link-knap { border: 0; background: none; padding: 0; min-height: 44px; color: var(--accent-moerk); font: 600 15px var(--f-tekst); cursor: pointer; text-align: left; }

/* Top */
.topbjaelke { background: var(--blaek); color: var(--bund); text-align: center; font-size: 13.5px; padding: 7px 16px; }
.hoved { position: sticky; top: 0; z-index: 20; background: var(--papir); border-bottom: 1px solid var(--streg); }
.hoved .wrap { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.logo { color: var(--blaek); display: inline-flex; }
.logo svg { height: 40px; width: auto; }
.menu { display: flex; gap: 24px; flex: 1; font-weight: 500; font-size: 15.5px; }
.menu a { color: var(--blaek); text-decoration: none; }
.menu a:hover { color: var(--accent-moerk); }
.hoved .knap { min-height: 44px; padding: 0 20px; font-size: 15px; }
@media (max-width: 860px) { .menu { display: none; } .hoved .wrap { justify-content: space-between; } }

/* Sektioner */
section { padding-block: clamp(56px, 8vw, 104px); }
.sektion-top { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }

/* Hero */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero-tekst { display: flex; flex-direction: column; gap: 22px; }
.hero-knapper { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.loefter { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14.5px; color: var(--tekst); }
.hero-billeder { position: relative; padding-bottom: 40px; }
.hero-billeder .vaeg { aspect-ratio: 4 / 3.4; border-radius: 16px; box-shadow: 0 18px 40px rgba(50, 35, 22, 0.2); }
.hero-billeder .vaeg-tekst { position: absolute; right: 16px; top: 16px; background: var(--hvid); border-radius: 999px; padding: 2px 14px 4px; }
.polaroid { background: var(--hvid); padding: 9px 9px 0; box-shadow: var(--skygge); margin: 0; }
.polaroid .billede { aspect-ratio: 4 / 5; }
.polaroid figcaption { font-family: var(--f-haand); font-weight: 600; font-size: 20px; text-align: center; padding: 8px 4px 10px; color: #3B332D; line-height: 1.15; }
.hero-billeder .polaroid { position: absolute; left: -28px; bottom: 0; width: 38%; transform: rotate(-4deg); }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-billeder .polaroid { left: 0; width: 42%; }
}

/* Øjeblikke */
.oejeblikke { background: var(--papir); border-block: 1px solid var(--streg); }
.gitter-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.oejeblik { text-decoration: none; color: var(--blaek); display: flex; flex-direction: column; gap: 10px; }
.oejeblik .polaroid { transition: transform 0.2s; }
.oejeblik:nth-child(odd) .polaroid { transform: rotate(-1.5deg); }
.oejeblik:nth-child(even) .polaroid { transform: rotate(1.5deg); }
.oejeblik:hover .polaroid { transform: rotate(0) translateY(-4px); }
.oejeblik span { font-size: 14.5px; color: var(--daempet); text-align: center; }
@media (max-width: 860px) { .gitter-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; } }

/* Sådan */
.trin { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.trin > div { display: flex; flex-direction: column; gap: 8px; }
.trin .nr { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent-blød); color: var(--accent-moerk); font: 600 22px var(--f-titel); }
.trin b { font-size: 18px; }
.trin span { color: var(--tekst); }
@media (max-width: 760px) { .trin { grid-template-columns: 1fr; } }

/* Stilarter */
.stil-gitter { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: 48px; align-items: start; }
.stil-gitter .original { width: 70%; transform: rotate(-2deg); margin-top: 24px; }
.stile { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 18px; }
.stil { display: flex; flex-direction: column; gap: 4px; }
.stil .billede { aspect-ratio: 4 / 5; border-radius: 10px; box-shadow: var(--skygge); margin-bottom: 6px; }
.stil b { font: 500 21px var(--f-titel); }
@media (max-width: 860px) { .stil-gitter { grid-template-columns: 1fr; } .stile { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Produkter */
.produkter { background: var(--papir); border-block: 1px solid var(--streg); }
.produkt-kort { text-decoration: none; color: var(--blaek); background: var(--hvid); border-radius: 14px; overflow: hidden; box-shadow: 0 6px 16px rgba(50, 35, 22, 0.08); display: flex; flex-direction: column; }
.produkt-kort .billede { aspect-ratio: 1; }
.produkt-kort div.tekst { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.produkt-kort b { font: 500 23px var(--f-titel); }
.produkt-kort .pris { font-weight: 700; margin-top: 6px; }

/* Gave og minde */
.to-kol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.to-kol > div { display: flex; flex-direction: column; gap: 10px; }
.to-kol .billede { aspect-ratio: 16 / 10; border-radius: 14px; margin-bottom: 10px; }
@media (max-width: 760px) { .to-kol { grid-template-columns: 1fr; } }

/* Brev og løfte */
.brev .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 56px; }
.brev-tekst { display: flex; flex-direction: column; gap: 16px; font-size: 18px; color: var(--tekst); }
.brev-tekst .haand { font-size: 30px; }
.loefte { background: var(--hvid); border-radius: 16px; padding: 28px; box-shadow: var(--skygge); display: flex; flex-direction: column; gap: 16px; }
.loefte > div { display: flex; flex-direction: column; }
.loefte span { color: var(--tekst); font-size: 15px; }
@media (max-width: 860px) { .brev .wrap { grid-template-columns: 1fr; } }

/* Spørgsmål */
.faq { max-width: 760px; }
details { border-bottom: 1px solid var(--streg); padding: 16px 0; }
summary { cursor: pointer; font: 500 23px var(--f-titel); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: '+'; color: var(--accent-moerk); }
details[open] summary::after { content: '–'; }
details p { color: var(--tekst); margin-top: 8px; }

/* Afslutning og bund */
.afslutning { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.fod { background: var(--blaek); color: #D9CFC2; font-size: 14px; padding-block: 32px; }
.fod .wrap { display: flex; gap: 20px 32px; flex-wrap: wrap; justify-content: space-between; }
.fod a { color: #F0E6D8; }
.fod nav { display: flex; gap: 16px; flex-wrap: wrap; }

/* Tekstsider */
.tekstside { max-width: 760px; }
.tekstside h1 { font-size: 48px; margin-bottom: 20px; }
.tekstside h2 { font-size: 28px; margin: 32px 0 8px; }
.tekstside p, .tekstside li { color: var(--tekst); margin-bottom: 10px; }
.udkast { background: #FFF4D6; border: 1px solid #E8C877; border-radius: 10px; padding: 12px 16px; margin-bottom: 24px; font-size: 15px; }

/* ===== Bestilling ===== */
.bestil { max-width: 720px; margin-inline: auto; padding: 24px 16px 140px; }
.trinlinje { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 4px 0 6px; }
.trinlinje span { height: 4px; border-radius: 4px; background: var(--streg); }
.trinlinje span.aktiv { background: var(--accent); }
.trin-tekst { font-size: 13.5px; color: var(--daempet); margin-bottom: 18px; }
.skridt { display: flex; flex-direction: column; gap: 14px; }
.skridt h1 { font-size: clamp(32px, 5vw, 44px); }
.valg-gitter { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px 12px; margin-top: 6px; }
.valg { border: 0; background: var(--hvid); padding: 7px 7px 0; box-shadow: var(--skygge); cursor: pointer; font: inherit; color: #3B332D; text-align: center; }
.valg .billede { aspect-ratio: 4 / 5; }
.valg .navn { display: block; font-family: var(--f-haand); font-weight: 600; font-size: 19px; line-height: 1.1; padding: 8px 2px 10px; }
.valg.stil-valg { background: none; box-shadow: none; padding: 0; text-align: left; }
.valg.stil-valg .billede { border-radius: 10px; box-shadow: var(--skygge); }
.valg.stil-valg .navn { font: 500 20px var(--f-titel); padding: 8px 0 0; }
.valg.stil-valg .under { display: block; font-size: 13px; color: var(--daempet); }
.upload-felt { border: 2px dashed var(--accent-streg); border-radius: 16px; background: var(--hvid); min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; cursor: pointer; padding: 20px; text-align: center; }
.upload-felt.over { background: var(--accent-blød); }
.upload-felt b { font: 500 28px var(--f-titel); }
.boks { background: var(--papir); border: 1px solid var(--streg); border-radius: 12px; padding: 14px 16px; font-size: 15px; color: var(--tekst); }
.foto-status { display: flex; gap: 14px; align-items: center; }
.foto-status img { width: 72px; height: 90px; object-fit: cover; border-radius: 8px; }
.foto-status .ok { color: var(--ok); font-weight: 600; }
.foto-status .advarsel { color: var(--fejl); font-weight: 600; }
.fejl { color: var(--fejl); font-weight: 600; }
.etiket { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; color: var(--daempet); text-transform: uppercase; margin-top: 6px; }
.knap-gitter { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.vaelg { min-height: 56px; border-radius: 12px; border: 1px solid var(--streg); background: var(--hvid); font: inherit; text-align: left; padding: 8px 12px; cursor: pointer; color: var(--blaek); }
.vaelg[aria-pressed='true'] { border: 2px solid var(--accent); background: var(--accent-blød); }
.vaelg b { display: block; font-size: 15px; }
.vaelg span { display: block; font-size: 13px; color: var(--daempet); }
.piller { display: flex; gap: 8px; flex-wrap: wrap; }
.piller .vaelg { min-height: 44px; border-radius: 999px; padding: 0 16px; font-weight: 600; }
.stue { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 1.338; background: var(--streg); }
.stue > img.rum { width: 100%; height: 100%; object-fit: cover; }
.stue .i-ramme { position: absolute; left: 42.8%; top: 15.5%; width: 14.3%; height: 27.6%; object-fit: cover; box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.2); }
.afkryds { display: flex; gap: 12px; align-items: flex-start; background: var(--hvid); border: 1px solid var(--streg); border-radius: 12px; padding: 14px; cursor: pointer; }
.afkryds input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); }
.afkryds span span { color: var(--daempet); font-size: 14px; }
.opsummering { display: flex; flex-direction: column; gap: 6px; }
.opsummering div { display: flex; justify-content: space-between; gap: 12px; }
.opsummering b { white-space: nowrap; }
.opsummering .ialt { border-top: 1px solid var(--streg); padding-top: 8px; margin-top: 4px; font-size: 18px; }
.bundbjaelke { position: fixed; left: 0; right: 0; bottom: 0; background: var(--papir); border-top: 1px solid var(--streg); z-index: 30; }
.bundbjaelke .indre { max-width: 720px; margin-inline: auto; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 12px; }
.bundbjaelke .sum { flex: 1; display: flex; flex-direction: column; }
.bundbjaelke .sum b { font-size: 19px; }
[hidden] { display: none !important; }

/* Kurv */
.kurv-ikon { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; color: var(--blaek); flex: none; }
.kurv-ikon:hover { color: var(--accent-moerk); }
.kurv-antal { position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 700; display: grid; place-items: center; }
@media (max-width: 480px) { .hoved .knap { display: none; } }
.kurv-vare { display: flex; gap: 14px; background: var(--hvid); border-radius: 12px; padding: 12px; box-shadow: 0 6px 16px rgba(50, 35, 22, 0.08); }
.kurv-vare .billede { width: 80px; aspect-ratio: 4 / 5; border-radius: 6px; flex: none; }
.kurv-vare .info { flex: 1; display: flex; flex-direction: column; gap: 2px; font-size: 14.5px; min-width: 0; }
.kurv-vare .info span { color: var(--daempet); }
.kurv-vare .pris { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; white-space: nowrap; }
