/* ============================================================
   page-mac-yun-zu-yong.css — 云租用配置页专属样式
   导航 / 页脚 / 滚动条见 site-chrome.css
   ============================================================ */

/* 3D 风琴展开轨道 */
.deck-container {
  perspective: 2500px;
  overflow-x: clip;
}

.peel-card-wrapper {
  position: sticky;
  top: 14vh;
  width: 100%;
  max-width: 100%;
  transition:
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
  will-change: transform, opacity;
}

/* 移动端：禁用 3D 剥离动画，改为垂直堆叠，避免横向溢出导致整页缩小 */
@media (max-width: 767px) {
  .deck-container {
    perspective: none;
    overflow-x: visible;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }

  .peel-card-wrapper {
    position: relative;
    top: auto;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    filter: none !important;
    transform-style: flat;
    will-change: auto;
    margin-bottom: 0;
  }

  #sticky-checkout-bar {
    transform: translateY(0) !important;
    opacity: 1 !important;
  }
}

/* 按钮按压反馈 */
.tactile-bounce {
  transition:
    transform 0.12s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.tactile-bounce:active {
  transform: scale(0.955) !important;
}

/* PCIe 加购槽位选中态 */
.pcie-slot-card {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.pcie-slot-card.active {
  transform: scale(0.97) translateZ(-15px);
  box-shadow: inset 0 8px 24px rgba(0, 0, 0, 0.35);
}

/* LED 状态指示 */
.led-indicator {
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.led-active {
  background-color: #dc2626 !important;
  box-shadow: 0 0 10px #dc2626, 0 0 20px #dc2626;
}

/* 主板芯片插槽 */
.chip-socket {
  transition:
    background-color 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease,
    color 0.4s ease;
}

/* 结账 · 多支付方式选择弹窗 */
body.pay-method-modal-open {
  overflow: hidden;
}
.pay-method-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}
.pay-method-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 10, 15, 0.45);
  backdrop-filter: blur(6px);
  cursor: pointer;
}
.pay-method-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  padding: 28px 24px 22px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}
.pay-method-modal-title {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 10px;
  text-align: center;
  color: #090a0f;
}
.pay-method-modal-lead {
  font-size: 15px;
  color: #64748b;
  line-height: 1.5;
  margin: 0 0 20px;
  text-align: center;
}
.pay-method-modal-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}
.pay-method-option {
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  cursor: pointer;
  font: inherit;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}
.pay-method-option-ico {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #090a0f;
}
.pay-method-option-ico svg {
  display: block;
  max-width: 28px;
  max-height: 28px;
}
.pay-method-option-textcol {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.pay-method-option:hover {
  border-color: #dc2626;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.08);
}
.pay-method-option-main {
  font-size: 17px;
  font-weight: 800;
  color: #090a0f;
}
.pay-method-cancel {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 4px;
  padding: 8px;
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  color: #64748b;
}
.pay-method-cancel:hover {
  color: #090a0f;
}
