/* ========================================
 * malaji.com 官网组件样式 components.css
 * V3.1 BEM：导航/按钮/卡片 · LOGO 官方图形
 * ======================================== */

/* ===== 导航栏 ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background: rgba(28, 25, 23, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(28, 25, 23, 0.35);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav__inner {
  max-width: var(--container-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  text-decoration: none;
  min-width: 0;
}

.nav__logo:hover {
  color: #fff;
  opacity: 0.95;
}

/* 官方 LOGO 图（图标独占版 / 完整版） */
.nav__logo-img {
  height: 40px;
  width: auto;
  max-width: 40px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  background: #fff;
  border-radius: 8px;
  padding: 2px;
}

.nav__logo-img--full {
  height: 48px;
  width: auto;
  max-width: 168px;
  max-height: 52px;
  padding: 3px 6px;
  border-radius: 8px;
  background: #fff;
}

/* 兼容旧文字图标（兜底） */
.nav__logo-icon {
  width: 36px;
  height: 36px;
  background: var(--color-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--color-gold-light);
  font-family: var(--font-serif);
  flex-shrink: 0;
  overflow: hidden;
}

.nav__logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.nav__logo-text {
  color: var(--ml-text-inverse);
  white-space: nowrap;
}

.nav__logo-text span {
  color: var(--ml-gild-light);
}

.nav__logo-name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.nav__logo-name strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}

.nav__logo-name small {
  font-size: 0.68rem;
  font-weight: 400;
  color: rgba(250, 246, 243, 0.55);
  letter-spacing: 0.5px;
}

.nav__menu {
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav__link {
  color: rgba(250, 246, 243, 0.82);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  text-decoration: none;
}

.nav__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* V3.1：激活态用鎏金，避免大红铺满 */
.nav__link--active {
  color: var(--ml-gild-light);
  background: transparent;
  font-weight: 600;
}

.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  background: var(--ml-gild);
  border-radius: 1px;
}

/* 导航移动端汉堡按钮 */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: all 0.3s ease;
}

.nav__toggle--active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle--active span:nth-child(2) {
  opacity: 0;
}
.nav__toggle--active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  font-family: inherit;
}

.btn--primary {
  background: linear-gradient(135deg, #D82418 0%, #C01F16 55%, #8B1510 100%);
  color: #FFFEFB;
  border-color: transparent;
  box-shadow: var(--ml-shadow-crimson);
}

.btn--primary:hover {
  background: var(--ml-crimson-deep);
  border-color: transparent;
  color: #FFFEFB;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(192, 31, 22, 0.35);
}

.btn--gold {
  background: var(--ml-gild-soft);
  color: var(--ml-gild-deep);
  border-color: var(--ml-gild);
  box-shadow: none;
}

.btn--gold:hover {
  background: var(--ml-gild);
  color: #1C1917;
  border-color: var(--ml-gild-deep);
  transform: translateY(-3px);
  box-shadow: var(--ml-shadow-gild);
}

.btn--outline {
  background: transparent;
  color: var(--color-red);
  border-color: var(--color-red);
}

.btn--outline:hover {
  background: var(--color-red);
  color: #FFFEFB;
  transform: translateY(-3px);
}

.btn--ghost {
  background: transparent;
  color: var(--ml-text-inverse);
  border-color: rgba(250, 246, 243, 0.35);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn--lg {
  padding: 14px 36px;
  font-size: 1.1rem;
}

.btn--sm {
  padding: 8px 18px;
  font-size: 0.875rem;
}

/* ===== Hero 横幅 ===== */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-top: 64px;
  background: linear-gradient(165deg, #1C1917 0%, #292524 48%, #3F2420 100%);
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 30% 70%, rgba(201, 162, 39, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 70% 30%, rgba(216, 36, 24, 0.18) 0%, transparent 60%);
  z-index: 1;
}

/* CSS纹理模拟非遗纹样 */
.hero__pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.06;
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(201, 162, 39, 0.45) 35px, rgba(201, 162, 39, 0.45) 70px),
    repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(216, 36, 24, 0.28) 35px, rgba(216, 36, 24, 0.28) 70px);
  z-index: 1;
  pointer-events: none;
}

