.quick-search-result {
    /* display: none; */
    position: absolute;
    top: 50px;
    background-color: #fff;
    overflow-y: scroll;
    overflow-x: hidden;
    border-radius: 6px;
    max-height: 540px;
    font-family: 'Poppins', sans-serif;
    z-index: 11;
}

.quick-search-item {
    display: flex;
    /* height: 151px; */
    padding: 16px 22px;
    align-items: flex-start;
    position: relative;
}

.quick-search-item::after {
    content: "";
    width: 92%;
    height: 1px;
    background-color: #e2e2e2;
    position: absolute;
    bottom: -1px;
}

.quick-search-item:hover {
    cursor: pointer;
    background-color: #EFEFEF;
}

.quick-search-item:hover::after {
    display: none;
}

.quick-search-item-img {
    margin-right: 12px;
}

.quick-search-item-img div {
    width: 140px;
    height: 140px;
    border-radius: 6px;
}

.quick-search-item-content {
    display: flex;
    flex-direction: column;
    width: 80%;
    overflow-y: hidden;
}

.quick-search-item-content div {
    display: flex;
}

.quick-search-item-content p:not(:first-of-type),
.quick-search-item-content p:not(:last-of-type) {
    margin-bottom: 7px;
}

.quick-search-item-content h2 {
    margin-top: 0;
    margin-bottom: 9px;
    font-size: 20px;
    font-weight: 400;
    line-height: 16px;
    /* identical to box height, or 80% */


    color: #252525;
}

.quick-search-item-content>p:first-of-type {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 100%;
    /* identical to box height, or 16px */


    color: rgba(37, 37, 37, 0.6);
}

.quick-search-item-content>p:nth-of-type(2) {
    display: flex;
    align-items: center;
    overflow: hidden;
    /* margin-bottom: 0; */
    font-size: 16px;
    line-height: 130%;
    /* or 21px */


    color: rgba(37, 37, 37, 0.85);
    font-weight: 300;
    text-overflow: ellipsis;
    white-space: normal;
}

.quick-search-item-content>p:nth-of-type(2)::before
{
    content: url('../assets/img/map-pin.svg');
}

.quick-search-item-content div p::before {
    content: url('../assets/img/phone.svg');
}

.quick-search-item-content>p:last-of-type::before {
    content: url('../assets/img/coins.svg');
}

.location-item.quick-search-item .quick-search-item-text p::before,
.location-item.quick-search-item .quick-search-item-content>p::before {
    display: none;
}

.quick-search-item-content p::before {
    display: inline-block;
    vertical-align: sub;
    width: 22px;
    height: 22px;
    margin-right: 6px;
}

.quick-search-item-content div p {
    width: 81px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.location-item.quick-search-item .quick-search-item-content div p {
    width: 240px;
}

.quick-search-item-content p {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 21px;
    /* identical to box height, or 21px */


    color: rgba(37, 37, 37, 0.85);
}

.bottom-shadow {
    position: relative;
}

.bottom-shadow::after {
    content: "";
    width: 100%;
    height: 81px;
    background-image: linear-gradient(to top, rgba(255, 255, 255), rgba(255, 255, 255, 0));
    position: fixed;
    bottom: 0;
}

::-webkit-scrollbar {
    width: 4px;
}

/* Track */
::-webkit-scrollbar-track {
    border-radius: 100px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #C8C8C8;
    border-radius: 100px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #b30000;
}

/* @media screen and (min-width: 1920px) */

@media screen and (min-width: 1280px) {
    .quick-search-result {
        top: 65px;
        right: 0;
        width: 100%;
        max-height: 706px;
        box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
    }

    .quick-search-item {
        height: 173px;
    }

    .quick-search-result a:hover .quick-search-item {
        background-color: #EFEFEF;
    }

    .quick-search-result a:hover {
        text-decoration: none;
    }

    .quick-search-item-content>p:nth-of-type(2) {
        display: block;
        white-space: nowrap;
    }

    ::-webkit-scrollbar {
        width: 12px;
    }
}

@media screen and (max-width: 768px) {
    .quick-search-result {
        left: 0;
        right: 0;
        /* top: calc(100% - 23px); */
    }
}
