/* ========== Processor Cards ========== */
.processor-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-width: 100%;
  width: 100%;
}
.processor-card {
  min-width: 0;
  overflow: hidden;
  padding: 10px 14px;
  border: 1.5px solid var(--mf701-order-border);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
  user-select: none;
  position: relative;
  font-size: var(--mf701-order-font-xs);
}
.processor-card:hover {
  border-color: var(--mf701-order-selected-border);
}
.processor-card.selected {
  background: var(--mf701-order-selected-highlight);
  border-color: var(--mf701-order-selected-border);
}
.processor-card.selected::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 6px;
  width: 18px;
  height: 18px;
  background: var(--mf701-order-selected-start);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}
.processor-card__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: var(--mf701-order-font-base);
  font-weight: 600;
  color: var(--mf701-order-ink);
  margin-bottom: 4px;
}
.processor-card__specs {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: var(--mf701-order-font-xs);
  color: var(--mf701-order-muted);
  line-height: 1.5;
}
.cur-content {
  width: min(520px, calc(100vw - 32px)) !important;
  max-width: calc(100vw - 32px) !important;
  padding: 20px 24px !important;
  box-sizing: border-box;
}
.cur-content .tit {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(31, 41, 55, 0.12);
  color: var(--mf701-order-ink);
  font-weight: 700;
}
.cur-content .con {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 30px;
  row-gap: 10px;
}
.cur-content .c-item {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 6px;
  width: 100%;
  margin: 0;
  color: var(--mf701-order-muted);
  font-size: var(--mf701-order-font-xs);
  line-height: 1.6;
}
.cur-content .l-txt {
  flex: 0 0 auto;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}
/* ========== Memory Capsules ========== */
.memory-capsules {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-start;
  width: 100%;
}
.memory-capsule {
  padding: 8px 18px;
  border: 1.5px solid var(--mf701-order-border);
  border-radius: 4px;
  font-size: var(--mf701-order-font-xs);
  font-weight: 400;
  color: var(--mf701-order-ink);
  cursor: pointer;
  transition: all 0.3s;
  background: transparent;
  user-select: none;
}
.memory-capsule:hover {
  border-color: var(--mf701-order-selected-border);
}
.memory-capsule.selected {
  background: var(--mf701-order-selected-start);
  color: #ffffff;
  border-color: var(--mf701-order-selected-border);
  font-weight: 500;
}
/* ========== Line Capsules ========== */
.line-capsules {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-start;
  width: 100%;
}
.line-capsule {
  padding: 8px 18px;
  border: 1.5px solid var(--mf701-order-border);
  border-radius: 4px;
  font-size: var(--mf701-order-font-xs);
  font-weight: 400;
  color: var(--mf701-order-ink);
  cursor: pointer;
  transition: all 0.3s;
  background: transparent;
  user-select: none;
}
.line-capsule:hover {
  border-color: var(--mf701-order-selected-border);
}
.line-capsule.selected {
  background: var(--mf701-order-selected-start);
  color: #ffffff;
  border-color: var(--mf701-order-selected-border);
  font-weight: 500;
}
.mf-cloud .group-box {
  width: 100%;
}
.mf-cloud .group-box .el-form-item {
  margin-bottom: 0;
}
.mf-cloud .vpc .custom {
  margin-left: 0;
  margin-top: 10px;
}
.mf-cloud .vpc .custom .el-select,
.mf-cloud .vpc .custom .el-input-number {
  width: 89px;
}
/* ========== Image Cards (Apple Style) ========== */
.image-tabs {
  display: flex;
  gap: 0;
  width: 100%;
}
.image-tab {
  padding: 8px 16px;
  font-size: var(--mf701-order-font-xs);
  font-weight: 500;
  color: var(--mf701-order-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.2s;
  user-select: none;
}
.image-tab:hover {
  color: var(--mf701-order-ink);
}
.image-tab.active {
  color: var(--mf701-order-ink);
  border-bottom-color: var(--mf701-order-selected-border);
  font-weight: 600;
}
.image-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}
.image-card {
  min-width: 0;
  overflow: hidden;
  border: 1.5px solid var(--mf701-order-border);
  border-radius: 4px;
  padding: 10px 14px;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
  flex-direction: column;
  text-align: center;
  gap: 8px;
  font-size: var(--mf701-order-font-xs);
  position: relative;
}
.image-card:hover {
  border-color: var(--mf701-order-selected-border);
}
.image-card.selected {
  border-color: var(--mf701-order-selected-border);
  background: transparent;
}
.image-card__check {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 18px;
  height: 18px;
  background: var(--mf701-order-selected-start);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
}
.image-card.selected .image-card__check {
  display: flex;
}
.image-card__check svg {
  width: 12px;
  height: 12px;
  stroke: #fff;
  stroke-width: 2.5;
  fill: none;
}
.image-card__icon {
  font-size: var(--mf701-order-font-title-lg);
  flex-shrink: 0;
}
.image-card__info {
  min-width: 0;
}
.image-card__name {
  font-size: var(--mf701-order-font-xs);
  font-weight: 600;
  color: var(--mf701-order-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.image-card__version {
  font-size: var(--mf701-order-font-xxs);
  color: var(--mf701-order-muted);
}
/* ========== Addon Section ========== */
.addon-section {
  margin-bottom: 20px;
}
.addon-section__title {
  font-size: var(--mf701-order-font-xs);
  font-weight: 600;
  color: var(--mf701-order-ink);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.addon-section__count {
  font-size: var(--mf701-order-font-xs);
  color: var(--mf701-order-muted);
  font-weight: 400;
}
.addon-card {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  border: none;
  animation: slideDown 0.3s ease;
  font-size: var(--mf701-order-font-xs);
  width: 100%;
}
.addon-card .disk-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  transition: gap 0.2s;
}
.addon-card:hover .disk-row {
  gap: 8px;
}
.addon-card .remove-disk-btn {
  opacity: 0;
  width: 0;
  min-width: 0;
  max-width: 0;
  padding: 0;
  margin: 0 -12px 0 0;
  border: none;
  overflow: hidden;
  transition: all 0.2s;
  flex: 0 0 0px;
}
.addon-card:hover .remove-disk-btn {
  opacity: 1;
  width: 28px;
  min-width: 28px;
  max-width: 28px;
  height: 28px;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(255, 59, 48, 0.2);
  background: rgba(255, 59, 48, 0.06);
  color: #ef4444;
  font-size: var(--mf701-order-font-base);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex: 0 0 28px;
}
.addon-card:hover .remove-disk-btn:hover {
  background: rgba(255, 59, 48, 0.1);
  border-color: #ef4444;
}
.addon-card .custom-dropdown {
  flex: 1;
}
.addon-card .custom-select {
  flex: 1;
  min-width: 0;
}
.addon-add-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  padding: 10px;
  border: 2px dashed var(--mf701-order-border);
  border-radius: 4px;
  background: transparent;
  margin-top: 12px;
  color: var(--mf701-order-ink);
  font-size: var(--mf701-order-font-xs);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 12px;
}
.addon-add-btn:hover {
  border-color: var(--mf701-order-selected-border);
  background: transparent;
}
.addon-add-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.addon-add-btn:disabled:hover {
  border-color: var(--mf701-order-border);
  background: transparent;
}
.remove-disk-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 59, 48, 0.2);
  background: rgba(255, 59, 48, 0.06);
  color: #ef4444;
  font-size: var(--mf701-order-font-base);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}