/* Hero LOGO 水印（可选） */
.hero__logo-mark {
  position: absolute;
  right: 6%;
  bottom: 8%;
  width: 160px;
  height: 160px;
  opacity: 0.06;
  background: url('../assets/logo-icon.png') center/contain no-repeat;
  z-index: 1;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 40px 20px;
}

.hero__brand-logo {
  width: 88px;
  height: 88px;
  object-fit: contain;
  margin: 0 auto 20px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

/* 官方完整 LOGO（图 + 字标） */
.hero__brand-logo--full {
  width: auto;
  height: auto;
  max-width: 220px;
  max-height: 120px;
  padding: 10px 14px;
  border-radius: 14px;
}

.hero__slogan {
  font-size: 2.8rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 4px;
  margin-bottom: 20px;
  min-height: 1.5em;
}

.hero__slogan .text-gold {
  color: var(--color-gold);
}

.hero__subtitle {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
  letter-spacing: 2px;
}

.hero__actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== 数据卡片 ===== */
.data-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.data-card {
  background: var(--ml-surface);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--ml-line);
  border-top: 3px solid var(--color-gold);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.data-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--ml-logo-red, var(--color-red));
  background-image: radial-gradient(circle at 30% 20%, rgba(216, 36, 24, 0.06), transparent 55%);
}

.data-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--ml-gild-light), var(--ml-gild));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.data-card__icon .icon {
  display: inline-flex;
}

.data-card__value {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--ml-logo-red, var(--color-red));
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.data-card__unit {
  font-size: 0.9rem;
  color: var(--color-text-mid);
  font-weight: 400;
}

.data-card__label {
  margin-top: 8px;
  font-size: 0.95rem;
  color: var(--color-text);
}

.data-card__trend {
  margin-top: 10px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-weight: 500;
}

.data-card__trend--up {
  color: var(--color-green);
}

.data-card__trend--down {
  color: var(--color-red-light);
}

.data-card__trend-arrow {
  font-size: 1rem;
}

/* ===== 入口卡片（2x2网格） ===== */
.entry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.entry-card {
  background: var(--ml-surface);
  border-radius: var(--radius-md);
  padding: 36px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--ml-line);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.entry-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ml-gild), var(--ml-logo-red, var(--color-red)));
  transition: width 0.4s ease;
}

.entry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  background-image: radial-gradient(circle at 30% 20%, rgba(216, 36, 24, 0.06), transparent 55%);
}

.entry-card:hover::before {
  width: 100%;
}

.entry-card__icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--ml-gild-light), var(--ml-gild));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-nav);
  transition: background 0.25s ease;
}

.entry-card:hover .entry-card__icon {
  background: linear-gradient(135deg, var(--ml-crimson-soft), var(--ml-crimson-muted));
}

.entry-card__body {
  flex: 1;
}

.entry-card__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.entry-card__desc {
  color: var(--color-text-mid);
  font-size: 0.95rem;
  line-height: 1.6;
}

.entry-card__arrow {
  color: var(--color-gold);
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.entry-card:hover .entry-card__arrow {
  transform: translateX(8px);
  color: var(--color-red);
}

/* ===== 通用卡片 ===== */
.card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--color-bg-cream);
}

.card__body {
  padding: 20px;
}

.card__title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}

