/* =============================================================================
 * 香港 PNS 克隆站 · 设计系统
 * 设计令牌取自 pns.hk 原站：主蓝 #3FA7F3 / 深蓝 #3F5AB5 / 藏青 #1E388C
 * 价格红 #FD2500 / 文字 #3E3E3E / 次要 #9B9B9B / 分隔 #E6E7E8 / 底 #F5F5F5
 * 版式：顶栏（theme-color #292D84）+ 55px 分类条 + 左侧分类栏 + 卡片流
 * 断点对齐原站：1023 / 767（另加 420 细屏微调）
 * ========================================================================== */

@import url('fonts.css');
/* 原站壳样式（pns.hk 全局 + 组件 CSS），必须在本文件规则之前，站点样式后置覆盖 */
@import url('pns-src.css');

:root {
  /* ---- 原站取色 ---- */
  --pns-blue: #3fa7f3;
  --pns-blue-d: #3f5ab5;
  --pns-navy: #1e388c;
  --pns-red: #fd2500;
  --pns-ink: #3e3e3e;
  --pns-muted: #9b9b9b;
  --pns-line: #e6e7e8;
  --pns-bg: #f5f5f5;
  --pns-orange: #f58626;
  --pns-blue-soft: #eaf4fe;

  /* ---- 语义变量（旧规则沿用）---- */
  --navy: #1e388c;
  --navy-dark: #292d84;
  --navy-soft: #eaf4fe;
  --red: #fd2500;
  --red-dark: #d81f00;
  --yellow: #ffd400;
  --yellow-soft: #fff8d6;
  --green: #128a4b;
  --ink: #3e3e3e;
  --ink-2: #5c5c5c;
  --ink-3: #9b9b9b;
  --line: #e6e7e8;
  --line-2: #f0f1f2;
  --bg: #f5f5f5;
  --card: #fff;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(23, 28, 48, 0.06), 0 6px 18px rgba(23, 28, 48, 0.06);
  --shadow-lg: 0 12px 34px rgba(23, 28, 48, 0.16);
  --header-h: 108px;
  --max: 1440px;
  --gutter: 40px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: 'PNS Sans', 'Noto Sans HK', 'PingFang HK', 'Microsoft JhengHei', 'Hiragino Sans GB',
    Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.5;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 { margin: 0; line-height: 1.25; }

.pns-wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.pns-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------------- 顶部通栏 ---------------- */
.pns-topbar {
  background: var(--navy-dark);
  color: #cfd2ea;
  font-size: 12.5px;
}
.pns-topbar .pns-wrap {
  display: flex; align-items: center; gap: 18px; height: 34px;
}
.pns-topbar a { color: #cfd2ea; }
.pns-topbar a:hover { color: #fff; }
.pns-topbar .pns-topbar-sp { margin-left: auto; display: flex; gap: 16px; }
.pns-topbar .pns-promo-line { color: var(--yellow); font-weight: 600; }

/* ---------------- 主头部 ---------------- */
.pns-header {
  position: sticky; top: 0; z-index: 60;
  background: #fff;
  box-shadow: 0 1px 0 var(--line);
}
.pns-header-main {
  display: flex; align-items: center; gap: 24px;
  min-height: 84px; padding: 14px 0;
}
.pns-logo { flex: 0 0 auto; display: block; }
.pns-logo img { height: 42px; width: auto; }
.pns-logo-mobile { display: none; }

.pns-search { flex: 0 1 402px; position: relative; max-width: 402px; }
.pns-search form {
  display: flex; align-items: center;
  border: 1.5px solid var(--pns-line); border-radius: 6px;
  background: #fff; overflow: hidden;
}
.pns-search input {
  flex: 1 1 auto; border: 0; outline: 0; padding: 0 16px; height: 46px;
  font-size: 15px; background: transparent; min-width: 0;
}
.pns-search input::placeholder { color: var(--pns-muted); }
.pns-search button {
  flex: 0 0 auto; border: 0; height: 46px; padding: 0 18px;
  background: var(--pns-blue-d); color: #fff; font-weight: 700; font-size: 14px;
  display: flex; align-items: center; gap: 7px;
}
.pns-search button:hover { background: var(--pns-navy); }
.pns-search-hint {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden; display: none; z-index: 70;
}
.pns-search-hint.on { display: block; }
.pns-search-hint a {
  display: flex; gap: 12px; align-items: center; padding: 9px 14px; border-bottom: 1px solid var(--line-2);
}
.pns-search-hint a:last-child { border-bottom: 0; }
.pns-search-hint a:hover { background: var(--navy-soft); }
.pns-search-hint img { width: 38px; height: 38px; object-fit: contain; border-radius: 6px; background: #fff; }
.pns-search-hint .t { font-size: 13.5px; }
.pns-search-hint .p { color: var(--red); font-weight: 700; font-size: 13px; margin-left: auto; white-space: nowrap; }

.pns-head-actions { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; margin-left: auto; }
.pns-head-btn {
  display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px;
  border: 0; background: transparent; color: var(--ink); font-size: 13px; text-align: left;
}
.pns-head-btn:hover { background: var(--navy-soft); }
.pns-head-btn b { display: block; font-size: 13px; font-weight: 700; }
.pns-head-btn span { display: block; font-size: 11.5px; color: var(--ink-3); }
.pns-head-btn svg { flex: 0 0 auto; }
.pns-cart-btn { position: relative; }
.pns-cart-btn .pns-cart-count {
  position: absolute; top: 2px; left: 26px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.pns-deliver {
  display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-2);
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; background: #fff;
}
.pns-deliver:hover { border-color: var(--navy); }
.pns-deliver b { color: var(--ink); }
.pns-burger {
  display: none; align-items: center; justify-content: center;
  width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
}

/* ---------------- 分类导航条（原站：55px 条高 / 50px 项高 / 16px 粗体）---------------- */
.pns-nav { background: #fff; border-top: 1px solid var(--line); }
.pns-nav .pns-wrap { display: flex; align-items: center; gap: 2px; height: 55px; overflow-x: auto; }
.pns-nav::-webkit-scrollbar { height: 0; }
.pns-nav a {
  flex: 0 0 auto; display: inline-flex; align-items: center; height: 50px; padding: 0 14px;
  font-size: 16px; font-weight: 700; color: var(--pns-ink); letter-spacing: -0.2px;
  border-bottom: 3px solid transparent; white-space: nowrap;
}
.pns-nav a:hover { color: var(--pns-blue-d); }
.pns-nav a.on { color: var(--pns-blue-d); border-bottom-color: var(--pns-blue-d); }
.pns-nav a.hot { color: var(--red); }
.pns-nav .pns-nav-all {
  display: flex; align-items: center; gap: 7px; font-weight: 700; color: #fff; font-size: 15px;
  background: var(--pns-blue-d); border-radius: 6px; margin: 0 10px 0 0; padding: 9px 13px; height: auto;
}

/* ---------------- 布局：左侧分类栏 + 内容 ---------------- */
.pns-shell { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 22px; padding: 22px 0 40px; }
.pns-side {
  align-self: start; position: sticky; top: calc(var(--header-h) + 8px);
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.pns-side h3 {
  font-size: 14px; padding: 14px 16px; background: var(--navy); color: #fff; font-weight: 800;
  display: flex; align-items: center; gap: 8px;
}
.pns-side ul { list-style: none; margin: 0; padding: 6px 0; }
.pns-side li a {
  display: flex; align-items: center; gap: 10px; padding: 10px 16px; font-size: 13.5px; color: var(--ink-2);
}
.pns-side li a:hover { background: var(--navy-soft); color: var(--navy); }
.pns-side li a.on { background: var(--navy-soft); color: var(--navy); font-weight: 700; }
.pns-side li a i {
  width: 22px; height: 22px; border-radius: 6px; background: var(--yellow-soft);
  display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 11px; font-weight: 700; color: var(--navy);
}
.pns-side li a em { margin-left: auto; font-style: normal; font-size: 11.5px; color: var(--ink-3); }
.pns-side-foot { padding: 12px 16px; border-top: 1px solid var(--line-2); font-size: 12px; color: var(--ink-3); }

/* ---------------- 首页轮播 ---------------- */
.pns-hero { position: relative; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); background: var(--navy); }
.pns-hero-track { display: flex; transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1); }
.pns-slide {
  flex: 0 0 100%; position: relative; min-height: 320px;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center; gap: 10px; padding: 34px 42px; color: #fff;
}
.pns-slide.theme-navy { background: linear-gradient(115deg, #23276e 0%, #3a3fa0 62%, #5a5fc4 100%); }
.pns-slide.theme-red { background: linear-gradient(115deg, #a8110b 0%, #e2231a 60%, #ff6a3d 100%); }
.pns-slide.theme-yellow { background: linear-gradient(115deg, #2a2d84 0%, #3b3f9e 55%, #5f63c8 100%); }
.pns-slide .kicker {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  background: var(--yellow); color: #2a2a2a; font-size: 12.5px; font-weight: 800; margin-bottom: 14px;
}
.pns-slide h2 { font-size: clamp(28px, 4.2vw, 46px); font-weight: 900; letter-spacing: 0.5px; line-height: 1.12; }
.pns-slide h2 em { color: var(--yellow); font-style: normal; }
.pns-slide p { margin: 14px 0 22px; font-size: 14.5px; color: rgba(255, 255, 255, 0.86); max-width: 30em; }
.pns-slide .cta {
  display: inline-flex; align-items: center; gap: 10px; background: var(--yellow); color: #22242c;
  font-weight: 800; font-size: 15px; padding: 13px 26px; border-radius: 999px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}
.pns-slide .cta:hover { transform: translateY(-1px); }
.pns-slide-art { justify-self: end; width: 100%; max-width: 420px; }
.pns-slide-art img { width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.28)); }
.pns-hero-dots {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 3;
}
.pns-hero-dots button {
  width: 9px; height: 9px; border-radius: 999px; border: 0; padding: 0;
  background: rgba(255, 255, 255, 0.45);
}
.pns-hero-dots button.on { width: 26px; background: var(--yellow); }
.pns-hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.86);
  display: flex; align-items: center; justify-content: center; color: var(--navy);
}
.pns-hero-arrow.prev { left: 12px; }
.pns-hero-arrow.next { right: 12px; }
.pns-hero-arrow:hover { background: #fff; }

/* ---------------- 服务条 ---------------- */
.pns-services {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 16px 0 0;
}
.pns-service {
  background: #fff; border-radius: var(--radius); padding: 14px 16px; display: flex; gap: 12px; align-items: center;
  box-shadow: var(--shadow);
}
.pns-service .ico {
  width: 38px; height: 38px; border-radius: 10px; background: var(--navy-soft); color: var(--navy);
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.pns-service b { display: block; font-size: 13.5px; }
.pns-service span { display: block; font-size: 12px; color: var(--ink-3); }

/* ---------------- 版块 ---------------- */
.pns-section { margin-top: 26px; }
.pns-section-head { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 12px; }
.pns-section-head h2 { font-size: 20px; font-weight: 900; letter-spacing: 0.2px; }
.pns-section-head .sub { font-size: 12.5px; color: var(--ink-3); padding-bottom: 3px; }
.pns-section-head .more { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--navy); white-space: nowrap; }
.pns-section-head .more:hover { text-decoration: underline; }

/* 分类瓷片 */
.pns-tiles { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
.pns-tile {
  background: #fff; border-radius: var(--radius); padding: 12px 8px; text-align: center;
  box-shadow: var(--shadow); transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.pns-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.pns-tile .art { width: 56px; height: 56px; margin: 0 auto 8px; }
.pns-tile b { display: block; font-size: 12.5px; font-weight: 700; }
.pns-tile span { display: block; font-size: 11px; color: var(--ink-3); margin-top: 2px; }

/* ---------------- 商品卡 ---------------- */
.pns-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.pns-grid.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pns-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(190px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 6px; }
.pns-rail::-webkit-scrollbar { height: 6px; }
.pns-rail::-webkit-scrollbar-thumb { background: #ccd0dd; border-radius: 999px; }

.pns-card {
  position: relative; background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.pns-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.pns-card-media { position: relative; aspect-ratio: 1 / 1; background: #fff; overflow: hidden; }
.pns-card-media img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.pns-card-badges { position: absolute; left: 8px; top: 8px; display: flex; flex-direction: column; gap: 4px; z-index: 2; }
.pns-badge {
  font-size: 10.5px; font-weight: 800; padding: 3px 7px; border-radius: 6px; line-height: 1.3;
  background: var(--red); color: #fff; letter-spacing: 0.2px;
}
.pns-badge.off { background: var(--yellow); color: #2a2a2a; }
.pns-badge.hot { background: var(--navy); }
.pns-badge.low { background: #6b7280; }
.pns-card-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1 1 auto; }
.pns-card-brand { font-size: 11px; color: var(--ink-3); letter-spacing: 0.3px; }
.pns-card-name {
  font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 35px;
}
.pns-card-rate { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--ink-3); }
.pns-stars { display: inline-flex; gap: 1px; color: var(--yellow); }
.pns-stars svg { width: 12px; height: 12px; }
.pns-price-row { display: flex; align-items: baseline; gap: 7px; margin-top: 2px; }
.pns-price { font-size: 17.5px; font-weight: 900; color: var(--red); letter-spacing: -0.2px; }
.pns-price-list { font-size: 12px; color: var(--ink-3); text-decoration: line-through; }
.pns-stock { font-size: 11.5px; color: var(--ink-3); display: flex; align-items: center; gap: 6px; }
.pns-bar { flex: 1 1 auto; height: 5px; border-radius: 999px; background: #eceef4; overflow: hidden; }
.pns-bar i { display: block; height: 100%; background: linear-gradient(90deg, #ff8a3d, var(--red)); }
.pns-bar.stock i { background: linear-gradient(90deg, #57c98a, var(--green)); }
.pns-card-add {
  margin-top: auto; border: 0; border-radius: 9px; background: var(--navy); color: #fff;
  font-weight: 800; font-size: 12.5px; padding: 9px 10px; display: flex; align-items: center; justify-content: center; gap: 7px;
}
.pns-card-add:hover { background: var(--navy-dark); }
.pns-card-add.sold { background: #9aa1b3; cursor: default; }

/* ---------------- 按钮 / 表单 ---------------- */
.pns-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 10px; padding: 13px 22px; font-size: 14.5px; font-weight: 800;
  background: var(--navy); color: #fff;
}
.pns-btn:hover { background: var(--navy-dark); }
.pns-btn.red { background: var(--red); }
.pns-btn.red:hover { background: var(--red-dark); }
.pns-btn.yellow { background: var(--yellow); color: #24262e; }
.pns-btn.ghost { background: #fff; color: var(--navy); border: 1.5px solid var(--navy); }
.pns-btn.ghost:hover { background: var(--navy-soft); }
.pns-btn.block { width: 100%; }
.pns-btn.sm { padding: 9px 14px; font-size: 13px; border-radius: 8px; }
.pns-btn[disabled] { opacity: 0.55; cursor: not-allowed; }

.pns-field { display: flex; flex-direction: column; gap: 6px; }
.pns-field label { font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.pns-field input, .pns-field select, .pns-field textarea {
  height: 46px; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 13px;
  font-size: 14.5px; font-family: inherit; background: #fff; color: var(--ink); outline: 0;
}
.pns-field textarea { height: auto; padding: 12px 13px; }
.pns-field input:focus, .pns-field select:focus, .pns-field textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(41, 45, 132, 0.12); }
.pns-field .err { font-size: 12px; color: var(--red); min-height: 15px; }
.pns-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pns-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }

.pns-panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.pns-panel h2 { font-size: 16px; font-weight: 900; margin-bottom: 4px; }
.pns-panel .hint { font-size: 12.5px; color: var(--ink-3); margin-bottom: 16px; }

/* ---------------- 面包屑 / 页头 ---------------- */
.pns-crumb { font-size: 12.5px; color: var(--ink-3); padding: 16px 0 0; display: flex; gap: 6px; flex-wrap: wrap; }
.pns-crumb a:hover { color: var(--navy); text-decoration: underline; }
.pns-page-head { display: flex; align-items: center; gap: 12px; padding: 12px 0 16px; flex-wrap: wrap; }
.pns-page-head h1 { font-size: 24px; font-weight: 900; }
.pns-page-head .count { font-size: 13px; color: var(--ink-3); }
.pns-page-head .sp { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.pns-select {
  height: 38px; border: 1.5px solid var(--line); border-radius: 9px; padding: 0 10px; background: #fff; font-size: 13px;
}

/* ---------------- 类目页工具栏 ---------------- */
.pns-toolbar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: #fff; border-radius: var(--radius); padding: 12px 14px; box-shadow: var(--shadow); margin-bottom: 14px;
}
.pns-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.pns-chip {
  border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 14px;
  font-size: 12.5px; color: var(--ink-2); font-weight: 600;
}
.pns-chip.on { border-color: var(--navy); background: var(--navy); color: #fff; }

/* ---------------- 商品详情 ---------------- */
.pns-pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; padding: 6px 0 30px; }
.pns-pdp-gallery { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; }
.pns-pdp-main { aspect-ratio: 1 / 1; background: #fff; border-radius: 10px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.pns-pdp-main img { width: 100%; height: 100%; object-fit: contain; }
.pns-pdp-thumbs { display: flex; gap: 8px; margin-top: 10px; }
.pns-pdp-thumbs button {
  width: 64px; height: 64px; border-radius: 8px; border: 1.5px solid var(--line); background: #fff; padding: 3px;
}
.pns-pdp-thumbs button.on { border-color: var(--navy); }
.pns-pdp-thumbs img { width: 100%; height: 100%; object-fit: contain; }

.pns-pdp-info h1 { font-size: clamp(19px, 2.4vw, 26px); font-weight: 900; line-height: 1.3; }
.pns-pdp-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 12.5px; color: var(--ink-3); margin-top: 8px; }
.pns-pdp-meta b { color: var(--ink-2); }
.pns-pdp-price-box { background: linear-gradient(180deg, #fff6f5, #fff); border: 1px solid #ffdcd9; border-radius: var(--radius); padding: 16px; margin-top: 14px; }
.pns-pdp-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pns-pdp-price .now { font-size: 34px; font-weight: 900; color: var(--red); letter-spacing: -0.6px; }
.pns-pdp-price .was { font-size: 15px; color: var(--ink-3); text-decoration: line-through; }
.pns-pdp-price .save { font-size: 12.5px; font-weight: 800; color: #fff; background: var(--red); border-radius: 6px; padding: 3px 8px; }
.pns-promo-bar { margin-top: 12px; }
.pns-promo-bar .row { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-2); margin-bottom: 6px; }
.pns-promo-bar .row b { color: var(--red); }
.pns-pdp-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.pns-pdp-badges span {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700;
  background: var(--navy-soft); color: var(--navy); border-radius: 999px; padding: 6px 12px;
}
.pns-qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; }
.pns-qty button { width: 42px; height: 46px; border: 0; background: #fff; font-size: 18px; font-weight: 700; color: var(--navy); }
.pns-qty button:hover { background: var(--navy-soft); }
.pns-qty input { width: 56px; height: 46px; border: 0; text-align: center; font-size: 15px; font-weight: 700; outline: 0; }
.pns-buy-row { display: flex; gap: 10px; align-items: center; margin-top: 16px; flex-wrap: wrap; }
.pns-buy-row .pns-btn { flex: 1 1 200px; }

.pns-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 26px 0 0; }
.pns-tabs button {
  border: 0; background: transparent; padding: 12px 18px; font-weight: 800; font-size: 14px; color: var(--ink-3);
  border-bottom: 3px solid transparent;
}
.pns-tabs button.on { color: var(--navy); border-bottom-color: var(--navy); }
.pns-tabpane { display: none; padding: 18px 0; }
.pns-tabpane.on { display: block; }

.pns-spec { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px 24px; }
.pns-spec div { display: flex; gap: 10px; font-size: 13.5px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.pns-spec dt { color: var(--ink-3); flex: 0 0 96px; margin: 0; }
.pns-spec dd { margin: 0; color: var(--ink); }

/* 评价 */
.pns-reviews { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 22px; }
.pns-rating-big { text-align: center; background: #fff; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); align-self: start; }
.pns-rating-big .n { font-size: 44px; font-weight: 900; color: var(--navy); line-height: 1; }
.pns-rating-big .stars { justify-content: center; margin: 8px 0; }
.pns-rating-big .c { font-size: 12.5px; color: var(--ink-3); }
.pns-rating-dist { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.pns-rating-dist .r { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--ink-3); }
.pns-rating-dist .r .pns-bar { height: 4px; }
.pns-review {
  background: #fff; border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); margin-bottom: 10px;
}
.pns-review-head { display: flex; align-items: center; gap: 10px; font-size: 12.5px; }
.pns-review-head .who { font-weight: 800; }
.pns-review-head .when { color: var(--ink-3); margin-left: auto; }
.pns-review p { margin: 8px 0 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.65; }
.pns-review .meta { margin-top: 8px; font-size: 11.5px; color: var(--ink-3); }

/* ---------------- 购物车 ---------------- */
.pns-cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
.pns-cart-list { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.pns-cart-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line-2); font-size: 13px; color: var(--ink-3); }
.pns-cart-item { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 14px; padding: 16px 18px; border-bottom: 1px solid var(--line-2); }
.pns-cart-item:last-child { border-bottom: 0; }
.pns-cart-item img { width: 96px; height: 96px; object-fit: contain; border-radius: 8px; background: #fff; border: 1px solid var(--line-2); }
.pns-cart-item h3 { font-size: 14px; font-weight: 700; line-height: 1.4; }
.pns-cart-item .c-brand { font-size: 11.5px; color: var(--ink-3); }
.pns-cart-item .c-price { color: var(--red); font-weight: 900; font-size: 16px; }
.pns-cart-item .c-list { font-size: 12px; color: var(--ink-3); text-decoration: line-through; }
.pns-cart-item .c-right { text-align: right; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.pns-cart-item .c-del { border: 0; background: transparent; color: var(--ink-3); font-size: 12px; text-decoration: underline; }
.pns-cart-item .c-del:hover { color: var(--red); }
.pns-sum { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; position: sticky; top: calc(var(--header-h) + 10px); }
.pns-sum h2 { font-size: 16px; font-weight: 900; margin-bottom: 14px; }
.pns-sum-row { display: flex; justify-content: space-between; font-size: 13.5px; padding: 7px 0; color: var(--ink-2); }
.pns-sum-row.total { border-top: 1px dashed var(--line); margin-top: 8px; padding-top: 12px; font-size: 16px; font-weight: 900; color: var(--ink); }
.pns-sum-row.total span:last-child { color: var(--red); font-size: 20px; }
.pns-sum .pns-btn { margin-top: 14px; }
.pns-empty { text-align: center; padding: 60px 20px; color: var(--ink-3); }
.pns-empty h2 { font-size: 18px; color: var(--ink); margin-bottom: 8px; }

/* ---------------- 结账 ---------------- */
.pns-checkout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 22px; align-items: start; }
.pns-checkout-side { position: sticky; top: calc(var(--header-h) + 10px); }
.pns-radio-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 6px 0 16px; }
.pns-radio {
  flex: 1 1 160px; border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 13px;
  display: flex; gap: 10px; align-items: flex-start; background: #fff; cursor: pointer;
}
.pns-radio.on { border-color: var(--navy); background: var(--navy-soft); }
.pns-radio b { display: block; font-size: 13.5px; }
.pns-radio span { display: block; font-size: 11.5px; color: var(--ink-3); }
.pns-order-line { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; padding: 5px 0; color: var(--ink-2); }
.pns-order-line b { font-weight: 700; color: var(--ink); white-space: nowrap; }
.pns-card-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pns-card-fields .full { grid-column: 1 / -1; }
.pns-total {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin: 16px 0 12px; padding: 14px 16px; border-radius: 10px; background: var(--navy-soft);
}
.pns-total span:first-child { font-size: 14px; font-weight: 800; color: var(--navy); }
.pns-total #bp-total { font-size: 24px; font-weight: 900; color: var(--red); }
#bp-error { min-height: 18px; font-size: 12.5px; color: var(--red); margin-bottom: 8px; }
.pns-secure { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--ink-3); margin-top: 12px; }

/* ---------------- 弹层 ---------------- */
.pns-modal-mask {
  position: fixed; inset: 0; background: rgba(16, 20, 36, 0.55); z-index: 200;
  display: none; align-items: center; justify-content: center; padding: 16px;
  backdrop-filter: blur(2px);
}
.pns-modal-mask.on { display: flex; }
.pns-modal {
  background: #fff; border-radius: 16px; width: min(94vw, 460px);
  max-height: calc(100dvh - 32px); overflow: auto; box-shadow: var(--shadow-lg); position: relative;
}
.pns-modal-close {
  position: absolute; right: 10px; top: 10px; z-index: 5; width: 32px; height: 32px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, 0.92); color: var(--ink); font-size: 17px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.pns-modal h3 { font-size: 15px; font-weight: 900; padding: 16px 18px; border-bottom: 1px solid var(--line-2); }
.pns-modal-body { padding: 16px 18px; }
.pns-modal-body .row { display: flex; gap: 10px; }
.pns-modal-body .row > * { flex: 1; }

/* 进场促销弹窗 */
.pns-promo-mask { z-index: 300; }
.pns-promo {
  width: min(94vw, 460px); background: #fff; border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow-lg); position: relative; display: flex; flex-direction: column;
  max-height: calc(100dvh - 24px);
}
.pns-promo-media { position: relative; background: var(--navy); aspect-ratio: 460 / 300; }
.pns-promo-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pns-promo-badge {
  position: absolute; left: 14px; top: 14px; background: var(--yellow); color: #23252d;
  font-size: 11.5px; font-weight: 900; padding: 6px 11px; border-radius: 999px; letter-spacing: 0.3px;
}
.pns-promo-discount {
  position: absolute; left: 14px; bottom: 14px; background: var(--red); color: #fff;
  font-size: clamp(20px, 6vw, 30px); font-weight: 900; padding: 6px 14px; border-radius: 12px;
  box-shadow: 0 10px 24px rgba(226, 35, 26, 0.4); line-height: 1.1;
}
.pns-promo-body { padding: 16px 18px 18px; }
.pns-promo-body h2 { font-size: clamp(19px, 5vw, 24px); font-weight: 900; text-align: center; line-height: 1.25; }
.pns-promo-body h2 em { color: var(--red); font-style: normal; }
.pns-promo-body p.sub { text-align: center; font-size: 13px; color: var(--ink-2); margin: 8px 0 0; }
.pns-countdown {
  display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 4px;
  font-variant-numeric: tabular-nums;
}
.pns-countdown .label { font-size: 12px; color: var(--ink-3); }
.pns-countdown .clock {
  font-size: clamp(26px, 8vw, 36px); font-weight: 900; color: var(--red); letter-spacing: 1px;
}
.pns-countdown.flash .clock { animation: pnsBlink 1s steps(2, start) infinite; }
@keyframes pnsBlink { 50% { opacity: 0.35; } }
.pns-promo-trust { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin: 12px 0 14px; }
.pns-promo-trust span { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; color: var(--ink-2); }
.pns-promo-trust svg { color: var(--green); }
.pns-promo-cta {
  display: block; text-align: center; background: var(--red); color: #fff; font-weight: 900;
  font-size: 16px; padding: 15px; border-radius: 12px; box-shadow: 0 10px 22px rgba(226, 35, 26, 0.35);
}
.pns-promo-cta:hover { background: var(--red-dark); }
.pns-promo-dismiss {
  display: block; width: 100%; margin-top: 10px; border: 0; background: transparent;
  color: var(--ink-3); font-size: 12.5px; text-decoration: underline;
}

/* ---------------- 抽屉（移动端分类） ---------------- */
.pns-drawer-mask {
  position: fixed; inset: 0; background: rgba(16, 20, 36, 0.5); z-index: 180; display: none;
}
.pns-drawer-mask.on { display: block; }
.pns-drawer {
  position: fixed; left: 0; top: 0; bottom: 0; width: min(84vw, 320px); background: #fff; z-index: 190;
  transform: translateX(-102%); transition: transform 0.25s ease; overflow: auto; padding-bottom: 30px;
}
.pns-drawer.on { transform: none; }
.pns-drawer h3 { background: var(--navy); color: #fff; padding: 16px; font-size: 15px; }

/* ---------------- 页脚 ---------------- */
.pns-footer { background: #1b1d33; color: #b9bccc; margin-top: 40px; }
.pns-footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; padding: 34px 0 26px; }
.pns-footer h4 { color: #fff; font-size: 13.5px; margin-bottom: 12px; }
.pns-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pns-footer a { font-size: 12.5px; color: #b9bccc; }
.pns-footer a:hover { color: #fff; }
.pns-footer .about { font-size: 12.5px; line-height: 1.7; }
.pns-footer .pays { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.pns-footer .pays span {
  background: #fff; border-radius: 5px; padding: 3px 7px; font-size: 10px; font-weight: 800; color: #23252d;
}
.pns-footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.09); padding: 14px 0; font-size: 11.5px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------------- Toast ---------------- */
.pns-toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); z-index: 400;
  background: #1f2328; color: #fff; font-size: 13.5px; font-weight: 600; padding: 12px 20px;
  border-radius: 999px; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease; max-width: 90vw; text-align: center;
}
.pns-toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1200px) {
  .pns-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pns-tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .pns-shell { grid-template-columns: 1fr; }
  .pns-side { display: none; }
  .pns-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pns-pdp { grid-template-columns: 1fr; }
  .pns-cart-layout, .pns-checkout { grid-template-columns: 1fr; }
  .pns-sum, .pns-checkout-side { position: static; }
  .pns-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pns-footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 96px; }
  .pns-header-main { gap: 10px; min-height: 56px; padding: 8px 0; flex-wrap: wrap; }
  .pns-logo { order: 1; }
  .pns-logo img { height: 28px; }
  .pns-burger { order: 0; }
  .pns-head-actions { order: 2; margin-left: auto; }
  .pns-search { order: 3; flex: 1 0 100%; max-width: none; margin: 4px 0 6px; }
  .pns-search input { height: 40px; padding: 0 14px; font-size: 14px; }
  .pns-search button { height: 40px; padding: 0 14px; }
  .pns-search button span { display: none; }
  .pns-head-btn .pns-head-text, .pns-deliver { display: none; }
  .pns-head-btn { padding: 8px; }
  .pns-burger { display: flex; }
  .pns-topbar .pns-topbar-sp { display: none; }
  .pns-hero-arrow { display: none; }
  .pns-slide { grid-template-columns: 1fr; min-height: 0; padding: 20px 18px 34px; }
  .pns-slide-art { display: none; }
  .pns-slide h2 { font-size: 26px; }
  .pns-nav { display: none; }
  .pns-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pns-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pns-reviews { grid-template-columns: 1fr; }
  .pns-section-head h2 { font-size: 17px; }
  .pns-page-head h1 { font-size: 20px; }
}
@media (max-width: 640px) {
  .pns-wrap { padding: 0 12px; }
  .pns-grid, .pns-grid.g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pns-rail { grid-auto-columns: minmax(160px, 1fr); }
  .pns-card-name { font-size: 12.5px; }
  .pns-price { font-size: 16px; }
  .pns-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .pns-tile { padding: 10px 4px; }
  .pns-tile .art { width: 40px; height: 40px; }
  .pns-services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pns-service { padding: 11px 12px; gap: 9px; }
  .pns-service .ico { width: 32px; height: 32px; border-radius: 8px; }
  .pns-service b { font-size: 12.5px; }
  .pns-service span { font-size: 11px; }
  .pns-row-3 { grid-template-columns: 1fr; }
  .pns-row-2 { grid-template-columns: 1fr; }
  .pns-card-fields { grid-template-columns: 1fr 1fr; }
  .pns-footer-top { grid-template-columns: 1fr; gap: 18px; }
  .pns-cart-item { grid-template-columns: 76px minmax(0, 1fr); }
  .pns-cart-item img { width: 76px; height: 76px; }
  .pns-cart-item .c-right { grid-column: 2; flex-direction: row; justify-content: space-between; align-items: center; }
  .pns-pdp-price .now { font-size: 28px; }
  .pns-buy-row .pns-btn { flex: 1 1 100%; }
  .pns-toast { bottom: 16px; }
}
@media (max-width: 420px) {
  .pns-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .pns-tile { padding: 8px 3px; }
  .pns-tile .art { width: 32px; height: 32px; margin-bottom: 6px; }
  .pns-tile b { font-size: 12px; }
  .pns-logo img { height: 26px; }
}

/* =============================================================================
 * v2 增强：二级分类 / 迷你导航下拉 / 轮播比例 / 移动端购买条 / 字体度量
 * （追加在文件末尾，组件独立命名，不影响上面的基础样式）
 * ========================================================================== */

/* ---------------- 导航：悬停展开二级分类（PNS 版式） ---------------- */
.pns-nav .pns-nav-item { position: relative; flex: 0 0 auto; }
.pns-nav .pns-nav-item > a {
  display: inline-flex; align-items: center; height: 50px; padding: 0 14px; font-size: 16px; font-weight: 700;
  color: var(--pns-ink); letter-spacing: -0.2px; border-bottom: 3px solid transparent; white-space: nowrap;
}
.pns-nav .pns-nav-item > a:hover,
.pns-nav .pns-nav-item.on > a { color: var(--pns-blue-d); }
.pns-nav .pns-nav-item.on > a { border-bottom-color: var(--pns-blue-d); }
.pns-mega {
  position: absolute; left: 0; top: 100%; z-index: 80; min-width: 340px;
  background: #fff; border: 1px solid var(--line); border-radius: 0 0 12px 12px;
  box-shadow: 0 18px 36px rgba(23, 28, 48, 0.16); padding: 12px;
  display: none; grid-template-columns: 1fr 1fr; gap: 4px 10px;
}
.pns-nav-item:hover .pns-mega { display: grid; }
.pns-mega a {
  display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 8px;
  font-size: 13px; color: var(--ink-2); border-bottom: 0;
}
.pns-mega a:hover { background: var(--navy-soft); color: var(--navy); }
.pns-mega a em { font-style: normal; color: var(--ink-3); font-size: 11.5px; }
.pns-mega a.pns-mega-all {
  grid-column: 1 / -1; background: var(--navy); color: #fff; font-weight: 800; justify-content: center;
}
.pns-mega a.pns-mega-all:hover { background: var(--navy-dark); color: #fff; }

/* ---------------- 类目页：二级分类 chips + 侧栏子项 ---------------- */
.pns-subchips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.pns-subchip {
  display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--line);
  background: #fff; border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 600; color: var(--ink-2);
}
.pns-subchip em { font-style: normal; font-size: 11px; color: var(--ink-3); }
.pns-subchip:hover { border-color: var(--navy); color: var(--navy); }
.pns-subchip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.pns-subchip.on em { color: rgba(255, 255, 255, 0.75); }

.pns-side-subs { list-style: none; margin: 0 0 6px; padding: 0 0 4px 34px; }
.pns-side-subs li a {
  display: flex; justify-content: space-between; gap: 8px; padding: 6px 10px 6px 0; font-size: 12.5px;
  color: var(--ink-3); border-radius: 6px;
}
.pns-side-subs li a:hover { color: var(--navy); }
.pns-side-subs li a.on { color: var(--navy); font-weight: 700; }
.pns-side-subs em { font-style: normal; font-size: 11px; }

/* ---------------- 轮播比例（桌面 1208×392 ≈ 3.08:1，移动 16:10） ---------------- */
.pns-hero { aspect-ratio: 1208 / 392; min-height: 0; }
.pns-hero-track, .pns-slide { height: 100%; }
.pns-slide { min-height: 0; padding: 40px 48px; }
.pns-slide-analytics { display: none; }
.pns-hero-arrow { opacity: 0; transition: opacity 0.18s ease; }
.pns-hero:hover .pns-hero-arrow { opacity: 1; }
@media (max-width: 900px) {
  .pns-hero { aspect-ratio: auto; }
  .pns-slide { padding: 20px 18px 34px; }
}

/* ---------------- 商品页：移动端固定购买条 ---------------- */
.pns-buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; display: none;
  align-items: center; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(23, 28, 48, 0.08); backdrop-filter: blur(6px);
}
.pns-buybar .now { font-size: 19px; font-weight: 900; color: var(--red); line-height: 1.1; }
.pns-buybar .was { font-size: 11.5px; color: var(--ink-3); text-decoration: line-through; }
.pns-buybar .pns-btn { flex: 1 1 auto; padding: 13px 16px; font-size: 14px; }
@media (max-width: 900px) {
  .pns-buybar { display: flex; }
  body[data-page="product"] { padding-bottom: 74px; }
}

/* ---------------- 字体度量：CJK 与数字对齐 ---------------- */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang HK', 'Noto Sans HK', 'Noto Sans TC',
    'Hiragino Sans GB', 'Microsoft JhengHei', 'Heiti TC', Roboto, 'Helvetica Neue', Arial, sans-serif;
  letter-spacing: 0.01em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
.pns-price, .pns-price-list, .pns-pdp-price .now, .pns-buybar .now, .pns-sum-row.total span:last-child,
#bp-total, .pns-countdown .clock, .pns-total #bp-total {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
}
.pns-slide h2, .pns-page-head h1, .pns-section-head h2, .pns-pdp-info h1 { letter-spacing: 0.005em; }
/* 移动端：二级分类 / 筛选 chips 单行横滑（PNS 版式） */
@media (max-width: 640px) {
  .pns-subchips { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; margin-bottom: 10px; }
  .pns-subchips::-webkit-scrollbar { height: 0; }
  .pns-subchip { flex: 0 0 auto; padding: 6px 12px; font-size: 12.5px; }
  .pns-toolbar { flex-wrap: wrap; overflow: visible; gap: 8px; }
  .pns-chips { flex-wrap: nowrap; overflow-x: auto; flex: 1 1 100%; padding-bottom: 2px; }
  .pns-chips::-webkit-scrollbar { height: 0; }
  .pns-chip { flex: 0 0 auto; padding: 6px 12px; font-size: 12px; }
  .pns-toolbar .pns-select { flex: 0 0 auto; margin-left: auto; }
}
/* 防止 nowrap 子项（二级分类 / 筛选 chips）把栅格撑宽 */
.pns-shell > *, .pns-wrap > * { min-width: 0; }
.pns-subchips, .pns-toolbar, .pns-chips, .pns-grid, .pns-rail, .pns-cat-grid { min-width: 0; }

/* =============================================================================
 * 手机层硬化（≤767）：字号下限 12px / 页脚触控 ≥40px / 角标不越界
 * 平板（≤1023）单独处理：购物车角标贴右，避免挤出视口
 * ========================================================================== */
@media (max-width: 1023px) {
  .pns-cart-btn .pns-cart-count { left: auto; right: 2px; top: 0; }
  .pns-head-btn span, .pns-head-btn b, .pns-cart-btn .pns-cart-count { font-size: 12px; }
  .pns-deliver { min-height: 40px; }
  .pns-select, .pns-field input, .pns-field select, .pns-toolbar .pns-select { min-height: 40px; }
  .pns-footer a { display: inline-flex; align-items: center; min-height: 36px; }
  .c-del, .pns-linklike { min-height: 32px; }
  .pns-order-deliver button { min-height: 32px; }
  /* 轮播圆点：视觉仍是小点，触控区抬到 24×24 */
  .pns-hero-dots { gap: 4px; bottom: 8px; }
  .pns-hero-dots button { width: 24px; height: 24px; padding: 0; background: transparent; position: relative; }
  .pns-hero-dots button::before {
    content: ''; position: absolute; inset: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.5);
  }
  .pns-hero-dots button.on { width: 32px; background: transparent; }
  .pns-hero-dots button.on::before { inset: 8px 4px; background: var(--yellow); }
}

@media (max-width: 767px) {
  /* 小到看不清的字统一抬到 12px（角标、副文案、chips 计数、瓷片数量…） */
  .pns-head-btn span,
  .pns-head-btn b,
  .pns-cart-btn .pns-cart-count,
  .pns-subchip em,
  .pns-tile span,
  .pns-mega a em,
  .pns-side-subs em,
  .pns-side li a em,
  .pns-promo-trust span,
  .pns-pdp-meta,
  .pns-card-sub,
  .pns-card-brand,
  .pns-card-rate,
  .pns-card .pns-stock span,
  .pns-stock span,
  .pns-pdp .was,
  .pns-price .was,
  .pns-rating-dist span,
  .pns-service div span,
  .pns-pay-opt span,
  .pns-radio-row span span,
  .pns-radio small,
  .pns-buybar .was,
  .pns-review .meta,
  .pns-footer .pays span,
  .pns-footer-bottom span,
  .pns-side li a i,
  .pns-badge { font-size: 12px; }

  /* 页脚链接做成 40px 高的可点行 */
  .pns-footer a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    font-size: 13px;
  }
  .pns-footer ul { padding: 0; }
  .pns-footer ul li { margin: 0; }

  /* 头/尾的次级信息行也放宽一点 */
  .pns-deliver, .pns-topbar { font-size: 12.5px; }
  .pns-cart-count { min-width: 19px; height: 19px; }

  /* 移动端按钮统一 44px 触控高 */
  .pns-btn, .pns-card-add, #pns-add, #pns-buy, .pns-buybar button, #bp-submit { min-height: 44px; }
  .pns-chip, .pns-subchip { min-height: 40px; }
  .pns-head-btn { min-height: 44px; }
  #pns-burger { width: 44px; height: 44px; }
  .pns-search input, .pns-search button { height: 44px; }
  .pns-hero-arrow { min-width: 44px; min-height: 44px; }
  .c-del, .pns-linklike, .pns-summary button, .pns-order-deliver button { min-height: 40px; }
  a.pns-card-name { display: flex; align-items: center; min-height: 40px; }
  .pns-section-head .more, .pns-crumb a, .pns-topbar a { min-height: 28px; display: inline-flex; align-items: center; }

  /* 轮播圆点：视觉仍是小点，但触控区抬到 24×24 */
  .pns-hero-dots { gap: 4px; bottom: 8px; }
  .pns-hero-dots button {
    width: 24px; height: 24px; padding: 0; background: transparent; position: relative;
  }
  .pns-hero-dots button::before {
    content: ''; position: absolute; inset: 8px; border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
  }
  .pns-hero-dots button.on { width: 32px; background: transparent; }
  .pns-hero-dots button.on::before { inset: 8px 4px; background: var(--yellow); }
}


/* =============================================================================
 * 原站壳（pns.hk 真实 header / navigation）落地后的修正层
 * ========================================================================== */

/* 二级导航里原站自带的分类图标（assets/img/share/*.svg）没本地化，先隐藏破图 */
.pns-navigation-bar-container img[src*="assets/img"],
.pns-navigation-bar-container img[src*="/assets/src/icon_"] { display: none !important; }
.pns-navigation-bar-container a { text-decoration: none; }
.pns-navigation-bar-container a.active,
.pns-navigation-bar-container a.on { color: var(--pns-blue-d); font-weight: 700; }

/* 原站壳里的字体图标缺失，用 CSS 补 */
#cx-header .icon-person::before { content: '\1F464'; font-style: normal; }
#cx-header .icon-heart-off::before { content: '\2661'; font-style: normal; font-size: 18px; }
#cx-header .icon-cart::before { content: '\1F6D2'; font-style: normal; }
#cx-header .icon-menu-mobile::before { content: '\2630'; font-style: normal; }
#cx-header .icon-back::before { content: '\2190'; font-style: normal; }

/* 购物车角标 */
#pns-src-cart { position: relative; }
#pns-src-cart .count {
  position: absolute; top: -6px; right: -8px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 999px; background: #fd2500; color: #fff; font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; line-height: 1;
}

/* ---------------- 首页轮播：原站 banner 图（872×480 基准） ---------------- */
.pns-hero {
  aspect-ratio: 1360 / 560;
  background: #fff;
  border: 1px solid var(--pns-line);
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  margin-bottom: 18px;
}
.pns-slide {
  display: block !important;
  grid-template-columns: none !important;
  padding: 0 !important;
  min-height: 0 !important;
  background: #fff !important;
  height: 100%;
}
.pns-slide-link, .pns-slide-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pns-hero-track { height: 100%; }
.pns-hero-arrow {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.92) !important;
  color: var(--pns-ink) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16);
}
.pns-hero-dots { bottom: 12px; }
@media (max-width: 767px) {
  .pns-hero { aspect-ratio: 4 / 3; border-radius: 6px; }
  .pns-hero-dots button::before { background: rgba(0, 0, 0, 0.25); }
  .pns-hero-dots button.on::before { background: var(--pns-blue-d); }
}


/* hero 图完整显示（不裁字），按原站 banner 比例留白 */
.pns-hero { aspect-ratio: 1360 / 620; background: #e9f4fd; }
.pns-slide-link img { object-fit: contain; background: #e9f4fd; }
@media (max-width: 767px) {
  .pns-hero { aspect-ratio: 4 / 3; background: #e9f4fd; }
  .pns-slide-link img { object-fit: contain; }
}

/* ---------------- 首页快速链接行（原站 QL：圆形图标 + 文字，横排可滑） ---------------- */
.pns-quick { margin: 4px 0 22px; background: #fff; border-radius: 8px; padding: 14px 8px 10px; }
.pns-quick-row {
  display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.pns-quick-row::-webkit-scrollbar { height: 0; }
.pns-quick-item {
  flex: 1 0 84px; max-width: 120px; display: flex; flex-direction: column; align-items: center;
  gap: 6px; padding: 6px 2px; text-align: center; color: var(--pns-ink);
}
.pns-quick-item .ic {
  width: 52px; height: 52px; border-radius: 50%; background: #f2f8fd;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.pns-quick-item b { font-size: 12.5px; font-weight: 500; line-height: 1.3; }
.pns-quick-item:hover .ic { background: #e2f0fb; }
.pns-quick-head {
  display: flex; align-items: center; gap: 10px; padding: 0 6px 10px;
  font-size: 18px; font-weight: 700; color: var(--pns-ink);
}
@media (max-width: 767px) {
  .pns-quick-item { flex: 0 0 76px; }
  .pns-quick-item .ic { width: 46px; height: 46px; font-size: 21px; }
  .pns-quick-item b { font-size: 12px; }
}


/* ---------------- 首页「焦點推介」图片墙（原站第二屏） ---------------- */
.pns-focus-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.pns-focus-card {
  display: block;
  background: #fff;
  border: 1px solid var(--pns-line);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.18s, transform 0.18s;
}
.pns-focus-card:hover { box-shadow: 0 8px 22px rgba(23, 28, 48, 0.12); transform: translateY(-2px); }
.pns-focus-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  background: #f5f7fa;
}
.pns-focus-meta { padding: 9px 12px 11px; }
.pns-focus-meta b { display: block; font-size: 14px; font-weight: 700; color: var(--pns-ink); }
.pns-focus-meta span { display: block; margin-top: 2px; font-size: 12px; color: var(--pns-muted); }
@media (max-width: 1023px) { .pns-focus-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .pns-focus-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pns-focus-meta { padding: 7px 9px 9px; }
  .pns-focus-meta b { font-size: 13px; }
}

/* 门店一览 */
.pns-store-search { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.pns-store-search input {
  flex: 1 1 320px; height: 44px; padding: 0 14px; border: 1px solid var(--pns-line);
  border-radius: 6px; font-size: 14px; background: #fff;
}
.pns-store-search .hint { font-size: 12px; color: var(--pns-muted); }
.pns-store-district { margin-bottom: 26px; }
.pns-store-district h2 {
  font-size: 17px; font-weight: 700; color: var(--pns-ink); margin: 0 0 10px;
  padding-bottom: 8px; border-bottom: 1px solid var(--pns-line); display: flex; align-items: baseline; gap: 8px;
}
.pns-store-district h2 span { font-size: 12px; font-weight: 400; color: var(--pns-muted); }
.pns-store-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pns-store {
  background: #fff; border: 1px solid var(--pns-line); border-radius: 8px; padding: 12px 14px;
  display: flex; justify-content: space-between; gap: 12px;
}
.pns-store-main b { display: block; font-size: 14px; color: var(--pns-ink); }
.pns-store-main span { display: block; margin-top: 3px; font-size: 12.5px; color: var(--pns-ink-2); line-height: 1.45; }
.pns-store-meta { text-align: right; flex: 0 0 auto; font-size: 12.5px; color: var(--pns-ink-2); }
.pns-store-meta a { display: block; margin-top: 4px; color: var(--pns-blue-d); }
@media (max-width: 767px) { .pns-store-list { grid-template-columns: 1fr; } }

/* 原站资讯页正文（条款 / 隐私 / FAQ …）排版 */
.pns-src-doc h1, .pns-src-doc h2, .pns-src-doc h3 { font-size: 16px; font-weight: 700; margin: 22px 0 8px; color: var(--pns-ink); }
.pns-src-doc p { margin: 0 0 10px; }
.pns-src-doc ul, .pns-src-doc ol { margin: 0 0 12px; padding-left: 22px; }
.pns-src-doc li { margin-bottom: 6px; }
.pns-src-doc a { color: var(--pns-blue-d); text-decoration: underline; }
.pns-src-doc table { width: 100%; border-collapse: collapse; margin: 10px 0 16px; }
.pns-src-doc th, .pns-src-doc td { border: 1px solid var(--pns-line); padding: 8px 10px; font-size: 13px; text-align: left; }


/* =============================================================================
 * 商品卡：对齐原站 .preview-product（图 / 名称 / 价格 / 详情+加购 双按钮）
 * 结构照 pns.hk，样式由本站控制，避免 Angular 组件 CSS 冲突
 * ========================================================================== */
.pns-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--pns-line);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.18s, transform 0.18s;
}
.pns-card:hover { box-shadow: 0 8px 22px rgba(23, 28, 48, 0.12); transform: translateY(-2px); }

.pns-card .preview-image {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  background: #fff;
  padding: 8px;
}
.pns-card .preview-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pns-card .preview-product-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px 12px 12px;
  flex: 1 1 auto;
}
.pns-card .preview-name {
  font-size: 13px;
  line-height: 1.4;
  color: var(--pns-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 36px;
}
.pns-card .preview-name:hover { color: var(--pns-blue-d); }
.pns-card .preview-sub {
  display: flex;
  gap: 8px;
  font-size: 12px;
  color: var(--pns-muted);
}
.pns-card .preview-rate { color: #f5a623; }

.pns-card .preview-price { margin-top: auto; padding-top: 2px; }
.pns-card .preview-price .currentPrice {
  font-size: 19px;
  font-weight: 700;
  color: var(--pns-red);
  line-height: 1.15;
}
.pns-card .preview-price .originalPrice {
  display: inline-block;
  margin-left: 6px;
  font-size: 12.5px;
  color: var(--pns-muted);
  text-decoration: line-through;
}

.pns-card .preview-controll-btn {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.pns-card .preview-controll-btn .btn {
  flex: 1 1 0;
  height: 34px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid transparent;
}
.pns-card .preview-controll-btn .btn-secondary-sm {
  background: #fff;
  border-color: var(--pns-blue-d);
  color: var(--pns-blue-d);
}
.pns-card .preview-controll-btn .btn-secondary-sm:hover { background: #eef4ff; }
.pns-card .preview-controll-btn .btn-ash {
  background: var(--pns-blue-d);
  color: #fff;
}
.pns-card .preview-controll-btn .btn-ash:hover { background: var(--pns-navy); }
.pns-card .preview-controll-btn .btn-ash.sold { background: #c9ccd1; cursor: not-allowed; }

/* 角标位置（图片左上） */
.pns-card .pns-card-badges { position: absolute; left: 8px; top: 8px; display: flex; gap: 4px; z-index: 2; }

@media (max-width: 767px) {
  .pns-card .preview-name { font-size: 12.5px; min-height: 34px; }
  .pns-card .preview-price .currentPrice { font-size: 17px; }
  .pns-card .preview-controll-btn .btn { height: 36px; font-size: 12.5px; }
}


/* 原站 CSS 让 .preview-controll-btn 仅 hover 显示，这里强制常显 */
.pns-card .preview-controll-btn,
.pns-card .preview-controll-btn .btn {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  display: inline-flex !important;
}
.pns-card .preview-controll-btn { display: flex !important; }


/* 手机层：原站壳内的小字与触控补齐 */
@media (max-width: 767px) {
  #cx-header .count,
  #cx-header .icon-new-label,
  #pns-burger span,
  .pns-src-shell .icon-new-label,
  .pns-src-shell .count { font-size: 12px !important; line-height: 1.2; }

  #pns-burger { min-height: 40px; }

  /* 原站促销条 / 语言 / 顶部小链接做成 32px 可点 */
  .pns-src-shell .message a,
  .pns-src-shell .lang,
  .pns-src-shell .message { min-height: 32px; display: inline-flex; align-items: center; }
}


/* 手机端：汉堡打开原站导航（全屏列表） */
@media (max-width: 1023px) {
  .pns-src-shell .navigation { display: none !important; }
  body.pns-menu-open .pns-src-shell .navigation {
    display: block !important;
    position: fixed;
    left: 0; right: 0; top: 0; bottom: 0;
    z-index: 900;
    background: #fff;
    overflow-y: auto;
    padding: 18px 16px 60px;
    box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.35);
  }
  body.pns-menu-open .pns-src-shell .navigation::before {
    content: '貨品分類'; display: block; font-size: 16px; font-weight: 700;
    color: var(--pns-ink); padding: 6px 4px 14px; border-bottom: 1px solid var(--pns-line); margin-bottom: 8px;
  }
  body.pns-menu-open .pns-navigation-bar-container { display: block !important; height: auto !important; }
  body.pns-menu-open .pns-navigation-bar-container a {
    display: flex !important; align-items: center; min-height: 46px; padding: 0 6px;
    font-size: 15px; border-bottom: 1px solid #f0f1f2;
  }
  body.pns-menu-open .pns-navigation-bar-container img { width: 22px !important; height: 22px !important; }
}


/* 手机端把关键按钮抬到 44px 触控高 */
@media (max-width: 767px) {
  #pns-src-cart { min-height: 44px; min-width: 44px; }
  .pns-card .preview-controll-btn .btn { height: 44px; font-size: 13px; }
  .pns-toolbar .pns-select,
  .pns-chips .pns-chip,
  .pns-subchips .pns-subchip { min-height: 40px; }
  .pns-cart .c-qty button,
  .c-del,
  .pns-linklike { min-height: 40px; }
}


/* 原站页脚/导航里的「展开-收起」按钮（button.expandCollapse）手机端抬到 40px */
@media (max-width: 767px) {
  button.expandCollapse,
  button.generic-link,
  .pns-src-shell .generic-link,
  footer .generic-link { min-height: 40px; display: inline-flex; align-items: center; }
}

@media (max-width: 1023px) {
  .pns-toolbar .pns-select,
  .pns-toolbar .pns-chip,
  .pns-chips .pns-chip,
  .pns-subchips .pns-subchip { min-height: 36px; }
}


/* 手机端：筛选 chips 与下拉统一 40px */
@media (max-width: 767px) {
  .pns-chip, .pns-subchip, .pns-toolbar .pns-chip { min-height: 40px; }
  .pns-select, .pns-toolbar .pns-select, .pns-field select, .pns-field input {
    min-height: 40px;
    height: 40px;
  }
}


/* 分类 chips：解除固定高度，手机端 40px / 桌面保持原视觉 */
.pns-subchip, .pns-chip { height: auto; }
@media (max-width: 767px) {
  .pns-subchip, .pns-chip { height: auto !important; min-height: 40px !important; padding: 8px 14px; }
}


/* 手机端卡片双按钮各占一半（此前 display 覆盖导致换行） */
.pns-card .preview-controll-btn .btn { display: flex !important; }
@media (max-width: 767px) {
  .pns-card .preview-controll-btn { display: flex !important; gap: 6px; }
  .pns-card .preview-controll-btn .btn { flex: 1 1 0 !important; width: auto !important; min-width: 0 !important; }

  /* 手机端头部：搜索框单独一行，logo 收小，图标行不换行 */
  #cx-header pns-header-search-box,
  #cx-header .SearchBox {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    padding: 8px 10px !important;
  }
  #cx-header pns-product-search-box,
  #cx-header pns-product-search-box .form-group { width: 100% !important; }
  #cx-header pns-product-search-box input {
    width: 100% !important;
    height: 40px !important;
    font-size: 14px !important;
    border-radius: 20px !important;
    background: #fff !important;
    color: #3e3e3e !important;
    padding: 0 16px !important;
  }
  #cx-header .header { flex-wrap: wrap !important; }

  /* logo 与 185 标记在手机上收小 */
  #cx-header e2-media.media-lg img { max-height: 34px !important; width: auto !important; }
  #cx-header .SiteLogo e2-paragraph { display: none !important; }

  /* 图标行 44px，不换行 */
  #cx-header .MoneyBack, #cx-header .StoreLocator, #cx-header .SiteLogin,
  #cx-header .HeaderMyList, #cx-header .MiniCart { display: inline-flex !important; align-items: center; min-height: 44px; }
  #cx-header .SiteLanguage { display: none !important; }
}


/* ---------------- 手机头部（≤767 用轻量版，原站壳只在桌面） ---------------- */
.pns-mobile-header, .pns-msearch, .pns-mmenu { display: none; }

@media (max-width: 767px) {
  .pns-src-shell { display: none !important; }

  .pns-mobile-header {
    display: flex; align-items: center; gap: 10px;
    background: #292d84; color: #fff; padding: 8px 12px;
  }
  .pns-mobile-header #pns-mburger {
    width: 40px; height: 40px; border: 0; border-radius: 6px; background: rgba(255,255,255,.12);
    color: #fff; font-size: 18px; line-height: 1;
  }
  .pns-mlogo { margin-right: auto; }
  .pns-mlogo img { height: 30px; width: auto; display: block; }
  .pns-muser, .pns-mcart {
    position: relative; width: 40px; height: 40px; display: inline-flex;
    align-items: center; justify-content: center; font-size: 19px; color: #fff;
  }
  .pns-mcart b {
    position: absolute; top: 2px; right: 0; min-width: 17px; height: 17px; padding: 0 4px;
    border-radius: 999px; background: var(--pns-red); color: #fff; font-size: 11px; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center;
  }

  .pns-msearch { display: flex; gap: 8px; background: #292d84; padding: 2px 12px 12px; }
  .pns-msearch input {
    flex: 1 1 auto; height: 42px; border: 0; border-radius: 21px; padding: 0 16px;
    font-size: 14px; background: #fff; color: var(--pns-ink);
  }
  .pns-msearch button {
    flex: 0 0 auto; height: 42px; padding: 0 18px; border: 0; border-radius: 21px;
    background: var(--pns-blue-d); color: #fff; font-size: 14px; font-weight: 700;
  }

  .pns-mmenu {
    display: none; position: fixed; inset: 0; z-index: 950; background: #fff; overflow-y: auto;
    padding: 0 0 60px;
  }
  .pns-mmenu.on { display: block; }
  .pns-mmenu-head {
    position: sticky; top: 0; background: #292d84; color: #fff; font-size: 16px; font-weight: 700;
    padding: 14px 16px; display: flex; align-items: center; justify-content: space-between;
  }
  .pns-mmenu-head button { background: transparent; border: 0; color: #fff; font-size: 18px; }
  .pns-mmenu a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 16px; min-height: 48px; font-size: 15px; color: var(--pns-ink);
    border-bottom: 1px solid #f0f1f2;
  }
  .pns-mmenu a em { font-style: normal; font-size: 12px; color: var(--pns-muted); }
}


/* 手机购物车角标字号抬到 12px */
@media (max-width: 767px) {
  .pns-mcart b[data-pns-cart-count] { font-size: 12px !important; min-width: 18px; height: 18px; }
}


/* ---------------- 分类 chips 对齐（统一盒模型，消除 .on 状态错位） ---------------- */
.pns-subchips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pns-subchip,
.pns-chips .pns-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-sizing: border-box;
  height: 36px;
  padding: 0 14px;
  line-height: 1;
  border: 1.5px solid var(--pns-line);
  border-radius: 999px;
  background: #fff;
  color: var(--pns-ink-2);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.pns-subchip em,
.pns-chips .pns-chip em { font-style: normal; font-size: 11.5px; color: var(--pns-muted); line-height: 1; }
.pns-subchip:hover,
.pns-chips .pns-chip:hover { border-color: var(--pns-blue-d); color: var(--pns-blue-d); }
.pns-subchip.on,
.pns-chips .pns-chip.on {
  background: var(--pns-blue-d);
  border-color: var(--pns-blue-d);
  color: #fff;
}
.pns-subchip.on em,
.pns-chips .pns-chip.on em { color: rgba(255, 255, 255, 0.8); }
@media (max-width: 767px) {
  .pns-subchip,
  .pns-chips .pns-chip { height: 40px; padding: 0 14px; font-size: 13px; }
}





/* 手机端 chips 计数抬到 12px */
@media (max-width: 767px) {
  .pns-subchip em,
  .pns-chips .pns-chip em { font-size: 12px !important; }
}


/* 双按钮必须同排（原站 CSS 的 width/nowrap 会把它挤到下一行被裁掉） */
.pns-card .preview-controll-btn {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  width: 100% !important;
}
.pns-card .preview-controll-btn .btn,
.pns-card .preview-controll-btn .btn-ash,
.pns-card .preview-controll-btn .btn-secondary-sm {
  display: inline-flex !important;
  flex: 1 1 0 !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: none !important;
  visibility: visible !important;
  opacity: 1 !important;
}
