/* Gemensamma förbättringar för alla sidor */
html { scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* Hoppa till innehållet – syns bara när man tabbar med tangentbordet */
.skip { position: absolute; left: -9999px; top: 12px; z-index: 200; background: #fff; color: #0e3a47; padding: 10px 18px; border-radius: 999px; font: 600 15px Inter, sans-serif; text-decoration: none; }
.skip:focus { left: 16px; }

/* Menyn följer med när man scrollar */
body > div > header, .site-header { position: sticky; top: 0; z-index: 100; transition: box-shadow .2s; }
.is-scrolled { box-shadow: 0 6px 24px rgba(5, 25, 32, .28); }

/* Tydlig tangentbordsfokus */
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #ffb38f; outline-offset: 3px; border-radius: 6px; }

/* Aktiv sida i menyn */
nav[aria-label="Huvudmeny"] a[aria-current="page"] { color: #ffb38f !important; box-shadow: inset 0 -2px 0 #ffb38f; }

/* Säsongsstatus på startsidan */
#season-status { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 8px 16px 8px 12px; border-radius: 999px; background: rgba(255,255,255,.14); color: #fff; font: 600 15px Inter, sans-serif; backdrop-filter: blur(4px); }
#season-status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #ffb38f; box-shadow: 0 0 0 4px rgba(255,179,143,.25); }
#season-status.open::before { background: #6fe0a0; box-shadow: 0 0 0 4px rgba(111,224,160,.25); }

/* Mobilmeny */
.menu-btn { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.35); background: transparent; color: #f3f1ec; font: 600 15px Inter, sans-serif; cursor: pointer; }
.menu-btn svg { width: 18px; height: 18px; }
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; margin-left: auto; }
  nav[aria-label="Huvudmeny"] { display: none !important; order: 10; width: 100%; flex-direction: column; gap: 0 !important; padding: 6px 0 4px; }
  nav[aria-label="Huvudmeny"].open { display: flex !important; }
  nav[aria-label="Huvudmeny"] a { padding: 13px 4px !important; border-top: 1px solid rgba(255,255,255,.12); font-size: 17px; border-bottom: 0 !important; }
  nav[aria-label="Huvudmeny"] a[aria-current="page"] { box-shadow: inset 3px 0 0 #ffb38f; padding-left: 14px !important; }
}
.nav-buy { display: none; }
@media (max-width: 560px) {
  header .header-buy { display: none !important; }
  nav[aria-label="Huvudmeny"] .nav-buy { display: block; margin: 8px 0 6px; padding: 14px 18px !important; border: 0 !important; border-radius: 999px; background: #e2572b; color: #fff !important; text-align: center; font-weight: 700; }
  header > div:first-child { padding-left: 16px !important; padding-right: 16px !important; gap: 10px !important; }
  header > div:first-child > a:first-child { gap: 10px !important; }
  header > div:first-child > a:first-child img { height: 40px !important; }
  header > div:first-child > a:first-child span { font-size: 18px !important; }
}
@media print {
  header, footer, .skip, .menu-btn, iframe { display: none !important; }
}

/* ---------- Cookies och externt innehåll ---------- */
.footer-link { background: none; border: 0; padding: 0; color: #9fc7cf; font: inherit; text-decoration: underline; cursor: pointer; }
.consent-placeholder { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; padding: 28px; border-radius: 10px; background: linear-gradient(135deg, #e8f0ef, #d3e2e0); color: #0d2229; box-sizing: border-box; }
.consent-placeholder .cp-title { margin: 0; font: 700 20px Archivo, sans-serif; }
.consent-placeholder .cp-text { margin: 0; max-width: 520px; color: #3a4f55; font-size: 15px; }
.consent-placeholder .cp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.consent-placeholder button { min-height: 44px; padding: 0 18px; border-radius: 999px; font: 600 15px Inter, sans-serif; cursor: pointer; }
.consent-placeholder .cp-show { background: #0e3a47; color: #fff; border: 1.5px solid #0e3a47; }
.consent-placeholder .cp-always { background: #fff; color: #0d2229; border: 1.5px solid #c5d0d0; }
.consent-placeholder .cp-more { color: #0e3a47; font-size: 14px; }
.consent-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300; max-width: 560px; margin-left: auto; padding: 22px; border-radius: 18px; background: #fff; color: #0d2229; box-shadow: 0 12px 40px rgba(5, 25, 32, .3); font: 15px/1.5 Inter, sans-serif; }
.consent-banner h2 { margin: 0 0 6px; font: 700 19px Archivo, sans-serif; }
.consent-banner p { margin: 0 0 14px; color: #3a4f55; }
.consent-banner .cb-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.consent-banner .cb-actions button { flex: 1 1 180px; min-height: 46px; border-radius: 999px; font: 600 15px Inter, sans-serif; cursor: pointer; }
.consent-banner .cb-all { background: #0e3a47; color: #fff; border: 1.5px solid #0e3a47; }
.consent-banner .cb-nec { background: #fff; color: #0e3a47; border: 1.5px solid #0e3a47; }
.consent-banner a { color: #0e3a47; }
