:root {
  --primary: #4F6B4A;
  --primary-2: #9EB7A0;

  --secondary: #6F8F6A;
  --secondary-2: #A9C4B2;

  --alternative:#E2C766;

  --neutral: #F3EFE8;
  --neutral-2: #EEF3EE;

  --line-height-base: 1.2;
}

.header.header.content, .main-panel-top .container {
  max-width: 1620px;
}

/* Headings */

.h1 {
  font-weight: 700;
  font-size: 52px;
  line-height: var(--line-height-base);
  color: var(--primary);
}

h2 {
  font-weight: 700;
  font-size: 36px;
  line-height: var(--line-height-base);
  color: var(--primary);
}

h3 {
  font-weight: 700;
  font-size: 30px;
  line-height: var(--line-height-base);
  color: var(--primary);
}

h4 {
  font-weight: 700;
  font-size: 24px;
  line-height: var(--line-height-base);
  color: var(--primary);
}

.h4-uppercase {
  font-weight: 700;
  font-size: 22px;
  line-height: var(--line-height-base);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
}

/* Paragraphs */
p {
  color: #2A2A28;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
}

/* Button */
button {
  font-weight: 700;
  font-size: 20px;
}

/* Hyperlink */
a {
  font-weight: 600; /* Semi Bold */
  color: var(--secondary);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--primary-2);
}

.pagebuilder-slide-wrapper .pagebuilder-slide-button, button, .btn, .action, a,
.action, .action::before {
    transition: color .3s, background .3s, background-color .3s;
}

.news-section .pagebuilder-column-line {
  gap: 20px;
}

