

.image-toggle img {
  width: 50px;
  height: 50px;
  border-radius: 80%;
  transition: 0.2s ease-in-out;
}


.image-toggle input:checked + img {
  box-shadow: 0 0 12px 6px #ffd700cc; /* זוהר חזק יותר כשהתמונה נבחרת */
}
.checkbox-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}


.image-toggle {
  width: 48px;
  height: 58px;
  padding: 4px;
  border-radius: 10px;
  background: #181818;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  cursor: pointer;
}


.image-toggle input[type="checkbox"] {
  display: none;
}
.image-toggle img {
  max-width: 32px;
  max-height: 32px;
  margin: 0 auto;
  display: block;
}



.image-toggle input[type="checkbox"]:checked + img {
  box-shadow: 0 0 10px 5px #ffd700;

}



html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: #111;
  color: #fff;
  font-family: 'Segoe UI', sans-serif;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.content {
  flex: 1;
}

/* Header and Footer */

footer {
  background: #000;
  color: #ccc;
  padding: 40px 20px;
  text-align: center;
  font-size: 15px;
  font-family: 'Segoe UI', sans-serif;
  margin-top: auto;
}

footer a {
  color: #ffcc00;
  text-decoration: none;
  margin: 0 10px;
  white-space: nowrap;
}

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

.footer-links {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
  overflow-x: auto;
  white-space: nowrap;
}

.footer-links::-webkit-scrollbar {
  display: none;
}

.footer-bottom {
  margin-top: 20px;
  font-size: 14px;
  color: #777;
}

/* Main Layout */

.container {
  max-width: 1200px;
  margin: 60px auto 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 0 20px;
}

.preview-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-display {
  width: 100%;
  max-width: 500px;
  height: 500px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
  margin-bottom: 20px;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-display video, .main-display img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.main-display video.active, .main-display img.active {
  display: block;
}

.thumbnails {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}

.thumbnails img {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
}

.thumbnails img.active {
  border-color: #ffcc00;
}

.video-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.video-buttons button {
  padding: 8px 16px;
  border: none;
  border-radius: 20px;
  background-color: #444;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
}

.video-buttons button.active {
  background-color: #ffcc00;
  color: #111;
}

.details {
  background-color: #1a1a1a;
  padding: 20px;
  border-radius: 16px;
}

h1 {
  color: #ffcc00;
  font-size: 28px;
  margin-bottom: 20px;
}

p {
  font-size: 16px;
  color: #ccc;
  line-height: 1.6;
}

.disclaimer {
  font-size: 14px;
  color: #888;
  text-align: center;
  margin-top: 15px;
}

.action-button {
  padding: 12px 30px;
  background-color: #ffcc00;
  color: #111;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  margin: 10px 10px 0 0;
  transition: background-color 0.3s;
}

.action-button:hover {
  background-color: #ffd633;
}

/* Responsive Design */

@media screen and (max-width: 768px) {
  .container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .main-display {
    max-width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .thumbnails img {
    width: 60px;
    height: 60px;
  }

  h1 {
    font-size: 22px;
  }

  p {
    font-size: 14px;
  }

  .action-button {
    width: 100%;
    margin: 10px 0;
  }

  .footer-links {
    flex-direction: row;
    gap: 10px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .footer-bottom {
    font-size: 13px;
    padding-top: 10px;
  }
}
.extra-option-select {
  font-family: inherit;
  font-size: 16px;
  padding: 8px;
  background: #111;
  color: #fff;
  border: 1px solid #444;
}

.extra-text-box textarea {
  background: #1a1a1a;
  color: #fff;
  border: 1px solid #444;
  padding: 6px;
  width: 100%;
}


.floor-block {
  border: 1px solid #888;
  padding: 1px 2px;
  margin: 16px auto;
  background-color: #1a1a1a;
  border-radius: 10px;
  display: table;
}

.selected-related {
    box-shadow: 0 0 4px 2px #ffcc00 !important;
    border: 1px solid #ffcc00 !important;
    transition: box-shadow 0.2s, transform 0.2s;
}


