/* 衣品汇 · 时尚女装商城 — 京东同款视觉 */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font: 12px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #333; background: #f4f4f4;
}
a { color: #333; text-decoration: none; }
a:hover { color: #e1251b; }
img { border: 0; vertical-align: middle; }
input, button, select, textarea { font-family: inherit; font-size: inherit; outline: none; }
button { cursor: pointer; }
.red { color: #e1251b !important; }
.dim { color: #bbb; margin: 0 4px; }
.wrap { width: 1200px; margin: 0 auto; }

/* ---------- 顶部快捷条 ---------- */
.shortcut { height: 30px; line-height: 30px; background: #e3e4e5; color: #999; font-size: 12px; }
.shortcut .wrap { display: flex; justify-content: space-between; }
.shortcut a { color: #666; margin: 0 2px; }
.shortcut a:hover { color: #e1251b; }
.shortcut i { font-style: normal; color: #ccc; margin: 0 7px; }

/* ---------- 头部 ---------- */
.header { background: #fff; padding: 16px 0; }
.header .wrap { display: flex; align-items: center; gap: 34px; }
.logo { flex: none; color: #e1251b; font-size: 32px; font-weight: 800; letter-spacing: 1px; line-height: 1; }
.logo small { display: block; font-size: 10px; font-weight: 400; letter-spacing: 7px; margin-top: 4px; color: #e1251b; }
.search { flex: 1; max-width: 580px; display: flex; height: 38px; border: 2px solid #e1251b; background: #fff; }
.search input { flex: 1; border: 0; padding: 0 12px; font-size: 14px; color: #333; }
.search button { width: 100px; border: 0; background: #e1251b; color: #fff; font-size: 16px; font-weight: 700; letter-spacing: 2px; }
.search button:hover { background: #c81623; }
.header-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 8px 20px; border: 1px solid #e1251b; color: #e1251b; font-size: 13px; background: #fff; }
.cart-btn:hover { background: #fff4f4; color: #c81623; }
.badge { display: inline-block; min-width: 18px; height: 18px; line-height: 18px; padding: 0 5px; border-radius: 9px; background: #e1251b; color: #fff; font-size: 11px; text-align: center; }

/* ---------- 红色导航 ---------- */
.nav { background: #e1251b; }
.nav .wrap { display: flex; height: 42px; align-items: stretch; }
.nav a { display: flex; align-items: center; padding: 0 22px; color: #fff; font-size: 15px; }
.nav a:hover { background: #c81623; color: #fff; }
.nav a.all-cate { width: 200px; background: #c81623; font-weight: 700; padding: 0 18px; }

/* ---------- 主体 ---------- */
.main { padding: 12px 0 28px; min-height: 60vh; }
.wrap.layout { display: flex; gap: 12px; align-items: flex-start; }
.side { width: 200px; flex: none; background: #fff; }
.cont { flex: 1; min-width: 0; background: #fff; }
.loading { padding: 80px 0; text-align: center; color: #999; font-size: 13px; }
.empty { padding: 70px 20px; text-align: center; color: #999; }
.empty .ico { font-size: 44px; display: block; margin-bottom: 12px; opacity: .5; }
.empty a { color: #e1251b; }

/* 筛选面板 */
.filter-head { padding: 13px 14px; font-size: 14px; font-weight: 700; border-bottom: 1px solid #f0f0f0; display: flex; justify-content: space-between; align-items: center; }
.filter-head .clear { font-size: 12px; color: #999; font-weight: 400; cursor: pointer; }
.filter-head .clear:hover { color: #e1251b; }
.filter-group { padding: 12px 14px; border-bottom: 1px solid #f3f3f3; }
.filter-group h4 { font-size: 12px; color: #999; font-weight: 400; margin-bottom: 8px; }
.filter-group .opts a { display: inline-block; font-size: 12px; color: #333; padding: 2px 6px; margin: 0 2px 6px 0; cursor: pointer; border-radius: 2px; }
.filter-group .opts a:hover { color: #e1251b; }
.filter-group .opts a.on { background: #e1251b; color: #fff; }
.price-range { display: flex; gap: 6px; align-items: center; }
.price-range input { width: 100%; height: 27px; border: 1px solid #ddd; padding: 0 6px; font-size: 12px; }
.price-range span { color: #ccc; }
.price-range button { flex: none; height: 27px; padding: 0 10px; border: 1px solid #ddd; background: #f7f7f7; font-size: 12px; }
.price-range button:hover { border-color: #e1251b; color: #e1251b; }

/* 排序条 */
.sortbar { display: flex; align-items: center; height: 46px; padding: 0 14px; border-bottom: 1px solid #f0f0f0; gap: 2px; overflow-x: auto; }
.m-filter-btn { display: none; flex: none; align-items: center; height: 27px; padding: 0 10px; margin-right: 6px; border: 1px solid #ddd; background: #fff; font-size: 12px; color: #333; }
@media (max-width: 992px) {
  .m-filter-btn { display: inline-flex; }
  .side { display: none; width: 100%; }
  .side.open { display: block; }
  .sortbar a { white-space: nowrap; }
  .sortbar .cnt { white-space: nowrap; padding-left: 10px; }
}
.sortbar a { padding: 7px 15px; font-size: 13px; color: #333; cursor: pointer; }
.sortbar a.on { background: #e1251b; color: #fff; }
.sortbar a:hover { color: #e1251b; }
.sortbar a.on:hover { color: #fff; }
.sortbar .cnt { margin-left: auto; color: #999; font-size: 12px; }
.sortbar .cnt b { color: #e1251b; font-weight: 400; }

/* 商品网格 */
.pgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 12px; }
.pcard { position: relative; padding: 8px; border: 1px solid transparent; background: #fff; transition: all .16s ease; }
.pcard:hover { border-color: #e1251b; box-shadow: 0 8px 20px rgba(0,0,0,.12); transform: translateY(-2px); z-index: 3; }
.pcard .pic { display: block; width: 100%; aspect-ratio: 1/1; overflow: hidden; background: #fafafa; }
.pcard .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.pcard:hover .pic img { transform: scale(1.04); }
.pcard .price { margin-top: 8px; color: #e1251b; font-size: 19px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.pcard .price small { font-size: 12px; font-weight: 400; }
.pcard .old { margin-left: 5px; color: #aaa; font-size: 12px; font-weight: 400; text-decoration: line-through; }
.pcard .name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 6px 0; height: 40px; font-size: 13px; line-height: 20px; color: #333; }
.pcard:hover .name { color: #e1251b; }
.pcard .meta { display: flex; justify-content: space-between; color: #999; font-size: 12px; }
.pcard .tagline { margin-top: 6px; min-height: 18px; }
.tag { display: inline-block; height: 17px; line-height: 15px; padding: 0 4px; margin-right: 4px; border: 1px solid #f0b4b0; color: #e1251b; font-size: 11px; border-radius: 2px; }
.tag.gray { border-color: #ddd; color: #999; }
.pcard .shop { display: flex; align-items: center; gap: 4px; margin-top: 5px; color: #999; font-size: 12px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pcard .shop .zy { flex: none; padding: 0 3px; border: 1px solid #e1251b; color: #e1251b; font-size: 10px; line-height: 13px; border-radius: 2px; }
.pcard .addcart { position: absolute; right: 8px; bottom: 8px; padding: 5px 11px; border: 0; background: #e1251b; color: #fff; font-size: 12px; border-radius: 2px; opacity: 0; transform: translateY(4px); transition: all .18s; }
.pcard:hover .addcart { opacity: 1; transform: translateY(0); }
.pcard .addcart:hover { background: #c81623; }

/* 分页 */
.pager { display: flex; justify-content: center; align-items: center; gap: 6px; padding: 22px 10px 26px; flex-wrap: wrap; }
.pager a { min-width: 34px; height: 32px; line-height: 30px; padding: 0 9px; text-align: center; border: 1px solid #e8e8e8; font-size: 13px; color: #333; cursor: pointer; user-select: none; }
.pager a:hover { border-color: #e1251b; color: #e1251b; }
.pager a.on { background: #e1251b; border-color: #e1251b; color: #fff; }
.pager a.dis { color: #ccc; cursor: default; border-color: #f0f0f0; }
.pager a.dis:hover { border-color: #f0f0f0; color: #ccc; }
.pager .jump { display: flex; align-items: center; gap: 5px; color: #999; font-size: 12px; }
.pager .jump input { width: 46px; height: 30px; border: 1px solid #e8e8e8; text-align: center; }

/* ---------- 通用面板 / 按钮 / 表单 ---------- */
.panel { background: #fff; margin-bottom: 12px; }
.panel-hd { display: flex; align-items: center; justify-content: space-between; padding: 15px 20px; border-bottom: 1px solid #f0f0f0; font-size: 16px; font-weight: 700; }
.panel-hd .sub { font-size: 12px; color: #999; font-weight: 400; }
.panel-bd { padding: 20px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 20px; border: 1px solid #ddd; background: #fff; color: #333; font-size: 13px; border-radius: 2px; transition: all .15s; }
.btn:hover { border-color: #e1251b; color: #e1251b; }
.btn-red { background: #e1251b; border-color: #e1251b; color: #fff; }
.btn-red:hover { background: #c81623; border-color: #c81623; color: #fff; }
.btn-dark { background: #333; border-color: #333; color: #fff; }
.btn-sm { height: 28px; padding: 0 12px; font-size: 12px; }
.btn-lg { height: 44px; padding: 0 34px; font-size: 16px; }
.btn:disabled { background: #f0f0f0; border-color: #e8e8e8; color: #bbb; cursor: not-allowed; }
.btn-ghost { border-color: #e1251b; color: #e1251b; background: #fff; }
.btn-ghost:hover { background: #fff4f4; }

.field { margin-bottom: 15px; }
.field label { display: block; font-size: 13px; color: #666; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; height: 38px; padding: 0 11px; border: 1px solid #ddd; background: #fff;
  font-size: 13px; color: #333; border-radius: 2px; transition: border-color .15s;
}
.field textarea { height: 74px; padding: 9px 11px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #e1251b; }
.field .hint { margin-top: 5px; font-size: 12px; color: #999; }
.form-row { display: flex; gap: 12px; }
.form-row .field { flex: 1; }
.form-err { min-height: 18px; color: #e1251b; font-size: 12px; margin-bottom: 4px; }

/* ---------- 商品详情 ---------- */
.detail { display: flex; gap: 30px; padding: 24px; }
.detail .gallery { width: 430px; flex: none; }
.detail .gallery .big { width: 430px; height: 430px; background: #fafafa; }
.detail .gallery .big img { width: 100%; height: 100%; object-fit: cover; }
.detail .info { flex: 1; min-width: 0; }
.detail .info h1 { font-size: 20px; line-height: 1.5; font-weight: 600; color: #333; margin-bottom: 12px; }
.detail .promo-line { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.detail .pricebox { background: #fff8f7; padding: 16px 18px; margin-bottom: 18px; }
.detail .pricebox .row { display: flex; align-items: baseline; gap: 10px; }
.detail .pricebox .now { color: #e1251b; font-size: 30px; font-weight: 700; }
.detail .pricebox .was { color: #aaa; font-size: 13px; text-decoration: line-through; }
.detail .pricebox .sub { margin-top: 8px; color: #666; font-size: 12px; display: flex; gap: 24px; flex-wrap: wrap; }
.detail .pricebox .sub b { color: #e1251b; font-weight: 600; }
.detail .attrs { display: grid; grid-template-columns: 76px 1fr; gap: 10px 0; font-size: 13px; margin-bottom: 20px; }
.detail .attrs .k { color: #999; }
.detail .attrs .v { color: #333; }
.detail .qty { display: flex; align-items: center; gap: 0; margin-bottom: 22px; }
.detail .qty .k { color: #999; font-size: 13px; width: 76px; }
.detail .qty button { width: 34px; height: 36px; border: 1px solid #ddd; background: #fafafa; font-size: 16px; }
.detail .qty input { width: 60px; height: 36px; border: 1px solid #ddd; border-left: 0; border-right: 0; text-align: center; font-size: 13px; }
.detail .actions { display: flex; gap: 12px; }
.detail .service { margin-top: 22px; padding-top: 14px; border-top: 1px dashed #eee; display: flex; gap: 26px; color: #999; font-size: 12px; }
.detail .service b { color: #666; font-weight: 400; }
.detail-sec { background: #fff; margin-top: 12px; }
.detail-sec .hd { padding: 14px 20px; border-bottom: 1px solid #f0f0f0; font-size: 15px; font-weight: 700; }
.detail-sec .bd { padding: 20px; }
.param-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.param-table td { border: 1px solid #f0f0f0; padding: 10px 14px; }
.param-table td.k { width: 120px; background: #fafafa; color: #999; }
.detail-desc { text-align: center; padding: 10px 0 30px; }
.detail-desc img { max-width: 780px; width: 100%; }

/* ---------- 购物车 ---------- */
.cart-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.cart-table th { background: #fafafa; padding: 12px 10px; color: #666; font-weight: 400; text-align: center; border-bottom: 1px solid #f0f0f0; }
.cart-table td { padding: 16px 10px; border-bottom: 1px solid #f5f5f5; text-align: center; vertical-align: middle; }
.cart-table .pinfo { display: flex; align-items: center; gap: 12px; text-align: left; }
.cart-table .pinfo img { width: 76px; height: 76px; object-fit: cover; border: 1px solid #f0f0f0; }
.cart-table .pinfo .t { font-size: 13px; line-height: 1.5; max-width: 420px; }
.cart-table .pinfo .t:hover { color: #e1251b; }
.cart-table .pinfo .b { color: #999; font-size: 12px; margin-top: 4px; }
.stepper { display: inline-flex; border: 1px solid #ddd; }
.stepper button { width: 28px; height: 30px; border: 0; background: #fafafa; font-size: 14px; }
.stepper button:hover { color: #e1251b; }
.stepper input { width: 44px; height: 30px; border: 0; border-left: 1px solid #ddd; border-right: 1px solid #ddd; text-align: center; font-size: 13px; }
.cart-table .del { color: #999; cursor: pointer; }
.cart-table .del:hover { color: #e1251b; }
.cart-foot { display: flex; align-items: center; gap: 20px; padding: 18px 20px; background: #fafafa; }
.cart-foot .left { display: flex; align-items: center; gap: 18px; color: #666; }
.cart-foot .total { margin-left: auto; color: #666; }
.cart-foot .total b { color: #e1251b; font-size: 24px; font-weight: 700; }
.cart-foot .total .n { color: #e1251b; }
.cart-sum { padding: 30px 20px; text-align: right; }
.cart-sum .total b { color: #e1251b; font-size: 26px; }
input[type="checkbox"].cb { width: 15px; height: 15px; accent-color: #e1251b; cursor: pointer; }

/* ---------- 结算 ---------- */
.addr-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.addr-card { position: relative; padding: 14px 16px; border: 1px solid #e8e8e8; cursor: pointer; transition: all .15s; background: #fff; }
.addr-card:hover { border-color: #e1251b; }
.addr-card.on { border: 2px solid #e1251b; padding: 13px 15px; background: #fffafa; }
.addr-card .nm { font-size: 14px; font-weight: 600; margin-bottom: 5px; }
.addr-card .nm span { margin-left: 10px; font-size: 13px; font-weight: 400; color: #666; }
.addr-card .full { color: #666; font-size: 12px; line-height: 1.6; }
.addr-card .def { position: absolute; top: 12px; right: 12px; }
.addr-card.add { display: flex; align-items: center; justify-content: center; color: #999; font-size: 13px; min-height: 92px; border-style: dashed; }
.addr-card.add:hover { color: #e1251b; }
.summary { padding: 6px 0; }
.sum-row { display: flex; justify-content: flex-end; gap: 40px; padding: 7px 0; color: #666; font-size: 13px; }
.sum-row .v { width: 130px; text-align: right; }
.sum-row.big { padding-top: 14px; border-top: 1px solid #f0f0f0; margin-top: 8px; font-size: 14px; align-items: baseline; }
.sum-row.big .v { color: #e1251b; font-size: 26px; font-weight: 700; }
.checkout-bar { display: flex; align-items: center; justify-content: flex-end; gap: 20px; padding: 16px 20px; background: #fafafa; }
.checkout-bar .tip { color: #999; font-size: 12px; }
.order-items-mini { width: 100%; border-collapse: collapse; font-size: 12px; }
.order-items-mini td { padding: 8px 6px; border-bottom: 1px dashed #f0f0f0; }
.order-items-mini .pi { display: flex; gap: 10px; align-items: center; }
.order-items-mini .pi img { width: 54px; height: 54px; object-fit: cover; border: 1px solid #f0f0f0; }
.order-items-mini .pi .n { max-width: 520px; }

/* ---------- 订单 ---------- */
.otabs { display: flex; background: #fff; border-bottom: 1px solid #f0f0f0; padding: 0 8px; margin-bottom: 12px; }
.otabs a { padding: 14px 20px; font-size: 14px; color: #333; position: relative; cursor: pointer; }
.otabs a.on { color: #e1251b; font-weight: 600; }
.otabs a.on:after { content: ""; position: absolute; left: 20px; right: 20px; bottom: -1px; height: 2px; background: #e1251b; }
.order-card { background: #fff; margin-bottom: 12px; }
.order-card .hd { display: flex; gap: 24px; align-items: center; padding: 12px 18px; background: #fafafa; border-bottom: 1px solid #f0f0f0; color: #666; font-size: 12px; flex-wrap: wrap; }
.order-card .hd .st { margin-left: auto; font-size: 13px; font-weight: 600; color: #e1251b; }
.order-card .hd .st.gray { color: #999; }
.order-card .bd { padding: 14px 18px; display: flex; gap: 18px; }
.order-card .goods { flex: 1; min-width: 0; display: flex; gap: 12px; flex-wrap: wrap; }
.order-card .g { display: flex; gap: 10px; width: 330px; }
.order-card .g img { width: 66px; height: 66px; object-fit: cover; border: 1px solid #f0f0f0; flex: none; }
.order-card .g .n { font-size: 12px; line-height: 1.5; max-height: 54px; overflow: hidden; }
.order-card .g .q { color: #999; font-size: 12px; margin-top: 3px; }
.order-card .side { width: 190px; flex: none; text-align: right; font-size: 12px; color: #666; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.order-card .side .amt b { color: #333; font-size: 15px; }
.order-card .ops { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.timeline { display: flex; gap: 0; margin: 6px 0 18px; }
.timeline .step { flex: 1; text-align: center; position: relative; color: #ccc; font-size: 12px; }
.timeline .step:before { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 2px; background: #eee; }
.timeline .step:first-child:before { left: 50%; }
.timeline .step:last-child:before { right: 50%; }
.timeline .step .dot { position: relative; z-index: 1; display: inline-block; width: 18px; height: 18px; line-height: 16px; border: 2px solid #ddd; background: #fff; border-radius: 50%; font-size: 10px; color: #ccc; margin-bottom: 6px; }
.timeline .step.done { color: #e1251b; }
.timeline .step.done:before { background: #f5b7b3; }
.timeline .step.done .dot { border-color: #e1251b; background: #e1251b; color: #fff; }
.timeline .step .tm { display: block; color: #bbb; font-size: 11px; margin-top: 2px; }
.kv { display: grid; grid-template-columns: 90px 1fr; gap: 9px 0; font-size: 13px; }
.kv .k { color: #999; }
.kv .v { color: #333; word-break: break-all; }

/* ---------- 登录 ---------- */
.auth-wrap { max-width: 420px; margin: 30px auto; background: #fff; }
.auth-wrap .hd { text-align: center; padding: 30px 20px 6px; }
.auth-wrap .hd h2 { font-size: 22px; font-weight: 700; }
.auth-wrap .hd p { color: #999; font-size: 12px; margin-top: 6px; }
.auth-wrap .bd { padding: 22px 34px 30px; }
.auth-tabs { display: flex; border-bottom: 1px solid #f0f0f0; margin-bottom: 22px; }
.auth-tabs a { flex: 1; text-align: center; padding: 11px 0; font-size: 15px; color: #666; cursor: pointer; }
.auth-tabs a.on { color: #e1251b; font-weight: 700; border-bottom: 2px solid #e1251b; }
.auth-tip { margin-top: 16px; padding: 10px 12px; background: #fafafa; color: #999; font-size: 12px; line-height: 1.7; }

/* ---------- 管理后台 ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 12px; }
.stat-card { background: #fff; padding: 18px 20px; }
.stat-card .t { color: #999; font-size: 12px; }
.stat-card .v { margin-top: 8px; font-size: 26px; font-weight: 700; color: #333; }
.stat-card .v.red { color: #e1251b; }
.stat-card .v small { font-size: 13px; font-weight: 400; color: #999; margin-left: 3px; }
.adm-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.adm-table th { background: #fafafa; padding: 11px 10px; color: #666; font-weight: 400; text-align: left; border-bottom: 1px solid #f0f0f0; white-space: nowrap; }
.adm-table td { padding: 11px 10px; border-bottom: 1px solid #f5f5f5; vertical-align: middle; }
.adm-table .no { color: #333; font-family: Consolas, monospace; }
.adm-table .goods-mini { display: flex; gap: 6px; align-items: center; }
.adm-table .goods-mini img { width: 34px; height: 34px; object-fit: cover; border: 1px solid #f0f0f0; }
.badge-st { display: inline-block; padding: 1px 8px; border-radius: 2px; font-size: 11px; background: #f5f5f5; color: #666; }
.badge-st.pending { background: #fff3e6; color: #e67e22; }
.badge-st.paid { background: #fff1f0; color: #e1251b; }
.badge-st.shipped { background: #eef5ff; color: #3273dc; }
.badge-st.completed { background: #f0f9eb; color: #4caf50; }
.badge-st.cancelled { background: #f5f5f5; color: #999; }

/* ---------- 弹窗 / Toast ---------- */
.modal-mask { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 900; display: flex; align-items: center; justify-content: center; padding: 20px; animation: fadeIn .15s; }
.modal { width: 520px; max-width: 100%; max-height: 88vh; overflow: auto; background: #fff; animation: popIn .18s; }
.modal.wide { width: 720px; }
.modal .m-hd { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid #f0f0f0; font-size: 16px; font-weight: 700; }
.modal .m-hd .x { border: 0; background: none; font-size: 20px; color: #999; line-height: 1; padding: 2px 6px; }
.modal .m-hd .x:hover { color: #e1251b; }
.modal .m-bd { padding: 20px; }
.modal .m-ft { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 20px; border-top: 1px solid #f0f0f0; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }

.pay-amt { text-align: center; padding: 6px 0 18px; }
.pay-amt .l { color: #999; font-size: 13px; }
.pay-amt .v { color: #e1251b; font-size: 34px; font-weight: 700; margin-top: 4px; }
.pay-methods { display: flex; flex-direction: column; gap: 9px; }
.pay-method { display: flex; align-items: center; gap: 11px; padding: 13px 15px; border: 1px solid #e8e8e8; cursor: pointer; transition: all .15s; }
.pay-method:hover { border-color: #e1251b; }
.pay-method.on { border: 2px solid #e1251b; padding: 12px 14px; background: #fffafa; }
.pay-method .ic { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; font-size: 17px; border-radius: 4px; color: #fff; }
.pay-method .ic.alipay { background: #1677ff; }
.pay-method .ic.wechat { background: #07c160; }
.pay-method .ic.card { background: #f0a020; }
.pay-method .t { font-size: 14px; }
.pay-method .t small { display: block; color: #999; font-size: 11px; font-weight: 400; }
.pay-method .rd { margin-left: auto; width: 15px; height: 15px; border: 1px solid #ccc; border-radius: 50%; }
.pay-method.on .rd { border: 4px solid #e1251b; }
.mock-tip { margin-top: 14px; padding: 9px 12px; background: #f7f8fa; color: #999; font-size: 12px; line-height: 1.7; }

.toast { position: fixed; left: 50%; top: 16%; transform: translateX(-50%) translateY(-8px); z-index: 1200; padding: 10px 22px; background: rgba(30,30,30,.88); color: #fff; font-size: 13px; border-radius: 3px; opacity: 0; pointer-events: none; transition: all .22s; max-width: 80vw; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.ok { background: rgba(30,120,60,.92); }
.toast.err { background: rgba(190,30,30,.92); }

/* ---------- 页脚 ---------- */
.footer { margin-top: 26px; background: #eaeaea; color: #666; }
.footer .promise { display: flex; justify-content: center; gap: 90px; padding: 26px 0 20px; border-bottom: 1px solid #ddd; }
.footer .promise .it { text-align: center; }
.footer .promise .it .i { font-size: 30px; line-height: 1; color: #e1251b; }
.footer .promise .it .t { margin-top: 8px; font-size: 14px; color: #333; font-weight: 600; }
.footer .promise .it .d { font-size: 12px; color: #999; margin-top: 2px; }
.footer .cr { padding: 20px 0 26px; text-align: center; color: #999; font-size: 12px; line-height: 2; }
.footer .cr a { color: #999; margin: 0 6px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1240px) {
  .wrap { width: auto; padding: 0 12px; }
  .pgrid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 992px) {
  .header .wrap { flex-wrap: wrap; gap: 12px; }
  .logo { font-size: 26px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .nav .wrap { overflow-x: auto; }
  .nav a { padding: 0 14px; font-size: 13px; white-space: nowrap; }
  .nav a.all-cate { width: auto; }
  .wrap.layout { flex-wrap: wrap; }
  .side { width: 100%; }
  .filter-group .opts { display: flex; flex-wrap: wrap; }
  .pgrid { grid-template-columns: repeat(3, 1fr); }
  .detail { flex-direction: column; }
  .detail .gallery, .detail .gallery .big { width: 100%; height: auto; }
  .detail .gallery .big { aspect-ratio: 1/1; }
  .addr-list { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: repeat(3, 1fr); }
  .footer .promise { gap: 30px; flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .shortcut .sc-left { display: none; }
  .shortcut .wrap { justify-content: center; }
  .pgrid { grid-template-columns: repeat(2, 1fr); gap: 4px; padding: 6px; }
  .pcard .price { font-size: 16px; }
  .pcard .name { font-size: 12px; }
  .addr-list { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .cart-table th:nth-child(2), .cart-table td:nth-child(2) { display: none; }
  .cart-table .pinfo img { width: 58px; height: 58px; }
  .order-card .bd { flex-direction: column; }
  .order-card .side { width: 100%; flex-direction: row; justify-content: space-between; text-align: left; }
  .order-card .g { width: 100%; }
  .otabs a { padding: 12px 12px; font-size: 13px; }
  .filter-group .opts a { margin-bottom: 4px; }
  .modal { width: 100%; }
  .footer .promise { gap: 22px; }
  .footer .promise .it .i { font-size: 22px; }
}
