/* =============================================================
   Minisaga / Målarbok – Design system
   Källa: forklaring.pdf (Quicksand / Comfortaa / Poppins + pastellpalett)
   ============================================================= */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Quicksand';
  src: url('/assets/fonts/Quicksand_Light.otf') format('opentype');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Quicksand';
  src: url('/assets/fonts/Quicksand_Book.otf') format('opentype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Quicksand';
  src: url('/assets/fonts/Quicksand_Bold.otf') format('opentype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Comfortaa';
  src: url('/assets/fonts/Comfortaa-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Comfortaa';
  src: url('/assets/fonts/Comfortaa-Bold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('/assets/fonts/Poppins-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('/assets/fonts/Poppins-Medium.ttf') format('truetype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('/assets/fonts/Poppins-SemiBold.ttf') format('truetype');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('/assets/fonts/Poppins-Bold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Neue Mail';
  src: url('/assets/fonts/NeueMail-Medium.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Neue Mail';
  src: url('/assets/fonts/NeueMail-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---------- Palett (från forklaring.pdf) ---------- */
:root {
  --bg:           #F7F2ED;   /* Bakgrund */
  --brown:        #8D7568;   /* Brun – text/accent */
  --brown-dark:   #40332D;   /* Brun, lite mörkare för tydlighet - gammal: #5C4A40 */
  --brown-soft:   #B49C8E;
  --lila:         #CFC7E8;
  --green:        #D8DED1;
  --pink:         #EbCFC7;
  --pink-light:   #F3DDD7;
  --gray:         #D8D1CC;
  --light-green:  #C9D1C3;
  --yellow:       #F7E9B6;   /* mjuk pastellgul, matchar stjärnan */
  --peach:        #F1D6BD;
  --white:        #FFFFFF;
  --text:         #3F2E27;
  --muted:        #6C5B52;
  --cta:          #A430D9;

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 14px rgba(60, 40, 30, .06);
  --shadow-md: 0 10px 30px rgba(60, 40, 30, .08);
  --shadow-lg: 0 20px 60px rgba(60, 40, 30, .14);
}

/* ---------- Reset & base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: 'Quicksand', 'Comfortaa', system-ui, sans-serif;
  font-weight: 700;
  color: var(--brown-dark);
  line-height: 1.18;
  margin: 0 0 .5em;
  letter-spacing: -.005em;
}
h1 { font-size: clamp(2rem, 4.6vw, 2.9rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.15rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }
a { color: var(--brown); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1320px; margin: 0 auto; padding: 0 22px; }
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
/* Anchor scroll offset så att sticky-nav inte klipper rubrikerna */
:target,
section[id],
header[id] { scroll-margin-top: 110px; }
html { scroll-behavior: smooth; }

/* Handritad ”signaturmärkning” à la logotypen – två streck med ett litet
   hjärta/sparkle emellan, plus liten text under. Används istället för en pill. */
.brand-signature {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Comfortaa', 'Quicksand', cursive;
  font-style: italic;
  font-size: .92rem;
  letter-spacing: .01em;
  color: var(--brown);
  margin-bottom: 8px;
}
.brand-signature::before,
.brand-signature::after {
  content: '';
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--brown-soft);
  border-radius: 2px;
}
.brand-signature img {
  width: 22px;
  height: 22px;
  display: inline-block;
  vertical-align: middle;
}
.brand-signature span { white-space: nowrap; }

/* Lämnar kvar gamla .eyebrow ifall någon plats använder den */
.eyebrow {
  display: inline-block;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brown);
  font-weight: 600;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: .95rem;
  line-height: 1;
  border: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-sm { padding: 9px 20px; font-size: .85rem; }
.btn-lg { padding: 17px 42px; font-size: 1.05rem; font-weight: 600; }
.btn-primary {
  background: var(--cta);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(141, 117, 104, .35);
}
.btn-primary:hover {
  background: var(--brown-dark);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(141, 117, 104, .45);
}
.btn-secondary {
  background: var(--lila);
  color: var(--brown-dark);
}
.btn-secondary:hover { background: #BFB4DD; text-decoration: none; }
.btn-outline {
  background: transparent;
  border: 1px solid var(--brown);
  color: var(--brown);
  padding: 11px 28px;
}
.btn-outline:hover { background: var(--brown); color: var(--white); text-decoration: none; }
.btn-ghost {
  background: transparent;
  color: var(--brown);
}
.btn-ghost:hover { background: rgba(141,117,104,.08); text-decoration: none; }

/* ---------- Navigation ---------- */
.site-nav {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(141,117,104,.12);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px;
  gap: 20px;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark-img {
  height: 56px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  gap: 26px;
  align-items: center;
  margin-left: auto;
  margin-right: 18px;
}
.nav-links a {
  font-family: 'Poppins', sans-serif;
  font-size: .875rem;
  color: var(--text);
  font-weight: 500;
  position: relative;
}
.nav-links a:hover { color: var(--brown); text-decoration: none; }
.nav-links a.active { color: var(--brown); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--brown);
  border-radius: 2px;
}
.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brown);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: background .2s ease;
}
.cart-link:hover { background: rgba(141,117,104,.10); text-decoration: none; }
.cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--cta);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(141,117,104,.4);
}
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brown);
  border-radius: 2px;
  margin: 2.5px 0;
  transition: transform .2s ease, opacity .2s ease;
}
.mobile-menu {
  background: var(--white);
  border-top: 1px solid var(--gray);
  padding: 16px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
[hidden] { display: none !important; }
.mobile-menu a {
  font-weight: 500;
  color: var(--text);
  padding: 6px 0;
  border-bottom: 1px dashed rgba(141,117,104,.18);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 70px 0 70px;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 80% -10%, var(--pink-light), transparent 60%),
    radial-gradient(700px 500px at 0% 110%, var(--lila), transparent 60%),
    var(--bg);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 { margin-top: 14px; }
.hero h1 .accent {
  background: linear-gradient(120deg, transparent 0%, transparent 8%, var(--yellow) 8%, var(--yellow) 92%, transparent 92%);
  padding: 0 .1em;
  border-radius: 4px;
}
.hero p.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 0 28px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  flex-direction: row;
}
.hero-bullets {
  list-style: none;
  padding: 0 8px;
  margin: 0;
  font-size: .88rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.hero-bullets li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-bullets li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--brown);
  border-radius: 50%;
  display: inline-block;
}
.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art > img.illustration {
  width: 100%;
  max-width: 600px;
  filter: drop-shadow(0 18px 30px rgba(60, 40, 30, .15));
}

