@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Algemene layout */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #f4f4f4;
  color: #333;
}


.container {
  max-width: 1000px;
  margin: auto;
  padding: 20px;
}

a {
  color: #333;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #000;
  text-decoration: none;
}

/* === NIEUWE MODERNE HEADERSTIJL met logo + menu op één regel === */
.new-header {
  width: 100%;
  padding: 8px 20px;
  background: linear-gradient(to right, #fefefe, #eef4fb);
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 999;
  color: #222;
  font-family: 'Poppins', sans-serif;
}

.new-header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  max-width: 100%; /* aangepast om menu naast logo te houden */
  margin: 0 auto;
  flex-wrap: nowrap; /* voorkom dat menu onder logo valt */
}

/* Logo */
.logo img {
  height: 100px;
  display: block;
  margin-right: 0;
}

/* Menu naast logo */
.new-main-nav {
  display: flex;
  gap: 10px;
}

.new-main-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 6px 4px;
  transition: color 0.3s ease;
}

.new-main-nav a:hover {
  color: #ff6600;
}

.new-main-nav a.active {
    font-weight: bold;
    border-bottom: 2px solid #007bff;
}

/* Hamburger-knop standaard verbergen op desktop */
.menu-toggle {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 22px;
    position: relative;
    padding: 0;
}


