:root {
  --paper: #ffffff;
  --bg: #f5f7f5;
  --ink: #222b27;
  --muted: #69746f;
  --line: #dde4e0;
  --brand: #185c4a;
  --brand-dark: #124739;
  --accent: #c56f2a;
  --accent-soft: #f7e9dd;
  --soft: #eef3f0;
  --danger: #b23a3a;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.7;
}

a {
  color: var(--brand);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.logo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  overflow: hidden;
  flex: 0 0 auto;
}

.logo-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-mark .logo-square {
  display: block;
}

.logo-mark .logo-wide {
  display: none;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text strong {
  font-size: 19px;
  letter-spacing: 0;
}

.logo-text span {
  color: var(--muted);
  font-size: 11px;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.top-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border: 1px solid #c5e0d2;
  border-radius: 999px;
  background: #e9f4ee;
  color: #174c3e;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(24, 92, 74, 0.12);
}

.top-link svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: #0f6b43;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.top-link-text {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  line-height: 1;
}

.top-link strong {
  color: #0f6b43;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

.nav-shell {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 8px;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-item > a,
.nav-item > button {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.nav-item > a:hover,
.nav-item > button:hover,
.nav-item.active > a,
.nav-item.active > button {
  color: var(--brand);
  border-bottom-color: var(--accent);
}

.nav-caret {
  color: #a1aca6;
  font-size: 11px;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 70;
  display: none;
  min-width: 230px;
  padding: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  box-shadow: 0 12px 28px rgba(24, 43, 36, 0.12);
}

.nav-item:hover .dropdown,
.nav-item.open .dropdown {
  display: block;
}

.dropdown a {
  display: block;
  padding: 8px 10px;
  color: var(--ink);
  font-size: 14px;
  text-decoration: none;
  border-radius: 4px;
}

.dropdown a:hover {
  background: var(--soft);
  color: var(--brand);
}

.dropdown a.active-link {
  background: var(--soft);
  color: var(--brand);
  font-weight: 700;
}

.search-strip {
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.search-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 20px;
}

.search-form {
  display: flex;
  flex: 1;
  max-width: 640px;
  min-width: 0;
}

.search-form input {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-right: 0;
  border-radius: 6px 0 0 6px;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
}

.search-form input:focus {
  outline: 2px solid rgba(24, 92, 74, 0.18);
  outline-offset: -1px;
}

.search-form button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 66px;
  height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 0 6px 6px 0;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
  cursor: pointer;
}

.search-hot {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.search-hot a {
  color: var(--muted);
  text-decoration: none;
}

.search-hot a:hover {
  color: var(--brand);
}

.site-main {
  min-height: 66vh;
}

.home-poster {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto 30px;
  padding-top: 24px;
}

.home-poster img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.page-top {
  padding-top: 22px;
  padding-bottom: 12px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  list-style: none;
  padding: 0;
}

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

.breadcrumb li + li::before {
  content: "›";
  margin-right: 6px;
}

.category-head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 26px;
  align-items: center;
  padding: 22px 24px;
  margin-bottom: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 6px solid var(--brand);
  border-radius: 6px;
}

.category-head h1 {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.25;
}

.category-head p {
  margin: 0;
  color: var(--muted);
}

.category-figure {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 6px;
}

body[data-view="category"] .category-head {
  position: relative;
  isolation: isolate;
  min-height: 226px;
  overflow: hidden;
  padding: 22px 24px;
  background: #ffffff;
  border-color: var(--line);
  border-left: 6px solid var(--brand);
  box-shadow: 0 6px 18px rgba(24, 92, 74, 0.06);
  transition: border-left-color 0.35s ease, box-shadow 0.35s ease;
}

body[data-view="category"] .category-head::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(105deg, transparent 24%, rgba(88, 190, 137, 0.07) 43%, rgba(153, 226, 186, 0.16) 50%, transparent 67%);
  transform: translateX(-125%);
  animation: categoryWhiteSheen 7.2s ease-in-out infinite;
  pointer-events: none;
}

body[data-view="category"] .category-head::after {
  content: "";
  position: absolute;
  left: 6px;
  bottom: 0;
  z-index: 1;
  width: 52%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #42b878 34%, #d8ffe7 52%, #7ed9a7 68%, transparent);
  box-shadow: 0 0 10px rgba(92, 205, 142, 0.38);
  transform: translateX(-112%);
  animation: categoryGreenLine 5.2s ease-in-out infinite;
  pointer-events: none;
}

body[data-view="category"] .category-head > div {
  position: relative;
  z-index: 2;
}

body[data-view="category"] .category-head h1 {
  position: relative;
  z-index: 2;
  margin: 0 0 8px;
  color: #174d3b;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.25;
  text-shadow: none;
}

body[data-view="category"] .category-head p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: #4d7060;
  font-size: 15px;
  line-height: 1.75;
}

