@font-face {
  font-family: "Raleway";
  src: url("../fonts/Raleway-Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
}
@font-face {
  font-family: "Raleway";
  src: url("../fonts/Raleway-ThinItalic.ttf") format("truetype");
  font-weight: 100;
  font-style: italic;
}
@font-face {
  font-family: "Raleway";
  src: url("../fonts/Raleway-ExtraLight.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
}
@font-face {
  font-family: "Raleway";
  src: url("../fonts/Raleway-ExtraLightItalic.ttf") format("truetype");
  font-weight: 200;
  font-style: italic;
}
@font-face {
  font-family: "Raleway";
  src: url("../fonts/Raleway-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "Raleway";
  src: url("../fonts/Raleway-LightItalic.ttf") format("truetype");
  font-weight: 300;
  font-style: italic;
}
@font-face {
  font-family: "Raleway";
  src: url("../fonts/Raleway-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Raleway";
  src: url("../fonts/Raleway-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: "Raleway";
  src: url("../fonts/Raleway-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "Raleway";
  src: url("../fonts/Raleway-MediumItalic.ttf") format("truetype");
  font-weight: 500;
  font-style: italic;
}
@font-face {
  font-family: "Raleway";
  src: url("../fonts/Raleway-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: "Raleway";
  src: url("../fonts/Raleway-SemiBoldItalic.ttf") format("truetype");
  font-weight: 600;
  font-style: italic;
}
@font-face {
  font-family: "Raleway";
  src: url("../fonts/Raleway-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "Raleway";
  src: url("../fonts/Raleway-BoldItalic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
}
@font-face {
  font-family: "Raleway";
  src: url("../fonts/Raleway-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
}
@font-face {
  font-family: "Raleway";
  src: url("../fonts/Raleway-ExtraBoldItalic.ttf") format("truetype");
  font-weight: 800;
  font-style: italic;
}
@font-face {
  font-family: "Raleway";
  src: url("../fonts/Raleway-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
}
@font-face {
  font-family: "Raleway";
  src: url("../fonts/Raleway-BlackItalic.ttf") format("truetype");
  font-weight: 900;
  font-style: italic;
}
@font-face {
  font-family: "Bilo";
  src: url("../fonts/Bilo.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

.button {
  font-family: "Bilo", sans-serif;
  font-weight: 700;
  font-size: 18px;
  background-color: #E29E18;
  border-radius: 100px;
  color: white;
  padding: 12px 32px;
  display: inline-block;
  transition: 0.3s;
  border: 2px solid #E29E18;
}
.button:hover {
  background-color: transparent;
  transition: 0.3s;
  color: #E29E18;
  text-decoration: unset;
}
.button:hover svg {
  fill: #E29E18;
  transition: 0.3s;
}
.button svg {
  width: 16px;
  fill: white;
  margin-left: 10px;
  position: relative;
  top: 1px;
  transition: 0.3s;
}

.button_hover-active {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 18px;
  background-color: transparent;
  border-radius: 100px;
  color: #E29E18;
  padding: 12px 32px;
  display: inline-block;
  transition: 0.3s;
  border: 2px solid #E29E18;
  text-transform: uppercase;
}
.button_hover-active:hover {
  background-color: #E29E18;
  transition: 0.3s;
  color: white;
  text-decoration: unset;
}

/* Basisstructuur */
.site-header {
  position: relative;
  z-index: 1000;
  padding: 0 30px;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0px;
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  gap: 2%;
}

.header-logo img {
  max-height: 135px;
  max-width: 130px;
  -o-object-fit: cover;
     object-fit: cover;
}

.header-nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-nav a {
  font-family: "Raleway", sans-serif;
  font-weight: 400;
  font-size: 16px;
  text-transform: uppercase;
  color: black;
  padding: 16px 20px;
  transition: 0.3s all;
}
.header-nav a:hover {
  color: #3978D0;
  text-decoration: unset;
  transition: 0.3s all;
}

.header-cta a {
  font-family: "Raleway", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: black;
}

.header-nav-items {
  display: inline-block;
  width: 100%;
  padding-left: 50px;
}

.call-to-action-header {
  background: #E29E18;
  padding: 12px 36px !important;
  border-radius: 100px;
  border: 2px solid #E29E18;
  text-transform: capitalize !important;
  color: white !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: 0.3s;
}

.call-to-action-header:hover {
  background-color: white;
  border: 2px solid white !important;
  text-decoration: unset;
  transition: 0.3s;
  color: #3F2E19 !important;
}
.call-to-action-header:hover .call-to-action-icon {
  filter: unset;
  transition: 0.1s;
}

.call-to-action-icon {
  max-width: 20px !important;
  filter: invert(1) brightness(100) saturate(100%);
  transition: 0.3s;
  position: relative;
  bottom: 1px;
}

/* Hamburger */
.hamburger {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1001;
}

.hamburger span {
  background: #000;
  display: block;
  height: 2px;
  margin: 6px 0;
  border-radius: 2px;
  transition: 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (min-width: 1900px) {
  .background_object {
    width: 29vw;
  }
}
@media (min-width: 2800px) {
  .background_object {
    width: 30vw;
  }
}
@media (min-width: 3300px) {
  .background_object {
    width: 33vw;
  }
}

/* Mobiel menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 500px;
  height: 100vh;
  background: #3978D0;
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.1);
  transition: right 0.4s ease;
  overflow-y: auto;
  z-index: 1000;
}

.mobile-menu.open {
  right: 0;
}

.hamburger.open span {
  background-color: white;
}

.mobile-menu-inner {
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.mobile-logo img {
  max-height: 160px;
  margin-bottom: 2rem;
  background: white;
  padding: 20px;
  border-radius: 40px;
}

.mobile-nav a,
.mobile-cta a {
  display: block;
  margin: 1rem 0;
  font-size: 1.2rem;
  text-decoration: none;
  color: white;
}

.mobile-cta a {
  display: inline-block;
  margin-top: 40px;
}

/* Overlay */
body.menu-open {
  overflow: hidden;
}

body.menu-open::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

/* Responsive */
@media (max-width: 1599px) {
  .header-nav,
  .header-cta {
    display: none;
  }
  .hamburger {
    display: block;
  }
}

.winkelwagen-link svg {
  max-width: 22px;
  width: 100%;
  fill: black;
}

.winkelwagen-link {
  position: relative;
  top: 8px;
  padding: 0px !important;
}
.winkelwagen-link .count {
  background: #E29E18;
  padding: 0px;
  border-radius: 100px;
  font-size: 14px;
  position: absolute;
  bottom: 30px;
  width: 19px;
  height: 19px;
  text-align: center;
  line-height: 18px;
  color: black;
  font-family: "Bilo", sans-serif;
}

.mijn-account-link svg {
  max-width: 18px;
  width: 100%;
  fill: black;
}

.mijn-account-link {
  position: relative;
  top: 7px;
  padding: 0px !important;
}

.account-cart-icon-wrapper {
  display: flex;
  gap: 25px;
}

@media (max-width: 1450px) and (min-width: 1200px) {
  .header-inner {
    gap: 20px;
  }
}

.icons_mobile_header {
  display: flex;
  gap: 30px;
  margin-top: 30px;
}

.icons_mobile_header svg {
  width: 100%;
  fill: white;
}

.icons_mobile_header .count {
  bottom: 30px !important;
  right: -15px !important;
}

.winkelwagen-link:hover {
  text-decoration: unset !important;
}

.mijn-account-link:hover {
  text-decoration: unset !important;
}

/* ══════════════════════════════════════════════════════════════════════
   MOBILE MENU SUBMENU — GEFIXED
   Samengevat tot één conflictvrije set regels.
   Wijzigingen t.o.v. origineel:
   1. .mobile-menu-item-wrapper → display:flex (was: display:block)
   2. .mobile-submenu-toggle → pointer-events:auto (was: none = kapot)
   3. .mobile-submenu → alleen display:none; geen opacity/visibility meer
══════════════════════════════════════════════════════════════════════ */

/* Wrapper: link en pijlknop naast elkaar op één rij, submenu eronder */
.mobile-menu-item-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  position: relative;
}

/* Link neemt alle beschikbare breedte, pijl staat rechts */
.mobile-menu-item-wrapper > a {
  flex: 1;
}

/* Submenu over volledige breedte onder de rij */
.mobile-menu-item-wrapper > .mobile-submenu {
  width: 100%;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid #eeeeee4a;
  text-decoration: none;
  color: white;
  transition: background-color 0.2s ease;
  position: relative;
  z-index: 1;
  margin: 6px 0 5px;
}

.mobile-nav a.has-children {
  cursor: pointer;
  width: 100%;
}

/* Pijlknop — pointer-events:auto zodat klikken worden doorgelaten */
.mobile-submenu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 8px;
  margin: 0;
  cursor: pointer;
  color: white;
  line-height: 1;
  flex-shrink: 0;
  pointer-events: auto; /* WAS: none — blokkeerde alle klikken op de knop */
}

/* SVG zelf vangt geen klikken op zodat closest() altijd de button vindt */
.mobile-submenu-toggle svg {
  display: block;
  pointer-events: none;
  transition: transform 0.25s ease;
}

/* Pijl draait om als het submenu open is */
.mobile-menu-item-wrapper.active > .mobile-submenu-toggle svg {
  transform: rotate(180deg);
}

/* Submenu: verborgen via display (niet opacity/visibility — dat conflicteerde) */
.mobile-submenu {
  display: unset;
  width: 100%;
  background: #3062b3;
  border-radius: 8px;
  margin: 4px 0 8px;
  overflow: hidden;
}

.mobile-menu-item-wrapper.active > .mobile-submenu {
  display: block;
}

/* Links binnen het submenu */
.mobile-submenu a {
  padding: 10px 16px !important;
  margin: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
  font-size: 1rem !important;
  color: white !important;
  display: block !important;
}
.mobile-submenu a:last-child {
  border-bottom: none !important;
}
.mobile-submenu a:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: white !important;
}

/* Geneste submenus */
.mobile-submenu .mobile-menu-item-wrapper {
  background: rgba(0, 0, 0, 0.1);
  position: relative;
}
.mobile-submenu .mobile-submenu {
  background: rgba(0, 0, 0, 0.1);
}
.mobile-submenu .mobile-submenu a {
  padding-left: 3.5rem !important;
  background: transparent !important;
}
.mobile-submenu .mobile-submenu a:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}

.mobile-menu-item-wrapper.active {
  z-index: 1000;
}