.custom_search {
    position: relative;
	z-index: 3;
}

.custom_search .search_field {
    position: relative;
}

.custom_search input {
    background: #FAF9F7;
    border-color: #E8E8E8;
    border-radius: 70px;
    color: #53565A;
    padding: 13px 25px;
    width: 100%;
}

.custom_search input:focus {
    box-shadow: none;
    outline: none;
}

.custom_search input::placeholder {
    color: #53565A;
    opacity: .78;
}

.custom_search .search_field button {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none;
    height: 100%;
    padding: 0 25px !important;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.custom_search .search_field button:hover {
    background: transparent !important;
}

.custom_search .search_field button img {
    display: block;
    max-width: 20px;
    width: 100%;
}

.custom_search .search_list {
    background: #FAF9F7;
    border: 1px solid #E8E8E8;
    border-top: 0;
    display: none;
    left: 0;
    margin: 0 auto;
    position: absolute;
    right: 0;
    width: 93%;
}

.custom_search .show_list {
    display: block;
}

.custom_search .loading {
    min-height: 100px;
}

.custom_search .loader {
    align-items: center;
    background: rgba(204,204,204,0.6);
    display: none;
    height: 100%;
    justify-content: center;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.custom_search .loading .loader {
    display: flex;
}

.custom_search .loading .loader:before {
    display: none !important;
}

.custom_search .loader img {
    max-width: 35px;
}

.custom_search .search_list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.custom_search .search_list li a {
    align-items: center;
    display: flex;
    gap: 20px;
    padding: 5px 20px;
    text-decoration: none;
}

.custom_search .search_list li a:hover {
    background: #E8E8E8;
}

.custom_search .search_list .image {
    max-width: 50px;
}

.custom_search .search_list .image img {
    width: 100%;
}

.custom_search .search_list h6 {
    font-size: 18px;
    margin: 0;
}

.custom_search .search_list .sku {
    color: #959595;
    display: block;
    font-size: 12px;
    margin: 5px 0;
}

.custom_search .search_list .price {
    color: #000;
    font-size: 16px;
    font-weight: 700;
}

.custom_search .search_list .price * {
    font-size: inherit;
}

.custom_search .view_all a {
    background: #000;
    color: #fff;
    display: block;
    font-size: 16px;
    font-weight: 500;
    padding: 13px;
    text-align: center;
}

.custom_search .search_list .no_result {
    margin: 0;
    padding: 15px;
    text-align: center;
}

.search_archive_list {
    margin-top: 20px;
}

.search_archive_list .topbar {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.search_archive_list .topbar span {
    font-size: 15px;
}

.search_archive_list .topbar .sort span {
    color: #0F340A;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.09px;
    margin-right: 10px;
}

.search_archive_list .topbar select {
    color: #0F340A;
    font-size: 14px;
    line-height: 24px;
    border: 1px solid #E6E6E6;
    border-radius: 0;
    padding: 9px 20px 10px 10px;
    background-size: 12px;
    background-position: 90%;
}

.search_archive_list .no_result {
    color: #000;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
}

.search_archive_list .inner_wrap.loading {
    position: relative;
}

.search_archive_list .inner_wrap.loading:before {
    background: rgba(204,204,204,0.6);
    content: "";
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.search_archive_list .archive_wrap {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -5px;
    row-gap: 15px;
}

.search_archive_list .archive_product_item {
    width: 33.3%;
    padding: 0 5px;
}

.search_archive_list .item_wrap {
    border: 1px solid #ebebeb;
    border-radius: 8px;
    height: 100%;
    padding: 15px;
    text-align: center;
}

.search_archive_list .item_wrap:hover {
    border-color: #96c470;
}

.search_archive_list .item_wrap a {
    display: block;
}

.search_archive_list .item_wrap .image {
    margin-bottom: 25px;
}

.search_archive_list .item_wrap .sku {
    color: #0f340a;
    font-size: 15px;
    text-transform: uppercase;
}

.search_archive_list .item_wrap .title {
    color: #0f340a;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .09px;
    margin-bottom: 15px;
}

.search_archive_list .price {
    color: #0f340a;
    display: block;
    font-size: 16px;
    line-height: normal;
    margin-bottom: 10px;
}

.search_archive_list .per_piece span {
    color: #A0A0A0;
    font-size: 14px;
}

.search_archive_list .price *,
.search_archive_list .per_piece span * {
    font-size: inherit;
}

.search_archive_list ul.page-numbers {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    list-style: none;
    margin: 40px 0 0;
}

.search_archive_list .page-numbers a,
.search_archive_list .page-numbers span {
    align-items: center;
    color: #3a3a3a;
    line-height: normal;
    display: flex;
    font-size: 14px;
    height: 35px;
    justify-content: center;
    width: 35px;
}

.search_archive_list .page-numbers a:hover,
.search_archive_list .page-numbers .current {
    background: #0F340A;
    color: #fff;
}

@media (max-width: 1024px) {
    .search_archive_list { 
        margin-top: 0;
    }
    .search_archive_list .topbar {
        flex-direction: column-reverse;
        margin: 0;
    }
    .search_archive_list .topbar .sort {
        align-items: center;
        display: flex;
        justify-content: center;
        padding: 15px 0 0;
        width: 100%;
    } 
    .search_archive_list .topbar select {
        max-width: 150px;
    }
    .search_archive_list .topbar .count {
        padding: 15px 0;
        width: 100%;
    }
    .search_archive_list .archive_wrap {
        margin: 0 -4px;
        row-gap: 12px;
    }
    .search_archive_list .archive_product_item {
        padding: 0 4px;
    }
    .search_archive_list .item_wrap {
        padding: 12px 7px;
    }
    .search_archive_list .item_wrap .sku,
    .search_archive_list .price {
        font-size: 13px;
    }
    .search_archive_list .item_wrap .title {
        line-height: normal;
    }
    .search_archive_list .page-numbers a, 
    .search_archive_list .page-numbers span {
        height: 30px;
        width: 30px;
    }
}

@media (max-width: 1024px) {
    .custom_search {
        padding: 10px 0;
    }
    .custom_search input {
        font-size: 14px;
        padding: 10px 15px;
    }
    .custom_search button {
        padding: 0 15px;
    }
    .custom_search button img {
        max-width: 15px;
    }
    .custom_search .search_list {
        width: 96%;
    }
    .custom_search .search_list li a {
        padding: 5px 15px;
    }
    .custom_search .search_list h6 {
        font-size: 16px;
    }
    .custom_search .search_list .price {
        font-size: 14px;
    }
    .custom_search .view_all a {
        font-size: 14px;
        padding: 10px;
    }
}

@media (max-width: 767px) {
    .search_archive_list .archive_product_item {
        width: 50%;
    }
}