/* 基础样式保留，仅修改选中相关样式 */
.amt {
  width: 200px;
  color: red;
  display: inline-block;
  height: 30px;
  line-height: 30px;
  font-size: 18px;
}

.menu {
  width: 800px;
  height: calc(100% - 50px);
  margin: 0 auto;
  padding-top: 5px;
  box-sizing: border-box;
  text-align: right;
}

.menu a {
  color: red;
  text-decoration: underline;
}

#data-container {
  max-width: 600px;
  margin: 0 auto;
  margin-bottom: 15px;
}

.name-block {
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #e8eaed;
  background-color: #ffffff;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  zoom: 1;
  position: relative;
}

.name-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #409eff, #66b1ff);
  border-radius: 4px 4px 0 0;
}

*+html .name-block {
  -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(color='#e6e6e6', Direction=135, Strength=2)";
  filter: progid:DXImageTransform.Microsoft.Shadow(color='#e6e6e6', Direction=135, Strength=2);
}

.name-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1f2937;
  padding-bottom: 6px;
  border-bottom: 1px solid #f5f7fa;
  padding-left: 3px;
}

.remark-block {
  margin-left: 15px;
  margin-bottom: 10px;
  padding: 8px;
  border: 1px solid #f0f2f5;
  background-color: #fafbfc;
  border-radius: 3px;
  zoom: 1;
  overflow: hidden;
}

.remark-block .input {
  height: 25px;
}

.remark-title {
  font-weight: 600;
  margin-bottom: 6px;
  color: #4e5969;
  font-size: 12px;
  display: flex;
  align-items: center;
}

/* ========== 价格选项 - 完全兼容IE6的样式（原有样式，完全保留） ========== */
.price-option {
  margin-left: 25px;
  margin-bottom: 6px;
  line-height: 22px;
  zoom: 1;
  display: inline-block;
  *display: inline;
  margin-right: 8px;
  *margin-right: 5px;
}

.price-option input[type="radio"] {
  position: absolute;
  left: -9999px;
  top: -9999px;
  *filter: alpha(opacity=0);
  opacity: 0;
}

.price-option label {
  color: #fff;
  cursor: pointer;
  padding: 4px 12px;
  border-radius: 3px;
  display: inline-block;
  font-size: 11px;
  border: 1px solid #409eff;
  background: #409eff;
  line-height: 18px;
  zoom: 1;
  *padding: 3px 8px;
  *font-size: 10px;
}

.price-option label:hover {
  color: #409eff;
  background-color: #ecf5ff;
  border-color: #b3d8ff;
}

.price-option .checked-label {
  /* color: #fff !important; */
  font-weight: 600 !important;
  background-color: red !important;
  border: 2px solid red !important;
}

/* ========== 支付选项 - 完全兼容IE6的样式（原有样式，完全保留） ========== */
.product-item {
  margin-left: 15px;
  margin-bottom: 6px;
  line-height: 22px;
  zoom: 1;
  display: inline-block;
  *display: inline;
  margin-right: 8px;
  *margin-right: 5px;
}

.product-item input[type="radio"] {
  position: absolute;
  left: -9999px;
  top: -9999px;
  *filter: alpha(opacity=0);
  opacity: 0;
}

.product-item label {
  color: #fff;
  cursor: pointer;
  padding: 4px 12px;
  border-radius: 3px;
  display: inline-block;
  font-size: 11px;
  border: 1px solid #409eff;
  background: #409eff;
  line-height: 18px;
  zoom: 1;
  *padding: 3px 8px;
  *font-size: 10px;
}

.product-item label:hover {
  color: #409eff;
  background-color: #ecf5ff;
  border-color: #b3d8ff;
}

.product-item .checked-label {
  /* color: #fff !important; */
  font-weight: 600 !important;
  background-color: red !important;
  border: 2px solid red !important;
}

#pay-container {
  max-width: 600px;
  margin: 0 auto 15px;
}

