/** 页面主容器 **/
[v-cloak] {
  display: none !important;
}

.template {
  display: none;
}

.goods-list-main {
  padding: 0;
  /* 无需 margin-left，left-sidebar 在 flex 流中正常布局 */
  margin-left: 0;
  background: #f4f6f8;
  min-height: calc(100vh - 60px);
  /* 允许 el-main 充满宽度 */
  width: 100%;
  overflow: visible;
}

.goods-page-container {
  display: flex;
  align-items: flex-start;
  min-height: calc(100vh - 60px);
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

/** 左侧边栏 — 跟随全局菜单的右侧，sticky 定位 **/
.left-sidebar {
  /* 从 fixed 改为 sticky：在 flex 流中正常占位，不再覆盖全局 aside-menu */
  position: sticky !important;
  top: 60px !important;
  /* 吸附在 top-menu 高度以下 */
  height: calc(100vh - 60px);
  width: 220px;
  flex-shrink: 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-right: 1px solid #e2e8f0;
  z-index: 100 !important;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.05);
  transition: width 0.3s ease;
  align-self: flex-start;
}

/* ── ① 侧边栏标题区域 — 显示“分类导航” ── */
.sidebar-logo {
  flex-shrink: 0;
  height: 56px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 100%);
  border-bottom: 1px solid #dde6f5;
  box-sizing: border-box;
  gap: 8px;
}

.sidebar-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  /* Center horizontally */
  text-decoration: none !important;
  width: 100%;
  overflow: hidden;
}

.sidebar-logo-img {
  max-height: 28px !important;
  max-width: 140px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.sidebar-logo-text {
  font-size: 15px;
  font-weight: 700;
  color: #2563eb;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.5px;
}

/* ── ② 返回按钮区域 (单行横排布局) ── */
.sidebar-back-area {
  flex-shrink: 0;
  padding: 10px 14px;
  border-bottom: 1px solid #f0f0f0;
  background: #fafbfc;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  white-space: nowrap;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #666;
  text-decoration: none !important;
  font-weight: 500;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.back-link:hover {
  color: var(--color-primary);
}

.back-link i {
  font-size: 14px;
  font-weight: bold;
}

.region-text {
  font-size: 13px;
  color: #1a1a1a;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}


/* ── ③ 搜索框（固定，不滚动） ── */
.sidebar-search {
  flex-shrink: 0;
  padding: 14px 16px;
  border-bottom: 1px solid #e2e8f0;
  background: #ffffff;
}

.sidebar-search .el-input__inner {
  height: 40px;
  line-height: 40px;
  border-radius: 10px;
  font-size: 14px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  transition: all 0.25s ease;
}

.sidebar-search .el-input__inner:focus {
  border-color: #3b82f6;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.sidebar-search .el-input__prefix {
  left: 12px;
}

.sidebar-search .el-input__prefix i {
  color: #94a3b8;
}

/* ── ④ 可滚动菜单树 ── */
.group-menu-tree {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 8px 0;
  scrollbar-width: thin;
  scrollbar-color: #dde2e8 transparent;
}

.group-menu-tree::-webkit-scrollbar {
  width: 4px;
}

.group-menu-tree::-webkit-scrollbar-track {
  background: transparent;
}

.group-menu-tree::-webkit-scrollbar-thumb {
  background: #dde2e8;
  border-radius: 4px;
}

.group-menu-tree::-webkit-scrollbar-thumb:hover {
  background: #b0bac6;
}

.first-group-item {
  margin-bottom: 2px;
}

.first-group-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  margin: 0 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  transition: all 0.2s ease;
  user-select: none;
  border-radius: 8px;
}

.first-group-title:hover {
  background: #f1f5f9;
  color: #2563eb;
}

.first-group-title.active {
  background: #eff6ff;
  color: #2563eb;
}

.second-group-list {
  background: #fff;
  padding: 4px 0 12px;
}

.second-group-item {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 13px;
  position: relative;
  color: #64748b;
  transition: all 0.2s ease;
  border-radius: 6px;
  margin: 3px 10px;
}

.side-icon {
  margin-right: 10px;
  color: #bfbfbf;
  font-size: 14px;
}

.second-group-item.active .side-icon {
  color: var(--color-primary);
}

/* 旋转指示图标样式 */
.expand-icon {
  margin-left: auto;
  font-size: 11px;
  color: #c0c4cc;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.expand-icon.is-expanded {
  transform: rotate(90deg);
  color: var(--color-primary);
}

/* 分组描述标签 - 右上角腾讯风格扁平直角无边框标签 */
.group-tag {
  position: absolute;
  top: 8px;
  right: 12px;
  background: #ff4d4f !important;
  /* 腾讯云标准亮丽红 */
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  padding: 2.5px 6px !important;
  border-radius: 0px !important;
  /* 严格直角 */
  line-height: 1.2 !important;
  box-shadow: none !important;
  /* 无阴影 */
  text-shadow: none !important;
  /* 无字体阴影 */
  z-index: 2;
  border: none !important;
  /* 无边框！ */
  transform: translateY(0);
  transition: all 0.2s ease;
}

.group-tag:hover {
  transform: translateY(-1px);
  background: #ff7875 !important;
  /* 悬停微亮 */
  box-shadow: none !important;
}

.group-tag:empty {
  display: none !important;
}

/* 二级菜单 — 自然展开动画 (Vue Transition) */
.sidebar-menu-enter-active,
.sidebar-menu-leave-active {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  max-height: 1200px;
  overflow: hidden;
}

.sidebar-menu-enter,
.sidebar-menu-leave-to {
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
}

.second-group-list {
  background: #fdfdfd;
  transform-origin: top;
  padding: 4px 0 12px;
}

.second-group-item:hover {
  color: #2563eb;
  background: #f8fafc;
}

.second-group-item.active {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #2563eb;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.1);
}

.first-group-title .title-accent {
  width: 3px;
  height: 16px;
  background: #cbd5e0;
  border-radius: 2px;
  margin-right: 10px;
  transition: all 0.2s ease;
}

.first-group-title:hover .title-accent {
  background: #93c5fd;
}

.first-group-title.active .title-accent {
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
  height: 18px;
}

/* 右侧主内容区 */
.right-content {
  flex: 1;
  padding: 0 28px 28px 28px;
  /* 移除顶部内边距，交给导航栏处理 */
  background: #f4f6f8;
  min-height: calc(100vh - 60px);
  position: relative;
  transition: all 0.3s ease;
  width: auto !important;
  max-width: none !important;
}

/* 页面专属自定义导航栏 */
.goods-list-header {
  height: 52px;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: sticky;
  top: 0;
  /* el-main 已在 top-menu 下方，此处不再偏移 */
  z-index: 100;
  margin: 0 -28px 20px -28px;
  /* 抵消父容器的 padding */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.goods-list-header .header-left {
  display: flex;
  align-items: center;
}

.goods-list-header .header-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #1a202c;
  letter-spacing: 0.3px;
}

.goods-list-header .header-breadcrumb i {
  color: #3182ce;
  font-size: 20px;
}

.goods-list-header .header-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.goods-list-header .header-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #4a5568;
  cursor: pointer;
  transition: all 0.25s ease;
  font-weight: 500;
}

.goods-list-header .header-item:hover {
  color: #3182ce;
}

.goods-list-header .header-item.divider {
  width: 1px;
  height: 16px;
  background: #e2e8f0;
  cursor: default;
  margin: 0 -8px;
}

.goods-list-header .user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid #edf2f7;
  object-fit: cover;
}

.goods-list-header .cart-badge .el-badge__content {
  background-color: #f56c6c;
  border: none;
  height: 16px;
  line-height: 16px;
  padding: 0 4px;
  top: 4px;
}

.goods-list-header .login-btn {
  background: #3182ce;
  color: #fff !important;
  padding: 6px 16px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(49, 130, 206, 0.25);
}

.goods-list-header .login-btn:hover {
  background: #2b6cb0;
  transform: translateY(-1px);
}

