
/* Logo responsive maken */
.navbar-brand img {
    max-height: 65px;  /* past op mobiel */
    max-width: 200px; 

}

@media (min-width: 768px) {
    .navbar-brand img {
        max-height: 100px; /* tablet/desktop */
        max-width: 270px; 
        margin: -20px        
        
    }
}
 

.navbar-collapse {
    transition: height 1.0s cubic-bezier(0.4, 0, 0.2, 1);
}






/* ===== DESKTOP ===== */
#centraal_menu_FE {
  display: flex;
  gap: 1.5rem;
  margin: 0 auto;          /* <-- MAGIE */
}

#centraal_menu_FE .nav-link {
    font-size: 1.0rem;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    padding: 0.5rem 0.8rem;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s, color 0.3s;
}

.navbar-collapse {
  display: flex;
  justify-content: space-between;
}


.flag{ margin-right:5px; 
}


.cart-link {
  position: relative;          /* 🔒 ankerpunt */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
}

/* BADGE */
#cart-badge {
  position: absolute;
  top:3px;
  right: -6px;

  min-width: 18px;
  height: 18px;
  padding: 0 4px;              /* bij 10+ items */

  background: #390;
  color: #fff;

  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;

  display: flex;
  align-items: center;
  justify-content: center;

  line-height: 1;
  pointer-events: none;        /* klik gaat naar cart */
}

.search-unified .bi-search {
    font-size: 1.2rem;
    color: #666;
}

/* SEARCH – 1 geheel */
.search-unified {
  display: flex;
  align-items: stretch;
}

.search-unified .form-control,
.search-unified .btn {
  border: 1px solid #ced4da;
  height: 32px;
}

/* Input */
.search-unified .form-control {
  border-right: 0;
  border-radius: 4px 0 0 4px;
  box-shadow: none;
}

/* Button */
.search-unified .btn {
  border-left: 0;
  border-radius: 0 4px 4px 0;
  background: transparent;
  padding: 0 10px;
}

/* Icon */
.search-unified .bi-search {
  font-size: 1.1rem;
  color: #666;
}

/* Focus = 1 blok */
.search-unified .form-control:focus {
  border-color: #86b7fe;
  outline: none;
}

.search-unified .form-control:focus + .btn {
  border-color: #86b7fe;
}

/* Hover (subtiel) */
.search-unified .btn:hover {
  background: rgba(0,0,0,0.03);
}

#userke_FE {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

#userke_FE .nav-link {
  display: flex;
  align-items: center;
  gap: 0rem;
  font-size: 1.6rem;
  color: inherit;
  text-decoration: none;
}




@media (min-width: 992px) {
  .navbar-collapse {
    justify-content: center;
  }

  #userke_FE {
    position: absolute;
    right: 1rem;
  }
}
#centraal_menu_FE .nav-link.active {
    border-bottom-color: #666;
}

#centraal_menu_FE {
    margin-left: 0%;
}
/* ===== MOBIEL ===== */
@media (max-width: 991px) {

    
    
    
  .navbar-collapse {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* 👈 ALLES NAAR RECHTS */
    text-align: right;
  }

  #centraal_menu_FE,
  #userke_FE {
    align-items: flex-end;
    text-align: right;
    width: 100%;
  }

  #centraal_menu_FE .nav-item,
  #userke_FE .nav-item {
    width: auto;
  }

#centraal_menu_FE {
  display: flex;
  gap: 0.5rem;
  margin: 0 auto;          /* <-- MAGIE */
}
    
    
    
  .search-unified {
    justify-content: flex-end;
  }

  .search-unified input {
    width: 100%;
  }
}
