/* ==========================================================================
   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: #1f2921;
  --warning: #f59e0b;
  --error: #ef4444;
  --success: #10b981;
  /* Text */
  --text: #334535;
  --text-light: #ffffff;

  /* Variable colors */
  --background: #eef1eb;
  --foreground: #334535;
  --background-hover: #e2e8df;
  --border-dark: #a3b29f;
  --border-light: #d3ddd0;
  --shadow: rgb(0 0 0 / 0.5);
  --overlay: rgb(0 0 0 / 0.9);
  --body-background: #fff;

  /* --- Primärfärg --- */
  --primary: #425741;
  --primary-foreground: #ffffff;
  --primary-hover: #51694f;
  --primary-border: #425741;

  /* --- Sekundärfärg --- */
  --secondary: #2d3c2f;
  --secondary-foreground: #f3f7f1;
  --secondary-hover: #3a4d3c;
  --secondary-border: #2d3c2f;

  /* --- Accent --- */
  --accent: #f29da6;
  --accent-foreground: #ffffff;
  --accent-hover: #ef8792;
  --accent-border: #f29da6;

  /* --- Header & Footer --- */
  --header-background: #ffffff;
  --header-text: #334535;
  --footer-background: #e8ece6;
  --footer-text: #334535;
}

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

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

:root {
  /* TYPOGRAPHY - Synced with ACF Theme Options */
  --font-body: var(
    --body-font,
    "Space Grotesk",
    "Avenir Next",
    "Segoe UI",
    sans-serif
  );
  --font-heading: var(
    --heading-font,
    "Space Grotesk",
    "Avenir Next",
    "Segoe UI",
    sans-serif
  );
  --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: 2rem; /* 32px */
  --h1-sm-height: 1.15;
  --h2-sm-size: 1.7rem; /* 27px */
  --h2-sm-height: 1.2;
  --h3-sm-size: 1.4rem; /* 22px */
  --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; /* 50px */
  --h1-lg-height: 1.1;
  --h2-lg-size: 3rem; /* 39px */
  --h2-lg-height: 1.15;
  --h3-lg-size: 2.2rem; /* 32px */
  --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;
}

/* Heading casing and style are now controlled per component/block. */

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

:root {
  --border-raduis-smort: 15px;
  --border-radius-smort: var(--border-raduis-smort);
}

/**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-3);
  padding-right: var(--space-3);
}

.sub-menu {
  height: 0;
}

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

@media (min-width: 640px) {
  .container {
    max-width: 1600px;
    padding-left: var(--space-2);
    padding-right: var(--space-2);
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 1600px;
    padding-left: var(--space-2);
    padding-right: var(--space-2);
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1600px;
    padding-left: var(--space-8);
    padding-right: var(--space-8);
  }
}

@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);
}

/* ========================================
   Chunky Header - HELkom style
   ======================================== */

.header-chunky {
  z-index: 60;
  border-bottom: 1px solid var(--border-light);
}

.header-chunky__brand .logo-link {
  display: inline-flex;
  align-items: center;
}

.header-chunky__brand {
  justify-self: start;
}

.header-chunky__brand .chunky-logo {
  width: clamp(136px, 11vw, 184px);
  height: auto;
}

.header-chunky__nav {
  min-width: 0;
  justify-self: center;
  justify-content: center;
}

.chunky-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0.3rem 0.3rem;
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  border: 1px solid color-mix(in srgb, var(--border-light) 80%, #d4d4d4 20%);
  border-radius: 999px;
}

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

