/* ==========================================================================
   购物车（产品列表 / 确认订单）视觉与交互增强层（覆盖式）
   - 仅在 product.tpl 与 viewcart.tpl 中引入，不影响其它会员中心页面
   - 通过更高特异性覆盖 cart.css 与 body.nq .btn 的直角风格，不修改原文件
   版本：v=20261126za
   ========================================================================== */

/* ---------- 0. 基础 ---------- */

body.nq .nq-product-pricing,
body.nq .nq-price-current,
body.nq .nq-viewcart-footer-amount,
body.nq .nq-productconfig-footer-amount {
  font-variant-numeric: tabular-nums; /* 价格数字等宽，跳动时不抖 */
}

/* ---------- 1. 产品列表：卡片 ---------- */

.nq-product-grid {
  gap: 18px;
}

.nq-product-card {
  border-radius: 8px;
  border: 1px solid var(--nq-uc-border, rgba(15, 23, 42, 0.075));
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 12px 24px -20px rgba(16, 24, 40, 0.22);
  transition: transform 0.25s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.25s cubic-bezier(0.22, 0.61, 0.36, 1),
    border-color 0.25s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.nq-product-card:not(.nq-product-soldout):hover {
  transform: translateY(-2px);
  border-color: rgba(var(--arcoblue-6), 0.35);
  box-shadow: 0 2px 4px rgba(16, 24, 40, 0.03), 0 18px 36px -24px rgba(16, 24, 40, 0.32);
}

/* 产品名允许两行，长名称不再被截成半句 */
.nq-product-name {
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

/* 库存角标改为胶囊形 */
.nq-product-stock {
  border-radius: 999px;
  padding: 3px 9px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nq-product-desc {
  line-height: 1.72;
  color: var(--nq-text-2);
}

.nq-product-desc img {
  max-width: 100%;
  height: auto;
}

.nq-price-current {
  font-size: 26px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

/* ---------- 2. 按钮：统一圆角、高度与按压反馈 ---------- */

body.nq .nq-product-footer .btn,
body.nq .nq-viewcart-footer-right .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 40px;
  padding: 0 18px;
  border-radius: 6px;
  font-size: var(--nq-font-md);
  font-weight: 600;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease,
    box-shadow 0.2s ease, transform 0.12s ease;
}

body.nq .nq-product-footer .btn.disabled,
body.nq .nq-btn-soldout {
  border-radius: 6px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}

body.nq .nq-product-footer .btn-primary:not(.disabled),
body.nq .nq-viewcart-footer-right .btn-primary {
  box-shadow: 0 8px 18px -12px rgba(var(--arcoblue-6), 0.85);
}

body.nq .nq-product-footer .btn-primary:not(.disabled):hover,
body.nq .nq-viewcart-footer-right .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -12px rgba(var(--arcoblue-6), 0.85);
}

body.nq .nq-product-footer .btn:active,
body.nq .nq-viewcart-footer-right .btn:active {
  transform: translateY(0) scale(0.99);
  box-shadow: 0 3px 10px -8px rgba(var(--arcoblue-6), 0.7);
}

body.nq .nq-product-footer .btn:focus-visible,
body.nq .nq-viewcart-footer-right .btn:focus-visible,
.nq-cart-nav-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--arcoblue-6), 0.25);
}

/* ---------- 3. 左侧分类导航 ---------- */

.nq-cart-nav-link {
  border-radius: 6px;
}

.nq-cart-nav-link.active {
  box-shadow: inset 3px 0 0 0 var(--nq-primary);
}

.nq-cart-nav-link .nq-cart-nav-tag {
  border-radius: 999px;
  padding: 0 6px;
}

/* ---------- 4. 分区标题 / 登录提示 / 服务须知 ---------- */

.nq-cart-group-heading,
.nq-cart-login,
.nq-cart-notice,
.nq-cart-empty-inner {
  border-radius: 8px;
}

body.nq .nq-cart-login-btn {
  border-radius: 6px;
  height: 32px;
  display: inline-flex;
  align-items: center;
}

/* ---------- 5. 确认订单页 ---------- */

body.nq .nq-viewcart {
  border-radius: 10px;
  border: 1px solid var(--nq-border-1);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 18px 40px -30px rgba(16, 24, 40, 0.3);
}

body.nq .nq-viewcart-header {
  border-radius: 10px 10px 0 0;
}

.nq-viewcart-title {
  letter-spacing: -0.01em;
}

body.nq .nq-viewcart .nq-viewcart-product {
  border-radius: 8px;
  border: 1px solid var(--nq-uc-border, rgba(15, 23, 42, 0.075));
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.03);
  transition: transform 0.25s cubic-bezier(0.22, 0.61, 0.36, 1),
    border-color 0.25s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.25s cubic-bezier(0.22, 0.61, 0.36, 1);
}

body.nq .nq-viewcart .nq-viewcart-product:hover {
  transform: translateY(-1px);
}

.nq-viewcart-config-tag {
  border-radius: 999px;
  padding: 4px 12px;
  border: 1px solid var(--nq-border-1);
  background: var(--nq-bg-1);
}

.nq-productconfig-stepper {
  border-radius: 6px;
}

/* 固定结算栏：半透明毛玻璃 + 更轻的投影 */
.nq-viewcart-footer {
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--nq-border-1);
  box-shadow: 0 -10px 30px -24px rgba(16, 24, 40, 0.45);
}

.nq-viewcart-footer-amount {
  letter-spacing: -0.02em;
}

/* ---------- 6. 移动端 ---------- */

@media (max-width: 768px) {
  .nq-product-grid {
    gap: 12px;
  }

  body.nq .nq-product-footer .btn,
  body.nq .nq-viewcart-footer-right .btn {
    height: 44px;
    font-size: 15px;
  }
}

/* ---------- 7. 尊重系统"减少动态效果" ---------- */

@media (prefers-reduced-motion: reduce) {
  .nq-product-card,
  .nq-viewcart-product,
  body.nq .nq-product-footer .btn,
  body.nq .nq-viewcart-footer-right .btn {
    transition: none !important;
  }

  .nq-product-card:hover,
  .nq-viewcart-product:hover,
  body.nq .nq-product-footer .btn:hover,
  body.nq .nq-viewcart-footer-right .btn:hover {
    transform: none;
  }
}

/* ==========================================================================
   u28（20261126a）：结算页支付方式卡片，统一到用户中心「支付方式」网关卡样式
   - 支付类型改为「图标 + 名称」卡片：品牌图标、原始 logo、选中描边 + 对勾角标
   - 品牌图标按 data-payment 映射，与 addfunds 充值页同一套图标/配色
   - 选中态由模板内 20 行脚本跟随原生 radio / checkbox 同步 `.active`，
     不写 checked、不改提交值；cart.css 未改动
   ========================================================================== */

/* ---------- 8.1 支付方式：网格与卡片 ---------- */

body.nq .nq-viewcart-gateway-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 4px;
}

