.header, .topbar { height: 76px; background: #fff; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; padding: 0 max(24px, calc((100vw - 1200px) / 2)); gap: 24px; }
.header-logo, .topbar-logo { display: flex; align-items: center; gap: 12px; color: var(--text); font-size: 20px; font-weight: 650; white-space: nowrap; }
.topbar-dot { display: none; }
.nav-links, .topbar-nav { display: flex; align-items: stretch; height: 100%; gap: 28px; }
.nav-links a, .topbar-nav a { color: var(--secondary); display: flex; align-items: center; position: relative; font-weight: 500; }
.nav-links a.active, .topbar-nav a.active { color: var(--blue); }
.nav-links a.active::after, .topbar-nav a.active::after { content: ""; position: absolute; bottom: 0; width: 100%; height: 3px; background: var(--blue); border-radius: 3px 3px 0 0; }
.container { max-width: 1248px; margin: 0 auto; padding: 36px 24px 20px; }
.hero { min-height: 242px; display: flex; align-items: center; justify-content: space-between; padding: 40px 46px; background: linear-gradient(115deg, #061f51, #0c4493 66%, #1677d6); border-radius: 12px; color: #fff; position: relative; overflow: hidden; margin-bottom: 24px; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(#ffffff05 1px, transparent 1px), linear-gradient(90deg, #ffffff05 1px, transparent 1px); background-size: 32px 32px; }
.hero-copy { position: relative; z-index: 1; max-width: 70%; }
.hero h1 { font-size: 34px; letter-spacing: 1px; margin: 0 0 12px; font-weight: 600; }
.hero p { color: #b8d6ff; margin: 0; font-size: 15px; }
.hero-link { display: inline-flex; gap: 24px; margin-top: 24px; color: #fff; font-weight: 500; border-bottom: 1px solid #ffffff55; padding-bottom: 3px; }
.hero-link:hover { color: #91caff; }
.hero-visual { position: relative; width: 200px; height: 150px; margin-right: 30px; transform: rotate(-12deg); flex-shrink: 0; }
.hero-visual::before, .hero-visual::after { content: ""; position: absolute; width: 178px; height: 112px; border: 1px solid #84bbff88; border-radius: 14px; background: linear-gradient(135deg, #8ec5ff38, #ffffff08); box-shadow: 0 16px 40px #001d5444; }
.hero-visual::before { top: 4px; left: 30px; transform: rotate(18deg); }
.hero-visual::after { top: 30px; left: 0; background: linear-gradient(135deg, #66aaff99, #1463c080); }
.hero-chip { position: absolute; z-index: 1; top: 57px; left: 22px; width: 30px; height: 24px; border-radius: 5px; border: 1px solid #c9e5ff; background: #c9e5ff33; }
.hero-line { position: absolute; z-index: 1; left: 24px; top: 106px; width: 90px; height: 5px; border-radius: 2px; background: #c9e5ff99; }
.notice-bar { display: flex; gap: 12px; background: #e6f4ff; border: 1px solid #bae0ff; padding: 14px 18px; border-radius: 8px; color: #345c88; margin-bottom: 30px; font-size: 13px; }
.notice-bar svg { width: 19px; height: 19px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.catalog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 264px; gap: 24px; align-items: start; }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; font-size: 21px; font-weight: 600; }
.section-title span { font-size: 13px; font-weight: 400; color: var(--secondary); }
.product-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.product-item { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 24px; box-shadow: var(--shadow); transition: border-color .2s, box-shadow .2s; display: flex; flex-direction: column; min-width: 0; }
.product-item:hover { border-color: #91caff; box-shadow: 0 8px 28px #1677ff0d; }
.product-symbol { width: 56px; height: 56px; padding: 3px; border: 1px solid var(--border); border-radius: 10px; background: #fff; display: grid; place-items: center; margin-bottom: 18px; }
.prod-info h3 { margin: 0 0 8px; font-size: 17px; font-weight: 600; overflow-wrap: anywhere; }
.prod-info p { color: var(--secondary); margin: 0; font-size: 13px; white-space: pre-line; overflow-wrap: anywhere; }
.prod-price { color: #0958d9; font-size: 30px; font-weight: 650; margin: auto 0 0; padding: 20px 0; letter-spacing: -.5px; }
.prod-price small { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 8px; letter-spacing: 0; }
.buy-form { display: grid; gap: 10px; border-top: 1px solid #f0f3f8; padding-top: 18px; }
.input-field { width: 100%; height: 42px; }
.buy-form label { font-size: 12px; color: var(--secondary); }
.btn-buy { width: 100%; height: 42px; position: relative; }
.loading { pointer-events: none; opacity: .65; }
.service-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 22px; margin-bottom: 18px; box-shadow: var(--shadow); }
.service-card h3 { font-size: 15px; margin: 0 0 20px; }
.purchase-steps { list-style: none; margin: 0; padding: 0; counter-reset: purchase; }
.purchase-steps li { position: relative; padding: 0 0 24px 36px; color: var(--secondary); font-size: 12px; counter-increment: purchase; }
.purchase-steps li:last-child { padding-bottom: 0; }
.purchase-steps li::before { content: counter(purchase); position: absolute; left: 0; top: 0; width: 24px; height: 24px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); border-radius: 50%; font-weight: 600; }
.purchase-steps strong { display: block; color: var(--text); font-size: 13px; margin-bottom: 3px; font-weight: 500; }
.contact-value { color: var(--blue); word-break: break-all; font-weight: 600; }
.service-card p { margin: 8px 0 16px; font-size: 12px; color: var(--secondary); }
.service-card a { display: block; border-top: 1px solid var(--border); padding-top: 14px; font-size: 13px; }
.footer, .ft { text-align: center; padding: 30px 16px; font-size: 12px; color: var(--muted); }
.footer { border-top: 1px solid var(--border); margin-top: 40px; }
.float-btn { display: none; }
.pay-title { font-size: 20px; font-weight: 600; margin-bottom: 6px; }
#payModalDesc { color: var(--secondary); margin-bottom: 24px; }
.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; }
.pay-item { border: 1px solid var(--border); border-radius: 8px; padding: 18px; text-align: center; cursor: pointer; }
.pay-item.active { background: var(--blue-soft); border-color: var(--blue); }
.pay-item input { accent-color: var(--blue); }
.pay-icon { display: block; width: 40px; height: 40px; object-fit: contain; margin: 10px auto; flex-shrink: 0; }
.modal-footer { display: flex; gap: 12px; }
.modal-footer button { flex: 1; }
.main { max-width: 1040px; margin: 0 auto; padding: 42px 24px 60px; }
.pg-head h1 { font-size: 28px; margin: 0 0 10px; font-weight: 600; }
.pg-head p { margin: 0 0 28px; color: var(--secondary); }
.search { background: #fff; padding: 28px; border: 1px solid var(--border); border-radius: 10px; margin-bottom: 24px; }
.search-row { display: flex; gap: 12px; }
.search-inp { flex: 1; width: 100%; height: 44px; }
.search-btn { min-width: 100px; }
.results { background: #fff; border-radius: 10px; border: 1px solid var(--border); overflow: hidden; }
.results-hd { padding: 20px 24px; display: flex; justify-content: space-between; font-weight: 600; }
.results-hd span { color: var(--muted); font-size: 12px; font-weight: 400; }
.tbl { width: 100%; border-collapse: collapse; text-align: left; }
.tbl th { background: #fafcff; color: var(--secondary); font-size: 12px; font-weight: 500; }
.tbl th, .tbl td { padding: 15px 20px; border-bottom: 1px solid var(--border); }
.tbl td { font-size: 13px; overflow-wrap: anywhere; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl-oid, .tbl-time { color: var(--secondary); font-size: 12px !important; }
.code, .code-box { font-family: Consolas, monospace; color: #0958d9; background: #f0f7ff; border: 1px solid #d6e9ff; border-radius: 6px; padding: 6px 10px; overflow-wrap: anywhere; }
.result-page { min-height: 100vh; display: grid; place-items: center; padding: 28px 16px; background: radial-gradient(ellipse at 50% 0, #d6e9ff, transparent 65%), var(--page); }
.panel { width: 100%; max-width: 520px; border: 1px solid var(--border); border-radius: 12px; background: #fff; box-shadow: 0 16px 60px #1634640a; overflow: hidden; }
.result-brand { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 26px 24px 0; font-size: 17px; font-weight: 600; color: var(--text); }
.panel-top { text-align: center; padding: 36px 28px 24px; }
.ikon { width: 64px; height: 64px; background: #f6ffed; color: #52c41a; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; }
.ikon svg { width: 32px; height: 32px; }
.panel-top h2 { font-size: 24px; margin: 0 0 8px; }
.panel-top p, .tip, .wait { font-size: 13px; color: var(--secondary); }
.panel-body { padding: 0 32px 24px; }
.info { width: 100%; border-collapse: collapse; font-size: 13px; }
.info td { padding: 12px 0; border-bottom: 1px solid var(--border); overflow-wrap: anywhere; }
.info td:first-child { color: var(--secondary); width: 76px; }
.code-box { margin: 24px 0 12px; padding: 16px; }
.panel .btn { width: 100%; margin-top: 8px; }
.btn-light { background: #fff; color: var(--secondary); border-color: #d9e1ec; }
.tip, .wait { text-align: center; margin-top: 12px; }
@media(max-width: 1000px) { .catalog-layout { grid-template-columns: 1fr; } .store-aside { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } .hero-visual { margin-right: 0; } }
@media(max-width: 640px) {
  .header, .topbar { height: 64px; padding: 0 16px; gap: 12px; }
  .header-logo, .topbar-logo { font-size: 16px; gap: 8px; white-space: normal; }
  .brand-mark { width: 40px; height: 40px; }
  .nav-links, .topbar-nav { gap: 16px; flex-shrink: 0; font-size: 13px; }
  .container, .main { padding: 20px 16px; }
  .hero { min-height: 200px; padding: 28px 24px; }
  .hero h1 { font-size: 27px; }
  .hero-copy { max-width: 100%; }
  .hero p { max-width: 240px; font-size: 13px; }
  .hero-visual { display: none; }
  .product-list, .store-aside { grid-template-columns: 1fr; }
  .product-item { padding: 22px; }
  .store-aside { gap: 0; }
  .section-title { font-size: 19px; }
  .search { padding: 20px; }
  .search-row { flex-direction: column; }
  .pg-head h1 { font-size: 24px; }
  .tbl, .tbl tbody, .tbl tr, .tbl td { display: block; }
  .tbl thead { display: none; }
  .tbl tr { padding: 16px 20px; border-top: 1px solid var(--border); }
  .tbl td { padding: 6px 0; border: 0; }
  .tbl td::before { content: attr(data-label); display: block; color: var(--muted); font-size: 11px; margin-bottom: 2px; }
  .panel-body { padding: 0 22px 24px; }
}
