[v-cloak] {
  display: none;
}

/* 去掉默认样式 */
.page_inner {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* ---------------回到顶部--------------- */
.back-top {
  position: fixed;
  right: 0;
  bottom: 70px;
  width: 68px;
  height: 58px;
  border-radius: 8px 0 0 8px;
  background: #31353b;
  color: #fff;
  text-align: center;
  font-size: 12px;
  box-sizing: border-box;
  padding: 10px 0;
  cursor: pointer;
  z-index: 2000;
  display: none;
}

.back-top img {
  width: 20px;
  margin-bottom: 5px;
}

/* ---------------回到顶部end--------------- */

/* ---------------商品列表--------------- */
.loading-wrapper {
  display: flex;
  justify-content: center;
}

.product-grid {
  padding: 28px 33px;
  background: #fff;
  border-radius: 10px;
}

.product-wrapper {
  display: flex;
  flex-wrap: wrap;
  /* 窄屏时避免 gap 计算为负导致布局异常 */
  gap: max(8px, calc((100% - 5 * 270px) / 4));
}

.product-item {
  width: 270px;
}

.product-item .image_container {
  height: 270px;
}

/*
 * product_pod 卡片细部样式（原 oscar/catalogue/partials/product.html、stock_record.html 内联 <style>）
 * 首页 #__homeProductList__ 列表不渲染后，这些 partial 不再输出样式；Vue 精选区 #__goodCategoryVueRoot__
 * 与其它 product_pod 依赖本段，避免布局/悬停按钮与旧列表不一致。
 */
.product-title-tooltip {
  display: inline-block;
  max-width: 120px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
}

.copy-btn {
  visibility: hidden;
  cursor: pointer;
}

.product_pod:hover .copy-btn {
  visibility: visible;
}

/* 列表卡片：左库存状态、右价格；操作区横向排列不重叠 */
.product_pod .product-price-block {
  width: 100%;
  box-sizing: border-box;
}

.product_pod .product-price-block__row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 1.5em;
}

.product_pod .product-price-block__stock {
  flex: 0 1 auto;
  max-width: 55%;
  text-align: left;
}

.product_pod .product-price-block__stock .stock-status {
  font-size: 12px;
}

