/*
Theme Name: Mijn Child Theme
Template: astra
*/

/* ========== Jouw bestaande CSS hier ========== */
/* … je overige CSS rules buiten header/menu/prijslijst … */

/* ===================== Extra responsive regels voor prijslijst formulier ===================== */
@media (max-width: 1024px) {
  #prijslijst-form table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-collapse: collapse;
  }
  #prijslijst-form table thead,
  #prijslijst-form table tbody,
  #prijslijst-form table tr {
    display: table;
    width: max-content;
  }
  #prijslijst-form table td,
  #prijslijst-form table th {
    white-space: nowrap;
    padding: 6px 8px;
    font-size: 14px;
  }
  #prijslijst-form input[type="number"] {
    width: 60px;
    padding: 4px;
    font-size: 14px;
  }
  #prijslijst-form input[type="range"] {
    width: 100px;
    height: 24px;
  }
  #prijslijst-form .cta-button {
    font-size: 14px;
    padding: 6px 10px;
    border-radius: 8px;
    white-space: nowrap;
  }
  .toggle-container span,
  .toggle-container label {
    font-size: 14px;
  }
  #prijslijst-form h2 {
    font-size: 20px !important;
    margin-bottom: 12px !important;
    text-align: center;
  }
  #prijslijst-form {
    overflow-x: auto;
    max-width: 100%;
  }
  .scroll-hint {
    text-align: center;
    font-size: 13px;
    color: #777;
    font-style: italic;
    margin: 8px 0;
  }
}

/* ========== Header & menu styling ========== */
#site-header {
  position: sticky;
  top: 0;
  background: white;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  z-index: 999;
  /* pointer-events: none; ← VERWIJDERD zodat klikken werkt */
}

#site-header .logo,
#site-header .contact-button,
#site-header .hamburger {
  pointer-events: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3rem 6rem;
  position: relative;
}

.logo img {
  max-width: 8rem;
  display: block;
}

/* Desktop menu */
.desktop-menu {
  display: flex !important;
  flex: 1;
  justify-content: flex-start;
  margin-left: 16rem;
}
.desktop-menu .menu-list {
  list-style: none;
  display: flex;
  gap: 4rem;
  margin: 0;
  padding: 0;
}
.desktop-menu .menu-list li a {
  text-decoration: none;
  color: #001c63;
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: 0.03rem;
  transition: color 0.2s ease;
}
.desktop-menu .menu-list li a:hover {
  color: #0073aa;
}

/* Desktop contact button */
.contact-button-wrapper-desktop {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.contact-button {
  background: #e51e40;
  color: #fff !important;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.07rem;
  transition: background 0.3s, transform 0.2s;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  border: none;
  text-decoration: none;
}
.contact-button:hover {
  background: #3a3939;
  transform: scale(1.05);
}

/* Mobiele acties & menu icon standaard verborgen */
.mobile-actions,
.hamburger,
.mobile-menu {
  display: none !important;
}

/* ===== Responsive header & menu voor mobiel/tablet ===== */
@media (max-width: 1024px) {
  /* verberg desktop-elementen */
  .desktop-menu,
  .contact-button-wrapper-desktop,
  .jet-mega-menu {
    display: none !important;
  }

  /* Header structuur mobile */
  .header-inner {
    flex-direction: column;
    padding: 0;
  }

  /* Logo gecentreerd */
  .logo {
    order: 0;
    margin: 1rem auto;
    position: relative !important;
    z-index: 2;
  }
  .logo img {
    max-width: 7rem !important;
    margin: 0 auto;
  }

  /* Mobiele acties (contact + hamburger) */
  .mobile-actions {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 1rem;
    order: 1;
  }
  .mobile-actions .contact-button {
    font-size: 0.875rem;
    padding: 0.25rem 0.75rem;
  }
  .mobile-actions .hamburger {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.5rem;
    background: #e51e40;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
  }

  /* Mobiel menu */
  .mobile-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #fff;
    padding: 1rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    order: 2;
  }
  .mobile-menu.active {
    display: flex !important;
  }
  .mobile-menu .menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .mobile-menu .menu-list li {
    margin-bottom: 0.75rem;
  }
  .mobile-menu .menu-list li a {
    text-decoration: none;
    color: #001c63;
    font-size: 1rem;
    font-weight: 500;
  }
  .mobile-menu .menu-list li a:hover {
    color: #0073aa;
  }

  /* Header open state */
  .header-inner.menu-open {
    align-items: stretch;
  }
}

@media (min-width: 1025px) {
  /* verberg mobile-elementen */
  .mobile-actions,
  .hamburger,
  .mobile-menu {
    display: none !important;
  }

  /* toon desktop-menu */
  .desktop-menu {
    display: flex !important;
  }
}

/* ===================================================================== */
/* ===  FIX: Elementor Slide-buttons weer klikbaar (swiper overlay)  === */
/* ===================================================================== */
.elementor-widget-slides .elementor-slide-button,
.elementor-widget-slides .elementor-button {
  pointer-events: auto !important;   /* heractiveert klikken      */
  z-index: 10;                       /* boven eventuele overlay   */
  position: relative;                /* creëert nieuwe stacking   */
}
/* optioneel – als een overlay in de slide zelf kliks blokkeert   */
.elementor-widget-slides .swiper-slide-inner {
  pointer-events: none;              /* laat clicks door          */
}
.elementor-widget-slides .swiper-slide-inner .elementor-button,
.elementor-widget-slides .swiper-slide-inner .elementor-slide-button {
  pointer-events: auto !important;   /* knoppen blijven klikbaar  */
}