body[data-view="category"] .category-figure {
  position: relative;
  z-index: 2;
  height: 210px;
  margin-left: 5px;
  padding-left: 5px;
  border-left: 2px dashed #63bd8b;
  box-shadow: none;
}

body[data-view="category"] .category-head:hover {
  border-left-color: #2f8666;
  box-shadow: 0 10px 26px rgba(24, 92, 74, 0.11);
}

body[data-view="category"] .category-head:hover::before {
  animation-duration: 3.8s;
}

body[data-view="category"] .category-head:hover::after {
  animation-duration: 2.3s;
}

@keyframes categoryWhiteSheen {
  0% {
    transform: translateX(-125%);
  }
  45%,
  100% {
    transform: translateX(125%);
  }
}

@keyframes categoryGreenLine {
  0%,
  12% {
    transform: translateX(-112%);
    opacity: 0;
  }
  28% {
    opacity: 1;
  }
  72% {
    opacity: 1;
  }
  100% {
    transform: translateX(210%);
    opacity: 0;
  }
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 26px;
  align-items: start;
}

.main-col {
  min-width: 0;
}

.side-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--ink);
}

.section-head h2 {
  margin: 0;
  font-size: 21px;
  line-height: 1.3;
}

.section-head .more {
  font-size: 13px;
  text-decoration: none;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

.product-card:hover {
  border-color: var(--brand);
}

.product-thumb {
  position: relative;
}

.product-thumb img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: #e9eeeb;
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 2px 8px;
  background: var(--danger);
  color: #fff;
  font-size: 12px;
  border-radius: 3px;
}

.product-body {
  padding: 14px 16px 16px;
}

.product-body h3 {
  margin: 0 4px 6px;
  font-size: 17px;
  line-height: 1.4;
  text-align: center;
}

.product-body p {
  margin: 0 4px 10px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.product-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.price {
  color: var(--danger);
  font-size: 20px;
  font-weight: 800;
}

.price small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}

.unit {
  color: var(--muted);
  font-size: 12px;
}

.product-meta {
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 2px 0 2px 36px;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  margin-left: -6px;
}

.price-label {
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}

.product-price .price {
  color: #1d9a5f;
  font-size: 23px;
}

.product-meta .save-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1px 7px;
  background: #d4342d;
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.product-meta .heart-zone {
  margin-left: 2px;
}

.heart-zone {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-right: 2px;
  color: #9aa49f;
  cursor: pointer;
  user-select: none;
}

.heart-zone svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
}

.heart-zone.liked {
  color: #d4342d;
}

.heart-zone.liked svg {
  fill: #d4342d;
}

.heart-count {
  font-size: 12px;
  min-width: 10px;
}

.side-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px;
}

.side-panel h3 {
  margin: 0 0 12px;
  padding-bottom: 9px;
  font-size: 16px;
  border-bottom: 1px solid var(--line);
}

