/* Reservlagret, tema 0.2 (6/9). Layout efter Kevins referens: rundade kort, lätta stora
   rubriker, pillerknappar, mycket luft. Färger från profilen 1.1: mossgrönt och papper,
   ingen orange, inga versaler. Hanken Grotesk självhostad, en variabel fil 300 till 700.
   Mobilen först: basen är en kolumn, desktop läggs på med min-width. */

@font-face {
  font-family: "Hanken Grotesk"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/hanken-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Hanken Grotesk"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/hanken-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --gron: #1f3d34;      /* mossgrön, mörka kort och sidfot */
  --gron-2: #2c5246;    /* ljusare mossgrön, ord i påståendet */
  --ink: #14231f;
  --papper: #f6f4ef;
  --kort: #fbfaf6;      /* ljust kort på papper */
  --kort-2: #ece9e0;    /* varmare kort */
  --linje: #d8d3c8;
  --ljusgron: #c9d3cd;
  --dampad: #5f6a66;
  --vit: #ffffff;
  --max: 1240px;
  --radie: 24px;
  --radie-liten: 16px;
  --pill: 999px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--papper); color: var(--ink);
  font-family: "Hanken Grotesk", system-ui, sans-serif; font-size: 17px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3 { font-weight: 300; letter-spacing: -0.03em; line-height: 1.02; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 9vw, 5.4rem); }
h2 { font-size: clamp(2rem, 5.2vw, 3.4rem); }
h3 { font-size: 1.35rem; font-weight: 400; letter-spacing: -0.01em; line-height: 1.2; }
p { max-width: 60ch; }
.mute { color: var(--dampad); }
.container { width: min(var(--max), 100% - 2 * clamp(14px, 4vw, 40px)); margin-inline: auto; }
section { padding-block: clamp(28px, 5vw, 64px); }
.eyebrow { font-size: 14px; color: var(--dampad); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gron); }
.sektion-rubrik { margin-bottom: clamp(20px, 3vw, 36px); }

