/* ===== Skansen Visitor Guide — shared styles ===== */
:root{
  --blue:#005293;        /* Swedish flag blue */
  --blue-dark:#00355f;
  --yellow:#fecb00;      /* Swedish flag yellow */
  --cream:#f7f4ed;
  --ink:#1f2630;
  --muted:#5d6b7a;
  --line:#e3ddcf;
  --white:#ffffff;
  --radius:14px;
  --shadow:0 10px 30px rgba(0,40,80,.10);
  --maxw:1140px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Segoe UI",-apple-system,BlinkMacSystemFont,Roboto,Helvetica,Arial,sans-serif;
  color:var(--ink);
  background:var(--cream);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3{font-family:Georgia,"Times New Roman",serif;line-height:1.2;color:var(--blue-dark)}
a{color:var(--blue);text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;display:block}
.container{max-width:var(--maxw);margin:0 auto;padding:0 22px}

/* ---- Header ---- */
.site-header{
  position:sticky;top:0;z-index:40;
  background:var(--white);
  border-bottom:1px solid var(--line);
  box-shadow:0 2px 12px rgba(0,40,80,.05);
}
.nav{display:flex;align-items:center;justify-content:space-between;height:72px}
.brand{display:flex;align-items:center;gap:12px;font-weight:700}
.brand .mark{
  width:40px;height:40px;border-radius:8px;flex:0 0 auto;
  background:var(--blue);position:relative;
}
.brand .mark::before{content:"";position:absolute;top:0;left:13px;width:7px;height:100%;background:var(--yellow)}
.brand .mark::after{content:"";position:absolute;left:0;top:16px;width:100%;height:7px;background:var(--yellow)}
.brand b{font-family:Georgia,serif;font-size:1.2rem;color:var(--blue-dark);line-height:1.1}
.brand span{display:block;font-size:.7rem;font-weight:500;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.menu{display:flex;gap:26px;list-style:none;margin:0;padding:0;font-weight:600;font-size:.95rem}
.menu a{color:var(--ink)}
.menu a:hover{color:var(--blue);text-decoration:none}
.nav-toggle{display:none;background:none;border:0;font-size:1.6rem;cursor:pointer;color:var(--blue-dark)}

/* ---- Hero ---- */
.hero{
  background:linear-gradient(rgba(0,53,95,.62),rgba(0,53,95,.62)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='600'%3E%3Crect fill='%23005293' width='1200' height='600'/%3E%3Cpath fill='%2300355f' d='M0 420l120-40 120 30 120-60 120 40 120-50 120 35 120-45 120 55 120-40 120 30v200H0z'/%3E%3C/svg%3E");
  background-size:cover;background-position:center;
  color:#fff;text-align:center;padding:96px 0 104px;
}
.hero h1{color:#fff;font-size:2.9rem;margin:0 0 14px}
.hero p{max-width:680px;margin:0 auto 28px;font-size:1.15rem;color:#eaf2f8}
.hero .pill{display:inline-block;background:var(--yellow);color:var(--blue-dark);font-weight:700;
  padding:7px 16px;border-radius:999px;font-size:.8rem;letter-spacing:.08em;text-transform:uppercase;margin-bottom:18px}

.btn{
  display:inline-block;background:var(--yellow);color:var(--blue-dark);
  font-weight:700;padding:13px 26px;border-radius:999px;border:0;cursor:pointer;
  transition:transform .15s ease,box-shadow .15s ease;font-size:1rem;
}
.btn:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(0,0,0,.18);text-decoration:none}
.btn.outline{background:transparent;border:2px solid #fff;color:#fff}
.btn.block{display:block;width:100%;text-align:center}

/* ---- Sections ---- */
.section{padding:72px 0}
.section.alt{background:var(--white);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.section-head{text-align:center;max-width:680px;margin:0 auto 44px}
.section-head h2{font-size:2.1rem;margin:0 0 12px}
.section-head p{color:var(--muted);margin:0;font-size:1.05rem}

/* ---- Product grid ---- */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:28px}
.card{
  background:var(--white);border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;display:flex;flex-direction:column;transition:transform .18s ease,box-shadow .18s ease;
}
.card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
.card .thumb{aspect-ratio:3/4;background:var(--cream);display:flex;align-items:center;justify-content:center;overflow:hidden}
.card .thumb img{width:100%;height:100%;object-fit:cover}
.card .body{padding:18px 20px 22px;display:flex;flex-direction:column;flex:1}
.card .tag{font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;color:var(--blue);font-weight:700;margin-bottom:8px}
.card h3{font-size:1.18rem;margin:0 0 8px}
.card p{color:var(--muted);font-size:.92rem;margin:0 0 18px;flex:1}
.card .actions{display:flex;gap:10px;flex-wrap:wrap}
.card .actions .btn{padding:10px 18px;font-size:.9rem}
.link-more{font-weight:700;align-self:center;padding:10px 6px}

/* ---- Product detail ---- */
.product{display:grid;grid-template-columns:380px 1fr;gap:48px;align-items:start}
.product .cover{position:sticky;top:96px;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);border:1px solid var(--line)}
.product .cover img{width:100%}
.product .tag{font-size:.75rem;letter-spacing:.12em;text-transform:uppercase;color:var(--blue);font-weight:700}
.product h1{font-size:2.1rem;margin:10px 0 6px}
.product .byline{color:var(--muted);font-style:italic;margin:0 0 22px}
.product .lede{font-size:1.1rem;color:var(--ink)}
.product .buy-row{margin:26px 0 30px}
.specs{width:100%;border-collapse:collapse;margin-top:14px;background:var(--white);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.specs th,.specs td{text-align:left;padding:11px 16px;border-bottom:1px solid var(--line);font-size:.94rem}
.specs th{width:42%;color:var(--muted);font-weight:600;background:var(--cream)}
.specs tr:last-child th,.specs tr:last-child td{border-bottom:0}
.breadcrumb{font-size:.88rem;color:var(--muted);margin:0 0 26px}
.breadcrumb a{color:var(--muted)}

/* ---- Legal / text pages ---- */
.page-hero{background:var(--blue-dark);color:#fff;padding:54px 0;text-align:center}
.page-hero h1{color:#fff;margin:0}
.prose{max-width:780px;margin:0 auto}
.prose h2{font-size:1.45rem;margin:36px 0 10px}
.prose p,.prose li{color:#33414f}
.prose ul{padding-left:20px}
.note{background:#fff;border-left:4px solid var(--yellow);padding:16px 20px;border-radius:8px;margin:24px 0;box-shadow:var(--shadow)}

/* ---- Info strip ---- */
.strip{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.strip .item{text-align:center;padding:10px}
.strip .item .ic{font-size:2rem;margin-bottom:6px}
.strip .item h3{font-size:1.1rem;margin:0 0 6px}
.strip .item p{color:var(--muted);margin:0;font-size:.93rem}

/* ---- Footer ---- */
.site-footer{background:var(--blue-dark);color:#cfe0ee;padding:50px 0 26px;margin-top:10px}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:34px;margin-bottom:30px}
.site-footer h4{color:#fff;font-family:Georgia,serif;margin:0 0 14px;font-size:1.05rem}
.site-footer a{color:#cfe0ee}
.site-footer a:hover{color:var(--yellow);text-decoration:none}
.site-footer ul{list-style:none;padding:0;margin:0;line-height:2}
.footer-bottom{border-top:1px solid rgba(255,255,255,.15);padding-top:18px;font-size:.85rem;display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap}

/* ---- Cookie banner ---- */
.cookie{
  position:fixed;left:18px;right:18px;bottom:18px;z-index:60;
  background:var(--white);border:1px solid var(--line);border-radius:var(--radius);
  box-shadow:0 16px 40px rgba(0,30,60,.25);
  padding:18px 22px;display:none;align-items:center;gap:18px;flex-wrap:wrap;
  max-width:980px;margin:0 auto;
}
.cookie.show{display:flex}
.cookie p{margin:0;flex:1;min-width:240px;font-size:.92rem;color:var(--muted)}
.cookie .acts{display:flex;gap:10px;flex-wrap:wrap}
.cookie .btn{padding:10px 20px;font-size:.9rem}
.cookie .btn.ghost{background:transparent;border:2px solid var(--line);color:var(--ink)}

@media(max-width:860px){
  .footer-grid{grid-template-columns:1fr 1fr}
  .product{grid-template-columns:1fr;gap:28px}
  .product .cover{position:static;max-width:300px;margin:0 auto}
  .strip{grid-template-columns:1fr}
}
@media(max-width:720px){
  .menu{display:none;position:absolute;top:72px;left:0;right:0;background:#fff;flex-direction:column;
    gap:0;padding:8px 0;border-bottom:1px solid var(--line);box-shadow:var(--shadow)}
  .menu.open{display:flex}
  .menu li{padding:0 22px}
  .menu a{display:block;padding:12px 0;border-bottom:1px solid var(--line)}
  .nav-toggle{display:block}
  .hero h1{font-size:2.1rem}
  .footer-grid{grid-template-columns:1fr}
}
