/* 国内站模板 · 页面布局：首页、列表、详情、指南、关于本店、购物袋、我的订单。 */

/* ---------- 通用区块 ---------- */
.nx-band { margin-top: 28px; }
.nx-band__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--nx-fill); }
.nx-band__head h2 { font-size: 20px; font-weight: 800; line-height: 1.3; color: var(--nx-ink); }
.nx-pagehead { padding-block: 40px 16px; }
.nx-pagehead h1 { font-size: 30px; font-weight: 700; line-height: 1.3; color: var(--nx-ink); }
.nx-pagehead p { margin-top: 6px; color: var(--nx-muted); }
.nx-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--nx-muted); }
.nx-crumbs a:not(.nx-round):hover { color: var(--nx-ink); text-decoration: underline; }
.nx-crumbs .nx-round { margin-right: 4px; }
.nx-rule { margin: 32px 0; border: 0; border-top: 1px solid var(--nx-line); }
.nx-tabs-line { display: flex; gap: 28px; margin-bottom: 28px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--nx-line-soft); }
.nx-tabs-line::-webkit-scrollbar { display: none; }
.nx-tabs-line button { flex: none; padding: 10px 0 12px; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; font-size: 15px; font-weight: 600; color: var(--nx-muted); }
.nx-tabs-line button:hover { color: var(--nx-ink); }
.nx-tabs-line button.is-on { color: var(--nx-ink); border-bottom-color: var(--nx-ink); }
.nx-empty { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 64px 16px; text-align: center; }
.nx-empty > .nx-ic { width: 44px; height: 44px; margin-bottom: 6px; stroke-width: 1.4; color: var(--nx-muted-soft); }
.nx-empty h1, .nx-empty h2 { font-size: 22px; font-weight: 600; color: var(--nx-ink); }
.nx-empty p { max-width: 420px; color: var(--nx-muted); }
.nx-empty .nx-btn { margin-top: 14px; }
.nx-empty--page { padding-block: 120px; }
.nx-prose { font-size: 16px; line-height: 1.8; color: var(--nx-body); overflow-wrap: anywhere; }
.nx-prose > * + * { margin-top: 1em; }
.nx-prose h2, .nx-prose h3, .nx-prose h4 { margin-top: 1.6em; color: var(--nx-ink); line-height: 1.4; }
.nx-prose h2 { font-size: 22px; } .nx-prose h3 { font-size: 19px; } .nx-prose h4 { font-size: 17px; }
.nx-prose a { color: var(--nx-brand-text); text-decoration: underline; text-underline-offset: 3px; }
.nx-prose img { height: auto; border-radius: var(--nx-r-btn); }
.nx-prose ul, .nx-prose ol { padding-left: 1.4em; list-style: revert; }
.nx-prose blockquote { margin-inline: 0; padding: 4px 0 4px 16px; border-left: 3px solid var(--nx-line); color: var(--nx-muted); }
.nx-prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.nx-prose td, .nx-prose th { padding: 8px 12px; border: 1px solid var(--nx-line); }

/* ---------- 全部好物 ---------- */
.nx-crumbs--plain { gap: 6px; padding-block: 16px 12px; font-size: 13px; }
.nx-crumbs--plain span:last-child { color: var(--nx-ink); }
.nx-filter { padding: 6px 20px; border-radius: 12px; background: var(--nx-canvas); }
.nx-filter__row { display: flex; align-items: flex-start; gap: 16px; padding-block: 10px; }
.nx-filter__row + .nx-filter__row { border-top: 1px dashed var(--nx-line); }
.nx-filter__label { flex: none; width: 48px; padding-top: 5px; font-size: 13px; color: var(--nx-muted); }
.nx-catchips, .nx-chips { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.nx-catchip, .nx-chipbtn, .nx-qtag { display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 12px; border: 1px solid transparent; border-radius: 6px; background: none; font-size: 13px; color: var(--nx-body); white-space: nowrap; }
.nx-catchip small { font-size: 12px; color: var(--nx-muted-soft); }
.nx-catchip:hover, .nx-chipbtn:hover { color: var(--nx-brand-text); }
.nx-catchip.is-on, .nx-chipbtn.is-on { border-color: var(--nx-fill); background: var(--nx-halo); color: var(--nx-brand-text); font-weight: 600; }
.nx-catchip.is-on small { color: var(--nx-brand-text); }
.nx-qtag { border-color: var(--nx-fill-soft); background: var(--nx-halo); color: var(--nx-brand-text); }
.nx-qtag .nx-ic { width: 14px; height: 14px; }
.nx-results { padding-top: 20px; }
.nx-results__head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.nx-results__head h1 { font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--nx-ink); }
.nx-results__head p { font-size: 13px; color: var(--nx-muted); }
.nx-results__head p:empty { display: none; }
.nx-loadmore { display: flex; justify-content: center; margin-top: 32px; }

