/* ==================== 个人中心页独立样式 ==================== */
.pf_main {
  width: 96%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 118px 0 96px;
}

/* 页面标题 */
.pf_title {
  margin: 0 0 36px;
  font-size: 32px;
  font-weight: 700;
  color: #1f2d3d;
  text-align: center;
}

/* 标签页（按参考图：激活项蓝色圆角矩形白字 + 底部贯穿蓝线） */
.pf_tabs {
  display: flex;
  align-items: center;
  gap: 0px;
  margin-bottom: 20px;
  border-bottom: 3px solid #1053a0;
}

.pf_tab {
  display: flex;
  justify-content: center;
  flex: 1;
  border: none;
  background: transparent;
  font-size: 17px;
  font-weight: 600;
  color: #8a97ab;
  padding: 15px 40px 10px;
  cursor: pointer;
  transition:
    color 0.2s,
    background-color 0.2s;
}

.pf_tab:hover {
  color: #1053a0;
}

.pf_tab.active {
  color: #ffffff;
  background-image: url('../images/grbg.webp');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: -2px 4px;
}

/* 面板 */
.pf_pane {
  /* border: 3px solid #1053a0; */
  border-radius: 14px;
  min-height: 300px;
}

/* ---------- 基础信息 ---------- */
.pf_info {
  display: flex;
  align-items: center;
  gap: 60px;
  background: #ffffff;
  border: 1px solid #e6edf6;
  border-radius: 14px;
  padding: 60px 40px;
  flex-wrap: wrap;
  min-height: 300px;
}

.pf_avatar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pf_avatar .iconfont {
  font-size: 120px;
  color: var(--text-active-color);
}
.pf_info_grid {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 60px;
}
.pf_info_row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  font-size: 15px;
  line-height: 1.6;
}
.pf_label {
  flex: 0 0 auto;
  color: #7a7a7a;
  margin-right: 10px;
}

.pf_value {
  color: #1f2d3d;
  margin-right: 14px;
}

.pf_tag {
  position: relative;
  flex: 0 0 auto;
  padding: 2px 10px;
  font-size: 12px;
  color: #d48806;
  border-radius: 999px;
  background: #fff7e6;
  cursor: pointer;
}
.pf_tag_tip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  width: 480px;
  max-width: 60vw;
  padding: 8px 14px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
  font-size: 12px;
  line-height: 1.5;
  color: #777;
  font-weight: normal;
  white-space: normal;
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s,
    visibility 0.2s;
  pointer-events: none;
}
/* .pf_tag_tip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: #fff;
} */
.pf_tag:hover .pf_tag_tip {
  opacity: 1;
  visibility: visible;
}

/* ---------- 下载记录 ---------- */
.pf_table {
  overflow-x: auto;
  padding: 30px 25px;
  background: #fff;
  border-radius: 14px;
}

.pf_table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.pf_table tr {
  background: #f6f6f6;
  border-bottom: 10px solid #fff;
}
.pf_table th,
.pf_table td {
  padding: 10px 16px;
  text-align: left;
  border-bottom: 1px solid #eef3fc;
  white-space: nowrap;
}

.pf_table th {
  font-weight: 600;
  color: #5b6b84;
  background: #fff;
}

.pf_table td {
  color: #1f2d3d;
}

.pf_table_link {
  color: #1053a0;
  text-decoration: none;
}

.pf_table_link:hover {
  text-decoration: underline;
}

.pf_table th {
  color: #9b9999;
  font-weight: 500;
  white-space: nowrap;
  border-left: 1px solid #ededed;
  padding: 5px;
  text-align: left;
}
.pf_table th.pf_th_name {
  min-width: 260px;
}
.pf_table th.pf_th_ops {
  text-align: center;
  width: 10px;
}
.pf_table td {
  color: #888686;
}
.pf_table tbody tr:last-child td {
  border-bottom: none;
}
.pf_table tbody tr:hover {
  background: #f8fbfe;
}
.pf_doc_name {
  color: #333 !important;
  font-weight: 500;
}
.pf_ops {
  text-align: center !important;
  white-space: nowrap;
}
.pf_op {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border: none;
  background: none;
  color: #777777;
  cursor: pointer;
  margin: 0 3px;
  transition: color 0.2s;
}
.pf_op:hover {
  color: #1053a0;
}

