.subpage-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.subpage-content h1 {
  font-size: 2.5rem;
  color: #003366;
  margin-bottom: 20px;
}

.subpage-content img {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 30px 0;
  border-radius: 8px;
}

.product-container {
  display: flex;
  gap: 30px;
  margin: 30px 0;
  align-items: flex-start;
}

.product-image {
  flex: 1;
  min-width: 0;
}

.product-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.product-details {
  flex: 1;
  min-width: 0;
}

@media (max-width: 768px) {
  .product-container {
    flex-direction: column;
  }
}

.subpage-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
  margin: 20px 0;
}

.subpage-content ul {
  list-style-position: inside;
  margin: 20px 0;
}

.subpage-content li {
  margin: 10px 0;
  color: #555;
}

.btn-back {
  display: inline-block;
  background-color: #003366;
  color: white;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  margin-top: 30px;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-back:hover {
  background-color: #002244;
}

.btn-purchase {
  display: inline-block;
  background-color: #28a745;
  color: white;
  padding: 14px 40px;
  border-radius: 5px;
  text-decoration: none;
  margin-top: 20px;
  margin-right: 10px;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  font-weight: bold;
  transition: background-color 0.3s;
}

.btn-purchase:hover {
  background-color: #218838;
}

.purchase-form {
  margin-top: 30px;
  margin-left: 0;
  margin-right: 0;
  padding: 30px;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.purchase-form.hidden {
  display: none;
}

.form-container h2 {
  color: #003366;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 500;
  line-height: 1.6;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #003366;
  box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}

.form-group textarea {
  resize: vertical;
}

.form-actions {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}

.btn-submit,
.btn-cancel {
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

.btn-submit {
  background-color: #28a745;
  color: white;
}

.btn-submit:hover {
  background-color: #218838;
}

.btn-cancel {
  background-color: #6c757d;
  color: white;
}

.btn-cancel:hover {
  background-color: #5a6268;
}
