.hot-selection-section {
  padding: 80px 0;
  background-color: #f5f7fa;
  color: #1e293b;
  font-family: "Inter", "Microsoft YaHei", sans-serif;
  position: relative;
  overflow: hidden;
}

/* 右上角紫蓝色渐变背景 */
.hot-selection-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  left: auto;
  width: 700px;
  height: 700px;
  background: radial-gradient(ellipse at top right, 
    rgba(100, 80, 220, 0.15) 0%, 
    rgba(80, 120, 240, 0.12) 25%,
    rgba(0, 82, 217, 0.08) 50%, 
    rgba(0, 82, 217, 0) 70%);
  z-index: 1;
  pointer-events: none;
  filter: blur(40px);
  transform: rotate(-15deg);
}

.hot-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* 标题区 */
.hot-header {
  text-align: center;
  margin-bottom: 50px;
}

.hot-header .section-badge {
  display: inline-block;
  padding: 4px 14px;
  background: linear-gradient(135deg, #0052D9 0%, #0082FF 100%) !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  border-radius: 20px !important;
  margin-bottom: 16px !important;
  letter-spacing: 1px !important;
  box-shadow: 0 4px 10px rgba(0, 82, 217, 0.15) !important;
}

.hot-header h2 {
  font-size: 32px;
  font-weight: 850;
  color: #1a1a2e;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.hot-header h2 span {
  background: linear-gradient(135deg, #0052D9 0%, #00a2ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hot-header p {
  color: #64748b;
  font-size: 15px;
}

/* Tab 导航条 */
.hot-selection-tabs {
  display: inline-flex;
  justify-content: center;
  gap: 0;
  margin-top: 30px;
  background: #fff;
  border: 1px solid #eee;
}

.hot-tab-item {
  padding: 12px 30px;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  border-right: 1px solid #eee;
}

.hot-tab-item:last-child { border-right: none; }

.hot-tab-item.active {
  background: #0052D9 !important;
  color: #fff !important;
  border-color: #0052D9 !important;
}

/* Tab 面板 */
.hot-tab-panel {
  display: none;
}

.hot-tab-panel.active {
  display: block;
}

/* 网格布局 */
.hot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

/* 卡片重塑：大厂标准白卡片 */
.hot-card {
  background: #ffffff;
  border: 1px solid transparent;
  padding: 24px;
  position: relative;
  transition: all 0.3s ease;
  border-radius: 4px; /* Optimized to 4px rounded corner */
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  text-align: left;
}

.hot-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 82, 217, 0.06);
  border-color: #0052D9; /* Optimized hover outline */
}

/* 卡片头部 */
.hot-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.hot-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #000;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hot-card h3::after {
  display: none !important; /* 彻底取消并移除该处的破损网页字体图标 */
}

/* 地域标签 */
.region-bar {
  display: inline-flex;
  background: rgba(0, 82, 217, 0.08);
  color: #0052D9;
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 2px;
  margin-bottom: 20px;
}

/* 规格展示区 */
.hot-specs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.spec-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.spec-row .label {
  width: 40px;
  font-size: 14px;
  color: #666;
  flex-shrink: 0;
}

.spec-row .val-text {
  font-size: 14px;
  color: #000;
  font-weight: 500;
}

/* 模拟下拉框样式 */
.spec-box {
  flex: 1;
  border: 1px solid #eee;
  padding: 8px 12px;
  font-size: 14px;
  color: #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
}

.spec-box::after {
  display: none !important; /* 彻底移除下拉小三角指示图标 */
}

/* 折扣标签嵌入下拉框 */
.discount-in-box {
  color: #ff5000;
  border: 1px solid #ff5000;
  font-size: 12px;
  padding: 0 4px;
  margin-right: 4px;
}

/* 价格区与操作区外层 */
.hot-footer-row {
  display: flex;
  flex-direction: column;
  margin-top: auto;
}

/* 价格区 */
.hot-price-section {
  margin-top: 0;
}

.hot-tags-row {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
}

.tag-orange {
  background: #ff5000;
  color: #fff;
  padding: 1px 6px;
  font-size: 12px;
  font-weight: 600;
}

.tag-outline {
  border: 1px solid #999;
  color: #666;
  padding: 1px 6px;
  font-size: 12px;
}

.price-main-row {
  display: flex;
  align-items: baseline;
  gap: 2px;
  color: #ff5000;
}

.price-main-row .amount {
  font-size: 32px;
  font-weight: 700;
}

.price-main-row .unit {
  font-size: 14px;
}

.price-sub-info {
  font-size: 12px;
  color: #999;
  margin-bottom: 20px;
  display: flex;
  gap: 12px;
}

.price-sub-info .old-price {
  text-decoration: line-through;
}

