/* ==========================================================================
   Altarmala · 组件层：按钮 / 卡片 / 顶栏 / 页脚 / Tab 栏 / 轮播 / 表单
   扁平克制：不加渐变，阴影仅用于卡片 hover。
   ========================================================================== */

/* ---------------- 按钮 ---------------- */
.am-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 1px solid transparent;
	border-radius: var(--am-radius-pill);
	font-size: var(--am-fs-base);
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color var(--am-transition), border-color var(--am-transition), color var(--am-transition);
	padding: 13px 28px; /* 中号 */
}
.am-btn--lg { padding: 16px 36px; font-size: var(--am-fs-base); }
.am-btn--sm { padding: 8px 16px; font-size: var(--am-fs-sm); }

/* WhatsApp 主按钮（全站最核心 CTA） */
.am-btn--wa { background: var(--am-wa-deep); color: #fff; }
.am-btn--wa:hover { background: #116139; color: #fff; }

/* 墨绿主按钮 */
.am-btn--primary { background: var(--am-primary); color: var(--am-paper); }
.am-btn--primary:hover { background: var(--am-primary-deep); color: var(--am-paper); }

/* 金色强调按钮 */
.am-btn--gold { background: var(--am-gold-text); color: #fff; }
.am-btn--gold:hover { background: #6f5327; color: #fff; }

/* 描边按钮 */
.am-btn--outline { background: transparent; border-color: var(--am-line); color: var(--am-ink); }
.am-btn--outline:hover { border-color: var(--am-gold); color: var(--am-gold-deep); }

/* 金边次级 CTA（透明底 + 金描边，维持零蓝） */
.am-btn--ghost-gold { background: transparent; border-color: var(--am-gold); color: var(--am-gold-deep); }
.am-btn--ghost-gold:hover { background: var(--am-gold); color: #fff; }

.am-btn--block { width: 100%; }

/* ---------------- 统一交互状态与动效（v1.4.0） ----------------
   四态：hover（已有）/ focus-visible（键盘可见）/ active（按下回弹）/ disabled（禁用） */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--am-gold);
	outline-offset: 2px;
	border-radius: 4px;
}
/* 按下瞬间回弹 150ms：纯 CSS 反馈，不触碰任何 PHP / JS 逻辑 */
.am-btn:active { transform: scale(.97); transition-duration: .15s; }
.am-btn[disabled],
.am-btn:disabled,
button[disabled],
button:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------------- 顶栏（v1.2.0 · 方案 B 单行三区 + 滚动收缩） ---------------- */
.am-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: rgba(255, 253, 249, .95);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--am-line); /* 唯一一条分隔线 */
	transition: background-color .2s ease, box-shadow .2s ease;
}
.am-header.is-scrolled { box-shadow: 0 0 10px rgba(31, 59, 52, .06); }
.am-header.is-condensed {
	background: rgba(255, 253, 249, .97);
	box-shadow: 0 6px 20px rgba(31, 59, 52, .08);
}

/* 主行：Logo（左） | 主导航（中，桌面内嵌主行） | 操作区（右）
   ≤1100px 时导航以 flex-basis:100% 自动折到第二行（见响应式段） */
.am-header__inner {
	min-height: var(--am-header-h);
	padding-block: 0; /* 高度完全由 min-height 控制 */
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	align-content: center;
	column-gap: 12px;
	row-gap: 0;
	transition: min-height .22s ease;
}
.am-header.is-condensed .am-header__inner { min-height: var(--am-header-h-condensed); }

/* Logo（v1.3.0 新品牌层级，纯 CSS 矢量重排）：
   案珠记（主，衬线金色，大字在上）+ 1px 横线延伸到右端收金色珠点 + Altarmala（辅，宽字距小字在下）
   对应新品牌位图设计的比例关系；零图片请求，任意缩放清晰。 */
.am-logo {
	flex: 0 0 auto;
	display: inline-flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: center; /* v1.4.3：min-height 44 触控达标后锁定组垂直居中，视觉位移 <1px */
	min-height: 44px; /* v1.4.3：移动端验收 P1-2，品牌锁定组触控目标 ≥44px（Apple HIG） */
	text-decoration: none;
	white-space: nowrap;
}
.am-logo__zh {
	font-family: var(--am-font-serif);
	font-size: 21px;
	font-weight: 700;
	letter-spacing: 4px;
	line-height: 1.15;
	color: var(--am-gold-deep);
	transition: color var(--am-transition);
}
.am-logo__rule {
	display: block;
	height: 1px;
	background: var(--am-gold-deep);
	opacity: .85; /* v1.4.0：原 .55 在米色底上几乎隐形，横线断了「案珠记 → 珠点」的视觉引导 */
	margin-block: 4px 3px;
	position: relative;
}
.am-logo__rule::after {
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 6px; /* v1.4.0：5px 的珠点在 40px 高的 Logo 里像毛刺，放大到 6px 才成为记忆点 */
	height: 6px;
	border-radius: 50%;
	background: var(--am-gold-deep);
	opacity: 1;
}
.am-logo__en {
	font-family: var(--am-font-body);
	font-size: 12px; /* v1.4.3：移动端验收 P2-1，10px 低于 12px 可读下限 */
	letter-spacing: .18em;
	color: var(--am-muted);
	line-height: 1.1;
}
.am-logo:hover .am-logo__zh { color: var(--am-gold); }
/* 例外说明：Logo 是品牌标识锁定（brand lockup），字号不参与正文 7 级阶梯，
   用固定值保证两档（64 / 52px 行高）下的比例关系与设计稿一致。 */
.am-header.is-condensed .am-logo__zh { font-size: 18px; letter-spacing: 3px; }
.am-header.is-condensed .am-logo__rule { margin-block: 3px 2px; }
.am-header.is-condensed .am-logo__en { font-size: 12px; } /* v1.4.3：随 P2-1 同步 12px 下限 */

/* 导航（回到主行并居中；一级项任何时候不得换行） */
.am-nav {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}
.am-nav__list {
	display: flex;
	flex-wrap: nowrap; /* 一级项不得换行 */
	align-items: center;
	justify-content: center;
	gap: 4px 18px; /* 阶梯生效层级：gap 写在 .am-nav__list 上 */
	row-gap: 0;
	max-width: 100%;
	list-style: none;
	margin: 0;
	padding: 0;
}
.am-nav__item { position: relative; margin: 0; flex: 0 0 auto; }
.am-nav__link {
	font-size: var(--am-fs-sm);
	color: var(--am-muted);
	padding: 6px 0;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	white-space: nowrap; /* 导航文字不在词内断开 */
}
.am-nav__link:hover,
.am-nav__item.is-open > .am-nav__link { color: var(--am-gold-deep); }

.am-nav__sub {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	min-width: 168px;
	background: var(--am-paper);
	border: 1px solid var(--am-line);
	border-radius: var(--am-radius-card);
	padding: 8px 0;
	margin: 0;
	list-style: none;
	box-shadow: var(--am-shadow-card);
	opacity: 0;
	visibility: hidden;
	transition: opacity .18s ease, visibility .18s ease;
	z-index: 70;
}
.am-nav__item:hover .am-nav__sub,
.am-nav__item.is-open .am-nav__sub { opacity: 1; visibility: visible; }
.am-nav__sub li { margin: 0; }
.am-nav__sub a {
	display: block;
	padding: 9px 20px;
	font-size: var(--am-fs-sm);
	color: var(--am-ink);
}
.am-nav__sub a:hover { background: var(--am-ivory); color: var(--am-gold-deep); }

.am-header__actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; margin-left: auto; }
.am-iconbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px; height: 36px;
	border-radius: 999px;
	border: 1px solid transparent;
	background: transparent;
	color: var(--am-gold);
	position: relative;
	padding: 0;
}
.am-iconbtn:hover { background: var(--am-ivory); }
.am-iconbtn svg { width: 20px; height: 20px; }
.am-header.is-condensed .am-header__actions { gap: 6px; }
.am-header.is-condensed .am-iconbtn { width: 32px; height: 32px; }
.am-header.is-condensed .am-iconbtn svg { width: 18px; height: 18px; }

/* WhatsApp CTA：≥1400px 为胶囊，<1400px 折叠为圆形图标（省出空间给导航） */
.am-header__wa { gap: 6px; }
.am-header__wa .am-icon { display: none; }

.am-cart-count {
	position: absolute;
	top: 2px; right: 0;
	min-width: 17px; height: 17px;
	padding: 0 4px;
	border-radius: 999px;
	background: var(--am-gold);
	color: #fff;
	font-size: var(--am-fs-xs);
	line-height: 17px;
	text-align: center;
	font-weight: 600;
}

.am-burger {
	display: none;
	width: 36px; height: 36px;
	background: transparent;
	border: 0;
	padding: 0;
	cursor: pointer;
	color: var(--am-primary);
}

/* 移动端抽屉 */
.am-drawer {
	position: fixed;
	inset: 0 0 0 auto;
	width: min(86vw, 360px);
	background: var(--am-paper);
	transform: translateX(100%);
	transition: transform .25s ease;
	z-index: 90;
	padding: 24px 20px;
	overflow-y: auto;
	box-shadow: -6px 0 24px rgba(31, 59, 52, .12);
}
.am-drawer.is-open { transform: translateX(0); }
.am-drawer__top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 4px;
}
.am-drawer__close { background: transparent; border: 0; font-size: var(--am-fs-xl); line-height: 1; cursor: pointer; color: var(--am-muted); }
.am-drawer ul { list-style: none; margin: 16px 0; padding: 0; }
.am-drawer li { margin: 0; border-bottom: 1px solid var(--am-line); }
.am-drawer a { display: block; padding: 13px 0; font-size: var(--am-fs-base); color: var(--am-ink); }
.am-drawer .am-drawer__sub a { padding-left: 18px; font-size: var(--am-fs-sm); color: var(--am-muted); }
.am-drawer__cta { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.am-backdrop {
	position: fixed; inset: 0; background: rgba(31, 34, 28, .38);
	opacity: 0; visibility: hidden; transition: opacity .2s ease; z-index: 85;
}
.am-backdrop.is-open { opacity: 1; visibility: visible; }

/* 抽屉内「地区设置」区（v1.2.0：置于 21 个链接之前 → 抽屉首屏可见） */
.am-drawer__region {
	margin-top: 14px;
	padding: 12px 14px 4px;
	border: 1px solid var(--am-line);
	border-radius: var(--am-radius-card);
	background: var(--am-ivory);
}
.am-drawer__region .am-drawer__title { margin: 0 0 8px; }
.am-drawer__subtitle {
	margin: 0 0 2px;
	font-size: var(--am-fs-xs);
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--am-muted);
}

