/* ==========================================================
   Little Love Letters – farver og skrift
   Farverne kan justeres her ét sted.
   ========================================================== */
:root {
  --mauve: #bf9a9e;
  --plum: #a5506a;
  --plum-dark: #86394f;
  --rasp: #d64a73;
  --blush: #f9e1dc;
  --cream: #faf5ee;
  --cream-2: #f3ebe1;
  --pink: #f6d3de;
  --ink: #3f2a2f;
  --ink-soft: #7a6166;
  --line: #e6d9cf;
  --font: "Arima", Georgia, serif;
  --serif: "Cormorant Garamond", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--plum); line-height: 1.15; margin: 0 0 .5em; font-weight: 500; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1280px, 100% - 32px); margin-inline: auto; }
.smal { width: min(720px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.lower { text-transform: lowercase; }
h1::first-letter, h2::first-letter, h3::first-letter, summary::first-letter { text-transform: uppercase; }

/* Mus: mariehøne 🐞 (falder tilbage til normal pil) */
html, a, button, label, summary, select, .btn, .kort, .thumbs button, .chips label {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Ctext x='2' y='26' font-size='26'%3E%F0%9F%90%9E%3C/text%3E%3C/svg%3E") 6 6, auto;
}
input[type=text], input[type=email], input[type=tel], textarea { cursor: text; }
.tagline { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: var(--plum); line-height: 1.3; }

/* ---------- Knapper ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: inherit; font-size: 1rem; letter-spacing: .02em; text-transform: lowercase;
  background: var(--plum); color: #fff; border: 1px solid var(--plum); border-radius: 0;
  padding: .85em 2.2em; cursor: pointer; text-decoration: none;
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--plum-dark); border-color: var(--plum-dark); }
.btn.light { background: transparent; color: var(--plum); }
.btn.light:hover { background: var(--plum); color: #fff; }
.btn.hvid { background: transparent; color: #fff; border-color: #fff; }
.btn.hvid:hover { background: #fff; color: var(--plum); }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: default; }
.link { text-transform: lowercase; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; color: var(--plum); }

/* ---------- Topbjælke + header ---------- */
.topbar { background: var(--plum); color: #fff; text-align: center; font-size: .85rem; letter-spacing: .03em; padding: .55em 16px; text-transform: lowercase; }
header.site { background: var(--cream); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; min-height: 84px; }
nav.main { display: flex; gap: 28px; }
nav.main a { text-decoration: none; text-transform: lowercase; font-size: 1rem; color: var(--ink); }
nav.main a:hover { color: var(--rasp); }
.brand { display: flex; flex-direction: column; align-items: center; gap: 2px; text-decoration: none; }
.brand .ikon { height: 40px; width: auto; }
.brand .tekst { height: 20px; width: auto; }
.header-hoejre { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.cart-link { position: relative; display: inline-flex; align-items: center; gap: 6px; color: var(--ink); text-decoration: none; text-transform: lowercase; padding: 8px; }
.cart-link svg { width: 24px; height: 24px; }
.cart-count {
  position: absolute; top: 0; right: -4px; background: var(--rasp); color: #fff;
  font-size: .7rem; min-width: 18px; height: 18px; border-radius: 9px;
  display: none; align-items: center; justify-content: center; padding: 0 5px;
}
.cart-count.vis { display: flex; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); justify-self: start; }
.menu-btn svg { width: 26px; height: 26px; }

@media (max-width: 860px) {
  .menu-btn { display: block; }
  .header-inner { min-height: 72px; }
  .brand .ikon { height: 32px; }
  .brand .tekst { height: 16px; }
  nav.main {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; background: var(--cream); border-bottom: 1px solid var(--line);
  }
  nav.main.open { display: flex; }
  nav.main a { padding: 16px 24px; border-top: 1px solid var(--line); font-size: 1.1rem; }
}

/* ---------- Hero: fotos i fuld bredde ---------- */
.hero { position: relative; display: grid; grid-template-columns: repeat(var(--kol, 3), 1fr); height: min(86vh, 820px); min-height: 480px; overflow: hidden; background: var(--cream-2); }
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(40,20,25,.05), rgba(40,20,25,.38)); }
.hero-tekst { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; color: #fff; }
.hero-tekst h1 { color: #fff; font-size: clamp(2.6rem, 7vw, 5.6rem); text-shadow: 0 2px 30px rgba(0,0,0,.25); margin-bottom: .2em; }
.hero-tekst p { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2.2vw, 1.6rem); max-width: 620px; margin-bottom: 1.4em; text-shadow: 0 1px 16px rgba(0,0,0,.3); }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; height: 78vh; }
  .hero img:not(:first-child) { display: none; }
}

