/* =========================================================================
   Vanby Global
   设计令牌取自生产站（wanbiao.ljjclaw.top）编译产物
   ========================================================================= */

:root {
	--brand: #9e211b;
	--brand-strong: #761713;
	--bg: #f4f3ef;
	--surface: #fff;
	--border: #d8d5cf;
	--text: #17191b;
	--muted: #666863;
	--danger: #b3402a;
	--ok: #2f7a4d;
	--warn-bg: #fdf6e3;
	--warn-border: #e8d9ab;
	--hero-bg: #070909;
	--hero-muted: #ffffffad;
	--hero-line: #ffffff2e;

	--font-sans: "Bahnschrift", "Noto Sans SC", "Source Han Sans SC", "PingFang SC",
		"Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
	--font-latin: "Bahnschrift", "Arial Narrow", Arial, sans-serif;

	--container: 960px;
	/* 端内工作台专用版心：数据密集型界面（多列宽表 + 筛选栏），
	   960px 会把表格压成竖排换行。仅 vb-body--workbench 使用。 */
	--container-wide: 1728px;
	--radius: 8px;
	--radius-sm: 6px;

	--shadow-sm: 0 1px 2px rgba(23, 25, 27, .04);
	--shadow-md: 0 8px 24px rgba(31, 27, 24, .1);
	--shadow-lg: 0 16px 48px rgba(31, 27, 24, .16);
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body.vb-body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-sans);
	font-size: 14px;
	line-height: 1.6;
	letter-spacing: 0;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.vb-skip {
	position: absolute; left: -9999px; top: 0;
	background: var(--brand); color: #fff; padding: 8px 14px; z-index: 999;
}
.vb-skip:focus { left: 8px; top: 8px; }

.vb-container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 16px;
}

.vb-main { padding: 20px 0 64px; }
.vb-main--flush { padding-top: 0; }

/* ---------- 顶栏 ---------- */
.vb-topbar {
	position: sticky; top: 0; z-index: 60;
	background: var(--surface);
	border-bottom: 1px solid var(--border);
}
.vb-topbar__inner {
	max-width: var(--container); margin: 0 auto;
	padding: 10px 16px;
	display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
}
.vb-brand { display: flex; align-items: center; gap: 10px; flex: none; }
/* 品牌位只用 logo：本站 logo 长宽比约 3.8:1，按高度定尺才能看清字。 */
.vb-brand__logo { width: auto; height: 30px; max-width: 160px; object-fit: contain; }
.vb-brand__tag {
	display: inline-flex; align-items: center;
	padding: 2px 7px; border-radius: 3px;
	background: var(--bg); border: 1px solid var(--border);
	color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .1em;
}

