:root {
  --color-primary: #0d7377;
  --color-text: #2b2b2b;
  --color-muted: #f7f9fa;
  --color-border: #e1e6eb;
  --max-width: 900px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--color-text);
  line-height: 1.7;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

header {
  border-bottom: 1px solid var(--color-border);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 700;
}

.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

nav ul {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

nav a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.95rem;
}

nav a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

main { padding: 2rem 0; }

h1 {
  font-size: 1.875rem;
  margin: 0 0 1rem;
  color: #0a5c60;
  line-height: 1.3;
}

h2 {
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
  color: #0a5c60;
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 0.4rem;
}

h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem;
  color: #0a5c60;
}

p { margin: 0 0 1rem; }

section { margin-bottom: 2.5rem; }

ul, ol {
  padding-left: 1.4rem;
  margin: 0 0 1rem;
}

li { margin-bottom: 0.5rem; }

.table-wrap {
  overflow-x: auto;
  margin: 1rem 0 1.5rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 600px;
}

th, td {
  border: 1px solid var(--color-border);
  padding: 0.75rem;
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--color-muted);
  font-weight: 600;
}

tr:nth-child(even) { background: var(--color-muted); }

.faq-item {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--color-muted);
  border-radius: 6px;
}

.faq-item h3 {
  margin-top: 0;
  font-size: 1.05rem;
}

.product-card {
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.product-card h3 { margin-top: 0; }

.product-meta { color: #555; font-size: 0.95rem; }

.product-hero {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid var(--color-border);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0 1.5rem;
}

.gallery img {
  width: 100%;
  height: auto;
  border: 1px solid var(--color-border);
  border-radius: 4px;
}

@media (max-width: 640px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

.btn {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  padding: 0.55rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.95rem;
}

.btn:hover { background: #095a5e; }

.breadcrumb {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
}

.breadcrumb a { color: #666; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

footer {
  border-top: 1px solid var(--color-border);
  padding: 1.5rem 0;
  background: var(--color-muted);
  font-size: 0.9rem;
  color: #555;
}

.icp { margin-top: 0.5rem; }

@media (max-width: 640px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.15rem; }
  nav ul { gap: 0.9rem; }
}
