:root {
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --color-primary: #1C46DB;
  --color-primary-light: #3b82f6;
  --color-primary-dark: #1d4ed8;
  --color-secondary: #10b981;
  --color-nav-bg: #000000;
  --color-nav-text: #ffffff;
  --design-header-search-max: 560px;
  --m3-body-large: 16px;
  --m3-label-large: 14px;
  --hub-brand-blue: #4285f4;
  --hub-brand-red: #ea4335;
  --hub-brand-yellow: #fbbc04;
  --hub-brand-green: #34a853;
}

/**
 * 设计稿主色与顶栏对齐（main.css 之后加载）；不修改导航 DOM。
 */
 .header-top > .header-actions img {
  margin-right: 8px;
  gap: 8px;
 }
@media (min-width: 991px) {
  .header-top {
    --header-row-h: 48px;
  }

  .header-top {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
    gap: 20px 28px;
    min-height: 92px;
    padding-top: 32px;
    padding-bottom: 14px;
  }

  .header-top > .brand,
  .header-top > .header-search-wrap,
  .header-top > .header-actions {
    align-self: start;
  }

  .header-top .brand {
    min-height: var(--header-row-h);
    display: inline-flex;
    align-items: center;
  }

  .header-top .brand img {
    transform: none;
  }

  .header-search-wrap {
    max-width: var(--design-header-search-max);
    width: 100%;
    margin-inline: auto;
    justify-self: center;
    display: grid;
    grid-template-rows: var(--header-row-h) auto;
    align-content: start;
  }

  .header-actions {
    justify-content: flex-end;
    flex-wrap: nowrap;
    align-items: center;
    min-height: var(--header-row-h);
  }

  .header-top .search-box {
    min-height: var(--header-row-h);
    height: var(--header-row-h);
    border-radius: var(--ui-radius-lg, 8px);
    padding: 3px 3px 3px 0;
  }

  .header-top .search-input {
    font-size: var(--m3-body-large, 16px);
    line-height: 1;
  }

  .header-top .btn-primary,
  .header-top .btn-ghost {
    height: var(--header-row-h);
    min-height: var(--header-row-h);
    padding: 0 22px;
    font-size: var(--m3-label-large, 14px);
    font-weight: 500;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .header-top .search-btn {
    min-height: 100%;
    align-self: stretch;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .header-top .search-hot {
    margin-top: 7px;
    min-height: 18px;
    align-items: center;
    line-height: 1.2;
    display: flex;
  }

  .header-top .search-hot a {
    position: relative;
  }
  .header-top .search-hot a:not(:last-child) {
    padding-right: 14px;
  }
  .header-top .search-hot a:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background-color: #eeeeee;
  }
}
.search-dropdown-title {
  position: relative;
  font-size: var(--ui-fs-h3);
  color: #000000;
  padding: 8px 8px 16px;
  margin-bottom: 16px;
}
.search-dropdown-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 8px;
  right: 8px;
  height: 1px;
  background-color: var(--ui-card-border);
}

/* Black Nav Bar & Category Trigger */
.header-nav {
  background: #000000;
}
@media (min-width: 991px) {
  .header-nav .nav-inner {
    display: flex;
    align-items: stretch;
    min-height: 56px;
    gap: calc(30px + 10px);
  }
}
.category-trigger {
  width: 240px;
  height: auto;
  border-radius: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 20px;
  font-size: 17px;
  font-weight: bold;
  font-variation-settings: "wght" 700;
  background: #1C46DB;
}
.nav-link {
  display: flex;
  align-items: center;
}
.header-nav .nav-inner > a.is-active {
  opacity: 1;
  color: var(--color-primary-light, #9ec4ff);
}
.header-nav .nav-inner > a.nav-link.is-active::after {
  transform: scaleX(1);
}
.header-nav .nav-inner > a.category-trigger img {
  width: 20px;
  height: 20px;
}
@media (min-width: 991px) {
  .header-nav .nav-inner > a.nav-link {
    font-size: 18px;
    font-weight: bold;
    font-variation-settings: "wght" 700;
  }
}
@media (max-width: 990px) {
  .header-actions {
    display: none;
  }
}

/* ----- Header: desktop nav pin (fixed) / mobile fixed top + fullscreen menu ----- */
@media (min-width: 991px) {
  .header {
    position: static;
    top: auto;
    overflow: visible;
    transform: none;
    filter: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #fff;
    z-index: 40;
  }
  .header-nav {
    position: relative;
    z-index: 45;
  }
  .header-nav.is-pinned {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 200;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  }
  .header-nav-pin-placeholder {
    display: none;
    width: 100%;
    height: 0;
  }
  /* 顶栏搜索区须高于未吸顶主导航，否则 search-hot / search-dropdown 会被黑条遮挡 */
  .header-top {
    position: relative;
    z-index: 50;
    overflow: visible;
  }
  .header-search-wrap {
    overflow: visible;
    z-index: 80;
  }
}

@media (max-width: 990px) {
  :root {
    --header-top-offset: 72px;
  }
  .header {
    position: relative;
    top: auto;
    z-index: 100;
    background: transparent;
    border-bottom: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .header::before {
    content: "";
    display: block;
    height: var(--header-top-offset, 72px);
  }
  .header-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 102;
    width: 100%;
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-sizing: border-box;
  }
  .header-nav {
    position: static;
    height: 0;
    min-height: 0;
    overflow: visible;
    background: transparent;
    border: none;
  }
  .header-nav .nav-inner {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    outline: 0;
  }
  /* 保留原 nav-bars 双线条样式，展开时两线交叉为 X */
  .nav-toggle .nav-bars {
    position: relative;
    width: 28px;
    height: 28px;
  }
  .nav-toggle.is-open .nav-bars {
    transition-duration: .5s;
    transform: rotate(180deg);
  }
  .nav-toggle.is-open .nav-bars span {
    position: absolute;
    transition-duration: .5s;
  }
  .nav-toggle.is-open .nav-bars span:first-child {
    width: 100%;
    transform: rotate(45deg);
    transition-duration: .5s;
  }
  .nav-toggle.is-open .nav-bars span:last-child {
    width: 100%;
    transform: rotate(-45deg);
    transition-duration: .5s;
  }
  html.mobile-nav-open,
  body.mobile-nav-open {
    overflow: hidden;
    height: 100%;
    touch-action: none;
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
  }
  .mobile-nav {
    position: fixed;
    top: var(--header-top-offset, 72px);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 101;
    display: block;
    padding: 0;
    margin: 0;
    border: 0;
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
  }
  .mobile-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .mobile-nav__scroll {
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 4px 0 calc(24px + env(safe-area-inset-bottom, 0px));
    -webkit-overflow-scrolling: touch;
  }
  .mobile-nav__item,
  .mobile-nav__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 56px;
    padding: 0 16px;
    margin: 0;
    border: 0;
    border-bottom: 1px solid #eef0f3;
    border-radius: 0;
    background: transparent;
    color: #1a1a1a;
    font-size: 17px;
    font-weight: 600;
    font-variation-settings: "wght" 600;
    line-height: 1.35;
    text-align: left;
    text-decoration: none;
    box-sizing: border-box;
    cursor: pointer;
    font-family: inherit;
  }
  .mobile-nav__item.is-active,
  .mobile-nav__trigger.is-active {
    color: var(--hub-brand-green, #34a853);
  }
  .mobile-nav__chevron {
    flex: 0 0 12px;
    width: 12px;
    height: 12px;
    margin-left: 12px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.2s ease;
    opacity: 0.75;
  }
  .mobile-nav__accordion.is-open .mobile-nav__chevron {
    transform: rotate(225deg) translateY(2px);
  }
  .mobile-nav__panel {
    display: none;
    padding: 4px 0 8px;
    background: #f8f9fb;
  }
  .mobile-nav__accordion.is-open .mobile-nav__panel {
    display: block;
  }
  .mobile-nav__trigger-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
  }
  
  .mobile-nav__sub {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 0 16px 0 20px;
    color: #3c4043;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid #eceff4;
  }
  .mobile-nav__ico {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .mobile-nav__ico.has-img {
    background: transparent;
    border: 0;
  }
  .mobile-nav__ico.no-img {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
  }
  .mobile-nav__ico-img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    display: block;
  }
  .mobile-nav__sub-text {
    flex: 1;
    min-width: 0;
    line-height: 1.35;
  }
  .mobile-nav__sub-arrow {
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    margin-left: auto;
    border-right: 2px solid #9aa0a6;
    border-bottom: 2px solid #9aa0a6;
    transform: rotate(-45deg);
    box-sizing: border-box;
  }
  .mobile-nav__sub:hover .mobile-nav__sub-arrow,
  .mobile-nav__sub:focus-visible .mobile-nav__sub-arrow {
    border-color: var(--color-primary, #1C46DB);
  }
  .mobile-nav__sub:last-child {
    border-bottom: 0;
  }
  .mobile-nav__sub:hover,
  .mobile-nav__sub:focus-visible {
    color: var(--color-primary, #1C46DB);
    background: rgba(28, 70, 219, 0.06);
  }
  .mobile-nav__actions {
    padding: 20px 16px 8px;
  }
  .mobile-nav__inquiry {
    width: 100%;
    min-height: 48px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
  }
  /* 覆盖 main.css 中 .mobile-nav a 的白字样式 */
  .mobile-nav a.mobile-nav__item,
  .mobile-nav a.mobile-nav__sub,
  .mobile-nav button.mobile-nav__trigger {
    color: #1a1a1a;
    background: transparent;
    border: 0;
    border-radius: 0;
    opacity: 1;
    min-height: 56px;
  }
  .mobile-nav a.mobile-nav__sub {
    min-height: 48px;
    color: #3c4043;
  }
  .mobile-nav a.mobile-nav__item.is-active,
  .mobile-nav button.mobile-nav__trigger.is-active {
    color: var(--color-primary);
  }
  .mobile-nav .mobile-nav__inquiry,
  .mobile-nav .btn-primary.mobile-nav__inquiry {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--color-primary, #1C46DB);
    border: 0;
    min-height: 48px;
  }
  .mobile-nav.is-open .mobile-nav__scroll {
    opacity: 1;
    visibility: visible;
  }
}

/* Mega Menu Alignment & Split Layout */
@media (min-width: 991px) {
  .mega-menu {
    box-sizing: border-box;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    border: none;
    top: 56px;
  }
  .mega-wrap {
    display: block;
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: 440px;
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
    overflow: hidden;
  }
  .mega-sidebar {
    width: 240px;
    min-height: 440px;
    border-right: none;
    padding: 12px 0;
  }
  .mega-sidebar a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
    transition: all 0.2s ease;
  }
  .mega-sidebar a:hover, .mega-sidebar a.active {
    background: #f8f9fa;
    color: #1C46DB;
  }
  .mega-sidebar a .ico {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .mega-sidebar a .ico img {
    width: 18px;
    height: 18px;
    object-fit: contain;
  }
  .mega-content {
    position: absolute;
    left: 240px;
    top: 0;
    right: 0;
    width: auto;
    max-width: none;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 32px 40px;
    border-left: 1px solid #f0f0f0;
    box-sizing: border-box;
  }
}

.header-search-wrap .search-dropdown {
  top: calc(100% - 16px);
  z-index: 130;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.14);
  max-height: min(610px, calc(100vh - 180px));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 10px 8px;
}

/* Search 容器滚动条：按设计稿常显浅蓝轨道+蓝色圆角滑块 */
.header-search-wrap .search-dropdown::-webkit-scrollbar,
.header-search-wrap .search-dropdown::-webkit-scrollbar-track,
.header-top .search-hot::-webkit-scrollbar,
.header-top .search-hot::-webkit-scrollbar-track,
.mega-sidebar::-webkit-scrollbar,
.mega-sidebar::-webkit-scrollbar-track,
.mega-content::-webkit-scrollbar,
.mega-content::-webkit-scrollbar-track,
.inquiry-modal::-webkit-scrollbar,
.inquiry-modal::-webkit-scrollbar-track {
  background-color: transparent;
  width: 6px;
  display: none;
}
.header-search-wrap .search-dropdown:hover::-webkit-scrollbar,
.header-search-wrap .search-dropdown:hover::-webkit-scrollbar-track,
.header-top .search-hot:hover::-webkit-scrollbar,
.header-top .search-hot:hover::-webkit-scrollbar-track,
.mega-sidebar:hover::-webkit-scrollbar,
.mega-sidebar:hover::-webkit-scrollbar-track,
.mega-content:hover::-webkit-scrollbar,
.mega-content:hover::-webkit-scrollbar-track,
.inquiry-modal:hover::-webkit-scrollbar,
.inquiry-modal:hover::-webkit-scrollbar-track {
  display: block;
}
.header-search-wrap .search-dropdown::-webkit-scrollbar-track,
.header-search-wrap .search-dropdown::-webkit-scrollbar-thumb,
.header-top .search-hot::-webkit-scrollbar-track,
.header-top .search-hot::-webkit-scrollbar-thumb,
.mega-sidebar::-webkit-scrollbar-track,
.mega-sidebar::-webkit-scrollbar-thumb,
.mega-content::-webkit-scrollbar-track,
.mega-content::-webkit-scrollbar-thumb,
.inquiry-modal::-webkit-scrollbar-track,
.inquiry-modal::-webkit-scrollbar-thumb {
  border-radius: 5px;
}
.header-search-wrap .search-dropdown::-webkit-scrollbar-thumb,
.header-top .search-hot::-webkit-scrollbar-thumb,
.mega-sidebar::-webkit-scrollbar-thumb,
.mega-content::-webkit-scrollbar-thumb,
.inquiry-modal::-webkit-scrollbar-thumb {
  background-color: #dfe1e6;
}
.header-search-wrap .search-dropdown::-webkit-scrollbar-thumb:hover,
.header-top .search-hot::-webkit-scrollbar-thumb:hover,
.mega-sidebar::-webkit-scrollbar-thumb:hover,
.mega-content::-webkit-scrollbar-thumb:hover,
.inquiry-modal::-webkit-scrollbar-thumb:hover {
  background-color: #adb0b8;
}

.header-search-wrap .search-highlight {
  font-weight: 800;
  color: inherit;
}

.header-search-wrap .search-more-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 6px;
  border-top: 1px solid #eef2f7;
  color: #1C46DB;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.header-search-wrap .search-more-item:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.header-search-wrap .search-history-row {
  position: relative;
  display: flex;
  align-items: center;
  border-radius: 6px;
}

.header-search-wrap .search-history-row:hover {
  background: #f3f6fb;
}

.header-search-wrap .search-history-row .search-history-item {
  flex: 1;
  min-width: 0;
}

.header-search-wrap .search-history-row .search-history-item:hover {
  background: transparent;
  border-color: transparent;
}

.header-search-wrap .search-history-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-search-wrap .search-history-delete {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  opacity: 0;
  transition: opacity .15s ease, background .15s ease, color .15s ease;
}

.header-search-wrap .search-history-row:hover .search-history-delete,
.header-search-wrap .search-history-delete:focus {
  opacity: 1;
}

.header-search-wrap .search-history-delete:hover {
  background: #e2e8f0;
  color: #334155;
}
.nav-bars {
  position: relative;
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  transition-duration: .5s;
}
.nav-bars span {
  width: 100%;
  height: 2px;
  background-color: #000000;
  transition: width .3s ease;
  margin: 4px 0;
  border-radius: 3px;
}
.nav-bars span:first-child {
  width: 60%;
}
.nav-bars span:last-child {
  width: 90%;
}
.nav-bars:hover span:first-child {
  width: 90%;
}
.nav-bars:hover span:last-child {
  width: 60%;
}
.coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  text-align: center;
}
.coming-soon img {
  width: 55%;
  object-fit: contain;
}
.coming-soon p {
  font-size: 16px;
  font-weight: 500;
  color: #64748b;
}

.modal-overlay[data-lightbox-modal] {
  z-index: 10040;
  padding: 0;
  background: rgba(9, 12, 22, 0.85);
}

.modal-overlay[data-lightbox-modal]:not(.hidden) {
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}

html.lightbox-expanded-view-open,
html.lightbox-expanded-view-open body {
  overflow: hidden;
}

[data-lightbox-modal] .lightbox-wrap {
  position: fixed;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  transform: none;
  animation: none;
  line-height: 0;
  pointer-events: none;
  perspective: 600px;
  transform-style: preserve-3d;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  overflow: hidden;
}

