.specifications-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
  font-family: Arial, sans-serif;
}

.spec-header-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 30px;
}

.background-box {
  background: url('../images/FadedDraftingBackground.jpg') no-repeat center center;
  background-size: cover;
  padding: 40px 20px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
}

.spec-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-bottom: 40px;
}

.spec-item {
  flex: 1 1 300px;
  max-width: 330px;
  text-align: center;
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.spec-item img {
  height: auto;
  max-height: 200px;
  width: auto;
  max-width: 100%;
  display: block;
  margin: 0 auto 10px;
  border-radius: 8px;
}

.spec-item p {
  font-size: 16px;
  color: #000;
  margin: 0;
}

@media screen and (max-width: 768px) {
  .spec-row {
    flex-direction: column;
    align-items: center;
  }
}


/* Wrapper for the entire specifications section */
.specs-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 16px;
  font-family: Arial, sans-serif;
  color: #000;
}

/* Header images */
.specs-header-img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 20px auto;
  
}

/* Generic image box for centered large diagrams */
.specs-image-box {
  text-align: center;
  margin: 20px 0;
}

.specs-divider {
  border: none;
  border-top: 1px solid #999;
  margin: 30px 0;
}

/* Two-column layout for dimension diagrams */
.specs-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.specs-col {
  flex: 1 1 300px;
  text-align: center;
}

.specs-col img {
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  height: auto;
}

/* Frame selection section with labels */
.specs-frame-options .specs-col p {
  font-size: 14px;
  margin-top: 8px;
}

/* Notes under frame size info */
.specs-note {
  font-size: 14px;
  background-color: #f9f9f9;
  padding: 16px;
  border-left: 5px solid #ccc;
  border-radius: 8px;
  margin-bottom: 40px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.specs-frame-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 30px;
}

.specs-frame-options .specs-col {
  flex: 1 1 calc(20% - 10px);
  text-align: center;
}

@media screen and (max-width: 900px) {
  .specs-frame-options .specs-col {
    flex: 1 1 45%;
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 600px) {
  .specs-frame-options .specs-col {
    flex: 1 1 100%;
  }
}


/* Optional section-specific text style */
.specs-material-text {
  font-size: 15px;
  line-height: 1.6;
  color: #111;
  margin-top: 20px;
}

.specs-material-text p {
  margin-bottom: 16px;
}


.specs-material-text {
  background-color: #fdfdfd;
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: 24px;
  margin: 30px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  font-family: Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #111;
}

.specs-material-text p {
  margin-bottom: 16px;
}

.specs-material-text a {
  color: #003366;
  text-decoration: underline;
}

.specs-material-text strong {
  font-weight: bold;
}


.specs-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 16px;
  box-sizing: border-box;
}

.specs-caption-center {
  text-align: center;
  font-size: 14px;
  font-family: Arial, sans-serif;
  margin: 10px 0 30px;
}


