/* ---------- Färger per årstid: ljust och varmt ---------- */
:root, [data-sasong="host"] { --grund:#FBF5EE; --mjuk:#F2E2D2; --mjuk2:#E8CFB8; --accent:#94462A; }
[data-sasong="vinter"] { --grund:#FBF7F3; --mjuk:#F4E4DE; --mjuk2:#EAD3CA; --accent:#A3443A; }
[data-sasong="var"]    { --grund:#FDF8F3; --mjuk:#F8E3E2; --mjuk2:#F1D1D3; --accent:#A4425D; }
[data-sasong="sommar"] { --grund:#FFFAF0; --mjuk:#FCEBD2; --mjuk2:#F8DDB5; --accent:#9C5212; }
:root { --text:#2A211B; --dampad:#5E4E45; --linje:#EADDD3; --vit:#FFFFFF; --rubrik:"Outfit",system-ui,sans-serif; }

/* Visa bara texterna för aktuell årstid */
.s-vinter, .s-var, .s-sommar, .s-host { display:none; }
[data-sasong="vinter"] .s-vinter, [data-sasong="var"] .s-var,
[data-sasong="sommar"] .s-sommar, [data-sasong="host"] .s-host { display:block; }

/* ---------- Grund ---------- */
* { box-sizing:border-box; }
body { margin:0; font-family:"Inter",system-ui,sans-serif; color:var(--text); background:var(--grund); line-height:1.5; }
a { color:var(--accent); }
img { max-width:100%; display:block; }
h1, h2, h3 { font-family:var(--rubrik); line-height:1.15; margin:0 0 .4em; }
h1 { font-size:clamp(32px,5vw,56px); letter-spacing:-.5px; }
h2 { font-size:26px; font-weight:600; }
h3 { font-size:17px; font-weight:600; font-family:"Inter",system-ui,sans-serif; }
.bredd { max-width:1200px; margin:0 auto; padding:0 20px; }
.sektion { padding-top:28px; padding-bottom:28px; }
.dampad { color:var(--dampad); margin:0; }
.liten { font-size:13px; }
.sr { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
:focus-visible { outline:3px solid var(--accent); outline-offset:2px; }

/* ---------- Sidhuvud ---------- */
.toppremsa { background:var(--accent); color:var(--vit); text-align:center; font-size:14px; padding:9px 16px; }
.sidhuvud { display:flex; flex-wrap:wrap; align-items:center; gap:16px 24px; padding-top:18px; padding-bottom:18px; }
.logga-accent { color:var(--accent); }
.logga { font-family:var(--rubrik); font-weight:700; font-size:28px; color:var(--text); text-decoration:none; margin:0; }
.sok { flex:1 1 300px; display:flex; gap:8px; }
.sok input { flex:1; min-width:0; height:48px; padding:0 18px; border:1px solid #D9C9BD; border-radius:999px; background:var(--vit); font:inherit; color:var(--text); }
.sok button, .knapp { display:inline-flex; align-items:center; justify-content:center; height:48px; padding:0 22px; border:none; border-radius:999px; background:var(--accent); color:var(--vit); font:inherit; font-weight:600; text-decoration:none; cursor:pointer; }
.meny { display:flex; flex-wrap:wrap; gap:8px 20px; font-weight:500; }
.meny a { color:var(--text); text-decoration:none; padding:6px 0; }
.meny a:hover { color:var(--accent); }

/* ---------- Knappar ---------- */
.knapp:hover { filter:brightness(.92); color:var(--vit); }
.knapp.vit { background:var(--vit); color:var(--text); }
.knapp.kontur { background:transparent; color:var(--accent); border:1.5px solid var(--accent); }
.knapp.kontur:hover { background:var(--accent); color:var(--vit); filter:none; }
.knapp.liten { height:44px; padding:0 18px; white-space:nowrap; }
.knapp.bred { width:100%; }
.knapprad { display:flex; flex-wrap:wrap; gap:12px; margin-top:8px; }

/* ---------- Startsida ---------- */
.hjalte { background:var(--mjuk); border-radius:32px; padding:clamp(28px,5vw,56px); display:flex; flex-wrap:wrap; gap:32px; align-items:center; margin-top:24px; }
.hjaltetext { flex:1 1 420px; }
.etikett { display:inline-flex; align-items:center; gap:8px; background:var(--vit); color:var(--accent); border-radius:999px; padding:8px 16px; font-size:14px; font-weight:600; margin-bottom:16px; }
.ingress { font-size:18px; color:var(--dampad); max-width:520px; margin:0 0 12px; }
.hjaltebild { flex:1 1 260px; position:relative; height:280px; }
.cirkel1 { position:absolute; right:10%; top:0; width:240px; height:240px; border-radius:50%; background:var(--mjuk2); }
.cirkel2 { position:absolute; left:10%; bottom:0; width:140px; height:140px; border-radius:50%; background:var(--vit); }
.rutnat { display:grid; gap:18px; }
.rutnat.kat { grid-template-columns:repeat(auto-fill,minmax(170px,1fr)); }
.rutnat.fyra { grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); }
.rutnat.tre { grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); }
.kategori { display:flex; flex-direction:column; gap:4px; padding:20px; border-radius:20px; background:var(--vit); border:1px solid var(--linje); color:var(--text); text-decoration:none; font-family:var(--rubrik); font-weight:600; font-size:18px; }
.kategori .dampad { font-family:"Inter",sans-serif; font-weight:400; font-size:14px; }
.kategori:hover, .guide:hover, .kort:hover { border-color:var(--accent); }

/* ---------- Produktkort ---------- */
.kort { background:var(--vit); border:1px solid var(--linje); border-radius:24px; padding:16px; display:flex; flex-direction:column; gap:10px; }
.kort h3 { margin:0; }
.kort h3 a { color:var(--text); text-decoration:none; }
.kort p { margin:0; }
.kort .knapp { margin-top:auto; }
.kortbild { height:190px; border-radius:16px; background:var(--mjuk); display:flex; align-items:center; justify-content:center; color:var(--dampad); font-size:14px; overflow:hidden; }
.kortbild img { height:100%; width:100%; object-fit:contain; background:var(--vit); }
.tagg { align-self:flex-start; font-size:13px; font-weight:600; color:var(--accent); background:var(--mjuk); border-radius:999px; padding:4px 12px; }
.pris { font-family:var(--rubrik); font-size:20px; }

/* ---------- Guider ---------- */
.guide { display:flex; flex-direction:column; gap:12px; background:var(--vit); border:1px solid var(--linje); border-radius:24px; padding:16px 16px 20px; color:var(--text); text-decoration:none; }
.guidebild { height:150px; border-radius:16px; background:var(--mjuk2); display:flex; align-items:center; justify-content:center; color:var(--dampad); font-size:14px; }
.guiderubrik { font-family:var(--rubrik); font-weight:600; font-size:20px; line-height:1.25; }
.lasmer { color:var(--accent); font-weight:600; font-size:14px; }

/* ---------- Produktsida ---------- */
.smulor { display:flex; flex-wrap:wrap; gap:8px; font-size:14px; color:var(--dampad); margin-bottom:20px; }
.produkt { display:flex; flex-wrap:wrap; gap:36px; }
.produktbild { flex:1 1 320px; min-height:340px; border-radius:28px; background:var(--mjuk); display:flex; align-items:center; justify-content:center; color:var(--dampad); overflow:hidden; }
.produktbild img { max-height:420px; object-fit:contain; }
.produktinfo { flex:1 1 400px; display:flex; flex-direction:column; gap:12px; justify-content:center; }
.prisruta { background:var(--vit); border:1px solid var(--linje); border-radius:24px; padding:22px; display:flex; flex-direction:column; gap:10px; }
.prisruta p { margin:0; }
.storpris { font-family:var(--rubrik); font-size:40px; }
.tabellruta { overflow-x:auto; background:var(--vit); border:1px solid var(--linje); border-radius:24px; }
table { width:100%; min-width:520px; border-collapse:collapse; }
th, td { padding:16px 20px; text-align:left; }
thead th { font-size:13px; color:var(--dampad); font-weight:600; }
tbody tr { border-top:1px solid #F0E6DE; }
tbody th { font-weight:600; }
td.pris { font-weight:600; }
.hoger { text-align:right; }
.billigast { margin-left:8px; font-size:12px; color:var(--vit); background:var(--accent); border-radius:999px; padding:3px 10px; white-space:nowrap; }
.ruta { background:var(--vit); border:1px solid var(--linje); border-radius:24px; padding:24px; margin-top:28px; margin-bottom:40px; }
.diagram { width:100%; height:auto; max-height:200px; background:var(--grund); border-radius:16px; }
.diagramtext { margin-top:8px; font-size:14px; }

/* ---------- Sidfot ---------- */
.sidfot { background:var(--mjuk); margin-top:40px; padding:32px 0; color:var(--dampad); font-size:14px; }
.sidfot strong { color:var(--text); }
.sidfot .logga { font-size:22px; margin-bottom:8px; }

/* ---------- Mobil ---------- */
@media (max-width: 600px) {
  table { min-width:0; }
  thead { display:none; }
  tbody tr { display:grid; grid-template-columns:1fr auto; gap:4px 12px; padding:16px; }
  tbody th, tbody td { padding:0; }
  td.pris { text-align:right; font-size:18px; }
  td:nth-child(3) { grid-column:1 / -1; color:var(--dampad); font-size:14px; }
  td:nth-child(3)::before { content:"Frakt: "; }
  .hoger { grid-column:1 / -1; text-align:left; margin-top:8px; }
  .hoger .knapp { width:100%; }
  .hjaltebild { height:150px; }
  .cirkel1 { width:140px; height:140px; }
  .cirkel2 { width:80px; height:80px; }
}

/* ---------- Guider och infosidor ---------- */
.sidfotmeny { display:flex; flex-wrap:wrap; gap:8px 20px; margin-top:16px; }
.sidfotmeny a { color:var(--text); }
.guide.kommer { opacity:.75; }
.guide .guidebild { background:var(--mjuk2); }
.artikel { max-width:720px; background:var(--vit); border:1px solid var(--linje); border-radius:28px; padding:clamp(24px,5vw,48px); }
.artikel h2 { margin-top:1.6em; font-size:24px; }
.artikel h3 { margin-top:1.4em; font-family:var(--rubrik); font-size:19px; }
.artikel p, .artikel li { font-size:17px; line-height:1.7; }
.artikel ul, .artikel ol { padding-left:1.3em; }
.artikel li { margin-bottom:.4em; }
.artikel .ingress { margin-bottom:1.2em; }

/* ---------- Navigeringsrad med kategorier ---------- */
.kategorirad { position:sticky; top:0; z-index:10; background:var(--vit); border-top:1px solid var(--linje); border-bottom:1px solid var(--linje); }
.kategorirad-inre { display:flex; gap:4px; overflow-x:auto; scrollbar-width:none; -webkit-overflow-scrolling:touch; }
.kategorirad-inre::-webkit-scrollbar { display:none; }
.kategorirad a { flex:0 0 auto; display:flex; align-items:center; min-height:52px; padding:0 16px; color:var(--text); text-decoration:none; font-weight:500; white-space:nowrap; border-bottom:3px solid transparent; }
.kategorirad a:hover { color:var(--accent); }
.kategorirad a[aria-current="page"] { color:var(--accent); border-bottom-color:var(--accent); font-weight:600; }
.kategorirad a:first-child { margin-left:-16px; }
@media (min-width: 900px) { .kategorirad-inre { justify-content:flex-start; gap:12px; } }
