:root {
  --ink: #1a2118;
  --muted: #5c6756;
  --paper: #eef1ea;
  --panel: #f7f8f4;
  --line: #d4d9ce;
  --pine: #2f4a35;
  --pine-deep: #1e3324;
  --signal: #c45c26;
  --glow: rgba(47, 74, 53, 0.12);
  --font-display: "Syne", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --radius: 4px;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, var(--glow), transparent 60%),
    linear-gradient(180deg, #f4f6f1 0%, var(--paper) 40%, #e8ece3 100%);
  font-family: var(--font-body);
  line-height: 1.55;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--pine);
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand span {
  color: var(--pine);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  font-size: 0.92rem;
}

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

.nav a:hover,
.nav a.is-active {
  color: var(--ink);
}

.hero {
  padding: 3.5rem 0 2.75rem;
  animation: rise 0.7s ease both;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin: 0 0 0.85rem;
  max-width: 12ch;
}

.hero p {
  margin: 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0.7rem 1.1rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-primary {
  background: var(--pine);
  color: #f4f7f1;
}

.btn-primary:hover {
  background: var(--pine-deep);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.25rem 0 1.5rem;
  animation: rise 0.8s ease both;
}

.chip {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.88rem;
  text-decoration: none;
}

.chip:hover,
.chip.is-active {
  border-color: var(--pine);
  color: var(--pine-deep);
  background: #e5ebe3;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.1rem;
  padding-bottom: 3rem;
}

.product {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: rise 0.85s ease both;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.product:hover {
  border-color: #b7c2ae;
  box-shadow: 0 10px 28px rgba(26, 33, 24, 0.06);
}

.product-media {
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(145deg, #d7ddd2, #c5cebd 45%, #aeb8a4);
  display: grid;
  place-items: center;
  color: var(--pine-deep);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-body {
  padding: 1rem 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.product-category {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.product h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.2;
}

.product h2 a {
  text-decoration: none;
}

.product p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-meta {
  margin-top: auto;
  padding-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.price {
  font-weight: 700;
  color: var(--pine-deep);
}

.detail {
  display: grid;
  gap: 1.75rem;
  padding: 2rem 0 3rem;
  animation: rise 0.7s ease both;
}

@media (min-width: 860px) {
  .detail {
    grid-template-columns: 1.1fr 1fr;
    align-items: start;
  }
}

.detail-media {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, #d7ddd2, #c5cebd 45%, #aeb8a4);
  overflow: hidden;
}

.detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0.35rem 0 0.75rem;
}

.detail-copy p {
  color: var(--muted);
}

.related {
  padding: 0 0 3.5rem;
}

.related h2 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.disclosure {
  margin-top: 0.35rem;
  font-size: 0.82rem;
}

.empty {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  color: var(--muted);
  background: var(--panel);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