/* ---------- Sektioner ---------- */
section { padding: clamp(60px, 9vw, 110px) 0; }
section.hvid { background: #fffdfa; }
section.blush { background: var(--blush); }
.sektion-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 28px; }
.sektion-top h2 { margin: 0; }
.tekst ul { padding-left: 1.2em; }

/* Kirsebærbanner som baggrund bag intro-teksten */
.kirsebaer { background: #fcf7ef url("../billeder/banner.jpg") center top / clamp(620px, 70vw, 1100px) auto repeat; padding: clamp(64px, 10vw, 130px) 16px; }
.intro-kort {
  max-width: 680px; margin-inline: auto; text-align: center;
  background: rgba(250, 245, 238, .94); padding: clamp(32px, 5vw, 56px) clamp(22px, 5vw, 64px);
}
.intro-kort .intro-logo { width: 72px; margin: 0 auto 12px; }
.intro-kort .tekst { font-size: 1.08rem; margin-top: 1em; }
.intro-kort .tekst p:last-child { margin-bottom: 0; }

/* ---------- Produktkort (flade, som en butik) ---------- */
.grid { display: grid; gap: 28px 18px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(2, 1fr); } }
.kort { text-decoration: none; color: inherit; display: block; }
.kort .foto { aspect-ratio: 4 / 5; overflow: hidden; background: var(--cream-2); position: relative; }
.kort .foto img { width: 100%; height: 100%; object-fit: cover; transition: opacity .4s, transform .6s; }
.kort .foto img.hover { position: absolute; inset: 0; opacity: 0; }
.kort:hover .foto img.hover { opacity: 1; }
.kort:hover .foto img { transform: scale(1.02); }
.kort .info { padding: 12px 2px 0; }
.kort h3 { margin: 0 0 .1em; font-size: 1.1rem; color: var(--ink); font-weight: 400; }
.kort .pris { font-size: .95rem; color: var(--ink-soft); }

/* ---------- Redaktionel tekst ---------- */
.intro { text-align: center; }
.intro .tekst { font-size: 1.15rem; }
.intro h2 { }

/* ---------- Bag om (stort billede + tekst) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; background: #fffdfa; }
.split .billede { min-height: 520px; }
.split .billede img { width: 100%; height: 100%; object-fit: cover; }
.split .indhold { padding: clamp(40px, 7vw, 100px); display: flex; flex-direction: column; justify-content: center; }
.split h2 { }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split .billede { min-height: 0; aspect-ratio: 4/5; } }

/* ---------- Fordele (ikonrække) ---------- */
.fordele { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.fordele .ikon { width: 44px; height: 44px; margin: 0 auto 12px; color: var(--plum); }
.fordele h3 { font-size: 1.15rem; margin-bottom: .2em; color: var(--ink); font-weight: 500; }
.fordele p { font-size: .95rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 760px) { .fordele { grid-template-columns: repeat(2, 1fr); gap: 36px 16px; } }

/* ---------- Kontakt ---------- */
.kontakt-boks { text-align: center; }
.kontakt-boks h2 { }
.kontakt-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 1.4em; }

/* ---------- Footer ---------- */
footer.site { background: var(--cream-2); color: var(--ink); padding: 64px 0 28px; font-size: .95rem; border-top: 1px solid var(--line); }
footer.site a { text-decoration: none; text-transform: lowercase; }
footer.site a:hover { color: var(--rasp); }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1.4fr 1fr 1fr; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
footer.site h4 { margin: 0 0 .9em; font-size: .95rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; color: var(--plum); }
footer.site .links a { display: block; margin-bottom: .35em; }
footer.site .bund { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px; text-align: center; color: var(--ink-soft); font-size: .85rem; }
footer.site .logo { height: 46px; margin-bottom: 14px; }
footer.site .tagline { font-size: 1.3rem; }

