/* 忠孝Ai小店 · 黑色 / 香槟金 / 白色 · 中文简约轻奢 */
:root {
  --gold: #c8a96a;
  --black: #0b0b0c;
  --ink: #161618;
  --text: #1c1b1a;
  --muted: #827c73;
  --line: #e7e2d9;
  --bg: #f7f5f1;
  --white: #fff;
  --red: #b4372f;
  --green: #2f7a4d;
  --radius: 10px;
  --serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: var(--bg); font-size: 15px; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; font-weight: 700; }
code, pre { font-family: "SF Mono", Menlo, Consolas, monospace; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.red { color: var(--red); }
.center { text-align: center; }
.mt { margin-top: 18px; }
.nowrap { white-space: nowrap; }
.break { word-break: break-all; }
.inline { display: inline; }

/* 顶栏 */
.topbar { background: var(--black); color: #fff; border-bottom: 1px solid rgba(200, 169, 106, .35); position: sticky; top: 0; z-index: 20; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-name { font-family: var(--serif); font-size: 21px; font-weight: 700; color: #ecdcb6; letter-spacing: 2px; white-space: nowrap; }
.brand-slogan { font-size: 11px; color: #a49b88; letter-spacing: 3px; white-space: nowrap; }
.nav { display: flex; gap: 6px; }
.nav a { padding: 8px 14px; border-radius: 6px; color: #d9d3c6; font-size: 14px; white-space: nowrap; }
.nav a:hover, .nav a.on { color: var(--gold); background: rgba(200, 169, 106, .08); }

/* 按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 42px; padding: 0 22px; border-radius: 8px; border: 1px solid transparent; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { filter: brightness(1.06); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-line { border-color: var(--line); background: #fff; color: var(--text); }
.btn-line:hover { border-color: var(--gold); color: #8a6d33; }
.btn-danger { color: var(--red); }
.btn-danger:hover { border-color: var(--red); color: var(--red); }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; font-weight: 500; }
.btn-lg { height: 50px; padding: 0 34px; font-size: 17px; }
.btn-block { width: 100%; }
.btn[disabled], .btn-disabled { background: #e9e6e0; color: #9b958b; border-color: #e9e6e0; cursor: not-allowed; }
.link-btn { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 3px; }

/* 横幅 */
.hero { position: relative; background: var(--black); color: #fff; overflow: hidden; min-height: 460px; display: flex; align-items: center; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 11, 12, .92) 0%, rgba(11, 11, 12, .55) 45%, rgba(11, 11, 12, .1) 100%); }
.hero-in { position: relative; z-index: 1; padding-top: 56px; padding-bottom: 56px; }
.hero-kicker { margin: 0 0 10px; color: var(--gold); letter-spacing: 6px; font-size: 13px; }
.hero-title { font-family: var(--serif); font-size: 48px; letter-spacing: 6px; color: #f3e6c6; line-height: 1.2; }
.hero-sub { margin: 14px 0 4px; font-size: 17px; color: #ddd6c8; letter-spacing: 2px; }
.hero-slogan { margin: 0; color: var(--gold); font-family: var(--serif); font-size: 18px; letter-spacing: 4px; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

/* 公告 */
.notice { display: flex; gap: 16px; align-items: flex-start; margin-top: -26px; position: relative; z-index: 2; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--radius); padding: 16px 20px; box-shadow: 0 6px 24px rgba(0, 0, 0, .05); }
.notice-2 { margin-top: 12px; }
.notice-k { flex: none; font-weight: 700; color: #8a6d33; letter-spacing: 1px; }

/* 区块 */
.section { padding-top: 44px; }
.section:last-of-type { padding-bottom: 56px; }
.narrow { max-width: 760px; }
.sec-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.sec-head h2 { font-family: var(--serif); font-size: 26px; letter-spacing: 3px; }
.sec-line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); opacity: .6; }
.cats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.cats a { padding: 6px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; }
.cats a.on, .cats a:hover { background: var(--black); color: var(--gold); border-color: var(--black); }
.empty { padding: 60px 0; text-align: center; color: var(--muted); }

/* 商品卡片 */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card:hover { border-color: rgba(200, 169, 106, .7); }
.card-img { display: block; aspect-ratio: 4 / 3; background: var(--ink); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card.is-out .card-img img { filter: grayscale(1); opacity: .6; }
.card-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-title { font-size: 17px; line-height: 1.4; }
.card-intro { margin: 0; color: var(--muted); font-size: 13px; min-height: 20px; }
.card-price { margin-top: auto; display: flex; align-items: baseline; gap: 4px; }
.card-price small { color: var(--muted); }
.price { color: #9a3b22; font-weight: 700; font-size: 22px; font-family: "DIN Alternate", "Helvetica Neue", Arial, var(--sans); }
.card-meta { display: flex; gap: 16px; font-size: 13px; color: var(--muted); }
.card-meta b { color: var(--text); }
.tags { display: flex; flex-wrap: wrap; gap: 4px; min-height: 22px; }
.tag { display: inline-block; align-self: flex-start; font-size: 12px; padding: 1px 8px; border-radius: 4px; background: #f3ede1; color: #7d6434; margin-right: 4px; }
.tag-test { background: #fde9e7; color: var(--red); }

/* 面板 */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 20px; }
.two-col .panel { margin-bottom: 0; }
.panel-title { font-size: 18px; margin-bottom: 12px; padding-left: 10px; border-left: 3px solid var(--gold); line-height: 1.3; }
.panel-sub { font-size: 15px; margin: 18px 0 8px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.panel-head .panel-title { margin: 0; }
.prose { color: #3d3a36; }
.contact-item { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px dashed var(--line); flex-wrap: wrap; }
.contact-item:last-child { border-bottom: 0; }
.contact-k { width: 90px; color: var(--muted); }
.contact-v { font-weight: 600; font-size: 16px; }

/* 商品详情 */
.crumbs { padding-top: 20px; font-size: 13px; color: var(--muted); }
.crumbs a:hover { color: var(--gold); }
.detail { display: grid; grid-template-columns: 420px 1fr; gap: 32px; margin-top: 14px; }
.detail-img { background: var(--ink); border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; align-self: start; }
.detail-img img { width: 100%; height: 100%; object-fit: cover; }
.detail-title { font-size: 26px; line-height: 1.35; margin: 6px 0 8px; }
.detail-stats { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; color: var(--muted); padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.detail-stats b { color: var(--text); }
.field { margin-bottom: 16px; }
.label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px; }
input, select, textarea { width: 100%; font: inherit; color: var(--text); background: #fff; border: 1px solid #d9d3c8; border-radius: 8px; padding: 10px 12px; min-height: 42px; }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(200, 169, 106, .45); border-color: var(--gold); }
input[type=checkbox], input[type=radio] { width: auto; min-height: 0; accent-color: #8a6d33; }
input[type=file] { padding: 8px; background: #faf9f6; }
textarea { resize: vertical; }
.opts { display: grid; gap: 8px; }
.opts-row { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.opt { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; background: #fff; }
.opt:has(input:checked) { border-color: var(--gold); background: #fbf7ee; box-shadow: inset 0 0 0 1px var(--gold); }
.opt-name { font-weight: 600; }
.opt-price { font-weight: 700; color: #9a3b22; }
.opt-meta { grid-column: 2 / 4; font-size: 12px; color: var(--muted); }
.opt-off { opacity: .55; cursor: not-allowed; }
.opt-pay { grid-template-columns: auto 1fr; }
.qty { display: flex; align-items: stretch; width: 170px; border: 1px solid #d9d3c8; border-radius: 8px; overflow: hidden; }
.qty input { border: 0; border-radius: 0; text-align: center; min-width: 0; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-btn { width: 44px; border: 0; background: #f4f1ea; font-size: 20px; cursor: pointer; color: var(--text); }
.qty-btn:hover { background: #ebe4d4; }
.total-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; background: var(--black); border-radius: var(--radius); color: #fff; margin-top: 8px; }
.total { font-size: 30px; font-weight: 700; color: var(--gold); font-family: "DIN Alternate", "Helvetica Neue", Arial, var(--sans); line-height: 1.2; }
.total-bar .muted { color: #a49b88; }

/* 订单页 */
.flash { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; border: 1px solid; }
.flash-ok { background: #eef7f0; border-color: #bfe0c9; color: #1f5c38; }
.flash-err { background: #fdf0ee; border-color: #f2c7c1; color: #8f2a22; }
.order-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.order-no { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.order-no b { font-family: "SF Mono", Menlo, monospace; font-size: 18px; letter-spacing: 1px; }
.status { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: #f1eee8; color: #5d574d; white-space: nowrap; }
.status-pending_pay { background: #fff4e0; color: #9a6200; }
.status-pending_review { background: #e9f0fd; color: #2a5bb0; }
.status-pending_ship { background: #f3ebfb; color: #6b3fa0; }
.status-done { background: #e8f5ec; color: var(--green); }
.status-after_sale { background: #fdf0ee; color: var(--red); }
.status-refunded, .status-cancelled { background: #eeeeee; color: #777; }
.steps { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: s; }
.steps li { text-align: center; font-size: 13px; color: var(--muted); position: relative; padding-top: 30px; }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 24px; height: 24px; line-height: 24px; border-radius: 50%; background: #e7e2d9; color: #fff; font-size: 12px; z-index: 1; }
.steps li::after { content: ""; position: absolute; top: 11px; left: -50%; width: 100%; height: 2px; background: #e7e2d9; }
.steps li:first-child::after { display: none; }
.steps li.on { color: var(--text); font-weight: 600; }
.steps li.on::before, .steps li.on::after { background: var(--gold); }
.info { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin: 0; }
.info div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.info dt { color: var(--muted); flex: none; }
.info dd { margin: 0; text-align: right; word-break: break-all; }
.info dd.price { font-size: 18px; }
.pay-box { border: 1px solid var(--line); border-radius: 8px; padding: 16px; margin-bottom: 16px; background: #fcfbf8; }
.pay-head { font-weight: 600; margin-bottom: 12px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.qr { width: 240px; max-width: 100%; border: 1px solid var(--line); border-radius: 8px; background: #fff; margin: 6px auto 10px; }
.kv { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.kv span { color: var(--muted); width: 80px; }
.kv-col { align-items: flex-start; }
.addr { background: #fff; border: 1px solid var(--line); padding: 8px 10px; border-radius: 6px; word-break: break-all; flex: 1; min-width: 200px; }
.delivery { background: var(--black); color: #f1e6cc; padding: 16px; border-radius: 8px; white-space: pre-wrap; word-break: break-all; margin: 0; font-size: 14px; max-height: 360px; overflow: auto; }
.dlv-lines { list-style: none; padding: 0; margin: 12px 0 0; }
.dlv-lines li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.dlv-lines code { word-break: break-all; }
.query-box { margin-top: 20px; }

/* 页脚 */
.footer { background: var(--black); color: #a49b88; padding: 30px 0; margin-top: 30px; border-top: 1px solid rgba(200, 169, 106, .3); font-size: 13px; }
.footer-brand { font-family: var(--serif); color: #ecdcb6; font-size: 18px; letter-spacing: 2px; margin-bottom: 6px; }
.footer-brand span { font-family: var(--sans); font-size: 12px; color: var(--gold); margin-left: 12px; letter-spacing: 2px; }

/* 复制提示 */
.toast { position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%); background: var(--black); color: var(--gold); padding: 10px 20px; border-radius: 8px; border: 1px solid rgba(200, 169, 106, .5); z-index: 99; font-size: 14px; }

/* 登录页 */
body.plain { background: var(--black); }
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.auth { width: 100%; max-width: 400px; background: #fff; border-radius: 14px; padding: 30px; border-top: 3px solid var(--gold); }
.auth h1 { font-size: 20px; margin-bottom: 12px; }
.auth-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.auth-brand b { display: block; font-family: var(--serif); font-size: 20px; letter-spacing: 2px; }
.auth-brand span { font-size: 12px; color: var(--muted); letter-spacing: 2px; }

/* 后台 */
body.admin { background: #f4f2ee; }
.admin-user { display: flex; align-items: center; gap: 16px; color: #d9d3c6; font-size: 13px; }
.admin-user a:hover, .admin-user .link-btn:hover { color: var(--gold); }
.admin-wrap { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding-top: 24px; padding-bottom: 60px; max-width: 1320px; }
.admin-nav { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 92px; align-self: start; }
.admin-nav a { padding: 10px 14px; border-radius: 8px; color: #4a4640; }
.admin-nav a:hover { background: #fff; }
.admin-nav a.on { background: var(--black); color: var(--gold); }
.admin-main { min-width: 0; }
.admin-title { font-size: 22px; margin-bottom: 18px; }
.sub-title { font-size: 18px; margin-bottom: 14px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: flex; flex-direction: column; }
.stat span { color: var(--muted); font-size: 13px; }
.stat b { font-size: 24px; font-family: "DIN Alternate", "Helvetica Neue", Arial, var(--sans); margin-top: 2px; }
.stat small { color: var(--muted); }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.todo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.todo a { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; }
.todo a:hover { border-color: var(--gold); }
.todo b { font-size: 20px; color: #9a3b22; }
.list { margin: 0 0 12px; padding-left: 18px; color: var(--red); }
.chart { width: 100%; height: auto; max-height: 280px; display: block; }
.chart .bar-v, .chart .bar-l { font-family: var(--sans); }
.chart .bar { fill: var(--gold); }
.chart .bar-v { font-size: 12px; fill: #5d574d; }
.chart .bar-l { font-size: 12px; fill: #8a8378; }
.toolbar { margin-bottom: 16px; display: flex; gap: 10px; flex-wrap: wrap; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; }
.filters input, .filters select { width: auto; min-height: 34px; padding: 6px 10px; font-size: 14px; }
.filters .date { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 16px; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; background: #faf8f4; color: #6f695f; font-weight: 600; white-space: nowrap; }
.table th, .table td { padding: 10px 12px; border-bottom: 1px solid #eeeae2; vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table td a:not(.btn) { color: #7d6434; font-weight: 600; }
.table form + form, .table .btn + form, .table form + .btn, .table .btn + .btn { margin-left: 4px; }
.pager { display: flex; gap: 8px; align-items: center; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.proof { max-width: 100%; max-height: 360px; border: 1px solid var(--line); border-radius: 8px; }
.field-inline { display: flex; gap: 8px; align-items: center; }
.field-inline input { max-width: 260px; }
.w-80 { max-width: 80px; }
.row-form { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; flex-wrap: wrap; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form-grid .span2 { grid-column: 1 / -1; }
fieldset { border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px 4px; margin: 0 0 18px; }
legend { padding: 0 8px; font-weight: 700; color: #7d6434; }
.check { display: flex; align-items: center; gap: 8px; margin: 6px 0; cursor: pointer; font-weight: normal; }
.checks { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-bottom: 10px; }
.thumb { width: 120px; max-height: 90px; object-fit: contain; background: var(--ink); border-radius: 6px; margin-bottom: 8px; }
.variant { border: 1px solid var(--line); border-radius: 8px; padding: 14px; margin-bottom: 12px; background: #fcfbf8; }
.vgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 14px; align-items: end; }
.vgrid label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
.vbtns { display: flex; gap: 8px; align-items: end; }
.variant > form.inline { display: block; margin-top: 10px; }
.stock-link { display: flex; align-items: center; min-height: 42px; color: #7d6434; font-weight: 600; }
.newv { margin-top: 6px; }
.tabs { display: flex; gap: 6px; margin-bottom: 12px; align-items: center; }
.tabs a { padding: 6px 14px; border-radius: 6px; background: #fff; border: 1px solid var(--line); font-size: 14px; }
.tabs a.on { background: var(--black); color: var(--gold); border-color: var(--black); }
.tabs .right { margin-left: auto; }
.secret { display: flex; gap: 10px; align-items: center; margin: 10px 0; flex-wrap: wrap; }
.secret code { background: #faf8f4; border: 1px solid var(--line); padding: 8px 12px; border-radius: 6px; font-size: 15px; letter-spacing: 1px; }
.sticky-save { position: sticky; bottom: 0; background: #fff; padding: 12px 0; border-top: 1px solid var(--line); }

/* 手机端 */
@media (max-width: 900px) {
  .detail { grid-template-columns: 1fr; }
  .two-col, .admin-grid, .form-grid { grid-template-columns: 1fr; }
  .admin-wrap { grid-template-columns: 1fr; }
  .admin-nav { flex-direction: row; overflow-x: auto; position: static; padding-bottom: 4px; }
  .admin-nav a { white-space: nowrap; background: #fff; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .vgrid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 14px; }
  .wrap { padding: 0 14px; }
  .topbar-in { min-height: 58px; gap: 8px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-name { font-size: 17px; letter-spacing: 1px; }
  .brand-slogan { display: none; }
  .nav { gap: 0; }
  .nav a { padding: 6px 8px; font-size: 13px; }
  .hero { min-height: 0; display: block; }
  .hero-img { height: 230px; bottom: auto; object-position: 78% 72%; }
  .hero::after { background: linear-gradient(180deg, rgba(11, 11, 12, 0) 0, rgba(11, 11, 12, 0) 150px, var(--black) 230px); }
  .hero-in { padding-top: 190px; padding-bottom: 46px; }
  .hero-title { font-size: 32px; letter-spacing: 3px; }
  .hero-sub { font-size: 14px; letter-spacing: 1px; }
  .hero-slogan { font-size: 15px; }
  .notice { flex-direction: column; gap: 4px; margin-top: -20px; }
  .section { padding-top: 32px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card-body { padding: 12px; gap: 6px; }
  .card-title { font-size: 15px; }
  .card-intro { display: none; }
  .price { font-size: 19px; }
  .card-meta { gap: 10px; font-size: 12px; }
  .btn-block { height: 38px; font-size: 14px; }
  .detail-title { font-size: 21px; }
  .total-bar { position: sticky; bottom: 8px; z-index: 5; padding: 12px 14px; }
  .total { font-size: 24px; }
  .btn-lg { height: 46px; padding: 0 22px; font-size: 16px; }
  .info { grid-template-columns: 1fr; }
  .panel { padding: 16px; }
  .steps li { font-size: 12px; }
  .admin-user span { display: none; }
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat b { font-size: 19px; }
  .todo { grid-template-columns: 1fr; }
  .vgrid { grid-template-columns: 1fr; }
  .field-inline { flex-wrap: wrap; }
}
@media (max-width: 360px) {
  .grid { grid-template-columns: 1fr; }
}