[data-lightbox-modal] .mz-expand-bg {
  position: fixed;
  inset: 0;
  z-index: 10039;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  min-width: 100%;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(7) rotate(0.01deg);
  transform-origin: center center;
  transition: opacity var(--lightbox-open-duration) var(--lightbox-ease);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

[data-lightbox-modal] .mz-expand-bg > img {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  margin: 0;
  transform: translate(-50%, -50%) translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-filter: blur(20px) brightness(60%);
  filter: blur(20px) brightness(60%);
  object-fit: cover;
  pointer-events: none;
}

[data-lightbox-modal]:not(.hidden):not(.is-lightbox-closing) .mz-expand-bg {
  opacity: 0.8;
}

[data-lightbox-modal].is-lightbox-closing .mz-expand-bg {
  opacity: 0;
}

[data-lightbox-modal] .lightbox-wrap > * {
  pointer-events: auto;
}

[data-lightbox-modal] {
  /* Magic Zoom：缩略图 80px + 标题区（10pt 单行 + padding 10/6） */
  --lightbox-thumbs-height: 80px;
  --lightbox-caption-block: calc(10px + 6px + 1.25em);
  --lightbox-footer-reserve: calc(var(--lightbox-thumbs-height) + var(--lightbox-caption-block));
  --lightbox-stage-y-gap: 32px;
  --lightbox-ease: cubic-bezier(0.25, 0.5, 0.5, 0.9);
  --lightbox-open-duration: 0.42s;
  --lightbox-zoom-duration: 0.35s;
}

[data-lightbox-modal] .lightbox-viewport {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: var(--lightbox-footer-reserve);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: none;
  z-index: 10041;
  transition:
    padding-top var(--lightbox-zoom-duration) var(--lightbox-ease),
    padding-bottom var(--lightbox-zoom-duration) var(--lightbox-ease),
    bottom var(--lightbox-zoom-duration) var(--lightbox-ease);
}

/* 放大后：标题隐藏，仅保留 80px 缩略图条（与 Magic Zoom 一致，不用 footer-reserve+gap） */
[data-lightbox-modal].is-image-zoom-active .lightbox-viewport,
[data-lightbox-modal].is-lightbox-zoom-activating .lightbox-viewport {
  bottom: var(--lightbox-thumbs-height);
  padding-top: 0;
  padding-bottom: 0;
  align-items: flex-start;
  justify-content: flex-start;
  cursor: crosshair;
}

[data-lightbox-modal] .lightbox-viewport img[data-lightbox-image] {
  display: block;
  width: auto;
  height: auto;
  max-width: calc(100vw - 48px);
  max-height: calc(100vh - var(--lightbox-footer-reserve) - 16px);
  border-radius: 0;
  user-select: none;
  -webkit-user-drag: none;
  transition: none;
}

[data-lightbox-modal] .lightbox-layer {
  position: relative;
  display: inline-block;
  margin: 0;
  line-height: 0;
  padding: 0;
}

[data-lightbox-modal].is-image-zoom-active .lightbox-layer,
[data-lightbox-modal].is-lightbox-zoom-activating .lightbox-layer,
[data-lightbox-modal].is-lightbox-zoom-resetting .lightbox-layer {
  padding-top: 0;
  padding-bottom: 0;
}

[data-lightbox-modal]:not(.is-image-zoom-active):not(.is-lightbox-zoom-resetting):not(.is-lightbox-zoom-finishing) .lightbox-layer.mz-figure {
  transform: scale(1);
  transform-origin: center center;
  transition: transform var(--lightbox-open-duration) var(--lightbox-ease);
  will-change: transform;
}

[data-lightbox-modal].is-lightbox-opening:not(.is-image-zoom-active):not(.is-lightbox-zoom-resetting):not(.is-lightbox-zoom-finishing) .lightbox-layer.mz-figure,
[data-lightbox-modal].is-lightbox-closing:not(.is-image-zoom-active):not(.is-lightbox-zoom-resetting):not(.is-lightbox-zoom-finishing) .lightbox-layer.mz-figure {
  transform: scale(0.6);
  transform-origin: center center;
}

[data-lightbox-modal].is-lightbox-zoom-resetting .lightbox-viewport {
  bottom: var(--lightbox-footer-reserve);
  padding-top: var(--lightbox-stage-y-gap);
  padding-bottom: var(--lightbox-stage-y-gap);
  align-items: center;
  justify-content: center;
  transition:
    padding-top var(--lightbox-zoom-duration) var(--lightbox-ease),
    padding-bottom var(--lightbox-zoom-duration) var(--lightbox-ease),
    bottom var(--lightbox-zoom-duration) var(--lightbox-ease);
}

[data-lightbox-modal].is-lightbox-zoom-resetting .lightbox-layer {
  position: relative;
  left: auto;
  top: auto;
}

[data-lightbox-modal].is-lightbox-zoom-resetting .lightbox-layer.mz-figure,
[data-lightbox-modal].is-lightbox-zoom-finishing .lightbox-layer.mz-figure {
  transition: none;
  transform-origin: center center;
}

[data-lightbox-modal].is-lightbox-zoom-finishing .lightbox-layer.mz-figure {
  transform: none;
}

[data-lightbox-modal].is-lightbox-zoom-activating .lightbox-layer.mz-figure {
  transform-origin: 0 0;
}

[data-lightbox-modal].is-lightbox-zoom-activating .lightbox-layer {
  position: absolute;
  left: 0;
  top: 0;
}

[data-lightbox-modal].is-lightbox-opening .lightbox-viewport img[data-lightbox-image] {
  transition: none;
}

[data-lightbox-modal].is-image-zoom-active .lightbox-layer {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: 0 0;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

[data-lightbox-modal].is-image-zoom-active:not(.is-lightbox-zoom-activating) .lightbox-layer {
  transition: none;
}

[data-lightbox-modal].is-image-zoom-active .lightbox-layer.mz-active {
  cursor: crosshair;
}

[data-lightbox-modal].is-image-zoom-active .lightbox-viewport img[data-lightbox-image] {
  position: relative;
  max-width: none;
  max-height: none;
  cursor: crosshair;
  transition: none;
}

[data-lightbox-modal].is-lightbox-closing .lightbox-viewport {
  opacity: 0;
  transition: opacity 0.22s ease 0.08s;
}

[data-lightbox-modal].is-lightbox-closing:not(.is-image-zoom-active):not(.is-lightbox-zoom-resetting):not(.is-lightbox-zoom-finishing) .lightbox-layer.mz-figure {
  transition:
    transform var(--lightbox-open-duration) var(--lightbox-ease) 0.06s,
    opacity var(--lightbox-open-duration) var(--lightbox-ease) 0.06s;
}

[data-lightbox-modal]:not(.is-image-zoom-active) .lightbox-viewport {
  cursor: default;
}

[data-lightbox-modal]:not(.is-image-zoom-active).is-lightbox-zoomable .lightbox-layer img[data-lightbox-image] {
  cursor: zoom-in;
}

[data-lightbox-modal]:not(.is-image-zoom-active):not(.is-lightbox-zoomable) .lightbox-layer img[data-lightbox-image] {
  cursor: default;
}

[data-lightbox-modal] .lightbox-layer .lcd-quality-badge--lightbox {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  pointer-events: none;
}

[data-lightbox-modal] .lightbox-expand-footer,
[data-lightbox-modal] .mz-expand-controls {
  opacity: 0;
  transition: opacity 0.28s var(--lightbox-ease);
}

[data-lightbox-modal].is-lightbox-open .lightbox-expand-footer,
[data-lightbox-modal].is-lightbox-open .mz-expand-controls {
  opacity: 1;
  transition: opacity 0.32s var(--lightbox-ease) 0.1s;
}

[data-lightbox-modal].is-lightbox-opening .lightbox-expand-footer,
[data-lightbox-modal].is-lightbox-opening .mz-expand-controls {
  opacity: 0;
  transition: none;
}

[data-lightbox-modal].is-lightbox-closing .lightbox-expand-footer,
[data-lightbox-modal].is-lightbox-closing .mz-expand-controls {
  opacity: 0;
  transition: opacity 0.18s ease;
  transition-delay: 0s;
}

[data-lightbox-modal] .lightbox-expand-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10042;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  pointer-events: auto;
}

[data-lightbox-modal] .mz-caption {
  flex: 0 0 auto;
  color: #fff;
  text-shadow: 0 0 46px #000;
  padding: 10px 30px 6px;
  font: normal 10pt/1.25 Inter, "Lucida Grande", "Lucida Sans Unicode", Verdana, "Helvetica Neue", Arial, Helvetica, sans-serif;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  opacity: 1;
  margin: 0;
}

[data-lightbox-modal].is-image-zoom-active:not(.is-lightbox-zoom-resetting) .mz-caption,
[data-lightbox-modal].is-lightbox-zoom-activating .mz-caption {
  display: none;
}

[data-lightbox-modal].is-lightbox-zoom-resetting .mz-caption {
  display: block;
  opacity: 1;
}

[data-lightbox-modal] .mz-expand-thumbnails {
  position: relative;
  flex: 0 0 80px;
  width: 100%;
  height: 80px;
  margin: 0 auto;
  padding: 10px 0;
  z-index: 50;
  overflow: hidden;
  box-sizing: border-box;
}

[data-lightbox-modal] .magic-thumbs,
[data-lightbox-modal] .magic-thumbs .magic-thumbs-wrapper,
[data-lightbox-modal] .magic-thumbs ul,
[data-lightbox-modal] .magic-thumbs li,
[data-lightbox-modal] .magic-thumbs li img,
[data-lightbox-modal] .magic-thumbs .magic-thumbs-button {
  margin: 0;
  padding: 0;
  outline: 0;
  box-sizing: border-box;
}

[data-lightbox-modal] .magic-thumbs {
  direction: ltr;
  overflow: visible;
  z-index: 100;
  position: relative;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  white-space: nowrap;
  padding: 0 40px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

[data-lightbox-modal] .magic-thumbs.no-buttons {
  padding: 0;
}

[data-lightbox-modal] .magic-thumbs-wrapper {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  text-align: center;
}

[data-lightbox-modal] .magic-thumbs ul {
  list-style: none;
  font-size: 0;
  display: inline-block;
  vertical-align: middle;
  height: 100%;
  position: relative;
  white-space: nowrap;
  transform: translate3d(0, 0, 0);
  transition: transform 0.25s ease;
}

[data-lightbox-modal] .magic-thumbs.no-buttons ul {
  left: 0;
  padding: 0;
  transition: none;
}

[data-lightbox-modal] .magic-thumbs ul li {
  margin: 0 4px;
  height: 100%;
  width: auto;
  vertical-align: top;
  line-height: 0;
  display: inline-block;
  cursor: pointer;
}

[data-lightbox-modal] .magic-thumbs ul li:after {
  content: '';
  display: inline-block;
  vertical-align: middle;
  height: 100%;
  width: 0;
}

[data-lightbox-modal] .magic-thumbs ul li > img {
  display: block;
  width: 56px;
  height: 56px;
  max-width: none;
  max-height: 100%;
  object-fit: cover;
  vertical-align: middle;
  border: 2px solid transparent;
  box-sizing: border-box;
}

[data-lightbox-modal] .magic-thumbs ul li:not(.magic-thumb-selected):hover > img {
  border-color: rgba(255, 255, 255, 0.1);
}

[data-lightbox-modal] .magic-thumbs ul li.magic-thumb-selected > img {
  border-color: rgba(255, 255, 255, 0.8);
}

[data-lightbox-modal] .magic-thumbs .magic-thumbs-button {
  color: rgba(180, 180, 180, 0.6);
  font-size: 0;
  cursor: pointer;
  z-index: 90;
  background-color: transparent;
  background-image: none;
  border: 0;
  border-radius: 100%;
  box-shadow: none;
  overflow: hidden;
  position: absolute;
  text-transform: none;
  speak: none;
  text-align: center;
  width: 33px;
  height: 33px;
  top: 0;
  bottom: 0;
  margin: auto 3px;
  min-width: 0;
  min-height: 0;
  max-width: none;
  max-height: none;
  transition: color 0.25s, background-color 0.25s;
}

[data-lightbox-modal] .magic-thumbs .magic-thumbs-button:before {
  content: '';
  display: block;
  position: static;
  height: 100%;
  background-color: currentColor;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: cover;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: cover;
  transform: scale(1);
  transition: transform 0.25s;
  -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNDggNDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xOC43NTkzIDkuMzQ5MjFDMTguMzk5OCA4LjkyOTg4IDE3Ljc2ODUgOC44ODEzMiAxNy4zNDkyIDkuMjQwNzRDMTYuOTI5OSA5LjYwMDE3IDE2Ljg4MTMgMTAuMjMxNSAxNy4yNDA3IDEwLjY1MDhMMTguNzU5MyA5LjM0OTIxWk0zMCAyNEwzMC43NTkzIDI0LjY1MDhDMzEuMDgwMiAyNC4yNzYzIDMxLjA4MDIgMjMuNzIzNyAzMC43NTkzIDIzLjM0OTJMMzAgMjRaTTE3LjI0MDcgMzcuMzQ5MkMxNi44ODEzIDM3Ljc2ODUgMTYuOTI5OSAzOC4zOTk4IDE3LjM0OTIgMzguNzU5M0MxNy43Njg1IDM5LjExODcgMTguMzk5OCAzOS4wNzAxIDE4Ljc1OTMgMzguNjUwOEwxNy4yNDA3IDM3LjM0OTJaTTE3LjI0MDcgMTAuNjUwOEwyOS4yNDA3IDI0LjY1MDhMMzAuNzU5MyAyMy4zNDkyTDE4Ljc1OTMgOS4zNDkyMUwxNy4yNDA3IDEwLjY1MDhaTTI5LjI0MDcgMjMuMzQ5MkwxNy4yNDA3IDM3LjM0OTJMMTguNzU5MyAzOC42NTA4TDMwLjc1OTMgMjQuNjUwOEwyOS4yNDA3IDIzLjM0OTJaIiBmaWxsPSIjOTk5OTk5Ii8+Cjwvc3ZnPgo=");
  mask-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNDggNDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xOC43NTkzIDkuMzQ5MjFDMTguMzk5OCA4LjkyOTg4IDE3Ljc2ODUgOC44ODEzMiAxNy4zNDkyIDkuMjQwNzRDMTYuOTI5OSA5LjYwMDE3IDE2Ljg4MTMgMTAuMjMxNSAxNy4yNDA3IDEwLjY1MDhMMTguNzU5MyA5LjM0OTIxWk0zMCAyNEwzMC43NTkzIDI0LjY1MDhDMzEuMDgwMiAyNC4yNzYzIDMxLjA4MDIgMjMuNzIzNyAzMC43NTkzIDIzLjM0OTJMMzAgMjRaTTE3LjI0MDcgMzcuMzQ5MkMxNi44ODEzIDM3Ljc2ODUgMTYuOTI5OSAzOC4zOTk4IDE3LjM0OTIgMzguNzU5M0MxNy43Njg1IDM5LjExODcgMTguMzk5OCAzOS4wNzAxIDE4Ljc1OTMgMzguNjUwOEwxNy4yNDA3IDM3LjM0OTJaTTE3LjI0MDcgMTAuNjUwOEwyOS4yNDA3IDI0LjY1MDhMMzAuNzU5MyAyMy4zNDkyTDE4Ljc1OTMgOS4zNDkyMUwxNy4yNDA3IDEwLjY1MDhaTTI5LjI0MDcgMjMuMzQ5MkwxNy4yNDA3IDM3LjM0OTJMMTguNzU5MyAzOC42NTA4TDMwLjc1OTMgMjQuNjUwOEwyOS4yNDA3IDIzLjM0OTJaIiBmaWxsPSIjOTk5OTk5Ii8+Cjwvc3ZnPgo=");
}

[data-lightbox-modal] .magic-thumbs .magic-thumbs-button:not(.magic-thumbs-button-disabled):hover,
[data-lightbox-modal] .magic-thumbs .magic-thumbs-button:not(.magic-thumbs-button-disabled):active {
  color: rgba(180, 180, 180, 1);
}

[data-lightbox-modal] .magic-thumbs .magic-thumbs-button:not(.magic-thumbs-button-disabled):active:before {
  transform: scale(0.7);
}

[data-lightbox-modal] .magic-thumbs .magic-thumbs-button-prev {
  left: 0;
  transform: rotateZ(180deg);
}

[data-lightbox-modal] .magic-thumbs .magic-thumbs-button-next {
  right: 0;
}

[data-lightbox-modal] .magic-thumbs.no-buttons .magic-thumbs-button {
  display: none;
}

[data-lightbox-modal] .magic-thumbs .magic-thumbs-button-disabled {
  opacity: 0.2;
  pointer-events: none;
}

[data-lightbox-modal] .mz-expand-controls {
  position: fixed;
  inset: 0;
  z-index: 10043;
  pointer-events: none;
}

[data-lightbox-modal] .mz-expand-controls .mz-button {
  pointer-events: auto;
}

[data-lightbox-modal] button.mz-button {
  margin: 0;
  padding: 0;
  outline: 0;
  color: rgba(180, 180, 180, 0.6);
  font-size: 0;
  cursor: pointer;
  background-color: transparent;
  border: 0 solid transparent;
  border-radius: 100%;
  box-shadow: none;
  position: absolute;
  text-transform: none;
  text-align: center;
  width: 60px;
  height: 60px;
  min-width: 0;
  min-height: 0;
  max-width: none;
  max-height: none;
  transition: color 0.25s, background-color 0.25s;
}

[data-lightbox-modal] button.mz-button:before {
  content: "";
  display: block;
  position: static;
  height: 100%;
  background-color: currentColor;
  background-image: none;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: cover;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: cover;
  transform: scale(0.9);
  transition: transform 0.25s;
}

[data-lightbox-modal] button.mz-button:hover,
[data-lightbox-modal] button.mz-button:active {
  color: rgba(180, 180, 180, 1);
}

[data-lightbox-modal] button.mz-button:active:before {
  transform: scale(0.7);
}

[data-lightbox-modal] button.mz-button.mz-button-prev,
[data-lightbox-modal] button.mz-button.mz-button-next {
  margin: auto 10px;
  top: 0;
  bottom: 0;
  overflow: hidden;
}

[data-lightbox-modal] button.mz-button.mz-button-prev {
  left: 0;
  transform: rotateZ(180deg);
}

[data-lightbox-modal] button.mz-button.mz-button-next {
  right: 0;
}

[data-lightbox-modal] button.mz-button.mz-button-close {
  margin: 10px;
  top: 0;
  right: 0;
  z-index: 95;
}

[data-lightbox-modal] button.mz-button.mz-button-close:before {
  -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNDggNDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0yNS4zODQxIDI0LjcyNDFDMjQuOTkzNyAyNC4zMzM0IDI0Ljk5MzkgMjMuNzAwMiAyNS4zODQ3IDIzLjMwOThMMzcgMTEuNzA1MUwzNi4yOTQzIDExTDI0LjY3OTMgMjIuNjA0NEMyNC4yODg2IDIyLjk5NDcgMjMuNjU1NiAyMi45OTQ0IDIzLjI2NTIgMjIuNjAzOEwxMS43MDUyIDExLjAzNjZMMTEgMTEuNzQyMkwyMi41NTkzIDIzLjMwODdDMjIuOTQ5NyAyMy42OTk0IDIyLjk0OTUgMjQuMzMyNiAyMi41NTg4IDI0LjcyM0wxMS4wMzcgMzYuMjM0MkwxMS43NDI3IDM2LjkzOTNMMjMuMjY0MSAyNS40Mjg0QzIzLjY1NDggMjUuMDM4MSAyNC4yODc5IDI1LjAzODMgMjQuNjc4MiAyNS40Mjg5TDM2LjI0MjEgMzdMMzYuOTQ3MiAzNi4yOTQ0TDI1LjM4NDEgMjQuNzI0MVoiIGZpbGw9IiM5OTk5OTkiLz4KPHBhdGggZD0iTTI1LjM4NDEgMjQuNzI0MUMyNC45OTM3IDI0LjMzMzQgMjQuOTkzOSAyMy43MDAyIDI1LjM4NDcgMjMuMzA5OEwzNyAxMS43MDUxTDM2LjI5NDMgMTFMMjQuNjc5MyAyMi42MDQ0QzI0LjI4ODYgMjIuOTk0NyAyMy42NTU2IDIyLjk5NDQgMjMuMjY1MiAyMi42MDM4TDExLjcwNTIgMTEuMDM2NkwxMSAxMS43NDIyTDIyLjU1OTMgMjMuMzA4N0MyMi45NDk3IDIzLjY5OTQgMjIuOTQ5NSAyNC4zMzI2IDIyLjU1ODggMjQuNzIzTDExLjAzNyAzNi4yMzQyTDExLjc0MjcgMzYuOTM5M0wyMy4yNjQxIDI1LjQyODRDMjMuNjU0OCAyNS4wMzgxIDI0LjI4NzkgMjUuMDM4MyAyNC42NzgyIDI1LjQyODlMMzYuMjQyMSAzN0wzNi45NDcyIDM2LjI5NDRMMjUuMzg0MSAyNC43MjQxWiIgc3Ryb2tlPSIjOTk5OTk5Ii8+Cjwvc3ZnPgo=");
  mask-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNDggNDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0yNS4zODQxIDI0LjcyNDFDMjQuOTkzNyAyNC4zMzM0IDI0Ljk5MzkgMjMuNzAwMiAyNS4zODQ3IDIzLjMwOThMMzcgMTEuNzA1MUwzNi4yOTQzIDExTDI0LjY3OTMgMjIuNjA0NEMyNC4yODg2IDIyLjk5NDcgMjMuNjU1NiAyMi45OTQ0IDIzLjI2NTIgMjIuNjAzOEwxMS43MDUyIDExLjAzNjZMMTEgMTEuNzQyMkwyMi41NTkzIDIzLjMwODdDMjIuOTQ5NyAyMy42OTk0IDIyLjk0OTUgMjQuMzMyNiAyMi41NTg4IDI0LjcyM0wxMS4wMzcgMzYuMjM0MkwxMS43NDI3IDM2LjkzOTNMMjMuMjY0MSAyNS40Mjg0QzIzLjY1NDggMjUuMDM4MSAyNC4yODc5IDI1LjAzODMgMjQuNjc4MiAyNS40Mjg5TDM2LjI0MjEgMzdMMzYuOTQ3MiAzNi4yOTQ0TDI1LjM4NDEgMjQuNzI0MVoiIGZpbGw9IiM5OTk5OTkiLz4KPHBhdGggZD0iTTI1LjM4NDEgMjQuNzI0MUMyNC45OTM3IDI0LjMzMzQgMjQuOTkzOSAyMy43MDAyIDI1LjM4NDcgMjMuMzA5OEwzNyAxMS43MDUxTDM2LjI5NDMgMTFMMjQuNjc5MyAyMi42MDQ0QzI0LjI4ODYgMjIuOTk0NyAyMy42NTU2IDIyLjk5NDQgMjMuMjY1MiAyMi42MDM4TDExLjcwNTIgMTEuMDM2NkwxMSAxMS43NDIyTDIyLjU1OTMgMjMuMzA4N0MyMi45NDk3IDIzLjY5OTQgMjIuOTQ5NSAyNC4zMzI2IDIyLjU1ODggMjQuNzIzTDExLjAzNyAzNi4yMzQyTDExLjc0MjcgMzYuOTM5M0wyMy4yNjQxIDI1LjQyODRDMjMuNjU0OCAyNS4wMzgxIDI0LjI4NzkgMjUuMDM4MyAyNC42NzgyIDI1LjQyODlMMzYuMjQyMSAzN0wzNi45NDcyIDM2LjI5NDRMMjUuMzg0MSAyNC43MjQxWiIgc3Ryb2tlPSIjOTk5OTk5Ii8+Cjwvc3ZnPgo=");
}

[data-lightbox-modal] button.mz-button.mz-button-prev:before,
[data-lightbox-modal] button.mz-button.mz-button-next:before {
  -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNDggNDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xOC43NTkzIDkuMzQ5MjFDMTguMzk5OCA4LjkyOTg4IDE3Ljc2ODUgOC44ODEzMiAxNy4zNDkyIDkuMjQwNzRDMTYuOTI5OSA5LjYwMDE3IDE2Ljg4MTMgMTAuMjMxNSAxNy4yNDA3IDEwLjY1MDhMMTguNzU5MyA5LjM0OTIxWk0zMCAyNEwzMC43NTkzIDI0LjY1MDhDMzEuMDgwMiAyNC4yNzYzIDMxLjA4MDIgMjMuNzIzNyAzMC43NTkzIDIzLjM0OTJMMzAgMjRaTTE3LjI0MDcgMzcuMzQ5MkMxNi44ODEzIDM3Ljc2ODUgMTYuOTI5OSAzOC4zOTk4IDE3LjM0OTIgMzguNzU5M0MxNy43Njg1IDM5LjExODcgMTguMzk5OCAzOS4wNzAxIDE4Ljc1OTMgMzguNjUwOEwxNy4yNDA3IDM3LjM0OTJaTTE3LjI0MDcgMTAuNjUwOEwyOS4yNDA3IDI0LjY1MDhMMzAuNzU5MyAyMy4zNDkyTDE4Ljc1OTMgOS4zNDkyMUwxNy4yNDA3IDEwLjY1MDhaTTI5LjI0MDcgMjMuMzQ5MkwxNy4yNDA3IDM3LjM0OTJMMTguNzU5MyAzOC42NTA4TDMwLjc1OTMgMjQuNjUwOEwyOS4yNDA3IDIzLjM0OTJaIiBmaWxsPSIjOTk5OTk5Ii8+Cjwvc3ZnPgo=");
  mask-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNDggNDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xOC43NTkzIDkuMzQ5MjFDMTguMzk5OCA4LjkyOTg4IDE3Ljc2ODUgOC44ODEzMiAxNy4zNDkyIDkuMjQwNzRDMTYuOTI5OSA5LjYwMDE3IDE2Ljg4MTMgMTAuMjMxNSAxNy4yNDA3IDEwLjY1MDhMMTguNzU5MyA5LjM0OTIxWk0zMCAyNEwzMC43NTkzIDI0LjY1MDhDMzEuMDgwMiAyNC4yNzYzIDMxLjA4MDIgMjMuNzIzNyAzMC43NTkzIDIzLjM0OTJMMzAgMjRaTTE3LjI0MDcgMzcuMzQ5MkMxNi44ODEzIDM3Ljc2ODUgMTYuOTI5OSAzOC4zOTk4IDE3LjM0OTIgMzguNzU5M0MxNy43Njg1IDM5LjExODcgMTguMzk5OCAzOS4wNzAxIDE4Ljc1OTMgMzguNjUwOEwxNy4yNDA3IDM3LjM0OTJaTTE3LjI0MDcgMTAuNjUwOEwyOS4yNDA3IDI0LjY1MDhMMzAuNzU5MyAyMy4zNDkyTDE4Ljc1OTMgOS4zNDkyMUwxNy4yNDA3IDEwLjY1MDhaTTI5LjI0MDcgMjMuMzQ5MkwxNy4yNDA3IDM3LjM0OTJMMTguNzU5MyAzOC42NTA4TDMwLjc1OTMgMjQuNjUwOEwyOS4yNDA3IDIzLjM0OTJaIiBmaWxsPSIjOTk5OTk5Ii8+Cjwvc3ZnPgo=");
}

[data-lightbox-modal] .lcd-quality-badge--lightbox {
  top: 8px;
  left: 8px;
  z-index: 2;
}

.detail-gallery__stage[data-zoom-stage] {
  cursor: zoom-in;
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  [data-lightbox-modal] {
    --lightbox-stage-y-gap: 24px;
  }

  [data-lightbox-modal] .lightbox-viewport img[data-lightbox-image] {
    max-width: calc(100vw - 24px);
  }

  [data-lightbox-modal] .magic-thumbs ul li > img {
    width: auto;
    height: auto;
    max-height: 100%;
    object-fit: contain;
  }

  [data-lightbox-modal] button.mz-button.mz-button-prev,
  [data-lightbox-modal] button.mz-button.mz-button-next {
    display: none;
  }

  [data-lightbox-modal] button.mz-button.mz-button-close {
    width: 50px;
    height: 50px;
  }
}

.modal-overlay[data-inquiry-modal] {
  background: rgba(9, 12, 22, 0.55);
  /* 顶栏搜索/下拉 z-index 可达 120，询盘层必须在其之上，否则表现为「弹窗不出现」 */
  z-index: 10050;
}

.inquiry-modal {
  background: #fff;
  border: 1px solid #e8ecf4;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 24px 52px rgba(15, 23, 42, 0.18);
}

.inquiry-modal h3 {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.inquiry-modal p {
  font-size: 16px;
  line-height: 1.5;
  color: #5f6368;
}

/* 询盘弹窗 v2：白底、标签在上、社交图标行（覆盖 main.css 玻璃拟态） */
.inquiry-modal.inquiry-modal--v2 {
  position: relative;
  width: min(600px, calc(100% - 28px));
  max-height: min(92vh, 880px);
  overflow: auto;
  padding: 30px 30px 28px;
  border-radius: 14px;
}

.inquiry-modal--v2 .modal-close {
  right: 14px;
  top: 10px;
  font-size: 32px;
  line-height: 1;
}

.inquiry-modal__title {
  margin: 0 40px 0 0;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #1c1b1f;
  line-height: 1.18;
}

.inquiry-modal__lead {
  margin: 12px 0 20px;
  font-size: 18px;
  line-height: 1.55;
  color: #5f6368;
}

.inquiry-modal__social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.inquiry-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #f8fafc;
  color: #ffffff;
  border: none;
}

.inquiry-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.inquiry-form {
  position: relative;
}

.inquiry-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 16px;
}

.inquiry-form__field {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 0;
}

.inquiry-form__field--full {
  grid-column: 1 / -1;
}

.inquiry-form__label {
  font-size: 15px;
  font-weight: 600;
  color: #3c4043;
}

.inquiry-form__label em {
  font-style: normal;
  color: #ef4444;
}

.inquiry-form__grid input,
.inquiry-form__grid textarea {
  width: 100%;
  border: 1px solid #cac4d0;
  border-radius: var(--ui-radius-md, 8px);
  padding: 13px 16px;
  font-size: var(--m3-body-large, 16px);
  line-height: 1.5;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  box-sizing: border-box;
}

.inquiry-form__grid input {
  min-height: 52px;
}

.inquiry-form__grid input:focus,
.inquiry-form__grid textarea:focus {
  outline: none;
  border-color: var(--color-primary, #1C46DB);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.inquiry-form__grid textarea {
  min-height: 148px;
  resize: vertical;
}

.inquiry-form__privacy {
  margin: 18px 0 12px;
  font-size: 16px;
  line-height: 1.55;
  color: #5f6368;
}

.inquiry-form__field--error > .inquiry-form__label {
  color: #b91c1c;
}

.inquiry-form__field--error input,
.inquiry-form__field--error textarea {
  border-color: #ef4444;
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.35);
}

.inquiry-form__field--error input:focus,
.inquiry-form__field--error textarea:focus {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.22);
}