/* 顶部海报区 - 腾讯云科技感重构 */
.top-banner-area {
  width: 100%;
  height: 200px;
  margin-bottom: 24px;
  border-radius: 4px !important;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: stretch;
  background: linear-gradient(135deg, #02071a 0%, #002266 50%, #0052d9 100%) !important;
  box-shadow: 0 8px 32px rgba(0, 82, 217, 0.15), 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

/* 隐藏背景图，使用纯CSS科技网格 */
.banner-bg-layer {
  display: none !important;
}

/* 腾讯云科技网格 + 极光线条 */
.banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) !important;
  background-size: 20px 20px !important;
  background-position: center !important;
}

/* 极光发光呼吸动效 */
.banner-overlay::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background:
    radial-gradient(ellipse at 30% 35%, rgba(0, 82, 217, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse at 75% 25%, rgba(0, 168, 112, 0.18) 0%, transparent 50%) !important;
  z-index: 1;
  pointer-events: none;
  animation: techGlow 10s ease-in-out infinite alternate;
}

@keyframes techGlow {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  100% {
    transform: translate(3%, 2%) rotate(1.5deg);
  }
}

/* 底部光晕线 */
.banner-overlay::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0052d9 0%, #00a870 50%, transparent 100%) !important;
  opacity: 0.8;
  z-index: 2;
}

/* 移除原来的 top-banner-area::after */
.top-banner-area::after {
  display: none !important;
}

/* 内容层 */
.banner-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 36px;
  box-sizing: border-box;
}

.banner-left {
  flex: 1;
  min-width: 0;
}

/* 面包屑 */
.banner-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.breadcrumb-item {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
  letter-spacing: 0.3px;
}

.breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.breadcrumb-sep {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.35);
}

/* 海报标题 */
.banner-title {
  font-size: 30px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 10px 0;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  letter-spacing: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 海报描述 */
.banner-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.80);
  margin: 0;
  line-height: 1.7;
  max-width: 540px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

/* 右侧区域 */
.banner-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  flex-shrink: 0;
  margin-left: 24px;
}

/* 分组标签 */
.banner-tag {
  background: linear-gradient(135deg, #ff4d4f 0%, #ff7875 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 0;
  box-shadow: 0 4px 14px rgba(255, 77, 79, 0.50);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* 统计信息 */
.banner-stats {
  display: flex;
  gap: 10px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.80);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  white-space: nowrap;
}

.stat-item i {
  font-size: 13px;
}

/* 登录提示条 */
.login-notice-bar {
  background: linear-gradient(90deg, #e6f7ff 0%, #f0f9ff 100%);
  border: 1px solid #91d5ff;
  border-radius: 0;
  padding: 12px 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #555;
  box-shadow: 0 2px 8px rgba(24, 144, 255, 0.08);
}

.login-notice-bar .el-icon-info {
  color: #1890ff;
  margin-right: 8px;
  font-size: 16px;
}

.login-notice-bar .login-link {
  color: #1890ff;
  cursor: pointer;
  text-decoration: underline;
}

.login-notice-bar .login-link:hover {
  color: #40a9ff;
}

/* 移动端分组标题区 */
.mobile-group-header {
  display: none;
  background: #fff;
  padding: 16px;
  margin: -24px -24px 16px -24px;
  border-bottom: 1px solid #e8e8e8;
}

/* 移动端海报背景层 */
.mobile-banner-bg {
  display: none;
}

/* 移动端内容层 */
.mobile-group-content {
  position: relative;
  z-index: 1;
}

.mobile-group-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.mobile-group-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
  flex: 1;
  min-width: 0;
}

.mobile-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  color: #fff;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.mobile-menu-btn i {
  font-size: 14px;
}

.mobile-home-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  color: #fff;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 12px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}

.mobile-home-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.mobile-home-btn i {
  font-size: 14px;
}

.mobile-home-btn i {
  font-size: 14px;
}

.mobile-group-desc {
  font-size: 13px;
  color: #1890ff;
  line-height: 1.8;
  background: #fff;
  border: 1px solid #1890ff;
  padding: 12px 14px;
  border-radius: 8px;
}

/* 后台自定义购物车说明内容块 */
.cart-instruction-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
  font-size: 14px;
  color: #334155;
  line-height: 1.6;
}

.cart-instruction-card img {
  max-width: 100%;
  height: auto;
}

/* 分组描述区 - 与移动端一致：白色背景 + 蓝色字体 + 蓝色边框 */
.group-description-box {
  background: #fff !important;
  border: 1px solid #1890ff !important;
  border-radius: 0;
  padding: 16px 18px;
  margin-bottom: 24px;
  font-size: 14px;
  color: #1890ff !important;
  line-height: 1.8;
  position: relative;
}

.group-description-box::before {
  display: none;
}

.group-description-box h1,
.group-description-box h2,
.group-description-box h3,
.group-description-box p,
.group-description-box span,
.group-description-box .group-desc-content {
  margin-top: 0;
  color: #1890ff !important;
  font-size: 14px;
  font-weight: 500;
}

.group-description-box p {
  margin-bottom: 8px;
}

.group-description-box a {
  color: #1890ff;
  text-decoration: underline;
}

/* 活动信息条 */
.activity-bar {
  background: #f6ffed;
  border: 1px solid #b7eb8f;
  border-radius: 0;
  padding: 12px 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #52c41a;
}

.activity-bar .el-icon-success {
  color: #52c41a;
  margin-right: 8px;
  font-size: 16px;
}

/* 分组描述显示区 (重复定义清理并保持样式一致) */
.group-description-box.secondary-style {
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid rgba(76, 175, 80, 0.2);
  border-radius: 0;
  padding: 24px 32px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}

.group-description-box .group-desc-content {
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-slate-600);
}

/* 智感富文本深度美化规范 */
.group-desc-content table,
.config-list table {
  width: 100% !important;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--color-slate-200);
  border-radius: 8px;
  overflow: hidden;
  margin: 16px 0;
}

.group-desc-content table th,
.config-list table th {
  background: var(--color-slate-50);
  color: var(--color-slate-900);
  font-weight: 600;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 2px solid var(--color-slate-200);
}

.group-desc-content table td,
.config-list table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-slate-100);
  color: var(--color-slate-600);
}

.group-desc-content table tr:last-child td,
.config-list table tr:last-child td {
  border-bottom: none;
}

/* 列表美化 */
.group-desc-content ul,
.config-list ul {
  padding-left: 0;
  list-style: none;
}

.group-desc-content li,
.config-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  display: block;
}

.group-desc-content li::before,
.config-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
}

/* 产品网格 - 固定卡片宽度，超出自动换行 */
.products-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 32px;
}

/* 产品卡片 */
.product-card {
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 0;
  padding: 40px 28px 0 28px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
  overflow: hidden;
}

/* 产品卡片顶部hover效果改为直角 */
.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: transparent;
  border-radius: 0;
  transition: background 0.3s ease;
}

.product-card:hover::before {
  background: var(--color-primary);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-primary);
}

/* 库存标签 */
.stock-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 0;
  font-weight: 500;
}

.stock-tag .in-stock {
  color: #52c41a;
  background: #f6ffed;
  border: 1px solid #b7eb8f;
  border-radius: 0;
}

.stock-tag .out-stock {
  color: #ff4d4f;
  background: #fff1f0;
  border: 1px solid #ffa39e;
  border-radius: 0;
}

/* 产品头部 */
/* 产品头部 - 几何SVG背景 */
.product-header {
  margin-bottom: 20px;
  padding: 20px 15px 15px 15px;
  margin: -40px -28px 20px -28px;
  position: relative;
  background:
    linear-gradient(135deg, rgba(58, 122, 254, 0.03) 0%, rgba(24, 144, 255, 0.03) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cdefs%3E%3Cpattern id='geo-pattern2' x='0' y='0' width='40' height='40' patternUnits='userSpaceOnUse'%3E%3Cpolygon points='20,2 38,20 20,38 2,20' fill='none' stroke='%233a7afe' stroke-width='0.8' opacity='0.3'/%3E%3Cpolygon points='20,10 30,20 20,30 10,20' fill='none' stroke='%231890ff' stroke-width='0.5' opacity='0.25'/%3E%3Ccircle cx='20' cy='20' r='3' fill='%233a7afe' opacity='0.2'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23geo-pattern2)'/%3E%3C/svg%3E");
  background-size: cover, 60px 60px;
  overflow: hidden;
  border-bottom: 1px solid #f1f4f8;
}

