/* 官网阶段一「预留」（reserve.js）：购物袋里的付款方式那一块（Apple Pay、Google Pay、卡标、付款说明）不显示；
   结账层底部那条「Pay」浮动条不显示（预留表单自己有按钮）。其余沿用客户结账层的样式。 */
#cart .pay { display: none !important; }
#coPayBar { display: none !important; }
#coForm .nv-rv-lead { margin: 0 0 18px; }
/* 客户的结账层把表单里的 h3 藏起来了（标题在顶栏），完成页的标题自己写 */
#coForm .nv-rv-k { margin: 8px 0 6px; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; opacity: .7; }
#coForm .nv-rv-h { margin: 0 0 14px; font-family: var(--display, Georgia, serif); font-size: 34px; line-height: 1.15; }
#coForm .nv-rv-done p { line-height: 1.6; }
/* 预留完整版（0195）：码一行、合计、CLASS OF 2027 提示、逐个字母核对、学会链接的横条 */
#coForm .nv-rv-coderow { display: flex; gap: 10px; align-items: center; }
#coForm .nv-rv-coderow input { flex: 1; min-width: 0; text-transform: uppercase; }
#coForm .nv-rv-coderow button { align-self: stretch; border: 1px solid rgba(38,20,15,.3); background: none; border-radius: 10px; padding: 0 18px; font: 500 14px var(--ui); color: var(--ink); cursor: pointer; }
#coForm .nv-rv-total { margin: 14px 0 4px; font-size: 16px; }
#coForm .nv-rv-total s { opacity: 1; color: #6b5a52; margin-right: 6px; }
#coForm .nv-rv-codeok, #coForm .nv-rv-codenot, #coForm .nv-rv-oneoffer { margin: 0 0 12px; }
#coForm .nv-rv-class { margin: 12px 0; padding: 12px 14px; border: 1px solid currentColor; border-radius: 10px; }
#coForm .nv-rv-class p { margin: 0 0 6px; line-height: 1.5; }
#coForm .nv-rv-spell { margin: 14px 0 8px; }
#coForm .nv-rv-spell ul { list-style: none; margin: 6px 0 10px; padding: 0; }
#coForm .nv-rv-spell li { margin: 4px 0; display: flex; gap: 10px; flex-wrap: wrap; align-items: baseline; }
#coForm .nv-rv-nm { font-weight: 600; }
#coForm .nv-rv-sp { font: 500 13px var(--ui); letter-spacing: .14em; overflow-wrap: anywhere; }
#coForm .nv-rv-card { flex-basis: 100%; font-size: 13px; color: var(--ink2); }
#coForm select { width: 100%; box-sizing: border-box; font: 16px/1.3 var(--ui); color: var(--ink); background: var(--field) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2326140f' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 16px center; border: 1px solid rgba(38,20,15,.24); border-radius: 10px; padding: 14px 40px 14px 14px; -webkit-appearance: none; appearance: none; }
#coForm select:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px #661b2724; }
/* 购物袋和结账摘要里客户自己的码框（只认他代码里写死的 FRIENDS10，价钱和服务器不一致）不显示，码只在预留表单里填 */
#cart .ccode, #coSum .cs-code { display: none !important; }
.nv-soc {
  /* 居中不用 translateX(-50%)：那样宽度最多半个屏，字一多就变成一个圆（审查 F1） */
  position: fixed; left: 16px; right: 16px; margin: 0 auto; width: fit-content; top: calc(env(safe-area-inset-top, 0px) + 70px);
  z-index: 33; max-width: min(calc(100vw - 32px), 560px); padding: 8px 16px; border-radius: 22px;
  background: rgba(248, 232, 220, .94); color: #2a0a0e; font: 13px/1.4 var(--ui, -apple-system, sans-serif);
  text-align: center; box-shadow: 0 4px 18px rgba(0, 0, 0, .18); pointer-events: none;
}
.nv-soc { padding-right: 40px; }
.nv-soc-x { pointer-events: auto; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px;
  border: 0; border-radius: 50%; background: transparent; color: inherit; font: 18px/1 var(--ui, sans-serif); cursor: pointer; }
.nv-soc-x:focus-visible { outline: 2px solid #661b27; outline-offset: 1px; }
/* 手机：缩成一行以后只留一行字，不挡吊饰（审查 C6） */
@media (max-width: 760px) { .nv-soc.min b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; } .nv-soc.min { max-width: calc(100vw - 32px); } }
.nv-soc b { display: block; letter-spacing: .02em; }
.nv-soc span { display: block; font-size: 11px; opacity: .8; }
body.layer .nv-soc { display: none; }
.nv-soc span { max-height: 4.5em; overflow: hidden; transition: max-height .4s ease, opacity .3s ease; }
.nv-soc.min { padding: 6px 40px 6px 14px; border-radius: 999px; }
.nv-soc.min span { max-height: 0; opacity: 0; }
#coForm .nv-rv-card { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 8px; }
#coForm .nv-rv-card label { font-size: 12.5px; color: var(--ink2); }
#coForm .nv-rv-card textarea, #coForm .nv-rv-card input { width: 100%; box-sizing: border-box; font: 16px/1.35 var(--ui); color: var(--ink); background: var(--field); border: 1px solid rgba(38,20,15,.24); border-radius: 10px; padding: 10px 12px; resize: vertical; -webkit-appearance: none; appearance: none; }
#coForm .nv-rv-card textarea { font-family: var(--script); font-size: 19px; }
#co.nv-rv-isdone .co-sum, #co.nv-rv-isdone .co-sumbar { display: none !important; }
#nv-rv-ts { display: flex; justify-content: center; padding: 0 20px 24px; }
#nv-rv-ts:empty { display: none; }
#coForm .nv-rv-cardnote { font-size: 12px; color: var(--ink2); }
#coForm .nv-rv-cardnote:empty { display: none; }
/* 出错（GOV.UK 的错误汇总：顶上一块、左边一道粗线、每条链到那一格；格子红边、下面写原因） */
#coForm .nv-rv-errsum { margin: 4px 0 16px; padding: 12px 14px; border: 2px solid #9b1c2c; border-left-width: 6px; border-radius: 10px; background: #fff6f4; }
#coForm .nv-rv-errsum:focus { outline: 3px solid #661b2766; outline-offset: 2px; }
#coForm .nv-rv-errt { margin: 0 0 6px; font: 600 15px/1.35 var(--ui); color: #6e1320; }
#coForm .nv-rv-errsum ul { margin: 0; padding-left: 18px; }
#coForm .nv-rv-errsum li { margin: 3px 0; font: 500 14px/1.4 var(--ui); color: #6e1320; }
#coForm .nv-rv-errsum a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
#coForm .nv-rv-ferr { display: block; margin-top: 4px; }
#coForm [aria-invalid="true"]:not([type="checkbox"]) { border-color: #9b1c2c !important; box-shadow: 0 0 0 1px #9b1c2c; }
#coForm input[type="checkbox"][aria-invalid="true"] { outline: 2px solid #9b1c2c; outline-offset: 2px; }
#coForm .nv-rv-sugg { display: inline-block; margin: 6px 0 0; padding: 4px 0; min-height: 24px; font: 500 13px var(--ui); text-align: left; }