.pay-type-block {
  margin-bottom: 10px;
  padding: 8px;
  border: 1px solid #e8eaed;
  background-color: #ffffff;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  zoom: 1;
  position: relative;
  overflow: hidden;
}

.pay-type-block.wechat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #07c160, #19be6b);
  border-radius: 4px 4px 0 0;
}

.pay-type-block.alipay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #1677ff, #4096ff);
  border-radius: 4px 4px 0 0;
}

*+html .pay-type-block {
  -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(color='#e6e6e6', Direction=135, Strength=2)";
  filter: progid:DXImageTransform.Microsoft.Shadow(color='#e6e6e6', Direction=135, Strength=2);
}

.pay-type-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1f2937;
  padding-bottom: 6px;
  border-bottom: 1px solid #f5f7fa;
  padding-left: 3px;
  display: flex;
  align-items: center;
}

.pay-icon {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  vertical-align: middle;
}

.btn-container {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  zoom: 1;
}

.next-btn {
  padding: 6px 20px;
  background-color: #409eff;
  color: #ffffff;
  border: none;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  zoom: 1;
}

*html .next-btn {
  border: 1px solid #409eff;
  background: #409eff;
  padding: 5px 19px;
  font-size: 11px;
}

.next-btn:hover {
  background-color: #3390e8;
}

*html .next-btn:hover {
  background-color: #3390e8;
}

/* IE6/7 兜底兼容样式（原有样式，完全保留） */
*html .name-block {
  border: 1px solid #ddd;
  background: #fff;
  margin-bottom: 10px;
}

*html .name-title {
  font-size: 13px;
  color: #333;
  border-bottom: 1px solid #eee;
}

*html .remark-block {
  border: 1px solid #eee;
  background: #f9f9f9;
  margin-left: 10px;
  overflow: hidden;
}

*html .remark-title {
  font-size: 11px;
  color: #555;
}

*html .pay-type-block {
  border: 1px solid #ddd;
  background: #fff;
  margin-bottom: 8px;
  overflow: hidden;
}

*html .pay-type-title {
  font-size: 13px;
  color: #333;
  border-bottom: 1px solid #eee;
}

/* ============================================== */
/* 新增：独立表格/按钮样式（前缀new-，避免样式冲突） */
/* ============================================== */
/* 新增表格容器：与原有内容间距适配 */
.new-option-table-wrap {
  margin-top: 15px;
  width: 100%;
}

/* 新增表格基础样式：100%宽度，边框合并，适配容器 */
.new-option-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

/* 新增表格单元格：垂直居中，内边距，底部分隔线 */
.new-option-table td {
  padding: 10px 8px;
  vertical-align: middle;
  border-bottom: 1px solid #e8eaed;
  font-size: 14px;
}

/* 最后一行单元格：去掉底部分隔线 */
.new-option-table tr:last-child td {
  border-bottom: none;
}

/* 左列：标题列，居左，60%宽度，文字溢出省略 */
.new-table-title {
  text-align: left;
  width: 60%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #606670;
}

/* 右列：按钮列，居右，40%宽度 */
.new-table-btn {
  text-align: right;
  width: 40%;
}

/* 新增跳转按钮：贴合原页面风格，兼容IE6，无样式冲突 */
.new-jump-btn {
  padding: 4px 12px;
  border-radius: 3px;
  font-size: 11px;
  border: 1px solid #409eff;
  background: #409eff;
  color: #fff !important;
  line-height: 18px;
  zoom: 1;
  *padding: 3px 8px;
  *font-size: 10px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  *display: inline;
}

.new-jump-btn:hover {
  background-color: #3390e8;
  border-color: #3390e8;
  color: #fff !important;
}

/* IE6兜底兼容新增按钮 */
*html .new-jump-btn {
  border: 1px solid #409eff;
  background: #409eff;
  color: #fff !important;
  text-decoration: none;
}