/* Fengde Trading — Stylesheet
   One-person SOHO site. Clean, simple, honest. */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.65;
  font-size: 16px;
}

a { color: #2c5f2d; text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

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

/* ----- Nav ----- */
.site-header {
  border-bottom: 1px solid #e0e0e0;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 56px;
}

.logo {
  font-weight: 700;
  font-size: 1.2rem;
  color: #222;
  letter-spacing: -0.3px;
}
.logo .accent { color: #2c5f2d; }

.nav-menu { display: flex; gap: 2px; }
.nav-menu a {
  padding: 8px 14px;
  color: #555;
  font-size: 0.9rem;
  border-radius: 3px;
}
.nav-menu a:hover,
.nav-menu a.active { color: #2c5f2d; background: #f5f5f5; text-decoration: none; }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 22px; height: 2px; background: #555; margin: 4px 0; border-radius: 1px; }

/* ----- Hero ----- */
.hero {
  padding: 80px 0 64px;
  text-align: center;
  background: #fafaf9;
  border-bottom: 1px solid #eee;
}

.hero h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.hero p {
  font-size: 1.08rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.btn {
  display: inline-block;
  padding: 11px 26px;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 3px;
  cursor: pointer;
  border: 1.5px solid #2c5f2d;
  background: #2c5f2d;
  color: #fff;
  text-decoration: none;
  transition: background 0.15s;
}
.btn:hover { background: #234d24; text-decoration: none; color: #fff; }
.btn-outline { background: transparent; color: #2c5f2d; }
.btn-outline:hover { background: #f0f6f0; color: #2c5f2d; }

/* ----- Section headings ----- */
.section-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.section-subtitle {
  color: #777;
  font-size: 0.95rem;
  margin-bottom: 36px;
}

/* ----- Category cards ----- */
.categories {
  padding: 72px 0;
  text-align: center;
}
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 10px; }

.category-card {
  padding: 36px 24px;
  border: 1px solid #e8e8e8;
  border-radius: 2px;
  text-align: left;
  transition: border-color 0.15s;
}
.category-card:hover { border-color: #bbb; }

.cat-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  position: relative;
}

/* Pet icon: two overlapping circles */
.cat-icon.pet::before,
.cat-icon.pet::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 2px solid #2c5f2d;
}
.cat-icon.pet::before { width: 20px; height: 20px; top: 2px; left: 0; }
.cat-icon.pet::after  { width: 16px; height: 16px; top: 0; left: 12px; }

/* Home icon: rectangle + triangle roof */
.cat-icon.home::before { content: ''; position: absolute; bottom: 0; left: 6px; width: 20px; height: 16px; border: 2px solid #2c5f2d; border-top: none; }
.cat-icon.home::after  { content: ''; position: absolute; top: 2px; left: 2px; width: 0; height: 0; border-left: 14px solid transparent; border-right: 14px solid transparent; border-bottom: 12px solid #2c5f2d; }

/* Tool icon: wrench shape */
.cat-icon.tool::before { content: ''; position: absolute; top: 4px; left: 8px; width: 16px; height: 24px; border: 2px solid #2c5f2d; border-radius: 2px 2px 0 0; }
.cat-icon.tool::after  { content: ''; position: absolute; top: 14px; left: 2px; width: 28px; height: 10px; border: 2px solid #2c5f2d; border-radius: 1px; }

.category-card h3 { font-size: 1.05rem; color: #222; margin-bottom: 8px; }
.category-card p  { font-size: 0.9rem; color: #666; line-height: 1.55; }

/* ----- How I Work ----- */
.how-i-work {
  padding: 72px 0;
  background: #fafaf9;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 8px; }

.step {
  padding: 24px 20px;
  text-align: center;
}
.step-num {
  width: 36px; height: 36px;
  line-height: 36px;
  border-radius: 50%;
  background: #2c5f2d;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0 auto 14px;
}
.step h3 { font-size: 1rem; color: #222; margin-bottom: 6px; }
.step p  { font-size: 0.85rem; color: #666; line-height: 1.5; }

/* ----- Products ----- */
.hot-products { padding: 72px 0; text-align: center; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 10px; }

.product-card {
  border: 1px solid #e8e8e8;
  border-radius: 2px;
  text-align: left;
  transition: border-color 0.15s;
  background: #fff;
}
.product-card:hover { border-color: #bbb; }

.product-thumb {
  height: 180px;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: #aaa;
  letter-spacing: 1px;
}

.product-info { padding: 16px 18px 18px; }

.product-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #2c5f2d;
  margin-bottom: 6px;
}
.product-info h3 { font-size: 0.98rem; color: #222; margin-bottom: 6px; line-height: 1.35; }
.product-info .desc { font-size: 0.84rem; color: #777; margin-bottom: 12px; line-height: 1.5; }
.product-meta { display: flex; justify-content: space-between; font-size: 0.82rem; color: #555; padding-top: 10px; border-top: 1px solid #eee; }

/* ----- Products page ----- */
.products-page { padding: 48px 0; }

.page-header { text-align: center; margin-bottom: 36px; }
.page-header h1 { font-size: 1.6rem; color: #222; margin-bottom: 6px; }
.page-header p  { color: #777; font-size: 0.95rem; }

.filter-bar { display: flex; justify-content: center; gap: 6px; margin-bottom: 32px; flex-wrap: wrap; }

.filter-btn {
  padding: 7px 20px;
  border: 1px solid #d0d0d0;
  background: #fff;
  color: #555;
  font-size: 0.85rem;
  cursor: pointer;
  border-radius: 3px;
  transition: all 0.12s;
}
.filter-btn:hover { border-color: #999; color: #333; }
.filter-btn.active { background: #2c5f2d; border-color: #2c5f2d; color: #fff; }

/* ----- About page ----- */
.about-page { padding: 48px 0; }

.about-intro { max-width: 700px; margin-bottom: 48px; }
.about-intro h1 { font-size: 1.8rem; color: #222; margin-bottom: 14px; }
.about-intro p { font-size: 1rem; color: #555; margin-bottom: 14px; line-height: 1.7; }
.about-intro .signature { color: #999; font-style: italic; margin-top: 20px; }

.about-section { margin-bottom: 48px; }
.about-section h2 { font-size: 1.2rem; color: #222; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid #eee; }

.service-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 8px; }
.flow-step { padding: 18px 14px; text-align: center; border: 1px solid #eee; border-radius: 2px; }
.flow-step .flow-num { font-size: 1.4rem; font-weight: 700; color: #2c5f2d; margin-bottom: 8px; }
.flow-step h4 { font-size: 0.92rem; color: #222; margin-bottom: 4px; }
.flow-step p  { font-size: 0.82rem; color: #777; line-height: 1.4; }

/* ----- Contact page ----- */
.contact-page { padding: 48px 0; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }

.contact-info h1 { font-size: 1.6rem; color: #222; margin-bottom: 8px; }
.contact-info .subtitle { color: #777; font-size: 0.95rem; margin-bottom: 28px; }

.contact-item { display: flex; gap: 12px; margin-bottom: 20px; align-items: flex-start; }
.contact-item .ci-label { font-weight: 600; font-size: 0.85rem; color: #444; min-width: 70px; }
.contact-item .ci-value { font-size: 0.9rem; color: #555; }

.form-wrapper {
  border: 1px solid #e8e8e8;
  padding: 28px;
  border-radius: 2px;
}
.form-wrapper h2 { font-size: 1.15rem; color: #222; margin-bottom: 20px; }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 500; color: #555; margin-bottom: 4px; }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d0d0d0;
  border-radius: 2px;
  font-size: 0.9rem;
  font-family: inherit;
  color: #333;
  background: #fafafa;
  transition: border-color 0.12s;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: #2c5f2d; background: #fff; }
.form-group textarea { resize: vertical; min-height: 120px; }

.form-group .error-msg { color: #c0392b; font-size: 0.78rem; margin-top: 3px; display: none; }
.form-group.error input,
.form-group.error textarea { border-color: #c0392b; }
.form-group.error .error-msg { display: block; }

.form-submit { width: 100%; padding: 12px; font-size: 0.95rem; }

.form-success { display: none; text-align: center; padding: 16px; color: #2c5f2d; font-size: 0.95rem; }

/* ----- CTA ----- */
.cta-section { padding: 56px 0; text-align: center; background: #fafaf9; border-top: 1px solid #eee; }
.cta-section h2 { font-size: 1.3rem; color: #222; margin-bottom: 8px; }
.cta-section p  { color: #666; font-size: 0.95rem; margin-bottom: 20px; }

/* ----- Page banner (inner pages) ----- */
.page-banner { padding: 40px 0; text-align: center; background: #fafaf9; border-bottom: 1px solid #eee; }
.page-banner h1 { font-size: 1.6rem; color: #222; margin-bottom: 4px; }
.page-banner p  { color: #777; font-size: 0.95rem; }

/* ----- Footer ----- */
.site-footer { padding: 40px 0 24px; background: #f5f5f5; border-top: 1px solid #e0e0e0; font-size: 0.85rem; color: #777; }

.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 24px; }
.footer-cols h4 { font-size: 0.9rem; color: #444; margin-bottom: 10px; }
.footer-cols a { display: block; color: #777; padding: 2px 0; font-size: 0.85rem; }
.footer-cols a:hover { color: #2c5f2d; text-decoration: none; }
.footer-cols p { margin-bottom: 4px; }

.footer-bottom { border-top: 1px solid #e8e8e8; padding-top: 16px; text-align: center; color: #999; font-size: 0.8rem; }

/* ----- Responsive ----- */
@media (max-width: 768px) {

  .hamburger { display: flex; flex-direction: column; gap: 5px; }

  .nav-menu {
    position: fixed; top: 56px; left: 0; right: 0;
    background: #fff; flex-direction: column;
    padding: 12px; border-bottom: 1px solid #e0e0e0;
    display: none; z-index: 99;
  }
  .nav-menu.active { display: flex; }
  .nav-menu a { padding: 10px 14px; }

  .hero { padding: 50px 0 40px; }
  .hero h1 { font-size: 1.6rem; }

  .category-grid,
  .product-grid,
  .steps,
  .service-flow { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; }

  .footer-cols { grid-template-columns: 1fr; gap: 20px; }

  .section-title { font-size: 1.2rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.35rem; }
  .hero p { font-size: 0.95rem; }
  .product-thumb { height: 140px; }
  .filter-btn { padding: 5px 14px; font-size: 0.8rem; }
}
（内容由AI生成，仅供参考）