/* Mobiel weergave */
@media (max-width: 768px) {
    header.new-header .new-header-inner {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important; /* altijd logo links, hamburger rechts */
        width: 100%;
        flex-wrap: wrap;
        padding: 0 10px;
        box-sizing: border-box;
        position: relative;
    }

    header.new-header .logo img {
        height: 60px;
    }

header.new-header .menu-toggle {
    display: block !important;
    margin-left: auto !important;
    margin-right: 25px; /* schuift iets naar links */
    padding: 0;
    width: 26px; /* kleiner voor beter kruisje */
    height: 20px;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    cursor: pointer;
}


    header.new-header .menu-toggle:focus {
        outline: none;
    }

    header.new-header .new-main-nav {
        display: none;
        flex-direction: column;
        gap: 10px;
        max-width: 200px;
        position: absolute;
        top: 100%;
        right: 40px; /* precies onder hamburger-knop */
        background: #fff;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 4px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    }

    header.new-header .new-main-nav.active {
        display: flex;
    }

    header.new-header .new-main-nav a {
        display: block;
        padding: 8px 10px;
        background: #fff;
        border-radius: 4px;
        white-space: nowrap;
        border: none;
    }

    header.new-header .new-main-nav a:hover {
        background: #f5f5f5;
    }

    /* Fix voor shop-header zodat deze de bovenste header niet opzij drukt */
    .shop-header {
        position: relative;
        z-index: 0;
        margin-top: 0;
        width: 100%;
    }

    .shop-header-top {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center; /* centreren voorkomt verschuiving */
        gap: 10px;
    }
}






/* === FOOTER === */
footer {
  background-color: #f2f2f2;
  color: #555;
  text-align: center;
  padding: 30px 20px;
  font-size: 0.95rem;
  border-top: 1px solid #ddd;
}

footer a {
  color: #0077cc;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* === OUDE NAVIGATIE (bijvoorbeeld in andere delen) === */
.old-nav {
  background-color: #333;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.old-nav a {
  color: white;
  text-decoration: none;
  padding: 12px 20px;
  display: inline-block;
  transition: background 0.3s;
}

.old-nav a:hover {
  background: #555;
  color: white;
}

.old-nav a.active {
  background: #ff6600;
}


/* Video overzicht */
.videos {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.video {
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
    width: 300px;
    cursor: pointer;
    transition: transform 0.2s;
}

.video:hover {
    transform: scale(1.02);
}

.video img {
    width: 100%;
    border-radius: 6px;
}

.video-title {
    margin-top: 8px;
    font-size: 0.95em;
}

/* Video modal */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    background: #000;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.modal iframe {
    width: 100%;
    height: 562px;
    border: none;
    border-radius: 8px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
}


/* Contactformulier */

.contact-form,
.contact-form label,
.contact-form input,
.contact-form textarea,
.contact-form button {
    font-family: 'Poppins', sans-serif;
}


.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.contact-form label {
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    padding: 8px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

.contact-form button {
    padding: 10px 20px;
    font-size: 1em;
    background-color: #ff6600;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    align-self: flex-start;
}

.contact-form button:hover {
    background-color: #e65c00;
}

.success-message, .error-message {
    max-width: 800px;
    margin: 20px auto;
    text-align: center;
    font-size: 1.1em;
}

/* Alleen de verschillen hier */
.success-message {
    background-color: #e6ffed;
    border: 1px solid #b5e7c4;
    color: #2e7d32;
    padding: 20px;
    border-radius: 8px;
    line-height: 1.5;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #f5c6cb;
}


.contact-form input,
.contact-form textarea {
    margin-bottom: 15px;
}

.honey-pot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

/* === Subscriber teller === */
#subCount {
    font-size: 3rem;
    font-weight: bold;
    color: #cc0000; /* YouTube-rood */
    text-align: center;
    margin-top: 1rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

h1 {
    text-align: center;
    margin-top: 2rem;
    font-size: 2rem;
   
}

#subCount.updated {
    animation: pulse 0.4s ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.subscribe-section {
    margin-top: 20px;
    text-align: center;
}

.subscribe-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #ff0000;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 24px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.subscribe-button:hover {
    background-color: #cc0000;
}

.youtube-icon {
    width: 22px;
    height: 22px;
}


.shop-header {
  background-color: #f8f9fc;
  font-family: sans-serif;
  border-bottom: 1px solid #ccc;
}

.shop-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1.5rem; /* boven/onder 0.6rem, links/rechts 1.5rem */
  gap: 1rem;
  flex-wrap: wrap;
}



.shop-header-top .nav-link {
  padding-top: 2.25rem;
  padding-bottom: 0.25rem;
  line-height: 1;
}

.shop-icons .fa {
  font-size: 1.2rem;
}

.shop-icons .icon-label {
  font-size: 0.7rem;
  margin-top: 2px;
}


.shop-search {
  display: flex;
  flex: 1;
  max-width: 400px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 25px;
  overflow: hidden;
}

.shop-search input {
  flex: 1;
  border: none;
  padding: 0.35rem 0.8rem;
  border-radius: 25px 0 0 25px;
  font-size: 0.9rem;
  height: 34px;
}


.shop-search .search-button {
  height: 34px;
  width: 34px;
  padding: 0;
  font-size: 1rem;
}

.shop-search button {
  background: none;
  border: none;
  padding: 0 1rem;
  cursor: pointer;
}

.shop-icons {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.shop-icon-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.9rem;
  color: #333;
}

.shop-icon-block i {
  font-size: 1.5rem; /* Vergroot het icoon */
  margin-bottom: 0.3rem;
}

.icon-label {
  font-size: 0.85rem;
}

.shop-icons .icon {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 400;
}

.shop-icons .icon i {
  font-size: 1rem;
}


.shop-nav {
  background-color: #dadde5;
  display: flex;
  align-items: center;
  padding: 0.6rem 1rem;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.shop-nav a,
.shop-nav .dropdown {
  color: #222;
  text-decoration: none;
  cursor: pointer;
}

.shop-nav a:hover,
.shop-nav .dropdown:hover {
  text-decoration: underline;
}

.icon {
  margin-right: 0.3rem;
}

/* Zet kleuren, fonts en spacing gelijk aan LiteCart */

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.navbar-nav .nav-link {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: #000;
  background-color: #f2f2f2;
  border-radius: 4px;
  text-decoration: none;
}

.navbar-nav .dropdown-menu {
  border-radius: 4px;
  border: 1px solid #ddd;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-top: 5px;
  min-width: 180px;
}

.dropdown-item {
  font-size: 14px;
  padding: 8px 16px;
  color: #333;
}

.dropdown-item:hover {
  background-color: #f8f8f8;
  color: #000;
}

/* Pijltje rechts */
.navbar-nav .dropdown-toggle::after {
  margin-left: 4px;
  vertical-align: middle;
}


.shop-icon-block .dropdown-menu {
  top: 100% !important;
  left: 0 !important;
  right: auto !important;
  transform: none !important;
}



/* Zorg dat het Account-icoon en tekst eruitzien zoals de andere iconen */
.shop-icon-block .dropdown-toggle {
  color: #333;                     /* neutrale kleur zoals andere iconen */
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  border: none;
  background: none;
}

/* Verberg het standaard Bootstrap pijltje */
.shop-icon-block .dropdown-toggle::after {
  display: none;
}

/* Zorg dat het handje/hover consistent blijft */
.shop-icon-block .dropdown-toggle:hover {
  color: #000;
}


.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  min-width: 180px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateY(-10px);
}

.dropdown-menu.show {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

/* Account dropdown goed rechts uitlijnen */
.shop-icon-block .dropdown-menu {
  right: 0 !important;
  left: auto !important;
  min-width: 200px;
  text-align: left;
  white-space: normal;
  word-wrap: break-word;
}

.login-box {
    max-width: 500px;
}

.custom-width {
  max-width: 120px;
}

.cart-badge {
  font-size: 0.65rem;           /* iets groter dan 0.55rem */
  padding: 2px 6px;             /* iets meer ruimte */
  line-height: 1;
  transform: translate(50%, -50%) scale(1);  /* rechtsboven het icoon */
  position: absolute;
  top: 0;
  right: 0;
}

.cart-dropdown {
  min-width: 360px !important;
  max-width: 1000px !important;
}


.product-buttons {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.5rem;
}

/* Checkout toggle blocks */
.checkout-option {
    display: none;
}
.checkout-option.active {
    display: block;
}


.checkout-option {
    display: block;
}

.checkout-option.visually-hidden {
    display: none !important;
}

.quantity-width {
    width: 70px;
}

#place-autocomplete {
    width: 100%;
}

.pac-container {
  z-index: 10000 !important;
}

html, body {
    overflow-x: hidden;
}

.shop-top-wrapper {
    width: 100%;
}

/* ─── Toegankelijke focusstijl ───────────────────────── */
.new-main-nav a:focus-visible,
.menu-toggle:focus-visible {
  outline: 2px solid #007bff;
  outline-offset: 3px;
  border-radius: 4px;
}

/* ─── Modernere active state voor menu ───────────────── */
.new-main-nav a.active,
.new-main-nav a[aria-current="page"] {
  font-weight: 600;
  border-bottom: 3px solid #007bff;
  color: #007bff;
}

/* Hover voor active link geeft iets donkerder accent */
.new-main-nav a.active:hover,
.new-main-nav a[aria-current="page"]:hover {
  color: #0056b3;
}

/* Mobielmenu: active link markeren met achtergrond */
@media (max-width: 768px) {
  .new-main-nav a.active,
  .new-main-nav a[aria-current="page"] {
    background-color: rgba(0, 123, 255, 0.1);
    border-bottom: none;
    border-radius: 4px;
  }
}

/* ─── Hamburger knop geanimeerd ─────────────────────── */
.menu-toggle {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 22px;
  position: relative;
}

.menu-toggle span {
  background-color: #333;
  position: absolute;
  height: 3px;
  width: 100%;
  left: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle span:nth-child(1) {
  top: 0;
}

.menu-toggle span:nth-child(2) {
  top: 9px;
}

.menu-toggle span:nth-child(3) {
  top: 18px;
}

/* Als menu open is → kruisje maken */
.menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobiel tonen */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
}

/* Thumbnails overal netjes 16:9 en bijsnijden */
.video img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;         /* aspect-ratio bepaalt de hoogte */
  object-fit: cover;    /* snijdt letterbox/pillarbox weg */
  display: block;
  background: #eee;     /* nette placeholder */
}