.vb-nav { display: flex; align-items: center; gap: 4px; flex: 1 1 auto; flex-wrap: wrap; }
.vb-nav__link {
	padding: 6px 11px; border-radius: var(--radius-sm);
	color: var(--muted); font-size: 13px; transition: all .15s;
}
.vb-nav__link:hover { color: var(--text); background: var(--bg); }
.vb-nav__link.is-active { color: var(--brand); font-weight: 600; background: #faf3f2; }

.vb-topbar__right { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.vb-currency {
	display: inline-flex; align-items: center;
	background: #f4f0e8; color: #624819;
	border-radius: 3px; padding: 3px 8px;
	font-size: 11px; font-weight: 700; letter-spacing: .06em;
}

/* 语言切换：分段控件形态，当前语言实心反白。 */
.vb-langs {
	display: inline-flex; align-items: center; gap: 2px;
	border: 1px solid var(--border); border-radius: 999px;
	padding: 2px; background: var(--surface);
}
.vb-langs__item {
	padding: 2px 9px; border-radius: 999px;
	font-size: 11px; letter-spacing: .04em; color: var(--muted);
	transition: background .15s, color .15s;
}
.vb-langs__item:hover { color: var(--text); background: var(--bg); }
.vb-langs__item.is-active { background: var(--brand); color: #fff; font-weight: 600; }
.vb-langs__item.is-active:hover { background: var(--brand-strong); color: #fff; }

.vb-userchip {
	display: inline-flex; align-items: center; gap: 8px;
	border: 1px solid var(--border); border-radius: 999px;
	padding: 4px 6px 4px 12px; background: var(--surface);
}
.vb-userchip__role {
	font-size: 11px; color: var(--brand); font-weight: 600;
	border-right: 1px solid var(--border); padding-right: 8px;
}
.vb-userchip__name { font-size: 12px; color: var(--text); max-width: 130px;
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vb-userchip__link {
	background: var(--bg); border-radius: 999px; padding: 3px 10px;
	font-size: 11px; color: var(--muted);
}
.vb-userchip__link:hover { background: var(--brand); color: #fff; }

/* ---------- 按钮 ---------- */
.vb-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 7px;
	min-height: 40px; padding: 8px 20px;
	border: 1px solid var(--brand); background: var(--brand); color: #fff;
	border-radius: var(--radius-sm); cursor: pointer;
	letter-spacing: .045em; font-size: 13px;
	transition: background .16s, border-color .16s, transform .1s;
}
.vb-btn:hover { background: var(--brand-strong); border-color: var(--brand-strong); }
.vb-btn:active { transform: translateY(1px); }
.vb-btn--lg { min-height: 46px; padding: 10px 28px; font-size: 14px; }
.vb-btn--sm { min-height: 32px; padding: 4px 12px; font-size: 12px; }
.vb-btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.vb-btn--ghost:hover { background: var(--bg); border-color: var(--text); color: var(--text); }
.vb-btn--light { background: #fff; color: var(--hero-bg); border-color: #fff; }
.vb-btn--light:hover { background: #efece5; border-color: #efece5; }
.vb-btn--danger { background: var(--danger); border-color: var(--danger); }
.vb-btn--danger:hover { background: #8f3220; border-color: #8f3220; }
.vb-btn--block { width: 100%; }
.vb-btn[disabled], .vb-btn.is-disabled {
	background: #dedbd5; border-color: #dedbd5; color: #8d8981; cursor: not-allowed;
}
.vb-btnrow { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- 卡片 / 区块 ---------- */
.vb-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 16px;
	margin-bottom: 12px;
}
.vb-card--flush { padding: 0; overflow: hidden; }
.vb-card__head {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	margin-bottom: 12px; flex-wrap: wrap;
}
.vb-card__title { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: .01em; }
.vb-card__desc { margin: 2px 0 0; font-size: 12px; color: var(--muted); }

.vb-section { margin: 28px 0; }
.vb-section__head { margin-bottom: 14px; }
.vb-section__eyebrow {
	font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
	color: var(--brand); font-weight: 700;
}
.vb-section__title { margin: 4px 0 0; font-size: 22px; font-weight: 600; letter-spacing: .01em; }
.vb-section__desc { margin: 6px 0 0; color: var(--muted); max-width: 640px; }

.vb-grid { display: grid; gap: 12px; }
.vb-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vb-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vb-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- 徽标 / 标签 ---------- */
.vb-badge {
	display: inline-block; border: 1px solid var(--border); background: var(--bg);
	color: var(--muted); border-radius: 10px; padding: 0 8px;
	font-size: 12px; line-height: 20px; white-space: nowrap;
}
.vb-badge.is-ok { color: var(--ok); border-color: #c6ded0; background: #f2f8f4; }
.vb-badge.is-warn { color: #8a6d1f; border-color: var(--warn-border); background: var(--warn-bg); }
.vb-badge.is-danger { color: var(--danger); border-color: #e8c8bd; background: #fdf1ed; }
.vb-badge.is-info { color: #31586f; border-color: #c9dbe6; background: #f2f7fa; }
.vb-badge.is-muted { color: var(--muted); }

.vb-tag {
	display: inline-block; border: 1px solid var(--border); background: var(--bg);
	color: var(--muted); border-radius: 10px; padding: 0 8px;
	font-size: 12px; line-height: 20px;
}

/* 人气排序下的浏览量标签：是「为什么这条排在前面」的唯一证据，给一点点强调色。 */
.vb-tag--views { border-color: #e8d3d0; background: #faf3f2; color: var(--brand); }

.vb-notice {
	background: var(--warn-bg); border: 1px solid var(--warn-border);
	border-radius: var(--radius-sm); padding: 10px 12px; margin: 0 0 12px;
	font-size: 13px;
}
.vb-notice.is-success { background: #f2f8f4; border-color: #c6ded0; color: #245c3a; }
.vb-notice.is-error { background: #fdf1ed; border-color: #e8c8bd; color: #8f3220; }
.vb-notice.is-info { background: #f2f7fa; border-color: #c9dbe6; color: #31586f; }

/* ---------- Hero ---------- */
.vb-hero {
	background: var(--hero-bg); color: #fff;
	padding: 56px 0 64px;
	position: relative; overflow: hidden;
}
.vb-hero::after {
	content: ""; position: absolute; inset: auto -10% -60% 40%;
	height: 420px; background: radial-gradient(circle at center, rgba(158,33,27,.55), transparent 62%);
	pointer-events: none;
}
.vb-hero__inner { position: relative; z-index: 1; }
.vb-hero__eyebrow {
	font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--hero-muted);
}
.vb-hero__title {
	margin: 14px 0 0; font-size: 40px; line-height: 1.2; font-weight: 600; letter-spacing: .01em;
	max-width: 620px;
}
.vb-hero__title em { font-style: normal; color: #e8b4ae; }
.vb-hero__desc { margin: 16px 0 0; color: var(--hero-muted); max-width: 560px; font-size: 14px; }
.vb-hero__actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.vb-hero__meta {
	margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--hero-line);
	display: flex; flex-wrap: wrap; gap: 24px; font-size: 12px; color: var(--hero-muted);
}
.vb-hero__meta strong { color: #fff; font-size: 18px; display: block; font-family: var(--font-latin); }

/* ---------- 商品卡片 ---------- */
.vb-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }

.vb-pcard {
	background: var(--surface); border: 1px solid var(--border);
	border-radius: var(--radius); overflow: hidden;
	display: flex; flex-direction: column;
	transition: box-shadow .18s, transform .18s, border-color .18s;
}
.vb-pcard:hover {
	box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: #c8c4bd;
}
.vb-pcard__media { position: relative; background: #f4f2ef; }
.vb-pcard__body { padding: 12px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.vb-pcard__brand {
	font-family: var(--font-latin); font-size: 11px; letter-spacing: .12em;
	text-transform: uppercase; color: var(--muted);
}
.vb-pcard__model { font-size: 14px; font-weight: 600; line-height: 1.35; }
.vb-pcard__meta { display: flex; flex-wrap: wrap; gap: 4px; }
.vb-pcard__price {
	margin-top: auto; padding-top: 8px; border-top: 1px solid #ebe8e2;
	display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
}
.vb-pcard__amount { font-family: var(--font-latin); font-size: 17px; font-weight: 700; }
.vb-pcard__note { font-size: 10px; color: var(--muted); line-height: 1.3; }

.vb-cur { font-size: 10px; color: var(--muted); font-family: var(--font-latin); letter-spacing: .06em; }

.vb-thumb {
	position: relative; width: 100%;
	background: linear-gradient(135deg, #efece5, #dcd8cd);
	display: grid; place-items: center; overflow: hidden;
}
.vb-thumb.r34 { aspect-ratio: 3 / 4; }
.vb-thumb.r43 { aspect-ratio: 4 / 3; }
.vb-thumb.r11 { aspect-ratio: 1 / 1; }
.vb-thumb.r32 { aspect-ratio: 3 / 2; }
.vb-thumb.is-empty span {
	font-size: 12px; color: var(--muted); letter-spacing: .08em;
}
.vb-thumb__img { width: 100%; height: 100%; object-fit: cover; }

/*
 * 卡片封面与详情页大图（.vb-gallery__img）取同一口径：3:4 竖版 + contain。
 *
 * 为什么不能用 4:3 横版 + cover：商品图有三个来源，比例互不相同 ——
 *   · 货主实拍 1440×1920（3:4 竖构图），占绝大多数；
 *   · 万表同步过来的 828×828 方图；
 *   · 老批次的 1200×900 示意卡，左上角带 "ILLUSTRATIVE ONLY"、
 *     底部带 REF / 年份 / 成色文字。
 * 拿一个横版容器配 cover 去套这三类，竖构图被上下各裁掉 22%（表盘常常只剩一半），
 * 示意卡则直接把文字切掉 —— 而买家在列表页往往只看卡片这一眼。
 * 统一容器下只有「不裁」能同时兜住三类来源：3:4 正好铺满，其余比例两侧留白。
 * 留白只是不够好看，切掉的信息是找不回来的。
 */
.vb-thumb.is-contain { background: #f4f2ef; }
.vb-thumb.is-contain .vb-thumb__img { object-fit: contain; }

/* ---------- 列表 / 表格 ---------- */
.vb-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.vb-table th {
	text-align: left; font-weight: 600; font-size: 12px; color: var(--muted);
	padding: 10px 12px; border-bottom: 1px solid var(--border);
	background: #faf9f7; white-space: nowrap;
}
.vb-table td {
	padding: 11px 12px; border-bottom: 1px solid #ebe8e2; vertical-align: middle;
}
.vb-table tr:last-child td { border-bottom: 0; }
.vb-table tbody tr:hover { background: #fbfaf8; }
.vb-table .num { font-family: var(--font-latin); text-align: right; font-variant-numeric: tabular-nums; }
.vb-table .vb-btn { white-space: nowrap; }
.vb-table form { margin: 0; }
.vb-table__wrap { overflow-x: auto; }

.vb-empty {
	text-align: center; padding: 44px 20px; color: var(--muted);
	border: 1px dashed var(--border); border-radius: var(--radius); background: #fbfaf8;
}
.vb-empty strong { display: block; color: var(--text); font-size: 15px; margin-bottom: 6px; }
/* 404 / 整页兜底：给足留白，别让一个空盒子显得像页面坏了 */
.vb-empty--tall { padding: 68px 20px; }
.vb-empty--tall strong { font-size: 18px; }
.vb-empty--tall p { margin: 0; font-size: 13px; }

/* ---------- 统计块 ---------- */
.vb-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.vb-stat {
	background: var(--surface); border: 1px solid var(--border);
	border-radius: var(--radius); padding: 14px 16px;
}
.vb-stat__label { font-size: 12px; color: var(--muted); }
.vb-stat__value {
	font-family: var(--font-latin); font-size: 24px; font-weight: 700;
	line-height: 1.25; margin-top: 4px;
}
.vb-stat__value small { font-size: 12px; color: var(--muted); font-weight: 400; margin-left: 4px; }
.vb-stat__hint { font-size: 11px; color: var(--muted); margin-top: 2px; }
.vb-stat.is-accent { border-color: #e8c8bd; background: #fdf7f5; }
.vb-stat.is-accent .vb-stat__value { color: var(--brand); }

/* ---------- 表单 ---------- */
.vb-field { margin-bottom: 14px; }
.vb-field > label {
	display: block; font-size: 12px; color: var(--muted);
	margin-bottom: 6px; letter-spacing: .02em;
}
.vb-field .req { color: var(--brand); }
.vb-input, .vb-select, .vb-textarea {
	width: 100%; min-width: 0;
	background: var(--surface); border: 1px solid var(--border);
	border-radius: var(--radius-sm); padding: 9px 12px;
	transition: border-color .16s, box-shadow .16s;
}
.vb-textarea { min-height: 110px; resize: vertical; line-height: 1.6; }
.vb-input:focus, .vb-select:focus, .vb-textarea:focus {
	outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(158,33,27,.12);
}
.vb-field__hint { font-size: 11px; color: var(--muted); margin-top: 5px; }
/* 提示行里的链接要能看出是链接 —— 游客咨询页底部那个「注册一个账号」
   不带上色时与正文同色，等于把唯一的转化入口藏了起来。 */
.vb-field__hint a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }

/*
 * 蜜罐字段（防表单机器人）—— 正常用户看不见。
 *
 * 用「移出视口」而不是 display:none：部分机器人会主动跳过 display:none 的字段，
 * 但对「存在却不可见」的字段照样会填。配合 tabindex="-1" 与 aria-hidden，
 * 键盘用户与读屏用户也不会碰到它。
 */
.vb-honeypot {
	position: absolute; left: -9999px; top: auto;
	width: 1px; height: 1px; overflow: hidden;
}
.vb-formgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.vb-formgrid .vb-field--full { grid-column: 1 / -1; }

/* 登录 / 注册卡片 */
.vb-auth { max-width: 460px; margin: 40px auto; }
.vb-auth__head { text-align: center; margin-bottom: 20px; }
/* 品牌位：方块 + 角色缩写（内部三端用 OWN / SLS / ADM） */
.vb-auth__mark {
	width: 46px; height: 46px; border-radius: 12px; margin: 0 auto 12px;
	background: var(--brand); color: #fff; display: grid; place-items: center;
	font-family: var(--font-latin); font-weight: 700; font-size: 18px; letter-spacing: .02em;
}
/* 买家端放 logo：不要底色方块，横长图按高度定尺（同顶栏 logo 的坑） */
.vb-auth__mark--logo {
	width: auto; height: auto; background: none; border-radius: 0;
	display: flex; justify-content: center;
}
.vb-auth__mark--logo img { height: 44px; width: auto; max-width: 200px; object-fit: contain; display: block; }
.vb-auth__title { margin: 0; font-size: 20px; font-weight: 600; }
.vb-auth__desc { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.vb-auth__foot { margin-top: 16px; text-align: center; font-size: 12px; color: var(--muted); }
.vb-auth__foot a { color: var(--brand); }
.vb-auth__switch {
	display: flex; gap: 4px; background: var(--bg); border: 1px solid var(--border);
	border-radius: var(--radius-sm); padding: 3px; margin-bottom: 18px;
}
.vb-auth__switch a {
	flex: 1; text-align: center; padding: 6px 8px; border-radius: 4px;
	font-size: 12px; color: var(--muted);
}
.vb-auth__switch a.is-active { background: var(--surface); color: var(--text); font-weight: 600; box-shadow: var(--shadow-sm); }

/* ---------- 筛选栏 ---------- */
.vb-filters {
	display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
	background: var(--surface); border: 1px solid var(--border);
	border-radius: var(--radius); padding: 12px; margin-bottom: 14px;
}
.vb-filters .vb-field { margin: 0; flex: 1 1 180px; }
.vb-chiprow { display: flex; flex-wrap: wrap; gap: 6px; }
.vb-chip {
	border: 1px solid var(--border); background: var(--surface);
	border-radius: 999px; padding: 3px 12px; font-size: 12px; color: var(--muted);
	cursor: pointer;
}
.vb-chip:hover { border-color: var(--brand); color: var(--brand); }
.vb-chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }

/* ---------- 排序条 ---------- */
.vb-sortbar {
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
	margin: 0 0 14px;
}
.vb-sortbar__label { font-size: 12px; color: var(--muted); }
.vb-chip--sort { display: inline-flex; align-items: center; gap: 4px; }
/* 双向箭头：未激活时两支都在（提示「可排序」），激活后 CSS 只留当前方向那一支。 */
.vb-chip__caret {
	width: 7px; height: 10px; flex: 0 0 auto;
	fill: none; stroke: currentColor; stroke-width: 1.6;
	stroke-linecap: round; stroke-linejoin: round;
	opacity: .55;
}
.vb-chip.is-active .vb-chip__caret { opacity: 1; }
.vb-chip--sort.is-asc .vb-caret-dn,
.vb-chip--sort.is-desc .vb-caret-up { display: none; }

/* ---------- 分页 ---------- */
.vb-pager {
	display: flex; align-items: center; justify-content: center; gap: 14px;
	margin: 24px 0 8px;
}
.vb-pager__btn {
	border: 1px solid var(--border); background: var(--surface);
	border-radius: var(--radius-sm); padding: 7px 16px; font-size: 13px;
}
.vb-pager__btn:hover { border-color: var(--brand); color: var(--brand); }
.vb-pager__info { font-size: 12px; color: var(--muted); }

/* ---------- 商品详情 ---------- */
.vb-detail { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; }
.vb-breadcrumb { font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.vb-breadcrumb a:hover { color: var(--brand); }
.vb-breadcrumb span { margin: 0 6px; color: #b9b5ae; }

.vb-detail__brand {
	font-family: var(--font-latin); font-size: 12px; letter-spacing: .14em;
	text-transform: uppercase; color: var(--muted);
}
.vb-detail__title { margin: 6px 0 0; font-size: 28px; font-weight: 600; line-height: 1.25; }
.vb-detail__pricerow {
	display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
	margin: 16px 0 6px;
}
.vb-detail__price { font-family: var(--font-latin); font-size: 34px; font-weight: 700; }
.vb-detail__pricenote { font-size: 12px; color: var(--muted); }

.vb-specs {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px; background: var(--border);
	border: 1px solid var(--border); border-radius: var(--radius-sm);
	overflow: hidden; margin: 18px 0;
}
.vb-spec { background: var(--surface); padding: 11px 13px; }
.vb-spec__k { font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.vb-spec__v { font-size: 14px; margin-top: 2px; }

/* ---------- 商品画廊 ---------- */
.vb-gallery { display: grid; gap: 10px; }

.vb-gallery__stage {
	position: relative;
	border: 1px solid #e1ddd8; border-radius: var(--radius-sm);
	overflow: hidden; background: #f4f2ef;
}
/*
 * 实拍图是**竖构图**：75 张里 58 张是 828×1104（正好 3:4），另有少数
 * 828×1431 的全身照。原来固定 4/3 的横容器配 object-fit:cover，
 * 等于把表壳上下各裁掉一大截 —— 二手表最该看清的地方反而没了。
 *
 * 两个决定：
 *   1) 容器改成 3:4 —— 多数图天然吻合，零裁切；
 *   2) 用 contain 而不是 cover —— 少见的全身照宁可两侧留白，也不裁。
 *      商家拍图是为了如实交代成色，裁掉的部分可能正是瑕疵所在；
 *      买家收到实物与图不符，比留两条白边严重得多。
 */
.vb-gallery__stage .vb-thumb { aspect-ratio: 3 / 4; }
.vb-gallery__img {
	display: block; width: 100%; aspect-ratio: 3 / 4;
	object-fit: contain; background: #f4f2ef;
}

.vb-gallery__nav {
	position: absolute; top: 50%; transform: translateY(-50%);
	width: 34px; height: 34px; padding: 0;
	display: grid; place-items: center;
	border: 0; border-radius: 999px; cursor: pointer;
	background: rgba(255, 255, 255, .88); color: var(--text);
	box-shadow: var(--shadow-sm);
	opacity: 0; transition: opacity .18s ease, background .18s ease;
}
.vb-gallery__nav svg { width: 17px; height: 17px; }
.vb-gallery__nav--prev { left: 10px; }
.vb-gallery__nav--next { right: 10px; }
.vb-gallery__stage:hover .vb-gallery__nav,
.vb-gallery__nav:focus-visible { opacity: 1; }
.vb-gallery__nav:hover { background: #fff; }
/* 触屏没有 hover，按钮常显 —— 否则翻页功能在手机上等于不存在 */
@media (hover: none) {
	.vb-gallery__nav { opacity: 1; }
}

.vb-gallery__count {
	position: absolute; right: 10px; bottom: 10px;
	background: rgba(23, 25, 27, .62); color: #fff;
	font-family: var(--font-latin); font-size: 11px; letter-spacing: .06em;
	padding: 3px 8px; border-radius: 999px; pointer-events: none;
}

.vb-gallery__thumbs {
	display: grid; gap: 8px;
	grid-template-columns: repeat(auto-fill, minmax(62px, 1fr));
}
.vb-gallery__thumb {
	padding: 0; aspect-ratio: 1 / 1; cursor: pointer;
	border: 1px solid var(--border); border-radius: var(--radius-sm);
	background: #fff; overflow: hidden;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.vb-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.vb-gallery__thumb:hover { border-color: #b9b5ae; }
.vb-gallery__thumb.is-active {
	border-color: var(--brand); box-shadow: 0 0 0 2px rgba(158, 33, 27, .16);
}
.vb-gallery__thumb:focus-visible {
	outline: 2px solid var(--brand); outline-offset: 2px;
}

.vb-gate {
	background: var(--warn-bg); border: 1px solid var(--warn-border);
	border-radius: var(--radius-sm); padding: 12px 14px; margin: 16px 0;
	font-size: 13px; line-height: 1.6;
}
.vb-gate strong { color: #8a6d1f; }

/* ---------- 端内工作台布局 ---------- */

/*
 * 工作台宽版式。
 *
 * 全站版心 960px 是给商城前台定的：商品网格与正文一行 70~90 字符最好读。
 * 但工作台是**数据密集型**界面 —— 后台订单表有 8 列，960px 下实测
 * 「Blancpain Fifty Fathoms」被压成三行、买家/货主列也各自折行，
 * 一屏只看得到六行订单，右侧还空掉近三分之一窗口。
 *
 * 所以按端区分：商城前台维持 960px，四端工作台放宽到 --container-wide，
 * 顶栏与页脚一并放宽，三者的左右边界才对得齐。
 * 判定类 vb-body--workbench 由 functions.php 的 vanby_is_workbench() 输出。
 */
.vb-body--workbench .vb-container,
.vb-body--workbench .vb-topbar__inner {
	max-width: var(--container-wide);
}

/* 宽屏下侧栏略加宽、两栏间距拉开，避免菜单与内容糊成一片 */
@media (min-width: 1200px) {
	.vb-body--workbench .vb-shell {
		grid-template-columns: 232px minmax(0, 1fr);
		gap: 24px;
	}
	.vb-body--workbench .vb-aside__link { font-size: 13.5px; padding: 9px 12px; }
	/* 页面标题随版心一起放大，否则全宽下会显得像个脚注 */
	.vb-body--workbench .vb-pagehead__title { font-size: 25px; }
	.vb-body--workbench .vb-pagehead { margin-bottom: 18px; }
}

/*
 * 宽表：给一个最小宽度，宁可横向滚动，也不让单元格把型号压成竖排。
 * 只在宽屏生效 —— 窄屏本来就要滚，这里不添乱。
 */
@media (min-width: 1100px) {
	.vb-body--workbench .vb-table { min-width: 940px; }
	.vb-body--workbench .vb-table th { padding: 11px 14px; }
	.vb-body--workbench .vb-table td { padding: 13px 14px; }
}

.vb-shell { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 20px; align-items: start; }
.vb-aside {
	background: var(--surface); border: 1px solid var(--border);
	border-radius: var(--radius); padding: 12px; position: sticky; top: 68px;
}
.vb-aside__title {
	font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
	color: var(--muted); padding: 4px 8px 10px;
}
.vb-aside__link {
	display: flex; align-items: center; justify-content: space-between; gap: 8px;
	padding: 8px 10px; border-radius: var(--radius-sm);
	font-size: 13px; color: var(--muted);
}
.vb-aside__link:hover { background: var(--bg); color: var(--text); }
.vb-aside__link.is-active { background: #faf3f2; color: var(--brand); font-weight: 600; }
.vb-aside__count {
	font-family: var(--font-latin); font-size: 11px; background: var(--bg);
	border-radius: 999px; padding: 0 7px; color: var(--muted);
}
.vb-aside__link.is-active .vb-aside__count { background: var(--brand); color: #fff; }

.vb-pagehead { margin-bottom: 16px; }
.vb-pagehead__title { margin: 0; font-size: 21px; font-weight: 600; }
.vb-pagehead__desc { margin: 4px 0 0; font-size: 13px; color: var(--muted); }

/* ---------- 工作台：分页 / 待办卡片 / 分享链接 ---------- */

/*
 * 分页条。
 *
 * 贴在卡片底部、与表格同一张纸上（所以底色比表格的 #faf9f7 略浅、
 * 靠一条上边框分隔），不另起一张卡片 —— 分页是表格的一部分，不是新板块。
 */
.vb-pager {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
	gap: 10px; padding: 12px 16px;
	border-top: 1px solid #ebe8e2; background: #fcfbf9;
}
.vb-pager__info { font-size: 12px; color: var(--muted); }
.vb-pager__links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.vb-pager__btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 32px; height: 30px; padding: 0 9px;
	border: 1px solid var(--border); border-radius: var(--radius-sm);
	background: var(--surface); color: var(--text);
	font-size: 12px; line-height: 1;
}
a.vb-pager__btn:hover { border-color: var(--brand); color: var(--brand); }
.vb-pager__btn.is-active {
	background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600;
}
.vb-pager__btn.is-disabled { color: #b6b2aa; background: var(--bg); cursor: not-allowed; }
.vb-pager__gap { padding: 0 2px; color: var(--muted); font-size: 12px; }

/*
 * 可点的统计卡。
 *
 * 总览那几张卡原先全是静态 div —— 运营看到「待处理售后 1」还得自己回忆
 * 该去哪个菜单找。做成链接后这一屏才是「今天的活」。
 * 注意 .vb-stat 原本是 div（block），换成 a 之后必须显式给 display:block，
 * 否则四张卡会挤成一行。
 */
a.vb-stat, a.vb-card--link {
	display: block; color: inherit; text-decoration: none;
	transition: border-color .15s, box-shadow .15s, transform .1s;
}
a.vb-stat:hover, a.vb-card--link:hover {
	border-color: var(--brand);
	box-shadow: var(--shadow-md);
	transform: translateY(-1px);
}
a.vb-stat:hover .vb-stat__label, a.vb-card--link:hover .vb-stat__label { color: var(--brand); }
a.vb-stat:active, a.vb-card--link:active { transform: translateY(0); }

/*
 * 分享链接单元格：完整链接 + 复制按钮。
 * 链接本身在窄屏会很长，交给它自己省略，按钮始终留在原地。
 */
.vb-share { display: flex; align-items: center; gap: 6px; }
.vb-share code {
	flex: 1 1 auto; min-width: 0; max-width: 280px;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 11px; color: var(--muted); white-space: nowrap;
	overflow: hidden; text-overflow: ellipsis;
}
.vb-share .vb-btn { flex: none; }

/* 售后原因：完整显示。这一列是判赔依据，不参与「省地方」。 */
.vb-reason { max-width: 460px; white-space: normal; line-height: 1.55; }

/* ---------- 订单 / 明细行 ---------- */
.vb-order {
	background: var(--surface); border: 1px solid var(--border);
	border-radius: var(--radius); margin-bottom: 12px; overflow: hidden;
}
.vb-order__head {
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
	padding: 11px 14px; background: #faf9f7; border-bottom: 1px solid var(--border);
	font-size: 12px; color: var(--muted);
}
.vb-order__no { font-family: var(--font-latin); color: var(--text); font-weight: 600; letter-spacing: .02em; }
.vb-order__body { display: flex; flex-wrap: wrap; gap: 14px; padding: 14px; align-items: center; }
.vb-order__media { width: 76px; flex: none; }
.vb-order__info { flex: 1 1 200px; min-width: 0; }
.vb-order__name { font-size: 14px; font-weight: 600; }
.vb-order__sub { font-size: 12px; color: var(--muted); margin-top: 3px; }
.vb-order__amount {
	font-family: var(--font-latin); font-size: 17px; font-weight: 700;
	text-align: right; flex: none;
}
.vb-order__actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; flex: none; }
.vb-order__actions form { margin: 0; }

.vb-kv { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--muted); }
.vb-kv b { color: var(--text); font-weight: 600; }

.vb-linkbox {
	display: flex; gap: 8px; align-items: center;
	background: #faf9f7; border: 1px solid var(--border);
	border-radius: var(--radius-sm); padding: 7px 10px; margin-top: 8px;
}
.vb-linkbox code {
	flex: 1 1 auto; min-width: 0; font-size: 11px;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
	color: var(--muted);
}

/* ---------- 空态 / 提示 ---------- */
.vb-muted { color: var(--muted); }
.vb-small { font-size: 12px; }
.vb-mono { font-family: var(--font-latin); letter-spacing: .02em; }
.vb-right { text-align: right; }
.vb-nowrap { white-space: nowrap; }
.vb-tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 12px; }
.vb-tab {
	padding: 6px 13px; border-radius: var(--radius-sm); font-size: 12px;
	color: var(--muted); border: 1px solid transparent;
}
.vb-tab:hover { background: var(--surface); border-color: var(--border); }
.vb-tab.is-active { background: var(--surface); border-color: var(--border); color: var(--brand); font-weight: 600; }

/* ---------- 页脚 ---------- */
.vb-footer {
	background: var(--surface); border-top: 1px solid var(--border);
	padding: 32px 0 26px; margin-top: 40px;
}
.vb-footer__grid {
	display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 24px;
}
.vb-footer__brand { font-family: var(--font-latin); font-size: 15px; font-weight: 700; letter-spacing: .04em; }
/* 页脚品牌位改用 logo 图：横长图按高度定尺，line-height 归零去掉图片下方的行盒间隙 */
.vb-footer__brand--logo { line-height: 0; }
.vb-footer__brand--logo img { height: 26px; width: auto; max-width: 190px; object-fit: contain; display: block; }
.vb-footer__desc { font-size: 12px; color: var(--muted); margin-top: 8px; max-width: 260px; }
.vb-footer__coltitle { font-size: 12px; font-weight: 600; margin-bottom: 10px; }
.vb-footer__link { display: block; font-size: 12px; color: var(--muted); padding: 3px 0; }
.vb-footer__link:hover { color: var(--brand); }
.vb-footer__bottom {
	margin-top: 26px; padding-top: 16px; border-top: 1px solid #ebe8e2;
	display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
	font-size: 11px; color: var(--muted);
}

/* ---------- 端口入口卡（首页） ---------- */
.vb-entries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.vb-entry {
	display: block; background: var(--surface); border: 1px solid var(--border);
	border-radius: var(--radius); padding: 16px;
	transition: border-color .16s, box-shadow .16s, transform .16s;
}
.vb-entry:hover { border-color: var(--brand); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.vb-entry__tag {
	display: inline-block; font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
	color: var(--brand); border: 1px solid #e8c8bd; background: #fdf7f5;
	border-radius: 3px; padding: 1px 6px;
}
.vb-entry__title { margin: 9px 0 0; font-size: 16px; font-weight: 600; }
.vb-entry__desc { margin: 5px 0 0; font-size: 12px; color: var(--muted); line-height: 1.55; }
.vb-entry__foot {
	margin-top: 12px; padding-top: 10px; border-top: 1px solid #ebe8e2;
	font-size: 11px; color: var(--muted); display: flex; justify-content: space-between; gap: 8px;
}
.vb-entry__foot code { font-family: ui-monospace, Menlo, monospace; color: var(--text); }

/* ---------- 服务与保障（首页信任背书） ---------- */
/* 独立栅格类：不复用 .vb-grid--4，免得被「手机上单列」的通用规则压掉 */
.vb-assure-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.vb-assure {
	background: var(--surface); border: 1px solid var(--border);
	border-radius: var(--radius); padding: 16px;
	display: flex; flex-direction: column; gap: 8px;
}
/* 用汉字做「印记」而不是图标字体：本品类里方块字比通用图标更贴气质，
   也省掉一个图标依赖。纯装饰，已 aria-hidden。 */
.vb-assure__mark {
	width: 34px; height: 34px; border-radius: 9px; flex: 0 0 auto;
	display: grid; place-items: center;
	background: #fdf7f5; border: 1px solid #e8c8bd; color: var(--brand);
	font-size: 16px; font-weight: 600; line-height: 1;
}
.vb-assure__title { margin: 0; font-size: 15px; font-weight: 600; }
.vb-assure__desc { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.6; }

/* 印记与图形左右分列（印在左、图形在右）。
   这条是结构性的，别挂在任何方案前缀下 —— 否则换视口/换上下文时会退化成上下堆叠。 */
.vb-assure__top { display: flex; align-items: center; justify-content: space-between; }

/*
 * 线描图形的公共笔法。
 * fill:none + stroke:currentColor 不能省 —— SVG 默认 fill 是黑色实心，
 * <use> 引用 <symbol> 时也一样：不显式关掉填充，线描图形会被填成一坨色块
 * （放大镜变圆点、档案变方块、盾牌被填满）。
 */
.vb-assure__art {
	width: 30px; height: 30px; flex: 0 0 auto;
	color: var(--brand); opacity: .62;
	fill: none; stroke: currentColor; stroke-width: 1.5;
	stroke-linecap: round; stroke-linejoin: round;
}

/*
 * 流程轴：01 → 04。
 * 这是一条「横线 + 四个等距圆点」，用 grid 的四列对齐下面的四张卡；
 * 圆点用 justify-self:center 落在每列中央，横线左右各留 12.5%
 * （= 半个列宽）从第一个圆点连到最后一个圆点，两端不溢出。
 */
.vb-flowline {
	position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px; margin: 0 0 10px;
}
.vb-flowline::before {
	content: ''; position: absolute; left: 12.5%; right: 12.5%; top: 9px;
	height: 1px; background: #e0b6a8;
}
.vb-flowline b {
	position: relative; z-index: 1; justify-self: center;
	width: 19px; height: 19px; border-radius: 50%;
	display: grid; place-items: center;
	background: var(--surface); border: 1px solid #e0b6a8; color: var(--brand);
	font-family: var(--font-latin);
	font-size: 9.5px; font-weight: 700; letter-spacing: 0;
}
.vb-flowline b.is-end { background: var(--brand); border-color: var(--brand); color: #fff; }

.vb-assure__foot {
	margin: 14px 0 0; font-size: 13px; color: var(--muted); text-align: center;
}
.vb-assure__foot a { color: var(--brand); }

/* 商品详情页的保障条 */
.vb-assure-list { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.vb-assure-list li {
	font-size: 12.5px; color: var(--muted); line-height: 1.6;
	padding-left: 14px; position: relative;
}
.vb-assure-list li::before {
	content: ''; position: absolute; left: 0; top: 7px;
	width: 5px; height: 5px; border-radius: 50%; background: #e0b6a8;
}
.vb-assure-list b { color: var(--text); font-weight: 600; margin-right: 4px; }

/* 首页收口区 —— 替代原「专业…」三张功能卡（那三张里两张与首屏重复、一张是新客死路） */
.vb-close {
	background: var(--surface); border: 1px solid var(--border);
	border-radius: var(--radius); padding: 22px;
	display: flex; align-items: center; justify-content: space-between;
	gap: 20px; flex-wrap: wrap;
}
.vb-close__body { flex: 1 1 320px; min-width: 0; }
.vb-close__actions { display: flex; flex-direction: column; gap: 8px; flex: 0 0 auto; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
	.vb-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.vb-grid--4, .vb-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.vb-assure-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.vb-close { padding: 18px; gap: 14px; }
	.vb-shell { grid-template-columns: minmax(0, 1fr); }
	.vb-aside { position: static; }
	.vb-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.vb-detail { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
	body.vb-body { font-size: 13px; }
	.vb-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.vb-grid--3, .vb-grid--4, .vb-stats { grid-template-columns: minmax(0, 1fr); }
	.vb-formgrid { grid-template-columns: minmax(0, 1fr); }
	.vb-hero { padding: 36px 0 40px; }
	.vb-hero__title { font-size: 27px; }
	.vb-section__title { font-size: 19px; }
	.vb-detail__title { font-size: 22px; }
	.vb-detail__price { font-size: 26px; }
	.vb-specs { grid-template-columns: minmax(0, 1fr); }
	.vb-nav { order: 3; width: 100%; overflow-x: auto; flex-wrap: nowrap; }
	.vb-nav__link { white-space: nowrap; }
	.vb-topbar__right { margin-left: auto; gap: 6px; }
	.vb-currency { display: none; }
	.vb-langs__item { padding: 2px 7px; }
	.vb-entries { grid-template-columns: minmax(0, 1fr); }
	/* 保障条目短，手机上保持两列更好扫读，也少掉一屏滚动 */
	.vb-assure { padding: 13px; gap: 6px; }
	.vb-assure__mark { width: 28px; height: 28px; border-radius: 7px; font-size: 14px; }
	.vb-assure__art { width: 24px; height: 24px; opacity: .55; }
	.vb-assure__title { font-size: 14px; }
	.vb-assure__desc { font-size: 12px; }
	/* 流程轴在手机上必须撤掉：四卡折成两行两列，01→04 的横线会被折断，
	   保留反而让人以为「流程断了」—— 比没有轴更糟。 */
	.vb-flowline { display: none; }
	/* 收口区在手机上按钮要占满整行，别留出半截空白 */
	.vb-close { padding: 16px; }
	.vb-close__actions { width: 100%; }
	.vb-order__amount { text-align: left; }
	.vb-order__actions { justify-content: flex-start; width: 100%; }
	.vb-footer__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 法律与合规页 ---------- */
/*
 * 正文列宽刻意收窄。法务文本的价值在「读得进去」，
 * 而全站版心（960px）铺满一行会是 90+ 字符，读三段就会跳行。
 * 收在 760px 左右接近 70 字符的可读区间，右侧留白反而让页面显得更正式。
 */
.vb-legal { max-width: 760px; }
.vb-legal__head { padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.vb-legal__title { font-size: 26px; font-weight: 700; letter-spacing: -.01em; margin: 6px 0 0; }
.vb-legal__summary {
	font-size: 14px; color: var(--muted); line-height: 1.7;
	margin: 10px 0 0; max-width: 640px;
}
.vb-legal__stamp {
	display: flex; flex-wrap: wrap; gap: 8px 18px;
	margin-top: 14px; font-size: 12px; color: var(--muted);
}
.vb-legal__stamp b { color: var(--text); font-weight: 600; }

/* 待完善提示：与站点其它提示同色系（警示黄），不新造一套视觉语言 */
.vb-legal__pending {
	background: var(--warn-bg); border: 1px solid var(--warn-border);
	border-radius: var(--radius-sm); padding: 12px 14px; margin: 20px 0 0;
	font-size: 13px; color: #6b5218;
}
.vb-legal__pending strong { display: block; font-size: 13px; margin-bottom: 4px; }
.vb-legal__pending p { margin: 0; line-height: 1.65; color: #7a5f1d; }
.vb-legal__pending ul {
	margin: 8px 0 0; padding-left: 18px;
	display: flex; flex-wrap: wrap; gap: 2px 16px; list-style: disc;
}
.vb-legal__pending li { font-size: 12px; }

.vb-legal__body { margin-top: 24px; }
.vb-legal__block { padding: 0 0 20px; margin-bottom: 20px; border-bottom: 1px solid #ebe8e2; }
.vb-legal__block:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.vb-legal__block h2 {
	font-size: 15px; font-weight: 600; margin: 0 0 10px;
	color: var(--text); letter-spacing: -.005em;
}
.vb-legal__block p { font-size: 13px; line-height: 1.85; color: #3a3d40; margin: 0 0 10px; }
.vb-legal__block p:last-child { margin-bottom: 0; }
.vb-legal__block ul { margin: 0 0 10px; padding-left: 20px; }
.vb-legal__block li { font-size: 13px; line-height: 1.85; color: #3a3d40; margin-bottom: 6px; }
.vb-legal__block li::marker { color: var(--brand); }
.vb-legal__cta { margin-top: 12px; }

.vb-legal__entity { margin-top: 26px; }
.vb-legal__entity .vb-kv { flex-direction: column; gap: 8px; font-size: 13px; }
.vb-legal__entity .vb-kv > span { display: flex; gap: 10px; }
.vb-legal__entity .vb-kv > span::before { content: ""; }
/* 待确认值用红色标出，避免它被当成已生效的正式条款读过去 */
.vb-legal__entity .is-pending { color: var(--danger); }

.vb-legal__more {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
	margin: 22px 0 8px; padding-top: 16px; border-top: 1px solid var(--border);
	font-size: 12px; color: var(--muted);
}
.vb-legal__more a { color: var(--brand); }
.vb-legal__more a:hover { text-decoration: underline; }

/* 页脚法务链接行：横向一行，放在版权行上方 */
.vb-footer__legal {
	display: flex; flex-wrap: wrap; gap: 6px 18px;
	margin-top: 26px; padding-top: 16px; border-top: 1px solid #ebe8e2;
}
.vb-footer__legal .vb-footer__link { display: inline; padding: 0; }

@media (max-width: 640px) {
	.vb-legal__title { font-size: 22px; }
	.vb-legal__block h2 { font-size: 14px; }
	.vb-footer__legal { gap: 8px 14px; }
}

/* ---------- 顶栏通知铃铛 ---------- */
.vb-sr {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.vb-bell {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 30px; height: 30px; border-radius: 50%;
	color: var(--muted); transition: color .16s, background .16s;
}
.vb-bell:hover { color: var(--brand); background: #f6f4f1; }
.vb-bell__ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.vb-bell__count {
	position: absolute; top: -1px; right: -1px;
	min-width: 15px; height: 15px; padding: 0 3px;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--brand); color: #fff; font-size: 10px; font-weight: 600;
	line-height: 1; border-radius: 8px; font-family: var(--font-latin);
}

/* ---------- 收藏通知列表 ---------- */
.vb-notifies { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; }
.vb-notify {
	display: flex; gap: 12px; align-items: flex-start;
	padding: 12px 14px; border-radius: var(--radius-sm);
	border-left: 3px solid transparent;
	transition: background .14s, border-color .14s;
}
.vb-notify:hover { background: #faf9f7; }
/* 未读：左侧色条 + 名字加粗。不用背景色，否则一屏都是未读时整页发花 */
.vb-notify.is-unread { border-left-color: var(--brand); background: #fdfcfb; }
.vb-notify.is-unread .vb-notify__name { font-weight: 600; }
.vb-notify__media { flex: 0 0 auto; width: 60px; }
.vb-notify__media img, .vb-notify__media .vb-thumb { width: 60px; border-radius: var(--radius-sm); display: block; }
.vb-notify__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.vb-notify__top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vb-notify__type {
	font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 4px;
	background: #f2f1ee; color: var(--muted);
}
.vb-notify__type.is-price_drop { background: #faf3f2; color: var(--brand); }
.vb-notify__type.is-restock    { background: #f2f8f4; color: #2f7a4d; }
.vb-notify__type.is-new_listing{ background: #f2f7fa; color: #31586f; }
.vb-notify__type.is-sold       { background: #f2f1ee; color: #6a6a66; }
.vb-notify__time { font-size: 11px; color: var(--muted); }
.vb-notify__name { font-size: 13px; color: var(--text); }
.vb-notify__detail { font-size: 12px; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; }
.vb-notify__old { text-decoration: line-through; }
.vb-notify__new { color: var(--brand); font-weight: 600; }

@media (max-width: 640px) {
	.vb-bell { width: 26px; height: 26px; }
	.vb-notify { padding: 10px 12px; }
	.vb-notify__media, .vb-notify__media img, .vb-notify__media .vb-thumb { width: 48px; }
}

/* ---------------------------------------------------------------------------
 * 价格框：含费到手价 + 费用明细
 *
 * 挂牌价之外还有客户端服务费，如果把服务费藏到结算页才出现，
 * 买家会觉得被加价。这里把它和挂牌价一起摊开，付款方式切换时总额实时跟着变。
 * ------------------------------------------------------------------------ */
.vb-pricebox {
	margin: 16px 0 6px;
	padding: 14px 16px;
	background: #faf9f7;
	border: 1px solid var(--border);
	border-radius: var(--radius);
}
.vb-pricebox__head { display: flex; align-items: center; gap: 10px; }
.vb-pricebox__label { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.vb-pricebox__total {
	font-family: var(--font-latin);
	font-size: 34px;
	font-weight: 700;
	line-height: 1.15;
	margin: 4px 0 10px;
}
/*
 * 说明（2026-10-13）：价格框原先逐项列出「腕表价格 / 检测与售后服务费 /
 * 信用卡通道费」，现按裁决收敛为「只给一个到手总价」，费用构成移入
 * 《购买须知》。故 __lines / __line 相关样式一并撤除；提示行改用虚线
 * 分隔承接原有视觉节奏，避免总价下方显得空。
 *
 * 另：历史上这里踩过一个坑 —— UA 的 [hidden]{display:none} 优先级低于
 * 作者写的 display:flex，不清掉的话「切到电汇时」信用卡通道费那一行
 * 会一直挂在页面上。元素虽已移除，将来若恢复明细行必须同时补回兜底。
 */
.vb-pricebox__note {
	font-size: 12px;
	color: var(--muted);
	margin: 12px 0 0;
	padding-top: 10px;
	border-top: 1px dashed var(--border);
	line-height: 1.6;
}
.vb-pricebox__note a { color: var(--brand-strong); font-weight: 600; }

/* ---------------------------------------------------------------------------
 * 付款方式选择：电汇免附加费、信用卡按卡组织跨境成本加收
 * ------------------------------------------------------------------------ */
.vb-paymethod { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.vb-paymethod__opt {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 9px 12px;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: var(--surface);
	cursor: pointer;
	font-size: 13px;
}
.vb-paymethod__opt:has(input:checked) {
	border-color: var(--brand);
	box-shadow: inset 0 0 0 1px var(--brand);
}
.vb-paymethod__hint { font-size: 11px; color: var(--muted); }
.vb-paymethod--sm { margin: 0; gap: 6px; }
.vb-paymethod--sm .vb-paymethod__opt { padding: 5px 9px; font-size: 12px; }

/* 订单卡费用明细：总额下面摊开腕表价格 / 服务费 / 刷卡附加 */
.vb-order__total { font-family: var(--font-latin); font-size: 17px; font-weight: 700; }
.vb-order__fee {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 10px;
	justify-content: flex-end;
	font-size: 11px;
	color: var(--muted);
	margin-top: 3px;
}

@media (max-width: 640px) {
	.vb-pricebox { padding: 12px 13px; }
	.vb-pricebox__total { font-size: 26px; }
	.vb-order__fee { justify-content: flex-start; }
}

/* 支付前的服务费确认：勾选才允许提交（后端还会再校验一次，前端只是提示）。 */
.vb-consent {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	margin: 10px 0 6px;
	font-size: 12px;
	line-height: 1.5;
	color: var(--muted);
}
.vb-consent input { margin-top: 2px; flex: 0 0 auto; }
.vb-consent b { color: var(--text); }
