:root {
  --dim-bg: #eef3f1;
  --bg: #eef3f1;
  --ink: #0c1b1a;
  --gron: #164b4a;
  --gron-ljus: #2c7a76;
  --rod: #e4572e;
  --gul: #f2c14e;
  --kant: #c9d8d4;
  --dim: #4f6a66;
  --font-text: Ubuntu, "Noto Sans", "Segoe UI", sans-serif;
  --font-rubrik: "Fira Sans Condensed", "Ubuntu Condensed", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #0b1a19; --ink: #e8f2ef; --gron: #7fc4bd; --gron-ljus: #5aa39c; --kant: #223d3b; --dim: #a6bdb8; }
}
:root[data-theme="dark"] { --bg: #0b1a19; --ink: #e8f2ef; --gron: #7fc4bd; --gron-ljus: #5aa39c; --kant: #223d3b; --dim: #a6bdb8; }
* { box-sizing: border-box; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--font-text); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gron); }
:focus-visible { outline: 3px solid var(--gul); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hoppa { position: absolute; left: -999px; top: 0; background: var(--gul); color: #000; padding: 8px 12px; z-index: 9; }
.hoppa:focus { left: 10px; }
h1, h2, h3 { font-family: var(--font-rubrik); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 2.6rem); }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 .9em; overflow-wrap: break-word; }
.kat { font-family: var(--font-rubrik); text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; color: var(--rod); font-weight: 700; margin: 0 0 .3em; }
.pris { font-family: var(--font-rubrik); font-weight: 700; font-size: 1.15rem; }
.demo { font-size: .8rem; color: var(--dim); }
main { display: block; max-width: 1120px; margin: 0 auto; padding: 24px 16px 36px; min-height: 60vh; }

