/* ==========================================================================
   SMORT CHILD THEME – CSS Entry Point
   ========================================================================== */

/* -----------------------------------------------------------------------
   1. PARENT BAS-STILAR
   Parent-temats CSS laddas via wp_enqueue_style i parent-temat.
   Child ska endast innehålla overrides och kundspecifika tillägg.
   ----------------------------------------------------------------------- */

/* -----------------------------------------------------------------------
   2. KUNDSPECIFIKA CSS-VARIABLER (färger, typsnitt)
   Overridar parent-temats standardvärden.
   Tailwind-klasserna primary, secondary etc. plockar upp dessa automatiskt.
   ----------------------------------------------------------------------- */

/* ==========================================================================
   KUNDSPECIFIKA FÄRGVARIABLER
   Override:a parent-temats färger här för att anpassa temat per kund.
   Tailwind-klasserna (bg-primary, text-secondary etc.) plockar upp dessa.
   ========================================================================== */

:root {
  /* THEME COLORS 2.0 */
  /* Base */
  --white: #ffffff;
  --black: #222222;
  --warning: #f59e0b;
  --error: #ef4444;
  --success: #10b981;
  /* Text */
  --text: #222222;
  --text-light: #ffffff;

  /* Variable colors */
  --background: #f9f9f9;
  --foreground: #222222;
  --background-hover: #d3d3d3;
  --border-dark: #b9b9b9;
  --border-light: #e3dcdc;
  --shadow: rgb(0 0 0 / 0.5);
  --overlay: rgb(0 0 0 / 0.9);
  --body-background: #f5f5f5;

  /* --- Primärfärg --- */
  --primary: #c61618;
  --primary-foreground: #ffffff;
  --primary-hover: #da4d4f;
  --primary-border: #c61618;

  /* --- Sekundärfärg --- */
  --secondary: #1c1c1c;
  --secondary-foreground: #292929;
  --secondary-hover: #292929;
  --secondary-border: #121212;

  /* --- Accent --- */
  --accent: #3b9f83;
  --accent-foreground: #222222;
  --accent-hover: #d5d5d5;
  --accent-border: #e5e7eb;

  /* --- Header & Footer --- */
  --header-background: #ffffff;
  --header-text: #222222;
  --footer-background: var(--secondary);
  --footer-text: #ffffff;
}

/* ==========================================================================
   TYPOGRAPHY UTILITIES
   ========================================================================== */

/* ==========================================================================
   TYPOGRAPHY VARIABLES
   ========================================================================== */

:root {
  /* TYPOGRAPHY - Synced with ACF Theme Options */
  --font-body: var(--body-font);
  --font-heading: var(--heading-font);
  --font-weight-heading: 600;
  --font-weight-body: 400;

  /* STANDARD FONT SIZES */
  --text-xs: 0.75rem; /* 12px */
  --text-sm: 0.875rem; /* 14px */
  --text-base: 1rem; /* 16px */
  --text-lg: 1.125rem; /* 18px */
  --text-xl: 1.25rem; /* 20px */
  --text-2xl: 1.5rem; /* 24px */
  --text-3xl: 1.875rem; /* 30px */
  --text-4xl: 2.25rem; /* 36px */
  --text-5xl: 3rem; /* 48px */
  --text-6xl: 3.75rem; /* 60px */
  --text-7xl: 4.5rem; /* 72px */
  --text-8xl: 6rem; /* 96px */

  /* Line Heights */
  --leading-none: 1;
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;

  /* Font Weights */
  --font-thin: 100;
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;
  --font-black: 900;

  /* Heading sizes - Mobile (Small screens) */
  --h1-sm-size: 2.25rem; /* 36px */
  --h1-sm-height: 1.15;
  --h2-sm-size: 1.875rem; /* 30px */
  --h2-sm-height: 1.2;
  --h3-sm-size: 1.5rem; /* 24px */
  --h3-sm-height: 1.25;
  --h4-sm-size: 1.25rem; /* 20px */
  --h4-sm-height: 1.3;
  --h5-sm-size: 1.125rem; /* 18px */
  --h5-sm-height: 1.35;
  --h6-sm-size: 1rem; /* 16px */
  --h6-sm-height: 1.4;

  /* Heading sizes - Desktop (1024px+) */
  --h1-lg-size: 3.5rem; /* 56px */
  --h1-lg-height: 1.1;
  --h2-lg-size: 2.75rem; /* 44px */
  --h2-lg-height: 1.15;
  --h3-lg-size: 2.125rem; /* 34px */
  --h3-lg-height: 1.2;
  --h4-lg-size: 1.625rem; /* 26px */
  --h4-lg-height: 1.25;
  --h5-lg-size: 1.375rem; /* 22px */
  --h5-lg-height: 1.3;
  --h6-lg-size: 1.125rem; /* 18px */
  --h6-lg-height: 1.35;

  /* Paragraph sizes */
  --p-sm-size: 0.875rem; /* 14px */
  --p-sm-height: 1.6;
  --p-lg-size: 1rem; /* 16px */
  --p-lg-height: 1.6;
}

/* ==========================================================================
   TYPOGRAPHY UTILITIES
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  text-transform: uppercase;
  font-style: italic;
}

/* ==========================================================================
   EFFECTS VARIABLES
   ========================================================================== */

:root {
  --border-radius-smort: 0px;
}

/**GENERAL*/

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  background-color: var(--background);
}

/*SECTION*/

section {
  padding: 2rem 0;
}

@media (min-width: 1024px) {
  section {
    padding: 2rem 0;
  }
}

del .woocommerce-Price-amount bdi {
  font-size: var(--text-sm);
  color: #666;
}

ins {
  text-decoration: none;
}

/* ==========================================================================
   CONTAINER SYSTEM
   ========================================================================== */

.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

.sub-menu {
  height: 0;
}

.sub-menu[aria-extended="true"] {
  height: auto;
}

@media (min-width: 640px) {
  .container {
    max-width: 1600px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 1600px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1600px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1600px;
  }
}

@media (min-width: 1536px) {
  .container {
    max-width: 1600px;
  }
}

/* Container Variants */