.nx-profile__avatar { display: inline-flex; align-items: center; justify-content: center; flex: none; overflow: hidden; border-radius: 50%; background: var(--nx-canvas); box-shadow: var(--nx-shadow); }
.nx-profile__avatar .nx-brand__logo { width: 76%; height: 76%; max-width: none; object-fit: contain; }
.nx-profile__avatar .nx-brand__mono { width: 100%; height: 100%; border-radius: 50%; font-size: 28px; }
/* 灰底页面上的内容面板 */
.nx-detail, .nx-read, .nx-story { margin-top: 16px; padding-block: 8px 32px; border-radius: 12px; background: var(--nx-canvas); }
.nx-note { overflow: hidden; border-radius: 12px; background: var(--nx-canvas); }
.nx-note__cover { border-radius: 0; }
.nx-note__body { padding: 14px 16px 16px; }
.nx-bag__list { padding: 0 20px; border-radius: 12px; background: var(--nx-canvas); }
.nx-member, .nx-order { background: var(--nx-canvas); }
.nx-buy__price b, .nx-buy__save, .nx-line__price { color: var(--nx-price); }

/* ---------- 商品详情 ---------- */
.nx-detail { margin-top: 0; padding: 24px; border-radius: 12px; background: var(--nx-canvas); }
.nx-detail__top { display: grid; grid-template-columns: 460px minmax(0, 1fr); gap: 36px; align-items: start; }
.nx-detail__photo { overflow: hidden; aspect-ratio: 1 / 1; max-width: 100%; border: 1px solid var(--nx-line-soft); border-radius: 10px; background: var(--nx-soft); }
.nx-detail__photo img { width: 100%; height: 100%; object-fit: cover; }
.nx-detail__info { min-width: 0; padding-top: 4px; }
.nx-detail__title { font-size: 22px; font-weight: 700; line-height: 1.45; color: var(--nx-ink); }
.nx-pricebox { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: 16px; padding: 18px 20px; border-radius: 10px; background: linear-gradient(90deg, var(--nx-halo), var(--nx-soft)); }
.nx-pricebox__label { width: 42px; font-size: 13px; color: var(--nx-muted); }
.nx-buy__price { color: var(--nx-price); }
.nx-buy__price b { font-size: 26px; font-weight: 700; }
.nx-pricebox .nx-buy__price b { font-size: 32px; }
.nx-pricebox .nx-buy__price s { font-size: 14px; }
.nx-pricebox .nx-buy__save { padding: 2px 8px; border-radius: 4px; background: var(--nx-price); color: #fff; font-size: 12px; font-weight: 600; }
.nx-pricebox__sold { margin-left: auto; font-size: 13px; color: var(--nx-muted); }
.nx-pricebox__sold b { color: var(--nx-ink); }
.nx-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding-left: 20px; }
.nx-tags span { padding: 3px 10px; border-radius: 999px; background: var(--nx-halo); color: var(--nx-brand-text); font-size: 12px; }
.nx-pitch { margin-top: 12px; padding-left: 20px; font-size: 14px; line-height: 1.7; color: var(--nx-body); }
.nx-assure { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.nx-assure li { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; border-radius: 10px; background: var(--nx-canvas); }
.nx-assure .nx-ic { flex: none; width: 24px; height: 24px; color: var(--nx-brand-text); }
.nx-assure b { display: block; font-size: 14px; font-weight: 600; color: var(--nx-ink); }
.nx-assure small { display: block; margin-top: 2px; font-size: 12px; color: var(--nx-muted); }
.nx-specs:empty { display: none; }
.nx-specs { margin-top: 6px; }
.nx-specs > div { display: flex; align-items: center; min-height: 36px; padding: 8px 20px 0; }
.nx-specs dt { flex: none; width: 70px; font-size: 13px; color: var(--nx-muted); }
.nx-specs dd { min-width: 0; font-size: 14px; color: var(--nx-ink); }
.nx-specs dd a { color: var(--nx-brand-text); }
.nx-detail__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; padding-left: 20px; }
.nx-btn--lg { min-height: 50px; min-width: 176px; font-size: 16px; }
.nx-btn--lg .nx-ic { width: 20px; height: 20px; }
.nx-heart--text { position: static; width: auto; height: auto; gap: 4px; padding: 8px; border-radius: var(--nx-r-btn); color: var(--nx-muted); font-size: 14px; }
.nx-heart--text:hover { color: var(--nx-price); }
.nx-heart--text .nx-ic { width: 20px; height: 20px; fill: none; stroke: currentColor; }
.nx-heart--text.is-on { color: var(--nx-price); }
.nx-heart--text.is-on .nx-ic { fill: var(--nx-price); stroke: var(--nx-price); }
.nx-detail__notes { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 24px 0 0 20px; padding-top: 16px; border-top: 1px dashed var(--nx-line); }
.nx-detail__notes li { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--nx-muted); }
.nx-detail__notes .nx-ic { width: 16px; height: 16px; color: var(--nx-brand-text); }
.nx-detail__section { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--nx-line-soft); }
.nx-detail__section h2 { margin-bottom: 14px; padding-left: 10px; border-left: 4px solid var(--nx-fill); font-size: 18px; font-weight: 700; line-height: 1.2; color: var(--nx-ink); }
.nx-amenities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
.nx-amenities li { display: flex; align-items: flex-start; gap: 14px; color: var(--nx-body); }
.nx-amenities .nx-ic { width: 22px; height: 22px; stroke-width: 1.5; color: var(--nx-brand-text); }
.nx-amenities--rows { grid-template-columns: 1fr; gap: 18px; }
.nx-amenities--rows span { display: flex; flex-direction: column; overflow-wrap: anywhere; color: var(--nx-ink); font-weight: 600; }
.nx-amenities--rows small { font-size: 13px; font-weight: 400; color: var(--nx-muted); }