.chunky-nav-menu > li > a,
.chunky-nav-menu .nav-link {
  background-color: #f8f8f8;
  display: block;
  margin: 0;
  width: 140px;
  max-width: 140px;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
  border-radius: 999px;
  color: #1f324a;
  text-decoration: none;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0;
  font-weight: 600;
  text-align: center;
  justify-content: center;
  text-transform: none;
  white-space: nowrap;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.chunky-nav-menu > li > a:hover,
.chunky-nav-menu .nav-link:hover {
  background: color-mix(in srgb, #496345 12%, #ffffff 88%);
  color: #2b4733;
}

.chunky-nav-menu > .current-menu-item > a,
.chunky-nav-menu > .current-menu-ancestor > a,
.chunky-nav-menu > .current_page_item > a,
.chunky-nav-menu > .current_page_parent > a {
  background: #496345;
  color: #ffffff;
}

.chunky-nav-menu .nav-item {
  position: relative;
}

.chunky-nav-menu .nav-item.has-mega-menu > .nav-link,
.chunky-nav-menu .nav-item.has-dropdown > .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.chunky-nav-menu .nav-item.has-mega-menu > .nav-link svg,
.chunky-nav-menu .nav-item.has-dropdown > .nav-link svg {
  width: 0.9rem;
  height: 0.9rem;
  min-width: 0.9rem;
  stroke: currentColor;
  fill: none;
}

.chunky-nav-menu > li > .sub-menu,
.chunky-nav-menu .nav-item.has-mega-menu > .mega-menu {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 0;
  z-index: 120;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
}

.chunky-nav-menu > li > .sub-menu {
  min-width: 220px;
  margin: 0;
  padding: 0.45rem;
  border-radius: 0.9rem;
  border: 1px solid var(--border-light);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.09);
  list-style: none;
}

.chunky-nav-menu .sub-menu li a {
  display: block;
  padding: 0.5rem 0.7rem;
  border-radius: 0.55rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
}

.chunky-nav-menu .sub-menu li a:hover {
  background: color-mix(in srgb, var(--primary) 9%, #ffffff 91%);
  color: var(--primary);
}

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

.header-chunky__actions {
  justify-self: end;
  gap: 0.6rem;
}

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

.header-chunky .chunky-contact-toggle {
  width: auto;
  min-width: 0;
  padding: 0.24rem 0.34rem 0.24rem 1.02rem;
  border-radius: 999px;
  border: 0;
  background: #123d72;
  color: #ffffff;
  font-family: var(--body-font);
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  text-transform: none;
  box-shadow: none;
}

.header-chunky .chunky-contact-toggle:hover {
  transform: none;
  background: #0f3563;
}

.header-chunky .chunky-contact-toggle .button-text {
  display: inline-flex;
  align-items: center;
  padding-right: 0.2rem;
}

.header-chunky .chunky-contact-toggle .button-icon {
  width: 34px;
  height: 34px;
  background: #0f3563;
  border-radius: 999px;
}

.header-chunky .chunky-contact-toggle .button-icon .icon {
  display: none;
}

.header-chunky .chunky-contact-toggle .button-icon::before {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7'/%3E%3Cpath d='M8 7h9v9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 14px 14px;
  background-position: center;
}

.chunky-contact-toggle:focus-visible {
  outline: 2px solid #8db2dc;
  outline-offset: 2px;
}

.chunky-contact-menu {
  position: absolute;
  top: calc(100% + 0.7rem);
  right: 0;
  z-index: 120;
  width: min(24rem, calc(100vw - 2rem));
  max-height: min(32rem, calc(100vh - 8rem));
  overflow: auto;
  padding: 0.5rem;
  border: 1px solid var(--border-light);
  border-radius: 1rem;
  border-top-left-radius: 0;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-0.5rem) scale(0.98);
  transform-origin: top right;
  transition:
    opacity 0.2s ease,
    transform 0.24s ease,
    visibility 0.24s ease;
}

.chunky-contact-dropdown.is-open .chunky-contact-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.chunky-contact-menu__person {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.55rem 0.5rem;
}

.chunky-contact-menu__person + .chunky-contact-menu__person {
  border-top: 1px solid var(--border-light);
}

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

.chunky-contact-menu__avatar img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.chunky-contact-menu__details {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 0.24rem;
}

.chunky-contact-menu__name {
  margin: 0;
  color: var(--primary);
  font-size: 1rem;
  font-family: var(--heading-font);
  font-weight: 700;
}

.chunky-contact-menu__meta-list {
  display: grid;
  gap: 0.2rem;
}

.chunky-contact-menu__meta-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.3rem 0.45rem;
  border-radius: 0.65rem;
  color: var(--text);
  text-decoration: none;
}

.chunky-contact-menu__meta-link:hover,
.chunky-contact-menu__meta-link:focus-visible {
  color: var(--primary);
  background: rgba(139, 58, 46, 0.06);
  outline: none;
}

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

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

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  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);
}

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

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

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

