/* LME — kortene for alt som selges, i begge butikkene.
 *
 * Brukes BARE av /butikk og /shop, sammen med js/lme-butikk-apper.js.
 * Stien har ingen egen Cache-Control i _headers, så bump ?v= i de to
 * sidene hver gang denne fila endres.
 *
 * Fonter og farger er LÅST (CLAUDE.md): overskrifter i Playpen Sans, alt
 * annet i Sasson Montessori, og bare LMEs cerise, lime, sol, sky, rosa og
 * krem. Hver overgang holder seg i én fargefamilie, så ingen blanding kan
 * bli oransje. Variablene heter litt ulikt på de to sidene, derfor
 * reservene i hver var().
 */
.lb-snarvei {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin: 8px auto 28px; padding: 0; list-style: none; max-width: 1120px;
}
.lb-snarvei a {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; color: var(--ink, #1A1A1A); text-decoration: none;
  border: 1.5px solid rgba(233, 30, 137, 0.18); border-radius: 999px;
  padding: 9px 16px; font-size: 14px; font-weight: 700;
  font-family: var(--font-body, 'Sasson Montessori', system-ui, sans-serif);
  box-shadow: 0 4px 14px -10px rgba(26, 26, 26, 0.35);
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.lb-snarvei a:hover { transform: translateY(-1px); border-color: #E91E89; background: #FFF6FA; }

.lb-seksjon { margin: 0 0 56px; scroll-margin-top: 110px; }
.lb-hode {
  display: flex; align-items: center; gap: 14px; margin: 0 0 20px;
}
.lb-hode-ikon {
  flex: 0 0 auto; width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center; font-size: 26px; background: #fff;
  box-shadow: 0 6px 18px -12px rgba(26, 26, 26, 0.45);
}
.lb-hode-tekst { flex: 1; min-width: 0; }
.lb-hode h2 {
  margin: 0 0 2px; font-family: var(--font-head, var(--font-display, 'Playpen Sans', system-ui, sans-serif));
  font-size: clamp(23px, 2.8vw, 31px); font-weight: 700; line-height: 1.15; color: var(--ink, #1A1A1A);
}
.lb-hode p {
  margin: 0; font-size: 14.5px; line-height: 1.45; color: var(--ink-soft, #6b4760);
  font-family: var(--font-body, 'Sasson Montessori', system-ui, sans-serif);
}
.lb-antall {
  flex: 0 0 auto; align-self: flex-start; margin-top: 6px;
  background: #F8D7DA; color: #9c1260; border-radius: 999px; padding: 5px 12px;
  font-size: 12.5px; font-weight: 700; white-space: nowrap;
  font-family: var(--font-body, 'Sasson Montessori', system-ui, sans-serif);
}

.lb-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px;
}
@media (max-width: 560px) {
  .lb-grid { grid-template-columns: 1fr; gap: 14px; }
  .lb-hode { flex-wrap: wrap; }
  .lb-antall { display: none; }
}

.lb-kort {
  background: #fff; border-radius: 20px; overflow: hidden;
  display: flex; flex-direction: column; min-width: 0;
  border: 1px solid rgba(233, 30, 137, 0.10);
  box-shadow: 0 10px 28px -20px rgba(26, 26, 26, 0.45);
  transition: transform .2s ease, box-shadow .2s ease;
  font-family: var(--font-body, 'Sasson Montessori', system-ui, sans-serif);
}
.lb-kort:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(26, 26, 26, 0.5); }

/* Toppen: én fargefamilie per kort. */
.lb-topp {
  position: relative; height: 92px; padding: 14px 16px;
  display: flex; align-items: flex-end; gap: 10px;
}
.lb-c1 .lb-topp { background: linear-gradient(135deg, #F5A8B8, #E91E89); }
.lb-c2 .lb-topp { background: linear-gradient(135deg, #FFF4D6, #F7C72E); }
.lb-c3 .lb-topp { background: linear-gradient(135deg, #CFE3F2, #3FA9F5); }
.lb-c4 .lb-topp { background: linear-gradient(135deg, #E8F5D1, #A4D233); }
.lb-c5 .lb-topp { background: linear-gradient(135deg, #FDF0F2, #F5A8B8); }
.lb-c6 .lb-topp { background: linear-gradient(135deg, #E8F5D1, #A4D233); }
.lb-emoji {
  width: 56px; height: 56px; border-radius: 16px; background: #fff;
  display: grid; place-items: center; font-size: 30px; line-height: 1;
  box-shadow: 0 8px 20px -10px rgba(26, 26, 26, 0.45);
  transform: translateY(26px);
}
.lb-kicker {
  position: absolute; top: 12px; right: 12px;
  background: rgba(255, 255, 255, 0.92); color: var(--ink, #1A1A1A);
  border-radius: 999px; padding: 4px 10px; font-size: 10.5px; font-weight: 700; letter-spacing: .1em;
}
.lb-merke {
  position: absolute; top: 12px; left: 12px;
  background: #F7E76B; color: #1A1A1A; border-radius: 999px;
  padding: 4px 10px; font-size: 11px; font-weight: 700;
}
.lb-merke-tilbud { background: #fff; color: #E91E89; }

.lb-kropp { padding: 34px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.lb-navn {
  margin: 0 0 6px; font-family: var(--font-head, var(--font-display, 'Playpen Sans', system-ui, sans-serif));
  font-size: 17px; font-weight: 700; line-height: 1.25; color: var(--ink, #1A1A1A);
}
.lb-navn a { color: inherit; text-decoration: none; }
.lb-navn a:hover { color: #E91E89; }
.lb-om { margin: 0 0 14px; font-size: 13.5px; line-height: 1.45; color: var(--ink-soft, #6b4760); flex: 1; }

.lb-valg {
  list-style: none; margin: 0 0 10px; padding: 4px 12px;
  background: #FBF6F0; border-radius: 14px;
}
.lb-valg li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  padding: 7px 0; font-size: 13.5px; border-bottom: 1px dashed rgba(26, 26, 26, 0.12);
}
.lb-valg li:last-child { border-bottom: 0; }
.lb-valg-navn { color: var(--ink, #1A1A1A); min-width: 0; }
.lb-valg-pris { color: var(--ink, #1A1A1A); white-space: nowrap; font-weight: 700; }
.lb-tillegg { margin: 0 0 10px; font-size: 12.5px; color: var(--ink-soft, #6b4760); }

.lb-pris { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 2px 0 4px; }
.lb-belop {
  font-family: var(--font-head, var(--font-display, 'Playpen Sans', system-ui, sans-serif));
  font-size: 23px; font-weight: 700; color: var(--ink, #1A1A1A); line-height: 1.2;
}
.lb-belop-tom { font-size: 17px; }
.lb-for { font-size: 14px; color: #8A8A8A; }
.lb-note { margin: 0 0 4px; font-size: 12.5px; line-height: 1.4; color: #9c1260; }

.lb-kjop {
  display: block; text-align: center; text-decoration: none; margin-top: 12px;
  background: #E91E89; color: #fff; border-radius: 999px; padding: 13px 18px;
  font-size: 15px; font-weight: 700; line-height: 1.2;
  font-family: var(--font-body, 'Sasson Montessori', system-ui, sans-serif);
  box-shadow: 0 8px 18px -10px rgba(233, 30, 137, 0.7);
  transition: background .15s ease, transform .15s ease;
}
.lb-kjop:hover { background: #C8157A; transform: translateY(-1px); }
.lb-kjop-rolig { background: #fff; color: #E91E89; border: 2px solid #E91E89; box-shadow: none; padding: 11px 16px; }
.lb-kjop-rolig:hover { background: #FFF6FA; }
.lb-kort .lme-vipps.forst { margin: 12px 0 0; }
.lb-kort .lme-vipps.forst + .lb-kjop { margin-top: 8px; }

.lb-alle {
  display: inline-block; margin-top: 18px; color: #E91E89; font-weight: 700; text-decoration: none;
  font-size: 15px; font-family: var(--font-body, 'Sasson Montessori', system-ui, sans-serif);
}
.lb-alle:hover { text-decoration: underline; }
