.customizing {


  height: 45vh;
  position: relative;
  overflow: hidden; /* 防止溢出 */
}

.ej-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  /* 添加宽度100% */
  height: 100%;
  /* 添加高度100% */
}

.ej-img img {
  width: 100%;
  /* 修改为100% */
  height: 100%;
  /* 添加高度100% */
  object-fit: cover;
  /* 确保图片覆盖整个容器 */
}

/* START CUSTOMIZING 标题*/
.customizingTextBox {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60rem;
  color: #fff;
}

.customizingText {
  font-size: 5rem; /* 调整字体大小 */
  text-align: center;
}

.customizingMinText {
  font-size: 2rem;
  text-align: center;
  visibility: hidden; /* 保持隐藏 */
}

/* 表单容器样式 */
#wpforms-form {
  width: 100%;
  max-width: 900px; /* 设置最大宽度 */
  margin: 0 auto; /* 居中对齐 */
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 表单输入框和文本区域样式 */
.wpforms-form input[type="text"],
.wpforms-form input[type="email"],
.wpforms-form textarea {
  display: block;
  width: 100%;
  padding: 14px;
  margin: 12px 0;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 1.6rem; /* 适度的字体大小 */
  background-color: #f9f9f9;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

/* 输入框聚焦时的效果 */
.wpforms-form input[type="text"]:focus,
.wpforms-form input[type="email"]:focus,
.wpforms-form textarea:focus {
  border-color: #0073e6;
  outline: none;
}


/* 文本框 */
.wpforms-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* 提交按钮 */
.wpforms-submit {
  padding: 15px 24px;
  background-color: #0073e6;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  font-size: 1.6rem;
  width: 100%;
  transition: background-color 0.3s ease;
}

.wpforms-submit:hover {
  background-color: #005bb5;
}
/* 父容器样式：水平布局—————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— */
#wpforms-844-field_30, #wpforms-844-field_32, #wpforms-844-field_33 {
  display: flex;
  flex-wrap: wrap; /* 启用换行 */
  gap: 10px; /* 选项之间的间距 */
  justify-content: space-between; /* 水平均匀分布 */
  padding: 0;
  margin: 0;
}

/* 列表项样式 */
#wpforms-844-field_30 .wpforms-image-choices-item,
#wpforms-844-field_32 .wpforms-image-choices-item,
#wpforms-844-field_33 .wpforms-image-choices-item {
  text-align: center;
  cursor: pointer;
}

/* 图片容器样式 */
#wpforms-844-field_30 .wpforms-image-choices-image img,
#wpforms-844-field_32 .wpforms-image-choices-image img,
#wpforms-844-field_33 .wpforms-image-choices-image img {
  width: 100%;
  max-width: 280px; /* 限制图片最大宽度 */
  height: auto;
  border-radius: 6px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 图片选中时的样式 */
#wpforms-844-field_30 input[type="checkbox"]:checked + .wpforms-image-choices-image img,
#wpforms-844-field_32 input[type="radio"]:checked + .wpforms-image-choices-image img,
#wpforms-844-field_33 input[type="radio"]:checked + .wpforms-image-choices-image img {
  transform: scale(1.1); /* 放大选中图片 */
  box-shadow: 0 4px 10px rgba(0, 115, 230, 0.5); /* 添加选中阴影 */
  border: 2px solid #0073e6; /* 选中图片时添加边框 */
}

/* 标签文字样式 */
#wpforms-844-field_32 .wpforms-image-choices-label,
#wpforms-844-field_33 .wpforms-image-choices-label {
  display: block;
  margin-top: 8px;
  font-size: 1.4rem;
  color: #333;
}

