/* ============================================================
   THORNTON — site stylesheet
   Client design tokens: Archivo Expanded display, Archivo body,
   Space Mono specs/labels; ink + paper + signal-orange.
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,500&family=Archivo+Expanded:wght@600;700;800;900&family=Space+Mono:wght@400;700&display=swap');

:root{
  --orange:#f29211; --orange-600:#d97e08; --orange-tint:#fef4e6;
  --ink:#0d0d0d; --ink-900:#191919; --ink-800:#232323; --ink-700:#2e2e2e;
  --gray-500:#6b6b6b; --gray-400:#969696; --gray-300:#c2c2c2; --gray-200:#e0e0e0; --gray-100:#f0f0f0;
  --paper:#f7f7f5; --white:#ffffff;
  --danger:#b23224; --danger-bg:#f4e4e1;
  --font-display:'Archivo Expanded','Archivo',system-ui,sans-serif;
  --font-sans:'Archivo',system-ui,-apple-system,sans-serif;
  --font-mono:'Space Mono',ui-monospace,'SF Mono',monospace;
}
*{box-sizing:border-box;}
html{ -webkit-text-size-adjust:100%; }
body{
  background:var(--paper); color:var(--ink); font-family:var(--font-sans);
  margin:0; -webkit-font-smoothing:antialiased;
}
img{max-width:100%; display:block;}
a{color:inherit;}
.wrap{max-width:1180px; margin-inline:auto; padding-inline:20px;}
@media (min-width:900px){ .wrap{padding-inline:28px;} }
h1,h2,h3{ margin:0; font-family:var(--font-display); font-weight:800; text-transform:lowercase; letter-spacing:-0.015em; text-wrap:balance;}
p{ text-wrap:pretty; }

.eyebrow{ font-family:var(--font-mono); font-size:11px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--orange); display:inline-block; }
.eyebrow.muted{ color:var(--gray-500); }
.eyebrow.light{ color:var(--gray-400); }

/* ---------- header ---------- */
header.site{ position:sticky; top:0; z-index:50; background:var(--ink); border-bottom:1px solid var(--ink-700); }
header.site .bar{ display:flex; align-items:center; gap:16px; height:60px; flex-wrap:nowrap; }
header.site img.logo{ height:18px; flex-shrink:0; }
header.site nav{ display:flex; gap:2px; flex:1 1 auto; min-width:0; overflow-x:auto; scrollbar-width:none; -ms-overflow-style:none; }
header.site nav::-webkit-scrollbar{ display:none; }
header.site nav a{ font-family:var(--font-sans); font-size:12.5px; font-weight:600; letter-spacing:.02em; text-transform:uppercase; color:#fff; text-decoration:none; padding:8px 9px; border-radius:2px; white-space:nowrap; flex-shrink:0; }
header.site nav a:hover, header.site nav a.active{ color:var(--orange); }
header.site .spacer{ flex:0 0 0; }
header.site .mail{ font-family:var(--font-mono); font-size:12px; color:var(--gray-400); letter-spacing:.04em; white-space:nowrap; flex-shrink:0; }

@media (max-width:860px){
  header.site .mail{ display:none; }
  header.site .spacer{ flex:1 1 auto; }

  /* --- NY TILFØJELSE: WRAP LØSNINGEN --- */
  header.site .bar {
    height: auto;
    min-height: 60px;
    flex-wrap: wrap;       /* Tillader at indholdet wrapper */
    padding: 12px 0;       /* Giver lidt luft når den wrapper */
  }
  header.site nav {
    flex-wrap: wrap;       /* Menupunkterne falder til ny linje */
    overflow-x: visible;   /* Fjerner den horisontale scroll */
    width: 100%;           /* Bruger fuld bredde når den wrapper */
    gap: 4px;
  }
  header.site nav a {
    white-space: normal;   /* Tillader at lange links også må wrappe */
  }
}
header.site .btn{ flex-shrink:0; white-space:nowrap; }

.btn{ font-family:var(--font-sans); font-weight:700; font-size:13px; letter-spacing:.02em; text-transform:uppercase; text-decoration:none; display:inline-flex; align-items:center; justify-content:center; padding:10px 18px; border-radius:2px; border:2px solid transparent; cursor:pointer; }
.btn-primary{ background:var(--orange); color:var(--ink); }
.btn-primary:hover{ background:var(--orange-600); }
.btn-outline{ background:transparent; color:#fff; border-color:var(--ink-700); }
.btn-outline:hover{ border-color:var(--orange); color:var(--orange); }
.btn-outline-dark{ background:transparent; color:var(--ink); border-color:var(--ink); }
.btn-outline-dark:hover{ background:var(--ink); color:#fff; }
.btn-dark{ background:var(--ink); color:#fff; }
.btn-dark:hover{ background:var(--ink-800); }

/* ---------- breadcrumb ---------- */
.crumb{ font-family:var(--font-mono); font-size:12px; letter-spacing:.05em; }
.crumb a{ color:var(--gray-400); text-decoration:none; }
.crumb a:hover{ color:var(--orange); }
.crumb span.sep{ color:var(--gray-400); margin:0 4px; }
.crumb span.current{ color:var(--orange); }
.crumb.on-light a{ color:var(--gray-500); }
.crumb.on-light span.current{ color:var(--orange); }

/* ---------- hero (home) ---------- */
.hero{ background:var(--ink); position:relative; overflow:hidden; }
.hero .inner{ position:relative; z-index:2; padding-block:64px 72px; }
.hero h1{ color:#fff; font-size:clamp(40px,8vw,84px); line-height:.96; margin-top:16px; max-width:760px; }
.hero h1 em{ font-style:normal; color:var(--orange); }
.hero p{ font-family:var(--font-sans); font-size:17px; line-height:1.55; color:var(--gray-300); max-width:520px; margin:20px 0 0; }
.hero .ctas{ display:flex; gap:12px; margin-top:28px; flex-wrap:wrap; }
.hero .ring{ position:absolute; border-radius:50%; pointer-events:none; }
.hero .ring1{ right:-100px; bottom:-140px; width:440px; height:440px; border:1px solid rgba(255,255,255,.07); }
.hero .ring2{ right:20px; bottom:-60px; width:300px; height:300px; border:1px solid rgba(242,146,17,.25); }
.hero .edge{ position:absolute; right:0; top:0; bottom:0; width:6px; background:var(--orange); }

/* ---------- page band (category/product/simple pages) ---------- */
.pageband{ background:var(--ink); padding:32px 0 40px; }
.pageband h1{ color:#fff; font-size:clamp(30px,5vw,52px); margin-top:14px; }
.pageband p{ font-family:var(--font-sans); font-size:15px; line-height:1.55; color:var(--gray-300); max-width:600px; margin:14px 0 0; }
.pageband .count{ font-family:var(--font-mono); font-size:12px; color:var(--gray-400); letter-spacing:.06em; margin-top:14px; display:block; }

/* ---------- stat strip ---------- */
.stats{ background:var(--orange); }
.stats .grid{ display:grid; grid-template-columns:repeat(2,1fr); }
@media (min-width:700px){ .stats .grid{ grid-template-columns:repeat(4,1fr); } }
.stats .cell{ padding:22px 20px; border-right:1px solid rgba(13,13,13,.18); border-bottom:1px solid rgba(13,13,13,.18); }
@media (min-width:700px){ .stats .cell{ border-bottom:0; } }
.stats .n{ font-family:var(--font-display); font-weight:800; font-size:30px; color:var(--ink); line-height:1; }
.stats .l{ font-family:var(--font-mono); font-size:11px; color:var(--ink); letter-spacing:.06em; margin-top:6px; opacity:.82; }

/* ---------- featured-products slider (home, under hero) ---------- */
.featured-slider{ background:var(--ink-900); padding:44px 0 48px; }
.featured-slider .eyebrow{ color:var(--orange); }
.featured-slider h2{ color:#fff; }
.featured-slider .head{ display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin-bottom:22px; flex-wrap:wrap; }
.slider-nav{ display:flex; gap:8px; }
.slider-btn{ width:38px; height:38px; border:2px solid #fff; background:transparent; color:#fff; border-radius:2px; font-size:19px; line-height:1; cursor:pointer; display:flex; align-items:center; justify-content:center; font-family:var(--font-sans); }
.slider-btn:hover:not(:disabled){ background:var(--orange); border-color:var(--orange); color:var(--ink); }
.slider-btn:disabled{ opacity:.3; cursor:default; }
.slider-track{ display:flex; gap:18px; overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:4px; scrollbar-width:none; -ms-overflow-style:none; }
.slider-track::-webkit-scrollbar{ display:none; }
.slider-slide{ flex:0 0 220px; scroll-snap-align:start; }
@media (min-width:700px){ .slider-slide{ flex-basis:250px; } }
.slider-slide .card{ height:100%; }

/* ---------- category tiles (home) ---------- */
.tiles{ background:var(--paper); border-bottom:1px solid var(--gray-200); }
.tiles .grid{ display:grid; grid-template-columns:repeat(2,1fr); }
@media (min-width:700px){ .tiles .grid{ grid-template-columns:repeat(4,1fr); } }
.tiles a.tile{ padding:26px 20px; border-right:1px solid var(--gray-200); border-bottom:1px solid var(--gray-200); text-decoration:none; display:block; }
.tiles a.tile:hover{ background:var(--white); }
.tiles a.tile .name{ font-family:var(--font-sans); font-size:16px; font-weight:600; margin-top:8px; color:var(--ink); }
.tiles a.tile .go{ font-family:var(--font-mono); font-size:11.5px; color:var(--orange); margin-top:10px; display:inline-block; letter-spacing:.06em; }

/* ---------- section ---------- */
.section{ padding:52px 0; }
.section.bordered{ border-bottom:1px solid var(--gray-200); }
.section .head{ display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin-bottom:26px; flex-wrap:wrap; }
.section .head h2{ font-size:clamp(24px,4vw,34px); margin-top:8px; }

/* ---------- gear index (speakers hub) ---------- */
.subcat-grid{ display:grid; grid-template-columns:1fr; gap:14px; }
@media (min-width:640px){ .subcat-grid{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:960px){ .subcat-grid{ grid-template-columns:repeat(3,1fr); } }
.subcat-card{ border:2px solid var(--ink); background:var(--white); padding:20px; text-decoration:none; display:flex; flex-direction:column; gap:6px; }
.subcat-card:hover{ background:var(--orange-tint); }
.subcat-card .name{ font-family:var(--font-sans); font-size:17px; font-weight:700; color:var(--ink); }
.subcat-card .desc{ font-family:var(--font-sans); font-size:13px; color:var(--gray-500); line-height:1.4; }
.subcat-card .go{ margin-top:auto; padding-top:10px; font-family:var(--font-mono); font-size:11px; color:var(--orange); letter-spacing:.06em; }

/* ---------- product cards ---------- */
.grid-cards{ display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:18px; }
.card{ background:var(--white); border:2px solid var(--ink); border-radius:2px; display:flex; flex-direction:column; overflow:hidden; text-decoration:none; color:inherit; }
.card:hover{ border-color:var(--orange); }
.card .media{ aspect-ratio:4/3; border-bottom:2px solid var(--ink); position:relative; background:var(--ink-900); display:flex; align-items:center; justify-content:center; overflow:hidden; }
.card .media img{ width:100%; height:100%; object-fit:cover; }
.card .media .mono{ font-family:var(--font-display); font-weight:900; font-size:15px; letter-spacing:.02em; color:rgba(255,255,255,.5); text-align:center; padding:10px; line-height:1.15; text-transform:uppercase; }
.card .badgewrap{ position:absolute; top:10px; left:10px; display:flex; gap:6px; flex-wrap:wrap; }
.badge{ font-family:var(--font-mono); font-size:9.5px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; padding:4px 7px; border-radius:2px; background:var(--ink); color:#fff; }
.badge.brand{ background:var(--orange); color:var(--ink); }
.badge.discontinued{ background:var(--danger); color:#fff; }
.card .body{ padding:14px 14px 16px; display:flex; flex-direction:column; gap:5px; flex:1; }
.card .cat{ font-family:var(--font-mono); font-size:9.5px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--orange); }
.card .name{ font-size:16.5px; font-weight:700; color:var(--ink); line-height:1.18; }
.card .tag{ font-size:12.5px; color:var(--gray-500); line-height:1.35; }
.card .specs{ margin-top:auto; padding-top:10px; border-top:1px solid var(--gray-200); display:flex; flex-direction:column; gap:3px; }
.card .spec{ display:flex; justify-content:space-between; font-family:var(--font-mono); font-size:10.5px; color:var(--gray-500); }
.card .spec b{ color:var(--ink); font-weight:700; }
.card.discontinued{ border-color:var(--gray-300); opacity:.86; }
.card.discontinued .media{ background:var(--gray-200); filter:grayscale(1); }
.card.discontinued .name{ color:var(--gray-500); text-decoration:line-through; text-decoration-color:var(--danger); text-decoration-thickness:1.5px; }
.card.discontinued .cat{ color:var(--gray-400); }

/* ---------- discontinued notice ---------- */
.disc-note{ background:var(--danger-bg); border:1px solid var(--danger); border-radius:2px; padding:16px 18px; margin-bottom:24px; display:flex; gap:12px; align-items:flex-start; }
.disc-note .dot{ width:8px; height:8px; border-radius:50%; background:var(--danger); margin-top:6px; flex-shrink:0; }
.disc-note p{ margin:0; font-family:var(--font-sans); font-size:13px; line-height:1.5; color:#5c1c12; }
.disc-note b{ color:var(--danger); }
.disc-note a{ color:var(--danger); font-weight:700; }

/* ---------- product detail ---------- */
.pd-grid{ display:grid; grid-template-columns:1fr; gap:36px; align-items:start; }
@media (min-width:860px){ .pd-grid{ grid-template-columns:1.05fr 1fr; gap:56px; } }
.pd-media{ display:flex; flex-direction:column; gap:10px; }
.pd-media .mono{ font-family:var(--font-display); font-weight:900; font-size:26px; color:rgba(255,255,255,.5); text-align:center; padding:20px; text-transform:uppercase; }
.pd-media-frame{ border:2px solid var(--ink); aspect-ratio:1/1; background:var(--ink-900); display:flex; align-items:center; justify-content:center; overflow:hidden; }
.pd-media-frame img{ width:100%; height:100%; object-fit:cover; }
.pd-media > .mono{ border:2px solid var(--ink); aspect-ratio:1/1; background:var(--ink-900); display:flex; align-items:center; justify-content:center; }
.pd-thumbs{ display:flex; gap:8px; flex-wrap:wrap; }
.pd-thumb{ width:64px; height:64px; padding:0; border:2px solid var(--ink-200,#ddd); background:var(--ink-900); cursor:pointer; overflow:hidden; flex:0 0 auto; }
.pd-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.pd-thumb:hover{ border-color:var(--orange); }
.pd-thumb.active{ border-color:var(--orange); border-width:3px; }
.pd-name{ font-size:clamp(30px,5vw,44px); margin-top:12px; color:var(--ink); line-height:1; }
.pd-tag{ font-family:var(--font-sans); font-size:15px; font-weight:700; color:var(--orange); margin:10px 0 0; }
.pd-desc{ font-family:var(--font-sans); font-size:15.5px; line-height:1.6; color:#2b2b2b; margin:16px 0 0; }
.pd-badges{ display:flex; gap:8px; margin:20px 0 26px; flex-wrap:wrap; }
.pd-badges .badge{ font-size:10.5px; padding:6px 10px; }
.pd-ctas{ display:flex; gap:12px; margin-bottom:30px; flex-wrap:wrap; }
table.spectable{ width:100%; border-collapse:collapse; margin-top:12px; }
table.spectable td{ padding:9px 0; border-bottom:1px solid var(--gray-200); font-family:var(--font-mono); font-size:13px; }
table.spectable td:first-child{ color:var(--gray-500); }
table.spectable td:last-child{ text-align:right; font-weight:700; color:var(--ink); }

/* ---------- related ---------- */
.related-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:16px; margin-top:16px; }

/* ---------- parts tables ---------- */
.parts-grid{ display:grid; grid-template-columns:1fr; gap:32px; }
@media (min-width:800px){ .parts-grid{ grid-template-columns:1fr 1fr; } }
table.parts{ width:100%; border-collapse:collapse; margin-top:12px; }
table.parts th{ text-align:left; font-family:var(--font-mono); font-size:10.5px; color:var(--gray-500); letter-spacing:.06em; text-transform:uppercase; padding:6px 0; border-bottom:1px solid var(--ink); }
table.parts td{ padding:9px 0; border-bottom:1px solid var(--gray-200); font-family:var(--font-sans); font-size:13.5px; vertical-align:top; }
table.parts td.model{ font-family:var(--font-mono); font-weight:700; color:var(--ink); white-space:nowrap; padding-right:14px; }
table.parts td.desc{ color:var(--gray-500); }

/* ---------- dealers ---------- */
.dealer-card{ border:1px solid var(--gray-200); background:var(--white); padding:18px; display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; }
.dealer-card .name{ font-family:var(--font-sans); font-weight:700; font-size:15px; color:var(--ink); }
.dealer-card .addr{ font-family:var(--font-mono); font-size:12px; color:var(--gray-500); margin-top:4px; }
.dealer-region{ margin-top:32px; }
.dealer-region .count{ color:var(--gray-400); font-weight:400; }
.dealer-list{ display:grid; grid-template-columns:1fr; gap:14px; margin-top:14px; }
@media (min-width:700px){ .dealer-list{ grid-template-columns:1fr 1fr; } }
.dealer-map-embed{ border:2px solid var(--ink); border-radius:2px; overflow:hidden; margin-bottom:8px; }
.dealer-map-embed iframe{ width:100%; height:440px; border:0; display:block; }

/* ---------- about value props ---------- */
.about-strip{ background:var(--ink); }
.valueprops{ display:grid; grid-template-columns:repeat(2,1fr); }
@media (min-width:700px){ .valueprops{ grid-template-columns:repeat(4,1fr); } }
.valueprops .vp{ padding:30px 24px; border-right:1px solid var(--ink-700); border-bottom:1px solid var(--ink-700); }
@media (min-width:700px){ .valueprops .vp{ border-bottom:0; } }
.valueprops .vp .t{ font-family:var(--font-display); font-weight:800; font-size:19px; color:var(--orange); margin-bottom:6px; }
.valueprops .vp .b{ font-family:var(--font-sans); font-size:12.5px; line-height:1.5; color:var(--gray-300); }

/* ---------- contact form ---------- */
.formfield{ display:flex; flex-direction:column; gap:6px; }
.formfield .lbl{ font-family:var(--font-mono); font-size:10px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--gray-500); }
.formfield input, .formfield textarea{ border:2px solid var(--gray-200); border-radius:2px; padding:12px; font-family:var(--font-sans); font-size:15px; color:var(--ink); background:var(--white); }
.formfield input:focus, .formfield textarea:focus{ outline:2px solid var(--orange); outline-offset:1px; border-color:var(--orange); }
.form-row2{ display:grid; grid-template-columns:1fr; gap:16px; }
@media (min-width:600px){ .form-row2{ grid-template-columns:1fr 1fr; } }

/* ---------- footer ---------- */
footer.site{ background:var(--ink); color:#fff; padding:48px 0 28px; }
footer.site .grid{ display:grid; grid-template-columns:1fr; gap:32px; }
@media (min-width:800px){ footer.site .grid{ grid-template-columns:1.4fr 1fr 1fr; } }
footer.site img.logo{ height:22px; margin-bottom:14px; }
footer.site p.desc{ font-family:var(--font-sans); font-size:13.5px; line-height:1.6; color:var(--gray-400); max-width:320px; margin:0; }
footer.site ul{ list-style:none; padding:0; margin:14px 0 0; display:flex; flex-direction:column; gap:9px; }
footer.site ul a{ font-family:var(--font-sans); font-size:13.5px; color:var(--gray-300); text-decoration:none; }
footer.site ul a:hover{ color:var(--orange); }
footer.site .bottom{ margin-top:36px; padding-top:20px; border-top:1px solid var(--ink-700); display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; }
footer.site .bottom span{ font-family:var(--font-mono); font-size:10.5px; color:var(--gray-500); letter-spacing:.03em; }

/* ---------- misc ---------- */
.wrap.tight{ max-width:760px; }
@media (max-width:480px){ .pd-ctas .btn{ width:100%; } }