body.nq .nq-viewcart-gateway-item {
  position: relative;
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  max-width: 220px;
  height: 104px;
  min-height: 104px;
  padding: 14px 12px;
  background: #fff;
  border: 1px solid var(--nq-uc-border, rgba(15, 23, 42, 0.075));
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

/* 原生控件铺满整张卡片：点卡片即选中，同时保留键盘可达性 */
body.nq .nq-viewcart-gateway-item > input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

body.nq .nq-viewcart-gateway-item:hover {
  background: #fff;
  border-color: rgba(var(--arcoblue-6), 0.45);
}

body.nq .nq-viewcart-gateway-item.active {
  background: rgba(var(--arcoblue-6), 0.045);
  border-color: var(--nq-primary);
  box-shadow: 0 0 0 3px rgba(var(--arcoblue-6), 0.1);
}

body.nq .nq-viewcart-gateway-item:focus-within {
  box-shadow: 0 0 0 3px rgba(var(--arcoblue-6), 0.18);
}

/* ---------- 8.2 图标：微信/支付宝/贝宝统一品牌图标，其它网关保留原 logo ---------- */

/* 图标框：所有卡片统一 36px 高图标带（固定占位，不随内容伸缩），图标居中 */
body.nq .nq-viewcart-gateway-item::before {
  content: "\ea91";
  display: block;
  flex: 0 0 36px;
  width: 100%;
  height: 36px;
  font-family: "remixicon" !important;
  font-size: 34px;
  font-weight: 400;
  font-style: normal;
  line-height: 36px;
  color: var(--nq-text-4);
  text-align: center;
  pointer-events: none;
}

/* 余额 / 信用额卡片自带上层图标，不再输出通用银行卡图标 */
body.nq .nq-viewcart-gateway-item.nq-viewcart-credit-item::before {
  content: none;
}

/* 有 logo 的其它网关用原 logo，不叠加通用图标 */
body.nq .nq-viewcart-gateway-item.has-logo::before {
  content: none;
}

/* 微信：品牌绿图标（.nq-viewcart-gateway-grid 前缀确保覆盖 has-logo 的 content:none） */
body.nq .nq-viewcart-gateway-grid .nq-viewcart-gateway-item[data-payment="WxPay"]::before,
body.nq .nq-viewcart-gateway-grid .nq-viewcart-gateway-item[data-payment="EpayWxpay"]::before,
body.nq .nq-viewcart-gateway-grid .nq-viewcart-gateway-item[data-payment="GlobalWxPay"]::before {
  content: "\f2b7";
  color: #07c160;
}

/* 支付宝：品牌蓝图标 */
body.nq .nq-viewcart-gateway-grid .nq-viewcart-gateway-item[data-payment="AliPay"]::before,
body.nq .nq-viewcart-gateway-grid .nq-viewcart-gateway-item[data-payment="AliPayH5"]::before,
body.nq .nq-viewcart-gateway-grid .nq-viewcart-gateway-item[data-payment="Dmfa"]::before,
body.nq .nq-viewcart-gateway-grid .nq-viewcart-gateway-item[data-payment="GlobalAliPay"]::before,
body.nq .nq-viewcart-gateway-grid .nq-viewcart-gateway-item[data-payment="EpayAlipay"]::before {
  content: "\ea2b";
  color: #1677ff;
}

/* PayPal：品牌深蓝图标 */
body.nq .nq-viewcart-gateway-grid .nq-viewcart-gateway-item[data-payment="PayPal"]::before {
  content: "\efdb";
  color: #003087;
}

/* 上述品牌不再显示网关自带图片，避免图标与图片重复 */
body.nq .nq-viewcart-gateway-item[data-payment="WxPay"] .nq-viewcart-gateway-logo,
body.nq .nq-viewcart-gateway-item[data-payment="EpayWxpay"] .nq-viewcart-gateway-logo,
body.nq .nq-viewcart-gateway-item[data-payment="GlobalWxPay"] .nq-viewcart-gateway-logo,
body.nq .nq-viewcart-gateway-item[data-payment="AliPay"] .nq-viewcart-gateway-logo,
body.nq .nq-viewcart-gateway-item[data-payment="AliPayH5"] .nq-viewcart-gateway-logo,
body.nq .nq-viewcart-gateway-item[data-payment="Dmfa"] .nq-viewcart-gateway-logo,
body.nq .nq-viewcart-gateway-item[data-payment="GlobalAliPay"] .nq-viewcart-gateway-logo,
body.nq .nq-viewcart-gateway-item[data-payment="EpayAlipay"] .nq-viewcart-gateway-logo,
body.nq .nq-viewcart-gateway-item[data-payment="PayPal"] .nq-viewcart-gateway-logo {
  display: none;
}

/* 其它网关保留原 logo：占用与图标带完全相同的 36px 高度，卡片高度不因此变化 */
body.nq .nq-viewcart-gateway-item .nq-viewcart-gateway-logo {
  flex: 0 0 36px;
  max-width: 96px;
  height: 36px;
  max-height: 36px;
  margin: 0;
  object-fit: contain;
}

/* ---------- 8.3 名称与选中角标 ---------- */

body.nq .nq-viewcart-gateway-item .nq-viewcart-gateway-name {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 18px;
  color: var(--nq-text-2);
  white-space: nowrap;
  text-overflow: ellipsis;
}

body.nq .nq-viewcart-gateway-item.active .nq-viewcart-gateway-name {
  color: var(--nq-primary);
  font-weight: 600;
}

body.nq .nq-viewcart-gateway-item.active::after {
  content: "\eb7b";
  position: absolute;
  top: 7px;
  right: 7px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--nq-primary);
  box-shadow: 0 2px 6px -2px rgba(var(--arcoblue-6), 0.8);
  color: #fff;
  font-family: "remixicon" !important;
  font-size: 11px;
  font-style: normal;
  line-height: 16px;
  text-align: center;
  pointer-events: none;
}

/* ---------- 8.4 余额 / 信用额卡片 ---------- */

body.nq .nq-viewcart-credit-item i {
  display: block;
  flex: 0 0 36px;
  height: 36px;
  font-size: 34px;
  line-height: 36px;
  color: var(--nq-primary);
}

body.nq .nq-viewcart-credit-item .nq-viewcart-credit-amount {
  margin-top: 0;
  padding: 1px 8px;
  background: rgba(var(--arcoblue-6), 0.08);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--nq-primary);
}

body.nq .nq-viewcart-credit-item.insufficient {
  background: var(--nq-fill-1);
  border-color: var(--nq-fill-3);
  opacity: 0.62;
  cursor: not-allowed;
}

body.nq .nq-viewcart-credit-item.insufficient:hover {
  background: var(--nq-fill-1);
  border-color: var(--nq-fill-3);
}

body.nq .nq-viewcart-credit-item.insufficient > input {
  pointer-events: none;
}

body.nq .nq-viewcart-credit-item.insufficient i,
body.nq .nq-viewcart-credit-item.insufficient .nq-viewcart-credit-amount {
  color: var(--nq-text-4);
  background: transparent;
}

/* ---------- 8.5 余额提示条 ---------- */

body.nq .nq-viewcart-credit-notice {
  margin-top: 12px;
  padding: 9px 12px;
  background: rgba(var(--arcoblue-6), 0.06);
  border-radius: 8px;
  font-size: 12.5px;
  line-height: 18px;
  color: var(--nq-text-2);
}

body.nq .nq-viewcart-credit-notice i,
body.nq .nq-viewcart-credit-notice strong {
  color: var(--nq-primary);
}

/* ---------- 8.6 备注 / 优惠码 / 服务条款 ---------- */

body.nq .nq-viewcart #step-payment .form-control {
  background: var(--nq-bg-1);
  border: 1px solid var(--nq-border-1);
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--nq-text-1);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* 备注框已随 u38 迁入底部结算面板（.nq-checkout-note），样式见 10.7；
   这里不再保留 textarea 专用规则，避免选择器失效后留下死样式 */

body.nq .nq-viewcart #step-payment .form-control:focus {
  border-color: var(--nq-primary);
  box-shadow: 0 0 0 3px rgba(var(--arcoblue-6), 0.12);
}

body.nq .nq-viewcart #step-payment .form-control::placeholder {
  color: var(--nq-text-4);
}

/* 优惠码与服务协议已并入底部结算栏（u31），样式见第 9 节 */

/* ---------- 8.7 商品卡片细节 ---------- */

body.nq .nq-viewcart .nq-viewcart-product {
  background: #fff;
  border-radius: 10px;
}

body.nq .nq-viewcart .nq-viewcart-product > .card-header {
  height: auto;
  min-height: 44px;
  padding: 10px 16px;
  background: var(--nq-bg-2);
  border-radius: 10px 10px 0 0;
  font-size: 14px;
}

body.nq .nq-viewcart .nq-viewcart-product > .card-header strong {
  color: var(--nq-text-1);
}

body.nq .nq-viewcart .nq-viewcart-product > .card-body {
  padding: 14px 16px;
}

body.nq .nq-viewcart .nq-viewcart-config-tag {
  background: var(--nq-fill-1);
  border-color: transparent;
  font-size: 12px;
}

body.nq .nq-viewcart .nq-viewcart-config-tag:hover {
  background: var(--nq-primary-light);
}

/* ---------- 8.8 响应式 ---------- */

@media (max-width: 991.98px) {
  body.nq .nq-viewcart-gateway-item {
    flex: 1 1 0;
    max-width: 200px;
  }

  body.nq .nq-viewcart-gateway-item::before {
    flex-basis: 34px;
    height: 34px;
    font-size: 32px;
    line-height: 34px;
  }

  body.nq .nq-viewcart-gateway-item .nq-viewcart-gateway-logo {
    flex-basis: 34px;
    height: 34px;
    max-height: 34px;
  }
}