.container-sm {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

.container-md {
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

.container-lg {
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

.container-xl {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

.container-fluid {
  width: 100%;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

.cart-icon {
  filter: invert(0);
}

/* ==========================================================================
   CHUNKY HEADER STYLES
   ========================================================================== */

/* Navigation Menu */

.chunky-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.chunky-nav-menu > li {
  position: relative;
}

.chunky-nav-menu > li > a,
.chunky-nav-menu .nav-link {
  color: var(--text);
  text-decoration: none;
  font-weight: var(--font-weight-heading);
  font-size: 0.75rem;

  text-transform: uppercase;
  transition: color 0.2s ease;
  padding: 0.25rem 0;
  display: block;
  white-space: nowrap;
}

.chunky-nav-menu > li > a:hover,
.chunky-nav-menu .nav-link:hover {
  color: var(--primary);
}

/* Active / current menu item */

.chunky-nav-menu > .current-menu-item > a,
.chunky-nav-menu > .current-menu-ancestor > a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Submenu */

.chunky-nav-menu > li > .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--background);
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  min-width: 200px;
  padding: 0.5rem 0;
  list-style: none;
  border-radius: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 100;
}

.chunky-nav-menu > li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.chunky-nav-menu .sub-menu li a {
  padding: 0.5rem 1rem;
  display: block;
  color: var(--text);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  transition: background-color 0.2s ease;
}

.chunky-nav-menu .sub-menu li a:hover {
  background-color: var(--accent);
  color: var(--primary);
}

/* Mobile Menu */

.mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu-list li a {
  display: block;
  padding: 0.75rem 0;
  color: var(--primary);
  text-decoration: none;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  transition: color 0.2s ease;
  border-bottom: 1px solid var(--border);
}

.mobile-menu-list li a:hover {
  color: var(--primary);
}

/* Mobile toggle animation */

.mobile-menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  transition: transform 0.2s ease;
}

.mobile-menu-toggle:hover {
  transform: scale(1.1);
}

.chunky-search-form input[type="search"]:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(246, 176, 85, 0.1);
}

.chunky-search-form input[type="search"]::-moz-placeholder {
  color: var(--text);
  font-size: 0.875rem;
}

.chunky-search-form input[type="search"]::placeholder {
  color: var(--text);
  font-size: 0.875rem;
}

/* Navigation Menu */

.chunky-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.chunky-nav-menu > li {
  position: relative;
  display: inline-block;
}

.chunky-nav-menu > li > a,
.chunky-nav-menu .nav-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
  display: block;
  white-space: nowrap;
}

.chunky-nav-menu > li > a:hover,
.chunky-nav-menu .nav-link:hover {
  color: var(--primary);
}

/* Submenu styles */

.chunky-nav-menu > li > .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--background);
  border: 1px solid var(--border);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  padding: 0.5rem 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 100;
}

.chunky-nav-menu > li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.chunky-nav-menu .sub-menu li a {
  padding: 0.5rem 1rem;
  display: block;
  color: var(--text);
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.chunky-nav-menu .sub-menu li a:hover {
  background-color: var(--secondary);
  color: var(--primary);
}

/* Cart Icon Styling */

.header-chunky .cart-icon {
  position: relative;
  filter: none !important;
}

.header-chunky .cart-icon i,
.header-chunky .cart-icon svg,
.header-chunky .cart-icon img {
  filter: none !important;
}

/* Button Spacing in Header */

.header-chunky .button {
  white-space: nowrap;
}

/* Mobile Search Bar */

.mobile-search-bar {
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   Full-screen Mobile Menu
   ======================================== */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  flex-direction: column;
  background-color: var(--white, #fff);

  /* Hidden state */
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease,
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Keep display:flex even when .hidden is present */

.mobile-menu.hidden {
  display: flex !important;
}

/* Prevent body scroll when menu is open */

body.mobile-menu-open {
  overflow: hidden;
}

/* Inner layout */

.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Top row: logo + close button */

.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.75rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-light);
}

.mobile-menu__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.mobile-menu__logo img {
  height: 2rem;
  width: auto;
}

.mobile-menu__logo span {
  font-size: 1.25rem;
  font-weight: var(--font-weight-heading);
  color: var(--text);
}

.mobile-menu-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--accent, #f5f5f0);
  color: var(--text);
  cursor: pointer;
  border: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.mobile-menu-close:hover {
  background-color: var(--primary);
  color: #fff;
}

/* Navigation */

.mobile-menu__nav {
  flex: 1;
}

.mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu-list > li > a,
.mobile-menu-list > li > .chunky-mobile-row > a {
  display: block;
  padding: 1rem 0;

  text-decoration: none;

  font-size: clamp(1.25rem, 5vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--border-light);
  transition:
    color 0.2s ease,
    padding-left 0.2s ease;
}

.mobile-menu-list > li > a:hover,
.mobile-menu-list > li > a:active,
.mobile-menu-list > li > .chunky-mobile-row > a:hover,
.mobile-menu-list > li > .chunky-mobile-row > a:active {
  color: var(--primary);
  padding-left: 0.5rem;
}

.mobile-menu-list li {
  margin: 0;
  display: block;
  width: 100%;
  float: none;
  clear: both;
  position: relative;
}

.mobile-menu-list .chunky-mobile-row {
  min-height: 2.6rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2rem;
  align-items: center;
  gap: 0.35rem;
  border-bottom: 1px solid var(--border-light);
  width: 100%;
}

.mobile-menu-list li.menu-item-has-children > .chunky-mobile-row > a {
  border-bottom: 0;
  padding-right: 0.25rem;
}

.mobile-menu-list .chunky-mobile-toggle {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-menu-list .chunky-mobile-toggle:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.mobile-menu-list .chunky-mobile-minus {
  display: none;
}

.mobile-menu-list li.is-mobile-open > .chunky-mobile-row .chunky-mobile-plus {
  display: none;
}

.mobile-menu-list li.is-mobile-open > .chunky-mobile-row .chunky-mobile-minus {
  display: inline;
}

.mobile-menu-list .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  position: static !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  float: none !important;
  clear: both;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  overflow: visible;
  height: auto;
  max-height: none;
}

.mobile-menu-list .sub-menu[hidden] {
  display: none !important;
}

.mobile-menu-list li.is-mobile-open > .sub-menu {
  display: block !important;
}

.mobile-menu-list li > .sub-menu {
  margin: 0;
}

.mobile-menu-list .sub-menu > li {
  display: block;
}

.mobile-menu-list .sub-menu > li > .chunky-mobile-row {
  padding-left: 0.75rem;
  min-height: 2.4rem;
}

.mobile-menu-list .sub-menu > li > .chunky-mobile-row > a {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

.mobile-menu-list .sub-menu .sub-menu > li > .chunky-mobile-row {
  padding-left: 1.4rem;
  min-height: 2.25rem;
}

.mobile-menu-list .sub-menu .sub-menu > li > .chunky-mobile-row > a {
  font-size: 0.92rem;
  opacity: 0.85;
}

/* Footer: contact + CTA */

.mobile-menu__footer {
  padding-top: 1.75rem;
  margin-top: auto;
  border-top: 1px solid var(--border-light);
}

.mobile-menu__contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.mobile-menu__contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.mobile-menu__contact-link:hover {
  color: var(--primary);
}

/* Mobile Menu Toggle */

.mobile-menu-toggle,
.mobile-search-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover,
.mobile-search-toggle:hover {
  transform: scale(1.1);
}

/* Contact dropdown */

.chunky-contact-dropdown {
  position: relative;
}

.chunky-contact-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-width: 3.1rem;
  height: 3.1rem;
  padding: 0 0.8rem;

  border-radius: 999px;
  background-color: var(--primary);
  color: var(--white);
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;

  &:hover {
    background-color: var(--primary-hover);
  }
}

.chunky-contact-toggle:focus-visible {
  outline: none;
}

.chunky-contact-toggle__icon,
.chunky-contact-toggle__chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.chunky-contact-toggle__chevron {
  transition: transform 0.2s ease;
}

.chunky-contact-dropdown.is-open .chunky-contact-toggle__chevron {
  transform: rotate(180deg);
}

.chunky-contact-menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  z-index: 120;
  min-width: 17rem;
  padding: 0.5rem;
  border: 1px solid var(--border-light);
  border-radius: 1rem;
  border-top-right-radius: 1rem;
  border-top-left-radius: 0;
  background-color: var(--white);
}