.card__text {
  color: var(--color-text-mid);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== 标签 ===== */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  font-size: 0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.tag--red {
  background: var(--ml-crimson-soft);
  color: var(--ml-crimson);
  border: 1px solid rgba(216, 36, 24, 0.28);
}

.tag--gold {
  background: var(--ml-gild-soft);
  color: var(--ml-gild-deep);
  border: 1px solid rgba(201, 162, 39, 0.4);
}

.tag--green {
  background: var(--ml-success-soft);
  color: var(--ml-success);
  border: 1px solid rgba(31, 122, 69, 0.3);
}

.tag--bayu {
  background: var(--ml-success-soft);
  color: var(--ml-bayu-green);
  border: 1px solid rgba(0, 153, 68, 0.35);
}

.tag--blue {
  background: rgba(30, 100, 200, 0.1);
  color: #1E64C8;
  border: 1px solid rgba(30, 100, 200, 0.3);
}

/* 公示期状态标签 */
.tag--status-current {
  background: var(--color-red);
  color: #fff;
  border: none;
  animation: blink 2s infinite;
}

.tag--status-history {
  background: var(--color-text-light);
  color: #fff;
  border: none;
}

/* ===== 企业列表网格 ===== */
.enterprise-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ===== 企业卡片 ===== */
.enterprise-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.enterprise-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--color-gold);
  transform: translateY(-4px);
}

.enterprise-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px 12px;
  border-bottom: 1px solid var(--color-bg-cream);
}

.enterprise-card__logo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--color-red), var(--color-red-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
}

.enterprise-card__name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
}

.enterprise-card__products {
  display: flex;
  gap: 8px;
  padding: 12px 20px 4px;
}

.enterprise-card__product {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--color-bg-cream), var(--color-gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: default;
}

/* 产品图片缩略图 */
.enterprise-card__product--img {
  padding: 0;
  overflow: hidden;
  border: 2px solid var(--color-gold-light);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.enterprise-card__product--img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(194,158,62,0.3);
}
.enterprise-card__product--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.enterprise-card__product--more {
  font-size: 0.875rem;
  color: var(--color-text-mid);
  background: var(--color-bg-light);
}

.enterprise-card__body {
  padding: 10px 20px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 12px;
}

.enterprise-card__desc {
  font-size: 0.875rem;
  color: var(--color-text-mid);
  margin: 0;
  line-height: 1.55;
  /* 简介自然高度，最多 3 行，避免与按钮之间大块留白 */
  max-height: 4.05em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}

.enterprise-card__btn {
  width: 100%;
  margin-top: auto;
  flex-shrink: 0;
}

/* ===== 筛选栏 ===== */
.filter-bar {
  display: flex;
  gap: 16px 20px;
  align-items: center;
  flex-wrap: wrap;
  background: #fff;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.filter-bar__group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-bar__group .btn {
  min-height: 36px;
  padding: 6px 14px;
  white-space: nowrap;
}

.filter-bar__label {
  font-size: 0.9rem;
  color: var(--color-text-mid);
  font-weight: 500;
  flex-shrink: 0;
}

.filter-bar__select,
.filter-bar__input {
  padding: 8px 14px;
  border: 1px solid #ddd;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  background: var(--color-bg-warm);
  font-family: inherit;
  transition: border-color 0.2s ease;
  min-height: 36px;
}

.filter-bar__select:focus,
.filter-bar__input:focus {
  outline: none;
  border-color: var(--color-gold);
}

.filter-bar__search {
  margin-left: auto;
  display: flex;
  gap: 10px;
  align-items: center;
}

.filter-bar__search .filter-bar__input {
  min-width: 200px;
}

.filter-bar__search .btn {
  min-height: 36px;
  padding: 6px 18px;
  flex-shrink: 0;
}

/* ===== 时间轴 ===== */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-gold), var(--color-red), var(--color-gold));
}

.timeline__item {
  position: relative;
  padding-bottom: 36px;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__dot {
  position: absolute;
  left: -34px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-red);
  border: 3px solid var(--color-gold-light);
  box-shadow: 0 0 0 3px var(--color-gold);
}

.timeline__year {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-red);
  margin-bottom: 6px;
}

.timeline__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}

.timeline__desc {
  color: var(--color-text-mid);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== 模态弹窗 ===== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}

