:root {
  --bg: #faf7f2;
  --card: #fdfdfb;
  --border: #c9d4c7;
  --text: #1e2d2a;
  --muted: #5c6b66;
  --link: #2d6a4f;
  --accent: #40916c;
  --shadow: 0 8px 24px rgba(0,0,0,0.07);
  --btn-bg: #2d6a4f;
  --btn-hover: #1e4d3a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 24px 16px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s;
}

.card:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.09);
}

.grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid { grid-template-columns: 2fr 1fr; }
}

h1, h2, h3 {
  margin-top: 0;
  margin-bottom: 20px;
  color: var(--text);
  font-weight: 700;
}

h1 { font-size: 2.2em; }
h2 { font-size: 1.8em; }

.muted { color: var(--muted); font-size: 0.95em; }

nav {
  margin: 24px 0;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

nav a {
  margin-right: 24px;
  text-decoration: none;
  color: var(--link);
  font-weight: 600;
  transition: opacity 0.2s;
}

nav a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

form label {
  display: block;
  margin: 18px 0 8px;
  font-weight: 600;
  font-size: 1em;
}

form input,
form select,
form textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 1em;
  background: #fff;
  transition: border 0.2s;
}

form input:focus,
form select:focus,
form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

form textarea { resize: vertical; }

form button {
  background: var(--btn-bg);
  color: white;
  padding: 16px 36px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: 600;
  margin-top: 24px;
  transition: background 0.2s;
}

form button:hover {
  background: var(--btn-hover);
}

.product {
  position: relative;
  border-bottom: 1px solid var(--border);
  padding-top: 40px;
  padding-bottom: 28px;
  margin-bottom: 28px;
}

.product:last-child { border-bottom: none; margin-bottom: 0; }

.product::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--accent), #74c69d);
  border-radius: 10px 10px 0 0;
}

.product-img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 20px;
  background: #fff;
  display: block;
}

details {
  margin: 16px 0;
  padding: 12px;
  background: #f0f7f4;
  border-radius: 10px;
  border: 1px solid var(--border);
}

summary {
  cursor: pointer;
  font-weight: 600;
  padding: 10px 0;
}

footer {
  text-align: center;
  padding: 40px 20px;
  font-size: 0.9em;
  color: var(--muted);
  border-top: 1px solid var(--border);
  margin-top: 50px;
}