.inquiry-form__field-msg {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #b91c1c;
  font-weight: 500;
}

.inquiry-form__captcha-section {
  margin: 0 0 28px;
}

.inquiry-form__captcha-section--error {
  padding: 10px 12px;
  margin-bottom: 10px;
  border-radius: var(--ui-radius-sm, 8px);
  border: 1px solid rgba(239, 68, 68, 0.55);
  background: rgba(254, 242, 242, 0.65);
}

.inquiry-form__privacy a {
  color: var(--color-primary, #1C46DB);
  font-weight: 600;
  text-decoration: none;
}

.inquiry-form__privacy a:hover {
  text-decoration: underline;
}

.inquiry-form__status {
  min-height: 1.35em;
  margin: 0 0 14px;
  font-size: 16px;
  color: #5f6368;
}

.inquiry-form__submit {
  width: 100%;
  border: 0;
  border-radius: var(--ui-radius-md, 12px);
  padding: 14px 20px;
  font-size: 17px;
  font-weight: 600;
  min-height: 52px;
  cursor: pointer;
  color: #fff;
  background: var(--color-primary, #1C46DB);
  transition: background 0.18s ease;
}

.inquiry-form__submit:hover:not(:disabled) {
  background: var(--color-primary-dark, #1d4ed8);
}

.inquiry-form__submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

@media (max-width: 520px) {
  .inquiry-form__grid {
    grid-template-columns: 1fr;
  }
}

/* 右侧悬浮：留言 + 返回顶部 */
.float-dock {
  position: fixed;
  right: max(24px, env(safe-area-inset-right, 0px));
  bottom: max(88px, env(safe-area-inset-bottom, 0px));
  z-index: 55;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-end;
  pointer-events: none;
}

.float-dock__item {
  position: relative;
  pointer-events: auto;
}

.float-dock__item--inquiry {
  display: flex;
  align-items: center;
  animation: floatDockBounce 3.5s ease-in-out infinite;
}

.float-dock__item--inquiry:hover {
  animation-play-state: paused;
}

.float-dock__tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  transform: translateY(10px);
  background: #ffffff;
  color: #334155;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
  border: 1px solid rgba(226, 232, 240, 0.9);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

.float-dock__tooltip-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  background: #f1f5f9;
}

.float-dock__tooltip-text {
  line-height: 1.4;
}

.float-dock__item--inquiry:hover .float-dock__tooltip,
.float-dock__tooltip.float-dock__tooltip--show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.float-dock__badge {
  position: absolute;
  top: 0px;
  right: -2px;
  width: 14px;
  height: 14px;
  background: #ef4444;
  border-radius: 50%;
  border: 2px solid #fff;
  z-index: 2;
}

@keyframes floatDockBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.float-dock__btn--inquiry {
  width: 56px;
  height: 56px;
  min-height: 56px;
  border-radius: 50%;
  background: var(--color-primary, #1C46DB);
  color: #fff;
  border: none;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 0;
}

.float-dock__btn--inquiry:hover {
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.45);
  transform: scale(1.05);
}

.float-dock__btn--inquiry .float-dock__svg {
  width: 30px;
  height: 30px;
}

/* Progress Wrap (Back to Top) */
.progress-wrap {
  position: relative;
  height: 56px;
  width: 56px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(37, 99, 235, 0.1);
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: #fff;
}

.progress-wrap.active-progress {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.progress-wrap::after {
  position: absolute;
  content: '';
  top: 4px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.05);
  z-index: 1;
  transition: all 0.3s ease;
}

.progress-wrap:hover::after {
  background: var(--color-primary, #1C46DB);
}

.progress-wrap svg.progress-circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  transform: rotate(-90deg);
  pointer-events: none;
}

.progress-wrap svg.progress-circle path {
  fill: none;
  stroke: var(--color-primary, #1C46DB);
  stroke-width: 4;
  box-sizing: border-box;
  transition: all 0.1s linear;
}

.progress-wrap .float-dock__svg--arrow {
  position: relative;
  z-index: 3;
  width: 24px;
  height: 24px;
  color: var(--color-primary, #1C46DB);
  transition: all 0.3s ease;
}

.progress-wrap:hover .float-dock__svg--arrow {
  color: #fff;
  transform: translateY(-3px);
}

.inquiry-success-toast {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 14px;
  z-index: 6;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
  transform: scale(0.96);
}

.inquiry-success-toast.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.inquiry-success-toast__inner {
  text-align: center;
  padding: 24px 20px;
}

.inquiry-success-toast__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(145deg, #34d399, #059669);
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 12px;
  animation: inquirySuccessPop 0.55s ease;
}

.inquiry-success-toast__title {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: #1c1b1f;
}

.inquiry-success-toast__sub {
  margin: 8px 0 0;
  font-size: 16px;
  color: #5f6368;
}

@keyframes inquirySuccessPop {
  0% {
    transform: scale(0.4);
    opacity: 0;
  }
  70% {
    transform: scale(1.08);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}

.inquiry-form__status.is-success {
  color: #059669;
  font-weight: 600;
}

/* 站点 Logo（后台 site.site_logo / system.logo_url） */
.header-top .brand-logo {
  display: block;
  height: auto;
  max-height: 36px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  vertical-align: middle;
}

/* -------------------------------------------------------------------------- */
/* 首页 mega 菜单加高（仅 page-home；hero / 产品区块见 .home-top / .home-band） */
/* -------------------------------------------------------------------------- */

.home-top .hero-banner,
.home-top .banner-item {
  min-height: 230px;
}
.banner-bg {
  object-position: -60px;
}
@media (min-width: 565px) {
  .banner-bg {
    object-position: center;
  }
}
@media (min-width: 768px) {
  .home-top .hero-banner,
  .home-top .banner-item {
    min-height: 320px;
  }
}
@media (min-width: 991px) {
  .home-top .hero-banner,
  .home-top .banner-item {
    min-height: 410px;
  }

  .home-top .banner-item {
    padding: 0;
  }

  .home-top .banner-bg {
    border-radius: 12px;
  }

  .header-top {
    gap: 12px;
  }
  .header-top .brand-logo {
    max-height: 44px;
  }

}
@media (min-width: 1200px) {
  .home-top .hero-banner,
  .home-top .banner-item {
    min-height: 500px;
  }
}
@media (min-width: 1366px) {
  .home-top .hero-banner,
  .home-top .banner-item {
    min-height: 580px;
  }
}
@media (min-width: 1600px) {
  .home-top .hero-banner,
  .home-top .banner-item {
    min-height: 650px;
  }
}
/* 产品详情页 */
.detail-page--product .detail-gallery--elevated,
.detail-page--product .detail-info--elevated {
  border-radius: 0;
  padding: 0;
  border: none;
}

.detail-page--product .detail-info__title {
  margin-bottom: 14px;
  font-size: clamp(2.15rem, 2.9vw, 2.65rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.detail-page--product .detail-sku {
  margin-bottom: 18px;
  font-size: 16px;
}

.detail-page--product .detail-tags {
  gap: 10px;
  margin-bottom: 24px;
}

.detail-page--product .detail-tags span {
  font-size: 13px;
  padding: 7px 13px;
}

.detail-page--product .detail-price-card {
  padding: 28px;
  margin-bottom: 24px;
}

.detail-page--product .detail-price-hint {
  margin-top: 14px;
  font-size: 14px;
}

.detail-page--product .spec-table--product {
  margin-bottom: 24px;
  margin-top: 0;
}

.detail-page--product .spec-table--product > div {
  grid-template-columns: 164px 1fr;
  padding: 25px 0px;
  min-height: 56px;
}

.detail-page--product .spec-table--product dt,
.detail-page--product .spec-table--product dd {
  font-size: 16px;
}

.detail-page--product .detail-actions--lg .btn-primary,
.detail-page--product .detail-actions--lg .btn-ghost {
  min-height: 56px;
  padding: 0 30px;
  font-size: 17px;
  flex: 1;
  font-weight: 600;
}

/* -------------------------------------------------------------------------- */
/* Contact 合一页 + 产品详情增强 */
/* -------------------------------------------------------------------------- */

.page-cms-contact .site-main {
  background: linear-gradient(180deg, #f5f5f7 0%, #fafafa 22%, #ffffff 55%, #fbfbfd 100%);
}

/* 主导航与其它内页一致：不覆盖 .header-nav / .nav-inner（全站黑底白字见上文 .header-nav） */

.page-contact-unified {
  /* Apple / Material 混合：中性墨、细线、柔和 elevation */
  position: relative;
  z-index: 0;
  --ct-ink: #1d1d1f;
  --ct-ink2: #3a3a3c;
  --ct-muted: #6e6e73;
  --ct-line: rgba(0, 0, 0, 0.06);
  --ct-line2: rgba(0, 0, 0, 0.1);
  --ct-fill: rgba(255, 255, 255, 0.82);
  --ct-blue: #0071e3;
  --ct-blue-g: #1C46DB;
  --ct-sh-1: 0 1px 2px rgba(0, 0, 0, 0.04);
  --ct-sh-2: 0 4px 24px rgba(0, 0, 0, 0.06);
  --ct-sh-3: 0 12px 48px rgba(0, 0, 0, 0.08);
  /* 统一主阅读列与左右边距（全页同一节奏） */
  --ct-read: min(48rem, 100%);
  --ct-gutter-x: clamp(20px, 5vw, 56px);
  scroll-margin-top: 0;
  font-size: clamp(17px, 1.16vw, 20px);
  line-height: 1.7;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--ct-ink2);
}

/* .page-contact-unified .container {
  max-width: min(1320px, 100%);
  padding-left: var(--ct-gutter-x, clamp(20px, 5vw, 56px));
  padding-right: var(--ct-gutter-x, clamp(20px, 5vw, 56px));
} */

.page-contact-unified > section.container.section-block {
  padding-bottom: clamp(40px, 5.5vw, 80px);
}

.page-contact-unified > section.container.section-block ~ section.container.section-block {
  margin-top: clamp(48px, 6vw, 88px);
}

.page-contact-unified .page-contact-grid.section-block {
  margin-top: 0;
  padding-top: clamp(12px, 2vw, 24px);
  padding-bottom: clamp(48px, 7vw, 96px);
}

.page-contact-anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
}

.page-contact-anchor-nav a {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: clamp(17px, 1.2vw, 20px);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ct-ink, #1d1d1f);
  background: var(--ct-fill, rgba(255, 255, 255, 0.82));
  border: 1px solid var(--ct-line, rgba(0, 0, 0, 0.06));
  box-shadow: var(--ct-sh-1, 0 1px 2px rgba(0, 0, 0, 0.04));
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.page-contact-anchor-nav a:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 113, 227, 0.22);
  box-shadow: var(--ct-sh-2, 0 4px 24px rgba(0, 0, 0, 0.06));
}

.page-about-hero {
  position: relative;
  margin-inline: calc(50% - 50vw);
  width: 100vw;
  min-height: clamp(340px, 42vw, 560px);
  display: flex;
  align-items: flex-end;
  padding: 62px 0 58px;
  overflow: hidden;
  color: #0f172a;
}

.page-contact-top-hero {
  /* 合一页顶区块：水平居中 + 顶对齐 + 更高留白 */
  align-items: flex-start;
  justify-content: center;
  min-height: clamp(520px, 62vw, 900px);
  padding-top: clamp(48px, 6vw, 88px);
  padding-bottom: clamp(72px, 8vw, 112px);
}

.page-contact-top-hero .page-about-hero__inner {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  max-width: 100%;
}

.page-contact-top-hero .page-about-hero__kicker {
  margin-bottom: 16px;
  font-size: clamp(13px, 1.05vw, 15px);
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--ct-muted, #6e6e73);
}

.page-contact-top-hero .page-about-hero__title {
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 5.25rem);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.045em;
  color: var(--ct-ink, #1d1d1f);
  text-shadow: none;
}

.page-contact-top-hero .page-about-hero__metrics {
  justify-content: center;
  gap: 14px 16px;
  margin-bottom: 28px;
}

.page-contact-top-hero .page-contact-anchor-nav {
  justify-content: center;
}

.page-contact-top-hero .page-about-hero__lead {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
  max-width: min(38em, 100%);
  font-size: clamp(1.14rem, 1.35vw, 1.42rem);
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--ct-ink2, #3a3a3c);
}

.page-contact-top-hero .page-about-hero__metrics span {
  min-height: 48px;
  padding: 11px 20px;
  font-size: clamp(15px, 1.12vw, 17px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ct-ink, #1d1d1f);
  background: var(--ct-fill, rgba(255, 255, 255, 0.82));
  border: 1px solid var(--ct-line, rgba(0, 0, 0, 0.06));
  box-shadow: var(--ct-sh-1, 0 1px 2px rgba(0, 0, 0, 0.04));
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
}

/* 面包屑叠在 Contact 顶区渐变 / 网格背景上 */
.page-contact-top-hero .detail-breadcrumb--in-contact-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 0 18px;
  margin: 0;
  font-size: 14px;
  color: var(--ct-muted, #6e6e73);
}

.page-contact-top-hero .detail-breadcrumb--in-contact-hero a {
  color: var(--ct-ink2, #3a3a3c);
  text-decoration: none;
}

.page-contact-top-hero .detail-breadcrumb--in-contact-hero a:hover {
  color: var(--ct-blue-g, #1C46DB);
  text-decoration: none;
}

.page-contact-top-hero .detail-breadcrumb--in-contact-hero .detail-breadcrumb__sep {
  color: rgba(0, 0, 0, 0.22);
}

.page-contact-top-hero .detail-breadcrumb--in-contact-hero .detail-breadcrumb__current {
  color: var(--ct-ink, #1d1d1f);
  font-weight: 600;
}

/* Contact 顶区：更克制的背景（偏 Apple 中性 + 极淡色晕） */
.page-contact-top-hero .page-about-hero__mesh {
  background:
    radial-gradient(ellipse 100% 80% at 10% 0%, rgba(0, 113, 227, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse 90% 70% at 95% 10%, rgba(26, 115, 232, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 80% 55% at 50% 100%, rgba(0, 0, 0, 0.03) 0%, transparent 45%),
    linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 38%, #ffffff 100%);
}

.page-contact-top-hero .page-about-hero__mesh::after {
  opacity: 0.4;
  background-size: 72px 72px;
}

.page-contact-top-hero .page-about-hero__glow--a {
  opacity: 0.38;
  filter: blur(96px);
  background: rgba(0, 113, 227, 0.35);
}

.page-contact-top-hero .page-about-hero__glow--b {
  opacity: 0.32;
  filter: blur(96px);
  background: rgba(99, 102, 241, 0.22);
}

.page-about-hero[data-hero-tilt] .page-about-hero__mesh,
.page-about-hero[data-hero-tilt] .page-about-hero__glow,
.page-about-hero[data-hero-tilt] .page-about-hero__inner {
  transition: transform 0.25s ease-out;
  will-change: transform;
}

.page-about-hero[data-hero-tilt] .page-about-hero__inner {
  transform: translate3d(var(--hero-tilt-x, 0px), var(--hero-tilt-y, 0px), 0);
}

.page-about-hero__mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 80% at 12% 14%, rgba(56, 189, 248, 0.26) 0%, transparent 56%),
    radial-gradient(ellipse 100% 70% at 92% 8%, rgba(168, 85, 247, 0.24) 0%, transparent 52%),
    radial-gradient(ellipse 85% 62% at 54% 100%, rgba(52, 211, 153, 0.2) 0%, transparent 48%),
    radial-gradient(ellipse 58% 48% at 72% 58%, rgba(251, 188, 4, 0.14) 0%, transparent 44%),
    linear-gradient(145deg, #f8fbff 0%, #eef6ff 42%, #f5f3ff 78%, #eff6ff 100%);
}

.page-about-hero__mesh::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 100%);
  pointer-events: none;
}

.page-about-hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  pointer-events: none;
}

.page-about-hero__glow--a {
  width: min(520px, 55vw);
  height: min(520px, 55vw);
  left: -8%;
  top: -18%;
  background: var(--hub-brand-blue, #7dd3fc);
}

.page-about-hero__glow--b {
  width: min(480px, 50vw);
  height: min(480px, 50vw);
  right: -10%;
  bottom: -25%;
  background: var(--hub-brand-red, #c4b5fd);
}

.page-about-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

.page-about-hero__kicker {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #475569;
}

.page-about-hero__title {
  margin: 0 0 14px;
  text-shadow: 0 8px 24px rgba(125, 211, 252, 0.22);
}

.page-about-hero__lead {
  margin: 0 0 28px;
  color: #334155;
  max-width: 56ch;
}

.page-about-hero__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 24px;
}

.page-about-hero__metrics span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: clamp(14px, 1vw, 16px);
  font-weight: 700;
  color: #1e293b;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 8px 20px rgba(14, 116, 144, 0.08);
}

.page-contact-unified .page-contact-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.92fr);
}

.page-contact-unified .page-contact-form-card {
  padding: clamp(32px, 4.2vw, 52px);
  border-radius: clamp(24px, 2.6vw, 34px);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--ct-line, rgba(0, 0, 0, 0.06));
  box-shadow: var(--ct-sh-1, 0 1px 2px rgba(0, 0, 0, 0.04)), var(--ct-sh-3, 0 12px 48px rgba(0, 0, 0, 0.08));
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.page-contact-unified .page-contact-aside {
  padding: clamp(32px, 4.2vw, 52px);
}

.page-contact-unified .page-contact-card-title {
  margin-bottom: clamp(20px, 2.2vw, 28px);
  margin-top: 0;
  color: var(--ct-ink, #1d1d1f);
  letter-spacing: -0.03em;
}

.page-contact-unified .page-contact-lead-inline {
  margin: -10px 0 clamp(22px, 2.5vw, 30px);
  font-size: 1.06em;
  color: var(--ct-muted, #6e6e73);
}

.page-contact-unified .page-contact-dl dt {
  font-size: 12px;
  margin: 22px 0 8px;
  color: var(--ct-muted, #6e6e73);
  letter-spacing: 0.08em;
  font-weight: 700;
  text-transform: uppercase;
}

.page-contact-unified .page-contact-dl dt:first-child {
  margin-top: 0;
}

.page-contact-unified .page-contact-dl dd {
  font-size: 1.05em;
  color: var(--ct-ink2, #3a3a3c);
  margin: 0;
}

.page-contact-unified .page-contact-dl a {
  color: var(--ct-blue-g, #1C46DB);
}

.page-contact-unified .contact-form-grid {
  gap: 20px 22px;
}

.page-contact-unified .contact-form-grid input,
.page-contact-unified .contact-form-grid textarea {
  padding: 15px 16px;
  font-size: 17px;
  border-radius: 14px;
  border: 1px solid #d2d2d7;
  background: #fff;
  color: var(--ct-ink, #1d1d1f);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-contact-unified .contact-form-grid input:focus,
.page-contact-unified .contact-form-grid textarea:focus {
  border-color: rgba(0, 113, 227, 0.55);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.14);
  outline: none;
}

.page-contact-unified .contact-form-grid textarea {
  min-height: 168px;
}

.page-contact-unified .contact-form-actions {
  margin-top: clamp(24px, 3vw, 32px);
  gap: 16px;
}

.page-contact-unified .contact-form-actions .inquiry-form__submit,
.page-contact-unified .contact-form-actions .btn-ghost {
  min-height: 50px;
  padding-inline: 32px;
  font-size: 17px;
  border-radius: 14px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}

.contact-form-grid .inquiry-form__field--full {
  grid-column: 1 / -1;
}

.contact-form-grid input,
.contact-form-grid textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #b9c7dc;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 16px;
  font-family: var(--font-sans);
  background: #fff;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.contact-form-grid input:focus,
.contact-form-grid textarea:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.18);
  outline: none;
}

.contact-form-grid textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.contact-form-actions .inquiry-form__submit,
.contact-form-actions .btn-ghost {
  min-height: 46px;
  padding-inline: 26px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
}

@media (min-width: 768px) {
  .page-contact-unified .contact-form-actions {
    flex-wrap: nowrap;
  }

  .page-contact-unified .contact-form-actions .inquiry-form__submit,
  .page-contact-unified .contact-form-actions .btn-ghost {
    flex: 1 1 0;
    width: auto;
  }
}

/* 联系页表单区：主 grid / 字段 / 按钮响应（须覆盖 .page-contact-unified 高特异性） */
@media (max-width: 1199px) {
  .page-contact-unified .page-contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(28px, 4vw, 48px);
  }
}

@media (max-width: 767px) {
  .page-contact-unified .contact-form-grid,
  .contact-form-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .page-contact-unified .page-contact-form-card,
  .page-contact-unified .page-contact-aside {
    padding: clamp(20px, 5vw, 28px);
    border-radius: 20px;
  }

  .page-contact-unified .page-contact-lead-inline {
    margin-top: 0;
    font-size: 0.98rem;
  }

  .page-contact-unified .contact-form-actions,
  .contact-form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .page-contact-unified .contact-form-actions .inquiry-form__submit,
  .page-contact-unified .contact-form-actions .btn-ghost,
  .contact-form-actions .inquiry-form__submit,
  .contact-form-actions .btn-ghost {
    flex: none;
    width: 100%;
    min-height: 48px;
  }
}

@media (max-width: 565px) {
  .page-contact-unified .page-contact-grid.section-block {
    padding-top: 8px;
    padding-bottom: clamp(32px, 8vw, 48px);
  }

  .page-contact-top-hero {
    min-height: auto;
    padding-top: clamp(28px, 7vw, 40px);
    padding-bottom: clamp(36px, 9vw, 52px);
  }

  .page-contact-top-hero .page-about-hero__title {
    font-size: clamp(2rem, 9vw, 2.75rem);
    margin-bottom: 16px;
  }

  .page-contact-top-hero .page-about-hero__lead {
    margin-bottom: 24px;
    font-size: 1rem;
  }

  .page-contact-top-hero .page-about-hero__metrics {
    margin-bottom: 20px;
  }

  .page-contact-top-hero .page-about-hero__metrics span {
    min-height: 44px;
    padding: 10px 14px;
    font-size: 14px;
  }

  .page-contact-anchor-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .page-contact-anchor-nav a {
    justify-content: center;
    padding: 12px 20px;
    font-size: 16px;
  }

  .page-contact-unified .page-contact-dl dt {
    margin-top: 18px;
  }
}

/* 合一页内按钮（联系页专用） */
.page-contact-unified .inquiry-form__submit {
  border-radius: var(--ui-radius-md, 12px);
  font-weight: 600;
  background: var(--color-primary, #1C46DB);
  color: #fff;
  transition: background 0.18s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 8px 20px rgba(26, 115, 232, 0.28);
  letter-spacing: -0.015em;
}

.page-contact-unified .inquiry-form__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06), 0 12px 26px rgba(26, 115, 232, 0.34);
}

.page-contact-unified .contact-form-reset {
  border: 1px solid var(--ct-line2, rgba(0, 0, 0, 0.1));
  background: rgba(255, 255, 255, 0.72);
  color: var(--ct-ink, #1d1d1f);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* 产品详情增强 */
.detail-breadcrumb {
  padding-top: 24px;
  padding-bottom: 24px;
  font-size: 14px;
  color: #64748b;
}

.detail-breadcrumb a {
  color: #64748b;
  text-decoration: none;
  cursor: pointer;
}

.detail-breadcrumb a:hover {
  color: var(--color-primary, #1C46DB);
  text-decoration: none;
}

.detail-breadcrumb__sep {
  margin: 0 6px;
  color: #94a3b8;
}

.detail-breadcrumb__current {
  color: #0f172a;
  font-weight: normal;
}

.detail-page--product {
  margin-top: 16px;
  gap: 40px;
  align-items: stretch;
  position: relative;
  grid-template-areas:
    "gallery info"
    "tabs info";
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 1fr);
}

.detail-page--product .detail-gallery--elevated {
  grid-area: gallery;
  align-self: start;
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.page-detail-product .detail-gallery .product-thumbs-carousel.thumbs--detail,
.page-detail-product .detail-gallery .product-thumbs-carousel__inner,
.page-detail-product .detail-gallery .product-thumbs-carousel__viewport {
  min-width: 0;
  max-width: 100%;
}

.detail-page--product .detail-info--elevated {
  grid-area: info;
  align-self: start;
  position: static;
}

.detail-page--product .detail-tabs-wrap {
  grid-area: tabs;
}

.detail-sticky-actions {
  position: static;
  z-index: 20;
}

.detail-sticky-actions.is-fixed {
  position: fixed;
}

.detail-sticky-actions.is-stopped {
  position: absolute;
}

.detail-sticky-actions-placeholder {
  display: none;
}

.detail-sticky-actions-placeholder.is-active {
  display: block;
  pointer-events: none;
  visibility: hidden;
}

.detail-gallery--elevated,
.detail-info--elevated {
  border-radius: 16px;
  padding: clamp(16px, 2vw, 22px);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 20px 50px rgba(15, 23, 42, 0.08);
}

.detail-gallery__stage {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(180deg, #f1f5f9, #fff);
  border: 0;
}

/* 产品内页主图：正方形 + 切换淡入淡出 */
.detail-page--product .detail-gallery__stage-main {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #fff;
}

.detail-page--product .detail-gallery__stage-main #mainImage {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  border: 0;
  opacity: 1;
  transition: opacity 0.42s ease;
  will-change: opacity;
}

.detail-page--product .detail-gallery__stage-main #mainImage.is-fading {
  opacity: 0;
}

.detail-gallery__stage img:not(.lcd-quality-badge__img) {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

/* 产品详情缩略图：5.25 张预览 + 左右箭头 + 响应式 */
.page-detail-product .detail-gallery .product-thumbs-carousel.thumbs--detail {
  --product-thumb-size: 100px;
  --product-thumb-gap: 10px;
  --product-thumb-nav: 40px;
  display: block;
  width: 100%;
  margin-top: 16px;
  padding: 0;
}

.page-detail-product .detail-gallery .product-thumbs-carousel__inner {
  position: relative;
  width: 100%;
}

.page-detail-product .detail-gallery .product-thumbs-carousel__viewport {
  width: 100%;
  overflow: hidden;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.page-detail-product .detail-gallery .product-thumbs-carousel.is-dragging .product-thumbs-carousel__viewport {
  cursor: grabbing;
}

.page-detail-product .detail-gallery .product-thumbs-carousel__track {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: var(--product-thumb-gap);
  margin: 0;
  padding: 0;
  will-change: transform;
  transition: transform 0.4s cubic-bezier(0.25, 0.5, 0.5, 0.9);
}

.page-detail-product .detail-gallery .product-thumbs-carousel.is-dragging .product-thumbs-carousel__track {
  transition: none;
}

.page-detail-product .detail-gallery .product-thumbs-carousel__track img {
  flex: 0 0 var(--product-thumb-size);
  box-sizing: border-box;
  width: var(--product-thumb-size);
  height: var(--product-thumb-size);
  max-width: var(--product-thumb-size);
  aspect-ratio: 1 / 1;
  max-height: none;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #fff;
  cursor: pointer;
  pointer-events: auto;
  user-select: none;
  -webkit-user-drag: none;
  padding: 4px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  transform: none;
  box-shadow: none;
  touch-action: manipulation;
}

.page-detail-product .detail-gallery .product-thumbs-carousel__track img:hover {
  border-color: #cbd5e1;
}

.page-detail-product .detail-gallery .product-thumbs-carousel__track img.active {
  border: 2px solid var(--color-primary, #2563eb);
  padding: 3px;
  box-shadow: none;
}

.page-detail-product .detail-gallery .product-thumbs-carousel__btn {
  position: absolute;
  top: 50%;
  z-index: 8;
  display: none;
  align-items: center;
  justify-content: center;
  width: var(--product-thumb-nav);
  height: var(--product-thumb-nav);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #64748b;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.14);
  cursor: pointer;
  transform: translateY(-50%);
  pointer-events: auto;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.page-detail-product .detail-gallery .product-thumbs-carousel__btn--prev {
  left: 0;
}

.page-detail-product .detail-gallery .product-thumbs-carousel__btn--next {
  right: 0;
}

.page-detail-product .detail-gallery .product-thumbs-carousel.has-multiple .product-thumbs-carousel__btn--prev,
.page-detail-product .detail-gallery .product-thumbs-carousel.has-multiple .product-thumbs-carousel__btn--next {
  display: inline-flex;
}

.page-detail-product .detail-gallery .product-thumbs-carousel__btn[hidden] {
  display: none;
}

.page-detail-product .detail-gallery .product-thumbs-carousel__btn span {
  display: block;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.page-detail-product .detail-gallery .product-thumbs-carousel__btn--prev span {
  transform: rotate(-135deg);
  margin-left: 2px;
}

.page-detail-product .detail-gallery .product-thumbs-carousel__btn--next span {
  transform: rotate(45deg);
  margin-right: 2px;
}

.page-detail-product .detail-gallery .product-thumbs-carousel__btn:hover {
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.18);
  transform: translateY(-50%) scale(1.05);
}

/* 覆盖 main.css 的 .thumbs 网格，避免缩略图被压小 */
.page-detail-product .detail-gallery .thumbs.thumbs--detail {
  display: block;
  grid-template-columns: none;
  gap: 0;
}

.page-detail-product .detail-gallery .thumbs.thumbs--detail img {
  width: auto;
  transform: none;
}

/* 产品详情画廊 + 缩略图轮播：平板 */
@media (max-width: 1023px) {
  .page-detail-product .detail-gallery .product-thumbs-carousel.thumbs--detail {
    --product-thumb-nav: 38px;
  }
}

/* 产品详情画廊 + 缩略图轮播：手机 */
@media (max-width: 767px) {
  .detail-page--product .detail-gallery--elevated {
    overflow: hidden;
  }

  .detail-page--product .detail-gallery__stage {
    border-radius: 10px;
  }

  .detail-page--product .detail-gallery__stage-main {
    border-radius: 10px;
  }

  .page-detail-product .detail-gallery .product-thumbs-carousel.thumbs--detail {
    --product-thumb-gap: 8px;
    --product-thumb-nav: 36px;
    margin-top: 10px;
    max-width: 100%;
  }

  .page-detail-product .detail-gallery .product-thumbs-carousel__viewport {
    touch-action: pan-x pinch-zoom;
  }

  .page-detail-product .detail-gallery .product-thumbs-carousel__track img {
    padding: 3px;
    border-radius: 6px;
  }

  .page-detail-product .detail-gallery .product-thumbs-carousel__track img.active {
    padding: 2px;
  }

  .page-detail-product .detail-gallery .product-thumbs-carousel__btn {
    width: var(--product-thumb-nav);
    height: var(--product-thumb-nav);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.16);
  }

  .page-detail-product .detail-gallery .product-thumbs-carousel__btn--prev {
    left: 4px;
  }

  .page-detail-product .detail-gallery .product-thumbs-carousel__btn--next {
    right: 4px;
  }

  .page-detail-product .detail-gallery .product-thumbs-carousel__btn span {
    width: 7px;
    height: 7px;
  }
}

@media (max-width: 479px) {
  .detail-page--product .detail-gallery__stage,
  .detail-page--product .detail-gallery__stage-main {
    border-radius: 8px;
  }

  .page-detail-product .detail-gallery .product-thumbs-carousel.thumbs--detail {
    --product-thumb-gap: 6px;
    --product-thumb-nav: 32px;
    margin-top: 8px;
  }

  .page-detail-product .detail-gallery .product-thumbs-carousel__btn--prev {
    left: 2px;
  }

  .page-detail-product .detail-gallery .product-thumbs-carousel__btn--next {
    right: 2px;
  }
}

@media (hover: none) and (pointer: coarse) {
  .page-detail-product .detail-gallery .product-thumbs-carousel__track img:hover {
    border-color: #e2e8f0;
  }

  .page-detail-product .detail-gallery .product-thumbs-carousel__track img:active {
    border-color: #bfceea;
  }

  .page-detail-product .detail-gallery .product-thumbs-carousel__btn:hover {
    transform: translateY(-50%);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.14);
  }
}

/* 产品详情：<991 单列；≥991 保持左画廊 + 右信息 */
@media (max-width: 990px) {
  .detail-page--product .detail-gallery--elevated {
    width: 100%;
    max-width: 100%;
  }
  .float-dock {
    bottom: max(32px, env(safe-area-inset-bottom, 0px))
  }
}

/* 产品详情：平板横屏 ~768–990（单列时的轮播按钮） */
@media (min-width: 768px) and (max-width: 990px) {
  .page-detail-product .detail-gallery .product-thumbs-carousel.thumbs--detail {
    --product-thumb-nav: 38px;
  }

  .page-detail-product .detail-gallery .product-thumbs-carousel__btn--prev {
    left: 6px;
  }

  .page-detail-product .detail-gallery .product-thumbs-carousel__btn--next {
    right: 6px;
  }
}

.detail-product-line {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.detail-info__title {
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  line-height: 1.3;
}

.detail-sku {
  margin: 0 0 16px;
  font-size: 14px;
  color: #64748b;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.detail-tags span {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(16, 185, 129, 0.1));
  color: #1e40af;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.detail-price-card {
  padding: 16px 18px;
  border-radius: 14px;
  background:#F5F5F7;
  border: 0;
  margin-bottom: 20px;
}

.detail-signin-box {
  margin: 0;
  text-align: left;
  padding: 0;
  border-radius: 10px;
  font-weight: 700;
  background: transparent;
  border: 0;
}

.detail-price-hint {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #64748b;
}

.spec-table--product {
  margin-bottom: 22px;
  border-radius: 0;
  overflow: hidden;
  border: 0;
}

.spec-table--product > div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #DEE1E7;
  align-items: baseline;
}

.spec-table--product > div:last-child {
  border-bottom: none;
}

.spec-table--product dt {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #181818;
}

.spec-table--product dd {
  margin: 0;
  font-size: 14px;
  color: #181818;
}

.detail-actions--lg {
  gap: 14px;
}

.detail-actions--lg .btn-primary,
.detail-actions--lg .btn-ghost {
  min-height: 48px;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 600;
}

.detail-page--product .detail-tabs-wrap {
  margin-top: 0;
}

.detail-page--product .detail-tabs--pill {
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(28px, 5.4vw, 58px);
  padding: 0;
  background: transparent;
  border-bottom: 1px solid #d8dde6;
  border-radius: 0;
  margin-bottom: 22px;
}

.detail-page--product .detail-tabs--pill button {
  border: none;
  background: transparent;
  position: relative;
  min-width: 0;
  height: auto;
  padding: 0 0 11px;
  border-radius: 0;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.2;
  color: #111827;
  cursor: pointer;
  transition: color 0.18s ease;
  box-shadow: none;
  transform: none;
  -webkit-tap-highlight-color: transparent;
}

.detail-page--product .detail-tabs--pill button:hover,
.detail-page--product .detail-tabs--pill button:focus,
.detail-page--product .detail-tabs--pill button:active {
  background: transparent;
  border-color: transparent;
  color: #111827;
  box-shadow: none;
  outline: none;
  transform: none;
}

.detail-page--product .detail-tabs--pill button.active {
  background: transparent;
  color: #1d4ed8;
  box-shadow: none;
  font-weight: 700;
}

.detail-page--product .detail-tabs--pill button.active:hover,
.detail-page--product .detail-tabs--pill button.active:focus,
.detail-page--product .detail-tabs--pill button.active:active {
  color: #1d4ed8;
}

.detail-page--product .detail-tabs--pill button.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 4px;
  background: #2563eb;
}

/* 产品详情 Tab：移动端 2×2 网格（四字全可见，无需滑动/缩字） */
@media (max-width: 767px) {
  .detail-page--product .detail-tabs--pill {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    border-bottom: none;
    margin-bottom: 20px;
  }

  .detail-page--product .detail-tabs--pill button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 12px 14px;
    font-size: 17px;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
    border-radius: 10px;
    border: 1px solid #d8dde6;
    background: #fff;
  }

  .detail-page--product .detail-tabs--pill button:hover,
  .detail-page--product .detail-tabs--pill button:focus,
  .detail-page--product .detail-tabs--pill button:active {
    border-color: #cbd5e1;
    background: #f8fafc;
  }

  .detail-page--product .detail-tabs--pill button.active {
    border-color: #2563eb;
    background: #eff6ff;
    color: #1d4ed8;
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.12);
  }

  .detail-page--product .detail-tabs--pill button.active:hover,
  .detail-page--product .detail-tabs--pill button.active:focus,
  .detail-page--product .detail-tabs--pill button.active:active {
    border-color: #2563eb;
    background: #dbeafe;
    color: #1d4ed8;
  }

  .detail-page--product .detail-tabs--pill button.active::after {
    display: none;
  }
}

@media (max-width: 479px) {
  .detail-page--product .detail-tabs--pill {
    gap: 8px;
  }

  .detail-page--product .detail-tabs--pill button {
    min-height: 48px;
    padding: 10px 12px;
    font-size: 16px;
  }
}

.detail-page--product[data-reveal],
.detail-page--product[data-reveal].is-visible {
  opacity: 1;
  transform: none;
  animation: none;
}

.detail-description {
  padding: 8px 0 24px;
  box-shadow: none;
  border: 0;
  border-radius: 0;
}

.detail-description.hidden {
  display: none;
}

.detail-description h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  color: #0f172a;
}

.detail-description ul {
  margin: 0 0 20px;
  padding-left: 1.2em;
  color: #475569;
  line-height: 1.65;
}

.detail-description img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 0;
}

@media (max-width: 990px) {
  .detail-page--product {
    grid-template-areas:
      "gallery"
      "info"
      "tabs";
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
  }

  .detail-page--product .detail-info--elevated {
    position: static;
  }

  .detail-sticky-actions,
  .detail-sticky-actions.is-fixed,
  .detail-sticky-actions.is-stopped {
    position: static;
    top: auto;
    left: auto;
    width: auto;
  }

  .detail-sticky-actions-placeholder.is-active {
    display: none;
  }
}

/* ========================================================================== */
/* Google Material Design / Clean Workspace Style Alignment                   */
/* ========================================================================== */

:root {
  /* Google standard web fonts */
  --font-sans: "Google Sans", "Roboto", "Segoe UI", system-ui, -apple-system, sans-serif;
  
  /* Classic Google Blue & Neutral tones */
  --color-primary: #1C46DB;
  --color-primary-dark: #153cc7;
  --color-primary-light: #e8f0fe;
  --ui-card-border: #DEE1E7;
  
  /* Softer, standard border radii */
  --ui-radius-sm: 4px;
  --ui-radius-md: 8px;
  --ui-radius-lg: 12px;
  
  /* Material Design Elevation Shadows (Adjusted for softer, natural look) */
  --ui-elev-1: 0 2px 8px rgba(15, 23, 42, 0.03), 0 1px 2px rgba(15, 23, 42, 0.02);
  --ui-elev-2: 0 10px 28px rgba(15, 23, 42, 0.06), 0 4px 12px rgba(15, 23, 42, 0.03);

  /* Unified Typography Scale */
  --ui-fs-display: clamp(2.25rem, 4vw, 3rem);
  --ui-fs-h1: clamp(2rem, 3vw, 3rem);
  --ui-fs-h2: clamp(1.75rem, 2.5vw, 2.5rem);
  --ui-fs-h3: clamp(1.25rem, 1.75vw, 1.5rem);
  --ui-fs-body-lg: 1.125rem;
  --ui-fs-body: 0.875rem;
}

body {
  font-family: var(--font-sans);
  color: #1a1a1a;
  letter-spacing: 0.014em;
  background: #ffffff; /* White background */
}

/* Tidy up Headers */
h1, h2, h3, h4, h5, h6, .ui-display, .ui-h1, .ui-h2, .ui-h3, .section-title h2 {
  font-family: "Google Sans", var(--font-sans);
  color: #202124;
  font-weight: 600; /* Google usually prefers regular weight for large text */
  letter-spacing: normal;
}

/* ========================================================================== */
/* Clean Card Styles                                                          */
/* ========================================================================== */
.product-card, 
.blog-grid article, 
.company-feature-grid article, 
.detail-gallery,
.detail-info {
  background: #ffffff;
  border: 1px solid var(--ui-card-border);
  border-radius: var(--ui-radius-lg);
  box-shadow: none;
  transition: transform 0.2s cubic-bezier(0.4, 0.0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0.0, 0.2, 1), border-color 0.2s ease;
}

/* Card Hover Elevation (The Material "Lift") */
.product-card:hover, 
.blog-grid article:hover {
  transform: translateY(-2px);
  box-shadow: var(--ui-elev-2);
  border-color: transparent;
}

.product-card::before, .product-card::after {
  content: none; /* Remove legacy decorative dots/sweeps */
}

/* ========================================================================== */
/* Pill-shaped Buttons (Material 3 / Workspace vibe)                          */
/* ========================================================================== */
.btn-primary, 
.search-btn, 
.contact-form-actions .inquiry-form__submit {
  background-color: var(--color-primary);
  color: #ffffff;
  border-radius: 10px; /* Pill shape */
  padding: 0 24px;
  border: none;
  font-family: "Google Sans", var(--font-sans);
  font-weight: 500;
  letter-spacing: 0.25px;
  box-shadow: none;
  transition: background-color 0.2s, box-shadow 0.2s;
}

.btn-primary:hover, 
.search-btn:hover, 
.contact-form-actions .inquiry-form__submit:hover {
  background-color: var(--color-primary-dark);
  box-shadow: var(--ui-elev-1);
  transform: none; /* Override legacy jump */
}

.btn-ghost, 
.contact-form-actions .btn-ghost, 
.contact-form-reset {
  background-color: transparent;
  color: var(--color-primary);
  border: 1px solid var(--ui-card-border);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: "Google Sans", var(--font-sans);
  font-weight: 500;
  box-shadow: none;
  transition: background-color 0.2s, border-color 0.2s;
}

.btn-ghost:hover, 
.contact-form-actions .btn-ghost:hover, 
.contact-form-reset:hover {
  background-color: var(--color-primary-light);
  border-color: transparent;
  transform: none;
}
.contact-form-reset {
  width: 100%;
}

/* ========================================================================== */
/* Inputs & Forms                                                             */
/* ========================================================================== */
.search-box {
  border-radius: 10px;
  border: 1px solid var(--ui-card-border);
  box-shadow: none;
  overflow: hidden;
  transition: border-color 0.2s ease;
  padding: 3px 3px 3px 0;
  min-height: 42px;
}

.search-box:focus-within {
  border-color: var(--color-primary);
  /* Material outline approach */
  box-shadow: inset 0 0 0 1px var(--color-primary); 
}

.search-btn {
  padding: 0 18px;
  border-left: none;
}

/* 聚焦 input 时自动放大：各移动端浏览器通用阈值是 computed font-size < 16px
   （WebKit/Blink 及多数 WebView，不限 iOS） */
.search-input {
  font-size: 16px;
}

@media (max-width: 990px), (hover: none) and (pointer: coarse) {
  .site-wrap input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="image"]):not(.inquiry-form__hp),
  .site-wrap textarea,
  .site-wrap select {
    font-size: max(16px, 1em);
  }
}

.inquiry-form__grid input, 
.inquiry-form__grid textarea, 
.contact-form-grid input, 
.contact-form-grid textarea {
  border: 1px solid var(--ui-card-border);
  border-radius: var(--ui-radius-md);
  color: #202124;
  font-family: var(--font-sans);
}

.inquiry-form__grid input:focus, 
.inquiry-form__grid textarea:focus, 
.contact-form-grid input:focus, 
.contact-form-grid textarea:focus {
  border-color: var(--color-primary);
  box-shadow: inset 0 0 0 1px var(--color-primary);
}

input::placeholder,
textarea::placeholder {
  color: #aaaaaa;
  opacity: 1;
}

/* ========================================================================== */
/* Detail Adjustments                                                         */
/* ========================================================================== */

/* 首页首屏 Banner：与模板主样式统一；不参与 data-reveal/GSAP 整块透明 */
.home-top {
  opacity: 1;
  transform: none;
  background: #ffffff;
  padding-top: 0;
  padding-bottom: 0;
}
.home-top .hero-banner {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ui-card-border);
}
.home-top .hero-banner::before {
  content: none;
}
/* 仅展示后台 Banner 图，去掉主样式里右侧装饰伪元素挡层 */
.home-top .hero-banner::after {
  content: none;
}
.home-top .hero-banner-swiper {
  position: relative;
  width: 100%;
}
.home-top .hero-banner-swiper:not(.swiper-container-initialized) .swiper-slide {
  opacity: 1;
}
.home-top .hero-banner-swiper .swiper-wrapper {
  align-items: stretch;
}
.home-top .hero-banner-swiper .swiper-slide {
  width: 100%;
}
.home-top .hero-banner-swiper.hero-native-carousel .swiper-wrapper {
  display: block;
  height: 100%;
}
.home-top .hero-banner-swiper.hero-native-carousel .swiper-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}
.home-top .hero-banner-swiper.hero-native-carousel .swiper-slide.swiper-slide-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.home-top .hero-banner-swiper .banner-item {
  width: 100%;
  display: block;
}
.home-top .hero-banner-swiper .banner-item .banner-bg {
  z-index: 0;
  opacity: 1;
  width: 100%;
  max-width: none;
  left: 0;
  right: 0;
}
.home-top .hero-banner-ui {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}
.home-top .hero-nav {
  position: absolute;
  top: 50%;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.32);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.hero-nav__svg,
.slider-arrow .slider-arrow__svg {
  width: 22px;
  height: 22px;
}
.hero-nav--prev::before,
.slider-arrow.slider-prev::before,
.slider-arrow.category-series-prev::before {
  transform: rotate(135deg);
}
.hero-nav--next::before,
.slider-arrow.slider-next::before,
.slider-arrow.category-series-next::before {
  transform: rotate(-45deg);
}
.home-top .hero-nav--prev {
  left: max(18px, calc((100vw - var(--ui-max-width)) / 2 + 18px));
  transform: translateY(-50%);
}
.home-top .hero-nav--next {
  right: max(18px, calc((100vw - var(--ui-max-width)) / 2 + 18px));
  transform: translateY(-50%);
}
.home-top .hero-nav:hover {
  background: rgba(37, 99, 235, 0.86);
}
.home-top .hero-nav--prev:hover {
  transform: translateY(-50%) translateX(-2px);
}
.home-top .hero-nav--next:hover {
  transform: translateY(-50%) translateX(2px);
}
.home-top .hero-banner-pagination {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: auto;
  max-width: calc(100% - 48px);
  pointer-events: auto;
  line-height: 1;
  text-align: center;
}
.home-top .hero-banner-pagination.swiper-pagination-bullets .swiper-pagination-bullet {
  margin: 0;
}
.home-top .hero-banner-pagination .swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  margin: 0;
  opacity: 1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  transition: transform 0.2s ease, background 0.2s ease;
}
.home-top .hero-banner-pagination .swiper-pagination-bullet-active {
  background: #ffffff;
  transform: scale(1.15);
}
.home-top .hero-banner-pagination .hero-native-bullet {
  display: inline-flex;
  width: 9px;
  height: 9px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  cursor: pointer;
}
.home-top .hero-banner-pagination .hero-native-bullet.is-active {
  background: #ffffff;
  transform: scale(1.15);
}

/* ========================================================================== */
/* Footer Redesign (Google Workspace Style)                                   */
/* ========================================================================== */
.footer {
  background: linear-gradient(to bottom, #F8F8FC, #ffffff);
  border-top: 0;
  padding-top: 20px;
  box-shadow: none;
}

.footer-main {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 60px;
  padding-top: 40px;
  border-top: none;
}

.footer-col h4 {
  font-size: var(--ui-fs-h3);
  font-weight: 600;
  color: #202124;
  margin-bottom: 24px;
  margin-top: 0;
}
.footer-subheading {
  font-size: 1.125rem;
  font-weight: 600;
  color: #202124;
  margin-bottom: 6px;
  margin-top: 10px;
}

.footer-col a:not(.cms-social), .footer-col p {
  display: block;
  font-size: 1rem;
  color: #514B81;
  margin-bottom: 16px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col-contact .footer-contact-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 8px;
  align-items: start;
  margin-bottom: 8px;
  text-align: left;
  line-height: 1.35;
}

.footer-col-contact .contact-label {
  grid-column: 1;
  white-space: nowrap;
  line-height: 1.35;
  align-self: start;
}

.footer-col-contact .contact-text,
.footer-col-contact .contact-link {
  grid-column: 2;
  margin-bottom: 0;
  text-align: left;
  word-break: break-word;
  line-height: 1.35;
}

/* nl2br 多行电话：压过各浏览器默认 br 行距 */
.footer-col-contact .contact-text br {
  display: block;
  margin-bottom: 2px;
  line-height: 0;
  content: "";
}

.footer-col-contact .contact-link:hover {
  color: #1C46DB;
}

/* Contact Us 栏内：Email 与 Address 之间的自媒体（与 Inquiry 弹窗同款） */
.footer-contact-social {
  margin: 20px 0 32px;
  min-height: 40px;
}

.footer-col-contact .footer-socials.footer-socials--inline {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 0;
  margin-bottom: 0;
}

.footer-col-contact .footer-socials--inline .cms-social {
  display: inline-flex;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  max-width: 36px;
  margin-bottom: 0;
  box-sizing: border-box;
}
.footer-col-contact .footer-socials--inline.inquiry-modal__social {
  margin-bottom: 0;
}

.footer-col-contact .footer-socials--inline .inquiry-social__link img {
  display: block;
  vertical-align: middle;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  margin-bottom: 32px;
}
.inquiry-modal .footer-socials {
  margin-bottom: 36px;
}

.footer-socials .inquiry-social__link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-socials .inquiry-social__link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-qr-img {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.footer-qr-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-col a:hover {
  color: var(--color-primary);
}

/* Social Icons Backgrounds (used for both modal and footer) */

/* CMS 站点配置 SNS：白标 SVG 需品牌色底（与 resolveFooterSocialSlug 一致） */
a.cms-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  overflow: hidden;
  border: none;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
a.cms-social:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
}
a.cms-social .footer-social-icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  flex-shrink: 0;
}
a.cms-social .cms-social-initial {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.02em;
  user-select: none;
}
a.cms-social.cms-social--generic {
  background-color: #ffffff;
}

/* Footer Bottom Strip */
.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid var(--ui-card-border);
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-nav {
  display: flex;
  gap: 24px;
}
.footer-nav a {
  font-size: 0.875rem;
  color: #514B81;
  text-decoration: none;
}
.footer-nav a:hover {
  color: var(--color-primary);
}
.footer-copy {
  font-size: 0.875rem;
  color: #514B81;
  margin: 0;
  padding: 0;
  border-top: none;
}

/* Friendship Links */
.footer-friendship-links {
  background: transparent;
  padding: 16px 0;
  border-top: 0;
}
.footer-friendship-links .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.friendship-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a1a1a;
}
.footer-friendship-links a {
  font-size: 0.875rem;
  color: #514B81;
  text-decoration: none;
}
.footer-friendship-links a:hover {
  color: var(--color-primary);
}

