/* 최근 검색어 스타일 */
.wepick-recent-searches-widget {
    padding: 10px 0px 10px 10px;
}
.wepick-recent-searches-widget h4 {
    color: #000;
    font-size: 16px;
    font-weight: 700;
}
.wepick-recent-searches-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* iOS 스크롤 부드럽게 */
    scrollbar-width: thin; /* Firefox용 */
    padding-bottom: 10px; /* 스크롤바 공간 확보 */
}
/* 스크롤바 스타일링 */
.wepick-recent-searches-list::-webkit-scrollbar {
    height: 6px;
}
.wepick-recent-searches-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}
.wepick-recent-searches-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}
.wepick-recent-searches-list::-webkit-scrollbar-thumb:hover {
    background: #999;
}
.wepick-recent-searches-list li {
    display: inline-block;
    flex: 0 0 auto;
    margin-right: 10px;
    margin-bottom: 5px;
    position: relative; /* 여전히 relative 유지 */
    white-space: nowrap;
}

.wepick-recent-searches-list li a.wepick-search-term {
    display: inline-block;
    padding: 5px 25px 5px 10px;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-size: 13px;
    border-radius: 16px;
    border: 1px solid #000;
}

.wepick-recent-searches-list li .wepick-remove-search {
    position: absolute; /* 절대 위치 유지 */
    right: 7px;
    top: 50%; /* 중앙 정렬을 위해 수정 */
    transform: translateY(-50%); /* 중앙 정렬 */
    width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    cursor: pointer;
    color: #000;
    font-size: 16px;
    font-weight: bold;
}

.wepick-clear-searches {
    text-align: right;
    padding-right: 10px;
}
.wepick-clear-searches-btn {
    font-size: 12px;
    color: #999;
    text-decoration: none;
}
.wepick-clear-searches-btn:hover {
    color: #666;
    text-decoration: underline;
}

/* 인기 검색어 스타일 */
.wepick-popular-searches-widget h4 {
    color: #000;
    font-size: 16px;
    font-weight: 700;
}
.wepick-popular-searches-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.wepick-popular-searches-list li {
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 12px 16px;
}
.wepick-popular-searches-list li:last-child {
    border-bottom: none;
}
.wepick-popular-searches-list .wepick-rank {
    display: inline-block;
    text-align: center;
    color: #000;
    font-size: 14px;
    font-weight: 700;
    line-height: 100%; /* 14px */
}
/*
.wepick-popular-searches-list li:nth-child(1) .wepick-rank {
    background: #FF5722;
}
.wepick-popular-searches-list li:nth-child(2) .wepick-rank {
    background: #FF9800;
}
.wepick-popular-searches-list li:nth-child(3) .wepick-rank {
    background: #FFC107;
}
*/
.wepick-popular-searches-list a {
    color: #000;
    font-size: 14px;
    font-weight: 500;
}
.wepick-popular-searches-list a:hover {
    text-decoration: underline;
}
.wepick-popular-searches-list .wepick-count {
    color: #888;
    font-size: 12px;
    margin-left: 5px;
}
.wepick-update-time {
    font-size: 11px;
    color: #999;
    text-align: right;
    margin-top: 10px;
}

/* 250325 LJH */
#wepick-header-search .elementor-widget-container{
	border-radius: 12px;
}