@media (max-width: 575.98px) {
  body.nq .nq-viewcart-gateway-grid {
    gap: 10px;
  }

  body.nq .nq-viewcart-gateway-item {
    flex: 1 1 0;
    max-width: none;
    height: 96px;
    min-height: 96px;
    padding: 12px 8px;
    gap: 6px;
  }

  body.nq .nq-viewcart-gateway-item::before,
  body.nq .nq-viewcart-credit-item i {
    flex-basis: 32px;
    height: 32px;
    font-size: 30px;
    line-height: 32px;
  }

  body.nq .nq-viewcart-gateway-item .nq-viewcart-gateway-logo {
    flex-basis: 32px;
    height: 32px;
    max-height: 32px;
  }

  body.nq .nq-viewcart-gateway-item .nq-viewcart-gateway-name {
    font-size: 12px;
    line-height: 17px;
  }

  body.nq .nq-viewcart-gateway-item.active::after {
    top: 6px;
    right: 6px;
  }

  body.nq .nq-viewcart .nq-viewcart-product > .card-header {
    padding: 10px 12px;
  }
}

/* ---------- 8.9 尊重「减少动态效果」 ---------- */

@media (prefers-reduced-motion: reduce) {
  body.nq .nq-viewcart-gateway-item {
    transition: none;
  }
}

/* ==========================================================================
   u33（20261126f）：底部结算面板
   - 优惠码、服务协议、总计与操作按钮统一收进一张「结算面板」卡片
   - 只改视觉与排布：保留原 name/id（promo / terms / removepromo / paymt），
     优惠码提交、协议校验、步骤切换逻辑均沿用原有脚本
   ========================================================================== */

/* ---------- 9.1 面板容器 ---------- */

body.nq .nq-viewcart-footer-inner {
  align-items: stretch;
}

.nq-checkout-panel {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--nq-uc-border, rgba(15, 23, 42, 0.075));
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 18px 36px -30px rgba(16, 24, 40, 0.38);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* 进入确认结算步骤后轻微强调，提示这是最终提交区 */
body.nq-checkout .nq-checkout-panel {
  border-color: rgba(var(--arcoblue-6), 0.28);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 20px 40px -30px rgba(var(--arcoblue-6), 0.5);
}

/* ---------- 9.2 优惠码 + 服务协议一行 ---------- */

