.popup-search2-element .toggle-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    gap: 7px;
    transition: ease .12s;
}

.popup-search2-element .toggle-search-btn svg {
    width: 24px;
    height: 24px;
}

.popup-search2-element .popup-search-container {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 999999999999999;
}

.popup-search2-element .popup-search-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0009;
}

.popup-search2-element .popup-search-overlay {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.popup-search2-element .popup-search-content {
    position: relative;
    z-index: 10;
    width: 900px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 25px 35px #00000042;
}

.popup-search2-element .search-field-wrap {
    display: flex;
}

.popup-search2-element .is-close-btn {
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-search2-element .is-close-btn svg {
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.popup-search2-element .is-close-btn svg path {
    stroke: #c1c1c1;
    stroke-width: 1px;
}

.popup-search2-element .is-search-field {
    width: calc(100% - 80px);
}

.popup-search2-element .is-search-field form {
    display: flex;
    width: 100%;
}

.popup-search2-element .categories-selector {
    width: 200px;
}

.popup-search2-element .is-search-field input {
    width: 100%;
    border: none;
    box-shadow: none;
    padding: 15px 25px;
    border-left: 1px solid #e5e5e5;
    border-radius: 0;
    font-size: 20px;
    color: #727272;
    background-color: transparent;
}

.popup-search2-element .is-search-field.with-cat input {
    width: calc(100% - 200px);
    border-right: 1px solid #e5e5e5;
}

.popup-search2-element.is-element-ltr .is-search-field:not(.with-cat) input {
    border-left: none;
    border-right: 1px solid #e5e5e5;
}

.popup-search2-element .is-search-field .ah-selected-item-wrap {
    border-radius: 0;
    background-color: transparent;
    color: #7e7e7e;
}

.popup-search2-element .search-field-wrap .is-search-field input,
.popup-search2-element .is-search-field .ah-selected-item-wrap,
.popup-search2-element .is-close-btn {
    height: 70px;
}

.popup-search2-element .popup-search-result-wrap {
    position: relative;
    width: 100%;
    height: 350px;
    display: none;
    border-top: 1px solid #e5e5e5;
    overflow: auto;
}

.popup-search2-element .is-search-loader {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-search2-element .is-search-loader svg stop {
    stop-color: #a5a5a5;
}

html:is(.ahura-dark-theme, .ahura-black-theme) .popup-search2-element .is-search-loader svg stop {
    stop-color: #fff;
}

.popup-search2-element .is-search-loader svg {
    width: 90px;
    height: 80px;
}

.popup-search2-element .popup-search-result {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 20px;
}

.popup-search2-element .search-item a {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    padding: 7px;
    transition: ease .1s;
}

.popup-search2-element .search-item a:hover {
    box-shadow: 0 5px 15px #00000014;
}

.popup-search2-element .search-item .item-cover {
    display: flex;
    width: 80px;
}

.popup-search2-element .search-item .item-cover img {
    min-width: 80px;
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
}

.popup-search2-element .item-title {
    font-size: 17px;
    color: #333;
}

.popup-search2-element .item-price {
    color: #7e7e7e;
    margin-top: 7px;
    font-size: 15px;
}

.popup-search2-element .item-price del {
    opacity: .5;
}

html:is(.ahura-dark-theme, .ahura-black-theme) .popup-search2-element .popup-search-content {
    background-color: #1b1c3a;
}

html:is(.ahura-dark-theme, .ahura-black-theme) .popup-search2-element .is-search-field .ah-selected-item-wrap,
html:is(.ahura-dark-theme, .ahura-black-theme) .popup-search2-element .item-title {
    color: #fff;
}

html:is(.ahura-dark-theme, .ahura-black-theme) .popup-search2-element .is-search-field form input[name=param] {
    color: #fff;
    border-color: #ffffff21;
}

html:is(.ahura-dark-theme, .ahura-black-theme) .popup-search2-element .popup-search-result-wrap,
html:is(.ahura-dark-theme, .ahura-black-theme) .popup-search2-element .search-item a {
    border-color: #ffffff21;
}

@media screen and (max-width: 767px) {
    .popup-search2-element .popup-search-result {
        grid-template-columns: repeat(1, 1fr);
    }

    .popup-search2-element .popup-search-wrap {
        align-items: normal;
    }

    .popup-search2-element .popup-search-content {
        border-radius: 0;
    }

    .popup-search2-element .popup-search-wrap .search-field-wrap {
        border-bottom: 1px solid #e5e5e5;
    }
	
	.popup-search2-element .popup-search-wrap.search-with-cat .search-field-wrap {
		height: 111px;
	}

    html:is(.ahura-dark-theme, .ahura-black-theme) .popup-search2-element .search-field-wrap {
        border-color: #ffffff21;
    }

    .popup-search2-element .popup-search-result-wrap {
        border: none;
    }
	
	.popup-search2-element .popup-search-wrap.search-with-cat .popup-search-result-wrap {
		height: calc(100% - 111px);
	}

    .popup-search2-element .is-search-field form {
        display: block;
        width: 100%;
    }

    .popup-search2-element .search-field-wrap .is-search-field input {
        width: 100%;
        border: none;
    }

    .popup-search2-element .search-field-wrap .is-search-field input,
    .popup-search2-element .is-search-field .ah-selected-item-wrap,
    .popup-search2-element .is-close-btn {
        height: 55px;
    }
}