/* Flytande dekorationer (sparkles, hearts, clouds) */
.deco {
  position: absolute;
  pointer-events: none;
  user-select: none;
  opacity: .9;
  animation: floaty 6s ease-in-out infinite;
}
.deco-sparkle { width: 46px; height: 46px; }
.deco-heart   { width: 38px; height: 38px; }
.deco-cloud   { width: 80px; height: auto; }
.deco-star    { width: 50px; height: 50px; }
.deco-leaves  { width: 70px; height: auto; }
.deco-flower  { width: 56px; height: auto; }
.deco-dot     { width: 16px; height: 16px; }
.deco--slow   { animation-duration: 9s; }
.deco--fast   { animation-duration: 4.5s; }
.deco--spin   { animation-name: spin; animation-duration: 18s; animation-timing-function: linear; }
@keyframes floaty {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%     { transform: translateY(-10px) rotate(4deg); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section--alt { background: var(--white); }
.section--pink { background: var(--pink-light); }
.section--green { background: var(--light-green); }
.section--lila { background: var(--lila); }
.section h2 { text-align: center; }
.section-subtitle {
  text-align: center;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 44px;
  font-size: 1rem;
}

/* ---------- Steps / Så fungerar det ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.step {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(141,117,104,.08);
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.step-icon {
  width: 92px;
  height: 92px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--pink-light);
}
.step:nth-child(2) .step-icon { background: var(--lila); }
.step:nth-child(3) .step-icon { background: var(--green); }
.step:nth-child(4) .step-icon { background: var(--peach); }
.step-icon img { width: 74px; height: 74px; object-fit: contain; }
.step-num {
  position: absolute;
  top: 7%;
  right: 36%;
  width: 38px;
  height: 38px;
  background: var(--bg);
  border-radius: 50%;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  color: var(--brown);
  font-size: .785rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: rgba(0, 0, 0, 0.1) 1px 5px 5px;
}
.step h3 { margin: 26px 0 16px; }
.step p { font-size: .7rem; color: var(--muted); margin: 0; }

/* ---------- Shipping banner (startsida, under header) ---------- */
.shipping-banner {
  background: var(--lila);
  color: var(--brown-dark);
  text-align: center;
  padding: 10px 18px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .03em;
}

/* ---------- Offer banner ---------- */
.offer-banner {
  background: linear-gradient(135deg, var(--lila), var(--pink-light));
  border-radius: var(--radius-lg);
  padding: 26px 32px;
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0 auto;
  max-width: 1000px;
  position: relative;
  overflow: hidden;
}
.offer-banner .offer-icon {
  width: 76px; height: auto; flex-shrink: 0;
}
.offer-banner .offer-text { flex: 1; min-width: 0; }
.offer-banner h3 {
  margin: 0 0 4px;
  font-size: 1.2rem;
  color: var(--brown-dark);
}
.offer-banner p {
  margin: 0;
  font-size: .92rem;
  color: var(--muted);
}
.offer-banner .offer-badge {
  background: var(--white);
  color: var(--brown-dark);
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.4rem;
  font-family: 'Quicksand', sans-serif;
}

/* ---------- Products ---------- */
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 22px 24px;
  border: 2px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
  text-align: center;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--brown-soft);
  box-shadow: var(--shadow-md);
}
.product-card.popular {
  border-color: var(--cta);
  box-shadow: var(--shadow-md);
  background: #fdfaff;
}
.product-card.popular::after {
  content: 'POPULÄR';
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cta);
  color: var(--white);
  font-size: .65rem;
  letter-spacing: .14em;
  padding: 4px 14px;
  border-radius: 999px;
  font-weight: 600;
}
.product-card .product-label {
  font-size: .78rem;
  color: var(--brown);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.product-card .pages {
  font-family: 'Quicksand', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--brown-dark);
  line-height: 1;
  margin: 14px 0 2px;
}
.product-card .pages-label { font-size: .9rem; color: var(--muted); }
.product-card .price {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--brown-dark);
  margin: 12px 0 4px;
  font-family: 'Quicksand', sans-serif;
}
.product-card .description {
  font-size: .82rem;
  color: var(--muted);
  margin: 4px 0 16px;
  min-height: 32px;
}
.product-card .btn { padding: 1rem 2rem; }

