:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --text: #1a1d23;
  --muted: #5c6573;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.55; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; display: block; }

.container { width: min(1120px, 92vw); margin: 0 auto; }
.section { padding: 3rem 0; }
.section-title { font-size: 1.5rem; margin: 0 0 1.25rem; }

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1rem;
}
.logo { font-weight: 700; font-size: 1.35rem; color: var(--text); }
.logo span { color: var(--accent); }
.nav { display: flex; gap: 1.25rem; flex-wrap: wrap; align-items: center; }
.nav a { color: var(--muted); font-weight: 500; }
.nav a:hover { color: var(--text); }
.badge {
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  margin-left: 0.25rem;
}

.hero {
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 55%, #fff 100%);
  padding: 3.5rem 0 4rem;
}
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; color: var(--muted); }
.hero h1 { font-size: clamp(1.75rem, 4vw, 2.6rem); margin: 0.4rem 0 0.75rem; max-width: 16ch; }
.lead { color: var(--muted); max-width: 52ch; margin-bottom: 1.5rem; }

.btn {
  display: inline-block;
  padding: 0.7rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: #fff !important; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline { border-color: var(--border); background: var(--surface); color: var(--text) !important; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease;
}
.product-card:hover { transform: translateY(-2px); }
.product-card .thumb {
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, #e2e8f0, #f1f5f9);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.85rem;
}
.product-card .body { padding: 1rem; }
.product-card h3 { margin: 0 0 0.35rem; font-size: 1rem; }
.price { font-weight: 700; font-size: 1.1rem; }
.price-old { color: var(--muted); text-decoration: line-through; font-size: 0.9rem; margin-left: 0.35rem; font-weight: 400; }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.features article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.features h3 { margin: 0 0 0.5rem; font-size: 1rem; }
.features p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 2.5rem 0 1.5rem;
  margin-top: 2rem;
}
.site-footer a { color: #93c5fd; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1rem;
}
.copyright { font-size: 0.85rem; color: #64748b; margin: 0; padding-bottom: 1rem; }
.muted { color: #94a3b8; font-size: 0.9rem; }

.page-title { margin: 2rem 0 1rem; }
.filters { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.filters button {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  color: var(--muted);
}
.filters button.active { border-color: var(--accent); color: var(--accent); background: #eff6ff; }

.cart-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.cart-table th, .cart-table td { padding: 0.85rem 1rem; border-bottom: 1px solid var(--border); text-align: left; }
.cart-empty { text-align: center; padding: 3rem; color: var(--muted); }

.prose { max-width: 70ch; }
.prose h2 { margin-top: 2rem; }

@media (max-width: 640px) {
  .nav { font-size: 0.9rem; gap: 0.75rem; }
}
