.search-tool-bar {
    display: flex;
    flex-direction: column;

    background-color: #5c9f55;

    padding: 21px 13px;
}


/*--------------------------------------------------------------------------------*/
    .search-row {
        display: flex;
        flex-direction: row;

        background-color: #ffffff;
        height: 53px;

        border-radius: 5px;
        padding: 0px 10px 0px 15px;

        gap: 17px;
    }


        .search-icon {
            display: flex;

            align-self: center;
        }
            .search-icon img {
                width: 15px;
                height: 15px;
            }


        .search-text {
            flex-grow: 1;

            display: flex;
            justify-content: center;
            flex-direction: column;
        }
            .search-text input {
                border: 0px;

                height: 26px;
                width: 100%;

                font-size: 16px;
            }
            .search-text input::placeholder {
                color: #A6A294;
            }


        .search-option {
            display: flex;
            flex-direction: row;

            justify-content: flex-start;

            border-left: 1px solid #A6A294;
            padding-left: 10px;
        }
            .search-option img {
                width: 16px;
                height: 8px;
                
                margin-top: 22px;
            }
            .search-option span {
                font-size: 11px;
                margin-top: 18px;
                padding-left: 6px;
            }


/*--------------------------------------------------------------------------------*/
.popular-row {
    display: flex;
    flex-direction: row;

    width: 100%;
    height: 37px;
    border-radius: 5px;
    padding-right: 10px;
    margin-top: 11px;

    flex-wrap: nowrap;

    overflow-x: scroll;
    scrollbar-width: none; 

    gap: 10px; /* Flex Child Elemtns Gap */
}
.popular-row::-webkit-scrollbar {
    display: none;  /* iOS */
}


    .popular-item {
        display: flex;
        flex: 0 0 auto; /* Flex Child Element Fixed Size */
        

        border-radius: 15px;
        background-color: #fff;
        font-size: 14px;
        padding: 4px 10px;
        align-self: center;

        cursor: pointer;
    }
    .popular-item.active {
        background-color: #DFE5C5;
    }



/*--------------------------------------------------------------------------------*/
.search-action {
    display: flex;
    flex-direction: row;

    width: 100%;
    height: 42px;

    gap: 10px;
}

    .search-action-item {
        display: flex;
        flex-direction: column;

        border-radius: 5px;

        padding-top: 9px;
        text-align: center;

        cursor: pointer;
    }


    .search-button {
        flex-grow: 1;
        background-color: #fff;
        color: #5A9F4E;
    }
    .reset-button {
        width: 128px;
        background-color: #3A6533;
        color: #fff;
    }





/*--------------------------------------------------------------------------------*/
#modal-search-option {

    display: none;

    position: fixed;
    filter: none !important;

    z-index: 999;

    
    /* margin: 0px auto; */

    top: 0;
    left: 50%;
    transform: translate(-50%, 0%); /* 정확히 중앙에 배치 */

    width: 100%;
    max-width: 700px;
    min-height: 400px;

    overflow: auto;
    max-height: calc(100vh - 0px); /* 화면 크기는 초과하지 않도록 함 */

    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* 하단에 그림자 추가 */
}



/*--------------------------------------------------------------------------------*/
#modal-search-order {

    display: none;

    position: fixed;
    bottom: 0px; /** 하단에 배치 */
    left: 50%;
    transform: translate(-50%, 0%);

    filter: none !important;

    z-index: 999;

    width: 100%;
    max-width: 700px;

    overflow: auto;
    max-height: calc(100vh - 0px); /* 화면 크기는 초과하지 않도록 함 */

    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* 하단에 그림자 추가 */

    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

    .order-modal-head {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        width: 100%;
        margin: 16px 0px;
    }

        .search-order-item {
            min-width: 50px;
        }
            .search-order-title {
                font-weight: 700;
            }

            #close-order-modal {
                cursor: pointer;
            }
            #close-order-modal > img {
                width: 26px;
            }


    .order-modal-border {
        border-bottom: 2px solid #EFEFEF;
    }


    .order-modal-content {
        margin: 16px 30px;
    }

        .order-item {
            margin: 16px 0px;
            border-bottom: 2px solid #EFEFEF;

            cursor: pointer;
        }

        .order-item-text {
            font-weight: 700;
            margin-bottom: 16px;
        }








