:root {
  --jentene-blue: #c9dde1;
  --jentene-blue-hover: #aac2ca;
  --jentene-light-blue: #afd1ce;
  --jentene-brown: #452825;
  --jentene-header-font-family: "montserrat", sans-serif;
  --jentene-body-font-family: "montserrat", sans-serif;
  --jentene-heading-font-family: "montserrat", sans-serif;
}

:root {
  --h1-size: clamp(1.625rem, 1.25rem + 2.5vw, 2.25rem);
  --h2-size: clamp(1.5rem, 1.1rem + 2vw, 2.0625rem);
  --h3-size: clamp(1.25rem, 0.875rem + 1.75vw, 1.875rem);
  --h4-size: clamp(1.125rem, 0.8rem + 1.5vw, 1.5rem);
  --h5-size: clamp(1rem, 0.75rem + 1vw, 1.25rem);
  --h6-size: clamp(0.875rem, 0.7rem + 0.8vw, 1.125rem);
}

@media (max-width: 540px) {
  :root {
    --h1-size: 1.625rem;
    --h2-size: 1.5rem;
    --h3-size: 1.25rem;
  }
}
h1, h2, h3, h4, h5, h6,
.fl-heading,
.entry-title,
.page-title,
.widget-title,
.woocommerce-loop-product__title,
.woocommerce-loop-category__title {
  font-family: "montserrat", sans-serif;
  font-weight: 500;
  line-height: 1.2;
  color: #452825;
  margin: 0 0 1.25rem;
}

h1,
.entry-title,
.page-title {
  font-size: var(--h1-size);
}

h2 {
  font-size: var(--h2-size);
}

h3,
.widget-title,
.woocommerce-loop-product__title {
  font-size: var(--h3-size);
}

.related.products h2 {
  font-size: var(--h4-size) !important;
}

h4 {
  font-size: var(--h4-size);
}

h5 {
  font-size: var(--h5-size);
}

h6 {
  font-size: var(--h6-size);
}

footer h2 {
  font-size: var(--h5-size) !important;
}

.h1 {
  font-size: var(--h1-size);
}

.h2 {
  font-size: var(--h2-size);
}

.h3 {
  font-size: var(--h3-size);
}

.h4 {
  font-size: var(--h4-size);
}

.h5 {
  font-size: var(--h5-size);
}

.h6 {
  font-size: var(--h6-size);
}

.site-header__logo-container {
  display: block;
  height: 50px;
  transform: translateY(0.5rem);
  position: relative;
  display: block;
  z-index: 1000;
}
@media (min-width: 1024px) {
  .site-header__logo-container {
    transform: translateY(-0.5rem);
  }
}
.site-header__logo {
  height: 100px !important;
  width: auto !important;
}
@media (min-width: 1024px) {
  .site-header__logo {
    height: auto !important;
    max-width: 210px !important;
  }
}

.header-container {
  background-color: #452825;
  padding-block: 1rem;
}
.header-container .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
@media (max-width: 1200px) {
  .header-container .wrap {
    padding-inline: 1rem;
  }
}
.header-container .wrap::before, .header-container .wrap::after {
  display: none !important;
}
.header-container .wcmenucart-contents {
  color: #fff;
  position: relative;
}
.header-container .wcmenucart-contents:hover {
  color: #c9dde1;
}
.header-container .wcmenucart-contents span {
  position: absolute;
  top: 0;
  right: 0;
  background-color: #c9dde1;
  color: #452825;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transform: translate(40%, -50%) scale(0.85);
}

.header-col {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  height: 100%;
  align-items: center;
}
.header-col--right {
  justify-content: flex-end;
}

:root {
  --jentene-blue: #c9dde1;
  --jentene-blue-hover: #aac2ca;
  --jentene-light-blue: #afd1ce;
  --jentene-brown: #452825;
  --jentene-header-font-family: "montserrat", sans-serif;
  --jentene-body-font-family: "montserrat", sans-serif;
  --jentene-heading-font-family: "montserrat", sans-serif;
}

.header-container, .topbar {
  z-index: 10000;
  position: relative;
}

html, html body {
  overflow-x: hidden;
}
@media (max-width: 1023px) {
  html body:has(.navigation-menu__wrapper[aria-expanded=true]) {
    overflow-y: hidden;
  }
}

header {
  position: relative;
  z-index: 100;
}

