/* Megabutiken — Alternativ B: "Confident graphic storefront"
   Fristående tema. Importerar inget från shop.css/tokens.css. */

/* ---------- 1. Tokens ---------- */

:root {
  /* Färg */
  --ink:        #070707;
  --ink-2:      #101010;
  --ink-3:      #161616;
  --rule:       #262626;
  --rule-2:     #3a3a3a;
  --text:       #f4f4f4;
  --muted:      #9a9a9a;
  --paper:      #ffffff;
  --yellow:     #f4c221;
  --yellow-hi:  #ffd54a;
  --gold:       #dfac1e;
  --on-yellow:  #070707;
  --rule-on-yellow: rgba(7, 7, 7, .28);

  /* Avstånd — 4px-skala */
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;
  --s8: 64px;
  --s9: 96px;
  --s10: 128px;

  /* Typografi */
  --sans: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: 'Space Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;

  --t-display: clamp(33px, 4.9vw, 62px);
  --t-h2:      clamp(28px, 3.6vw, 46px);
  --t-h3:      clamp(19px, 1.5vw, 23px);
  --t-body:    17px;
  --t-small:   14px;
  --t-kicker:  12px;

  --maxw: 1280px;
}

/* ---------- 2. Bas ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, p, ul, ol, figure { margin: 0; }

ul, ol { padding: 0; list-style: none; }

button, input {
  font: inherit;
  color: inherit;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }

::selection { background: var(--yellow); color: var(--on-yellow); }

/* Flera block nedan sätter display, vilket annars slår ut hidden-attributet. */
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.band--yellow :focus-visible { outline-color: var(--on-yellow); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: var(--s4);
  top: -80px;
  z-index: 100;
  background: var(--yellow);
  color: var(--on-yellow);
  font-weight: 700;
  padding: var(--s3) var(--s5);
  transition: top .15s ease;
}
.skip:focus { top: var(--s4); }

/* ---------- 3. Rutnätet ---------- */

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 44px);
  border-left: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
}

.band { border-bottom: 1px solid var(--rule); }

.band--yellow {
  background: var(--yellow);
  color: var(--on-yellow);
  border-bottom-color: var(--on-yellow);
}
.band--yellow .wrap {
  border-left-color: var(--rule-on-yellow);
  border-right-color: var(--rule-on-yellow);
}

/* Hårfina linjer via 1px gap i rutnät */
.mesh {
  display: grid;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.mesh > * { background: var(--ink); }

.band--yellow .mesh {
  background: var(--rule-on-yellow);
  border-color: var(--rule-on-yellow);
}
.band--yellow .mesh > * { background: var(--yellow); }

/* ---------- 4. Typografi ---------- */

.kicker {
  font-size: var(--t-kicker);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--yellow);
  margin: 0;
}
.band--yellow .kicker { color: var(--on-yellow); opacity: .72; }

.display {
  font-size: var(--t-display);
  font-weight: 900;
  line-height: .93;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.display span { display: block; }
.display .hl { color: var(--yellow); }

h2, .h2 {
  font-size: var(--t-h2);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.025em;
  text-transform: uppercase;
}

h3, .h3 {
  font-size: var(--t-h3);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.01em;
}

.lede {
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 46ch;
}
.band--yellow .lede { color: rgba(7, 7, 7, .78); }

.mono { font-family: var(--mono); }

/* ---------- 5. Knappar ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: 16px var(--s6);
  background: var(--yellow);
  color: var(--on-yellow);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 1px solid var(--yellow);
  cursor: pointer;
  transition: background .14s ease, border-color .14s ease, transform .14s ease;
}
.btn:hover { background: var(--yellow-hi); border-color: var(--yellow-hi); }
.btn:active { transform: translateY(1px); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--rule-2);
}
.btn--ghost:hover {
  background: transparent;
  border-color: var(--yellow);
  color: var(--yellow);
}

.btn--dark {
  background: var(--on-yellow);
  color: var(--yellow);
  border-color: var(--on-yellow);
}
.btn--dark:hover { background: #1c1c1c; border-color: #1c1c1c; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-size: var(--t-small);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 2px solid var(--rule-2);
  padding-bottom: 3px;
  transition: color .14s ease, border-color .14s ease;
}
.arrow-link:hover { color: var(--yellow); border-color: var(--yellow); }
.arrow-link i { font-style: normal; transition: transform .14s ease; }
.arrow-link:hover i { transform: translateX(4px); }

/* ---------- 6. Header ---------- */

.top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ink);
  border-bottom: 3px solid var(--yellow);
}

