/*
Fil: styles.css
v0.7 - 2026-10-26 - Godkendt transparent Shåppen 2.0-logo i header og footer.
v0.1 - 2026-09-28 - Første statiske stylesheet baseret på Alternativets visuelle identitet 2025.
v0.2 - 2026-09-28 - Rettet hero-overskrift og mobilbredde, fjernet dubletsektioner og samlet kontaktblok.
v0.3 - 2026-09-29 - Kontaktblokken ændret fra mørkegrøn til lys/hvid baggrund.
v0.4 - 2026-09-29 - E-mailkontakt ændret til "Vis og kopiér"-knap med resultatfelt.
v0.6 - 2026-10-23 - Læsbar typografi, tydeligt tastaturfokus og SMS-links.
v0.5 - 2026-09-29 - Finjusteret kontaktblokkens rækkefølge og lodrette afstande.
*/
:root {
  --green: #00D564;
  --dark-green: #0E412E;
  --jade: #007A44;
  --turquoise: #4ED5A0;
  --cream: #ECF5DC;
  --khaki: #7B9930;
  --lime: #6BE235;
  --sage: #D4E8AF;
  --white: #FFFFFF;
  --ink: #0E412E;
  --max: 1180px;
  --radius-lg: 34px;
  --radius-md: 22px;
  --shadow: 0 22px 60px rgba(14, 65, 46, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--cream);
  font-family: "Inter Tight", Arial, Helvetica, sans-serif;
  line-height: 1.45;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.wrap {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.site-header {
  background: var(--cream);
  border-bottom: 1px solid rgba(14, 65, 46, 0.12);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--dark-green);
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand img {
  flex: 0 0 auto;
}

.header-note {
  color: var(--jade);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.hero {
  background: var(--green);
  padding: clamp(2rem, 4vw, 4rem) 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.hero-copy {
  min-width: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.75rem;
  color: var(--dark-green);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 100%;
  color: var(--white);
  font-size: clamp(3.1rem, 5.8vw, 4.85rem);
  line-height: 0.9;
  letter-spacing: -0.025em;
  font-weight: 800;
  white-space: nowrap;
}

.hero-lead {
  max-width: 560px;
  margin: 1.55rem 0 0;
  color: var(--dark-green);
  font-size: clamp(1.28rem, 2vw, 1.85rem);
  line-height: 1.1;
}

.hero-text {
  max-width: 560px;
  margin: 1rem 0 0;
  color: var(--dark-green);
  font-size: 1.08rem;
  line-height: 1.5;
}

.offer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.7rem 0 0;
}

.price-pill,
.stock-pill {
  flex: 0 1 160px;
  min-width: 145px;
  padding: 0.85rem 1rem;
  border-radius: 18px;
}

.price-pill {
  color: var(--lime);
  background: var(--dark-green);
}

.stock-pill {
  color: var(--dark-green);
  background: var(--sage);
}

.offer-label {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.price-pill strong,
.stock-pill strong {
  font-size: 1.45rem;
}

.product-visual {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--cream);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.product-visual img {
  width: 100%;
}

.contact-section {
  padding: clamp(2.5rem, 6vw, 5rem) 0;
  background: var(--cream);
}

.contact-panel {
  max-width: 880px;
  margin-inline: auto;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--dark-green);
  background: var(--white);
  border: 1px solid rgba(14, 65, 46, 0.10);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.contact-panel .section-kicker {
  color: var(--jade);
}

.contact-panel h2 {
  margin: 0 0 0.8rem;
  color: var(--dark-green);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
}

.contact-panel p {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.contact-panel p + p {
  margin-top: 1rem;
}

.pickup-info {
  margin-bottom: 1.35rem !important;
}

.contact-person {
  margin-top: 0 !important;
}

.email-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin: 0.55rem 0 1.35rem;
}

.payment-info {
  margin-top: 0 !important;
}

.reveal-email {
  appearance: none;
  border: 2px solid var(--jade);
  border-radius: 999px;
  padding: 0.65rem 1rem;
  color: var(--dark-green);
  background: var(--cream);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.reveal-email:hover {
  background: var(--sage);
}

.reveal-email:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.email-result {
  color: var(--jade);
  font-weight: 800;
}

.site-footer {
  padding: 2rem 0 2.6rem;
  color: var(--dark-green);
  background: var(--sage);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-inner p {
  margin: 0;
  font-size: 0.92rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
}

/* Bruges af 404.html */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.8rem 1.15rem;
  border: 2px solid var(--dark-green);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}

.button-primary {
  color: var(--green);
  background: var(--dark-green);
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .product-visual {
    width: min(100%, 680px);
    margin-inline: auto;
  }
}

@media (max-width: 600px) {
  .wrap {
    width: min(calc(100% - 1.25rem), var(--max));
  }

  .header-inner {
    min-height: 64px;
  }

  .brand {
    font-size: 1.15rem;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .header-note {
    display: none;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 13vw, 3.55rem);
    letter-spacing: -0.025em;
  }

  .hero-lead {
    font-size: 1.3rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .offer-row {
    gap: 0.65rem;
  }

  .price-pill,
  .stock-pill {
    flex: 1 1 140px;
    min-width: 0;
  }

  .contact-panel {
    border-radius: var(--radius-md);
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 350px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .offer-row {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Fælles betjening og læsbarhed. */
body { font-kerning: normal; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--jade); outline-offset: 3px;
}
.sms-link { white-space: nowrap; font-weight: 700; text-underline-offset: .2em; }
.email-result { overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .sh-product-page .header-inner { gap: .5rem; }
  .sh-product-page .brand { font-size: 1rem; gap: .4rem; }
  .sh-product-page .brand img { width: 32px; height: 32px; }
  .sh-product-page .product-nav { font-size: .85rem; gap: .65rem; }
}

/* Keep the complete approved wordmark proportional, including on small screens. */
.site-header .brand.sh-brand{max-width:100%;min-width:0;flex-shrink:0}
.site-header .brand img.sh-brand-logo{display:block;width:250px;max-width:100%;height:auto;flex:0 1 auto}
.site-footer .footer-brand img.sh-brand-logo{width:220px;max-width:100%;height:auto}
@media(max-width:600px){.site-header .brand img.sh-brand-logo{width:190px;height:auto}.site-footer .footer-brand img.sh-brand-logo{width:190px;height:auto}}

/* v0.8 2026-10-26: form feedback. */
.sh-required{color:#b32020;font-weight:800;margin-left:.25em}
[aria-invalid="true"]{outline:2px solid #b32020;outline-offset:2px}
.sh-field-error{display:block;color:#9e1717;font-size:.9rem;margin-top:.3rem}
[data-form-feedback]:not([hidden]),.sh-form-errors{padding:.8rem 1rem;background:#fff1ed;border-left:4px solid #b32020;color:#702018}
.sh-request-form input[type=checkbox]{width:1.1rem;min-height:1.1rem;height:1.1rem;flex:none}
.sh-mobile-hyphen{display:none}.sh-magnet-word{white-space:nowrap}
@media(max-width:580px){.sh-mobile-hyphen{display:inline}.sh-magnet-word{white-space:normal}.sh-magnet-word wbr{display:block}}

.sh-field-label{display:block}.sh-request-form label:has(>input[type=checkbox]){display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}

@media(max-width:580px){.sh-magnet-last{display:block}}
