.color-title .textDesc {
  font-size: 15px;
  font-weight: 500;
  line-height: 18px;
  margin-top: 10px;
  font-family: Roboto;
}

header .logo1 {
  font-size: 28px;
  font-weight: bold;
  display: inline-block;
  margin: 0;
}


.float-img {
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
}

.service-logo1 {
  position: fixed;
  bottom: 80px;
  right: 7px;
}

.img-show11 {
  width: 50px;
  height: 50px;
}

.service-logo {
  position: fixed;
  bottom: 20px;
  right: 10px;
}

.img-show {
  width: 160px;
  height: auto;
}

.table-sty {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

/* 表单容器 */
.searchform {
  max-width: 880px;
  width: 70%;
  margin-bottom: 15px;
  padding: 0 15px;


  @media (max-width: 768px) {
    width: 368px;
  }

  @media (max-width: 480px) {

    width: 300px;
  }
}

/* 输入容器布局 */
.input-style {
  display: flex;
  gap: 12px;
  background: rgba(255, 255, 255, 0.95);

  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 8px;
  border: 1px solid #e0e6ed;
  transition: all 0.3s ease;
}

/* 输入区域包装 */
.all-item {
  flex: 1;
  position: relative;
}

/* 标签样式 */
.lable-style {
  display: block;
  position: absolute;
  top: 16px;
  left: 16px;
  color: #64748b;
  font-size: 14px;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: left center;
}

/* 输入框样式 */
.search-field {
  width: 100%;
  padding: 10px;
  border: none;
  background: transparent;
  font-size: 16px;
  color: #1e293b;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.search-field::placeholder {
  color: #94a3b8;
  opacity: 0.8;
}

/* 输入框聚焦效果 */
.search-field:focus {
  outline: none;
  background: rgba(241, 245, 249, 0.4);
}

.search-field:focus+.lable-style,
.search-field:not(:placeholder-shown)+.lable-style {
  transform: translateY(-12px) scale(0.85);
  color: #2A5CAA;
}

/* 按钮容器 */
.btn-style {
  display: flex;
  align-items: center;
}

/* 提交按钮 */
.btn-style button {
  background: linear-gradient(90deg, #f85867 0%, #d13ce9 50.5%, #4b83f8 100%);
  color: white;
  border: none;
  padding: 0 32px;
  height: 35px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.3s ease;
  box-shadow:
    0 2px 6px rgba(42, 92, 170, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.btn-style button:hover {
  transform: translateY(-1px);
  box-shadow:
    0 4px 12px rgba(42, 92, 170, 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.btn-style button:active {
  transform: translateY(0);
  background: linear-gradient(135deg, #1E4A8A, #2A5CAA);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .input-style {
    /* flex-direction: column; */
    gap: 8px;
  }

  .search-field {
    padding: 10px;
  }

  .btn-style button {
    width: 100%;
    padding: 0 16px;
    /* height: auto; */
  }
}

.search-filters {
  overflow-y: overlay;
  /* 防止布局偏移 */
  scroll-behavior: smooth;
  /* height: 400px; */
  max-height: 400px;
  max-width: 880px;
  width: 70%;
  z-index: 222;
  display: none;
  position: absolute;
  background: #fff;

  /* 移动端优化 */
  @media (max-width: 768px) {
    width: 368px;

  }

  @media (max-width: 480px) {

    width: 300px;
  }

}

.recommendations-container {
  display: flex;
  background-color: #ffffff;
  color: #000;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 10px;

}

.select-option {
  display: flex;
  justify-content: space-between;
  padding: 5px 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.select-option img {
  width: 50px;
  border-radius: 50%;
  height: 50px;
  margin-right: 12px;

  object-fit: contain;
}

.select-name {
  color: #1e293b;

  /* 移动端优化 */
  @media (max-width: 768px) {
    width: 138px;

  }

  @media (max-width: 480px) {

    width: 120px;
  }
}

.select-left {
  display: flex;
  align-items: center;

}

.select-money {
  /* font-size: 1.3rem; */
  font-weight: 600;
  color: #000;
}

.qc_list {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
  
}

.qc_list img {
  width: 24%;
  height: auto;
  object-fit: cover;
  margin-bottom: 15px;
}

/* 新增放大样式 */
.image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  touch-action: none;
  -webkit-overflow-scrolling: touch;
}

.modal-content {
  margin: auto;
  display: block;
  width: auto;
  height: auto;
  max-width: 90%;
  max-height: 90%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: zoom 0.3s;
  border-radius: 3px;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
  z-index: 10000;
}

/* 触摸优化 */
@media (hover: none) and (pointer: coarse) {
  .close-btn {
      font-size: 34px;
      top: 15px;
      right: 25px;
  }
}

@keyframes zoom {
  from {transform: translate(-50%, -50%) scale(0.9)}
  to {transform: translate(-50%, -50%) scale(1)}
}

/* 防止长按弹出菜单 */
.qc_list img {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 30px;
  cursor: pointer;
  padding: 15px;
  user-select: none;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.nav-btn:hover {
  opacity: 1;
  background: rgba(255,255,255,0.1);
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}

/* 移动端优化 */
@media (max-width: 768px) {
  .nav-btn {
      font-size: 24px;
      padding: 12px;
      /* 增大点击区域 */
      width: 50px;
      height: 50px;
      display: flex;
      align-items: center;
      justify-content: center;
  }
  
  .prev-btn {
      left: 5px;
  }
  
  .next-btn {
      right: 5px;
  }
}
       
/* 列表项通用样式 */
.sort-item {
    width: 55%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: #ffffff;
    background: linear-gradient(90deg, #f85867 0%, #d13ce9 50.5%, #4b83f8 100%);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    font-weight: 600;
}

/* 链接样式 */
.sort-item .a-style {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    text-decoration: none;
    justify-content: center;
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.5;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    /* 移除移动端点击高光 */
}

/* 交互状态 */
.sort-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.sort-item:active {
    transform: scale(0.98);
    /* 移动端点击反馈 */
}

/* 移动端优化 */
@media (max-width: 768px) {
    .sort-style {
        padding: 10px;
    }

    .sort-item {
        /* margin: 6px 0; */
        border-radius: 6px;
    }

    .sort-item .a-style {
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    /* 禁用悬停效果 */
    @media (hover: none) {
        .sort-item:hover {
            transform: none;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        }
    }
}

/* 当前选中状态 */
.sort-item.active {
    background: #f8f9fa;
    border-left: 4px solid #007bff;
}

.sort-item.active .a-style {
    color: #007bff;
    font-weight: 500;
}

.a-style span {
    display: inline-block;
    /* 保证transform生效 */
    transition: transform 0.3s ease;
    /* 添加过渡动画 */
}

.a-style:hover span {
    transform: scale(1.15);
    /* 放大1.15倍 */
    transform-origin: center;
    /* 从中心开始缩放（默认值可省略） */
}
