:root {
  --ink: #142033;
  --muted: #667085;
  --soft: #f4efe6;
  --paper: #fffaf1;
  --line: rgba(20, 32, 51, 0.12);
  --gold: #b9843a;
  --copper: #8d5a32;
  --jade: #416e62;
  --deep: #243245;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(36, 50, 69, 0.12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  background:
    radial-gradient(circle at 12% 10%, rgba(185, 132, 58, 0.16), transparent 26rem),
    radial-gradient(circle at 88% 12%, rgba(65, 110, 98, 0.16), transparent 24rem),
    linear-gradient(180deg, #fffaf1 0%, #f6f0e7 55%, #ede5d8 100%);
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 28px;
  align-items: stretch;
  min-height: 420px;
}

.hero__copy,
.hero__panel,
.toolbar,
.overview-card,
.category-map,
.gallery-section {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero__copy {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  padding: clamp(34px, 5vw, 64px);
}

.hero__copy::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -72px;
  bottom: -82px;
  border-radius: 50%;
  border: 1px solid rgba(185, 132, 58, 0.22);
  background: repeating-radial-gradient(circle, rgba(185, 132, 58, 0.12) 0 1px, transparent 1px 18px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p { margin-top: 0; }

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero__lead {
  position: relative;
  z-index: 1;
  max-width: 680px;
  color: var(--deep);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.78;
}

.hero__meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 42px;
}

.hero__meta span,
.filter-btn,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 13px;
  border: 1px solid rgba(185, 132, 58, 0.25);
  border-radius: 999px;
  color: #6e4920;
  background: rgba(255, 248, 235, 0.78);
  font-size: 13px;
  font-weight: 700;
}

.hero__panel {
  display: grid;
  gap: 16px;
  border-radius: 36px;
  padding: 22px;
  background: linear-gradient(145deg, rgba(36, 50, 69, 0.96), rgba(41, 67, 70, 0.94));
  color: var(--white);
}

.panel-card {
  padding: 24px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

.panel-card.is-featured {
  background: linear-gradient(135deg, rgba(185, 132, 58, 0.72), rgba(141, 90, 50, 0.56));
}

.panel-card__num {
  display: block;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.58);
  font-family: Georgia, serif;
  font-size: 34px;
}

.panel-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 24px;
}

.panel-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.toolbar {
  display: grid;
  gap: 18px;
  margin-top: 26px;
  padding: 22px;
  border-radius: 28px;
}

.search-box {
  display: grid;
  gap: 10px;
}

.search-box label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.search-box input {
  width: 100%;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  outline: none;
}

.search-box input:focus {
  border-color: rgba(185, 132, 58, 0.62);
  box-shadow: 0 0 0 4px rgba(185, 132, 58, 0.12);
}

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

.filter-btn {
  cursor: pointer;
  transition: all 0.18s ease;
}

.filter-btn.is-active,
.filter-btn:hover {
  color: #fff;
  background: var(--jade);
  border-color: var(--jade);
}

.overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.overview-card {
  border-radius: 26px;
  padding: 24px;
}

.overview-card span {
  display: block;
  color: var(--copper);
  font-family: Georgia, serif;
  font-size: 44px;
  line-height: 1;
}

.overview-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.category-map,
.gallery-section {
  margin-top: 26px;
  border-radius: 34px;
  padding: clamp(24px, 4vw, 38px);
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.04em;
}

.section-heading--inline {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
}

.result-hint {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

.category-grid article {
  min-height: 132px;
  padding: 18px;
  border: 1px solid rgba(20, 32, 51, 0.1);
  border-radius: 22px;
  background: rgba(255, 250, 241, 0.72);
}

.category-grid strong {
  display: block;
  margin-bottom: 12px;
  font-size: 18px;
}

.category-grid span {
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

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

.product-card {
  overflow: hidden;
  border: 1px solid rgba(20, 32, 51, 0.1);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.84);
}

.product-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  padding: 10px;
  background: linear-gradient(135deg, rgba(185,132,58,.12), rgba(65,110,98,.12));
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 18px;
}

.product-card__body {
  padding: 18px;
}

.product-card__body h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.product-card__body p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag { min-height: 28px; padding: 5px 10px; font-size: 12px; }

.empty-state {
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: 36px 18px;
  text-align: center;
  border: 1px dashed rgba(185, 132, 58, 0.42);
  border-radius: 28px;
  background: rgba(255, 250, 241, 0.7);
}

.empty-state__icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--gold);
  background: rgba(185, 132, 58, 0.13);
  font-size: 42px;
  line-height: 1;
}

.empty-state h3 { margin-bottom: 10px; font-size: 24px; }
.empty-state p { max-width: 680px; color: var(--muted); line-height: 1.8; }
code { color: var(--jade); font-weight: 800; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .overview, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .page-shell { width: min(100% - 22px, 1180px); padding-top: 18px; }
  .hero__copy, .hero__panel, .toolbar, .category-map, .gallery-section { border-radius: 24px; }
  .overview, .gallery-grid, .category-grid { grid-template-columns: 1fr; }
  .section-heading--inline { display: block; }
  h1 { font-size: 42px; }
}
