@charset "UTF-8";
.banner {
  width: 100%;
  height: 100%;
}

.banner img {
  width: 100%;
  margin-top: 168px;
}

.plancart {
  width: 100%;
  height: 100%;
  background-color: #f7f8f8;
}

.plancart-img {
  width: 100%;
  margin-bottom: 28px;
  text-align: center;
}

.plancart-img img {
  width: 64%;
}

.plancart-box {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 5.20833vw;
  height: 100%;
}

.plancart-box-item {
  padding: 23px;
  box-sizing: border-box;
  margin-bottom: 24px;
  width: 100%;
  height: 250px;
  background-color: #fff;
  border-radius: 0.52083vw;
  -webkit-border-radius: 0.52083vw;
  -moz-border-radius: 0.52083vw;
  -ms-border-radius: 0.52083vw;
  -o-border-radius: 0.52083vw;
  display: flex;
  align-items: center;
}

.plancart-box-item-img {
  width: 25%;
  height: 100%;
}

.plancart-box-item-img img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 0.52083vw;
  -webkit-border-radius: 0.52083vw;
  -moz-border-radius: 0.52083vw;
  -ms-border-radius: 0.52083vw;
  -o-border-radius: 0.52083vw;
}

.plancart-box-item-info {
  width: 65%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-left: 44px;
  padding: 10px 0;
  box-sizing: border-box;
}

.plancart-box-item-info .title {
  font-family: 思源黑体;
  font-size: 22px;
  line-height: 19.28px;
  letter-spacing: 0.66px;
  color: #333333;
}

.plancart-box-item-info .specs {
  font-family: 思源黑体 CN;
  font-size: 14px;
  letter-spacing: 0.7px;
  color: #898989;
  margin-top: 15px;
}

.plancart-submit {
  width: 100%;
  margin-top: 50px;
  text-align: center;
  display: none;
}

.plancart-submit button {
  cursor: pointer;
  width: 168px;
  height: 59px;
  color: #fff;
  font-family: 思源黑体;
  font-weight: bold;
  font-size: 24px;
  letter-spacing: 2.4px;
  background-color: black;
  border-radius: 2.08333vw;
  -webkit-border-radius: 2.08333vw;
  -moz-border-radius: 2.08333vw;
  -ms-border-radius: 2.08333vw;
  -o-border-radius: 2.08333vw;
  margin-bottom: 100px;
}

.model {
  display: none;
}

.model-tips {
  text-align: center;
  margin-bottom: 10px;
}

.model-tips img {
  width: 70px;
}

.model-tips p {
  font-family: 思源黑体;
  font-size: 20px;
  letter-spacing: 1.6px;
  color: #333333;
  margin: 10px 0;
}

.model-tips div {
  font-family: 思源黑体;
  font-size: 16px;
  letter-spacing: 1.3px;
  color: #999999;
}

.model .btn {
  text-align: center;
}

.model .btn .layui-btn {
  width: 168px;
  border-radius: 50px;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  -ms-border-radius: 50px;
  -o-border-radius: 50px;
  background-color: #000;
  font-family: 思源黑体;
  font-weight: bold;
  font-size: 18px;
  letter-spacing: 2.4px;
  color: #ffffff;
}

/* 步进器容器样式 */
.stepper {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #333;
}

.stepper-btn {
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 4px;
  background: #f7f8f8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  font-size: 20px;
}

.stepper-btn:hover {
  border-color: #b2b2b2;
  background: #2e2e2e;
}

.stepper-btn:hover .layui-icon {
  color: white !important;
}

.stepper-btn:disabled {
  cursor: not-allowed;
  border-color: #eee;
  color: #ccc;
  background: #f7f8f8;
}

.stepper-num {
  width: 50px;
  height: 50px;
  text-align: center;
  line-height: 50px;
  border: none;
  border-radius: 4px;
  background: #f7f8f8;
  font-size: 20px;
}

.stepper-delete {
  background: #f7f8f8;
  border: none;
  border-radius: 4px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.stepper-delete:hover {
  border-color: #b2b2b2;
  background: #2e2e2e;
}

.stepper-delete:hover .layui-icon {
  color: white !important;
}

/* 重置Layui默认复选框样式，避免冲突 */
.layui-form-checkbox {
  display: none !important;
}

/* 自定义复选框容器 - 核心：脱离Layui默认布局影响 */
.custom-checkbox {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 30px;
  cursor: pointer;
  margin: 20px;
  /* 阻止Layui样式继承 */
  box-sizing: content-box;
}

/* 隐藏原生复选框 - 2.13.3版本需彻底隐藏，避免默认样式透出 */
.custom-checkbox input[type="checkbox"] {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  cursor: pointer;
}

/* 复选框背景（未选中态） */
.checkbox-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid #969696;
  /* 灰色边框 */
  border-radius: 50%;
  /* 圆形 */
  background-color: #fff;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  /* 2.13.3版本需加z-index，避免被Layui元素覆盖 */
  z-index: 1;
}

/* 对勾图标（未选中态） */
.checkbox-icon::after {
  content: "✓";
  font-size: 14px;
  color: #969696;
  opacity: 1;
  transition: all 0.2s ease;
  cursor: pointer;
}

/* 选中态样式 - 绿色背景+白色对勾 */
.custom-checkbox input:checked + .checkbox-icon {
  border-color: #00cc66;
  background-color: #00cc66;
}

.custom-checkbox input:checked + .checkbox-icon::after {
  color: #fff;
  font-size: 16px;
}

/* hover效果优化 */
.custom-checkbox:hover .checkbox-icon {
  border-color: #666;
}

.custom-checkbox input:checked:hover + .checkbox-icon {
  border-color: #00b359;
  background-color: #00b359;
}