.chunky-contact-menu__link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 0.95rem;
  border-radius: 0.85rem;
  color: var(--text);
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.chunky-contact-menu__link:hover,
.chunky-contact-menu__link:focus-visible {
  color: var(--primary);
  outline: none;
}

.chunky-contact-menu__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border-radius: 999px;
  background-color: rgba(139, 58, 46, 0.08);
}

.chunky-contact-menu__content {
  display: grid;
  gap: 0.15rem;
}

.chunky-contact-menu__label {
  font-size: 0.68rem;
  font-weight: var(--font-weight-heading);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

.chunky-contact-menu__value {
  font-size: 0.95rem;
  line-height: 1.3;
}

/* Responsive Adjustments */

@media (max-width: 1023px) {
  .mobile-menu.active {
    display: block;
  }

  .mobile-search-bar.active {
    display: block;
  }
}

@media (max-width: 768px) {
  .header-chunky {
    position: sticky;
    top: 0;
  }
}

/* ========================================
   SWCS Plugin Styling for Header
   ======================================== */

.header-swcs-container .swcs-search-trigger {
  width: 100% !important;
  max-width: 100% !important;
  background: #f5f5f0 !important;
  border-radius: 50px !important;
  padding: 0.5rem 0.5rem 0.5rem 1.25rem !important;
  display: flex !important;
  align-items: center !important;
  gap: var(--space-3) !important;
  color: #6b6b6b !important;
  font-family: var(--body-font) !important;
  font-size: 0.875rem !important;
  font-weight: var(--font-weight-body) !important;
  letter-spacing: 0 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  text-align: start !important;
  justify-content: space-between !important;
  border: none !important;
  box-shadow: none !important;
  height: 44px !important;
}

.header-swcs-container .swcs-search-trigger:hover {
  background: #ebebeb !important;
}

.swcs-search-bar {
  background-color: var(--secondary) !important;
}

.header-swcs-container .swcs-search-trigger::after {
  content: "";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background-color: #4a5a4a;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cpath d='m21 21-4.35-4.35'%3E%3C/path%3E%3C/svg%3E");
  background-size: 16px 16px;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
  border-radius: 50%;
}

/* Transparent header (endast på sidor med hero, dvs startsida) */

body:has(.smort-hero-corporate)
  .header:not(.scrolled)
  .header-swcs-container
  .swcs-search-trigger {
  color: var(--white) !important;
}

body:has(.smort-hero-corporate)
  .header:not(.scrolled)
  .header-swcs-container
  .swcs-search-trigger::before {
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cpath d='m21 21-4.35-4.35'%3E%3C/path%3E%3C/svg%3E");
}

/* Mobile */

@media (max-width: 1024px) {
  .header-swcs-container .swcs-search-trigger {
    display: none !important;
  }
}

/* ========================================
   Floating header over hero
   ======================================== */

body:has(.smort-hero-corporate) .header-chunky {
  margin-bottom: -6.5rem;
  background-color: transparent !important;
}

@media (max-width: 1023px) {
  body:has(.smort-hero-corporate) .header-chunky {
    margin-bottom: -5rem;
  }
}

.cart-icon {
  filter: invert(0);
}

.smort-cart-backdrop {
  z-index: 1;
}

.header-retail {
  padding-top: 0;
}

.header-retail-scroll-placeholder {
  display: none;
}

.header-retail.is-scroll-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: auto;
  z-index: 200;
  box-shadow: none;
  transition:
    opacity 0.22s ease,
    visibility 0s linear;
}

.header-retail.is-scroll-fixed.is-scroll-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.header-retail.is-scroll-fixed.is-scroll-hidden.is-scroll-initial {
  transition: none;
}

.header-retail-scroll-placeholder.is-active {
  display: block;
}

.retail-topbar-usp {
  text-decoration: none;
}

@media (max-width: 767px) {
  .retail-topbar-usps {
    position: relative;
    display: block !important;
    min-width: 0;
    min-height: 1.25rem;
  }

  .retail-topbar-usp {
    position: absolute;
    inset: 0 auto auto 0;
    display: flex !important;
    width: -moz-max-content;
    width: max-content;
    max-width: 100%;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(4px);
    transition:
      opacity 0.45s ease,
      transform 0.45s ease;
  }

  .retail-topbar-usp.is-active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .retail-topbar-usp.is-leaving {
    position: absolute;
    opacity: 0;
    transform: translateY(-4px);
  }
}

.header-retail .retail-header-main {
  display: grid;
  grid-template-columns: auto minmax(380px, 1fr) auto;
  align-items: center;
  gap: 1.25rem;
  min-height: 78px;
}

.header-retail .retail-header-logo-wrap {
  display: flex;
  align-items: center;
  padding-right: 1.5rem;
  border-right: 1px solid var(--border-dark);
}

.header-retail .retail-header-search-wrap {
  display: flex;
  justify-content: center;
}

.header-retail .retail-header-search-form {
  width: min(100%, 560px);
}

.header-retail .retail-header-search-form input[type="search"] {
  width: 100%;
  height: 46px;
  border: 1px var(--border-dark) solid;
  border-radius: 999px;
  padding: 0 1.15rem;
  font-size: 1.04rem;
  font-weight: 600;
  color: var(--text);
  background-color: #fafafa;
}