.pf_op .iconfont {
  font-size: 22px;
  color: #666;
}
.pf_op:hover {
  background-color: #0e53a1;
  border-radius: 50%;
}
.pf_op:hover .iconfont {
  color: #fff;
}
.pf_more {
  font-size: 14px;
  color: #fff;
  background-color: #0e53a1;
  border-radius: 25px;
}
/* ---------- 我的留言 ---------- */
.pf_msg_list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-radius: 14px;
}

.pf_msg_item {
  background: #ffffff;
  border-radius: 12px;
  padding: 11px 24px;
}

.pf_msg_head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  padding: 10px 12px 0;
}

.pf_msg_title {
  font-size: 15px;
  font-weight: 700;
  color: #1f2d3d;
}

.pf_msg_status {
  color: #ecad01;
  border-radius: 25px;
  background: #fff7e6;
  font-size: 12px;
  padding: 1px 6px;
}
.pf_msg_status_huifu {
  color: #43cc00;
  background: #f1fce6;
  font-size: 12px;
  padding: 1px 6px;
  border-radius: 25px;
}
.replied {
}
.pf_msg_reply_text {
  font-size: 14px;
  line-height: 1.8;
}
.pf_msg_reply_time {
  font-size: 12px;
  line-height: 1.8;
  color: #888;
}
.pf_msg_time {
  font-size: 13px;
  color: #8a97ab;
  padding: 0px 12px 0;
}

.pf_msg_text {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.7;
  color: #3d4c61;
}

.pf_msg_reply {
  font-size: 13px;
  line-height: 1.7;
  color: #1053a0;
  background: #f2f7fd;
  border-radius: 8px;
  padding: 8px 12px;
}
.pf_msg_but {
  padding: 5px 20px;
  background: #1053a0;
  color: #fff;
  border: none;
  border-radius: 25px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
  margin: 35px auto 50px;
}

.pf_tag.certified {
  color: #43cc00;
  background: #f1fce6;
}
.pf_tag.certified .pf_tag_tip {
  display: none;
}
.pf_empty {
  padding: 80px 20px;
  text-align: center;
  background: #fff;
  border-radius: 14px;
}
.pf_empty_icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 0px;
}
.pf_empty_icon svg {
  width: 100%;
  height: 100%;
}
.pf_msg_reply_box {
  background: #f3f3f3;
  padding: 20px 15px;
  margin: 10px 0 0 0;
  border-radius: 14px;
}
.pf_empty_text {
  margin: 0 0 35px;
  font-size: 15px;
  color: #999;
}
.pf_empty_btn {
  padding: 5px 20px;
  background: var(--text-active-color);
  color: #fff;
  border: none;
  border-radius: 25px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}
