/* 暖石 + 胡桃 — 与青绿圆角、墨黑细线区分 */
html { box-sizing: border-box; scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: inherit; }
body { margin: 0; }

.at-body,
.at-site {
  --wood: #5c3d2e;
  --wood-deep: #3f2a1f;
  --copper: #c17a4a;
  --sand: #efe6da;
  --ivory: #f7f3ee;
  --ink: #2a2420;
  --muted: #7a6f66;
  --line: #e0d5c8;
  --white: #fff;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

.at-body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
}
.at-body a { color: inherit; text-decoration: none; }
.at-body img { max-width: 100%; display: block; }

.at-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.at-bar {
  background: var(--sand);
  color: var(--muted);
  font-size: 12px;
}
.at-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  gap: 16px;
}
.at-bar-links { display: flex; gap: 16px; }
.at-bar-links a:hover { color: var(--wood); }

.at-head {
  position: sticky;
  top: 0;
  z-index: 1200;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.at-head-row {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 72px;
}
.at-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--wood) !important;
  flex: 0 0 auto;
}
.at-logo img { height: 38px; width: auto; }
.at-logo span { font-size: 16px; font-weight: 700; }

.at-nav { flex: 1; }
.at-nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 4px;
}
.at-nav li { position: relative; }
.at-nav > ul > li > a {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 12px;
  font-size: 14px;
  color: var(--ink) !important;
}
.at-nav > ul > li > a:hover { color: var(--copper) !important; }

.at-drop {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 140px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(42, 36, 32, 0.08);
  z-index: 20;
}
.at-nav li:hover > .at-drop { display: block; }
.at-drop a {
  display: block;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--ink) !important;
}
.at-drop a:hover { background: var(--sand); color: var(--wood) !important; }

.at-search {
  display: flex;
  align-items: center;
  width: 220px;
  height: 38px;
  padding: 0 4px 0 12px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.at-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  outline: none;
  font: 13px/1 var(--sans);
  color: var(--ink);
  -webkit-appearance: none;
  appearance: none;
}
.at-search button {
  width: 32px;
  height: 30px;
  border: 0;
  background: none;
  color: var(--wood);
  cursor: pointer;
}

.at-cart {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  background: var(--wood);
  color: #fff !important;
  border-radius: 8px;
  font-size: 13px;
}
.at-cart:hover { background: var(--copper); color: #fff !important; }

.at-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
}
.at-toggle span,
.at-toggle span:before,
.at-toggle span:after {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 0 auto;
  background: var(--wood);
}
.at-toggle span { position: relative; }
.at-toggle span:before,
.at-toggle span:after { content: ""; position: absolute; left: 0; }
.at-toggle span:before { top: -5px; }
.at-toggle span:after { top: 5px; }

.at-hero { background: var(--wood-deep); }
.at-hero-track { position: relative; line-height: 0; }
.at-hero-slide { position: absolute; inset: 0; }
.at-hero-slide:first-child { position: relative; }
.at-hero-slide:nth-child(2) {
  z-index: 2;
  opacity: 0;
  animation: atHero 12s infinite;
}
.at-hero-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 1905 / 560;
  object-fit: cover;
}
@keyframes atHero {
  0%, 42% { opacity: 0; }
  50%, 92% { opacity: 1; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .at-hero-slide:nth-child(2) { animation: none; opacity: 0; }
}

.at-hero-cap { background: var(--wood); color: #fff; }
.at-hero-cap .at-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 108px;
  padding-top: 22px;
  padding-bottom: 22px;
}
.at-hero-cap span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.55);
}
.at-hero-cap h1 {
  margin: 6px 0 0;
  font-size: 26px;
  font-weight: 600;
  color: #fff;
}
.at-hero-btns { display: flex; gap: 10px; flex-shrink: 0; }
.at-hero-btns a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  height: 40px;
  padding: 0 16px;
  background: var(--copper);
  color: #fff !important;
  border-radius: 8px;
  font-size: 13px;
}
.at-hero-btns a:hover { background: #d08a58; }
.at-hero-btns a.is-line {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.at-hero-btns a.is-line:hover { background: #fff; color: var(--wood) !important; }

.at-sec { padding: 48px 0; }
.at-sec.is-slim { padding: 18px 0; }

.at-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.at-title span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--copper);
}
.at-title h2 { margin: 4px 0 0; font-size: 28px; font-weight: 600; }
.at-more {
  font-size: 13px;
  color: var(--wood) !important;
  border-bottom: 1px solid var(--wood);
  padding-bottom: 2px;
}
.at-more.is-light { color: #fff !important; border-color: rgba(255, 255, 255, 0.5); }

.at-trust {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 14px 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.at-trust i { margin-right: 8px; color: var(--copper); }

.at-entries { display: flex; flex-direction: column; }
.at-entries a {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  color: var(--ink) !important;
}
.at-entries a:last-child { border-bottom: 1px solid var(--line); }
.at-entries a:hover { color: var(--wood) !important; }
.at-entries em { font-style: normal; font-size: 13px; color: var(--copper); letter-spacing: 0.12em; }
.at-entries h3 { margin: 0 0 4px; font-size: 20px; }
.at-entries p { margin: 0; font-size: 13px; color: var(--muted); }
.at-entries span { font-size: 12px; letter-spacing: 0.16em; color: var(--copper); }

.at-street {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  background: var(--sand);
  border-radius: 12px;
  color: var(--ink) !important;
}
.at-street span { display: block; font-size: 12px; color: var(--copper); letter-spacing: 0.18em; }
.at-street strong { display: block; margin-top: 4px; font-size: 16px; font-weight: 600; }
.at-street em {
  font-style: normal;
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 16px;
  background: var(--wood);
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
}

.at-hot {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.at-card.is-wide { grid-row: 1 / span 2; }

.at-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.at-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.at-card-pic {
  display: block;
  background: #faf7f2;
  aspect-ratio: 1 / 1;
}
.at-card.is-wide .at-card-pic { aspect-ratio: 1 / 1.05; }
.at-card-pic img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
}
.at-card-body { padding: 12px 14px 14px; }
.at-card-body > a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 40px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink) !important;
}
.at-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
}
.at-card-foot b { color: var(--copper); font-size: 18px; }
.at-card-foot small { font-size: 12px; }
.at-card-foot a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 30px;
  padding: 0 10px;
  background: var(--wood);
  color: #fff !important;
  border-radius: 8px;
  font-size: 12px;
}
.at-card-foot a:hover { background: var(--copper); }