.side-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.side-panel li + li {
  border-top: 1px dashed var(--line);
}

.side-panel a {
  display: flex;
  gap: 8px;
  align-items: baseline;
  padding: 8px 0;
  color: var(--ink);
  font-size: 13px;
  text-decoration: none;
}

.side-panel a:hover {
  color: var(--brand);
}

.popular-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.popular-tag-list .popular-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 12px;
  border: 1px solid #bfd8ca;
  border-radius: 5px;
  background: #e4efe9;
  color: #2d6b4f;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.popular-tag-list .popular-tag:hover {
  background: #d7e9df;
  color: var(--brand);
}

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

.side-hot-list .side-hot-product {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px dashed var(--line);
}

.side-hot-product:last-child {
  border-bottom: 0;
}

.side-hot-product img {
  width: 72px;
  height: 54px;
  flex: 0 0 72px;
  object-fit: cover;
  border-radius: 4px;
}

.side-hot-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  text-align: left;
}

.side-hot-copy strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.side-hot-copy em {
  margin-top: 3px;
  color: var(--danger);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.guide-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 26px;
}

.guide-card {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
}

.guide-card img {
  width: 112px;
  height: 84px;
  flex: 0 0 112px;
  object-fit: cover;
  border-radius: 4px;
}

.guide-copy h3 {
  margin: 0 0 5px;
  font-size: 15px;
  line-height: 1.35;
}

.guide-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.home-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 26px;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.plain-head h2 {
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1.3;
}

.advantage-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 168px;
  padding: 24px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(25, 55, 44, 0.06);
  text-align: center;
}

.advantage-card svg {
  width: 34px;
  height: 34px;
  color: var(--brand);
}

.advantage-card h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
}

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

.hot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 30px;
}

.hot-card {
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.hot-thumb {
  position: relative;
  margin: 10px 10px 0;
}

.hot-thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
}

.hot-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 11px;
  background: #d4342d;
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.hot-card-body {
  padding: 13px 14px 15px;
}

.hot-card-body h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 44px;
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
}

.price-box {
  position: relative;
  padding: 13px 12px 9px;
  background: #eef7f1;
  border: 1px dashed #49a06a;
  border-radius: 8px;
}

.price-box-label {
  position: absolute;
  top: -9px;
  left: 10px;
  padding: 1px 8px;
  background: #dcefe3;
  border: 1px solid #9cc9ac;
  border-radius: 4px;
  color: #1b7a4c;
  font-size: 11px;
  line-height: 16px;
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-height: 24px;
  font-size: 12px;
}

.price-line.muted {
  color: var(--muted);
}

.price-line del {
  color: #87928c;
}

.price-line.main {
  color: #176b52;
}

.price-line.main strong {
  color: #1d9a5f;
  font-size: 21px;
  font-weight: 800;
}

.price-line .save-badge {
  margin-left: auto;
  padding: 2px 7px;
  background: #d4342d;
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.price-box small {
  display: block;
  margin-top: 3px;
  color: #7d8a83;
  font-size: 11px;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.hot-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.hot-btn.ghost {
  border: 1px solid #2d9a63;
  background: #fff;
  color: #1f8a57;
}

.hot-btn.solid {
  border: 1px solid #2d9a63;
  background: #2d9a63;
  color: #fff;
}

.hot-btn:hover {
  filter: brightness(0.97);
}

.news-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
  margin-bottom: 28px;
}

.news-column {
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.news-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--ink);
}

.news-head h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
}

.news-head a {
  font-size: 12px;
  white-space: nowrap;
  text-decoration: none;
}

.news-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.news-photo {
  position: relative;
  display: block;
  height: 108px;
  overflow: hidden;
  border-radius: 6px;
  background: #e6ece8;
}

.news-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-photo span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 26px 10px 7px;
  background: linear-gradient(180deg, rgba(20, 42, 34, 0), rgba(20, 42, 34, 0.86));
  color: #fff;
  font-size: 13px;
  line-height: 1.35;
}

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