.remove-disk-btn:hover {
  background: rgba(255, 59, 48, 0.1);
  border-color: #ef4444;
}
.data-disk-item {
  width: 100%;
  transition: transform 0.4s ease, opacity 0.4s ease, max-height 0.4s ease;
}
.data-disk-item.init {
  animation: none;
  opacity: 1;
}
.data-disk-item.removing {
  animation: diskSlideOut 0.4s ease-in forwards;
  pointer-events: none;
}
.data-disk-item.disk-animate-in {
  animation: diskSlideIn 0.4s ease-out forwards;
}
.data-disks-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  transition: gap 0.3s ease;
}
.data-disk-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.data-disk-row .custom-dropdown {
  flex: 0 0 140px;
}
.data-disk-row .custom-slider {
  flex: 1;
  transition: flex 0.2s ease;
}
.data-disk-remove-btn {
  display: none;
  width: 32px;
  height: 24px;
  border: 1px solid var(--mf701-order-selected-border);
  background: transparent;
  color: var(--mf701-order-ink);
  font-size: var(--mf701-order-font-xs);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  flex-shrink: 0;
}
.data-disk-item:hover .data-disk-remove-btn {
  display: flex;
}
.data-disk-item:hover .data-disk-remove-btn:hover {
  background: var(--mf701-order-selected-start);
  color: #ffffff;
}
/* ========== Auto Password Hint ========== */
.auto-password-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--mf701-order-panel-soft);
  border-radius: 4px;
  font-size: var(--mf701-order-font-xs);
  color: var(--mf701-order-muted);
}
/* ========== Collapsible Other Settings ========== */
.apple-collapse {
  border: 1.5px solid var(--mf701-order-border);
  border-radius: 4px;
  background: transparent;
  overflow: hidden;
  width: 100%;
}
.apple-collapse__header {
  padding: 16px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s;
  user-select: none;
}
.apple-collapse__header:hover {
  background: var(--mf701-order-panel-soft);
}
.apple-collapse__title {
  font-size: var(--mf701-order-font-xl);
  font-weight: 600;
  color: var(--mf701-order-ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.apple-collapse__arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
  color: var(--mf701-order-muted);
}
.apple-collapse.open .apple-collapse__arrow {
  transform: rotate(180deg);
}
.apple-collapse__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.apple-collapse.open .apple-collapse__body {
  max-height: 400px;
}
.apple-collapse__content {
  padding: 0 20px 20px;
}
.apple-collapse__item {
  padding: 12px 0;
  border-bottom: 1px solid var(--mf701-order-border);
}
.apple-collapse__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.apple-collapse__item-label {
  font-size: var(--mf701-order-font-xs);
  color: var(--mf701-order-muted);
  margin-bottom: 8px;
}
.apple-collapse__item-value {
  font-size: var(--mf701-order-font-xs);
  color: var(--mf701-order-ink);
}
/* ========== Cascade Section Disabled ========== */
.config-section.disabled {
  pointer-events: none;
  opacity: 0.4;
  filter: grayscale(0.5);
  transition: all 0.3s;
}
.config-section.disabled * {
  pointer-events: none;
}
.apple-action-bar__agreement {
  display: flex;
  align-items: center;
  gap: 6px;
}
.apple-action-bar__agreement input[type="checkbox"] {
  display: none;
}
.apple-action-bar__checkmark {
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--mf701-order-border);
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.apple-action-bar__agreement input:checked + .apple-action-bar__checkmark {
  background: var(--mf701-order-selected-start);
  border-color: var(--mf701-order-selected-border);
}
.apple-action-bar__agreement input:checked + .apple-action-bar__checkmark::after {
  content: "";
  width: 4px;
  height: 7px;
  border: solid var(--mf701-order-border);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
  margin-top: -1px;
}
.apple-action-bar__agreement-text {
  font-size: var(--mf701-order-font-xxs);
  color: var(--mf701-order-muted);
  white-space: nowrap;
}
.apple-action-bar__agreement-text a {
  color: var(--mf701-order-ink);
  text-decoration: none;
}
.apple-action-bar__agreement-text a:hover {
  text-decoration: underline;
}
/* Coupon buttons */
.apple-action-bar .order-coupon-btn {
  font-size: var(--mf701-order-font-xxs);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--mf701-order-border);
  background: transparent;
  color: var(--mf701-order-ink);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.apple-action-bar .order-coupon-btn:hover {
  background: var(--mf701-order-selected-highlight);
  color: var(--mf701-order-ink);
  border-color: var(--mf701-order-selected-border);
}
/* ========== Responsive ========== */
@media (max-width: 768px) {
  .shop-layout {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    padding: 72px 0 0;
    gap: 18px;
    box-sizing: border-box;
  }
  .shop-layout__visual {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 340px;
    aspect-ratio: auto;
    top: auto;
  }
  .shop-layout__config {
    width: 100%;
    max-width: none;
  }
  .config-section {
    padding: 36px 0;
  }
  .config-section__title {
    font-size: var(--mf701-order-font-3xl);
  }
  .processor-cards {
    grid-template-columns: 1fr;
  }
  .region-tags {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .image-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .apple-action-bar {
    padding: 10px 16px;
  }
  .apple-action-bar__inner {
    flex-wrap: wrap;
    gap: 10px;
  }
  .apple-action-bar__config {
    display: none;
  }
  .apple-action-bar__right {
    width: 100%;
    justify-content: space-between;
  }
  .apple-action-bar__purchase {
    flex-wrap: wrap;
    gap: 8px;
  }
  .apple-action-bar__price-row {
    flex-wrap: wrap;
    gap: 8px;
  }
  .memory-capsules,
  .line-capsules {
    gap: 8px;
  }
  .memory-capsule,
  .line-capsule {
    padding: 10px 20px;
    font-size: var(--mf701-order-font-base);
  }
}
/* ========== Billing Mode Pill Toggle ========== */
.billing-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding: 0;
  width: 100%;
}
.billing-toggle-row__label {
  font-size: var(--mf701-order-font-xs);
  color: var(--mf701-order-muted);
}
.pill-toggle {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--mf701-order-selected-highlight);
  border-radius: 20px;
  padding: 3px;
  gap: 0;
}
.pill-toggle__slider {
  position: absolute;
  top: 3px;
  left: 3px;
  width: calc(50% - 3px);
  height: calc(100% - 6px);
  background: var(--mf701-order-selected-start);
  border-radius: 17px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
  transform: translateX(100%);
}
.pill-toggle__btn {
  position: relative;
  z-index: 1;
  padding: 6px 24px;
  font-size: var(--mf701-order-font-xs);
  font-weight: 500;
  color: var(--mf701-order-muted);
  cursor: pointer;
  transition: color 0.3s;
  background: transparent;
  border: none;
  user-select: none;
  white-space: nowrap;
  flex: 1;
  text-align: center;
  font-family: inherit;
}
.pill-toggle__btn.active {
  color: #ffffff;
  font-weight: 600;
}
.pill-toggle__btn:hover:not(.active) {
  color: var(--mf701-order-ink);
}
/* ========== Server Type Cards ========== */
.server-types {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 20px;
  width: 100%;
}
.server-type-card {
  background: transparent;
  border: 1.5px solid var(--mf701-order-border);
  border-radius: 4px;
  padding: 16px 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 0;
  overflow: hidden;
}
.server-type-card:hover {
  border-color: var(--mf701-order-selected-border);
  transform: translateY(-1px);
}
.server-type-card.selected {
  border-color: var(--mf701-order-selected-border);
  background: var(--mf701-order-selected-highlight);
}
.server-type-card__check {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 18px;
  height: 18px;
  background: var(--mf701-order-selected-start);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
}
.server-type-card.selected .server-type-card__check {
  display: flex;
}
.server-type-card__check svg {
  width: 12px;
  height: 12px;
  stroke: #fff;
  stroke-width: 2.5;
  fill: none;
}
.server-type-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--mf701-order-font-micro);
  color: #e88d2a;
  background: rgba(255, 169, 78, 0.1);
  border: 1px solid rgba(255, 169, 78, 0.3);
  padding: 2px 8px;
  border-radius: 8px;
  margin-bottom: 8px;
}
.server-type-card__badge img {
  width: 12px;
  height: 12px;
}
.server-type-card__name {
  font-size: var(--mf701-order-font-sm);
  font-weight: 600;
  color: var(--mf701-order-ink);
  margin-bottom: 6px;
  text-align: center;
  width: 100%;
  padding: 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
}
.server-type-card__desc {
  font-size: var(--mf701-order-font-xxs);
  color: var(--mf701-order-muted);
  line-height: 1.4;
  text-align: center;
  width: 100%;
  padding: 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
}
/* ========== Quick Package Cards ========== */
.quick-packages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}
.quick-package-card {
  min-width: 0;
  overflow: hidden;
  background: transparent;
  border: 1.5px solid var(--mf701-order-border);
  border-radius: 4px;
  padding: 20px 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
}
.quick-package-card:hover {
  border-color: var(--mf701-order-selected-border);
  transform: translateY(-1px);
}
.quick-package-card.selected {
  border-color: var(--mf701-order-selected-border);
  background: var(--mf701-order-selected-highlight);
}
.quick-package-card__check {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--mf701-order-selected-start);
  display: none;
  align-items: center;
  justify-content: center;
}
.quick-package-card.selected .quick-package-card__check {
  display: flex;
}
.quick-package-card__check svg {
  width: 12px;
  height: 12px;
  stroke: #fff;
  stroke-width: 2.5;
  fill: none;
}
.quick-package-card__name {
  font-size: var(--mf701-order-font-base);
  font-weight: 600;
  color: var(--mf701-order-ink);
  margin-bottom: 16px;
}
.quick-package-card__specs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.quick-package-card__spec {
  display: flex;
  justify-content: space-between;
  font-size: var(--mf701-order-font-xs);
  color: var(--mf701-order-muted);
}
.quick-package-card__spec-value {
  color: var(--mf701-order-ink);
  font-weight: 500;
}
.quick-package-card__price {
  font-size: var(--mf701-order-font-xl);
  font-weight: 700;
  color: var(--mf701-order-ink);
}
.quick-package-card__price-unit {
  font-size: var(--mf701-order-font-xs);
  font-weight: 400;
  color: var(--mf701-order-muted);
}
/* ========== Login Method (segmented button group) ========== */
.login-method-group {
  display: flex;
  gap: 0;
  margin-bottom: 12px;
  border: 1.5px solid var(--mf701-order-border);
  border-radius: 4px;
  overflow: hidden;
  width: 100%;
}
.login-method-btn {
  padding: 8px 20px;
  font-size: var(--mf701-order-font-xs);
  font-weight: 500;
  color: var(--mf701-order-muted);
  cursor: pointer;
  transition: all 0.2s;
  background: transparent;
  border: none;
  border-right: 1px solid var(--mf701-order-border);
  user-select: none;
  font-family: inherit;
}
.login-method-btn:last-child {
  border-right: none;
}
.login-method-btn.active {
  background: var(--mf701-order-selected-start);
  color: #ffffff;
}
.login-method-btn:hover:not(.active) {
  background: var(--mf701-order-selected-highlight);
  color: var(--mf701-order-ink);
}
/* ========== Auto Password Hint ========== */
.auto-password-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--mf701-order-selected-highlight);
  border: 1px solid var(--mf701-order-border);
  border-radius: 4px;
  font-size: var(--mf701-order-font-xs);
  color: var(--mf701-order-muted);
}
/* ========== SSH Key Form ========== */
.ssh-key-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.ssh-key-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.ssh-key-label {
  font-size: var(--mf701-order-font-xs);
  color: var(--mf701-order-ink);
  font-weight: 500;
  flex-shrink: 0;
  width: 56px;
}
.ssh-key-hint {
  font-size: var(--mf701-order-font-xs);
  color: var(--mf701-order-muted);
}
.ssh-key-hint a {
  color: var(--mf701-order-ink);
  text-decoration: underline;
}
/* ========== Net Form Row (for quick config) ========== */
.net-form-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 0;
  align-items: flex-start;
  width: 100%;
}
.net-form-row__label {
  font-size: var(--mf701-order-font-xs);
  color: var(--mf701-order-ink);
  font-weight: 500;
}
/* ========== Form Row / Form Group ========== */
.form-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group__label {
  font-size: var(--mf701-order-font-xs);
  font-weight: 500;
  color: var(--mf701-order-ink);
}
/* ========== Custom Input ========== */
.custom-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--mf701-order-border);
  border-radius: 4px;
  font-size: var(--mf701-order-font-xs);
  color: var(--mf701-order-ink);
  background: transparent;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
}
.custom-input:focus {
  border-color: var(--mf701-order-selected-border);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}