.pf_empty_btn:hover {
  background: #0d4380;
}
.pf_table[hidden] {
  display: none;
}
.pf_empty[hidden] {
  display: none;
}
.pf_msg_list[hidden] {
  display: none;
}
.pf_more {
  margin: 40px auto 0;
  width: fit-content;
  padding: 5px 25px;
  border: 1px solid #1053a0;
  border-radius: 26px;
  color: #fff;
  background: #1053a0;
  font-size: 14px;
  /* text-align: center; */
  cursor: pointer;
  transition: all 0.2s;
}
.pf_more:hover {
}
.pf_msg_arrow {
  cursor: pointer;
  color: #6b6b6b;
}
.pf_msg_arrow.open {
  color: #1053a0;
  transform: rotate(90deg);
}
.pf_msg_reply_box[hidden] {
  display: none;
}
/* ---------- 样机购买 ---------- */
.pf_yj_layout {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 30px 22px;
}
.pf_yj_content {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.pf_yj_card {
  display: flex;
  gap: 30px;
  padding: 24px 50px 24px 24px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 12px;
}
.pf_yj_img {
  flex: 0 0 200px;
  height: 200px;
  background: #f5f5f5;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-size: 14px;
}
.pf_yj_img img {
  object-fit: contain;
  height: 200px;
}
.pf_yj_info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pf_yj_series {
  display: inline-block;
  padding: 2px 10px;
  background: #1053a0;
  color: #fff;
  font-size: 12px;
  border-radius: 14px;
  margin-bottom: 16px;
}
.pf_yj_name {
  margin: 0 0px;
  font-size: 25px;
  font-weight: 600;
  color: #222;
}
.pf_yj_ver {
  display: inline-block;
  padding: 2px 10px;
  border: 1px solid #ddd;
  border-radius: 14px;
  font-size: 12px;
  color: #888;
  margin-bottom: 18px;
}
.pf_yj_detail {
  display: block;
  font-size: 14px;
  color: #1053a0;
  text-decoration: none;
}
.pf_yj_jt {
  font-size: 12px;
  color: #1053a0;
  border: 1px solid #1053a0;
  border-radius: 33px;
  padding: 0px 2px;
}
.pf_yj_action {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.pf_yj_price {
  font-size: 20px;
  margin-bottom: 20px;
}
.pf_yj_price_strong {
  font-size: 28px;
  font-weight: 600;
  color: #222;
  margin-bottom: 14px;
}
.pf_yj_btn {
  padding: 5px 14px;
  background: #1053a0;
  color: #fff;
  border: none;
  border-radius: 25px;
  font-size: 12px;
  cursor: pointer;
}
.pf_yj_btn:hover {
  background: #0d4380;
}
.pf_yj_btn.added {
  background: #52c41a;
  color: #fff;
}
.pf_yj_btn.added:hover {
  background: #49b018;
}
.pf_yj_end {
  margin: 20px 0 40px;
  text-align: center;
  font-size: 14px;
  color: #aaa;
}
/* ---------- 购物车 ---------- */
.pf_cart_empty {
  padding: 60px 20px;
  text-align: center;
}
.pf_cart_icon {
  width: 130px;
  height: 130px;
  margin: 0 auto;
}
.pf_cart_icon svg {
  width: 100%;
  height: 100%;
}
.pf_cart_text {
  margin: 0 0 24px;
  font-size: 15px;
  color: #999;
}
.pf_cart_addr_link {
  display: block;
  margin-top: 16px;
  font-size: 14px;
  color: #1053a0;
  text-decoration: none;
  margin: 10px auto;
  border: 0;
  cursor: pointer;
}
.pf_addr_list {
  overflow-y: auto;
  height: 400px;
}
.pf_addr_empty {
  padding: 60px 0;
  margin-bottom: 25px;
  text-align: center;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}
.pf_addr_icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 12px;
}
.pf_addr_icon svg {
  width: 100%;
  height: 100%;
}
.pf_addr_text {
  margin: 0;
  font-size: 14px;
  color: #999;
}

/* 地址列表 */
.pf_addr_item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid #f0f0f0;
  border-top: 1px solid #f0f0f0;
}
.pf_addr_region {
  font-size: 14px;
  color: #888;
}
.pf_addr_detail {
  font-size: 14px;
  color: #666;
}
.pf_addr_contact {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #222;
}
.pf_addr_ops {
  display: flex;
  gap: 12px;
}
.pf_addr_op {
  border: none;
  background: transparent;
  font-size: 15px;
  cursor: pointer;
  color: #999;
}
.pf_addr_op .iconfont {
  font-size: 20px;
  color: #999;
}
.pf_addr_op:hover .iconfont {
  color: var(--text-active-color);
}
/* 添加地址表单 */
.pf_form_item {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}
.pf_form_item span.pf_form_must {
  width: 20px;
  color: red;
}
.pf_form_item label {
  width: 100px;
}
.pf_form_input {
  flex: 1;
  padding: 12px 14px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  box-sizing: border-box;
  outline: none;
}
.pf_form_input:focus {
  border-color: #1053a0;
}
.pf_form_phone {
  flex: 1;
  display: flex;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}