/* Knappar: piller, som referensen. Primär mossgrön, ljus på papper. */
.knapp {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: var(--pill); font-weight: 500; font-size: 16px;
  text-decoration: none; line-height: 1.1; white-space: nowrap; border: 1px solid transparent;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.knapp:hover { transform: translateY(-1px); }
.knapp:active { transform: translateY(0); }
.knapp-primar { background: var(--gron); color: var(--papper); }
.knapp-primar:hover { background: var(--ink); }
.knapp-ljus { background: var(--vit); color: var(--ink); border-color: var(--linje); }
.knapp-ljus:hover { background: var(--kort-2); }
.knapp-stor { padding: 16px 28px; font-size: 17px; }
.knapp-ikon { width: 42px; height: 42px; padding: 0; border-radius: 50%; background: var(--kort-2); position: relative; }
.knapp-ikon:hover { background: var(--ljusgron); }

/* Sidhuvud: fast, genomskinligt tills man scrollat. */
.sidhuvud { position: sticky; top: 0; z-index: 30; transition: background .3s var(--ease), box-shadow .3s var(--ease); }
.sidhuvud.scrollad { background: rgba(246,244,239,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(20,35,31,.06); }
.sidhuvud-rad { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 68px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 500; font-size: 20px; letter-spacing: -0.02em; text-decoration: none; }
.logo img { height: 30px; width: auto; }
.sidhuvud-hoger { display: flex; align-items: center; gap: 8px; }
.sidhuvud-kop { display: none; }
.varukorg-antal { position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--gron); color: var(--papper); font-size: 11px; font-weight: 600; display: grid; place-items: center; }
.meny-knapp { flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.meny-knapp span { display: block; width: 18px; height: 1.5px; background: var(--ink); margin: 0; transition: transform .3s var(--ease), opacity .3s; }
.meny-oppen .meny-knapp span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.meny-oppen .meny-knapp span:nth-child(2) { opacity: 0; }
.meny-oppen .meny-knapp span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
.meny { position: fixed; inset: 68px 12px auto 12px; background: var(--vit); border-radius: var(--radie); padding: 10px; display: grid; gap: 2px;
  box-shadow: 0 20px 50px rgba(20,35,31,.14); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
.meny a { padding: 14px 16px; border-radius: 14px; text-decoration: none; font-size: 18px; }
.meny a:hover { background: var(--kort-2); }
.meny-oppen .meny { opacity: 1; transform: none; pointer-events: auto; }

/* Hero: ett stort rundat kort med rubrik, ingress, knappar och lådan. */
.hero-sektion { padding-top: 8px; }
.hero-kort { background: var(--kort-2); border-radius: var(--radie); padding: clamp(28px, 5vw, 64px) clamp(18px, 4vw, 56px) clamp(18px, 4vw, 40px); overflow: hidden; display: grid; gap: 24px; }
.hero-text { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-text .eyebrow { justify-content: center; }
.hero-text .ingress { font-size: clamp(1.05rem, 2.4vw, 1.25rem); color: #2b3733; margin-top: 16px; max-width: 46ch; }
.knappar { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 24px; }
.hero-bild { margin-inline: auto; width: min(100%, 720px); border-radius: var(--radie-liten); overflow: hidden; }
.hero-bild img { width: 100%; transform: scale(1.04); transition: transform 1.4s var(--ease); }
.hero-bild.in img { transform: scale(1); }

/* Påståendet: stort, lätt, centrerat, med ljusare gröna ord. */
.pastaende { padding-block: clamp(56px, 12vw, 160px); }
.pastaende-text { text-align: center; max-width: 22ch; margin-inline: auto; font-size: clamp(1.9rem, 5.6vw, 3.9rem); }
.pastaende-text em { font-style: normal; color: var(--gron-2); }

/* Fotokort: bild med mörk toning nedtill, rubrik och tre punkter. */
.fotokort { position: relative; border-radius: var(--radie); overflow: hidden; background: var(--gron); display: grid; color: var(--papper); }
.fotokort img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transform: scale(1.04); transition: transform 1.4s var(--ease); }
.fotokort.in img { transform: scale(1); }
.fotokort::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(20,35,31,.88) 0%, rgba(20,35,31,.45) 45%, rgba(20,35,31,0) 75%); opacity: 0; }
.fotokort-innehall { position: relative; z-index: 1; padding: 36px 24px 32px; width: 100%; display: grid; gap: 26px; }
@media (min-width: 760px) { .fotokort-innehall { padding: clamp(28px, 4vw, 48px); } }
.fotokort-innehall h2 { max-width: 12ch; }
.fotokort-punkter { display: grid; gap: 18px; }
.fotokort-punkter svg { width: 26px; height: 26px; margin-bottom: 10px; }
.fotokort-punkters h3, .fotokort-punkter h3 { font-size: 1.2rem; margin-bottom: 4px; }
.fotokort-punkter p { font-size: 15px; color: rgba(246,244,239,.85); max-width: 32ch; }

/* Rutnät med kort (innehållet). */
.rutnat { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.kort { background: var(--kort); border-radius: var(--radie); padding: 20px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.kort:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(20,35,31,.08); }
.kort h3 { margin-bottom: 8px; }
.kort p { font-size: 15px; color: var(--dampad); }
.kort svg { width: 24px; height: 24px; margin-bottom: 14px; color: var(--gron); }
.kort-bred { grid-column: 1 / -1; padding: 0; overflow: hidden; display: grid; }
.kort-bred .kort-text { padding: 22px 22px 8px; }
.kort-bred img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.kort-mork { grid-column: 1 / -1; background: var(--gron); color: var(--papper); padding: 28px 22px; }
.kort-mork h3 { font-size: 1.6rem; font-weight: 300; letter-spacing: -0.02em; margin-bottom: 12px; }
.kort-mork p { color: rgba(246,244,239,.85); font-size: 16px; }
.kort-liten p { font-size: 14px; }

/* Siffror: tre kolumner med tunna linjer, som referensens procentrad. */
.siffror-rad { display: grid; gap: 22px; }
.siffror-rad > div { padding-top: 18px; border-top: 1px solid var(--linje); }
.siffror-rad b { display: block; font-weight: 300; font-size: clamp(2rem, 5vw, 2.8rem); letter-spacing: -0.03em; margin-bottom: 10px; }
.siffror-rad p { color: var(--dampad); font-size: 15px; }

/* Produktblock: bild i kort, info med dragspel och knappar. */
.produkt-rad { display: grid; gap: 22px; }
.produkt-bild { background: var(--kort-2); border-radius: var(--radie); overflow: hidden; }
.produkt-bild img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.produkt-info h2 { margin-bottom: 8px; }
.produkt-pris { font-size: clamp(1.7rem, 4vw, 2.2rem); font-weight: 300; letter-spacing: -0.02em; margin-bottom: 14px; }
.produkt-pris span { font-size: 14px; color: var(--dampad); letter-spacing: 0; margin-left: 6px; }
.produkt-info > p { color: #2b3733; }
.produkt-knappar { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.produkt-knappar .knapp { flex: 1 1 160px; }
.produkt-not { margin-top: 14px; font-size: 14px; color: var(--dampad); display: flex; align-items: center; gap: 8px; background: var(--kort-2); border-radius: var(--pill); padding: 10px 16px; width: fit-content; max-width: 100%; }
.produkt-not svg { width: 16px; height: 16px; flex: none; color: var(--gron); }

/* Dragspel: details/summary, plus som roterar. */
.dragspel { margin-top: 20px; border-top: 1px solid var(--linje); }
.dragspel details { border-bottom: 1px solid var(--linje); }
.dragspel summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font-size: 17px; }
.dragspel summary::-webkit-details-marker { display: none; }
.dragspel summary svg { width: 18px; height: 18px; flex: none; color: var(--gron); transition: transform .3s var(--ease); }
.dragspel details[open] summary svg { transform: rotate(45deg); }
.dragspel-inre { padding: 0 0 18px; color: #2b3733; font-size: 16px; animation: dragspel .35s var(--ease); }
.dragspel-inre ul { list-style: none; display: grid; gap: 0; }
.dragspel-inre li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--linje); }
.dragspel-inre li:last-child { border-bottom: 0; }
.dragspel-inre li svg { width: 18px; height: 18px; flex: none; color: var(--gron); margin-top: 3px; }
.dragspel-inre li b { display: block; font-weight: 600; font-size: 15px; letter-spacing: .01em; margin-bottom: 2px; }
.dragspel-inre li span { display: block; font-size: 15px; color: #2b3733; }
.dragspel-stor summary { font-size: clamp(1.1rem, 2.4vw, 1.4rem); padding: 20px 0; font-weight: 300; letter-spacing: -0.01em; }
@keyframes dragspel { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Frågor */
.fragor-rad { display: grid; gap: 22px; }
.fragor-intro p a { text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* Om oss: ljust kort, centrerat. */
.om-kort { background: var(--kort-2); border-radius: var(--radie); padding: clamp(28px, 6vw, 72px) clamp(20px, 5vw, 64px); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.om-kort .eyebrow { justify-content: center; margin-bottom: 0; }
.om-kort p { color: #2b3733; max-width: 52ch; }

/* Sidfot: mörkt rundat kort. */
.sidfot { padding: 8px 0 clamp(14px, 3vw, 24px); }
.sidfot-kort { background: var(--gron); color: var(--papper); border-radius: var(--radie); padding: clamp(28px, 5vw, 56px) clamp(20px, 4vw, 48px) 22px; display: grid; gap: 36px; }
.sidfot-topp { display: grid; gap: 32px; }
.sidfot-logo { display: flex; align-items: center; gap: 9px; font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.sidfot-logo img { height: 32px; width: auto; }
.sidfot-slogan { margin-top: 12px; color: rgba(246,244,239,.8); font-size: 15px; }
.sidfot-kolumner { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 24px; font-size: 15px; }
.sidfot-kolumner div { display: grid; gap: 8px; align-content: start; }
.sidfot-kolumner b { font-weight: 500; margin-bottom: 4px; }
.sidfot-kolumner a { text-decoration: none; color: rgba(246,244,239,.85); }
.sidfot-kolumner a:hover { color: var(--papper); text-decoration: underline; text-underline-offset: 3px; }
.sidfot-kolumner .mute { color: rgba(246,244,239,.5); }
.sidfot-botten { border-top: 1px solid rgba(246,244,239,.15); padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 13px; color: rgba(246,244,239,.75); }
.sidfot-botten .mute { color: rgba(246,244,239,.5); }

/* Mobil köpknapp längst ner, syns bara när hero-knapparna lämnat skärmen. */
.mobil-kop { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 25; background: var(--vit); border-radius: var(--pill); padding: 8px 8px 8px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; box-shadow: 0 14px 40px rgba(20,35,31,.18);
  transform: translateY(120%); opacity: 0; transition: transform .35s var(--ease), opacity .35s var(--ease); }
.mobil-kop.syns { transform: none; opacity: 1; }
.mobil-kop b { display: block; font-weight: 500; font-size: 15px; line-height: 1.2; }
.mobil-kop span { font-size: 13px; color: var(--dampad); }

/* Reveal: tona och lyft, stagger via --i. */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 110ms); }
[data-reveal].in { opacity: 1; transform: none; }

/* Rubriken ord för ord: varje ord ligger i en klippt ram och glider upp. */
.ord-ram { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.ord { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 70ms + 120ms); }
.ord-klar .ord { transform: none; }
h1[data-reveal] { opacity: 1; transform: none; transition: none; }

/* Lådan i hero: tonar och zoomar in vid laddning. */
.hero-bild img { opacity: 0; transform: scale(1.08); transition: transform 1.6s var(--ease), opacity 1s var(--ease); }
.hero-bild.in img { opacity: 1; transform: scale(1); }

/* Påståendet tänds ord för ord i takt med scrollen. */
.pastaende-text .ord-t { opacity: .16; transition: opacity .35s var(--ease); }
.pastaende-text .ord-t.tand { opacity: 1; }

/* Parallax: bilden i fotokortet glider långsammare än sidan. */
.fotokort img { will-change: transform; }

/* Siffror räknar upp när de kommer i vy. */
.siffror-rad b span { font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal], .hero-bild img, .fotokort img { opacity: 1; transform: none !important; transition: none; }
  html { scroll-behavior: auto; }
}

/* Vanliga sidor och Woo-skal */
.prosa { max-width: 68ch; margin-top: 20px; }
.prosa p, .prosa ul, .prosa ol { margin-bottom: 1em; }
.prosa h2 { margin-top: 1.6em; margin-bottom: .4em; }
.woo { padding-block: clamp(28px, 5vw, 64px); }
.woo .button, .woo button.button, .woo .wc-block-components-button, .woo .single_add_to_cart_button { background: var(--gron); color: var(--papper); border: 0; border-radius: var(--pill); padding: 14px 24px; font: inherit; font-weight: 500; cursor: pointer; }
.woo .button:hover, .woo button.button:hover { background: var(--ink); }
.woo .price { font-size: 28px; font-weight: 300; letter-spacing: -0.02em; }
.woo table { border-collapse: collapse; width: 100%; }
.woo th, .woo td { border-bottom: 1px solid var(--linje); padding: 12px 8px; text-align: left; }
.woo input, .woo select, .woo textarea { font: inherit; padding: 12px 14px; border: 1px solid var(--linje); background: var(--vit); border-radius: 12px; width: 100%; }
.woocommerce-store-notice, .woocommerce-message, .woocommerce-info, .woocommerce-error { background: var(--kort-2); color: var(--ink); padding: 12px 16px; border: 0; border-radius: var(--radie-liten); margin-bottom: 20px; list-style: none; }

/* Desktop */
@media (min-width: 760px) {
  .rutnat { grid-template-columns: repeat(4, 1fr); }
  .kort-bred { grid-column: span 3; grid-template-columns: 1fr 1.1fr; align-items: end; }
  .kort-bred .kort-text { padding: 28px 28px 28px; }
  .kort-bred img { aspect-ratio: auto; height: 100%; }
  .kort-mork { grid-column: span 1; }
  .kort-liten { grid-column: span 1; }
  .kort-liten:first-of-type { grid-column: span 1; }
  .fotokort-punkters, .fotokort-punkter { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .fotokort { min-height: 560px; display: flex; align-items: flex-end; }
  .fotokort img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
  .fotokort::after { opacity: 1; }
  .fotokort-innehall { grid-template-columns: 1fr 1.4fr; align-items: end; }
  .siffror-rad { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .siffror-rad > div { padding: 24px 24px 24px 0; border-top: 0; border-left: 1px solid var(--linje); padding-left: 24px; }
  .siffror-rad > div:first-child { border-left: 0; padding-left: 0; }
  .produkt-rad { grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
  .fragor-rad { grid-template-columns: 1fr 1.4fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
  .fragor-intro { position: sticky; top: 92px; }
  .sidfot-topp { grid-template-columns: 1fr 1.6fr; }
  .mobil-kop { display: none; }
}
@media (min-width: 900px) {
  .sidhuvud-rad { height: 76px; }
  .meny { position: static; inset: auto; background: var(--kort-2); border-radius: var(--pill); padding: 4px; display: flex; gap: 0; opacity: 1; transform: none; pointer-events: auto; box-shadow: none; }
  .meny a { padding: 10px 16px; border-radius: var(--pill); font-size: 15px; }
  .meny-knapp { display: none; }
  .sidhuvud-kop { display: inline-flex; }
  .hero-kort { grid-template-columns: 1.05fr 1fr; align-items: center; padding-bottom: clamp(28px, 5vw, 64px); gap: 40px; }
  .hero-text { text-align: left; align-items: flex-start; }
  .hero-text .eyebrow { justify-content: flex-start; }
  .knappar { justify-content: flex-start; }
  .hero-bild { align-self: center; }
}

/* Undersidor: sidtopp som ljust kort, prosa, guider, hållbarhetstabell, produktformulär. */
.sidtopp { padding-top: 8px; }
.sidtopp-kort { background: var(--kort-2); border-radius: var(--radie); padding: clamp(32px, 6vw, 72px) clamp(18px, 4vw, 56px); display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.sidtopp-kort h1 { font-size: clamp(2.2rem, 6.5vw, 4.4rem); max-width: 16ch; }
.sidtopp-kort .ingress { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: #2b3733; margin-top: 12px; max-width: 52ch; }
.sidtopp-kort .eyebrow a { text-decoration: none; }
.guide-datum { font-size: 14px; margin-top: 10px; }
.prosa-sektion { padding-top: clamp(12px, 3vw, 32px); }
.prosa { max-width: 68ch; font-size: 18px; line-height: 1.6; }
.prosa h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin: 1.6em 0 .5em; }
.prosa h3 { margin: 1.4em 0 .4em; }
.prosa p, .prosa ul, .prosa ol { margin-bottom: 1.1em; }
.prosa ul, .prosa ol { padding-left: 1.2em; }
.prosa li { margin-bottom: .35em; }
.prosa a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prosa blockquote { border-left: 2px solid var(--gron); padding-left: 18px; color: var(--dampad); margin: 1.4em 0; }
.prosa .ruta { background: var(--kort-2); border-radius: var(--radie-liten); padding: 20px 22px; margin: 1.4em 0; }
.prosa .ruta p:last-child { margin-bottom: 0; }
.guide-bild { border-radius: var(--radie); overflow: hidden; margin-top: 16px; }
.guide-bild img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.guide-lista { display: grid; gap: 14px; }
.guide-kort { display: grid; background: var(--kort); border-radius: var(--radie); overflow: hidden; text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.guide-kort:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(20,35,31,.08); }
.guide-kort-bild img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.guide-kort-text { padding: 22px; display: grid; gap: 8px; }
.guide-kort-text p { font-size: 15px; color: var(--dampad); }
.guide-kort-text .mute { font-size: 13px; }
.fler-guider, .guide-cta { padding-top: 0; }
.haller-tabell { overflow-x: auto; background: var(--kort); border-radius: var(--radie); padding: 8px 22px; }
.haller-tabell table { width: 100%; border-collapse: collapse; font-size: 16px; }
.haller-tabell th { text-align: left; font-weight: 500; padding: 14px 12px 10px 0; border-bottom: 1px solid var(--linje); font-size: 14px; color: var(--dampad); }
.haller-tabell td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--linje); vertical-align: top; }
.haller-tabell tr:last-child td { border-bottom: 0; }
.haller-tabell td:nth-child(2) { white-space: nowrap; font-weight: 500; }
.produkt-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: stretch; margin-top: 22px; }
.produkt-form .quantity { display: flex; }
.produkt-form .quantity input { width: 84px; border-radius: var(--pill); border: 1px solid var(--linje); background: var(--vit); font: inherit; text-align: center; padding: 14px 10px; }
.produkt-form .quantity label, .produkt-form .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.produkt-form .knapp { flex: 1 1 160px; }
.produkt-sida .produkt-info h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 8px; }
.produkt-sida .produkt-not { margin-top: 18px; }
@media (min-width: 760px) {
  .guide-lista { grid-template-columns: repeat(3, 1fr); }
}

/* Förtroenderaden under hero. */
.loften { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 18px; padding: 18px 0 0; }
.loften li { display: grid; grid-template-columns: 18px 1fr; column-gap: 10px; align-items: start; font-size: 14px; }
.loften svg { width: 18px; height: 18px; color: var(--gron); grid-row: span 2; margin-top: 2px; }
.loften b { font-weight: 500; display: block; }
.loften span { color: var(--dampad); }

/* Två kort: text och bild sida vid sida (myndighetsblocket, om oss). */
.tvakort { display: grid; gap: 14px; }
.tvakort-text { background: var(--kort-2); border-radius: var(--radie); padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.tvakort-text h2 { max-width: 18ch; }
.tvakort-text > p { color: #2b3733; }
.tvakort-text .knappar { justify-content: flex-start; margin-top: 6px; }
.tvakort-bild { border-radius: var(--radie); overflow: hidden; }
.tvakort-bild img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transform: scale(1.04); transition: transform 1.4s var(--ease); }
.tvakort-bild.in img { transform: scale(1); }
.bockar { list-style: none; display: grid; gap: 14px; margin-top: 6px; }
.bockar li { display: flex; gap: 12px; align-items: flex-start; }
.bockar svg { width: 20px; height: 20px; color: var(--gron); flex: none; margin-top: 3px; }
.bockar b { font-weight: 500; display: block; }
.bockar p { font-size: 15px; color: var(--dampad); }

/* Checklistan i guiden: bockar som sparas i webbläsaren, utskrift. */
.checklista { background: var(--kort); border-radius: var(--radie); padding: 8px clamp(18px, 3vw, 32px) 24px; margin: 1.6em 0; }
.checklista-topp { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0 4px; }
.checklista-raknare { font-size: 14px; color: var(--dampad); }
.checklista h2 { font-size: 1.4rem; margin: 1.4em 0 .2em; }
.checklista .mute { font-size: 14px; margin-bottom: .4em; }
.bocklista { list-style: none; padding: 0; margin: 0 0 .6em; }
.bocklista li { margin: 0; border-bottom: 1px solid var(--linje); }
.bocklista label { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; cursor: pointer; font-size: 16px; line-height: 1.4; }
.bocklista input { appearance: none; width: 20px; height: 20px; border: 1.5px solid var(--gron); border-radius: 6px; flex: none; margin-top: 2px; display: grid; place-items: center; background: var(--vit); }
.bocklista input:checked { background: var(--gron); }
.bocklista input:checked::after { content: ""; width: 6px; height: 10px; border: solid var(--papper); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.bocklista input:checked + * , .bocklista label:has(input:checked) { color: var(--dampad); }
.bocklista em { font-style: normal; font-size: 12px; color: var(--gron); background: var(--ljusgron); border-radius: var(--pill); padding: 2px 8px; margin-left: auto; white-space: nowrap; align-self: center; }
@media print {
  .sidhuvud, .sidfot, .mobil-kop, .guide-cta, .fler-guider, .checklista-skriv, .sidtopp .eyebrow { display: none !important; }
  .checklista { border: 1px solid #999; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
@media (min-width: 760px) {
  .loften { grid-template-columns: repeat(4, 1fr); padding-top: 22px; }
  .tvakort { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .tvakort-bild img { aspect-ratio: auto; }
}

/* Småkorten: slider på mobil, rutnät på desktop. */
.kort-rad { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 12px 0 8px; margin-inline: calc(-1 * clamp(14px, 4vw, 40px)); padding-inline: clamp(14px, 4vw, 40px); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.kort-rad::-webkit-scrollbar { display: none; }
.kort-rad .kort { flex: 0 0 74%; scroll-snap-align: start; }
.kort-rad .kort:hover { transform: none; box-shadow: none; }
@media (min-width: 760px) {
  .kort-rad { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; }
  .kort-rad .kort { flex: none; }
  .kort-rad .kort:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(20,35,31,.08); }
}