/*--------------------------------------------------------------------------------*/
#modal-background {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* 배경 어둡게 */

    z-index: 998;
}


    .modal-head {
        display: flex;

        flex-direction: row;
        justify-content: space-between; 
        align-items: center; /* 수직 정렬 */
        gap: 10px; /* 요소 간 간격 */

        width: 100%;

        margin: 16px 0px;
    }


        /*--------------------------------------------------------------------------------*/
        .search-option-item {
            display: flex;
            flex: 1 1 0;
        }
        .search-option-title {
            flex: 2 2 auto;
            justify-content: center;

            font-weight: 900;
        }
        .search-option-close {
            color: #A6A294;
            font-size: 14px;
            justify-content: right;
            padding-right: 14px;

            cursor: pointer;
        }


    .search-modal-border {
        border-bottom: 2px solid #5A9F4E;
    }




    /*--------------------------------------------------------------------------------*/
    .modal-content {
        display: flex;
        flex-direction: column;
    }


        .search-condition {
            width: 100%;
            padding: 10px 21px;
        }

        .search-condition-grayed {
            border-top: 1px solid #A6A294;
            border-bottom: 1px solid #A6A294;

            background-color: #F1F1F1;
        }

        .search-condition-bottom-border {
            border-bottom: 1px solid #A6A294;
        }

            .condition-item {
                display: flex;
                height: 26px;
                font-weight: 600;
            }




        .condition-radio-list {
            list-style: none;

            display: flex;
            flex-direction: row;
            flex-wrap: wrap;

            padding-left: 0px;
        }

            .condition-radio-item {
                display: flex; /* Flexbox 활성화 */
                align-items: center; /* 세로 중앙 정렬 */

                flex-wrap: wrap; /* 부족한 공간에서 자동 개행 */

                margin-right: 20px;
                margin-bottom: 10px;

                cursor: pointer;
            }

                .condition-radio-icon {
                    width: 20px; /* 외곽선 크기 */
                    height: 20px;
                    border: 1px solid #bdb8a7; /* 외곽선 색상 */
                    border-radius: 50%; /* 동그라미 */
                    background-color: #fff; /* 내부 배경 */
                    display: inline-block;
                    position: relative;
                    margin-right: 8px; /* 텍스트와의 간격 */
                }
                    .condition-radio-item[checked] .condition-radio-icon {
                        background-color: #6b9d57; /* 선택 시 내부 색상 */
                        box-shadow: 0 0 0 1px #fff inset; /* 내부 여백 효과 */
                        border-color: #bdb8a7; /* 선택 시 외곽선 색상 */
                    }

                .condition-radio-text {

                }


        /*--------------------------------------------------------------------------------*/
        .condition-button-list {
            list-style: none;

            display: flex;
            flex-direction: row;
            flex-wrap: wrap;

            padding-left: 0px;
        }

            .condition-button-item {
                display: inline-block;

                border-radius: 5px;

                background-color: #fff;
                color: #ccc;

                margin: 0px 5px 5px 0px;
                padding: 5px 10px;
                cursor: pointer;
            }

            .condition-button-item.active {
                background-color: #6b9d57;
                color: #fff;
            }

                .condition-button-text {

                }

        /*--------------------------------------------------------------------------------*/
        .condition-search-text {
            flex-grow: 1;

            display: flex;
            justify-content: center;

            flex-direction: row;
            align-items: center;

            border: 1px solid #eee;
            padding: 17px;

            border-radius: 10px;
            background-color: #F1F1F1;

            height: 53px;
        }

            .condition-search-icon {
                width: 15px;
            }

            .condition-search-text input {
                flex-grow: 1;

                border: 0px;

                height: 26px;
                width: 100%;

                background-color: #F1F1F1;
                margin-left: 12px;
                color: #A6A294;
                font-weight: 900;
            }
            .condition-search-text input::placeholder {
                color: #A6A294;
            }



        /*--------------------------------------------------------------------------------*/
        .search-condition-toolbar {
            display: flex;
            flex-direction: row;
            gap: 10px;
        }

            .search-condition-toolbar-item {
                display: flex;
                flex-direction: column;

                text-align: center;
                justify-content: center;
                height: 42px;

                cursor: pointer;

                border-radius: 10px;
            }


            #search-condition-toolbar-search {
                flex: 1 1 auto;

                background-color: #5A9F4E;
                color: #FFF;
            }

            #search-condition-toolbar-reset {
                flex: 0 1 auto;

                min-width: 128px;

                border: 1px solid #5A9F4E;

                color: #5A9F4E;
                background-color: #FFF;
            }
    



        .search-bottom-logo {
            display: flex;
            flex-direction: row;

            justify-content: center;

            padding: 40px 10px 20px;
        }
            .search-bottom-logo img {
                max-width: 200px;
            }



/*--------------------------------------------------------------------------------*/


#btn-search-option {
    cursor: pointer;

    word-break: keep-all; /* Keep 「絞り込む」 Button */
}