/* Viby Musteri – färger och typsnitt hämtade från logotyp och etiketter */
:root {
  --rod: #B3261E;
  --rod-mork: #8E1D15;
  --kram: #F5ECD7;
  --kram-ljus: #FAF5EA;
  --senap: #DDAE45;
  --gron: #34543B;
  --text: #2B211D;
  --text-mjuk: #5E514A;
  --linje: #E2D3B3;
  --max: 72rem;
  --radie: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--kram);
  color: var(--text);
  font: 400 1.0625rem/1.65 "Lora", Georgia, serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--senap); outline-offset: 3px; }
h1, h2, h3 { font-weight: 700; line-height: 1.1; margin: 0 0 1rem; }
h2 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); color: var(--rod); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1rem; max-width: 62ch; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.eyebrow {
  font-size: .8rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--rod); margin: 0 0 1rem;
}
.rule { width: 7rem; height: 2px; background: var(--rod); border: 0; margin: 1.25rem 0; }
.knapp {
  display: inline-block; padding: .8rem 1.4rem; border-radius: 999px;
  background: var(--rod); color: var(--kram); text-decoration: none; font-weight: 600;
  border: 2px solid var(--rod); transition: background .2s, color .2s;
}
.knapp:hover { background: var(--rod-mork); border-color: var(--rod-mork); }
.knapp.sekundar { background: transparent; color: var(--rod); }
.knapp.sekundar:hover { background: var(--rod); color: var(--kram); }

/* Sidhuvud */
.sidhuvud {
  position: sticky; top: 0; z-index: 10;
  background: rgba(244, 235, 216, .95); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--linje);
}
.sidhuvud .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.varumarke { display: flex; align-items: center; gap: .7rem; text-decoration: none; font-weight: 700; color: var(--rod); letter-spacing: .08em; }
.varumarke img { width: 48px; }
.meny { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.meny a { text-decoration: none; font-weight: 500; }
.meny a:hover { color: var(--rod); }
.menyknapp { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--rod); }
.menyknapp svg { width: 28px; height: 28px; }

@media (max-width: 820px) {
  .menyknapp { display: block; }
  .meny {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; background: var(--kram); border-bottom: 1px solid var(--linje);
  }
  .meny.oppen { display: flex; }
  .meny a { display: block; padding: .9rem 1.25rem; border-top: 1px solid var(--linje); }
}

/* Hero – samma uppbyggnad som etiketten */
.hero { position: relative; overflow: hidden; padding: 4.5rem 0 5rem; }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(3.4rem, 12vw, 8rem); letter-spacing: .06em; color: var(--rod);
  line-height: .95; margin: 0;
}
.hero .undertitel { font-style: italic; font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--rod); margin: 0 0 .5rem; }
.hero .ingress { font-size: 1.2rem; max-width: 30ch; }
.hero .knappar { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-apple {
  position: absolute; right: -6%; bottom: -14%; width: min(56vw, 640px);
  pointer-events: none;
}
@media (max-width: 820px) {
  .hero { padding-bottom: 0; }
  .hero-apple { position: static; width: 80%; margin: 2rem 0 -18% auto; }
}

/* Remsa */
.remsa { background: var(--senap); color: var(--rod); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; position: relative; z-index: 2; }
.remsa ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 2rem; list-style: none; margin: 0; padding: 1rem 1.25rem; }
.remsa li::before { content: "●"; margin-right: .6rem; font-size: .6em; vertical-align: middle; }

/* Sektioner */
section { padding: 5rem 0; }
.tva-kol { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 820px) { .tva-kol { grid-template-columns: 1fr; gap: 2rem; } section { padding: 3.5rem 0; } }

.foto { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radie); }