.modal-overlay--active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.modal {
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 700px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  animation: fadeInUp 0.4s ease;
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-bg-cream);
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--color-text-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.modal__close:hover {
  background: var(--color-red);
  color: #fff;
  transform: rotate(90deg);
}

.modal__header {
  padding: 30px 30px 20px;
  border-bottom: 2px solid var(--color-bg-cream);
  background: linear-gradient(135deg, var(--color-bg-warm), var(--color-bg-cream));
}

.modal__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
}

.modal__body {
  padding: 24px 30px 30px;
}

.modal__section {
  margin-bottom: 20px;
}

.modal__section-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-red);
  margin-bottom: 10px;
  padding-left: 12px;
  border-left: 3px solid var(--color-gold);
}

.modal__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.modal__list-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--color-text);
}

.modal__list-item::before {
  content: '✓';
  color: var(--color-green);
  font-weight: 700;
}

/* ===== 资讯列表 ===== */
.news-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.news-card__image {
  width: 100%;
  height: 180px;
  min-height: 180px;
  background: linear-gradient(135deg, var(--color-nav), var(--color-red-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.news-card__image .icon {
  display: inline-flex;
  flex-shrink: 0;
}

.news-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card__tags {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.news-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card__excerpt {
  font-size: 0.875rem;
  color: var(--color-text-mid);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card__meta {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--color-bg-cream);
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--color-text-light);
}

/* ===== 分页 ===== */
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 40px;
}

.pagination__btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--color-text);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination__btn:hover {
  border-color: var(--color-gold);
  color: var(--color-red);
}

.pagination__btn--active {
  background: var(--color-red);
  color: #fff;
  border-color: var(--color-red);
}

.pagination__btn--disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ===== 页脚 ===== */
.footer {
  background: linear-gradient(180deg, #1C1917, #0C0A09);
  color: rgba(250, 246, 243, 0.72);
  padding: 50px 0 20px;
  margin-top: 60px;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(250, 246, 243, 0.08);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer__brand-icon {
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-light);
  font-size: 1.2rem;
  font-family: var(--font-serif);
  overflow: hidden;
  padding: 3px;
  flex-shrink: 0;
}

/* 页脚完整官方 LOGO */
.footer__brand-icon--full {
  width: auto;
  height: 56px;
  max-width: 180px;
  padding: 4px 8px;
}

.footer__brand-icon img,
.footer__brand-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.footer__brand-icon--full img {
  width: auto;
  height: 100%;
  max-width: 168px;
}

.footer__brand-text {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}

.footer__brand-text span {
  color: var(--ml-gild-light);
}

.footer__brand-text small {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(250, 246, 243, 0.55);
  margin-top: 2px;
}

.footer__desc {
  font-size: 0.875rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.footer__title {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer__link {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.footer__link:hover {
  color: var(--ml-gild-light);
}

/* 页脚链接行容器（PC端默认块级，移动端改为flex横向） */
.footer__links-row {
  display: contents;
}

.footer__bottom {
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
}

.footer__icp {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__icp a {
  color: rgba(255, 255, 255, 0.5);
}

.footer__icp a:hover {
  color: var(--ml-gild-light);
}

/* ===== 面包屑 ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 20px 0;
  font-size: 0.875rem;
  color: var(--color-text-mid);
}

.breadcrumb a {
  color: var(--color-text-mid);
}

.breadcrumb a:hover {
  color: var(--color-red);
}

.breadcrumb__separator {
  color: var(--color-text-light);
}

.breadcrumb__current {
  color: var(--color-text);
}

/* ===== 公示项 ===== */
.notice-item {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
  transition: all 0.2s ease;
  border-left: 4px solid var(--color-gold);
}

.notice-item:hover {
  box-shadow: var(--shadow-md);
  border-left-color: var(--color-red);
}

.notice-item__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  gap: 12px;
}

.notice-item__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  flex: 1;
}

.notice-item__meta {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-top: 8px;
}

.notice-item__content {
  font-size: 0.9rem;
  color: var(--color-text-mid);
  line-height: 1.7;
  margin-top: 10px;
}

/* 红黑榜 */
.rank-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.rank-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.rank-card--red {
  border-top: 4px solid var(--color-red);
}

.rank-card--green {
  border-top: 4px solid var(--color-green);
}

.rank-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rank-card__item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-bg-cream);
  font-size: 0.9rem;
}

.rank-card__item:last-child {
  border-bottom: none;
}

.rank-card__name {
  font-weight: 500;
  color: var(--color-text);
}

.rank-card__reason {
  font-size: 0.8rem;
  color: var(--color-text-light);
}

/* ===== ROI测算模块 ===== */
.roi-calculator {
  background: linear-gradient(135deg, var(--color-bg-warm), var(--color-bg-cream));
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.roi-calculator__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.roi-item {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  border: 2px solid var(--color-gold-light);
}

.roi-item__icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.roi-item__label {
  font-size: 0.9rem;
  color: var(--color-text-mid);
  margin-bottom: 8px;
}

.roi-item__value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-red);
}

.roi-item__unit {
  font-size: 0.9rem;
  color: var(--color-text-mid);
}

.roi-item__desc {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-top: 8px;
}

/* ===== 数字底座架构图 ===== */
.arch-diagram {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 700px;
  margin: 0 auto;
}

.arch-layer {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--color-gold);
  position: relative;
}