/* ---------------- 顶栏：货币切换 / 语言切换 ---------------- */
/* 货币切换：原生 details/summary 胶囊（无 JS），下拉绝对定位 */
.am-cur {
	position: relative;
	display: inline-flex;
	align-items: center;
	font-size: var(--am-fs-sm);
	color: var(--am-muted);
	background: var(--am-ivory);
	background: color-mix(in srgb, var(--am-ivory) 55%, transparent);
	border: 1px solid var(--am-gold);
	border-radius: var(--am-radius-pill);
	padding: 4px 10px;
}
.am-cur__summary {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	list-style: none;
	cursor: pointer;
}
.am-cur__summary::-webkit-details-marker { display: none; }
.am-cur__summary:hover { color: var(--am-gold-deep); }
.am-cur__sym { font-weight: 600; color: var(--am-gold-deep); white-space: nowrap; }
.am-cur__arrow { font-size: var(--am-fs-xs); line-height: 1; }
.am-cur__menu {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	min-width: 210px;
	margin: 0;
	padding: 6px 0;
	list-style: none;
	background: var(--am-paper);
	border: 1px solid var(--am-line);
	border-radius: var(--am-radius-card);
	box-shadow: var(--am-shadow-card);
	z-index: 80;
}
.am-cur__item {
	display: flex;
	align-items: baseline;
	gap: 8px;
	padding: 7px 14px;
	font-size: var(--am-fs-sm);
	color: var(--am-ink);
	white-space: nowrap;
	text-decoration: none;
}
.am-cur__item:hover { background: var(--am-ivory); color: var(--am-gold-deep); }
.am-cur__item.is-active { color: var(--am-gold-deep); font-weight: 700; }
.am-cur__item-sym { flex: 0 0 auto; font-weight: 600; min-width: 34px; }
.am-cur__item-name { font-weight: 400; color: var(--am-muted); font-size: var(--am-fs-xs); }
.am-cur__item.is-active .am-cur__item-name { color: var(--am-gold-deep); }

/* 语言切换：文字链横排，当前项品牌色加粗 */
.am-lang { display: flex; align-items: center; gap: 10px; font-size: var(--am-fs-sm); }
.am-lang__link { color: inherit; text-decoration: none; white-space: nowrap; }
.am-lang__link:hover { color: var(--am-gold-deep); }
.am-lang__link.is-active { color: var(--am-gold-deep); font-weight: 700; }

/* 抽屉内切换区：纵向排列（复用 am-cur / am-lang 类） */
.am-drawer__lang,
.am-drawer__cur { margin-top: 8px; }
.am-drawer__title {
	margin: 0 0 6px;
	font-size: var(--am-fs-xs);
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--am-muted);
}
.am-lang--stack { flex-direction: column; align-items: flex-start; gap: 0; }
.am-lang--stack .am-lang__link { display: block; padding: 13px 0; font-size: var(--am-fs-sm); } /* v1.4.3：P1-3 语言项行高 ≥44px，与 .am-drawer a 拉齐 */
.am-cur--stack {
	display: flex;
	flex-direction: column;
	gap: 0;
	padding: 0;
	border: 0;
	background: none;
	border-radius: 0;
	font-size: var(--am-fs-base);
	color: inherit;
}
.am-cur--stack .am-cur__item { display: flex; padding: 13px 0; font-size: var(--am-fs-sm); } /* v1.4.3：P1-3 货币项行高 ≥44px */
.am-cur--stack .am-cur__item-name { font-size: var(--am-fs-xs); }

/* ---------------- 地区胶囊（语言 + 货币聚合，v1.2.0） ---------------- */
/* 类名约定：胶囊（触发器）内的元素只允许出现一次，命名空间与面板内的元素严格分离。
   胶囊：__globe / __lang / __sep / __cur / __arrow
   面板：__panel / __title / __hint / __row / __check / __hr / __grid / __grid-item / __sym / __code */
.am-locale-wrap { position: relative; display: inline-flex; }
.am-locale {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex: 0 0 auto;
	font-family: inherit;
	font-size: var(--am-fs-sm);
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap; /* 胶囊整体不折行 */
	color: var(--am-ink);
	background: var(--am-paper);
	border: 1px solid var(--am-line);
	border-radius: var(--am-radius-pill);
	padding: 6px 12px;
	cursor: pointer;
	box-shadow: 0 1px 2px rgba(31, 59, 52, .06);
	transition: border-color .2s ease, background .2s ease;
}
.am-locale:hover,
.am-locale[aria-expanded="true"] { background: var(--am-ivory); border-color: var(--am-gold); }
/* 胶囊内视觉层级：语言中性、货币符号高对比（金色加粗）——主信息是「在哪个地区用什么币」 */
.am-locale__globe { display: inline-flex; align-items: center; flex: 0 0 auto; color: var(--am-muted); }
.am-locale__globe svg { width: 16px; height: 16px; }
.am-locale__lang { color: var(--am-muted); font-weight: 600; flex: 0 0 auto; }
.am-locale__sep { color: var(--am-muted); opacity: .8; flex: 0 0 auto; line-height: 1; }
.am-locale__cur { color: var(--am-gold-deep); font-weight: 700; flex: 0 0 auto; }
.am-locale__arrow { color: var(--am-muted); font-size: 9px; line-height: 1; flex: 0 0 auto; }

.am-locale__panel {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	width: 260px;
	background: var(--am-paper);
	border: 1px solid var(--am-line);
	border-radius: var(--am-radius-card);
	box-shadow: 0 12px 32px rgba(31, 59, 52, .10);
	padding: 14px 0;
	z-index: 85;
	text-align: left;
}
.am-locale__panel[hidden] { display: none; }
.am-locale__title {
	margin: 0 0 6px;
	padding: 0 16px;
	font-size: var(--am-fs-xs);
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--am-muted);
}
.am-locale__hint {
	margin: -2px 0 6px;
	padding: 0 16px;
	font-size: var(--am-fs-xs);
	color: var(--am-muted);
}
.am-locale__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	padding: 8px 16px;
	font-size: var(--am-fs-sm);
	color: var(--am-ink);
	background: none;
	border: 0;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
}
.am-locale__row:hover { background: var(--am-ivory); color: var(--am-gold-deep); }
.am-locale__row[aria-current="true"] {
	color: var(--am-gold-deep);
	font-weight: 700;
	box-shadow: inset 2px 0 0 var(--am-gold);
}
.am-locale__check { font-size: var(--am-fs-xs); }
.am-locale__hr { height: 1px; background: var(--am-line); margin: 10px 0; }
.am-locale__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2px 8px;
	padding: 0 14px;
}
.am-locale__grid-item {
	display: flex;
	align-items: baseline;
	gap: 8px;
	padding: 6px 2px;
	font-size: var(--am-fs-sm);
	color: var(--am-ink);
	text-decoration: none;
	border-radius: 8px;
	white-space: nowrap;
}
.am-locale__grid-item:hover { background: var(--am-ivory); color: var(--am-gold-deep); }
.am-locale__grid-item[aria-current="true"] { color: var(--am-gold-deep); font-weight: 700; }
/* 货币符号统一轨道宽 + 右对齐：8 项的符号右边界与 ISO 代码左边界各成一条直线，¥ 不再显得偏小错位 */
.am-locale__sym {
	flex: 0 0 auto;
	min-width: 44px;
	display: inline-block;
	text-align: right;
	font-size: var(--am-fs-sm);
	font-weight: 700;
	line-height: 1.15;
	color: var(--am-ink);
}
.am-locale__code { font-size: var(--am-fs-xs); font-weight: 400; color: var(--am-muted); letter-spacing: .04em; }
.am-locale__grid-item[aria-current="true"] .am-locale__code { color: var(--am-gold-deep); }

/* 搜索抽屉 */
.am-search {
	position: fixed;
	top: 0; left: 0; right: 0;
	background: var(--am-paper);
	border-bottom: 1px solid var(--am-line);
	padding: 20px 0;
	transform: translateY(-100%);
	transition: transform .2s ease;
	z-index: 88;
}
.am-search.is-open { transform: translateY(0); }
.am-search form { display: flex; gap: 10px; }

