/* ============================================================
 *  闪途·修配速达 — 全局样式（橙色品牌主题 / 响应式 / 前后端分离演示）
 * ============================================================ */
:root {
  --orange: #FF6A00; --orange-600: #F25C00; --orange-700: #D95000;
  --orange-soft: #FFF1E6; --orange-grad: linear-gradient(135deg, #FF8A3D 0%, #FF5E3A 100%);
  --ink: #1F2329; --ink-2: #4E5969; --muted: #8A8F99; --line: #ECEEF1;
  --bg: #F5F6F8; --card: #FFFFFF; --success: #18A058; --success-soft: #E8F7EE;
  --warn: #E37318; --radius: 14px; --radius-sm: 10px;
  --shadow: 0 2px 12px rgba(31,35,41,.06); --shadow-lg: 0 10px 34px rgba(31,35,41,.12);
  --maxw: 1480px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; background: var(--bg); color: var(--ink); font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; }
img { max-width: 100%; }

/* ---------------- 按钮 ---------------- */
.btn { border-radius: 10px; padding: 9px 16px; font-weight: 700; font-size: 13.5px; transition: transform .08s, box-shadow .2s, background .2s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange-grad); color: #fff; box-shadow: 0 4px 14px rgba(255,106,0,.30); }
.btn-primary:hover { box-shadow: 0 6px 18px rgba(255,106,0,.42); }
.btn-ghost { background: var(--bg); color: var(--ink); } .btn-ghost:hover { background: #ECEEF1; }
.btn-outline { background: #fff; color: var(--orange-700); border: 1.5px solid var(--orange); } .btn-outline:hover { background: var(--orange-soft); }
.btn-light { background: #fff; color: var(--orange-700); } .btn-light:hover { box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.btn-outline-light { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.6); } .btn-outline-light:hover { background: rgba(255,255,255,.22); }
.btn-block { width: 100%; display: block; text-align: center; }
.btn-lg { padding: 13px 18px; font-size: 15px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------------- 顶部导航 ---------------- */
.topbar { position: sticky; top: 0; z-index: 50; background: var(--card); border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(0,0,0,.02); }
.topbar-inner { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; gap: 16px; padding: 12px 24px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand .logo { width: 38px; height: 38px; border-radius: 11px; background: var(--orange-grad); display: grid; place-items: center; color: #fff; font-size: 20px; box-shadow: 0 4px 12px rgba(255,106,0,.35); }
.brand .name { font-weight: 800; font-size: 19px; } .brand .name b { color: var(--orange); } .brand .name span { color: var(--ink); }
.brand .sub { font-size: 11px; color: var(--muted); font-weight: 600; }
.city-pill { margin-left: 4px; display: inline-flex; align-items: center; gap: 4px; background: var(--orange-soft); color: var(--orange-700); padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.nav { display: flex; gap: 2px; margin-left: 6px; }
.nav a { padding: 8px 14px; border-radius: 9px; color: var(--ink-2); font-weight: 600; font-size: 13.5px; } .nav a:hover { background: var(--bg); } .nav a.active { background: var(--orange-soft); color: var(--orange-700); }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.user-chip { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; background: var(--bg); border-radius: 999px; font-weight: 700; font-size: 13px; }
.user-chip .avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--orange-grad); color: #fff; display: grid; place-items: center; font-size: 13px; }

/* ---------------- 主视觉 ---------------- */
.banner { max-width: var(--maxw); margin: 18px auto 0; padding: 0 24px; }
.banner-inner { background: var(--orange-grad); border-radius: 20px; color: #fff; padding: 30px 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; box-shadow: 0 14px 40px rgba(255,106,0,.28); }
.banner-text { max-width: 640px; }
.badge-row { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.hb-badge { background: rgba(255,255,255,.18); padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.hb-badge.ghost { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.35); }
.banner-text h1 { margin: 0 0 8px; font-size: 28px; line-height: 1.25; }
.banner-text h1 .hl { background: #fff; color: var(--orange-700); padding: 0 8px; border-radius: 8px; }
.banner-text p { margin: 0 0 16px; opacity: .96; font-size: 14.5px; }
.banner-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.banner-stats { display: flex; gap: 26px; }
.banner-stats .s { text-align: center; } .banner-stats .s b { display: block; font-size: 24px; } .banner-stats .s span { font-size: 12px; opacity: .9; }

/* ---------------- 能力条 ---------------- */
.features { max-width: var(--maxw); margin: 16px auto 0; padding: 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feat { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 18px; display: flex; align-items: center; gap: 14px; }
.feat-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--orange-soft); display: grid; place-items: center; font-size: 22px; flex-shrink: 0; }
.feat b { display: block; font-size: 14.5px; } .feat span { font-size: 12px; color: var(--muted); }

/* ---------------- 三栏布局 ---------------- */
.layout { max-width: var(--maxw); margin: 18px auto; padding: 0 24px; display: grid; grid-template-columns: 232px minmax(0,1fr) 372px; gap: 18px; align-items: start; }
.side { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; position: sticky; top: 80px; }
.side h3 { margin: 0 0 12px; font-size: 14px; display: flex; align-items: center; gap: 6px; }
.cat-list { display: flex; flex-direction: column; gap: 4px; }
.cat-item { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 600; cursor: pointer; transition: background .15s, color .15s; }
.cat-item:hover { background: var(--bg); } .cat-item.active { background: var(--orange-soft); color: var(--orange-700); }
.cat-item .cnt { font-size: 12px; color: var(--muted); font-weight: 700; } .cat-item.active .cnt { color: var(--orange-700); }
.brand-block { margin-top: 18px; } .brand-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.brand-chip { padding: 6px 11px; border-radius: 999px; background: var(--bg); color: var(--ink-2); font-size: 12px; font-weight: 700; cursor: pointer; border: 1px solid transparent; }
.brand-chip:hover { border-color: var(--orange); color: var(--orange-700); } .brand-chip.active { background: var(--orange); color: #fff; border-color: var(--orange); }

.main { min-width: 0; }
.searchbar { display: flex; gap: 10px; margin-bottom: 14px; }
.searchbar input { flex: 1; padding: 11px 14px; border-radius: 11px; border: 1px solid var(--line); background: #fff; font-size: 14px; outline: none; }
.searchbar input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-soft); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin: 4px 2px 12px; }
.section-head h2 { margin: 0; font-size: 17px; } .section-head .count { color: var(--muted); font-size: 13px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .12s, box-shadow .2s; border: 1px solid transparent; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--orange-soft); }
.card .thumb { height: 116px; background: linear-gradient(135deg, #FFF6EE, #FFE9D6); display: grid; place-items: center; font-size: 46px; position: relative; }
.card .tag { position: absolute; top: 8px; left: 8px; background: rgba(255,106,0,.92); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 7px; }
.card .brand-badge { position: absolute; top: 8px; right: 8px; background: #fff; color: var(--ink-2); font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 7px; box-shadow: var(--shadow); }
.card .body { padding: 12px 13px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card .pname { font-weight: 700; font-size: 14px; line-height: 1.35; min-height: 38px; }
.card .pspec { color: var(--muted); font-size: 12px; }
.card .price-row { display: flex; align-items: baseline; gap: 4px; margin-top: auto; }
.card .price { color: var(--orange-700); font-weight: 800; font-size: 19px; } .card .price small { font-size: 12px; }
.card .stock { font-size: 11px; color: var(--muted); }
.card .add { margin-top: 8px; background: var(--orange-grad); color: #fff; border-radius: 10px; padding: 9px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 6px; }
.card .add:hover { box-shadow: 0 5px 16px rgba(255,106,0,.4); } .card .add.in-cart { background: var(--success); }
.empty { grid-column: 1/-1; text-align: center; color: var(--muted); padding: 60px 0; }

/* 右栏结算 */
.checkout { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); position: sticky; top: 80px; display: flex; flex-direction: column; max-height: calc(100vh - 100px); }
.checkout .head { padding: 16px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.checkout .head h3 { margin: 0; font-size: 16px; display: flex; align-items: center; gap: 8px; }
.checkout .head .clear { color: var(--muted); font-size: 12px; cursor: pointer; } .checkout .head .clear:hover { color: var(--orange-700); }
.cart-list { overflow-y: auto; padding: 6px 16px; flex: 1; min-height: 60px; }
.cart-empty { text-align: center; color: var(--muted); padding: 40px 0; }
.cart-item { display: flex; gap: 10px; padding: 12px 0; border-bottom: 1px dashed var(--line); align-items: center; }
.cart-item .ci-icon { width: 40px; height: 40px; border-radius: 9px; background: var(--orange-soft); display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
.cart-item .ci-info { flex: 1; min-width: 0; } .cart-item .ci-name { font-weight: 700; font-size: 13px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item .ci-price { color: var(--orange-700); font-weight: 700; font-size: 13px; } .cart-item .ci-sub { color: var(--muted); font-size: 11px; }
.stepper { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.stepper button { width: 26px; height: 26px; border-radius: 7px; background: var(--bg); color: var(--ink); font-weight: 800; font-size: 15px; display: grid; place-items: center; }
.stepper button:hover { background: var(--orange-soft); color: var(--orange-700); }
.stepper .qty { min-width: 22px; text-align: center; font-weight: 700; }
.summary { padding: 14px 16px; border-top: 1px solid var(--line); background: #FBFCFD; }
.sum-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-2); margin-bottom: 8px; }
.sum-row.total { font-size: 16px; font-weight: 800; color: var(--ink); margin-top: 4px; } .sum-row.total .amount { color: var(--orange-700); }
.pay-note { font-size: 11.5px; color: var(--muted); margin: 4px 0 12px; display: flex; align-items: center; gap: 5px; }
.tracking { padding: 0 16px 16px; }
.tracking-card { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; background: #fff; }
.tracking-card .tc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.tracking-card .tc-status { font-weight: 800; font-size: 14px; padding: 5px 12px; border-radius: 999px; }
.status-wait { background: #FFF4E0; color: var(--warn); } .status-delivering { background: var(--orange-soft); color: var(--orange-700); } .status-done { background: var(--success-soft); color: var(--success); }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 16px 26px; color: var(--muted); font-size: 12.5px; }
.timeline li::before { content: ''; position: absolute; left: 7px; top: 3px; width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 2.5px solid var(--line); }
.timeline li::after { content: ''; position: absolute; left: 12px; top: 14px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child { padding-bottom: 0; } .timeline li:last-child::after { display: none; }
.timeline li.active { color: var(--ink); font-weight: 700; } .timeline li.active::before { border-color: var(--orange); background: var(--orange); }
.timeline li.done::before { border-color: var(--success); background: var(--success); } .timeline li.done::after { background: var(--success); }
.timeline .t-time { float: right; color: var(--muted); font-weight: 600; }
.timeline.small li { font-size: 11.5px; padding-bottom: 12px; }

/* ---------------- 服务范围 ---------------- */
.service { max-width: var(--maxw); margin: 30px auto; padding: 0 24px; }
.service-inner { background: var(--card); border-radius: 20px; box-shadow: var(--shadow); padding: 28px 30px; }
.service-head h2 { margin: 0 0 6px; font-size: 20px; } .service-head p { margin: 0 0 20px; color: var(--ink-2); } .service-head b { color: var(--orange-700); }
.service-grid { display: grid; grid-template-columns: 320px 1fr; gap: 26px; align-items: center; }
.sa-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.sa-card.center { background: linear-gradient(160deg, #FFF7F0, #FFF); }
.sa-map { width: 200px; height: 200px; margin: 0 auto 16px; }
.sa-center-info { text-align: center; } .sa-label { font-size: 12px; color: var(--muted); font-weight: 700; margin-bottom: 6px; letter-spacing: .5px; }
.sa-addr { font-size: 15px; font-weight: 800; color: var(--ink); line-height: 1.4; } .sa-sub { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.sa-card.areas .sa-label { margin-bottom: 14px; }
.sa-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.sa-chip { background: var(--orange-soft); color: var(--orange-700); padding: 8px 14px; border-radius: 10px; font-size: 13px; font-weight: 700; }
.sa-foot { margin-top: 16px; font-size: 12px; color: var(--muted); line-height: 1.6; }

/* ---------------- 移动端购物车浮层 ---------------- */
.cart-fab { display: none; position: fixed; right: 18px; bottom: 22px; z-index: 60; background: var(--orange-grad); color: #fff; border-radius: 999px; padding: 13px 20px; font-weight: 800; box-shadow: 0 8px 24px rgba(255,106,0,.45); align-items: center; gap: 8px; }
.cart-fab .badge { background: #fff; color: var(--orange-700); border-radius: 999px; padding: 1px 8px; font-size: 13px; font-weight: 800; }
.drawer-mask { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 70; }
.drawer-mask.open { display: block; }
.close-drawer { display: none; background: var(--bg); width: 34px; height: 34px; border-radius: 9px; font-size: 18px; place-items: center; }

/* ---------------- 订单中心 ---------------- */
.orders-wrap { max-width: 980px; margin: 24px auto 40px; padding: 0 18px; }
.orders-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.orders-head h1 { margin: 0; font-size: 22px; }
.orders-filter { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.of-chip { padding: 8px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink-2); font-weight: 700; font-size: 13px; }
.of-chip.active { background: var(--orange); color: #fff; border-color: var(--orange); }
.orders-list { display: flex; flex-direction: column; gap: 14px; }
.orders-empty { text-align: center; color: var(--muted); padding: 50px 0; } .orders-empty a { color: var(--orange-700); font-weight: 700; }
.order-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; }
.oc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.oc-id { font-weight: 800; font-size: 15px; margin-right: 10px; } .oc-when { font-size: 12px; color: var(--muted); }
.oc-items { border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); padding: 10px 0; }
.oi { display: flex; justify-content: space-between; font-size: 13px; padding: 4px 0; } .oi span:last-child { color: var(--orange-700); font-weight: 700; }
.oc-foot { display: flex; justify-content: space-between; align-items: center; padding: 10px 0 14px; font-size: 12.5px; color: var(--muted); }
.oc-amount b { color: var(--ink); font-size: 15px; }

/* ---------------- 登录 / 注册 ---------------- */
.auth-wrap { max-width: 440px; margin: 40px auto; padding: 0 18px; }
.auth-card { background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 30px 28px; }
.auth-card .logo-big { width: 56px; height: 56px; border-radius: 16px; background: var(--orange-grad); color: #fff; display: grid; place-items: center; font-size: 28px; margin: 0 auto 14px; box-shadow: 0 6px 18px rgba(255,106,0,.35); }
.auth-card h2 { text-align: center; margin: 0 0 4px; font-size: 20px; }
.auth-card .lead { text-align: center; color: var(--muted); font-size: 13px; margin: 0 0 22px; }
.field { margin-bottom: 14px; } .field label { display: block; font-weight: 700; font-size: 13px; margin-bottom: 6px; }
.field input { width: 100%; padding: 11px 13px; border-radius: 10px; border: 1px solid var(--line); font-size: 14px; outline: none; background: #fff; }
.field input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-soft); }
.field .hint { color: var(--muted); font-size: 11.5px; margin-top: 5px; }
.auth-switch { text-align: center; margin-top: 16px; font-size: 13px; color: var(--ink-2); } .auth-switch a { color: var(--orange-700); font-weight: 700; }
.alert { padding: 10px 14px; border-radius: 10px; font-size: 13px; font-weight: 600; margin-bottom: 14px; display: none; }
.alert.show { display: block; } .alert-error { background: #FEECEC; color: #D4380D; } .alert-success { background: var(--success-soft); color: var(--success); } .alert-info { background: var(--orange-soft); color: var(--orange-700); }

/* ---------------- 收银台（支付弹窗） ---------------- */
.cashier-backdrop { position: fixed; inset: 0; background: rgba(15,18,22,.55); z-index: 200; display: grid; place-items: center; padding: 18px; animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.cashier { position: relative; width: min(420px, 96vw); background: #fff; border-radius: 20px; padding: 26px 24px 24px; box-shadow: var(--shadow-lg); text-align: center; animation: pop .25s ease; }
@keyframes pop { from { transform: translateY(14px) scale(.97); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
.cashier-close { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 9px; background: var(--bg); font-size: 16px; color: var(--ink-2); }
.cashier-head { margin-bottom: 6px; } .cashier-title { font-size: 18px; font-weight: 800; } .cashier-sub { font-size: 12px; color: var(--muted); }
.cashier-amount { font-size: 38px; font-weight: 800; color: var(--orange-700); margin: 8px 0 2px; }
.cashier-meta { font-size: 12px; color: var(--muted); display: flex; justify-content: center; gap: 14px; margin-bottom: 16px; }
.cashier-methods { display: flex; gap: 8px; margin-bottom: 16px; }
.pay-method { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; border-radius: 12px; background: var(--bg); border: 2px solid transparent; font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.pay-method .pm-icon { font-size: 20px; } .pay-method.active { border-color: var(--mc); background: #fff; color: var(--ink); box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.cashier-qr { width: 200px; height: 200px; margin: 0 auto 10px; border-radius: 14px; padding: 8px; border: 1px solid var(--line); }
.cashier-tip { font-size: 12.5px; color: var(--muted); margin-bottom: 16px; } .cashier-tip b { color: var(--orange-700); }
.cashier-cancel { display: block; width: 100%; margin-top: 10px; background: none; color: var(--muted); font-size: 13px; font-weight: 700; padding: 8px; }
.cashier-status { font-size: 13px; font-weight: 700; margin-top: 10px; min-height: 18px; } .cashier-status.ok { color: var(--success); } .cashier-status.err { color: #D4380D; }

/* ---------------- 提示 ---------------- */
.toast { position: fixed; top: 22px; left: 50%; transform: translateX(-50%) translateY(-20px); background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 12px; font-weight: 700; font-size: 14px; z-index: 300; opacity: 0; transition: all .25s ease; box-shadow: var(--shadow-lg); pointer-events: none; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); } .toast.success { background: var(--success); } .toast.error { background: #D4380D; }

/* ---------------- 页脚 ---------------- */
.footer { max-width: var(--maxw); margin: 30px auto 36px; padding: 0 24px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 22px; }
.f-brand { font-size: 16px; margin-bottom: 8px; } .f-brand b { color: var(--orange-700); }
.f-addr { font-size: 13px; color: var(--ink-2); margin-bottom: 4px; }
.f-links { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.f-links a { color: var(--ink-2); font-weight: 600; font-size: 13px; } .f-links a:hover { color: var(--orange-700); }
.f-copy { text-align: center; color: var(--muted); font-size: 12px; margin-top: 18px; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1180px) { .layout { grid-template-columns: 200px minmax(0,1fr) 330px; } .service-grid { grid-template-columns: 280px 1fr; } }
@media (max-width: 980px) {
  .layout { grid-template-columns: 1fr; }
  .side { position: static; }
  .cat-list { flex-direction: row; flex-wrap: wrap; } .cat-item { flex: 0 0 auto; }
  .checkout { position: static; max-height: none; }
  .nav { display: none; }
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .topbar-inner { padding: 10px 14px; gap: 10px; flex-wrap: wrap; }
  .brand { font-size: 16px; } .brand .sub { display: none; }
  .city-pill { font-size: 11px; padding: 4px 9px; }
  .banner { padding: 0 14px; } .banner-inner { padding: 22px 20px; flex-direction: column; align-items: flex-start; }
  .banner-text h1 { font-size: 22px; } .banner-stats { gap: 16px; width: 100%; justify-content: space-between; flex-wrap: wrap; }
  .features { grid-template-columns: 1fr 1fr; padding: 0 14px; }
  .layout { padding: 0 14px; margin-top: 12px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card .thumb { height: 92px; font-size: 36px; }
  .cart-fab { display: flex; }
  .checkout { position: fixed; right: 0; top: 0; bottom: 0; width: min(420px, 92vw); z-index: 80; border-radius: 0; max-height: none; transform: translateX(105%); transition: transform .28s ease; }
  .checkout.open { transform: translateX(0); }
  .close-drawer { display: inline-grid; }
  .service { padding: 0 14px; } .service-grid { grid-template-columns: 1fr; }
  .footer { padding: 0 14px; }
}