.pf_form_prefix {
  padding: 12px 14px;
  background: #f7f7f7;
  border-right: 1px solid #e0e0e0;
  font-size: 14px;
  color: #666;
}
.pf_form_phone .pf_form_input {
  border: none;
  border-radius: 0;
  flex: 1;
}
.pf_form_input_wrap {
  position: relative;
}
.pf_form_star {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #f5222d;
  font-size: 14px;
  z-index: 1;
}
.pf_form_input_wrap .pf_form_input {
  padding-left: 28px;
}
.pf_form_phone .pf_form_input {
  padding-left: 12px;
}
/* 购物车商品列表 */
.pf_cart_list {
  padding: 0;
}
.pf_cart_item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
  border-radius: 12px;
}

.pf_cart_check {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.pf_cart_check_all {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.pf_cart_order_info {
  background: #fff;
  border-radius: 14px;
  flex: 1;
  display: flex;
  padding: 10px 10px;
}
.pf_cart_neirong {
  display: flex;
  align-items: center;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  flex: 1;
  gap: 20px;
}
.pf_cart_check input {
  display: none;
}
.pf_cart_checkbox {
  width: 20px;
  height: 20px;
  border: 1.5px solid #ddd;
  border-radius: 4px;
  background: #fff;
  position: relative;
}
.pf_cart_check input:checked + .pf_cart_checkbox {
  background: #1053a0;
  border-color: #1053a0;
}
.pf_cart_check input:checked + .pf_cart_checkbox::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 13px;
}
.pf_cart_img {
  flex: 0 0 160px;
  height: 160px;
  background: #f5f5f5;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-size: 13px;
}
.pf_cart_info {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.pf_cart_name {
  font-size: 22px;
  font-weight: 600;
  color: #222;
  margin-bottom: 10px;
}
.pf_cart_series {
  color: #bcbcbc;
  font-size: 12px;
  margin-bottom: 8px;
}
.pf_cart_ver {
  display: inline-block;
  padding: 2px 10px;
  border: 1px solid #ddd;
  border-radius: 15px;
  font-size: 12px;
  color: #555;
  margin-bottom: 18px;
}
.pf_cart_detail {
  display: block;
  font-size: 14px;
  color: #1053a0;
  text-decoration: none;
}
.pf_cart_right {
  flex: 0 0 auto;
  text-align: right;
  padding-right: 20px;
  display: inline-grid;
  align-items: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.pf_cart_price {
  font-size: 26px;
  font-weight: 600;
  color: #222;
  padding: 0 10px;
}

.pf_cart_num {
  display: inline-flex;
  border-radius: 6px;
  overflow: hidden;
}
.pf_cart_num button {
  width: 32px;
  height: 32px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  font-size: 16px;
  color: #666;
}
.pf_cart_val {
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  font-size: 14px;
  background: #f5f5f5;
  margin: 0 1px;
  border-radius: 6px;
}
.uc_dialog_box .pf_cart_price {
  font-size: 18px;
}
.uc_dialog_box .pf_cart_item {
  gap: 10px;
  margin-bottom: 10px;
}
.uc_dialog_box .pf_cart_name {
  font-size: 18px;
}
.uc_dialog_box .pf_cart_order_info {
  padding: 0;
  gap: 10px;
}
.uc_dialog_box .pf_cart_num button {
  width: 25px;
  height: 25px;
}
.uc_dialog_box .pf_cart_val {
  width: 25px;
  height: 25px;
  line-height: 25px;
}
.uc_dialog_box .pf_cart_total {
  font-size: 20px;
}
.pf_cart_bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #eaeaea;
}
.pf_cart_all {
  margin-left: 10px;
  font-size: 14px;
  color: #333;
}
.pf_cart_total {
  font-size: 22px;
  font-weight: 600;
  color: #222;
}
.pf_cart_total_price {
  color: red;
}
.pf_cart_address {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.pf_cart_addr_link2 {
  margin: 16px 0;
  padding: 0px;
  color: #1053a0;
  border: 0;
  border-radius: 0;
  font-size: 15px;
  cursor: pointer;
  background: #f2f3f500;
}
.pf_addr_tip_wrap {
  position: relative;
}
.pf_addr_tip_box {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  white-space: nowrap;
  z-index: 60;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.2s,
    visibility 0.2s;
}

.pf_addr_tip_icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f5222d;
  color: #fff;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pf_addr_tip_box span:last-child {
  font-size: 14px;
  color: #333;
}
.pf_addr_selected_info {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.pf_addr_edit {
  border: none;
  background: transparent;
  font-size: 18px;
  color: #888;
  cursor: pointer;
}
.pf_kaifa_textarea {
  width: 100%;
  height: 160px;
  padding: 14px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  resize: vertical;
  box-sizing: border-box;
  outline: none;
  margin-bottom: 24px;
}
.pf_kaifa_textarea:focus {
  border-color: #1053a0;
}
.pf_kaifa_upload {
  text-align: center;
  padding: 20px 0;
  border-bottom: 1px solid #f0f0f0;
  width: 30%;
  margin: 0 auto 24px;
}
.pf_kaifa_upload_icon {
  margin-bottom: 12px;
}
.pf_kaifa_upload_text {
  margin: 0 0 6px;
  font-size: 15px;
  color: #1053a0;
}
.pf_kaifa_upload_tip {
  margin: 0;
  font-size: 13px;
  color: #999;
}
.pf_order_empty {
  padding: 60px 20px;
  text-align: center;
  border-radius: 14px;
}
.pf_order_icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 16px;
}
.pf_order_icon svg {
  width: 100%;
  height: 100%;
}
.pf_order_text {
  margin: 0 0 24px;
  font-size: 15px;
  color: #999;
}
.pf_order_list {
  padding: 0;
}
.pf_order_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.pf_order_card {
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
}
.pf_order_head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.pf_order_time {
  font-size: 15px;
  font-weight: 600;
  color: #222;
}
.pf_order_status {
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.pf_order_status.status_doing {
  background: #fff7e6;
  color: #faad14;
}
.pf_order_status.status_done {
  background: #edf7ed;
  color: #64c367;
  font-weight: bold;
}
.pf_order_status.status_confirm_ok {
  background: var(--text-active-color);
  color: #fff;
}
.pf_order_status.status_confir_wait {
  background: #fff1f0;
  color: #f5222d;
}
.pf_order_desc {
  flex: 1;
  margin: 0 0 14px;
  font-size: 13px;
  color: #999;
}
.pf_order_foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f2f2f2;
  padding-top: 10px;
}
.pf_order_price {
  font-size: 24px;
  font-weight: 600;
  color: #222;
}
.pr_order_opts {
  display: flex;
  gap: 20px;
}
.pf_order_detail {
  font-size: 14px;
  color: #1053a0;
  text-decoration: none;
  border: none;
  background: #fff;
  cursor: pointer;
}
.pf_order_end {
  margin: 30px 0 10px;
  text-align: center;
  font-size: 13px;
  color: #bbb;
}
.uc-common-tag {
  display: inline-block;
  padding: 4px 16px;
  background: #fff7e6;
  color: #faad14;
  border-radius: 15px;
  font-size: 14px;
  margin-bottom: 16px;
  border: none;
}
.uc-common-tag.done {
  background: #f6ffed;
  color: #52c41a;
}
/**
 * 支付
 */
.uc_order_pay_box {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 20px;
  flex: 1;
  overflow-y: auto;
}
.uc_order_pay_left {
  border-right: 1px solid #dedede;
}
.uc_order_pay_right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}
/**
 * 开发定制
 */
.uc-demand-detail-list {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  overflow-y: auto;
  padding-bottom: 100px;
}
.uc-demand-detail-item {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
  gap: 10px;
}
/* 别人消息：靠左 */
.uc-demand-detail-other {
  align-items: flex-start;
}
.uc-demand-detail-other .uc-demand-detail-avatar {
  align-self: flex-start;
  flex-direction: row-reverse;
}
.uc-demand-detail-avatar {
  display: flex;
  flex-direction: row;
  font-size: 12px;
  align-items: center;
  gap: 10px;
}
.uc-demand-detail-avatar .iconfont {
  font-size: 20px;
}
.uc-demand-detail-desc {
  color: #999;
  padding: 10px 0;
}
.uc-demand-detail-file {
  display: flex;
}
.uc-demand-detail-fitem {
  display: flex;
  align-items: center;
}
.uc-demand-detail-finfo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 12px;
  width: auto;
}
.uc-demand-detail-ficon {
  width: 25px;
  height: 25px;
  border-radius: 6px;
  background: #2b579a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
}
.uc-demand-detail-fname {
  flex: 1;
  font-size: 12px;
  color: #333;
}
.uc-demand-detail-fsize {
  color: #999;
}
.uc-demand-detail-fstate {
  font-size: 13px;
  color: #999;
}
.uc-demand-detail-fopts {
  display: flex;
}
.uc-demand-detail-price-box {
  display: flex;
  align-items: center;
  border: 1px solid #e0e0e0;
  border-radius: 7px;
  padding: 5px 10px;
  min-width: 200px;
  gap: 10px;
}
.uc-demand-detail-price-label {
  font-size: 14px;
  color: #757575;
  border-right: 1px solid #e0e0e0;
  padding-right: 10px;
}
.uc-demand-detail-price-unit {
  font-size: 22px;
  font-weight: 600;
  color: #222;
}
.uc-demand-detail-price-quote {
  border: none;
  font-size: 22px;
  font-weight: 600;
}
.pf_file_op {
  border: none;
  background: transparent;
  font-size: 16px;
  color: #888;
  cursor: pointer;
  padding: 0 10px;
  border-right: 1px solid #e0e0e0;
}
.pf_file_op:last-child {
  border-right: none;
}
.pf_agree_img {
  flex: 0 0 60px;
  height: 60px;
  width: 60px;
  background: #f5f5f5;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* ---------- 弹窗 ---------- */
.uc_dialog_mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.uc_dialog_box {
  position: relative;
  width: 80%;
  max-width: 900px;
  min-height: 400px;
  background: #fff;
  border-radius: 14px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}
.uc_dialog_close {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  z-index: 99;
  right: 16px;
  top: 14px;
  width: 30px;
  height: 30px;
  border: none;
  background: #f0f4f9;
  color: #66788c;
  border-radius: 50%;
  font-size: 13px;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}
.uc_dialog_close:hover {
  background: #1053a0;
  color: #ffffff;
}
.uc_dialog_close .iconfont {
  font-size: 14px;
}
.uc_dialog_title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  color: #222;
}
.uc_dialog_main {
  flex: 1;
  overflow: hidden;
  overflow-y: auto;
}
.uc_dialog_opts {
  display: flex;
  justify-content: center;
  gap: 15px;
  width: 100%;
  align-items: center;
  padding-top: 20px;
}