/* huvud */
.huvud { background: var(--gron); color: #fff; padding: 12px 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; position: sticky; top: 0; z-index: 4; }
.logo { color: #fff; text-decoration: none; font-family: var(--font-rubrik); font-size: 1.25rem; display: flex; gap: 8px; align-items: center; }
.logo span { color: var(--gul); font-size: 1.4rem; }
#meny ul { display: flex; flex-wrap: wrap; gap: 4px 18px; list-style: none; margin: 0; padding: 0; }
#meny a { color: #fff; text-decoration: none; padding: 4px 0; border-bottom: 3px solid transparent; font-weight: 500; }
#meny a[aria-current="page"], #meny a:hover { border-bottom-color: var(--gul); }
.antal-korg { display: inline-block; background: var(--rod); color: #fff; border-radius: 999px; padding: 0 7px; font-size: .8rem; font-weight: 700; }
.menyknapp { display: none; }

/* bento */
.bento { display: grid; gap: 12px; grid-template-columns: 1fr; margin-bottom: 36px; }
.ruta { background: #fff; border: 1px solid var(--kant); padding: 18px; border-radius: 6px; position: relative; overflow: hidden; }
.ruta img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; z-index: 0; }
.hero { padding: 0; min-height: 300px; display: flex; align-items: flex-end; text-decoration: none; color: #fff; border: 0; }
.hero img { position: absolute; }
.hero .rubrik { position: relative; z-index: 1; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); width: 100%; padding: 60px 18px 18px; font-family: var(--font-rubrik); font-size: 1.6rem; font-weight: 700; }
.hero .rubrik h1 { font-size: 1.6rem; margin: 0; color: #fff; }
.hero .rubrik .kat { color: var(--gul); display: block; }
.kategori { background: var(--gron); color: #fff; }
.kategori a { color: var(--gul); font-weight: 700; }
.kategori h2 { font-size: 1.6rem; }
.kategori p { font-size: .95rem; }
.leverans { background: var(--gul); color: #101010; }
.utvalt { background: #fff; }
.utvalt h2 a { color: var(--ink); text-decoration: none; }
.utvalt h2 a:hover { text-decoration: underline; }
.bild-ruta { padding: 0; min-height: 180px; }
.bild-ruta img { border-radius: 6px; }
.bento > .ruta:nth-child(2), .bento > .ruta:nth-child(3) { min-height: 150px; }

/* katalog och sidor */
.rad { display: block; }
.verktyg { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.filter { display: flex; flex-wrap: wrap; gap: 6px; }
.filter button { font: inherit; background: #fff; border: 2px solid var(--gron); color: var(--gron); padding: 5px 12px; cursor: pointer; border-radius: 999px; }
.filter button[aria-pressed="true"] { background: var(--gron); color: #fff; }
select, input, textarea { font: inherit; padding: 9px 10px; border: 1px solid #94aca7; background: #fff; color: var(--ink); border-radius: 4px; }
.sortering { font-weight: 700; }
select[data-sortera] { margin-left: 6px; }
.antal { color: var(--dim); font-size: .92rem; }
.rutnat { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 10px; }
.produkt { background: #fff; border: 1px solid var(--kant); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.produkt .bild img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.kroppen { padding: 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.produkt h3 a { color: var(--ink); text-decoration: none; }
.produkt h3 a:hover { text-decoration: underline; }
.kop { font: inherit; font-weight: 700; background: var(--rod); color: #fff; border: 0; padding: 9px 14px; cursor: pointer; border-radius: 4px; margin-top: auto; align-self: flex-start; }
.kop:hover { filter: brightness(.95); }
.produktsida { display: grid; gap: 22px; }
.bilder { display: grid; gap: 10px; }
.bilder img { width: 100%; border-radius: 6px; }
.spec { border-collapse: collapse; margin: 14px 0; width: 100%; max-width: 420px; }
.spec th, .spec td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--kant); }
.spec th { color: var(--dim); font-weight: 600; width: 45%; }
.status { color: var(--gron); font-weight: 700; }
.tabell { width: 100%; border-collapse: collapse; }
.tabell th, .tabell td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--kant); }
.tabell input.antal-ruta { width: 70px; }
.tabell button { font: inherit; background: none; border: 1px solid var(--gron); padding: 4px 9px; cursor: pointer; border-radius: 3px; }
.summa { font-size: 1.15rem; margin-top: 14px; }
.tom { font-size: 1.05rem; }
label { display: block; font-weight: 700; margin-bottom: 4px; }
.faltruta { margin-bottom: 14px; max-width: 520px; }
input, textarea { width: 100%; }
input[aria-invalid="true"], textarea[aria-invalid="true"], select[aria-invalid="true"] { border-color: #b3261e; }
.fel-ruta, .fel { color: #a3170e; font-weight: 700; font-size: .92rem; margin: 4px 0 0; }
form > button, .knapp { font: inherit; font-weight: 700; background: var(--gron); color: #fff; border: 0; padding: 11px 18px; cursor: pointer; border-radius: 4px; text-decoration: none; display: inline-block; }
.ok { color: #13634f; font-weight: 700; margin-top: 10px; }
address { font-style: normal; margin-top: 16px; }
.fot { background: var(--ink); color: #d4e2de; padding: 22px 16px; display: grid; gap: 14px; }
.fot a { color: var(--gul); }
.fot strong { color: #fff; }
.fot .demo { color: #9fb6b1; }
.fot p { margin: 4px 0 0; }
.juridik h2 { font-size: 1.2rem; }

@media (max-width: 759px) {
  .menyknapp { display: inline-block; font: inherit; font-weight: 700; background: var(--gul); color: #101010; border: 0; padding: 6px 14px; border-radius: 4px; cursor: pointer; }
  #meny { display: none; width: 100%; }
  #meny.oppen { display: block; }
  #meny ul { flex-direction: column; gap: 0; }
  #meny a { display: block; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .15); }
  .huvud { position: sticky; }
}
@media (min-width: 560px) {
  .rutnat { grid-template-columns: repeat(2, 1fr); }
  .tva { grid-template-columns: 1fr 1fr; }
  .rutnat.tva { display: grid; }
  .tva { display: grid; gap: 14px; }
}
@media (min-width: 760px) {
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 170px; }
  .bento .hero { grid-column: span 2; grid-row: span 2; }
  .bento .bild-ruta { grid-column: span 2; }
  .rutnat { grid-template-columns: repeat(3, 1fr); }
  .produktsida { grid-template-columns: 1.2fr 1fr; align-items: start; }
  .fot { grid-template-columns: 1fr 1fr; }
  .fot .demo { grid-column: 1 / -1; }
}
