@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

:root {
  --background: #ffffff;
  --foreground: #171717;
  /* 定义新色值（按需微调） */
  --c-light: #fff9f5;   /* 浅橙背景 */
  --c-primary: #ff6b35; /* 主橙 */
  --c-primary-dark: #e55a2b;
  --c-secondary: #ffece5; /* 浅橙辅助 */
  --c-accent: #d62d2d;   /* 强调红 */
  --c-accent-dark: #b32424;
  --c-text: #3c3c3c;     /* 正文深灰 */
  --c-muted: #6b6b6b;    /* 次要文字 */
}

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --font-sans: 'Noto Sans SC', sans-serif;
  --font-mono: monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0a0a0a;
    --foreground: #ededed;
  }
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: 'Noto Sans SC', sans-serif;
}

/* 覆盖 Tailwind 原色类（最小粒度） */
.bg-blue-50   { background-color: var(--c-secondary) !important; }
.bg-blue-100  { background-color: var(--c-secondary) !important; }
.bg-blue-200  { background-color: var(--c-secondary) !important; }
.bg-blue-600  { background-color: var(--c-primary) !important; }
.bg-blue-700  { background-color: var(--c-primary-dark) !important; }
.bg-blue-900  { background-color: var(--c-accent-dark) !important; }

.text-blue-600  { color: var(--c-primary) !important; }
.text-blue-700  { color: var(--c-primary-dark) !important; }
.text-blue-900  { color: var(--c-accent-dark) !important; }

.border-blue-100 { border-color: var(--c-secondary) !important; }
.border-blue-600 { border-color: var(--c-primary) !important; }

.ring-blue-500 { --tw-ring-color: var(--c-primary) !important; }

.hover\:text-blue-600:hover { color: var(--c-primary) !important; }
.hover\:text-blue-200:hover { color: #ffd8c2 !important; }

.hover\:bg-blue-600:hover { background-color: var(--c-primary) !important; }
.hover\:bg-blue-700:hover { background-color: var(--c-primary-dark) !important; }

/* 覆盖 slate 系列（背景/文字） */
.bg-slate-50  { background-color: var(--c-light) !important; }
.bg-slate-100 { background-color: #fff5f0 !important; }
.bg-slate-200 { background-color: #ffece5 !important; }
.bg-slate-800 { background-color: #3a1e18 !important; }
.bg-slate-900 { background-color: #2b0f0a !important; }

.text-slate-600 { color: var(--c-muted) !important; }
.text-slate-700 { color: var(--c-text) !important; }
.text-slate-800 { color: var(--c-text) !important; }
.text-slate-900 { color: var(--c-text) !important; }

.border-slate-100 { border-color: #ffece5 !important; }
.border-slate-200 { border-color: #ffd8c2 !important; }

/* 覆盖绿色标签（可选） */
.bg-green-50  { background-color: #fff5f0 !important; }
.text-green-700 { color: var(--c-primary-dark) !important; }
.border-green-100 { border-color: var(--c-secondary) !important; }

/* 渐变背景单独处理 */
.from-white.to-blue-50 {
  background-image: linear-gradient(to bottom, #ffffff 0%, var(--c-light) 100%) !important;
}

/* 血液运输箱产品列表页面样式 */
.blood-transport-page {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 20px;
  background-color: #ffffff;
}

.blood-transport-container {
  max-width: 1200px;
  margin: 0 auto;
}

.blood-transport-title {
  text-align: center;
  color: #333;
  font-size: 2rem;
  font-weight: bold;
  margin: 1rem 0;
  padding: 1rem;
}

.section-title {
  color: #333;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 1.5rem 0 1rem 0;
  padding: 0.5rem 0;
  border-bottom: 2px solid #ff6b35;
}



.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.product-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-image-container {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #f8f9fa;
}

.product-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-info {
  padding: 15px;
}

.product-name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.product-description {
  color: #666;
  margin-bottom: 15px;
  line-height: 1.5;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 15px;
}

.specs-table td {
  padding: 4px 0;
  border-bottom: 1px solid #eee;
}

.specs-label {
  font-weight: bold;
  width: 30%;
}

.back-link {
  display: inline-block;
  margin-bottom: 20px;
  color: #007bff;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

/* 导航栏公司名称样式调整 */
.nav-company-en {
  font-size: 0.73rem; /* 12px */
  line-height: 1rem; /* 16px */
  color: #6b6b6b; /* 与次要文字颜色一致 */
}

/* 全宽内容页面样式（关于我们、售后服务等） */
.content-page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.content-page-title {
  text-align: center;
  margin-bottom: 30px;
}

.content-section {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}

.content-cover-image {
  text-align: center;
  margin-bottom: 20px;
}

.content-cover-image img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.content-section-title {
  font-size: 24px;
  color: #333;
  margin-bottom: 15px;
}

.content-section-body {
  color: #666;
  line-height: 1.8;
  white-space: pre-wrap;
}

.content-no-data {
  text-align: center;
  padding: 60px 20px;
  font-size: 18px;
  color: #666;
}