/* ---------------- 卡片 ---------------- */
.am-card {
	background: var(--am-paper);
	border: 1px solid var(--am-line);
	border-radius: var(--am-radius-card);
	overflow: hidden;
	box-shadow: inset 0 0 0 1px rgba(31, 59, 52, .035);
	display: flex;
	flex-direction: column;
	transition: transform var(--am-transition), box-shadow var(--am-transition);
}
.am-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--am-shadow-card-hover);
}
.am-card__media {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--am-ivory);
}
.am-card__media img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform .6s ease-out;
}
/* hover：图片微推近 1.03 + 标题转深金，与卡片本身的 translateY(-4px) 叠成一次连贯的「拿起」动作 */
.am-card:hover .am-card__media img { transform: scale(1.03); }
.am-card:hover .am-card__title a { color: var(--am-gold-deep); }
.am-card__badge {
	position: absolute;
	top: 12px; left: 12px;
	background: var(--am-gold);
	color: #fff;
	font-size: var(--am-fs-xs);
	padding: 4px 10px;
	border-radius: var(--am-radius-input);
}
.am-card__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.am-card__title {
	font-family: var(--am-font-serif);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--am-primary);
	margin: 0;
	/* 两行截断 + 固定 2 行高度，保证不同标题长度下价格基线对齐 */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.8em;
}
.am-card__title a { color: inherit; }
.am-card__title a:hover { color: var(--am-gold-deep); }
.am-card__price {
	font-size: var(--am-fs-md);
	font-weight: 700;
	color: var(--am-gold-text);
}
.am-card__stock { font-size: var(--am-fs-sm); color: var(--am-muted); }
.am-card__stock--low { color: var(--am-alert); }
/* 卡片操作：低调文字链替代整宽主按钮，减少堆砌感、保留行为召唤 */
.am-card__actions { margin-top: auto; padding-top: 6px; }
.am-card__more {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: var(--am-fs-sm);
	font-weight: 600;
	color: var(--am-gold-deep);
}
.am-card__more span[aria-hidden] { transition: transform .2s ease; }
.am-card:hover .am-card__more span[aria-hidden] { transform: translateX(3px); }

/* 商店排序下拉：自定义外观，替换原生黑箭头，贴合品牌色（用 id 提高特异性，避开表单 .am-select 简写覆盖箭头） */
#am-orderby-select {
	appearance: none; -webkit-appearance: none; -moz-appearance: none;
	font-family: inherit; font-size: var(--am-fs-sm); font-weight: 600;
	color: var(--am-ink); background-color: var(--am-paper);
	border: 1px solid var(--am-line); border-radius: var(--am-radius-input);
	padding: 9px 36px 9px 14px; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%231f3b34' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 12px center; background-size: 12px 12px;
	transition: border-color .2s ease, box-shadow .2s ease;
}
#am-orderby-select:hover { border-color: var(--am-gold); }
#am-orderby-select:focus { outline: none; border-color: var(--am-gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--am-gold) 25%, transparent); }

/* ---------------- 页脚 ---------------- */
.am-footer {
	background: var(--am-primary-deep);
	color: var(--am-stone);
	margin-top: 0;
	padding-top: 56px;
}
.am-footer a { color: var(--am-stone); }
.am-footer a:hover { color: var(--am-gold-soft); }
.am-footer__title {
	color: var(--am-paper);
	font-size: var(--am-fs-base);
	font-weight: 600;
	margin: 0 0 16px;
	font-family: var(--am-font-body);
}
.am-footer__list { list-style: none; margin: 0; padding: 0; }
.am-footer__list li { margin-bottom: 10px; }
.am-footer__list a { overflow-wrap: break-word; } /* 邮箱/长串窄列下也不溢出 */
.am-footer__brand-name {
	font-family: var(--am-font-serif);
	font-size: var(--am-fs-lg);
	letter-spacing: 1px;
	color: var(--am-paper);
	margin: 0 0 12px;
}
/* 页脚品牌（v1.3.0）：与顶栏同层级反转 —— 案珠记为主、Altarmala 为辅，深底配色 */
.am-footer__brand-zh {
	display: block;
	font-weight: 700;
	letter-spacing: 4px;
}
.am-footer__brand-en {
	display: block;
	font-family: var(--am-font-body);
	font-size: var(--am-fs-xs);
	font-weight: 400;
	letter-spacing: .18em;
	color: color-mix(in srgb, var(--am-paper) 55%, transparent);
	margin-top: 4px;
}
.am-footer__social { display: flex; gap: 12px; margin-top: 16px; }
.am-footer__social a {
	width: 36px; height: 36px;
	border-radius: 999px;
	border: 1px solid color-mix(in srgb, var(--am-stone) 35%, transparent);
	display: inline-flex; align-items: center; justify-content: center;
	color: var(--am-footer-muted);
	transition: border-color .2s ease, transform .2s ease, color .2s ease;
}
.am-footer__social a:hover {
	border-color: var(--am-gold);
	color: var(--am-gold);
	transform: translateY(-2px);
}
.am-footer__social svg { width: 18px; height: 18px; }
.am-footer__bottom {
	border-top: 1px solid color-mix(in srgb, var(--am-stone) 22%, transparent);
	padding: 18px 0 26px;
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	font-size: var(--am-fs-sm);
}

/* ---------------- 移动端底部 Tab 栏 ---------------- */
.am-tabbar {
	position: fixed;
	left: 0; right: 0; bottom: 0;
	display: none;
	background: rgba(255, 253, 249, .97);
	backdrop-filter: blur(10px);
	border-top: 1px solid var(--am-line);
	z-index: 80;
	padding-bottom: env(safe-area-inset-bottom);
}
.am-tabbar__inner {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	align-items: end;
	height: 62px;
}
.am-tabbar__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	font-size: var(--am-fs-xs);
	color: var(--am-muted);
	padding: 8px 0;
	position: relative;
}
.am-tabbar__item.is-active { color: var(--am-gold-deep); }
.am-tabbar__item svg { width: 22px; height: 22px; }
.am-tabbar__wa {
	width: 52px; height: 52px;
	border-radius: 999px;
	background: var(--am-wa);
	color: #fff;
	display: flex; align-items: center; justify-content: center;
	margin: 0 auto;
	margin-top: -18px;
	box-shadow: 0 4px 12px rgba(31, 170, 89, .3);
}
.am-tabbar__wa svg { width: 26px; height: 26px; }
.am-tabbar__count {
	position: absolute;
	top: 4px; right: 50%;
	transform: translateX(18px);
	min-width: 16px; height: 16px;
	border-radius: 999px;
	background: var(--am-gold); color: #fff;
	font-size: var(--am-fs-xs); line-height: 16px; text-align: center;
}

/* ---------------- 悬浮 WhatsApp ---------------- */
.am-float-wa {
	position: fixed;
	right: 18px;
	bottom: 84px;
	z-index: 75;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--am-wa);
	color: #fff;
	border-radius: 999px;
	padding: 11px 18px;
	font-size: var(--am-fs-sm);
	font-weight: 600;
	box-shadow: 0 6px 18px rgba(31, 170, 89, .28);
	text-decoration: none;
	transition: opacity .3s ease, transform .3s ease;
}
/* 进入页脚区域时淡出（页脚已有咨询入口，避免悬浮按钮遮挡） */
.am-float-wa.is-hidden { opacity: 0; transform: translateY(16px); pointer-events: none; }
.am-float-wa:hover { background: var(--am-wa-deep); color: #fff; }
.am-float-wa svg { width: 20px; height: 20px; }
/* 默认显示文字标签；≤599px 由响应式段隐藏（原 min-width:600px 反向断点已并入 599 档） */
.am-float-wa__label { display: inline; }

/* ---------------- 轮播（scroll-snap） ---------------- */
.am-carousel {
	position: relative;
}
.am-carousel__track {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding-bottom: 6px;
}
.am-carousel__track::-webkit-scrollbar { display: none; }
.am-carousel__slide {
	flex: 0 0 100%;
	scroll-snap-align: start;
}
.am-carousel__dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 14px;
}
.am-carousel__dot {
	width: 8px; height: 8px;
	border-radius: 999px;
	border: 0;
	padding: 0;
	background: var(--am-line);
	cursor: pointer;
	transition: background-color var(--am-transition), width var(--am-transition);
}
.am-carousel__dot.is-active { background: var(--am-gold); width: 20px; }

/* Hero */
.am-hero { position: relative; }
.am-hero__viewport {
	min-height: 78vh;
	display: flex;
	align-items: stretch;
	background: var(--am-primary-deep);
}
.am-hero__track { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.am-hero__track::-webkit-scrollbar { display: none; }
.am-hero__slide {
	position: relative;
	flex: 0 0 100%;
	scroll-snap-align: start;
	min-height: 78vh;
}
.am-hero__media { position: absolute; inset: 0; background: var(--am-primary-deep); overflow: hidden; }
.am-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.am-hero__content {
	position: relative;
	z-index: 3;
	min-height: 78vh;
	width: 100%;
	max-width: 900px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 14px;
	padding: 76px 56px 88px;
	color: var(--am-paper);
}
.am-hero__eyebrow { font-size: var(--am-fs-sm); letter-spacing: .24em; color: var(--am-gold-soft); text-transform: uppercase; }
.am-hero__title { font-family: var(--am-font-serif); font-size: var(--am-fs-2xl); line-height: 1.22; color: var(--am-paper); margin: 0; text-shadow: 0 2px 18px rgba(15, 28, 25, .35); }
/* 「·」后的后半句绑定不拆行，仅在「·」处换行，避免孤字换行 */
.am-hero__title-tail { white-space: nowrap; }
.am-hero__sub { font-size: var(--am-fs-md); color: var(--am-gold-soft); margin: 0; text-shadow: 0 1px 12px rgba(15, 28, 25, .35); }
.am-hero__cta { margin-top: 12px; display: flex; gap: 12px; flex-wrap: wrap; }
/* 深色底上的描边按钮：改为浅色描边，保证对比度（AA） */
.am-hero__cta .am-btn--outline { color: var(--am-paper); border-color: rgba(255, 253, 249, .55); }
.am-hero__cta .am-btn--outline:hover { color: var(--am-primary-deep); background: var(--am-paper); border-color: var(--am-paper); }

/* 首屏氛围：活动图 8s ken-burns + 暖雾渐变 + 细微滚动提示（reduced-motion 下由全局守卫关闭） */
@keyframes am-kenburns {
	from { transform: scale(1); }
	to   { transform: scale(1.06); }
}
@keyframes am-hero-cue {
	0%   { transform: translateY(0); opacity: 1; }
	70%  { transform: translateY(10px); opacity: 0; }
	100% { transform: translateY(0); opacity: 0; }
}
.am-hero__slide.is-active .am-hero__media img {
	animation: am-kenburns 8s var(--am-ease) infinite alternate;
	will-change: transform;
}
.am-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(90deg, rgba(15, 28, 25, .86) 0%, rgba(15, 28, 25, .5) 44%, rgba(15, 28, 25, .12) 76%, rgba(15, 28, 25, 0) 100%),
		linear-gradient(0deg, rgba(15, 28, 25, .82) 0%, rgba(15, 28, 25, .2) 40%, rgba(15, 28, 25, 0) 62%);
	pointer-events: none;
}
.am-hero__cue {
	position: absolute;
	left: 50%;
	bottom: 22px;
	width: 22px;
	height: 34px;
	margin-left: -11px;
	border: 2px solid var(--am-gold);
	border-radius: 12px;
	opacity: .7;
	pointer-events: none;
}
.am-hero__cue::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 6px;
	width: 3px;
	height: 7px;
	margin-left: -1.5px;
	border-radius: 2px;
	background: var(--am-gold);
	animation: am-hero-cue 1.8s var(--am-ease) infinite;
}

