html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "Work Sans", Arial, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: #6a6a6a;
  display: flex;
  flex-direction: row;
  background-color: black; /* ← dit is cruciaal */
}

@media (max-width: 768px) {
  html, body {
    height: auto;
    min-height: 100%;
  }
  body {
    flex-direction: column;
    /* Alleen onder 768px stapelen ze */
  }
  .left{
      height: auto;
      min-height: fit-content;
  }
}

.left {
  background-color: black;
  color: white;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 5vh 0;
  position: relative;
}

.left img {
  max-width: 70%;
  height: auto;
  border: 5px solid white;
}

.right {
  background-color: white;
  color: black;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 5vh 0;
  position: relative;
}

.right img {
  max-width: 70%;
  height: auto;
  border: 5px solid black;
}

.left, .right {
  flex: 1;
  overflow: auto;
}

.thumbnail {
  border: 2px solid #fff !important;
}

.thumbnail:hover {
  border: 2px solid #000 !important;
  transform: scale(1.05);
  transition: 0.2s;
}

#prevBtn,
#nextBtn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border-color: white;
  border-width: 2px;
  border-style: solid;
  background-color: black;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  position: absolute;
  z-index: 10;
}

#prevBtn i,
#nextBtn i {
  color: white;
  font-size: 18px;
}

#prevBtn:hover,
#nextBtn:hover {
  background-color: #2b6cb0;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.25);
}

#prevBtn {
  bottom: 15px;
  left: 15px;
}

#nextBtn {
  bottom: 15px;
  right: 15px;
}

.thumbnail {
  border: 2px solid #fff !important;
  height: 92px !important;
  width: auto !important;
}

.thumbnail:hover {
  border: 2px solid #000 !important;
  transform: scale(1.05);
  transition: 0.2s;
}

/* MENU ICON */
.menu-icon {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 1.6rem;
  color: #222;
  cursor: pointer;
  z-index: 1002;
  transition: color 0.2s;
}

.menu-icon:hover {
  color: #0074d9;
}

/* MENU OVERLAY */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  z-index: 1090;
}

.menu-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* SIDEMENU */
.side-menu {
  position: fixed;
  top: 0;
  right: 0;
  /* anker aan de rechterkant */
  width: 260px;
  height: 100vh;
  overflow-y: auto;
  background: #222;
  color: #fff;
  box-shadow: -2px 0 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s cubic-bezier(.77, 0, .18, 1);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  padding: 40px 30px 20px 30px;
  transform: translateX(100%);
  /* volledig naar rechts uit beeld */
}

.side-menu.open {
  transform: translateX(0);
}

.side-menu .close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
}

.side-menu nav {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.side-menu nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1.15rem;
  transition: color 0.2s;
}

.side-menu nav a:hover {
  color: #0074d9;
}

.sidebar-menu ul {
  list-style: none;
  padding-left: 0;
}

.sidebar-menu > ul > li {
  margin-bottom: 1px;
}

.sidebar-menu a {
  text-decoration: none;
  color: #333;
  display: block;
  padding: 2px 4px;
}

.sidebar-menu ul ul {
  padding-left: 20px; /* inspringing voor subitems */
}

.sidebar-menu ul ul li a {
  font-size: 0.95em;
  color: #afafaf;
}

@media (max-width: 768px) {
  .menu-icon {
    top: 18px;
    right: 18px;
    font-size: 1.4rem;
  }

  .side-menu {
    width: 80vw;
    min-width: 180px;
    padding: 30px 18px 18px 18px;
  }
}

.home-icon {
  position: fixed;
  top: 24px;
  left: 32px;
  font-size: 1.5rem;
  color: white;
  z-index: 1100;
  text-decoration: none;
  transition: color 0.2s;
}

.home-icon:hover {
  color: #0074d9;
}

@media (max-width: 768px) {
  .home-icon {
    top: 12px;
    left: 12px;
    font-size: 1.3rem;
  }
}

.foto-selectie {
  text-align: center;
}

.foto-selectie img {
  width: 240px;
  margin: 10px;
  cursor: pointer;
  border: 5px solid #fff;
}

.foto-selectie img.active {
  border-color: #21c063;
}

.varianten {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  /* width: 45vw; /* 45% van het scherm */
}

.variant {
  flex: 0 0 calc(33.333% - 20px);
  /* 3 per rij met ruimte tussen */
  box-sizing: border-box;
  background: white;
  padding: 10px;
  border: 1px solid #ccc;
}

.variant img {
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .variant {
    flex: 0 0 calc(50% - 20px);
    /* 2 per rij op tablet/mobiel */
  }
}

@media (max-width: 480px) {
  .variant {
    flex: 0 0 100%;
    /* 1 per rij op kleine schermen */
  }
}

.variant img {
  width: 100%;
}

.variant label {
  display: block;
  margin-top: 5px;
}

#totaal {
  margin-top: 30px;
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
}
#prijsBalk {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #333;
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 1.1em;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 1000;
}
button[type="button"] {
  margin-top: 10px;
  padding: 10px 15px;
  background: #21c063;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
html {
  scroll-behavior: smooth;
}