/* 商城页 / 法律与说明页 / 404 / 站内搜索 样式（page-misc.css） */

.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.shop-card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; overflow: hidden; display: flex; flex-direction: column; }
.shop-card img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; background: var(--bg-soft); }
.shop-card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.shop-card h3 { font-size: .98rem; margin: 0; }
.shop-card .shop-cat { font-size: .78rem; color: var(--brand); font-weight: 600; }
.shop-card p { margin: 0; font-size: .88rem; color: var(--muted); flex: 1; }

.notice { border: 1px solid var(--line); border-left: 3px solid var(--brand); background: #fff; border-radius: var(--radius); padding: 20px 22px; }
.notice h2 { margin-top: 0; font-size: 1.15rem; }

.search-box { display: flex; gap: 10px; flex-wrap: wrap; }
.search-box input { flex: 1 1 280px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; }
.search-results { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.search-results li { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; background: #fff; }
.search-results a { font-weight: 600; }
.search-results p { margin: .3em 0 0; color: var(--muted); font-size: .88rem; }
.search-hint { color: var(--muted); font-size: .9rem; }

.error-code { font-family: var(--font-en); font-size: clamp(3.4rem, 9vw, 6rem); color: var(--brand); line-height: 1; margin: 0 0 .2em; }
.error-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