/* 品牌印章（案珠）：东方器物美学的视觉签名，纯 CSS 实现，无外部资源 */
.am-hero__seal {
	position: absolute;
	top: 28px;
	right: 28px;
	z-index: 4;
	width: 60px;
	height: 60px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	border: 1.5px solid var(--am-gold-soft);
	border-radius: 9px;
	color: var(--am-gold-soft);
	font-family: var(--am-font-serif);
	line-height: 1;
	background: rgba(15, 28, 25, .2);
	box-shadow: 0 0 0 1px rgba(176, 141, 87, .14), 0 6px 20px rgba(15, 28, 25, .25);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
}
.am-hero__seal i { font-style: normal; font-size: 19px; font-weight: 600; display: block; }

/* ---------------- 信任标签行 ---------------- */
.am-trust {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	background: var(--am-ivory);
}
.am-trust__item {
	padding: 22px 16px;
	text-align: center;
	border-right: 1px solid var(--am-line);
	font-size: var(--am-fs-base);
	color: var(--am-primary);
}
.am-trust__item:last-child { border-right: 0; }
.am-trust__item svg { width: 24px; height: 24px; color: var(--am-gold); margin: 0 auto 8px; }

/* ---------------- 特性卡 ---------------- */
.am-feature {
	text-align: center;
	padding: 28px 22px;
	background: var(--am-paper);
	border: 1px solid var(--am-line);
	border-radius: var(--am-radius-card);
}
.am-feature svg { width: 48px; height: 48px; color: var(--am-gold); margin: 0 auto 14px; }
.am-feature__title { font-size: var(--am-fs-md); font-weight: 600; color: var(--am-primary); margin: 0 0 8px; }
.am-feature__text { font-size: var(--am-fs-base); color: var(--am-muted); margin: 0; }

/* ---------------- 品类入口大卡（东方「装裱」意象：内嵌金框 + hover 抬起） ---------------- */
.am-catcard {
	position: relative;
	display: block;
	border-radius: var(--am-radius-block);
	overflow: hidden;
	min-height: 340px;
	background: var(--am-primary);
	box-shadow: var(--am-shadow-card);
	transition: transform var(--am-transition), box-shadow var(--am-transition);
}
/* 内嵌金框：默认淡、hover 显，呼应器物「装裱」 */
.am-catcard::before {
	content: "";
	position: absolute;
	inset: 14px;
	z-index: 2;
	border: 1px solid rgba(216, 192, 154, .45);
	border-radius: calc(var(--am-radius-block) - 10px);
	pointer-events: none;
	transition: inset var(--am-transition), border-color var(--am-transition);
}
.am-catcard:hover { transform: translateY(-6px); box-shadow: var(--am-shadow-card-hover); }
.am-catcard:hover::before { inset: 10px; border-color: rgba(216, 192, 154, .85); }
.am-catcard:hover img { transform: scale(1.06); }
.am-catcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform .6s var(--am-ease); }
.am-catcard__inner {
	position: relative;
	z-index: 2;
	height: 100%;
	min-height: 340px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 28px;
	background: linear-gradient(180deg, rgba(22, 43, 38, 0) 36%, rgba(22, 43, 38, .88) 100%);
	color: var(--am-paper);
}
.am-catcard__title { font-family: var(--am-font-serif); font-size: var(--am-fs-lg); margin: 0 0 6px; color: var(--am-paper); position: relative; display: inline-block; }
.am-catcard__title::after {
	content: "";
	display: block;
	width: 34px;
	height: 2px;
	margin-top: 8px;
	background: var(--am-gold);
	transition: width var(--am-transition);
}
.am-catcard:hover .am-catcard__title::after { width: 56px; }
.am-catcard__desc { font-size: var(--am-fs-sm); color: var(--am-line); margin: 0 0 12px; }

/* ---------------- 套餐 / 订阅卡 ---------------- */
.am-plan {
	background: var(--am-paper);
	border: 1px solid var(--am-line);
	border-radius: var(--am-radius-card);
	padding: 26px 22px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.am-plan--featured { border-color: var(--am-gold); }
.am-plan__name { font-size: var(--am-fs-md); font-weight: 600; color: var(--am-primary); margin: 0; }
.am-plan__price { font-size: var(--am-fs-xl); font-weight: 700; color: var(--am-gold-deep); }
.am-plan__price small { font-size: var(--am-fs-sm); color: var(--am-muted); font-weight: 400; }
.am-plan__list { list-style: none; margin: 6px 0 0; padding: 0; font-size: var(--am-fs-sm); color: var(--am-muted); }
.am-plan__list li { margin-bottom: 6px; padding-left: 18px; position: relative; }
.am-plan__list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 999px; background: var(--am-gold-soft); }

/* ---------------- 流程步骤 ---------------- */
.am-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.am-step { text-align: center; }
.am-step__num {
	width: 56px; height: 56px;
	border-radius: 999px;
	border: 1px solid var(--am-gold);
	color: var(--am-gold-deep);
	display: flex; align-items: center; justify-content: center;
	font-size: var(--am-fs-lg); font-weight: 600;
	margin: 0 auto 14px;
	font-family: var(--am-font-serif);
}
.am-step__title { font-size: var(--am-fs-md); font-weight: 600; color: var(--am-primary); margin: 0 0 6px; }
.am-step__text { font-size: var(--am-fs-sm); color: var(--am-muted); margin: 0; }

/* ---------------- 评价卡 ---------------- */
.am-quote {
	background: var(--am-ivory);
	border-radius: var(--am-radius-card);
	padding: 24px 22px;
	font-size: var(--am-fs-base);
	color: var(--am-ink);
}
.am-quote__mark { font-family: var(--am-font-serif); font-size: var(--am-fs-xl); color: var(--am-gold-soft); line-height: 1; }
.am-quote__text { margin: 8px 0 14px; }
.am-quote__author { font-size: var(--am-fs-sm); color: var(--am-muted); }

/* ---------------- CTA 横幅 ---------------- */
.am-cta {
	background: var(--am-primary-deep);
	border-radius: var(--am-radius-block);
	padding: 48px 40px;
	text-align: center;
	color: var(--am-line-soft);
}
.am-cta__title { font-family: var(--am-font-serif); font-size: var(--am-fs-xl); color: var(--am-paper); margin: 0 0 10px; }
.am-cta__text { color: var(--am-line-strong); margin: 0 0 22px; }

/* ---------------- 面包屑 ---------------- */
.am-breadcrumb {
	font-size: var(--am-fs-sm);
	color: var(--am-muted);
	padding: 16px 0;
}
.am-breadcrumb a { color: var(--am-muted); }
.am-breadcrumb a:hover { color: var(--am-gold-deep); }
.am-breadcrumb__sep { margin: 0 8px; color: var(--am-line); }

/* ---------------- 表单 ---------------- */
.am-field { margin-bottom: 16px; }
.am-field label { display: block; font-size: var(--am-fs-sm); color: var(--am-primary); margin-bottom: 6px; }
.am-input,
.am-textarea,
.am-select {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid var(--am-line);
	border-radius: var(--am-radius-input);
	background: var(--am-paper);
	font-size: var(--am-fs-base);
}
.am-input:focus,
.am-textarea:focus,
.am-select:focus { outline: none; border-color: var(--am-gold); }
.am-textarea { min-height: 120px; resize: vertical; }

/* ---------------- 通知条 ---------------- */
.am-notice {
	border: 1px solid var(--am-gold-soft);
	background: var(--am-ivory);
	border-radius: var(--am-radius-card);
	padding: 14px 18px;
	font-size: var(--am-fs-base);
	color: var(--am-primary);
	display: flex;
	gap: 10px;
	align-items: flex-start;
}
.am-notice--wa { border-color: var(--am-wa); background: rgba(31, 170, 89, .07); }
.am-notice svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--am-wa); margin-top: 2px; }

/* ---------------- 分页 ---------------- */
.am-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; list-style: none; padding: 0; }
.am-pagination li { margin: 0; }
.am-pagination a,
.am-pagination span {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 38px; height: 38px; padding: 0 12px;
	border: 1px solid var(--am-line); border-radius: 999px;
	font-size: var(--am-fs-sm); color: var(--am-ink);
}
.am-pagination a:hover { border-color: var(--am-gold); color: var(--am-gold-deep); }
.am-pagination .current { background: var(--am-primary); border-color: var(--am-primary); color: var(--am-paper); }

/* ---------------- 响应式（v1.4.0：4 档断点 1439 / 1199 / 899 / 599） ---------------- */
/* 第 1 档 ≤1439px：容器仍是 1160 满宽，只把导航 gap 收紧，并把 WhatsApp 胶囊折成圆图标 */
@media (max-width: 1439px) {
	.am-nav__list { gap: 4px 16px; }
	.am-header__wa {
		width: 40px; height: 40px;
		padding: 0;
		border-radius: 999px;
		gap: 0;
	}
	.am-header__wa .am-icon { display: block; width: 20px; height: 20px; }
	.am-header__wa .am-btn__label { display: none; }
}

