* {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, 'Helvetica Neue', Arial
}

a {
    color: inherit;
    text-decoration: none
}

.link {
    text-decoration: underline
}

.container {
    max-width: 1060px;
    margin: 0 auto;
    padding: 16px
}

header h1 {
    margin: 0;
    font-size: 28px;
}

.muted {
    color: #555
}

.filters {
    display: flex;
    gap: 8px;
    margin: 12px 0
}

.filters input,
.filters select {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 8px;
    flex: 1
}

.filters button {
    padding: 8px 12px;
    border: 0;
    border-radius: 8px;
    background: #111;
    color: #fff
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px
}

.card {
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #fff
}

.card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #eee
}

.card .price {
    font-size: 18px;
    font-weight: 700
}

.btn {
    display: inline-block;
    padding: 8px 12px;
    background: #111;
    color: #fff;
    border-radius: 8px
}

.footer {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #eee;
    margin-top: 32px
}

.product {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 16px
}

.product-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #eee
}

@media (max-width:720px) {
    .product {
        grid-template-columns: 1fr
    }
}