/* ---------- Examples / Before-After ---------- */
.examples-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.examples-grid.examples-films {
  grid-template-columns: repeat(4, 1fr);
}
.example {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--bg);
}
.example img { width: 100%; height: 100%; object-fit: cover; }
.example .label {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 14px 16px 50px;
  background: linear-gradient(rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0));
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
}

.before-after {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 18px;
}
.before-after-inner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #eee;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}
.before-after-inner .ba-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}
.before-after-inner .ba-img.after {
  clip-path: inset(0 0 0 var(--ba-pos, 50%));
}
.before-after-inner .ba-divider {
  position: absolute; top: 0; bottom: 0;
  left: var(--ba-pos, 50%);
  width: 3px;
  background: var(--white);
  box-shadow: 0 0 14px rgba(0,0,0,.3);
  transform: translateX(-1.5px);
  pointer-events: none;
}
.before-after-inner .ba-handle {
  position: absolute; top: 50%;
  left: var(--ba-pos, 50%);
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 4px 18px rgba(0,0,0,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--brown);
  pointer-events: none;
}
.before-after-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  font-size: .8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-list details {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  border: 1px solid rgba(141,117,104,.12);
  overflow: hidden;
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  color: var(--brown-dark);
  outline: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  font-family: 'Quicksand', sans-serif;
  font-size: 1.5rem;
  color: var(--brown);
  transition: transform .2s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list .content {
  padding: 0 22px 18px;
  color: var(--muted);
  font-size: .94rem;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  padding: 56px 24px;
  text-align: center;
  background: var(--pink-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0 22px;
}
.cta-banner h2 { margin: 0 0 10px; }
.cta-banner p { margin: 0 auto 22px; max-width: 460px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brown-dark);
  color: #EDE3D8;
  padding: 60px 0 24px;
  font-size: .75rem;
  margin-top: 60px;
}
.site-footer a { color: #EDE3D8; }
.site-footer a:hover { color: var(--white); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.footer-logo {
  width: 180px;
  height: auto;
  margin-bottom: 8px;
  opacity: .95;
}
.footer-tag { opacity: .8; margin: 0 0 14px; font-size: .9rem; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}
.footer-socials a:hover { background: rgba(255,255,255,.15); }
.footer-list { list-style: none; padding: 0; margin: 12px 0 0; line-height: 2; opacity: .9; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  font-size: .8rem;
  opacity: .7;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- Wizard progress (oförändrad logik, ny skin) ---------- */
.wizard-progress {
  display: flex;
  justify-content: space-between;
  max-width: 620px;
  margin: 20px auto;
  position: relative;
}
.wizard-progress::before {
  content: '';
  position: absolute;
  top: 18px; left: 40px; right: 40px;
  height: 4px;
  background: var(--gray);
  z-index: 0;
  border-radius: 2px;
}
.step-dot {
  width: 38px; height: 38px;
  background: var(--white);
  border: 3px solid var(--gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 700;
  z-index: 1;
  color: var(--brown);
  font-family: 'Quicksand', sans-serif;
}
.step-dot.active {
  border-color: var(--brown);
  background: var(--brown);
  color: var(--white);
  transform: scale(1.05);
}
.step-dot.done {
  background: var(--green);
  border-color: var(--brown);
  color: var(--brown-dark);
}

.parent {display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 1fr); gap: 18px;}
.parent img {height: 100%; object-fit: cover; border-radius: 18px;}
.parent .div3 {grid-column: span 2 / span 2;}
.parent .div4 {grid-column: span 2 / span 2; grid-row-start: 2;}
.parent .div5 {grid-column: span 2 / span 2; grid-column-start: 3; grid-row-start: 2;}

video {aspect-ratio: 1 / 1; object-fit: cover; width: 100%; height: auto; margin-bottom: -8px;}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { padding: 10px 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-art { order: -1; height: 200px;}
  .hero-art > img.illustration { max-width: 320px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .products { grid-template-columns: 1fr 1fr; }
  .examples-grid,
  .examples-grid.examples-films { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; flex-direction: column; }
  .brand-mark-img { height: 40px; }
  .nav-inner {padding: 10px 16px;}
  .nav-inner .btn { display: none; }
  .cart-link { margin-left: auto; }
  .nav-toggle { margin-left: 4px; }
  .section { padding: 50px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .offer-banner { flex-direction: column; text-align: center; gap: 14px; padding: 22px; }
  .offer-banner .offer-badge { font-size: 1.2rem; }
  .hero h1 { font-size: 1.6rem; margin-top: 0;}
  .hero p.lead { font-size: 1rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn-outline {padding: 16px 28px;}
  .brand-signature {display: none;}
  .parent {gap: 8px;}
  .hero-bullets {display: none;}
}
@media (max-width: 520px) {
  .products { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .examples-grid,
  .examples-grid.examples-films { grid-template-columns: 1fr; }
}

/* ---------- Tillbehör ---------- */
.acc-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
}
.acc-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(141,117,104,.08);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  transition: transform .25s ease, box-shadow .25s ease;
}
.acc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.acc-card .acc-media {
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 22px;
}
.acc-card .acc-media img {
  width: 100%;
  height: 100%;
  max-height: 280px;
  object-fit: contain;
}
.acc-card .acc-media .acc-placeholder { font-size: 2.6rem; opacity: .5; }
.acc-card .acc-body {
  padding: 22px 24px 20px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.acc-card h3 { margin: 0 0 8px; font-size: 1.28rem; line-height: 1.25; }
.acc-desc-wrap { margin: 0 0 8px; }
.acc-desc {
  font-size: .92rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.acc-desc-wrap.is-open .acc-desc {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}
.acc-more {
  display: inline-block;
  margin-top: 6px;
  padding: 0;
  border: none;
  background: none;
  color: var(--brown);
  font: 600 .82rem/1.2 inherit;
  cursor: pointer;
}
.acc-more:hover { text-decoration: underline; color: var(--brown-dark); }
.acc-card .acc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 14px;
}
.acc-card .acc-price { font-weight: 700; color: var(--brown-dark); font-size: 1.15rem; }
@media (max-width: 720px) {
  .acc-card { grid-template-columns: 1fr; }
  .acc-card .acc-media { min-height: 200px; padding: 18px; }
  .acc-card .acc-media img { max-height: 220px; }
  .acc-card .acc-body { padding: 16px 18px 18px; }
}

/* Toast-feedback för "tillagd i varukorg" */
.cart-toast {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--brown-dark);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: .9rem;
  box-shadow: 0 8px 24px rgba(60,40,30,.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 2000;
}
.cart-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Miniatyr av omslag (foto + ram + text) */
.cover-mini {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 210 / 297;
  overflow: hidden;
  background: #f4ede4;
  container-type: inline-size;
}
.cover-mini .photo,
.cover-mini .frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-orientation: from-image;
}
.cover-mini .photo { z-index: 1; transform-origin: center center; }
.cover-mini .frame { z-index: 3; pointer-events: none; }
.cover-mini .cover-text {
  position: absolute;
  left: 50%;
  top: 84.5%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 4;
  font-family: 'Neue Mail', 'Quicksand', sans-serif;
  font-weight: 500;
  font-size: 6.8cqw;
  color: #5C4A40;
  line-height: 1.15;
  max-width: 68%;
  pointer-events: none;
  -webkit-text-stroke: 0.055em #fff;
  paint-order: stroke fill;
  text-shadow:
    -1px -1px 0 #fff,
     1px -1px 0 #fff,
    -1px  1px 0 #fff,
     1px  1px 0 #fff;
}
.cover-mini .cover-text .t1,
.cover-mini .cover-text .t2 { display: block; font-size: 1em; }
.cover-mini .cover-text .t2 { margin-top: 0.08em; }

/* ---------- Prose (statiska sidor: om oss, villkor, policy) ---------- */
.prose { color: var(--text); line-height: 1.7; font-size: 1rem; }
.prose h2 { margin: 32px 0 12px; font-size: 1.4rem; }
.prose h3 { margin: 24px 0 8px; font-size: 1.1rem; color: var(--brown-dark); }
.prose p { margin: 0 0 16px; color: var(--muted); }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px; color: var(--muted); }
.prose li { margin-bottom: 6px; }
.page-meta { font-size: .85rem; color: var(--muted); margin-bottom: 28px; }

/* Om oss – grundare + porträtt */
.about-grid {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: 48px 64px;
  align-items: start;
  max-width: 1020px;
  margin: 0 auto;
}
.about-photo {
  position: sticky;
  top: 110px;
  margin: 0;
}
.about-photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 12px;
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: rotate(-1.4deg);
}
.about-photo-frame img {
  width: 100%;
  border-radius: calc(var(--radius-lg) - 8px);
  height: 700px;
  object-fit: cover;
  object-position: center 28%;
  display: block;
}
.about-photo-frame .deco {
  position: absolute;
  z-index: 2;
}
.about-photo-frame .deco-star  { width: 54px; height: 54px; top: -22px; right: -16px; }
.about-photo-frame .deco-heart { width: 40px; height: 40px; bottom: -16px; left: -14px; }
.about-photo figcaption {
  text-align: center;
  font-family: 'Comfortaa', 'Quicksand', cursive;
  font-style: italic;
  font-size: .92rem;
  color: var(--brown);
  margin-top: 22px;
}
.about-greeting {
  font-family: 'Quicksand', 'Comfortaa', system-ui, sans-serif;
  font-size: clamp(1.4rem, 2.8vw, 1.7rem);
  font-weight: 700;
  color: var(--brown-dark);
  margin: 0 0 18px;
  line-height: 1.3;
}
.about-prose p { font-size: 1.05rem; }
.about-highlight {
  background: var(--pink-light);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 30px 0;
  border-left: 4px solid var(--pink);
  font-size: 1.05rem;
}
.about-highlight p { margin: 0; color: var(--brown-dark); }
.about-signature {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}
.about-signature .sig-name {
  font-family: 'Comfortaa', 'Quicksand', cursive;
  font-style: italic;
  font-size: 1.6rem;
  color: var(--brown-dark);
  line-height: 1;
}
.about-signature img { width: 30px; height: 30px; }

/* Värderingar / små kort */
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1020px;
  margin: 0 auto;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.value-card .value-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  object-fit: contain;
}
.value-card h3 { font-size: 1.1rem; margin: 0 0 8px; }
.value-card p { color: var(--muted); font-size: .92rem; margin: 0; line-height: 1.6; }

/* Avslutande CTA-band */
.about-cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(600px 300px at 15% -20%, var(--lila), transparent 60%),
    radial-gradient(600px 300px at 100% 120%, var(--pink-light), transparent 60%),
    var(--white);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  max-width: 1020px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}
.about-cta-band > * { position: relative; z-index: 1; }
.about-cta-band .deco { z-index: 0; }
.about-cta-band h2 { margin: 0 0 10px; }
.about-cta-band p { color: var(--muted); max-width: 460px; margin: 0 auto 26px; }

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    max-width: 460px;
  }
  .about-photo { position: static; max-width: 360px; margin: 0 auto; }
  .about-photo-frame img { height: 400px; object-position: center 22%; }
  .about-values { grid-template-columns: 1fr; max-width: 460px; gap: 16px; }
  .value-card { padding: 24px; }
  .about-cta-band { padding: 44px 24px; }
}

/* ---------- Utilities ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