/* 底部操作区 */
.hot-actions {
  display: flex;
  gap: 10px;
}

.btn-buy-now {
  flex: 1;
  background: #1677FF;
  color: #fff !important;
  text-align: center;
  padding: 12px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none !important;
}

.btn-buy-now:hover {
  background: #005ce6;
}

.btn-add-cart {
  width: 46px;
  height: 46px;
  border: 1px solid #1677FF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1677FF;
  background: #fff;
  text-decoration: none !important;
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  transition: all 0.2s;
}

.btn-add-cart:hover {
  background: #1677FF;
  color: #fff;
}

/* 响应式 */
@media (max-width: 768px) {
  .hot-grid {
    display: flex !important;
    flex-direction: column !important;
    padding: 10px 0 20px !important;
    margin: 0 !important;
    gap: 16px !important;
    overflow-x: visible !important;
  }
  
  /* Tab 选项栏适配：宽度平摊，缩小字号与内边距以防突兀 */
  .hot-selection-tabs {
    display: flex !important;
    width: 100% !important;
    justify-content: space-between !important;
    margin-top: 20px !important;
    box-sizing: border-box !important;
  }

  .hot-tab-item {
    flex: 1 !important;
    padding: 8px 2px !important;
    font-size: 11px !important;
    text-align: center !important;
    line-height: 1.3 !important;
    font-weight: 500 !important;
    color: #4b5563 !important;
  }

  .hot-tab-item.active {
    font-weight: 600 !important;
    color: #fff !important;
    background: #0052D9 !important;
    border-color: #0052D9 !important;
  }
  
  /* 压缩卡片高度、内边距，呈现直观精致布局 */
  .hot-card {
    flex: none !important;
    width: 100% !important;
    padding: 16px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
  }

  .hot-card h3 {
    font-size: 16px !important;
    margin-bottom: 8px !important;
  }

  .region-bar {
    margin-bottom: 12px !important;
    font-size: 11px !important;
    padding: 2px 6px !important;
  }

  /* 产品规格：一行2个，2*2网格排布 */
  .hot-specs {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    margin-bottom: 16px !important;
  }

  .spec-row {
    gap: 6px !important;
    align-items: center !important;
  }

  .spec-row .label {
    width: 32px !important;
    font-size: 12px !important;
    color: #666 !important;
  }

  .spec-row .val-text {
    font-size: 12px !important;
  }

  /* 下拉选项微缩扁平化 */
  .spec-box {
    padding: 4px 8px !important;
    font-size: 12px !important;
    height: 26px !important;
  }

  .discount-in-box {
    font-size: 10px !important;
    padding: 0 2px !important;
  }

  /* 底部排版：左侧价格详细，右侧立即购买按钮 */
  .hot-footer-row {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-end !important;
    margin-top: 12px !important;
    border-top: 1px solid #f1f5f9 !important;
    padding-top: 12px !important;
  }

  .hot-price-section {
    flex: 1 !important;
  }

  .hot-tags-row {
    margin-bottom: 4px !important;
    gap: 4px !important;
  }

  .tag-orange, .tag-outline {
    font-size: 10px !important;
    padding: 1px 4px !important;
  }

  .price-main-row .amount {
    font-size: 24px !important;
  }

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

  .price-sub-info {
    margin-bottom: 0 !important;
    gap: 6px !important;
    font-size: 11px !important;
  }

  .hot-actions {
    flex: 0 0 auto !important;
    align-items: center !important;
    gap: 6px !important;
  }
}

