.search-result
{
    width: 100%;
}

.search-result .product-title
{
    width: 45%;
    min-width: 45%;
}

.search-result .product-image
{
    width: 60px;
    height: 60px;
    min-width: 60px;
    margin-right: 10px;
    display: flex;
}

.search-result .product-image img
{
    max-width: 60px;
    max-height: 60px;
    width: auto;
    height: auto;
}

.search-result .product-name
{
    text-overflow: ellipsis;
    transition: all 0.2s;
    font-size: 14px;
}

.search-result:hover .product-name
{
    color: var(--accent);
}

.search-result .product-body
{
    margin: auto 10px;
    width: 25%;
}

.search-result .price-body
{
    font-size: 10px;
    font-weight: 900;
    max-height: 40px;
    float: right;
}

.discount-body
{
    display: flex;
    justify-content: start;
}

.search-result .discount-body .price
{
    font-size: 0.9em;
    width: fit-content;
    margin: auto 0;
    line-height: initial;
}

.search-result .discount
{
    font-size: 1em;
    padding: 0;
    margin: -2px auto auto 5px;
}

.search-result .price
{

}

.search-result .actions-body
{
    background-color: transparent;
    border: none;
    height: 40px;
    display: flex;
    width: 30%;
    margin: auto 0;
    font-size: 0.8em;
}

.actions-body .product-action
{
    color: white;
    background-color: var(--red);
    border-radius: 0;
    display: flex;
    justify-content: center;
    border: none;
    height: 100%;
    width: 60%;
    transition: all .4s;
    padding: 5px;
}

.actions-body .product-action:only-child
{
    width: 100% !important;
    padding: 10px !important;
}

.actions-body .product-action:first-of-type
{
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    width: 20%;
}

.actions-body .product-action:last-of-type
{
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    width: 20%;
}

.actions-body .product-action div
{
    font-size: 12px;
    margin: auto;
    display: grid;
}

.actions-body .product-action div span:nth-child(1)
{
    font-weight: 700;
    line-height: 1;
    margin-bottom: 2px;
}

.actions-body .product-action div span:nth-child(2)
{
    margin: auto;
    font-size: 0.8em;
    font-weight: 100;
    line-height: 1;
}

.actions-body .product-action.inactive,
.actions-body .product-action.inactive:hover
{
    color: white;
    background-color: buttonface;
    border-radius: 5px;
    display: flex;
    border: none;
    width: 100%;
    height: 100%;
    transition: all .4s;
}

.actions-body .product-action.inactive span,
.actions-body .product-action.inactive:hover span
{
    color: #707070;
    margin: auto;
    font-size: 1em;
    font-weight: 500;
    line-height: 1;
}

.actions-body .product-action:hover
{
    background-color: var(--red-hover);
}

.actions-body .product-action span
{
    margin: auto;
    font-size: 1em;
    font-weight: 500;
    line-height: 1;
}

.ui-tooltip {
    background-color: white;
    border-radius: 5px;
    padding: 8px;
    position: absolute;
    z-index: 9999;
    max-width: 300px;
    white-space: break-spaces;
}

body .ui-tooltip
{
    border-width: 2px;
}

.ui-helper-hidden-accessible
{
    display: none;
}

.ui-autocomplete-category:first-of-type
{
    border-top: none !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.header__body__search__list ul li.ui-autocomplete-category
{
    padding-top: 20px;
    border-top: 1px solid #e7e7e7;
    font-size: 0.8em;
    font-weight: 600;
    margin: 5px 0;
    color: #999;
    cursor: unset;
}

.header__body__search__list ul li.ui-autocomplete-category
{
    cursor: default;
}

.header__body__search__list ul li.ui-autocomplete-category:hover
{
    background-color: white;
}

.header__body__search__list ul li
{
    border-bottom: unset !important;
    padding: 5px !important;
    cursor: pointer;
}

.header__body__search__list ul li:hover
{
    background-color: #f7f7f7;
}

.history
{
    display: flex;
    justify-content: space-between;
}

.history .historyName
{
    margin: auto 0;
}

.history .removeHistory
{
    background-color: transparent;
    height: auto;
    border-radius: 100%;
    padding: 0;
    border: black solid 1px;
    margin: 0;
}

.history .removeHistory span
{
    background-image: url(/templates/images/dist/icons/cancel.svg);
    background-position-x: 50%;
    background-position-y: 50%;
    background-size: 10px;
    background-repeat: no-repeat;
    padding: 8px;
    display: block;
}

.history .removeHistory:hover
{
    background-color: #ff4040;
}

.history .removeHistory:hover span
{
    filter: invert(100%) sepia(0%) saturate(7487%) hue-rotate(8deg) brightness(102%) contrast(98%);
}