/* 逆风星探 · 在线订购页 */
.xt-buy-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 20px 60px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.xt-buy-main h1 {
  margin: 6px 0 10px;
  font-size: 30px;
  line-height: 1.3;
  color: #101828;
}

.xt-buy-main .lead {
  margin: 0 0 24px;
  color: #475467;
  line-height: 1.8;
}

.xt-buy-plans {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
}

.xt-buy-plan {
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 14px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}

.xt-buy-plan.hot {
  border-color: #1570ef;
  box-shadow: 0 8px 20px rgba(21, 112, 239, .12);
}

.xt-buy-plan h3 {
  margin: 0;
  font-size: 16px;
  color: #101828;
}

.xt-buy-plan .term {
  color: #667085;
  font-size: 13px;
}

.xt-buy-plan .amount {
  font-size: 30px;
  font-weight: 700;
  color: #1570ef;
  line-height: 1.1;
}

.xt-buy-plan .amount small {
  font-size: 14px;
  margin-left: 4px;
  font-weight: 500;
}

.xt-buy-plan .xt-btn {
  margin-top: auto;
}

.xt-buy-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 20px;
}

.xt-buy-card {
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 14px;
  padding: 18px 16px;
}

.xt-buy-card.is-hidden { display: none; }

.xt-buy-card h2 {
  margin: 0 0 14px;
  font-size: 15px;
  color: #101828;
}

.xt-buy-card label {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  color: #475467;
}

.xt-buy-card input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-top: 6px;
  padding: 9px 11px;
  border: 1px solid #d0d5dd;
  border-radius: 9px;
  font-size: 14px;
  color: #101828;
  background: #fff;
}

.xt-buy-card input:focus {
  outline: none;
  border-color: #1570ef;
  box-shadow: 0 0 0 3px rgba(21, 112, 239, .12);
}

.xt-btn {
  display: inline-block;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}

.xt-btn.primary {
  background: #1570ef;
  color: #fff;
  width: 100%;
}

.xt-btn.primary:disabled {
  background: #d0d5dd;
  cursor: not-allowed;
}

.xt-btn.ghost {
  background: #fff;
  border-color: #d0d5dd;
  color: #344054;
  width: 100%;
  margin-top: 10px;
}

.xt-hint {
  margin: 10px 0 0;
  font-size: 12px;
  color: #667085;
  line-height: 1.7;
}

.xt-kv-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px dashed #eaecf0;
  font-size: 13px;
  color: #475467;
}

.xt-kv-row b { color: #101828; font-weight: 600; }

.xt-orders { display: flex; flex-direction: column; gap: 10px; }

.xt-order {
  border: 1px solid #eaecf0;
  border-radius: 10px;
  padding: 10px 12px;
}

.xt-order-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  color: #101828;
  font-weight: 600;
}

.xt-order-status {
  font-size: 12px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f2f4f7;
  color: #475467;
}

.xt-order-status.paid { background: #ecfdf3; color: #027a48; }
.xt-order-status.pending { background: #fffaeb; color: #b54708; }

.xt-order-time {
  margin-top: 4px;
  font-size: 12px;
  color: #98a2b3;
}

@media (max-width: 900px) {
  .xt-buy-wrap { grid-template-columns: minmax(0, 1fr); }
  .xt-buy-side { position: static; }
}