.top .wrap {
  display: flex;
  align-items: center;
  gap: var(--s5);
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--s3);
  margin-right: var(--s2);
}
.brand img {
  width: 54px;
  height: 42px;
  object-fit: contain;
}
.brand b {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--s6);
  margin-left: auto;
}
.nav a {
  font-size: var(--t-small);
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
  padding: var(--s2) 0;
  border-bottom: 2px solid transparent;
  transition: color .14s ease, border-color .14s ease;
}
.nav a:hover { color: var(--text); border-bottom-color: var(--yellow); }
.nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--yellow); }

.cart {
  display: inline-flex;
  align-items: center;
  gap: var(--s3);
  padding: 11px var(--s4);
  border: 1px solid var(--rule-2);
  font-size: var(--t-small);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: border-color .14s ease;
}
.cart:hover { border-color: var(--yellow); }
.cart span {
  min-width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: var(--on-yellow);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  padding-inline: 5px;
}

/* ---------- 7. Rea-remsa ---------- */

.rea { display: none; }
body.rea-on .rea { display: block; }

.rea .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s3) var(--s5);
  padding-block: 13px;
}
.rea-tag {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 3px 9px;
  border: 1px solid var(--on-yellow);
}
.rea p {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .01em;
}
.rea .arrow-link {
  margin-left: auto;
  color: var(--on-yellow);
  border-color: var(--rule-on-yellow);
}
.rea .arrow-link:hover { color: var(--on-yellow); border-color: var(--on-yellow); }

/* ---------- 8. Hero ---------- */

.hero .wrap { padding-block: clamp(32px, 5vw, 64px); }

.hero-mesh { grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); }

.hero-copy {
  padding: clamp(28px, 3.6vw, 52px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--s5);
}
.hero-copy .kicker { margin-bottom: var(--s1); }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  margin-top: var(--s2);
}

/* Utvald produkt i heroplatsen */
.hero-feature {
  display: flex;
  flex-direction: column;
  transition: background .14s ease;
}
.hero-feature:hover { background: var(--ink-2); }

.hero-feature-media {
  position: relative;
  flex: 1 1 auto;
  display: grid;
  place-items: center;
  background: var(--paper);
  padding: clamp(24px, 3vw, 44px);
  min-height: 300px;
  overflow: hidden;
}
.hero-feature-media img {
  width: auto;
  max-width: min(100%, 300px);
  max-height: 380px;
  object-fit: contain;
  transition: transform .28s ease;
}
.hero-feature:hover .hero-feature-media img { transform: scale(1.035); }

.hero-feature-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: var(--s1) var(--s4);
  padding: var(--s4) clamp(20px, 2.4vw, 30px) var(--s5);
  border-top: 1px solid var(--rule);
}
.hero-feature-label {
  grid-column: 1 / -1;
  font-size: var(--t-kicker);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: var(--s1);
}
.hero-feature-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.01em;
  transition: color .14s ease;
}
.hero-feature:hover .hero-feature-name { color: var(--yellow); }
.hero-feature .prod-price { font-size: 15px; }

/* ---------- 9. Sektionshuvud ---------- */

.sec .wrap { padding-block: clamp(48px, 6vw, 88px); }

.sec-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--s3) var(--s5);
  padding-bottom: var(--s4);
  border-bottom: 1px solid var(--rule);
  margin-bottom: var(--s7);
}
.band--yellow .sec-head { border-bottom-color: var(--rule-on-yellow); }

.sec-num {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: .06em;
}
.band--yellow .sec-num { color: var(--on-yellow); opacity: .6; }

.sec-head .arrow-link { margin-left: auto; }

/* ---------- 10. Produkter ---------- */

.grid-prod { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.prod {
  position: relative;
  display: flex;
  flex-direction: column;
  transition: background .14s ease;
}
.prod:hover { background: var(--ink-2); }

.prod-media {
  position: relative;
  background: var(--paper);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  padding: var(--s6);
  overflow: hidden;
}
.prod-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .28s ease;
}
.prod:hover .prod-media img { transform: scale(1.045); }

.prod-badge {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  background: var(--yellow);
  color: var(--on-yellow);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 5px 10px;
}
body.rea-on .prod-badge { display: block; }

.prod-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s3);
  padding: var(--s4) var(--s5) var(--s5);
}
.prod-name {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .01em;
  transition: color .14s ease;
}
.prod:hover .prod-name { color: var(--yellow); }

