* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; color: #1f2937; background: #f5f7fa; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

.site-header { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.06); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; flex-wrap: wrap; }
.logo { font-size: 20px; font-weight: 700; color: #1677ff; }
.nav { display: flex; gap: 22px; font-size: 14px; color: #4b5563; }
.nav a:hover { color: #1677ff; }

.hero { background: linear-gradient(120deg, #1677ff, #4096ff); color: #fff; padding: 56px 0; text-align: center; }
.hero h1 { font-size: 30px; margin-bottom: 10px; }
.hero p { opacity: .92; font-size: 15px; }
.hero-badges { margin-top: 18px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-badges span { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); border-radius: 20px; padding: 5px 14px; font-size: 13px; }

main { padding: 34px 16px 10px; }
.cat-title { font-size: 20px; margin: 30px 0 16px; padding-left: 10px; border-left: 4px solid #1677ff; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.05); transition: transform .15s, box-shadow .15s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(22,119,255,.12); }
.thumb { height: 130px; display: flex; align-items: center; justify-content: center; font-size: 52px; }
.thumb-1 { background: linear-gradient(135deg,#dbeafe,#bfdbfe); }
.thumb-2 { background: linear-gradient(135deg,#dcfce7,#bbf7d0); }
.thumb-3 { background: linear-gradient(135deg,#fef3c7,#fde68a); }
.thumb-4 { background: linear-gradient(135deg,#fce7f3,#fbcfe8); }
.thumb-5 { background: linear-gradient(135deg,#e0e7ff,#c7d2fe); }
.thumb-6 { background: linear-gradient(135deg,#ccfbf1,#99f6e4); }
.thumb-7 { background: linear-gradient(135deg,#f3e8ff,#e9d5ff); }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 15.5px; margin-bottom: 6px; }
.card p { font-size: 13px; color: #6b7280; flex: 1; }
.meta { display: flex; justify-content: space-between; align-items: center; margin: 10px 0; font-size: 12px; color: #9ca3af; }
.tag { background: #eff6ff; color: #1677ff; padding: 2px 8px; border-radius: 4px; }
.card-foot { display: flex; justify-content: space-between; align-items: center; }
.price { color: #ff4d4f; font-size: 20px; font-weight: 700; }
.price::before { content: ""; }
.btn { background: #1677ff; color: #fff; padding: 7px 18px; border-radius: 6px; font-size: 14px; }
.btn:hover { background: #0958d9; }
.btn-block { display: block; text-align: center; width: 100%; padding: 12px; font-size: 16px; }
.btn-alipay { background: #1677ff; }

.pay-strip { margin: 40px 0; background: #fff; border-radius: 10px; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.pay-strip p { font-size: 13px; color: #6b7280; margin-top: 4px; max-width: 640px; }
.alipay-badge { flex-shrink: 0; width: 92px; height: 92px; border-radius: 12px; background: linear-gradient(135deg,#1677ff,#69b1ff); color: #fff; display: flex; align-items: center; justify-content: center; text-align: center; font-weight: 700; font-size: 18px; line-height: 1.25; }
.alipay-badge small { font-weight: 400; font-size: 12px; opacity: .9; }

.page-wrap { max-width: 760px; margin: 26px auto 40px; background: #fff; border-radius: 10px; padding: 28px; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.page-wrap h1 { font-size: 22px; margin-bottom: 14px; }
.page-wrap h2 { font-size: 16px; margin: 18px 0 8px; }
.page-wrap p, .page-wrap li { font-size: 14px; color: #374151; }
.page-wrap ul { padding-left: 20px; }

.order-box { display: flex; gap: 14px; align-items: center; border: 1px solid #e5e7eb; border-radius: 8px; padding: 14px; margin-bottom: 18px; }
.order-box .thumb { width: 72px; height: 72px; font-size: 34px; border-radius: 8px; flex-shrink: 0; }
.order-box h3 { font-size: 15px; }
.order-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed #e5e7eb; font-size: 14px; }
.order-row.total { border: none; font-size: 17px; font-weight: 700; }
.order-row.total .price { font-size: 24px; }
.field { margin: 14px 0; }
.field label { display: block; font-size: 13px; color: #4b5563; margin-bottom: 5px; }
.field input { width: 100%; padding: 10px 12px; border: 1px solid #d1d5db; border-radius: 6px; font-size: 14px; }
.field input:focus { outline: none; border-color: #1677ff; }
.hint { font-size: 12px; color: #9ca3af; margin-top: 4px; }

.cashier-pay { border: 2px solid #1677ff; border-radius: 10px; padding: 18px; display: flex; align-items: center; gap: 14px; margin: 18px 0; background: #f0f7ff; }
.cashier-pay .ap-logo { width: 56px; height: 56px; border-radius: 10px; background: #1677ff; color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:14px; text-align:center; line-height:1.2; flex-shrink:0; }
.cashier-pay .check { margin-left: auto; color: #1677ff; font-size: 22px; }
.pay-note { text-align:center; font-size:12px; color:#9ca3af; margin-top:10px; }

.site-footer { background: #1f2937; color: #d1d5db; margin-top: 40px; padding: 34px 0 20px; font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.site-footer h4 { color: #fff; font-size: 14px; margin-bottom: 10px; }
.site-footer a { display: block; color: #9ca3af; margin-bottom: 6px; }
.site-footer a:hover { color: #fff; }
.site-footer p { color: #9ca3af; margin-bottom: 6px; }

@media (max-width: 820px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .nav { gap: 14px; font-size: 13px; }
}
@media (max-width: 520px) {
  .grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 23px; }
  .header-inner { height: auto; padding: 10px 0; gap: 6px; }
  .nav { width: 100%; overflow-x: auto; white-space: nowrap; }
  .pay-strip { flex-direction: column; text-align: center; }
}
