:root {
  --bg: #f4ede3;
  --surface: #fffaf4;
  --surface-2: #f0e3d2;
  --ink: #2d261f;
  --muted: #766b60;
  --line: #d8c9b6;
  --accent: #b08a66;
  --accent-ink: #fffdf9;
  --shadow: 0 10px 25px rgba(62, 45, 30, 0.08);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}

.container {
  width: min(1100px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 92%, white 8%);
  backdrop-filter: blur(8px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  color: inherit;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.brand-mark {
  font-size: 0.88rem;
  color: var(--accent);
}

.menu {
  display: flex;
  gap: 1rem;
}

.menu a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

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

.hero {
  padding: 5rem 0 3rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.25rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.9rem, 4.4vw, 3.2rem);
  line-height: 1.1;
}

.hero p {
  color: var(--muted);
  margin: 1rem 0 0;
}

.button {
  display: inline-block;
  margin-top: 1.5rem;
  border: none;
  border-radius: 999px;
  padding: 0.76rem 1.1rem;
  text-decoration: none;
  font-weight: 600;
  background: var(--accent);
  color: var(--accent-ink);
}

.button:hover {
  filter: brightness(0.95);
}

.button.secondary {
  background: var(--ink);
}

.hero-card {
  background: linear-gradient(145deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.hero-card p {
  margin: 0;
  color: var(--muted);
}

.hero-card strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.9rem;
  line-height: 1;
}

.hero-card span {
  display: block;
  margin-top: 0.7rem;
  color: var(--muted);
}

.filters {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 0.4rem auto 1.4rem;
}

.chip {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.48rem 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.chip.active {
  background: var(--ink);
  color: var(--surface);
}

.products-section {
  padding-bottom: 1.5rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.section-head h2 {
  margin: 0;
  font-size: 1.4rem;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.product-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

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

.card-media {
  height: 250px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 2rem;
  padding: 0;
}

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

.card-media span {
  display: block;
}

.card-body {
  padding: 0.9rem 0.95rem 1rem;
  background: var(--surface);
}

.card-brand {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
}

.card-body h3 {
  margin: 0.18rem 0 0;
  font-size: 1.5rem;
  line-height: 1.15;
  min-height: 3.3rem;
}

.card-rating {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  color: var(--accent);
  letter-spacing: 0.03em;
}

.card-description {
  margin: 0.5rem 0 0;
  color: var(--muted);
  min-height: 3.85rem;
}

.meta {
  margin-top: 0.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price {
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: -0.01em;
}

.tag {
  font-size: 0.76rem;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
}

.card-action {
  margin-top: 0.8rem;
  width: 100%;
  border: 1px solid var(--ink);
  border-radius: 10px;
  padding: 0.52rem 0.6rem;
  background: transparent;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.card-action:hover {
  background: color-mix(in srgb, var(--ink) 7%, var(--surface) 93%);
}

.about,
.contact {
  padding: 2rem 0;
}

.about h2,
.contact h2 {
  margin: 0 0 0.65rem;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.about article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  background: var(--surface);
}

.about article h3 {
  margin: 0 0 0.35rem;
}

.about article p,
.contact p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 3.8rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .menu {
    display: none;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }
}