@media (max-width: 990px) {
  .footer-bottom-inner {
    flex-direction: column-reverse;
    text-align: center;
    justify-content: center;
  }
  .footer-nav {
    justify-content: center;
    flex-wrap: wrap;
  }
  .footer-copy {
    text-align: center;
  }
}
@media (max-width: 500px) {
  .footer-main {
    grid-template-columns: 1fr;
  }
}

:root {
  /* 内容区加宽，便于产品正方形封面与多列栅格（非删需求，仅满足展示） */
  --ui-max-width: 1680px;
  --font-sans: "Google Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* 横向裁切仅作用于主内容，不影响顶栏 sticky */
.site-main {
  padding-bottom: var(--space-4);
  overflow-x: hidden;
}

.container {
  max-width: var(--ui-max-width);
  padding-left: 16px;
  padding-right: 16px;
}

/* Home Band Alternating Colors */
.home-band {
  width: 100%;
  padding: 80px 0;
}
.home-band--white { background-color: #ffffff; }
.home-band--gray { background-color: #f4f5f7; }
.home-band--light { background-color: #f9fafb; }

/* 首页 Banner 下：金刚区 Swiper（数据来自区块 shouyejinggangqu） */
.home-recommend-channels {
  margin-top: 22px;
  margin-bottom: 54px;
  position: relative;
  z-index: 2;
}
.home-recommend-channels .category-series-slider {
  padding-bottom: 24px;
  overflow: hidden;
}
.home-recommend-channels .category-series-slider .swiper-slide {
  height: auto;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}
.home-recommend-channels .series-card {
  background: #fff;
  border: 1px solid #e7ebf3;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 315px;
  box-shadow: 0 6px 24px rgba(19, 35, 72, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.home-recommend-channels .series-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(19, 35, 72, 0.12);
}
.home-recommend-channels .series-card__top {
  text-align: center;
  padding: 22px 18px 14px;
  flex: 1 1 auto;
}
.home-recommend-channels .series-card__top h3 {
  margin: 0 0 8px;
  font-size: clamp(1.18rem, 1.6vw, 1.55rem);
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
}
.home-recommend-channels .series-card__top p {
  margin: 0 0 16px;
  color: #8b92a3;
  font-size: 13px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
.home-recommend-channels .series-card__cta {
  display: inline-block;
  padding: 8px 22px;
  border-radius: 999px;
  border: 1px solid rgba(36, 86, 219, 0.35);
  color: #2456db;
  font-weight: 600;
  font-size: 12px;
  text-decoration: none;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.home-recommend-channels .series-card__cta:hover {
  border-color: #2456db;
}

.home-product-series {
  margin-top: 28px;
  margin-bottom: 0;
}

.home-product-series .category-series-slider {
  padding-bottom: 0;
}
.home-product-series .category-series-slider .swiper-slide {
  width: auto;
  box-sizing: border-box;
}

.home-product-series .category-series-arrows {
  justify-content: flex-end;
  margin-top: 18px;
}

.home-product-series .series-card {
  min-height: 292px;
  border-radius: 18px;
  border: 1px solid #e8edf5;
  background: #ffffff;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: none;
}

.home-product-series .series-card:hover {
  transform: none;
  box-shadow: none;
}

.home-product-series .series-card__top {
  flex: 0 0 auto;
  padding: 32px 16px;
  text-align: center;
}

.home-product-series .series-card__top h3 {
  margin: 0 0 12px;
  color: #151515;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  margin-bottom: 16px;
}

.home-product-series .series-card__top p {
  display: block;
  margin: 0 0 32px;
  color: #111111;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 500;
  -webkit-line-clamp: initial;
  line-clamp: initial;
  overflow: visible;
}

.home-product-series .series-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 19px;
  border: 0;
  border-radius: 8px;
  background: #ffffff;
  color: #2550a4;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(32, 74, 145, 0.12);
}

.home-product-series .series-img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: auto;
  border-radius: 0;
  position: static;
  inset: auto;
  z-index: auto;
  object-fit: contain;
}

/* Section Titles */
.section-title {
  margin-bottom: var(--space-3);
}
.home-band .section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}
.home-band .section-title--tabs {
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}
.home-band .section-title h2 {
  font-size: var(--ui-fs-h2);
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

/* View for all：mega menu / 首页区块标题共用 */
a.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #98a2b8;
  font-size: 12px;
  text-decoration: none;
  transition: color 0.2s ease;
}
a.view-all-link:hover {
  color: var(--color-primary, #1C46DB);
}
a.view-all-link::after {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: 1px;
  transition: transform 0.2s ease;
}
a.view-all-link:hover::after {
  transform: rotate(45deg) translate(2px, -2px);
}

/* Featured Tabs */
.featured-tabs {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.featured-tabs button {
  background: transparent;
  border: 1px solid #DEE1E7;
  font-size: 1rem;
  color: #5f6368;
  cursor: pointer;
  padding: 6px 16px;
  border-radius: 100px;
  transition: all 0.2s ease;
  height: auto;
}
.featured-tabs button:not(.active):hover {
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-color: transparent;
}
.featured-tabs button.active {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  font-weight: 600;
}
.blog-section-head {
  display: grid;
  grid-template-columns: 1fr;
  align-items: flex-start;
  justify-items: flex-start;
  text-align: left;
  gap: 14px;
  margin-bottom: 32px;
}
.home-band .blog-section-head {
  display: grid;
  grid-template-columns: 1fr;
  align-items: flex-start;
  justify-items: flex-start;
  text-align: left;
  gap: 14px;
  margin-bottom: 32px;
}
.blog-section-head h2 {
  display: block;
  width: 100%;
  font-size: var(--ui-fs-h2);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0;
}
.blog-section-head p {
  display: block;
  width: 100%;
  max-width: 760px;
  margin: 0;
  color: #5f6368;
  font-size: 1.08rem;
  line-height: 1.7;
}
.blog-category-tabs {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 16px;
}
.blog-category-tabs a {
  background: transparent;
  border: 1px solid #DEE1E7;
  color: #5f6368;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  line-height: 1.2;
  text-decoration: none;
  transition: all 0.2s ease;
}
.blog-category-tabs a:not(.active):hover {
  background: #f1f3f4;
  color: #202124;
  border-color: #bdc1c6;
}
.blog-category-tabs a.active {
  background-color: #1C46DB;
  color: #ffffff;
  border-color: #1C46DB;
}
.featured-panel.product-grid {
  display: none;
}
.featured-panel.product-grid.is-active {
  display: grid;
}
.featured-loading {
  grid-column: 1 / -1;
  padding: 24px 0;
  color: #6b7280;
  text-align: center;
}

/* Product / Blog Cards Grid（cols-4 全站统一断点） */
.product-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
/* 显式四列：全站统一断点（首页 / 列表 / 内页共用，避免各页面重复定义） */
.product-grid.cols-4,
.blog-grid.cols-4 {
  width: 100%;
  max-width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1439px) {
  .product-grid,
  .blog-grid {
    gap: 20px;
  }
}
@media (max-width: 1199px) {
  .product-grid,
  .blog-grid {
    gap: 18px;
  }
  .product-grid.cols-4,
  .blog-grid.cols-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 990px) {
  .product-grid,
  .blog-grid {
    gap: 16px;
  }
  .product-grid.cols-4,
  .blog-grid.cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 565px) {
  .product-grid.cols-4,
  .blog-grid.cols-4 {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* 产品列表三列变体：≥1200 三列，992–1199 两列；≤500 单列 */
.product-grid.product-grid-cols-3 {
  width: 100%;
  max-width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 1199px) {
  .product-grid.product-grid-cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 565px) {
  .product-grid.product-grid-cols-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}
.product-grid.cols-4 > .product-card,
.product-grid.cols-4 > article,
.product-grid.product-grid-cols-3 > .product-card,
.product-grid.product-grid-cols-3 > article,
.blog-grid.cols-4 > .blog-card,
.blog-grid.cols-4 > article {
  min-width: 0;
}
.product-card {
  background: #ffffff;
  border: none;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  padding: 16px;
  position: relative;
  text-align: left;
}
/* LCD 质量角标：PNG 置于 /assets/addons/cms/gooyee/images/lcd-quality/{slug}.png */
.lcd-quality-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  pointer-events: none;
  line-height: 0;
}
.lcd-quality-badge__img {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(15, 23, 42, 0.14));
}
.lazy-cover .lcd-quality-badge__img {
  max-width: 72px;
  max-height: 72px;
}
.detail-gallery__stage .lcd-quality-badge__img,
[data-lightbox-modal] .lcd-quality-badge--lightbox .lcd-quality-badge__img {
  max-width: clamp(72px, 20vw, 140px);
  max-height: clamp(72px, 20vw, 140px);
}

@media (max-width: 767px) {
  .page-detail-product .detail-gallery__stage .lcd-quality-badge,
  [data-lightbox-modal] .lcd-quality-badge--lightbox {
    top: 6px;
    left: 6px;
  }

  .detail-gallery__stage .lcd-quality-badge__img,
  [data-lightbox-modal] .lcd-quality-badge--lightbox .lcd-quality-badge__img {
    max-width: clamp(64px, 18vw, 96px);
    max-height: clamp(64px, 18vw, 96px);
  }
}

@media (max-width: 479px) {
  .detail-gallery__stage .lcd-quality-badge__img,
  [data-lightbox-modal] .lcd-quality-badge--lightbox .lcd-quality-badge__img {
    max-width: 72px;
    max-height: 72px;
  }
}
.channel-focus-hero .lcd-quality-badge__img {
  max-width: 80px;
  max-height: 80px;
}
.channel-focus-side .lcd-quality-badge__img {
  max-width: 40px;
  max-height: 40px;
}

.lazy-cover {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 20px;
  background: #eef3fa;
}
/* 懒加载骨架：等待 data-src 触发或真实图片下载中 */
.lazy-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(110deg, #e8eef6 8%, #f4f7fb 22%, #e8eef6 36%);
  background-size: 220% 100%;
}
.lazy-cover:has(.lozad[data-src])::before,
.lazy-cover.is-img-loading::before {
  opacity: 1;
  animation: lazy-cover-shimmer 1.15s ease-in-out infinite;
}
@keyframes lazy-cover-shimmer {
  0% { background-position: 120% 0; }
  100% { background-position: -120% 0; }
}
.lazy-cover .lazy-cover__img.lozad {
  opacity: 0;
}
.lazy-cover.is-img-loaded .lazy-cover__img,
.lazy-cover .lazy-cover__img.lozad.loaded {
  opacity: 1;
  transition: opacity 0.32s ease;
}
.lazy-cover .lazy-cover__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin-bottom: 0;
}
.product-body {
  align-items: flex-start;
}
.product-tag {
  background: #e6f4ea;
  color: #137333;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 12px;
  align-self: flex-start;
}
.product-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  margin-bottom: 16px;
}
.product-bottom {
  margin-top: auto;
}
.text-btn {
  color: #1C46DB;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

/* Feature Grid 6 items */
.company-feature-grid--6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 80px auto;
}
.company-feature-grid--6 article {
  display: flex;
  align-items: center;
  padding: 18px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  border: 1px solid #f0f0f0;
  min-height: auto;
  overflow: hidden;
  transition: background-color 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}
.feat-icon {
  width: 120px;
  height: auto;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
}
.company-feature-grid--6 article > .feat-icon,
.company-feature-grid--6 article > div {
  transition: transform 0.46s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.feat-icon svg { width: 28px; height: 28px; color: #ffffff; }

.company-feature-grid--6 h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.company-feature-grid--6 p {
  color: #5f6368;
  margin: 0;
  font-size: 0.95rem;
}
.company-feature-grid--6 h4,
.company-feature-grid--6 p {
  transition: color 0.28s ease;
}
.company-feature-grid--6 article:hover {
  border-color: transparent;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
  transform: translateY(-2px);
}
.company-feature-grid--6 article:nth-child(1):hover {
  background: linear-gradient(135deg, #1C46DB 0%, #1C46DB 100%);
}
.company-feature-grid--6 article:nth-child(2):hover {
  background: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
}
.company-feature-grid--6 article:nth-child(3):hover {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}
.company-feature-grid--6 article:nth-child(1):hover > .feat-icon {
  content: url("/assets/addons/cms/gooyee/images/index_quality_hover.png");
}
.company-feature-grid--6 article:nth-child(2):hover > .feat-icon {
  content: url("/assets/addons/cms/gooyee/images/index_shipping_hover.png");
}
.company-feature-grid--6 article:nth-child(3):hover > .feat-icon {
  content: url("/assets/addons/cms/gooyee/images/index_professional_hover.png");
}
.company-feature-grid--6 article:hover > .feat-icon,
.company-feature-grid--6 article:hover > div {
  transform: translateX(-20px);
}
.company-feature-grid--6 article:hover > .feat-icon {
  transform: translateX(-20px) scale(1.06);
}
.company-feature-grid--6 article:hover h4,
.company-feature-grid--6 article:hover p {
  color: #ffffff;
}

/* Testimonials (Swiper) */
.testimonial-slider .swiper-slide {
  background: #ffffff;
  padding: 20px 28px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  height: auto;
}
.slider-arrows {
  display: flex;
  gap: 12px;
}
.slider-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #DEE1E7;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #5f6368;
  transition: all 0.2s ease;
}
.slider-arrow:not(.swiper-button-disabled):hover {
  background: #f8f9fa;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.slider-arrow.swiper-button-disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.stars {
  color: #fbbc04;
  font-size: 1.25rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.testimonial-slider p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #1a1a1a;
  margin-bottom: 24px;
  font-style: italic;
}
.customer-info {
  display: flex;
  align-items: center;
}
.customer-info .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e8f0fe;
  color: #1C46DB;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin-right: 16px;
}
.customer-info h4 {
  margin: 0 0 4px 0;
  font-size: 1rem;
  font-weight: 700;
}
.customer-info span {
  font-size: 0.85rem;
  color: #5f6368;
}

/* Blogs */
.blog-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 12px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
  border: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}
.blog-card-img {
  width: 100%;
  height: 190px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.blog-card:hover .blog-card-img img {
  transform: scale(1.06) rotate(1deg);
}
/* item_news：复用 lazy-cover 骨架屏，仅覆盖博客尺寸与 hover */
.blog-card .lazy-cover {
  display: block;
  width: 100%;
  height: 190px;
  aspect-ratio: auto;
  margin-bottom: 0;
  z-index: 1;
}
.blog-card .lazy-cover__img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.blog-card:hover .lazy-cover__img {
  transform: scale(1.06) rotate(1deg);
}
.blog-card-body {
  padding: 20px 8px 8px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 12px 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.blog-card-body h3 a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s ease;
}
.blog-card:hover .blog-card-body h3 a {
  color: var(--color-primary, #1C46DB);
}
.blog-date {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 24px;
}
.blog-read-more {
  margin-top: auto;
  color: var(--color-primary, #1C46DB);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.blog-read-more .arrow {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
}
.blog-card:hover .blog-read-more .arrow {
  transform: translateX(6px);
}

/* Responsive Restyling */
@media (max-width: 1100px) {
  
  .company-feature-grid--6 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 990px) {
  /* 仅小屏隐藏「导航栏内」桌面 mega，避免与汉堡菜单重复；首页桌面仍用 is-open，不在此断点下展示 */
  .header-nav .nav-inner > .mega-menu {
    display: none;
  }
  .footer-bottom { flex-direction: column; text-align: center; justify-content: center; }
  .footer-copy { text-align: center; }
  .company-feature-grid--6 { grid-template-columns: repeat(1, 1fr); }
}
@media (max-width: 768px) {
  /* .home-top .banner-item { min-height: 480px; } */
  
  .product-grid:not(.cols-4) { grid-template-columns: repeat(2, 1fr); }
  .company-feature-grid--6 { grid-template-columns: 1fr; }
  .home-band { padding: 40px 0; }
  .home-band .section-title { gap: 12px; }
}
@media (max-width: 565px) {
  .product-grid:not(.cols-4) { grid-template-columns: 1fr; }
  .feat-icon {
    width: 60px;
  }
  .company-feature-grid--6 article {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 16px;
  }
  .company-feature-grid--6 article:hover > .feat-icon, .company-feature-grid--6 article:hover > div {
    transform: translateX(0);
  }
}

/* Footer 手风琴（文件末尾，避免被后面全局 responsive 覆盖） */
@media (min-width: 991px) {
  .footer {
    padding-top: 40px;
  }
  .footer-main .footer-accordion .footer-accordion__trigger {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0 0 24px;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: default;
    pointer-events: none;
    font: inherit;
    color: inherit;
  }
  .footer-main .footer-accordion .footer-accordion__title {
    display: block;
    font-size: var(--ui-fs-h3);
    font-weight: 600;
    color: #202124;
    margin: 0;
  }
  .footer-main .footer-accordion .footer-accordion__chevron {
    display: none;
  }
  .footer-main .footer-accordion .footer-accordion__panel {
    display: block;
    max-height: none;
    opacity: 1;
    overflow: visible;
    padding: 0;
  }
  .coming-soon-full img {
    width: 35%;
  }
}

@media (max-width: 990px) {
  .footer-main {
    display: flex;
    flex-direction: column;
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 16px;
    padding-bottom: 28px;
  }
  .footer-main .footer-accordion {
    width: 100%;
    border-bottom: 1px solid #ebedf1;
  }
  .footer-main .footer-accordion:last-child {
    border-bottom: 0;
  }
  .footer-main .footer-accordion .footer-accordion__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 56px;
    padding: 16px 4px 16px 0;
    margin: 0;
    border: 0;
    background: transparent;
    color: #202124;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
  }
  .footer-main .footer-accordion .footer-accordion__title {
    flex: 1;
    min-width: 0;
    font-size: var(--ui-fs-h3);
    font-weight: 600;
    line-height: 1.35;
    color: #202124;
  }
  /* 收起：∨  展开：∧ */
  .footer-main .footer-accordion .footer-accordion__chevron {
    flex: 0 0 6px;
    width: 6px;
    height: 6px;
    margin-left: 12px;
    position: relative;
    display: inline-block;
  }
  .footer-main .footer-accordion .footer-accordion__chevron::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    margin-top: -1px;
    border-right: 1px solid #8f9195;
    border-bottom: 1px solid #8f9195;
    transform: translate(-50%, -35%) rotate(45deg);
    transition: transform 0.25s ease;
  }
  .footer-main .footer-accordion.is-open .footer-accordion__chevron::before {
    transform: translate(-50%, -65%) rotate(-135deg);
  }
  .footer-main .footer-accordion .footer-accordion__panel {
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0;
    transition: max-height 0.32s ease, opacity 0.22s ease, padding 0.22s ease;
  }
  .footer-main .footer-accordion.is-open .footer-accordion__panel {
    max-height: 1200px;
    opacity: 1;
    padding: 0 0 18px;
  }
  .footer-main .footer-accordion:not(.footer-col-contact) .footer-accordion__panel a {
    display: block;
    margin-bottom: 14px;
    padding-left: 0;
    font-size: 0.9375rem;
    color: #5f6368;
  }
  .footer-main .footer-accordion:not(.footer-col-contact) .footer-accordion__panel a:last-child {
    margin-bottom: 0;
  }
  .footer-col-contact.footer-accordion .footer-accordion__panel {
    text-align: left;
  }
  .footer-col-contact.footer-accordion .footer-accordion__panel .footer-contact-item {
    margin-bottom: 8px;
  }
  .footer-col-contact.footer-accordion .footer-accordion__panel .footer-contact-social {
    margin: 8px 0 12px;
  }
  /* 真机 WebKit：须压过 .footer-col a{display:block}，与 PC 预览一致横排 36px 图标 */
  .footer-col-contact .footer-socials.footer-socials--inline {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }
  .footer-col-contact .footer-socials--inline .cms-social {
    display: inline-flex !important;
    flex: 0 0 36px !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    margin-bottom: 0 !important;
  }
}

/* Lozad：未加载完成前隐藏，避免破图图标与 alt 文案露出 */
.lozad[data-src] {
  opacity: 0;
}
.lozad.loaded {
  opacity: 1;
  transition: opacity 0.28s ease-in-out;
}
/* 非 lazy-cover 包裹的 lozad（搜索建议等）在下载中同样先透明 */
img.lozad.is-img-loading:not(.loaded) {
  opacity: 0;
}
img.lozad.is-img-loaded,
img.lozad.loaded {
  opacity: 1;
  transition: opacity 0.28s ease-in-out;
}

/* Mega：展开动效 + 透明 wrap（宽度见文件末尾 .container.nav-inner 规则） */
@media (min-width: 991px) {
  .mega-menu {
    border-radius: 0 0 12px 12px;
    transition: opacity 0.15s ease, margin-top 0.15s ease;
  }
  .mega-wrap {
    background: transparent;
    box-shadow: none;
  }
  .mega-content {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
  }
  .mega-wrap.has-active-pane .mega-content {
    opacity: 1;
    pointer-events: auto;
  }
}

/* 推荐栏目：.home-recommend-channels + .category-series-slider */

.nav-link::after {
  bottom: -2px;
}

/* Mega 侧栏 typography */
.mega-col a.level-2 {
  font-weight: 700;
  font-size: 18px;
  color: #111827;
  padding-top: 0;
  margin-bottom: 12px;
}
.mega-col a.level-3 {
  font-size: 14px;
  color: #4a5568;
  line-height: 2.4;
  padding-left: 0;
}

.nav-inner {
  position: relative;
}

/* CSS Fixes for Mega Menu */
.mega-sidebar-text { flex: 1; }
.mega-sidebar-arrow {
  color: #9ca3af;
  font-family: monospace;
  font-size: 14px;
  font-weight: bold;
  padding-right: 4px;
  margin-left: auto;
  transition: color 0.2s;
}
.mega-sidebar a:hover .mega-sidebar-arrow,
.mega-sidebar a.active .mega-sidebar-arrow {
  color: #1C46DB;
}

.mega-sidebar-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  border-radius: 4px;
}

.mega-sidebar a {
  grid-template-columns: 22px 1fr auto;
}

/* ---------- News / blog article detail ---------- */
.news-detail-breadcrumb .news-detail-breadcrumb__current {
  color: #6b7280;
  font-weight: 500;
}
/* .news-detail {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
} */
.news-detail__header {
  margin-bottom: 28px;
}
.news-detail__meta {
  font-size: 14px;
  color: #6b7280;
  margin: 0 0 12px;
}
.news-detail__title {
  margin: 0 0 16px;
  line-height: 1.25;
}
.news-detail__excerpt {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: #4b5563;
}
.news-detail__cover {
  margin: 0 0 32px;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f4f6;
}
.news-detail__cover img {
  display: block;
  width: 100%;
  height: auto;
}
.cms-rich-text {
  font-size: 16px;
  line-height: 1.75;
  color: #1f2937;
}
.cms-rich-text p {
  margin: 0 0 1em;
}
.cms-rich-text h2,
.cms-rich-text h3 {
  margin: 1.4em 0 0.6em;
  line-height: 1.35;
}
.cms-rich-text img,
.cms-rich-text video {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.cms-rich-text table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
}
.cms-rich-text table td,
.cms-rich-text table th {
  border: 1px solid #e5e7eb;
  padding: 8px 10px;
}

/* Share block（产品详情 Tab 下间距） */
.detail-tabs-wrap + .cms-share {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

/* --------------------------------------------------------------------------
 * Mega：限制总高度 + 一级侧栏可滚；右侧二级区垂直起点随悬停项（--mega-content-top 由 main.js 写入）
 * -------------------------------------------------------------------------- */
@media (min-width: 991px) {
  .mega-wrap {
    max-height: min(78vh, 820px);
  }

  .mega-sidebar {
    max-height: min(78vh, 820px);
    overflow-y: auto;
    min-height: 0;
  }

  .mega-content {
    max-height: min(78vh, 820px);
  }

  .mega-wrap.has-active-pane .mega-content {
    display: block;
    top: 0;
    height: 100%;
    min-height: 220px;
    overflow-y: auto;
  }
}

/* 首页客户评价：标题行与箭头对齐，避免与 Swiper 导航冲突 */
.home-testimonial-root .section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.home-testimonial-root .section-title h2 {
  margin: 0;
}
.home-testimonial-root .slider-arrows {
  flex-shrink: 0;
}

.home-testimonial-root .testimonial-slider.swiper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
.home-testimonial-root .testimonial-slider.swiper:before {
  content: '';
  display: block;
  width: 30px;
  height: 100%;
  background: linear-gradient(to left, rgba(249, 250, 251, 0), rgba(249, 250, 251, 1));
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
}
.home-testimonial-root .testimonial-slider.swiper:after {
  content: '';
  display: block;
  width: 30px;
  height: 100%;
  background: linear-gradient(to right, rgba(249, 250, 251, 0), rgba(249, 250, 251, 1));
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: 2;
}
.home-testimonial-root .testimonial-slider .swiper-wrapper {
  align-items: stretch;
}
.home-testimonial-root .testimonial-slider .swiper-slide {
  box-sizing: border-box;
  height: auto;
  flex-shrink: 0;
  width: 35%;
  max-width: 35%;
}
@media (max-width: 1199px) {
  .home-testimonial-root .testimonial-slider .swiper-slide {
    width: 45%;
    max-width: 45%;
  }
}
@media (max-width: 899px) {
  .home-testimonial-root .testimonial-slider .swiper-slide {
    width: 72%;
    max-width: 72%;
  }
}
@media (max-width: 560px) {
  .home-testimonial-root .testimonial-slider .swiper-slide {
    width: 88%;
    max-width: 88%;
    padding: 15px 16px;
  }
}

/* 产品内页分享条 */
.detail-share--gooyee {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #eef0f4;
}
.detail-share__label {
  font-weight: 600;
  color: #1a1a1a;
}
.detail-share__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.detail-share__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #DEE1E7;
  background: #fff;
  color: #1C46DB;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
}
.detail-share__btn--ghost {
  color: #5f6368;
}
.detail-share__fav {
  margin-left: auto;
  text-decoration: none;
  color: #ea4335;
  font-weight: 600;
  font-size: 13px;
}

/* 导航一级分类图标样式调整 */
.mega-sidebar .ico.has-img {
  background: transparent;
  border-color: transparent;
}
.mega-sidebar a:hover .ico.has-img,
.mega-sidebar a.active .ico.has-img {
  background: transparent;
  border-color: transparent;
}

.mega-sidebar .ico.no-img {
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
}
.mega-sidebar a:hover .ico.no-img,
.mega-sidebar a.active .ico.no-img {
  background: #e5e7eb;
  border-color: #d1d5db;
}

/* =============================================================================
 * CMS Gooyee front templates — extracted from *.html (do not scatter <style>)
 * Scoped with existing page classes where possible.
 * ========================================================================== */

@font-face {
  font-family: "socialshare";
  src: url("../fonts/share/iconfont.eot");
  src: url("../fonts/share/iconfont.eot?#iefix") format("embedded-opentype"),
    url("../fonts/share/iconfont.woff") format("woff"),
    url("../fonts/share/iconfont.ttf") format("truetype"),
    url("../fonts/share/iconfont.svg#iconfont") format("svg");
}

/* ----- 全站分页（list / search / tag / hub 共用 pagination-wrap 结构） ----- */
.pagination-wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 28px;
  padding-top: 8px;
}
.pagination-wrap .pagination-nav {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.pagination-wrap .pagination-nav .pagination,
.pagination-wrap .pagination-nav .pager,
.pagination-wrap .pagination-nav ul.pagination,
.pagination-wrap .pagination-nav ul.pager {
  display: flex;
  flex-wrap: nowrap;
  list-style: none;
  gap: 8px;
  justify-content: center;
  margin: 0;
  padding: 0 2px 4px;
  align-items: stretch;
  width: max-content;
  margin-left: auto;
  margin-right: auto;
}
.pagination-wrap .pagination li,
.pagination-wrap .pager li,
.pagination-wrap .pagination-nav .pager > .pagination li {
  display: flex;
  align-items: stretch;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pagination-wrap .pagination li a,
.pagination-wrap .pagination li span,
.pagination-wrap .pager li a,
.pagination-wrap .pager li span,
.pagination-wrap .pagination-nav .pager > .pagination li a,
.pagination-wrap .pagination-nav .pager > .pagination li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  line-height: 1.2;
  background: #fff;
}
.pagination-wrap .pagination li.active span,
.pagination-wrap .pager li.active span,
.pagination-wrap .pagination-nav .pager > .pagination li.active span {
  background: #1C46DB;
  color: #fff;
  border-color: #1C46DB;
}
.pagination-wrap .pager li.disabled span,
.pagination-wrap .pagination-nav .pager > .pagination li.disabled span,
.channel-pager .pagination li.disabled span,
.channel-pager .pager li.disabled span {
  color: #9ca3af;
  background: #f9fafb;
  cursor: not-allowed;
}
.channel-pager {
  display: flex;
  justify-content: center;
  margin-top: 32px;
  text-align: center;
}
.channel-pager .pager,
.channel-pager .pagination,
.channel-pager.pager > .pagination {
  display: flex;
  flex-wrap: nowrap;
  list-style: none;
  gap: 8px;
  justify-content: center;
  margin: 0 auto;
  padding: 0 2px 4px;
  align-items: stretch;
  width: max-content;
}
.channel-pager .pager li,
.channel-pager .pagination li {
  display: flex;
  align-items: stretch;
  margin: 0;
  padding: 0;
  list-style: none;
}
.channel-pager .pager li a,
.channel-pager .pager li span,
.channel-pager .pagination li a,
.channel-pager .pagination li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  line-height: 1.2;
  background: #fff;
}
.channel-pager .pagination li.active span,
.channel-pager .pager li.active span {
  background: #1C46DB;
  color: #fff;
  border-color: #1C46DB;
}

/* ----- Product hub：专题页 + 产品列表（layout_gooyee） ----- */
.page-product-hub .site-main,
.page-special-hub .site-main {
  background-color: #F5F5F7;
}
.product-hub-page {
  margin: 0 auto;
  /* padding: 0 0 48px; */
  width: 100%;
  box-sizing: border-box;
}
.product-hub-row {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.product-hub-sidebar-spacer {
  flex: 0 0 240px;
  min-width: 240px;
  width: 240px;
  pointer-events: none;
}
.product-hub-main {
  flex: 1;
  min-width: 0;
  max-width: 100%;
}
.product-hub-page > .product-hub-main > .detail-breadcrumb.product-hub-main__crumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  min-height: 40px;
}
.product-hub-main__filters {
  margin-bottom: 8px;
}
.product-hub-main .section-block {
  margin-top: var(--space-3, 16px);
  min-width: 0;
  max-width: 100%;
}

.product-hub-page .product-filter-panel,
.blog-list-page .product-filter-panel {
  background: #fff;
  border-radius: 12px;
  padding: 12px 20px;
  margin-bottom: 20px;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  transition: opacity 0.2s ease;
}
.product-hub-page .product-filter-panel[aria-busy="true"] {
  opacity: 0.72;
  pointer-events: none;
}
.product-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px 16px;
  padding: 16px 0;
}
.product-filter-row:last-of-type {
  border-bottom: none;
}
.product-filter-row__label {
  flex: 0 0 auto;
  min-width: 130px;
  font-weight: 700;
  color: #111827;
  font-size: 16px;
  padding-top: 2px;
}
.blog-list-page .product-filter-row__label {
  padding-top: 0;
}
.product-filter-row__opts {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 25px;
  align-items: center;
}
.product-filter-opt {
  font-size: 14px;
  color: #111827;
  text-decoration: none;
  white-space: nowrap;
  padding: 2px 0;
  transition: color 0.15s, border-color 0.15s;
}
.product-filter-opt:hover {
  color: #1C46DB;
}
.product-filter-opt.is-active {
  color: #1C46DB;
  font-weight: 600;
}
.product-filter-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0 10px;
  margin-top: 8px;
  border-top: 1px solid var(--ui-card-border);
}
.product-filter-tags[hidden] {
  display: none;
}
.product-filter-tags__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
}
.product-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: 5px;
  background: rgba(28, 70, 219, 0.1);
  color: #1c46db;
  font-size: 14px;
  text-decoration: none;
}
.product-filter-chip:hover {
  background: #dbeafe;
}
.product-filter-chip__x {
  font-weight: 700;
  line-height: 1;
  opacity: 0.8;
}
.product-filter-clear {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  font-size: 13px;
  color: #000000;
  text-decoration: none;
  white-space: nowrap;
}
.product-filter-clear__icon {
  display: inline-block;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 6 5 6 21 6'/%3E%3Cpath d='M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6'/%3E%3Cpath d='M10 11v6M14 11v6'/%3E%3Cpath d='M9 6V4h6v2'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 6 5 6 21 6'/%3E%3Cpath d='M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6'/%3E%3Cpath d='M10 11v6M14 11v6'/%3E%3Cpath d='M9 6V4h6v2'/%3E%3C/svg%3E") center / contain no-repeat;
}
.product-filter-clear:hover {
  color: #1C46DB;
}

