/* 18养殖网 - 2026 Modern Agritech & Livestock Equipment Portal CSS */
*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  --primary: #156143;
  --primary-dark: #0e4730;
  --primary-soft: #e9f5ef;
  --amber: #d97706;
  --amber-soft: #fef7e6;
  --amber-border: #f5d38e;
  --amber-ink: #854d0e;
  --bg: #f6f8f7;
  --surface: #ffffff;
  --ink: #111827;
  --ink-2: #374151;
  --muted: #64748b;
  --border: #e2e8f0;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

a:hover {
  color: var(--primary-dark);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
}

/* Header - pure white so original logo.png blends seamlessly */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.brand-logo {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

.brand-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
}

.nav-link:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.nav-link.is-active {
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-search {
  display: flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
  background: #f8fafc;
}

.header-search input {
  border: 0;
  background: transparent;
  padding: 7px 10px;
  width: 185px;
  font-size: 13px;
  color: var(--ink);
  outline: none;
}

.header-search button {
  border: 0;
  background: var(--primary);
  color: #fff;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.header-search button:hover {
  background: var(--primary-dark);
}

.btn-header-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--amber);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.btn-header-cta:hover {
  background: #b45309;
  color: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* Top Full-Width Announcement Bar right below navigation */
.announce-bar {
  background: var(--amber-soft);
  border-bottom: 1px solid var(--amber-border);
  color: var(--amber-ink);
  font-size: 14px;
}

.announce-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 9px;
  padding-bottom: 9px;
  flex-wrap: wrap;
}

.announce-badge {
  display: inline-block;
  background: var(--amber);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}

.announce-text {
  margin: 0;
  font-weight: 600;
  flex: 1;
  min-width: 200px;
}

.announce-link {
  color: var(--amber-ink);
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
}

.announce-link:hover {
  text-decoration: underline;
  color: #713f12;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  line-height: 1.3;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--primary);
  border-color: #b7d7c8;
}

.btn-secondary:hover {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.btn-amber {
  background: var(--amber);
  color: #fff;
}

.btn-amber:hover {
  background: #b45309;
  color: #fff;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #ffffff 0%, #edf6f1 100%);
  border-bottom: 1px solid var(--border);
  padding: 44px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 36px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
}

.hero-title {
  margin: 0 0 14px;
  font-size: 36px;
  line-height: 1.24;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.hero-lead {
  margin: 0 0 24px;
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid #d7e5de;
}

.metric-item strong {
  display: block;
  font-size: 18px;
  color: var(--primary);
}

.metric-item span {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}

.hero-img-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.hero-img-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-img-caption {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--ink-2);
  background: #fff;
}

.dot-live {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #16a34a;
  flex-shrink: 0;
}

/* Sections */
.section {
  padding: 52px 0;
}

.section-alt {
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.section-title {
  margin: 0;
  font-size: 25px;
  line-height: 1.3;
  color: #0f172a;
}

.section-sub {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14.5px;
}

.section-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
}

/* Categories Grid */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.cat-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.cat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #9bcab4;
  color: var(--ink);
}

.cat-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
}

.cat-count {
  font-size: 12.5px;
  color: var(--muted);
}

.cat-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
  color: #0f172a;
}

.cat-card p {
  margin: 0 0 12px;
  font-size: 13.5px;
  color: var(--muted);
  flex: 1;
}

.cat-link-hint {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}

/* Equipment Cards */
.eq-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.eq-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.eq-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.eq-thumb {
  position: relative;
  display: block;
  background: #edf2f0;
  overflow: hidden;
}

.eq-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.eq-cat-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.78);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 5px;
}

.eq-subsidy-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #15803d;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 5px;
}

.eq-body {
  padding: 15px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.eq-species {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 4px;
}

.eq-title {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.4;
}

.eq-title a {
  color: #0f172a;
}

.eq-title a:hover {
  color: var(--primary);
}

.eq-spec {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--muted);
  flex: 1;
}

.eq-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}

.eq-price .price-label {
  display: block;
  font-size: 11px;
  color: var(--muted);
}

.eq-price strong {
  color: #c2410c;
  font-size: 14.5px;
}

.eq-detail-btn {
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

.eq-detail-btn:hover {
  background: var(--primary);
  color: #fff;
}

/* Species Solutions Grid */
.species-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.species-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.species-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  color: var(--ink);
}

