.header-search {
    flex-grow: 1;
    display: flex;
}

.header-search input {
    background-color: #fff;
    width: 100%;
    margin: auto;
    position: relative;
    border: 1px solid #ddd;
    outline: none;
    border-radius: 3px;
    color: #000;
    font-family: Futura, Calibri, sans-serif;
    font-weight: 400;
    font-size: .95em;
    height: 40px;
    line-height: normal;
    text-transform: capitalize;
    box-sizing: border-box;
    padding-left: 39px;
    padding-right: 9px;

}

.header-search input::placeholder {
    color: #898989;
    font-size: 15px;
    font-weight: 300;
    font-style: italic;
    font-family: 'Montserrat';
}

.header-search input {
    background: url(../img/magnifying-glass.svg) no-repeat scroll #fff;
    background-position: calc(11px) 9px;
    background-size: 20px;
}

.ui-widget.ui-widget-content {
    border: 0;
    padding: 0;
}

.search-result h1 {
    font-size: 14px;
}

.ui-widget-content {
    width: 519px;
    z-index: 99999999;
    border: 0;
    padding-top: 8px;
    min-height: 500px;
    height: auto;
    background: transparent;
}


.search-result {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 5px 9px;
    gap: 10px;
}

.search-result:hover {
    background-color: #e8e8e8;
}

.search-result .search-result:hover .price p {
    color: #000 !important;
}

.search-result .title p.h2 {
    margin-left: auto;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Montserrat';
    color: #444;
    margin: 0;
}

.search-detail-container p.h2 {
    margin-left: auto;
    font-size: 21px;
    font-weight: 400;
    color: #333;
    font-family: 'Montserrat';
    margin: 0;
    padding: 0;
}

.search-detail-container p.ref {
    padding: 0;
    font-size: 13px;
    font-weight: 300;
    font-family: 'Montserrat';
}

.search-detail-container p.price {
    line-height: 120%;
    overflow: hidden;
    color: #000;
    margin-top: 15px;
    font-weight: 700;
    font-size: 18px;
    font-family: 'Montserrat';
}

.search-detail-container p.price small {
    color: #000;
    font-family: 'Montserrat';
    font-weight: 700;
}

.search-detail-container hr {
    background-color: #dedede;
}

.search-detail-container p.description {
    font-size: 13px;
    line-height: 157%;
    font-family: 'Montserrat';
    color: #6d6d6d;
}

.search-detail-container a.action {
    display: inline-block;
    border: 0;
    border-radius: 0;
    background: none;
    cursor: pointer;
    padding: .6180469716em 1.41575em;
    text-decoration: none;
    font-weight: 600;
    text-shadow: none;
    background-color: #eeeeee;
    border-color: #eeeeee;
    color: #333333;
}

.search-result .price {
    margin-left: auto;
}

.search-result .price p {
    font-weight: 600;
    color: #000 !important;
    padding: 0;
    margin: 0;
}

.search-result .img img {
    max-width: 50px;
    background: #fff none repeat scroll 0 0;
    border: 1px solid #e8e8e8;
    border-radius: 3px;
    padding: 2px;
}

.ui-menu .ui-menu-item-wrapper {
    padding: 0;
    font-size: 0;
    display: inline-block;
}


.ui-menu-item-wrapper .child {
    position: absolute;
    transform: translateX(268px);
    background-color: white;
    height: auto;
    top: 0;
    width: 250px;
    border: 1px solid #ddd;
}

.ui-menu-item-wrapper .search-detail-container {
    padding: 15px;
}

.ui-menu-item-wrapper .parent {
    width: 269px;
    background-color: white;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
}

.ui-menu-item-wrapper .parent.last {
    border-radius: 0px 0px 5px 5px;
    border-bottom: 1px solid #ddd;
}

.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
a.ui-button:active,
.ui-button:active,
.ui-button.ui-state-active:hover {
    border: 0;
    background: transparent;
    font-weight: normal;
    color: #000;
}

.ui-menu .ui-state-focus,
.ui-menu .ui-state-active {
    margin: 0 !important;
}

.ui-menu .ui-menu-item-wrapper {
    position: unset;
}

#mobile-search-btn {
    display: none;
    position: absolute;
    top: 40px;
    left: 62px;
    width: 20px;
    height: 20px;
    background-image: url("../img/magnifying-glass-black.svg");
    background-size: cover;
    cursor: pointer;
}

@media only screen and (max-width: 992px) {
    #mobile-search-btn {
        display: block;
    }

    .header-search input {
        display: none;
    }

    .header-search input {
        width: 100%;
        position: absolute;
        top: 102px;
        left: 0;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
    }

    .ui-widget.ui-widget-content {
        position: fixed;
    }

    .ui-menu .ui-menu-item-wrapper {
        width: 100%;
        border: 0;
    }

    .ui-menu-item-wrapper .parent {
        width: 100%;
        border: 0;
    }
}