/* ========== Hidden utility ========== */
.hidden {
  display: none !important;
}
/* MF701 configurable left panel and product selector */
.mf701-visual-copy {
  position: absolute;
  top: clamp(48px, 8vw, 96px);
  left: clamp(36px, 7vw, 88px);
  max-width: min(420px, 70%);
  color: var(--mf701-order-ink);
  z-index: 2;
}
.mf701-visual-copy h1 {
  font-size: var(--mf701-order-font-responsive-hero);
  line-height: 1.16;
  font-weight: 800;
  margin: 0 0 18px;
}
.mf701-visual-copy__subtitle {
  font-size: var(--mf701-order-font-responsive-section);
  line-height: 1.25;
  font-weight: 700;
  margin: 0 0 24px;
}
.mf701-visual-copy__desc {
  color: var(--mf701-order-hint-copy);
  font-size: var(--mf701-order-font-base);
  line-height: 1.6;
  text-transform: uppercase;
  margin: 0 0 28px;
}
.mf701-visual-copy__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 270px;
  height: 29px;
  padding: 0 18px;
  border-radius: 3px;
  background: #303033;
  color: #fff;
  font-size: var(--mf701-order-font-sm);
  text-decoration: none;
}
.mf701-product-selector__list:empty::before {
  content: "No products selected";
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 108px;
  width: 100%;
  border: 1px dashed var(--mf701-order-border-soft);
  border-radius: 6px;
  color: var(--mf701-order-hint-copy);
  font-size: var(--mf701-order-font-sm);
}
.mf701-product-card {
  cursor: pointer;
}
.mf701-product-card.selected,
.mf701-product-card:hover {
  border-color: var(--mf701-order-border-soft);
  box-shadow: 0 10px 26px rgba(20, 23, 31, 0.08);
}
@media (max-width: 900px) {
  .mf701-visual-copy {
    position: static;
    max-width: none;
    padding: 24px 22px 0;
  }
  .mf701-visual-copy__button {
    min-width: 0;
    width: 100%;
  }
}
/* MF701 cart.html visual structure: heading, purchase tabs, config and live summary. */
.mf701-order-page {
  padding-top: 72px;
}
.mf701-order-heading {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
.mf701-order-heading h1 {
  margin: 0 0 38px;
}
.mf701-order-heading h1 strong {
  background: linear-gradient(90deg, var(--mf701-order-primary), #4bd5ff);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-weight: inherit;
}
.mf701-order-heading p {
  display: none;
}
.mf701-order-page .shop-layout,
.mf701-order-page .shop-layout__config {
  display: block;
}
.mf701-order-page .mf701-product-selector--utility {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.mf701-order-page .mf701-order-buy-wrap {
  border: 0;
  border-radius: 0;
  background: transparent;
}
.mf701-order-page .select-box {
  width: 100%;
  height: 74px;
  margin: 0 0 46px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--mf701-order-border-soft);
  border-radius: 0;
  background: transparent;
}
.mf701-order-page .mf701-mode-switch {
  display: flex;
  align-items: flex-end;
  gap: 48px;
  width: auto;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
}
.mf701-order-page .mf701-mode-switch__item {
  position: relative;
  width: auto;
  min-width: 0;
  height: 100%;
  padding: 0 0 19px;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  color: var(--mf701-order-heading);
  font-size: var(--mf701-order-font-xl);
  font-weight: 700;
  line-height: 1;
  box-shadow: none !important;
}
.mf701-order-page .mf701-mode-switch__item::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--mf701-order-primary), #3aa7ff);
  content: "";
  opacity: 0;
  transform: scaleX(0.55);
}
.mf701-order-page .mf701-mode-switch__item.active::after {
  opacity: 1;
  transform: scaleX(1);
}
.mf701-order-page .goods-page {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 20px;
  padding: 0;
}
.mf701-order-page .mf701-order-layout {
  display: block;
}
.mf701-order-page .mf701-order-layout > .mf-cloud {
  width: 100%;
}
.mf701-order-page .mf701-order-nav {
  display: none;
}
.mf701-order-page .mf-cloud .con {
  display: grid;
  gap: 20px;
}
.mf701-order-page .mf-cloud .card-item,
.mf701-order-page .mf-cloud .custom-config {
  width: 100%;
  padding: 28px 29px 34px;
  border: 1px solid var(--mf701-order-border) !important;
  border-radius: 3px;
  background: linear-gradient(180deg, #161e3b 0%, var(--mf701-order-panel) 24%, #13182e 100%);
}
.mf701-order-page .mf-cloud .card-item:first-child::before {
  display: block;
  width: 100%;
  margin-bottom: 28px;
  color: var(--mf701-order-heading);
  font-size: var(--mf701-order-font-2xl);
  font-weight: 700;
  line-height: 1.3;
  content: "选择线路";
}
.mf701-order-page .mf-cloud .card-item .com-tit {
  color: var(--mf701-order-heading);
  font-size: var(--mf701-order-font-xl);
  font-weight: 700;
}
.mf701-order-page .mf701-billing-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}
.mf701-order-page .mf701-billing-options .el-radio-button,
.mf701-order-page .mf701-billing-options .el-radio-button__inner {
  width: 100%;
}
.mf701-order-page .mf701-billing-options .el-radio-button__inner {
  min-height: 62px;
  padding: 12px 16px !important;
  justify-content: flex-start;
  text-align: left;
}
.mf701-order-page .billing-option__title,
.mf701-order-page .billing-option__desc {
  display: block;
}
.mf701-order-page .billing-option__title {
  color: var(--mf701-order-ink);
  font-size: var(--mf701-order-font-md);
  font-weight: 700;
}
.mf701-order-page .billing-option__desc {
  margin-top: 5px;
  color: var(--mf701-order-muted);
  font-size: var(--mf701-order-font-xs);
  line-height: 1.4;
}
.mf701-order-page .f-order,
.mf701-order-page .f-order.is-inline,
.mf701-order-page .mf701-order-buy-wrap.is-order-inline .f-order {
  top: 90px !important;
  width: 100%;
}
.mf701-order-page .f-order .section {
  min-height: 560px;
  padding: 28px 24px !important;
  border: 1px solid var(--mf701-order-border) !important;
  background: linear-gradient(180deg, #161e3b 0%, var(--mf701-order-panel) 44%, #13182e 100%) !important;
}
.mf701-order-summary-title {
  margin: 0 0 28px;
  color: var(--mf701-order-heading);
  font-size: var(--mf701-order-font-2xl);
  font-weight: 700;
  line-height: 1.3;
}
.mf701-order-summary-list {
  width: 100%;
  margin: 0 0 24px;
}
.mf701-order-summary-list > div {
  display: grid;
  grid-template-columns: minmax(70px, auto) minmax(0, 1fr);
  gap: 12px;
  padding: 5px 0;
  font-size: var(--mf701-order-font-base);
  line-height: 1.45;
}
.mf701-order-summary-list dt {
  color: var(--mf701-order-muted);
}
.mf701-order-summary-list dd {
  min-width: 0;
  margin: 0;
  color: var(--mf701-order-ink);
  text-align: right;
  overflow-wrap: anywhere;
}
@media (max-width: 1024px) {
  .mf701-order-page .goods-page {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
}
@media (max-width: 900px) {
  .mf701-order-page {
    padding-top: 42px;
  }
  .mf701-order-heading h1 {
    margin-bottom: 20px;
  }
  .mf701-order-page .select-box {
    height: auto;
    margin-bottom: 20px;
  }
  .mf701-order-page .mf701-mode-switch {
    gap: 28px;
  }
  .mf701-order-page .mf701-mode-switch__item {
    min-height: 50px;
    padding-bottom: 15px;
  }
  .mf701-order-page .goods-page {
    display: block;
  }
  .mf701-order-page .mf701-billing-options {
    grid-template-columns: 1fr;
  }
  .mf701-order-page .f-order,
  .mf701-order-page .f-order.is-inline,
  .mf701-order-page .mf701-order-buy-wrap.is-order-inline .f-order {
    top: auto !important;
    bottom: 10px !important;
  }
  .mf701-order-page .f-order .section {
    min-height: 0;
  }
  .mf701-order-summary-title,
  .mf701-order-summary-list {
    display: none;
  }
}
/* Final cascade lock for the MF701 cart structure. */
.mf701-order-page .mf701-order-buy-wrap {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.mf701-order-page .mf701-product-selector--utility {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}
.mf701-order-page .select-box {
  width: 100%;
  height: 74px;
  margin: 0 0 46px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--mf701-order-border-soft);
  border-radius: 0;
  background: transparent !important;
}
.mf701-order-page .mf701-mode-switch {
  padding: 0;
  border: 0;
  background: transparent !important;
}
.mf701-order-page .goods-page {
  padding: 0;
}
.mf701-order-page .mf701-order-layout {
  display: block;
}
.mf701-order-page .mf701-order-layout > .mf-cloud {
  grid-column: auto;
  width: 100%;
}
.mf701-order-page .mf701-order-nav {
  display: none !important;
}
@media (max-width: 900px) {
  .mf701-order-page .select-box {
    height: auto;
    margin-bottom: 20px;
  }
}
@media (max-width: 640px) {
  .mf701-order-heading h1 {
    font-size: var(--mf701-order-font-title);
  }
  .mf701-order-heading p {
    font-size: var(--mf701-order-font-base);
  }
}
/* MF701 order visual lock: this is intentionally the final cascade block. */
.mf701-order-page .mf701-product-selector--utility {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}
.mf701-order-page .mf701-order-buy-wrap {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.mf701-order-page .select-box {
  height: 74px;
  margin: 0 0 46px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--mf701-order-border-soft);
  border-radius: 0;
  background: transparent !important;
}
.mf701-order-page .mf701-mode-switch {
  gap: 48px;
  padding: 0;
  border: 0;
  background: transparent !important;
}
.mf701-order-page .mf701-mode-switch__item {
  width: auto;
  height: 100%;
  padding: 0 0 19px;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  color: var(--mf701-order-heading);
  font-size: var(--mf701-order-font-xl);
  font-weight: 700;
  box-shadow: none !important;
}
.mf701-order-page .goods-page {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 20px;
  padding: 0;
}
.mf701-order-page .mf701-order-layout {
  display: block;
}
.mf701-order-page .mf701-order-layout > .mf-cloud {
  grid-column: auto;
  width: 100%;
}
.mf701-order-page .mf701-order-nav {
  display: none !important;
}
.mf701-order-page .mf-cloud .card-item,
.mf701-order-page .mf-cloud .custom-config {
  width: 100%;
  padding: 28px 29px 34px;
  border: 1px solid var(--mf701-order-border) !important;
  border-radius: 3px;
  background: linear-gradient(180deg, #161e3b 0%, var(--mf701-order-panel) 24%, #13182e 100%);
}
.mf701-order-page .mf-cloud .card-item:first-child::before {
  display: block;
  width: 100%;
  margin-bottom: 28px;
  color: var(--mf701-order-heading);
  font-size: var(--mf701-order-font-2xl);
  font-weight: 700;
  content: "选择线路";
}
.mf701-order-page .f-order .section {
  min-height: 560px;
  padding: 28px 24px !important;
  background: linear-gradient(180deg, #161e3b 0%, var(--mf701-order-panel) 44%, #13182e 100%) !important;
}
@media (max-width: 900px) {
  .mf701-order-page .select-box {
    height: auto;
    margin-bottom: 20px;
  }
  .mf701-order-page .goods-page {
    display: block;
  }
  .mf701-order-page .f-order .section {
    min-height: 0;
  }
}
/* Final MF701 cart visual cascade. Keep this block last. */
.mf701-order-page {
  padding-top: 72px;
}
.mf701-order-heading {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
.mf701-order-heading h1 {
  margin: 0 0 38px;
}
.mf701-order-heading h1 strong {
  background: linear-gradient(90deg, var(--mf701-order-primary), #4bd5ff);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-weight: inherit;
}
.mf701-order-heading p {
  display: none;
}
.mf701-order-page .shop-layout,
.mf701-order-page .shop-layout__config {
  display: block;
}
.mf701-order-page .mf701-product-selector--utility {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}
.mf701-order-page .mf701-order-buy-wrap {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.mf701-order-page .select-box {
  width: 100%;
  height: 74px;
  margin: 0 0 46px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--mf701-order-border-soft);
  border-radius: 0;
  background: transparent !important;
}
.mf701-order-page .mf701-mode-switch {
  display: flex;
  align-items: flex-end;
  gap: 48px;
  width: auto;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent !important;
}
.mf701-order-page .mf701-mode-switch__item {
  position: relative;
  width: auto;
  min-width: 0;
  height: 100%;
  padding: 0 0 19px;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  color: var(--mf701-order-heading);
  font-size: var(--mf701-order-font-xl);
  font-weight: 700;
  line-height: 1;
  box-shadow: none !important;
}
.mf701-order-page .mf701-mode-switch__item::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--mf701-order-primary), #3aa7ff);
  content: "";
  opacity: 0;
  transform: scaleX(0.55);
}
.mf701-order-page .mf701-mode-switch__item.active::after {
  opacity: 1;
  transform: scaleX(1);
}
.mf701-order-page .goods-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 20px;
  padding: 0;
}
.mf701-order-page .mf701-order-layout {
  display: block;
}
.mf701-order-page .mf701-order-layout > .mf-cloud {
  grid-column: auto;
  width: 100%;
}
.mf701-order-page .mf701-order-nav {
  display: none !important;
}
.mf701-order-page .mf-cloud .con {
  display: grid;
  gap: 20px;
}
.mf701-order-page .mf-cloud .card-item,
.mf701-order-page .mf-cloud .custom-config {
  width: 100%;
  padding: 28px 29px 34px;
  border: 1px solid var(--mf701-order-border) !important;
  border-radius: 3px;
  background: linear-gradient(180deg, #161e3b 0%, var(--mf701-order-panel) 24%, #13182e 100%);
}
.mf701-order-page .mf-cloud .card-item:first-child::before {
  display: block;
  width: 100%;
  margin-bottom: 28px;
  color: var(--mf701-order-heading);
  font-size: var(--mf701-order-font-2xl);
  font-weight: 700;
  line-height: 1.3;
  content: "选择线路";
}
.mf701-order-page .mf-cloud .card-item .com-tit {
  color: var(--mf701-order-heading);
  font-size: var(--mf701-order-font-xl);
  font-weight: 700;
}
.mf701-order-page .mf701-billing-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}
.mf701-order-page .mf701-billing-options .el-radio-button,
.mf701-order-page .mf701-billing-options .el-radio-button__inner {
  width: 100%;
}
.mf701-order-page .mf701-billing-options .el-radio-button__inner {
  min-height: 62px;
  padding: 12px 16px !important;
  justify-content: flex-start;
  text-align: left;
}
.mf701-order-page .billing-option__title,
.mf701-order-page .billing-option__desc {
  display: block;
}
.mf701-order-page .billing-option__title {
  color: var(--mf701-order-ink);
  font-size: var(--mf701-order-font-md);
  font-weight: 700;
}
.mf701-order-page .billing-option__desc {
  margin-top: 5px;
  color: var(--mf701-order-muted);
  font-size: var(--mf701-order-font-xs);
  line-height: 1.4;
}
.mf701-order-page .f-order,
.mf701-order-page .f-order.is-inline,
.mf701-order-page .mf701-order-buy-wrap.is-order-inline .f-order {
  top: 90px !important;
  width: 100%;
}
.mf701-order-page .f-order .section {
  min-height: 560px;
  padding: 28px 24px !important;
  border: 1px solid var(--mf701-order-border) !important;
  background: linear-gradient(180deg, #161e3b 0%, var(--mf701-order-panel) 44%, #13182e 100%) !important;
}
.mf701-order-summary-title {
  margin: 0 0 28px;
  color: var(--mf701-order-heading);
  font-size: var(--mf701-order-font-2xl);
  font-weight: 700;
  line-height: 1.3;
}
.mf701-order-summary-list {
  width: 100%;
  margin: 0 0 24px;
}
.mf701-order-summary-list > div {
  display: grid;
  grid-template-columns: minmax(70px, auto) minmax(0, 1fr);
  gap: 12px;
  padding: 5px 0;
  font-size: var(--mf701-order-font-base);
  line-height: 1.45;
}
.mf701-order-summary-list dt {
  color: var(--mf701-order-muted);
}
.mf701-order-summary-list dd {
  min-width: 0;
  margin: 0;
  color: var(--mf701-order-ink);
  text-align: right;
  overflow-wrap: anywhere;
}
@media (max-width: 1024px) {
  .mf701-order-page .goods-page {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
}
@media (max-width: 900px) {
  .mf701-order-page {
    padding-top: 42px;
  }
  .mf701-order-heading h1 {
    margin-bottom: 20px;
  }
  .mf701-order-page .select-box {
    height: auto;
    margin-bottom: 20px;
  }
  .mf701-order-page .mf701-mode-switch {
    gap: 28px;
  }
  .mf701-order-page .mf701-mode-switch__item {
    min-height: 50px;
    padding-bottom: 15px;
  }
  .mf701-order-page .goods-page {
    display: block;
  }
  .mf701-order-page .mf701-billing-options {
    grid-template-columns: 1fr;
  }
  .mf701-order-page .f-order,
  .mf701-order-page .f-order.is-inline,
  .mf701-order-page .mf701-order-buy-wrap.is-order-inline .f-order {
    top: auto !important;
    bottom: 10px !important;
  }
  .mf701-order-page .f-order .section {
    min-height: 0;
  }
  .mf701-order-summary-title,
  .mf701-order-summary-list {
    display: none;
  }
}
/* MF701 cloud order workspace, based on the MF701 cart information hierarchy. */
.mf701-order-page {
  --mf701-cart-primary: #506fff;
  --mf701-cart-primary-soft: #eef2ff;
  --mf701-cart-page: #f5f7fb;
  --mf701-cart-panel: #ffffff;
  --mf701-cart-line: #e5e9f2;
  --mf701-cart-ink: #202640;
  --mf701-cart-muted: #747c96;
  --mf701-cart-summary-start: #131830;
  --mf701-cart-summary-end: #1d1e36;
  min-height: 100vh;
  padding: 34px 0 76px;
  background: var(--mf701-cart-page);
}
.mf701-order-heading {
  width: min(1500px, calc(100% - 48px));
  margin: 0 auto 22px;
}
.mf701-order-heading h1 {
  margin: 0;
  color: var(--mf701-cart-ink);
  font-size: var(--mf701-order-font-responsive-title);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.03em;
}
.mf701-order-heading h1::after {
  content: "";
  display: inline-block;
  width: 0.9em;
  height: 0.18em;
  margin-left: 0.16em;
  border-radius: 99px;
  background: var(--mf701-cart-primary);
  vertical-align: 0.13em;
}
.mf701-order-heading p {
  margin: 10px 0 0;
  color: var(--mf701-cart-muted);
  font-size: var(--mf701-order-font-base);
  line-height: 1.7;
}
.mf701-order-page .shop-layout {
  width: min(1500px, calc(100% - 48px));
  max-width: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.mf701-order-page .shop-layout__visual {
  position: sticky;
  top: 88px;
  min-width: 0;
}
.mf701-order-page .shop-layout__visual-inner,
.mf701-order-page .config-section,
.mf701-order-page .select-box,
.mf701-order-page .mf701-order-buy-wrap {
  border: 1px solid var(--mf701-cart-line);
  border-radius: 8px;
  background: var(--mf701-cart-panel);
  box-shadow: 0 10px 28px rgba(27, 36, 71, 0.05);
}
.mf701-order-page .shop-layout__visual-inner {
  overflow: hidden;
}
.mf701-order-page .shop-layout__config {
  min-width: 0;
  width: 100%;
  max-width: none;
  display: grid;
  gap: 16px;
}
.mf701-order-page .config-section {
  margin: 0;
  padding: 22px;
}
.mf701-order-page .mf701-product-selector__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.mf701-order-page .mf701-product-card {
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--mf701-cart-line);
  border-radius: 6px;
  background: var(--mf701-order-panel);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.mf701-order-page .mf701-product-card:hover,
.mf701-order-page .mf701-product-card.selected {
  border-color: var(--mf701-cart-primary);
  box-shadow: 0 8px 20px rgba(80, 111, 255, 0.14);
  transform: translateY(-1px);
}
body.mf701-product-switching .mf701-order-page .mf701-product-card {
  pointer-events: none;
  opacity: 0.68;
}
.mf701-order-page .mf701-product-selector__empty.is-fallback {
  border: 1px dashed #b9c5ff;
  background: var(--mf701-cart-primary-soft);
}
.mf701-order-page .mf701-order-buy-wrap {
  min-width: 0;
  padding: 0;
  overflow: visible;
}
.mf701-order-page .mf701-order-section {
  padding: 0;
}
.mf701-order-page .select-box {
  margin: 0;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-width: 0 0 1px;
  border-radius: 8px 8px 0 0;
  box-shadow: none;
}
.mf701-order-page .mf701-mode-switch {
  padding: 3px;
  border-radius: 6px;
  background: #f0f3f9;
}
.mf701-order-page .mf701-mode-switch__item {
  min-width: 104px;
  height: 34px;
  border-radius: 4px;
}
.mf701-order-page .mf701-mode-switch__item.active {
  background: var(--mf701-cart-primary);
  color: #fff;
  box-shadow: 0 5px 14px rgba(80, 111, 255, 0.24);
}
.mf701-order-page .goods-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  align-items: start;
  padding: 18px;
}
.mf701-order-page .mf701-order-layout {
  min-width: 0;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.mf701-order-page .mf701-order-layout > .mf-cloud {
  grid-column: 2;
  min-width: 0;
}
.mf701-order-page .mf701-order-nav {
  grid-column: 1;
  grid-row: 1;
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mf701-order-page .mf701-order-nav__item {
  width: 54px;
  min-height: 54px;
  padding: 7px 4px;
  border: 1px solid var(--mf701-cart-line);
  border-radius: 6px;
  background: var(--mf701-order-panel);
  color: var(--mf701-cart-muted);
  font-size: var(--mf701-order-font-xs);
  line-height: 1.25;
  cursor: pointer;
}
.mf701-order-page .mf701-order-nav__item:hover,
.mf701-order-page .mf701-order-nav__item.is-active {
  border-color: var(--mf701-cart-primary);
  background: var(--mf701-cart-primary-soft);
  color: var(--mf701-cart-primary);
}
.mf701-order-page .mf-cloud .card-item,
.mf701-order-page .mf-cloud .custom-config {
  border-color: var(--mf701-cart-line);
  border-radius: 6px;
  background: var(--mf701-order-panel);
}
.mf701-order-page .f-order,
.mf701-order-page .f-order.is-inline,
.mf701-order-page .mf701-order-buy-wrap.is-order-inline .f-order {
  grid-column: 2;
  grid-row: 1;
  position: sticky !important;
  top: 90px !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  z-index: 4;
}
.mf701-order-page .f-order .section,
.mf701-order-page .f-order .main-card {
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 22px !important;
  display: flex !important;
  flex-direction: column;
  align-items: stretch !important;
  gap: 18px;
  border: 0 !important;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--mf701-cart-summary-start), var(--mf701-cart-summary-end)) !important;
  color: #fff;
  box-shadow: 0 16px 36px rgba(19, 24, 48, 0.2);
}
.mf701-order-page .f-order .left,
.mf701-order-page .f-order .mid,
.mf701-order-page .f-order .right {
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}
.mf701-order-page .f-order .left {
  display: flex !important;
  flex-direction: column;
  gap: 14px;
}
.mf701-order-page .f-order .time,
.mf701-order-page .f-order .num {
  display: grid !important;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  color: #fff;
}
.mf701-order-page .f-order .l-txt,
.mf701-order-page .f-order .link,
.mf701-order-page .f-order .default-color {
  color: #aeb7d8 !important;
}
.mf701-order-page .f-order .mid {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.mf701-order-page .f-order .bot-price .new,
.mf701-order-page .f-order .bot-price .price {
  color: #fff !important;
}
.mf701-order-page .f-order .right {
  display: block !important;
}
.mf701-order-page .f-order .right .buy,
.mf701-order-page .f-order .right .el-button {
  width: 100% !important;
  min-width: 0 !important;
  height: 46px;
  margin: 0 !important;
  border-color: var(--mf701-cart-primary) !important;
  border-radius: 5px;
  background: var(--mf701-cart-primary) !important;
  color: #fff !important;
}
@media (max-width: 1280px) {
  .mf701-order-page .shop-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .mf701-order-page .goods-page {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
  .mf701-order-page .mf701-product-selector__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 1024px) {
  .mf701-order-page .shop-layout {
    grid-template-columns: 1fr;
  }
  .mf701-order-page .shop-layout__visual {
    position: static;
  }
}
@media (max-width: 900px) {
  .mf701-order-page {
    padding: 22px 0 40px;
  }
  .mf701-order-heading,
  .mf701-order-page .shop-layout {
    width: min(calc(100% - 28px), 760px);
  }
  .mf701-order-page .goods-page {
    display: block;
    padding: 12px;
  }
  .mf701-order-page .mf701-order-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .mf701-order-page .mf701-order-layout > .mf-cloud {
    width: 100%;
  }
  .mf701-order-page .mf-cloud .el-table {
    width: 100% !important;
    max-width: 100%;
    overflow-x: auto;
  }
  .mf701-order-page .mf-cloud .el-table__header-wrapper,
  .mf701-order-page .mf-cloud .el-table__body-wrapper {
    overflow-x: auto;
  }
  .mf701-order-page .mf701-order-nav {
    position: sticky;
    top: 64px;
    width: 100%;
    padding: 8px 0;
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    background: rgba(245, 247, 251, 0.94);
    backdrop-filter: blur(12px);
    order: -1;
    z-index: 8;
  }
  .mf701-order-page .mf701-order-nav__item {
    flex: 0 0 auto;
    width: auto;
    min-width: 72px;
    min-height: 38px;
    padding: 7px 10px;
  }
  .mf701-order-page .f-order,
  .mf701-order-page .f-order.is-inline,
  .mf701-order-page .mf701-order-buy-wrap.is-order-inline .f-order {
    position: sticky !important;
    top: auto !important;
    bottom: 10px !important;
    margin-top: 14px !important;
  }
  .mf701-order-page .f-order .section,
  .mf701-order-page .f-order .main-card {
    padding: 14px !important;
  }
}
@media (max-width: 640px) {
  .mf701-order-heading h1 {
    font-size: var(--mf701-order-font-title);
  }
  .mf701-order-page .mf701-product-selector__list {
    grid-template-columns: 1fr;
  }
  .mf701-order-page .select-box {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .mf701-order-page .mf701-mode-switch,
  .mf701-order-page .mf701-mode-switch__item {
    width: 100%;
  }
}
/* MF701 cloud/re-cloud design layer. Shared controls stay in order-theme. */
.mf701-order-page {
  --mf701-cart-primary: var(--mf701-order-primary);
  --mf701-cart-primary-soft: var(--mf701-order-primary-soft);
  --mf701-cart-page: var(--mf701-order-page-bg);
  --mf701-cart-panel: var(--mf701-order-panel);
  --mf701-cart-line: var(--mf701-order-border);
  --mf701-cart-ink: var(--mf701-order-ink);
  --mf701-cart-muted: var(--mf701-order-muted);
  min-height: 100vh;
  padding: 74px 0 132px;
  background: var(--mf701-order-page-bg);
  color: var(--mf701-order-ink);
}
.mf701-order-page.is-empty-order {
  min-height: 0;
  padding-bottom: 72px;
}
.mf701-order-heading {
  width: min(var(--container-content), calc(100% - 48px));
  margin: 0 auto 46px;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--mf701-order-border-soft);
}
.mf701-order-heading h1 {
  color: var(--mf701-order-heading);
  font-size: var(--mf701-order-font-page-title);
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.mf701-order-heading h1::after {
  display: none;
}
.mf701-order-heading p {
  max-width: 720px;
  margin-top: 14px;
  color: var(--mf701-order-muted);
  font-size: var(--mf701-order-font-md);
}
.mf701-order-page .shop-layout {
  width: min(var(--container-content), calc(100% - 48px));
  gap: 20px;
}
.mf701-order-page .shop-layout__config {
  gap: 20px;
}
.mf701-order-page .config-section,
.mf701-order-page .mf701-order-buy-wrap {
  border-color: var(--mf701-order-border);
  border-radius: 3px;
  background: linear-gradient(180deg, #161e3b, var(--mf701-order-panel));
  box-shadow: none;
}
.mf701-order-page .config-section {
  padding: 28px 22px 30px;
}
.mf701-order-page .config-section__title {
  margin-bottom: 24px;
  color: var(--mf701-order-heading);
}
.mf701-order-page .config-section__title .title-main {
  display: block;
  font-size: var(--mf701-order-font-2xl);
  line-height: 1.35;
}
.mf701-order-page .config-section__title .title-sub {
  display: block;
  margin-top: 6px;
  color: var(--mf701-order-muted);
  font-size: var(--mf701-order-font-base);
  font-weight: 400;
}
.mf701-order-page .mf701-product-selector__list {
  gap: 12px;
}
.mf701-order-page .mf701-product-card {
  min-height: 112px;
  padding: 18px 16px;
  border-color: var(--mf701-order-border);
  border-radius: 3px;
  background: var(--mf701-order-panel);
  color: var(--mf701-order-ink);
  box-shadow: none;
}
.mf701-order-page .mf701-product-card:hover,
.mf701-order-page .mf701-product-card.selected {
  border-color: var(--mf701-order-primary);
  background: linear-gradient(180deg, #192243, #202441);
  box-shadow: inset 0 0 0 1px rgba(23, 100, 255, 0.12);
  transform: translateY(-2px);
}
.mf701-order-page .mf701-product-card .server-type-card__name {
  color: var(--mf701-order-heading);
  font-size: var(--mf701-order-font-md);
}
.mf701-order-page .mf701-product-card .server-type-card__desc {
  color: var(--mf701-order-muted);
  font-size: var(--mf701-order-font-base);
}
.mf701-order-page .select-box {
  padding: 18px 22px;
  border-color: var(--mf701-order-border-soft);
  border-radius: 3px 3px 0 0;
  background: var(--mf701-order-panel);
}
.mf701-order-page .select-box__label {
  font-size: var(--mf701-order-font-base);
}
.mf701-order-page .mf701-mode-switch {
  background: var(--mf701-order-panel-soft);
}
.mf701-order-page .mf701-mode-switch__item {
  color: var(--mf701-order-muted);
  font-size: var(--mf701-order-font-base);
}
.mf701-order-page .mf701-mode-switch__item.active {
  background: var(--mf701-order-primary);
}
.mf701-order-page .goods-page {
  padding: 20px;
}
.mf701-order-page .mf701-order-nav__item {
  border-color: var(--mf701-order-border);
  border-radius: 3px;
  background: var(--mf701-order-panel);
  color: var(--mf701-order-muted);
}
.mf701-order-page .mf701-order-nav__item:hover,
.mf701-order-page .mf701-order-nav__item.is-active {
  border-color: var(--mf701-order-primary);
  background: var(--mf701-order-primary-soft);
  color: #ffffff;
}
.mf701-order-page .f-order .section,
.mf701-order-page .f-order .main-card {
  border: 1px solid var(--mf701-order-border) !important;
  border-radius: 3px;
  box-shadow: none;
}
@media (max-width: 900px) {
  .mf701-order-page {
    padding: 42px 0 96px;
  }
  .mf701-order-page.is-empty-order {
    padding-bottom: 48px;
  }
  .mf701-order-heading {
    margin-bottom: 24px;
    padding-bottom: 24px;
  }
  .mf701-order-page .mf701-order-nav {
    background: rgba(12, 16, 33, 0.94);
  }
}
@media (max-width: 640px) {
  .mf701-order-heading h1 {
    font-size: var(--mf701-order-font-title);
  }
  .mf701-order-heading p {
    font-size: var(--mf701-order-font-base);
  }
}

.mf701-order-buy-wrap .mf-cloud .line-spec-table .el-radio__label { white-space: normal; overflow-wrap: anywhere; }
.mf701-order-buy-wrap .mf-cloud .line-spec-table { background: var(--mf701-order-panel); border-color: var(--mf701-order-border-soft); color: var(--mf701-order-option-title); }
.mf701-order-buy-wrap .mf-cloud .line-spec-table th,
.mf701-order-buy-wrap .mf-cloud .line-spec-table td { border-bottom-color: var(--mf701-order-border-soft); }
.mf701-order-buy-wrap .mf-cloud .line-spec-table th { background: var(--mf701-order-panel-soft); color: var(--mf701-order-option-title); font-weight: 500; }
.mf701-order-buy-wrap .mf-cloud .line-spec-table tr.selected { background: var(--mf701-order-panel); }
.mf701-order-buy-wrap .mf-cloud .line-spec-table tbody tr:hover > td { background: var(--mf701-order-hover); }
.mf701-order-buy-wrap .mf-cloud .line-spec-table .el-radio__label,
.mf701-order-buy-wrap .mf-cloud .line-spec-table .el-radio__input.is-checked + .el-radio__label { color: var(--mf701-order-option-title) !important; }
/* 实例规格标签沿用订购区蓝紫配色，避免 Element 默认浅色标签突兀。 */
.mf701-order-buy-wrap .mf-cloud .line-spec-table .el-tag {
  color: var(--mf701-order-option-title);
  background: linear-gradient(135deg, var(--mf701-order-selected-start), var(--mf701-order-selected-end));
  border-color: var(--mf701-order-selected-border);
  border-radius: 4px;
}
.cur-content .line-spec-summary { margin: 0; min-width: 0; overflow: hidden; }
.cur-content .line-spec-summary-value { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
@media (max-width: 900px) {
  .mf701-order-buy-wrap .mf-cloud .line-spec-table { width: 100%; }
}

/* 保留配置内容，加载期间禁用表单，价格与购买区独立显示加载态。 */
.mf701-order-buy-wrap .mf-cloud .mf701-config-loading {
  opacity: 0.65;
}

/* 名称超宽显示省略号，标签完整显示；保持单行并为资源列保留空间。 */
.mf701-order-buy-wrap .mf-cloud .line-spec-picker .line-spec-content {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
}
.mf701-order-buy-wrap .mf-cloud .line-spec-picker .line-spec-content .line-spec-name-text {
  display: block;
  flex: 0 1 150px;
  width: 150px;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mf701-order-buy-wrap .mf-cloud .line-spec-picker .line-spec-content .line-spec-tag-text {
  flex: 0 0 auto;
  max-width: none;
  margin-left: 0;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}
.mf701-order-buy-wrap .mf-cloud .line-spec-picker .line-spec-content .el-radio {
  display: flex;
  align-items: center;
  flex: 0 1 174px;
  width: 174px;
  min-width: 24px;
  margin-right: 0;
}
.mf701-order-buy-wrap .mf-cloud .line-spec-picker .line-spec-content .el-radio__input {
  flex-shrink: 0;
}
.mf701-order-buy-wrap .mf-cloud .line-spec-picker .line-spec-content .el-radio__label {
  display: block;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}
/* 固定资源列宽；极窄容器在表格内部滚动，名称和标签不拆行。 */
.mf701-order-buy-wrap .mf-cloud .line-spec-picker .line-spec-table-scroll {
  max-width: 100%;
  overflow-x: auto;
}
.mf701-order-buy-wrap .mf-cloud .line-spec-picker table.line-spec-table {
  width: 100%;
  min-width: 510px;
  table-layout: fixed;
}
.mf701-order-buy-wrap .mf-cloud .line-spec-picker table.line-spec-table th,
.mf701-order-buy-wrap .mf-cloud .line-spec-picker table.line-spec-table td {
  box-sizing: border-box;
  white-space: nowrap;
}
.mf701-order-buy-wrap .mf-cloud .line-spec-picker table.line-spec-table th:first-child {
  width: auto;
}
.mf701-order-buy-wrap .mf-cloud .line-spec-picker table.line-spec-table th:nth-child(2) {
  width: 72px;
}
.mf701-order-buy-wrap .mf-cloud .line-spec-picker table.line-spec-table th:nth-child(3) {
  width: 100px;
}