/* 响应式调整：小屏幕布局 */
@media only screen and (max-width: 768px) {
  #wpforms-844-field_30 .wpforms-image-choices-item {
    flex: 1 0 calc(50% - 10px); /* 每行两个选项 */
  }

  #wpforms-844-field_30 .wpforms-image-choices-image img {
    width: 80px; /* 小屏幕缩小图片大小 */
  }

  #wpforms-844-field_30 {
    flex-wrap: wrap; /* 小屏幕改为多行布局 */
  }
}

  /* 新的两列布局只应用于field_32和field_33 */
  #wpforms-844-field_32,
  #wpforms-844-field_33 {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 强制两列布局 */
    gap: 10px;
    width: 100%;
  }

  #wpforms-844-field_32 li,
  #wpforms-844-field_33 li {
    width: 100% !important;
    margin: 0 !important;
  }

  #wpforms-844-field_32 .wpforms-image-choices-image,
  #wpforms-844-field_33 .wpforms-image-choices-image {
    width: 100%;
  }

  #wpforms-844-field_32 .wpforms-image-choices-image img,
  #wpforms-844-field_33 .wpforms-image-choices-image img {
    width: 100%;
    height: auto;
  }



/* 填空—————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— */
/* 父容器样式 */
fieldset {
  border: none; /* 移除默认的边框 */
  padding: 0;
  margin: 20px 0;
}

/* 调整标签字体大小 */
.wpforms-field-label {
  font-size: 1.4rem; /* 设置字体大小为 1.4rem */
  font-weight: bold; /* 设置字体加粗（可选） */
  color: #333; /* 设置字体颜色 */
  margin-bottom: 10px; /* 设置标签与下方元素的间距 */
}



/* 必填标记样式 */
.wpforms-required-label {
  color: #e74c3c;
  font-weight: bold;
  margin-left: 5px;
}

/* 字段描述 */
#wpforms-844-field_14-description,
#wpforms-844-field_1-description {
  font-size: 1.2rem;
  color: #666;
  margin-top: 5px;
}

/* 表单输入框容器 */
.wpforms-field-row {
  display: flex;
  gap: 20px; /* 增加输入框之间的间距 */
  margin-bottom: 20px; /* 各输入框之间的垂直间距 */
}

.wpforms-field-row-block {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* 输入框样式 */
input[type="text"] {
  font-size: 1rem;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin: 5px 0;
  width: 100%;
  box-sizing: border-box; /* 确保宽度计算包括内边距和边框 */
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* 输入框聚焦时的样式 */
input[type="text"]:focus {
  border-color: #0073e6;
  box-shadow: 0 0 5px rgba(0, 115, 230, 0.3);
}

/* 标签样式 */
label {
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 5px;
  text-align: left;
}

/* 响应式调整：小屏幕设备布局 */
@media only screen and (max-width: 768px) {
  .wpforms-field-row {
    flex-direction: column; /* 小屏幕时垂直排列 */
    gap: 15px;
  }

  .wpforms-field-row-block {
    flex: 1;
  }

  input[type="text"] {
    font-size: 1.1rem; /* 小屏幕下略微增大字体 */
    padding: 12px;
  }

  label {
    font-size: 1rem; /* 小屏幕时略微增大标签字体 */
  }
}


/* 多选框—————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— */

/* 父容器样式 */
#wpforms-844-field_31-container {
  margin: 20px 0;
}

#wpforms-844-field_31 {
  list-style: none;
  padding: 0;
  margin: 0;
}

#wpforms-844-field_31 .depth-1 {
  display: flex;
  align-items: center;
  gap: 15px; /* 增加选项之间的间距 */
  margin-bottom: 12px; /* 每项之间增加间距 */
  padding: 8px 15px;
  border: 1px solid #ddd; /* 添加边框 */
  border-radius: 5px; /* 圆角边框 */
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* 悬停效果 */
#wpforms-844-field_31 .depth-1:hover {
  background-color: #f7f7f7;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* 鼠标悬停时阴影效果 */
}

/* 选中效果 */
#wpforms-844-field_31 input[type="checkbox"]:checked + label {
  color: #0073e6; /* 选中时标签变色 */
  font-weight: bold; /* 加粗文字 */
}