.news-list li {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
}

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

.news-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--brand);
}

.news-list a {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-list a:hover {
  color: var(--brand);
}

.home-coop-bg {
  width: 100%;
  margin: 36px 0 0;
  padding: 46px 0 58px;
  background: #f5f5f5;
}

.home-coop-inner {
  width: min(1200px, 100%);
  margin: 0 auto;
  overflow: hidden;
}

.home-coop-bg h3 {
  margin: 0 0 22px;
  font-size: 46px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0;
}

.home-coop-marquee {
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 50px #fff;
}

.home-coop-marquee::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  box-shadow: inset 0 0 20px 18px #f5f5f5;
  pointer-events: none;
}

.coop-track {
  display: flex;
  width: max-content;
  animation: coop-move 30s linear infinite;
}

.home-coop-marquee:hover .coop-track {
  animation-play-state: paused;
}

.coop-slide {
  width: 1216px;
  height: 362px;
  flex: 0 0 1216px;
  margin-right: -85px;
  overflow: hidden;
}

.coop-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.home-coop-swipe {
  display: none;
}

@keyframes coop-move {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.brand-scroll {
  position: relative;
  margin-bottom: 28px;
}

.brand-scroll-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 10px 2px 16px;
  scrollbar-width: thin;
  cursor: grab;
}

.brand-scroll-track.dragging {
  cursor: grabbing;
  user-select: none;
}

.brand-scroll-item {
  flex: 0 0 230px;
  padding: 18px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(25, 55, 44, 0.07);
  text-align: center;
  text-decoration: none;
  color: var(--ink);
}

.brand-scroll-item img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
}

.brand-scroll-item strong {
  display: block;
  font-size: 16px;
}

.brand-scroll-item small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.scroll-btn {
  position: absolute;
  top: 46%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(25, 55, 44, 0.1);
  cursor: pointer;
}

.scroll-btn.prev {
  left: -12px;
}

.scroll-btn.next {
  right: -12px;
}

.circle-scroll-shell {
  position: relative;
  margin-bottom: 10px;
}

.circle-scroll-shell .scroll-btn {
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
}

.circle-scroll-shell .scroll-btn.prev {
  left: -14px;
}

.circle-scroll-shell .scroll-btn.next {
  right: -14px;
}

.circle-scroll {
  display: flex;
  gap: 18px;
  overflow: hidden;
  padding: 8px 2px 14px;
  margin-bottom: 24px;
}

.circle-item {
  display: flex;
  flex: 0 0 104px;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.circle-item img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(25, 55, 44, 0.14);
}

.circle-item span {
  font-size: 13px;
  white-space: nowrap;
}

.circle-item.active span {
  color: #d4352f;
  font-weight: 800;
}

.brand-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
  margin-bottom: 26px;
}

.brand-logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
}

.brand-logo-card:hover {
  border-color: var(--brand);
}

.brand-logo-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 4px;
}

.brand-logo-card h3 {
  margin: 0;
  font-size: 16px;
}

.brand-logo-card em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0.08em;
}

