/* ==========================================================================
   CMS Bridge — styles for markup produced by the StarCMS / pbootcms label
   engine and by the project's secondary-development (二开) virtual labels.
   Keeps every extended label fully functional while matching template-h design.
   ========================================================================== */

/* ---- {page:bar} / {pboot:faqlist} pagination ---------------------------- */
.pagination-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; margin-top: 48px; }
.pagination-bar .page-btn {
  min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--color-border); border-radius: 999px; font-size: var(--fs-sm); color: #1a1a1a; background: #fff; transition: all .25s ease;
}
.pagination-bar .page-btn:hover { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }
.pagination-bar .page-btn.active { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }
.pagination-bar .page-btn.disabled { opacity: .35; pointer-events: none; }

/* ---- {content:ext_spec_html} specification rows ------------------------- */
.product-layout__main .spec-list { margin: 0 0 8px; border-top: 1px solid var(--color-border-2); }
.spec-item { display: flex; align-items: flex-start; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--color-border-2); }
.spec-item .spec-name { flex: 0 0 42%; color: #5e5e5e; font-size: var(--fs-sm); letter-spacing: .02em; }
.spec-item .spec-value { flex: 1 1 auto; font-size: var(--fs-body); color: #1a1a1a; font-weight: 500; }
@media (max-width: 809px) { .spec-item { flex-direction: column; gap: 4px; } .spec-item .spec-name { flex: none; } }

/* ---- {content:ext_apps_items} application cards ------------------------- */
.application-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.application-item {
  display: block; padding: 20px; border: 1px solid var(--color-border-2); border-radius: 14px; background: #fff;
  transition: transform .3s var(--ease-smooth), box-shadow .3s var(--ease-smooth);
}
.application-item:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.06); }
.application-item i { font-size: 18px; color: #0a5ef0; }
.application-item h4 { margin: 10px 0 6px; font-size: var(--fs-title); font-weight: 500; }
.application-item p { font-size: var(--fs-sm); color: #5e5e5e; line-height: 1.6; }

/* ---- {content:ext_faq_items} accordion (二开 markup + toggleFaq()) ------ */
.faq-item { border-bottom: 1px solid var(--color-border-2); }
.faq-item .faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0; text-align: left; font-size: var(--fs-title); font-weight: 500; color: #1a1a1a;
}
.faq-item .faq-question i { transition: transform .3s var(--ease-smooth); font-size: 13px; opacity: .6; }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-item .faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease-smooth); }
.faq-item.open .faq-answer { max-height: 640px; }
.faq-item .faq-answer p { padding: 0 0 22px; font-size: var(--fs-body); line-height: 1.7; color: #5e5e5e; max-width: 80ch; }

/* ---- {content:ext_rproducts_items} related-product cards ---------------- */
.related-products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1199px) { .related-products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 809px) { .related-products-grid { grid-template-columns: 1fr; } }
.related-products-grid .card {
  display: flex; flex-direction: column; border: 1px solid var(--color-border-2); border-radius: 16px; overflow: hidden; background: #fff;
  transition: transform .3s var(--ease-smooth), box-shadow .3s var(--ease-smooth);
}
.related-products-grid .card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(0,0,0,.08); }
.related-products-grid .card-img-wrap { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #f7f7f7; }
.related-products-grid .card-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.related-products-grid .card-img-overlay { position: absolute; inset: auto 0 0 0; padding: 10px 14px; background: linear-gradient(transparent, rgba(0,0,0,.6)); color: #fff; font-size: var(--fs-label); display: flex; justify-content: space-between; gap: 10px; }
.related-products-grid .card-body { padding: 20px; }
.related-products-grid .card-body h3 { font-size: var(--fs-title); font-weight: 500; margin-bottom: 8px; }
.related-products-grid .card-body p { font-size: var(--fs-sm); color: #5e5e5e; line-height: 1.6; }
.related-products-grid .card-body p.meta { font-size: var(--fs-label); letter-spacing: .08em; text-transform: uppercase; color: #8a8a8a; margin-bottom: 6px; }
.related-products-grid .card-actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.related-products-grid .card-actions .btn { display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 999px; font-size: var(--fs-sm); border: 1px solid #1a1a1a; }
.related-products-grid .card-actions .btn-primary { background: #1a1a1a; color: #fff; }
/* 二开 "Add to List" 按钮在新主题中隐藏（保留代码与能力，不展示） */
.related-products-grid .card-actions .btn-outline-primary { display: none; }

/* ---- listing helpers ---------------------------------------------------- */
.empty-state { padding: 64px 0; text-align: center; color: #5e5e5e; font-size: var(--fs-body); }

.faq__list .faq-item:first-child { border-top: 1px solid var(--color-border-2); }

/* ---- 图标卡片（.feature-card）的小图标：{sort:ext_customize_items} 等共用 ------ */
.feature-card__icon i { font-size: 24px; line-height: 1; }

/* ---- {sort:ext_solutions_items} 方案卡片：可选图标与按钮文字 ------------- */
.solution-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 10px; border-radius: 12px; background: rgba(255,255,255,.16); font-size: 18px; }
.solution-card__btn { display: inline-flex; align-items: center; margin-top: 12px; font-size: var(--fs-sm); letter-spacing: .04em; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 2px; }

/* ---- {content:ext_features_html} 产品特色：支持后台自选图标 --------------- */
.product-hero__highlights li.has-icon::before { content: none; }
.product-hero__highlights li.has-icon i { position: absolute; left: 0; top: 1px; font-size: 15px; color: #004a96; }

/* ---- forms posted to the built-in 二开 form receiver -------------------- */
.form-msg { margin-top: 16px; font-size: var(--fs-sm); color: #0a5ef0; }

/* ---- {sort:ext_stats} counters ----------------------------------------- */
.stats__grid .stat-cell, .stat-cell {
  display: flex; flex-direction: column; gap: 8px; padding: 28px 24px; border: 1px solid var(--color-border-2); border-radius: 16px; background: #fff;
}
.stat-cell .stat-icon { font-size: 18px; color: #0a5ef0; }
.stat-cell .num { font-family: var(--font-display); font-size: var(--fs-stat); line-height: 1; font-weight: 500; letter-spacing: -0.02em; }
.stat-cell .num .suffix { font-size: .5em; margin-left: 2px; }
.stat-cell .label { font-size: var(--fs-label); letter-spacing: .1em; text-transform: uppercase; color: #5e5e5e; }
.stats .stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1199px) { .stats .stats__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 809px) { .stats .stats__grid { grid-template-columns: 1fr; } }

/* ---- {sort:ext_values} value cards ------------------------------------- */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1199px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 809px) { .value-grid { grid-template-columns: 1fr; } }
.value-card { position: relative; padding: 28px 24px; border: 1px solid var(--color-border-2); border-radius: 16px; background: #fff; text-align: center; }
.value-card .value-icon { font-size: 20px; color: #0a5ef0; }
.value-card h3 { font-size: var(--fs-title); font-weight: 500; margin-bottom: 10px; }
.value-card p { font-size: var(--fs-sm); line-height: 1.7; color: #5e5e5e; }
.value-card .card-border-left, .value-card .card-border-right { display: none; }

/* ---- {sort:ext_cert} certification wall -------------------------------- */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1199px) { .cert-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 809px) { .cert-grid { grid-template-columns: 1fr; } }
.cert-card { padding: 26px 22px; border: 1px solid var(--color-border-2); border-radius: 16px; background: #fff; }
.cert-card .cert-icon { height: 56px; display: flex; align-items: center; margin-bottom: 12px; }
.cert-card h3 { font-size: var(--fs-title); font-weight: 500; margin-bottom: 8px; }
.cert-card p { font-size: var(--fs-sm); line-height: 1.7; color: #5e5e5e; }

/* ---- {sort:ext_journey} timeline --------------------------------------- */
.timeline-cms { border-top: 1px solid var(--color-border-2); }
.tl-item { display: grid; grid-template-columns: 110px 30px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--color-border-2); }
.tl-item .tl-year { font-family: var(--font-display); font-size: var(--fs-stat-sm); font-weight: 500; }
.tl-item .tl-track { position: relative; display: flex; justify-content: center; }
.tl-item .tl-dot { width: 10px; height: 10px; margin-top: 8px; border-radius: 50%; background: #1a1a1a; }
.tl-item .tl-content { font-size: var(--fs-body); line-height: 1.7; color: #5e5e5e; }
.tl-item .tl-content strong { color: #1a1a1a; font-weight: 500; }
@media (max-width: 809px) { .tl-item { grid-template-columns: 70px 20px 1fr; } }

/* ---- {sort:ext_mod_tags} tag cards ------------------------------------- */
.mod-tag-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mod-tag-item { padding: 18px; border: 1px solid var(--color-border-2); border-radius: 14px; background: #fff; }
.mod-tag-item i { color: #0a5ef0; }
.mod-tag-item span { display: block; margin-top: 8px; font-size: var(--fs-sm); font-weight: 500; }
.mod-tag-item small { display: block; margin-top: 4px; font-size: var(--fs-meta); color: #5e5e5e; }

/* ==========================================================================
   表单内联反馈（AJAX 提交后原地提示，替代系统默认的 alert 弹窗）
   ========================================================================== */
.form-feedback { display: none; margin: 4px 0 14px; padding: 10px 14px; border-radius: 8px; font-size: var(--fs-sm); line-height: 1.5; }
.form-feedback.show { display: block; }
.form-feedback.is-error { background: #fdecea; border: 1px solid #f5c6c2; color: #a3271d; }
.form-feedback.is-ok { background: #e8f5e9; border: 1px solid #bfe3c2; color: #1e6b32; }

/* 验证码行（前台所有询盘表单共用） */
.form-code-row { display: flex; align-items: stretch; gap: 10px; }
.form-code-row .sample-input, .form-code-row .form__input, .form-code-row input[type="text"] { flex: 1 1 auto; min-width: 0; }
.form-code-img { flex: none; width: 116px; height: 44px; object-fit: cover; border: 1px solid rgba(0,0,0,.14); border-radius: 8px; background: #f7f7f7; cursor: pointer; }
.form-code-img:hover { border-color: #004a96; }

/* ==========================================================================
   Get Free Sample 弹窗（产品详情页取样/需求收集）
   结构：.sample-modal > .sample-modal__backdrop + .sample-modal__scroll > .sample-modal__dialog
   ========================================================================== */
.sample-modal { position: fixed; inset: 0; z-index: 300; display: none; }
.sample-modal.open { display: block; }
.sample-modal__backdrop { position: absolute; inset: 0; background: rgba(26,26,26,.58); opacity: 0; transition: opacity .3s var(--ease-smooth); }
.sample-modal.open .sample-modal__backdrop { opacity: 1; }
.sample-modal__scroll { position: absolute; inset: 0; overflow-y: auto; display: flex; padding: 40px 20px; -webkit-overflow-scrolling: touch; }
.sample-modal__dialog {
  position: relative; margin: auto; width: 100%; max-width: 720px; background: #fff; border-radius: 18px;
  padding: 40px; box-shadow: 0 24px 60px rgba(0,0,0,.28);
  opacity: 0; transform: translateY(24px); transition: opacity .3s var(--ease-smooth), transform .35s var(--ease-smooth);
}
.sample-modal.open .sample-modal__dialog { opacity: 1; transform: translateY(0); }
html.sample-modal-lock, html.sample-modal-lock body { overflow: hidden; }

.sample-modal__close {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: transparent; color: #8a8a8a; font-size: 26px; line-height: 1; cursor: pointer; transition: background .25s, color .25s;
}
.sample-modal__close:hover { background: #f2f2f2; color: #1a1a1a; }

.sample-modal__kicker { display: inline-block; margin-bottom: 8px; font-size: var(--fs-kicker); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #004a96; }
.sample-modal__title { margin: 0 0 10px; font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 600; letter-spacing: -.01em; color: #1a1a1a; }
.sample-modal__sub { margin: 0 0 18px; font-size: var(--fs-body); line-height: 1.62; color: #5e5e5e; }
.sample-modal__product {
  margin: 0 0 22px; padding: 10px 14px; font-size: var(--fs-sm); color: #5e5e5e;
  background: #f7f7f7; border-left: 3px solid #004a96; border-radius: 0 8px 8px 0;
}
.sample-modal__product strong { color: #1a1a1a; font-weight: 600; }

.sample-modal__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.sample-field { margin-bottom: 16px; }
.sample-field > label { display: block; margin-bottom: 6px; font-family: var(--font-display); font-size: var(--fs-label); font-weight: 600; letter-spacing: .01em; color: #1a1a1a; }
.sample-field .req { color: #004a96; }
.sample-input {
  width: 100%; padding: 11px 14px; border: 1px solid rgba(0,0,0,.14); border-radius: 8px;
  font-family: var(--font-body); font-size: .9375rem; color: #1a1a1a; background: #fff;
  transition: border-color .25s, box-shadow .25s;
}
.sample-input::placeholder { color: #a8a8a8; }
.sample-input:focus { outline: none; border-color: #004a96; box-shadow: 0 0 0 3px rgba(0,74,150,.12); }
.sample-input.is-error { border-color: #d93025; box-shadow: 0 0 0 3px rgba(217,48,37,.12); }
.sample-textarea { min-height: 100px; resize: vertical; line-height: 1.55; }

.sample-modal__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 4px; }
.sample-modal__foot .btn[disabled] { opacity: .6; pointer-events: none; }
.sample-modal__note { font-size: var(--fs-meta); color: #8a8a8a; }

.sample-modal__done { display: none; padding: 12px 0 4px; text-align: center; }
.sample-modal.is-done .sample-modal__form { display: none; }
.sample-modal.is-done .sample-modal__done { display: block; }
.sample-modal__done-icon {
  display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; margin: 0 auto 16px;
  border-radius: 50%; background: #e8f5e9; color: #1e6b32; font-size: 26px;
}
.sample-modal__done h3 { margin: 0 0 8px; font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 600; color: #1a1a1a; }
.sample-modal__done p { margin: 0 0 20px; font-size: var(--fs-body); line-height: 1.62; color: #5e5e5e; }

@media (max-width: 809px) {
  .sample-modal__scroll { padding: 16px 12px; }
  .sample-modal__dialog { padding: 28px 20px 24px; border-radius: 14px; }
  .sample-modal__grid { grid-template-columns: 1fr; }
  .sample-modal__close { top: 8px; right: 8px; }
  .sample-modal__foot .btn { width: 100%; }
}

/* 侧栏询盘表单补充控件（textarea / 验证码 / 反馈） */
.product-sidebar-form textarea { width: 100%; padding: 10px 14px; border: 1px solid rgba(0,0,0,.12); border-radius: 8px; font-family: var(--font-body); font-size: .875rem; line-height: 1.55; resize: vertical; min-height: 84px; }
.product-sidebar-form textarea:focus { outline: none; border-color: #004a96; }
.product-sidebar-form .form-code-img { height: 42px; width: 108px; }
.product-sidebar-form .form-feedback { font-size: var(--fs-meta); margin: 0 0 12px; }
.product-sidebar-form .required { color: #004a96; }

/* ==========================================================================
   {sort:cascade_tree} 深层分类筛选树（产品列表页左侧）
   ========================================================================== */
.cascade-tree { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--color-border-2); }
.cascade-tree__title { margin: 0 0 10px; font-size: var(--fs-kicker); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8a8a8a; }
.cascade-tree__list, .cascade-tree__sub { list-style: none; margin: 0; padding: 0; }
.cascade-tree__sub { margin: 2px 0 2px 14px; border-left: 1px solid var(--color-border-2); padding-left: 10px; }
.cascade-tree__item > a { display: block; padding: 6px 0; font-size: var(--fs-sm); line-height: 1.45; color: #1a1a1a; transition: color .2s ease; }
.cascade-tree__item > a:hover { color: #004a96; }
.cascade-tree__item.is-active > a { color: #004a96; font-weight: 600; }
.cascade-tree__all > a { color: #8a8a8a; }

/* 产品详情页：深层分类路径（空值不占位） */
.product-hero__cascade { margin-top: 4px; font-size: var(--fs-meta); letter-spacing: .04em; color: #5e5e5e; }
.product-hero__cascade:empty { display: none; }

/* 深层分类导航：按分类分组（分类名 + 其深层分类） */
.cascade-tree__group { margin-bottom: 14px; }
.cascade-tree__cat { display: block; font-weight: 600; font-size: var(--fs-sm); color: #1a1a1a; padding: 4px 0; }
.cascade-tree__cat:hover { color: #004a96; }
.cascade-tree__group .cascade-tree__list { margin-left: 10px; }

/* Browse Categories 内嵌的深层分类：相对分类名缩进 */
.products-tree__group .cascade-tree { margin: 4px 0 8px 12px; }
.products-tree__group .cascade-tree__list { margin: 0; padding: 0; }

/* ==========================================================================
   BROWSE CATEGORIES 箭头规格（全层级唯一一份，改这里即可整体对齐）
   数量徽标对导航没有信息量，且「9 / 42 / 14」位数不同会把右缘推成锯齿，
   故一级行改为统一向右箭头；所有箭头都用同一等宽占位 + margin-left:auto
   贴到各自行的右缘，位置不随分类名长短漂移。
   ========================================================================== */
:root { --tree-arrow-w: 14px; }
.products-tree__count { display: none; }
/* 箭头要贴右缘就必须让所在行是 flex 容器（触屏/窄屏同样成立，不留半截箭头） */
.cascade-tree__item.has-children > a { display: flex; align-items: baseline; }
.products-tree__cat::after,
.cascade-tree__item.has-children > a::after {
  content: "\203A";
  flex: none;
  order: 1;
  width: var(--tree-arrow-w);
  margin-left: auto;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  text-align: right;
  color: #b0b0b0;
  transition: color .2s ease;
}

/* ==========================================================================
   一级 → 二级：手风琴。整行（分类名 + 箭头）都能展开/收起本组，展开一组时收起其它组。
   箭头那一格是 JS 注入的真实 button（button 不能嵌在 <a> 里），所以有下级的一级行不再画
   伪元素箭头，改由按钮承担——按钮与伪元素同宽同位，箭头列仍然对齐。
   ========================================================================== */
.products-tree__group.has-children { display: flex; flex-wrap: wrap; align-items: center; }
.products-tree__group.has-children > .products-tree__cat { flex: 1 1 auto; min-width: 0; }
.products-tree__group.has-children > .products-tree__cat::after { content: none; }
/* 缩进 12px 要从 100% 里扣掉，否则二级行比一级行宽 12px，箭头列就错开了 */
.products-tree__group.has-children > .cascade-tree { flex: 0 0 calc(100% - 12px); }
.products-tree__group > .cascade-tree { display: none; }
.products-tree__group.is-open > .cascade-tree { display: block; }
.products-tree__toggle {
  flex: none;
  position: relative;
  width: var(--tree-arrow-w);
  margin-left: auto;
  /* 不能加 order：DOM 顺序已是「分类名 → 按钮 → 面板」，order 会把按钮推到面板之后，
     展开时按钮被换行挤到面板下方（收起时看不出问题）。 */
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  text-align: right;
  color: #b0b0b0;
  cursor: pointer;
  transition: color .2s ease;
}
.products-tree__toggle::after { content: "\203A"; display: inline-block; transition: transform .18s ease; }
/* 14px 的格子太窄不好点，向外扩一层透明点击区，但不改箭头这一格的几何 */
.products-tree__toggle::before { content: ""; position: absolute; inset: -8px -8px -8px -10px; }
.products-tree__toggle:hover { color: #004a96; }
.products-tree__toggle:focus-visible { outline: 2px solid #004a96; outline-offset: 2px; border-radius: 6px; }
.products-tree__group.is-open > .products-tree__toggle::after { transform: rotate(90deg); }
.products-tree__group.is-open > .products-tree__toggle,
.products-tree__group.is-filtered > .products-tree__toggle { color: #004a96; }

/* ==========================================================================
   二级 → 三级：仍默认收起，鼠标 Hover 向右浮出下一层级
   仅在「宽屏 + 有鼠标悬停能力」下生效；窄屏与触屏（(hover: none)）保持内联展开，
   点击筛选行为不变。层级由 JS 打 has-children 标记（见 cms-bridge.js）。
   ========================================================================== */
@media (min-width: 1101px) and (hover: hover) {
  /* 一级：悬停/键盘聚焦/命中筛选时分类名变蓝（无下级的行仍带统一箭头） */
  .products-tree__group:hover > .products-tree__cat,
  .products-tree__group:focus-within > .products-tree__cat,
  .products-tree__group.is-filtered > .products-tree__cat { color: #004a96; }
  .products-tree__group:hover > .products-tree__cat::after,
  .products-tree__group:focus-within > .products-tree__cat::after,
  .products-tree__group.is-filtered > .products-tree__cat::after { color: #004a96; }

  /* 三级及更深层级：同样默认收起，悬停所在节点后向右浮出（箭头见上面的统一规格） */
  .cascade-tree__item.has-children { position: relative; }
  .cascade-tree__item.has-children:hover > a::after,
  .cascade-tree__item.has-children:focus-within > a::after { color: #004a96; }

  .cascade-tree__sub {
    position: absolute;
    left: calc(100% + 10px);
    top: -8px;
    z-index: 72;
    width: 300px;
    max-width: 40vw;
    margin: 0;
    padding: 8px 12px;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(0, 0, 0, .13);
    opacity: 0;
    pointer-events: none;
    transition: opacity .16s ease;
  }
  .cascade-tree__sub::before {
    content: "";
    position: absolute;
    top: -10px;
    bottom: -10px;
    left: -10px;
    width: 10px;
  }
  .cascade-tree__item:hover > .cascade-tree__sub,
  .cascade-tree__item:focus-within > .cascade-tree__sub { opacity: 1; pointer-events: auto; }

  /* 浮出面板里不要再带内联缩进与竖线 */
  .cascade-tree__sub .cascade-tree__item > a { padding: 6px 0; }
}
