:root {
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
  color: #24362e;
  background: #f4f3ed;
  line-height: 1.6;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  padding: 20px max(20px, calc((100% - 1000px) / 2));
  background: #193e31;
  color: #fff;
  display: flex;
  gap: 24px;
  align-items: center;
}
header a {
  font-size: 26px;
  letter-spacing: 2px;
  color: inherit;
  text-decoration: none;
  font-weight: 750;
}
header span {
  font-size: 13px;
  opacity: 0.75;
}
main {
  max-width: 1000px;
  margin: 32px auto;
  padding: 0 20px 48px;
}
h1 {
  font-size: clamp(26px, 5vw, 40px);
  line-height: 1.25;
}
h2 {
  font-size: 19px;
}
a {
  color: #286246;
  overflow-wrap: anywhere;
}
nav {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 25px;
}
button,
.button {
  background: #21523d;
  color: white;
  border: 0;
  border-radius: 7px;
  padding: 11px 18px;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
label {
  display: block;
  margin: 15px 0;
  font-weight: 600;
}
input,
textarea,
select {
  display: block;
  width: 100%;
  margin-top: 5px;
  padding: 11px;
  border: 1px solid #bcc6bf;
  border-radius: 6px;
  font: inherit;
  background: white;
  color: #24362e;
}
textarea {
  min-height: 110px;
}
input[type="checkbox"] {
  display: inline;
  width: auto;
}
form {
  max-width: 660px;
}
.card,
article {
  background: #fff;
  border: 1px solid #dde2d9;
  border-radius: 12px;
  padding: 22px;
  margin: 18px 0;
  overflow-wrap: anywhere;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 16px;
}
.grid .card {
  margin: 0;
}
.badge {
  background: #e4efdf;
  display: inline-block;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 14px;
}
.note,
.eyebrow {
  color: #69776e;
  font-size: 14px;
}
.text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.garment {
  max-width: 680px;
  margin: auto;
}
.image {
  background: #eeeee8;
  border-radius: 10px;
  overflow: hidden;
  min-height: 220px;
}
.image img {
  width: 100%;
  max-height: 540px;
  object-fit: contain;
  display: block;
}
.placeholder {
  padding: 80px 20px;
  text-align: center;
  color: #69776e;
}
[hidden] {
  display: none !important;
}
#message {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-weight: 600;
  color: #a14720;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 13px;
  background: #f4f3ed;
  padding: 15px;
}
details {
  margin: 18px 0;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.pagination {
  margin: 22px 0;
  display: flex;
  gap: 15px;
  align-items: center;
}
.danger {
  background: #8a382d;
}