.navigation-menu {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
}
.navigation-menu__trigger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.45rem;
  top: 0 !important;
  border: none !important;
  background-color: transparent !important;
  padding: 0;
  --line-color: #afd1ce;
}
.navigation-menu__trigger__span {
  width: 2rem;
  height: 3px;
  background-color: var(--line-color);
  border-radius: 10rem;
  transition: transform 0.5s, opacity 0.5s;
}
.navigation-menu__trigger__span:nth-child(2) {
  transform-origin: right center;
}
.navigation-menu__trigger:focus-visible {
  outline: 2px auto -webkit-focus-ring-color;
  outline-offset: 5px;
}
.navigation-menu__trigger:hover {
  --line-color: #c9dde1;
}
.navigation-menu__trigger[aria-expanded=true] span:first-child {
  transform: rotate(-45deg) translate(-20%, 250%);
}
.navigation-menu__trigger[aria-expanded=true] span:nth-child(2) {
  transform: scale(0.5) translateX(50%);
  opacity: 0;
}
.navigation-menu__trigger[aria-expanded=true] span:last-child {
  transform: rotate(45deg) translate(-20%, -250%);
}
.navigation-menu__wrapper {
  --header-height: 9rem;
  background-color: #452825;
  position: absolute;
  top: var(--header-height);
  width: 100%;
  left: 0;
  z-index: 10;
  transition: transform 0.5s, opacity 0.3s ease, visibility 0s linear;
}
@media (max-width: 1023px) {
  .navigation-menu__wrapper:not([data-open=true]) {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}
@media (min-width: 1024px) {
  .navigation-menu__wrapper:not([data-open=true]) {
    transform: translateY(-100%);
  }
}
@media (max-width: 1023px) {
  .navigation-menu__wrapper[data-open=true] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}
.navigation-menu__wrapper {
  overflow-y: auto;
  max-height: calc(100vh - var(--header-height));
}
@media (max-width: 1023px) {
  .navigation-menu__wrapper {
    height: calc(100vh - var(--header-height));
  }
}
.navigation-menu__wrapper .fl-module-content {
  margin-top: 0;
}
.navigation-menu__content {
  --logo-size: 12rem;
  --menu-logo-offset-desktop: var(--logo-size);
  --menu-logo-offset-buffer-desktop: 1.5rem;
  margin: auto;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  padding-top: 1rem;
  gap: 1rem;
  max-width: 1200px;
}
@media (min-width: 1024px) {
  .navigation-menu__content {
    flex-direction: column;
  }
}
.navigation-menu__content {
  padding-top: 4rem;
  padding-inline: 2rem;
}
@media (min-width: 1024px) {
  .navigation-menu__content {
    padding-top: 0;
    padding-inline: 0;
    padding-left: calc(var(--menu-logo-offset-desktop) + var(--menu-logo-offset-buffer-desktop));
    padding-block: 2rem;
  }
}

header .menu-hovedmeny-container {
  flex: 1;
  width: 100%;
}
header .menu-hovedmeny-container ul {
  padding-inline-start: 0;
  list-style-type: none;
}
header .menu-hovedmeny-container ul a {
  padding: 0.25rem 0;
  max-width: -moz-max-content;
  max-width: max-content;
}
header .menu-hovedmeny-container ul.menu {
  display: flex;
  gap: 1rem;
  flex-direction: row;
  flex-wrap: wrap;
}
@media (min-width: 768px) {
  header .menu-hovedmeny-container ul.menu {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  header .menu-hovedmeny-container ul.menu {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
}
header .menu-hovedmeny-container ul.menu > li {
  flex: 1;
  min-width: 300px;
}
@media (min-width: 460px) {
  header .menu-hovedmeny-container ul.menu > li {
    min-width: 100%;
  }
}
@media (min-width: 1024px) {
  header .menu-hovedmeny-container ul.menu > li {
    min-width: initial;
  }
}
header .menu-hovedmeny-container ul.menu > li > a {
  color: #afd1ce;
  font-weight: bold;
}
header .menu-hovedmeny-container ul.menu > li > a:hover {
  text-decoration: underline;
}
header .menu-hovedmeny-container ul.sub-menu li a {
  color: #fff;
  font-size: 1rem;
}
@media (max-width: 879px) {
  header .menu--mini {
    display: none !important;
  }
}
header .menu--mini a {
  padding-block: 0;
}

body.page-template-template-beaver-builder .site-inner, body.page-template-template-limited_access .site-inner, body.archive.category.fl-theme-builder-archive .site-inner {
  margin: 0 !important;
  width: 100%;
  max-width: initial !important;
  padding: 0 !important;
}
@media (min-width: 1141px) {
  body.page-template-template-beaver-builder .site-inner, body.page-template-template-limited_access .site-inner, body.archive.category.fl-theme-builder-archive .site-inner {
    margin-top: var(--header-height, 82px) !important;
  }
}

body.page-template-template-limited_access .limited-access-extra-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

/**
 * Archive Filter - pill-style categories and sort dropdown
 * Uses theme colors from _settings.scss
 */
:root {
  --jentene-blue: #c9dde1;
  --jentene-blue-hover: #aac2ca;
  --jentene-light-blue: #afd1ce;
  --jentene-brown: #452825;
  --jentene-header-font-family: "montserrat", sans-serif;
  --jentene-body-font-family: "montserrat", sans-serif;
  --jentene-heading-font-family: "montserrat", sans-serif;
}

.archive-filter {
  margin: 0;
  overflow: visible;
}

.archive-filter__row--categories {
  margin-bottom: 1.5rem;
}

.archive-filter__pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  overflow: visible;
}

.archive-filter__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.archive-filter__hits {
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.7);
}

.archive-filter__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.5em 1em;
  border: 1px solid #000000;
  border-radius: 2em;
  font-size: 0.9rem;
  text-decoration: none;
  color: inherit;
  background: transparent;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.archive-filter__pill--link:hover {
  background-color: #000000;
  color: #fff;
  border-color: #000000;
}

.archive-filter__pill--active {
  background-color: #c9dde1;
  color: #452825;
  border-color: #c9dde1;
}

.archive-filter__pill--dropdown {
  position: relative;
  padding: 0;
  border: none;
}

.archive-filter__pill-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.5em 1em;
  border: 1px solid #000000;
  border-radius: 2em;
  font-size: 0.9rem !important;
  font-family: inherit;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
  text-transform: none !important;
  font-weight: normal !important;
  background: initial !important;
}