.prod-price {
  font-family: var(--mono);
  font-size: 14px;
  white-space: nowrap;
  color: var(--muted);
}
.prod-price s { color: #808080; margin-right: 6px; }
.prod-price b { color: var(--yellow); font-weight: 700; }

.price-rea { display: none; }
body.rea-on .has-rea .price-rea { display: inline; }
body.rea-on .has-rea .price-now { display: none; }

/* ---------- 11. Betalning (gult fält) ---------- */

.pay-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s6) var(--s8);
  align-items: end;
  margin-bottom: var(--s7);
}
.pay-claim {
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 900;
  line-height: .96;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.pay-note {
  font-size: var(--t-small);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-top: 2px solid var(--on-yellow);
  padding-top: var(--s3);
  margin-top: var(--s5);
  display: inline-block;
}

.grid-pay { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.coin {
  padding: var(--s6) var(--s5) var(--s5);
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}
.coin b {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.03em;
  text-transform: uppercase;
}
.coin .ticker {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  opacity: .62;
}
.coin p {
  font-size: var(--t-small);
  line-height: 1.5;
  color: rgba(7, 7, 7, .78);
  margin-top: var(--s2);
}

/* ---------- 12. Spåra order ---------- */

.track-mesh { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }

.track-intro,
.track-form {
  padding: clamp(28px, 3.4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  justify-content: center;
}

.track-form form {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
}
.track-form label {
  font-size: var(--t-kicker);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.track-form input {
  flex: 1 1 200px;
  min-width: 0;
  padding: 15px var(--s4);
  background: var(--ink-3);
  border: 1px solid var(--rule-2);
  font-family: var(--mono);
  font-size: 19px;
  letter-spacing: .06em;
  transition: border-color .14s ease;
}
.track-form input::placeholder { color: #7f7f7f; }
.track-form input:focus { border-color: var(--yellow); }
.track-hint {
  font-size: var(--t-small);
  color: var(--muted);
}

.lane {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s2);
  margin-top: var(--s2);
}
.lane li {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8c8c8c;
  padding-top: var(--s3);
  border-top: 4px solid var(--rule);
}
.lane li.is-done { color: var(--muted); border-top-color: var(--gold); }
.lane li.is-now { color: var(--yellow); border-top-color: var(--yellow); }

/* ---------- 13. Leverans ---------- */

.grid-ship { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.ship {
  padding: clamp(26px, 3.2vw, 44px);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}
.ship .kicker { color: var(--muted); }
.ship p { color: var(--muted); font-size: 16px; }
.ship .tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-top: var(--s2);
}
.ship .tags li {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid var(--rule-2);
  color: var(--text);
}

/* ---------- 14. Tävling ---------- */

.contest .wrap { padding-block: clamp(36px, 4vw, 56px); }

.contest-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s5);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--yellow);
  padding: var(--s5) clamp(20px, 2.6vw, 36px);
  background: var(--ink-2);
}
.contest-row .num {
  font-family: var(--mono);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
}
.contest-text { flex: 1 1 320px; }
.contest-text h3 { margin-bottom: 2px; }
.contest-text p { color: var(--muted); font-size: 15px; }

/* ---------- 15. Footer ---------- */

.foot { background: var(--ink-2); border-top: 1px solid var(--rule); }
.foot .wrap { padding-block: var(--s8) var(--s5); }

.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: var(--s7) var(--s6);
  padding-bottom: var(--s7);
}
.foot-brand { display: flex; flex-direction: column; gap: var(--s3); max-width: 34ch; }
.foot-brand img { width: 54px; height: 42px; object-fit: contain; }
.foot-brand p { color: var(--muted); font-size: 15px; }

.foot h4 {
  margin: 0 0 var(--s4);
  font-size: var(--t-kicker);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text);
}
.foot ul { display: flex; flex-direction: column; gap: 10px; }
.foot ul a {
  color: var(--muted);
  font-size: 15px;
  transition: color .14s ease;
}
.foot ul a:hover { color: var(--yellow); }

.rea-switch {
  display: inline-flex;
  align-items: center;
  gap: var(--s3);
  padding: 10px var(--s4);
  background: transparent;
  border: 1px solid var(--rule-2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .14s ease, color .14s ease;
}
.rea-switch:hover { border-color: var(--yellow); color: var(--yellow); }
.rea-switch .dot {
  width: 10px;
  height: 10px;
  background: var(--rule-2);
  transition: background .14s ease;
}
.rea-switch[aria-pressed="true"] { color: var(--yellow); border-color: rgba(244, 194, 33, .5); }
.rea-switch[aria-pressed="true"] .dot { background: var(--yellow); }
.foot-switch p { color: var(--muted); font-size: 13px; margin-top: var(--s3); max-width: 30ch; }

.foot-base {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3) var(--s5);
  justify-content: space-between;
  padding-top: var(--s5);
  border-top: 1px solid var(--rule);
  color: #8c8c8c;
  font-size: 13px;
}

/* ---------- 16. Responsivt ---------- */