.nx-buy { position: sticky; top: 16px; }
.nx-buy__card { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 12px; background: var(--nx-canvas); }
.nx-buy__card h2 { font-size: 18px; font-weight: 700; color: var(--nx-ink); }
.nx-buy__hint { font-size: 12px; text-align: center; color: var(--nx-muted); }
.nx-qty { display: inline-flex; align-items: center; height: 36px; overflow: hidden; border: 1px solid var(--nx-line-strong); border-radius: 6px; background: var(--nx-canvas); }
.nx-qty button { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 100%; padding: 0; border: 0; background: var(--nx-soft); color: var(--nx-body); }
.nx-qty button:hover:not(:disabled) { color: var(--nx-brand-text); }
.nx-qty button:disabled { opacity: .35; }
.nx-qty .nx-ic { width: 14px; height: 14px; stroke-width: 2.4; }
.nx-qty input, .nx-qty output { width: 52px; height: 100%; border: 0; border-inline: 1px solid var(--nx-line); background: transparent; text-align: center; font-size: 14px; line-height: 34px; color: var(--nx-ink); -moz-appearance: textfield; }
.nx-qty input::-webkit-inner-spin-button, .nx-qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.nx-qty--sm { height: 30px; }
.nx-qty--sm button { width: 28px; }
.nx-qty--sm output { width: 40px; line-height: 28px; }
.nx-buybar { display: none; }

