:root {
  color-scheme: light;
  --bg: #f7f8f5;
  --surface: #ffffff;
  --text: #17211c;
  --muted: #647067;
  --line: #dfe5dd;
  --accent: #0f766e;
  --accent-dark: #115e59;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

a:hover {
  text-decoration: underline;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text);
  margin-right: auto;
}

.page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 36px 24px 64px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
  gap: 36px;
  align-items: center;
  padding: 42px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  margin: 0 0 16px;
}

h2,
h3 {
  margin: 0 0 10px;
}

.lead {
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.6;
  margin: 0;
}

.eyebrow,
.muted {
  color: var(--muted);
  margin: 0 0 8px;
}

.eyebrow {
  font-weight: 700;
  text-transform: uppercase;
  font-size: .78rem;
}

.search-form {
  display: grid;
  gap: 10px;
}

.search-form label {
  font-weight: 700;
}

.search-row {
  display: flex;
  gap: 10px;
}

input[type="search"] {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 1rem;
}

button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
}

.button:hover,
button:hover {
  background: var(--accent-dark);
  text-decoration: none;
}

.section {
  margin-top: 42px;
}

.section.compact {
  margin-top: 0;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.product-card,
.list-item,
.pack-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}

.product-card p:last-child,
.list-item p:last-child {
  color: var(--muted);
  margin-bottom: 0;
  line-height: 1.5;
}

.product-list {
  display: grid;
  gap: 14px;
}

.list-item {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.meta-pills span {
  border: 1px solid var(--line);
  background: #eef5f1;
  color: #24433a;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: .88rem;
  white-space: nowrap;
}

.product-detail {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-start;
}

.product-image {
  max-width: 240px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.pack-block {
  margin-top: 16px;
}

.pack-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

.pack-heading h3 {
  color: var(--text);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

th,
td {
  padding: 13px 10px;
  border-top: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

th {
  color: var(--muted);
  font-size: .9rem;
}

.empty {
  background: #fff8e6;
  border: 1px solid #f0dc9c;
  border-radius: 8px;
  padding: 16px;
  color: #68521a;
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .search-row,
  .list-item,
  .product-detail,
  .pack-heading {
    flex-direction: column;
  }

  button {
    width: 100%;
  }
}