@media (max-width: 1040px) {
  .hero-mesh,
  .track-mesh { grid-template-columns: minmax(0, 1fr); }
  .hero-feature-media { min-height: 0; padding-block: var(--s6); }
  .hero-feature-media img { max-height: 320px; }
  .grid-prod { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  :root { --t-body: 16px; }
  .top .wrap {
    flex-wrap: wrap;
    align-items: center;
    min-height: 0;
    padding-block: var(--s3);
    row-gap: 0;
  }
  .brand { margin-right: auto; }
  .nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    gap: var(--s5);
    justify-content: flex-start;
    flex-wrap: wrap;
    padding-top: var(--s3);
    margin-top: var(--s3);
    border-top: 1px solid var(--rule);
  }
  .pay-top { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .grid-pay { grid-template-columns: minmax(0, 1fr); }
  .grid-ship { grid-template-columns: minmax(0, 1fr); }
  .rea .arrow-link { margin-left: 0; }
  .sec-head .arrow-link { margin-left: 0; }
}

@media (max-width: 560px) {
  .hero-copy { padding: var(--s5) var(--s4) var(--s6); }
  .foot-grid { grid-template-columns: 1fr; gap: var(--s6); }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .track-form form .btn { width: 100%; justify-content: center; }
  .lane { grid-template-columns: repeat(2, 1fr); gap: var(--s3); }
  .contest-row { padding-inline: var(--s4); }
  .brand img { width: 44px; height: 34px; }
  .brand b { font-size: 15px; }
  .brand { gap: var(--s2); }
  .nav { gap: var(--s3) var(--s4); }
  .nav a { font-size: 13px; }
  .cart { padding: 9px var(--s3); gap: var(--s2); }
}

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

/* ---------- 17. Delade sidkomponenter ---------- */

select, textarea {
  font: inherit;
  color: inherit;
  border-radius: 0;
}

/* Smalare innehållsspalter i samma rutnät */
.wrap--mid { max-width: 1000px; }
.wrap--narrow { max-width: 800px; }

.sec--tight .wrap { padding-block: clamp(32px, 4vw, 56px); }

/* Sidhuvud */
.page-head .wrap { padding-block: clamp(26px, 3.2vw, 48px); }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px var(--s1);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--s4);
}
.crumbs a { border-bottom: 1px solid transparent; }
.crumbs a:hover { color: var(--yellow); border-bottom-color: var(--yellow); }
.crumbs i { font-style: normal; opacity: .45; margin-inline: 5px; }

.page-title {
  font-size: var(--t-h2);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.025em;
  text-transform: uppercase;
}
.page-head .kicker { margin-bottom: var(--s3); }
.page-head .lede { margin-top: var(--s4); }

/* Grupp med numrerat huvud */
.step + .step { margin-top: var(--s6); }

.step-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--s2) var(--s4);
  padding-bottom: var(--s3);
  border-bottom: 1px solid var(--rule);
  margin-bottom: var(--s4);
}
.step-head h2 {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.step-hint {
  margin-left: auto;
  font-size: 13px;
  color: var(--muted);
}
.step-go {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  margin-top: var(--s5);
}

.sub { margin-top: var(--s4); }
.sub-lab,
.lab {
  display: block;
  font-size: var(--t-kicker);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--s3);
}

.note {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: var(--s3);
}
.note b { color: var(--text); }

/* Panel */
.panel {
  border: 1px solid var(--rule);
  background: var(--ink-2);
  padding: clamp(18px, 2.4vw, 28px);
}
.panel--tight { padding: var(--s4) var(--s5); }

/* ---------- 18. Formulär ---------- */

.field { margin-bottom: var(--s4); }
.field:last-child { margin-bottom: 0; }
.field--mail { max-width: 340px; margin-top: var(--s5); }

.input,
.select {
  width: 100%;
  padding: 13px var(--s4);
  background-color: var(--ink-3);
  color: var(--text);
  border: 1px solid var(--rule-2);
  font-family: var(--sans);
  font-size: 15px;
  transition: border-color .14s ease;
}
.input::placeholder { color: #7f7f7f; }
.input:focus,
.select:focus { border-color: var(--yellow); }
.input[readonly] { color: var(--muted); }

.input--mono { font-family: var(--mono); letter-spacing: .05em; }

.select {
  -webkit-appearance: none;
  appearance: none;
  font-family: var(--mono);
  letter-spacing: .04em;
  padding-right: 44px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--yellow) 50%),
    linear-gradient(135deg, var(--yellow) 50%, transparent 50%);
  background-position: calc(100% - 22px) calc(50% + 1px), calc(100% - 16px) calc(50% + 1px);
  background-size: 7px 7px, 7px 7px;
  background-repeat: no-repeat;
  cursor: pointer;
}
.select option { background: var(--ink-2); color: var(--text); }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
}
.chip {
  background: transparent;
  border: 1px solid var(--rule-2);
  color: var(--text);
  padding: 10px var(--s4);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .14s ease, border-color .14s ease, color .14s ease;
}
.chip:hover { border-color: var(--yellow); color: var(--yellow); }
.chip.is-on {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--on-yellow);
}