/* ==================== 桌面端自适应：大厂画廊双栏布局（顶部居中标题 + 下部左控制区右卡片流） ==================== */
@media (min-width: 993px) {
  /* 拓宽容器以获得充足展示宽度 */
  .hot-selection-section .hot-inner {
    max-width: 1400px !important;
  }

  /* 顶部标题栏保持居中 */
  .hot-selection-section .hot-header {
    text-align: center !important;
    margin-bottom: 50px !important;
    position: static !important;
    width: 100% !important;
  }

  .hot-selection-section .hot-header h2 {
    font-size: 32px !important; /* 保持精细字号 */
    line-height: 1.3 !important;
  }

  .hot-selection-section .hot-header p {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #64748b !important;
  }

  /* 下部布局容器：左右分栏 */
  .hot-selection-section .hot-main-layout {
    display: flex !important;
    gap: 40px !important;
    align-items: flex-start !important;
    width: 100% !important;
  }

  /* 左侧 Tab 选项卡（粘性定位，随滚动悬停在左侧） */
  .hot-selection-section .hot-selection-tabs {
    flex: 0 0 280px !important;
    display: flex !important;
    flex-direction: column !important;
    background: transparent !important;
    border: none !important;
    gap: 12px !important;
    margin-top: 0 !important;
    position: sticky !important;
    top: 100px !important; /* 配合固定导航栏高度 */
    z-index: 10 !important;
  }

  .hot-selection-section .hot-tab-item {
    border: 1px solid #e2e8f0 !important;
    border-radius: 4px !important;
    text-align: left !important;
    padding: 16px 24px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #334155 !important;
    background: #ffffff !important;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02) !important;
    position: relative !important;
    cursor: pointer !important;
    overflow: hidden !important;
  }

  .hot-selection-section .hot-tab-item:last-child {
    border-right: 1px solid #e2e8f0 !important;
  }

  .hot-selection-section .hot-tab-item:hover {
    background: rgba(0, 82, 217, 0.02) !important;
    border-color: #cbd5e1 !important;
    color: #0052d9 !important;
    transform: translateX(4px) !important;
  }

  .hot-selection-section .hot-tab-item.active {
    background: #ffffff !important;
    color: #0052d9 !important;
    border-color: #0052d9 !important;
    font-weight: 700 !important;
    box-shadow: 0 6px 20px rgba(0, 82, 217, 0.08) !important;
    transform: translateX(4px) !important;
  }

  .hot-selection-section .hot-tab-item.active::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 4px !important;
    background: #0052d9 !important;
  }

  /* 右侧卡片面板区域 */
  .hot-selection-section .hot-tabs-panels {
    flex: 1 !important;
    min-width: 0 !important;
  }

  /* 右侧产品网格卡片：单列长条排布 */
  .hot-selection-section .hot-grid {
    grid-template-columns: 1fr !important;
    margin-top: 0 !important;
    gap: 16px !important;
  }

  /* 产品卡片重塑为扁平长条 */
  .hot-selection-section .hot-card {
    display: grid !important;
    grid-template-columns: 220px 1fr auto auto !important; /* 四列布局：标题与地域 | 核心配置 | 价格 | 购买动作 */
    align-items: center !important;
    gap: 16px 30px !important;
    padding: 24px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 4px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    position: relative !important;
    overflow: hidden !important;
  }

  /* 解决长条卡片悬停时变高的问题 */
  .hot-selection-section .hot-card:hover {
    transform: translateY(-4px) !important;
    border-color: #0052d9 !important;
    box-shadow: 0 12px 30px rgba(0, 82, 217, 0.06) !important;
  }

  /* 推荐卡片样式设计 */
  .hot-selection-section .hot-card.featured {
    border: 1px solid rgba(0, 82, 217, 0.25) !important;
    background: linear-gradient(90deg, #ffffff 0%, rgba(0, 82, 217, 0.01) 100%) !important;
    box-shadow: 0 6px 18px rgba(0, 82, 217, 0.03) !important;
  }

  .hot-selection-section .hot-card.featured::after {
    content: '★ 推荐爆款' !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    background: linear-gradient(135deg, #ff5000 0%, #ff8000 100%) !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    padding: 3px 8px !important;
    border-radius: 0 0 0 8px !important;
    letter-spacing: 0.5px !important;
    z-index: 5 !important;
    display: block !important;
  }

  .hot-selection-section .hot-card.featured:hover {
    border-color: #0052d9 !important;
    box-shadow: 0 16px 36px rgba(0, 82, 217, 0.12) !important;
    background: linear-gradient(90deg, #ffffff 0%, rgba(0, 82, 217, 0.03) 100%) !important;
  }

  /* 元素定位分配 - SSR 版本 */
  .hot-selection-section .hot-card-header {
    grid-column: 1 !important;
    grid-row: 1 !important;
    margin-bottom: 0 !important;
  }

  .hot-selection-section .hot-card h3 {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin: 0 !important;
  }

  .hot-selection-section .region-bar {
    grid-column: 1 !important;
    grid-row: 2 !important;
    margin-bottom: 0 !important;
    width: fit-content !important;
    font-size: 11px !important;
    padding: 3px 8px !important;
    border-radius: 2px !important;
    background: rgba(0, 82, 217, 0.08) !important;
    color: #0052d9 !important;
  }

  .hot-selection-section .hot-specs {
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 12px 24px !important;
    margin-bottom: 0 !important;
    align-items: center !important;
  }

  .hot-selection-section .spec-row {
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .hot-selection-section .spec-row .label {
    width: auto !important;
    font-size: 13px !important;
    color: #64748b !important;
    font-weight: 500 !important;
  }

  .hot-selection-section .spec-row .val-text {
    font-size: 13px !important;
    color: #1e293b !important;
    font-weight: 600 !important;
  }

  /* 规格药丸框重塑 */
  .hot-selection-section .spec-box {
    padding: 6px 14px !important;
    font-size: 13px !important;
    height: auto !important;
    line-height: 1.2 !important;
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    color: #334155 !important;
    font-weight: 500 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
  }

  .hot-selection-section .spec-box:hover {
    background: #e2e8f0 !important;
    color: #0052d9 !important;
    border-color: rgba(0, 82, 217, 0.2) !important;
  }

  .hot-selection-section .hot-footer-row {
    grid-column: 3 / span 2 !important;
    grid-row: 1 / span 2 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 24px !important;
    margin-top: 0 !important;
    border-top: none !important;
    padding-top: 0 !important;
  }

  /* 价格区域字号微调 */
  .hot-selection-section .price-main-row .amount {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #ff5000 !important;
  }

  .hot-selection-section .price-sub-info {
    margin-bottom: 0 !important;
    gap: 8px !important;
    font-size: 11px !important;
  }

  .hot-selection-section .hot-tags-row {
    margin-bottom: 4px !important;
  }

  /* 按钮区域紧凑化与微互动 */
  .hot-selection-section .btn-buy-now {
    padding: 8px 24px !important;
    font-size: 14px !important;
    border-radius: 4px !important;
    height: 38px !important;
    background: #0052d9 !important;
    box-shadow: 0 4px 12px rgba(0, 82, 217, 0.15) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.25s ease !important;
  }

  .hot-selection-section .btn-buy-now:hover {
    background: #004cc4 !important;
    box-shadow: 0 6px 18px rgba(0, 82, 217, 0.3) !important;
    transform: translateY(-1px) !important;
  }

  .hot-selection-section .btn-add-cart {
    width: 38px !important;
    height: 38px !important;
    font-size: 18px !important;
    border-radius: 4px !important;
    border: 1px solid #0052d9 !important;
    color: #0052d9 !important;
    background: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.25s ease !important;
  }

  .hot-selection-section .btn-add-cart:hover {
    background: #0052d9 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 82, 217, 0.15) !important;
    transform: translateY(-1px) !important;
  }

  /* 元素定位分配 - AJAX 异步动态渲染兼容版 */
  .hot-selection-section .hot-card > h3 {
    grid-column: 1 !important;
    grid-row: 1 !important;
    font-size: 17px !important;
    margin: 0 !important;
  }

  .hot-selection-section .hot-card > .desc {
    grid-column: 1 !important;
    grid-row: 2 !important;
    font-size: 12px !important;
    color: #64748b !important;
    margin: 0 !important;
    line-height: 1.4 !important;
  }

  .hot-selection-section .hot-card > .hot-specs {
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
  }

  .hot-selection-section .spec-item {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 13px !important;
  }

  .hot-selection-section .spec-item .label {
    color: #64748b !important;
  }

  .hot-selection-section .spec-item .val {
    color: #1e293b !important;
    font-weight: 500 !important;
  }

  .hot-selection-section .hot-card > .hot-price-wrap {
    grid-column: 3 !important;
    grid-row: 1 / span 2 !important;
    align-self: center !important;
  }

  .hot-selection-section .hot-card > .hot-buy-btn {
    grid-column: 4 !important;
    grid-row: 1 / span 2 !important;
    align-self: center !important;
    padding: 8px 24px !important;
    font-size: 14px !important;
    border-radius: 4px !important;
    background: #0052d9 !important;
    color: #fff !important;
    text-align: center !important;
    text-decoration: none !important;
    font-weight: 600 !important;
  }

  .hot-selection-section .hot-card > .hot-buy-btn:hover {
    background: #005ce6 !important;
  }
}

/* ==========================================
   开启上云第一步 - 行动条
   ========================================== */
.act-bar-section {
  position: relative;
  overflow: hidden;
  background: url('/web/novahl2/assets/img/index/act-bar-bg-f45f6d2ffa60547103be9f044cc05357c2fb5301.jpg') center center / cover no-repeat;
}

.act-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.act-bar-left {
  flex-shrink: 0;
}

.act-bar-left h2 {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
}

.act-bar-subtitle {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 6px;
}

.act-bar-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  max-width: 320px;
}

.act-bar-cards {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

.act-bar-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 24px 28px;
  min-width: 240px;
  color: #fff;
  transition: all 0.3s ease;
}

.act-bar-card:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.act-bar-card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: #0052d9;
  background: #fff;
  padding: 2px 10px;
  border-radius: 3px;
  margin-bottom: 12px;
}

.act-bar-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 8px;
}

.act-bar-card p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  line-height: 1.5;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .act-bar-inner {
    flex-direction: column;
    padding: 40px 20px;
    text-align: center;
    gap: 30px;
  }

  .act-bar-left h2 {
    font-size: 24px;
  }

  .act-bar-desc {
    max-width: 100%;
  }

  .act-bar-cards {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .act-bar-card {
    min-width: auto;
    padding: 20px;
  }
}