/* ---------- Produktside ---------- */
.breadcrumb { font-size: .9rem; margin-bottom: 20px; text-transform: lowercase; color: var(--ink-soft); }
.breadcrumb a { text-decoration: none; }
.produkt { display: grid; gap: clamp(24px, 4vw, 64px); grid-template-columns: 1.2fr 1fr; align-items: start; }
.produkt > *, .kurv-layout > * { min-width: 0; }
@media (max-width: 860px) {
  .produkt { grid-template-columns: 1fr; }
  .galleri .hoved { max-height: 72vh; }
  .produkt-info { position: static; }
}
.galleri .hoved { overflow: hidden; background: var(--cream-2); aspect-ratio: 4/5; }
.galleri .hoved img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0 4px; scrollbar-width: thin; }
.thumbs button { flex: 0 0 70px; height: 88px; padding: 0; border: 1px solid transparent; overflow: hidden; cursor: pointer; background: none; opacity: .7; }
.thumbs button.aktiv { border-color: var(--plum); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.produkt-info { position: sticky; top: 110px; }
.produkt h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.produkt .pris-stor { font-size: 1.3rem; color: var(--ink); margin-bottom: 1em; }
.felt { margin-bottom: 20px; }
.felt > label, .felt > .label { display: block; margin-bottom: 8px; font-size: .95rem; text-transform: lowercase; color: var(--ink-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: .5em 1.1em; border: 1px solid var(--line); background: #fffdfa; font-size: .95rem; transition: all .15s; }
.chips input:checked + span { border-color: var(--plum); background: var(--plum); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--mauve); }
input[type=text], input[type=email], input[type=tel], textarea, select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  border: 1px solid var(--line); border-radius: 0; padding: .75em .9em; background: #fffdfa;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--plum); }
textarea { min-height: 90px; resize: vertical; }
.antal { display: inline-flex; align-items: center; border: 1px solid var(--line); background: #fffdfa; }
.antal button { width: 40px; height: 44px; border: 0; background: none; font: inherit; font-size: 1.1rem; color: var(--ink); cursor: pointer; }
.antal span { min-width: 26px; text-align: center; }
.tilfoejet { margin-top: 12px; color: var(--plum); display: none; }
.tilfoejet.vis { display: block; }
.detaljer-liste { border-top: 1px solid var(--line); margin-top: 28px; }
.detaljer-liste details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.detaljer-liste summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.detaljer-liste summary::after { content: "+"; color: var(--plum); }
.detaljer-liste details[open] summary::after { content: "–"; }
.detaljer-liste .tekst { padding-top: 10px; font-size: .95rem; color: var(--ink-soft); }

/* ---------- Kurv ---------- */
.kurv-layout { display: grid; gap: 40px; grid-template-columns: 1.3fr 1fr; align-items: start; }
@media (max-width: 860px) { .kurv-layout { grid-template-columns: 1fr; } }
.boks { background: #fffdfa; border: 1px solid var(--line); padding: clamp(20px, 3vw, 32px); }
.linje { display: grid; grid-template-columns: 80px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.linje:first-child { padding-top: 0; }
.linje:last-child { border-bottom: 0; padding-bottom: 0; }
.linje img { width: 80px; height: 100px; object-fit: cover; }
.linje h3 { font-size: 1.1rem; margin: 0 0 .2em; color: var(--ink); font-weight: 400; }
.linje .detaljer { font-size: .88rem; color: var(--ink-soft); }
.linje .hoejre { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.fjern { background: none; border: 0; color: var(--ink-soft); text-decoration: underline; cursor: pointer; font: inherit; font-size: .85rem; text-transform: lowercase; }
.sum { display: flex; justify-content: space-between; padding: 6px 0; }
.sum.total { font-size: 1.2rem; color: var(--plum); border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; }
.to-felter { display: grid; grid-template-columns: 1fr 2fr; gap: 12px; }
.fejl { background: #fde8ec; color: #8a1f3d; padding: 12px 16px; display: none; margin-bottom: 14px; }
.fejl.vis { display: block; }
.skjult { display: none !important; }
.note { font-size: .88rem; color: var(--ink-soft); }
.side-titel { }

/* ---------- Tekstsider ---------- */
.tekstside { max-width: 760px; margin-inline: auto; }
.tekstside .tekst strong { color: var(--plum); font-weight: 500; font-size: 1.1rem; display: inline-block; margin-top: .4em; }

/* Gaveindpakning */
.gave { display: flex; gap: 10px; align-items: center; padding: 6px 0 10px; }
.gave input { width: 18px; height: 18px; accent-color: var(--plum); margin: 0; }
.fordele .ikon { width: 64px; height: 64px; }
.fordele .emoji { font-size: 46px; line-height: 1; margin: 0 auto 14px; }
