#searchOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 100;
}

#searchWrap {
    font-family: 'Unbounded', sans-serif;
    position: fixed;
    bottom:10%;
    left:50%;
    transform: translate(-50%, -50%);
    padding:20px 0;
    z-index:101;
    width: 100%;
}

#search-result-wrapper {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    max-width: 600px;
    width: 95%;
    max-height: 600px;
    background: rgba(248, 234, 201);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding-right: 8px;
}

#search-result {
    max-height: 60vh;
    overflow-y: auto;
    padding: 24px 10px 24px 24px;
    display: none;
    z-index: 10000;
    margin: 0 auto;
    position: relative;
}
.search-form-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(248, 234, 201);
    width: 300px;
    padding: 12px 0;
    border-radius: 64px;
    transition: width 0.3s;
}
.search-btn {
    display: flex;
    align-items: center;
    background: rgba(248, 234, 201);
    border-radius: 64px;
    transition: width 0.3s;
    margin: 60px auto 0;
    width: fit-content;
    padding: 22px 32px;
    cursor: pointer;
}
.search-btn .wrap {

}
.search-btn  p {
    font-family: 'Unbounded', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 16.8px;
    letter-spacing: 0.05em;
    padding-left: 16px;
    text-transform: uppercase;
}

#search-result::-webkit-scrollbar {
    width: 8px;
}

#search-result::-webkit-scrollbar-track {
    background: rgba(248, 234, 201);
    border-radius: 8px;
}

#search-result::-webkit-scrollbar-thumb {
    background: #e5d5b7;
    border-radius: 10px;
}

#search-result::-webkit-scrollbar-thumb:hover {
    background: #e5d5b1;
}
.search-form-wrap.expanded {
    max-width: 600px;
    width: 600px;
    margin: 0 auto;
}
.search-form-wrap form {
    display: flex;
    width: 100%;
    padding: 8px 32px;
}
.search-input {
    width: 100%;
    background: rgba(248, 234, 201);
    border: none !important;
    outline: none;
    /*flex-grow: 1;*/
    padding-left: 20px;
    font-family: 'Unbounded', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 16.8px;
    letter-spacing: 0.05em;
    transition: width 0.3s;
    /*-webkit-appearance: none;*/
    /*-moz-appearance: none;*/
    appearance: none;
}
.close-button {
    display: none;
    cursor: pointer;
    margin-left: 10px;
}
.search-form-wrap.expanded .close-button {
    display: block;
}
.search-input::placeholder {
    font-family: 'Unbounded', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 16.8px;
    letter-spacing: 0.05em;
}
.search-input:focus {
    background-color: rgba(248, 234, 201);
    outline: none;
    /*box-shadow: none;*/
    /*border: none;*/
}
.search-input:-webkit-autofill,
.search-input:-webkit-autofill:hover,
.search-input:-webkit-autofill:focus,
.search-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px rgba(248, 234, 201) inset;
    box-shadow: 0 0 0 1000px rgba(248, 234, 201) inset;
    -webkit-text-fill-color: inherit;
}

@-webkit-keyframes autofill {
    100% {
        background: rgba(248, 234, 201);;
        color: inherit;
    }
}

button {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.search-btn-close-wrap {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(248, 234, 201);
    z-index: 11000;
    border-radius: 16px;
    padding: 15px;
    cursor: pointer;
    border: none;
}
.global-close-button {
    background: transparent;
    border: none;
    cursor: pointer;
}
.search-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-bottom: 1px solid rgba(42, 43, 43, 0.1);
    padding: 16px;
    overflow: hidden;
}
.search-group .search-row:last-child {
    border-bottom: none;
}
.search-row img {
    width: 84px;
    height: 64px;
    object-fit: cover;
    border-radius: 16px;
}
.search-row img.shop-logo {
    object-fit: contain;
}
.search-row img.search-logo {
    width: 64px;
    background: white;
}
.search-row a {
    font-size: 12px;
    font-weight: 400;
    line-height: 16.8px;
    letter-spacing: 0.05em;
    text-align: left;
    text-transform: uppercase;
}
.search-row a:hover {
    color: rgba(42, 43, 43, 0.8);
}
.search-group {
    border: 1px solid rgba(42, 43, 43, 0.1);
    margin: 0 0 32px 0;
    border-radius: 24px;
}
.search-input-close {
    cursor: pointer;
}
.searchTextWrap {
    display: flex;
    align-items: start;
    flex-direction: column;
    justify-content: center;
    margin-left: 24px;
}
.searchDate {
    font-size: 10px;
    font-weight: 400;
    line-height: 14px;
    letter-spacing: 0.05em;
    color: rgb(148, 141, 119);
    margin-top: 8px;
}
.no-scroll {
    overflow: hidden;
}
.search-group-title {
    font-size: 14px;
    font-weight: 400;
    line-height: 19.6px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0 0 16px 16px;
    color: rgba(42, 43, 43, 1);
}
@media (max-width: 480px) {
    .search-form-wrap.expanded {
        width: 95%;
    }
    #search-result {
        /*width: 88%;*/
        max-height: 380px;
    }
}
@media (min-width: 481px) and (max-width: 768px) {
    #search-result {
        max-height: 500px;
    }
}
@media (min-width: 769px) and (max-width: 990px) {
    #search-result {
        max-height: 60vh;
    }
}
@media (min-width: 991px) and (max-width: 1360px) {
    #search-result {
        max-height: 60vh;
    }
}