.arch-layer__icon {
  font-size: 1.8rem;
  width: 50px;
  text-align: center;
}

.arch-layer__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
}

.arch-layer__desc {
  font-size: 0.85rem;
  color: var(--color-text-mid);
}

.arch-layer__arrow {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-gold);
  font-size: 1.2rem;
  z-index: 1;
}

.arch-layer:last-child .arch-layer__arrow {
  display: none;
}

/* ===== 五统一模块 ===== */
.unify-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.unify-item {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.unify-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.unify-item__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--color-red), var(--color-red-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.unify-item__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}

.unify-item__desc {
  font-size: 0.85rem;
  color: var(--color-text-mid);
  line-height: 1.5;
}

/* ===== 入驻申请表单 ===== */
.apply-notice {
  background: linear-gradient(135deg, rgba(212, 168, 71, 0.08), rgba(196, 30, 58, 0.05));
  border-left: 4px solid var(--color-gold);
  border-radius: var(--radius-md);
  padding: 24px 28px;
}

.apply-notice__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-red);
  margin-bottom: 12px;
}

.apply-notice__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.apply-notice__list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--color-text-mid);
  line-height: 1.7;
}

.apply-notice__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
}

.apply-form-wrapper {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 40px;
}

.apply-form__section {
  margin-bottom: 36px;
}

.apply-form__section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-bg-cream);
}

.apply-form__section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--color-red);
  color: #fff;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
}

.apply-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}

.form-required {
  color: var(--color-red);
}

.form-input,
.form-textarea {
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  background: var(--color-bg-warm);
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(212, 168, 71, 0.15);
}

.form-input--error {
  border-color: var(--color-red) !important;
  background: rgba(196, 30, 58, 0.03);
}

.form-error {
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--color-red);
  min-height: 18px;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.form-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--color-text);
}

.form-checkbox input {
  width: 16px;
  height: 16px;
  accent-color: var(--color-red);
  cursor: pointer;
}

.apply-form__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

.apply-form__tip {
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-top: 16px;
}

/* 提交成功提示 */
.apply-success {
  text-align: center;
  padding: 40px 20px;
}

.apply-success__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--color-green), #16A34A);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.3);
  animation: successPop 0.5s ease;
}

@keyframes successPop {
  0% { transform: scale(0); }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.apply-success__title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
}

.apply-success__desc {
  font-size: 1rem;
  color: var(--color-text-mid);
  line-height: 1.8;
  margin-bottom: 28px;
}