/* 第 2 档 ≤1199px：小桌面 / 平板横屏 —— 导航字号降一档，gap 再收 */
@media (max-width: 1199px) {
	.am-nav__link { font-size: var(--am-fs-sm); }
	.am-nav__list { gap: 4px 12px; }
	.am-hero__content { padding: 48px 40px; }
	.am-hero__title { font-size: var(--am-fs-xl); }
}

/* 第 3 档 ≤899px：平板竖屏 —— 单行 + 汉堡抽屉（导航隐藏，地区胶囊常驻顶栏） */
@media (max-width: 899px) {
	.am-nav { display: none; }
	.am-burger {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 36px; height: 36px;
	}
	.am-header__inner { min-height: var(--am-header-h-mobile); column-gap: 10px; }
	.am-header.is-condensed .am-header__inner { min-height: var(--am-header-h-mobile); }
	.am-header__wa { display: none; }
	.am-iconbtn { width: 34px; height: 34px; }
	.am-iconbtn svg { width: 19px; height: 19px; }
	.am-locale { font-size: var(--am-fs-xs); padding: 4px 8px; gap: 4px; }
	.am-locale__arrow { display: none; }
	.am-locale__panel {
		top: calc(100% + 8px);
		width: min(300px, calc(100vw - 32px));
	}
	/* 触控设备（平板/手机）：页脚链接改块级并加纵向留白，点击区域从 20px 提到约 40px */
	.am-footer__list li { margin-bottom: 0; }
	.am-footer__list a { display: block; padding: 10px 0; }
	.am-footer__social a { width: 40px; height: 40px; }
	.am-trust { grid-template-columns: repeat(2, 1fr); }
	.am-trust__item:nth-child(2n) { border-right: 0; }
	.am-steps { grid-template-columns: repeat(2, 1fr); }
	/* Hero：单列 + 图片按 4:3 出图（原 42vh 会出现大片留白或裁掉主体） */
	.am-hero__viewport { min-height: 0; }
	.am-hero__slide { grid-template-columns: 1fr; min-height: 0; }
	.am-hero__media { min-height: 0; aspect-ratio: 4 / 3; }
	.am-hero__content { padding: 36px 24px; }
	.am-cta { padding: 36px 22px; }
}

/* 第 4 档 ≤599px：手机 —— 触控目标 44px、卡片双列、顶栏压到最窄 */
@media (max-width: 599px) {
	.am-tabbar { display: block; }
	/* 手机端底部 Tab 栏已含 WhatsApp 居中圆钮，隐藏右上浮动 WA，避免重复入口与压住内容 */
	.am-float-wa { display: none !important; }

	/* 手机：页脚点击区域统一 44px（Apple HIG），与顶栏图标钮 / Tab 项同一标准 */
	.am-footer__list a { padding: 12px 0; }
	.am-footer__social a { width: 44px; height: 44px; }
	.am-footer__social svg { width: 20px; height: 20px; }
	/* 手机端社交图标贴品牌名左对齐（自然换行），避免被 space-between 甩到最右显得松散；间距也给到 12px */
	.am-footer__brand-row { justify-content: flex-start; }
	.am-footer__social { gap: 12px; }
	/* 版权块现为页脚最后一项；Tab 栏净空由 body 的 padding-bottom 统一预留，这里只留常规间距 */
	.am-footer__bottom { padding-bottom: 18px; }

	/* 触控目标统一 44px（Apple HIG）：图标按钮 / 汉堡 / 抽屉关闭 / 卡片小按钮 / Tab 项 */
	.am-iconbtn,
	.am-burger,
	.am-drawer__close,
	.am-btn--sm {
		min-width: 44px;
		min-height: 44px;
	}
	.am-iconbtn svg { width: 20px; height: 20px; }
	.am-tabbar__item { min-height: 56px; }

	/* 顶栏瘦身：WhatsApp 收入底部 Tab 栏与抽屉；地区胶囊压到最窄（仍常驻显示语言 + 货币） */
	.am-header__inner { column-gap: 8px; }
	.am-header__actions { gap: 6px; }
	.am-locale__globe { display: none; }
	.am-locale { min-height: 44px; font-size: var(--am-fs-xs); padding: 4px 8px; gap: 4px; } /* v1.4.3：P1-2 触控 40→44px */

	/* 商品卡双列：间距 16（横向）/ 20（纵向），保证拇指可点且每行两张不挤 */
	ul.products { gap: 16px 20px; }
	.am-card__body { padding: 14px 12px; gap: 6px; }

	/* 搜索抽屉：输入框可收缩，避免撑破视口 */
	.am-search { padding: 16px 0; }
	.am-search .am-input { flex: 1 1 auto; min-width: 0; }
	.am-search .am-btn { flex: 0 0 auto; padding-inline: 18px; }
}

/* 无障碍：偏好减少动效时关闭位移 / 缩放类动效（仅保留颜色过渡） */
@media (prefers-reduced-motion: reduce) {
	.am-reveal {
		opacity: 1 !important;
		transform: none !important;
	}
}

/* 全量守卫：偏好减少动效时关闭所有动画 / 过渡（保留静态布局与颜色）；轮播不自动播放，reveal 直接显示 */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}
}

/* v1.4.4：抽屉底部 CTA 图标与文字同行居中（主理人反馈 2026-10-25） */
.am-drawer__cta .am-btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; text-align: center; }

/* ============================================================
   纪念月选石模块 v1.5.2：仅收集出生月份，结果作搭配与赠礼参考（不涉及信仰或医疗用途）
   ============================================================ */
