:root {
	--color-primary: #2e7d32; /* leaf green */
	--color-primary-dark: #1b5e20;
	--color-accent: #00c853;
	--color-text: #222;
	--color-muted: #555;
	--color-border: #e5e7eb;
	--color-bg: #ffffff;
	--color-bg-soft: #f7f7f8;

	--radius: 10px;
	--shadow-sm: 0 2px 8px rgba(0,0,0,.06);
	--shadow-md: 0 8px 24px rgba(0,0,0,.08);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
	margin: 0;
	font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
	color: var(--color-text);
	background: var(--color-bg);
	line-height: 1.6;
}

.container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Header */
.header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255,255,255,.8);
	backdrop-filter: saturate(180%) blur(8px);
	border-bottom: 1px solid var(--color-border);
}
.nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 0;
}
.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 800;
	font-size: 20px;
	color: var(--color-primary-dark);
	text-decoration: none;
}
.brand .leaf {
	width: 28px;
	height: 28px;
	border-radius: 8px;
	background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
	box-shadow: var(--shadow-sm);
}
.nav-links {
	display: flex;
	align-items: center;
	gap: 18px;
}
.nav-links a {
	text-decoration: none;
	color: var(--color-muted);
	font-weight: 600;
}
.nav-links a:hover {
	color: var(--color-primary-dark);
}

/* Buttons */
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 16px;
	border-radius: 10px;
	border: 1px solid var(--color-border);
	background: #fff;
	color: var(--color-text);
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	box-shadow: var(--shadow-sm);
	transition: transform .06s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.button-primary {
	background: var(--color-primary);
	border-color: var(--color-primary);
	color: #fff;
}
.button-primary:hover { background: var(--color-primary-dark); }
.button-ghost { background: transparent; border-color: var(--color-border); }

.badge {
	display: inline-block;
	font-size: 12px;
	padding: 3px 8px;
	border-radius: 100px;
	background: var(--color-bg-soft);
	border: 1px solid var(--color-border);
	color: var(--color-muted);
}

/* Hero */
.hero {
	padding: 40px 0 24px;
}
.hero-card {
	background: linear-gradient(180deg, #f4fbf6, #ffffff);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 26px;
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 24px;
	box-shadow: var(--shadow-md);
}
.hero h1 { margin: 0 0 8px; font-size: 36px; letter-spacing: -0.02em; }
.hero p { margin: 0 0 14px; color: var(--color-muted); }
.hero-illus {
	border-radius: 14px;
	min-height: 220px;
	background: url('https://images.unsplash.com/photo-1520975922071-a0c39a7b2d83?q=80&w=1200&auto=format&fit=crop') center/cover no-repeat;
	border: 1px solid var(--color-border);
}

/* Grid */
.grid {
	display: grid;
	gap: 18px;
}
.grid.products {
	grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1024px) {
	.grid.products { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
	.hero-card { grid-template-columns: 1fr; }
	.grid.products { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
	.grid.products { grid-template-columns: 1fr; }
}

/* Product card */
.card {
	border: 1px solid var(--color-border);
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	box-shadow: var(--shadow-sm);
	display: flex;
	flex-direction: column;
}
.card .media {
	width: 100%;
	aspect-ratio: 4 / 5;
	background: #f1f5f3;
	background-size: cover;
	background-position: center;
}
.card .content {
	padding: 14px;
	display: grid;
	gap: 8px;
}
.card .title { font-weight: 800; letter-spacing: -0.01em; }
.card .price { font-weight: 800; color: var(--color-primary-dark); }
.card .muted { color: var(--color-muted); font-size: 14px; }

/* Sections */
.section {
	padding: 26px 0;
}
.section h2 { margin: 0 0 10px; }

/* Table */
.table {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid var(--color-border);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: var(--shadow-sm);
}
.table th, .table td {
	padding: 12px 14px;
	border-bottom: 1px solid var(--color-border);
	text-align: left;
}
.table th { background: var(--color-bg-soft); font-weight: 800; }
.table tfoot td { font-weight: 800; }

/* Forms */
.form {
	display: grid;
	gap: 12px;
}
.input {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--color-border);
	border-radius: 10px;
	outline: none;
	box-shadow: var(--shadow-sm) inset;
}
.input:focus { border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(46,125,50,.12); }

/* Footer */
.footer {
	margin-top: 40px;
	border-top: 1px solid var(--color-border);
	background: var(--color-bg-soft);
	padding: 20px 0;
	color: var(--color-muted);
}
.footer .links {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 10px;
}

/* Utilities */
.row { display: flex; gap: 10px; align-items: center; }
.space-between { display: flex; align-items: center; justify-content: space-between; }
.stack { display: grid; gap: 10px; }
.center { display: grid; place-items: center; }
.muted { color: var(--color-muted); }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 14px; }
.mt-4 { margin-top: 20px; }

.banner {
	border: 1px dashed var(--color-border);
	padding: 12px;
	border-radius: 10px;
	background: #fcfdfc;
	color: var(--color-muted);
}