.apply-success__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.apply-success__no {
  font-size: 0.9rem;
  color: var(--color-text-mid);
}

.apply-success__no strong {
  color: var(--color-red);
  font-size: 1.05rem;
  letter-spacing: 1px;
}

.unify-item__desc {
  font-size: 0.8rem;
  color: var(--color-text-mid);
  line-height: 1.5;
}

/* ===== 权益清单 ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.benefit-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border-top: 3px solid var(--color-gold);
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--color-red);
}

.benefit-card__icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.benefit-card__title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}

.benefit-card__desc {
  font-size: 0.875rem;
  color: var(--color-text-mid);
  line-height: 1.6;
}

/* ===== 域名价值对比 ===== */
.domain-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.domain-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.domain-card--highlight {
  background: linear-gradient(135deg, var(--color-nav), var(--color-red-dark));
  color: #fff;
  border: 2px solid var(--color-gold);
}

.domain-card__name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.domain-card--highlight .domain-card__name {
  color: var(--color-gold);
}

.domain-card__tag {
  font-size: 0.8rem;
  color: var(--color-text-mid);
  margin-bottom: 16px;
}

.domain-card--highlight .domain-card__tag {
  color: rgba(255, 255, 255, 0.7);
}

.domain-card__value {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-red);
}

.domain-card--highlight .domain-card__value {
  color: var(--color-gold);
}

/* ===== 合作模式框架 ===== */
.coop-flow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.coop-node {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  min-width: 180px;
  border-top: 3px solid var(--color-gold);
}

.coop-node__icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.coop-node__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}

.coop-node__desc {
  font-size: 0.8rem;
  color: var(--color-text-mid);
}

.coop-arrow {
  font-size: 1.5rem;
  color: var(--color-gold);
}

/* ===== 认证徽章 ===== */
.cert-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
  min-width: 140px;
}

.cert-badge__icon {
  width: 60px;
  height: 60px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--color-gold), var(--color-red));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
}

.cert-badge__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 4px;
}

.cert-badge__year {
  font-size: 0.8rem;
  color: var(--color-text-light);
}

/* ===== 数据统计区 ===== */
.stats-block {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-item {
  text-align: center;
  padding: 30px 20px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.stat-item__value {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-red);
  line-height: 1.2;
}

.stat-item__unit {
  font-size: 1rem;
  color: var(--color-text-mid);
}

.stat-item__label {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--color-text);
}

/* ===== 新闻详情 ===== */
.article {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.article__header {
  border-bottom: 2px solid var(--color-bg-cream);
  padding-bottom: 20px;
  margin-bottom: 24px;
}

.article__title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.4;
  margin-bottom: 16px;
}

.article__meta {
  display: flex;
  gap: 20px;
  font-size: 0.875rem;
  color: var(--color-text-light);
  flex-wrap: wrap;
}

.article__content {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--color-text);
}

.article__content p {
  margin-bottom: 18px;
}

.article__content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-red);
  margin: 28px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--color-gold);
}

.article__content img {
  border-radius: var(--radius-md);
  margin: 20px 0;
}

.article__content blockquote {
  background: var(--color-bg-cream);
  border-left: 4px solid var(--color-gold);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin: 20px 0;
  color: var(--color-text-mid);
}

/* 返回顶部 */
/* ===== 品牌主形象区块（产业概况） ===== */
.brand-identity {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
  background: var(--ml-surface-elevated);
  border: 1px solid var(--ml-line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.brand-identity__logo-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--ml-line);
  min-height: 240px;
}

.brand-identity__logo-slot img {
  width: 200px;
  height: auto;
  max-height: 220px;
  object-fit: contain;
}

.brand-identity__body h3 {
  font-size: 1.35rem;
  color: var(--ml-text);
  margin-bottom: 12px;
}

.brand-identity__body p {
  color: var(--ml-text-secondary);
  line-height: 1.85;
  margin-bottom: 14px;
  font-size: 0.98rem;
}