/* ---------- 选购指南 ---------- */
.nx-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
.nx-note { display: flex; flex-direction: column; min-width: 0; }
.nx-note__cover { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; max-width: 100%; overflow: hidden; border-radius: var(--nx-r-card); background: var(--nx-halo); color: var(--nx-brand-text); }
.nx-note__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.nx-note:hover .nx-note__cover img { transform: scale(1.03); }
.nx-note__cover > .nx-ic { width: 40px; height: 40px; stroke-width: 1.3; }
.nx-note__body { display: flex; flex-direction: column; gap: 4px; padding-top: 14px; }
.nx-note__tag { font-size: 12px; font-weight: 700; color: var(--nx-brand-text); }
.nx-note__body strong { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 17px; font-weight: 600; line-height: 1.45; color: var(--nx-ink); }
.nx-note__body > span:not(.nx-note__tag) { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 14px; color: var(--nx-muted); }
.nx-note__body small { font-size: 13px; color: var(--nx-muted-soft); }
.nx-note:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.nx-read { max-width: calc(760px + var(--nx-gutter) * 2); padding-top: 24px; }
.nx-read__title { margin-top: 24px; font-size: 32px; font-weight: 700; line-height: 1.35; color: var(--nx-ink); }
.nx-read__meta { margin-top: 10px; font-size: 14px; color: var(--nx-muted); }
.nx-read__cover { margin-block: 28px 8px; overflow: hidden; border-radius: 16px; background: var(--nx-strong); }
.nx-read__cover img { width: 100%; max-height: 460px; object-fit: cover; }
.nx-read .nx-prose { margin-top: 28px; }

/* ---------- 关于本店 ---------- */
.nx-story { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 80px; align-items: start; padding-top: 48px; }
.nx-profile { position: sticky; top: calc(var(--nx-top-h) + 32px); }
.nx-profile__card { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 32px 24px 24px; border-radius: 24px; background: var(--nx-canvas); box-shadow: rgba(0, 0, 0, .12) 0 6px 24px; text-align: center; }
.nx-profile__avatar { width: 112px; height: 112px; margin-bottom: 10px; }
.nx-profile__avatar .nx-brand__mono { font-size: 44px; }
.nx-profile__card h1 { font-size: 26px; font-weight: 700; color: var(--nx-ink); }
.nx-profile__card > p { font-size: 14px; font-weight: 600; color: var(--nx-muted); }
.nx-profile__stats { display: flex; width: 100%; margin-top: 16px; }
.nx-profile__stats:empty { display: none; }
.nx-profile__stats > div { flex: 1; display: flex; flex-direction: column-reverse; padding-top: 16px; border-top: 1px solid var(--nx-line); }
.nx-profile__stats > div + div { border-left: 1px solid var(--nx-line); }
.nx-profile__stats dd { font-size: 22px; font-weight: 700; color: var(--nx-ink); }
.nx-profile__stats dt { font-size: 12px; font-weight: 600; color: var(--nx-muted); }
.nx-story__main h2 { margin-bottom: 20px; font-size: 26px; font-weight: 700; color: var(--nx-ink); outline: none; }

/* ---------- 购物袋 ---------- */
.nx-bag { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; align-items: start; }
.nx-bag > .nx-card--ghost { max-width: 240px; }
.nx-bag > .nx-empty { grid-column: 1 / -1; }
.nx-line { display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; gap: 20px; padding-block: 24px; border-bottom: 1px solid var(--nx-line); }
.nx-line:first-child { padding-top: 8px; }
.nx-line.is-off { opacity: .6; }
.nx-line__photo { display: block; width: 104px; height: 104px; overflow: hidden; border-radius: 10px; background: var(--nx-strong); }
.nx-line__photo img { width: 100%; height: 100%; object-fit: cover; }
.nx-line__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nx-line__info strong { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 16px; font-weight: 600; color: var(--nx-ink); }
.nx-line__info > span { font-size: 14px; color: var(--nx-muted); }
.nx-line__info .nx-line__warn { color: var(--nx-error); }
.nx-line__ops { display: flex; align-items: center; gap: 20px; margin-top: auto; padding-top: 10px; }
.nx-line__price { font-size: 16px; font-weight: 600; color: var(--nx-ink); white-space: nowrap; }
.nx-sum { display: flex; align-items: baseline; justify-content: space-between; padding-block: 8px 4px; border-top: 1px solid var(--nx-line); }
.nx-sum b { font-size: 24px; color: var(--nx-ink); }