.agent-block {
  padding: 20px;
  margin-bottom: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.agent-layout {
  display: grid;
  grid-template-columns: 340px 1px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.agent-left {
  text-align: center;
}

.agent-left img {
  width: 300px;
  height: 150px;
  margin: 0 auto 12px;
  object-fit: cover;
  border-radius: 4px;
}

.agent-left h3 {
  margin: 0 0 4px;
  font-size: 20px;
}

.agent-left em {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.agent-intro {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  text-align: center;
}

.agent-divider {
  width: 1px;
  min-height: 330px;
  align-self: stretch;
  background: var(--line);
}

.agent-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  height: 40px;
  margin-top: 16px;
  border: 0;
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.agent-btn:hover {
  background: var(--brand-dark);
}

.agent-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.agent-list-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
}

.agent-list-media img {
  width: 100%;
  height: 150px;
  margin: 0 auto 12px;
  object-fit: cover;
  border-radius: 4px;
}

.agent-list-card h3 {
  margin: 0 0 4px;
  font-size: 19px;
}

.agent-list-card em {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.agent-list-intro {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.agent-list-card .agent-btn {
  width: 100%;
  margin-top: auto;
}

.agent-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 0 26px;
}

.agent-pagination button {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  cursor: pointer;
}

.agent-pagination button:hover:not(:disabled) {
  border-color: var(--brand);
  color: var(--brand);
}

.agent-pagination button.active {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
  font-weight: 700;
}

.agent-pagination button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.agent-right h4 {
  margin: 0 0 12px;
  font-size: 17px;
}

.agent-spec-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.agent-spec-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 0;
  font-size: 14px;
  border-bottom: 1px dashed #e3e9e5;
}

.agent-spec-list li:last-child {
  border-bottom: 0;
}

.agent-spec-list span {
  flex: 0 0 124px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.agent-spec-list em {
  color: #33433c;
  font-size: 14px;
  font-style: normal;
}

.agent-detail-section {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.agent-detail-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.agent-detail-head h4 {
  margin: 0;
  font-size: 20px;
}

.agent-detail-head p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.agent-detail-copy {
  margin: 0 0 16px;
  color: #56635d;
  font-size: 14px;
  line-height: 1.9;
}

.agent-detail-html {
  color: #56635d;
  font-size: 14px;
  line-height: 1.9;
}

.agent-detail-html img {
  width: 100%;
  height: auto;
  margin: 12px 0;
  border-radius: 8px;
}

.table-scroll {
  overflow-x: auto;
}

.agent-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background: var(--paper);
}

.agent-table th,
.agent-table td {
  padding: 9px 10px;
  border: 1px solid #dfe7e2;
  text-align: left;
}

.agent-table th {
  background: #eef4f0;
  color: #244238;
  font-weight: 700;
}

.agent-detail-banner {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-top: 18px;
  border-radius: 8px;
}

.cs-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 31, 25, 0.52);
}

.cs-modal.hidden {
  display: none;
}

.cs-modal-card {
  position: relative;
  width: 320px;
  max-width: 100%;
  padding: 30px 22px 24px;
  background: var(--paper);
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(13, 34, 27, 0.22);
  text-align: center;
}

.cs-modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #eef1ef;
  color: #4b5751;
  font-size: 22px;
  cursor: pointer;
}

.cs-modal-card h4 {
  margin: 0 0 14px;
  font-size: 18px;
}

.cs-modal-card img {
  width: 190px;
  height: 190px;
  margin: 0 auto 14px;
}

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

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.spec-list li {
  display: flex;
  gap: 8px;
  align-items: baseline;
  font-size: 13px;
}

.spec-list span {
  flex: 0 0 96px;
  color: var(--muted);
  font-size: 12px;
}

.agent-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.agent-gallery figure {
  margin: 0;
}

.agent-gallery img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 6px;
}

.agent-gallery figcaption {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.category-tile {
  position: relative;
  display: block;
  min-height: 180px;
  overflow: hidden;
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
}

.category-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 34, 28, 0.05) 30%, rgba(17, 34, 28, 0.78) 100%);
}

.category-tile span {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 1;
  font-size: 18px;
  font-weight: 800;
}

.category-tile small {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 400;
}

.home-intro {
  padding: 20px 0 8px;
}

.home-intro h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.3;
}

.home-intro p {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--muted);
}

.two-col-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.article-row {
  display: flex;
  gap: 14px;
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.article-row img {
  width: 170px;
  height: 110px;
  flex: 0 0 170px;
  object-fit: cover;
  border-radius: 4px;
}

.article-row h3 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.4;
}