.btn--wide { width: 100%; justify-content: center; }

/* Valbara kort med VALD-markering */
.opts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.opts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opts--compact .opt { padding: var(--s4); }
.opts--compact .opt b { font-size: 16px; }

.opt {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  text-align: left;
  background: var(--ink);
  color: var(--text);
  border: 0;
  padding: var(--s5) var(--s5) var(--s5);
  cursor: pointer;
  transition: background .14s ease, box-shadow .14s ease;
}
.opt:hover { background: var(--ink-3); }
.opt b {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.01em;
  transition: color .14s ease;
}
.opt .ticker {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--muted);
}
.opt-text {
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}
.opt-vald {
  position: absolute;
  top: 0;
  right: 0;
  display: none;
  background: var(--yellow);
  color: var(--on-yellow);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  padding: 4px 9px;
}
.opt.is-on {
  background: var(--ink-3);
  box-shadow: inset 0 0 0 2px var(--yellow);
}
.opt.is-on b { color: var(--yellow); }
.opt.is-on .opt-vald { display: block; }

/* ---------- 19. Orderrader och summor ---------- */

.lines { border: 1px solid var(--rule); }

.line {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--s4);
  padding: var(--s3) var(--s4);
  border-bottom: 1px solid var(--rule);
}
.line:last-child { border-bottom: 0; }
.lines--cart .line { grid-template-columns: 56px minmax(0, 1fr) auto auto; }

.line-thumb {
  width: 56px;
  height: 56px;
  background: var(--paper);
  display: grid;
  place-items: center;
  padding: 5px;
}
.line-thumb img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

.line-name {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .01em;
}
.line-name small {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--muted);
}

.line-price {
  font-family: var(--mono);
  font-size: 15px;
  white-space: nowrap;
  text-align: right;
}
.line-price s { color: #808080; font-size: 13px; margin-right: 6px; }
.line-price b { color: var(--yellow); font-weight: 700; }

.line-drop {
  background: transparent;
  border: 1px solid var(--rule-2);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 8px 11px;
  cursor: pointer;
  transition: border-color .14s ease, color .14s ease;
}
.line-drop:hover { border-color: var(--yellow); color: var(--yellow); }

.sums {
  border: 1px solid var(--rule);
  border-top: 0;
}
.sums--sep { border-top: 1px solid var(--rule); }
.sum {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s4);
  padding: var(--s3) var(--s4);
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
  color: var(--muted);
}
.sum:last-child { border-bottom: 0; }
.sum b {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.sum--rabatt b { color: var(--yellow); }
.sum--total {
  background: var(--ink-2);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.sum--total b { font-size: 21px; color: var(--yellow); }

/* Kompakt rabattkod */
.code {
  max-width: 250px;
  margin-top: var(--s5);
}
.code-row { display: flex; }
.code-row .input {
  flex: 1 1 auto;
  min-width: 0;
  border-right: 0;
  font-family: var(--mono);
  padding: 11px var(--s3);
  font-size: 14px;
}
.code-go {
  flex: 0 0 auto;
  background: transparent;
  border: 1px solid var(--rule-2);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 0 var(--s4);
  cursor: pointer;
  transition: background .14s ease, color .14s ease, border-color .14s ease;
}
.code-go:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--on-yellow);
}
.code-ok {
  margin-top: var(--s2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--yellow);
}

/* Tomt läge */
.empty {
  border: 1px solid var(--rule);
  background: var(--ink-2);
  padding: clamp(34px, 5vw, 68px) var(--s5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s4);
  text-align: center;
}
.empty p { color: var(--muted); }

/* ---------- 20. Produktsida ---------- */

.pdp {
  max-width: 720px;
  margin-inline: auto;
}

.pdp-media {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--rule);
  display: grid;
  place-items: center;
  padding: clamp(22px, 3.4vw, 44px);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.pdp-media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

.pdp-title {
  margin-top: var(--s6);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.03em;
  text-transform: uppercase;
}