.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  margin-bottom: 1.4rem;
  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-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: none;
  background: var(--accent, #f5f5f0);
  color: var(--text);
}

.mobile-menu__nav {
  flex: 1;
}

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

.mobile-menu-list > li > a {
  display: block;
  padding: 1rem 0;
  color: var(--text);
  text-decoration: none;
  font-size: clamp(1.15rem, 5vw, 1.6rem);
  line-height: 1.2;
  border-bottom: 1px solid var(--border-light);
}

.mobile-submenu-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2.75rem;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
}

.mobile-submenu-row > a {
  min-width: 0;
  padding: 1rem 0;
  color: var(--text);
  text-decoration: none;
  font-size: clamp(1.15rem, 5vw, 1.6rem);
  line-height: 1.2;
}

.mobile-submenu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-submenu-toggle span {
  transition: transform 0.2s ease;
}

.is-submenu-open > .mobile-submenu-row .mobile-submenu-toggle span {
  transform: rotate(45deg);
}

.mobile-menu-list .sub-menu {
  height: auto;
  margin: 0;
  padding: 0 0 0.5rem 1rem;
  list-style: none;
}

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

.mobile-menu-list .sub-menu > li > a {
  display: block;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
}

.mobile-menu-list .mega-menu-item-image-wrap {
  display: none;
}

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

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

.mobile-menu__contact {
  display: grid;
  gap: 0.65rem;
}

.mobile-menu__contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
}

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

@media (max-width: 1279px) {
  .header-chunky__pill {
    gap: 0.65rem;
  }

  .chunky-nav-menu > li > a,
  .chunky-nav-menu .nav-link {
    padding: 0.52rem 0.9rem;
    font-size: 14px;
    font-weight: 600;
  }
}

@media (max-width: 1023px) {
  .header-chunky__pill {
    min-height: 64px;
    border-radius: 18px;
    grid-template-columns: 1fr auto;
    padding: 0.5rem 0.75rem;
  }

  .header-chunky__brand .chunky-logo {
    width: 134px;
  }

  .header-chunky .chunky-contact-toggle {
    min-height: 38px;
    padding-left: 0.82rem;
    font-size: 12px;
  }

  .header-chunky .chunky-contact-toggle .button-text {
    display: none;
  }

  .header-chunky .chunky-contact-toggle .button-icon {
    width: 30px;
    height: 30px;
  }

  .chunky-contact-menu {
    position: fixed;
    top: 68px;
    left: 50%;
    right: auto;
    transform: translate(-50%, -0.65rem) scale(0.98);
    width: min(28rem, calc(100vw - 1.25rem));
    max-height: min(70dvh, calc(100dvh - 6.5rem));
    border-top-left-radius: 1rem;
  }

  .chunky-contact-dropdown.is-open .chunky-contact-menu {
    transform: translate(-50%, 0) scale(1);
  }

  .chunky-contact-menu__person {
    flex-direction: column;
  }

  .chunky-contact-menu__avatar {
    width: 5rem;
    height: 5rem;
  }
}

@media (max-width: 767px) {
  .header-chunky__actions {
    gap: 0.35rem;
  }

  .header-chunky__mobile-toggle {
    border-radius: 999px;
    background: #f3f5f6;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu,
  .chunky-contact-menu {
    transition: none;
  }
}

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

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

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

.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: 600;
  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: visible !important;
  background: transparent;
  backdrop-filter: none;
  opacity: 1;
  pointer-events: none;
  transform: none !important;
}

.header-retail .retail-mobile-menu.retail-drawer-open {
  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: 24px 0 44px rgba(0, 0, 0, 0.34);
  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);
}

.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 a:has(> .mega-menu-item-image-wrap) {
  display: block;
}

.header-retail .retail-drawer-menu .mega-menu-item-image-wrap {
  display: none;
}

.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: 600;
  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: #f4b25b;
}

.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);
}

