:root {
  --bg: #15120E;
  --surface: #1F1A13;
  --surface-raised: #26201700;
  --card: #1C1712;
  --card-photo-bg: #EFE9DC;
  --text: #F3EEE3;
  --text-dim: #A99C87;
  --text-faint: #766B5A;
  --brass: #C68A3D;
  --brass-light: #E0AE68;
  --teal: #4FA69C;
  --border: #322A1F;
  --radius: 14px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Manrope', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(21, 18, 14, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 34px;
  width: auto;
  display: block;
}

.brand-filter {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  flex: 1;
  scrollbar-width: none;
}

.brand-filter::-webkit-scrollbar { display: none; }

.filter-pill {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 16px;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}

.filter-pill:hover {
  border-color: var(--text-faint);
  color: var(--text);
}

.filter-pill.is-active {
  background: var(--brass);
  border-color: var(--brass);
  color: #1A1208;
}

.whatsapp-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  border: 1px solid var(--teal);
  border-radius: 999px;
  padding: 9px 18px;
  flex-shrink: 0;
  transition: background .15s ease, color .15s ease;
}

.whatsapp-link:hover {
  background: var(--teal);
  color: #0C1F1D;
}

/* Hero */

.hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--border);
}

.hero-inner { max-width: 720px; }

.hero-kicker {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--brass-light);
  margin: 0 0 14px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 20px;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 58ch;
  margin: 0;
}

/* Catalog */

.catalog { padding: 48px 0 80px; }

.loading-msg, .empty-msg {
  color: var(--text-dim);
  font-size: 15px;
  padding: 40px 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .15s ease;
}

.product-card:hover { border-color: var(--text-faint); }

.product-photo {
  background: var(--card-photo-bg);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.product-photo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.product-brand {
  font-size: 12px;
  font-weight: 600;
  color: var(--brass-light);
}

.product-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}

.product-desc {
  font-size: 13px;
  color: var(--text-dim);
  margin: 0;
  flex: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  gap: 12px;
}

.product-price {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--brass-light);
}

.product-buy {
  font-size: 13px;
  font-weight: 600;
  color: var(--bg);
  background: var(--teal);
  border-radius: 999px;
  padding: 9px 16px;
  white-space: nowrap;
  transition: background .15s ease;
}

.product-buy:hover { background: #63b9af; }

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0 0 4px;
}

.footer-note {
  font-size: 13px;
  color: var(--text-faint);
  margin: 0;
}

.footer-note a:hover { color: var(--text-dim); text-decoration: underline; }

.footer-links {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--text-dim);
}

.footer-links a:hover { color: var(--text); }

@media (max-width: 640px) {
  .header-inner { flex-wrap: wrap; }
  .brand-filter { order: 3; width: 100%; }
  .hero { padding: 48px 0 40px; }
}