.pdp-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--s3) var(--s5);
  margin-top: var(--s4);
  padding-bottom: var(--s4);
  border-bottom: 1px solid var(--rule);
}
.pdp-price {
  font-family: var(--mono);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.pdp-price s { color: #808080; font-size: 18px; margin-right: 8px; }
.pdp-price b { color: var(--yellow); font-weight: 700; }
.pdp-fact {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.pdp-fact.in-stock { color: var(--yellow); }

.pdp-buy {
  display: flex;
  flex-direction: column;
  gap: var(--s5);
  padding-block: var(--s5);
}
.pdp-buy .select { max-width: 300px; }
.pdp-total {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--muted);
}
.pdp-total b { color: var(--text); }

.pdp-text {
  margin-top: var(--s5);
  padding-top: var(--s5);
  border-top: 1px solid var(--rule);
}
.pdp-text h2 {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .12em;
  margin-bottom: var(--s4);
}
.pdp-text p {
  color: var(--muted);
  margin-bottom: var(--s4);
  max-width: 64ch;
}
.pdp-spec {
  border-top: 1px solid var(--rule);
  margin-top: var(--s5);
}
.pdp-spec div {
  display: flex;
  justify-content: space-between;
  gap: var(--s4);
  padding: 11px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
  color: var(--muted);
}
.pdp-spec b {
  font-family: var(--mono);
  font-weight: 700;
  color: var(--text);
  text-align: right;
}

/* ---------- 21. Sortiment ---------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s2) var(--s3);
  padding-bottom: var(--s5);
  margin-bottom: var(--s6);
  border-bottom: 1px solid var(--rule);
}
.filters .lab { margin: 0 var(--s2) 0 0; }
.filter-count {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.grid-prod--all { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-prod--all .prod-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 2px var(--s3);
}
.grid-prod--all .prod-cat { grid-column: 1 / -1; }
.prod-cat {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 3px;
}

/* ---------- 22. Betalsidor ---------- */

.pay-box { border: 1px solid var(--rule); }

.pay-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2) var(--s4);
  background: var(--yellow);
  color: var(--on-yellow);
  padding: 11px var(--s4);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.pay-strip .mono { font-family: var(--mono); letter-spacing: .1em; }

.pay-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1px;
  background: var(--rule);
}
.pay-grid > * {
  background: var(--ink);
  padding: clamp(20px, 2.8vw, 34px);
}
.pay-main {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}
.pay-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s3);
}

.amount {
  font-family: var(--mono);
  font-size: clamp(27px, 3.6vw, 42px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.015em;
  color: var(--yellow);
}
.amount-sek {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--muted);
  letter-spacing: .06em;
}

.qr {
  background: var(--paper);
  padding: 12px;
  width: max-content;
}
.qr i {
  display: block;
  width: 152px;
  height: 152px;
  background-color: var(--paper);
  background-image: conic-gradient(#070707 25%, #ffffff 0 50%, #070707 0 75%, #ffffff 0);
  background-size: 19px 19px;
}
.qr span {
  display: block;
  margin-top: 9px;
  text-align: center;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #070707;
}

.countdown {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: .06em;
}

.pay-how {
  border-top: 1px solid var(--rule);
  padding: var(--s5) var(--s4);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s4) var(--s6);
}
.pay-how p {
  flex: 1 1 320px;
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.pay-how p b { color: var(--text); }

/* ---------- 23. Steg, status, uppladdning ---------- */

.howto {
  counter-reset: howto;
  border: 1px solid var(--rule);
}
.howto > li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: var(--s4);
  padding: var(--s5) var(--s4);
  border-bottom: 1px solid var(--rule);
}
.howto > li:last-child { border-bottom: 0; }
.howto > li::before {
  counter-increment: howto;
  content: counter(howto, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: .06em;
}
.howto h3 { font-size: 17px; margin-bottom: 4px; }
.howto p { font-size: 14px; color: var(--muted); }
.howto .btn { margin-top: var(--s4); }

.drop {
  border: 1px dashed var(--rule-2);
  background: var(--ink-2);
  padding: clamp(30px, 4.4vw, 54px) var(--s5);
  text-align: center;
  transition: border-color .14s ease, background .14s ease;
}
.drop b { display: block; font-size: 17px; font-weight: 800; }
.drop small {
  display: block;
  margin-top: 7px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--muted);
}
.drop.is-on { border-color: var(--yellow); background: var(--ink-3); }
.drop-pick {
  display: inline-block;
  margin-top: var(--s4);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--yellow);
  border-bottom: 2px solid var(--yellow);
  cursor: pointer;
}

.status { border: 1px solid var(--rule); }
.status-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s3) var(--s5);
  padding: var(--s4);
  border-bottom: 1px solid var(--rule);
  background: var(--ink-2);
}
.ordernum {
  font-family: var(--mono);
  font-size: clamp(20px, 2.4vw, 27px);
  font-weight: 700;
  letter-spacing: .04em;
}
.status-meta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: auto;
}
.stamp {
  background: var(--yellow);
  color: var(--on-yellow);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 10px;
}
.status-body {
  padding: var(--s5) var(--s4);
  display: flex;
  flex-direction: column;
  gap: var(--s5);
}
.status-body > h3 + p { margin-top: var(--s2); }
.status-body p { color: var(--muted); font-size: 15px; }

