/* 电商风格：暖橙主色 + 白底商品网格 */
:root {
  --brand: #e8541e;
  --brand-dark: #c8430f;
  --bg: #f7f7f7;
  --fg: #222;
  --muted: #888;
  --line: #eee;
}
.sp-head { background: #fff; border-bottom: 2px solid var(--brand); }
.sp-head-inner { display: flex; align-items: center; gap: 26px; height: 74px; }
.sp-logo { font-size: 20px; font-weight: 700; color: var(--brand); letter-spacing: 1px; }
.sp-logo:hover { text-decoration: none; }
.sp-search { flex: 1; display: flex; max-width: 480px; }
.sp-search input { border: 1px solid var(--brand); border-right: 0; border-radius: 3px 0 0 3px; padding: 9px 12px; }
.sp-search button { border: 0; background: var(--brand); color: #fff; padding: 0 22px; border-radius: 0 3px 3px 0; font-size: 14px; cursor: pointer; }
.sp-links { display: flex; gap: 18px; font-size: 13px; }
.sp-links a { color: var(--muted); }
.sp-banner { background: linear-gradient(120deg, #fff1e6 0%, #ffe3cd 100%); padding: 44px 0; }
.sp-banner h1 { margin: 0 0 6px; font-size: 30px; color: #8a3410; }
.sp-banner p { margin: 0; color: #a4643c; font-size: 14px; }
.sp-main { padding: 22px 20px 60px; }
.sp-tabs { display: flex; gap: 26px; font-size: 14px; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 20px; }
.sp-tabs a { color: var(--muted); padding-bottom: 12px; margin-bottom: -13px; }
.sp-tabs a.is-on { color: var(--brand); border-bottom: 2px solid var(--brand); font-weight: 600; }
.sp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.sp-item { background: #fff; border-radius: 6px; overflow: hidden; transition: box-shadow .15s; }
.sp-item:hover { box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.sp-thumb { height: 150px; }
.t1 { background: linear-gradient(135deg, #e8dcc8, #cdb99a); }
.t2 { background: linear-gradient(135deg, #c8d8e8, #9ab6cd); }
.t3 { background: linear-gradient(135deg, #e8cdc8, #cda09a); }
.t4 { background: linear-gradient(135deg, #d8e8c8, #b6cd9a); }
.t5 { background: linear-gradient(135deg, #cfc8e8, #a89acd); }
.t6 { background: linear-gradient(135deg, #e8e0c8, #cdc09a); }
.sp-name { padding: 10px 12px 4px; font-size: 13px; color: #333; line-height: 1.5; height: 44px; overflow: hidden; }
.sp-price { padding: 0 12px 12px; color: var(--brand); font-size: 12px; }
.sp-price em { font-style: normal; font-size: 18px; font-weight: 700; }
.sp-price span { color: var(--muted); margin-left: 8px; }
.sp-foot { background: #fff; border-top: 1px solid var(--line); padding: 22px 0; }
.sp-foot .wrap { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); flex-wrap: wrap; gap: 8px; }

/* 后台登录 */
body.sp-login-body { background: #f2f2f2; }
.sp-login { width: 100%; max-width: 380px; margin: 9vh auto; background: #fff; border-radius: 8px;
  padding: 28px 26px 18px; box-shadow: 0 10px 30px rgba(0,0,0,.07); }
.sp-login-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 22px; }
.sp-login-head span { font-size: 12px; color: var(--muted); }
.sp-row { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.sp-check { display: flex; align-items: center; gap: 6px; color: var(--muted); margin: 0; }
.sp-other { text-align: center; font-size: 13px; color: var(--muted); margin-top: 16px; }
.sp-login .meta { border-top: 1px solid var(--line); padding-top: 12px; }
@media (max-width: 720px) { .sp-links { display: none; } .sp-head-inner { gap: 12px; } }

/* 订单查询 */
.sp-order { max-width: 460px; padding: 48px 20px 72px; }
.sp-order-title { font-size: 24px; margin: 0 0 6px; }
.sp-order-sub { color: var(--muted); font-size: 13px; margin: 0 0 24px; }
.sp-order-form { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 22px; }
.sp-order-form .btn { margin-top: 6px; }
.sp-order-tip { margin-top: 22px; color: var(--muted); font-size: 13px; }
.sp-order-tip h3 { font-size: 14px; color: #444; margin: 0 0 8px; }
.sp-order-tip ul { margin: 0; padding-left: 18px; line-height: 1.9; }