@media (max-width: 1023px) {
  .header-retail {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 200;
    transition: box-shadow 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* Kompensera för fixed header så innehåll inte hamnar under */
  /* No extra padding needed for sticky header */
}

/* ========================================
  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: var(--secondary-foreground);
  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(--secondary-foreground);
  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;
  border-radius: 0.25rem;
}

.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: 3rem;
  }

  :is(.retail-nav-menu, .chunky-nav-menu) > li.has-mega-menu > .sub-menu {
    position: fixed;
    left: 50%;
    right: auto;
    top: var(--mega-menu-top, 99px);
    transform: translate(-50%, -8px);
    width: min(1600px, 100vw) !important;
    min-width: 0;
    background: var(--secondary-foreground);
    border: 1px solid rgba(31, 50, 74, 0.12);
    border-radius: 0;

    padding: 2rem var(--space-8);
    display: grid;
    grid-template-columns: repeat(4, 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);
    border-radius: 0;
    background: transparent;
  }

  .mega-menu-item-image-wrap {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 1;
    margin-bottom: 1rem;
    border-radius: 1rem;
    overflow: hidden;
    background: var(--border-light);
  }

  .mega-menu-item-image {
    display: block;
    border-radius: 1rem !important;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    transition: transform 0.35s ease;
  }

  :is(.retail-nav-menu, .chunky-nav-menu)
    > li.has-mega-menu
    > .sub-menu
    > li
    > a:hover
    .mega-menu-item-image {
    transform: scale(1.025);
  }

  .mega-menu-item-title {
    display: block;
  }

  :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;
  }

  .retail-drawer-menu a:has(> .mega-menu-item-image-wrap) {
    display: grid;
    grid-template-columns: 5.5rem minmax(0, 1fr);
    align-items: center;
    gap: 0.85rem;
    border-radius: 0.25rem;
  }

  .retail-drawer-menu .mega-menu-item-image-wrap {
    display: block;
    width: 5.5rem;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 0.25rem;
  }

  .retail-drawer-menu .mega-menu-item-image {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 0.25rem;
    -o-object-fit: cover;
       object-fit: cover;
  }
}

@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;
  }
}

/* -----------------------------------------------------------------------
   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;
}

.visible {
  visibility: visible;
}

.collapse {
  visibility: collapse;
}

.static {
  position: static;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.sticky {
  position: sticky;
}

.inset-0 {
  inset: 0px;
}

.bottom-0 {
  bottom: 0px;
}

.right-0 {
  right: 0px;
}

.top-0 {
  top: 0px;
}

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

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

.m-0 {
  margin: 0px;
}

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

.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;
}

.my-5 {
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}

.my-6 {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

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

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

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

.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;
}

.ml-2 {
  margin-left: 0.5rem;
}

.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-2 {
  margin-top: 0.5rem;
}

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

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

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

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

.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-14 {
  height: 3.5rem;
}

.h-auto {
  height: auto;
}

.h-full {
  height: 100%;
}

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

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

.w-24 {
  width: 6rem;
}

.w-auto {
  width: auto;
}

.w-full {
  width: 100%;
}

.min-w-0 {
  min-width: 0px;
}

.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;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.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-wrap {
  flex-wrap: wrap;
}

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

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

.justify-end {
  justify-content: flex-end;
}

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

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

.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;
}

.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-white {
  background-color: var(--white);
}

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

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

.p-0 {
  padding: 0px;
}

.p-2 {
  padding: 0.5rem;
}

.p-4 {
  padding: 1rem;
}

.p-5 {
  padding: 1.25rem;
}

.p-6 {
  padding: 1.5rem;
}

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

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.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-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.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-2 {
  padding-top: 0.5rem;
}

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

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

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

.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-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;
}

.shadow {
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.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\:underline:hover {
  text-decoration-line: underline;
}

@media (min-width: 768px) {

  .md\:mb-12 {
    margin-bottom: 3rem;
  }

  .md\:mt-0 {
    margin-top: 0px;
  }

  .md\:inline {
    display: inline;
  }

  .md\:flex {
    display: flex;
  }

  .md\:h-20 {
    height: 5rem;
  }

  .md\:w-auto {
    width: 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\:items-center {
    align-items: center;
  }

  .md\:gap-2 {
    gap: 0.5rem;
  }

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

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

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

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

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

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

  .md\:py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .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_auto_1fr\] {
    grid-template-columns: 1fr auto 1fr;
  }

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

  .lg\:py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
}

@media (min-width: 1280px) {

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