.archive-filter__pill-trigger:hover {
  background-color: #000000 !important;
  color: #fff;
  border-color: #000000;
}

.archive-filter__pill--dropdown[aria-expanded=true] .archive-filter__pill-trigger {
  background-color: #000000 !important;
  color: #fff;
  border-color: #000000;
}

.archive-filter__pill-chevron {
  transition: transform 0.2s;
}

.archive-filter__pill--dropdown[aria-expanded=true] .archive-filter__pill-chevron {
  transform: rotate(180deg);
}

.archive-filter__pill--sort .archive-filter__pill-trigger {
  border: none;
  border-radius: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2) !important;
  padding: 0.25em 0.5em;
  background: transparent !important;
  border-radius: 0 !important;
}
.archive-filter__pill--sort .archive-filter__pill-trigger:hover {
  background: transparent;
  border-bottom-color: #000000;
  color: #000000;
}
.archive-filter__pill--sort[aria-expanded=true] .archive-filter__pill-trigger {
  background: transparent !important;
  border-bottom-color: #000000;
  color: #000000;
}
.archive-filter__pill--sort .archive-filter__sort-icon {
  flex-shrink: 0;
  opacity: 0.8;
  font-size: 1rem;
  transform: rotate(90deg);
}
.archive-filter__pill--sort .archive-filter__sort-value {
  font-weight: 600;
  color: #000000;
}
.archive-filter__pill--sort .archive-filter__pill-chevron {
  margin-left: 0.25em;
}

.archive-filter__dropdown-list {
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 0;
  min-width: 12rem;
  max-height: 20rem;
  overflow-y: auto;
  margin: 0;
  padding: 0.5rem 0;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 100;
}

.archive-filter__dropdown-list[hidden] {
  display: none;
}

.archive-filter__dropdown-link {
  display: block;
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
  background-color: transparent !important;
  transition: background-color 0.2s, color 0.2s;
  border-radius: 0 !important;
}

.archive-filter__dropdown-link:hover {
  background-color: rgba(0, 0, 0, 0.05) !important;
  color: #000000;
}

.archive-filter__dropdown-link--active {
  background-color: rgba(0, 0, 0, 0.06);
  color: #000000;
  font-weight: 600;
}

.archive-filter__dropdown-link--active:hover {
  background-color: rgba(0, 0, 0, 0.1);
  color: #000000;
}

.archive-filter__pill--sort .archive-filter__dropdown-list {
  left: auto;
  right: 0;
  min-width: 14rem;
}

