:root {
  --accent: #2b9348;
  --muted: #6b7280;
  --bg: #f7faf7;
  --card: #ffffff;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: #0f172a;
  line-height: 1.5;
}

header {
  background: linear-gradient(90deg, #2b9348, #166534);
  color: #fff;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.vitri {
  background: rgba(255, 255, 255, 0.15);
  padding: 10px;
  border-radius: 8px;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 15px;
  font-weight: 600;
}

.noidung {
  max-width: 1100px;
  margin: 24px auto;
  padding: 0 16px;
}

.modau {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  background: var(--card);
  padding: 24px;
  border-radius: 10px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
}

.bentrai { flex: 1 1 300px; }
.benphai { flex: 1 1 200px; text-align: center; font-size: 60px; }

h1 {
  color: var(--accent);
  margin-bottom: 8px;
}

h2 {
  color: var(--accent);
  margin-top: 30px;
  margin-bottom: 10px;
}

.camket { color: var(--muted); }

.lienhe {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}
.card  img {
    max-width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 5px;
}

.card h3 {
    color: #333;
    margin: 10px 0 5px;
}
.card  button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    border-radius: 3px;
    transition: background-color 0.2s;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.card {
  background: var(--card);
  padding: 14px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.price {
  color: var(--accent);
  font-weight: bold;
  margin-top: 8px;
}

}
footer{
  text-align: center;
  margin-top: 30px;
  padding: 16px;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid #e5e7eb;
  justify-content: center;
}

@media (max-width: 640px) {
  header { flex-direction: column; align-items: flex-start; }
  nav a { margin: 5px 8px 0 0; display: inline-block; }
}