.brand-identity__points {
  list-style: none;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.brand-identity__points li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ml-text);
  font-size: 0.92rem;
}

.brand-identity__points code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.85em;
  background: var(--ml-paper-alt);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--ml-ink-muted);
}

.swatch {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
}

.swatch--logo-red { background: #D82418; }
.swatch--logo-gold { background: #F0C024; }
.swatch--ink { background: #1C1917; }

.brand-identity__note {
  font-size: 0.88rem !important;
  color: var(--ml-text-tertiary) !important;
  border-left: 3px solid var(--ml-gild);
  padding-left: 12px;
  margin-top: 8px;
}

@media (max-width: 767px) {
  .brand-identity {
    grid-template-columns: 1fr;
    padding: 24px 18px;
    gap: 20px;
  }
  .brand-identity__logo-slot {
    min-height: 180px;
  }
  .brand-identity__logo-slot img {
    width: 160px;
  }
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D82418 0%, #C01F16 100%);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.3rem;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--ml-shadow-crimson);
  z-index: 999;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.back-to-top:hover {
  background: var(--ml-crimson-deep);
  transform: translateY(-4px);
}

.back-to-top--visible {
  display: flex;
}

/* ===== 企业详情弹窗-产品画廊 ===== */
.product-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.product-gallery__item {
  background: #fff;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--color-bg-cream);
  transition: all 0.2s ease;
}

.product-gallery__item:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.product-gallery__image-wrap {
  width: 100%;
  height: 140px;
  background: var(--color-bg-warm);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.product-gallery__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-gallery__image-wrap:hover .product-gallery__image {
  transform: scale(1.08);
}

.product-gallery__name {
  padding: 8px 10px 2px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.4;
}

.product-gallery__desc {
  padding: 0 10px 10px;
  font-size: 0.75rem;
  color: var(--color-text-light);
  line-height: 1.4;
}

/* ===== 图片全屏预览器 ===== */
.img-viewer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.img-viewer__close {
  position: absolute;
  top: 20px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 10001;
}

.img-viewer__close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.img-viewer__prev,
.img-viewer__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 10001;
}

.img-viewer__prev:hover,
.img-viewer__next:hover {
  background: rgba(255, 255, 255, 0.3);
}

.img-viewer__prev:disabled,
.img-viewer__next:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.img-viewer__prev { left: 30px; }
.img-viewer__next { right: 30px; }

.img-viewer__container {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.img-viewer__image {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  animation: zoomIn 0.25s ease;
  background: #fff;
}

@keyframes zoomIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.img-viewer__caption {
  margin-top: 16px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: #fff;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 600px;
}

.img-viewer__counter {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

/* ===== 产品轮播（企业详情弹窗）===== */
.product-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #f8f9fa;
}

.product-carousel__track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-carousel__slide {
  min-width: 100%;
  flex-shrink: 0;
  position: relative;
}

.product-carousel__image-wrap {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  cursor: pointer;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-carousel__image-wrap img.product-carousel__image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-carousel__image-wrap:hover .product-carousel__image {
  transform: scale(1.05);
}

.product-carousel__caption {
  padding: 10px 14px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.product-carousel__slide--text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  color: #666;
}

/* 轮播按钮 */
.product-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,.45);
  color: #fff;
  border: none;
  font-size: 22px;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
  transition: background .2s;
}
.product-carousel__btn:hover { background: rgba(0,0,0,.7); }
.product-carousel__btn--prev { left: 8px; }
.product-carousel__btn--next { right: 8px; }

/* 轮播指示点 */
.product-carousel__dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  transition: all .2s;
}
.carousel-dot--active {
  background: #fff;
  width: 20px;
}

/* 缩略图列表 */
.product-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  padding: 4px 0;
}

.product-thumb {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .2s;
  opacity: 0.7;
}
.product-thumb:hover,
.product-thumb.active { 
  border-color: var(--color-gold); 
  opacity: 1; 
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