.species-badge {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  color: var(--amber-ink);
  background: var(--amber-soft);
  padding: 2px 9px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.species-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #0f172a;
}

.species-card p {
  margin: 0 0 12px;
  font-size: 13.5px;
  color: var(--ink-2);
  flex: 1;
}

.species-meta {
  font-size: 12.5px;
  color: var(--primary);
  padding-top: 10px;
  border-top: 1px dashed var(--border);
  font-weight: 500;
}

/* Tools Banner */
.section-tools-banner {
  padding: 24px 0 44px;
}

.tools-panel {
  background: linear-gradient(135deg, #0f4c34 0%, #176949 100%);
  border-radius: 18px;
  padding: 32px;
  color: #fff;
  box-shadow: var(--shadow-md);
}

.tools-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.pill-amber {
  display: inline-block;
  background: rgba(251, 191, 36, 0.2);
  color: #fde68a;
  border: 1px solid rgba(251, 191, 36, 0.4);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.tools-panel-head h2 {
  margin: 0 0 6px;
  font-size: 24px;
  color: #fff;
}

.tools-panel-head p {
  margin: 0;
  color: #d1fae5;
  max-width: 680px;
  font-size: 14.5px;
}

.tools-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.tool-mini-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 16px;
  color: #fff;
}

.tool-mini-card:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.tool-mini-card h3 {
  margin: 0 0 6px;
  font-size: 15.5px;
  color: #fff;
}

.tool-mini-card p {
  margin: 0 0 12px;
  font-size: 13px;
  color: #d1fae5;
  flex: 1;
}

.tool-mini-card span {
  font-size: 13px;
  font-weight: 700;
  color: #fde68a;
}

/* Tables */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 14px;
}

.data-table th, .data-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid #eef2f6;
}

.data-table th {
  background: #f8fafc;
  color: #334155;
  font-weight: 700;
  white-space: nowrap;
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover {
  background: #fafdfb;
}

.spec-table {
  min-width: 0;
}

.spec-table th {
  width: 180px;
}

.table-link {
  font-weight: 600;
  color: #0f172a;
}

.table-link:hover {
  color: var(--primary);
}

.price-cell {
  color: #c2410c;
  font-weight: 700;
  white-space: nowrap;
}

.tag-green {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.tag-gray {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 12px;
  white-space: nowrap;
}

.table-btn {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

.table-btn:hover {
  background: var(--primary);
  color: #fff;
}

/* Articles Grid */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.article-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.article-cat {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
  font-size: 12px;
}

.article-card h2, .article-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.45;
}

.article-card h2 a, .article-card h3 a {
  color: #0f172a;
}

.article-card h2 a:hover, .article-card h3 a:hover {
  color: var(--primary);
}

.article-card p {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: var(--muted);
  flex: 1;
}

.article-more {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary);
}

/* Page Banner & Breadcrumb */
.page-banner {
  background: linear-gradient(135deg, #ffffff 0%, #eef6f2 100%);
  border-bottom: 1px solid var(--border);
  padding: 30px 0 32px;
}

.page-banner h1 {
  margin: 8px 0 10px;
  font-size: 28px;
  line-height: 1.3;
  color: #0f172a;
}

.page-banner p {
  margin: 0;
  color: var(--ink-2);
  max-width: 820px;
}

.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.species-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

/* Filter Box */
.filter-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 22px;
}

.filter-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.filter-row:last-child {
  margin-bottom: 0;
}

.filter-label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-2);
  white-space: nowrap;
  padding-top: 5px;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
}

.chip:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.chip.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: 600;
}

.chip-subsidy.is-active {
  background: #15803d;
  border-color: #15803d;
}

.filter-search-note {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  font-size: 13.5px;
  color: var(--ink-2);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.result-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 10px;
}

/* Equipment & Article Detail Layout */
.detail-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 24px 0 36px;
}

.detail-top-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  margin-top: 18px;
  align-items: start;
}

.detail-gallery img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-note {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.badge-cat {
  padding: 3px 10px;
  border-radius: 6px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 700;
}

.badge-subsidy {
  padding: 3px 10px;
  border-radius: 6px;
  background: #dcfce7;
  color: #166534;
  font-size: 12.5px;
  font-weight: 700;
}

.detail-summary h1 {
  margin: 0 0 12px;
  font-size: 27px;
  line-height: 1.3;
}

.detail-overview {
  margin: 0 0 18px;
  color: var(--ink-2);
}

.price-box {
  background: #fff8f1;
  border: 1px solid #fed7aa;
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 18px;
}

.price-box-label {
  display: block;
  font-size: 12.5px;
  color: #9a3412;
  font-weight: 600;
}

.price-box-val {
  display: block;
  font-size: 26px;
  color: #c2410c;
  margin: 4px 0 8px;
}

.price-box-note {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: #7c2d12;
}

.detail-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.detail-assurance {
  font-size: 12.5px;
  color: var(--muted);
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
}

.detail-body-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

.content-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 22px;
}