.archive-filter__sort-list .archive-filter__dropdown-link {
  width: 100%;
  border: none;
  background: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.archive-filter__sort-list .archive-filter__dropdown-link--active {
  background-color: rgba(0, 0, 0, 0.06);
  color: #000000;
}

.archive-filter__sort-select--hidden {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

.woocommerce div.product div.images.woocommerce-product-gallery .flex-direction-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}
.woocommerce div.product div.images.woocommerce-product-gallery .flex-direction-nav a {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  color: #1a1a1a;
  text-decoration: none;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  opacity: 0.9;
  transition: opacity 0.2s ease, background 0.2s ease;
  overflow: hidden;
  text-indent: -9999px;
}
.woocommerce div.product div.images.woocommerce-product-gallery .flex-direction-nav a:hover, .woocommerce div.product div.images.woocommerce-product-gallery .flex-direction-nav a:focus {
  opacity: 1;
  background: #fff;
}
.woocommerce div.product div.images.woocommerce-product-gallery .flex-direction-nav a.flex-disabled {
  opacity: 0.25;
  pointer-events: none;
}
.woocommerce div.product div.images.woocommerce-product-gallery .flex-direction-nav a::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform-origin: center;
}
.woocommerce div.product div.images.woocommerce-product-gallery .flex-direction-nav .flex-prev {
  left: 0.5rem;
}
.woocommerce div.product div.images.woocommerce-product-gallery .flex-direction-nav .flex-prev::before {
  transform: rotate(-135deg);
}
.woocommerce div.product div.images.woocommerce-product-gallery .flex-direction-nav .flex-next {
  right: 0.5rem;
}
.woocommerce div.product div.images.woocommerce-product-gallery .flex-direction-nav .flex-next::before {
  transform: rotate(45deg);
}
.woocommerce div.product div.images.woocommerce-product-gallery .flex-control-thumbs {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 0.5rem;
  padding: 0.75rem 0 0;
  margin: 0;
  float: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}
.woocommerce div.product div.images.woocommerce-product-gallery .flex-control-thumbs li {
  float: none;
  width: auto;
  flex: 0 0 auto;
  clear: none !important;
  margin: 0;
  scroll-snap-align: start;
}
.woocommerce div.product div.images.woocommerce-product-gallery .flex-control-thumbs li img {
  width: 4.25rem;
  height: auto;
  display: block;
}
.woocommerce div.product div.images.woocommerce-product-gallery .jentene-gallery-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}
.woocommerce div.product div.images.woocommerce-product-gallery .jentene-gallery-dots li {
  margin: 0;
  line-height: 0;
}
.woocommerce div.product div.images.woocommerce-product-gallery .jentene-gallery-dots .jentene-gallery-dots__dot {
  width: 0.52rem;
  height: 0.52rem;
  display: inline-block;
  border-radius: 50%;
  border: 0;
  background: #d0d0d0;
  text-indent: -9999px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease;
}
.woocommerce div.product div.images.woocommerce-product-gallery .jentene-gallery-dots .jentene-gallery-dots__dot.is-active, .woocommerce div.product div.images.woocommerce-product-gallery .jentene-gallery-dots .jentene-gallery-dots__dot:hover, .woocommerce div.product div.images.woocommerce-product-gallery .jentene-gallery-dots .jentene-gallery-dots__dot:focus {
  background: #1a1a1a;
}

.single-product div.product .woocommerce-tabs ul.wc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 0 0 1.5rem;
  border: 0;
}
.single-product div.product .woocommerce-tabs ul.wc-tabs::before, .single-product div.product .woocommerce-tabs ul.wc-tabs::after {
  display: none;
}
.single-product div.product .woocommerce-tabs ul.wc-tabs li {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
}
.single-product div.product .woocommerce-tabs ul.wc-tabs li::before, .single-product div.product .woocommerce-tabs ul.wc-tabs li::after {
  display: none;
}
.single-product div.product .woocommerce-tabs ul.wc-tabs li a {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.5em 1em;
  border: 1px solid #000000;
  border-radius: 2em;
  font-size: 0.9rem;
  font-weight: normal;
  line-height: 1.2;
  color: #000000;
  background: transparent;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.single-product div.product .woocommerce-tabs ul.wc-tabs li a:hover,
.single-product div.product .woocommerce-tabs ul.wc-tabs li a:focus {
  background-color: #000000;
  color: #fff;
  border-color: #000000;
}
.single-product div.product .woocommerce-tabs ul.wc-tabs li.active a {
  background-color: #c9dde1;
  color: #452825;
  border-color: #c9dde1;
}

html,
body {
  overflow-x: hidden !important;
  max-width: 100%;
}