.at-boards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.at-boards a {
  display: block;
  min-height: 140px;
  padding: 28px;
  border-radius: 12px;
  color: #fff !important;
  background: var(--wood);
}
.at-boards a:last-child { background: var(--copper); }
.at-boards span { font-size: 11px; letter-spacing: 0.2em; opacity: 0.7; }
.at-boards h3 { margin: 8px 0 6px; font-size: 24px; }
.at-boards p { margin: 0; font-size: 13px; opacity: 0.8; }

.at-ribbon {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  padding: 16px 20px;
  background: var(--wood);
  color: #fff;
  border-radius: 12px;
}
.at-ribbon span { font-size: 12px; letter-spacing: 0.18em; color: rgba(255, 255, 255, 0.5); }
.at-ribbon h2 { margin: 0; font-size: 22px; color: #fff; }
.at-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-left: auto; }
.at-tags a { color: rgba(255, 255, 255, 0.75) !important; font-size: 13px; }
.at-tags a:hover { color: #fff !important; }

.at-cta {
  background: var(--sand);
  text-align: center;
  padding: 64px 0;
}
.at-cta h2 { margin: 0 0 8px; font-size: 28px; }
.at-cta p { margin: 0 0 20px; color: var(--muted); }
.at-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  height: 42px;
  background: var(--wood);
  color: #fff !important;
  border-radius: 8px;
}
.at-cta a:hover { background: var(--copper); }

.at-empty {
  padding: 48px 16px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 12px;
}

.at-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--wood);
  color: #fff !important;
  border-radius: 8px;
}
.at-top:hover { background: var(--copper); }

.at-foot {
  background: var(--wood-deep);
  color: rgba(255, 255, 255, 0.62);
  padding: 40px 0 24px;
  font-family: var(--sans);
}
.at-foot a { color: rgba(255, 255, 255, 0.78); text-decoration: none; }
.at-foot a:hover { color: #fff; }
.at-foot ul, .at-foot li { margin: 0; padding: 0; list-style: none; }
.at-foot-row {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.8fr 0.8fr;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.at-foot h5 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.14em;
}
.at-foot-brand b { display: block; margin-bottom: 10px; color: #fff; font-size: 18px; }
.at-foot p { margin: 0 0 10px; line-height: 1.8; font-size: 13px; }
.at-foot-brand a {
  display: inline-block;
  margin: 6px 0 12px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}
.at-foot li { margin-bottom: 9px; font-size: 13px; }
.at-copy { padding-top: 16px; font-size: 12px; color: rgba(255, 255, 255, 0.4); }
.at-copy p { margin: 0; }
.at-copy a { color: rgba(255, 255, 255, 0.55); }

@media (max-width: 1199px) {
  .at-hot { grid-template-columns: 1fr 1fr; }
  .at-card.is-wide { grid-row: auto; }
  .at-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
  .at-head-row { flex-wrap: wrap; }
  .at-search { order: 5; width: 100%; }
  .at-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .at-nav { display: none; order: 6; flex: 1 1 100%; }
  .at-nav.is-open { display: block; }
  .at-nav ul { justify-content: flex-start; flex-direction: column; padding-bottom: 12px; }
  .at-drop { position: static; display: none; border: 0; box-shadow: none; background: var(--ivory); }
  .at-nav li:hover > .at-drop { display: block; }
  .at-hero-cap .at-wrap { flex-direction: column; align-items: flex-start; }
  .at-hero-cap h1 { font-size: 22px; }
  .at-grid, .at-boards, .at-foot-row { grid-template-columns: 1fr 1fr; }
  .at-trust { flex-wrap: wrap; }
  .at-ribbon { flex-wrap: wrap; }
  .at-tags { margin-left: 0; }
}

@media (max-width: 575px) {
  .at-bar span { display: none; }
  .at-logo span { display: none; }
  .at-cart { font-size: 0; padding: 0 10px; }
  .at-cart i { font-size: 18px; }
  .at-hot, .at-grid, .at-boards, .at-foot-row { grid-template-columns: 1fr; }
  .at-entries a { grid-template-columns: 40px 1fr auto; }
  .at-street { flex-wrap: wrap; }
}