/* Header isoleren t.o.v. Bootstrap en burger vast rechts pinnen */
.new-header { position: relative; }

/* Als er ooit per ongeluk Bootstrap-containers/rows in de header belanden */
.new-header .new-header-inner,
.new-header .container,
.new-header .container-fluid,
.new-header .row {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  --bs-gutter-x: 0;
}

/* Hamburger exact aan de rechterkant van de header, onafhankelijk van Bootstrap */
.new-header .menu-toggle {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 !important;   /* neutraliseert bestaande margin-right op mobiel */
  z-index: 1000;
}

/* Zorg dat de nav op desktop niet onder de hamburger kruipt */
@media (min-width: 769px) {
  .new-main-nav { padding-right: 64px; }
}

/* Mobiel menu precies onder de hamburger laten uitklappen */
@media (max-width: 768px) {
  header.new-header .new-main-nav { right: 16px; } /* was 40px */
}

/* Shop-pagina: behoud de huidige positie */
header.new-header:has(+ .shop-top-wrapper) .menu-toggle {
  right: 16px;
}

/* Alle andere pagina's: iets meer naar binnen zodat hij niet tegen de rand zit */
header.new-header:not(:has(+ .shop-top-wrapper)) .menu-toggle {
  right: 35px; /* pas evt. aan naar 24 of 32 voor jouw smaak */
}

/* Alleen op de shop-pagina de burger iets verder naar rechts */
header.new-header:has(+ .shop-top-wrapper) .menu-toggle {
  right: 8px;   /* was 16px */
}

/* Mobiel: menu én dropdown exact onder de burger uitlijnen */
@media (max-width: 768px) {
  header.new-header:has(+ .shop-top-wrapper) .menu-toggle { right: 0px; }
  header.new-header:has(+ .shop-top-wrapper) .new-main-nav { right: 0px; }
}

/* Niet-shop: uitklapmenu exact onder de burger uitlijnen */
@media (max-width: 768px) {
  header.new-header:not(:has(+ .shop-top-wrapper)) .new-main-nav {
    right: 35px; /* zelfde als je burger */
    left: auto;
    max-width: min(280px, calc(100vw - 35px - 8px)); /* voorkom buiten beeld */
    box-sizing: border-box;
  }

  /* Laat lange linkteksten wrappen zodat ze niet uitsteken */
  header.new-header .new-main-nav a {
    white-space: normal;
    word-break: break-word;
  }
}