.nq-checkout-panel .nq-checkout-extras {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.nq-checkout-panel .nq-checkout-extras-promo {
  display: flex;
  flex: 1 1 320px;
  flex-direction: column;
  min-width: 0;
}

/* 输入框 + 使用 + 使用优惠券按钮：一条 36px 的控件带 */
body.nq .nq-checkout-panel .nq-checkout-promo-field {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 470px;
}

body.nq .nq-checkout-panel .nq-checkout-promo-field .form-control {
  height: 36px;
  min-width: 0;
  padding: 0 12px;
  background: var(--nq-bg-2);
  border: 1px solid var(--nq-border-1);
  border-right: 0;
  border-radius: 8px 0 0 8px;
  font-size: 13px;
  color: var(--nq-text-1);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

body.nq .nq-checkout-panel .nq-checkout-promo-field .form-control:focus {
  background: #fff;
  border-color: var(--nq-primary);
  box-shadow: 0 0 0 3px rgba(var(--arcoblue-6), 0.12);
}

body.nq .nq-checkout-panel .nq-checkout-promo-field .form-control::placeholder {
  color: var(--nq-text-4);
}

body.nq .nq-checkout-panel .nq-checkout-promo-field .input-group-append {
  display: flex;
  flex-shrink: 0;
}

body.nq .nq-checkout-panel .nq-checkout-promo-field .input-group-append .btn {
  height: 36px;
  padding: 0 16px;
  border-radius: 0 8px 8px 0;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

/* 插件按钮「使用优惠券」：与「使用」并排、同高 */
body.nq .nq-checkout-panel .hmy-cart-launch {
  flex-shrink: 0;
  height: 36px;
  margin-left: 8px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 13px;
  white-space: nowrap;
}

/* 插件状态提示（优惠券不足 / 已选中等） */
body.nq .nq-checkout-panel .hmy-cart-status {
  margin-top: 6px;
  font-size: 12px;
  line-height: 16px;
  text-align: left;
}

/* 已应用优惠码：虚线券样式 */
.nq-checkout-panel .nq-checkout-promo-applied {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 6px 10px;
  background: rgba(var(--arcoblue-6), 0.06);
  border: 1px dashed rgba(var(--arcoblue-6), 0.4);
  border-radius: 8px;
  font-size: 13px;
}

.nq-checkout-panel .nq-checkout-promo-applied i.ri-coupon-2-line {
  font-size: 15px;
  color: var(--nq-primary);
}

.nq-checkout-panel .nq-checkout-promo-code {
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--nq-primary);
  white-space: nowrap;
}

.nq-checkout-panel .nq-checkout-promo-desc {
  overflow: hidden;
  font-size: 12px;
  color: var(--nq-text-3);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.nq-checkout-panel .nq-checkout-promo-remove {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 14px;
  color: var(--nq-text-4);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nq-checkout-panel .nq-checkout-promo-remove:hover {
  background: rgba(16, 24, 40, 0.06);
  color: var(--nq-danger);
}

/* ---------- 9.3 服务协议勾选 ---------- */

body.nq .nq-checkout-panel .nq-checkout-extras-terms {
  flex: 0 0 auto;
  min-width: 0;
}

body.nq .nq-checkout-panel .nq-checkout-extras-terms .custom-control-label {
  font-size: 13px;
  line-height: 20px;
  color: var(--nq-text-2);
  cursor: pointer;
}

body.nq .nq-checkout-panel .nq-checkout-extras-terms .custom-control-label a {
  color: var(--nq-primary);
  text-decoration: none;
}

body.nq .nq-checkout-panel .nq-checkout-extras-terms .custom-control-label a:hover {
  text-decoration: underline;
}

/* ---------- 9.4 总计 + 操作按钮 ---------- */

body.nq .nq-checkout-panel .nq-viewcart-footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding-top: 10px;
  border-top: 1px dashed var(--nq-border-1);
}

body.nq .nq-checkout-panel .nq-viewcart-footer-price {
  align-items: baseline;
}

body.nq .nq-checkout-panel .nq-viewcart-footer-amount {
  font-size: 24px;
}

body.nq .nq-checkout-panel .nq-viewcart-footer-right {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

/* ---------- 9.5 响应式 ---------- */

@media (max-width: 991.98px) {
  .nq-checkout-panel .nq-checkout-extras {
    gap: 10px;
  }

  .nq-checkout-panel .nq-checkout-extras-promo,
  body.nq .nq-checkout-panel .nq-checkout-promo-field {
    flex: 1 1 100%;
    max-width: none;
  }
}

@media (max-width: 768px) {
  .nq-checkout-panel {
    gap: 8px;
    padding: 10px 12px;
  }

  .nq-checkout-panel .nq-checkout-extras {
    flex-direction: column;
    align-items: stretch;
  }

  body.nq .nq-checkout-panel .nq-viewcart-footer-main {
    flex-direction: column;
    align-items: stretch;
  }

  body.nq .nq-checkout-panel .nq-viewcart-footer-right {
    justify-content: stretch;
  }

  body.nq .nq-checkout-panel .nq-viewcart-footer-right .btn {
    flex: 1 1 0;
    min-width: 0;
  }

  body.nq .nq-checkout-panel .nq-viewcart-footer-amount {
    font-size: 22px;
  }
}

@media (max-width: 575.98px) {
  body.nq .nq-checkout-panel .nq-checkout-promo-field .input-group-append .btn {
    padding: 0 12px;
  }

  body.nq .nq-checkout-panel .hmy-cart-launch {
    margin-left: 6px;
    padding: 0 10px;
  }

  /* 小屏按钮两两一行，避免四个按钮挤成一排 */
  body.nq .nq-checkout-panel .nq-viewcart-footer-right .btn {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
  }
}

/* ---------- 9.6 尊重「减少动态效果」 ---------- */

@media (prefers-reduced-motion: reduce) {
  .nq-checkout-panel {
    transition: none;
  }
}

/* ==========================================================================
   u36–u40（20261126r）：结算面板细节打磨
   - 优惠码输入组 +「使用」+「使用优惠券」强制同一行，输入框吃满剩余宽度，右侧不留空档
   - 优惠码行上下两层留白收紧，与总计行、按钮左右边缘对齐
   - 窄屏纵向堆叠时不再把 flex-basis 当高度用，输入框上下的大片空白消除
   - 第 2 步卡片底部间距交给实测底栏留白统一处理
   - u38：备注从第 2 步独立卡片迁入结算面板，默认收起为一行入口（见 10.7）
   - u39：服务协议勾选改为可点整行 + 16px 自绘勾选框，hover/选中/键盘聚焦均有反馈（见 10.8）
   - 按钮统一轻量过渡与按压反馈；底栏去掉 backdrop-filter 模糊，滚动不掉帧
   - u40：产品卡 / 商品卡 / 支付卡统一卡片规格与窄屏细节，正文见第 11 节
   ========================================================================== */

/* ---------- 10.1 优惠码控件组 ---------- */

/* 输入组与「使用优惠券」强制同排：输入框吃掉剩余宽度、按钮贴右，行内不留空白。
   输入组 flex 基准取 0，行内永不因宽度不足换行；插件状态提示仍是 basis 100%，
   只有真正有文字时才另起一行。 */
body.nq .nq-checkout-panel .nq-checkout-extras-promo {
  display: flex;
  flex-direction: row; /* 覆盖 9.2 的 column：输入组与「使用优惠券」同一行 */
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  /* 不能写死 px 基准：≤768px 时父级 .nq-checkout-extras 变成纵向堆叠，
     flex-basis 会被当成「高度」，260px 基准会在输入框上下撑出大片空白 */
  flex: 1 1 auto;
  min-width: 0;
}

/* 不设 max-width：一旦封顶，输入框右侧到「使用优惠券」之间就会出现空档 */
body.nq .nq-checkout-panel .nq-checkout-promo-field {
  flex: 1 1 0;
  width: auto;
  min-width: 140px;
  max-width: none;
}

/* 输入框 /「使用」/「使用优惠券」统一 34px 高：比原来矮 2px，贴合结算面板的紧凑密度 */
body.nq .nq-checkout-panel .nq-checkout-promo-field .form-control,
body.nq .nq-checkout-panel .nq-checkout-promo-field .input-group-append .btn,
body.nq .nq-checkout-panel .hmy-cart-launch {
  height: 34px;
}

body.nq .nq-checkout-panel .nq-checkout-promo-field .input-group-append .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  font-size: 13px;
  line-height: 1;
}

/* 插件按钮已移出 #promo（见模板内联脚本），这里按次级按钮处理，避免两个实心蓝按钮相邻。
   字号/内边距收小一档，宽度跟着文字走，不抢输入框的视觉重心 */
body.nq .nq-checkout-panel .hmy-cart-launch {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  margin-left: 0;
  padding: 0 12px;
  border: 1px solid rgba(var(--arcoblue-6), 0.42);
  border-radius: 8px;
  color: var(--nq-primary);
  background: rgba(var(--arcoblue-6), 0.06);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

body.nq .nq-checkout-panel .hmy-cart-launch:hover {
  border-color: var(--nq-primary);
  color: #fff;
  background: var(--nq-primary);
}

body.nq .nq-checkout-panel .hmy-cart-status {
  flex: 1 1 100%;
  order: 3;
  margin-top: 0;
  line-height: 16px;
  text-align: left;
}

/* 插件的状态提示初始为空，空节点不占一行（否则会多出 8px 行间距） */
body.nq .nq-checkout-panel .hmy-cart-status:empty {
  display: none;
}

/* ---------- 10.2 面板留白 ---------- */

/* 面板内只有「优惠码行 + 总计行」两块，行距收到 8px；优惠码行与协议勾选列距 12px，
   避免 9.2 的 20px 在窄宽下先换行、再空出半行 */
body.nq .nq-checkout-panel {
  gap: 8px;
}

body.nq .nq-checkout-panel .nq-checkout-extras {
  gap: 8px 12px;
}

/* 固定底栏的占位已由 .page-content 的实测 padding-bottom 统一预留，
   .nq-viewcart 原有的 100px / 120px 下边距属于重复留白，去掉后页面自适应收尾 */
body.nq-cart-panel .nq-viewcart {
  margin-bottom: 0;
}

/* 第 2 步现在只剩支付卡片；去掉卡片底部间距，避免与固定底栏的实测留白叠加。
   用 :last-of-type 而非 :last-child：卡片之后还有支付脚本，不是最后一个子节点 */
body.nq .nq-viewcart #step-payment > .card:last-of-type,
body.nq .nq-viewcart #step-payment > .card:last-of-type .card-body {
  margin-bottom: 0;
}

/* ---------- 10.3 按钮点击手感与滚动性能 ---------- */

body.nq .nq-viewcart-footer .btn,
body.nq .nq-checkout-panel .btn,
body.nq .nq-checkout-panel .hmy-cart-launch,
body.nq .nq-checkout-panel .form-control {
  touch-action: manipulation; /* 移动端去掉点击 300ms 延迟 */
  -webkit-tap-highlight-color: transparent;
}

body.nq .nq-viewcart-footer-right .btn,
body.nq .nq-checkout-panel .btn,
body.nq .nq-checkout-panel .hmy-cart-launch {
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease,
    box-shadow 0.2s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.12s cubic-bezier(0.22, 0.61, 0.36, 1);
}

body.nq .nq-viewcart-footer-right .btn:active,
body.nq .nq-checkout-panel .btn:active,
body.nq .nq-checkout-panel .hmy-cart-launch:active {
  transform: translateY(1px) scale(0.985);
  box-shadow: 0 2px 6px -6px rgba(16, 24, 40, 0.5);
}

/* 底栏不再半透明模糊：滚动时省掉每帧 backdrop 重绘，长列表更顺 */
body.nq .nq-viewcart-footer {
  background: #fff;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* 优惠券弹窗内的按钮同口径：轻过渡 + 按下轻微下沉，不改变插件布局 */
body.nq .hmy-coupon-dialog button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease,
    transform 0.12s cubic-bezier(0.22, 0.61, 0.36, 1);
}

body.nq .hmy-coupon-dialog button:active {
  transform: translateY(1px) scale(0.985);
}

/* ---------- 10.4 响应式 ---------- */

@media (max-width: 991.98px) {
  /* 9.5 在本档把输入组撑成 flex-basis 100%，会逼「使用优惠券」换行；
     这里保持基准 0 + 不封顶，两端始终同排并占满整行 */
  body.nq .nq-checkout-panel .nq-checkout-promo-field {
    flex: 1 1 0;
    max-width: none;
  }
}

@media (max-width: 768px) {
  /* 9.5 在这一档把 .nq-checkout-extras 改成纵向堆叠（flex-direction: column），
     此时 flex-basis 会被当成高度用：这里明确压回内容高度，输入框上下不再多出空白 */
  body.nq .nq-checkout-panel .nq-checkout-extras-promo {
    flex: 0 0 auto;
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  body.nq .nq-checkout-panel .nq-checkout-promo-field {
    flex: 1 1 0;
    min-width: 90px; /* 极窄屏让输入框继续收缩，也不把「使用优惠券」挤到下一行 */
    max-width: none;
  }

  body.nq .nq-checkout-panel .hmy-cart-launch {
    flex: 0 0 auto; /* 不再撑满一行：保持与桌面一致的紧凑宽度 */
    padding: 0 10px;
    font-size: 12px;
  }

  body.nq .nq-checkout-panel .nq-viewcart-footer-right .btn {
    padding-left: 8px;
    padding-right: 8px;
  }

  /* 第 2 步三个按钮（继续购买 / 上一步 / 立即结算）等分一行，不留半行空白 */
  body.nq .nq-viewcart-footer.nq-checkout-mode .nq-viewcart-footer-right .btn {
    flex: 1 1 0;
    padding-left: 6px;
    padding-right: 6px;
    font-size: 13px;
  }
}

/* ---------- 10.5 优惠码行上下留白与对齐 ---------- */

/* 优惠码行原来被两层留白夹住：上面「固定底栏 14px + 面板 12px」，
   下面「面板行间距 + 总计行 10px 顶距」，看起来像悬在面板中间。
   两层一起收一档，并把面板左右内边距、底栏左右内边距对齐成同一条竖线 */
body.nq .nq-viewcart-footer .nq-viewcart-footer-inner {
  padding: 8px 16px;
}

body.nq .nq-checkout-panel {
  gap: 6px;
  padding: 8px 12px;
}

body.nq .nq-checkout-panel .nq-checkout-extras {
  gap: 6px 12px;
}

/* 总计行与优惠码行之间的分隔线保留，但顶距收紧，不再多出一道空白带 */
body.nq .nq-checkout-panel .nq-viewcart-footer-main {
  padding-top: 8px;
}

@media (max-width: 768px) {
  /* 覆盖 cart.css 的 10px 12px：左右保持 12px，上下再收 2px */
  body.nq .nq-viewcart-footer .nq-viewcart-footer-inner {
    padding: 8px 12px;
  }
}

/* ---------- 10.6 尊重「减少动态效果」 ---------- */

@media (prefers-reduced-motion: reduce) {
  body.nq .nq-viewcart-footer-right .btn,
  body.nq .nq-checkout-panel .btn,
  body.nq .nq-checkout-panel .hmy-cart-launch {
    transition: none;
  }

  body.nq .nq-viewcart-footer-right .btn:active,
  body.nq .nq-checkout-panel .btn:active,
  body.nq .nq-checkout-panel .hmy-cart-launch:active {
    transform: none;
  }
}

/* ==========================================================================
   u38（20261126p）：订单备注并入结算面板
   - 备注从第 2 步独立卡片改为结算面板内一行入口，默认收起，底栏保持紧凑
   - 仍是 #submit-form 内的 textarea[name="notes"]，提交字段与协议校验不变
   ========================================================================== */

/* ---------- 10.7 订单备注入口与输入区 ---------- */

body.nq .nq-checkout-panel .nq-checkout-note {
  min-width: 0;
}

/* 收起态只占一行：图标 + 文字 + 状态胶囊 + 右端箭头 */
body.nq .nq-checkout-panel .nq-checkout-note-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 12.5px;
  line-height: 1;
  color: var(--nq-text-3);
  text-align: left;
  cursor: pointer;
  transition: color 0.18s ease;
}

body.nq .nq-checkout-panel .nq-checkout-note-toggle:hover,
body.nq .nq-checkout-panel .nq-checkout-note.is-open .nq-checkout-note-toggle {
  color: var(--nq-primary);
}

body.nq .nq-checkout-panel .nq-checkout-note-icon {
  flex: 0 0 auto;
  font-size: 14px;
}

body.nq .nq-checkout-panel .nq-checkout-note-label {
  flex: 0 0 auto;
  font-weight: 500;
}

body.nq .nq-checkout-panel .nq-checkout-note-hint {
  flex: 0 0 auto;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--nq-fill-1);
  font-size: 11px;
  line-height: 15px;
  color: var(--nq-text-4);
  white-space: nowrap;
}

/* 有内容时胶囊转为主色，收起后也能看出「已填写」 */
body.nq .nq-checkout-panel .nq-checkout-note.has-value .nq-checkout-note-hint {
  background: rgba(var(--arcoblue-6), 0.08);
  color: var(--nq-primary);
}

body.nq .nq-checkout-panel .nq-checkout-note-arrow {
  flex: 0 0 auto;
  margin-left: auto;
  font-size: 15px;
  color: var(--nq-text-4);
  transition: transform 0.2s ease, color 0.18s ease;
}

body.nq .nq-checkout-panel .nq-checkout-note.is-open .nq-checkout-note-arrow {
  transform: rotate(180deg);
  color: var(--nq-primary);
}

/* 输入区高度封顶（64/84px），展开后底栏不会顶掉商品列表；
   高度变化由页面脚本重测 --nq-footer-h 重新预留留白 */
body.nq .nq-checkout-panel .nq-checkout-note-body {
  position: relative;
  padding: 6px 0 1px;
}

body.nq .nq-checkout-panel .nq-checkout-note-body .form-control {
  display: block;
  width: 100%;
  height: 64px;
  min-height: 64px;
  max-height: 84px;
  padding: 7px 50px 7px 10px; /* 右侧留出字数位置，长文本不会压到计数 */
  border: 1px solid var(--nq-border-1);
  border-radius: 8px;
  background: var(--nq-bg-2);
  font-size: 13px;
  line-height: 1.5;
  color: var(--nq-text-1);
  resize: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

body.nq .nq-checkout-panel .nq-checkout-note-body .form-control:focus {
  background: #fff;
  border-color: var(--nq-primary);
  box-shadow: 0 0 0 3px rgba(var(--arcoblue-6), 0.12);
}

body.nq .nq-checkout-panel .nq-checkout-note-body .form-control::placeholder {
  color: var(--nq-text-4);
}

body.nq .nq-checkout-panel .nq-checkout-note-count {
  position: absolute;
  right: 12px;
  bottom: 9px;
  font-size: 11px;
  line-height: 1;
  color: var(--nq-text-4);
  pointer-events: none;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 575.98px) {
  /* 极窄屏再矮 4px，键盘弹出后仍能看到输入框与计数 */
  body.nq .nq-checkout-panel .nq-checkout-note-body .form-control {
    height: 60px;
    min-height: 60px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.nq .nq-checkout-panel .nq-checkout-note-toggle,
  body.nq .nq-checkout-panel .nq-checkout-note-arrow {
    transition: none;
  }
}

/* ==========================================================================
   u39（20261126q）：服务协议勾选
   - 只做视觉与可点区域优化：#terms 的 type/id/name/value/required 与
     label[for="terms"]、协议链接、表单校验逻辑全部保持原样
   - 勾选框放大到 16px 并自绘对勾（不再依赖 Bootstrap 的 14px 雪碧图定位）
   - hover（仅有指针设备）/ 已勾选用「底色 + 外扩光晕」强化可点区域，光晕不参与布局
   ========================================================================== */

/* ---------- 10.8 服务协议勾选 ---------- */

/* 整行作为视觉单元：圆角容器 + 轻微过渡；光晕用 box-shadow 外扩，
   不占布局，窄屏纵向堆叠时也不会把结算面板撑宽 */
body.nq .nq-checkout-panel .nq-viewcart-terms {
  display: flex;
  align-items: center;
  min-height: 24px;
  border-radius: 8px;
  transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

/* 悬停反馈只在有指针的设备出现：触摸端若整行高亮但整行不可点（label 只覆盖文字），
   会出现「点了没反应」的错觉，所以移动端只保留勾选态 */
@media (hover: hover) {
  body.nq .nq-checkout-panel .nq-viewcart-terms:hover {
    background-color: var(--nq-fill-2);
    box-shadow: 0 0 0 4px var(--nq-fill-2);
  }

  body.nq .nq-checkout-panel .nq-viewcart-terms:hover .custom-control-label::before {
    border-color: var(--nq-fill-4);
  }
}

/* 已勾选：浅主色底，让「同意」在结算前一眼可见；
   特异性高于上方 hover，悬停已勾选行时不会掉回灰底 */
body.nq .nq-checkout-panel .nq-viewcart-terms:has(.custom-control-input:checked) {
  background-color: rgba(var(--arcoblue-6), 0.05);
  box-shadow: 0 0 0 4px rgba(var(--arcoblue-6), 0.05);
}

/* 勾选框几何：24px 内缩 + 16px 方框 = 文字前留 8px 间距；
   全部用 px 固定，避免 rem 基准变化让勾选框与文字错位 */
body.nq .nq-checkout-panel .nq-viewcart-terms .custom-control {
  padding-left: 24px;
}

body.nq .nq-checkout-panel .nq-viewcart-terms .custom-control-label::before,
body.nq .nq-checkout-panel .nq-viewcart-terms .custom-control-label::after {
  left: -24px;
  top: 2px;
  width: 16px;
  height: 16px;
}

body.nq .nq-checkout-panel .nq-viewcart-terms .custom-control-label::before {
  border: 1.5px solid var(--nq-fill-3);
  border-radius: 5px;
  background-color: var(--nq-bg-2);
  box-shadow: inset 0 1px 2px rgba(16, 24, 40, 0.05);
  transition: background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

/* 已勾选：主色填充 + 白勾；同时压过 cart.css 里
   .was-validated .custom-control-input:valid~...::before 的浅底规则 */
body.nq .nq-checkout-panel .nq-viewcart-terms .custom-control-input:checked ~ .custom-control-label::before {
  background-color: var(--nq-primary);
  border-color: var(--nq-primary);
  box-shadow: 0 2px 6px rgba(var(--arcoblue-6), 0.28);
}

body.nq .nq-checkout-panel .nq-viewcart-terms .custom-control-input:checked ~ .custom-control-label::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.6 8.4l2.9 2.9 5.9-5.9' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 11px 11px;
}

/* 键盘聚焦：3px 主色环，鼠标点击不出现（:focus-visible） */
body.nq .nq-checkout-panel .nq-viewcart-terms .custom-control-input:focus-visible ~ .custom-control-label::before {
  border-color: var(--nq-primary);
  box-shadow: 0 0 0 3px rgba(var(--arcoblue-6), 0.18);
}

body.nq .nq-checkout-panel .nq-viewcart-terms .custom-control-input:checked:focus-visible ~ .custom-control-label::before {
  box-shadow: 0 2px 6px rgba(var(--arcoblue-6), 0.28), 0 0 0 3px rgba(var(--arcoblue-6), 0.18);
}

body.nq .nq-checkout-panel .nq-viewcart-terms .custom-control-label {
  font-size: 13px;
  line-height: 20px;
  color: var(--nq-text-2);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: color 0.16s ease;
}

body.nq .nq-checkout-panel .nq-viewcart-terms .custom-control-input:checked ~ .custom-control-label {
  color: var(--nq-text-1);
}

/* 协议链接：常驻细下划线，避免只靠颜色区分；悬停加深 */
body.nq .nq-checkout-panel .nq-viewcart-terms .custom-control-label a {
  color: var(--nq-primary);
  text-decoration: underline;
  text-decoration-color: rgba(var(--arcoblue-6), 0.35);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color 0.16s ease, text-decoration-color 0.16s ease;
}

body.nq .nq-checkout-panel .nq-viewcart-terms .custom-control-label a:hover {
  text-decoration-color: currentColor;
}

body.nq .nq-checkout-panel .nq-viewcart-terms .custom-control-input:disabled ~ .custom-control-label {
  color: var(--nq-text-4);
  cursor: not-allowed;
}

body.nq .nq-checkout-panel .nq-viewcart-terms .custom-control-input:disabled ~ .custom-control-label::before {
  border-color: var(--nq-fill-3);
  background-color: var(--nq-fill-2);
  box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
  body.nq .nq-checkout-panel .nq-viewcart-terms,
  body.nq .nq-checkout-panel .nq-viewcart-terms .custom-control-label,
  body.nq .nq-checkout-panel .nq-viewcart-terms .custom-control-label::before,
  body.nq .nq-checkout-panel .nq-viewcart-terms .custom-control-label a {
    transition: none;
  }
}

/* ==========================================================================
   u40（20261126r）：产品列表 / 确认订单页视觉统一
   - 产品列表卡、购物车商品卡、支付方式卡统一到一套卡片规格：
     10px 圆角、16px 水平内边距、同一套悬停强度与头部层级
   - 只做视觉：不动 #terms / notes / paymt / promo 字段与 u37 支付互斥脚本，
     cart.css 未改动
   - 骨架屏与两页空状态同步到同一规格，避免同流程「一眼两种风格」
   ========================================================================== */

/* ---------- 11.1 卡片规格：圆角 / 描边 / 悬停 ---------- */

.nq-product-card,
.nq-skeleton-card,
.nq-cart-empty-inner,
body.nq .nq-viewcart .nq-viewcart-product,
body.nq .nq-viewcart #step-payment > .card {
  border-radius: 10px;
}

/* 产品卡与商品卡同一悬停：上浮 2px + 半透明主色描边 + 同一层阴影 */
.nq-product-card:not(.nq-product-soldout):hover {
  transform: translateY(-2px);
  border-color: rgba(var(--arcoblue-6), 0.35);
  box-shadow: 0 2px 4px rgba(16, 24, 40, 0.03), 0 18px 36px -24px rgba(16, 24, 40, 0.32);
}

body.nq .nq-viewcart .nq-viewcart-product:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--arcoblue-6), 0.35);
  box-shadow: 0 2px 4px rgba(16, 24, 40, 0.03), 0 18px 36px -24px rgba(16, 24, 40, 0.32);
}

/* 支付方式卡内含多张可点网关，不做位移，只保留描边与阴影过渡 */
body.nq .nq-viewcart #step-payment > .card {
  border: 1px solid var(--nq-uc-border, rgba(15, 23, 42, 0.075));
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 12px 24px -22px rgba(16, 24, 40, 0.22);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* 售罄卡整卡不再压到几乎不可读，价格与说明仍可辨认 */
.nq-product-card.nq-product-soldout {
  opacity: 0.72;
}

/* ---------- 11.2 产品卡：内边距与文字层级 ---------- */

.nq-product-header {
  padding: 14px 16px;
}

.nq-product-desc {
  padding: 6px 16px 2px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--nq-text-2);
}