/* === Nav breakpoint shift 992 → 1200: re-apply mobile behaviour in the 992–1199 gap === */
@media (min-width: 992px) and (max-width: 1200px) {

  /* Hide desktop top panel */
  .page-header .header.panel { display: none; }

  /* Mobile nav-sections sizing */
  .nav-sections { font-size: 13px; }
  .navigation ul { max-width: 100%; flex: 0 0 100%; }
  .navigation .level0 { font-size: 1em; width: 100%; }
  .navigation .parent .level-top:after { font-size: 1.2rem; right: 15px; z-index: 99; }

  /* Mobile drawer behaviour */
  .nav-open .nav-sections { width: 380px; }
  .nav-open .page-wrapper { left: 380px; width: 100%; position: fixed; z-index: 3; }

  /* Mobile nav-sections item title */
  header.page-header .nav-sections-item-title { height: 63px; background-color: #4dae65; }
  header.page-header .nav-sections-item-title.active > a, 
  header.page-header .nav-sections-item-title.active > a:hover, 
  header.page-header .nav-sections-item-title.active > a:focus { color: #4dae65;}
  header.page-header .nav-sections-item-content { margin-top: 63px; }
  header.page-header .nav-sections-item-title[aria-controls="store.menu"] > a:before {
    font-size: 14px;
    line-height: 1;
    content: '\f827';
    font-family: porto-icons;
    vertical-align: middle;
    display: inline-block;
    font-weight: 400;
    margin: -2px 5px 0 0;
  }
  .navigation { padding-left: 0; padding-right: 0; }
  .navigation li.level0 > a.ui-state-active { color: #333 !important; }
  .sw-megamenu.navigation li.level0.staticwidth > .submenu { border-radius: 0 !important; }
  ul.dropdown.switcher-dropdown { width: auto !important; }

  /* Header row mobile padding */
  .header-row .header-center,
  .header-row .header-left,
  .header-row .header-right { padding: 20px 0; }
  .page-header.sticky-header .header-row .header-center,
  .page-header.sticky-header .header-row .header-left,
  .page-header.sticky-header .header-row .header-right { padding-top: 0; padding-bottom: 0; }
  .page-header.sticky-header .header.content.header-row { min-height: 60px; }

  /* Suppress desktop nav rules that fire at min-width:992 in custom.css */
  .page-header .navigation:not(.side-megamenu) .level0 { margin-right: 0; }
  .page-header .navigation:not(.side-megamenu) .level0 > .level-top {
    padding: 13px 36px 13px 15px;
  }
  .page-header .navigation:not(.side-megamenu) .level0.parent > a > span:before,
  .page-header .navigation:not(.side-megamenu) .level0.parent > a > span:after { display: none; }
}

@media (max-width: 1200px) {
    header.page-header .nav-sections-items:before, header.page-header .nav-sections-items:after {
        content: '';
        display: table;
    }
    header.page-header .nav-sections-item-content:before, header.page-header .nav-sections-item-content:after {
            content: '';
            display: table;
        }
}

/* Header */
@media (max-width:1200px) {
  .header-left {
    gap: 20px;
  }
  .page-header.type3 .navigation:not(.side-megamenu) > ul {
      display: flex;
      align-items: flex-start;
      flex-wrap: wrap;
      position: static;
      flex-direction: column;
  }
  .ui-menu-item {
    width: 100%;
  }
  .navigation li.level0>a.level-top {
    padding: 13px 36px 13px 15px!important;
  }
  .category-item.level-top {
    background-color: #f0f0f0;
    padding: 0px;
    a {
      font-size: 14px;
      font-weight: 400!important;
      line-height: 20px;
      color: #777!important;
      letter-spacing: -.25px;
    }
  }
  .nav-sections {
    background-color: #f6f6f6;
  }
}
@media (max-width: 768px) {
  .header-left {
    overflow: scroll;
  }
}

@media (min-width: 992px) {
    .page-header.type3 .nav-sections {
      margin-left: 0;
      align-items: flex-start;
    }
}

.page-header.type3.sticky-header .logo img {
  transform:scale(1);
}
@media (min-width: 992px) {
  .page-header.type3.sticky-header .logo {
    min-width: 150px;
    max-width: 100%;
  }
}

.minicart-wrapper .action.showcart .counter.qty {
background-color: var(--primary);
}

/* Categories */

/* Category Description */
.era-category-description {
  border-bottom: none;
  padding: 3.75rem 0;
  margin-top: 2rem;
  position: relative;
  background-color: var(--neutral-2);

  &::before,
  &::after {
    content: '';
    position: absolute;
    width: 30vw;
    height: 100%;
    top: 0;
    background: inherit;
  }

  &::before {
    right: 100%;
  }

  &::after {
    left: 100%;
  }
}



/* Product */

.product-item-info .product-item-details .product-item-actions .tocart, 
.action.primary.tocart, 
.block-minicart .block-content > .actions > .primary .action.primary, 
.checkout-shipping-method .actions-toolbar .action.primary {
  position: relative !important;
  display: inline-block !important;
  background-color: var(--primary) !important;
  color: #FFFFFF !important;
  font-family: inherit !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.35s ease !important;
  overflow: hidden !important;
}
.product-item-info .product-item-details .product-item-actions .tocart:hover, 
.action.primary.tocart:hover, 
.block-minicart .block-content > .actions > .primary .action.primary:hover,
.checkout-shipping-method .actions-toolbar .action.primary:hover {
  background-color: var(--primary-2) !important;
}
.product-item-info .product-item-details .product-item-actions .tocart:active, .action.primary.tocart:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
/* Pagebuilder Block */

@media (max-width: 992px) {
.tablet-wrap .pagebuilder-column-line {
   flex-wrap: wrap;
    .pagebuilder-column {
        background-attachment: scroll !important;
        flex-basis: 100%;
        max-width: 100%;
        }
    }
}

.category-block {
padding: 0 80px;
}

.pagebuilder-overlay .category-block-title:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  color: #fff;
  border-bottom: 3px solid;
  transition: width .5s ease;
}

.pagebuilder-overlay:hover .category-block-title:after {
width: 100%;
}


.category-block-title {
   position: relative;
}

.image-border {
  box-shadow: inset 0 0 0 6px white;
}

.shadow {
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}

.hero-banner .pagebuilder-poster-content {
    z-index: 5;
    width: 450px;
    max-width: 100%;
    background-color: #fff;
    color: #000;
    padding: 5rem 2rem 4rem;
    text-align: center;
    position: relative;
        h1 {
    margin:0;
    padding: 10px;
    }
}
.hero-banner .pagebuilder-poster-content:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border: 7px solid transparent;
    box-shadow: inset 0 0 0 2px #000;
    z-index: 2;
}

.image-border .pagebuilder-overlay .pagebuilder-poster-content {
  z-index: 2;
}

.image-border .pagebuilder-overlay, .content-border {
position: relative;
}
.image-border .pagebuilder-overlay:after, .content-border:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border: 10px solid transparent;
    box-shadow: inset 0 0 0 3px #fff;
transition: box-shadow 0.2s ease;
    z-index: 1;
}
.image-border .pagebuilder-overlay:hover:after, .content-border:after {
     box-shadow: inset 0 0 0 3px #D6DED6;
}