@media (max-width: 990px) {
  .product-hub-row {
    flex-direction: column;
    gap: 20px;
  }
  .product-hub-sidebar-spacer {
    display: none;
  }
  .channel-focus-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .product-filter-row {
    flex-direction: column;
  }
  .product-filter-row__label {
    min-width: 0;
  }
  .product-filter-row__opts {
    min-width: 0;
    gap: 8px 14px;
  }
  .product-filter-clear {
    margin-left: 0;
  }
}

@media (max-width: 990px) {
  .product-hub-page {
    padding-bottom: 36px;
  }
  .product-hub-page .product-filter-panel,
  .blog-list-page .product-filter-panel {
    padding: 12px 14px;
    margin-bottom: 16px;
  }
  .product-hub-main .section-title h2 {
    font-size: clamp(1.35rem, 4.2vw, 1.85rem);
  }
  .header-search-wrap .search-dropdown {
    top: calc(100% + 6px);
  }
}

@media (max-width: 575px) {
  .product-hub-page .product-card,
  .search-gooyee .product-card {
    padding: 10px;
    border-radius: 14px;
  }
  .product-hub-page .lazy-cover,
  .search-gooyee .lazy-cover {
    margin-bottom: 10px;
    border-radius: 10px;
  }
  .product-hub-page .product-title,
  .search-gooyee .product-title {
    font-size: 0.875rem;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    margin-bottom: 8px;
  }
  .product-hub-page .product-tag,
  .search-gooyee .product-tag {
    font-size: 0.72rem;
    padding: 3px 8px;
    margin-bottom: 6px;
  }
  .product-hub-page .text-btn,
  .search-gooyee .text-btn {
    font-size: 0.8125rem;
  }
  .product-hub-page .lazy-cover .lcd-quality-badge__img,
  .search-gooyee .lazy-cover .lcd-quality-badge__img {
    max-width: 60px;
    max-height: 60px;
  }
}

