.nav2 .pw-livesearch-wrapper,

.nav2 #search_widget,

.nav2 .search-widget {

    float: right !important;

    width: 43% !important;

    max-width: 540px !important;

    margin-top: 30px !important;

    margin-right: 180px !important;

    display: block !important;

}





.pw-livesearch-result-price {

    margin-left: auto;

    align-self: center;

    font-weight: 700;

    color: #d32f2f;

    white-space: nowrap;

    padding-left: 12px;

}



.pw-livesearch-wrapper {

    position: relative;

    width: 100%;

    max-width: 520px;

    z-index: 1000;

}



.pw-livesearch-form {

    display: flex;

    align-items: stretch;

    width: 100%;

    background: #ffffff;

    border: 1px solid #d9d9d9;

    border-radius: 4px;

    overflow: hidden;

}



.pw-livesearch-input {

    flex: 1;

    min-width: 0;

    border: 0 !important;

    padding: 10px 12px;

    font-size: 14px;

    outline: none;

    background: #ffffff;

    color: #333333;

}



.pw-livesearch-button {

    border: 0;

    padding: 0 16px;

    background: #1e73be;

    color: #ffffff;

    font-weight: 600;

    cursor: pointer;

}



.pw-livesearch-button:hover {

    background: #155a96;

}



.pw-livesearch-results {

    position: absolute;

    top: calc(100% + 4px);

    left: 0;

    right: 0;

    background: #ffffff;

    border: 1px solid #dcdcdc;

    border-radius: 4px;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);

    overflow: hidden;

    z-index: 99999;

}



.pw-livesearch-item {

    display: flex;

    gap: 10px;

    align-items: center;

    padding: 9px 10px;

    color: #333333;

    text-decoration: none !important;

    border-bottom: 1px solid #eeeeee;

    background: #ffffff;

}



.pw-livesearch-item:hover {

    background: #f5f9ff;

    color: #1e73be;

}



.pw-livesearch-imgwrap {

    width: 54px;

    height: 54px;

    flex: 0 0 54px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid #eeeeee;

    background: #ffffff;

}



.pw-livesearch-imgwrap img {

    max-width: 52px;

    max-height: 52px;

    width: auto;

    height: auto;

}



.pw-livesearch-info {

    display: block;

    min-width: 0;

}



.pw-livesearch-name {

    display: block;

    font-size: 14px;

    font-weight: 600;

    line-height: 1.25;

    color: #1e73be;

}



.pw-livesearch-ref {

    margin-top: 2px;

    font-size: 12px;

    color: #777777;

}



.pw-livesearch-price {

    display: block;

    margin-top: 3px;

    font-size: 13px;

    font-weight: 700;

    color: #d32f2f;

}



.pw-livesearch-empty,

.pw-livesearch-viewall {

    display: block;

    padding: 10px 12px;

    font-size: 13px;

    background: #ffffff;

}



.pw-livesearch-viewall {

    text-align: center;

    font-weight: 600;

    color: #1e73be;

    text-decoration: none !important;

}



.pw-livesearch-viewall:hover {

    background: #f5f9ff;

    color: #155a96;

}



@media (max-width: 767px) {

    .pw-livesearch-wrapper {

        max-width: none;

    }



    .pw-livesearch-button {

        padding: 0 12px;

    }

}


/* =========================================================
   MOBILE SEARCH WIDTH FIX
   Keeps the search row even on both sides of the screen.
========================================================= */
@media (max-width: 767px) {
    .nav2 .pw-livesearch-wrapper,
    .nav2 #search_widget,
    .nav2 .search-widget,
    .pw-livesearch-wrapper {
        float: none !important;
        display: block !important;
        width: calc(100% - 24px) !important;
        max-width: calc(100% - 24px) !important;
        margin: 10px 12px 8px 12px !important;
        box-sizing: border-box !important;
    }

    .pw-livesearch-form {
        display: flex !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .pw-livesearch-input {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        width: auto !important;
        padding: 9px 10px !important;
        box-sizing: border-box !important;
    }

    .pw-livesearch-button {
        flex: 0 0 72px !important;
        width: 72px !important;
        max-width: 72px !important;
        padding: 0 8px !important;
        box-sizing: border-box !important;
        white-space: nowrap !important;
        font-size: 13px !important;
    }

    .pw-livesearch-results {
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}
