/* 移动端搜索start */
            .m-ss {
                display:none;
            }
    @media screen and (max-width:770px){
       .m-ss {
                display: inline-block;
            }
} 
/* 搜索按钮 */
.m-ss-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #CBB9E7;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
  border: none;
  outline: none;
}

.m-ss-btn:active {
  background: #6b5c93;
}
.m-ss-btn svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

/* 遮罩层 */
.m-ss-mask {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 998;
}

.m-ss-mask.on {
    opacity: 1;
    visibility: visible;
}

/* 搜索弹窗 */
.m-ss-pop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 15px;
    transform: translateY(-100%);
    transition: transform 0.3s ease-out;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.m-ss-pop.on {
    transform: translateY(0);
}
/* 搜索框区域 */
.m-ss-bar {
    display: flex;
    align-items: center;
    gap: 10px;
}
.m-ss-input-w {
    flex: 1;
    position: relative;
}
.m-ss-input {
    width: 100%;
    height: 44px;
    padding: 0 40px 0 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s;
    -webkit-appearance: none;
}

.m-ss-input:focus {
    border-color: #8b7cb3;
}

.m-ss-input::placeholder {
    color: #bbb;
}

/* 清空按钮 */
.m-ss-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.m-ss-clear.on {
    display: flex;
}

.m-ss-clear svg {
    width: 16px;
    height: 16px;
    fill: #999;
}

/* 取消按钮 */
.m-ss-cancel {
    font-size: 15px;
    color: #666;
    cursor: pointer;
    white-space: nowrap;
    padding: 8px 4px;
}
/* 移动端搜索end */