.am-birthstone { background: var(--am-ivory); }
.am-birthstone__hint {
	margin: 0 0 24px;
	font-size: var(--am-fs-md);
	color: var(--am-muted);
}
.am-birthstone__months {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
.am-birthstone__month {
	min-height: 52px;
	padding: 10px 8px;
	border: 1px solid var(--am-line);
	border-radius: var(--am-radius-input);
	background: var(--am-paper);
	color: var(--am-muted);
	font-family: var(--am-font-serif);
	font-size: var(--am-fs-md);
	letter-spacing: 2px;
	cursor: pointer;
	transition: border-color .2s var(--am-ease), background-color .2s var(--am-ease), color .2s var(--am-ease), transform .2s var(--am-ease);
}
.am-birthstone__month:hover {
	border-color: var(--am-gold);
	color: var(--am-primary);
	transform: translateY(-2px);
}
.am-birthstone__month:focus-visible {
	outline: 2px solid var(--am-gold);
	outline-offset: 2px;
}
.am-birthstone__month[aria-pressed="true"] {
	border-color: var(--am-gold);
	background: var(--am-gold-soft);
	color: var(--am-gold-deep);
	font-weight: 600;
}
.am-birthstone__panels { margin-top: 28px; }
.am-birthstone__panel {
	border-top: 1px solid var(--am-line);
	padding-top: 28px;
	animation: am-bs-reveal .5s var(--am-ease) both;
}
.am-birthstone__panel[hidden] { display: none; }
@keyframes am-bs-reveal {
	from { opacity: 0; transform: translateY(12px); }
	to   { opacity: 1; transform: translateY(0); }
}
.am-birthstone__result {
	display: flex;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
}
.am-birthstone__seal {
	flex: 0 0 auto;
	width: 104px; height: 104px;
	border-radius: 999px;
	border: 1px solid var(--am-gold);
	background: radial-gradient(circle at 50% 38%, var(--am-seal-soft), var(--am-seal));
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 18px rgba(31, 59, 52, .12);
	animation: am-bs-seal .35s var(--am-ease) both;
}
@keyframes am-bs-seal {
	from { transform: scale(.96); }
	to   { transform: scale(1); }
}
.am-birthstone__seal-month {
	font-family: var(--am-font-serif);
	font-size: var(--am-fs-lg);
	letter-spacing: 2px;
	color: #fff;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .28);
}
.am-birthstone__head { flex: 1 1 240px; }
.am-birthstone__stone {
	margin: 0 0 8px;
	font-family: var(--am-font-serif);
	font-size: var(--am-fs-xl);
	color: var(--am-primary);
}
.am-birthstone__desc {
	margin: 0;
	font-size: var(--am-fs-md);
	color: var(--am-muted);
	max-width: 60ch;
}
.am-birthstone__products { margin-top: 28px; }
.am-birthstone__products-label {
	margin: 0 0 16px;
	font-size: var(--am-fs-sm);
	letter-spacing: 1px;
	color: var(--am-primary);
	font-weight: 600;
}
.am-birthstone__grid {
	grid-template-columns: repeat(2, 1fr);
	gap: 20px 16px;
}
.am-birthstone__empty {
	margin: 0;
	padding: 20px;
	border: 1px dashed var(--am-line);
	border-radius: var(--am-radius-card);
	color: var(--am-muted);
	font-size: var(--am-fs-md);
}
.am-birthstone__disclaimer {
	margin: 28px 0 0;
	font-size: var(--am-fs-xs);
	line-height: 1.7;
	color: var(--am-muted);
	max-width: 70ch;
}

/* 桌面：月份 6×2，商品 4 列，印章放大 */
@media (min-width: 900px) {
	.am-birthstone__months { grid-template-columns: repeat(6, 1fr); }
	.am-birthstone__grid { grid-template-columns: repeat(4, 1fr); }
	.am-birthstone__seal { width: 120px; height: 120px; }
}

/* v1.4.4 移动端复查批修（M4 面包屑触控，仅移动端生效） */
@media (max-width: 599px) {
	.am-breadcrumb a { display: inline-block; padding: 12px 0; }
}

/* ============================================================
   页脚改版 v1.4.6：品牌带 + 可折叠分组（移动端折叠，桌面四列）
   ============================================================ */
/* 桌面两栏：品牌带（左 1.2fr） + 品牌侧（右 .8fr：社交 / 邮箱 / 服务时间） */
.am-footer__brand-grid {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 48px;
	align-items: start;
	padding-bottom: 28px;
	margin-bottom: 28px;
	border-bottom: 1px solid color-mix(in srgb, var(--am-stone) 22%, transparent);
}
.am-footer__brand {
	/* 间距由 .am-footer__brand-grid 统一承担（v1.5.2 桌面两栏化） */
}
.am-footer__brand-row {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 16px;
	flex-wrap: wrap;
}
.am-footer__tagline {
	margin: 10px 0 0;
	font-size: 14px;
	color: var(--am-footer-muted);
}
.am-footer__intro {
	margin: 10px 0 0;
	font-size: 14px;
	line-height: 1.75;
	color: var(--am-footer-muted);
	max-width: 62ch;
}
.am-footer__cta { margin-top: 16px; }

/* 品牌侧：社交图标（40px）+ 邮箱 + 服务时间；移动端在品牌带下方堆叠 */
.am-footer__brand-side {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}
.am-footer__brand-side .am-footer__social {
	margin-top: 0;
	gap: 12px;
}
.am-footer__brand-side .am-footer__social a {
	width: 40px;
	height: 40px;
}
.am-footer__brand-side .am-footer__social svg { width: 20px; height: 20px; }
.am-footer__email {
	font-size: var(--am-fs-base);
	color: var(--am-paper);
}
.am-footer__email:hover { color: var(--am-gold-soft); }
.am-footer__hours {
	margin: 0;
	font-size: var(--am-fs-sm);
	color: var(--am-footer-muted);
}

.am-footer__groups {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 40px;
}
.am-footer__group { border: 0; }
.am-footer__group > summary {
	list-style: none;
	cursor: default;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 0;
	color: var(--am-paper);
	font-size: var(--am-fs-base);
	font-weight: 600;
}
.am-footer__group > summary::-webkit-details-marker { display: none; }
.am-footer__group > summary::after {
	content: '';
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
	opacity: 0.6;
}
.am-footer__group[open] > summary::after { transform: rotate(-135deg); }
.am-footer__group > .am-footer__list { padding-top: 16px; }

/* 桌面端分组恒展开为四列：标题即列头，无需折叠指示箭头（仅移动端保留手风琴箭头） */
@media (min-width: 900px) {
	.am-footer__group > summary { cursor: default; }
	.am-footer__group > summary::after { display: none; }
}

@media (max-width: 899px) {
	.am-footer__brand-grid { grid-template-columns: 1fr; gap: 24px; }
	.am-footer__groups { grid-template-columns: 1fr; gap: 0; }
	.am-footer__group {
		border-bottom: 1px solid color-mix(in srgb, var(--am-stone) 18%, transparent);
	}
	.am-footer__group > summary {
		cursor: pointer;
		padding: 14px 0;
		min-height: 44px;
	}
	.am-footer__group > .am-footer__list { padding-bottom: 10px; }
	.am-footer__intro { display: none; } /* 移动端隐藏长简介，缩短页脚 */
	.am-footer__cta { width: 100%; justify-content: center; }
	.am-footer__brand-side .am-footer__social { gap: 12px; }
}
@media (max-width: 599px) {
	.am-footer__group > summary { padding: 15px 0; }
}

/* ============================================================
   移动端抽屉导航 v1.4.6：只露出大类，点击箭头展开子类
   ============================================================ */
.am-drawer__list li.menu-item-has-children {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}
.am-drawer__list li.menu-item-has-children > a { flex: 1 1 auto; min-width: 0; }
.am-drawer__list li.menu-item-has-children > .sub-menu { flex: 1 0 100%; }
.am-drawer__list .sub-menu { display: none; }
.am-drawer__list li.menu-item-has-children.is-open > .sub-menu { display: block; }

.am-drawer__toggle {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: 0;
	padding: 0;
	color: inherit;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.am-drawer__toggle svg { transition: transform 0.2s ease; }
.am-drawer__list li.menu-item-has-children.is-open > .am-drawer__toggle svg { transform: rotate(180deg); }

/* ============================================================
   转化增强模块（v1.5.0）：信任条 / 品牌承诺 / IG 社交证明 / 商品信任徽章 / 吸底购买条 / 邮件订阅
   ============================================================ */

/* ---------- 全站信任条（页脚顶部深墨绿通栏） ---------- */
.am-truststrip { background: var(--am-primary-deep); color: var(--am-paper); padding: 16px 0; }
.am-truststrip__list { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; margin: 0; padding: 0; justify-content: space-between; }
.am-truststrip__item { display: flex; align-items: center; gap: 10px; flex: 1 1 160px; min-width: 0; }
.am-truststrip__icon { color: var(--am-gold-soft); flex: 0 0 auto; display: inline-flex; }
.am-truststrip__text { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.am-truststrip__t { font-weight: 600; font-size: var(--am-fs-base); color: var(--am-paper); }
.am-truststrip__s { font-size: var(--am-fs-sm); color: var(--am-stone); }
@media (max-width: 899px) {
	.am-truststrip__list { gap: 14px 10px; }
	.am-truststrip__item { flex: 1 1 45%; }
}
@media (max-width: 599px) {
	/* 手机端压成两列：5 项 2+2+1，显著降低页脚高度；半宽固定不拉伸，末项不占满 */
	.am-truststrip { padding: 14px 0; }
	.am-truststrip__list { gap: 12px 10px; }
	.am-truststrip__item { flex: 0 0 calc(50% - 5px); }
	.am-truststrip__icon svg { width: 20px; height: 20px; }
	.am-truststrip__t { font-size: var(--am-fs-sm); }
	.am-truststrip__s { font-size: 12px; }
}

/* ---------- 首页「为什么选择案珠记」 ---------- */
.am-promise__grid { margin-top: 8px; }
.am-promise__card {
	background: var(--am-ivory);
	border: 1px solid var(--am-line);
	border-radius: var(--am-radius-card);
	padding: 28px 24px;
	transition: transform .2s ease, box-shadow .2s ease;
}
.am-promise__card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(31, 59, 52, .08); }
.am-promise__icon { color: var(--am-gold-deep); display: inline-flex; margin-bottom: 14px; }
.am-promise__t { font-family: var(--am-font-serif); font-size: var(--am-fs-md); color: var(--am-primary); margin: 0 0 8px; }
.am-promise__s { color: var(--am-muted); font-size: var(--am-fs-base); margin: 0; }

/* ---------- 首页 Instagram 社交证明 ---------- */
.am-insta__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 8px; }
.am-insta__tile { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--am-radius-card); }
.am-insta__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.am-insta__tile:hover img { transform: scale(1.05); }
.am-insta__overlay {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	background: rgba(22, 43, 38, .35); color: #fff; opacity: 0; transition: opacity .25s ease;
}
.am-insta__tile:hover .am-insta__overlay { opacity: 1; }
@media (max-width: 599px) { .am-insta__grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 商品页信任徽章 ---------- */
.am-protrust { margin: 16px 0 4px; }
.am-protrust__list { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; margin: 0; padding: 0; }
.am-protrust__item { display: flex; align-items: center; gap: 6px; font-size: var(--am-fs-sm); color: var(--am-muted); }
.am-protrust__icon { color: var(--am-gold-deep); display: inline-flex; }

/* ---------- 商品页移动端吸底购买条 ---------- */
.am-stickbuy {
	position: fixed; left: 0; right: 0; bottom: 64px; z-index: 65;
	background: rgba(255, 253, 249, .98);
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	border-top: 1px solid var(--am-line);
	box-shadow: 0 -6px 20px rgba(31, 59, 52, .10);
	padding: 10px 0;
}
.am-stickbuy[hidden] { display: none; }
.am-stickbuy__inner { display: flex; align-items: center; gap: 12px; }
.am-stickbuy__info { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.am-stickbuy__title { font-size: var(--am-fs-sm); color: var(--am-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.am-stickbuy__price { font-size: var(--am-fs-md); font-weight: 700; color: var(--am-gold-text); }
.am-stickbuy__btn { flex: 0 0 auto; }
@keyframes amFlash { 0% { box-shadow: 0 0 0 0 rgba(176, 141, 87, .5); } 100% { box-shadow: 0 0 0 14px rgba(176, 141, 87, 0); } }
.am-flash { animation: amFlash .6s ease 2; border-radius: var(--am-radius-card); }
@media (max-width: 899px) {
	.single-product .am-float-wa { bottom: 132px; } /* 让位给吸底购买条，避免重叠 */
}

/* ---------- 页脚邮件订阅（深墨绿通栏） ---------- */
.am-news { background: var(--am-primary); color: var(--am-paper); padding: 40px 0; }
.am-news__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.am-news__title { font-family: var(--am-font-serif); font-size: var(--am-fs-lg); color: var(--am-paper); margin: 0 0 6px; }
.am-news__sub { color: var(--am-stone); margin: 0; font-size: var(--am-fs-base); }
.am-news__form { display: flex; align-items: center; gap: 10px; flex: 1 1 360px; max-width: 480px; flex-wrap: wrap; }
.am-news__input {
	flex: 1 1 auto; min-width: 0; padding: 13px 16px;
	border-radius: var(--am-radius-pill); border: 1px solid rgba(255, 255, 255, .3);
	background: rgba(255, 255, 255, .08); color: var(--am-paper); font-size: var(--am-fs-base);
}
.am-news__input::placeholder { color: rgba(255, 255, 255, .6); }
.am-news__input:focus-visible { outline: 2px solid var(--am-gold); outline-offset: 2px; border-color: var(--am-gold); }
.am-news__msg { flex: 1 1 100%; margin: 8px 0 0; font-size: var(--am-fs-sm); min-height: 1em; }
.am-news__msg.is-ok { color: #cfe9d6; }
.am-news__msg.is-error { color: #f0c9b0; }
@media (max-width: 899px) {
	.am-news__inner { flex-direction: column; align-items: flex-start; }
	/* 纵向排列时重置 flex 基准，避免 360px 的 basis 把表单撑高、输入行上下留白 */
	.am-news__form { max-width: none; width: 100%; flex: 0 0 auto; }
}

/* ---------- 首页品牌语（东方器物美学签名） ---------- */
.am-manifesto {
	background: var(--am-primary-deep);
	color: var(--am-paper);
	padding: 76px 0;
	text-align: center;
	position: relative;
	overflow: hidden;
}
.am-manifesto::before,
.am-manifesto::after {
	content: "";
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	width: 120px;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--am-gold), transparent);
}
.am-manifesto::before { top: 28px; }
.am-manifesto::after { bottom: 28px; }
.am-manifesto__line {
	font-family: var(--am-font-serif);
	font-size: var(--am-fs-2xl);
	line-height: 1.4;
	color: var(--am-paper);
	margin: 0 auto;
	max-width: 18em;
	font-weight: 600;
	letter-spacing: .04em;
}
.am-manifesto__sub {
	margin: 18px auto 0;
	max-width: 34em;
	color: var(--am-stone);
	font-size: var(--am-fs-base);
	line-height: 1.9;
}

/* ---------- 手机端适配（≤599px）：沉浸式首屏 + 分类两列 + 品牌语降阶 ---------- */
@media (max-width: 599px) {
	.am-hero__viewport,
	.am-hero__slide { min-height: 88vh; }
	.am-hero__content { min-height: 88vh; padding: 30px 22px 76px; max-width: none; gap: 12px; }
	.am-hero__title { font-size: 30px; }
	.am-hero__sub { font-size: var(--am-fs-base); }
	.am-hero__cta .am-btn { flex: 1 1 auto; justify-content: center; }
	.am-hero__cue { display: none; }
	.am-hero__seal { width: 46px; height: 46px; top: 16px; right: 16px; border-radius: 8px; }
	.am-hero__seal i { font-size: 15px; }
	.am-manifesto { padding: 52px 0; }
	.am-manifesto__line { font-size: 24px; }
	.am-manifesto__sub { font-size: var(--am-fs-sm); }
	/* 手机端分类保留两列，提升浏览密度与视觉冲击 */
	.am-home-cats .am-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.am-catcard { min-height: 200px; border-radius: 18px; }
	.am-catcard__inner { min-height: 200px; padding: 16px; }
	.am-catcard__title { font-size: var(--am-fs-base); }
	.am-catcard__title::after { width: 26px; }
	.am-catcard::before { inset: 8px; border-radius: 12px; }
}

/* ==========================================================================
   阶段二 A/C：首屏定位带、如何开始、东方色谱、场景向导、材质图鉴、生日色系增强
   ========================================================================== */

/* ---------- 首屏价值主张定位带 + 三入口 ---------- */
.am-hero__positioning {
	padding: 22px 0 4px;
	text-align: center;
}
.am-hero__pos-text {
	font-family: var(--am-font-serif);
	font-size: 18px;
	color: var(--am-primary);
	letter-spacing: .02em;
	margin: 0 0 14px;
}
.am-hero__chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}
.am-hero__chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 18px;
	border: 1px solid var(--am-gold);
	border-radius: var(--am-radius-pill);
	background: rgba(255, 255, 255, .7);
	color: var(--am-primary);
	font-size: var(--am-fs-sm);
	text-decoration: none;
	transition: background .2s var(--am-ease), color .2s var(--am-ease), border-color .2s var(--am-ease);
}
.am-hero__chip:hover,
.am-hero__chip:focus-visible {
	background: var(--am-primary);
	border-color: var(--am-primary);
	color: var(--am-paper);
}
.am-hero__chip svg { color: var(--am-gold); }
.am-hero__chip:hover svg,
.am-hero__chip:focus-visible svg { color: var(--am-gold-soft); }

/* ---------- 如何开始 · 四路径 ---------- */
.am-home-start { background: var(--am-ivory); }
.am-home-start__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	margin-top: 8px;
}
.am-start-card {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 96px;
	padding: 18px;
	border: 1px solid var(--am-line);
	border-radius: var(--am-radius-card);
	background: var(--am-paper);
	color: var(--am-primary);
	text-decoration: none;
	transition: transform .2s var(--am-ease), box-shadow .2s var(--am-ease), border-color .2s var(--am-ease);
}
.am-start-card:hover,
.am-start-card:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(31, 59, 52, .10);
	border-color: var(--am-gold);
}
.am-start-card__icon {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--am-ivory);
	color: var(--am-gold-deep);
}
.am-start-card__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.am-start-card__title { font-family: var(--am-font-serif); font-size: var(--am-fs-base); }
.am-start-card__desc { font-size: var(--am-fs-sm); color: var(--am-muted); line-height: 1.5; }
.am-start-card__arrow { margin-left: auto; color: var(--am-gold); flex: 0 0 auto; }