.track-list { border-top: 1px solid var(--rule); }
.track-list li {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  align-items: start;
  gap: var(--s3) var(--s4);
  padding: 13px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
  color: #8c8c8c;
}
.track-list li::before {
  content: "";
  width: 12px;
  height: 12px;
  margin-top: 6px;
  border: 2px solid var(--rule-2);
}
.track-list li.is-done { color: var(--muted); }
.track-list li.is-done::before { background: var(--gold); border-color: var(--gold); }
.track-list li.is-now { color: var(--yellow); font-weight: 700; }
.track-list li.is-now::before { background: var(--yellow); border-color: var(--yellow); }
.track-list .tl { display: block; min-width: 0; }
.track-list li small {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 400;
  color: #8c8c8c;
}
.track-list li time {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: #7f7f7f;
}

.track-box {
  border: 1px solid var(--rule);
  background: var(--ink-2);
  padding: clamp(20px, 2.6vw, 30px);
}
.track-box form {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  margin-top: var(--s3);
}
.track-box input {
  flex: 1 1 220px;
  min-width: 0;
  padding: 14px var(--s4);
  background-color: var(--ink-3);
  color: var(--text);
  border: 1px solid var(--rule-2);
  font-family: var(--mono);
  font-size: 18px;
  letter-spacing: .06em;
  transition: border-color .14s ease;
}
.track-box input::placeholder { color: #7f7f7f; }
.track-box input:focus { border-color: var(--yellow); }

/* ---------- 24. Tack ---------- */

.receipt { border: 1px solid var(--rule); }
.receipt-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s4) var(--s5);
  padding: var(--s5) var(--s4);
  border-bottom: 1px solid var(--rule);
}
.receipt-num {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.receipt-num span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.receipt-num b {
  font-family: var(--mono);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
  color: var(--yellow);
}
.receipt-body {
  padding: var(--s5) var(--s4);
  display: flex;
  flex-direction: column;
  gap: var(--s5);
}
.receipt-body p { color: var(--muted); }
.receipt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
}

/* ---------- 25. Tävling ---------- */

.contest-two {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: start;
}
.jar {
  background: var(--paper);
  border: 1px solid var(--rule);
  display: grid;
  place-items: center;
  padding: clamp(22px, 3vw, 40px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.jar img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  object-fit: contain;
}
.contest-side { display: flex; flex-direction: column; gap: var(--s5); }
.contest-q {
  font-size: clamp(27px, 3.4vw, 40px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.03em;
  text-transform: uppercase;
}
.contest-clock {
  display: flex;
  align-items: baseline;
  gap: var(--s3);
  padding-block: var(--s3);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.contest-clock b {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--yellow);
}
.contest-clock span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.guess-form { max-width: 380px; }
.guess-form .input--guess {
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 14px var(--s4);
}
.guess-ok {
  margin-top: var(--s3);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--yellow);
}

.prizes { border-top: 1px solid var(--rule); }
.prizes li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: var(--s3);
  padding: 11px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
  color: var(--muted);
}
.prizes li b { color: var(--text); font-weight: 700; }
.prizes li i {
  font-style: normal;
  font-family: var(--mono);
  font-weight: 700;
  color: var(--yellow);
}

.guesses {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
}
.guesses li {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
  border: 1px solid var(--rule-2);
  padding: 6px 10px;
  color: var(--muted);
}
.guesses li b { color: var(--text); }

/* ---------- 26. FAQ, villkor, 404, sidor ---------- */

.qa {
  counter-reset: qa;
  border: 1px solid var(--rule);
}
.qa > li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: var(--s4);
  padding: var(--s5) var(--s4);
  border-bottom: 1px solid var(--rule);
}
.qa > li:last-child { border-bottom: 0; }
.qa > li::before {
  counter-increment: qa;
  content: counter(qa, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: .06em;
  padding-top: 3px;
}
.qa h3 { margin-bottom: var(--s2); }
.qa p { color: var(--muted); font-size: 15px; margin-bottom: var(--s3); }
.qa p:last-child { margin-bottom: 0; }
.qa a { color: var(--yellow); border-bottom: 1px solid rgba(244, 194, 33, .4); }
.qa a:hover { border-bottom-color: var(--yellow); }

.prose h2 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-top: var(--s6);
  padding-top: var(--s4);
  border-top: 1px solid var(--rule);
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose p {
  color: var(--muted);
  margin-top: var(--s3);
  max-width: 68ch;
}
.prose ul { margin-top: var(--s3); }
.prose li {
  position: relative;
  padding-left: var(--s5);
  margin-bottom: 7px;
  color: var(--muted);
  max-width: 66ch;
}
.prose li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--yellow);
}
.prose b { color: var(--text); }

