header .searchBlock {
    background-color: var(--white);
    width: 100%;
    height: 64px;
    position: fixed;
    right: 0;
    top: 0;
    padding: 0 12px;
    box-sizing: border-box;
    z-index: 99;
    display: none;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

header .searchBlock.active {
    display: flex;
    opacity: 1;
}

header .searchBlock .searchWrap {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

header .searchBlock .searchBox {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
}

header .searchBlock .searchForm {
    width: 100%;
    position: relative;
}

header .searchBlock input.searchInput {
    outline: 0;
    border: 0;
    width: 100%;
    font: var(--title06);
    background: transparent;
    border-radius: 4px;
    padding: 8px;
    transition: all 0.3s;
}

header .searchBlock input.searchInput:focus {
    background: var(--gray7);
}

header .searchBlock input.searchInput::-webkit-search-cancel-button,
header .searchBlock input.searchInput::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
}

header .searchBlock button {
    width: 20px;
    height: 20px;
    padding: 0;
    border: none;
    background: transparent;
    position: absolute;
    top: calc(50% - 10px);
    right: 8px;
}

header .searchBlock button img.iconSearch {
    width: 100%;
    display: block;
    position: static;
}

header .searchBlock img.iconSearchClose {
    cursor: pointer;
}

header .search_popup {
    display: none;
    background: var(--white);
    width: 100%;
    box-sizing: border-box;
    position: absolute;
    left: 0;
    top: 65px;
    z-index: 99;
    height: calc(100vh - 65px);
    overflow-x: hidden;
    overflow-y: auto;
}

header .search_popup::-webkit-scrollbar {
    display: none;
}

header .search_popup.active {
    display: block;
}

header .search_popup .labelBox {
    margin-bottom: 4px;
}

header .search_popup .label {
    color: var(--gray4);
    font: var(--content06);
}

header .search_popup .keywordsBlock,
header .search_popup .searchResultBlock {
    padding: 16px;
}

header .search_popup ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

header .search_popup ul li {
    padding: 8px 0px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    font: var(--content03);
}

header .search_popup ul li span {
    font: var(--content03);
}

header .search_popup ul li a {
    display: block;
    color: var(--gray2);
    text-decoration: none;
    width: calc(100% - 32px);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

header .search_popup .searchResultBlock ul li {
    font: var(--content05);
}

header .search_popup .searchResultBlock ul li::before {
    content: '';
    width: 20px;
    height: 20px;
    background-image: url(/assets/images/commonElement/icon_search_light.svg);
    background-size: cover;
    display: block;
}

@media screen and (min-width: 1024px) {
    header img.iconSearch {
        position: static;
    }
    header .searchBlock {
        height: 72px;
    }
    header .searchBlock.active .searchWrap {
        width: 720px;
        margin: 0 auto;
    }
    header .searchBlock .searchBox {
        gap: 8px;
    }
    header .searchBlock input.searchInput {
        padding: 8px 12px;
    }
    header .searchBlock button {
        right: 12px;
    }
    header .search_popup {
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
        border-radius: 12px;
        width: 720px;
        left: calc(50% - 360px);
        top: 84px;
        height: auto;
    }
    header .search_popup .labelBox {
        margin-bottom: 16px;
        padding-left: 12px;
    }
    header .search_popup .keywordsBlock,
    header .search_popup .searchResultBlock {
        padding: 24px;
    }
    header .search_popup ul li {
        padding: 8px 12px;
    }
    header .search_popup ul li:hover {
        background: var(--gray7);
        border-radius: 8px;
        font: var(--content04);
    }
    header .search_popup ul li:hover a {
        color: var(--brandPink1);
    }
    /* header .search_popup .searchResultBlock ul {
        min-height: 392px;
    } */
    header .search_popup .searchResultBlock ul li {
        padding: 8px 20px;
    }
}