/* 标题背景装饰线 */
.product-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3a7afe 0%, #1890ff 50%, #3a7afe 100%);
  opacity: 0.6;
}

.product-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(58, 122, 254, 0.3) 50%, transparent 100%);
}

.product-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--color-slate-900);
  margin: 0 0 12px 0;
  line-height: 1.2;
}

.cpu-tag {
  display: inline-block;
  font-size: 12px;
  color: var(--color-primary);
  background: rgba(0, 82, 217, 0.08);
  border-radius: 0;
  padding: 4px 12px;
  font-weight: 600;
}

/* 1:1 复刻参考图样式系统 */

/* 产品卡片复刻版 - 现代化设计 */
.product-card-replica {
  background: #ffffff;
  border-radius: 0 !important;
  padding: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 6px rgba(0, 82, 217, 0.04), 0 1px 3px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(220, 232, 248, 0.8);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  width: 400px;
  flex-shrink: 0;
}

.product-card-replica:hover {
  box-shadow: 0 6px 20px rgba(24, 144, 255, 0.12), 0 2px 8px rgba(0, 0, 0, 0.05);
  border-color: rgba(24, 144, 255, 0.25);
  transform: translateY(-2px);
}

/* 顶部面包屑导航 */
.breadcrumb-nav {
  display: flex !important;
  align-items: center;
  margin-bottom: 24px;
  background: #fff;
  padding: 12px 20px;
  border-radius: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
  min-height: 48px;
  position: sticky;
  top: 0;
  z-index: 5;
}

.back-link {
  color: #8a8a8a;
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  margin-right: 8px;
}

.back-link:hover {
  color: var(--color-primary);
}

