.search-results {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-height: 90vh;
}

.search-categories {
    width: 100%;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.search-categories__title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.search-categories__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.search-categories__item {
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s;
    background: #f8f9fa;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-categories__item:hover {
    background: #e9ecef;
    color: #007bff;
}

.search-categories__icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}

.search-products {
    flex: 1;
    overflow-y: auto;
}

.search-products__title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.search-products__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.product-card {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 10px;
    transition: box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.product-card__image {
    width: 100%;
    height: 110px;
    object-fit: contain;
    margin-bottom: 10px;
    flex-shrink: 0;
}

.product-card__name {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 40px;
    flex-shrink: 0;
}

.product-card__info {
    margin-top: auto;
    flex-shrink: 0;
}

.product-card__price {
    font-size: 16px;
    font-weight: 600;
    color: #007bff;
    margin-bottom: 5px;
}

.product-card__stock {
    font-size: 12px;
    color: #28a745;
}

.product-card__stock--out {
    color: #dc3545;
} 

div.search-results .product-search_footer .ui-btn{
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    font-size: 0;
}

div.search-results .product-search_footer .ui-btn *:not(svg):not(use) {
    display: none;
}

div.search-results .product-search_footer .ui-btn svg {
    font-size: 16px;
}

.search-results .ui-number__input{
    height: 35px;
}

div.search-results .product-search_footer .ui-btn:last-child{
    margin-right: 0;
}

div.search-results .product-search_footer .ui-btn svg{
    margin: 0!important;
}

.special_price{
    display: flex;
    column-gap: 5px;
    align-items: center;
}

.special_price .old_price{
    font-size: 12px;
    text-decoration: line-through;
}

@media (max-width: 1199px) {
    .search-products__grid{
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    .search-products__grid{
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .search-products__grid{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .search-results {
        gap: 10px;
        padding: 10px;
    }
    .search-products__grid{
        gap: 7px;
    }
}