.header-retail .retail-header-search-form input[type="search"]:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 25%, transparent);
}

.header-retail .retail-header-search-form input[type="search"]::-moz-placeholder {
  color: color-mix(in srgb, var(--text) 70%, #777 30%);
  opacity: 1;
}

.header-retail .retail-header-search-form input[type="search"]::placeholder {
  color: color-mix(in srgb, var(--text) 70%, #777 30%);
  opacity: 1;
}

.header-retail .retail-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.header-retail .retail-header-wishlist-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.header-retail .retail-header-wishlist-wrap .wishlist-icon {
  width: 24px;
  height: 24px;
  transition: all 0.2s ease;
}

.header-retail .retail-header-wishlist-wrap .wishlist-count {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 20px;
  height: 20px;
  padding: 0 0.3rem;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1;
}

.header-retail .retail-header-menu-row {
  border-top: 1px solid color-mix(in srgb, var(--border-dark) 75%, transparent);
  padding: 0.4rem 0 0.4rem;
  max-height: 88px;
  opacity: 1;
  overflow: visible;
  transition:
    max-height 0.24s ease,
    opacity 0.2s ease,
    padding 0.24s ease,
    border-color 0.2s ease,
    transform 0.24s ease;
}

.header-retail .retail-header-desktop-nav {
  justify-content: center;
}

/* ==========================================================================
   RETAIL HEADER STYLES - Updated Design
   ========================================================================== */

/* Header Container */

/* Search Form */

.retail-search-form input[type="search"] {
  background-color: var(--accent);
  color: var(--text);
  transition: all 0.3s ease;
}

.retail-search-form input[type="search"]:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(246, 176, 85, 0.1);
}

.retail-search-form input[type="search"]::-moz-placeholder {
  color: var(--text);
  font-size: 0.875rem;
}

.retail-search-form input[type="search"]::placeholder {
  color: var(--text);
  font-size: 0.875rem;
}

/* Navigation Menu */

.retail-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: center;
  width: 100%;
}

.retail-nav-menu > li {
  position: relative;
  display: inline-block;
}

.retail-nav-menu > li > a,
.retail-nav-menu .nav-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.01em;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
  display: block;
  white-space: nowrap;
}

@media (max-width: 1279px) {
  .header-retail .retail-header-main {
    grid-template-columns: auto 1fr auto;
    padding: 0 1rem;
  }

  .header-retail .retail-header-search-form {
    width: 100%;
  }
}

@media (max-width: 1023px) {
  .header-retail .retail-header-main {
    grid-template-columns: auto 1fr auto;
    gap: 0.75rem;
    min-height: 64px;
    padding: 0;
  }

  .header-retail .retail-header-logo-wrap {
    border-right: 0;
    padding-right: 0;
  }

  .header-retail .retail-header-search-wrap {
    display: none;
  }

  .header-retail .retail-header-menu-row {
    display: none;
  }
}

.retail-nav-menu > li > a:hover,
.retail-nav-menu .nav-link:hover {
  color: var(--primary);
}

/* Submenu styles */

.retail-nav-menu > li:not(.has-mega-menu) > .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--background);
  border: 1px solid var(--border);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  padding: 0.5rem 0;
  list-style: none;
  text-transform: uppercase;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 100;
}

.retail-nav-menu > li:not(.has-mega-menu):hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.retail-nav-menu .sub-menu li a {
  padding: 0.5rem 1rem;
  display: block;
  color: var(--text);
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.retail-nav-menu .sub-menu li a:hover {
  background-color: var(--secondary);
  color: var(--primary);
}

/* Cart Icon Styling */

.header-retail .cart-icon {
  position: relative;
}

.header-retail .cart-count {
  position: absolute;

  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
}

/* Mobile Search Toggle Button */

.header-retail .retail-header-mobile-search-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;

  @media (min-width: 1024px) {
    display: none;
  }
}

/* Button Spacing in Header */

.header-retail .button {
  white-space: nowrap;
}

/* Mobile Menu */

.mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu-list li a {
  display: block;
  padding: 0.75rem 0;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  border-bottom: 1px solid var(--border);
}

.mobile-menu-list li a:hover {
  color: var(--primary);
}

/* Retail mobile drawer */

.header-retail .retail-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 240;
  display: block;
  visibility: hidden;
  background: transparent;
  backdrop-filter: none;
  opacity: 0;
  pointer-events: none;
  transform: none !important;
}

.header-retail .retail-mobile-menu.retail-drawer-open {
  visibility: visible;
  opacity: 1;
  background: rgba(10, 12, 18, 0.72);

  pointer-events: auto;
}