#wpforms-844-field_31 input[type="checkbox"] {
  margin: 0;
  cursor: pointer; /* 鼠标悬停时改变光标 */
  transition: transform 0.3s ease;
}

/* 鼠标悬停在复选框时放大效果 */
#wpforms-844-field_31 input[type="checkbox"]:hover {
  transform: scale(1.1);
}

/* 标签文字样式 */
#wpforms-844-field_31 label {
  font-size: 1.1rem; /* 统一设置标签的字体大小 */
  color: #333;
  cursor: pointer; /* 鼠标悬停时改变光标 */
  transition: color 0.3s ease;
}

/* 响应式调整：小屏幕优化 */
@media only screen and (max-width: 768px) {
  #wpforms-844-field_31 {
    display: block;
  }

  #wpforms-844-field_31 .depth-1 {
    margin-bottom: 20px; /* 增加小屏幕下的间距 */
    padding: 12px;
  }

  #wpforms-844-field_31 label {
    font-size: 1.2rem; /* 小屏幕时略微增大字体 */
  }

  /* 小屏幕下checkbox的尺寸适配 */
  #wpforms-844-field_31 input[type="checkbox"] {
    transform: scale(1.2); /* 增大复选框 */
  }
}





/* 通用下拉框容器样式—————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— */
#wpforms-844-field_11-container,
#wpforms-844-field_15-container,
#wpforms-844-field_17-container,
#wpforms-844-field_20-container,
#wpforms-844-field_35-container,
#wpforms-844-field_36-container,
#wpforms-844-field_26-container {
  margin: 20px 0; /* 增加上下间距 */
  font-family: Arial, sans-serif; /* 设置统一字体 */
}

/* 通用标签样式 */
#wpforms-844-field_11-container .wpforms-field-label,
#wpforms-844-field_15-container .wpforms-field-label,
#wpforms-844-field_17-container .wpforms-field-label,
#wpforms-844-field_20-container .wpforms-field-label,
#wpforms-844-field_35-container .wpforms-field-label,
#wpforms-844-field_36-container .wpforms-field-label,
#wpforms-844-field_26-container .wpforms-field-label {
  display: block;
  font-size: 1.4rem; /* 调整字体大小 */
  font-weight: bold;
  margin-bottom: 8px; /* 增加标签与下拉框的间距 */
  color: #333; /* 设置标签颜色 */
}

/* 通用下拉框样式 */
#wpforms-844-field_11,
#wpforms-844-field_15,
#wpforms-844-field_17,
#wpforms-844-field_20,
#wpforms-844-field_35,
#wpforms-844-field_36,
#wpforms-844-field_26 {
  width: 100%; /* 下拉框宽度自适应 */
  max-width: 400px; /* 限制最大宽度 */
  padding: 12px 16px; /* 增加内边距 */
  font-size: 1.4rem; /* 调整字体大小 */
  border: 2px solid #ddd; /* 设置边框颜色 */
  border-radius: 8px; /* 圆角边框 */
  background-color: #f9f9f9; /* 设置背景颜色 */
  transition: border-color 0.3s ease, box-shadow 0.3s ease; /* 添加交互动画 */
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1); /* 内部阴影 */
  appearance: none; /* 去除默认样式 (跨浏览器统一效果) */
  -moz-appearance: none; /* Firefox */
  -webkit-appearance: none; /* Safari & Chrome */
  cursor: pointer;
  color: #333; /* 字体颜色 */
}

/* 通用下拉框箭头自定义 */
#wpforms-844-field_11-container,
#wpforms-844-field_15-container,
#wpforms-844-field_17-container,
#wpforms-844-field_20-container,
#wpforms-844-field_35-container,
#wpforms-844-field_36-container,
#wpforms-844-field_26-container {
  position: relative; /* 创建定位上下文 */
}