/* ---------- 生日 → 色系：增强字段 ---------- */
.am-birthstone__control {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
	margin: 18px 0 4px;
}
.am-birthstone__date-label { font-size: var(--am-fs-sm); color: var(--am-muted); }
.am-birthstone__date {
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid var(--am-line);
	border-radius: var(--am-radius-input);
	background: var(--am-paper);
	color: var(--am-primary);
	font-size: var(--am-fs-base);
}
.am-birthstone__date-hint { width: 100%; font-size: var(--am-fs-xs); color: var(--am-muted); margin: 0; }
.am-birthstone__quick-label { font-size: var(--am-fs-sm); color: var(--am-muted); margin: 14px 0 8px; }
.am-birthstone__season {
	display: inline-block;
	margin-top: 8px;
	font-size: var(--am-fs-xs);
	color: var(--am-gold-deep);
	border: 1px solid var(--am-gold-soft);
	border-radius: var(--am-radius-pill);
	padding: 2px 10px;
}
.am-birthstone__families { margin-top: 18px; }
.am-birthstone__sub-label { font-size: var(--am-fs-sm); color: var(--am-muted); margin: 0 0 10px; }
.am-birthstone__family-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}
.am-birthstone__family {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px;
	border: 1px solid var(--am-line);
	border-radius: var(--am-radius-card);
	background: var(--am-paper);
}
.am-birthstone__family-chip {
	width: 100%;
	height: 40px;
	border-radius: 10px;
	background: var(--am-fam);
	border: 1px solid rgba(0, 0, 0, .06);
}
.am-birthstone__family-name { font-size: var(--am-fs-sm); color: var(--am-primary); }
.am-birthstone__family-note { font-size: var(--am-fs-xs); color: var(--am-muted); }
.am-birthstone__occasion { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.am-birthstone__occasion .am-birthstone__sub-label { width: 100%; margin-bottom: 0; }
.am-birthstone__tag {
	font-size: var(--am-fs-xs);
	color: var(--am-primary);
	border: 1px solid var(--am-line);
	border-radius: var(--am-radius-pill);
	padding: 4px 12px;
	background: var(--am-ivory);
}
.am-birthstone__material { margin-top: 16px; }
.am-birthstone__material-text { font-size: var(--am-fs-sm); color: var(--am-primary); line-height: 1.7; margin: 0; }

/* ---------- 东方色谱挑选器 ---------- */
.am-palette__hint { font-size: var(--am-fs-sm); color: var(--am-muted); margin: 6px 0 14px; }
.am-palette__swatches {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}
.am-palette__swatch {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	min-height: 116px;
	padding: 16px 10px;
	border: 1px solid var(--am-line);
	border-radius: var(--am-radius-card);
	background: var(--am-paper);
	cursor: pointer;
	text-align: center;
	transition: border-color .2s var(--am-ease), transform .2s var(--am-ease);
}
.am-palette__swatch[aria-pressed="true"] { border-color: var(--am-gold); transform: translateY(-2px); }
.am-palette__chip {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--am-swatch);
	border: 2px solid rgba(255, 255, 255, .7);
	box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
}
.am-palette__name { font-family: var(--am-font-serif); font-size: var(--am-fs-base); color: var(--am-primary); }
.am-palette__note { font-size: var(--am-fs-xs); color: var(--am-muted); }
.am-palette__head { display: flex; align-items: center; gap: 10px; margin: 18px 0 8px; }
.am-palette__dot { width: 22px; height: 22px; border-radius: 50%; background: var(--am-swatch); }
.am-palette__title { font-family: var(--am-font-serif); font-size: var(--am-fs-base); color: var(--am-primary); }

/* ---------- 礼品场景向导 ---------- */
.am-gift__hint { font-size: var(--am-fs-sm); color: var(--am-muted); margin: 6px 0 14px; }
.am-gift__scenes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.am-gift__scene {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-height: 120px;
	padding: 18px;
	border: 1px solid var(--am-line);
	border-radius: var(--am-radius-card);
	background: var(--am-paper);
	cursor: pointer;
	text-align: left;
	transition: border-color .2s var(--am-ease), transform .2s var(--am-ease);
}
.am-gift__scene[aria-pressed="true"] { border-color: var(--am-gold); transform: translateY(-2px); }
.am-gift__scene-icon { color: var(--am-gold-deep); }
.am-gift__scene-name { font-family: var(--am-font-serif); font-size: var(--am-fs-base); color: var(--am-primary); }
.am-gift__scene-desc { font-size: var(--am-fs-xs); color: var(--am-muted); line-height: 1.6; }
.am-gift__head { display: flex; align-items: center; gap: 10px; margin: 18px 0 8px; }
.am-gift__head-icon { color: var(--am-gold-deep); }
.am-gift__title { font-family: var(--am-font-serif); font-size: var(--am-fs-base); color: var(--am-primary); }

