:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f6f7f9;
  color: #17202a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
}

.nav,
.actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

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

.eyebrow {
  margin: 0 0 8px;
  color: #367267;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0 0 16px;
}

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

.product,
.cart,
.form,
pre {
  background: #ffffff;
  border: 1px solid #d9dee6;
  border-radius: 8px;
  padding: 16px;
}

.product {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.product-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  background: #edf0f4;
}

button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 0 16px;
  background: #1d6f8f;
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

button:hover {
  background: #155c78;
}

button.secondary {
  background: #367267;
}

button.secondary:hover {
  background: #28584f;
}

section {
  margin-bottom: 32px;
}

.form {
  display: grid;
  gap: 14px;
  max-width: 640px;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

input {
  min-height: 42px;
  border: 1px solid #c8d0da;
  border-radius: 8px;
  padding: 0 12px;
  font: inherit;
}

.cart-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #edf0f4;
  padding: 8px 0;
}

.cart-line:last-child {
  border-bottom: 0;
}

.cart-total {
  margin-top: 12px;
  font-size: 18px;
}

.orders {
  display: grid;
  gap: 12px;
}

.order {
  background: #ffffff;
  border: 1px solid #d9dee6;
  border-radius: 8px;
  padding: 16px;
}

.order-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.status {
  border-radius: 8px;
  padding: 4px 8px;
  background: #e7f4ef;
  color: #245c50;
  font-size: 14px;
  font-weight: 700;
}

pre {
  overflow: auto;
  white-space: pre-wrap;
}