/* ----- 频道产品 focal 网格 ----- */
.channel-product-page {
  padding: 0 0 48px;
}
.channel-product-section {
  margin-top: 24px;
}
.channel-son-block {
  margin-bottom: 40px;
}
.channel-son-block h3 {
  font-size: 1.25rem;
  margin: 0 0 16px;
  color: #111827;
}
.channel-son-block h3 a {
  color: inherit;
  text-decoration: none;
}
.channel-son-block h3 em {
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  margin-left: 12px;
}
.channel-son-block h3 em a {
  color: #1C46DB;
}

.channel-focus-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  align-items: start;
}
.channel-focus-hero {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}
.channel-focus-hero__ratio {
  display: block;
  aspect-ratio: 16 / 9;
  background: #f3f4f6;
  position: relative;
}
.channel-focus-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.channel-focus-hero__body {
  padding: 12px 14px;
  background: #fff;
}
.channel-focus-hero__title {
  font-size: 16px;
  color: #111827;
}
.channel-focus-side {
  display: grid;
  gap: 12px;
}
.channel-focus-side__link {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
}
.channel-focus-side__thumb {
  position: relative;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}
.channel-focus-side__img {
  border-radius: 8px;
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}
.channel-focus-side__title {
  font-size: 14px;
  color: #111827;
  line-height: 1.35;
}