.nq-product-footer {
  padding: 0 16px 16px;
}

.nq-product-pricing {
  margin-bottom: 12px;
}

/* 现价是这张卡唯一的视觉焦点：26px / 600，周期退回 12px 辅助色 */
.nq-product-card .nq-price-current {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nq-product-card .nq-price-current small {
  margin-left: 2px;
  font-size: 12px;
  color: var(--nq-text-3);
}

/* 黄底库存角标改用深棕字，白字在 #faad14 上对比不足 */
.nq-product-stock {
  font-weight: 600;
}

.nq-product-stock.low-stock {
  color: #6b4300;
}

/* ---------- 11.3 购物车商品卡：头部 / 操作 / 数量 / 金额 ---------- */

body.nq .nq-viewcart .nq-viewcart-product {
  background: #fff;
  border: 1px solid var(--nq-uc-border, rgba(15, 23, 42, 0.075));
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.03), 0 10px 22px -22px rgba(16, 24, 40, 0.2);
}

body.nq .nq-viewcart .nq-viewcart-product > .card-header {
  min-height: 44px;
  padding: 10px 16px;
  background: var(--nq-bg-2);
  border-bottom: 1px solid var(--nq-border-1);
  border-radius: 10px 10px 0 0;
}

/* 长产品名换行时与右侧操作按钮保持距离，不再把按钮挤成两行 */
body.nq .nq-viewcart .nq-viewcart-product > .card-header strong {
  display: block;
  flex: 1 1 200px;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

body.nq .nq-viewcart .nq-viewcart-product > .card-header > .d-flex {
  flex: 0 0 auto;
}

body.nq .nq-viewcart .nq-viewcart-product > .card-body {
  padding: 14px 16px;
}

/* 修改配置 / 删除：32px 触控区，悬停配色沿用 cart.css */
body.nq .nq-viewcart .nq-viewcart-product .nq-viewcart-action {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  font-size: 17px;
}

body.nq .nq-viewcart .nq-viewcart-product .nq-viewcart-action:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--arcoblue-6), 0.22);
}

