.search-results {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 24px;
}
@media (max-width: 1200px) {
    .search-results {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 900px) {
    .search-results {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .search-results {
        grid-template-columns: 1fr;
    }
}

.search-results a{
    text-decoration: none;
    color: inherit;
}
.product-card.search-page {
    height: auto;
    min-height: unset;
    max-height: unset;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: #000;
    border-radius: 8px;
    box-shadow: none;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
    position: relative;
    padding: 0;
}
.product-card.search-page:hover {
    box-shadow: 0 6px 32px 0 rgba(0,0,0,0.16);
    transform: translateY(-4px) scale(1.02);
}
.product-card.search-page .product-card-img {
    width: 100%;
    height: 230px;
    margin: 0;
    max-width: 100%;
    min-width: 0;
    display: block;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    border-radius: 8px 8px 0 0;
}
.product-card.search-page .product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s cubic-bezier(.4,0,.2,1);
    border-radius: 8px 8px 0 0;
    background: #222;
    display: block;
    max-width: 100%;
    max-height: 100%;
}
.product-card.search-page .product-card-title,
.product-card.search-page .product-card-price,
.product-card.search-page .product-card-location {
    width: 100%;
    box-sizing: border-box;
}
.product-card.search-page .product-card-title {
    font-size: 1.08em;
    font-weight: 400;
    margin: 14px 0 0 0;
    color: #fff;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.product-card.search-page .product-card-price {
    font-size: 1.08em;
    font-weight: 700;
    margin: 6px 0 0 0;
    color: #fff;
    line-height: 1.2;
}
.product-card.search-page .product-card-price:empty {
    display: none;
}
.product-card.search-page .product-card-location {
    font-size: 1em;
    color: #bdbdbd;
    margin: 8px 0 0 0;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
