:root {
  --bg: #faf8f5;
  --surface: #ffffff;
  --ink: #1a1714;
  --muted: #7c736a;
  --line: #e8e1d8;
  --accent: #b3552f;
  --accent-dark: #8f3f20;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(26, 23, 20, 0.04), 0 12px 30px rgba(26, 23, 20, 0.06);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.container { width: min(1120px, 92vw); margin: 0 auto; }

a { color: inherit; text-decoration: none; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 245, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  font-weight: 800;
}
.brand-name { font-weight: 700; font-size: 1.1rem; letter-spacing: -0.01em; }
.brand-name em { font-style: normal; color: var(--accent); }
.nav { display: flex; gap: 26px; font-weight: 500; font-size: 0.95rem; }
.nav a { color: var(--muted); transition: color 0.15s; }
.nav a:hover { color: var(--ink); }

/* Hero */
.hero { padding: 84px 0 64px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 18px;
}
.hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.hero-sub { max-width: 460px; color: var(--muted); font-size: 1.1rem; margin: 22px 0 30px; }

.btn {
  display: inline-block;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  border-radius: 999px;
  transition: transform 0.12s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-hero {
  background: var(--ink);
  color: #fff;
  padding: 14px 26px;
  font-size: 1rem;
}
.btn-hero:hover { background: #000; }

/* Section heads */
.section-head { text-align: center; margin: 22px 0 38px; }
.section-head h2 { font-size: 2rem; letter-spacing: -0.02em; margin: 0 0 6px; }
.section-head p { color: var(--muted); margin: 0; }

/* Product grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 26px;
  padding-bottom: 70px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(26,23,20,0.12); }
.card-media {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  font-size: 3.4rem;
}
.card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.card-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 6px;
}
.card h3 { margin: 0 0 6px; font-size: 1.12rem; letter-spacing: -0.01em; }
.card-desc { margin: 0 0 16px; color: var(--muted); font-size: 0.92rem; flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font-weight: 700; font-size: 1.2rem; }
.btn-pay {
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  font-size: 0.92rem;
  white-space: nowrap;
}
.btn-pay:hover { background: var(--accent-dark); }

/* About band */
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-inner { padding: 66px 0; max-width: 640px; }
.about-inner h2 { font-size: 1.8rem; letter-spacing: -0.02em; margin: 0 0 14px; }
.about-inner p { color: var(--muted); font-size: 1.08rem; margin: 0; }

/* Footer */
.site-footer { padding: 48px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.muted { color: var(--muted); font-size: 0.9rem; }
.muted p { margin: 4px 0; }

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: #fff;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 100;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 600px) {
  .nav { display: none; }
  .hero { padding: 56px 0 44px; }
}