/* ----- 资讯列表 ----- */
/* .blog-list-page {
  padding: 16px 0 48px;
} */
.blog-list-page .blog-section-head {
  margin-bottom: 34px;
}
.blog-list-page .blog-section-head h2 {
  font-size: clamp(2.35rem, 4vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
}
.blog-list-page .blog-section-head p {
  max-width: 820px;
  font-size: 1.08rem;
}
.blog-multiple-form {
  margin-top: 12px;
}
.blog-multiple-form .blog-multiple-label {
  font-size: 13px;
  color: #6b7280;
}

/* ----- 文章详情 ----- */
.news-detail .entry-meta {
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: 12px;
  background: #fbfbfd;
  color: #111;
}
.news-detail .entry-meta ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.news-detail .entry-meta li {
  margin: 8px 0;
  line-height: 1.6;
}
.news-detail .entry-meta a {
  color: #1C46DB;
  text-decoration: none;
}
.news-detail .entry-meta a:hover {
  text-decoration: underline;
}
.news-detail .entry-meta .article-prevnext {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e5e7eb;
}
.news-detail .entry-meta .tag {
  display: inline-block;
  margin-right: 8px;
}

/* ----- Tag 聚合页 ----- */
.tag-gooyee-breadcrumb {
  padding-top: 16px;
  padding-bottom: 0;
}
.tag-gooyee-page {
  padding: 24px 0 48px;
}
.tag-gooyee-page .section-block,
.search-gooyee .section-block {
  margin-top: 0;
}
.tag-gooyee-head {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}
.tag-gooyee-kicker {
  margin: 0;
  color: #1C46DB;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tag-gooyee-title {
  margin: 0;
  color: #111827;
  font-size: clamp(2.35rem, 4vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
}
.tag-gooyee-desc {
  max-width: 760px;
  margin: 0;
  color: #6b7280;
  font-size: 1.05rem;
  line-height: 1.7;
}
.tag-gooyee-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 16px;
  margin: 0 0 18px;
}
.tag-gooyee-toolbar .category-order {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.tag-gooyee-toolbar .category-order a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  color: #374151;
  font-size: 14px;
  text-decoration: none;
  transition:
    color 0.15s,
    border-color 0.15s,
    background 0.15s;
}
.tag-gooyee-toolbar .category-order a:hover {
  color: #1C46DB;
  border-color: #bfdbfe;
}
.tag-gooyee-toolbar .category-order a.active {
  color: #fff;
  background: #1C46DB;
  border-color: #1C46DB;
  font-weight: 600;
}
.tag-gooyee-page .blog-grid {
  margin-top: 0;
}
.tag-gooyee-page .blog-card-body p {
  margin: 8px 0 0;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.6;
}
.tag-gooyee-page .blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 10px;
  color: #6b7280;
  font-size: 13px;
}
.tag-gooyee-page .blog-card-meta a {
  color: #1C46DB;
  text-decoration: none;
}
.tag-gooyee-page .blog-card-meta a:hover {
  text-decoration: underline;
}
@media (max-width: 640px) {
  .tag-gooyee-toolbar {
    justify-content: flex-start;
  }
}

