body {
  background-color: #f1f1f1;
}

.yd-content {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background-color: #fff;
}

.yd-head-img {
  width: 100%;
  height: 100%;

}

.search-tab {
  flex: 1;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 11px;
}

.tab-item {
  width: 45%;
  height: 34px;
  align-items: center;
  display: flex;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  padding: 5px 0;
  box-sizing: border-box;
  background: #f1f1f1;
}

.active {
  background: #409efe;
  color: #fff;
}





/***搜索框css**/

/* 搜索容器 - 固定宽度430px */
.search-container {
  position: relative;
  width: 100%;
  max-width: 430px;
  /* 整体宽度设置为430px */
}

/* 搜索输入框 - 调整内边距（移除图标相关的左侧内边距） */
.search-input {
  width: 100%;
  padding: 16px 120px 16px 20px;
  /* 右侧预留按钮空间，左侧无需为图标留白 */
  border: none;
  border-radius: 50px;
  font-size: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  outline: none;
  box-sizing: border-box
}

.search-input:focus {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

.search-input::placeholder {
  color: #a0a6ad;
  transition: color 0.3s ease;
}

.search-input:focus::placeholder {
  color: #c9ccd1;
}

/* 搜索按钮 */
.search-button {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  padding: 12px 24px;
  background: #f49900;
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-button:hover {
  background: #f49900;
  transform: translateY(-50%) scale(1.05);
}

.search-button:active {
  transform: translateY(-50%) scale(0.98);
}

/* 响应式调整 - 在小屏幕上自动适应 */
@media (max-width: 480px) {
  .search-container {
    max-width: 100%;
    /* 小屏幕上占满宽度 */
  }

  .search-input {
    padding: 14px 100px 14px 18px;
    font-size: 15px;
  }

  .search-button {
    padding: 10px 18px;
    font-size: 14px;
  }
}




/***筛选区域的css***/
/*号码类型的筛选*/

.haoma{
    /*width: 390px;*/
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.haoma-list{
        flex: 0 0 30%;
    text-align: center;
    padding: 4px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    box-sizing: border-box;
}

/*其他区域的筛选*/
.wd-sort-box {
  display: flex;
  position: relative;
  width: 100%;
  max-width: 430px;
  /* 固定总宽度为430px */
  border-bottom: 1px solid #eee;
  z-index: 100;
  box-sizing: border-box;
  /* 确保边框不增加总宽度 */
}

.sort-item {
  flex-shrink: 0;
  padding: 12px 10px;
  /* 调整内边距避免超出 */
  cursor: pointer;
  position: relative;
  box-sizing: border-box;
}
.w-50{
    width: 50%;
}
.w-40 {
  width: 40%;
  /* 430px的40% = 172px */
}

.w-20 {
  width: 20%;
  /* 430px的20% = 86px */
}

.sort-item-title {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #333;
  white-space: nowrap;
  /* 防止文字换行 */
  overflow: hidden;
  text-overflow: ellipsis;
  /* 超出部分显示省略号 */
}

/* 替换active为yd-active */
.sort-item-title.yd-active {
  color: #f49900;
}

.wdeer-icon {
  margin-left: 5px;
  transition: transform 0.3s ease;
  font-size: 16px;
  /* 适当缩小图标避免超出 */
}

.wdeer-icon.rotate {
  transform: rotate(180deg);
}

/* 下拉菜单样式 */
.sort-box-dropmenu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 101;
  display: none;
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #eee;
  border-top: none;
  box-sizing: border-box;
}

.sort-box-dropmenu.show {
  display: block;
}

/* 选项样式 */
.drompmenu-item {
  padding: 12px 15px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  transition: background-color 0.2s;
}

.drompmenu-item:hover {
  background-color: #f5f5f5;
}

/* 替换active为yd-active */
.drompmenu-item.yd-active {
  color: #f49900;
  background-color: #fff8e6;
}

/* 按钮样式 */
.sort-btn {
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  border: none;
  outline: none;
}




/* 列表区域css */

.order-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 430px;
}

.list-item {
  display: flex;
  height: 44px;
  padding: 0px 5px;
  align-items: center;
  margin: 1px 0;
  background: #fff;
  width: 100%;
  max-width: 430px;
  font-size: .875em;
  justify-content: space-around;
  border-bottom: 1px solid #f1f1f1;
  box-sizing: border-box;
}
.yd-content>.list-item >.item-mobile{
    padding: 0 1.5rem;
}
.yd-content>.list-item > .item-perator{
    padding: 0 0.7rem;
}
.yd-content>.list-item .item-price:nth-of-type(3) {
    padding: 0 1rem;
}

.item-mobile {
  justify-content: center;
  display: flex;
  align-items: center;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 700;
  font-size: 16px;
}

.item-perator {
  justify-content: center;
  display: flex;
  align-items: center;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.item-price {
  justify-content: flex-start;
  display: flex;
  align-items: center;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.red {
  color: red;
}