.header-retail .retail-mobile-menu__panel {
  position: absolute;
  top: 0;
  left: 0;
  width: min(90vw, 410px);
  height: 100%;
  background: var(--secondary);
  color: #f7f7f7;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: none;
  transform: translate3d(-100%, 0, 0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
}

.header-retail
  .retail-mobile-menu.retail-drawer-open
  .retail-mobile-menu__panel {
  transform: translate3d(0, 0, 0);
  box-shadow: 24px 0 44px rgba(0, 0, 0, 0.34);
}

.header-retail .retail-mobile-menu__header {
  padding: 1.15rem 1rem 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.header-retail .retail-mobile-menu__title {
  margin: 0;
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: red;
}

.header-retail .retail-mobile-menu-close {
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.header-retail .retail-mobile-menu__nav {
  flex: 1;
  overflow-y: auto;
  padding: 0.55rem 0.9rem 1rem;
}

.header-retail .retail-drawer-menu,
.header-retail .retail-drawer-menu .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-retail .retail-drawer-menu li {
  margin: 0;
  display: block !important;
  width: 100%;
  float: none !important;
  clear: both;
}

.header-retail .retail-drawer-row {
  min-height: 2.85rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2rem;
  align-items: center;
  gap: 0.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  width: 100%;
}

.header-retail .retail-drawer-menu > li > a,
.header-retail .retail-drawer-row > a {
  color: #f5f7fb;
  text-decoration: none;
  font-size: 1.03rem;
  font-weight: 600;
  line-height: 1.3;
  padding: 0.75rem 0.1rem;
  min-width: 0;
}

.header-retail .retail-drawer-menu > li > a {
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.header-retail .retail-drawer-toggle {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-retail .retail-drawer-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}

.header-retail .retail-drawer-minus {
  display: none;
}

.header-retail
  .retail-drawer-menu
  li.is-open
  > .retail-drawer-row
  .retail-drawer-plus {
  display: none;
}

.header-retail
  .retail-drawer-menu
  li.is-open
  > .retail-drawer-row
  .retail-drawer-minus {
  display: inline;
}

.header-retail .retail-drawer-menu .sub-menu {
  position: static !important;
  display: block !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: none !important;
  float: none !important;
  clear: both;
  overflow: visible;
  margin: 0 !important;
}

.header-retail .retail-drawer-menu li > .sub-menu {
  margin-top: 0;
}

.header-retail .retail-drawer-menu .sub-menu > li > .retail-drawer-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-retail .retail-mobile-menu .sub-menu[hidden] {
  display: none !important;
}

.header-retail .retail-drawer-menu > li > .sub-menu {
  padding: 0.1rem 0 0.45rem;
}

.header-retail .retail-drawer-menu > li > .sub-menu > li > .retail-drawer-row,
.header-retail .retail-drawer-menu > li > .sub-menu > li > a {
  padding-left: 0.7rem;
}

.header-retail
  .retail-drawer-menu
  > li
  > .sub-menu
  > li
  > .retail-drawer-row
  > a,
.header-retail .retail-drawer-menu > li > .sub-menu > li > a {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(247, 249, 253, 0.89);
}

.header-retail
  .retail-drawer-menu
  > li
  > .sub-menu
  > li
  > .sub-menu
  > li
  > .retail-drawer-row,
.header-retail .retail-drawer-menu > li > .sub-menu > li > .sub-menu > li > a {
  padding-left: 1.45rem;
}

.header-retail
  .retail-drawer-menu
  > li
  > .sub-menu
  > li
  > .sub-menu
  > li
  > .retail-drawer-row
  > a,
.header-retail .retail-drawer-menu > li > .sub-menu > li > .sub-menu > li > a {
  font-size: 0.89rem;
  color: rgba(242, 246, 253, 0.76);
}

.header-retail .retail-drawer-menu a:hover,
.header-retail .retail-drawer-menu a:focus-visible {
  color: var(--primary);
}

.header-retail .retail-mobile-menu__footer {
  padding: 0.8rem 0.95rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.header-retail.is-retail-mobile-menu-open .retail-mobile-menu-toggle {
  opacity: 0;
  pointer-events: none;
}

body.retail-mobile-menu-open {
  overflow: hidden;
}

/* Mobile Menu Toggle */

.mobile-menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  transform: scale(1.1);
}

/* ========================================
  SWCS Plugin Styling for Header (legacy fallback)
  ======================================== */

.header-swcs-container .swcs-search-trigger {
  width: 100% !important;
  max-width: 100% !important;
  background: #f5f5f0 !important;
  border-radius: 50px !important;
  padding: 0.5rem 0.5rem 0.5rem 1.25rem !important;
  display: flex !important;
  align-items: center !important;
  gap: var(--space-3) !important;
  color: #6b6b6b !important;
  font-family: var(--body-font) !important;
  font-size: 0.875rem !important;
  font-weight: var(--font-weight-body) !important;
  letter-spacing: 0 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  text-align: start !important;
  justify-content: space-between !important;
  border: none !important;
  box-shadow: none !important;
  height: 44px !important;
}

.header-swcs-container .swcs-search-trigger:hover {
  background: #ebebeb !important;
}

.swcs-search-bar {
  background-color: var(--secondary) !important;
}

.header-swcs-container .swcs-search-trigger::after {
  content: "";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background-color: #4a5a4a;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cpath d='m21 21-4.35-4.35'%3E%3C/path%3E%3C/svg%3E");
  background-size: 16px 16px;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
  border-radius: 50%;
}

/* Transparent header (endast på sidor med hero, dvs startsida) */

body:has(.smort-hero-corporate)
  .header:not(.scrolled)
  .header-swcs-container
  .swcs-search-trigger {
  color: var(--white) !important;
}

body:has(.smort-hero-corporate)
  .header:not(.scrolled)
  .header-swcs-container
  .swcs-search-trigger::before {
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cpath d='m21 21-4.35-4.35'%3E%3C/path%3E%3C/svg%3E");
}

/* Mobile */

@media (max-width: 1024px) {
  .retail-search-shortcode-desktop .swcs-search-trigger {
    display: flex !important;
  }
}

/* ==========================================================================
   MEGA MENU - PARKYS SOLAR STYLE
   ========================================================================== */

.mega-menu {
  background: white;
  border-radius: 0 0 12px 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: fixed;
  top: 88px;
  left: 0;
  right: 0;
  width: 100vw;
  z-index: 9999;
  border-top: 1px solid var(--border-light);
  text-transform: uppercase;
}

.mega-menu-container {
  margin: 0 auto;
  padding: 2rem;
}

.mega-menu-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3.5rem;
  align-items: start;
}

/* Product Categories Grid */

.mega-menu-products {
  flex: 1;
}

.mega-menu-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.mega-menu-product-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
  height: 400px;
}

.mega-menu-product-card:hover {
  border-color: var(--primary);
}

.mega-menu-product-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.mega-menu-product-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.5s ease;
}

.mega-menu-product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.1) 100%
  );
  transition: background 0.3s ease;
  transition: all 0.3s ease;
}

.mega-menu-product-card:hover .mega-menu-product-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.2) 100%
  );
  transition: all 0.3s ease;
}

.mega-menu-product-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.mega-menu-product-title {
  font-size: 1.125rem;
  font-weight: var(--font-weight-heading);
  color: var(--white);
  margin: 0;
  line-height: 1.3;
}

.mega-menu-product-icon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  padding: 0.75rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.mega-menu-product-icon span {
  font-size: 1.25rem;
  line-height: 1;
}

.mega-menu-product-arrow {
  color: var(--primary-foreground);
  transition: transform 0.3s ease;
}

/* View All Link */

.mega-menu-view-all {
  text-align: start;
  padding-top: 1rem;
}

.mega-menu-view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: var(--font-weight-heading);
  font-size: 20px;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

.mega-menu-view-all-link svg {
  transition: transform 0.3s ease;
  color: var(--primary);
}

/* Sidebar */

.mega-menu-sidebar-section {
  margin-bottom: 1.5rem;
}

.mega-menu-sidebar-section:last-child {
  margin-bottom: 0;
}

.mega-menu-sidebar-title {
  font-size: 1.5rem;
  font-weight: var(--font-weight-body);
  color: var(--text);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary);
}

.mega-menu-sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-menu-sidebar-links li {
  margin-bottom: 0.5rem;
}

.mega-menu-sidebar-links li:last-child {
  margin-bottom: 0;
}