.uc_dialog_btn {
  padding: 12px 48px;
  background: #fff;
  color: #1053a0;
  border: 1px solid #1053a0;
  border-radius: 25px;
  font-size: 15px;
  cursor: pointer;
}
.uc_dialog_btn_primary {
  color: #fff;
  border: none;
  border-radius: 25px;
  font-size: 15px;
  cursor: pointer;
  padding: 10px 20px;
  min-width: 150px;
  background: var(--text-active-color);
}
.uc_dialog_btn_primary:hover {
  background: #0d4380;
}
.uc_dialog_fttip {
  max-width: 600px;
  margin: 0 auto;
  font-size: 13px;
  color: #999;
  line-height: 1.4;
  text-align: center;
  margin-top: 10px;
}
@media (max-width: 992px) {
  .pf_main {
    width: 80%;
  }
  .pf_info {
    flex-direction: column;
    align-items: flex-start;
  }
  .pf_yj_layout {
    flex-direction: column;
  }
  .pf_yj_img {
    flex: 0 0 150px;
    height: 150px;
  }
  .pf_yj_content {
    width: 100%;
  }
  .pf_tab {
    font-size: 14px;
    padding: 7px 0px 5px;
  }
}
@media (max-width: 768px) {
  .pf_main {
    width: 90%;
  }
  .pf_tabs {
    gap: 2px;
  }
  .pf_tab {
    padding: 10px 5px;
    display: block;
    width: 220px;
    overflow-wrap: break-word;
    word-break: break-all;
    text-align: center;
  }
  .pf_tab.active {
    color: var(--text-active-color);
    background: none;
  }

  /** 基础信息 */
  .pf_info {
    gap: 20px;
  }
  .pf_avatar .iconfont {
    font-size: 25px;
  }
  .pf_info_grid {
    display: flex;
    flex-direction: column;
  }
  /** 购物车 */
  .pf_cart_neirong {
    flex-direction: column;
  }
  /** 订单 */
  .pf_order_card {
    padding: 10px;
  }
  .pf_order_time {
    font-size: 13px;
  }
  .pf_order_price {
    font-size: 18px;
  }
  /** 样机 */
  .pf_yj_card {
    /* flex-direction: column;
    align-items: flex-start; */
    padding: 20px 15px 20px 15px;
    gap: 5px;
  }
  .pf_yj_action {
    text-align: left;
  }
  .pf_yj_img {
    flex: 0 0 126px;
    height: 125px;
  }
  .pf_yj_name {
    font-size: 20px;
  }
  .pf_yj_series {
    margin-bottom: 5px;
  }
  .pf_yj_ver {
    margin-bottom: 7px;
  }
  .pf_yj_detail {
    font-size: 12px;
  }
  .pf_yj_jt {
    font-size: 8px;
  }
  .pf_modal_box {
    padding: 24px 20px;
  }
  .pf_cart_item {
    flex-direction: column;
    align-items: flex-start;
  }
  .pf_cart_right {
    text-align: left;
  }
  .pf_order_grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .uc_dialog_box {
    width: 95%;
  }
  .uc_order_pay_box {
    flex-direction: column;
  }
  .uc_order_pay_left {
    border-right: none;
  }
  .uc_dialog_box .pf_cart_name {
    font-size: 16px;
  }
  .uc_dialog_box .pf_cart_price {
    font-size: 18px;
  }
  .pf_cart_right {
    padding: 0;
  }
  .pf_cart_total {
    font-size: 18px;
  }
  .pf_main {
    padding: 90px 0 70px;
  }
  .pf_title {
    font-size: 26px;
  }
  .pf_info {
    padding: 24px 20px;
  }
}
@media (max-width: 500px) {
  .pf_yj_card {
    flex-direction: column;
    align-items: flex-start;
    align-items: center;
  }
  .pf_yj_info {
    text-align: center;
  }
}