.region-text {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

/* 购物车悬浮按钮 - 白色半透明背景+蓝色图标 */
/* 垂直悬浮工具栏 (样图二复刻版) */
.floating-sidebar-v2 {
  display: none !important;
  /* 桌面端隐藏 */
  position: fixed;
  right: 12px;
  bottom: 120px;
  width: 54px;
  background: #ffffff;
  border-radius: 27px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2px 0 12px;
  z-index: 9999;
  border: 1px solid rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.cart-item {
  margin-top: -10px !important;
}

.sidebar-item {
  width: 100%;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.sidebar-item:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.sidebar-item i {
  font-size: 24px;
  color: #4b5563;
}

.sidebar-item:hover i {
  color: #1890ff;
  transform: scale(1.1);
}

.sidebar-item.cart-item i {
  color: #333;
}

/* 样图同款红色气泡 */
.cart-badge-v2 .el-badge__content {
  background: #ff4d4f !important;
  border: 2px solid #fff !important;
  font-size: 10px;
  height: 18px;
  line-height: 14px;
  padding: 0 4px;
  top: 10px;
  right: 6px;
  box-shadow: 0 2px 6px rgba(255, 77, 79, 0.4);
}

/* 独立的返回顶部按钮 */
.back-to-top-v2 {
  position: fixed;
  right: 12px;
  bottom: 50px;
  width: 54px;
  height: 54px;
  background: #ffffff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  z-index: 9999;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.back-to-top-v2 i {
  font-size: 20px;
  color: #666;
}

.back-to-top-v2:hover {
  transform: translateY(-4px);
  background: #f8fafc;
}

.back-to-top-v2:hover i {
  color: #1890ff;
}

/* 移动端适配适配 */
@media screen and (max-width: 768px) {
  .floating-sidebar-v2 {
    display: flex !important;
    /* 移动端显示 */
    right: 8px;
    bottom: 140px;
    width: 48px;
    border-radius: 24px;
  }

  .sidebar-item {
    height: 48px;
  }

  .sidebar-item i {
    font-size: 20px;
  }

  .back-to-top-v2 {
    right: 8px;
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }
}

/* 产品卡片内所有文本使用固定字体大小 - 防止缩放 */
/* 腾讯云风格：专业级产品卡片重构 */
.product-card-replica {
  background: #ffffff !important;
  border: 1px solid #e3e8ee !important;
  border-radius: 2px !important;
  padding: 0 !important;
  margin-bottom: 20px;
  position: relative;
  transition: all 0.2s ease-in-out;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.product-card-replica:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 82, 217, 0.08);
  border-color: #0052d9 !important;
}

/* 顶部状态标签 */
.stock-status {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 12px;
  color: #00a870;
  /* 腾讯云绿 */
  font-weight: 500;
  padding: 2px 8px;
  background: rgba(0, 168, 112, 0.08);
  z-index: 10;
}

.stock-status.out-of-stock {
  color: #e54545;
  background: rgba(229, 69, 69, 0.08);
}

/* 价格区域内的缺货标签 - 覆盖绝对定位 */
.price-container-replica .price-main .stock-status.out-of-stock {
  position: static !important;
  display: inline-block !important;
  font-size: 12px;
  font-weight: 500;
  padding: 2px 8px;
  margin-left: 8px;
  background: rgba(229, 69, 69, 0.1);
  border-radius: 4px;
  vertical-align: middle;
  top: auto !important;
  right: auto !important;
  z-index: auto;
}

/* 价格区域内的库存信息行 */
.stock-info-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.4;
}

.stock-info-row i {
  font-size: 13px;
  color: #94a3b8;
  flex-shrink: 0;
}

.stock-qty {
  color: #ff5219;
  font-weight: 600;
}

/* 头部：去除背景色，强调标题 */
.card-header-replica {
  padding: 24px 24px 12px !important;
  background: transparent !important;
  border-bottom: none !important;
  display: flex;
  align-items: center;
  /* 垂直居中 */
  gap: 12px;
  /* 图标与标题的间距 */
}

.card-favicon {
  width: 24px !important;
  height: 24px !important;
  object-fit: contain;
  flex-shrink: 0;
  /* 防止图标被压缩 */
}

.product-name {
  font-size: 18px !important;
  font-weight: 600 !important;
  color: #000000 !important;
  line-height: 1.4 !important;
  margin: 0 !important;
}

/* 规格列表：腾讯云标志性列表样式 */
.specs-list-replica {
  padding: 20px 24px !important;
  flex: 1;
}

.config-list-replica ul,
.config-list-replica .config-list {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 8px !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

.config-list-replica li {
  background: #f1f5fd !important;
  /* Tencent light tech blue */
  border-radius: 4px !important;
  padding: 8px 12px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  border: 1px solid #e1e8f5 !important;
  margin: 0 !important;
  min-height: 52px !important;
  position: relative !important;
  box-sizing: border-box !important;
}

/* 隐藏圆点 */
.config-list-replica li::before {
  display: none !important;
}

.config-list-replica .config-key {
  font-size: 11px !important;
  color: #7f8c9d !important;
  margin-bottom: 2px !important;
  flex-shrink: 0;
  white-space: nowrap;
  text-align: left !important;
}

.config-list-replica .config-value {
  font-size: 13px !important;
  color: #1c2738 !important;
  font-weight: 600 !important;
  text-align: left !important;
  word-break: break-all;
}

/* 没有key的纯文本行占满两列宽度 */
.config-list-replica li:has(.config-key:empty),
.config-list-replica li:not(:has(.config-key)) {
  grid-column: span 2 !important;
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

/* 底部功能区：纯净浅灰底色 */
.card-footer-replica {
  padding: 16px 24px !important;
  background: #ffffff !important;
  border-top: 1px dashed #e2e8f0 !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
}

.price-container-replica {
  flex: 1 1 auto;
  min-width: 0;
}

.price-main {
  color: #ff5219 !important;
  /* 腾讯价格橙红 */
  font-weight: 700;
  display: flex !important;
  align-items: baseline !important;
}

.price-main .value {
  font-size: 28px !important;
  font-weight: 800 !important;
}

.price-main .unit {
  font-size: 13px !important;
  color: #7f8c9d !important;
  margin-left: 4px;
}

.discount-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.discount-badge {
  background: #ff4d4f !important;
  /* 腾讯云标准亮红 */
  color: #ffffff !important;
  border: none !important;
  /* 无边框！ */
  font-size: 11px !important;
  padding: 2.5px 6px !important;
  border-radius: 0px !important;
  /* 严格直角 */
  font-weight: 600 !important;
  display: inline-block;
  line-height: 1.2 !important;
  box-shadow: none !important;
  /* 无阴影 */
  text-shadow: none !important;
  /* 无字体阴影 */
  transition: all 0.2s ease;
}

.discount-badge:hover {
  transform: translateY(-1px);
  background: #ff7875 !important;
  /* 悬停微亮 */
  box-shadow: none !important;
}

.price-old {
  font-size: 12px !important;
  color: #94a3b8 !important;
  text-decoration: line-through !important;
}

/* 按鈕组：靠右排列 */
.card-buttons-group {
  display: flex !important;
  flex-direction: row !important;
  gap: 8px !important;
  align-items: center;
  flex-shrink: 0;
}

.buy-btn-replica {
  width: 100px !important;
  flex-shrink: 0;
  background: #0052d9 !important;
  color: #fff !important;
  border: 1px solid #0052d9 !important;
  border-radius: 4px !important;
  height: 42px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  transition: all 0.2s ease;
}

.buy-btn-replica:hover {
  background: #0045bb !important;
  border-color: #0045bb !important;
  box-shadow: 0 4px 12px rgba(0, 82, 217, 0.2) !important;
}

.cart-btn-replica {
  width: 42px !important;
  flex-shrink: 0;
  height: 42px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: #fff !important;
  color: #0052d9 !important;
  border: 1px solid #0052d9 !important;
  border-radius: 4px !important;
  font-size: 20px !important;
  transition: all 0.2s ease;
}

.cart-btn-replica:hover {
  background: rgba(0, 82, 217, 0.05) !important;
  /* 浅蓝色 Hover 效果 */
}

.cart-btn-replica i {
  font-size: 20px !important;
  color: #0052d9 !important;
}

.buy-btn-replica:disabled {
  background: #cbd5e0 !important;
  box-shadow: none !important;
  cursor: not-allowed;
}

/* 纯白极简通告栏 */
.info-notice-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-left: 3px solid #3b82f6 !important;
  /* 经典左侧蓝色提示条 */
  border-radius: 4px !important;
  padding: 16px 20px !important;
  display: flex;
  gap: 16px;
  margin-top: 28px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.02) !important;
}

.notice-icon {
  font-size: 20px !important;
  color: #3b82f6 !important;
  /* 经典亮蓝 */
  margin-top: 2px !important;
}

.notice-text {
  font-size: 13px !important;
  color: #475569 !important;
  /* 柔和暗灰，护眼简洁 */
  line-height: 1.8 !important;
}

.notice-text p {
  margin: 0 0 6px 0 !important;
}

.notice-text p:last-child {
  margin-bottom: 0 !important;
}

.text-danger {
  color: #ef4444 !important;
  /* 腾讯警告红 */
  font-weight: 600 !important;
}

.text-primary {
  color: #3b82f6 !important;
  /* 经典深蓝 */
  font-weight: 600 !important;
}

.link-support {
  color: #3b82f6 !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  margin-left: 4px;
}

.link-support:hover {
  text-decoration: underline !important;
}

/* 侧边栏样式精修 (Tencent Cloud Console Style) */
.left-sidebar {
  width: 240px !important;
  background: #ffffff !important;
  border-right: 1px solid #e2e8f0 !important;
  flex-shrink: 0;
  position: fixed;
  left: 0;
  top: 64px;
  bottom: 0;
  overflow-y: auto;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: none !important;
}

.sidebar-search {
  padding: 14px 16px !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

.sidebar-search .el-input__inner {
  border-radius: 4px !important;
  background: #f1f5f9 !important;
  height: 34px !important;
  line-height: 34px !important;
  font-size: 13px !important;
  border: 1px solid transparent !important;
  transition: all 0.2s ease !important;
}

.sidebar-search .el-input__inner:focus {
  background: #ffffff !important;
  border-color: #0052d9 !important;
  box-shadow: 0 0 0 3px rgba(0, 82, 217, 0.1) !important;
}

.first-group-title {
  padding: 14px 20px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  border-bottom: 1px solid #f1f5f9 !important;
  display: flex !important;
  align-items: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.first-group-title:hover {
  background: #f8fafc !important;
  color: #0052d9 !important;
}

.first-group-title.active {
  background: #f0f5ff !important;
  color: #0052d9 !important;
}

.first-group-title .el-icon-arrow-right {
  margin-left: auto;
  font-size: 12px;
  color: #64748b;
  transition: transform 0.3s;
}

.first-group-title .el-icon-arrow-right.is-open {
  transform: rotate(90deg);
  color: #0052d9;
}

.second-group-list {
  background: #fcfdfe !important;
  padding: 4px 0 !important;
}

.second-group-item {
  position: relative;
  padding: 12px 20px 12px 36px !important;
  font-size: 13px !important;
  color: #475569 !important;
  transition: all 0.2s !important;
  display: flex !important;
  align-items: center !important;
  border-left: 3px solid transparent !important;
  margin: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.second-group-item:hover {
  background: #f1f5f9 !important;
  color: #0052d9 !important;
}

.second-group-item.active {
  background: #e6f0ff !important;
  color: #0052d9 !important;
  font-weight: 600 !important;
  border-left-color: #0052d9 !important;
}

.side-icon {
  margin-right: 10px !important;
  width: 16px;
  text-align: center;
  font-size: 14px;
  color: #94a3b8 !important;
}

.second-group-item.active .side-icon {
  color: #0052d9 !important;
}

/* 配置列表区域 */
.config-list {
  flex: 1;
  font-size: 12px;
  line-height: 1.8;
  margin-bottom: 12px;
  overflow: hidden;
}

/* 纯文本解析的配置列表 */
.config-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.config-list li {
  display: flex;
  justify-content: space-between;
  padding: 2px 0;
  gap: 8px;
}

.config-list .config-key {
  color: #999;
  flex-shrink: 0;
  white-space: nowrap;
}

.config-list .config-value {
  color: #333;
  text-align: right;
  word-break: break-all;
}

/* HTML格式的描述样式 - 支持自定义CSS */
.product-card .config-list {
  /* 允许内部样式生效 */
  all: revert;
}

.product-card .config-list>* {
  all: revert;
}

/* 基础样式重置，避免冲突 */
.product-card .config-list p {
  margin: 4px 0;
  line-height: 1.6;
}

.product-card .config-list br {
  display: block;
  content: "";
  margin: 4px 0;
}

.product-card .config-list table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.product-card .config-list table td,
.product-card .config-list table th {
  padding: 4px 8px;
  border: 1px solid #e8e8e8;
}

.product-card .config-list img {
  max-width: 100%;
  height: auto;
}

.product-card .config-list ul,
.product-card .config-list ol {
  margin: 4px 0;
  padding-left: 16px;
}

.product-card .config-list li {
  display: list-item;
  margin: 2px 0;
}

/* 支持style标签内的CSS样式 */
.product-card style {
  display: none;
}

/* 特性标签 */
.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.feature-tags .tag {
  font-size: 11px;
  color: #666;
  background: #f5f5f5;
  padding: 3px 8px;
  border-radius: 0;
}

/* 价格区域 */
.price-section {
  margin-bottom: 12px;
  padding-top: 12px;
  border-top: 1px dashed #e8e8e8;
}

.main-price {
  display: flex;
  align-items: flex-start;
  margin-bottom: 4px;
}

.main-price .currency {
  font-size: 14px;
  color: var(--color-primary);
  font-weight: 700;
  margin-top: 6px;
  margin-right: 2px;
}

.main-price .amount {
  font-size: 32px;
  color: var(--color-primary);
  font-weight: 800;
  margin: 0 2px;
  letter-spacing: -1px;
}

.main-price .unit {
  font-size: 14px;
  color: var(--color-slate-400);
}

.trial-price {
  font-size: 12px;
  color: #666;
  margin-top: 4px;
}

.original-price {
  font-size: 12px;
  color: #999;
  text-decoration: line-through;
  margin-top: 4px;
}

/* 购买按钮 */
.buy-section {
  margin-top: auto;
  width: calc(100% + 56px);
  margin-left: -28px;
  margin-right: -28px;
  margin-bottom: 0;
}

.buy-btn {
  width: 100%;
  height: 48px;
  border-radius: 0;
  font-size: 15px;
  font-weight: 600;
  background: var(--color-slate-900);
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 0;
}

.buy-btn:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.buy-btn:disabled {
  background: var(--color-slate-200);
  color: var(--color-slate-400);
}

/* 底部声明 */
.footer-notice {
  background: #fff1f0;
  border: 1px solid #ffa39e;
  border-radius: 0;
  padding: 12px 16px;
  display: flex;
  align-items: flex-start;
  font-size: 12px;
  color: #ff4d4f;
  line-height: 1.6;
}

.footer-notice .el-icon-warning {
  margin-right: 8px;
  font-size: 14px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* 无产品提示 */
.no-goods {
  grid-column: 1 / -1;
  padding: 60px 20px;
}

/* 加载提示 */
.tips {
  color: #8692b0;
  font-size: 13px;
  text-align: center;
  padding: 20px;
  grid-column: 1 / -1;
}

/** 域名区域 **/
.domain-section {
  margin-left: 220px;
  padding: 20px;
}

.domain-box {
  background: #fff;
  border-radius: 4px;
  padding: 20px;
}

.domain-box .register-type {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.domain-box .register-type .el-divider {
  background-color: #D8D8D8;
  margin: 0 0.24rem;
}

.domain-box .register-type .reg-ridio {
  font-size: 14px;
  color: #646464;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 4px;
}

.domain-box .register-type .reg-ridio.isActice {
  color: #1890ff;
  background: #e6f7ff;
}

.domain-box .domain-search {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.domain-box .domain-search .el-input {
  flex: 1;
  height: 48px;
}

.domain-box .domain-search .el-input .el-input__inner {
  height: 48px;
  line-height: 48px;
  font-size: 15px;
}

.domain-box .domain-search .suffix-box {
  width: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #2B2B2B;
  font-size: 14px;
  cursor: pointer;
  padding: 0 15px;
}

.domain-box .domain-search .search-button {
  height: 48px;
  padding: 0 40px;
  border: none;
  background: #1890ff;
  color: #ffffff;
  font-size: 15px;
  border-radius: 0 4px 4px 0;
}

.domain-box .domain-search .suffix-list {
  z-index: 2;
  position: absolute;
  top: 48px;
  left: 0;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  padding: 20px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
}

.domain-box .domain-search .suffix-list .suffix-item {
  margin: 6px;
  width: 90px;
  height: 36px;
  border: 1px solid #e6eaed;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  color: #2B2B2B;
  cursor: pointer;
  border-radius: 4px;
}

.domain-box .domain-search .suffix-list .suffix-item:hover {
  background: rgba(24, 144, 255, 0.08);
  border-color: #1890ff;
}

.domain-box .domain-search .suffix-list .suffix-active {
  background: rgba(24, 144, 255, 0.08);
  border-color: #1890ff;
  color: #1890ff;
}

.domain-box .batch-search-box .batch-btn {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.domain-box .batch-search-box .batch-btn .upload-btn {
  display: flex;
  align-items: center;
  column-gap: 8px;
  font-size: 14px;
  color: #1890ff;
  cursor: pointer;
}

.domain-box .domain-content {
  margin-top: 24px;
}

.domain-box .domain-content .domain-left .search-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  color: #2B2B2B;
  margin-bottom: 16px;
}

.domain-box .domain-content .domain-left .domain-list {
  background: #ffffff;
  border: 1px solid #EAEAEA;
  border-radius: 8px;
  overflow: hidden;
}

.domain-box .domain-content .domain-left .domain-list .domain-item {
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ededed;
  padding: 0 24px;
  transition: background-color 0.25s ease;
}

.domain-box .domain-content .domain-left .domain-list .domain-item:hover {
  background-color: #f5f7fa;
}

.domain-box .domain-content .domain-left .domain-list .domain-item .item-left .domain-name {
  font-size: 15px;
  color: #2B2B2B;
  font-weight: 500;
}

.domain-box .domain-content .domain-left .domain-list .domain-item .item-left .domain-status {
  margin-left: 16px;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.6);
}

.domain-box .domain-content .domain-left .domain-list .domain-item .item-right {
  display: flex;
  align-items: center;
}

.domain-box .domain-content .domain-left .domain-list .domain-item .item-right .premium-type {
  padding: 4px 12px;
  margin-right: 16px;
  font-size: 13px;
  color: #8692b0;
  border-radius: 16px;
  background: #f3f3f5;
}

.domain-box .domain-content .domain-left .domain-list .domain-item .item-right .whois-box {
  font-size: 14px;
  color: #2B2B2B;
  cursor: pointer;
}

.domain-box .domain-content .domain-left .domain-list .domain-item .item-right .whois-box:hover {
  color: #1890ff;
}

.domain-box .domain-content .domain-left .domain-list .domain-item .item-right .pirce-box {
  cursor: pointer;
  display: flex;
  align-items: center;
}

.domain-box .domain-content .domain-left .domain-list .domain-item .item-right .pirce-box .now-price {
  font-size: 13px;
  color: #ff4d4f;
}

.domain-box .domain-content .domain-left .domain-list .domain-item .item-right .add-btn {
  margin-left: 24px;
  height: 36px;
  border-radius: 4px;
}

.domain-box .domain-content .domain-left .start-search {
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #EAEAEA;
  border-radius: 8px;
}

.domain-box .domain-content .domain-left .start-search img {
  width: 60px;
  height: 60px;
  margin-bottom: 16px;
}

.domain-box .domain-content .domain-left .start-search p {
  font-size: 15px;
  color: #666;
}

/* 价格弹窗表格 */
.price-list {
  display: flex;
  font-size: 13px;
  background: #fff;
}

.price-list .price-item {
  display: flex;
  border-bottom: 1px solid #f0f0f0;
}

.price-list .price-item:last-child {
  border-bottom: none;
}

.price-list .price-item>div {
  width: 80px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.price-list .price-item .price-year {
  background: #f8fafc;
  color: #666;
}

.price-list .price-item .price-new {
  color: #ff4d4f;
  font-weight: 500;
}

.price-list .price-item .price-renew {
  color: #666;
}

/* 上传弹窗 */
.up-dialog .el-dialog__header {
  display: none;
}

.up-dialog .el-dialog__body {
  padding: 40px;
}

.up-dialog .dia-title {
  font-size: 18px;
  color: #171725;
  font-weight: 500;
}

.up-dialog .dia-concent {
  margin-top: 20px;
}

.up-dialog .dia-concent .up-tips {
  font-size: 14px;
  color: #666;
}

.up-dialog .dia-concent .file-box {
  margin-top: 16px;
  display: flex;
  align-items: center;
}

.up-dialog .dia-concent .file-box .file-name {
  flex: 1;
  border: 1px solid #e6e7eb;
  height: 40px;
  line-height: 40px;
  padding: 0 12px;
  background: #f5f5f5;
  font-size: 14px;
  border-radius: 4px 0 0 4px;
}

.up-dialog .dia-concent .file-box .file-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  height: 40px;
  color: #4e5259;
  font-size: 14px;
  border: 1px solid #e6e7eb;
  border-left: none;
  background: #fff;
  cursor: pointer;
  border-radius: 0 4px 4px 0;
}

.up-dialog .dia-foter {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 24px;
}

.up-dialog .dia-foter .confim-btn,
.up-dialog .dia-foter .cancel-btn {
  min-width: 90px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
}

.up-dialog .dia-foter .confim-btn {
  background: #1890ff;
  color: #fff;
}

.up-dialog .dia-foter .cancel-btn {
  margin-left: 12px;
  background: #f0f0f0;
  color: #666;
}

.el-popover {
  max-width: none;
}

/* 兼容原有样式 */
.main-title {
  font-size: 20px;
  color: #171725;
  margin-bottom: 16px;
}

.client-box {
  position: absolute;
  top: 0;
  right: 0;
  background-color: #1890ff;
  padding: 4px 10px;
  color: #fff;
  font-size: 12px;
  border-radius: 0 4px 0 8px;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {

  /* 隐藏桌面端侧边栏 */
  .left-sidebar {
    display: none;
  }

  /* 移动端主内容取消左偏移 */
  .goods-list-main {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    padding: 0 !important;
  }

  /* 调整右侧内容区 */
  .right-content {
    margin-left: 0;
    padding: 0 12px 20px 12px !important;
    width: 100% !important;
  }

  /* 显示移动端分组标题区 */
  .mobile-group-header {
    display: block;
    position: relative;
    margin: 0 -12px 12px -12px;
    padding: 0;
    background: #1a1a2e;
    border-bottom: none;
    overflow: hidden;
    min-height: 100px;
  }

  /* 移动端标题行调整 */
  .mobile-group-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
  }

  .mobile-group-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    flex: 1;
    min-width: 0;
    margin-right: 8px;
  }

  .mobile-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }

  .mobile-menu-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
    color: #fff;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.4);
  }

  .mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
  }

  .mobile-menu-btn:active {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(0);
  }

  .mobile-menu-btn i {
    font-size: 15px;
  }

  .mobile-home-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
    color: #fff;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
  }

  .mobile-home-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
  }

  .mobile-home-btn:active {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(0);
  }

  .mobile-home-btn i {
    font-size: 15px;
  }

  /* 海报背景图层 */
  .mobile-banner-bg {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
  }

  .mobile-banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.55;
  }

  /* 内容层叠在背景上 */
  .mobile-group-content {
    position: relative;
    z-index: 1;
    padding: 16px;
  }

  .mobile-group-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
  }

  .mobile-group-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    flex: 1;
    min-width: 0;
  }

  .mobile-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }

  .mobile-menu-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
    color: #fff;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.4);
  }

  .mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
  }

  .mobile-menu-btn i {
    font-size: 14px;
  }

  .mobile-home-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
    color: #fff;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
  }

  .mobile-home-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
  }

  .mobile-home-btn i {
    font-size: 14px;
  }

  .mobile-home-btn i {
    font-size: 14px;
  }

  .mobile-group-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 10px 14px;
    border-radius: 0;
    backdrop-filter: blur(4px);
  }

  /* 隐藏桌面端的分组描述（移动端已在顶部显示） */
  .group-description-box {
    display: none !important;
  }

  /* 移动端海报区域边距调整 */
  .top-banner-area {
    display: none !important;
  }

  /* 完美防止移动端出现横向滚动条，隐藏桌面侧栏 */
  aside-menu,
  .aside-menu,
  .el-aside {
    display: none !important;
  }

  body,
  html,
  .template {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 移动端主内容取消左右边距，全宽展示 */
  .goods-list-main .goods-page-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
  }

  /* 产品网格改为高精度 Grid 布局，完美免疫 Flex 包裹溢出 */
  .products-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 0 24px 0 !important;
    box-sizing: border-box !important;
  }

  /* 产品卡片调整 */
  .product-card,
  .product-card-replica {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    /* 移动端防止字体缩放 */
    -webkit-text-size-adjust: none !important;
    text-size-adjust: none !important;
  }

  /* 移动端卡片标题 - 与下方产品信息区同色 */
  .card-header-replica {
    gap: 10px !important;
    margin: 0 !important;
    padding: 16px 16px 12px !important;
    min-height: 48px !important;
    align-items: center !important;
    background: #ffffff !important;
    border-bottom: 1px solid #edf2f7 !important;
    box-sizing: border-box !important;
  }

  /* 移动端 favicon */
  .card-favicon {
    width: 20px !important;
    height: 20px !important;
    margin-right: 0 !important;
    flex-shrink: 0 !important;
  }

  .product-name {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #1a202c !important;
    margin: 0 !important;
    line-height: 1.4 !important;
    word-break: break-all !important;
    white-space: normal !important;
    flex: 1 !important;
  }

  .cpu-tag {
    font-size: 11px !important;
    padding: 3px 8px !important;
  }

  /* 配置规格参数区 - 适配各种小屏折行 */
  .specs-list-replica {
    padding: 16px !important;
    box-sizing: border-box !important;
  }

  /* 解决各种描述/参数的字体在移动端因为比例缩放或继承而变小的问题 */
  .config-list,
  .config-list-replica,
  .config-list-replica *,
  .config-list * {
    font-size: 14px !important;
    /* 强行保证所有富文本段落、表格、文字至少 14px */
    line-height: 1.6 !important;
  }

  .config-list-replica ul,
  .config-list-replica .config-list {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    /* 双列 */
    gap: 8px !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 超窄屏手机自动折为单列 */
  @media screen and (max-width: 360px) {

    .config-list-replica ul,
    .config-list-replica .config-list {
      grid-template-columns: 1fr !important;
    }

    .config-list-replica li:has(.config-key:empty),
    .config-list-replica li:not(:has(.config-key)) {
      grid-column: span 1 !important;
    }
  }

  .config-list-replica li {
    padding: 8px 10px !important;
    margin: 0 !important;
    min-height: 52px !important;
    box-sizing: border-box !important;
    border-radius: 4px !important;
  }

  .config-list-replica .config-key {
    font-size: 12px !important;
    /* 升级参数标签到 12px */
    line-height: 1.3 !important;
    margin-bottom: 2px !important;
  }

  .config-list-replica .config-value {
    font-size: 14px !important;
    /* 升级参数值到 14px */
    line-height: 1.4 !important;
    font-weight: 600 !important;
  }

  .config-list table td {
    padding: 4px 0 !important;
  }

  .feature-tags .tag {
    font-size: 11px !important;
    padding: 4px 8px !important;
  }

  /* 修复定价类名不匹配的问题，使移动端价格显示更精致 */
  .price-main {
    display: flex !important;
    align-items: baseline !important;
  }

  .price-main .value {
    font-size: 24px !important;
    /* 适当微缩价格，避免极窄屏折行 */
    font-weight: 800 !important;
  }

  .price-main .currency {
    font-size: 13px !important;
  }

  .price-main .unit {
    font-size: 12px !important;
  }

  .price-container-replica {
    padding: 0 !important;
    flex: 1 1 auto;
    min-width: 0;
  }

  /* 移动端卡片脚部 - 保持左右布局 */
  .card-footer-replica {
    padding: 12px 16px !important;
    box-sizing: border-box !important;
    border-top: 1px dashed #e2e8f0 !important;
    background: #ffffff !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
  }

  /* 移动端按鈕组 - 靠右固定 */
  .card-buttons-group {
    display: flex !important;
    flex-shrink: 0;
    margin: 0 !important;
    gap: 8px !important;
  }

  .cart-btn-replica,
  .buy-btn-replica {
    height: 38px !important;
    line-height: 36px !important;
    border-radius: 4px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    font-size: 13px !important;
  }

  .buy-btn-replica {
    flex: 3 !important;
  }

  .cart-btn-replica {
    flex: 1.2 !important;
    font-size: 18px !important;
    padding: 0 !important;
  }

  .cart-btn-replica i {
    margin: 0 !important;
    font-size: 16px !important;
  }

  .buy-section {
    width: 100% !important;
    margin: 0 !important;
  }

  .buy-button,
  .buy-btn {
    height: 40px !important;
    font-size: 14px !important;
    border-radius: 4px !important;
    width: 100% !important;
    margin: 0 !important;
    box-shadow: none !important;
  }

  /* 提示条调整 */
  .login-notice-bar,
  .activity-bar {
    padding: 10px 14px !important;
    font-size: 12px !important;
    width: 100% !important;
    margin: 0 0 16px 0 !important;
    border-radius: 4px !important;
    box-sizing: border-box !important;
    border-left: 3px solid #1890ff !important;
  }

  /* 分组描述区域全屏显示 */
  .group-description-box {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 16px 0 !important;
    border-radius: 4px !important;
    box-sizing: border-box !important;
    padding: 12px 14px !important;
  }

  /* 移动端固定所有字体大小 */
  .product-card-replica * {
    -webkit-text-size-adjust: none !important;
    text-size-adjust: none !important;
  }

  .product-card-replica .product-name {
    font-size: 16px !important;
  }

  .product-card-replica .config-list-replica li {
    font-size: 12px !important;
  }

  /* 卡片hover效果顶部横条也改为直角 */
  .product-card::before {
    border-radius: 0 !important;
  }

  /* 移动端公告栏边距调整 */
  .info-notice-card {
    box-sizing: border-box !important;
    padding: 14px 16px !important;
    margin: 24px 0 0 0 !important;
    width: 100% !important;
    border-radius: 4px !important;
    gap: 10px !important;
  }

  .notice-text {
    flex: 1 !important;
    min-width: 0 !important;
    word-break: break-all !important;
  }

  /* 底部声明调整 */
  .footer-notice {
    padding: 10px 12px !important;
    font-size: 11px !important;
    margin: 0 0 16px 0 !important;
    border-radius: 4px !important;
    box-sizing: border-box !important;
  }

  /* ==================== 域名模块纵向自适应重构 ==================== */
  .domain-section {
    margin-left: 0 !important;
    padding: 16px 0 20px 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .domain-box {
    padding: 16px 12px !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    background: #ffffff !important;
  }

  .domain-box .register-type {
    margin-bottom: 16px !important;
    justify-content: flex-start !important;
    gap: 8px !important;
  }

  .domain-box .register-type .reg-ridio {
    font-size: 13px !important;
    padding: 6px 12px !important;
  }

  .domain-box .register-type .el-divider {
    margin: 0 6px !important;
  }

  /* 搜索框改竖排，适应小屏幕 */
  .domain-box .domain-search {
    flex-direction: column !important;
    gap: 12px !important;
    align-items: stretch !important;
    width: 100% !important;
    margin-bottom: 16px !important;
  }

  .domain-box .domain-search .el-input {
    width: 100% !important;
    height: 42px !important;
  }

  .domain-box .domain-search .el-input .el-input__inner {
    height: 42px !important;
    line-height: 42px !important;
    font-size: 14px !important;
    border-radius: 4px !important;
  }

  .domain-box .domain-search .suffix-box {
    width: 90px !important;
    padding: 0 8px !important;
    font-size: 13px !important;
  }

  .domain-box .domain-search .search-button {
    width: 100% !important;
    height: 42px !important;
    border-radius: 4px !important;
    padding: 0 !important;
    margin-left: 0 !important;
    font-size: 14px !important;
  }

  /* 后缀下拉浮层适配 */
  .domain-box .domain-search .suffix-list {
    position: absolute !important;
    top: 98px !important;
    padding: 12px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  .domain-box .domain-search .suffix-list .suffix-item {
    width: calc(33.33% - 10px) !important;
    margin: 5px !important;
    font-size: 12px !important;
    height: 32px !important;
  }

  /* 批量查询按钮区域 */
  .domain-box .batch-search-box .batch-btn {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    margin-top: 12px !important;
  }

  .domain-box .batch-search-box .batch-btn .upload-btn {
    justify-content: center !important;
    padding: 10px !important;
    background: #f8fafc !important;
    border-radius: 4px !important;
    border: 1px dashed #cbd5e1 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .domain-box .batch-search-box .batch-btn .el-button {
    width: 100% !important;
    height: 40px !important;
    margin: 0 !important;
  }

  /* 查询结果容器 */
  .domain-box .domain-content {
    margin-top: 16px !important;
  }

  .domain-box .domain-content .domain-left .search-title {
    font-size: 14px !important;
    margin-bottom: 12px !important;
  }

  .domain-box .domain-content .domain-left .domain-list {
    border-radius: 4px !important;
  }

  /* 查询结果单个条目纵向响应式 */
  .domain-box .domain-content .domain-left .domain-list .domain-item {
    flex-direction: column !important;
    height: auto !important;
    padding: 14px 16px !important;
    align-items: stretch !important;
    gap: 12px !important;
    border-bottom: 1px solid #f1f5f9 !important;
  }

  .domain-box .domain-content .domain-left .domain-list .domain-item .item-left {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
  }

  .domain-box .domain-content .domain-left .domain-list .domain-item .item-left .domain-name {
    font-size: 14px !important;
  }

  .domain-box .domain-content .domain-left .domain-list .domain-item .item-left .domain-status {
    margin-left: 0 !important;
    font-size: 12px !important;
  }

  .domain-box .domain-content .domain-left .domain-list .domain-item .item-right {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    border-top: 1px dashed #edf2f7 !important;
    padding-top: 10px !important;
  }

  .domain-box .domain-content .domain-left .domain-list .domain-item .item-right .premium-type {
    padding: 2px 8px !important;
    margin-right: 0 !important;
    font-size: 11px !important;
  }

  .domain-box .domain-content .domain-left .domain-list .domain-item .item-right .pirce-box {
    margin-left: 0 !important;
  }

  .domain-box .domain-content .domain-left .domain-list .domain-item .item-right .add-btn {
    margin-left: auto !important;
    height: 32px !important;
    line-height: 32px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
  }

  .domain-box .domain-content .domain-left .domain-list .domain-item .item-right .whois-box {
    margin-left: auto !important;
    font-size: 12px !important;
    border: 1px solid #e2e8f0 !important;
    padding: 6px 12px !important;
    border-radius: 4px !important;
    background: #ffffff !important;
  }
}

@media screen and (max-width: 750px) {
  .goods-list-div {
    grid-template-columns: repeat(1, 1fr);
  }

  .search-box .el-select .el-input__inner {
    height: 40px !important;
    line-height: 40px;
  }

  .second-select .el-input__inner {
    height: 40px !important;
    line-height: 40px;
  }

  .search-input .el-input__inner {
    height: 40px !important;
    line-height: 40px;
  }

  .search-btn {
    height: 40px;
  }
}

/* ==================== 移动端产品组抽屉菜单 ==================== */

/* 悬浮按钮 - 产品组菜单按钮（白色半透明背景+蓝色图标+文字） */
.mobile-float-menu-btn {
  display: none;
  position: fixed;
  right: 16px;
  bottom: 80px;
  width: 52px;
  height: 60px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.1),
    0 1px 4px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #1890ff;
  font-size: 20px;
  cursor: pointer;
  z-index: 9998;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(24, 144, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 4px 0;
}

.mobile-float-menu-btn i {
  font-size: 22px;
  color: #1890ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.mobile-float-menu-btn .btn-text {
  font-size: 10px;
  color: #1890ff;
  margin-top: 2px;
  font-weight: 500;
  line-height: 1;
}

.mobile-float-menu-btn:hover {
  transform: translateY(-4px) scale(1.05);
  background: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.mobile-float-menu-btn:active {
  transform: translateY(-2px) scale(1.02);
  background: rgba(255, 255, 255, 0.75);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* 抽屉遮罩 */
.mobile-drawer-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 9998;
  transition: background 0.3s ease;
}

.mobile-drawer-overlay.show {
  background: rgba(0, 0, 0, 0.5);
}

/* 抽屉菜单 - 从左往右滑出，宽度 85% */
.mobile-group-drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 85%;
  height: 100%;
  background: #fff;
  z-index: 9999;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
}

.mobile-group-drawer.show {
  transform: translateX(0);
}

/* 抽屉头部 - 紧凑优化 */
.mobile-group-drawer .drawer-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px !important;
  padding: 0 12px !important;
  border-bottom: 1px solid #f0f0f0;
  background: #fff;
  flex-shrink: 0;
  box-sizing: border-box;
}

.mobile-group-drawer .drawer-title {
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
  text-align: center;
  line-height: 44px;
}

.mobile-group-drawer .drawer-header .close-icon {
  position: absolute;
  right: 12px !important;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px !important;
  color: #c0c4cc;
  cursor: pointer;
  transition: color 0.2s ease;
}

.mobile-group-drawer .drawer-header .close-icon:hover {
  color: #909399;
}

/* 抽屉搜索框 - 紧凑优化 */
.mobile-group-drawer .drawer-search {
  padding: 6px 12px !important;
  background: #fff;
  border-bottom: 1px solid #f5f5f5;
  flex-shrink: 0;
  box-sizing: border-box;
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
}

.mobile-group-drawer .drawer-search .el-input {
  height: 32px !important;
  line-height: 32px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.mobile-group-drawer .drawer-search .el-input__inner {
  border-radius: 20px;
  background: #f5f7fa;
  border: none;
  font-size: 12px;
  height: 32px !important;
  line-height: 32px !important;
  padding: 0 12px 0 30px !important;
  box-sizing: border-box !important;
}

.mobile-group-drawer .drawer-search .el-input__prefix,
.mobile-group-drawer .drawer-search .el-input__icon {
  height: 32px !important;
  line-height: 32px !important;
  display: flex !important;
  align-items: center !important;
}

/* 抽屉主体 */
.mobile-group-drawer .drawer-body {
  display: flex;
  flex: 1;
  overflow: hidden;
  background: #fff;
}

/* 左侧一级导航 */
.mobile-group-drawer .drawer-left {
  width: 110px;
  background: #f6f8fb;
  overflow-y: auto;
  flex-shrink: 0;
  -webkit-overflow-scrolling: touch;
}

.mobile-group-drawer .first-group-nav {
  padding: 0;
  margin: 0;
}

.mobile-group-drawer .first-nav-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 10px;
  font-size: 13px;
  color: #4b5563;
  text-align: center;
  cursor: pointer;
  background: #f6f8fb;
  transition: all 0.2s ease;
  line-height: 1.4;
  font-weight: 400;
  border-bottom: 1px solid rgba(0, 0, 0, 0.02);
}

.mobile-group-drawer .first-nav-item.active {
  background: #ffffff;
  color: #0066ff;
  font-weight: 600;
}

.mobile-group-drawer .first-nav-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 16px;
  background-color: #0066ff;
  border-radius: 0 4px 4px 0;
}

