@charset "UTF-8";
/* Theme Name: ISP Fallskydd
Author: AIED/RX2
Author URI: https://aied.se
Description: Tema för ISP Fallskydd AB
Text Domain: rx2
Version: 1.1.0
*/
/*
VARIABLER

Variabler som återkommer. Framförallt responsiva storlekar och ISP-paletten.

 */
/*
MIXINS

Här samlas olika SCSS-funktioner som kan inkluderas i övriga filer med @include.
https://sass-lang.com/documentation/at-rules/mixin

*/
/* GENERAL
Generella regler och marginaler, samt resets
 */
html {
  font-size: 100%;
}

* {
  border: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  -moz-osx-font-smoothing: grayscale;
  outline: 0;
  padding: 0;
  text-rendering: auto;
}

body {
  background: #fff;
  box-sizing: border-box;
  color: #18181A;
  line-height: 1.55;
  overflow-x: hidden;
}

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

.alignleft,
.alignright {
  height: auto;
  max-width: 47%;
}

.alignnone {
  float: none;
}

.alignright {
  float: right;
  margin: 0 0 1.5rem 1.5rem;
}

.alignleft {
  float: left;
  margin: 0 1.5rem 1.5rem 0;
}

.aligncenter {
  display: block;
  margin: 1.5rem auto;
}

.mobile-only {
  display: none;
}
@media all and (max-width: 1023.9px) {
  .mobile-only {
    display: block;
  }
}

/* Generella marginaler */
body {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  min-height: 100vh;
}

#main {
  background: #fff;
  position: relative;
  -webkit-box-flex: 1 0 auto;
  -webkit-flex: 1 0 auto;
  -ms-flex: 1 0 auto;
  flex: 1 0 auto;
}

.container {
  margin: auto;
  max-width: calc(1180px + 5rem);
  padding: 0 1.25rem;
  position: relative;
  width: 100%;
}
@media all and (min-width: 369px) {
  .container {
    padding: 0 1.875rem;
  }
}
@media all and (min-width: 768px) {
  .container {
    padding: 0 2.5rem;
  }
}

.container--wide {
  max-width: 100%;
}

.layout {
  padding: 1.875rem 0;
}
@media all and (min-width: 412px) {
  .layout {
    padding: 2.5rem 0;
  }
}
@media all and (min-width: 1024px) {
  .layout {
    padding: 3.75rem 0;
  }
}
@media all and (min-width: 1366px) {
  .layout {
    padding: 5rem 0;
  }
}

.section-header {
  margin-bottom: 1.875rem;
}
@media all and (min-width: 1366px) {
  .section-header {
    margin-bottom: 2.5rem;
  }
}

.overlay {
  position: relative;
}
.overlay::before {
  background: rgba(0, 0, 0, 0.5);
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
}

.inverted,
.is-inverted {
  color: #fff;
}

