/* ========================================
   검색창 공통
======================================== */

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    width: 712px;
    height: 70px;
    border: 1px solid #cfd6df;
    border-radius: 6px;
    background: #fff;
}


/* ========================================
   검색창 Select 공통
======================================== */

.search-select {
    position: relative;
    height: 100%;
}


.search-select__button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: 0 20px;
    border: 0;
    background: transparent;
    font-size: var(--fs-16);
    font-weight: 700;
    color: #333;
    cursor: pointer;
}



/* ========================================
   검색창 
   
======================================== */

/* 검색창 1 화살표 */


.search-select__button i {
    position: relative;
    width: 0;
    height: 0;
    border-top: 5px solid #111;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
}

/* 검색창 2 화살표 */

.cate-search-box .search-select__button i {
    width: 7px;
    height: 7px;
    
    border-top:0;
    border-left: 0;
    border-right: 1px solid #767676;
    border-bottom: 1px solid #767676;
    transform: translate(-50%, -40%) rotate(45deg);
}


/* ========================================
   검색창 1
   통합검색
======================================== */

.search-select--main {
    flex: 0 0 145px;
}


/* ========================================
   검색창 2
   카테고리 검색
======================================== */

.cate-search-box {
    width: 474px;
    height: 36px;

    border-color: #c3c3c3;
    border-radius: 4px;
}


.search-select--category {
    flex: 0 0 176px;
}


.search-select--category .search-select__button {
    padding: 0 20px;

    font-size: var(--fs-13);
    font-weight: 600;
}


/* ========================================
   검색창 구분선
======================================== */

.search-box__divider {
    width: 1px;
    height: 12px;

    flex-shrink: 0;

    background: #e4e4e4;
}


.cate-search-box .search-box__divider {
    height: 60%;
}


/* ========================================
   검색 Input
======================================== */

.search-box input {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0 20px;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: var(--fs-16);
    font-weight: 700;
    color: #111;
}


.search-box input::placeholder {
    color: #a9a9a9;
}


/* 검색창 2 Input */

.cate-search-box input {
    font-size: var(--fs-13);
    font-weight: 600;
}


/* ========================================
   검색 버튼
======================================== */

.search-box__button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    flex-shrink: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}


.search-box__button img {
    display: block;
}


/* 검색창 2 버튼 */

.cate-search-box .search-box__button {
    width: 44px;
    height: 34px;
    background: #5666ec;
    overflow: hidden;
}



/* ========================================
   Select 목록 공통
======================================== */

.search-select__list {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 50;
    display: none;
    padding: 8px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}


.search-select.is-open .search-select__list {
    display: block;
}


.search-select__list button {
    display: block;
    width: 100%;
    height: 38px;
    padding: 0 16px;
    border: 0;
    background: #fff;
    text-align: left;
    font-size: var(--fs-14);
    color: #333;
    cursor: pointer;
}


.search-select__list button:hover {
    background: #f5f5f5;
}


/* ========================================
   검색창 1 Select
======================================== */

.search-select--main .search-select__list {
    width: 190px;
}


/* ========================================
   검색창 2 Select
   카테고리 목록
======================================== */

.search-select--category .search-select__list {
    width: 176px;
    max-height: 320px;
    overflow-y: auto;
    top: 0;
    padding: 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: none;
}

.search-select--category .search-select__list button {
    height: 34px;
    padding: 0 16px;

    font-size: var(--fs-13);
    font-weight: 500;
    color: #505050;

}





/* 카테고리 Select 스크롤바 */

.search-select--category .search-select__list::-webkit-scrollbar {
    width: 6px;
}


.search-select--category .search-select__list::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 10px;
}


.search-select--category .search-select__list::-webkit-scrollbar-thumb {
    background: #c8c8c8;
    border-radius: 10px;
}