/* ======================= 开发定制：多文件上传 ======================= */
/* 上传区改成整宽拖拽盒（原来 width:30% 装不下拖拽提示文案），想回到原来的窄盒子，删掉本段的 width/box-sizing/padding/border 四项即可 */
.pf_kaifa_upload {
  width: 100%;
  box-sizing: border-box;
  padding: 24px 20px;
  border: 1px dashed #d9d9d9;
  border-radius: 8px;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background-color 0.2s;
}
.pf_kaifa_upload:hover,
.pf_kaifa_upload.is_dragover {
  border-color: #1053a0;
  background: #f5f9ff;
}
/* 原生 input 只负责取文件，点击/拖拽交互全走上面的上传区 */
.pf_kaifa_upload_input {
  display: none;
}
.pf_kaifa_filelist {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}
.pf_kaifa_fileitem {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  padding: 10px 14px;
  border: 1px solid #f0f0f0;
  border-radius: 6px;
  background: #fafafa;
  font-size: 14px;
}
.pf_kaifa_fileinfo {
  flex: 1;
  min-width: 0;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pf_kaifa_filesize {
  flex: none;
  margin: 0 12px;
  color: #999;
}
.pf_kaifa_filestate {
  flex: none;
  margin-right: 10px;
}
.pf_kaifa_filestate.is_ing {
  color: #1053a0;
}
.pf_kaifa_filestate.is_ok {
  color: #52c41a;
}
.pf_kaifa_filestate.is_err {
  color: #f5222d;
}
.pf_kaifa_fileremove {
  flex: none;
  width: 22px;
  height: 22px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #999;
  font-size: 16px;
  line-height: 22px;
  cursor: pointer;
}
.pf_kaifa_fileremove:hover {
  background: #eee;
  color: #f5222d;
}
