:root {
  --bg: #f6f7f5;
  --card: #ffffff;
  --line: #e5e7eb;
  --text: #1f2937;
  --soft: #6b7280;
  --primary: #8f5c2b;
  --primary-soft: #f6ede2;
  --accent: #2f6b57;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font: 14px/1.6 Arial, "Microsoft YaHei", sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.site-shell { min-height: 100vh; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 20px; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.topbar__brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.topbar__badge { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: var(--primary); color: #fff; font-weight: 700; }
.topbar__title { font-size: 16px; font-weight: 700; }
.topbar__sub { color: var(--soft); font-size: 12px; }
.topbar__nav { display: flex; flex-wrap: wrap; gap: 8px; }
.topbar__nav a { padding: 8px 12px; border-radius: 999px; background: #f3f4f6; color: #374151; }
.page-main { width: min(1280px, calc(100% - 32px)); margin: 0 auto; padding: 20px 0 40px; }
.hero-panel, .page-section, .detail-card, .form-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.hero-panel { display: flex; justify-content: space-between; align-items: end; gap: 20px; padding: 28px; background: linear-gradient(135deg, #fff 0%, #f8f4ee 100%); }
.hero-panel--compact { align-items: center; }
.hero-panel__copy h1 { margin: 10px 0 0; font-size: 30px; line-height: 1.2; }
.hero-panel__copy p { margin: 14px 0 0; max-width: 720px; color: var(--soft); }
.hero-panel__actions { display: flex; gap: 10px; flex-shrink: 0; }
.hero-panel__actions--wrap { flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 18px; border-radius: 12px; border: 1px solid transparent; cursor: pointer; }
.btn--primary { background: var(--primary); color: #fff; }
.btn--ghost { background: #fff; border-color: var(--line); color: var(--text); }
.page-section { margin-top: 18px; padding: 22px; }
.page-section--split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.page-section--single { padding: 0; background: transparent; border: 0; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-head h2 { margin: 6px 0 0; font-size: 22px; }
.section-kicker { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-size: 12px; font-weight: 700; }
.banner-strip, .nav-grid, .card-grid, .content-list, .product-grid, .map-stage { min-height: 120px; }
.banner-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.banner-card, .nav-card, .content-item, .product-card, .guide-hotspot, .guide-route { border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.banner-card img, .product-card img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.banner-card__body, .content-item__body, .product-card__body { padding: 14px; }
.nav-grid, .card-grid, .product-grid { display: grid; gap: 14px; }
.nav-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.card-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.product-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.nav-card { display: block; padding: 16px; }
.nav-card strong { display: block; font-size: 16px; }
.nav-card span { display: block; margin-top: 8px; color: var(--soft); }
.content-list { display: grid; gap: 12px; }
.content-item { display: grid; grid-template-columns: 96px 1fr; gap: 14px; }
.content-item img { width: 96px; height: 96px; object-fit: cover; }
.content-item__meta { color: var(--soft); font-size: 12px; }
.product-price { color: var(--primary); font-size: 18px; font-weight: 700; }
.map-stage { position: relative; min-height: 420px; overflow: hidden; border-radius: 16px; background: #edf2ef; }
.map-stage img { width: 100%; min-height: 420px; object-fit: cover; }
.map-stage__mask { position: absolute; inset: auto 18px 18px 18px; padding: 16px; border-radius: 14px; background: rgba(17,24,39,.68); color: #fff; }
.detail-card { padding: 22px; }
.detail-card__gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 18px; }
.detail-card__gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.detail-card__meta { display: grid; gap: 8px; color: var(--soft); }
.detail-card__title { margin: 0 0 10px; font-size: 28px; }
.field-label { display: block; margin: 14px 0 8px; font-weight: 700; }
.field-input { width: 100%; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.form-card { padding: 22px; }
.form-actions { display: flex; gap: 10px; margin-top: 18px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stack-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; }
.cart-item, .order-item, .address-item { display: grid; grid-template-columns: 1fr auto; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.cart-item__main, .order-item__main { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: start; }
.cart-item__main img, .order-item__main img { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; }
.address-item { grid-template-columns: 1fr auto; }
.field-textarea { width: 100%; min-height: 120px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; resize: vertical; font: inherit; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.rich-html { margin-top: 14px; color: var(--text); line-height: 1.8; }
.rich-html img { max-width: 100%; height: auto; display: block; margin: 12px 0; border-radius: 12px; }
.skeleton-block { position: relative; overflow: hidden; background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 37%, #f3f4f6 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; border-radius: 14px; }
.skeleton-block.is-ready { animation: none; background: transparent; }
.empty-tip { padding: 20px; border: 1px dashed var(--line); border-radius: 14px; color: var(--soft); text-align: center; }
.status-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: #eef6f2; color: var(--accent); font-size: 12px; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
@media (max-width: 900px) {
  .topbar { flex-direction: column; align-items: stretch; }
  .page-section--split, .hero-panel { grid-template-columns: 1fr; display: grid; }
  .hero-panel__actions { flex-wrap: wrap; }
  .content-item { grid-template-columns: 1fr; }
  .content-item img { width: 100%; height: 180px; }
  .cart-item, .order-item, .address-item { grid-template-columns: 1fr; }
  .cart-item__main, .order-item__main { grid-template-columns: 1fr; }
  .cart-item__main img, .order-item__main img { width: 100%; height: 180px; }
}