.mega-menu-sidebar-link {
  display: block;
  color: var(--text);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.9rem;
  padding: 0.5rem 0;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
}

.mega-menu-sidebar-link:hover {
  background: var(--white);
  color: var(--primary);
}

/* Shared mega-menu trigger styles across headers */

:is(.retail-nav-menu, .chunky-nav-menu) .nav-item {
  position: relative;
}

:is(.retail-nav-menu, .chunky-nav-menu) .nav-item.has-mega-menu > .nav-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

:is(.retail-nav-menu, .chunky-nav-menu)
  .nav-item.has-mega-menu:hover
  > .nav-link,
:is(.retail-nav-menu, .chunky-nav-menu)
  .nav-item.has-mega-menu:focus-within
  > .nav-link {
  color: var(--primary);
}

:is(.retail-nav-menu, .chunky-nav-menu)
  .nav-item.has-mega-menu
  > .nav-link
  svg {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  min-width: 1rem;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  transition: transform 0.2s ease;
}

:is(.retail-nav-menu, .chunky-nav-menu)
  .nav-item.has-mega-menu:hover
  > .nav-link
  svg,
:is(.retail-nav-menu, .chunky-nav-menu)
  .nav-item.has-mega-menu:focus-within
  > .nav-link
  svg {
  transform: rotate(180deg);
}

/* Show mega menu on hover, keyboard focus, and JS-driven open state */

.nav-item.has-mega-menu:hover > .mega-menu,
.nav-item.has-mega-menu:focus-within > .mega-menu,
.nav-item.has-mega-menu.is-open > .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* Hover effect for nav item */

.nav-item.has-mega-menu:hover > .nav-link {
  color: var(--primary);
}

/* Prevent standard small dropdown styling from affecting mega-menu items */

.retail-nav-menu > li.nav-item.has-mega-menu > .sub-menu,
.chunky-nav-menu > li.nav-item.has-mega-menu > .sub-menu {
  position: static;
  top: auto;
  left: auto;
  min-width: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  opacity: 1;
  visibility: visible;
  transform: none;
}

.retail-nav-menu > li.nav-item.has-mega-menu > .sub-menu > li,
.chunky-nav-menu > li.nav-item.has-mega-menu > .sub-menu > li {
  margin: 0;
}

.retail-nav-menu .nav-item.has-mega-menu > .mega-menu,
.chunky-nav-menu .nav-item.has-mega-menu > .mega-menu {
  left: 0;
  right: 0;
  width: 100vw;
  margin-top: 0;
}

/* Unified mega dropdown layout for all desktop header menus */

@media (min-width: 1024px) {
  :is(.retail-nav-menu, .chunky-nav-menu) > li.has-mega-menu {
    position: relative;
  }

  :is(.retail-nav-menu, .chunky-nav-menu) > li.has-mega-menu::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 12px;
  }

  :is(.retail-nav-menu, .chunky-nav-menu) > li.has-mega-menu > .sub-menu {
    position: fixed;
    left: 50%;
    right: auto;
    top: var(--mega-menu-top, 100px);
    transform: translate(-50%, -8px);
    width: min(1600px, calc(100vw - 48px));
    min-width: min(1600px, calc(100vw - 48px));
    background: #ffff;
    border: 1px solid #dfdfdf;
    border-top: 0;
    border-radius: 0;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.14);
    padding: 2rem 3rem;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2.5rem;
    z-index: 999;
    height: auto;
    max-height: calc(100vh - var(--mega-menu-top, 100px) - 16px);
    max-height: calc(100dvh - var(--mega-menu-top, 100px) - 16px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.2s ease,
      visibility 0.2s ease,
      transform 0.2s ease;
  }

  :is(.retail-nav-menu, .chunky-nav-menu) > li.has-mega-menu:hover > .sub-menu,
  :is(.retail-nav-menu, .chunky-nav-menu)
    > li.has-mega-menu:focus-within
    > .sub-menu,
  :is(.retail-nav-menu, .chunky-nav-menu)
    > li.has-mega-menu.is-open
    > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }

  :is(.retail-nav-menu, .chunky-nav-menu) > li.has-mega-menu > .sub-menu > li {
    margin: 0;
    list-style: none;
  }

  :is(.retail-nav-menu, .chunky-nav-menu)
    > li.has-mega-menu
    > .sub-menu
    > li
    > a {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1f1f1f;
    padding: 0 0 0.6rem;
    margin-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary);
    background: transparent;
  }

  :is(.retail-nav-menu, .chunky-nav-menu)
    > li.has-mega-menu
    > .sub-menu
    > li
    > .sub-menu {
    position: static;
    left: auto;
    top: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    width: auto;
    padding: 0;
    margin: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    height: auto;
    overflow: visible;
  }

  :is(.retail-nav-menu, .chunky-nav-menu)
    > li.has-mega-menu
    > .sub-menu
    > li
    > .sub-menu
    > li
    > a {
    padding: 0.35rem 0;
    font-size: 1rem;
    font-weight: 400;
    color: #242424;
    background: transparent;
    border: 0;
  }

  :is(.retail-nav-menu, .chunky-nav-menu)
    > li.has-mega-menu
    > .sub-menu
    > li
    > .sub-menu
    > li
    > a:hover {
    color: var(--primary);
    background: transparent;
  }
}

/* Responsive */

@media (max-width: 1200px) {
  .mega-menu-layout {
    grid-template-columns: 1fr 240px;
    gap: 2rem;
  }

  .mega-menu-products-grid {
    gap: 1rem;
  }

  .mega-menu-product-card {
    height: 160px;
  }
}

@media (max-width: 1023px) {
  .mega-menu {
    display: none;
  }
}

@media (max-width: 768px) {
  .mega-menu-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .mega-menu-products-grid {
    grid-template-columns: 1fr;
  }

  .mega-menu-container {
    padding: 1.5rem;
  }

  .mega-menu-product-card {
    height: 140px;
  }

  .mega-menu-sidebar {
    padding: 1.25rem;
  }
}

/**
 * Footer retail Styles
 */

.footer-retail {
  position: relative;
}

.footer-retail-accordion-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
}

.footer-retail-accordion-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

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

.footer-retail-accordion-toggle[aria-expanded="true"]
  .footer-retail-accordion-chevron {
  transform: rotate(225deg);
}

.footer-retail-accordion-toggle:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

.footer-retail-accordion-panel[hidden] {
  display: none;
}

/* ==========================================================================
   FOOTER SOCIAL MEDIA
   ========================================================================== */

