/* ==========================================================================
   2026-11-22 首页「服务内容」卡片换成 香港CN2 套餐（内容取自 cloud.html）
   - 外观完全沿用原服务卡片：白底 + 1px #E6EAED 边框 + 3px 圆角、hover 投影与
     标题变橙、灰色小标签、橙色主按钮、￥价格排版
   - 8 个套餐 → 4 列 × 2 行（与产品页一致）；≤1299px 两列；≤767px 单列
   ========================================================================== */
.plan-grid {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
}

.plan-grid .plan-link {
  display: flex;
  flex: 0 0 calc(25% - 20px);
  min-width: 0;
}

.plan-grid .plan-link > .service-box {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.plan-grid .plan-box .service-title {
  padding-right: 88px;
}

/* 右上角「新老同享」，配色取本站主色（#FF6739）的浅色衍生 */
.plan-badge {
  position: absolute;
  right: 20px;
  top: 20px;
  height: 24px;
  line-height: 22px;
  padding: 0 10px;
  font-size: 12px;
  color: #FF6739;
  background: #FFF4EF;
  border: 1px solid #FFD8C7;
  border-radius: 12px;
  white-space: nowrap;
}

/* 规格行：系统盘 / 带宽 */
.plan-spec { margin-top: 14px; }

.plan-spec p {
  display: flex;
  align-items: baseline;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 20px;
  color: #333;
}

.plan-spec p:last-child { margin-bottom: 0; }

.plan-spec .plan-label {
  flex: 0 0 auto;
  width: 56px;
  color: rgba(0, 0, 0, 0.45);
}

.plan-spec .plan-value {
  flex: 1;
  min-width: 0;
}

.plan-box .service-tag-group { margin-top: 16px; }

/* 价格 + 按钮固定在卡片底部，8 张卡高度对齐 */
.plan-box .service-btn-group {
  margin-top: auto;
  padding-top: 20px;
}

.plan-price .plan-origin {
  margin-top: 2px;
  font-size: 12px;
  line-height: 16px;
  color: rgba(0, 0, 0, 0.4);
}

@media (max-width: 1299px) {
  .plan-grid .plan-link { flex: 0 0 calc(33.333% - 20px); }
}

@media (max-width: 991px) {
  .plan-grid .plan-link { flex: 0 0 calc(50% - 20px); }
}

@media (max-width: 767px) {
  .plan-grid { flex-direction: column; }
  .plan-grid .plan-link { flex: 0 0 auto; width: 100%; }
  .plan-grid .plan-link + .plan-link { margin-top: 12px; }
  .plan-badge { right: 16px; top: 16px; }
  .plan-grid .plan-box .service-title { padding-right: 80px; }
}
