/*
IDÉ     Torghandelns affischer. Varje vara är en helfärgad affisch med en tecknad vara och en
        stjärnformad prislapp, som de handskrivna skyltarna i en bra matbutik.
FÄRG    Vitt papper och varmt svart bläck. Färgen kommer från varorna själva: en ton per kategori.
        Gult bara för rabatt, tomatrött bara för "idag", grönt bara för "bekräftad".
TYP     Fraunces (mjuk serif, kursiv för betoning) för rubriker och priser. Geist för allt annat.
*/
:root {
  color-scheme: light;
  --bg: #ffffff;
  --cream: #faf6ee;
  --cream-2: #f3ede1;
  --ink: #17140f;
  --ink-2: #3d382f;
  --muted: #7a7266;
  --line: #ece5d8;
  --line-2: #ddd4c4;
  --tag: #ffd23d;
  --hot: #e8472f;
  --ok: #1d8a4e;
  --ok-soft: #e3f3e8;
  --warn: #b86400;
  --warn-soft: #fff0d6;
  --brand: #17140f;
  --on-brand: #ffffff;
  --shadow: 0 1px 2px rgb(23 20 15 / .06), 0 14px 34px -18px rgb(23 20 15 / .3);
  --shadow-lg: 0 2px 6px rgb(23 20 15 / .05), 0 34px 70px -30px rgb(23 20 15 / .4);
  --font: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --burst: polygon(100% 50%, 89.6% 60.6%, 93.3% 75%, 79% 79%, 75% 93.3%, 60.6% 89.6%, 50% 100%, 39.4% 89.6%, 25% 93.3%, 21% 79%, 6.7% 75%, 10.4% 60.6%, 0% 50%, 10.4% 39.4%, 6.7% 25%, 21% 21%, 25% 6.7%, 39.4% 10.4%, 50% 0%, 60.6% 10.4%, 75% 6.7%, 79% 21%, 93.3% 25%, 89.6% 39.4%);
}
/* kategorier: --p affischfärg, --a huvudform, --b ljus detalj, --c accent */
.c-mejeri { --p: #4a6ee0; --a: #fffaf0; --b: #ffffff; --c: #ffd23d; }
.c-kott   { --p: #ef5a3a; --a: #ffb39f; --b: #fff3ea; --c: #ffd23d; }
.c-fisk   { --p: #169ea2; --a: #dff1f6; --b: #ffffff; --c: #ff8b5a; }
.c-frukt  { --p: #5aab3e; --a: #ffffff; --b: #d4f27f; --c: #ff5544; }
.c-brod   { --p: #f2a738; --a: #ffdf9e; --b: #ffffff; --c: #b9661b; }
.c-fardig { --p: #8f70e8; --a: #fff8ee; --b: #ffffff; --c: #ffcf4a; }
.c-dryck  { --p: #f487ad; --a: #fff2c8; --b: #ffffff; --c: #ff7a2f; }
.c-ovrigt { --p: #2b3a32; --a: #f3e9d6; --b: #ffffff; --c: #5aab3e; }

* { box-sizing: border-box; min-width: 0; }
html { scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--font);
  -webkit-font-smoothing: antialiased; overflow-x: clip; padding-bottom: calc(84px + env(safe-area-inset-bottom));
}
svg { flex: none; }
a { color: var(--ink); }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; text-wrap: balance; font-family: var(--serif); font-weight: 600; font-variation-settings: 'SOFT' 100; }
h1 { font-size: clamp(48px, 7.6vw, 104px); letter-spacing: -.035em; line-height: .94; font-weight: 650; }
h2 { font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -.025em; }
h3 { font-size: 20px; letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; font-weight: 500; }
.wrap { max-width: 1260px; margin: 0 auto; padding: 0 max(4vw, 18px); }
.sub { color: var(--muted); margin: 8px 0 0; font-size: 15.5px; }
.lbl { display: block; font-size: 13px; color: var(--muted); font-weight: 500; }
.op { color: var(--ok); font-style: normal; font-weight: 600; }
.cl { color: var(--muted); font-style: normal; }
:focus-visible { outline: 3px solid rgb(23 20 15 / .35); outline-offset: 2px; border-radius: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #23c26b; display: inline-block; animation: pulse 2.2s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(35 194 107 / .55); } 70%, 100% { box-shadow: 0 0 0 9px rgb(35 194 107 / 0); } }

/* ---------- illustrationer ---------- */
.ill { width: 100%; height: 100%; overflow: visible; }
.ill * { stroke: var(--ink); stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; }
.ill .a { fill: var(--a); }
.ill .b { fill: var(--b); }
.ill .c { fill: var(--c); }
.ill .k { fill: var(--ink); stroke: none; }
.ill .n { stroke-width: 2; }
.ill .w { stroke: #fff; stroke-width: 3; opacity: .9; fill: none; }
.thumb { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; background: var(--p, var(--cream)); overflow: hidden; }
.thumb .ill { width: 70%; height: 70%; }

/* stjärnetiketten */
.burst {
  position: relative; display: inline-grid; place-items: center; grid-auto-flow: column; align-items: baseline; gap: 1px;
  width: 76px; aspect-ratio: 1; background: var(--tag); color: var(--ink); clip-path: var(--burst);
  font-family: var(--serif); font-variation-settings: 'SOFT' 100; line-height: 1; transform: rotate(-12deg);
}
.burst b { font-size: 25px; font-weight: 750; letter-spacing: -.04em; }
.burst i { font-style: normal; font-size: 14px; font-weight: 700; }
.burst.sm { width: 46px; }
.burst.sm b { font-size: 15px; }
.burst.sm i { font-size: 10px; }

/* ---------- topp ---------- */
.top {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: calc(12px + env(safe-area-inset-top)) max(4vw, 18px) 12px; background: rgb(255 255 255 / .88); backdrop-filter: saturate(180%) blur(16px);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--serif); font-variation-settings: 'SOFT' 100; font-weight: 700; font-style: italic; font-size: 27px; letter-spacing: -.03em; }
.brand svg { width: 34px; height: 34px; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.brand:hover svg { transform: rotate(-10deg) scale(1.08); }
.brand svg rect { fill: var(--ink); }
.brand svg circle { fill: var(--tag); }
.topnav { display: none; align-items: center; gap: 2px; }
.topnav a { text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 500; padding: 8px 14px; border-radius: 999px; display: flex; align-items: center; gap: 7px; position: relative; }
.topnav a:hover { color: var(--ink); }
.topnav a[aria-current=page]:not(.staffl)::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 3px; border-radius: 3px; background: var(--tag); }
.topnav a[aria-current=page] { color: var(--ink); }
.topnav .staffl { margin-left: 10px; color: #fff; background: var(--ink); padding: 9px 18px; }
.topnav .staffl:hover, .topnav .staffl[aria-current=page] { color: var(--ink); background: var(--tag); }
.lbadge[hidden] { display: none; }
.lbadge { font-style: normal; background: var(--hot); color: #fff; font-size: 11px; font-weight: 700; border-radius: 999px; min-width: 19px; height: 19px; padding: 0 5px; display: inline-grid; place-items: center; }

.tabbar {
  position: fixed; inset: auto 10px calc(10px + env(safe-area-inset-bottom)) 10px; z-index: 30; display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--ink); border-radius: 24px; padding: 6px; box-shadow: 0 20px 40px -16px rgb(23 20 15 / .55);
}
.tabbar a { position: relative; display: grid; justify-items: center; gap: 2px; padding: 7px 0 6px; font-size: 11.5px; font-weight: 600; color: rgb(255 255 255 / .62); text-decoration: none; border-radius: 18px; transition: background .15s, color .15s; }
.tabbar svg { width: 22px; height: 22px; stroke-width: 1.8; }
.tabbar a[aria-current=page] { color: var(--ink); background: var(--tag); }
.tabbar .lbadge { position: absolute; top: 2px; left: calc(50% + 6px); }
@media (min-width: 780px) { .topnav { display: flex; } .tabbar { display: none; } body { padding-bottom: 0; } }

/* ---------- rullande fyndband ---------- */
.ticker { margin: 0 calc(50% - 50vw); background: var(--ink); color: #fff; overflow: hidden; white-space: nowrap; font-size: 14px; }
.tk-in { display: inline-flex; animation: tick 60s linear infinite; }
.ticker:hover .tk-in { animation-play-state: paused; }
.tk-in span { display: inline-flex; align-items: center; gap: 7px; padding: 11px 22px; color: rgb(255 255 255 / .7); }
.tk-in span::after { content: ''; width: 7px; height: 7px; margin-left: 22px; background: var(--tag); clip-path: var(--burst); transform: scale(1.6); }
.tk-in b { color: #fff; font-weight: 600; }
.tk-in em { font-style: normal; font-weight: 700; color: var(--ink); background: var(--tag); padding: 1px 7px; border-radius: 6px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- hero ---------- */
.hero { display: grid; gap: 44px; padding: clamp(40px, 6vw, 88px) 0 clamp(36px, 5vw, 64px); }
@media (min-width: 980px) { .hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: center; } }
.kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.hero h1 em { display: inline-block; position: relative; z-index: 0; }
.hero h1 em::after { content: ''; position: absolute; z-index: -1; left: -.04em; right: -.06em; bottom: .02em; height: .26em; background: var(--tag); border-radius: 40% 60% 50% 50% / 60% 40% 60% 40%; transform: rotate(-1.5deg); }
.lede { margin: 26px 0 0; max-width: 50ch; font-size: 18.5px; line-height: 1.55; color: var(--ink-2); }
.search { display: flex; align-items: center; gap: 12px; padding: 7px 7px 7px 20px; border: 2px solid var(--ink); border-radius: 999px; background: var(--bg); color: var(--ink); margin-top: 32px; max-width: 560px; box-shadow: 5px 5px 0 var(--ink); transition: box-shadow .15s, transform .15s; }
.search:focus-within { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.search svg { width: 22px; height: 22px; }
.search input { flex: 1; border: 0; outline: 0; background: transparent; font: inherit; font-size: 17px; color: var(--ink); min-height: 48px; }
.search input::placeholder { color: var(--muted); }
.search .btn { border-radius: 999px; }
@media (max-width: 520px) { .search .btn { display: none; } .search { padding-right: 20px; } }
.figs { display: flex; flex-wrap: wrap; gap: 10px 36px; margin: 34px 0 0; }
.figs div { display: flex; flex-direction: column-reverse; }
.figs dt { font-size: 14px; color: var(--muted); }
.figs dd { margin: 0; font-family: var(--serif); font-variation-settings: 'SOFT' 100; font-size: 44px; font-weight: 650; letter-spacing: -.035em; line-height: 1; }

/* collage av riktiga varor */
.collage { position: relative; height: clamp(380px, 42vw, 520px); }
.cl-card { position: absolute; display: grid; place-items: center; width: 54%; aspect-ratio: 4 / 5; border: 0; border-radius: 26px; background: var(--p); cursor: pointer; box-shadow: var(--shadow-lg); transition: transform .35s cubic-bezier(.3, 1.4, .5, 1); padding: 0; }
.cl-card .ill { width: 58%; height: auto; margin-bottom: 18%; transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.cl-card .burst { position: absolute; right: -14px; top: -14px; width: 86px; }
.cl-card .burst b { font-size: 28px; }
.cl-cap { position: absolute; left: 12px; right: 12px; bottom: 12px; display: grid; gap: 1px; padding: 10px 14px; border-radius: 16px; background: #fff; text-align: left; font-size: 13px; color: var(--muted); }
.cl-cap b { font-family: var(--serif); font-variation-settings: 'SOFT' 100; font-size: 18px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl0 { left: 0; top: 8%; transform: rotate(-7deg); z-index: 1; }
.cl1 { left: 40%; top: 0; transform: rotate(5deg); z-index: 2; }
.cl2 { left: 22%; top: 34%; transform: rotate(-1deg); z-index: 3; }
.cl-card:hover { transform: rotate(0) translateY(-10px) scale(1.03); z-index: 5; }
.cl-card:hover .ill { transform: rotate(-8deg) scale(1.06); }
.scribble { position: absolute; right: 2%; bottom: 4%; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--ink-2); transform: rotate(-6deg); }
.scribble::before { content: ''; position: absolute; left: -46px; top: -18px; width: 40px; height: 30px; border-left: 2px solid var(--ink-2); border-top: 2px solid var(--ink-2); border-radius: 30px 0 0 0; }
@media (max-width: 979px) { .collage { height: 360px; max-width: 520px; width: 100%; margin: 0 auto; } .cl-card { width: 52%; } }
@media (max-width: 520px) { .collage { height: 300px; } .cl-cap { padding: 8px 10px; } .cl-cap b { font-size: 15px; } .cl-card .burst { width: 66px; } .cl-card .burst b { font-size: 21px; } .scribble { display: none; } }

/* sektionsrubriker */
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 22px; }
.sec-head .sub { max-width: 44ch; }

/* sista chansen: karusell */
.rail-sec { padding: 20px 0 clamp(40px, 6vw, 72px); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 270px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(-1 * max(4vw, 18px)); padding: 10px max(4vw, 18px) 22px; }
.rail::-webkit-scrollbar { display: none; }
.rail .pcard { scroll-snap-align: start; }

/* så funkar det: redaktionellt */
.how { display: grid; gap: 0; border-top: 2px solid var(--ink); }
@media (min-width: 760px) { .how { grid-template-columns: repeat(3, 1fr); } .how > div + div { border-left: 1px solid var(--line-2); } }
.how > div { display: flex; gap: 18px; padding: 24px 24px 28px 0; }
@media (min-width: 760px) { .how > div + div { padding-left: 24px; } }
@media (max-width: 759px) { .how > div + div { border-top: 1px solid var(--line-2); } }
.hn { font-family: var(--serif); font-variation-settings: 'SOFT' 100; font-style: italic; font-size: 64px; line-height: .8; font-weight: 500; color: var(--ink); }
.how > div:nth-child(1) .hn { color: var(--hot); }
.how > div:nth-child(2) .hn { color: #4a6ee0; }
.how > div:nth-child(3) .hn { color: var(--ok); }
.how p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.how b { display: block; color: var(--ink); font-family: var(--serif); font-variation-settings: 'SOFT' 100; font-size: 23px; font-weight: 600; letter-spacing: -.015em; margin-bottom: 4px; }
.demo-note { margin: 14px 0 0; font-size: 13px; color: var(--muted); }

/* ---------- bläddra ---------- */
.browse { padding: clamp(48px, 7vw, 96px) 0 24px; }
.catrow { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * max(4vw, 18px)) 30px; padding: 4px max(4vw, 18px) 8px; }
.catrow::-webkit-scrollbar { display: none; }
.qcat { flex: none; display: grid; justify-items: center; gap: 8px; width: 92px; padding: 0; border: 0; background: none; cursor: pointer; }
.qcat .thumb { width: 74px; border: 3px solid #fff; box-shadow: 0 0 0 2px transparent; transition: transform .25s cubic-bezier(.3, 1.6, .5, 1), box-shadow .15s; }
.qcat.all .thumb { background: var(--ink); color: #fff; font-family: var(--serif); font-style: italic; font-size: 20px; font-weight: 600; }
.qcat b { font-size: 13.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.qcat:hover .thumb { transform: rotate(-8deg) scale(1.06); }
.qcat.on .thumb { box-shadow: 0 0 0 2.5px var(--ink); }
.qcat.on b { color: var(--ink); text-decoration: underline; text-decoration-color: var(--tag); text-decoration-thickness: 4px; text-underline-offset: 3px; }
.browse-grid { display: grid; gap: 24px; }
@media (min-width: 980px) { .browse-grid { grid-template-columns: 250px minmax(0, 1fr); gap: 44px; } .side { position: sticky; top: 92px; align-self: start; max-height: calc(100vh - 110px); overflow: auto; } }
.side h4 { font-family: var(--font); font-size: 12px; font-weight: 700; color: var(--muted); margin: 0 0 8px 12px; text-transform: uppercase; letter-spacing: .08em; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips.wrap { margin: 10px 0; }
.chip { flex: none; min-height: 38px; padding: 0 15px; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--bg); font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.stores { display: grid; gap: 1px; }
.spill { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; align-items: center; text-align: left; border: 0; background: none; padding: 10px 12px; border-radius: 14px; cursor: pointer; }
.spill:hover { background: var(--cream); }
.spill.on { background: var(--ink); color: #fff; }
.spill b { font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 6px; }
.spill small { grid-column: 1; font-size: 12.5px; color: var(--muted); }
.spill.on small { color: rgb(255 255 255 / .6); }
.spill > span { grid-column: 2; grid-row: 1 / span 2; font-family: var(--serif); font-size: 19px; font-weight: 600; font-style: italic; }
.spill.on > span { color: var(--tag); }
.favdot { width: 9px; height: 9px; background: var(--tag); clip-path: var(--burst); display: inline-block; transform: scale(1.5); }
@media (max-width: 979px) {
  .side h4 { display: none; }
  .stores { display: flex; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * max(4vw, 18px)); padding: 0 max(4vw, 18px); gap: 6px; }
  .stores::-webkit-scrollbar { display: none; }
  .stores .spill { flex: none; border: 1.5px solid var(--line-2); grid-template-columns: auto auto; gap: 8px; padding: 0 14px; min-height: 42px; border-radius: 999px; }
  .stores .spill b { font-size: 14px; }
  .stores .spill small { display: none; }
  .stores .spill > span { grid-row: 1; font-size: 16px; }
  .stores .spill.on { border-color: var(--ink); }
}
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px; padding-bottom: 18px; }
.reshead { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.reshead h2 { font-size: 30px; }
.reshead .count { color: var(--muted); font-size: 15px; }
.tools { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.sortsel select { font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); border: 1.5px solid var(--line-2); border-radius: 999px; min-height: 40px; padding: 0 32px 0 14px; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2317140f' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 13px center; appearance: none; cursor: pointer; }
.tog { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--bg); font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.tog svg { width: 16px; height: 16px; }
.tog:hover { border-color: var(--ink); }
.tog[aria-pressed=true] { border-color: var(--ink); color: #fff; background: var(--ink); }
.link { background: none; border: 0; padding: 4px 0; color: var(--ink); font-weight: 600; cursor: pointer; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; text-decoration-color: var(--tag); }
.link:hover { text-decoration-color: var(--ink); }

/* ---------- varuaffischer ---------- */
.cards { display: grid; gap: 28px 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); grid-auto-flow: dense; }
.pcard { position: relative; display: flex; flex-direction: column; gap: 14px; }
.pcard .hit { position: absolute; inset: 0; border: 0; background: transparent; cursor: pointer; z-index: 1; border-radius: 26px; }
.pcard.pop { animation: rowin .7s cubic-bezier(.2, .9, .3, 1.3); }
@keyframes rowin { from { transform: translateY(14px) scale(.96); opacity: 0; } }
.poster { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; border-radius: 26px; background: var(--p); overflow: visible; transition: transform .35s cubic-bezier(.3, 1.4, .5, 1), box-shadow .25s; }
.poster::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(60% 50% at 50% 55%, rgb(255 255 255 / .22), transparent 70%); }
.poster .ill { position: relative; width: 56%; height: auto; transform: rotate(var(--tilt, 0deg)); transition: transform .45s cubic-bezier(.3, 1.7, .5, 1); filter: drop-shadow(0 10px 0 rgb(23 20 15 / .12)); }
.pcard:hover .poster { transform: translateY(-6px) rotate(calc(var(--tilt, 0deg) * -.4)); box-shadow: var(--shadow-lg); }
.pcard:hover .poster .ill { transform: rotate(calc(var(--tilt, 0deg) - 10deg)) scale(1.1); }
.poster .burst { position: absolute; right: -10px; top: -10px; z-index: 2; transition: transform .4s cubic-bezier(.3, 1.8, .5, 1); }
.pcard:hover .poster .burst { transform: rotate(8deg) scale(1.08); }
.poster .exp { position: absolute; left: 12px; bottom: 12px; }
.poster .new { position: absolute; left: 12px; top: 12px; }
.info { display: flex; flex-direction: column; gap: 2px; padding: 0 4px; }
.info h3 { font-size: 21px; line-height: 1.12; }
.meta { margin: 2px 0 0; font-size: 14px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.price { margin: 0; display: flex; align-items: baseline; gap: 8px; }
.price b { font-family: var(--serif); font-variation-settings: 'SOFT' 100; font-size: 30px; font-weight: 700; letter-spacing: -.035em; line-height: 1; }
.price s { font-size: 14px; color: var(--muted); }
.exp { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; white-space: nowrap; padding: 5px 11px; border-radius: 999px; background: #fff; color: var(--ink); }
.exp.e0 { background: var(--hot); color: #fff; }
.exp.e0::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.exp.e1 { background: var(--ink); color: #fff; }
.ir-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 8px; font-size: 13.5px; color: var(--muted); }
.ir-meta .exp { background: var(--cream-2); }
.ir-meta .exp.e0 { background: var(--hot); }
.ir-meta .exp.e1 { background: var(--ink); }
.new { font-size: 11px; font-weight: 800; color: var(--ink); background: #fff; padding: 4px 9px; border-radius: 999px; letter-spacing: .06em; text-transform: uppercase; }
.trust { margin: 6px 0 0; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.trust::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); flex: none; }
.trust.ok { color: var(--ok); }
.trust.ok::before { background: #23c26b; }
.trust.bad { color: var(--hot); }
.trust.bad::before { background: var(--hot); }
.keep { position: relative; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--bg); display: grid; place-items: center; cursor: pointer; color: var(--ink); transition: all .15s; flex: none; }
.keep svg { width: 20px; height: 20px; stroke-width: 1.9; }
.keep:hover { border-color: var(--ink); }
.keep.on { background: var(--ink); border-color: var(--ink); color: var(--tag); animation: popk .4s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes popk { 50% { transform: scale(1.18) rotate(-8deg); } }
/* utvalda affischer: dubbel storlek */
@media (min-width: 900px) {
  .pcard.feat { grid-column: span 2; grid-row: span 2; }
  .pcard.feat .poster { aspect-ratio: auto; flex: 1; min-height: 360px; }
  .pcard.feat .poster .ill { width: 40%; }
  .pcard.feat .burst { width: 118px; right: -16px; top: -16px; }
  .pcard.feat .burst b { font-size: 38px; }
  .pcard.feat .burst i { font-size: 18px; }
  .pcard.feat .info h3 { font-size: 32px; }
  .pcard.feat .price b { font-size: 42px; }
}
.more { display: flex; justify-content: center; margin: 40px 0 0; }
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  .poster { border-radius: 20px; }
  .poster .burst { width: 58px; right: -6px; top: -8px; }
  .poster .burst b { font-size: 19px; }
  .poster .burst i { font-size: 11px; }
  .poster .exp { left: 8px; bottom: 8px; font-size: 11px; padding: 4px 8px; }
  .poster .new { display: none; }
  .info h3 { font-size: 17px; }
  .meta { font-size: 12.5px; }
  .price { flex-direction: column; gap: 2px; }
  .price b { font-size: 24px; }
  .price s { font-size: 12px; }
  .keep { width: 40px; height: 40px; }
  .trust { font-size: 12px; }
  .rail { grid-auto-columns: 62%; }
}

.empty { text-align: center; padding: 52px 20px; color: var(--muted); grid-column: 1 / -1; }
.empty > svg { width: 68px; height: 68px; padding: 18px; border-radius: 50%; background: var(--tag); color: var(--ink); margin-bottom: 14px; transform: rotate(-8deg); }
.empty h3 { color: var(--ink); margin-bottom: 6px; font-size: 26px; }
.empty p { max-width: 44ch; margin: 0 auto 18px; }
.loading { padding: 80px 0; color: var(--muted); }

/* ---------- knappar ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, color .15s, transform .1s; }
.btn:active { transform: scale(.97); }
.btn svg { width: 19px; height: 19px; stroke-width: 1.9; }
.btn.primary { background: var(--ink); color: #fff; }
.btn.primary:hover { background: var(--tag); color: var(--ink); }
.btn.ghost { background: var(--bg); border-color: var(--line-2); color: var(--ink); }
.btn.ghost:hover { border-color: var(--ink); }
.btn.ghost.on, .btn.ghost[aria-pressed=true] { border-color: var(--ink); background: var(--tag); }
.btn.small { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn.grow { flex: 1; }
.btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.btns > * { flex: 1 1 150px; }
.iconbtn { width: 40px; height: 40px; border: 0; background: transparent; border-radius: 50%; color: var(--muted); display: grid; place-items: center; cursor: pointer; flex: none; }
.iconbtn svg { width: 18px; height: 18px; }
.iconbtn:hover { background: var(--cream); color: var(--ink); }

/* ---------- sheet ---------- */
#sheet { position: fixed; inset: 0; z-index: 50; }
.backdrop { position: absolute; inset: 0; background: rgb(23 20 15 / .45); backdrop-filter: blur(4px); opacity: 0; transition: opacity .2s; }
.panel {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 92dvh; overflow: auto; background: var(--bg);
  border-radius: 30px 30px 0 0; padding: 22px max(4vw, 20px) calc(24px + env(safe-area-inset-bottom));
  transform: translateY(100%); transition: transform .32s cubic-bezier(.2, .9, .2, 1);
}
#sheet.in .backdrop { opacity: 1; }
#sheet.in .panel { transform: none; }
@media (min-width: 780px) {
  .panel { left: 50%; right: auto; bottom: auto; top: 50%; width: min(600px, 92vw); max-height: 90vh; border-radius: 32px; padding: 26px; transform: translate(-50%, -46%) scale(.96); opacity: 0; transition: transform .28s cubic-bezier(.2, 1.1, .3, 1), opacity .2s; box-shadow: 0 40px 100px -30px rgb(23 20 15 / .55); }
  #sheet.in .panel { transform: translate(-50%, -50%); opacity: 1; }
  .panel.small { width: 460px; }
}
.panel .x { position: absolute; top: 16px; right: 16px; z-index: 3; width: 42px; height: 42px; border: 0; background: #fff; box-shadow: 0 2px 8px rgb(23 20 15 / .18); border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.panel .x svg { width: 18px; height: 18px; }
.panel h2 { padding-right: 48px; font-size: 34px; letter-spacing: -.03em; }
.sh-hero { position: relative; display: grid; place-items: center; height: 210px; border-radius: 24px; background: var(--p); margin: 0 0 24px; }
.sh-hero .ill { width: 130px; height: 130px; transform: rotate(-6deg); filter: drop-shadow(0 10px 0 rgb(23 20 15 / .12)); animation: bob 3s ease-in-out infinite; }
@keyframes bob { 50% { transform: rotate(-2deg) translateY(-6px); } }
.sh-hero .burst { position: absolute; left: 18px; bottom: -20px; width: 104px; }
.sh-hero .burst b { font-size: 34px; }
.sh-hero .burst i { font-size: 17px; }
.sh-hero + .ir-meta { padding-left: 120px; min-height: 30px; }
.item-title { margin-top: 4px; }
.size { color: var(--muted); font-weight: 400; font-size: .62em; font-style: italic; letter-spacing: 0; }
.pricebox { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 20px 0 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line-2); }
.pricebox > div { padding: 12px 12px 14px 0; display: grid; gap: 2px; align-content: start; }
.pricebox > div + div { padding-left: 12px; border-left: 1px solid var(--line); }
.pricebox b { font-family: var(--serif); font-variation-settings: 'SOFT' 100; font-size: 36px; font-weight: 700; letter-spacing: -.035em; line-height: 1.05; }
.pricebox s, .pricebox em, .pricebox span:not(.lbl) { font-style: normal; font-size: 20px; font-weight: 600; font-family: var(--serif); }
.pricebox s { color: var(--muted); }
.pricebox em { color: var(--ok); }
@media (max-width: 460px) { .pricebox { grid-template-columns: 1fr 1fr; } .pricebox > div:nth-child(3) { border-left: 0; padding-left: 0; } .pricebox > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
.storeline { display: flex; gap: 14px; align-items: center; width: 100%; text-align: left; margin-top: 14px; padding: 12px 16px 12px 12px; border-radius: 20px; border: 0; background: var(--cream); cursor: pointer; transition: background .15s; }
.storeline:hover { background: var(--cream-2); }
.storeline .si { width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--tag); display: grid; place-items: center; flex: none; }
.storeline .si svg { width: 22px; height: 22px; }
.storeline .st { display: grid; flex: 1; }
.storeline small { color: var(--muted); font-size: 14px; }
.storeline > svg { width: 20px; height: 20px; }
.ask { margin-top: 22px; padding: 18px; border-radius: 22px; border: 2px dashed var(--line-2); }
.ask p { margin: 0; color: var(--ink-2); font-size: 15px; }
.ask .btns { margin-top: 12px; }
.thanks { color: var(--ok) !important; font-weight: 600; margin-top: 10px !important; }
.minor { font-family: var(--font); font-size: 12px; color: var(--muted); font-weight: 700; margin: 26px 0 8px; text-transform: uppercase; letter-spacing: .08em; }
.rows { display: grid; gap: 2px; }
.mrow, .srow { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; border: 0; background: none; padding: 10px; border-radius: 18px; cursor: pointer; min-height: 64px; transition: background .15s; }
.mrow:hover, .srow:hover { background: var(--cream); }
.mrow .thumb { width: 50px; }
.mrow:hover .thumb .ill { transform: rotate(-10deg); }
.thumb .ill { transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.mn { flex: 1; display: grid; text-align: left; border: 0; background: none; padding: 0; cursor: pointer; }
.mn b { font-weight: 600; display: flex; align-items: center; gap: 5px; }
.mn b svg { width: 14px; height: 14px; color: var(--warn); }
.mn small { color: var(--muted); font-size: 13.5px; }
.mp { display: grid; justify-items: end; text-align: right; white-space: nowrap; gap: 2px; }
.mp b { font-family: var(--serif); font-variation-settings: 'SOFT' 100; font-size: 22px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.mp small { color: var(--hot); font-size: 12.5px; font-weight: 700; }

/* toast */
#toast {
  position: fixed; z-index: 60; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translate(-50%, 24px) scale(.96); opacity: 0; pointer-events: none;
  display: flex; align-items: center; gap: 14px; background: var(--ink); color: #fff; padding: 10px 10px 10px 20px; border-radius: 999px; width: max-content; max-width: calc(100vw - 32px);
  box-shadow: 0 18px 44px -14px rgb(0 0 0 / .45); transition: transform .25s cubic-bezier(.3, 1.4, .5, 1), opacity .2s; font-size: 15px; min-height: 52px;
}
#toast.in { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
#toast a { color: var(--tag); font-weight: 600; }
#toast button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: var(--tag); color: var(--ink); font-weight: 700; border-radius: 999px; min-height: 36px; padding: 0 14px; cursor: pointer; }
#toast button svg { width: 16px; height: 16px; }
@media (min-width: 780px) { #toast { bottom: 28px; } }

/* ---------- undersidor ---------- */
.intro { padding: clamp(36px, 5vw, 72px) 0 8px; }
.intro .lede { margin-top: 16px; font-size: 18px; }
.intro h1 { font-size: clamp(46px, 6vw, 80px); }
.live { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 14px; font-weight: 600; color: var(--ok); }

/* karta */
.mapwrap { position: relative; margin: 26px 0; }
.fig { position: relative; min-height: 340px; height: min(62vh, 560px); border-radius: 30px; overflow: hidden; border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.fig > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.land { fill: var(--cream); }
.grid path { stroke: #eee6d6; stroke-width: 1; }
.water { fill: none; stroke: #b9dbef; stroke-linecap: round; stroke-linejoin: round; }
.wlabel { fill: #4f87a8; font-size: 14px; font-style: italic; font-family: var(--serif); }
.mk { cursor: pointer; outline: none; }
.mk > g { transition: transform .25s cubic-bezier(.3, 1.7, .5, 1); }
.mk:hover > g, .mk:focus-visible > g { transform: scale(1.15) rotate(-6deg); }
.pinb { fill: var(--ink); stroke: #fff; stroke-width: 3; }
.mk.zero .pinb { fill: #b4ab9c; }
.mk.fav .pinb { fill: var(--hot); }
.mk:hover .pinb, .mk:focus-visible .pinb { fill: var(--hot); }
.pinn { fill: var(--tag); font-weight: 700; font-size: 16px; text-anchor: middle; dominant-baseline: middle; pointer-events: none; font-family: var(--serif); font-style: italic; }
.mk.zero .pinn { fill: #fff; }
.pinl { fill: var(--ink); font-size: 12.5px; font-weight: 600; text-anchor: middle; paint-order: stroke; stroke: var(--cream); stroke-width: 4px; stroke-linejoin: round; pointer-events: none; font-family: var(--font); }
.me { fill: #2f6bf5; stroke: #fff; stroke-width: 3; }
.mehalo { fill: rgb(47 107 245 / .18); }
.maploc { position: absolute; right: 16px; bottom: 16px; box-shadow: var(--shadow); }
.maplegend { position: absolute; left: 16px; top: 16px; display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 9px 14px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.maplegend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 5px; vertical-align: -1px; }
.storelist { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 4px 24px; margin-bottom: 40px; }
.cnt { width: 50px; height: 50px; border-radius: 50%; background: var(--ink); color: var(--tag); display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 22px; flex: none; }
.cnt.zero { background: var(--cream-2); color: var(--muted); }

/* min lista */
.savings { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 14px; margin: 26px 0 8px; }
.savings > div { position: relative; overflow: hidden; display: grid; gap: 6px; padding: 28px 30px; border-radius: 30px; background: var(--tag); color: var(--ink); }
.savings > div:first-child { background: var(--ink); color: #fff; }
.savings > div:first-child .num { color: var(--tag); }
.savings > div::after { content: ''; position: absolute; right: -40px; bottom: -40px; width: 150px; height: 150px; background: rgb(255 255 255 / .08); clip-path: var(--burst); animation: spin 30s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.savings .lbl { color: inherit; opacity: .75; }
.savings .num { font-family: var(--serif); font-variation-settings: 'SOFT' 100; font-size: clamp(52px, 9vw, 76px); font-weight: 700; letter-spacing: -.045em; line-height: .95; }
.savings .sub { color: inherit; opacity: .75; margin: 0; font-size: 14px; }
.block { margin: 40px 0; }
.block h2 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 32px; }
.block h2 svg { width: 24px; height: 24px; }
.lgroup { border-radius: 24px; background: var(--cream); padding: 6px 20px; margin-bottom: 12px; }
.lghead { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 0 10px; font-family: var(--serif); font-size: 21px; font-weight: 600; }
.lrow { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); }
.rows .lrow { border-top: 0; border-bottom: 1px solid var(--line); padding: 12px 4px; }
.lrow.gone .mn b { text-decoration: line-through; color: var(--muted); }

/* ---------- personal ---------- */
body[data-route=personal] .cta { display: none; }
.staffhead { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; padding: 40px 0 28px; margin-bottom: 28px; border-bottom: 2px solid var(--ink); }
.staffhead h1 { font-size: clamp(40px, 5vw, 64px); }
.staffgrid { display: grid; gap: 28px; margin-bottom: 40px; }
@media (min-width: 980px) { .staffgrid { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 48px; align-items: start; } .scanbox { position: sticky; top: 92px; } }
.scanbox { padding: 14px; border-radius: 32px; background: var(--cream); }
.viewport { position: relative; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; background: var(--ink); color: #fff; display: grid; place-items: center; }
.viewport video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.viewport.live video { opacity: 1; }
.reticle { position: absolute; inset: 24% 12%; border-radius: 16px; box-shadow: 0 0 0 999px rgb(0 0 0 / .42); border: 3px solid var(--tag); opacity: 0; }
.viewport.live .reticle { opacity: 1; }
.reticle span { position: absolute; left: 6%; right: 6%; top: 50%; height: 2px; background: var(--tag); box-shadow: 0 0 12px var(--tag); animation: sweep 1.6s ease-in-out infinite alternate; }
@keyframes sweep { from { transform: translateY(-30px); } to { transform: translateY(30px); } }
.viewport.flash::after { content: ''; position: absolute; inset: 0; background: var(--tag); opacity: .55; animation: fl .4s forwards; }
@keyframes fl { to { opacity: 0; } }
.vpmsg { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; padding: 24px; font-size: 14px; color: rgb(255 255 255 / .65); }
.viewport.live .vpmsg { position: absolute; bottom: 12px; padding: 7px 14px; background: rgb(0 0 0 / .55); border-radius: 999px; }
.vpmsg svg { width: 66px; height: 66px; padding: 17px; background: var(--tag); color: var(--ink); stroke-width: 1.8; clip-path: var(--burst); transform: rotate(-10deg); margin-bottom: 4px; }
.vpmsg b { color: #fff; font-family: var(--serif); font-size: 26px; font-weight: 600; font-style: italic; }
.scanbox .btns { margin-top: 12px; }
.scanbox .btns > * { flex: 1 1 auto; }
.manual { display: flex; gap: 8px; margin-top: 10px; }
.manual input, .form input, .form select {
  flex: 1; width: 100%; min-height: 48px; border: 1.5px solid var(--line-2); border-radius: 16px; padding: 0 16px; font: inherit; font-size: 16px; background: var(--bg); color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.manual input:focus, .form input:focus, .form select:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 4px rgb(255 210 61 / .55); }
.link.demo { margin: 12px 4px 0; display: inline-flex; gap: 6px; align-items: center; }
.link.demo svg { width: 16px; height: 16px; }
.presets { display: grid; gap: 16px; margin-top: 14px; padding: 18px; border-radius: 24px; background: #fff; }
.presets .lbl { margin-bottom: 8px; }
.seg { display: inline-flex; flex-wrap: wrap; background: var(--cream); border-radius: 999px; padding: 4px; gap: 2px; }
.seg button { border: 0; background: transparent; padding: 0 14px; min-height: 38px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--muted); cursor: pointer; transition: all .15s; }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed=true] { background: var(--ink); color: var(--tag); }
.datepick { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 14px; color: var(--muted); }
.datepick input { min-height: 38px; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 0 10px; font: inherit; font-size: 16px; background: var(--bg); color: var(--ink); }
.switch { display: flex; align-items: center; gap: 12px; text-align: left; border: 0; background: none; padding: 4px 0; cursor: pointer; }
.switch .knob { flex: none; width: 50px; height: 30px; border-radius: 999px; background: var(--line-2); position: relative; transition: background .15s; }
.switch .knob::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .25); transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.switch[aria-pressed=true] .knob { background: var(--ink); }
.switch[aria-pressed=true] .knob::after { transform: translateX(20px); background: var(--tag); }
.switch b { font-weight: 600; }
.switch small { display: block; color: var(--muted); font-size: 13.5px; }
.shift { margin: 14px 4px 2px; font-size: 14px; color: var(--muted); }
.shift b { color: var(--ink); font-family: var(--serif); font-size: 22px; }
.bh { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.staffcol .block:first-child { margin-top: 0; }
.lrow.staff { flex-wrap: nowrap; }
.lrow.staff .mn { flex: 1 1 auto; }
.lrow.staff .thumb { width: 44px; }
@media (max-width: 420px) { .lrow.staff { flex-wrap: wrap; } .lrow.staff .thumb { display: none; } }
.step { display: inline-flex; align-items: center; border-radius: 999px; background: var(--cream); }
.step button { width: 40px; height: 40px; border: 0; background: none; display: grid; place-items: center; cursor: pointer; font-weight: 600; border-radius: 50%; }
.step button:hover { background: var(--cream-2); }
.step button svg { width: 16px; height: 16px; }
.step b { min-width: 26px; text-align: center; font-family: var(--serif); font-weight: 700; font-size: 19px; }
.step.big { background: #fff; border: 1.5px solid var(--line-2); border-radius: 16px; }
.step.big input { width: 56px; border: 0; text-align: center; font-weight: 700; font-size: 18px; min-height: 46px; padding: 0; box-shadow: none; }
.step.big button { border-radius: 14px; }
.step.big button:nth-last-child(-n+2) { width: auto; padding: 0 12px; border-left: 1px solid var(--line); border-radius: 0; font-size: 14px; }
.warnbox { padding: 18px 20px; border-radius: 24px; background: #fde9e4; }
.warnbox h2 { color: var(--hot); font-size: 24px; }
.warnbox .lrow { border-color: rgb(232 71 47 / .15); flex-wrap: wrap; }
.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 14px 0; border-top: 2px solid var(--ink); }
.kv div { padding: 16px 16px 18px 0; border-bottom: 1px solid var(--line); }
.kv dt { font-size: 13.5px; color: var(--muted); }
.kv dd { margin: 6px 0 0; font-family: var(--serif); font-variation-settings: 'SOFT' 100; font-weight: 700; font-size: 42px; letter-spacing: -.04em; line-height: 1; }
.kv div:first-child dd { color: var(--hot); }

/* formulär */
.form { display: grid; gap: 14px; margin-top: 18px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form .chips { margin: 0; }
.err { color: var(--hot); margin: 0; font-weight: 600; min-height: 1em; font-size: 14px; }
.pimg { width: 84px; height: 84px; object-fit: contain; border-radius: 16px; background: var(--cream); }
.login { max-width: 480px; margin: 0 auto; padding: 60px 0; }
.loginart { width: 84px; height: 84px; background: var(--tag); color: var(--ink); display: grid; place-items: center; margin-bottom: 26px; clip-path: var(--burst); transform: rotate(-10deg); }
.loginart svg { width: 32px; height: 32px; }
.login h1 { font-size: clamp(44px, 6vw, 68px); }
.login .lede { color: var(--ink-2); font-size: 17px; }

/* sidfot med handlar-CTA */
.foot { margin-top: 64px; }
.cta { display: grid; gap: 24px; align-items: center; padding: clamp(30px, 4.5vw, 60px); border-radius: 36px; background: var(--tag); color: var(--ink); position: relative; overflow: hidden; }
@media (min-width: 780px) { .cta { grid-template-columns: 1fr auto; } }
.cta::after { content: ''; position: absolute; right: -80px; top: -90px; width: 300px; height: 300px; background: rgb(255 255 255 / .35); clip-path: var(--burst); animation: spin 40s linear infinite; }
.cta h2 { font-size: clamp(32px, 4vw, 54px); position: relative; z-index: 1; }
.cta p { margin: 12px 0 0; color: var(--ink-2); max-width: 52ch; position: relative; z-index: 1; font-size: 16.5px; }
.cta .btn { position: relative; z-index: 1; background: var(--ink); color: #fff; min-height: 56px; padding: 0 28px; font-size: 16px; }
.cta .btn:hover { background: #fff; color: var(--ink); }
.foot-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 40px; font-size: 13.5px; color: var(--muted); }
.foot-in p { max-width: 70ch; margin: 0; }
.foot b { color: var(--ink); font-weight: 700; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* butiksbyte, inventering */
.storepick { display: grid; gap: 4px; }
.storepick .lbl { margin: 0; }
.storepick select { font-family: var(--serif); font-variation-settings: 'SOFT' 100; font-size: clamp(36px, 4.6vw, 58px); font-weight: 650; letter-spacing: -.035em; color: var(--ink); border: 0; background: linear-gradient(var(--tag), var(--tag)) no-repeat 0 88% / 100% .22em, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10'%3E%3Cpath d='M1 1l7 7 7-7' fill='none' stroke='%2317140f' stroke-width='2.4'/%3E%3C/svg%3E") no-repeat right 4px center; padding: 0 36px 4px 0; appearance: none; cursor: pointer; max-width: 100%; }
.bhl { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.invbar { margin: 4px 0 8px; padding: 16px 18px; border-radius: 22px; background: #fff3c4; }
.invbar p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.invrow { display: flex; align-items: center; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.invcount { flex: 1; font-family: var(--serif); font-size: 22px; font-weight: 700; font-style: italic; color: var(--ink); }

/* ---------- finputs ---------- */
.burst { width: 84px; padding-right: 2px; }
.burst b { font-size: 22px; }
.burst i { font-size: 12px; }
.rail { padding-top: 20px; }
.cards { padding-top: 10px; }
.cl-card { width: 46%; }
.cl0 { left: 0; top: 14%; transform: rotate(-8deg); z-index: 1; }
.cl1 { left: 52%; top: 2%; transform: rotate(6deg); z-index: 2; }
.cl2 { left: 26%; top: 30%; transform: rotate(-2deg); z-index: 3; }
.cl0 .burst { left: -16px; right: auto; }
.scribble { left: 0; right: auto; bottom: 2%; }
.scribble::before { display: none; }
@media (min-width: 900px) {
  .pcard.feat { grid-row: auto; }
  .pcard.feat .poster { aspect-ratio: 2.08 / 1; min-height: 0; flex: none; }
  .pcard.feat .poster .ill { width: 27%; }
  .pcard.feat .burst { width: 120px; }
  .pcard.feat .burst b { font-size: 34px; }
  .pcard.feat .burst i { font-size: 16px; }
  .pcard.feat .info h3 { font-size: 30px; }
  .pcard.feat .price b { font-size: 38px; }
}
@media (max-width: 560px) {
  .rail { grid-auto-columns: 44%; gap: 12px; }
  .poster .burst { width: 62px; }
  .poster .burst b { font-size: 17px; }
  .poster .burst i { font-size: 10px; }
  .cl-card { width: 48%; }
  .cl-card .burst { width: 64px; }
  .cl-card .burst b { font-size: 18px; }
  .hero { gap: 30px; }
}
/* stjärnan: fast storlek via --s, innehållet centrerat */
.burst { --s: 84px; display: inline-flex; align-items: center; justify-content: center; gap: 1px; width: var(--s); height: var(--s); aspect-ratio: auto; padding: 0 0 2px; }
.burst b { font-size: calc(var(--s) * .27); line-height: 1; }
.burst i { font-size: calc(var(--s) * .15); line-height: 1; align-self: flex-start; margin-top: calc(var(--s) * .34); }
.burst.sm { --s: 50px; }
.cl-card .burst { --s: 88px; width: var(--s); }
.sh-hero .burst { --s: 108px; width: var(--s); }
@media (min-width: 900px) { .pcard.feat .burst { --s: 120px; width: var(--s); } }
.pcard.feat .burst b, .sh-hero .burst b, .cl-card .burst b { font-size: calc(var(--s) * .27); }
.pcard.feat .burst i, .sh-hero .burst i, .cl-card .burst i { font-size: calc(var(--s) * .15); }
@media (max-width: 560px) {
  .poster .burst { --s: 62px; width: var(--s); }
  .poster .burst b { font-size: calc(var(--s) * .27); }
  .poster .burst i { font-size: calc(var(--s) * .15); }
  .cl-card .burst { --s: 66px; }
}

/* riktiga produktfoton: som ett fotografi fasttejpat på affischen */
.photo { position: relative; width: 66%; aspect-ratio: 1; object-fit: cover; border: 7px solid #fff; border-radius: 12px; background: #fff; transform: rotate(var(--tilt, -3deg)); box-shadow: 0 14px 24px -12px rgb(23 20 15 / .45); transition: transform .45s cubic-bezier(.3, 1.7, .5, 1); }
.pcard:hover .poster .photo { transform: rotate(calc(var(--tilt, 0deg) - 5deg)) scale(1.05); }
.pcard.feat .poster .photo { width: 34%; }
.sh-hero .photo { width: auto; height: 76%; transform: rotate(-4deg); }
.cl-card .photo { width: 64%; margin-bottom: 18%; }

/* ---------- karta i helskärm ---------- */
body[data-route=karta] .foot { display: none; }
body[data-route=karta] { padding-bottom: 0; }
.mapapp { position: relative; margin: 0 calc(50% - 50vw); height: calc(100dvh - 62px); min-height: 520px; overflow: hidden; background: #f2efe9; }
.mapcanvas { position: absolute; inset: 0; }
.mapcanvas.svgmap > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.svgpins { position: absolute; inset: 0; }
.svgpins > .mpin-w, .svgpins > .medot { position: absolute; transform: translate(-50%, -50%); }
.mapui { position: absolute; z-index: 5; top: 14px; left: 0; right: 0; display: grid; gap: 10px; padding: 0 max(4vw, 14px); pointer-events: none; }
.mapui > * { pointer-events: auto; }
.msearch { display: flex; align-items: center; gap: 12px; height: 58px; padding: 0 22px; background: #fff; border-radius: 999px; box-shadow: 0 8px 28px -10px rgb(23 20 15 / .35); max-width: 600px; width: 100%; }
.msearch svg { width: 22px; height: 22px; color: var(--ink-2); }
.msearch input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 17px; background: transparent; color: var(--ink); }
.msearch input::placeholder { color: var(--muted); }
.mchips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * max(4vw, 14px)); padding: 2px max(4vw, 14px) 10px; }
.mchips::-webkit-scrollbar { display: none; }
.mchip { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 46px; padding: 0 18px; border: 0; border-radius: 999px; background: #fff; font-weight: 600; font-size: 15px; color: var(--ink); box-shadow: 0 6px 18px -8px rgb(23 20 15 / .4); cursor: pointer; transition: background .15s, color .15s; }
.mchip svg { width: 18px; height: 18px; }
.mchip svg:last-child:not(:first-child) { width: 16px; height: 16px; margin-right: -4px; }
.mchip[aria-pressed=true], .mchip.on { background: var(--ink); color: #fff; }
.mbottom { position: absolute; z-index: 6; left: 0; right: 0; bottom: 16px; pointer-events: none; }
.mbottom > * { pointer-events: auto; }
.mbtns { display: flex; justify-content: flex-end; gap: 10px; padding: 0 max(4vw, 14px) 10px; pointer-events: none; }
.mbtns > * { pointer-events: auto; }
.mtoggle { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 17px; box-shadow: 0 10px 26px -10px rgb(23 20 15 / .6); cursor: pointer; }
.mtoggle svg { width: 22px; height: 22px; }
.mloc { width: 56px; height: 56px; border: 0; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 8px 22px -10px rgb(23 20 15 / .5); cursor: pointer; }
.mloc svg { width: 24px; height: 24px; }
.mcards { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px max(4vw, 14px) 6px; }
.mcards::-webkit-scrollbar { display: none; }
.mcards .scard { flex: none; width: min(84vw, 380px); scroll-snap-align: center; box-shadow: 0 14px 34px -14px rgb(23 20 15 / .45); border: 0; transition: transform .25s cubic-bezier(.3, 1.4, .5, 1); }
.mcards .scard:not(.sel) { transform: scale(.96); }
.mcards .scard.none { padding: 18px 20px; }
.mcards .scard.none p { margin: 0; }
.mlistview { position: absolute; inset: 0; z-index: 4; background: #fff; overflow: auto; padding: 150px max(4vw, 14px) 120px; display: none; }
.mapapp.listing .mlistview { display: block; }
.mapapp.listing .mcards, .mapapp.listing .mloc { display: none; }
.ml-in { max-width: 1240px; margin: 0 auto; }
.mlgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 18px; margin-top: 18px; }
@media (max-width: 779px) {
  .mapapp { height: calc(100dvh - 64px); min-height: 480px; }
  .mbottom { bottom: calc(86px + env(safe-area-inset-bottom)); }
  .mtoggle, .mloc { height: 50px; }
  .mloc { width: 50px; }
  .mcards .scard .sc-poster { height: 112px; }
}
@media (min-width: 780px) { .mapapp { height: calc(100dvh - 62px); } }

/* markörer */
.mpin-w { width: 0; height: 0; }
.mpin { position: absolute; left: -26px; top: -26px; width: 52px; height: 52px; padding: 0; border-radius: 50%; border: 3px solid #fff; background: var(--p, #b4ab9c); box-shadow: 0 6px 14px -4px rgb(23 20 15 / .45); display: grid; place-items: center; cursor: pointer; transition: transform .25s cubic-bezier(.3, 1.6, .5, 1), border-color .15s; }
.mpin .mp-c { width: 72%; height: 72%; display: grid; }
.mpin .mp-c .ill * { stroke-width: 3; }
.mpin b { position: absolute; right: -8px; top: -8px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: var(--ink); color: var(--tag); border: 2px solid #fff; font: 700 13px/1 var(--font); display: grid; place-items: center; }
.mpin .mp-n { position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); white-space: nowrap; font: 700 12.5px/1.2 var(--font); color: var(--ink); background: #fff; padding: 4px 9px; border-radius: 999px; box-shadow: 0 3px 10px -4px rgb(0 0 0 / .35); opacity: 0; pointer-events: none; transition: opacity .15s; }
.mpin:hover { transform: scale(1.1); }
.mpin.sel { transform: scale(1.28); border-color: var(--ink); z-index: 3; }
.mpin-w:has(.sel) { z-index: 3; position: relative; }
.mpin.sel .mp-n, .mpin:hover .mp-n { opacity: 1; }
.mpin.zero { left: -11px; top: -11px; width: 22px; height: 22px; border-width: 3px; }
.mpin.fav { border-color: var(--hot); }
.medot { width: 20px; height: 20px; border-radius: 50%; background: #2f6bf5; border: 3px solid #fff; box-shadow: 0 0 0 9px rgb(47 107 245 / .2), 0 2px 6px rgb(0 0 0 / .3); }
.maplibregl-ctrl-attrib { font-size: 11px; }

/* butikskort (karta, lista, startsida) */
.scard { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); }
.scard .hit { position: absolute; inset: 0; z-index: 1; border: 0; background: transparent; cursor: pointer; }
.sc-poster { position: relative; height: 150px; display: grid; place-items: center; background: var(--p); }
.sc-poster .ill { width: 92px; height: 92px; transform: rotate(-6deg); filter: drop-shadow(0 8px 0 rgb(23 20 15 / .12)); transition: transform .4s cubic-bezier(.3, 1.7, .5, 1); }
.scard:hover .sc-poster .ill { transform: rotate(-14deg) scale(1.08); }
.sc-poster .photo { width: auto; height: 78%; }
.sc-poster .burst { --s: 66px; width: var(--s); position: absolute; right: 14px; top: 12px; }
.sc-poster .burst b { font-size: calc(var(--s) * .27); }
.sc-poster .burst i { font-size: calc(var(--s) * .15); }
.sc-poster.empty { background: var(--cream-2); color: var(--muted); }
.sc-poster.empty > svg { width: 40px; height: 40px; }
.sc-left { position: absolute; left: 14px; top: 14px; background: #fff; padding: 6px 13px; border-radius: 999px; font-weight: 700; font-size: 13.5px; }
.sc-body { display: flex; flex-direction: column; flex: 1; padding: 14px 18px 16px; }
.sc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.sc-head h3 { font-size: 22px; line-height: 1.1; }
.sc-fav { position: relative; z-index: 2; flex: none; border: 0; background: none; width: 40px; height: 40px; margin: -8px -10px 0 0; display: grid; place-items: center; color: var(--ink); cursor: pointer; border-radius: 50%; }
.sc-fav svg { width: 24px; height: 24px; }
.sc-fav:hover { background: var(--cream); }
.sc-fav.on { color: var(--hot); animation: popk .4s cubic-bezier(.3, 1.8, .5, 1); }
.sc-top { margin: 3px 0 0; color: var(--ink-2); font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-meta { margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 2px 0; font-size: 13.5px; color: var(--muted); }
.sc-meta > * + *::before { content: ''; display: inline-block; width: 1px; height: 12px; background: var(--line-2); margin: 0 10px; vertical-align: -1px; }
.sc-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1.5px dashed var(--line-2); }
.sc-body .sc-foot { margin-top: 12px; }
.sc-foot span { color: var(--muted); font-size: 14px; }
.sc-foot .sc-max { color: var(--hot); font-weight: 700; }
.sc-foot b { font-family: var(--serif); font-variation-settings: 'SOFT' 100; font-size: 26px; font-weight: 700; letter-spacing: -.03em; color: var(--ink); margin-left: 4px; }
.srail { grid-auto-columns: minmax(280px, 340px); }
@media (max-width: 560px) { .srail { grid-auto-columns: 80%; } }
.sheetcats { flex-wrap: wrap; margin: 18px 0 0; padding: 0; overflow: visible; }
.mapapp .mapcanvas, .mapapp .mapcanvas.maplibregl-map { position: absolute; inset: 0; width: 100%; height: 100%; }
/* kompaktare kort på kartan */
.mcards .scard { width: min(80vw, 340px); border-radius: 22px; }
.mcards .sc-poster { height: 104px; }
.mcards .sc-poster .ill { width: 70px; height: 70px; }
.mcards .sc-poster .burst { --s: 56px; top: 10px; }
.mcards .sc-left { top: 10px; left: 12px; padding: 5px 11px; font-size: 12.5px; }
.mcards .sc-body { padding: 12px 16px 14px; }
.mcards .sc-head h3 { font-size: 20px; }
.mcards .sc-top { font-size: 14px; }
.mcards .sc-meta { font-size: 12.5px; }
.mcards .sc-body .sc-foot { margin-top: 8px; padding-top: 8px; }
.mcards .sc-foot b { font-size: 22px; }
@media (max-width: 779px) { .mcards .sc-poster { height: 84px; } .mcards .sc-poster .ill { width: 58px; height: 58px; } .mcards .sc-top { display: none; } }
@media (min-width: 780px) { .mcards { justify-content: flex-start; } }
.sc-meta { flex-wrap: nowrap; white-space: nowrap; overflow: hidden; }

/* Butiker utan varor just nu: liten prick, namnet visas vid hovring/val */
.mpin.zero { left: -9px; top: -9px; width: 18px; height: 18px; border-width: 2.5px; background: #8f8778; box-shadow: 0 2px 6px -2px rgb(23 20 15 / .5); }
.mpin.zero .mp-c { display: none; }
.mpin.zero:hover { transform: scale(1.25); }
.mpin.zero.sel { transform: scale(1.4); background: var(--ink); }
.mpin.zero .mp-n { top: calc(100% + 8px); }
.mpin.zero:hover .mp-n, .mpin.sel .mp-n { opacity: 1; }
.mpin-w:has(.mpin:not(.zero)) { z-index: 2; position: relative; }