@media  (max-width: 1024px) {
   [data-content-type='row'][data-appearance='full-width']>.row-full-width-inner {
  padding: 0 20px;
  }
.category-block {
padding: 0 20px;
}
}

[data-content-type='row'][data-appearance='full-width']>.row-full-width-inner {
max-width: 1620px;
}

.pagebuilder-button-primary {
    position: relative !important;
    display: inline-block !important;
    padding: 18px 32px !important;
    background-color: var(--primary)!important;
    color: #FFFFFF !important;
    font-size: 14px !important;
    font-family: inherit !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    border-radius: 6px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.35s ease !important;
    overflow: hidden !important;
}

.product-item-info .product-item-details .product-item-actions .tocart {

}

.pagebuilder-button-primary:hover {
  background-color: var(--primary-2) !important;
}

.pagebuilder-button-primary:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}


/* Animations */

/* Scroll Anim: Base */
.anim {
  opacity: 0;
  transform: translate3d(0, 50px, 0);
  transition:
    opacity 0.7s cubic-bezier(0, -0.15, 0, 0.66),
    transform 1.7s cubic-bezier(.2, .8, .2, 1);
  will-change: opacity, transform;

  &.is-inview {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  /* Variants */
  &--left  { 
    transform: translate3d(-28px, 0, 0); 
}
  &--right { 
    transform: translate3d( 28px, 0, 0); 
}
  &--up    { 
    transform: translate3d( 0, 28px, 0); 
}

  &--left,
  &--right,
  &--up {
    &.is-inview {

      transform: none;
    }
  }
}

/* Zoom In */
.slick-active {
  .anim--hero-zoom {
    overflow: hidden;
    opacity: 0;
    transform: scale(1);
    animation: heroFade .5s ease forwards, heroZoom 12s ease-out forwards;
    animation-delay: 0s, .2s;
  }
}

@keyframes heroFade {
  to { opacity: 1; }
}

@keyframes heroZoom {
  to { transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .slick-active {
    .anim--hero-zoom {
      animation: none !important;
      opacity: 1 !important;
      transform: none !important;
    }
  }
}

/* Stagger: apply to upper column */
.anim--stagger {
  .pagebuilder-column-line > * {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
    transition: opacity .65s ease, transform .65s cubic-bezier(.2,.8,.2,1);
    will-change: opacity, transform;
  }

  &.is-inview {
    .pagebuilder-column-line > * {
      opacity: 1;
      transform: translate3d(0, 0, 0);

      /* Stagger timing */
      &:nth-child(1) { 
        transition-delay: .06s; 
    }
      &:nth-child(2) { 
        transition-delay: .24s; 
    }
      &:nth-child(3) { 
        transition-delay: .36s; 
    }
      &:nth-child(4) { 
        transition-delay: .42s; 
    }
      &:nth-child(5) { 
        transition-delay: .36s; 
    }
      &:nth-child(6) { 
        transition-delay: .42s; 
    }
      &:nth-child(7) { 
        transition-delay: .48s; 
    }
      &:nth-child(8) { 
        transition-delay: .54s; 
    }
    }
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .anim,
  .anim--stagger .pagebuilder-column-line > * {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Display topbar */
.page-header.type3 .main-panel-top {
    display: block;
}

.store-links {
  display: flex;
  gap: 10px;
  align-items: center;
}

.store-item {
  display: inline-block;
  width: 32px;
  height: 22px;
  background-size: cover;
  background-position: center;
  border-radius: 2px;
  transition: opacity 0.2s ease;
}

.store-item:hover {
  opacity: 0.7;
}

/* Denmark flag */
.store-item-dk {
  background-image: url('/media/denmark.png');
}

/* Sweden flag */
.store-item-se {
  background-image: url('/media/sweden.png');
}

/* Links */
.page-header .navigation li.level0.active, .page-header .navigation li.level0:hover {
  color: var(--primary);
}

/* Topbar left */

.header-usp__list {
    display: flex;
    justify-content: left;
    width: max-content;
}

.header-usp__list li {
    padding-left: 0;
    margin-bottom: 0;
    margin-right: 1.5rem;
    font-size: 1em;
    line-height: 3rem;
    text-transform: uppercase;
    list-style-type: none;
}

body.catalog-product-view[class*=product-type-] .product-info-main .custom-block{
  display:block;
}

.action.primary:hover, .amshopby-button:hover, .am-filter-go:hover,
.action.primary, .amshopby-button, .am-filter-go {
  border-color: transparent !important;
}

.catalog-product-view .product-info-price {
  margin: 25px 0;
}

.product-info-main .product-info-stock-sku .stock {
  padding-left: 0;
}

.product-info-main .product-info-stock-sku .stock.available span {
  color: #4dae65;
}

 .product.data.items .data.item.title {
    position: relative;
}

.product.data.items .data.item.title a.data.switch::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    display: block;
    transition: transform 0.3s ease;
}

.product.data.items .data.item.title a.data.switch::before {
    content: '';
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 14px;
    background-color: currentColor;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.product.data.items .data.item.title a.data.switch::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 2px;
    background-color: currentColor;
    display: block;
}

.product.data.items .data.item.title[aria-expanded="true"] a.data.switch::before {
    transform: translateY(-50%) rotate(90deg);
    opacity: 0;
}

.page-footer {
  border-top: 1px solid #f4f4f4;
}

.footer .footer-middle .textwidget {
  p {
    margin-bottom: 2px;
  }
}

.page-header {
  border-bottom: 1px solid #f4f4f4;
}

.header-usp__list {
  padding-left: 0;
}

@media (max-width: 673px) {
  .header-usp__list {
    .next-day-delivery, 
    .order-before {
      display: none;
    }
  }
}
@media (max-width: 425px) {
  .header-usp__list {
    flex-direction: column;
  }
}

.page-title-wrapper {
  margin: 15px 0;
}

.action.towishlist:hover::before {
  color: #E74C3C;
}

.product.name.product-item-name .product-item-link:hover,
.product.name.product-item-name .product-item-link:visited {
  color: #222529;
}

.catalog-product-view .page-title-wrapper.product {
  margin: 0;
}


.minicart-items .product-item.era-recommendation-item .product-item-name {
  width: 100%;
}

.minicart-items .product-item.era-recommendation-item .action.tocart.primary {
  padding-left: 10px;
  padding-right: 10px;
  font-size: 11px;
}

.minicart-widgets .product-item-photo:hover {
  box-shadow: none;
}

.product-item .price-box .normal-price .price-label {
  display: inline-block;
  color: #222529;
}

.image-border.hero-banner h1 {
  text-align: center;
  font-style: normal !important;
  font-weight: lighter;
  text-transform: uppercase;
  font-size: 32px;
}

@media (max-width: 600px) {
.image-border.hero-banner h1 {
  font-size: 28px;
}
}

a.action.tocart.primary::before {
  content: "";
  margin: 0;
}

[data-content-type="row"][data-appearance="contained"] {
  max-width: 1200px;
}

.cms-fortryd input {
  max-width: 500px;
}