/* ---------- 购物袋结算 / 提示 ---------- */
.nx-bag__main { min-width: 0; }
.nx-bag__tools { display: flex; align-items: center; justify-content: space-between; padding: 14px 4px 0; font-size: 13px; color: var(--nx-muted); }
.nx-checkout h2 { margin-bottom: 2px; }
.nx-checkout .nx-field textarea { width: 100%; padding: 2px 0 0; border: 0; background: transparent; font-size: 15px; color: var(--nx-ink); resize: vertical; outline: none; font-family: inherit; }
.nx-checkout .nx-field input { font-size: 15px; }
.nx-checkout .nx-sum b { color: var(--nx-price); }
.nx-alert { margin-bottom: 14px; padding: 12px 16px; border: 1px solid var(--nx-fill-soft); border-radius: var(--nx-r-btn); background: var(--nx-halo); font-size: 14px; color: var(--nx-brand-text); }
.nx-alert b { display: block; margin-bottom: 2px; }
.nx-alert[data-tone="success"] { border-color: #bfe3cc; background: #f1faf4; color: #1f7a45; }
.nx-alert[data-tone="warning"] { border-color: #f3d9a8; background: #fff8ea; color: #9a5b00; }
.nx-alert[data-tone="error"] { border-color: #f2c4c0; background: #fff4f3; color: var(--nx-error); }
.nx-bag__main > .nx-alert { margin-bottom: 12px; }

/* ---------- 规格 ---------- */
.nx-skus { display: flex; flex-wrap: wrap; gap: 8px; }
.nx-sku { min-height: 34px; padding: 0 14px; border: 1px solid var(--nx-line-strong); border-radius: 6px; background: var(--nx-canvas); font-size: 13px; color: var(--nx-body); }
.nx-sku:hover:not(:disabled) { border-color: var(--nx-fill); color: var(--nx-brand-text); }
.nx-sku.is-on { border-color: var(--nx-price); background: #fff5f5; color: var(--nx-price); font-weight: 600; }
.nx-sku:disabled { opacity: .45; cursor: not-allowed; }
.nx-specs > div[data-skus] { align-items: flex-start; }
.nx-specs > div[data-skus] dt { padding-top: 7px; }

/* ---------- 我的订单 ---------- */
.nx-member { display: flex; align-items: center; gap: 16px; padding: 24px; border-radius: var(--nx-r-card); box-shadow: var(--nx-shadow); }
.nx-member__avatar { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--nx-fill); color: var(--nx-on-fill); }
.nx-member__avatar .nx-ic { width: 28px; height: 28px; }
.nx-member > div { display: flex; flex-direction: column; min-width: 0; }
.nx-member strong { font-size: 18px; font-weight: 600; color: var(--nx-ink); }
.nx-member span { font-size: 14px; color: var(--nx-muted); }
.nx-member .nx-btn { margin-left: auto; min-height: 40px; padding: 0 16px; font-size: 14px; }
.nx-orders { display: grid; gap: 16px; margin-top: 24px; }
.nx-order { overflow: hidden; border: 1px solid var(--nx-line); border-radius: var(--nx-r-card); background: var(--nx-canvas); }
.nx-order__head { display: flex; justify-content: space-between; gap: 12px; padding: 12px 20px; background: var(--nx-soft); font-size: 13px; color: var(--nx-muted); }
.nx-order__head b { flex: none; font-size: 14px; color: var(--nx-brand-text); }
.nx-order__head b[data-tone="warning"] { color: #c46a00; }
.nx-order__head b[data-tone="danger"] { color: var(--nx-error); }
.nx-order__head b[data-tone="muted"] { color: var(--nx-muted); }
.nx-order__items { padding: 4px 20px; }
.nx-oitem { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding-block: 12px; }
.nx-oitem + .nx-oitem { border-top: 1px dashed var(--nx-line); }
.nx-oitem .nx-line__photo { width: 64px; height: 64px; border-radius: 8px; }
.nx-oitem > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nx-oitem strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 600; color: var(--nx-ink); }
.nx-oitem span { font-size: 13px; color: var(--nx-muted); }
.nx-oitem > b { font-weight: 600; color: var(--nx-ink); white-space: nowrap; }
.nx-order__note { margin: 0 20px 8px; padding: 8px 12px; border-radius: 6px; background: var(--nx-soft); font-size: 13px; color: var(--nx-body); }
.nx-order__note b { margin-right: 8px; color: var(--nx-ink); }
.nx-order__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px 14px; padding: 12px 20px 16px; border-top: 1px solid var(--nx-line-soft); font-size: 13px; color: var(--nx-muted); }
.nx-order__total { margin-right: auto; }
.nx-order__foot > span:first-child { order: 0; }
.nx-order__total b { font-size: 18px; color: var(--nx-price); }
.nx-btn--sm { min-height: 34px; padding: 0 16px; font-size: 13px; }
.nx-refund { margin: 0 20px 16px; border-top: 1px dashed var(--nx-line); }
.nx-refund summary { padding: 12px 0 4px; font-size: 13px; color: var(--nx-brand-text); cursor: pointer; }
.nx-refund form { display: grid; gap: 10px; padding-top: 8px; }
.nx-refund .nx-field textarea { width: 100%; border: 0; background: transparent; font: inherit; resize: vertical; outline: none; }
.nx-refund .nx-btn { justify-self: start; }
.nx-orders + .nx-empty, .nx-member + .nx-empty { margin-top: 16px; }

/* ---------- 收银台 ---------- */
.nx-pay { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.nx-pay__order { overflow: hidden; border-radius: 12px; background: var(--nx-canvas); }
.nx-pay__sum { margin: 0 20px; padding-block: 8px; border-top: 1px solid var(--nx-line-soft); }
.nx-pay__sum > div { display: flex; justify-content: space-between; padding-block: 6px; font-size: 14px; color: var(--nx-body); }
.nx-pay__sum .is-total dd { font-size: 22px; font-weight: 700; color: var(--nx-price); }
.nx-pay__sum .is-total dt { align-self: center; font-weight: 600; color: var(--nx-ink); }
.nx-pay__addr { margin: 0 20px 20px; padding: 12px 14px; border-radius: 8px; background: var(--nx-soft); font-size: 13px; line-height: 1.8; color: var(--nx-body); }
.nx-pay__addr b { display: block; color: var(--nx-ink); }
.nx-pay__box { position: sticky; top: 16px; text-align: center; }
.nx-pay__qr { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px; border: 1px solid var(--nx-line); border-radius: 10px; }
.nx-pay__qr p { font-size: 13px; color: var(--nx-muted); }
.nx-pay__qr img, .nx-pay__qr canvas { max-width: 100%; }
.nx-pay__done { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px; color: #1f7a45; }
.nx-pay__done .nx-ic { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: #e7f6ec; stroke-width: 2.4; }
.nx-pay__done b { font-size: 18px; }
.nx-pay__done span { font-size: 13px; color: var(--nx-muted); }
.nx-pay__box .nx-alert { margin: 0; text-align: left; }

/* ---------- 响应式 ---------- */
@media (max-width: 1127px) {
  .nx-detail__top { grid-template-columns: 340px minmax(0, 1fr); gap: 24px; }
  .nx-btn--lg { min-width: 140px; }
  .nx-story { grid-template-columns: 280px minmax(0, 1fr); gap: 48px; }
  .nx-bag { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
  .nx-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 743px) {
  .nx-band { margin-top: 40px; }
  .nx-band__head { margin-bottom: 16px; }
  .nx-band__head h2 { font-size: 20px; }
  .nx-pagehead { padding-block: 24px 8px; }
  .nx-pagehead h1 { font-size: 24px; }



  .nx-detail { margin-inline: calc(var(--nx-gutter) * -1); padding: 0 var(--nx-gutter) 20px; border-radius: 0; }
  .nx-detail__top { grid-template-columns: 1fr; gap: 14px; }
  .nx-detail__photo { margin-inline: calc(var(--nx-gutter) * -1); border: 0; border-radius: 0; }
  .nx-detail__title { font-size: 17px; }
  .nx-pricebox { margin-top: 10px; padding: 12px 14px; }
  .nx-pricebox .nx-buy__price b { font-size: 26px; }
  .nx-specs > div { padding: 6px 14px 0; }
  .nx-detail__actions { margin-top: 16px; padding-left: 0; }
  .nx-detail__actions .nx-btn--lg { flex: 1; min-width: 0; min-height: 44px; }
  .nx-detail__notes { margin: 16px 0 0; }
  .nx-tags, .nx-pitch { padding-left: 0; }
  .nx-assure { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .nx-assure li { padding: 12px; }
  .nx-detail__section { margin-top: 18px; padding-top: 16px; }
  .nx-amenities { grid-template-columns: 1fr; }
  .nx-buy { position: static; }
  .nx-buybar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 12px var(--nx-gutter) calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--nx-line); background: var(--nx-canvas);
  }
  .nx-buybar .nx-buy__price { min-width: 0; font-size: 14px; }
  .nx-buybar .nx-buy__price b { font-size: 20px; }
  .nx-buybar .nx-btn { flex: none; min-width: 140px; }

  .nx-notes { grid-template-columns: 1fr; gap: 28px; }
  .nx-read__title { font-size: 24px; }
  .nx-read__cover { margin-inline: calc(var(--nx-gutter) * -1); border-radius: 0; }

  .nx-story { grid-template-columns: 1fr; gap: 32px; padding-top: 24px; }
  .nx-profile { position: static; }
  .nx-story__main h2 { font-size: 22px; }

  .nx-bag { grid-template-columns: 1fr; gap: 24px; }
  .nx-bag .nx-buy { margin-top: 0; }
  .nx-bag .nx-buy__card { padding: 20px; border: 1px solid var(--nx-line); border-radius: var(--nx-r-card); }
  .nx-line { grid-template-columns: 80px minmax(0, 1fr); gap: 14px; padding-block: 18px; }
  .nx-line__photo { width: 80px; height: 80px; }
  .nx-line > .nx-line__price { grid-column: 2; margin-top: -6px; }
  .nx-line__info strong { font-size: 15px; }

  .nx-member { flex-wrap: wrap; padding: 18px; }
  .nx-member .nx-btn { margin-left: 0; width: 100%; }
}

/* 白色面板与顶栏内容对齐 */
.nx-story { max-width: 1200px; padding: 40px; }
@media (max-width: 743px) {
  .nx-story { padding: 20px var(--nx-gutter); border-radius: 0; }
}

/* 交易页面手机布局 */
@media (max-width: 743px) {
  .nx-pay { grid-template-columns: 1fr; }
  .nx-pay__box { position: static; }
  .nx-order__head { flex-direction: column; gap: 2px; padding: 10px 14px; }
  .nx-order__items { padding: 2px 14px; }
  .nx-oitem { grid-template-columns: 56px minmax(0, 1fr); }
  .nx-oitem .nx-line__photo { width: 56px; height: 56px; }
  .nx-oitem > b { grid-column: 2; }
  .nx-order__note { margin: 0 14px 8px; }
  .nx-order__foot { padding: 10px 14px 14px; }
  .nx-order__total { flex-basis: 100%; }
  .nx-refund { margin: 0 14px 14px; }
  .nx-bag__tools { padding-inline: 0; }
}