/* Produkt */
.produkt { background: var(--kram-ljus); }
.fakta { border: 2px solid var(--rod); border-radius: var(--radie); overflow: hidden; background: var(--kram); margin: 1.5rem 0; }
.fakta div { display: grid; grid-template-columns: 9rem 1fr; gap: .75rem; padding: .75rem 1.1rem; border-top: 1px solid var(--linje); }
.fakta div:first-child { border-top: 0; }
.fakta dt { font-weight: 700; }
.fakta dd { margin: 0; }
.pris { background: var(--senap); border-radius: var(--radie); padding: 1.1rem 1.4rem; display: inline-block; }
.pris p { margin: 0; }
.pris-etikett { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--rod); }
.pris-nu { font-size: 2.6rem; font-weight: 700; color: var(--rod); line-height: 1.1; }
.pris-nu span { font-size: 1.1rem; font-weight: 500; color: var(--text); }
.pris-ord { font-size: .95rem; }
@media (max-width: 420px) { .fakta div { grid-template-columns: 1fr; gap: 0; } }

/* Steg */
.process { background: var(--kram-ljus); }
.steg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2.5rem; list-style: none; padding: 0; counter-reset: steg; }
.steg li { position: relative; counter-increment: steg; }
.steg li::before {
  content: counter(steg); position: absolute; top: .75rem; left: .75rem;
  width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--rod); color: var(--kram); font-weight: 700; font-size: 1.2rem; border: 2px solid var(--senap);
}
.steg img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radie); margin-bottom: 1rem; }
.steg h3 { color: var(--rod); margin-bottom: .4rem; }
@media (max-width: 960px) { .steg { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steg { grid-template-columns: 1fr; } }

/* Galleri */
.galleri-sektion { padding-top: 0; }
.galleri { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.galleri figure { margin: 0; }
.galleri img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radie); }
.galleri figcaption { font-style: italic; color: var(--text-mjuk); margin-top: .5rem; }
@media (max-width: 620px) { .galleri { grid-template-columns: 1fr; } }

/* Köpa – röd sektion */
.kopa { background: var(--rod); color: var(--kram); }
.kopa h2, .kopa .eyebrow { color: var(--kram); }
.kopa .eyebrow { opacity: .85; }
.kort-rad { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.kort { background: var(--kram); color: var(--text); border-radius: var(--radie); padding: 1.6rem; border-top: 6px solid var(--senap); }
.kort h3 { color: var(--rod); }
.kort p:last-child { margin-bottom: 0; }
.kort a { color: var(--rod); font-weight: 600; }
@media (max-width: 820px) { .kort-rad { grid-template-columns: 1fr; } }

/* Förvaring */
.forvaring-lista { display: grid; gap: 1rem; margin-top: .75rem; }
#vad-ar-must h3 { margin-top: 2rem; color: var(--rod); }
.forvaring-lista div { border-left: 6px solid var(--senap); padding: .2rem 0 .2rem 1rem; }
.forvaring-lista b { display: block; font-size: 1.15rem; color: var(--rod); }

/* Instagram */
.insta { background: var(--gron); color: var(--kram); text-align: center; }
.insta h2 { color: var(--kram); }
.insta p { margin-left: auto; margin-right: auto; }
.insta .knapp { background: var(--senap); border-color: var(--senap); color: var(--text); }
.insta .knapp:hover { background: var(--kram); border-color: var(--kram); }

/* Sidfot */
.sidfot { background: var(--text); color: var(--kram); padding: 3.5rem 0 2rem; font-size: .97rem; }
.sidfot .wrap { display: grid; grid-template-columns: auto 1fr 1fr; gap: 2.5rem; align-items: start; }
.sidfot img { width: 110px; }
.sidfot h3 { color: var(--senap); font-size: 1.05rem; letter-spacing: .1em; text-transform: uppercase; }
.sidfot p { margin: 0 0 .4rem; }
.sidfot a { color: var(--kram); }
.sidfot .copy { grid-column: 1 / -1; border-top: 1px solid rgba(244,235,216,.2); padding-top: 1.25rem; opacity: .7; font-size: .85rem; }
@media (max-width: 820px) { .sidfot .wrap { grid-template-columns: 1fr; gap: 1.5rem; } }
