/* ===== Product Detail Wrapper ===== */
.product-detail {
  max-width: 1200px;
  margin: 120px auto 80px;
  padding: 0 20px;
  font-family: 'Inter', sans-serif;
  color: #1a1a1a;
}

/* ===== Header ===== */
.product-header {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
  margin-bottom: 60px;
  align-items: flex-start;
}

.product-image-wrapper {
  flex: 1 1 350px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-image {
  width: 100%;
  max-width: 400px;
  object-fit: contain;
  border-radius: 14px;
  background-color: #f8f9fc;
  padding: 15px;
  border: 1px solid #ddd;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.product-summary {
  flex: 1 1 400px;
}

.product-summary h1 {
  font-size: 2.4rem;
  margin-bottom: 10px;
  color: #052146;
  font-weight: 700;
}

.model-number {
  font-size: 1rem;
  color: #555;
  margin-bottom: 20px;
}

/* ===== Quick Specs ===== */
.spec-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 25px;
}

.spec-item {
  background-color: #f1f1f1;
  padding: 12px 16px;
  border-radius: 12px;
  text-align: center;
  min-width: 90px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.spec-item:hover {
  transform: translateY(-3px);
}

.spec-item strong {
  display: block;
  font-size: 1rem;
  color: #052146;
  margin-bottom: 3px;
}

.spec-item span {
  font-size: 0.85rem;
  color: #555;
}

/* ===== Add to Cart Button ===== */
.add-to-cart-btn {
  background-color: #052146;
  color: #fff;
  border: none;
  padding: 12px 30px;
  font-size: 1rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: 10px;
}

.add-to-cart-btn:hover {
  background-color: #204d88;
  transform: translateY(-3px);
}

/* ===== Sections ===== */
.product-section {
  margin-bottom: 60px;
  padding: 25px 20px;
  background-color: #f9faff;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.product-section h2 {
  font-size: 1.8rem;
  color: #052146;
  margin-bottom: 15px;
  text-transform: uppercase;
  font-style: italic;
  border-left: 6px solid #0d1b2a;
  padding-left: 10px;
}

.product-section p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

/* ===== Spec Table ===== */
.spec-table-wrapper {
  overflow-x: auto;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.spec-table th,
.spec-table td {
  padding: 12px 15px;
  border: 1px solid #ddd;
  text-align: left;
  font-size: 0.95rem;
}

.spec-table th {
  background-color: #e1f0ff;
  color: #052146;
  font-weight: 600;
}

/* ===== Features ===== */
.feature-list {
  list-style-type: disc;
  padding-left: 25px;
}

.feature-list li {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #333;
}

/* ===== Documents ===== */
.product-documents h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #052146;
}

.doc-list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.doc-item {
  margin-bottom: 10px;
}

.doc-item a {
  text-decoration: none;
  color: #B00F0F;
  font-weight: 500;
  padding: 8px 12px;
  border: 1px solid #B00F0F;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  transition: all 0.25s ease;
}

.doc-item a:hover {
  background-color: #B00F0F;
  color: #fff;
}

.doc-item i {
  margin-right: 6px;
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .product-header {
    flex-direction: column;
    align-items: center;
  }

  .product-summary {
    text-align: center;
  }

  .spec-icons {
    justify-content: center;
  }

  .spec-table th,
  .spec-table td {
    font-size: 0.9rem;
    padding: 10px;
  }
}