/* 右侧二级内容区 */
.mobile-group-drawer .drawer-right {
  flex: 1;
  overflow-y: auto;
  padding: 0 16px 40px 16px;
  background: #ffffff;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.mobile-group-drawer .drawer-section {
  padding-top: 16px;
}

/* 右侧一级标题 */
.mobile-group-drawer .right-first-title {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  padding-top: 4px;
}

/* 二级分组网格 */
.mobile-group-drawer .second-group-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 12px;
  margin-bottom: 16px;
}

/* 二级卡片 */
.mobile-group-drawer .second-group-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 8px;
  background: #ffffff;
  border: 1px solid #e8ecf0;
  border-radius: 4px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.mobile-group-drawer .second-group-card:active {
  background: #f0f5ff;
  border-color: #0066ff;
}

.mobile-group-drawer .second-group-card.active {
  border-color: #0066ff;
  background: #f0f5ff;
}

.mobile-group-drawer .second-group-card.active .group-name {
  color: #0066ff;
  font-weight: 600;
}

.mobile-group-drawer .second-group-card .group-name {
  font-size: 12px;
  color: #333333;
  line-height: 1.3;
  font-weight: 500;
  word-break: break-all;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

/* 红色/橙色角标标签 (Sitting on top border) - 腾讯风格扁平直角无边框 */
.mobile-group-drawer .second-group-card .group-tag.mobile {
  position: absolute;
  top: -8px;
  /* overlapping the top border */
  right: 6px;
  background: #ff4d4f !important;
  /* 腾讯云标准红 */
  color: #ffffff !important;
  font-size: 9px !important;
  padding: 2px 5px !important;
  border-radius: 0px !important;
  /* 严格直角 */
  font-weight: 600 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  border: none !important;
  /* 无边框！ */
  box-shadow: none !important;
  /* 无阴影 */
  text-shadow: none !important;
  /* 无字体阴影 */
  transform: scale(0.9);
  transform-origin: right top;
}

.no-second-group {
  padding: 24px 12px;
  text-align: center;
  color: #9ca3af;
  font-size: 12px;
}

/* 移动端显示 */
@media screen and (max-width: 768px) {

  /* 移动端悬浮菜单按钮 */
  .mobile-float-menu-btn {
    display: flex !important;
    right: 12px;
    bottom: 80px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    box-shadow:
      0 4px 14px rgba(0, 0, 0, 0.1),
      0 1px 4px rgba(0, 0, 0, 0.05),
      inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(24, 144, 255, 0.2);
    flex-direction: column;
    padding: 2px 0;
  }

  .mobile-float-menu-btn i {
    font-size: 20px;
    color: #1890ff;
  }

  .mobile-float-menu-btn .btn-text {
    font-size: 8px;
    color: #1890ff;
    margin-top: 1px;
    font-weight: 500;
    line-height: 1;
  }

  .mobile-drawer-overlay {
    display: block;
  }

  .mobile-group-drawer {
    display: flex;
  }
}


/* ── 入场动画 ── */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-up {
  animation: fadeSlideUp 0.45s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* 海报区入场 */
.top-banner-area {
  animation: fadeSlideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* 产品卡片入场（通过 JS 内联 animation-delay 实现错落感） */
.product-card-replica {
  animation: fadeSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* ================================================================
   布局修复补丁：确保产品分类侧边栏跟随全局菜单右侧正常布局
   ================================================================ */

/*
 * 关键：el-main 默认 overflow:auto 会阻止子元素的 sticky 定位。
 * 必须覆盖为 overflow:visible，让 sticky 能够正确工作。
 */
.el-main.goods-list-main {
  overflow: visible !important;
  padding: 0 !important;
}

/*
 * el-container 布局确保全高度铺满
 */
.template>.el-container {
  min-height: 100vh;
  align-items: stretch;
}

.template>.el-container>.el-container {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/*
 * goods-page-container 在 el-main 内撑满高度
 */
.goods-list-main .goods-page-container {
  flex: 1;
}

/* ================================================================
   移动端响应式：窄屏隐藏桌面侧边栏（由 mobile-group-drawer 承担）
   ================================================================ */
@media screen and (max-width: 992px) {
  .left-sidebar {
    display: none !important;
  }

  .goods-list-main {
    margin-left: 0 !important;
  }

  .right-content {
    padding: 0 16px 16px !important;
  }
}

/* 导航栏国旗直角样式 */
.menu-flag-icon {
  width: 18px !important;
  height: 12px !important;
  object-fit: cover !important;
  border-radius: 0px !important;
  /* 完美的直角 */
  margin-right: 8px !important;
  border: 1px solid #e2e8f0 !important;
  flex-shrink: 0 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

/* 右上角自定义徽章标签样式 (紫色折角扁平设计) */
.product-card-replica {
  position: relative;
  overflow: visible !important;
  /* 确保右上角微章能够向上溢出边框线展示 */
}

.product-badge-replica {
  position: absolute;
  top: -11px;
  /* 向上溢出悬挂于卡片边框 */
  right: 0;
  /* 完美对齐卡片右侧边缘 */
  background: linear-gradient(135deg, #ff8b3d 0%, #f79b55 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px 3px 16px;
  /* 左边多留点边距给斜切角 */
  height: 22px;
  line-height: 16px;
  box-sizing: border-box;
  z-index: 10;
  letter-spacing: 0.5px;
  pointer-events: none;
  border-radius: 0 4px 4px 0;
  /* 右侧圆角 */
  clip-path: polygon(8px 0%, 100% 0%, 100% 100%, 0% 100%);
  /* 左边斜切 */
  box-shadow: 0 4px 10px rgba(139, 61, 255, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

/* 悬停时的呼吸动效 */
.product-card-replica:hover .product-badge-replica {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(139, 61, 255, 0.5);
}