.product_pod .product-price-block__stock .availability {
  margin-bottom: 0;
  font-size: 13px;
  line-height: 1.35;
  justify-content: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.product_pod .product-price-block__price {
  flex: 1 1 auto;
  min-width: 0;
  text-align: right;
}

.product_pod .product-price-block__price .price_color {
  margin-bottom: 0;
  line-height: 1.35;
  font-size: 13px;
  text-align: right;
}

.product_pod .product-price-block__price .product-price-tax-hint {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  color: #868e96;
  text-align: right;
  white-space: nowrap;
}

.product_pod .availability.available,
.product_pod .availability.available span,
.product_pod .availability.available i {
  color: #28a745 !important;
}

.product_pod .product-btns {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-top: 8px;
  visibility: hidden;
  min-height: 32px;
  box-sizing: border-box;
}

.product_pod .product-btns .cg-btn {
  cursor: pointer;
  font-size: 13px;
  padding: 4px 8px;
  border: 1px solid #eee;
  border-radius: 2px;
  flex: 0 0 auto;
  white-space: nowrap;
  line-height: 1.3;
  min-height: 30px;
  box-sizing: border-box;
}

.product_pod .product-btns .cg-btn:hover {
  color: var(--primary);
}

.product_pod .product-btns .basket-add {
  flex: 0 0 auto;
  min-width: 0;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  position: static !important;
  right: auto !important;
  bottom: auto !important;
  visibility: inherit !important;
}

.product_pod .product-price-block .add-to-basket {
  margin-bottom: 0;
  width: auto;
  margin-right: 0;
}

.product_pod .product-price-block .add-to-basket button.please-inquire,
.product_pod .product-price-block div.please-inquire {
  all: revert;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px !important;
  line-height: 1.3;
  padding: 4px 8px !important;
  min-height: 30px;
  border: 1px solid #eee !important;
  border-radius: 2px;
  color: var(--primary, #007bff) !important;
  cursor: pointer;
  white-space: nowrap;
  max-width: 100%;
}

.product_pod .product-price-block .basket-add > button.please-inquire {
  font-size: 13px !important;
  line-height: 1.3;
  min-height: 30px;
  padding: 4px 8px !important;
}

.product_pod .product-price-block .add-to-basket {
  display: inline-flex;
  align-items: center;
}

.product_pod .product-price-block .add-to-basket button.please-inquire:disabled,
.product_pod .product-price-block div.please-inquire.disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.product_pod:hover .product-btns {
  visibility: visible;
}

@media (min-resolution: 110dpi), screen and (max-width: 1680px) {
  .product_pod .price_color {
    font-size: 18px !important;
  }

  .product-grid {
    padding: 21px 23px;
  }

  .good-service-pj-block-unit {
    padding: 14px 23px 20px;
  }

  .good-service-pj-block-unit:first-of-type {
    padding-top: 10px;
  }

  .product-wrapper {
    gap: max(8px, calc((100% - 5 * 230px) / 4));
  }

  .product-item {
    width: 230px;
  }

  .product-item .image_container {
    height: 230px;
  }
}

/* ---------------商品列表end--------------- */

/* ---------------合作厂商--------------- */
.partner-factory {
  margin: 10px 0 32px;
  width: 100%;
}

.partner-factory__title {
  font-weight: 500;
  font-size: 24px;
  color: #000;
  text-align: center;
  padding: 26px 0;
}

.partner-factory__body {
  overflow: hidden;
  width: 100%;
  border-radius: 10px;
  background: #fff;
  position: relative;
}

.partner-factory__body .marquee-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  transform: translateY(0);
  will-change: transform;
}

/* 合作厂商：始终向上整段切换（A→B→克隆 A，无过渡回 0 无缝循环） */
.partner-factory__body .marquee-wrapper.partner-marquee--flip {
  transition: transform 0.42s cubic-bezier(0.32, 0.72, 0.24, 1);
}

.partner-factory__body .marquee-block {
  width: 100%;
  flex-shrink: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(2, 90px);
  align-content: center;
  padding: 10px 0;
}

.partner-factory__body .marquee-block > div {
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-factory__body img {
  width: 50%;
}

@media (prefers-reduced-motion: reduce) {
  .partner-factory__body .marquee-wrapper.partner-marquee--flip {
    transition: none;
  }
}

/* ---------------合作厂商end--------------- */

/* ---------------精品分类--------------- */
.good-category__title {
  font-size: 23px;
  margin-left: 20px;
  margin-top: 25px;
  font-weight: 500;
}

.good-category__body {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin: 15px 0 30px;
}

.category-item {
  width: 290px;
  max-width: 100%;
  flex: 1 1 240px;
  height: 180px;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.category-item img {
  width: 100%;
  height: 100%;
}

@media (min-resolution: 110dpi), screen and (max-width: 1680px) {
  .category-item {
    width: 251px;
    height: 154px;
  }
}

.hover-cover {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 5% 0;
}

.hover-cover.show {
  opacity: 1;
}

.hover-cover__title {
  font-size: 17px;
  font-weight: 600;
  text-align: center;
}

.hover-cover__body {
  display: grid;
  padding: 0 25px;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.hover-cover__body .cate-item {
  text-align: center;
  border: 0.5px solid #fff;
  font-size: 14px;
}

.hover-cover__body .cate-item a {
  color: inherit;
}

.hover-cover__body .cate-item:hover {
  color: #000;
  background: #fff;
}

/* 综合服务：参考设备资产平台「交易/租赁专区」的展开布局（与上方卡片区并存） */
.good-category-zone {
  /* 铺满主内容列（与外层 flex:1 同宽） */
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 8px 0 0;
  box-sizing: border-box;
}

.good-category-zone__inner {
  max-width: 100%;
}

/* 综合服务首块（航材贸易）上方：资讯 + 公告 双栏（各最多 5 条，无内滚动） */
.good-service-zone-news-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
  min-height: 0;
  margin: 0 0 8px;
  box-sizing: border-box;
}

.good-service-zone-news-row__panel {
  flex: 1 1 calc(50% - 8px);
  min-width: 260px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0;
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  border-radius: 12px;
  border: 1px solid #e8ecf1;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.good-service-zone-news-row__panel--information {
  --gz-news-accent: #2563eb;
  --gz-news-accent-soft: rgba(37, 99, 235, 0.08);
}

.good-service-zone-news-row__panel--announcement {
  --gz-news-accent: #c2410c;
  --gz-news-accent-soft: rgba(194, 65, 12, 0.08);
}

.good-service-zone-news-row__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px 12px;
  padding: 14px 18px 10px;
  border-bottom: 2px solid var(--gz-news-accent-soft);
  background: linear-gradient(
    90deg,
    var(--gz-news-accent-soft) 0%,
    transparent 42%
  );
}

/* 首页「更多」统一为「更多 >」胶囊按钮（资讯栏 + 综合服务 Tab 右侧） */
.home-more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-sizing: border-box;
  text-decoration: none;
  white-space: nowrap;
  font-weight: 500;
  cursor: pointer;
  transition:
    color 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.home-more-link__text {
  line-height: 1.2;
}

.home-more-link__gt {
  font-size: 0.95em;
  font-weight: 700;
  line-height: 1;
  opacity: 0.92;
  transition:
    transform 0.18s ease,
    opacity 0.15s ease;
}

.home-more-link:hover .home-more-link__gt,
.home-more-link:focus-visible .home-more-link__gt {
  transform: translateX(3px);
  opacity: 1;
}

.good-service-zone-news-row__more.home-more-link {
  flex-shrink: 0;
  padding: 5px 12px;
  font-size: 13px;
  line-height: 1.25;
  color: var(--gz-news-accent);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.good-service-zone-news-row__more.home-more-link:hover,
.good-service-zone-news-row__more.home-more-link:focus-visible {
  color: #fff;
  background: var(--gz-news-accent);
  border-color: var(--gz-news-accent);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
  outline: none;
}

.good-service-zone-news-row__more.home-more-link:hover .home-more-link__gt,
.good-service-zone-news-row__more.home-more-link:focus-visible
  .home-more-link__gt {
  color: inherit;
}

.good-service-zone-news-row__title {
  margin: 0;
  padding-bottom: 0;
  border-bottom: none;
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.good-service-zone-news-row__body {
  flex: 1;
  min-height: 0;
  overflow: visible;
  padding: 4px 6px 12px;
  border-radius: 0;
  background: transparent;
  border: none;
  box-sizing: border-box;
}

.good-service-zone-news-row__state {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  padding: 16px;
  font-size: 13px;
  color: #64748b;
  text-align: center;
  line-height: 1.5;
}

.good-service-zone-news-row__state--loading {
  color: #94a3b8;
}

.good-service-zone-news-row__state--empty {
  color: #94a3b8;
}

.good-service-zone-news-row__list {
  list-style: none;
  margin: 0;
  padding: 4px 8px 6px;
}

.good-service-zone-news-row__item {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #f1f5f9;
}

.good-service-zone-news-row__item:last-child {
  border-bottom: none;
}

.good-service-zone-news-row__link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 10px;
  margin: 2px 0;
  border-radius: 8px;
  color: #1e293b;
  text-decoration: none;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.good-service-zone-news-row__link:hover,
.good-service-zone-news-row__link:focus-visible {
  background: var(--gz-news-accent-soft);
  color: #0f172a;
  outline: none;
}

.good-service-zone-news-row__item-title-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1;
}

.good-service-zone-news-row__pin {
  flex-shrink: 0;
  display: inline-block;
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.45;
  white-space: nowrap;
  color: #c41230;
  background: #fef2f2;
  border: 1px solid #fecaca;
  vertical-align: middle;
}

.good-service-zone-news-row__panel--information
  .good-service-zone-news-row__pin {
  color: #c41230;
  background: #fef2f2;
  border-color: #fecaca;
}

.good-service-zone-news-row__item--top .good-service-zone-news-row__item-title {
  font-weight: 600;
}

.good-service-zone-news-row__item-title {
  min-width: 0;
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.good-service-zone-news-row__item-date {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: #64748b;
  letter-spacing: 0.02em;
}

.good-service-zone-news-row__link:hover .good-service-zone-news-row__item-date,
.good-service-zone-news-row__link:focus-visible
  .good-service-zone-news-row__item-date {
  color: #475569;
}

@media screen and (max-width: 768px) {
  .good-service-zone-news-row {
    min-height: 0;
  }

  .good-service-zone-news-row__panel {
    flex-basis: 100%;
    min-width: 0;
  }
}

/* 锚点定位：预留顶栏高度，避免标题被固定导航遮挡 */
.good-category-zone .good-service-pj-block-unit {
  scroll-margin-top: 88px;
}

/* 综合服务：右侧固定快捷导航（竖条锚点 + 回到顶部） */
.good-service-anchor-nav {
  position: fixed;
  right: 0;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 1990;
  display: flex;
  flex-direction: column;
  width: 128px;
  max-width: min(128px, 32vw);
  padding: 6px 0;
  box-sizing: border-box;
  background: rgba(49, 53, 59, 0.94);
  border-radius: 8px 0 0 8px;
  box-shadow: -2px 2px 12px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-right: none;
}

.good-service-anchor-nav__link,
.good-service-anchor-nav__top {
  display: block;
  width: 100%;
  margin: 0;
  padding: 9px 8px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  color: #f1f5f9;
  text-decoration: none;
  white-space: nowrap;
  word-break: normal;
  overflow: visible;
  border: none;
  background: transparent;
  cursor: pointer;
  box-sizing: border-box;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.good-service-anchor-nav__link:hover,
.good-service-anchor-nav__link:focus-visible,
.good-service-anchor-nav__top:hover,
.good-service-anchor-nav__top:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  outline: none;
}

.good-service-anchor-nav__link + .good-service-anchor-nav__link,
.good-service-anchor-nav__link + .good-service-anchor-nav__top {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.good-service-anchor-nav__top {
  font-weight: 600;
  color: #fde68a;
}

@media screen and (max-width: 768px) {
  .good-service-anchor-nav {
    display: none;
  }
}

/* 列表模式：单行固定高度，条目少时不纵向撑满主区 */
.good-service-pj {
  padding: 8px 0 28px;
  background: transparent;
  border-radius: 0;
  --good-service-pj-list-row-height: 90px;
  --good-service-pj-list-row-gap: 8px;
  --good-service-pj-list-max-visible-rows: 5;
}

/* 每个综合服务大区：白底圆角卡片，与 .product-grid 一致（border-radius: 10px） */
.good-service-pj-block-unit {
  margin-top: 12px;
  padding: 18px 33px 24px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-sizing: border-box;
  border-top: none;
}

.good-service-pj-block-unit:first-of-type {
  margin-top: 8px;
  padding-top: 12px;
  border-top: none;
}

/* 内层仅承载 Tab + 主内容，避免与外层标题重复上内边距；底边与主行对齐（不设额外 28px 空白） */
.good-service-pj--panel {
  padding-top: 0;
  padding-bottom: 0;
}

.good-service-pj__head {
  margin-bottom: 6px;
  position: relative;
}

.good-service-pj__title-wrap {
  position: relative;
  padding: 4px 0 0;
  width: 100%;
  text-align: center;
}

.good-service-pj__title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  color: #c8102e;
  letter-spacing: 0.02em;
  text-align: center;
}

.good-service-pj__title-en {
  position: absolute;
  left: 50%;
  top: -6px;
  transform: translateX(-50%);
  font-size: 52px;
  font-weight: 800;
  color: #1a1a1a;
  opacity: 0.06;
  line-height: 1;
  letter-spacing: 0.04em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

/* Tab 行：左侧 tabs + 右侧「更多」（参照设备资产平台 tab-header-right） */
.good-service-pj__tab-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px 12px;
  margin: 0 0 18px;
  padding: 0;
  border-bottom: 1px solid #e8e8e8;
}

.good-service-pj__tab-header .good-service-pj__tabs {
  margin: 0;
  padding: 0;
  border-bottom: none;
  flex: 1;
  min-width: 0;
}

.good-service-pj__tab-header-right {
  flex-shrink: 0;
  padding-bottom: 10px;
  margin-bottom: -1px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Tab 栏：有图 / 列表 分段切换（位于「更多」左侧） */
.good-service-pj__view-mode-toggle {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid #e3e4e5;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.good-service-pj__view-mode-btn {
  margin: 0;
  padding: 0 12px;
  min-height: 36px;
  border: none;
  border-right: 1px solid #e3e4e5;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  line-height: 1.2;
  transition:
    color 0.15s ease,
    background 0.15s ease;
}

.good-service-pj__view-mode-btn:last-child {
  border-right: none;
}

.good-service-pj__view-mode-btn:hover,
.good-service-pj__view-mode-btn:focus-visible {
  color: #c8102e;
  outline: none;
}

.good-service-pj__view-mode-btn.is-active {
  color: #c8102e;
  background: #fffdfa;
  font-weight: 600;
}

.good-service-pj__tab-more.home-more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 500;
  color: #02428c;
  text-decoration: none;
  border: 1px solid #e3e4e5;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  box-sizing: border-box;
  transition:
    border-color 0.15s ease,
    color 0.15s ease,
    background 0.15s ease,
    box-shadow 0.15s ease;
}

.good-service-pj__tab-more.home-more-link:hover,
.good-service-pj__tab-more.home-more-link:focus-visible {
  color: #c8102e;
  border-color: #c8102e;
  background: #fffdfa;
  box-shadow: 0 1px 4px rgba(200, 16, 46, 0.12);
  outline: none;
}

.good-service-pj__tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin: 0 0 18px;
  padding: 0 0 0;
  border-bottom: 1px solid #e8e8e8;
}

.good-service-pj__tab {
  margin: 0 12px 0 0;
  padding: 10px 2px 12px;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  background: transparent;
  font-size: 15px;
  color: #333;
  cursor: pointer;
  line-height: 1.2;
}

/* 焦点环不用红色四边（会与选中态混淆）；仅保留底边 .is-active 红线 */
.good-service-pj__tab:focus,
.good-service-pj__tab:focus-visible {
  outline: none;
  box-shadow: none;
}

.good-service-pj__tab:hover {
  color: #c8102e;
}

.good-service-pj__tab.is-active {
  color: #c8102e;
  border-bottom-color: #c8102e;
  font-weight: 600;
}

/* 固定主行高度：切换 Tab 时整块卡片高度稳定（左侧 Banner 与右侧内容区同高 480px） */
.good-service-pj__main {
  display: flex;
  gap: 20px;
  align-items: stretch;
  height: 480px;
  min-height: 480px;
  max-height: 480px;
  box-sizing: border-box;
}

.good-service-pj__banner {
  position: relative;
  flex: 0 0 300px;
  align-self: stretch;
  box-sizing: border-box;
  width: 300px;
  min-width: 300px;
  max-width: 300px;
  min-height: 480px;
  height: 480px;
  border-radius: 8px;
  overflow: hidden;
  background: #0f2847;
}

.good-service-pj__banner-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* 原为高对比渐变，便于叠白字；叠字已去，仅保留极轻暗角，避免整图发灰 */
.good-service-pj__banner-mask {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(8, 18, 45, 0.06) 0%,
    rgba(8, 18, 45, 0.14) 100%
  );
}

/* 综合服务各块 Banner 悬停层：叠在图与轻蒙层之上；用渐变而非纯黑，悬停时仍能看到底图 */
.good-service-pj__banner-hover-cover {
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(8, 18, 45, 0.22) 0%,
    rgba(8, 18, 45, 0.72) 100%
  ) !important;
}

.good-service-pj__banner-hover-cover:not(.show) {
  pointer-events: none;
}

.good-service-pj__banner-hover-cover .hover-cover__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  padding: 0 10px;
}

.good-service-pj__banner-hover-cover .hover-cover__body {
  padding: 0 14px 6px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}

.good-service-pj__banner-hover-cover .hover-cover__body .cate-item {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  border-width: 1px;
}

.good-service-pj__banner-hover-cover .hover-cover__body .cate-item a {
  display: block;
  padding: 11px 10px;
}

.good-service-pj__banner-text {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 20px;
  color: #fff;
  z-index: 2;
}

.good-service-pj__banner-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 14px;
  line-height: 1.35;
}

.good-service-pj__banner-slogan {
  font-size: 13px;
  opacity: 0.92;
  line-height: 1.65;
}

/* 列表模式（桌面）：主行随内容收缩，避免 1 条数据时单行被拉满 480px */
@media screen and (min-width: 1101px) {
  .good-service-pj__main:has(.good-service-pj__featured-wrap--list),
  .good-service-pj__main:has(.good-service-pj__tooling-wrap--list) {
    height: auto;
    min-height: 0;
    max-height: none;
    align-items: stretch;
  }

  .good-service-pj__main:has(.good-service-pj__featured-wrap--list) .good-service-pj__banner,
  .good-service-pj__main:has(.good-service-pj__tooling-wrap--list) .good-service-pj__banner {
    height: auto;
    min-height: 0;
    max-height: 480px;
    align-self: stretch;
  }

  .good-service-pj__content:has(.good-service-pj__featured-wrap--list),
  .good-service-pj__content:has(.good-service-pj__tooling-wrap--list) {
    height: auto;
    max-height: none;
  }

  .good-service-pj__content:has(.good-service-pj__featured-wrap--list) .good-service-pj__single-wrap,
  .good-service-pj__content:has(.good-service-pj__tooling-wrap--list) .good-service-pj__single-wrap {
    flex: 0 0 auto;
    height: auto;
    max-height: none;
  }
}

.good-service-pj__content {
  flex: 1;
  min-width: 0;
  min-height: 0;
  height: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
}

