/* 重庆银鹤松贸易有限公司 - 重庆银鹤松贸易有限公司 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px; line-height: 1.6; color: #333; background: #f5f6f8;
}
a { text-decoration: none; color: #2563eb; }
a:hover { color: #1d4ed8; }
img { max-width: 100%; height: auto; }

/* Header */
.topbar {
  background: #1a1a2e; color: #fff; padding: 6px 0; font-size: 12px;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar a { color: #ccc; margin-left: 15px; }
.topbar a:hover { color: #fff; }

.header {
  background: #fff; border-bottom: 1px solid #e5e7eb; position: sticky; top: 0; z-index: 100;
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-size: 22px; font-weight: 700; color: #1a1a2e; }
.logo span { color: #dc2626; }
.nav { display: flex; gap: 30px; }
.nav a { color: #374151; font-size: 15px; font-weight: 500; }
.nav a:hover, .nav a.active { color: #dc2626; }
.header-actions { display: flex; gap: 12px; align-items: center; }
.btn {
  display: inline-block; padding: 8px 20px; border-radius: 6px; font-size: 14px;
  cursor: pointer; border: none; transition: .2s;
}
.btn-primary { background: #dc2626; color: #fff; }
.btn-primary:hover { background: #b91c1c; }
.btn-outline { background: #fff; color: #dc2626; border: 1px solid #dc2626; }
.btn-outline:hover { background: #fef2f2; }
.btn-sm { padding: 5px 14px; font-size: 13px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Hero */
.hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #fff; padding: 60px 0; text-align: center;
}
.hero h1 { font-size: 36px; margin-bottom: 12px; }
.hero p { font-size: 16px; color: #cbd5e1; margin-bottom: 24px; }
.hero-search {
  max-width: 600px; margin: 0 auto; display: flex; gap: 0;
}
.hero-search input {
  flex: 1; padding: 12px 16px; border: none; border-radius: 6px 0 0 6px; font-size: 14px;
}
.hero-search .btn { border-radius: 0 6px 6px 0; }

/* Category nav */
.cat-nav {
  background: #fff; padding: 20px 0; border-bottom: 1px solid #e5e7eb;
}
.cat-list { display: flex; justify-content: center; gap: 40px; }
.cat-item { text-align: center; }
.cat-item .icon {
  width: 56px; height: 56px; background: #f3f4f6; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 8px;
  font-size: 24px;
}
.cat-item:hover .icon { background: #fef2f2; }
.cat-item span { font-size: 14px; color: #374151; }

/* Section */
.section { padding: 40px 0; }
.section-title {
  font-size: 22px; font-weight: 700; margin-bottom: 24px; display: flex;
  align-items: center; justify-content: space-between;
}
.section-title a { font-size: 14px; font-weight: 400; }

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card {
  background: #fff; border-radius: 8px; overflow: hidden; border: 1px solid #e5e7eb;
  transition: .2s;
}
.product-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.product-img {
  height: 180px; background: #f3f4f6; display: flex; align-items: center; justify-content: center;
  color: #9ca3af; font-size: 14px;
}
.product-info { padding: 12px; }
.product-name { font-size: 14px; color: #1f2937; line-height: 1.4; height: 40px; overflow: hidden; margin-bottom: 8px; }
.product-price { color: #dc2626; font-size: 18px; font-weight: 700; }
.product-price small { font-size: 12px; color: #9ca3af; text-decoration: line-through; margin-left: 6px; }
.product-meta { font-size: 12px; color: #6b7280; margin-top: 4px; }

/* Footer */
.footer {
  background: #1a1a2e; color: #cbd5e1; padding: 40px 0 0; margin-top: 40px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 30px; }
.footer-brand .logo { color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: 13px; line-height: 1.8; color: #94a3b8; }
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 16px; }
.footer-col a { display: block; color: #94a3b8; font-size: 13px; margin-bottom: 10px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #334155; margin-top: 30px; padding: 16px 0;
  text-align: center; font-size: 12px; color: #64748b;
}
.footer-bottom a { color: #94a3b8; }

/* Page header */
.page-header {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #fff; padding: 40px 0; text-align: center;
}
.page-header h1 { font-size: 28px; margin-bottom: 8px; }
.page-header p { color: #cbd5e1; }

/* Breadcrumb */
.breadcrumb { background: #fff; padding: 12px 0; border-bottom: 1px solid #e5e7eb; font-size: 13px; }
.breadcrumb a { color: #6b7280; }
.breadcrumb span { color: #9ca3af; margin: 0 6px; }

/* Content page */
.content-page { background: #fff; padding: 32px; border-radius: 8px; margin: 24px 0; }
.content-page h2 { font-size: 20px; margin: 24px 0 12px; color: #1a1a2e; border-bottom: 2px solid #e5e7eb; padding-bottom: 8px; }
.content-page h3 { font-size: 16px; margin: 18px 0 10px; color: #374151; }
.content-page p { margin-bottom: 12px; color: #4b5563; }
.content-page ul, .content-page ol { margin: 12px 0 12px 24px; }
.content-page li { margin-bottom: 6px; color: #4b5563; }
.content-page table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.content-page th, .content-page td { border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; }
.content-page th { background: #f9fafb; font-weight: 600; }

/* Product detail */
.pd-layout { display: grid; grid-template-columns: 400px 1fr; gap: 30px; margin: 24px 0; }
.pd-gallery {
  background: #fff; border-radius: 8px; height: 400px;
  display: flex; align-items: center; justify-content: center; border: 1px solid #e5e7eb;
  color: #9ca3af;
}
.pd-info { background: #fff; border-radius: 8px; padding: 24px; border: 1px solid #e5e7eb; }
.pd-info h1 { font-size: 22px; margin-bottom: 12px; }
.pd-price { font-size: 28px; color: #dc2626; font-weight: 700; margin-bottom: 16px; }
.pd-meta { margin-bottom: 16px; }
.pd-meta-row { display: flex; padding: 8px 0; border-bottom: 1px solid #f3f4f6; }
.pd-meta-label { width: 100px; color: #6b7280; }
.pd-meta-value { color: #1f2937; }
.pd-actions { display: flex; gap: 12px; margin-top: 20px; }

/* Shopping guide steps */
.sg-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 24px 0; }
.sg-step {
  background: #fff; border-radius: 8px; padding: 20px; border: 1px solid #e5e7eb;
  text-align: center;
}
.sg-step-num {
  width: 40px; height: 40px; background: #dc2626; color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
  margin: 0 auto 12px;
}
.sg-step h3 { font-size: 15px; margin-bottom: 8px; }
.sg-step p { font-size: 13px; color: #6b7280; }

/* Merchant page */
.merchant-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #fff; padding: 50px 0; text-align: center;
}
.merchant-hero h1 { font-size: 32px; margin-bottom: 12px; }
.merchant-hero p { font-size: 16px; color: #cbd5e1; margin-bottom: 24px; }

/* FAQ */
.faq-item { border-bottom: 1px solid #e5e7eb; padding: 16px 0; }
.faq-q { font-weight: 600; color: #1a1a2e; margin-bottom: 8px; cursor: pointer; }
.faq-a { color: #4b5563; padding-left: 16px; }

/* Form */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 500; color: #374151; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 10px 12px; border: 1px solid #d1d5db; border-radius: 6px; font-size: 14px;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.auth-box {
  max-width: 420px; margin: 40px auto; background: #fff; padding: 32px; border-radius: 8px;
  border: 1px solid #e5e7eb;
}
.auth-box h2 { text-align: center; margin-bottom: 24px; }
.auth-box .btn { width: 100%; padding: 12px; font-size: 15px; }
.auth-links { text-align: center; margin-top: 16px; font-size: 13px; }

/* 404 */
.error-404 {
  text-align: center; padding: 80px 20px;
}
.error-404 h1 { font-size: 120px; color: #dc2626; line-height: 1; }
.error-404 h2 { font-size: 24px; margin-bottom: 16px; }
.error-404 p { color: #6b7280; margin-bottom: 24px; }

/* Sitemap */
.sitemap-col { margin-bottom: 24px; }
.sitemap-col h3 { font-size: 16px; color: #1a1a2e; margin-bottom: 12px; }
.sitemap-col a { display: block; color: #4b5563; padding: 6px 0; border-bottom: 1px solid #f3f4f6; }
.sitemap-col a:hover { color: #dc2626; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin: 24px 0; }
.contact-info { background: #fff; padding: 24px; border-radius: 8px; border: 1px solid #e5e7eb; }
.contact-info h3 { margin-bottom: 16px; }
.contact-row { display: flex; margin-bottom: 12px; }
.contact-row .label { width: 80px; color: #6b7280; }

/* Responsive */
@media (max-width: 768px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .pd-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sg-steps { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .nav { display: none; }
}
