body {
  overflow-x: hidden;
}
 
/* ===== HEADER ===== */
.header {
  width: 100%;
  padding: 10px 2px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  background: #f8faf9;        /* zelfde achtergrond als footer */
  position: sticky;
  top: 0;
  z-index: 1000;
  border: none;               /* GEEN grijze box meer */
  border-bottom: 1px solid #ddd; /* subtiele lijn zoals footer */
}
 
/* ===== NAVIGATIE ===== */
.nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 8px;
}
 
.nav a {
  font-size: 16px;
  line-height: 1;
  background-color: #f4a261;  /* behoud oranje */
  color: #fff;
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 5px;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s;
}
 
.nav a:hover {
  background-color: #e76f51;  /* donkerder oranje bij hover */
}
 
/* ===== VLAKKEN (Vlaggen) ===== */
.flag-container {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: nowrap;
}
 
.flag-link img {
  width: 30px;
  height: 20px;
  display: block;
  border: 1px solid #ccc;
  border-radius: 3px;
  transition: opacity 0.3s;
}
 
.flag-link img:hover {
  opacity: 0.8;
}
 
/* ===== ZOEKVELD ===== */
.search-input {
  width: 180px;
  padding: 5px;
  border: 1px solid #ccc;
}
 
/* ===== WINKELMAND ===== */
.cart {
  margin-left: 10px;
}
 
.cart-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #f4a261;
  color: #fff;
  padding: 10px 15px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  border: none;
}
 
.cart-btn:hover {
  background-color: #e76f51;
}
 
.cart-count {
  position: static;
  background: #128f52;
  color: #fff;
  border-radius: 50%;
  padding: 2px 8px;
  font-size: 12px;
  line-height: 1;
}
 
/* ===== WINKELMAND OVERLAY ===== */
.cart-overlay {
  position: fixed;
  right: 20px;
  top: 70px;
  width: 320px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  display: none;
  flex-direction: column;
  max-height: 70vh;
  overflow-y: auto;
  z-index: 2000;
}
 
.cart-overlay.active {
  display: flex;
}
 
.cart-overlay h3 {
  margin: 0;
  padding: 12px;
  border-bottom: 1px solid #eee;
  font-size: 18px;
  background: #f4a261;
  color: #fff;
  border-radius: 12px 12px 0 0;
}
 
.cart-items {
  padding: 10px;
}
 
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 14px;
}
 
.cart-item button {
  background: #797a73;
  border: none;
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
}
 
.cart-item button:hover {
  background: #c4452f;
}
 
.cart-footer {
  margin-top: auto;
  padding: 12px;
  border-top: 1px solid #eee;
  text-align: right;
}
 
.checkout-btn {
  background: #15b76a;
  color: #fff;
  padding: 8px 14px;
  border-radius: 5px;
  cursor: pointer;
  border: none;
}
 
.checkout-btn:hover {
  background: #128f52;
}
 
/* ===== QUANTITY CONTROL ===== */
.quantity-control {
  display: flex;
  align-items: center;
  gap: 10px;
}
 
.quantity-decrease,
.quantity-increase {
  background: #f0f0f0;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 16px;
  border-radius: 5px;
}
 
.quantity-decrease:hover,
.quantity-increase:hover {
  background: #ddd;
}
 
.remove-item {
  background: #4dff74;
  color: white;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 5px;
}
 
.remove-item:hover {
  background: #e60000;
}
 
/* ===== ADD TO CART BUTTON ===== */
.add-to-cart-btn {
  background: #15b76a;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 10px;
  font-size: 14px;
}
 
.add-to-cart-btn:hover {
  background: #128f52;
}
 
/* ===== RESPONSIVE ===== */
@media (max-width: 1298px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
  }
 
  .nav {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
 
  .nav a {
    width: 100%;
    text-align: center;
    padding: 8px 10px;
  }
 
  .flag-container {
    flex-direction: row;
    justify-content: flex-start;
    gap: 5px;
    width: 100%;
  }
 
  .search-input {
    width: 80px;
  }
 
  .cart {
    margin-left: 5px;
    padding: 10px;
  }
}
 