/* 价格行：允许换行，窄屏不会因步进器 + 小计而横向溢出 */
body.nq .nq-viewcart .nq-viewcart-product .card-body > .d-flex:last-child {
  flex-wrap: wrap;
  gap: 10px 16px;
}

body.nq .nq-viewcart .nq-viewcart-product .card-body strong {
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

/* 数量步进器与「更新」同高 32px，形成一条控件带 */
body.nq .nq-viewcart .nq-viewcart-product .nq-productconfig-stepper {
  border-radius: 6px;
}

body.nq .nq-viewcart .nq-viewcart-product .nq-productconfig-stepper .configoption_range_val {
  height: 32px;
  font-size: 13px;
}

body.nq .nq-viewcart .nq-viewcart-product .nq-productconfig-stepper-btn {
  width: 32px;
  height: 32px;
  font-size: 15px;
}

body.nq .nq-viewcart .nq-viewcart-product .nq-productconfig-stepper-btn:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(var(--arcoblue-6), 0.35);
}

body.nq .nq-viewcart .nq-viewcart-product .btn-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
}

/* ---------- 11.4 支付方式卡：头部与内容对齐商品卡 ---------- */

body.nq .nq-viewcart #step-payment > .card > .card-header {
  height: auto;
  min-height: 44px;
  padding: 10px 16px;
  background: var(--nq-bg-2);
  border-bottom: 1px solid var(--nq-border-1);
  border-radius: 10px 10px 0 0;
  font-size: 14px;
  font-weight: 600;
}

