:root {
  --accent: #e93323;
  --accent-hover: #cf281a;
  --accent-soft: #fff2f0;
  --ink: #282828;
  --muted: #8b8f97;
  --line: #eceef2;
  --canvas: #f5f6f8;
  --surface: #ffffff;
  --success: #16a36a;
  --warning: #d98a13;
  --radius: 8px;
  --shadow: 0 8px 26px rgba(25, 31, 42, .06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.container { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }
.muted { color: var(--muted); }
.price { color: var(--accent); font-weight: 700; }
.empty { padding: 72px 20px; text-align: center; color: var(--muted); }
.alert { margin-bottom: 16px; padding: 12px 14px; border: 1px solid #ffd5cf; border-radius: 6px; color: #b42318; background: #fff4f2; }

.topbar { height: 36px; color: #737780; background: #f7f7f8; border-bottom: 1px solid var(--line); }
.topbar-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar-links { display: flex; align-items: center; gap: 20px; white-space: nowrap; }
.topbar a:hover, .main-nav a:hover { color: var(--accent); }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-main { min-height: 90px; display: grid; grid-template-columns: 220px 1fr auto; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { width: 142px; height: 50px; object-fit: contain; object-position: left center; }
.brand-fallback { color: var(--accent); font-size: 24px; font-weight: 800; }
.search-form { display: flex; height: 42px; border: 2px solid var(--accent); border-radius: 5px; overflow: hidden; }
.search-form input { width: 100%; min-width: 0; border: 0; padding: 0 16px; outline: 0; background: #fff; }
.search-form button { width: 90px; border: 0; color: #fff; background: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-action { min-width: 74px; padding: 8px 10px; text-align: center; color: #555b65; }
.header-action strong { display: block; color: var(--ink); font-size: 13px; }
.cart-badge { display: inline-flex; min-width: 18px; height: 18px; align-items: center; justify-content: center; margin-left: 4px; padding: 0 5px; border-radius: 9px; color: #fff; background: var(--accent); font-size: 11px; }
.nav-strip { background: #fff; border-top: 1px solid #f3f3f4; }
.main-nav { height: 48px; display: flex; align-items: center; gap: 42px; font-weight: 600; }
.main-nav .all-category { width: 220px; height: 48px; display: flex; align-items: center; padding: 0 18px; color: #fff; background: var(--accent); }

.page-main { padding: 22px 0 54px; min-height: 560px; }
.breadcrumb { margin-bottom: 14px; color: #838892; font-size: 13px; }
.breadcrumb a:hover { color: var(--accent); }
.section { margin-top: 24px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 14px; }
.section-title { margin: 0; font-size: 24px; line-height: 1.25; }
.section-subtitle { margin: 5px 0 0; color: var(--muted); }
.section-more { color: var(--muted); }
.section-more:hover { color: var(--accent); }

.hero-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr) 248px; gap: 14px; min-height: 390px; }
.category-panel, .member-panel, .hero-banner { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.category-panel { padding: 10px 0; }
.category-item { height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; border-left: 3px solid transparent; }
.category-item:hover { color: var(--accent); background: var(--accent-soft); border-left-color: var(--accent); }
.category-count { color: #a4a8af; font-size: 12px; }
.hero-banner { position: relative; min-width: 0; background: #20242d; }
.hero-slide { display: none; height: 390px; position: relative; }
.hero-slide.is-active { display: block; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-copy { position: absolute; inset: auto 0 0 0; padding: 46px 32px 28px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.82)); }
.hero-copy h2 { max-width: 620px; margin: 0 0 9px; font-size: 28px; line-height: 1.35; }
.hero-copy p { max-width: 600px; margin: 0; opacity: .86; line-height: 1.7; }
.hero-dots { position: absolute; right: 22px; bottom: 20px; display: flex; gap: 7px; z-index: 2; }
.hero-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.48); }
.hero-dot.is-active { width: 22px; border-radius: 4px; background: #fff; }
.member-panel { padding: 25px 20px; }
.member-avatar { width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto 12px; border-radius: 50%; color: var(--accent); background: var(--accent-soft); font-size: 24px; font-weight: 800; }
.member-greeting { text-align: center; font-weight: 700; }
.member-copy { min-height: 40px; margin: 8px 0 18px; text-align: center; color: var(--muted); line-height: 1.6; }
.member-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.member-shortcuts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 24px; background: var(--line); border: 1px solid var(--line); }
.member-shortcuts a { min-height: 64px; display: grid; place-items: center; padding: 8px; background: #fff; color: #626771; }
.member-shortcuts a:hover { color: var(--accent); }

.btn { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 18px; border: 1px solid transparent; border-radius: 5px; font-weight: 600; transition: background .16s ease, color .16s ease, border .16s ease; }
.btn-primary { color: #fff; background: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline { color: var(--accent); background: #fff; border-color: var(--accent); }
.btn-outline:hover { background: var(--accent-soft); }
.btn-neutral { color: #555b65; background: #fff; border-color: #dfe2e7; }
.btn-neutral:hover { border-color: #b7bbc3; }
.btn-danger { color: #b42318; background: #fff; border-color: #ffd0ca; }
.btn-block { width: 100%; }

.product-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.product-card { min-width: 0; background: #fff; border: 1px solid transparent; border-radius: var(--radius); overflow: hidden; box-shadow: 0 5px 18px rgba(25,31,42,.04); transition: transform .18s ease, border .18s ease, box-shadow .18s ease; }
.product-card:hover { transform: translateY(-3px); border-color: #ffd1cc; box-shadow: 0 12px 28px rgba(25,31,42,.09); }
.product-image { aspect-ratio: 1 / 1; overflow: hidden; background: #f2f3f5; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.product-card:hover .product-image img { transform: scale(1.025); }
.product-body { padding: 13px 13px 15px; }
.product-name { height: 42px; margin: 0; overflow: hidden; font-size: 14px; line-height: 21px; font-weight: 600; }
.product-info { height: 36px; margin: 7px 0 10px; overflow: hidden; color: var(--muted); font-size: 12px; line-height: 18px; }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.product-price { color: var(--accent); font-size: 18px; font-weight: 800; }
.product-sales { color: #a0a4ab; font-size: 12px; }

.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 18px; margin-bottom: 18px; background: #fff; border-radius: var(--radius); }
.filter-bar a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 4px; color: #626771; }
.filter-bar a.is-active, .filter-bar a:hover { color: #fff; border-color: var(--accent); background: var(--accent); }
.list-toolbar { display: flex; justify-content: space-between; align-items: center; margin: 12px 0 18px; }
.list-sort { display: flex; gap: 16px; }
.list-sort a.is-active { color: var(--accent); font-weight: 700; }

.detail-shell { display: grid; grid-template-columns: 520px minmax(0, 1fr); gap: 40px; padding: 28px; background: #fff; border-radius: var(--radius); }
.detail-gallery-main { aspect-ratio: 1 / 1; overflow: hidden; background: #f3f4f6; border-radius: 6px; }
.detail-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.detail-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.detail-thumb { width: 66px; height: 66px; flex: 0 0 auto; padding: 0; border: 2px solid transparent; border-radius: 4px; overflow: hidden; background: #fff; }
.detail-thumb.is-active { border-color: var(--accent); }
.detail-thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-title { margin: 0; font-size: 24px; line-height: 1.45; }
.detail-summary { margin: 10px 0 18px; color: #777c85; line-height: 1.7; }
.detail-price-box { padding: 18px; background: linear-gradient(90deg, #fff3f1, #fff9f8); }
.detail-price-row { display: flex; align-items: baseline; gap: 14px; }
.detail-price { color: var(--accent); font-size: 32px; font-weight: 800; }
.detail-original { color: #a5a8ae; text-decoration: line-through; }
.detail-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 18px 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.detail-facts strong { display: block; margin-top: 5px; }
.quantity-row { display: flex; align-items: center; gap: 12px; margin: 20px 0; }
.quantity { width: 118px; display: grid; grid-template-columns: 34px 1fr 34px; height: 38px; border: 1px solid #dfe2e7; border-radius: 4px; overflow: hidden; }
.quantity button, .quantity input { min-width: 0; border: 0; text-align: center; background: #fff; }
.quantity button { background: #f6f7f8; }
.detail-actions { display: flex; gap: 12px; }
.detail-actions .btn { min-width: 150px; height: 48px; }
.detail-content { margin-top: 22px; padding: 28px; background: #fff; border-radius: var(--radius); }
.detail-content h2 { margin: 0 0 20px; font-size: 20px; }
.richtext { line-height: 1.8; overflow: hidden; }
.richtext img { margin: 0 auto; }

.auth-page { min-height: calc(100vh - 150px); display: grid; place-items: center; padding: 44px 16px; background: #edf5ff; }
.auth-shell { width: min(1040px, 100%); min-height: 600px; display: grid; grid-template-columns: .88fr 1.12fr; overflow: hidden; background: #fff; border-radius: 8px; box-shadow: 0 22px 60px rgba(48,85,130,.16); }
.auth-form { padding: 60px 64px; }
.auth-form h1 { margin: 40px 0 8px; font-size: 28px; }
.auth-form > p { margin: 0 0 30px; color: var(--muted); }
.auth-aside { position: relative; display: flex; align-items: center; justify-content: center; padding: 70px; color: #24334a; background: linear-gradient(145deg, #e5f1ff, #f4f8ff); overflow: hidden; }
.auth-aside::before { content: ""; position: absolute; width: 380px; height: 380px; border: 80px solid rgba(255,255,255,.62); border-radius: 50%; }
.auth-visual { position: relative; width: 100%; padding: 30px; background: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.9); border-radius: 8px; box-shadow: 0 20px 45px rgba(76,111,155,.15); }
.auth-visual h2 { margin: 0 0 12px; font-size: 26px; }
.auth-visual p { margin: 0; line-height: 1.8; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 8px; color: #555a63; font-weight: 600; }
.input, .textarea, .select { width: 100%; border: 1px solid #dfe2e7; border-radius: 5px; outline: 0; background: #fff; }
.input, .select { height: 44px; padding: 0 13px; }
.textarea { min-height: 92px; padding: 12px 13px; resize: vertical; }
.input:focus, .textarea:focus, .select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(233,51,35,.08); }
.challenge-row { display: grid; grid-template-columns: 124px 1fr; gap: 10px; align-items: center; }
.challenge-question { height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 5px; background: #f7f8f9; font-weight: 700; }
.auth-switch { margin-top: 22px; text-align: center; color: var(--muted); }
.auth-switch a { color: var(--accent); }

.account-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 18px; }
.account-nav, .panel { background: #fff; border-radius: var(--radius); box-shadow: 0 4px 16px rgba(25,31,42,.035); }
.account-nav { padding: 14px; align-self: start; }
.account-user { padding: 18px 10px; border-bottom: 1px solid var(--line); }
.account-user strong { display: block; margin-bottom: 5px; }
.account-nav a, .account-nav button { width: 100%; min-height: 42px; display: flex; align-items: center; padding: 0 12px; border: 0; color: #5e636c; background: transparent; text-align: left; }
.account-nav a:hover, .account-nav a.is-active, .account-nav button:hover { color: var(--accent); background: var(--accent-soft); }
.panel { padding: 22px; }
.panel + .panel { margin-top: 18px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.panel-head h1, .panel-head h2 { margin: 0; font-size: 22px; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat-item { padding: 18px; background: #f7f8fa; border-radius: 6px; }
.stat-item strong { display: block; margin-top: 7px; font-size: 24px; }

.cart-table, .order-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td, .order-table th, .order-table td { padding: 14px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.cart-table th, .order-table th { color: #737780; background: #fafafa; font-weight: 600; }
.cart-quantity-form { display: inline-flex; align-items: center; gap: 6px; }
.cart-quantity-form input { width: 58px; height: 34px; border: 1px solid var(--line); border-radius: 4px; padding: 0 6px; text-align: center; }
.cart-quantity-form button { height: 34px; border: 1px solid var(--line); border-radius: 4px; padding: 0 10px; background: #fff; color: var(--ink); cursor: pointer; }
.cart-quantity-form button:hover { border-color: var(--red); color: var(--red); }
.cart-mobile-item { display: grid; grid-template-columns: 20px 76px minmax(0, 1fr); align-items: start; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.cart-mobile-item > a img { width: 76px; height: 76px; object-fit: cover; border-radius: 4px; }
.cart-mobile-copy { min-width: 0; display: grid; gap: 8px; }
.cart-mobile-copy strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-mobile-tools { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.cart-product { min-width: 260px; display: flex; align-items: center; gap: 12px; }
.cart-product img, .order-product img { width: 62px; height: 62px; flex: 0 0 auto; border-radius: 5px; object-fit: cover; background: #f3f4f6; }
.cart-actions { display: flex; justify-content: flex-end; align-items: center; gap: 18px; margin-top: 18px; }
.inline-form { display: inline-flex; align-items: center; gap: 8px; }
.inline-form .input { width: 72px; }
.link-button { padding: 0; border: 0; color: var(--accent); background: transparent; }

.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.address-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.address-option { position: relative; display: block; padding: 16px; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; }
.address-option:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.address-option input { position: absolute; right: 14px; top: 14px; accent-color: var(--accent); }
.address-option strong { display: block; margin-bottom: 8px; }
.checkout-item, .order-product { display: flex; align-items: center; gap: 14px; }
.checkout-item + .checkout-item { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.checkout-item img { width: 76px; height: 76px; border-radius: 5px; object-fit: cover; }
.checkout-summary { position: sticky; top: 16px; }
.summary-row { display: flex; justify-content: space-between; gap: 18px; margin: 13px 0; }
.summary-total { padding-top: 14px; border-top: 1px solid var(--line); font-size: 17px; }
.summary-total strong { color: var(--accent); font-size: 25px; }

.address-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.address-card { padding: 17px; border: 1px solid var(--line); border-radius: 6px; }
.address-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.address-default { padding: 3px 7px; color: var(--accent); background: var(--accent-soft); border-radius: 3px; font-size: 12px; }
.address-actions { margin-top: 14px; }
.address-form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 12px; }
.address-form-grid .field-wide { grid-column: 1 / -1; }

.status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 4px; font-size: 12px; font-weight: 700; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-pending { color: var(--warning); background: #fff7e8; }
.status-paid { color: var(--success); background: #eaf8f2; }
.status-refund { color: #65728a; background: #eff2f6; }
.order-card-mobile { display: none; }
.order-number { font-family: Consolas, monospace; font-size: 13px; }
.pagination { display: flex; justify-content: center; gap: 7px; margin-top: 26px; }
.pagination a, .pagination span { min-width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.pagination .is-active { color: #fff; border-color: var(--accent); background: var(--accent); }

.query-shell { max-width: 820px; margin: 20px auto; }
.query-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; }
.order-detail-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; }
.detail-list { display: grid; grid-template-columns: 130px 1fr; gap: 12px 18px; }
.detail-list dt { color: var(--muted); }
.detail-list dd { margin: 0; word-break: break-word; }

.payment-page { display: grid; place-items: center; min-height: 560px; }
.payment-card { width: min(580px, 100%); padding: 42px; text-align: center; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.payment-card h1 { margin: 0 0 12px; }
.payment-card p { color: var(--muted); line-height: 1.75; }
.alipay-submit { display: none; }

.site-footer { margin-top: 20px; color: #8a8f98; background: #fff; border-top: 1px solid var(--line); }
.footer-main { display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); gap: 58px; padding: 48px 0 38px; }
.footer-brand { font-size: 20px; color: var(--ink); font-weight: 800; }
.footer-copy { margin: 16px 0 0; max-width: 330px; line-height: 1.9; }
.footer-column h3 { margin: 0 0 16px; color: var(--ink); font-size: 15px; }
.footer-column a { display: block; margin: 10px 0; }
.footer-column a:hover { color: var(--accent); }
.footer-bottom { padding: 20px 0; border-top: 1px solid var(--line); text-align: center; line-height: 1.9; }
.footer-bottom a:hover { color: var(--accent); }
.mobile-nav { display: none; }

@media (max-width: 1000px) {
  .header-main { grid-template-columns: 180px 1fr; gap: 18px; }
  .header-actions { display: none; }
  .hero-layout { grid-template-columns: 200px minmax(0, 1fr); }
  .member-panel { display: none; }
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .detail-shell { grid-template-columns: 44% minmax(0, 1fr); gap: 26px; }
  .footer-main { grid-template-columns: 1.4fr repeat(2, 1fr); }
  .footer-column:last-child { display: none; }
}

@media (max-width: 720px) {
  body { padding-bottom: 62px; }
  .container { width: min(100% - 24px, 1200px); }
  .topbar { display: none; }
  .header-main { min-height: 68px; display: flex; gap: 12px; }
  .brand { width: 112px; flex: 0 0 auto; }
  .brand img { width: 108px; height: 40px; }
  .brand-fallback { font-size: 17px; }
  .search-form { height: 38px; flex: 1; border-width: 1px; }
  .search-form button { width: 58px; }
  .nav-strip { display: none; }
  .page-main { padding: 12px 0 32px; }
  .hero-layout { display: block; min-height: 0; }
  .category-panel { display: flex; gap: 8px; padding: 0 0 10px; overflow-x: auto; background: transparent; box-shadow: none; border-radius: 0; }
  .category-item { height: 36px; flex: 0 0 auto; gap: 8px; padding: 0 12px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
  .category-count { display: none; }
  .hero-slide { height: 230px; }
  .hero-copy { padding: 40px 18px 18px; }
  .hero-copy h2 { font-size: 20px; }
  .hero-copy p { display: none; }
  .section { margin-top: 20px; }
  .section-title { font-size: 20px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-body { padding: 10px; }
  .product-info { display: none; }
  .product-price { font-size: 16px; }
  .filter-bar { flex-wrap: nowrap; overflow-x: auto; padding: 12px; }
  .filter-bar a { flex: 0 0 auto; }
  .list-toolbar { align-items: flex-start; gap: 12px; }
  .list-sort { gap: 10px; font-size: 12px; }
  .detail-shell { display: block; padding: 14px; }
  .detail-copy { margin-top: 20px; }
  .detail-title { font-size: 20px; }
  .detail-actions .btn { min-width: 0; flex: 1; padding: 0 10px; }
  .detail-content { padding: 16px; }
  .auth-page { padding: 0; background: #fff; }
  .auth-shell { display: block; min-height: calc(100vh - 62px); box-shadow: none; }
  .auth-form { padding: 32px 24px; }
  .auth-form h1 { margin-top: 30px; }
  .auth-aside { display: none; }
  .account-layout { display: block; }
  .account-nav { margin-bottom: 12px; }
  .account-nav a, .account-nav form { display: inline-block; width: auto; }
  .account-nav button { width: auto; }
  .stat-grid { grid-template-columns: 1fr; }
  .panel { padding: 16px; }
  .cart-table, .order-table { display: none; }
  .order-card-mobile { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .order-card-mobile .order-product { margin: 12px 0; }
  .cart-mobile { display: block; }
  .cart-actions { position: sticky; bottom: 65px; padding: 12px; margin: 0 -16px -16px; background: #fff; box-shadow: 0 -8px 18px rgba(25,31,42,.06); }
  .checkout-layout, .order-detail-grid { display: block; }
  .checkout-summary { position: static; margin-top: 12px; }
  .address-options, .address-grid { grid-template-columns: 1fr; }
  .address-form-grid { grid-template-columns: 1fr; }
  .query-form { grid-template-columns: 1fr; }
  .detail-list { grid-template-columns: 98px 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px; padding: 34px 0 24px; }
  .footer-about { grid-column: 1 / -1; }
  .footer-column:last-child { display: block; }
  .mobile-nav { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; height: 60px; display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); }
  .mobile-nav a { display: grid; place-items: center; align-content: center; gap: 3px; color: #747981; font-size: 11px; }
  .mobile-nav strong { font-size: 18px; line-height: 1; }
}