.content-card:last-child {
  margin-bottom: 0;
}

.content-card h2 {
  margin: 0 0 14px;
  font-size: 20px;
  color: #0f172a;
  padding-bottom: 10px;
  border-bottom: 1px solid #eef2f6;
}

.card-intro {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--muted);
}

.tips-list {
  margin: 0;
  padding-left: 20px;
  color: var(--ink-2);
}

.tips-list li {
  margin-bottom: 10px;
}

.callout-green {
  margin-top: 18px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-left: 4px solid #16a34a;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 14px;
  color: #14532d;
}

.callout-amber {
  background: var(--amber-soft);
  border: 1px solid var(--amber-border);
  border-left: 4px solid var(--amber);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 14px;
  color: var(--amber-ink);
}

.side-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 18px;
}

.side-card h3 {
  margin: 0 0 10px;
  font-size: 16.5px;
  color: #0f172a;
}

.side-card p {
  margin: 0 0 12px;
  font-size: 13.5px;
  color: var(--muted);
}

.side-links, .side-article-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.side-links li {
  padding: 8px 0;
  border-bottom: 1px dashed #e2e8f0;
  font-size: 13.5px;
}

.side-links li:last-child {
  border-bottom: 0;
}

.side-article-list li {
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}

.side-article-list li:last-child {
  border-bottom: 0;
}

.side-article-list a {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.45;
  margin-bottom: 4px;
}

.side-article-list a:hover {
  color: var(--primary);
}

.side-article-list span {
  font-size: 12px;
  color: var(--muted);
}

.side-eq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.side-eq-item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #eef2f6;
}

.side-eq-item:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.side-eq-item img {
  width: 78px;
  height: 58px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.side-eq-item strong {
  display: block;
  font-size: 13.5px;
  color: #0f172a;
  line-height: 1.35;
}

.side-eq-price {
  font-size: 12.5px;
  color: #c2410c;
  font-weight: 700;
}

/* Species Plan Cards */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.plan-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.plan-scale {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}

.plan-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.plan-budget {
  background: #fff8f1;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13.5px;
  color: #9a3412;
  margin-bottom: 14px;
}

.plan-budget strong {
  font-size: 17px;
  color: #c2410c;
}

.plan-list {
  margin: 0 0 14px;
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--ink-2);
  flex: 1;
}

.plan-list li {
  margin-bottom: 6px;
}

.plan-roi {
  margin: 0;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
}

/* Prices Page */
.price-group {
  margin-bottom: 36px;
}

.price-group-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.price-group-head h2 {
  margin: 0;
  font-size: 21px;
}

.price-group-head p {
  margin: 4px 0 0;
  font-size: 13.5px;
  color: var(--muted);
}

.bottom-cta-box {
  background: #fff;
  border: 1px solid #b7d7c8;
  border-radius: var(--radius);
  padding: 24px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.bottom-cta-box h3 {
  margin: 0 0 4px;
  font-size: 19px;
}

.bottom-cta-box p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* Article Prose */
.article-header-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}

.article-lead-box {
  background: #f8fafc;
  border-left: 4px solid var(--primary);
  padding: 14px 16px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 14.5px;
  color: var(--ink-2);
}

.prose h2 {
  margin: 26px 0 12px;
  font-size: 20px;
  color: #0f172a;
}

.prose h3 {
  margin: 20px 0 8px;
  font-size: 17px;
  color: #1e293b;
}

.prose p {
  margin: 0 0 14px;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.8;
}

.prose ul, .prose ol {
  margin: 0 0 16px;
  padding-left: 22px;
  color: var(--ink-2);
}

.prose li {
  margin-bottom: 8px;
  line-height: 1.75;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
  display: block;
  overflow-x: auto;
}

.prose th, .prose td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
}

.prose th {
  background: #f8fafc;
  white-space: nowrap;
}

/* Tools Page */
.tools-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.tool-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 90px;
}