/* ---------- 材质与工艺图鉴 ---------- */
.am-craft__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 8px; }
.am-craft__card {
	padding: 20px;
	border: 1px solid var(--am-line);
	border-radius: var(--am-radius-card);
	background: var(--am-paper);
	border-top: 4px solid var(--am-craft);
}
.am-craft__chip { display: inline-block; width: 28px; height: 28px; border-radius: 8px; background: var(--am-craft); margin-bottom: 10px; }
.am-craft__name { font-family: var(--am-font-serif); font-size: var(--am-fs-base); color: var(--am-primary); margin: 0 0 10px; }
.am-craft__spec { margin: 0; display: grid; gap: 6px; }
.am-craft__spec > div { display: grid; grid-template-columns: 48px 1fr; gap: 8px; font-size: var(--am-fs-sm); }
.am-craft__spec dt { color: var(--am-muted); }
.am-craft__spec dd { margin: 0; color: var(--am-primary); line-height: 1.6; }
.am-craft__grid-products { margin-top: 14px; }
.am-craft__note { margin-top: 18px; font-size: var(--am-fs-xs); color: var(--am-muted); line-height: 1.8; }

/* ---------- 新模块商品网格（移动 2 列 / 桌面 4 列） ---------- */
.am-palette__grid,
.am-gift__grid,
.am-craft__grid-products {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin-top: 10px;
}

/* ---------- 新模块响应式（≤899px） ---------- */
@media (max-width: 899px) {
	.am-home-start__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.am-palette__swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.am-gift__scenes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.am-craft__grid { grid-template-columns: 1fr; }
	.am-birthstone__family-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.am-start-card,
	.am-palette__swatch,
	.am-gift__scene { transition: none; }
	.am-start-card:hover,
	.am-palette__swatch[aria-pressed="true"],
	.am-gift__scene[aria-pressed="true"] { transform: none; }
}

/* ==========================================================================
   首页 6 屏（整改方案 V1.0 · 3.1）· 现货 / 臻选 / 定制 / 工艺背书 / 材质
   ========================================================================== */
.am-home-block { scroll-margin-top: calc(var(--am-header-h) + 16px); }
.am-featured__grid,
.am-premium__grid { gap: 24px; }
.am-home-block__more { margin-top: 40px; }

/* ---------- 第 4 屏 · 专属定制服务 ---------- */
.am-bespoke { background: var(--am-ivory); }
.am-bespoke__inner,
.am-knot__inner {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 64px;
	align-items: center;
}
.am-bespoke__media,
.am-knot__media { margin: 0; overflow: hidden; border-radius: var(--am-radius-block); }
.am-bespoke__media img,
.am-knot__media img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	box-shadow: 0 18px 40px rgba(31, 59, 52, .10);
}
.am-bespoke__title,
.am-knot__title {
	font-family: var(--am-font-serif);
	font-size: clamp(24px, 2.4vw, 34px);
	line-height: 1.35;
	font-weight: 600;
	color: var(--am-primary);
	margin: 0 0 10px;
	text-wrap: balance;
}
.am-bespoke__sub {
	color: var(--am-gold-deep);
	font-size: var(--am-fs-base);
	margin: 0 0 16px;
}
.am-bespoke__lede { color: var(--am-muted); line-height: 1.85; margin: 0 0 28px; }
.am-bespoke__points { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 18px; }
.am-bespoke__point { display: flex; align-items: flex-start; gap: 14px; }
.am-bespoke__ic {
	flex: 0 0 44px;
	width: 44px; height: 44px;
	display: grid; place-items: center;
	border-radius: 50%;
	background: rgba(176, 141, 87, .13);
	color: var(--am-gold-deep);
}
.am-bespoke__pt { display: flex; flex-direction: column; gap: 4px; }
.am-bespoke__pt strong { color: var(--am-primary); font-size: var(--am-fs-md); font-weight: 600; }
.am-bespoke__pt em { font-style: normal; color: var(--am-muted); font-size: var(--am-fs-sm); line-height: 1.6; }
.am-bespoke__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 第 5 屏 · 工艺背书 ---------- */
.am-knot__text { color: var(--am-muted); line-height: 1.85; margin: 0 0 24px; }
.am-knot__list { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 0; }
.am-knot__list li {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 10px;
	padding-block: 12px;
	border-bottom: 1px dashed var(--am-line);
}
.am-knot__list li:last-child { border-bottom: 0; }
.am-knot__i { color: var(--am-gold); display: inline-flex; }
.am-knot__list strong { color: var(--am-primary); font-size: var(--am-fs-base); font-weight: 600; }
.am-knot__list em { font-style: normal; color: var(--am-muted); font-size: var(--am-fs-sm); }

/* ---------- 手机端（整改方案 7.1） ---------- */
@media (max-width: 899px) {
	.am-bespoke__inner,
	.am-knot__inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.am-featured__grid,
	.am-premium__grid { gap: 16px; }
	.am-bespoke__title,
	.am-knot__title { font-size: 26px; }
	.am-home-block__more { margin-top: 28px; }
	.am-bespoke__actions { flex-direction: column; align-items: stretch; }
	.am-bespoke__actions .am-btn { width: 100%; text-align: center; }
	/* 首屏：取消「案珠」竖排印章，避免小屏字距挤压错位 */
	.am-hero__seal { display: none; }
}
@media (max-width: 599px) {
	/* 现货专区手机端保持 2 列（方案 7.1 明确不要 1 列或 4 列） */
	.am-featured__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	/* 角标缩小内边距，确保不溢出卡片 */
	.am-card__badge { font-size: 11px; padding: 3px 7px; top: 8px; left: 8px; }
	.am-bespoke__pt strong { font-size: var(--am-fs-base); }
}

/* ---------- 页脚常驻合规链接（整改方案 · 八） ---------- */
.am-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 26px;
	padding-block: 18px;
	border-top: 1px solid rgba(255, 253, 249, .14);
	border-bottom: 1px solid rgba(255, 253, 249, .14);
}
.am-footer__legal a {
	color: var(--am-footer-muted);
	font-size: var(--am-fs-sm);
	text-decoration: none;
	transition: color .2s ease;
}
.am-footer__legal a:hover,
.am-footer__legal a:focus-visible { color: var(--am-gold-soft); }
@media (max-width: 599px) {
	.am-footer__legal { gap: 8px 18px; padding-block: 14px; }
	.am-footer__legal a { font-size: var(--am-fs-xs); }
}

/* ---------- 商品详情页（整改方案 · 四） ---------- */
.am-specs {
	margin: 18px 0 22px;
	border-top: 1px solid var(--am-line);
	font-size: var(--am-fs-sm);
}
.am-specs__row {
	display: flex;
	gap: 16px;
	padding: 10px 0;
	border-bottom: 1px solid var(--am-line-soft);
}
.am-specs__row dt { flex: 0 0 92px; margin: 0; color: var(--am-muted); }
.am-specs__row dd { margin: 0; color: var(--am-ink); }

/* 首屏购买入口：50px 通栏、加粗白字 */
.am-single .single_add_to_cart_button,
.am-single form.cart .button,
.am-single .am-buynow {
	min-height: 50px;
	width: 100%;
	font-size: var(--am-fs-base);
	font-weight: 600;
	line-height: 1.2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.am-single form.cart,
.am-single .am-buynow { width: 100%; }
.am-buynow { margin-top: 12px; }

/* 底部售后承诺 + 信任条 */
.am-propromise {
	margin-top: 40px;
	padding: 26px 28px;
	background: var(--am-ivory);
	border-radius: var(--am-radius-card);
}
.am-propromise__list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.am-propromise__list li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	color: var(--am-ink);
	font-size: var(--am-fs-sm);
	line-height: 1.6;
}
.am-propromise__list svg { color: var(--am-gold); flex: 0 0 auto; margin-top: 2px; }
.am-propromise__strip {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	justify-content: center;
	padding-top: 14px;
	border-top: 1px dashed var(--am-line);
	color: var(--am-muted);
	font-size: var(--am-fs-xs);
	letter-spacing: .04em;
}
.am-propromise__dot { color: var(--am-line-strong); }

@media (max-width: 599px) {
	.am-specs__row dt { flex-basis: 80px; }
	.am-propromise { padding: 20px; }
}

/* 购买按钮主次区分：立即购买=品牌色填充主按钮，加入购物车=描边次按钮 */
.am-single .am-buynow {
	background: var(--am-primary);
	border-color: var(--am-primary);
	color: #fff;
	border-radius: var(--am-radius-input);
	text-decoration: none;
}
.am-single .am-buynow:hover,
.am-single .am-buynow:focus-visible { background: var(--am-primary-deep); border-color: var(--am-primary-deep); color: #fff; }
.am-single form.cart .single_add_to_cart_button,
.am-single form.cart .button {
	background: transparent;
	border: 1px solid var(--am-gold);
	color: var(--am-gold-deep);
	border-radius: var(--am-radius-input);
}
.am-single form.cart .single_add_to_cart_button:hover,
.am-single form.cart .button:hover {
	background: rgba(176, 141, 87, .10);
	color: var(--am-gold-deep);
}

/* ---------------- 顶部信息栏（在 sticky 导航之外，独立命名空间） ---------------- */
.am-announce {
	display: block;
	width: 100%;
	box-sizing: border-box;
	height: 30px;
	line-height: 30px;
	background: #f6f2e9;
	color: #4a4a44;
	font-size: 12px;
	letter-spacing: .02em;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	border-bottom: 1px solid rgba(31, 59, 52, .06);
}
.am-announce__full,
.am-announce__short { display: inline; }
.am-announce__short { display: none; }

@media (max-width: 599px) {
	.am-announce {
		height: 28px;
		line-height: 28px;
		font-size: 11px;
	}
	.am-announce__full { display: none; }
	.am-announce__short { display: inline; }
}

