:root {
  --ink: #1f2a24;
  --muted: #637167;
  --line: #dfe5dc;
  --paper: #fbfaf5;
  --surface: #ffffff;
  --leaf: #2f6f4e;
  --leaf-dark: #214f39;
  --marigold: #d89b2b;
  --rose: #b95548;
  --shadow: 0 18px 48px rgba(31, 42, 36, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px clamp(16px, 4vw, 48px);
  background: rgba(251, 250, 245, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 210px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: white;
  font-weight: 800;
  background: var(--leaf);
  border-radius: 50%;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.95rem;
  line-height: 1.15;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
}

.top-nav a {
  text-decoration: none;
  color: var(--muted);
}

.top-nav a:hover {
  color: var(--ink);
}

.cart-button,
.filter-pills button,
.quantity button,
.cart-head button {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.cart-button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  font-weight: 700;
}

.cart-button span {
  display: grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  color: white;
  background: var(--rose);
  border-radius: 50%;
  font-size: 0.78rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(28px, 5vw, 68px) clamp(16px, 4vw, 48px) 40px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 6vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.55rem, 3vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

p {
  color: var(--muted);
  line-height: 1.6;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 620px;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: white;
  background: var(--leaf);
}

.button.primary:hover {
  background: var(--leaf-dark);
}

.button.secondary {
  color: var(--leaf-dark);
  border: 1px solid var(--leaf);
}

.button.full {
  width: 100%;
}

.hero-media {
  min-height: 380px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-media img,
.category-card img,
.product-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0 clamp(16px, 4vw, 48px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.trust-strip div {
  padding: 18px;
  background: var(--surface);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding: 72px clamp(16px, 4vw, 48px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-heading.split {
  display: flex;
  max-width: none;
  gap: 18px;
  align-items: end;
  justify-content: space-between;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.category-card {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface);
  text-decoration: none;
}

.category-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to top, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.04));
}

.category-card span {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 1;
  color: white;
  font-size: 1.25rem;
  font-weight: 850;
}

.shop-section {
  background: #f4f6ef;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.filter-pills button {
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--muted);
  background: white;
}

.filter-pills button.active {
  color: white;
  border-color: var(--leaf);
  background: var(--leaf);
}

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

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.product-image {
  height: 210px;
  background: #e8eadf;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.product-meta {
  margin-bottom: 8px;
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.product-title-row {
  display: flex;
  gap: 12px;
  align-items: start;
  justify-content: space-between;
}

.price {
  color: var(--leaf-dark);
  font-weight: 900;
  white-space: nowrap;
}

.product-card p {
  min-height: 52px;
  margin-bottom: 14px;
  font-size: 0.92rem;
}

.product-actions {
  display: grid;
  grid-template-columns: 98px 1fr;
  gap: 10px;
  margin-top: auto;
}

.quantity {
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  height: 44px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.quantity button {
  border: 0;
  border-radius: 0;
}

.quantity input {
  width: 100%;
  border: 0;
  text-align: center;
}

.add-button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  color: white;
  background: var(--leaf);
  font-weight: 850;
  cursor: pointer;
}

.delivery-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.how-section {
  background: var(--surface);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.steps div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.steps span {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  place-items: center;
  color: white;
  background: var(--marigold);
  border-radius: 50%;
  font-weight: 900;
}

.steps strong {
  display: block;
  margin-bottom: 6px;
}

.steps p {
  margin-bottom: 0;
}

.content-band {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(24px, 5vw, 80px);
  padding: 72px clamp(16px, 4vw, 48px);
  background: var(--leaf-dark);
}

.content-band h2,
.content-band p {
  color: white;
}

.content-band .eyebrow {
  color: #f2cf88;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 1px;
  background: var(--line);
}

.info-grid article {
  min-height: 270px;
  padding: 28px;
  background: var(--surface);
}

.info-grid a {
  color: var(--leaf-dark);
  font-weight: 800;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  justify-content: flex-end;
  background: rgba(31, 42, 36, 0.48);
}

.cart-drawer.open {
  display: flex;
}

.cart-panel {
  display: flex;
  width: min(100%, 430px);
  height: 100%;
  flex-direction: column;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.cart-head h2 {
  margin: 0;
  font-size: 1.25rem;
}

.cart-head button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.5rem;
}

.cart-items {
  flex: 1;
  overflow: auto;
  padding: 12px 18px;
}

.cart-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-line strong,
.cart-line span {
  display: block;
}

.cart-line span {
  color: var(--muted);
  font-size: 0.9rem;
}

.cart-line button {
  margin-top: 8px;
  padding: 0;
  border: 0;
  color: var(--rose);
  background: transparent;
  cursor: pointer;
}

.cart-footer {
  padding: 18px;
  border-top: 1px solid var(--line);
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.cart-footer p {
  font-size: 0.86rem;
}

@media (max-width: 1080px) {
  .product-grid,
  .category-grid,
  .steps,
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}

@media (max-width: 780px) {
  .site-header {
    align-items: flex-start;
  }

  .top-nav {
    display: none;
  }

  .brand {
    min-width: 0;
  }

  .hero {
    padding-top: 26px;
  }

  h1 {
    font-size: 2.55rem;
  }

  .hero-media {
    min-height: 300px;
  }

  .trust-strip,
  .product-grid,
  .category-grid,
  .steps,
  .content-band,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .section-heading.split {
    display: block;
  }

  .filter-pills {
    justify-content: flex-start;
    margin-top: 14px;
  }

  .section {
    padding-top: 52px;
    padding-bottom: 52px;
  }
}
