body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(120deg, #f5f5f5 60%, #e0e7ff 100%);
}

header {
    background: linear-gradient(90deg, #333 60%, #4f8cff 100%);
    color: white;
    padding: 22px 40px;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1px;
    box-shadow: 0 2px 10px #b3b3b3;
}

.container {
    display: flex;
    max-width: 1300px;
    margin: 30px auto;
    gap: 30px;
}

.sidebar {
    width: 260px;
    background: white;
    padding: 22px 18px;
    border-radius: 16px;
    box-shadow: 0 0 18px #c7d0e6;
    min-height: 400px;
}

.sidebar h3 {
    margin-top: 0;
    font-size: 20px;
    color: #4f8cff;
}

.sidebar label {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 16px;
    cursor: pointer;
}

.sidebar input[type="checkbox"] {
    accent-color: #4f8cff;
    margin-right: 10px;
}

.sidebar .filter-btn {
    margin-top: 18px;
    width: 100%;
    padding: 10px 0;
    background: #4f8cff;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
}

.sidebar .filter-btn:hover {
    background: #2563eb;
}

.products {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 28px;
}

.card {
    background: white;
    border-radius: 14px;
    box-shadow: 0 0 16px #c7d0e6;
    overflow: hidden;
    transition: 0.25s cubic-bezier(.4, 2, .3, 1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.card:hover {
    transform: translateY(-7px) scale(1.03);
    box-shadow: 0 8px 32px #b3c6f7;
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: #f0f4ff;
}

.card-content {
    padding: 18px 16px 12px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #222;
}

.card-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
    flex: 1;
}

.card-price {
    color: #22b573;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
}

.card-btn {
    background: #4f8cff;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 0;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.card-btn:hover {
    background: #2563eb;
}

.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #22b573;
    color: white;
    font-size: 13px;
    padding: 3px 10px;
    border-radius: 6px;
    font-weight: bold;
}

footer {
    text-align: center;
    padding: 24px;
    background: #e0e7ff;
    margin-top: 50px;
    font-size: 16px;
    color: #333;
}