.footer-social {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social__label {
  display: block;
  margin-bottom: 0.6rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-social__icons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.65);
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.footer-social__link svg {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.footer-social__link:hover {
  color: #fff;
  border-color: var(--primary);
  background: rgba(198, 22, 24, 0.15);
  transform: translateY(-2px);
}

@media (max-width: 479px) {
  .footer-social {
    flex-wrap: wrap;
  }
}

/* ==========================================================================
   FOOTER NEWSLETTER
   ========================================================================== */

.footer-newsletter {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-newsletter__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-newsletter__eyebrow {
  margin: 0 0 0.25rem;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-newsletter__heading {
  margin: 0;
  color: var(--text-light);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.25;
}

.footer-newsletter__form {
  flex: 0 0 auto;
  width: min(100%, 460px);
}

.footer-newsletter__field {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 0.25rem 0.25rem 0.25rem 1.25rem;
  transition: border-color 0.2s ease;
}

.footer-newsletter__field:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 25%, transparent);
}

.footer-newsletter__field input[type="email"] {
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--text-light);
  font-size: 0.95rem;
  min-width: 0;
}

.footer-newsletter__field input[type="email"]::-moz-placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.footer-newsletter__field input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.footer-newsletter__field button[type="submit"] {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.15s ease;
  white-space: nowrap;
}

.footer-newsletter__field button[type="submit"]:hover {
  background: var(--primary-hover);
  transform: translateX(2px);
}

.footer-newsletter__disclaimer {
  margin: 0.6rem 0 0 1.25rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.38);
}

@media (max-width: 767px) {
  .footer-retail__content {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .footer-retail .footer-retail__columns {
    gap: 0.35rem;
  }

  .footer-retail .footer-retail-accordion {
    width: min(100%, 30rem);
    margin-inline: auto;
    padding: 0.25rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .footer-retail .footer-retail-accordion-heading {
    margin: 0;
    font-size: 0.9rem;
  }

  .footer-retail .footer-retail-accordion-toggle {
    min-height: 2rem;
    cursor: pointer;
  }

  .footer-retail__columns > div:last-child > h4 {
    margin: 1rem 0 0.65rem;
    font-size: 1rem;
    line-height: 1.3;
  }

  .footer-retail__columns > div:last-child > .space-y-3 > * + * {
    margin-top: 0.55rem;
  }

  .footer-retail__columns > div:last-child .pt-10 {
    padding-top: 1.1rem;
  }

  .footer-retail__columns > div:last-child .pt-10 h4 {
    margin-bottom: 0.55rem;
    font-size: 0.95rem;
    line-height: 1.3;
  }

  .footer-retail__columns > div:last-child .pt-10 > div > ul {
    row-gap: 0.2rem;
  }

  .footer-retail__columns > div:last-child .footer-social {
    margin-top: 0.9rem;
    padding-top: 0.75rem;
  }

  .footer-retail-accordion-chevron {
    display: block;
    width: 0.45rem;
    height: 0.45rem;
  }

  .footer-retail-accordion-panel:not([hidden]) {
    padding-top: 0.75rem;
  }

  .footer-newsletter {
    margin-top: 2rem;
    padding-top: 1.5rem;
  }

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

  .footer-newsletter__form {
    width: 100%;
  }
}

/* ========================================================================== */

.footer-retail-special-hours-trigger {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
  transition: opacity 0.2s ease;
}

.footer-retail-special-hours-trigger:hover {
  opacity: 0.8;
}

.footer-retail-modal[hidden] {
  display: none;
}

.footer-retail-modal {
  position: fixed;
  inset: 0;
  z-index: 260;
}

.footer-retail-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.footer-retail-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 540px);
  margin: min(14vh, 110px) auto 0;
  padding: 1.5rem 1.5rem 1.25rem;

  background: #151515;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-light);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
  outline: none;
}

.footer-retail-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: var(--text-light);
  cursor: pointer;
}