body.nq .nq-viewcart #step-payment > .card > .card-header i {
  font-size: 16px;
}

body.nq .nq-viewcart #step-payment > .card > .card-body {
  padding: 14px 16px 16px;
}

/* ---------- 11.5 空状态：两页同为一张虚线卡 ---------- */

.nq-cart-empty-inner {
  padding: 40px 24px;
  background: var(--nq-bg-2);
  border: 1px dashed var(--nq-border-2);
}

.nq-cart-empty-inner img {
  width: 96px;
  margin-bottom: 8px;
  opacity: 0.9;
}

.nq-cart-empty-text {
  font-size: 14px;
  color: var(--nq-text-3);
}

/* 确认订单页空车：与产品列表同一张虚线卡（.py-5 带 !important，此处同权覆盖） */
body.nq .nq-viewcart .nq-viewcart-empty {
  padding: 36px 24px !important;
  background: var(--nq-bg-2);
  border: 1px dashed var(--nq-border-2);
  border-radius: 10px;
}

body.nq .nq-viewcart .nq-viewcart-empty > i {
  font-size: 48px !important;
  color: var(--nq-fill-4) !important;
  margin-bottom: 10px !important;
}

body.nq .nq-viewcart .nq-viewcart-empty .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
}

/* ---------- 11.6 骨架屏：与产品卡同规格，加载完成不跳动 ---------- */

.nq-sk-header {
  padding: 14px 16px;
}

.nq-sk-body {
  padding: 6px 16px 2px;
}

.nq-sk-footer {
  padding: 12px 16px 16px;
}

.nq-sk-btn {
  border-radius: 6px;
}

/* ---------- 11.7 响应式 ---------- */

@media (max-width: 575.98px) {
  /* 单列卡片：290px 最小列宽在 320px 屏上会横向溢出 */
  .nq-product-grid {
    grid-template-columns: 1fr;
  }

  .nq-product-header {
    padding: 12px 14px;
  }

  .nq-product-desc {
    padding: 4px 14px 2px;
  }

  .nq-product-footer {
    padding: 0 14px 14px;
  }

  .nq-product-card .nq-price-current {
    font-size: 24px;
  }

  body.nq .nq-viewcart .nq-viewcart-product > .card-header {
    padding: 10px 14px;
  }

  /* 标题独占一行，操作按钮换行后仍靠右，不与名称争宽 */
  body.nq .nq-viewcart .nq-viewcart-product > .card-header strong {
    flex: 1 1 100%;
    font-size: 13.5px;
  }

  body.nq .nq-viewcart .nq-viewcart-product > .card-header > .d-flex {
    margin-left: auto;
  }

  body.nq .nq-viewcart .nq-viewcart-product > .card-body {
    padding: 12px 14px;
  }

  /* 数量与金额上下分列，金额右对齐，避免步进器把价格挤出卡片 */
  body.nq .nq-viewcart .nq-viewcart-product .card-body > .d-flex:last-child {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  body.nq .nq-viewcart .nq-viewcart-product .card-body > .d-flex:last-child > div:last-child {
    margin-left: auto;
    text-align: right;
  }

  body.nq .nq-viewcart #step-payment > .card > .card-header {
    padding-left: 14px;
    padding-right: 14px;
  }

  body.nq .nq-viewcart #step-payment > .card > .card-body {
    padding: 12px 14px 14px;
  }
}

/* ---------- 11.8 尊重「减少动态效果」 ---------- */

@media (prefers-reduced-motion: reduce) {
  .nq-product-card,
  .nq-skeleton-card,
  body.nq .nq-viewcart .nq-viewcart-product,
  body.nq .nq-viewcart #step-payment > .card {
    transition: none;
  }
}

/* ==========================================================================
   u42（20261126v）：服务协议勾选放到「立即结算」下方
   - 只挪位置与排版：勾选块仍是 .nq-viewcart-footer-right 的一行，位于按钮之后
   - #terms 的 type/id/name/value/required、label[for]、协议链接与提交校验均未改
   - u39 的 16px 自绘勾选框、勾选态与 hover/focus 反馈继续生效（选择器未变）
   ========================================================================== */

/* ---------- 12.1 桌面：独占一行，右边缘与「立即结算」对齐 ---------- */

body.nq .nq-checkout-panel .nq-checkout-terms {
  flex: 1 1 100%;
  justify-content: flex-end;
  min-width: 0;
  max-width: 100%;
  margin: 0;
}

/* 勾选框 + 文字作为整体贴右；宽度受限时文字换行，不把结算面板撑宽 */
body.nq .nq-checkout-panel .nq-checkout-terms .custom-control {
  max-width: 100%;
  /* 主题给 body.nq .custom-control 设了 calc(1.5em + .94rem + 2px)≈38px 的
     min-height（为对齐表单控件），在单行协议里会多出 14px 空白，这里收回 */
  min-height: 24px;
}

body.nq .nq-checkout-panel .nq-checkout-terms .custom-control-label {
  white-space: normal;
}

/* ---------- 12.2 窄屏：按钮换行后协议左对齐，跟随按钮块左边缘 ---------- */

@media (max-width: 767.98px) {
  body.nq .nq-checkout-panel .nq-checkout-terms {
    justify-content: flex-start;
  }
}

/* ==========================================================================
   u43（20261126w）：支付方式版块整体下移一点
   - 第 2 步里支付方式卡紧贴卡片标题下方，按原 .mt-3（1rem）显得偏挤
   - 只加顶部间距：.mt-3 自带 !important，这里同样用 !important 覆盖
   - 不动 #paymt / name="payment" 字段、name 值、默认选中与 u37 支付互斥脚本
   ========================================================================== */

body.nq .nq-viewcart #step-payment > .card {
  margin-top: 28px !important;
}

/* ==========================================================================
   u44（20261126z）：确认订单信息页 / 结算页细节
   - 服务协议勾选只在第 2 步出现：body.nq-checkout 由 viewcart.tpl 的 u35 脚本
     在切到「支付方式」步时添加、回到第 1 步时移除，纯显示控制
   - 支付方式卡顶部间距分档：桌面 28px，≤767.98px 收到 20px
   - 商品卡价格组按文字基线对齐；≤575.98px 名称与操作图标同行，收回被换行撑高的表头
   不改 #terms 的 type/id/name/value/required、label[for]、协议链接与提交校验
   ========================================================================== */

/* ---------- 14.1 协议行：仅第 2 步显示 ---------- */

body.nq .nq-checkout-panel .nq-checkout-terms {
  display: none;
}

body.nq.nq-checkout .nq-checkout-panel .nq-checkout-terms {
  display: flex;
}

/* ---------- 14.2 支付方式卡：窄屏间距收一档 ---------- */

@media (max-width: 767.98px) {
  body.nq .nq-viewcart #step-payment > .card {
    margin-top: 20px !important;
  }
}

/* ---------- 14.3 商品卡价格组：基线对齐 ---------- */

/* bootstrap 的 .align-items-center 工具类自带 !important，这里同样用 !important 覆盖；
   划线原价 / 折扣（12px）与小计、金额（13/18px）改为共用一条文字基线，
   原先垂直居中时小字号文本的基线比金额高约 2px */
body.nq .nq-viewcart .nq-viewcart-product .card-body > .d-flex:last-child > div:last-child {
  align-items: baseline !important;
}

/* ---------- 14.4 商品卡表头：窄屏名称与操作图标同行 ---------- */

/* 11.6 的 575.98px 断点把名称设为 flex:1 1 100%，操作图标被挤到第二行，
   单个商品卡表头从 53px 涨到 104px；这里把基准宽度改为 0，名称与图标同一行，
   名称在剩余宽度内正常换行（不截断），长产品名也不会再独自占满一行 */
@media (max-width: 575.98px) {
  body.nq .nq-viewcart .nq-viewcart-product > .card-header strong {
    flex: 1 1 0%;
    min-width: 0;
  }

  body.nq .nq-viewcart .nq-viewcart-product > .card-header > .d-flex {
    flex: 0 0 auto;
    margin-left: 8px;
  }
}

