:root{
  --accent:#2b8a3e;
  --muted:#8b7355;
  --cream:#f5f1ed;
  --dark-text:#3d3d3d;
  --border-color:#ddd;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Georgia', 'Garamond', serif;
  margin: 0;
  color: var(--dark-text);
  background-color: #faf8f5;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--dark-text);
}

h2 {
  font-size: 2rem;
  margin-bottom: 24px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 12px;
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.header {
  background: linear-gradient(135deg, #0b5b2f 0%, #2b8a3e 100%);
  color: white;
  padding: 24px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.header img {
  display: block;
  margin-bottom: 12px;
}

.container {
  max-width: 1100px;
  margin: 20px auto;
  padding: 0 24px;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
  background: white;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.card .body {
  padding: 18px;
}

.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 4px;
  text-decoration: none;
  background: var(--accent);
  color: white;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  font-family: 'Georgia', serif;
}

.btn:hover {
  background: #1f6b2e;
}

.small {
  font-size: 0.95rem;
  color: var(--muted);
  font-style: italic;
}

.header .brand {
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: 1px;
  font-family: 'Georgia', serif;
}

.header .nav {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.header a {
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: opacity 0.2s;
}

.header a:hover {
  opacity: 0.8;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.search {
  padding: 10px 12px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.3);
  width: 100%;
  max-width: 300px;
  font-family: 'Georgia', serif;
  background: rgba(255,255,255,0.95);
  color: var(--dark-text);
}

.search::placeholder {
  color: var(--muted);
}

.footer {
  background: var(--cream);
  padding: 32px 24px;
  margin-top: 48px;
  border-top: 2px solid var(--accent);
}

.footer .brand {
  font-family: 'Georgia', serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.inline {
  display: inline-block;
}

.cart-bubble {
  background: white;
  color: var(--dark-text);
  padding: 6px 10px;
  border-radius: 999px;
  margin-left: 8px;
  font-weight: 600;
}

.badge {
  background: #e8dfd5;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--muted);
}

.section-title {
  text-align: center;
  margin: 32px 0 24px;
  font-size: 1.1rem;
  color: var(--muted);
  font-style: italic;
}

.hero-section {
  background: linear-gradient(135deg, #f5f1ed 0%, #e8dfd5 100%);
  padding: 40px 24px;
  border-radius: 8px;
  text-align: center;
  margin: 32px 0;
}

.hero-section h2 {
  border: none;
  padding: 0;
}

.color-palette {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 24px 0;
}

.color-swatch {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 12px;
  color: white;
  font-weight: 600;
  font-size: 0.85rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 24px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  margin: 24px 0;
}

table th, table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

table th {
  background: var(--cream);
  font-weight: 600;
  color: var(--dark-text);
  font-family: 'Georgia', serif;
}

table tr:hover {
  background: #faf8f5;
}

input[type="text"],
input[type="email"],
input[type="number"],
textarea {
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: 'Georgia', serif;
  font-size: 0.95rem;
  width: 100%;
  margin-bottom: 12px;
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--dark-text);
}

@media(max-width: 900px) {
  .grid.cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .topbar {
    flex-direction: column;
  }
}

@media(max-width: 600px) {
  .grid.cols-3,
  .grid.cols-2 {
    grid-template-columns: 1fr;
  }
  h2 {
    font-size: 1.5rem;
  }
  .header .brand {
    font-size: 1.4rem;
  }
}