#wpforms-844-field_11::after,
#wpforms-844-field_15::after,
#wpforms-844-field_17::after,
#wpforms-844-field_20::after,
#wpforms-844-field_35::after,
#wpforms-844-field_36::after,
#wpforms-844-field_26::after {
  content: "▼"; /* 自定义箭头 */
  font-size: 1.2rem;
  position: absolute;
  top: 50%;
  right: 16px; /* 距离右侧的间距 */
  transform: translateY(-50%);
  color: #666; /* 箭头颜色 */
  pointer-events: none; /* 禁止点击 */
}

/* 下拉框聚焦效果 */
#wpforms-844-field_11:focus,
#wpforms-844-field_15:focus,
#wpforms-844-field_17:focus,
#wpforms-844-field_20:focus,
#wpforms-844-field_35:focus,
#wpforms-844-field_36:focus,
#wpforms-844-field_26:focus {
  border-color: #0073e6; /* 聚焦时的边框颜色 */
  outline: none; /* 去除默认的聚焦效果 */
  box-shadow: 0 0 5px rgba(0, 115, 230, 0.5); /* 添加外部阴影 */
}

/* 通用选项样式 */
#wpforms-844-field_11 option,
#wpforms-844-field_15 option,
#wpforms-844-field_17 option,
#wpforms-844-field_20 option,
#wpforms-844-field_35 option,
#wpforms-844-field_36 option,
#wpforms-844-field_26 option {
  padding: 10px; /* 增加选项内边距 */
  font-size: 1.4rem; /* 选项字体大小 */
  color: #333; /* 选项字体颜色 */
  background-color: #fff; /* 选项背景颜色 */
}

/* 响应式调整 */
@media only screen and (max-width: 768px) {
  /* 调整小屏幕下字体大小和内边距 */
  #wpforms-844-field_11,
  #wpforms-844-field_15,  
  #wpforms-844-field_17,
  #wpforms-844-field_20,
  #wpforms-844-field_35,
  #wpforms-844-field_36,
  #wpforms-844-field_26 {
    font-size: 1.2rem;
    padding: 10px;
  }

  #wpforms-844-field_11::after,
  #wpforms-844-field_15::after,
  #wpforms-844-field_17::after,
  #wpforms-844-field_20::after,
  #wpforms-844-field_35::after,
  #wpforms-844-field_36::after,
  #wpforms-844-field_26::after {
    font-size: 1rem; /* 缩小箭头大小 */
  }
}
/* 确认消息样式样式—————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— */
/* 调整 WPForms 中确认消息的字体大小 */
.wpforms-confirmation-container p {
  font-size: 1.4rem;  /* 设置字体大小为 1.4rem */
}


/* 响应式调整 */
@media only screen and (max-width: 768px) {
    .customizing {
    display: flex;
    flex-direction: column; /* 在手机上垂直排列 */
    align-items: center; /* 水平居中 */
    height: 40vh;/* 调整移动端高度 */
}

    .ej-img {
      width: 100%;
      height: 100%;
    }
  
    .ej-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

.customizingTextBox {
    text-align: center; /* 文本居中 */
}
  .customizingTextBox {
    width: 90%;
    padding: 0 1rem;
  }

  .customizingText {
    font-size: 4rem; /* 小屏幕下减小标题字体 */
  }

  .customizingMinText {
    font-size: 1.6rem;
  }

  /* 图片选项布局调整，适应小屏幕 */
  .wpforms-form .image-option-wrapper label {
    width: calc(50% - 10px); /* 2列布局 */
  }

  /* 调整输入框和按钮的字体大小 */
  .wpforms-form input[type="text"],
  .wpforms-form input[type="email"],
  .wpforms-form textarea {
    font-size: 1.4rem;
    padding: 12px;
  }

  .wpforms-submit {
    font-size: 1.4rem;
    padding: 12px;
  }
}