.article-row p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.article-row .date {
  display: block;
  margin-top: 8px;
  color: #9aa49f;
  font-size: 12px;
}

.seo-article-list {
  margin-bottom: 8px;
}

.article-list-item {
  padding: 20px 2px;
  border-bottom: 1px solid var(--line);
}

.article-list-item:first-child {
  border-top: 1px solid var(--line);
}

.article-list-title {
  display: block;
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.45;
  text-decoration: none;
}

.article-list-title:hover {
  text-decoration: underline;
}

.article-list-summary {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  color: #737f79;
  font-size: 14px;
  line-height: 1.8;
}

.article-list-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
}

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

.article-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 11px;
  border: 1px solid #bfd6c8;
  border-radius: 4px;
  color: #3c7860;
  font-size: 12px;
  text-decoration: none;
}

.article-tag:hover {
  background: var(--soft);
}

.article-top-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: #c0392b;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.article-stats {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #98a29d;
  font-size: 12px;
  white-space: nowrap;
}

.article-like-btn {
  padding: 0;
  border: 0;
  background: transparent;
  color: #98a29d;
  font: inherit;
  cursor: pointer;
}

.article-like-btn:hover,
.article-like-btn.liked {
  color: #c0392b;
}

.load-more-box {
  position: relative;
  margin: 32px 0 10px;
  text-align: center;
}

.load-more-box::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--line);
}

.load-more-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  padding: 0 34px;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(24, 92, 74, 0.18);
  cursor: pointer;
}

.load-more-btn:hover {
  background: var(--brand-dark);
}

.load-more-btn svg {
  width: 18px;
  height: 18px;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(304px, 304px));
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.brand-card {
  display: block;
  width: 304px;
  max-width: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
}

.brand-card:hover {
  border-color: var(--brand);
}

.brand-card img {
  width: 300px;
  height: 150px;
  max-width: 100%;
  object-fit: cover;
}

.brand-card-body {
  padding: 12px 14px;
}

.brand-card-body h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

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

.product-gallery {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  min-width: 0;
}

.gallery-thumb-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gallery-thumb {
  display: block;
  width: 86px;
  height: 86px;
  padding: 0;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  cursor: pointer;
}

.gallery-thumb.active {
  border-color: var(--brand);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-stage {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.gallery-main-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.gallery-prev,
.gallery-next {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  transform: translateY(-50%);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(25, 55, 44, 0.12);
  cursor: pointer;
}

.gallery-prev {
  left: 12px;
}

.gallery-next {
  right: 12px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  margin-bottom: 24px;
}

.detail-gallery-main {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}

.detail-gallery-main img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: 6px;
}

.detail-info h1 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.35;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.tag {
  padding: 2px 9px;
  background: var(--soft);
  color: var(--brand);
  border-radius: 20px;
  font-size: 12px;
}

.detail-price {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}

.detail-price strong {
  color: var(--danger);
  font-size: 30px;
}

.detail-price .product-price {
  margin-left: 0;
}

.detail-price .save-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 16px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2231a;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.pd-tabs {
  display: flex;
  gap: 6px;
  margin: 34px 0 20px;
  border-bottom: 1px solid var(--line);
}

.pd-tab {
  position: relative;
  padding: 11px 22px;
  border: 0;
  background: transparent;
  color: #9aa49f;
  font-size: 17px;
  cursor: pointer;
}

.pd-tab.active {
  color: var(--brand);
  font-weight: 800;
}

.pd-tab.active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10px;
  right: 10px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--brand);
}

.pd-panel {
  padding-bottom: 30px;
}

.pd-detail-copy {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 2;
}

.pd-taobao-detail {
  width: 100%;
  padding: 10px 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.pd-taobao-detail img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.param-list {
  max-width: 720px;
}

.param-row {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--line);
}

.param-row span {
  flex: 0 0 120px;
  color: var(--muted);
  font-size: 14px;
}

