:root {
    --primary: #2b6cb0;
    --bg: #f7fafc;
    --card: #ffffff;
    --border: #e2e8f0;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: var(--bg);
    color: #1a202c;
}

header {
    text-align: center;
    padding: 40px 20px 10px;
}

h1 {
    margin: 0;
    font-size: 2rem;
}

.container {
    max-width: 1000px;
    margin: auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.product {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.product:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
}

.description {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #4a5568;
    margin-bottom: 20px;
}

.price {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 18px;
}

button {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

button:hover {
    background: #1f4e85;
}

footer {
    text-align: center;
    padding: 30px 10px 40px;
    color: #718096;
    font-size: 0.9rem;
}