/* ============================================================
   云产品限时钜惠活动页（Events.html）专属样式
   与 cvm- 蓝白科技风体系协调，命名前缀 events-
   banner / 锚点导航 / FAQ / 联系我们 均复用 cloud.css 的 cvm- 样式
   ============================================================ */

/* ---------- Banner 活动倒计时 ---------- */
.events-countdown{
  display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;
  margin-top:26px;
  padding:14px 18px;
  max-width:520px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.22);
  border-radius:14px;
  backdrop-filter:blur(8px);
}
.events-countdown__label{
  font-size:14px;color:#ffd66b;font-weight:600;margin-right:4px;
  text-shadow:0 1px 4px rgba(0,0,0,.35);
}
.events-countdown__cell{
  display:inline-flex;align-items:baseline;gap:3px;
}
.events-countdown__num{
  min-width:34px;text-align:center;
  font-size:22px;line-height:1;font-weight:700;color:#fff;
  font-variant-numeric:tabular-nums;
  background:rgba(0,0,0,.28);
  border-radius:6px;padding:5px 6px;
  text-shadow:0 1px 4px rgba(0,0,0,.35);
}
.events-countdown__cell i{
  font-style:normal;font-size:13px;color:rgba(255,255,255,.86);
}

/* ---------- 01 活动亮点（复用 cvm-feature，补充氛围） ---------- */
.events-highlight .cvm-feature__icon{
  background:linear-gradient(135deg,#ff8a00,#ff5b3d);
}
.events-highlight .cvm-feature__icon:after{border-color:#ffc9a8}
.events-highlight .cvm-feature:hover{border-color:#ffd3b8}
.events-highlight .cvm-feature:hover .cvm-feature__title{color:#ff5b3d}
.events-highlight .cvm-feature:before{background:linear-gradient(90deg,#ff8a00,#ff5b3d)}
.events-highlight .cvm-hd .cvm-tag{color:#ff6a00;background:#fff4e8;border-color:rgba(255,106,0,.16)}
.events-highlight .cvm-hd .cvm-tag:before{background:#ff6a00}

/* ---------- 02 爆款特惠专区 ---------- */
.events-products{background:linear-gradient(180deg,#f6f9ff 0%,#eef4ff 100%)}
.events-products__group{margin-bottom:52px}
.events-products__group:last-child{margin-bottom:0}
.events-products__title{
  display:flex;align-items:center;gap:12px;
  margin:0 0 24px;font-size:20px;line-height:28px;font-weight:600;color:#181818;
}
.events-products__title:before{
  content:"";width:4px;height:20px;border-radius:2px;
  background:linear-gradient(180deg,#0059eb,#4e8bff);
}
.events-products__title em{
  font-style:normal;font-size:13px;font-weight:400;color:#9aa9c2;
}
.events-products__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}

/* ---------- 活动产品卡（与 cvm-price 协调） ---------- */
.events-price{
  background:#fff;border:1px solid #e8edf5;border-radius:18px;
  padding:28px 24px;display:flex;flex-direction:column;position:relative;
  transition:transform .35s cubic-bezier(.22,.61,.36,1),box-shadow .35s,border-color .35s;
}
.events-price:hover{transform:translateY(-8px);box-shadow:0 20px 48px rgba(0,82,217,.14);border-color:#b6d2ff}
.events-price.is-hot{
  border:2px solid transparent;
  background:linear-gradient(#fff,#fff) padding-box,linear-gradient(135deg,#ff8a00,#ff5b3d) border-box;
  box-shadow:0 16px 40px rgba(255,91,61,.14);
}
.events-price.is-hot:before{
  content:"限时爆款";position:absolute;top:-14px;left:24px;
  padding:4px 12px;font-size:12px;font-weight:600;color:#fff;
  background:linear-gradient(90deg,#ff8a00,#ff5b3d);border-radius:100px;
  box-shadow:0 6px 14px rgba(255,91,61,.3);z-index:1;
}
.events-price__head{padding-bottom:18px;border-bottom:1px solid #f0f3f9;position:relative}
.events-price__name{margin:0 0 8px;font-size:18px;line-height:26px;font-weight:600;color:#181818;padding-right:8px}
.events-price__line{margin:0;font-size:13px;line-height:20px;color:#6b7a99;padding-right:64px}
.events-price__tag{
  position:absolute;top:-6px;right:0;padding:3px 10px;font-size:12px;
  color:#ff6a00;background:#fff4e8;border-radius:100px;white-space:nowrap;
}
.events-price__specs{list-style:none;margin:18px 0 0;padding:0;display:flex;flex-direction:column;gap:11px;flex:1}
.events-price__specs li{display:flex;justify-content:space-between;gap:12px;font-size:13px;line-height:20px}
.events-price__specs li span{color:#9aa9c2;flex-shrink:0}
.events-price__specs li b{color:#4a5874;font-weight:500;text-align:right}
.events-price__specs li.events-note{display:block}
.events-price__specs li.events-note b{text-align:left;white-space:normal;font-weight:400;line-height:22px}
.events-price__foot{margin-top:20px;padding-top:20px;border-top:1px solid #f0f3f9}
.events-price__discount{display:flex;justify-content:flex-end;margin-bottom:10px}
.events-price__off{
  display:inline-flex;align-items:center;height:26px;padding:0 12px;
  font-size:14px;font-weight:700;color:#fff;line-height:1;
  background:linear-gradient(90deg,#ff6a00,#ff8f3c);border-radius:100px;
}
.events-price__box{margin-bottom:16px}
.events-price__num{font-size:30px;font-weight:700;color:#ff5b3d;margin:0;transition:transform .3s;font-variant-numeric:tabular-nums}
.events-price:hover .events-price__num{transform:scale(1.05)}
.events-price__num span{font-size:13px;font-weight:400;color:#9aa9c2;margin-left:4px}
.events-price__origin{margin:6px 0 0;font-size:13px;color:#9aa9c2;text-decoration:line-through}

/* ---------- 移动端分类 Tab 切换（桌面端平铺，移动端 Tab） ---------- */
.events-tabs{display:none}

/* ---------- 响应式 ---------- */
@media (max-width:1200px){
  .events-products__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
}
@media (max-width:768px){
  .events-products__grid{grid-template-columns:1fr;gap:12px}
  .events-products__group{margin-bottom:0}
  .events-products__title{display:none}
  .events-tabs{
    display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;margin-bottom:20px;
    scrollbar-width:none;-webkit-overflow-scrolling:touch;
  }
  .events-tabs::-webkit-scrollbar{display:none}
  .events-tab{
    flex:1 0 auto;display:inline-flex;align-items:center;justify-content:center;
    height:40px;padding:0 16px;border-radius:8px;border:1px solid #e8edf5;
    background:#fff;color:#4a5874;font-size:14px;font-family:inherit;
    cursor:pointer;white-space:nowrap;transition:all .25s;
  }
  .events-tab.is-active{
    background:linear-gradient(90deg,#0059eb,#2677ff);color:#fff;
    border-color:transparent;font-weight:600;box-shadow:0 6px 14px rgba(0,89,235,.24);
  }
  .events-products__group{display:none}
  .events-products__group.is-active{display:block}
  .events-price{padding:24px 20px}
  .events-price__name{font-size:17px}
  .events-countdown{max-width:none;padding:12px 14px;gap:4px 8px}
  .events-countdown__num{min-width:30px;font-size:19px;padding:4px 5px}
}