.param-row strong {
  color: var(--ink);
  font-size: 15px;
}

.detail-list {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.detail-list li {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}

.detail-list li span {
  flex: 0 0 86px;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid var(--brand);
  border-radius: 5px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.btn-light {
  background: transparent;
  color: var(--brand);
}

.form-panel {
  max-width: 760px;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 13px;
  font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 42px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
  color: var(--ink);
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid rgba(24, 92, 74, 0.2);
  outline-offset: -1px;
}

.form-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

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

.notice {
  padding: 12px 14px;
  margin-bottom: 16px;
  border: 1px solid #cfe2da;
  border-radius: 5px;
  background: #eaf4ef;
  color: var(--brand-dark);
}

.empty-result {
  padding: 50px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  color: var(--muted);
}

.empty-result a {
  display: inline-flex;
  margin-top: 12px;
}

.article-layout {
  max-width: 880px;
  margin: 0 auto;
  padding: 26px 20px 40px;
}

.article-cover {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 6px;
  margin: 0 0 20px;
}

.article-layout h1 {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.35;
}

.article-layout .lede {
  color: var(--muted);
  font-size: 17px;
}

.article-layout h2 {
  margin: 30px 0 10px;
  font-size: 22px;
}

.article-layout p,
.article-layout li {
  font-size: 16px;
}

.article-layout ul,
.article-layout ol {
  padding-left: 24px;
}

.article-detail-page {
  padding-top: 26px;
}

.article-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin: 12px 0 24px;
  padding-bottom: 16px;
  color: var(--muted);
  font-size: 13px;
  border-bottom: 1px solid var(--line);
}

.article-detail-tags {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.article-detail-body p {
  margin: 0 0 16px;
  color: #3c4741;
  font-size: 16px;
  line-height: 1.9;
}

.site-footer {
  margin-top: 42px;
  background: #22312b;
  color: #d6e0da;
}

.footer-top {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 30px;
  padding: 34px 20px;
}

.footer-brand {
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  margin: 0 0 8px;
}

.footer-brand small {
  display: block;
  margin-top: 4px;
  color: #9eb2a8;
  font-size: 12px;
  font-weight: 400;
}

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

.footer-col a {
  display: block;
  margin: 7px 0;
  color: #b8c8c0;
  font-size: 13px;
  text-decoration: none;
}

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

.footer-friend {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 14px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #a8bbb2;
  font-size: 13px;
}

.footer-friend span {
  color: #e0e8e3;
}

.footer-friend a {
  color: #b8c8c0;
  text-decoration: none;
}

.footer-friend a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  padding: 14px 20px;
  color: #93a69d;
  font-size: 12px;
}

.footer-bottom a {
  color: #93a69d;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.mobile-only {
  display: none;
}

@media (max-width: 980px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .agent-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-grid,
  .guide-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-head {
    grid-template-columns: 1fr;
  }

  body[data-view="category"] .category-head {
    min-height: 0;
    padding: 24px;
  }

  body[data-view="category"] .category-head > div {
    min-height: 0;
    padding: 0;
  }

  body[data-view="category"] .category-head h1 {
    font-size: 28px;
  }

  .category-figure {
    height: 180px;
  }

  body[data-view="category"] .category-figure {
    height: 188px;
    margin-top: 5px;
    margin-left: 0;
    padding-top: 5px;
    padding-left: 0;
    border-top: 2px dashed #63bd8b;
    border-left: 0;
  }

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

  .side-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .advantage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-duo {
    grid-template-columns: 1fr;
  }

  .agent-layout {
    grid-template-columns: 1fr;
  }

  .agent-divider {
    width: 100%;
    height: 1px;
    min-height: 0;
  }

  .agent-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .spec-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hot-grid {
    grid-template-columns: 1fr;
  }

  .agent-list-grid {
    grid-template-columns: 1fr;
  }

  .home-coop-bg {
    padding: 34px 0 44px;
  }

  .home-coop-bg h3 {
    font-size: 30px;
  }

  .home-coop-marquee {
    display: none;
  }

  .home-coop-swipe {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 16px 10px;
  }

  .home-coop-swipe .coop-slide {
    width: 92%;
    height: auto;
    aspect-ratio: 16 / 5;
    flex: 0 0 92%;
    margin-right: 0;
    border-radius: 6px;
  }

  .logo-row {
    flex-wrap: wrap;
  }

  .logo-text {
    display: none;
  }

  .logo-mark {
    width: 150px;
    height: 50px;
    overflow: visible;
  }

  .logo-mark .logo-square {
    display: none;
  }

  .logo-mark .logo-wide {
    display: block;
    width: 150px;
    height: 50px;
    object-fit: contain;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    padding: 0;
  }

  .nav-open .nav-list {
    display: flex;
  }

  .nav-item {
    border-bottom: 1px solid var(--line);
  }

  .nav-item > a,
  .nav-item > button {
    width: 100%;
    justify-content: space-between;
  }

  .dropdown {
    position: static;
    display: none;
    min-width: 0;
    padding: 0 16px 8px;
    border: 0;
    box-shadow: none;
    background: #f7faf8;
  }

  .nav-item.open .dropdown {
    display: block;
  }

  .search-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .search-form {
    max-width: none;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .product-thumb img {
    height: 150px;
  }

  .product-body {
    padding: 10px 12px 12px;
  }

  .product-body h3 {
    font-size: 15px;
  }

  .brand-grid,
  .guide-list,
  .two-col-list {
    grid-template-columns: 1fr;
  }

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

  .news-photos {
    grid-template-columns: 1fr;
  }

  .brand-scroll-item {
    flex-basis: 190px;
  }

  .brand-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .spec-list {
    grid-template-columns: 1fr;
  }

  .agent-gallery {
    grid-template-columns: 1fr;
  }

  .agent-detail-grid {
    grid-template-columns: 1fr;
  }

  .agent-detail-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .side-col {
    grid-template-columns: 1fr;
  }

  .detail-layout {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-thumb-list {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .gallery-thumb {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
  }

  .gallery-main-img {
    height: 320px;
  }

  .detail-gallery-main img {
    height: 260px;
  }

  .article-row {
    flex-direction: column;
  }

  .article-list-title {
    font-size: 20px;
  }

  .article-list-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .article-stats {
    width: 100%;
    justify-content: space-between;
  }

  .article-detail-tags {
    margin-left: 0;
  }

  .article-row img {
    width: 100%;
    height: 170px;
  }

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-friend {
    justify-content: flex-start;
    gap: 8px 14px;
    padding: 14px 20px;
  }

  .footer-bottom {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 460px) {
  .top-actions {
    gap: 10px;
  }

  .top-link {
    gap: 6px;
    padding: 6px 10px;
    font-size: 14px;
  }

  .top-link svg {
    width: 18px;
    height: 18px;
  }

  .top-link strong {
    font-size: 17px;
  }

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

  .product-thumb img {
    height: 190px;
  }

  .guide-card img {
    width: 88px;
    flex-basis: 88px;
  }

  body[data-view="category"] .category-head {
    padding: 18px;
    border-left-width: 5px;
  }

  body[data-view="category"] .category-head > div {
    min-height: 0;
    padding: 0;
  }

  body[data-view="category"] .category-head h1 {
    font-size: 24px;
  }

  body[data-view="category"] .category-head p {
    font-size: 14px;
    line-height: 1.75;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-view="category"] .category-head,
  body[data-view="category"] .category-head::before,
  body[data-view="category"] .category-head::after {
    animation: none !important;
  }

  body[data-view="category"] .category-head {
    transition: none !important;
  }

  body[data-view="category"] .category-head::after {
    opacity: 0;
  }
}
