/* CONVERT FLOAT TO FLEX GRID */
.row.display-flex {
    display: flex !important;
    flex-wrap: wrap;
}
.row.display-flex > [class*='col-'] {
    display: flex;
    flex-direction: column;
    padding: 15px;
}
/* --- */

.container-results {
    position: relative;
    padding: 0;
    height: 100%;
}

#search-results {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: #ffffff;
    z-index: 2000;
}

#search-results .row-header {
    margin: 0;
    padding: 0;
}

#search-results .row-header::before {
    border-top: 25px solid #0B9BD8;
    content: "";
    position: absolute;
    width: 100%;
}

#search-results .row-header #close-results {
    font-size: 20px;
    position: absolute;
    right: 0;
    top: -8px;
    background: none;
    border: none;
    cursor: pointer;
}

#search-results .row-search {
    padding: 35px 20px 20px 20px;
    border-bottom: 1px solid #d3d3d3;
}

#search-results .row-search > div:first-child {
    margin-bottom: 15px;
}

#search_bar {
    width: 100%;
}
#search_bar form {
    position: relative;
}
#search_bar form input[type=text] {
    width: 100%;
    color: #ffffff;
    height: 48px;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.72px;
    padding: 0 40px 0 15px;
    background: #ffffff;
    line-height: 25px;
    transition: all 300ms ease;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    border: none;
    border-radius: 25px;
    font-size: 18px;
    background-color: #0B9BD8;
}
#search_bar form input[type=text]::placeholder {
    color: #ffffff;
    opacity: 1;
}
#search_bar form button[type=submit] {
    background-color: #0B9BD8;
    background-image: url(../img/search_button.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 18px auto;
    color: #7a7a7a;
    width: 55px;
    height: 48px;
    padding: 0;
    cursor: pointer;
    position: absolute;
    z-index: 1;
    right: 0;
    top: 0;
    border: none;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
}

#loading {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    background-color: rgba(131, 131, 131, 0.7);
    z-index: 2001;
}

#results {
    overflow-x: hidden;
    overflow-y: auto;
    height: 100%;
    padding: 15px;
}

#results .title {
    text-align: center;
    font-size: 18px;
}

#results .prices {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 10px;
}

#results .prices > div {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

#results .price {
    /* font-size: 32px; */
    font-size: 22px;
    color: var(--blue);
}

#results .regular_price {
    color: #a1a1a1;
    margin: 0 5px;
    /* font-size: 20px; */
    font-size: 16px;
    text-decoration: line-through;
}

#results .discount {
    background: #ca0303;
    color: #ffffff;
    /* padding: 5px 10px; */
    padding: 5px 8px;
    border-radius: 25px;
    /* font-size: 16px; */
    font-size: 14px;
}

.best-title {
    margin-bottom: 30px;
}

/* RESPONSIVE */
@media (min-width: 768px) {
    #search-results .row-header #close-results {
        right: 25px;
    }
    #search-results .row-search {
        padding: 57px 20px 20px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}
@media (min-width: 992px) {
    #search-results .row-header #close-results {
        right: 40px;
    }
}