/* ========================================================================
   BriskSky — Mobile Navigation
   ========================================================================
   Slide-in drawer van rechts voor mobile (< 800px).
   Niet zichtbaar op desktop.
   Hamburger button wordt automatisch geïnjecteerd door mobile-nav.js
   ======================================================================== */

/* HAMBURGER BUTTON — alleen zichtbaar op mobile */
.mnav-hamburger {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  padding: 10px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--white, #ffffff);
  transition: border-color 0.2s, background 0.2s;
}
.mnav-hamburger:hover {
  border-color: rgba(36, 153, 200, 0.5);
  background: rgba(36, 153, 200, 0.08);
}
.mnav-hamburger svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

/* OVERLAY achter de drawer */
.mnav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 997;
}
.mnav-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* DRAWER */
.mnav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 320px;
  max-width: 100vw;
  background: #16191c;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 998;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
}
.mnav-drawer.open {
  transform: translateX(0);
}

/* DRAWER HEADER */
.mnav-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}
.mnav-drawer-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.mnav-close {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}
.mnav-close:hover { color: var(--white, #ffffff); }
.mnav-close svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* DRAWER LIST */
.mnav-drawer-list {
  list-style: none;
  margin: 0;
  padding: 16px 0;
  flex: 1;
  overflow-y: auto;
}
.mnav-drawer-list li {
  margin: 0;
  padding: 0;
}
.mnav-drawer-list a {
  display: block;
  padding: 18px 24px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: color 0.2s, background 0.2s, padding-left 0.2s;
}
.mnav-drawer-list a:hover {
  color: var(--blue-light, #2499C8);
  background: rgba(36, 153, 200, 0.04);
  padding-left: 28px;
}

/* Special styling voor de "Offerte" CTA in het mobile menu */
.mnav-drawer-list a.is-cta {
  margin: 16px 24px 8px;
  padding: 14px 20px;
  background: var(--blue, #1B7FA8);
  color: var(--white, #ffffff);
  text-align: center;
  border-bottom: none;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.mnav-drawer-list a.is-cta:hover {
  background: var(--blue-light, #2499C8);
  color: var(--white, #ffffff);
  padding-left: 20px;
}

/* Active state — de huidige pagina */
.mnav-drawer-list a.is-active {
  color: var(--blue-light, #2499C8);
  border-left: 3px solid var(--blue, #1B7FA8);
  padding-left: 21px;
}
.mnav-drawer-list a.is-active:hover {
  padding-left: 25px;
}

/* MOBILE BREAKPOINT — toon hamburger op kleine schermen */
@media (max-width: 800px) {
  .mnav-hamburger {
    display: inline-flex;
  }

  /* CART ICOONTJE ZICHTBAAR HOUDEN OP MOBILE
     Het cart-icoontje (.nav-cart) zit binnen .nav-links en wordt verborgen
     door 'display: none' op .nav-links bij < 800px. We forceren .nav-links
     terug zichtbaar als flex en verbergen alle li's, BEHALVE de li die
     het cart-icoontje bevat. */
  nav .nav-links {
    display: flex !important;
    gap: 0 !important;
    align-items: center;
  }
  nav .nav-links > li {
    display: none;
  }
  /* Het cart-icoontje zichtbaar laten — :has() voor moderne browsers,
     .mnav-cart-li class als fallback (toegevoegd door mobile-nav.js) */
  nav .nav-links > li:has(> .nav-cart),
  nav .nav-links > li.mnav-cart-li {
    display: flex;
    margin-right: 8px;
  }
}