/* 精选 / 表格 / 工装 Tab：右侧在 480px 主行内铺满，溢出由内部滚动 */
.good-service-pj__content:has(.good-service-pj__featured-wrap),
.good-service-pj__content:has(.good-service-pj__quotations-wrap),
.good-service-pj__content:has(.good-service-pj__aviation-orders-wrap),
.good-service-pj__content:has(.good-service-pj__support-requests-wrap),
.good-service-pj__content:has(.good-service-pj__tooling-wrap) {
  min-height: 0;
  height: 100%;
  max-height: 100%;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.good-service-pj__content:has(.good-service-pj__embed-form) {
  min-height: 0;
  height: 100%;
  max-height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.good-service-pj__content:has(.good-service-pj__featured-wrap)
  .good-service-pj__single-wrap,
.good-service-pj__content:has(.good-service-pj__quotations-wrap)
  .good-service-pj__single-wrap,
.good-service-pj__content:has(.good-service-pj__aviation-orders-wrap)
  .good-service-pj__single-wrap,
.good-service-pj__content:has(.good-service-pj__support-requests-wrap)
  .good-service-pj__single-wrap,
.good-service-pj__content:has(.good-service-pj__tooling-wrap)
  .good-service-pj__single-wrap {
  flex: 1;
  min-height: 0;
  max-height: 100%;
  height: 100%;
  width: 100%;
  align-items: stretch;
  align-self: stretch;
  justify-content: flex-start;
}

.good-service-pj__single-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 200px;
  width: 100%;
}

/* 固定主行高度时：右侧主内容区纵向占满，避免 Tab 切换时高度抖动 */
.good-service-pj__main
  .good-service-pj__content
  > .good-service-pj__single-wrap {
  flex: 1;
  min-height: 0;
  max-height: 100%;
  overflow: hidden;
}

.good-service-pj__content:has(.good-service-pj__embed-form)
  .good-service-pj__single-wrap {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  width: 100%;
}

/* 综合服务内嵌「信息登记」表单（与 header 弹窗字段一致） */
.good-service-pj__embed-form {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 8px;
  box-sizing: border-box;
  max-height: min(70vh, 560px);
  overflow-y: auto;
}

.good-service-pj__embed-form .save-info-form--pj {
  padding: 16px 22px 20px;
}

.good-service-pj__embed-form .save-info-form .form-item {
  display: flex;
  align-items: center;
  min-height: 3.5rem;
  font-size: 1rem;
}

.good-service-pj__embed-form .save-info-form .form-item label {
  display: block;
  width: 5rem;
  flex-shrink: 0;
}

.good-service-pj__embed-form .save-info-form .form-item input {
  flex: 1;
  min-width: 0;
  height: 2.5rem;
  box-sizing: border-box;
  outline: none;
  appearance: none;
  border: 1px solid #d8d8d8;
  padding: 0.5rem 0.8rem;
  border-radius: 5px;
}

.good-service-pj__embed-form .save-info-form .form-item input::placeholder {
  font-size: 1rem;
}

.good-service-pj__embed-form .save-info-form .form-item input[readonly],
.good-service-pj__embed-form .save-info-form .form-item input.is-locked {
  background: #f5f5f5;
  color: #606266;
  cursor: not-allowed;
}

.good-service-pj__embed-form
  .save-info-form
  .form-item
  label:has(+ input:required)::after {
  content: "*";
  margin-left: 3px;
  color: #dc242a;
}

.good-service-pj__embed-form
  .save-info-form
  .form-item
  input:invalid:not(:placeholder-shown) {
  box-shadow: 0 0 5px rgba(255, 0, 0, 0.8);
}

.good-service-pj__embed-form .save-info-form .tip {
  color: #dc242a;
  padding: 0.5rem 0 0.25rem;
  line-height: 1.5;
  font-size: 0.95rem;
}

.good-service-pj__embed-form .save-info-form .form-item.handle-btn {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}

.good-service-pj__embed-form .save-info-form .handle-btn .btn {
  font-size: 1rem;
  width: 5rem;
  height: 2.5rem;
  border-radius: 7px;
  border: none;
  cursor: pointer;
}

.good-service-pj__embed-form .save-info-form .handle-btn .submit-btn {
  background: #dc242a;
  color: #fff;
}

.good-service-pj__embed-form .save-info-form .handle-btn .close-btn {
  border: 1px solid #d8d8d8;
  background: #fff;
}

/* 国产民机 ·「全部」Tab：暂无数据说明 + 信息登记引导 */
.good-service-pj__domestic-overview {
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  text-align: center;
}

.good-service-pj__domestic-overview--empty {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: min(320px, 48vh);
  padding: 28px 22px 32px;
}

.good-service-pj__domestic-overview--empty .good-service-pj__empty-icon {
  margin-bottom: 16px;
}

.good-service-pj__domestic-overview-title {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
}

.good-service-pj__domestic-overview-desc {
  margin: 0 0 24px;
  font-size: 14px;
  font-weight: 400;
  color: #666;
  line-height: 1.65;
  max-width: 42em;
}

/* 工装设备 · 首页：与精选商品同款 2 行×4 列，约束在 480px 主行内 */
.good-service-pj__tooling-wrap {
  flex: 1 1 auto;
  align-self: stretch;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
}

.good-service-pj__tooling-grid {
  flex: 1 1 auto;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  margin: 0;
  padding: 0 14px 0 0;
  list-style: none;
  overflow: hidden;
  box-sizing: border-box;
}

.good-service-pj__tooling-stack {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
}

.good-service-pj__tooling-wrap--list .good-service-pj__tooling-stack {
  flex: 0 0 auto;
  height: auto;
  max-height: none;
  overflow: visible;
}

.good-service-pj__tooling-wrap--list .good-service-pj__all-products-list {
  flex: 0 0 auto;
  height: auto;
  max-height: calc(
    var(--good-service-pj-list-row-height, 90px) * var(--good-service-pj-list-max-visible-rows, 5) +
      var(--good-service-pj-list-row-gap, 8px) * (var(--good-service-pj-list-max-visible-rows, 5) - 1)
  );
  display: flex;
  flex-direction: column;
  gap: var(--good-service-pj-list-row-gap, 8px);
  padding-inline-end: 14px;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
  justify-content: flex-start;
}

.good-service-pj__tooling-wrap--list .good-service-pj__featured-list-row {
  flex: 0 0 var(--good-service-pj-list-row-height, 90px);
  height: var(--good-service-pj-list-row-height, 90px);
  min-height: var(--good-service-pj-list-row-height, 90px);
  max-height: var(--good-service-pj-list-row-height, 90px);
}

.good-service-pj__tooling-list-info {
  grid-template-columns:
    minmax(0, 1.1fr)
    minmax(0, 0.95fr)
    minmax(0, 0.95fr)
    minmax(0, 0.8fr)
    minmax(0, 0.85fr)
    minmax(0, 1fr);
}

.good-service-pj__tooling-card {
  min-width: 0;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.15s ease;
}

.good-service-pj__tooling-card:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.good-service-pj__tooling-card__link {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.good-service-pj__tooling-card__link--media {
  flex: 1 1 auto;
}

.good-service-pj__tooling-card__media {
  flex: 1 1 auto;
  min-height: 120px;
  width: 100%;
  overflow: hidden;
  background: #f7f8fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 与精选商品 image_container 一致：等比放大铺满可视区域（cover） */
.good-service-pj__tooling-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.good-service-pj__tooling-card__body {
  flex: 0 0 auto;
  padding: 6px 8px 8px;
  min-height: 0;
  overflow: hidden;
}

.good-service-pj__tooling-card__title {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.good-service-pj__tooling-card__title a {
  color: inherit;
  text-decoration: none;
}

.good-service-pj__tooling-card__title a:hover {
  color: var(--casc-primary, #c41230);
}

.good-service-pj__tooling-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.good-service-pj__tooling-card__part {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 11px;
  line-height: 1.35;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 卡片底部两行规格（适用机型 / 外形尺寸），替代原件号展示 */
.good-service-pj__tooling-card__specs {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.good-service-pj__tooling-card__spec-line {
  min-width: 0;
  font-size: 11px;
  line-height: 1.35;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.good-service-pj__tooling-card__inquiry {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
}

/* 与航材 please-inquire 文字按钮一致（无边框） */
.good-service-pj__tooling-card__inquiry > button.please-inquire {
  all: revert;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px !important;
  line-height: 1.2 !important;
  padding: 2px 6px !important;
  min-height: 24px !important;
  border: none !important;
  border-radius: 0;
  background: transparent !important;
  color: var(--primary, #007bff) !important;
  cursor: pointer;
  white-space: nowrap;
  max-width: 100%;
}

.good-service-pj__tooling-card__inquiry > button.please-inquire.disabled,
.good-service-pj__tooling-card__inquiry > button.please-inquire:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.good-service-pj__tooling-card__specs {
  margin: 0;
  font-size: 11px;
  line-height: 1.35;
  color: #666;
}

.good-service-pj__tooling-card__spec-row {
  display: flex;
  gap: 4px;
  margin: 0 0 2px;
}

.good-service-pj__tooling-card__spec-row dt {
  flex-shrink: 0;
  margin: 0;
  font-weight: 500;
  color: #888;
}

.good-service-pj__tooling-card__spec-row dt::after {
  content: "：";
}

.good-service-pj__tooling-card__spec-row dd {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media screen and (max-width: 1400px) {
  .good-service-pj__tooling-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media screen and (max-width: 900px) {
  .good-service-pj__tooling-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(4, minmax(0, 1fr));
  }
}

.good-service-pj__domestic-overview-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
  transition:
    opacity 0.15s ease,
    filter 0.15s ease;
  background: #dc242a;
  color: #fff;
}

.good-service-pj__domestic-overview-btn:hover {
  opacity: 0.92;
  filter: brightness(1.03);
  color: #fff;
}

/* 综合服务右侧：与 #__homeProductList__ 同款 product_pod；默认 2 行×4 列 */
.good-service-pj__featured-wrap {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

/* 「全部」8 条：在固定主行高度内纵向铺满，2 行×4 列等分，网格底与 .good-service-pj__main 底对齐（无分页） */
.good-service-pj__featured-wrap--all-products {
  flex: 1;
  min-height: 0;
  max-height: 100%;
  overflow: hidden;
}

.good-service-pj__featured-wrap--all-products
  .good-service-pj__all-products-grid-inner {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
}

/* 8 条商品：2 行×4 列网格，单元格内上图下文（各占约一半高度） */
.good-service-pj__featured-wrap--all-products
  .good-service-pj__featured-product-wrapper,
.good-service-pj__featured-product-wrapper {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 5px 12px;
  align-items: stretch;
  box-sizing: border-box;
  padding-inline-end: 14px;
  margin: 0;
}

/* 列表模式：无图，行高固定；最多 5 条时超出主区可滚动 */
.good-service-pj__featured-wrap--list {
  flex: 0 1 auto;
  align-self: flex-start;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: 100%;
  overflow: hidden;
}

.good-service-pj__featured-wrap--list .good-service-pj__all-products-stack,
.good-service-pj__featured-wrap--list .good-service-pj__all-products-grid-inner {
  flex: 0 0 auto;
  height: auto;
  min-height: 0;
  align-items: stretch;
}

.good-service-pj__featured-wrap--list .good-service-pj__all-products-grid-inner {
  flex: 0 0 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.good-service-pj__all-products-list {
  flex: 0 0 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: var(--good-service-pj-list-row-gap, 8px);
  padding-inline-end: 14px;
  box-sizing: border-box;
  justify-content: flex-start;
}

.good-service-pj__featured-wrap--list .good-service-pj__all-products-list {
  flex: 0 0 auto;
  height: auto;
  max-height: calc(
    var(--good-service-pj-list-row-height, 90px) * var(--good-service-pj-list-max-visible-rows, 5) +
      var(--good-service-pj-list-row-gap, 8px) * (var(--good-service-pj-list-max-visible-rows, 5) - 1)
  );
  overflow-x: hidden;
  overflow-y: auto;
}

.good-service-pj__featured-list-row {
  flex: 0 0 var(--good-service-pj-list-row-height, 90px);
  height: var(--good-service-pj-list-row-height, 90px);
  min-height: var(--good-service-pj-list-row-height, 90px);
  max-height: var(--good-service-pj-list-row-height, 90px);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 14px;
  border: 1px solid #ececec;
  border-radius: 6px;
  background: #fff;
  box-sizing: border-box;
}

.good-service-pj__featured-list-row:hover {
  border-color: #e0c4c7;
}

.good-service-pj__featured-list-detail-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-left: 2px;
  text-decoration: none;
  color: #6c757d;
  border-radius: 4px;
  transition:
    color 0.15s ease,
    background 0.15s ease;
}

.good-service-pj__featured-list-detail-gt {
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.18s ease;
}

.good-service-pj__featured-list-detail-link:hover,
.good-service-pj__featured-list-detail-link:focus-visible {
  color: var(--primary, #dc242a);
  background: rgba(220, 36, 42, 0.06);
}

.good-service-pj__featured-list-detail-link:hover .good-service-pj__featured-list-detail-gt,
.good-service-pj__featured-list-detail-link:focus-visible .good-service-pj__featured-list-detail-gt {
  transform: translateX(2px);
}

.good-service-pj__featured-list-part-col {
  flex: 0 0 148px;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.good-service-pj__featured-list-part-link {
  flex: 1;
  min-width: 0;
  display: block;
  text-decoration: none;
  color: inherit;
}

.good-service-pj__featured-list-part {
  font-size: 16px;
  font-weight: 700;
  color: #212529;
  line-height: 1.3;
  word-break: break-word;
}

.good-service-pj__featured-list-part-link:hover .good-service-pj__featured-list-part,
.good-service-pj__featured-list-part-link:focus-visible .good-service-pj__featured-list-part {
  color: #c8102e;
}

.good-service-pj__featured-list-part-link:focus-visible {
  outline: none;
}

.good-service-pj__featured-list-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  visibility: visible !important;
  cursor: pointer;
  flex-shrink: 0;
  opacity: 0.72;
  line-height: 0;
  transition: opacity 0.15s ease;
}

.good-service-pj__featured-list-copy-btn:hover,
.good-service-pj__featured-list-copy-btn:focus-visible {
  opacity: 1;
  outline: none;
}

.good-service-pj__featured-list-copy-btn img {
  display: block;
  width: 15px;
  height: 15px;
}

.good-service-pj__featured-list-info {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns:
    minmax(0, 1.15fr)
    minmax(0, 0.85fr)
    minmax(0, 0.7fr)
    minmax(0, 0.8fr)
    minmax(0, 0.85fr)
    minmax(0, 0.9fr)
    minmax(108px, 1.05fr)
    minmax(72px, 0.75fr);
  gap: 8px 14px;
  align-items: center;
}

.good-service-pj__featured-list-field {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
}

.good-service-pj__featured-list-label {
  font-size: 11px;
  color: #999;
  line-height: 1.2;
  width: 100%;
  text-align: center;
}

.good-service-pj__featured-list-value {
  font-size: 13px;
  color: #212529;
  line-height: 1.35;
  word-break: break-word;
  width: 100%;
  text-align: center;
}

/* 列表模式库存：与有图卡片 .product_pod .availability.available 同色 */
.good-service-pj__featured-list-stock .availability.available,
.good-service-pj__featured-list-stock .availability.available span,
.good-service-pj__featured-list-stock .availability.available i {
  color: #28a745 !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  margin: 0;
}

.good-service-pj__featured-list-stock .availability.available {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
}

.good-service-pj__featured-list-price-col .good-service-pj__featured-list-price.price_color,
.good-service-pj__featured-list-price-col .price_color {
  margin: 0;
  font-size: 14px !important;
  font-weight: 600;
  line-height: 1.35;
  color: var(--primary, #dc242a) !important;
  white-space: nowrap;
}

.good-service-pj__featured-list-price-col {
  padding-inline-end: 10px;
}

.good-service-pj__featured-list-price-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  min-width: 0;
}

.good-service-pj__featured-list-tax-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  color: #868e96;
  white-space: nowrap;
}

.good-service-pj__featured-list-actions {
  padding-inline-start: 10px;
  border-inline-start: 1px solid #f0f0f0;
}

.good-service-pj__featured-list-price-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: static !important;
  visibility: visible !important;
  bottom: auto !important;
  right: auto !important;
}

.good-service-pj__featured-list-price-action .please-inquire {
  all: revert;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px !important;
  line-height: 1.2 !important;
  padding: 2px 6px !important;
  min-height: 24px !important;
  border: 1px solid #eee !important;
  border-radius: 2px;
  color: var(--primary, #007bff) !important;
  cursor: pointer;
  white-space: nowrap;
  max-width: 100%;
}

.good-service-pj__featured-list-price-action .please-inquire.disabled,
.good-service-pj__featured-list-price-action .please-inquire:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.good-service-pj__featured-list-actions .product-btns {
  visibility: visible !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  margin-top: 0 !important;
  min-height: 26px !important;
  gap: 4px;
  width: 100%;
  max-width: 100%;
}

.good-service-pj__featured-list-actions .product-btns .cg-btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

.good-service-pj__featured-list-actions .product-btns .basket-add {
  position: static !important;
  visibility: visible !important;
  bottom: auto !important;
  right: auto !important;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.good-service-pj__featured-list-actions .product-btns .add-to-purchase-list-btn.is-in-purchase-list i.fa-star {
  color: #f5a623;
}

.good-service-pj__featured-list-actions .product-btns .add-to-purchase-list-btn:not(.is-in-purchase-list) i.fa-star {
  color: var(--primary, #007bff);
}

.good-service-pj__featured-list-actions .product-btns .cg-btn,
.good-service-pj__featured-list-actions .product-btns .please-inquire {
  font-size: 12px !important;
  padding: 2px 6px !important;
  min-height: 24px !important;
  line-height: 1.2 !important;
}

.good-service-pj__all-products-stack {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  width: 100%;
}

.good-service-pj__all-products-grid-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  width: 100%;
  align-items: stretch;
}

.good-service-pj__featured-loading {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  color: #666;
  font-size: 14px;
}

/* 综合服务「报价单」「采购订单」Tab：右侧与面板边框留白 */
.good-service-pj__quotations-wrap,
.good-service-pj__aviation-orders-wrap,
.good-service-pj__support-requests-wrap {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding-inline-end: 14px;
}

.good-service-pj__aviation-orders-body,
.good-service-pj__support-requests-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.good-service-pj__quotations-loading {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #666;
}

.good-service-pj__quotations-login-hint {
  margin-top: 8px;
  font-size: 13px;
}

.good-service-pj__quotations-login-hint a {
  color: var(--primary, #c8102e);
}

.good-service-pj__quotations-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.good-service-pj__quotations-table-wrap,
.good-service-pj__aviation-orders-table-wrap,
.good-service-pj__support-requests-table-wrap,
.good-service-pj__presale-news-list-wrap {
  flex: 1;
  min-height: 0;
  overflow: auto;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

/* 采购订单列表：列宽（订单号 / 件号 / 金额 / 状态 / 时间 / 操作） */
.good-service-pj__order-list-table thead th:nth-child(1) {
  width: 15%;
}

.good-service-pj__order-list-table thead th:nth-child(2) {
  width: 15%;
}

.good-service-pj__order-list-table thead th:nth-child(3) {
  width: 15%;
}

.good-service-pj__order-list-table thead th:nth-child(4) {
  width: 18%;
}

.good-service-pj__order-list-table thead th:nth-child(5) {
  width: 13%;
}

.good-service-pj__order-list-table thead th:nth-child(6) {
  width: 12%;
}

/* 支援清单表格：求援单号 / 状态 / 提交 / 更新 / 操作 */
.good-service-pj__support-requests-table thead th:nth-child(1) {
  width: 22%;
}

.good-service-pj__support-requests-table thead th:nth-child(2) {
  width: 18%;
}

.good-service-pj__support-requests-table thead th:nth-child(3) {
  width: 20%;
}

.good-service-pj__support-requests-table thead th:nth-child(4) {
  width: 20%;
}

.good-service-pj__support-requests-table thead th:nth-child(5) {
  width: 12%;
}

.good-service-pj__order-col-action {
  text-align: center;
}

.good-service-pj__order-row {
  cursor: default;
}

.good-service-pj__order-detail-link {
  display: inline-block;
  font-weight: 500;
  font-size: 12px;
  color: var(--primary, #c8102e);
  text-decoration: none;
  white-space: nowrap;
}

.good-service-pj__order-detail-link:hover {
  text-decoration: underline;
}

.good-service-pj__inquiry-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-size: 13px;
  line-height: 1.45;
  color: #333;
}

.good-service-pj__inquiry-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 11px 12px;
  font-weight: 600;
  font-size: 12px;
  color: #555;
  text-align: left;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, #fafafa 0%, #f3f3f3 100%);
  border-bottom: 1px solid #e0e0e0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  white-space: nowrap;
}

.good-service-pj__inquiry-table thead th:first-child {
  padding-inline-start: 14px;
}

.good-service-pj__inquiry-table thead th:last-child {
  padding-inline-end: 14px;
}

.good-service-pj__inquiry-table thead th:nth-child(1) {
  width: 15%;
}

.good-service-pj__inquiry-table thead th:nth-child(2) {
  width: 22%;
}

.good-service-pj__inquiry-table thead th:nth-child(3) {
  width: 18%;
}

.good-service-pj__inquiry-table thead th:nth-child(4) {
  width: 17%;
}

.good-service-pj__inquiry-table thead th:nth-child(5) {
  width: 18%;
}

.good-service-pj__inquiry-cell {
  padding: 10px 12px;
  border-bottom: 1px solid #efefef;
  vertical-align: middle;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background-color: #fff;
}

.good-service-pj__inquiry-cell:first-child {
  padding-inline-start: 14px;
  font-weight: 500;
  color: #1a1a1a;
}

.good-service-pj__inquiry-cell:last-child {
  padding-inline-end: 14px;
  color: #444;
}

.good-service-pj__inquiry-row:nth-child(even) .good-service-pj__inquiry-cell {
  background-color: #fafbfd;
}

.good-service-pj__inquiry-row:last-child .good-service-pj__inquiry-cell {
  border-bottom: none;
}

.good-service-pj__inquiry-row {
  cursor: pointer;
  transition: background-color 0.12s ease;
}

.good-service-pj__inquiry-row:hover .good-service-pj__inquiry-cell {
  background-color: #f0f4f9;
}

.good-service-pj__inquiry-row:focus {
  outline: none;
}

.good-service-pj__inquiry-row:focus-visible .good-service-pj__inquiry-cell {
  background-color: #e8eef6;
  box-shadow: inset 0 0 0 2px rgba(200, 16, 46, 0.25);
}

.good-service-pj__quotations-footer {
  flex-shrink: 0;
  text-align: right;
  padding-top: 2px;
  padding-inline-end: 2px;
}

.good-service-pj__quotations-more {
  font-size: 13px;
  color: var(--primary, #c8102e);
  text-decoration: none;
}

.good-service-pj__quotations-more:hover {
  text-decoration: underline;
}

/* 飞机拆解 ·「预售通知」：与外层区等宽；列表区无左右内边距，卡片边框与面板内容对齐 */
.good-service-pj__quotations-wrap.good-service-pj__presale-news-wrap {
  padding-inline-end: 0;
  padding-inline-start: 0;
}

.good-service-pj__presale-news-wrap .good-service-pj__presale-news-list-wrap {
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 12px 0 14px;
  background: transparent;
}

.good-service-pj__presale-news-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.good-service-pj__presale-news-cards__item {
  margin: 0;
  padding: 0;
}

.good-service-pj__presale-news-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 12px 16px;
  min-height: 132px;
  box-sizing: border-box;
  padding: 18px 16px 20px;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e8eaef;
  border-radius: 10px;
  background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.good-service-pj__presale-news-card:hover {
  border-color: rgba(200, 16, 46, 0.28);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  background: #fff;
}

.good-service-pj__presale-news-card:focus {
  outline: none;
}

.good-service-pj__presale-news-card:focus-visible {
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 4px rgba(200, 16, 46, 0.35);
}

.good-service-pj__presale-news-card__body {
  min-width: 0;
}

.good-service-pj__presale-news-card__title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  color: #0f172a;
  letter-spacing: 0.01em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  word-break: break-word;
}

.good-service-pj__presale-news-card:hover
  .good-service-pj__presale-news-card__title {
  color: var(--primary, #c8102e);
}

.good-service-pj__presale-news-card__summary {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.55;
  color: #64748b;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  word-break: break-word;
}

.good-service-pj__presale-news-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

.good-service-pj__presale-news-card__chip {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 4px 10px;
  font-size: 12px;
  line-height: 1.3;
  color: #475569;
  background: rgba(241, 245, 249, 0.9);
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}

.good-service-pj__presale-news-card__chip-label {
  font-weight: 500;
  color: #94a3b8;
  letter-spacing: 0.02em;
}

.good-service-pj__presale-news-card__chip-value {
  font-weight: 600;
  color: #334155;
}

.good-service-pj__presale-news-card__cta {
  flex-shrink: 0;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--primary, #c8102e);
  white-space: nowrap;
  border: 1px solid rgba(200, 16, 46, 0.35);
  border-radius: 999px;
  background: #fff;
  transition:
    color 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
}

.good-service-pj__presale-news-card:hover
  .good-service-pj__presale-news-card__cta {
  color: #fff;
  background: var(--primary, #c8102e);
  border-color: var(--primary, #c8102e);
}

.good-service-pj__featured-wrap .product-item {
  width: auto;
  min-width: 0;
  margin: 0;
  display: flex;
  min-height: 0;
  height: 100%;
}

.good-service-pj__featured-wrap .product_pod {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: visible;
  width: 100%;
  height: 100%;
}

.good-service-pj__featured-wrap .product-item .image_container {
  flex: 0 0 66%;
  max-height: 66%;
  min-height: 0;
  width: 100% !important;
  height: auto;
  overflow: hidden;
  background: #f7f8fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 可视区域由网格分配；图片等比放大至铺满容器（cover，不拉伸变形，上下或左右可略裁） */
.good-service-pj__featured-wrap .product-item .image_container > a {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.good-service-pj__featured-wrap .product-item .image_container img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* 下半区：件号/名称/库存/按钮；勿 overflow:hidden 裁切「库存充足」等文案 */
.good-service-pj__featured-wrap .product-btm-wrapper {
  flex: 1 1 auto;
  max-height: 34%;
  min-height: 0;
  overflow: visible;
  padding: 2px 6px 4px;
  box-sizing: border-box;
}

.good-service-pj__featured-wrap .product_pod h3.product_title {
  display: flex !important;
  width: 100%;
  align-items: center;
  gap: 6px;
  margin-bottom: 0 !important;
}

.good-service-pj__featured-wrap .product_pod h3.product_title .product-part-number {
  color: #212529;
  font-size: 14px;
  display: flex !important;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
  margin-top: 2px;
}

.good-service-pj__featured-wrap .product_pod h3.product_title .product_name {
  font-size: 12px;
  color: #666;
  line-height: 16px;
  text-align: right;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.good-service-pj__featured-wrap .product_pod .product-price-block {
  margin-bottom: 0;
}

.good-service-pj__featured-wrap .product_pod .product-price-block__row {
  min-height: 0;
  gap: 4px;
}

.good-service-pj__featured-wrap
  .product_pod
  .product-price-block__stock
  .availability {
  font-size: 11px !important;
  line-height: 1.35 !important;
  overflow: visible;
}

.good-service-pj__featured-wrap
  .product_pod
  .product-price-block__price
  .price_color {
  font-size: 14px !important;
  /* line-height: 1.2 !important; */
  display: flex;
  text-align: right;
  justify-content: end;
  align-items: center;
}

.good-service-pj__featured-wrap .product_pod .copy-btn img {
  width: 12px !important;
}

/* PJ 精选卡片与首页列表同源：悬停显示 .product-btns（规则见 stock_record.html extrastyles） */
.good-service-pj__featured-wrap .product_pod .product-btns {
  margin-top: 0px !important;
  min-height: 26px !important;
  gap: 4px;
}

.good-service-pj__featured-wrap .product_pod .product-btns .cg-btn {
  font-size: 12px !important;
  padding: 2px 6px !important;
  min-height: 24px !important;
  line-height: 1.2 !important;
}

.good-service-pj__featured-wrap
  .product_pod
  .product-price-block
  .add-to-basket
  button.please-inquire,
.good-service-pj__featured-wrap
  .product_pod
  .product-price-block
  div.please-inquire {
  font-size: 11px !important;
  padding: 2px 6px !important;
  min-height: 24px !important;
  line-height: 1.2 !important;
}

.good-service-pj__featured-wrap
  .product_pod
  .product-price-block
  .basket-add
  > button.please-inquire {
  font-size: 14px !important;
  padding: 2px 6px !important;
  min-height: 24px !important;
}

.good-service-pj__empty--compact {
  min-height: 220px;
}

.good-service-pj__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 18px;
  align-content: start;
}

.good-service-pj__card {
  border: 1px solid #ececec;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition:
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.good-service-pj__card:hover {
  border-color: #e0c4c7;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
}

.good-service-pj__card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.good-service-pj__card-link--muted {
  cursor: default;
}

.good-service-pj__card-thumb {
  aspect-ratio: 16 / 10;
  background: #f4f4f4;
  overflow: hidden;
}

.good-service-pj__card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.good-service-pj__card-body {
  padding: 12px 14px 14px;
}

.good-service-pj__card-title {
  font-size: 14px;
  font-weight: 500;
  color: #222;
  line-height: 1.45;
  min-height: 2.6em;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.good-service-pj__card-meta {
  font-size: 13px;
}

.good-service-pj__card-meta-label {
  color: #666;
}

.good-service-pj__card-meta-value {
  color: #c8102e;
  font-weight: 600;
}

.good-service-pj__card-link--muted .good-service-pj__card-meta-value {
  color: #999;
  font-weight: 500;
}

.good-service-pj__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  color: #aaa;
  font-size: 15px;
}

.good-service-pj__empty-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 12px;
  border: 2px solid #e5e5e5;
  border-radius: 50%;
  position: relative;
  opacity: 0.85;
}

.good-service-pj__empty-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  border: 2px dashed #ddd;
  border-radius: 4px;
}

.good-category--classic {
  padding-top: 8px;
}

@media screen and (max-width: 1100px) {
  .good-service-pj__content:has(.good-service-pj__featured-wrap),
  .good-service-pj__content:has(.good-service-pj__quotations-wrap),
  .good-service-pj__content:has(.good-service-pj__aviation-orders-wrap),
  .good-service-pj__content:has(.good-service-pj__support-requests-wrap),
  .good-service-pj__content:has(.good-service-pj__tooling-wrap) {
    height: auto;
    max-height: none;
    min-height: 280px;
  }

  .good-service-pj__main {
    flex-direction: column;
    min-height: 0;
    height: auto;
    max-height: none;
  }

  .good-service-pj__banner {
    flex: 0 0 auto;
    width: min(300px, 100%);
    height: auto;
    min-width: 0;
    max-width: min(300px, 100%);
    min-height: 0;
    max-height: none;
    aspect-ratio: 300 / 480;
    margin: 0 auto;
  }

  .good-service-pj__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 640px) {
  .good-service-pj__title {
    font-size: 22px;
  }

  .good-service-pj__title-en {
    font-size: 36px;
    top: -2px;
  }

  .good-service-pj__grid {
    grid-template-columns: 1fr;
  }
}

.category-item-desc {
  font-size: 18px;
  font-weight: bold;
  position: absolute;
  left: 30px;
  top: 10px;
  color: #333;
}

.category-item-desc > span:nth-child(2) {
  font-weight: normal;
  font-size: 16px;
}

.category-item .img {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 55%;
}

.category-item .img img {
  width: 100%;
}

/* ---------------精品分类end--------------- */

/* 工作台快捷入口样式见 oscar/css/workbench_drawer.css（全局 base 引入） */

/* ---------------商品分类(由于前期服务端接口无法提供，导致无法重写，通过强写CSS生成现有的效果)--------------- */
.category-container {
  position: relative;
  /* 铺满主内容列；中间轮播列 1fr 随外层变宽 */
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  /* 原先整卡固定 500px（快捷入口还在中间列时）；入口独占首行后须额外留出该行高度 + 行间距 */
  --category-row-gap: 16px;
  /* 与线上海 catalogue 左侧分类区一致：250×460（第二行左/中/右同高） */
  --category-side-width: 250px;
  --category-right-width: 240px;
  --category-main-min: 460px;
  /* 上下 padding 40px + 主行 460 + 快捷入口区约 6.5rem + 行间 gap */
  min-height: calc(500px + 6.5rem + var(--category-row-gap));
  height: auto;
  margin: 0 0 15px;
  background: #fff;
  padding: 20px;
  display: grid;
  grid-template-columns: var(--category-side-width) 1fr var(
      --category-right-width
    );
  grid-template-rows: auto var(--category-main-min);
  grid-template-areas:
    "htcg htcg htcg"
    "side center right";
  align-items: stretch;
  border-radius: 15px;
  gap: var(--category-row-gap);
  /* 裁切子元素横向溢出，避免整页出现底部横向滚动条 */
  overflow-x: hidden;
}

.category-container > .list-group.list-group-flush {
  grid-area: side;
  box-sizing: border-box;
  width: var(--category-side-width);
  min-width: var(--category-side-width);
  max-width: var(--category-side-width);
  height: var(--category-main-min);
  min-height: var(--category-main-min);
  max-height: var(--category-main-min);
  overflow-x: hidden;
  overflow-y: auto;
}

.category-container > .category-center {
  grid-area: center;
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: none;
  box-sizing: border-box;
  overflow: hidden;
}

.category-container > .category-right {
  grid-area: right;
}

/* 左侧分类 / 中间轮播列 / 右侧栏：第二行固定 460px 高（与线上一致，避免 1fr 随容器 min-height 拉高轮播图） */
.category-container > .list-group.list-group-flush,
.category-container > .category-center,
.category-container > .category-right {
  min-height: var(--category-main-min);
  max-height: var(--category-main-min);
}

.category-container > .category-right {
  overflow-x: hidden;
  overflow-y: auto;
}

.list-group-item {
  background-color: transparent;
  color: #1a1a1a;
  border: none;
  position: static;
}

.list-group-item[data-level="0"] {
  font-size: 14px;
}

.list-group-item[data-level="0"] > a > .category-name {
  display: inline-block;
  max-width: 80%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 一级侧栏：主标题 + 二级名称预览（参照震坤行左侧样式） */
.category-sidebar-l1 {
  position: relative;
  flex-direction: column;
  align-items: stretch !important;
}

/* 向右延伸透明命中区，盖住与浮层之间的列间距（勿放在 flyout 上：overflow 会裁掉伪元素） */
.category-sidebar-l1::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 0;
  width: calc(var(--category-row-gap, 16px) + 24px);
  height: 100%;
  /* 低于浮层，避免盖住已移到 .category-container 下的面板左侧可点区域 */
  z-index: 999;
  background: transparent;
}

.category-sidebar-l1__trigger {
  width: 100%;
}

.category-sidebar-l1__title {
  font-weight: 600;
}

.category-sidebar-l1__preview {
  position: relative;
  z-index: 1;
  margin-top: 4px;
  margin-left: 2px;
  font-size: 12px;
  line-height: 1.35;
  color: #8c8c8c;
  max-height: 2.7em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.category-sidebar-l1__preview-sep {
  color: #bfbfbf;
}

.category-sidebar-l1__preview-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.category-sidebar-l1__preview-link:hover,
.category-sidebar-l1__preview-link:focus {
  color: var(--primary, #c8102e);
  text-decoration: underline;
}

.list-group-item[data-level="0"]:hover {
  background-color: #eee;
}

.list-group-item[data-level="0"].active .category-sidebar-l1__preview,
.list-group-item[data-level="0"].active .category-sidebar-l1__preview-name,
.list-group-item[data-level="0"].active .category-sidebar-l1__preview-link,
.list-group-item[data-level="0"].active .category-sidebar-l1__preview-sep {
  color: rgba(255, 255, 255, 0.85);
}

.list-group-item[data-level="0"].active
  .category-sidebar-l1__preview-link:hover,
.list-group-item[data-level="0"].active
  .category-sidebar-l1__preview-link:focus {
  color: #fff;
  text-decoration: underline;
}

.list-group-item:not([data-level="0"]) span:hover {
  color: var(--primary) !important;
}

/* 右侧展开面板：与改版前同尺寸（62% 宽、460 高）。含挂到 .category-container 上的情况（JS 为避开 ul overflow），须与 li 子级共用同一套定位样式 */
.list-group-item[data-level="0"] > .show-children-level.category-flyout,
.category-container > .show-children-level.category-flyout {
  position: absolute;
  left: calc(var(--category-side-width, 250px) + var(--category-row-gap, 16px));
  top: calc(20px + 6.5rem + var(--category-row-gap, 16px));
  width: 62%;
  min-height: var(--category-main-min, 460px);
  max-height: var(--category-main-min, 460px);
  display: none;
  padding: 15px;
  background-color: #fff;
  border: 1px solid var(--primary);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  overflow-x: hidden;
  overflow-y: auto;
  box-sizing: border-box;
}

.category-flyout__row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 12px 16px;
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
  align-items: start;
}

.category-flyout__row:last-child {
  border-bottom: none;
}

.category-flyout__row:hover {
  background-color: #f7f8fc;
}

.category-flyout__l2 {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.category-flyout__l2-link {
  font-weight: 600;
  font-size: 14px;
  color: #1a1a1a;
  text-decoration: none;
}

.category-flyout__l2-link:hover {
  color: var(--primary, #c8102e);
}

.category-flyout__l2-arrow {
  font-size: 13px;
  color: #bfbfbf;
  font-weight: 400;
}

.category-flyout__l3 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.category-flyout__l3-link {
  font-size: 13px;
  color: #666;
  text-decoration: none;
  white-space: nowrap;
}

.category-flyout__l3-link:hover {
  color: var(--primary, #c8102e);
}

/* 无三级子类时的「查看全部」：靠 L3 区域右侧，避免紧贴二级标题后 */
.category-flyout__l3-link--solo {
  margin-left: auto;
  margin-right: 4px;
}

.list-group-item.active:not([data-level="0"]) a {
  color: var(--primary) !important;
  text-decoration: underline;
  font-weight: 600 !important;
}

.list-group-item.all {
  font-size: 16px;
}

.list-group-item[data-level="0"].active {
  background: var(--primary);
  color: #fff;
}

.list-group-item[data-level="0"].active > a,
.list-group-item[data-level="0"].active i {
  color: #fff !important;
}

.list-group-item.all a {
  color: #333;
}

.list-group-item:nth-of-type(10) ~ * {
  display: none;
}

.list-group.list-group-flush {
  width: 300px;
  background: #f7f8fc;
  border-radius: 8px;
  font-size: 14px;
  list-style: none;
}

@media (min-resolution: 110dpi), screen and (max-width: 1680px) {
  .list-group-item[data-level="0"] > .show-children-level.category-flyout,
  .category-container > .show-children-level.category-flyout {
    width: min(790px, 62vw);
  }
}

@media screen and (max-width: 1200px) {
  .category-flyout__row {
    grid-template-columns: 112px minmax(0, 1fr);
  }
}

/* ---------------商品分类end--------------- */

/* ---------------轮播图--------------- */
.swiper {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
  position: relative;
}

.swiper-wrapper {
  position: relative;
  height: 100%;
  display: flex;
  transition: transform 0.5s ease;
}

.swiper-item {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  overflow: hidden;
}

.swiper-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.swiper-pagination {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 6;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.swiper-pagination-bullet.active {
  background: #fff;
}

/* 轮播外壳：标题与图片共用同一 460px 区域 */
.category-container > .category-center > .home-carousel-shell {
  position: relative;
  width: 100%;
  height: var(--category-main-min);
  min-height: var(--category-main-min);
  max-height: var(--category-main-min);
  flex: 1 1 auto;
  overflow: hidden;
}

.home-carousel-shell > .swiper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
}

/* 轮播标题：底部居中，叠在图片上（在 shell 内、transform 层外） */
.home-carousel-shell > .swiper-viewport-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 72px;
  padding: 8px 24px 36px;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.55) 45%,
    rgba(0, 0, 0, 0.8) 100%
  );
  pointer-events: none;
}

.swiper-viewport-caption.is-hidden {
  display: none;
}

.swiper-viewport-caption__text {
  display: block;
  flex: 0 1 auto;
  max-width: calc(100% - 48px);
  margin: 0 auto;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.swiper-button-prev,
.swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease;
  z-index: 3;
}

.swiper-button-prev {
  left: 12px;
}

.swiper-button-next {
  right: 12px;
}

.swiper-button-prev span,
.swiper-button-next span {
  font-size: 18px;
  line-height: 1;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: rgba(0, 0, 0, 0.2);
}

/* ---------------轮播图end--------------- */

/* ---------------轮播图上侧、右侧--------------- */
.category-center {
  flex: 1;
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* 快捷入口与轮播紧贴一些（间距主要由入口块 margin-bottom 控制） */
.category-center > .swiper {
  margin-top: 0;
}

/* 分类页轮播高度由 .home-carousel-shell 控制 */
.category-container .category-center > .home-carousel-shell > .swiper {
  flex: none;
}

.category-container .home-carousel-shell .swiper-wrapper {
  height: var(--category-main-min);
}

.category-container .home-carousel-shell .swiper-item {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.category-container .home-carousel-shell .swiper-item__link {
  display: block;
  line-height: 0;
}

.category-container .home-carousel-shell .swiper-item__image {
  display: block;
  width: 100%;
  height: var(--category-main-min);
  object-fit: cover;
  object-position: center;
  vertical-align: top;
}

.home-carousel-shell > .swiper .swiper-pagination {
  bottom: 12px;
  z-index: 15;
}

.commonly-handle {
  padding: 9px 16px;
  background: #f7f8fc;
  border-radius: 8px 8px 8px 8px;
  margin-bottom: 16px;
  display: flex;
}

.action {
  color: #333;
  font-size: 16px;
  font-weight: bold;
  margin-right: 17px;
  display: flex;
  align-items: center;
}

.action.disabled {
  cursor: no-drop !important;
}

/* 统一禁用态：防止子元素（如 <a>）的默认 cursor:pointer 覆盖父级 no-drop */
.action.disabled,
.action.disabled * {
  cursor: no-drop !important;
}

.action i {
  margin-right: 3px;
}

.action i.action-emoji {
  font-style: normal;
  font-size: 1.1em;
  line-height: 1;
  display: inline-block;
}

.action:hover {
  cursor: pointer;
  color: var(--primary);
}

/* ---------------快捷入口 htcg_entrance（条带透明底 + 蓝色主题图标）--------------- */
.category-container > .commonly-handle.htcg_entrance {
  grid-area: htcg;
  --htcg-icon-blue: #2563eb;
  --htcg-icon-blue-deep: #1d4ed8;
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0px;
  margin-bottom: 0px;
  border: none;
  border-radius: 0;
  /* visible：允许「小程序」悬停二维码浮层超出导航条高度 */
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.category-container > .commonly-handle.htcg_entrance .htcg_layout {
  width: 100%;
}

.category-container > .commonly-handle.htcg_entrance .htcg_layout ul.clearfix {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: stretch;
  gap: 8px;
  width: 100%;
}

.category-container
  > .commonly-handle.htcg_entrance
  .htcg_layout
  ul.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* 每项均分一行宽度（与快捷入口项数相同，当前为十等分） */
.category-container
  > .commonly-handle.htcg_entrance
  .htcg_layout
  ul.clearfix
  > li {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  min-height: 98px;
  margin: 0;
  padding: 0;
  list-style: none;
  box-sizing: border-box;
  display: flex;
}

.category-container
  > .commonly-handle.htcg_entrance
  .htcg_layout
  ul.clearfix
  > li
  .htcg_entrance__btn {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  font-family: inherit;
  box-sizing: border-box;
  transition:
    transform 0.15s ease,
    filter 0.15s ease;
}

.category-container
  > .commonly-handle.htcg_entrance
  .htcg_layout
  ul.clearfix
  > li
  .htcg_entrance__btn:hover:not(.disabled) {
  transform: translateY(-1px);
}

.category-container
  > .commonly-handle.htcg_entrance
  .htcg_layout
  ul.clearfix
  > li
  .htcg_entrance__btn:hover:not(.disabled)
  .htcg_entrance__icon-wrap {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.18);
}

.category-container
  > .commonly-handle.htcg_entrance
  .htcg_layout
  ul.clearfix
  > li
  .htcg_entrance__btn:focus {
  outline: none;
}

.category-container
  > .commonly-handle.htcg_entrance
  .htcg_layout
  ul.clearfix
  > li
  .htcg_entrance__btn:focus-visible {
  outline: 2px solid var(--htcg-icon-blue);
  outline-offset: 3px;
  border-radius: 6px;
}

/* 圆形图标底：白底 + 浅蓝描边，呼应蓝色图标 */
.category-container > .commonly-handle.htcg_entrance .htcg_entrance__icon-wrap {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e8eef9;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.category-container > .commonly-handle.htcg_entrance .htcg_entrance__icon {
  display: block;
  max-width: 34px;
  max-height: 34px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* 线条 SVG 图标 sprite 与展示（快捷入口统一风格） */
.category-container > .commonly-handle.htcg_entrance .htcg_entrance__sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.category-container
  > .commonly-handle.htcg_entrance
  .htcg_entrance__icon--line {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: var(--htcg-icon-blue);
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: color 0.15s ease;
}

.category-container
  > .commonly-handle.htcg_entrance
  .htcg_layout
  ul.clearfix
  > li
  .htcg_entrance__btn:hover:not(.disabled)
  .htcg_entrance__icon--line {
  color: var(--htcg-icon-blue-deep);
}

.category-container > .commonly-handle.htcg_entrance .htcg_entrance__icon--fa {
  margin: 0;
  font-size: 26px;
  line-height: 1;
  color: var(--htcg-icon-blue);
}

.category-container
  > .commonly-handle.htcg_entrance
  .htcg_layout
  ul.clearfix
  > li
  .htcg_entrance__btn:hover:not(.disabled)
  .htcg_entrance__icon--fa {
  color: var(--htcg-icon-blue-deep);
}

.category-container > .commonly-handle.htcg_entrance .htcg_entrance__label {
  display: block;
  width: 100%;
  max-width: 100%;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
  color: #1a1a1a;
  /* 中文按词（整词）保留；英文走下方 lang=en 规则，避免 break-all 把单词拆开 */
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* 英文快捷入口：字号略小、按单词换行，避免「Priced items」挤成一行乱码或中文原文 */
html[lang^="en"]
  .category-container
  > .commonly-handle.htcg_entrance
  .htcg_layout
  ul.clearfix
  > li {
  min-height: 110px;
}

html[lang^="en"] .category-container > .commonly-handle.htcg_entrance .htcg_entrance__label {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  word-break: normal;
  overflow-wrap: break-word;
  padding: 0 2px;
}

html[lang^="en"] .good-service-pj__tab {
  margin-right: 8px;
  font-size: 14px;
  white-space: nowrap;
}

/* 未登录仍保持蓝色图标区与文案对比度；点击跳转登录（browse.html go*Page） */
.category-container
  > .commonly-handle.htcg_entrance
  .htcg_layout
  ul.clearfix
  > li
  .htcg_entrance__btn.disabled {
  cursor: pointer;
}

.category-container
  > .commonly-handle.htcg_entrance
  .htcg_layout
  ul.clearfix
  > li
  .htcg_entrance__btn.disabled:hover {
  transform: translateY(-1px);
}

.category-container
  > .commonly-handle.htcg_entrance
  .htcg_layout
  ul.clearfix
  > li
  .htcg_entrance__btn.disabled:hover
  .htcg_entrance__icon-wrap {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.18);
}

.category-container
  > .commonly-handle.htcg_entrance
  .htcg_layout
  ul.clearfix
  > li
  .htcg_entrance__btn.disabled:hover
  .htcg_entrance__icon--fa {
  color: var(--htcg-icon-blue-deep);
}

.category-container
  > .commonly-handle.htcg_entrance
  .htcg_layout
  ul.clearfix
  > li
  .htcg_entrance__btn.disabled
  .htcg_entrance__icon-wrap {
  opacity: 1;
}

.category-container
  > .commonly-handle.htcg_entrance
  .htcg_layout
  ul.clearfix
  > li
  .htcg_entrance__btn.disabled
  .htcg_entrance__icon--line {
  color: var(--htcg-icon-blue);
}

.category-container
  > .commonly-handle.htcg_entrance
  .htcg_layout
  ul.clearfix
  > li
  .htcg_entrance__btn.disabled
  .htcg_entrance__icon--fa {
  color: var(--htcg-icon-blue);
}

.category-container
  > .commonly-handle.htcg_entrance
  .htcg_layout
  ul.clearfix
  > li
  .htcg_entrance__btn.disabled
  .htcg_entrance__label {
  color: #1a1a1a;
}

@media (max-width: 576px) {
  .category-container > .commonly-handle.htcg_entrance {
    padding: 10px 8px 6px;
  }

  .category-container
    > .commonly-handle.htcg_entrance
    .htcg_layout
    ul.clearfix {
    gap: 4px;
  }

  .category-container
    > .commonly-handle.htcg_entrance
    .htcg_entrance__icon-wrap {
    width: 52px;
    height: 52px;
  }

  .category-container > .commonly-handle.htcg_entrance .htcg_entrance__icon {
    max-width: 30px;
    max-height: 30px;
  }

  .category-container
    > .commonly-handle.htcg_entrance
    .htcg_entrance__icon--line {
    width: 24px;
    height: 24px;
  }

  .category-container
    > .commonly-handle.htcg_entrance
    .htcg_entrance__icon--fa {
    font-size: 23px;
  }

  .category-container > .commonly-handle.htcg_entrance .htcg_entrance__label {
    font-size: 13px;
    font-weight: 600;
  }
}

.category-right {
  width: var(--category-right-width, 240px);
  max-width: 100%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /* 与左侧轮播列同高（见 .category-container 子项 min-height） */
  height: 100%;
  gap: 0;
}

.category-right > .user-profile.user-profile--rich {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
}

.user-profile {
  padding: 13px 16px;
  background: linear-gradient(
    180deg,
    rgba(220, 36, 42, 0.06) 0%,
    rgba(220, 36, 42, 0.02) 100%
  );
  border-radius: 8px 8px 8px 8px;
}

/* 首页分类区右侧：个人信息卡（订单概览 + 快捷入口 + 客服） */
.user-profile.user-profile--rich {
  padding: 0;
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.user-profile--rich .user-profile__cta {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 0 14px;
  height: 40px;
  min-height: 40px;
  max-height: 40px;
  box-sizing: border-box;
}

.user-profile__cta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 0;
  padding: 6px 14px;
  box-sizing: border-box;
}

.user-profile--rich .user-profile__cta .user-profile__btn {
  flex: 1 1 0;
  align-self: center;
  height: 32px;
  min-height: 32px;
  max-height: 32px;
  margin: 0;
  padding: 0 10px;
  line-height: 1;
}

.user-profile__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 5px;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

.user-profile__btn--primary {
  background: var(--primary, #c8102e);
  color: #fff;
  border: 1px solid var(--primary, #c8102e);
}

.user-profile__btn--primary:hover {
  background: #a00d24;
  border-color: #a00d24;
  color: #fff;
}

.user-profile__btn--ghost {
  background: #fff;
  color: var(--primary, #c8102e);
  border: 1px solid rgba(200, 16, 46, 0.45);
}

.user-profile__btn--ghost:hover {
  background: rgba(200, 16, 46, 0.06);
}

.user-profile--rich .user-profile__top {
  flex-shrink: 0;
  padding: 12px 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 8px;
}

.user-profile--rich .user-profile__top-main {
  display: flex;
  align-items: center;
  min-width: 0;
}

.user-profile--rich .user-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.user-profile--rich .user-photo {
  flex-shrink: 0;
}

/* 头像 / 用户名 / 公司名 → 个人中心 */
.user-profile--rich a.user-profile__profile-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.user-profile--rich a.user-photo.user-profile__profile-link {
  display: block;
  flex-shrink: 0;
  line-height: 0;
}

.user-profile--rich a.user-photo.user-profile__profile-link:hover {
  opacity: 0.88;
}

.user-profile--rich a.user-info__name.user-profile__profile-link {
  color: #333333;
}

.user-profile--rich a.user-info__name.user-profile__profile-link:hover {
  color: var(--primary, #c8102e);
}

.user-profile--rich a.user-info__company-line.user-profile__profile-link {
  display: block;
  max-width: 100%;
  color: #555;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-profile--rich a.user-info__company-line.user-profile__profile-link:hover {
  color: var(--primary, #c8102e);
}

.user-profile--rich .user-info__company-line {
  margin-top: 4px;
  font-size: 12px;
  color: #555;
  line-height: 1.35;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-profile--rich .user-profile__middle {
  flex-shrink: 0;
  margin: 10px 10px 8px;
  border: 1px solid #f0f2f5;
  border-radius: 8px;
  background: #fafbfc;
  overflow: hidden;
}

.user-profile__middle-title {
  padding: 8px 10px 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #888;
  text-transform: uppercase;
}

.user-profile--rich .user-profile__middle .order-status {
  padding: 12px 6px 14px;
}

.order-view--link {
  flex: 1;
  text-decoration: none;
  color: inherit;
  border-radius: 6px;
  padding: 6px 2px;
  transition: background 0.15s ease;
}

.order-view--link:hover {
  background: rgba(200, 16, 46, 0.06);
}

.user-profile__quick {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  padding: 0 12px 12px;
  align-content: stretch;
  box-sizing: border-box;
}

.user-profile__quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 0;
  height: 100%;
  padding: 8px 6px;
  font-size: 12px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  border: 1px solid #eef0f3;
  border-radius: 8px;
  background: #fff;
  box-sizing: border-box;
  transition:
    border-color 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease;
}

.user-profile__quick-item:hover {
  border-color: rgba(200, 16, 46, 0.35);
  color: var(--primary, #c8102e);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}

.user-profile__quick-icon {
  font-size: 18px;
  color: #02428c;
}

.user-profile__quick-item:hover .user-profile__quick-icon {
  color: var(--primary, #c8102e);
}

.user-profile__quick-label {
  text-align: center;
  line-height: 1.25;
}

.user-profile__support {
  flex-shrink: 0;
  margin-top: auto;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 10px 12px;
  border-top: 1px dashed #e8e8e8;
  font-size: 12px;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  box-sizing: border-box;
}

.user-profile__support-icon {
  flex-shrink: 0;
  font-size: 14px;
  color: #02428c;
  line-height: 1;
}

.user-profile__support-text {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 500;
  color: #555;
  line-height: 1.2;
}

.user-profile__support-tel {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--primary, #c8102e);
  letter-spacing: 0.01em;
  line-height: 1.2;
  cursor: default;
  user-select: text;
}

/* 旧版 user-profile 顶栏（非 --rich 卡片） */
.user-profile:not(.user-profile--rich) .user-profile__top {
  display: flex;
  align-items: center;
}

.user-profile .user-photo {
  width: 48px;
  height: 48px;
  background: #ffffff;
  border-radius: 50%;
  margin-right: 10px;
}

.user-info > .user-info__name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 3px;
}

.user-info > .user-info__name-row .user-info__name {
  font-weight: 600;
  font-size: 14px;
  color: #333333;
  min-width: 0;
}

.user-profile--rich .user-info__name {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}

.user-info .user-info__account-tag {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid transparent;
}

.user-info .user-info__account-tag--company {
  color: #c8102e;
  background: rgba(200, 16, 46, 0.08);
  border-color: rgba(200, 16, 46, 0.25);
}

.user-info .user-info__account-tag--individual {
  color: #666666;
  background: #f0f1f3;
  border-color: #e0e0e0;
}

.user-info > div:nth-child(2),
.user-info > .user-info__sub-row {
  font-weight: 400;
  font-size: 12px;
  color: #666666;
}

.user-info .user-info__upgrade-enterprise {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--primary, #c8102e);
  color: var(--primary, #c8102e);
  background: #fff;
  text-decoration: none;
  transition:
    background-color 0.12s ease,
    color 0.12s ease;
}

.user-info .user-info__upgrade-enterprise:hover {
  background: rgba(200, 16, 46, 0.08);
  color: #a00d24;
}

.user-profile__middle .order-status {
  display: flex;
  justify-content: space-between;
  padding: 18px 13px;
}

.user-profile__middle .butler {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* .butler-qrcode 样式已迁至 workbench_drawer.css */

.butler-header {
  padding: 8px 13px;
  background: #fff;
  border-radius: 6px;
  font-size: 12px;
  color: #666;
}

.order-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 12px;
  color: #666666;
}

.order-view .nums {
  font-weight: 500;
  font-size: 18px;
  color: var(--primary);
}

.user-profile .user-photo img {
  width: 100%;
  height: 100%;
}

/* ---------------商品分类end--------------- */

/* ---------------产品与服务（解决方案式网格）--------------- */
.product-service--solutions {
  width: 100%;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 28%);
  padding: 28px 24px 36px;
  border-radius: 12px;
  margin-top: 24px;
  box-sizing: border-box;
  border: 1px solid #e8eef5;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.product-service__head {
  text-align: center;
  margin-bottom: 22px;
}

.product-service__title {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 0.02em;
}

.product-service__subtitle {
  margin: 0;
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
}

.product-service__grid {
  display: grid;
  gap: 12px 14px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* 7 块两行：第 1 行 发动机(1) + 航材销售(2 列宽) + 在翼支援(1)；第 2 行其余 4 块各 1 列 */
.product-service__grid--bento7 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-service__grid--bento7 .product-service-card:nth-child(2) {
  grid-column: span 2;
}

.product-service__grid--bento7 .product-service-card {
  min-height: 168px;
}

.product-service__grid--bento7 .product-service-card__inner {
  min-height: 142px;
  padding: 16px 14px 14px;
}

.product-service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 0;
  background: #0f2744;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  overflow: hidden;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    background 0.38s ease,
    border-color 0.38s ease;
  text-decoration: none;
}

/* 默认态：卡片 background-image（由 JS 写入）+ 半透明遮罩 */
.product-service-card--has-bg {
  background-color: #0f2744;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.product-service-card__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    165deg,
    rgba(15, 39, 68, 0.5) 0%,
    rgba(8, 18, 32, 0.62) 55%,
    rgba(6, 14, 26, 0.7) 100%
  );
  transition: opacity 0.38s ease;
  pointer-events: none;
}

.product-service-card:not(.product-service-card--has-bg) {
  background: linear-gradient(165deg, #1a3a5c 0%, #0f2744 92%);
}

.product-service-card--has-bg:hover,
.product-service-card--has-bg:focus-within {
  background-image: none;
  background-color: #2b70d4;
}

.product-service-card:visited {
  color: inherit;
}

.product-service-card:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 2px;
}

.product-service-card:hover,
.product-service-card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 14px 32px rgba(43, 112, 212, 0.4);
}

.product-service-card:not(.product-service-card--has-bg):hover,
.product-service-card:not(.product-service-card--has-bg):focus-within {
  background: #2b70d4;
}

.product-service-card:hover .product-service-card__shade,
.product-service-card:focus-within .product-service-card__shade {
  opacity: 0;
}

.product-service-card__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-height: 196px;
  padding: 22px 20px 20px;
  box-sizing: border-box;
  transition: justify-content 0.35s ease;
}

.product-service-card:hover .product-service-card__inner,
.product-service-card:focus-within .product-service-card__inner {
  justify-content: flex-start;
  align-items: center;
  padding: 28px 24px 26px;
  text-align: center;
}

.product-service-card__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 0;
  gap: 14px;
  transition:
    flex-direction 0.35s ease,
    align-items 0.35s ease,
    flex 0.35s ease,
    justify-content 0.35s ease;
}

.product-service-card:hover .product-service-card__head,
.product-service-card:focus-within .product-service-card__head {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  align-self: stretch;
  gap: 12px;
}

.product-service-card:hover .product-service-card__icon-wrap,
.product-service-card:focus-within .product-service-card__icon-wrap {
  background: transparent;
}

.product-service-card:hover .product-service-card__icon,
.product-service-card:focus-within .product-service-card__icon {
  max-width: 38px;
  max-height: 38px;
}

.product-service-card__icon-wrap {
  width: 48px;
  height: 48px;
  min-height: 48px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-service-card__icon {
  max-width: 30px;
  max-height: 30px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.product-service-card__titles {
  text-align: center;
  transition: text-align 0.3s ease;
  min-width: 0;
}

.product-service-card:hover .product-service-card__titles,
.product-service-card:focus-within .product-service-card__titles {
  text-align: center;
}

.product-service-card__title {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  transition:
    font-size 0.28s ease,
    margin 0.28s ease;
}

.product-service-card:hover .product-service-card__title,
.product-service-card:focus-within .product-service-card__title {
  margin-bottom: 0;
  font-size: 21px;
  line-height: 1.3;
}

.product-service-card__en {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.4;
  text-transform: uppercase;
}

/* 展开态与参考一致：仅中文标题 + 图标，不展示英文副标题 */
.product-service-card:hover .product-service-card__en,
.product-service-card:focus-within .product-service-card__en {
  display: none;
}

.product-service-card__desc {
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  transition:
    max-height 0.42s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.32s ease,
    margin-top 0.35s ease;
}

.product-service-card:hover .product-service-card__desc,
.product-service-card:focus-within .product-service-card__desc {
  max-height: 150px;
  opacity: 1;
  margin-top: 20px;
  align-self: stretch;
  width: 100%;
  text-align: center;
  font-size: 14px;
  line-height: 1.75;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
}

.product-service-card__cta {
  display: inline-block;
  align-self: flex-start;
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.06em;
  line-height: 1.35;
  box-sizing: border-box;
  background: transparent;
  transition:
    max-height 0.38s ease,
    opacity 0.3s ease,
    margin-top 0.35s ease,
    padding 0.35s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.product-service-card:hover .product-service-card__cta,
.product-service-card:focus-within .product-service-card__cta {
  max-height: 52px;
  opacity: 1;
  margin-top: 22px;
  padding: 9px 28px;
  border-color: #fff;
  align-self: center;
  background: transparent;
}

.product-service-card:hover .product-service-card__cta:hover,
.product-service-card:focus-within .product-service-card__cta:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .product-service-card,
  .product-service-card__shade,
  .product-service-card__inner,
  .product-service-card__head,
  .product-service-card__icon-wrap,
  .product-service-card__titles,
  .product-service-card__desc,
  .product-service-card__cta {
    transition: none !important;
  }
}

@media screen and (max-width: 1100px) {
  .product-service__grid--bento7 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-service__grid--bento7 .product-service-card:nth-child(2) {
    grid-column: auto;
  }

  .product-service__grid--bento7 .product-service-card:nth-child(7) {
    grid-column: 1 / -1;
  }
}

@media screen and (max-width: 640px) {
  .product-service--solutions {
    padding: 22px 14px 28px;
  }

  .product-service__title {
    font-size: 22px;
  }

  .product-service__grid--bento7 {
    grid-template-columns: 1fr;
  }

  .product-service__grid--bento7 .product-service-card:nth-child(7) {
    grid-column: auto;
  }

  .product-service__grid {
    gap: 12px;
  }

  .product-service-card {
    min-height: auto;
  }

  .product-service__grid--bento7 .product-service-card {
    min-height: auto;
  }
}

/* ---------------产品与服务end--------------- */

/* ----- 直采明价入口「NEW」角标（常显，由 JS 开关控制） ----- */
.htcg-feature-new-badge {
  position: relative;
  display: inline-block;
  overflow: hidden;
  padding: 0 6px;
  height: 16px;
  line-height: 16px;
  font-size: 10px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.5px;
  color: #fff;
  background: #ff2d2d;
  border-radius: 3px;
  vertical-align: middle;
  white-space: nowrap;
  transform-origin: center center;
  animation: htcg-new-badge-flash 0.7s steps(2, end) infinite;
}

.htcg-feature-new-badge::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.95) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: htcg-new-badge-shine 1.2s linear infinite;
  pointer-events: none;
}

.htcg-feature-new-badge[hidden] {
  display: none !important;
  animation: none;
}

.htcg-feature-new-badge[hidden]::after {
  animation: none;
}

/* 快捷入口：NEW 贴在圆形图标右上角 */
.category-container > .commonly-handle.htcg_entrance .htcg-feature-new-badge {
  position: absolute;
  top: -6px;
  right: -12px;
  z-index: 2;
}

/* 航材贸易 Tab：文案右侧略抬高 */
.good-service-pj__tab .htcg-feature-new-badge--tab {
  margin-left: 4px;
  position: relative;
  top: -7px;
  vertical-align: super;
}

@keyframes htcg-new-badge-flash {
  0%,
  49.9% {
    background: #ff2d2d;
    color: #fff;
    box-shadow: 0 0 6px 1px rgba(255, 45, 45, 0.95);
  }
  50%,
  100% {
    background: #ffd400;
    color: #d40000;
    box-shadow: 0 0 8px 2px rgba(255, 212, 0, 0.95);
  }
}

@keyframes htcg-new-badge-shine {
  0% {
    left: -80%;
  }
  100% {
    left: 140%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .htcg-feature-new-badge,
  .htcg-feature-new-badge::after {
    animation: none;
  }
}