.tool-card-featured {
  border-color: #9bcab4;
  box-shadow: var(--shadow-md);
}

.tool-card-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eef2f6;
}

.tool-num {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--primary);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  margin-top: 3px;
}

.tool-card-head h2 {
  margin: 0 0 6px;
  font-size: 21px;
}

.tool-card-head p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.tool-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: start;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 6px;
}

.form-group input[type="number"],
.form-group select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14.5px;
  color: var(--ink);
  background: #fff;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(21, 97, 67, 0.12);
}

.check-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.check-item {
  display: flex !important;
  align-items: center;
  gap: 8px;
  font-weight: 500 !important;
  margin: 0 !important;
  cursor: pointer;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tool-result, .quote-sheet {
  background: #f8faf9;
  border: 1px solid #d5e6dd;
  border-radius: 12px;
  padding: 18px 20px;
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed #d5e6dd;
  font-size: 14px;
}

.result-row span {
  color: var(--muted);
}

.result-row strong {
  color: #0f172a;
  text-align: right;
}

.result-row.highlight strong {
  color: #c2410c;
  font-size: 16.5px;
}

.result-tip {
  margin: 12px 0 0;
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.6;
}

.quote-sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.quote-sheet-head strong {
  font-size: 16px;
  color: var(--primary-dark);
}

.quote-sheet-head span {
  font-size: 12px;
  color: var(--muted);
}

.compact-table {
  min-width: 420px;
  font-size: 13.5px;
}

.quote-total-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding: 10px 14px;
  background: #fff8f1;
  border: 1px solid #fed7aa;
  border-radius: 8px;
}

.quote-total-bar strong {
  color: #c2410c;
  font-size: 18px;
}

.empty-state {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 24px;
  text-align: center;
}

/* Footer */
.site-footer {
  background: #0f1f18;
  color: #cbd5e1;
  margin-top: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 48px 18px 36px;
}

.footer-logo-wrap {
  display: inline-block;
  background: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  margin-bottom: 14px;
}

.footer-desc {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.7;
}

.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-tags span {
  font-size: 12px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #d1fae5;
}

.footer-col h3 {
  margin: 0 0 12px;
  font-size: 15px;
  color: #fff;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: #cbd5e1;
  font-size: 13.5px;
}

.footer-col a:hover {
  color: #6ee7b7;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  font-size: 13px;
  color: #94a3b8;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin: 0;
}

.footer-beian a {
  color: #cbd5e1;
}

.footer-beian a:hover {
  color: #fff;
}

.footer-beian .sep {
  margin: 0 8px;
  color: #475569;
}

/* Responsive Breakpoints (Zero horizontal overflow down to 375px) */
@media (max-width: 1080px) {
  .header-search {
    display: none;
  }
  .eq-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .tools-mini-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 18px 16px;
    gap: 4px;
  }
  .main-nav.is-open {
    display: flex;
  }
  .nav-toggle {
    display: flex;
  }
  .btn-header-cta {
    display: none;
  }
  .hero-grid,
  .detail-top-grid,
  .detail-body-grid,
  .tool-grid {
    grid-template-columns: 1fr;
  }
  .cat-grid,
  .species-grid,
  .article-grid,
  .plan-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .eq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .container {
    padding: 0 14px;
  }
  .brand-logo img {
    height: 40px;
  }
  .hero-section {
    padding: 28px 0 32px;
  }
  .hero-title {
    font-size: 26px;
  }
  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .section {
    padding: 36px 0;
  }
  .section-title {
    font-size: 21px;
  }
  .cat-grid,
  .eq-grid,
  .species-grid,
  .article-grid,
  .plan-grid,
  .tools-mini-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .tools-panel {
    padding: 22px 16px;
  }
  .tool-card {
    padding: 18px 14px;
  }
  .tool-card-head {
    flex-direction: column;
    gap: 8px;
  }
  .content-card {
    padding: 18px 14px;
  }
  .filter-row {
    flex-direction: column;
    gap: 6px;
  }
  .announce-link {
    display: none;
  }
  .result-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .result-row strong {
    text-align: left;
  }
  .spec-table th {
    width: 115px;
  }
}

@media print {
  .site-header, .announce-bar, .page-banner, .tool-form, .site-footer, #pellet-calc, #fence-calc, #feeder-calc {
    display: none !important;
  }
  body {
    background: #fff;
  }
  .tool-card {
    border: 0;
    box-shadow: none;
    padding: 0;
  }
}
