/* Style dùng chung. Mỗi trang có thêm file css riêng cạnh file html. */
:root {
    --color-bg: #faf7f2;
    --color-surface: #ffffff;
    --color-text: #2b2420;
    --color-muted: #7a6e66;
    --color-primary: #8c4a2f;
    --color-border: #e6ded4;
    --radius: 12px;
    --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

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

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.hero {
    padding: 96px 0;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin: 0 0 16px;
}

.muted {
    color: var(--color-muted);
}

/* Lưới ảnh sản phẩm: dùng ảnh cỡ thumb + loading="lazy" */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
}
