@import 'variables.css';

/* Generic product detail page styles (shared by products/* pages) */

.product-detail {
  padding: 60px 0;
  background: transparent; /* 露出主题背景 */
}

.product-detail .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm, 16px);
}

/* Section blocks */
.detail-section {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  padding: 30px;
  margin-bottom: 24px;
  border: 1px solid rgba(0,0,0,0.04);
}

.detail-section > h2 {
  margin-top: 0;
  margin-bottom: 18px;
  color: var(--text-primary, #1f2937);
  font-size: 1.6rem;
  font-weight: 600;
}

/* Specifications */
.specifications {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.spec-item {
  background: #fafbff;
  border: 1px solid #eef2ff;
  border-radius: 10px;
  padding: 16px 18px;
}

.spec-label {
  color: #64748b;
  font-size: 0.95rem;
}

.spec-value {
  display: block;
  margin-top: 6px;
  color: #0f172a;
  font-weight: 600;
}

/* Applications */
.applications {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.app-item {
  background: #ffffff;
  border: 1px solid #eef2f7;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.app-item h4 {
  margin: 0 0 8px;
  color: #1f2937;
  font-weight: 600;
}

.app-item p {
  margin: 0;
  color: #5a6c7d;
}

/* Inquiry */
.inquiry-section {
  margin-top: 32px;
  padding: 40px 20px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.02) 100%);
  border-radius: 12px;
}

.inquiry-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
}

/* Utilities */
.text-center { text-align: center; }

/* Responsive */
@media (max-width: 768px) {
  .detail-section { padding: 20px; }
  .product-detail { padding: 30px 0; }
}

