/* ////////////////////////////// */

/* Body > Overflow hidden (Nodig om overlays over de scrollbar te krijgen) */

body.overflow-hidden {
  overflow: hidden;
}


/* ////////////////////////////// */





/* Header - Global */

.header-global {
  background-color: #e30613;
  display: flex;
  align-items: center;
  padding: 36px 53px;
  position: absolute;
  width: 100%;
  box-sizing: border-box;
  z-index: 2000;

  /* Entrance Animation */
  opacity: 0;
  animation: 
    header-fade-entrance-animation .4s ease .3s both,
    header-transform-entrance-animation .7s cubic-bezier(.1, 0, 0, 1) .3s backwards,
    header-pointer-events-entrance-animation .7s both;
  will-change: transform, opacity;
}
  @keyframes header-fade-entrance-animation {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  @keyframes header-transform-entrance-animation {
    from {
      transform: translateY(-32%);
    }
    to {
      transform: translateY(0);
    }
  } 
  @keyframes header-pointer-events-entrance-animation {
    0%   { pointer-events: none; }
    99%  { pointer-events: none; } /* ← De extra zekerheid */
    100% { pointer-events: auto;  }
  }

  @media screen and (max-width: 1700px) {
    .header-global {
      padding: 28px 35px;
    }
  }
  @media screen and (max-width: 700px) {
    .header-global {
      padding: 20px;
      will-change: unset; /* Otherwise the nav drop-down does not work */
    }
  }
  @media screen and (max-height: 700px) and (min-width: 700px) {
    .header-global {
      padding: 28px 35px;
    }
  }


.header-global.header--active {
  position: fixed;
  box-sizing: border-box;
}
  @media screen and (min-width: 700px) {
    .header-global.header--active {
      padding-top: 15px;
      padding-bottom: 15px;
      background-color: #fff;
      box-shadow: inset 0 -1px 0px rgba(239, 242, 244, 1);

      /* PERFORMANCE FIX - DO NOT REMOVE */
      /* The backdrop-filter fixes a bug causing low FPS when scrolling through ".products-tiles-wrapper". */
      /* It forces the header onto its own GPU layer, which prevents a rendering conflict. */
      backdrop-filter: brightness(100%);
      will-change: transform;
    }
      .header-global.header--active .signup-btn:hover {
        background-color: rgba(0, 0, 20, 0.88);
      }
      .header-global.header--active .signup-btn:active {
        background-color: rgba(0, 0, 20, 0.98);
      }

    .header-global.header--active .login-btn {
      background-color: #e30613;
      color: #fff;
    }
      .header-global.header--active .login-btn:hover {
        background-color: #cc0511;
      }
      .header-global.header--active .login-btn:active {
        background-color: #b6050f;
      }

    .header-global.header--active .header-link {
      color: #18182f;
    }

    .header-global.header--active .language-selector-btn {
      color: #18182f;
    }
    .header-global.header--active .language-selector-btn::after {
      background-color: 18182f;
    }
  }

.header-global.header--animated {
  transition: transform 0.3s cubic-bezier(0.1, 0, 0, 1);
}

.header-global.header--hidden {
  transform: translateY(-100%); 
}

/* ////////////////////// */


/* Logo */

.logo a {
  border: 0;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.logo a svg {
  width: 94.5px;
  height: auto;
  outline: none;
  fill: #fff;
}
  @media screen and (min-width: 1600px) and (max-height: 700px) {
    .logo a svg {
      width: 85px;
    }
  }
  @media screen and (max-width: 1600px) {
    .logo a svg {
      width: 85px;
    }
  }
  @media screen and (max-width: 1000px) {
    .logo a svg {
      width: 70px;
    }
  }
  @media screen and (max-width: 700px) {
    .logo a svg {
      width: 58px;
    }
  }

  /* sticky header on scroll */
  @media screen and (min-width: 700px) {
    .header-global.header--active .logo a svg {
      transform: scale(0.75);
      transform-origin: left;
      fill: #0c0c10;
    }
    .header-global.header--active .logo a svg .flag {
      fill: #e30613;
    }
  }


/* ////////////////////// */


/* Nav */

.nav {
  position: absolute;
  right: 0;
  padding: inherit;
  font-family: 'Proxima Nova Semibold', Helvetica, Arial, sans-serif;
  font-size: 14.35px;
  line-height: 1.4;
  letter-spacing: 0.1px;
  display: flex;
  align-items: center;
  gap: 35px;
}
  @media screen and (max-width: 700px) {
    .nav {
      padding: 0;
      display: block;
      visibility: hidden;
      height: 100%;
      width: 100%;
      background-color: #e30613;
      position: fixed;
      top: 0;
      left: 0;
      z-index: 2;
      box-sizing: border-box;
      overflow: hidden;
      clip-path: inset(0 0 100% 0);
      transition: clip-path 0.3s ease, visibility 0s ease 0.3s;
      will-change: clip-path;
    }
  }
  @media screen and (max-width: 700px) and (max-height: 400px) {
    .nav {
      overflow-y: auto;
    }
  }

.nav.show {
  visibility: visible;
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.3s ease;
  transition-delay: 0.05s;
}

  
/* ////////////// */


/* Nav Backdrop (darkers background on Mobile) */

.nav-bg {
  background-color: #00000030;
  width: 100%;
  height: 100lvh;
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none; /* Zorgt ervoor dat je niet op de backdrop kan klikken */
  transition: opacity 0.4s ease;
  will-change: opacity;
}

.nav-bg.show {
  opacity: 1;
  transition: opacity 0.25s ease;
}

  @media screen and (min-width: 700px) {
    .nav-bg {
	    display: none; /* Niet echt nodig, maar zorgt ervoor dat de backdrop niet bestaat op desktop */
    }
  }


/* ////////////// */

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 35px;
}
  @media screen and (max-width: 700px) {
    .nav-wrap {
      display: block;
      position: absolute;
	    height: 100%;
      width: 100%;
    }
  }


/* ////////////// */


.nav-list {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
}
  @media screen and (max-width: 700px) {
    .nav-list {
      display: grid;
	    padding: 20px;
      padding-top: 150px;
      padding-top: min(max(calc(5px + 15lvh)),110px);
      transition: 0.7s ease;
    }
  }

  /* Fade-effect for mobile */
  .nav.show .header-link {
    animation: header-link-mobile-animation 0.85s cubic-bezier(0, 0, 0.1, 1) both;
    animation-delay: 0.42s;
  }
  .nav.show .header-link.home {
    animation-delay: 0.32s;
  }
  

  @keyframes header-link-mobile-animation {
    from {
      opacity: 0;
      transform: translateY(40%);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }


  /* Extra Home Button (Hide on desktop) */
  @media screen and (min-width: 700px) {
    .nav-list .home {
      display: none;
    }
  }
  


/* ///////////////////////////////// */

.menu-trigger {
  display: none;
  position: absolute;
  right: 0;
  background-color: transparent;
  border: 0;
  outline: none;
  cursor: pointer;
  z-index: 3;
  padding: 30px 20px;
  /* PREVENTS DARK BACKGROUND ON TOUCHSCREENS */
  -webkit-tap-highlight-color: transparent;
  /* PREVENTS ZOOM IN ON DOUBLE TAP IOS */
  touch-action: manipulation;
}

@media screen and (max-width: 700px) {
  .menu-trigger {
    display: block;
  }
}


.menu-trigger .navicon {
  background: #fff;
  display: block;
  height: 2px;
  border-radius: 2px;
  position: relative;
  transition: all .25s ease;
  width: 20px;
  top: -3px;
}


.menu-trigger .navicon:before {
  border-radius: 2px;

  background: #fff;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .25s ease;
  width: 100%;
  top: 6px;
}

.menu-trigger.active .navicon {
  transform: rotate(45deg);
  top: 0;
}

.menu-trigger.active .navicon:before {
  transform: rotate(-90deg);
  top: 0;
}

/* ///////////////////////////////// */



/* /////////// */


/* Button */

.header-link {
  z-index: 1; /* anders komt hover-effect voor tekst */
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 10px 20px;
  box-sizing: border-box;
  position: relative;
  border: 0;
  outline: 0;
  text-decoration: none;
  background-color: transparent;
  width: fit-content;

  font-family: 'Proxima Nova Semibold', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0.1px;
  color: #fff;

  /* PREVENTS DARK BACKGROUND ON TOUCHSCREENS */
  -webkit-tap-highlight-color: transparent;
  /* PREVENTS SELECTING + DRAGGING */
  user-select: none;
  -ms-user-select: none;
  -webkit-user-select: none;
}

/* HOVER + CLICK EFFECTS - Desktop */
@media screen and (min-width: 700px) {
  .header-link::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background-color: #00000015;
    border-radius: 25px;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0;
    z-index: -1;
  }
}
@media screen and (min-width: 700px) {
  .header-link:hover::before {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}
@media screen and (min-width: 700px) {
  .header-link:active::before {
    transform: translate(-50%, -50%) scale(0.93);
    background-color: #00000025;
    transition: 0.025s ease-out;
  }
}

/* Mobile */
@media screen and (max-width: 700px) {
  .header-link {
    font-size: min(max(calc(3px + 5lvh)),26px);
    font-family: 'Proxima Nova Bold', Helvetica, Arial, sans-serif;
    padding: 0;
  }
}
  

/* /////////// */


/* Language Selector (Drop Down) */

.language-selector {
  position: relative;
  z-index: 1;
}
  @media screen and (max-width: 700px) {
    .language-selector {
      position: fixed;
      bottom: min(max(calc(100px + 10lvh)),130px);
    }
  }
    @media screen and (max-width: 250px) {
    .language-selector {
      bottom: min(max(calc(160px + 5lvh)),260px);
    }
  }
  @media screen and (max-height: 400px) and (max-width: 700px) {
    .language-selector {
      position: unset;
    }
  }


  /* Fade-effet for mobile */
  .nav.show .language-selector {
    animation: header-link-mobile-animation 0.85s cubic-bezier(0, 0, 0.1, 1) both;
    animation-delay: 0.52s;
  }


/* Drop Down - BTN */

.language-selector-btn {
  position: relative;
  z-index: 1; /* anders komt hover-effect voor tekst */
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 10px 35px 10px 20px;
  box-sizing: border-box;
  position: relative;
  border: 0;
  outline: 0;
  text-decoration: none;
  background-color: transparent;

  font-family: 'Proxima Nova Semibold', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0.1px;
  color: #fff;

  /* PREVENTS DARK BACKGROUND ON TOUCHSCREENS */
  -webkit-tap-highlight-color: transparent;
  /* PREVENTS ZOOM IN ON DOUBLE TAP IOS */
  touch-action: manipulation;
}

/* HOVER + CLICK EFFECTS - Desktop */
@media screen and (min-width: 700px) {
  .language-selector-btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background-color: #00000015;
    border-radius: 25px;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0;
	  z-index: -1;
  }
}
  .language-selector-btn:hover::before {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  .language-selector-btn:active::before {
    transform: translate(-50%, -50%) scale(0.93);
    background-color: #00000025;
    transition: 0.025s ease-out;
  }
    .language-selector:has(.language-selector-content.show) .language-selector-btn::before {
      transform: translate(-50%, -50%) scale(1);
      background-color: #00000025;
      opacity: 1;
  }

/* Mobiel */
@media screen and (max-width: 700px) {
  .language-selector-btn {
    padding: 10px 35px 10px 0px;
  }
}



/* Arrow Icon */
.language-selector-btn::after {
  content: '';
  position: absolute;
  transform: translateY(-50%) rotate(0deg) scale(1);
  top: 50%;
  right: 18px;
  width: 8px;
  height: 6px;
  background-color: #fff;

  /* SVG Mask Image */
  -webkit-mask-image: url('data:image/svg+xml,<svg viewBox="0 0 8 6" xmlns="http://www.w3.org/2000/svg"><polygon points="4,3.5 1.25,0.75 0,2 4,6 8,2 6.75,0.75 "/></svg>');
  mask-image: url('data:image/svg+xml,<svg viewBox="0 0 8 6" xmlns="http://www.w3.org/2000/svg"><polygon points="4,3.5 1.25,0.75 0,2 4,6 8,2 6.75,0.75 "/></svg>');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  
  transition: transform 0.25s cubic-bezier(0, 0, 0.1, 1);
}
  @media screen and (max-width: 700px) {
    .language-selector-btn::after {
      transform: translateY(-50%) rotate(-90deg) scale(1);
    }
  }

/* Rotate Arrow Icon if dropdown is contains .show */
.language-selector:has(.language-selector-content.show) .language-selector-btn::after {
  transform: translateY(-50%) rotate(180deg) scale(1);
}
  @media screen and (max-width: 700px) {
    .language-selector:has(.language-selector-content.show) .language-selector-btn::after {
      transform: translateY(-50%) rotate(0deg) scale(1);
    }
  }




/* Drop Down - Content */

.language-selector-content {
  pointer-events: none;
  box-sizing: border-box;
  z-index: 2;
  background-color: #fff;
  box-shadow: #00000015 0px 10px 25px;
  position: absolute;
  top: 45px;
  right: 0;
  padding: 15px;
  border-radius: 20px;
  width: fit-content;
  min-width: 250px;
  max-width: 100dvw;
  visibility: hidden;
  transition: 0.15s ease;
  opacity: 0;
  transform: scale(0.6);
  transform-origin: top right;
}
  @media screen and (max-width: 700px) and (min-height: 400px) {
    .language-selector-content {
      top: auto;
      left: 0;
      bottom: 45px;
      transform-origin: bottom left;
      border-radius: 20px;
    }
  }
  @media screen and (max-width: 700px) and (max-height: 400px) {
    .language-selector-content {
      width: 100%;
      border-radius: 15px 15px 0 0;
      top: 70px;
      left: 0;
      bottom: 0;
      overflow-y: auto;
      transform-origin: bottom;
    }
  }

/* Dropdown */
  .language-selector-content.show {
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
    transform: translateX(0) scale(1);
}


/* Drop Down - Content - BTN */

.language-selector-content-btn {
  cursor: pointer;
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 15px 20px;
  box-sizing: border-box;
  position: relative;
  border: 0;
  outline: 0;
  text-decoration: none;
  background-color: transparent;
  border-radius: 12px;
  width: 100%;
  transition: 0.1s ease 0.02s;
  
  font-family: 'Proxima Nova Medium', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0px;
  color: #18182f;
  /* PREVENTS SELECTING + DRAGGING */
  user-select: none;
  -ms-user-select: none;
  -webkit-user-select: none;
  /* PREVENTS DARK BACKGROUND ON TOUCH */
  -webkit-tap-highlight-color: transparent;
  /* PREVENTS LINK (PAGE) PREVIEW ON LONG PRESS (IOS) */
  -webkit-touch-callout: none;
}
  .language-selector-content-btn:hover {
    background-color: #00004010;
    transition: 0.08s ease 0.02s;
  }
  .language-selector-content-btn:active {
    background-color: #00004020;
    transition: 0.05s ease;
  }


/* Drop Down - Language */

.language {
  aspect-ratio: 1;
  width: 22px;
  background-color: #fff;
  border-radius: 100%;
  border: solid 1px #dfe6ed;
  box-sizing: border-box;
}

.language.nl {
  background-image: url(../images/languages/nl.svg);
}
.language.en {
  background-image: url(../images/languages/en.svg);
}
.language.de {
  background-image: url(../images/languages/de.svg);
}


/* ////////////////////// */


/* Sign Up & Login - BTNs */

.signup-container {
  display: flex;
  box-sizing: border-box;
  list-style: none;
  padding: 0;
}
  @media screen and (max-width: 700px) {
    .signup-container {
      position: fixed;
      bottom: 0;
      width: 100%;
      text-align: center;
      font-family: 'Proxima Nova Bold', Helvetica, Arial, sans-serif;
      padding: 20px;
      opacity: 0;
      transition: 0.7s ease;
    }
  }
  @media screen and (max-width: 300px) and (max-height: 400px) {
    .signup-container {
      position: unset;
      padding: 0 20px 20px 20px;
    }
  }
  @media screen and (max-width: 700px) and (max-height: 300px) {
    .signup-container {
      position: unset;
      padding: 0 20px 20px 20px;
    }
  }

  /* Ultra Kleine breedtes en hoogtes */
    @media screen and (max-width: 700px) {
      .signup-container li {
        width: 100%; 
      }
    }
    @media screen and (max-height: 300px) {
      .signup-container li {
        width: 100%; 
      }
    }

  /* Fade-effet for mobile */
  .nav.show .signup-container {
    animation: header-link-mobile-animation 0.85s cubic-bezier(0, 0, 0.1, 1) both;
    animation-delay: 0.56s;
  }


.signup-btn {
  display: block;
  cursor: pointer;
  box-sizing: border-box;
  background-color: #0c0c10;
  padding: 14.5px 24px 14.5px 29px;
  color: #fff;
  border-radius: 30px 0 0 30px;
  transition: 0.25s ease;

  text-decoration: none;
  font-family: 'Proxima Nova Semibold', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0.1px;
  text-wrap: nowrap;

  /* PREVENTS SELECTING + DRAGGING */
  user-select: none;
  -ms-user-select: none;
  -webkit-user-select: none;
  /* PREVENTS DARK BACKGROUND ON TOUCHSCREENS */
  -webkit-tap-highlight-color: transparent;
  /* PREVENTS LINK (PAGE) PREVIEW ON LONG PRESS (IOS) */
  -webkit-touch-callout: none;
}
  .signup-btn:hover {
    background-color: #00000025;
    transition: 0.12s ease;
  }
  .signup-btn:active {
    background-color: #00000050;
    transition: 0.1s ease;
  }

  @media screen and (max-width: 1600px) {
    .signup-btn {
      padding: 11px 16px 11px 21px;
    }
  }
  @media screen and (min-width: 701px) and (max-width: 1200px) {
    .signup-btn {
      padding: 9px 15px 9px 20px;
    }
  }
  @media screen and (max-width: 700px) {
    .signup-btn {
      font-family: 'Proxima Nova Bold', Helvetica, Arial, sans-serif;
      letter-spacing: 0;
      padding: 12px;
      font-size: 16px;
    }
  }

  

.login-btn {
  display: block;
  cursor: pointer;
  box-sizing: border-box;
  background-color: #fff;
  padding: 14.5px 29px 14.5px 24px;
  color: #e30613;
  border-radius: 0 30px 30px 0;
  transition: 0.25s ease;

  text-decoration: none;
  font-family: 'Proxima Nova Semibold', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0.1px;
  text-wrap: nowrap;

  /* PREVENTS SELECTING + DRAGGING */
  user-select: none;
  -ms-user-select: none;
  -webkit-user-select: none;
  /* PREVENTS DARK BACKGROUND ON TOUCHSCREENS */
  -webkit-tap-highlight-color: transparent;
  /* PREVENTS LINK (PAGE) PREVIEW ON LONG PRESS (IOS) */
  -webkit-touch-callout: none;
}
 
  .login-btn:hover {
    background-color: #00000025;
    transition: 0.12s ease;
    color: #fff;
  }
  .login-btn:active {
    background-color: #00000050;
    transition: 0.1s ease;
  }
  
  @media screen and (max-width: 1600px) {
    .login-btn {
      padding: 11px 21px 11px 16px;
   }
  }
  @media screen and (min-width: 701px) and (max-width: 1200px) {
    .login-btn {
      padding: 9px 20px 9px 15px;
    }
  }
  @media screen and (max-width: 700px) {
   .login-btn {
      font-family: 'Proxima Nova Bold', Helvetica, Arial, sans-serif;
      letter-spacing: 0;
      padding: 12px;
      font-size: 16px;
    }
  }


/* Login Button - Mobile (Only appears on mobile screens) */
.login-btn-mobile {
  position: absolute;
  right: 60px;

  display: block;
  cursor: pointer;
  box-sizing: border-box;
  background-color: #fff;
  padding: 8.5px 18px;
  color: #e30613;
  border-radius: 30px;
  transition: 0.25s ease;

  text-decoration: none;
  font-family: 'Proxima Nova Bold', Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.1px;
  /* PREVENTS SELECTING + DRAGGING */
  user-select: none;
  -ms-user-select: none;
  -webkit-user-select: none;
  /* PREVENTS ZOOM IN ON DOUBLE TAP IOS */
  touch-action: manipulation;
  /* PREVENTS DARK BACKGROUND ON TOUCHSCREENS */
  -webkit-tap-highlight-color: transparent;
  /* PREVENTS LINK (PAGE) PREVIEW ON LONG PRESS (IOS) */
  -webkit-touch-callout: none;
}
  .login-btn-mobile:hover {
    background-color: #00000025;
    transition: 0.12s ease;
    color: #fff;
  }
  .login-btn-mobile:active {
    background-color: #00000050;
    transition: 0.1s ease;
  }

  @media screen and (min-width: 700px) {
    .login-btn-mobile {
      display: none;
    }
  }