/* ----- 搜索 ----- */
.search-breadcrumb {
  padding-top: 16px;
  padding-bottom: 0;
}
.search-gooyee {
  padding: 24px 0 48px;
}
.search-gooyee .product-grid {
  margin-top: 0;
}

/* 空列表提示（列表 / 搜索 共用） */
.cms-empty-hint {
  padding: 40px 0;
  text-align: center;
  color: #999;
}
.cms-empty-hint--lg {
  padding: 50px 0;
}

/* ----- 文末分享条 cms-share ----- */
.cms-share {
  margin-top: 48px;
  padding: 0;
  border: 0;
  border-radius: 0;
}
.cms-share__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  margin-bottom: 12px;
}
.cms-share__title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #111827;
}
.cms-share .social-share {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-family: "socialshare";
  font-size: 16px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.cms-share .social-share * {
  font-family: "socialshare";
}
.cms-share .social-share .social-share-icon {
  --share-brand: #666;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0;
  border-radius: 9px;
  border: 0;
  color: #ffffff;
  background: var(--share-brand);
  font-size: 22px;
  line-height: 42px;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.cms-share .social-share .social-share-icon:hover {
  background: var(--share-brand);
  border-color: var(--share-brand);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
}
.cms-share .social-share .social-share-icon:before {
  color: inherit;
}
.cms-share .icon-facebook:before {
  content: "\e620";
}
.cms-share .icon-twitter:before {
  content: "\e697";
}
.cms-share .icon-linkedin:before {
  content: "\e66e";
}
.cms-share .icon-whatsapp:before {
  content: "\e97b";
}
.cms-share .icon-telegram:before {
  content: "\f63a";
}
.cms-share .icon-vk:before {
  content: "\f68a";
}
.cms-share .icon-email:before {
  content: "\f29a";
}
.cms-share .social-share .icon-facebook {
  --share-brand: #016CF7;
}
.cms-share .social-share .icon-twitter {
  --share-brand: #000;
}
.cms-share .social-share .icon-linkedin {
  --share-brand: #0C65C1;
}
.cms-share .social-share .icon-whatsapp {
  --share-brand: #26D366;
}
.cms-share .social-share .icon-telegram {
  --share-brand: #239fdc;
}
.cms-share .social-share .icon-vk {
  --share-brand: #0076FB;
}
.cms-share .social-share .icon-email {
  --share-brand: #FF4500;
}

/* 桌面吸顶 + Mega 宽度：与 .nav-inner 内容区对齐 */
@media (min-width: 991px) {
  .header-top .search-hot {
    position: relative;
    z-index: 1;
  }
  .header-nav .container.nav-inner {
    --mega-inset-x: 16px;
  }
  .header-nav .container.nav-inner > .mega-menu,
  .header-nav .container.nav-inner > .mega-menu.mega-has-pane {
    left: var(--mega-inset-x);
    right: auto;
    width: calc(100% - 2 * var(--mega-inset-x));
    max-width: calc(100% - 2 * var(--mega-inset-x));
    box-sizing: border-box;
  }
  .header-nav .container.nav-inner > .mega-menu:not(.mega-has-pane) {
    width: 240px;
    max-width: calc(100% - 2 * var(--mega-inset-x));
  }
  .header-nav .container.nav-inner > .mega-menu .mega-wrap {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .header-nav .container.nav-inner > .mega-menu .mega-content {
    left: 240px;
    right: 0;
    width: auto;
    max-width: none;
    overflow-x: hidden;
  }
  .header-nav .container.nav-inner > .mega-menu .mega-grid {
    min-width: 0;
  }
}
@supports ((-webkit-backdrop-filter: initial) or (backdrop-filter: initial)) {
  .header-top,
  .mobile-nav,
  .mega-sidebar,
  .mega-content {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
  }
} 