/* ---------- 19. 其余卡片同色描边：外层容器、空车提示、登录提示等 ----------
   第 11.1 / 11.3 节已把商品卡与支付方式卡改到与用户中心同一套中性描边，
   结算面板第 630 行同步；这里补齐同一页面里仍落在 body.nq .card 上的 .card：
   .nq-viewcart 外层容器、空车提示 .nq-cart-empty-inner、未登录提示等，
   它们的描边原本是 --nq-fill-2（#F2F3F5），与 #fafafa 页面底色几乎同值，
   卡片边界等于不存在，与用户中心内页的 rgba(15,23,42,0.075) 也不一致。
   只改颜色：宽度仍 1px、圆角与投影不动，盒模型不位移；
   ≤575.98px 的满宽无边框由 adaptive.css 与 cart-mobile.css 第 13 节接管，不受影响；
   商品卡 / 支付卡的主色 hover 描边特异性更高（含 :hover 或 #id），仍照常生效 */

body.nq .page-content-no-sidebar .card {
  border-color: var(--nq-uc-border, rgba(15, 23, 42, 0.075));
}

/* ---------- 20. 结算支付：去充值按钮与余额提示（u143 / u145） ----------
   8.4 / 8.5 只保证「有一块提示」，这里补细节：
   ① 「去充值余额」由 padding:8px 的小胶囊改为 40px 实心按钮（渐变 + 轻投影 + 内高光），
      补 hover 上浮 / active 回落 / focus-visible 焦点环，移动端整行；
      [hidden] 用 !important 兜底——本节 display 特异性高于模板内联的 [hidden] 规则；
   ② 余额提示条（u145）：左图标 + 中间「状态标题 / 一行说明」两行文字 + 右侧差额，
      充足与不足共用同一结构，两态框高、内边距完全一致；
      边框统一 1px、圆角 8px，与上方余额支付卡片同规格（原左侧 3px 色条让框看起来一边粗）；
      差额不再套白底描边小标签，改为「还差」小字 + 18px/800 加粗金额，更简洁也更醒目；
      金额统一两位小数（模板 sprintf %.2f），差额输出逻辑仍由模板条件分支控制 */

body.nq .nq-credit-only-recharge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 14px 0 0;
  min-height: 40px;
  padding: 0 18px 0 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1677ff 0%, #0e5ad8 100%);
  box-shadow: 0 6px 16px -8px rgba(var(--arcoblue-6), 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2px;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

body.nq .nq-credit-only-recharge > i {
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  line-height: 1;
}

body.nq .nq-credit-only-recharge .nq-recharge-arrow {
  font-size: 15px;
  opacity: 0.85;
  transition: transform 0.18s ease;
}

body.nq .nq-credit-only-recharge:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -10px rgba(var(--arcoblue-6), 1), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

body.nq .nq-credit-only-recharge:hover .nq-recharge-arrow {
  transform: translateX(2px);
}

body.nq .nq-credit-only-recharge:active {
  transform: translateY(0);
  filter: brightness(0.96);
  box-shadow: 0 4px 10px -8px rgba(var(--arcoblue-6), 0.9), inset 0 1px 2px rgba(0, 0, 0, 0.14);
}

body.nq .nq-credit-only-recharge:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--arcoblue-6), 0.28), 0 6px 16px -8px rgba(var(--arcoblue-6), 0.9);
}

body.nq .nq-credit-only-recharge[hidden] {
  display: none !important;
}

body.nq .nq-viewcart-credit-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 13px;
  line-height: 20px;
}

body.nq .nq-viewcart-credit-notice > i {
  flex: 0 0 auto;
  font-size: 16px;
  line-height: 20px;
}

body.nq .nq-viewcart-credit-notice .nq-credit-notice-text {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

body.nq .nq-viewcart-credit-notice .nq-credit-notice-title {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 20px;
  color: var(--nq-text-1);
}

body.nq .nq-viewcart-credit-notice .nq-credit-notice-sub {
  font-size: 12px;
  line-height: 17px;
  color: var(--nq-text-3);
}

/* 充足：保持主色轻提示 */
body.nq .nq-viewcart-credit-notice.is-ok {
  background: rgba(var(--arcoblue-6), 0.06);
  border-color: rgba(var(--arcoblue-6), 0.16);
  color: var(--nq-text-2);
}

body.nq .nq-viewcart-credit-notice.is-ok > i {
  color: var(--nq-primary);
}

/* 不足：警示底色；四边都是 1px（原左侧 3px 色条使框看起来一边粗，与相邻卡片不一致） */
body.nq .nq-viewcart-credit-notice.is-short {
  background: var(--nq-warning-light);
  border-color: rgba(var(--orange-6), 0.34);
  color: var(--nq-text-1);
}

body.nq .nq-viewcart-credit-notice.is-short > i {
  color: var(--nq-warning);
}

/* 差额：「还差」小字 + 加粗大号数字，贴右侧，不再套白底描边小框（少一层框更干净） */
body.nq .nq-viewcart-credit-notice .nq-credit-notice-gap {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: baseline;
  gap: 3px;
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
  color: var(--nq-danger);
  white-space: nowrap;
}

body.nq .nq-viewcart-credit-notice .nq-credit-notice-gap strong {
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.2px;
  color: var(--nq-danger);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* 余额支付卡片里的余额数字同步加粗，与该提示块的数字层级一致 */
body.nq .nq-viewcart-credit-amount {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* ---------- 20.1 桌面端支付区对齐（u152） ----------
   问题：结算卡内宽约 1014px，余额支付卡片只有 246px（max-width:220px），
   提示条与说明文字都是整行宽，充值按钮仅 148px 左对齐——四个元素三种宽度基准，
   小卡片漂在大留白里，观感与整体卡片不成比例。
   做法（仅 ≥992px）：把 .nq-credit-pay-body 变成 320px + 1fr 两列网格，
   左列余额卡片撑满两行高度（与右列同高），右列自上而下是提示条与「去充值余额」按钮
   （右对齐、42px 高），说明文字横跨两列；卡片宽度固定 320px，列间距 18px，
   按钮与提示条同一视觉节奏，宽度基准统一到卡片列。
   ≤991.98px（含移动端整行按钮）保持原有纵向堆叠，手机样式不受影响。 */
@media (min-width: 992px) {
  body.nq .nq-credit-pay-body {
    display: grid;
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
    grid-template-areas:
      "pay notice"
      "pay recharge"
      "tip tip";
    align-items: stretch;
    gap: 12px 18px;
  }

  body.nq .nq-credit-pay-body > .nq-credit-only-grid {
    grid-area: pay;
    display: flex;
    margin-bottom: 0;
  }

  body.nq .nq-credit-pay-body > .nq-credit-only-grid > .nq-credit-only-item {
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
    /* 该卡片全局是 content-box：用 height:auto + 拉伸，避免 height:100% 把内边距再叠加一次 */
    box-sizing: border-box;
    height: auto;
    min-height: 104px;
    gap: 10px;
    padding: 18px 16px;
  }

  body.nq .nq-credit-pay-body > .nq-viewcart-credit-notice {
    grid-area: notice;
    margin-top: 0;
  }

  body.nq .nq-credit-pay-body > .nq-credit-only-recharge {
    grid-area: recharge;
    justify-self: end;
    align-self: center;
    min-height: 42px;
    margin: 0;
    padding: 0 22px 0 20px;
  }

  body.nq .nq-credit-pay-body > .nq-credit-only-tip {
    grid-area: tip;
    margin: 0;
  }

  /* 卡片由 246px 放宽到 320px 后，名称与余额数字可略放大，与提示条字号层级保持一致 */
  body.nq .nq-credit-pay-body .nq-credit-only-item .nq-viewcart-gateway-name {
    font-size: 13px;
  }

  body.nq .nq-credit-pay-body .nq-credit-only-item .nq-viewcart-credit-amount {
    font-size: 12px;
  }
}

@media (max-width: 575.98px) {
  body.nq .nq-credit-only-recharge {
    display: flex;
    /* 该按钮全局 content-box：width:100% 叠加左右内边距会溢出卡片，移动端整行需按 border-box 算宽 */
    box-sizing: border-box;
    width: 100%;
    min-height: 42px;
    margin-top: 12px;
    font-size: 14.5px;
  }

  body.nq .nq-viewcart-credit-notice {
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
  }

  body.nq .nq-viewcart-credit-notice .nq-credit-notice-gap {
    margin-left: auto;
  }

  body.nq .nq-viewcart-credit-notice .nq-credit-notice-gap strong {
    font-size: 17px;
  }
}
