.extended-search-button {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer
}

.extended-search-dropdown {
    display: none
}

.extended-search-dropdown .extended-search-dropdown-container {
    position: fixed;
    width: 618px;
    top: 86px;
    left: calc((100% - 618px)/2);
    flex-direction: column;
    background: #fff;
    padding: 24px;
    z-index: 9999;
    max-height: calc(100vh - 100px);
    overflow: auto;
}

.extended-search-dropdown .extended-search-bg {
    display: none
}

.extended-search-dropdown.active {
    display: flex
}

.extended-search-dropdown.active .extended-search-bg {
    display: block;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.2;
    position: fixed;
    top: 0;
    z-index: 9998;
    left: 0
}

.extended-search-dropdown .extended-search-input {
    border: 1px solid #E0E0E0;
    width: 100%;
    padding: 13px 12px 13px 50px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    outline: none;
}
.extended-search-dropdown .search-button {
    position: absolute;
    top: 37px;
    left: 37px;
    cursor: pointer;
}
.extended-search-dropdown-items {
    display: flex;
    flex-direction: column;
    padding: 8px;
    min-height: 250px;
}

.extended-search-dropdown-items > a {
    padding: 6px 0 6px 44px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    letter-spacing: 0;
    text-align: left;
    color: #010000;
    text-decoration: none;
    position: relative;
}
.extended-search-dropdown-items > a .category{
    display: block;
    font-family: 'Barlow', sans-serif;
    font-size: 10px;
    font-weight: 600;
    line-height: 10px;
    letter-spacing: 0.06em;
    color: #737373;
}
.extended-search-dropdown-items > a.searched {
    padding-right: 70px;
}

.extended-search-dropdown-items > a > img {
    width: 64px;
    height: 44px;
    object-fit: cover;
    position: absolute;
    right: 0;
    border-radius: 4px;
    top: calc((100% - 44px)/2)
}
.extended-search-dropdown-items > a:hover {
    text-decoration: underline;
}
.extended-search-dropdown-items > a:before {
    content: '';
    position: absolute;
    top: calc((100% - 16px)/2);
    left: 12px;
    width: 16px;
    height: 16px;
}
.extended-search-dropdown-items > a.relevant:before {
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_10318_131006)'%3E%3Cpath d='M15.3327 3.99994L8.99935 10.3333L5.66602 6.99994L0.666016 11.9999' stroke='%23010000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M11.334 3.99994H15.334V7.99994' stroke='%23010000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_10318_131006'%3E%3Crect width='16' height='16' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A");
}
.extended-search-dropdown-items > a.searched:before {
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.33333 12.6667C10.2789 12.6667 12.6667 10.2789 12.6667 7.33333C12.6667 4.38781 10.2789 2 7.33333 2C4.38781 2 2 4.38781 2 7.33333C2 10.2789 4.38781 12.6667 7.33333 12.6667Z' stroke='%23010000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M13.9996 14L11.0996 11.1' stroke='%23010000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
}
.extended-search-dropdown-items > a.history:before {
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_10370_40187)'%3E%3Cpath d='M8.00065 14.6667C11.6825 14.6667 14.6673 11.6819 14.6673 8.00004C14.6673 4.31814 11.6825 1.33337 8.00065 1.33337C4.31875 1.33337 1.33398 4.31814 1.33398 8.00004C1.33398 11.6819 4.31875 14.6667 8.00065 14.6667Z' stroke='%23010000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M8 4V8L10.6667 9.33333' stroke='%23010000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_10370_40187'%3E%3Crect width='16' height='16' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A");
}
.extended-search-dropdown-items > a.history .delete-history {
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_10370_131000)'%3E%3Cpath d='M8.00065 14.6667C11.6825 14.6667 14.6673 11.6819 14.6673 8.00004C14.6673 4.31814 11.6825 1.33337 8.00065 1.33337C4.31875 1.33337 1.33398 4.31814 1.33398 8.00004C1.33398 11.6819 4.31875 14.6667 8.00065 14.6667Z' fill='%23010000' stroke='%23010000' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M10 6L6 10' stroke='white' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M6 6L10 10' stroke='white' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_10370_131000'%3E%3Crect width='16' height='16' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: center center;
    position: absolute;
    width: 40px;
    height: 40px;
    top: calc((100% - 40px) / 2);
    right: 0;
    cursor: pointer;
}
.extended-search-dropdown-items.loading{
     position: relative;
 }
.extended-search-dropdown-items.loading:after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: .2;
}
.extended-search-dropdown-items.loading:before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../img/loading-gif.gif");
    background-repeat: no-repeat;
    background-position: center;
}
.mobile-close-button {
    display: none;
}