.visually-hidden,
.screen-reader-text {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

/* TYPOGRAFI
Typskala, rubriker, brödtext och knappbas.
 */
body,
input,
button,
textarea {
  font-family: "Lato", system-ui, sans-serif;
}

.heading {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  text-wrap: balance;
}

.heading--gradient {
  background: linear-gradient(96deg, #15506E 15%, #2C84C0 80%);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 3.125rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1;
  margin-bottom: 1.25rem;
  padding-bottom: 0.05em;
  -webkit-text-fill-color: transparent;
}
@media all and (min-width: 568px) {
  .heading--gradient {
    font-size: 13vw;
  }
}
@media all and (min-width: 1366px) {
  .heading--gradient {
    font-size: 11.25rem;
  }
}

.is-inverted .heading--gradient {
  background: #fff;
}

.heading--primary {
  font-size: clamp(1.75rem, 4.2vw, 2.875rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
}
@media all and (min-width: 1024px) {
  .heading--primary {
    font-size: clamp(2.25rem, 3.5vw, 3.25rem);
  }
}

.heading--secondary {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 0.62rem;
}
@media all and (min-width: 1024px) {
  .heading--secondary {
    font-size: 2.5rem;
  }
}

.heading--tertiary,
.heading--quaternary,
.entry-content h2,
.entry-content h3 {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
}
@media all and (min-width: 1024px) {
  .heading--tertiary,
  .heading--quaternary,
  .entry-content h2,
  .entry-content h3 {
    font-size: 1.375rem;
  }
}

.heading--line {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  font-size: 1rem;
  justify-content: center;
  margin-bottom: 1.25rem;
  text-align: center;
  text-transform: uppercase;
  width: 100%;
}
@media all and (min-width: 1366px) {
  .heading--line {
    font-size: 1.375rem;
  }
}
.heading--line::before, .heading--line::after {
  background: #15506E;
  content: "";
  -webkit-box-flex: 1 1 auto;
  -webkit-flex: 1 1 auto;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  display: block;
  height: 1px;
  width: auto;
}
.heading--line::before {
  margin-right: 2.5rem;
}
.heading--line::after {
  margin-left: 2.5rem;
}

.is-inverted .heading--line {
  color: #fff;
}
.is-inverted .heading--line::before, .is-inverted .heading--line::after {
  background: #fff;
}

.preamble {
  margin-bottom: 1.875rem;
}
@media all and (min-width: 1024px) {
  .preamble {
    margin-bottom: 2.5rem;
  }
}

.preamble p {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.55;
  margin-bottom: 1em;
}
@media all and (min-width: 1366px) {
  .preamble p {
    font-size: 1.25rem;
  }
}
.preamble p:last-child {
  margin: 0;
}

.entry-content p, .entry-content li {
  line-height: 1.5;
}
.entry-content p, .entry-content ul {
  margin-bottom: 1.5em;
}
.entry-content li {
  margin-bottom: 0.5rem;
}
.entry-content ul,
.entry-content ol {
  padding-left: 1.5em;
}

.preamble--small p {
  font-size: 1.125rem;
  line-height: normal;
}
@media all and (min-width: 1366px) {
  .preamble--small p {
    font-size: 1.375rem;
  }
}

.button {
  border-radius: 100px;
  box-sizing: border-box;
  cursor: pointer;
  display: block;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: normal;
  padding: 0.85em 2em;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}
@media all and (min-width: 768px) {
  .button {
    display: inline-block;
  }
}
@media all and (min-width: 1366px) {
  .button {
    font-size: 1rem;
  }
}

.button--icon i {
  margin: 0 0.25em 0 -0.25em;
}

.button--small {
  font-size: 0.875rem;
  padding: 0.625rem 1.25rem;
  text-transform: none;
}

a {
  color: #2C84C0;
  transition: all 0.5s ease;
}

/* FÄRGTEMAN
Parar ihop med ACF-fältet color_theme (theme-<color>) samt knappvarianter (button--<color>).
Val och etiketter definieras i inc/acf-filters.php. Nycklarna nedan måste matcha där.
 */
.theme-white {
  background-color: #fff;
}
.theme-white + .theme-white {
  padding-top: 0;
}

.theme-silk {
  background-color: #EDF4F9;
}
.theme-silk + .theme-silk {
  padding-top: 0;
}

.theme-vanilla {
  background-color: #F6FAFD;
}
.theme-vanilla + .theme-vanilla {
  padding-top: 0;
}

.theme-light-gradient {
  background-image: linear-gradient(160deg, #FFFFFF 0%, #EDF4F9 100%);
}

.theme-mediumblue {
  background-color: #1E6F9A;
}
.theme-mediumblue + .theme-mediumblue {
  padding-top: 0;
}

.theme-darkblue {
  background-color: #2C84C0;
}
.theme-darkblue + .theme-darkblue {
  padding-top: 0;
}

.theme-darkestblue {
  background-color: #15506E;
}
.theme-darkestblue + .theme-darkestblue {
  padding-top: 0;
}

.theme-blue-gradient {
  background-image: linear-gradient(160deg, #15506E 0%, #1E6F9A 100%);
}

.theme-blue-gradient-light {
  background-image: linear-gradient(160deg, #2C84C0 0%, #1E6F9A 100%);
}

.theme-black {
  background-color: #000;
}
.theme-black + .theme-black {
  padding-top: 0;
}

.is-inverted {
  color: #fff;
}
.is-inverted .heading {
  color: #fff;
}
.is-inverted a:not(.button) {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* KNAPPVARIANTER (button--<color>) */
.button--darkblue {
  background: #2C84C0;
  color: #fff;
}
@media all and (pointer: fine) {
  .button--darkblue:hover {
    background: #226D9F;
  }
}

.button--mediumblue {
  background: #1E6F9A;
  color: #fff;
}
@media all and (pointer: fine) {
  .button--mediumblue:hover {
    background: #15506E;
  }
}

.button--white {
  background: #fff;
  color: #18181A;
}
@media all and (pointer: fine) {
  .button--white:hover {
    background: #EDF4F9;
    color: #226D9F;
  }
}

.button--ghost {
  background: transparent;
  color: #2C84C0;
  outline: 1.5px solid #2C84C0;
}
@media all and (pointer: fine) {
  .button--ghost:hover {
    background: #2C84C0;
    color: #fff;
    outline-color: #2C84C0;
  }
}

.is-inverted .button--ghost {
  color: #fff;
  outline: 1px solid rgba(255, 255, 255, 0.6);
}
@media all and (pointer: fine) {
  .is-inverted .button--ghost:hover {
    background: #fff;
    color: #2C84C0;
    outline-color: #fff;
  }
}

/* SIDFOT
Blå sidfot enligt design – matchar footer.php (varumärke, legala länkar, kontakt).
 */
.site-footer {
  background: #2C84C0;
  color: #fff;
}

.site-footer__container {
  align-items: center;
  column-gap: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  padding-bottom: 1.5rem;
  padding-top: 1.5rem;
  row-gap: 0.875rem;
}

.site-footer__brand {
  color: #fff;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 800;
  text-decoration: none;
}

.site-footer__link {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
@media all and (pointer: fine) {
  .site-footer__link:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}

.site-footer__contact {
  align-items: center;
  color: rgba(255, 255, 255, 0.92);
  display: flex;
  font-size: 0.9375rem;
  gap: 0.5rem;
  margin-left: auto;
}

.site-footer__sep {
  opacity: 0.6;
}

.site-footer__secondary {
  border-left: 1px solid rgba(255, 255, 255, 0.4);
  padding-left: 1.75rem;
}

/* TOPBAR
Smal rad ovanför huvudmenyn. Grundtemat renderar ingen topbar i header.php –
detta är en bas att bygga vidare på (lägg t.ex. till kontaktuppgifter/öppettider).
 */
.top-bar {
  backdrop-filter: blur(20px);
  background: linear-gradient(90deg, rgba(225, 224, 227, 0.7) 0%, rgba(14, 32, 64, 0.7) 49.5%, rgba(12, 70, 132, 0.7) 100%), #0C4683;
  padding: 0.375rem 0;
}
@media all and (min-width: 768px) {
  .top-bar {
    padding: 0.5rem 0;
  }
}
@media all and (min-width: 1366px) {
  .top-bar {
    padding: 0.875rem 0;
  }
}

.top-bar__container {
  align-items: center;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
@media all and (min-width: 768px) {
  .top-bar__container {
    justify-content: flex-end;
  }
}

.top-bar__link-list {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  color: #fff;
  list-style: none;
}

.top-bar__link-list-link {
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

/* HUVUDMENY (GLOBAL)
Matchar header.php: logotyp + nav-global (primär, centrerad) + nav-secondary (höger)
+ mobiltoggle ("Meny"). Mobilmenyn öppnas/stängs av rx2.Nav (klass: global-nav--open).
Brytpunkt 1000px (desktop ≥ 1001px) enligt design.
 */
.global-nav {
  background: #fff;
  border-bottom: 1px solid #EAEEF2;
  left: 0;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 50;
}

.global-nav__container {
  align-items: center;
  display: flex;
  gap: 1.5rem;
  margin: 0 auto;
  max-width: 100%;
  min-height: 72px;
  padding: 0 clamp(1.25rem, 4vw, 3.5rem);
  position: relative;
  width: 100%;
}

.global-nav__logo {
  flex: 0 0 auto;
  line-height: 0;
  margin-right: auto;
}
.global-nav__logo img {
  height: 40px;
  width: auto;
}

.global-nav__toggle {
  align-items: center;
  background: none;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  margin-left: auto;
  padding: 0;
  transition: background 0.2s ease;
  width: 44px;
}
@media all and (pointer: fine) {
  .global-nav__toggle:hover {
    background: #EDF4F9;
  }
}

.global-nav__burger {
  display: block;
  height: 16px;
  position: relative;
  width: 26px;
}
.global-nav__burger span {
  background: #18181A;
  border-radius: 2px;
  display: block;
  height: 2.5px;
  left: 0;
  position: absolute;
  transition: top 0.3s ease, transform 0.3s ease, opacity 0.2s ease, background 0.2s ease;
  width: 100%;
}
.global-nav__burger span:nth-child(1) {
  top: 0;
}
.global-nav__burger span:nth-child(2) {
  top: 6.75px;
}
.global-nav__burger span:nth-child(3) {
  top: 13.5px;
}

.global-nav__toggle:hover .global-nav__burger span {
  background: #2C84C0;
}

.global-nav--open .global-nav__burger span:nth-child(1) {
  top: 6.75px;
  transform: rotate(45deg);
}

.global-nav--open .global-nav__burger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.global-nav--open .global-nav__burger span:nth-child(3) {
  top: 6.75px;
  transform: rotate(-45deg);
}

.global-nav__menu {
  list-style: none;
}
.global-nav__menu a {
  color: #18181A;
  display: block;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}
@media all and (pointer: fine) {
  .global-nav__menu a:hover {
    color: #2C84C0;
  }
}
.global-nav__menu .current-menu-item > a,
.global-nav__menu .current_page_item > a {
  color: #2C84C0;
}

/* MENYKNAPP
Sätt CSS-klassen `menu-button` på en menypost (Utseende → Menyer → CSS-klasser,
aktiveras under Panelinställningar) för att rendera länken som en blå knapp,
t.ex. "Få offert".
 */
.global-nav__menu li.menu-button > a {
  background: #2C84C0;
  border-radius: 8px;
  color: #fff;
  padding: 0.5rem 1.125rem;
  transition: background 0.2s ease, color 0.2s ease;
}
@media all and (pointer: fine) {
  .global-nav__menu li.menu-button > a:hover {
    background: #226D9F;
    color: #fff;
  }
}
.global-nav__menu li.menu-button.current-menu-item > a, .global-nav__menu li.menu-button.current_page_item > a {
  color: #fff;
}

/* ---------- DESKTOP (≥ 1001px) ---------- */
@media all and (min-width: 1001px) {
  .global-nav__drawer {
    display: contents;
  }
  .global-nav__nav--primary {
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .global-nav__menu--primary {
    align-items: center;
    display: flex;
    gap: 1.625rem;
  }
  .global-nav__nav--secondary {
    margin-left: auto;
  }
  .global-nav__menu--secondary {
    align-items: center;
    display: flex;
    gap: 1.375rem;
  }
  .global-nav__menu--secondary li + li {
    position: relative;
    padding-left: 1.375rem;
  }
  .global-nav__menu--secondary li + li::before {
    background: #DCE3E9;
    content: "";
    height: 18px;
    left: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
  }
  .global-nav__menu--secondary li.menu-button + li::before,
  .global-nav__menu--secondary li + li.menu-button::before {
    display: none;
  }
  .global-nav__toggle {
    display: none;
  }
}
/* ---------- MOBIL & SURFPLATTA (≤ 1000px) ---------- */
@media all and (max-width: 1000px) {
  .global-nav__drawer {
    background: #fff;
    border-top: 1px solid #EAEEF2;
    box-shadow: 0 18px 40px rgba(16, 59, 84, 0.12);
    left: 0;
    opacity: 0;
    padding: 0.625rem clamp(1.25rem, 4vw, 3.5rem) 1rem;
    position: absolute;
    top: 100%;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    visibility: hidden;
    width: 100%;
  }
  .global-nav--open .global-nav__drawer {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }
  .global-nav__menu a {
    border-radius: 8px;
    padding: 0.8rem 0.9rem;
    transition: background 0.2s ease, color 0.2s ease;
  }
}
@media all and (max-width: 1000px) and (pointer: fine) {
  .global-nav__menu a:hover {
    background: #EDF4F9;
    color: #2C84C0;
  }
}
@media all and (max-width: 1000px) {
  .global-nav__menu li.menu-button > a {
    padding: 0.8rem 0.9rem;
    text-align: center;
  }
  .global-nav__nav--secondary {
    border-top: 1px solid #EAEEF2;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
  }
}
@media all and (max-width: 1000px) and (min-width: 600px) {
  .global-nav__drawer {
    border: 1px solid #EAEEF2;
    border-radius: 14px;
    left: auto;
    margin-top: 0.5rem;
    overflow: hidden;
    padding: 0.5rem 0.5rem 0.625rem;
    right: clamp(1.25rem, 4vw, 3.5rem);
    width: min(340px, 60vw);
  }
}
/* HERO (sidtopp)
Matchar part-hero.php. Bakgrund via bild/video (.hero--media) eller färgschema (.theme-*).
 */
.hero {
  overflow: hidden;
  position: relative;
}

.hero--media {
  background: #15506E;
}

.hero__images {
  inset: 0;
  position: absolute;
}
.hero__images img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.hero__images .hero__image {
  display: none;
  height: 100%;
}
.hero__images .hero__image:first-child {
  display: block;
}
.hero__images::after {
  background: rgba(16, 59, 84, 0.55);
  content: "";
  inset: 0;
  position: absolute;
}

.hero__video {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
}
.hero__video iframe {
  height: 56.25vw;
  left: 50%;
  min-height: 100%;
  min-width: 177.78vh;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
}
.hero__video::after {
  background: rgba(16, 59, 84, 0.45);
  content: "";
  inset: 0;
  position: absolute;
}

.hero__container {
  position: relative;
}

.hero__content {
  margin: 0 auto;
  max-width: 860px;
  padding: clamp(3rem, 7vw, 6rem) 0;
  text-align: center;
}

.hero--media .hero__content {
  padding: clamp(4rem, 10vw, 8rem) 0;
}

.hero__eyebrow {
  color: #BFE0F2;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin: 0 0 1.125rem;
  text-transform: uppercase;
}

.hero__heading {
  margin-bottom: 1rem;
}

.hero__content--left {
  margin: 0;
  max-width: 760px;
  text-align: left;
}
.hero__content--left .hero__preamble {
  max-width: 620px;
}

.hero__preamble {
  margin-bottom: 0;
}

.hero__buttons {
  justify-content: center;
  margin-top: 1.75rem;
}

.hero__content--left .hero__buttons {
  justify-content: flex-start;
}

.hero__products {
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  position: relative;
}

.hero--hidden {
  padding: 0;
}

/* KOLUMNLAYOUTER (cols_2 / cols_3)
Stylar .cols-griden och kolumninnehållstyperna (heading, body_text, image, buttons).
 */
@media all and (min-width: 1024px) {
  .cols {
    display: grid;
    gap: 2.75rem;
  }
}

.cols__column-content {
  margin-bottom: 2.5rem;
}
@media all and (min-width: 1024px) {
  .cols__column-content:last-child {
    margin-bottom: 0;
  }
}

.cols__column-content--heading {
  margin-bottom: 1.5rem;
}

.section-header .heading:last-child {
  margin-bottom: 1.875rem;
}
@media all and (min-width: 1366px) {
  .section-header .heading:last-child {
    margin-bottom: 2.5rem;
  }
}

.cols__column-content--image img {
  height: auto;
  width: auto;
}

@media all and (min-width: 1024px) {
  .cols--2 {
    grid-template-columns: 1fr 1fr;
  }
}
@media all and (min-width: 1366px) {
  .cols--2 {
    gap: 5.5rem;
  }
}

@media all and (min-width: 768px) and (max-width: 1023.9px) {
  .cols--3 {
    display: grid;
    gap: 2.75rem;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
}
@media all and (min-width: 1024px) {
  .cols--3 {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media all and (min-width: 768px) and (max-width: 1023.9px) {
  .cols--3 .cols__column:first-child {
    grid-column: span 2;
  }
}
@media all and (min-width: 768px) {
  .cols--3 .cols__column-content:last-child {
    margin-bottom: 0;
  }
}

.cols__heading {
  margin-bottom: 0;
}

.entry-content p {
  font-size: 1rem;
  margin-bottom: 1.5em;
}
@media all and (min-width: 1366px) {
  .entry-content p {
    font-size: 1.0625rem;
  }
}
.entry-content p:last-child {
  margin-bottom: 0;
}

.button-list {
  flex-wrap: wrap;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  list-style: none;
}
@media all and (min-width: 768px) {
  .button-list {
    margin-left: -0.5rem;
  }
}

.button-list__item {
  margin: 1rem 0 0 0;
  -webkit-box-flex: 0 0 100%;
  -webkit-flex: 0 0 100%;
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
}
@media all and (max-width: 767.9px) {
  .button-list__item:first-child {
    margin-top: 0;
  }
}
@media all and (min-width: 768px) {
  .button-list__item {
    -webkit-box-flex: 0 0 auto;
    -webkit-flex: 0 0 auto;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    margin: 0.375rem 0.5rem;
  }
}

/* STATISTIK (stats)
Rad med nyckeltal: värde + beskrivning.
 */
.stats {
  justify-content: center;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  list-style: none;
  text-align: center;
}
@media all and (min-width: 768px) {
  .stats {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    justify-content: space-between;
  }
}

.stats__item {
  margin: 0 auto 2.5rem auto;
  max-width: 13rem;
}
@media all and (min-width: 568px) and (max-width: 767.9px), (min-width: 1024px) {
  .stats__item {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
  }
}
@media all and (min-width: 768px) {
  .stats__item {
    margin: 0;
  }
}
.stats__item:last-child {
  margin-bottom: 0;
}

.stats__value {
  display: block;
  white-space: nowrap;
}
@media all and (min-width: 568px) and (max-width: 767.9px), (min-width: 1024px) {
  .stats__value {
    margin-bottom: 0;
    margin-right: 1.25rem;
  }
}

@media all and (min-width: 568px) {
  .stats__desc {
    text-align: left;
  }
}
@media all and (min-width: 1024px) and (max-width: 1365.9px) {
  .stats__desc {
    font-size: 0.875rem;
  }
}
@media all and (min-width: 1024px) {
  .stats__desc {
    max-width: 12.5em;
    line-height: 1.2;
  }
}

/* BLOCK: Text
Full innehållsbredd. Med bild → tvåkolumns (text + bild).
 */
.layout-text__heading {
  margin-bottom: 1rem;
}

.layout-text__grid {
  align-items: center;
  display: grid;
  gap: clamp(1.75rem, 5vw, 4rem);
  grid-template-columns: 1fr;
}
@media all and (min-width: 768px) {
  .layout-text__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media all and (min-width: 768px) {
  .layout-text__grid--left .layout-text__media {
    order: -1;
  }
}

.layout-text__media img {
  border-radius: 12px;
  width: 100%;
}

.layout-text__inner {
  margin: 0 auto;
  max-width: 820px;
}

/* BLOCK: Uppmaning (CTA)
Vänsterställd rubrik + text + knappar, valfritt med bild bredvid. Färgad bakgrund via färgschema.
 */
.cta {
  text-align: left;
}

.cta__heading,
.cta__text {
  max-width: 640px;
}

.cta__heading {
  margin-bottom: 1rem;
}

.cta__text {
  margin-bottom: 1.75rem;
}

.cta__buttons {
  justify-content: flex-start;
}

/* Variant med bild bredvid texten (t.ex. startsidans stora CTA) */
.cta--has-media {
  align-items: center;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media all and (min-width: 768px) {
  .cta--has-media {
    gap: clamp(2rem, 5vw, 3.5rem);
    grid-template-columns: 1fr 1fr;
  }
}

.cta__media img {
  aspect-ratio: 16/10;
  border-radius: 10px;
  object-fit: cover;
  width: 100%;
}

@media all and (min-width: 768px) {
  .cta--media-left .cta__media {
    order: -1;
  }
}

/* BLOCK: Kort
Rutnät av kort (bild, rubrik, text, knapp). Antal kolumner via .cards--1/2/3/4.
 */
.cards {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr;
  list-style: none;
}
@media all and (min-width: 568px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media all and (min-width: 568px) {
  .cards--1 {
    grid-template-columns: 1fr;
  }
}

@media all and (min-width: 768px) {
  .cards--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media all and (min-width: 1024px) {
  .cards--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.cards__item {
  display: flex;
}

.cards__inner {
  border-radius: 14px;
  box-shadow: 0 2px 18px rgba(21, 80, 110, 0.07);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
}

.cards__inner.is-inverted .cards__text {
  color: rgba(255, 255, 255, 0.88);
}

.cards__media {
  background: #EDF4F9;
}
.cards__media img {
  aspect-ratio: 16/10;
  object-fit: cover;
  width: 100%;
}

.cards__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.625rem 1.625rem 1.75rem;
}

.cards__title {
  margin: 0;
}

.cards__text {
  color: #41484E;
  font-size: 0.97rem;
}
.cards__text p {
  margin: 0;
}

/* Notisruta/faktaruta: ljusgrå ruta med fet inledning + kursiv text */
.cards__note {
  background: #F1F1F2;
  border-radius: 12px;
  color: #2C3338;
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.5;
  margin-top: 0.35rem;
  padding: 1rem 1.125rem;
}
.cards__note p {
  margin: 0;
}
.cards__note p + p {
  margin-top: 0.75rem;
}
.cards__note strong,
.cards__note b {
  font-style: normal;
  font-weight: 700;
}
.cards__note a {
  color: #2C84C0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cards__button {
  align-self: flex-start;
  margin-top: 1rem;
}

/* BLOCK: Infoboxar
Ljusa textrutor i rutnät (rubrik + text).
 */
.info-boxes {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  list-style: none;
}
@media all and (min-width: 568px) {
  .info-boxes {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media all and (min-width: 568px) {
  .info-boxes--1 {
    grid-template-columns: 1fr;
  }
}

@media all and (min-width: 768px) {
  .info-boxes--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.info-boxes__item {
  background: #EDF4F9;
  border-radius: 12px;
  padding: 1.75rem;
}

.info-boxes__heading {
  margin-bottom: 0.5rem;
}

.theme-silk .info-boxes__item,
.theme-vanilla .info-boxes__item {
  background: #fff;
}

.is-inverted .info-boxes__item {
  background: rgba(255, 255, 255, 0.1);
}

.info-boxes__item--dark {
  background: #15506E;
}

.info-boxes__button {
  margin-bottom: 0;
  margin-top: 1.25rem;
}

.info-boxes--center .info-boxes__item {
  text-align: center;
}
.info-boxes--center .info-boxes__item .button {
  display: inline-block;
}

/* BLOCK: Frågor & svar (accordion)
Öppnas/stängs av rx2.Accordion (togglar [hidden] + aria-expanded).
 */
.accordion {
  list-style: none;
}

.accordion__item {
  border-bottom: 1px solid #EAEEF2;
}

.accordion__trigger {
  align-items: center;
  background: none;
  color: inherit;
  cursor: pointer;
  display: flex;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  gap: 1rem;
  justify-content: space-between;
  padding: 1.125rem 0;
  text-align: left;
  width: 100%;
}

.accordion__icon {
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  flex: 0 0 auto;
  height: 0.55rem;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  width: 0.55rem;
}

.accordion__trigger[aria-expanded=true] .accordion__icon {
  transform: rotate(-135deg);
}

.accordion__panel {
  padding: 0 0 1.25rem;
}
.accordion__panel[hidden] {
  display: none;
}

/* BLOCK: Nedladdningar
Lista med filer (etikett + beskrivning) och nedladdningsikon.
 */
.downloads {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
}

.downloads__link {
  align-items: center;
  background: #EDF4F9;
  border-radius: 10px;
  color: inherit;
  display: flex;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  text-decoration: none;
  transition: background 0.2s ease;
}
@media all and (pointer: fine) {
  .downloads__link:hover {
    background: #DCE3E9;
  }
}

.downloads__icon {
  background: #2C84C0;
  border-radius: 50%;
  flex: 0 0 auto;
  height: 2rem;
  position: relative;
  width: 2rem;
}
.downloads__icon::before {
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  content: "";
  height: 0.45rem;
  left: 50%;
  position: absolute;
  top: 44%;
  transform: translate(-50%, -50%) rotate(-45deg);
  width: 0.45rem;
}

.downloads__text {
  display: flex;
  flex-direction: column;
}

.downloads__label {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 600;
}

.downloads__desc {
  color: #5C6670;
  font-size: 0.875rem;
}

/* BLOCK: Bild & text
Bild bredvid text (bilden vänster/höger via .media-text--left/--right).
 */
.media-text {
  align-items: center;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media all and (min-width: 768px) {
  .media-text {
    gap: 3.5rem;
    grid-template-columns: 1fr 1fr;
  }
}

.media-text__media img {
  border-radius: 14px;
  width: 100%;
}

@media all and (min-width: 768px) {
  .media-text--right .media-text__media {
    order: 2;
  }
}

.media-text__heading {
  margin-bottom: 1rem;
}

.media-text__buttons {
  margin-top: 1.5rem;
}

/* BLOCK: Produktkategorier
Rutnät av kategori-kort (rundad bild + rubrik + text + knapp). Hela kortet är en länk. Delas med produktarkivet.
 */
.category-grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.25rem);
  grid-template-columns: 1fr;
  list-style: none;
}
@media all and (min-width: 568px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.category-card {
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
}
@media all and (pointer: fine) {
  .category-card:hover .category-card__button {
    background: #226D9F;
  }
}

.category-card__media {
  aspect-ratio: 16/10;
  background: #1E6F9A;
  border-radius: 12px;
  margin-bottom: 1.125rem;
  overflow: hidden;
}
.category-card__media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.category-card__title {
  margin: 0 0 0.75rem;
}

.category-card__text {
  color: #41484E;
  margin: 0 0 1.25rem;
}

.category-card__button {
  align-self: flex-start;
  margin-top: auto;
}

/* Innehålls-box (t.ex. "Specialanpassning i CAD" på produktarkivet):
   contentbred, rundade hörn, ljusblå. */
.callout {
  background: #EDF4F9;
  border-radius: 12px;
  margin-top: clamp(1.75rem, 4vw, 2.25rem);
  padding: clamp(1.5rem, 3.5vw, 2rem);
}

.callout__heading {
  margin-bottom: 0.75rem;
}

.callout > *:last-child {
  margin-bottom: 0;
}

/* PRODUKTER
Produktkort, produktrutnät, brödsmulor och enskild produktsida (CPT: produkt).
 */
/* Brödsmulor */
.breadcrumb {
  color: #5C6670;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.breadcrumb__link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media all and (pointer: fine) {
  .breadcrumb__link:hover {
    color: #2C84C0;
  }
}

.breadcrumb__sep {
  margin: 0 0.4rem;
  opacity: 0.6;
}

.breadcrumb__current {
  color: #18181A;
}

.is-inverted .breadcrumb {
  color: rgba(255, 255, 255, 0.85);
}
.is-inverted .breadcrumb__link {
  color: rgba(255, 255, 255, 0.85);
}
@media all and (pointer: fine) {
  .is-inverted .breadcrumb__link:hover {
    color: #fff;
  }
}
.is-inverted .breadcrumb__current {
  color: #fff;
}

/* Kategorisida: hero (bildremsa + rubrik/ingress på vitt) */
.category-hero__media {
  background: #1E6F9A;
  height: clamp(180px, 26vw, 300px);
}
.category-hero__media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.category-hero {
  padding: clamp(2.25rem, 5vw, 3.75rem) 0 0;
}

.category-hero__title {
  margin-bottom: 1.25rem;
}

.category-hero__ingress {
  margin-bottom: 0;
  max-width: 900px;
}

/* Kategorisida: produktrutnät + efterinnehåll */
.category-products {
  padding: clamp(1.75rem, 4vw, 2.75rem) 0 clamp(2.5rem, 6vw, 4.5rem);
}

.category-efter-section {
  padding: 0 0 clamp(2.5rem, 6vw, 4.5rem);
}

.category-efter h3 {
  margin-top: 2rem;
}
.category-efter h3:first-child {
  margin-top: 0;
}

/* Produktrutnät */
.product-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  list-style: none;
}
@media all and (min-width: 568px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media all and (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Produktkort */
.product-card {
  background: #fff;
  border: 1px solid #E6ECF1;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(21, 80, 110, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.product-card__media {
  aspect-ratio: 4/3;
  background: #1E6F9A;
  display: block;
}
.product-card__media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.product-card__badge {
  align-self: flex-start;
  background: #EDF4F9;
  border-radius: 100px;
  color: #15506E;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 0.78125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.8125rem;
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem 1.375rem 1.5rem;
}

.product-card__title {
  margin: 0;
}
.product-card__title a {
  color: inherit;
  text-decoration: none;
}
@media all and (pointer: fine) {
  .product-card__title a:hover {
    color: #2C84C0;
  }
}

.product-card__meta {
  color: #5C6670;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  margin: 0;
}

.product-card__spec {
  color: #41484E;
  font-size: 0.875rem;
  margin: 0;
}

.product-card__desc {
  color: #41484E;
  font-size: 0.9rem;
}
.product-card__desc p {
  margin: 0;
}

.product-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

/* Enskild produkt: överdel i två spalter (galleri | information) */
.produkt-hero {
  padding-bottom: 0;
}

.produkt-hero__grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.5rem);
  grid-template-columns: minmax(0, 1fr);
}
@media all and (min-width: 1024px) {
  .produkt-hero__grid {
    align-items: start;
    column-gap: clamp(2.5rem, 5vw, 4.5rem);
    grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
  }
}

/* Galleri: huvudbild + miniatyrer. Sticky på desktop under det fasta navet. */
@media all and (min-width: 1024px) {
  .produkt-hero__media {
    position: sticky;
    top: calc(72px + 1.5rem);
  }
}

.produkt-stage {
  aspect-ratio: 4/3;
  background: #F6FAFD;
  border: 1px solid #EAEEF2;
  border-radius: 14px;
  display: block;
  overflow: hidden;
  position: relative;
}
.produkt-stage img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
  -webkit-transition: transform 0.4s ease;
  -moz-transition: transform 0.4s ease;
  transition: transform 0.4s ease;
}
.produkt-stage img[hidden] {
  display: none;
}
@media all and (pointer: fine) {
  .produkt-stage:hover img {
    -ms-transform: scale(1.03, 1.03); /* IE 9 */
    -webkit-transform: scale(1.03, 1.03); /* Safari */
    transform: scale(1.03, 1.03);
  }
  .produkt-stage:hover .produkt-stage__zoom {
    background: #2C84C0;
    color: #fff;
  }
}

.produkt-stage__zoom {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 100px;
  bottom: 0.875rem;
  box-shadow: 0 2px 10px rgba(21, 80, 110, 0.12);
  color: #18181A;
  display: inline-flex;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  position: absolute;
  right: 0.875rem;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  transition: all 0.25s ease;
}
.produkt-stage__zoom svg {
  display: block;
}

.produkt-thumbs {
  display: grid;
  gap: 0.625rem;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
}
@media all and (min-width: 568px) {
  .produkt-thumbs {
    grid-template-columns: repeat(5, 1fr);
  }
}
@media all and (min-width: 768px) and (max-width: 1023.9px) {
  .produkt-thumbs {
    grid-template-columns: repeat(6, 1fr);
  }
}

.produkt-thumb {
  aspect-ratio: 4/3;
  background: #F6FAFD;
  border: 1px solid #EAEEF2;
  border-radius: 10px;
  display: block;
  opacity: 0.8;
  overflow: hidden;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.produkt-thumb img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.produkt-thumb.is-active {
  border-color: #2C84C0;
  box-shadow: 0 0 0 2px #2C84C0;
  opacity: 1;
}
@media all and (pointer: fine) {
  .produkt-thumb:hover {
    border-color: #2C84C0;
    opacity: 1;
  }
}

/* Informationsspalt */
.produkt-hero__badge {
  align-self: flex-start;
  background: #EDF4F9;
  border-radius: 100px;
  color: #15506E;
  display: inline-block;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding: 0.3rem 0.9rem;
  text-decoration: none;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  transition: all 0.25s ease;
}
@media all and (pointer: fine) {
  .produkt-hero__badge:hover {
    background: #2C84C0;
    color: #fff;
  }
}

.produkt-hero__title {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  margin-bottom: 0.875rem;
}
@media all and (min-width: 1024px) {
  .produkt-hero__title {
    font-size: clamp(1.875rem, 2.6vw, 2.5rem);
  }
}

.produkt-hero__meta {
  color: #5C6670;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0 0 1.25rem;
}

.produkt-hero__numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.produkt-hero__numbers li {
  display: inline-flex;
  gap: 0.35rem;
}
.produkt-hero__numbers li + li::before {
  color: #DCE3E9;
  content: "|";
  margin: 0 0.75rem;
}

.produkt-hero__spec {
  font-weight: 500;
  margin: 0.35rem 0 0;
}

.produkt-hero__meta-label {
  color: #18181A;
}

.produkt-hero__lead {
  color: #2C3338;
  font-size: 1.0625rem;
  line-height: 1.55;
  margin-bottom: 1.5rem;
}
@media all and (min-width: 1366px) {
  .produkt-hero__lead {
    font-size: 1.125rem;
  }
}
.produkt-hero__lead p {
  margin: 0 0 0.75em;
}
.produkt-hero__lead p:last-child {
  margin-bottom: 0;
}

.produkt-hero__subheading {
  color: #5C6670;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 0 0 0.25rem;
  text-transform: uppercase;
}

/* Snabbfakta som spec-tabell med hårlinjer */
.produkt-specs {
  border-top: 1px solid #EAEEF2;
  margin: 0 0 1.75rem;
}

.produkt-specs__row {
  border-bottom: 1px solid #EAEEF2;
  display: grid;
  gap: 0.15rem 1.25rem;
  grid-template-columns: minmax(0, 1fr);
  padding: 0.625rem 0;
}
@media all and (min-width: 412px) {
  .produkt-specs__row {
    grid-template-columns: minmax(8.5rem, 36%) minmax(0, 1fr);
  }
}

.produkt-specs__label {
  color: #18181A;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5;
}

.produkt-specs__value {
  color: #41484E;
  font-size: 0.9375rem;
  line-height: 1.5;
  margin: 0;
}

.produkt-hero__actions,
.produkt-body__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Under överdelen: fullständig beskrivning, montagenotis och knappar */
.produkt-body__inner {
  max-width: 52rem;
}

.produkt-body__heading {
  margin-bottom: 1rem;
}

.produkt-body__content {
  font-size: 1.0625rem;
  margin-bottom: 1.75rem;
}

.produkt-body__note {
  background: #EDF4F9;
  border-left: 4px solid #2C84C0;
  border-radius: 12px;
  margin-bottom: 1.75rem;
  padding: 1.25rem 1.5rem;
}
.produkt-body__note p {
  margin: 0;
}

/* 404-SIDA
Ljusblå (theme-silk) bakgrund, vertikalt och horisontellt centrerat innehåll.
 */
.error-404 {
  align-items: center;
  display: flex;
  min-height: 60vh;
}

.error-404 .container {
  text-align: center;
}

.error-404__inner {
  margin: 0 auto;
  max-width: 640px;
}

.error-404__code {
  color: #2C84C0;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: clamp(4.5rem, 15vw, 9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0 0 0.5rem;
}

.error-404__heading {
  margin-bottom: 1rem;
}

.error-404__text {
  margin-bottom: 2rem;
}

.error-404__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* INNEHÅLLSBLOCK: Formulär (Offert & Kontakt)
Själva formulärkomponenten (.rx2-form). Blocket renderas av layout-form.php inuti
en .container; motorn ligger i inc/forms.php.
 */
.layout-form__heading {
  margin-bottom: 1.375rem;
}

.rx2-form-wrap {
  max-width: 820px;
}

.rx2-form__fields {
  display: grid;
  gap: 1.375rem;
  grid-template-columns: 1fr;
}
@media all and (min-width: 768px) {
  .rx2-form__fields {
    grid-template-columns: repeat(2, 1fr);
  }
}

.rx2-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  grid-column: 1/-1;
}

@media all and (min-width: 768px) {
  .rx2-form__field--half {
    grid-column: auto;
  }
}

.rx2-form__label {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
}

.rx2-form__req {
  color: #2C84C0;
}

.rx2-form__input {
  background: #F4F8FB;
  border: 1px solid #CBD5DD;
  border-radius: 6px;
  color: #18181A;
  font-family: "Lato", system-ui, sans-serif;
  font-size: 0.9375rem;
  padding: 0.8125rem 0.875rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}
.rx2-form__input:focus {
  border-color: #2C84C0;
  box-shadow: 0 0 0 3px rgba(44, 132, 192, 0.15);
  outline: none;
}

.rx2-form__textarea {
  min-height: 120px;
  resize: vertical;
}

.rx2-form__file {
  background: #fff;
  cursor: pointer;
  padding: 0.6875rem 0.875rem;
}

.rx2-form__hint {
  color: #5C6670;
  font-size: 0.84375rem;
  font-style: italic;
}

.rx2-form__field--error .rx2-form__input {
  border-color: #B32D2E;
}

.rx2-form__error {
  color: #B32D2E;
  font-size: 0.84375rem;
  margin: 0;
}

.rx2-form__turnstile {
  margin-top: 1.5rem;
}

.rx2-form__actions {
  margin-top: 1.5rem;
}

/* Statusmeddelanden */
.rx2-form__message {
  border-radius: 10px;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
}

.rx2-form__message--ok {
  background: #E7F4EC;
  border: 1px solid #B7DFC6;
  color: #1E6C3B;
}

.rx2-form__message--error {
  background: #FCEBEA;
  border: 1px solid #F1C3C0;
  color: #B32D2E;
}

/* Honeypot – dolt */
.rx2-form__hp {
  height: 0;
  left: -9999px;
  overflow: hidden;
  position: absolute;
  width: 0;
}

/* LIGHTBOX
Bildvisare i helskärm (öppnas av rx2.Lightbox i rx2.js från a[data-lightbox],
t.ex. produktgalleriet på enskild produkt).
 */
body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  align-items: center;
  animation: lightbox-fade 0.2s ease;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  position: fixed;
  z-index: 1000;
}

@keyframes lightbox-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.lightbox__figure {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
  max-height: 100%;
  max-width: min(1100px, 100%);
}

.lightbox__img {
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  max-height: 82vh;
  max-width: 100%;
  object-fit: contain;
}

.lightbox__caption {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
  text-align: center;
}

/* Stäng-kryss + bläddringspilar */
.lightbox__close,
.lightbox__arrow {
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 0;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  height: 2.75rem;
  justify-content: center;
  padding: 0;
  position: absolute;
  width: 2.75rem;
  z-index: 1;
  -webkit-transition: background 0.2s ease;
  -moz-transition: background 0.2s ease;
  transition: background 0.2s ease;
}
@media all and (pointer: fine) {
  .lightbox__close:hover,
  .lightbox__arrow:hover {
    background: rgba(255, 255, 255, 0.28);
  }
}
.lightbox__close:focus-visible,
.lightbox__arrow:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.lightbox__close {
  font-size: 1.125rem;
  right: 1rem;
  top: 1rem;
}

.lightbox__arrow {
  font-size: 2rem;
  line-height: 1;
  top: 50%;
  -webkit-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  transform: translate(0, -50%);
}

.lightbox__arrow--prev {
  left: 0.75rem;
}
@media all and (min-width: 768px) {
  .lightbox__arrow--prev {
    left: 1.25rem;
  }
}

.lightbox__arrow--next {
  right: 0.75rem;
}
@media all and (min-width: 768px) {
  .lightbox__arrow--next {
    right: 1.25rem;
  }
}

.lightbox__counter {
  bottom: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  left: 50%;
  margin: 0;
  position: absolute;
  -webkit-transform: translate(-50%, 0);
  -ms-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
}

/*# sourceMappingURL=style.css.map */