.footer-retail-modal__eyebrow {
  margin: 0 0 0.25rem;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-retail-modal__title {
  margin: 0 0 1rem;
  color: var(--text-light);
  font-size: 1.8rem;
  font-weight: 700;
}

.footer-retail-modal__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.footer-retail-modal__item {
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 0.25rem;
}

.footer-retail-modal__item:first-child {
  border-top: 0;
  padding-top: 0;
}

.footer-retail-modal__item-label {
  color: var(--text-light);
  font-weight: 600;
}

.footer-retail-modal__item-value {
  color: rgba(255, 255, 255, 0.78);
}

body.footer-retail-modal-open {
  overflow: hidden;
}

/* Footer Menu List Styling */

.footer-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu-list li {
  margin-bottom: 0.5rem;
}

.footer-menu-list li a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-menu-list li a:hover {
  color: var(--primary);
}

/* Footer Logo */

.footer-logo {
  transition: opacity 0.3s ease;
}

.footer-logo:hover {
  opacity: 1 !important;
}

/* Responsive adjustments */

@media (max-width: 768px) {
  .footer-retail .grid-cols-3 {
    grid-template-columns: 1fr;
  }
}

/* -----------------------------------------------------------------------
   3. TAILWIND (sist, efter imports)
   ----------------------------------------------------------------------- */

*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

/* ! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com */

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: #e5e7eb; /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-tab-size: 4; /* 3 */
  -o-tab-size: 4;
     tab-size: 4; /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: var(--font-mono); /* 1 */
  font-feature-settings: normal; /* 2 */
  font-variation-settings: normal; /* 3 */
  font-size: 1em; /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  font-size: 100%; /* 1 */
  font-weight: inherit; /* 1 */
  line-height: inherit; /* 1 */
  letter-spacing: inherit; /* 1 */
  color: inherit; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button; /* 1 */
  background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.pointer-events-none {
  pointer-events: none;
}

.pointer-events-auto {
  pointer-events: auto;
}

.visible {
  visibility: visible;
}

.collapse {
  visibility: collapse;
}

.static {
  position: static;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.inset-0 {
  inset: 0px;
}

.bottom-0 {
  bottom: 0px;
}

.right-0 {
  right: 0px;
}

.z-10 {
  z-index: 10;
}

.z-20 {
  z-index: 20;
}

.z-50 {
  z-index: 50;
}

.m-0 {
  margin: 0px;
}

.mx-1 {
  margin-left: 0.25rem;
  margin-right: 0.25rem;
}

.mx-2 {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.my-10 {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

.my-2 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-10 {
  margin-bottom: 2.5rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-20 {
  margin-bottom: 5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-5 {
  margin-bottom: 1.25rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.ml-1 {
  margin-left: 0.25rem;
}

.mr-1 {
  margin-right: 0.25rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-10 {
  margin-top: 2.5rem;
}

.mt-14 {
  margin-top: 3.5rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-5 {
  margin-top: 1.25rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-\[-5px\] {
  margin-top: -5px;
}

.mt-auto {
  margin-top: auto;
}

.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.inline {
  display: inline;
}

.flex {
  display: flex;
}

.table {
  display: table;
}

.grid {
  display: grid;
}

.contents {
  display: contents;
}

.hidden {
  display: none;
}

.h-12 {
  height: 3rem;
}

.h-14 {
  height: 3.5rem;
}

.h-56 {
  height: 14rem;
}

.h-auto {
  height: auto;
}

.h-full {
  height: 100%;
}

.min-h-screen {
  min-height: 100vh;
}

.w-2\/3 {
  width: 66.666667%;
}

.w-\[70\%\] {
  width: 70%;
}

.w-auto {
  width: auto;
}

.w-full {
  width: 100%;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-none {
  max-width: none;
}

.max-w-xl {
  max-width: 36rem;
}

.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.resize {
  resize: both;
}

.scroll-m-20 {
  scroll-margin: 5rem;
}

.list-none {
  list-style-type: none;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-0\.5 {
  gap: 0.125rem;
}

.gap-1 {
  gap: 0.25rem;
}

.gap-10 {
  gap: 2.5rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-5 {
  gap: 1.25rem;
}

.gap-6 {
  gap: 1.5rem;
}

.space-y-1\.5 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.375rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.375rem * var(--tw-space-y-reverse));
}

.space-y-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}

.space-y-3 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
}

.overflow-hidden {
  overflow: hidden;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-md {
  border-radius: 0.375rem;
}

.rounded-smort {
  border-radius: var(--border-radius-smort);
}

.border {
  border-width: 1px;
}

.border-b {
  border-bottom-width: 1px;
}

.border-t {
  border-top-width: 1px;
}

.border-border {
  border-color: var(--border);
}

.border-gray-200 {
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
}

.border-gray-300 {
  --tw-border-opacity: 1;
  border-color: rgb(209 213 219 / var(--tw-border-opacity, 1));
}

.bg-accent {
  background-color: var(--accent);
}

.bg-background {
  background-color: var(--background);
}

.bg-black {
  background-color: var(--black);
}

.bg-body_background {
  background-color: var(--body-background);
}

.bg-primary {
  background-color: var(--primary);
}

.bg-secondary {
  background-color: var(--secondary);
}

.bg-transparent {
  background-color: transparent;
}

.bg-white {
  background-color: var(--white);
}

.bg-cover {
  background-size: cover;
}

.bg-center {
  background-position: center;
}

.object-cover {
  -o-object-fit: cover;
     object-fit: cover;
}

.p-0 {
  padding: 0px;
}

.p-4 {
  padding: 1rem;
}

.p-5 {
  padding: 1.25rem;
}

.p-6 {
  padding: 1.5rem;
}

.px-0 {
  padding-left: 0px;
  padding-right: 0px;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-10 {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.pb-5 {
  padding-bottom: 1.25rem;
}

.pb-6 {
  padding-bottom: 1.5rem;
}

.pt-0 {
  padding-top: 0px;
}

.pt-10 {
  padding-top: 2.5rem;
}

.pt-2 {
  padding-top: 0.5rem;
}

.pt-8 {
  padding-top: 2rem;
}

.text-center {
  text-align: center;
}

.text-start {
  text-align: start;
}

.font-body {
  font-family: var(--body-font);
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.font-bold {
  font-weight: 700;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.uppercase {
  text-transform: uppercase;
}

.italic {
  font-style: italic;
}

.leading-6 {
  line-height: 1.5rem;
}

.leading-snug {
  line-height: 1.375;
}

.leading-tight {
  line-height: 1.25;
}

.tracking-wide {
  letter-spacing: 0.025em;
}

.text-accent-foreground {
  color: var(--accent-foreground);
}

.text-black {
  color: var(--black);
}

.text-gray-500 {
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity, 1));
}

.text-gray-600 {
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity, 1));
}

.text-gray-700 {
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
}

.text-gray-900 {
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / var(--tw-text-opacity, 1));
}

.text-primary {
  color: var(--primary);
}

.text-primary-foreground {
  color: var(--primary-foreground);
}

.text-secondary-foreground {
  color: var(--secondary-foreground);
}

.text-text {
  color: var(--text);
}

.text-text-light {
  color: var(--text-light);
}

.text-white {
  color: var(--white);
}

.underline {
  text-decoration-line: underline;
}

.opacity-70 {
  opacity: 0.7;
}

.opacity-80 {
  opacity: 0.8;
}

.opacity-90 {
  opacity: 0.9;
}

.outline {
  outline-style: solid;
}

.outline-white {
  outline-color: var(--white);
}

.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

/* -----------------------------------------------------------------------
   4. KUNDSPECIFIKA CUSTOM STYLES
   Lägg till egna stilar här om det behövs utanför Tailwind.
   ----------------------------------------------------------------------- */

.hover\:text-primary:hover {
  color: var(--primary);
}

.hover\:text-text-light:hover {
  color: var(--text-light);
}

.hover\:underline:hover {
  text-decoration-line: underline;
}

@media (min-width: 768px) {

  .md\:block {
    display: block;
  }

  .md\:inline {
    display: inline;
  }

  .md\:h-\[6rem\] {
    height: 6rem;
  }

  .md\:h-auto {
    height: auto;
  }

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .md\:grid-cols-\[1fr_auto_auto\] {
    grid-template-columns: 1fr auto auto;
  }

  .md\:gap-6 {
    gap: 1.5rem;
  }

  .md\:p-0 {
    padding: 0px;
  }

  .md\:p-12 {
    padding: 3rem;
  }

  .md\:p-5 {
    padding: 1.25rem;
  }

  .md\:px-12 {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .md\:px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .md\:py-14 {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .md\:py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .md\:text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .md\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }

  .md\:text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }

  .md\:text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}

@media (min-width: 1024px) {

  .lg\:flex {
    display: flex;
  }

  .lg\:hidden {
    display: none;
  }

  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .lg\:grid-cols-\[1fr_1fr_1fr_1fr_1\.2fr\] {
    grid-template-columns: 1fr 1fr 1fr 1fr 1.2fr;
  }

  .lg\:gap-8 {
    gap: 2rem;
  }
}

@media (min-width: 1280px) {

  .xl\:grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .xl\:gap-10 {
    gap: 2.5rem;
  }
}
