#specs-popup {
  display: none;
  position: fixed;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  z-index: 9999;
  padding: 20px;
  border: 1px solid #ccc;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

#specs-popup img {
  max-width: 100%;
  height: auto;
}

.specs-template-popup {
    display: none;
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    background: #f9f9f9;
}

.spec-block {
  background: #f9f9f9;
  border: 1px solid #ddd;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 4px;
}

.spec-block h4 {
  margin: 0 0 5px;
  font-size: 16px;
  color: #333;
}

.spec-block p {
  margin: 0;
  font-size: 14px;
  color: #555;
}

.preview-image img {
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 15px;
}

.spec-downloads {
    margin-top: 10px;
}

.download-link {
    display: inline-block;
    margin-right: 10px;
    padding: 6px 12px;
    background: #007cba;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
}

.download-link:hover {
    background: #005a9c;
}

@media (max-width: 640px) {
  #specs-popup {
    width: 90%;
    left: 5%;
    transform: none;
  }
}

.specs-filter {
    margin-bottom: 15px;
    padding: 6px 10px;
    font-size: 14px;
    width: 100%;
    max-width: 400px;
}

.specs-selector {
  font-size: 14px;
  padding: 8px 12px;
  border: 1px solid #ccc;
  background-color: #fff;
  color: #333;
  width: 100%;
  max-width: 400px;
  margin-bottom: 10px;
}

.specs-selector option {
  color: #000;
}


.spec-file {
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 10px;
}