.gone {
  display: flex;
  flex-direction: column;
  gap: var(--s5);
  align-items: flex-start;
}
.big404 {
  font-family: var(--mono);
  font-size: clamp(72px, 15vw, 168px);
  font-weight: 700;
  line-height: .85;
  letter-spacing: -.05em;
  color: var(--yellow);
}

.sitemap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.sitemap a {
  background: var(--ink);
  padding: var(--s5);
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: background .14s ease;
}
.sitemap a:hover { background: var(--ink-2); }
.sitemap .n {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--yellow);
}
.sitemap b {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.01em;
  transition: color .14s ease;
}
.sitemap a:hover b { color: var(--yellow); }
.sitemap .d { font-size: 13px; color: var(--muted); line-height: 1.45; }

/* ---------- 27. Responsivt för sidkomponenter ---------- */

@media (max-width: 1040px) {
  .grid-prod--all { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sitemap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .contest-two { grid-template-columns: minmax(0, 1fr); }
  .jar { aspect-ratio: 4 / 3; }
  .pay-grid { grid-template-columns: minmax(0, 1fr); }
  .pay-side { align-items: flex-start; }
}

@media (max-width: 700px) {
  .grid-prod--all { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .opts,
  .opts--3 { grid-template-columns: minmax(0, 1fr); }
  .filter-count { margin-left: 0; }
  .step-hint { margin-left: 0; }
  .status-meta { margin-left: 0; }
}

@media (max-width: 560px) {
  .sitemap { grid-template-columns: minmax(0, 1fr); }
  .line,
  .lines--cart .line {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: var(--s3);
  }
  .line-thumb { width: 44px; height: 44px; }
  .lines--cart .line-drop { grid-column: 2 / -1; justify-self: start; }
  .pdp-title { margin-top: var(--s5); }
  .pdp-media { aspect-ratio: 1 / 1; }
  .track-box form .btn { width: 100%; justify-content: center; }
  .step-go .btn { width: 100%; justify-content: center; }
  .receipt-actions .btn { width: 100%; justify-content: center; }
  .guess-form .btn { width: 100%; justify-content: center; }
  .qa > li,
  .howto > li { grid-template-columns: minmax(0, 1fr); gap: var(--s2); }
  .big404 { font-size: clamp(64px, 24vw, 110px); }
}

/* ---------- 28. Mobil ---------- */

/* Från 860px och ner ligger menyn på egen rad. Här får den, och alla andra
   små träffytor, minst 44px höjd, och fälten den textstorlek som hindrar
   iOS från att zooma in vid fokus. */
@media (max-width: 860px) {
  .nav a { padding: 11px 0; }

  /* Ordernummerfälten ligger redan på 18–19px och lämnas som de är. */
  .input,
  .select,
  .code-row .input { font-size: 16px; }

  .line-drop,
  .rea-switch {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  /* Träffytan växer till 44px utan att flytta understrykningen. */
  .arrow-link,
  .drop-pick { position: relative; }
  .arrow-link::after,
  .drop-pick::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 44px;
    transform: translateY(-50%);
  }
}

/* Två produkter i bredd hela vägen ner. Korten blir smala, så bild, namn
   och pris får egna mått i stället för skrivbordets sida-vid-sida-rad. */
@media (max-width: 560px) {
  .prod-media { padding: var(--s4); }

  .prod-meta,
  .grid-prod--all .prod-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    flex: 1 1 auto;
    gap: 2px;
    padding: var(--s3) var(--s3) var(--s4);
  }
  .prod-name { font-size: 15px; line-height: 1.25; }
  /* margin-top: auto lägger priset i kortets nederkant, så prisraden hamnar
     på samma höjd i båda korten även när ett namn bryts till två rader. */
  .prod-price {
    margin-top: auto;
    padding-top: var(--s1);
    font-size: 13px;
  }
  .prod-price s { margin-right: 5px; }
  .prod-cat { margin-bottom: 0; }
  .prod-badge { font-size: 11px; padding: 4px 8px; }

  /* Orderrader staplas: bild och namn överst, pris och Ta bort under. */
  .line,
  .lines--cart .line {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--s2) var(--s3);
  }
  .line-thumb { grid-area: 1 / 1 / 2 / 2; }
  .line-name { grid-area: 1 / 2 / 2 / 4; }
  .line-price {
    grid-area: 2 / 2 / 3 / 4;
    justify-self: start;
    text-align: left;
  }
  .lines--cart .line-price { grid-area: 2 / 2 / 3 / 3; }
  .lines--cart .line-drop { grid-area: 2 / 3 / 3 / 4; justify-self: end; }

  /* Köpblocket på produktsidan i full bredd — lättare att träffa. */
  .pdp-buy .select { max-width: none; }
  .pdp-buy .btn { width: 100%; justify-content: center; }

  .code { max-width: none; }
}
