:root {
  --brand-red: #b5292b;
  --brand-dark: #1c1c1c;
  --brand-cream: #f6f2ea;
  --brand-green: #2a5f52;
  --gold: #c9a24a;
  --radius: 14px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  background: var(--brand-cream);
  color: var(--brand-dark);
}

header.site-header {
  background: #fff;
  border-bottom: 1px solid #e6ddcb;
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--brand-red);
  text-decoration: none;
}
.logo .dot {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand-red);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.9rem;
}

nav.main-nav { display: flex; gap: 22px; }
nav.main-nav a {
  text-decoration: none;
  color: var(--brand-dark);
  font-weight: 500;
  font-size: 0.95rem;
}
nav.main-nav a:hover { color: var(--brand-red); }

.hero {
  max-width: 1200px;
  margin: 40px auto 10px;
  padding: 0 24px;
  text-align: center;
}
.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 8px;
  color: var(--brand-green);
}
.hero p { color: #555; max-width: 640px; margin: 0 auto; }
.hero .underline {
  width: 90px; height: 3px; background: var(--gold);
  margin: 16px auto 0; border-radius: 2px;
}

.category-tabs {
  max-width: 1200px;
  margin: 30px auto 10px;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.category-tabs a {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid #ddd0b0;
  text-decoration: none;
  color: var(--brand-dark);
  font-size: 0.9rem;
  background: #fff;
}
.category-tabs a.active,
.category-tabs a:hover {
  background: var(--brand-green);
  color: #fff;
  border-color: var(--brand-green);
}

.grid {
  max-width: 1200px;
  margin: 30px auto 60px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 22px;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0,0,0,0.1); }

.card .thumb {
  height: 170px;
  background: linear-gradient(135deg, #ece3cf, #d9cba4);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-dark);
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
  padding: 10px;
}
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }

.card .body { padding: 16px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.card .badge {
  align-self: flex-start;
  background: var(--brand-red);
  color: #fff;
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.card h3 { margin: 0 0 4px; font-size: 1.15rem; }
.card .subtitulo { color: #a08a3f; font-size: 0.85rem; margin-bottom: 8px; }
.card p.desc { color: #666; font-size: 0.87rem; line-height: 1.4; flex: 1; }

.specs { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.specs span {
  font-size: 0.72rem;
  background: #f1ece0;
  padding: 4px 8px;
  border-radius: 6px;
  color: #555;
}

.price-list { margin-top: 8px; border-top: 1px dashed #e2d6b8; padding-top: 10px; }
.price-list div { display: flex; justify-content: space-between; font-size: 0.88rem; padding: 2px 0; }
.price-list .tam { color: #444; }
.price-list .val { font-weight: 600; color: var(--brand-green); }
.price-list small { color: #999; }

.section-title {
  max-width: 1200px;
  margin: 50px auto 8px;
  padding: 0 24px;
}
.section-title h2 { color: var(--brand-green); margin-bottom: 2px; }
.section-title p { color: #666; font-size: 0.92rem; }

.fabric-grid {
  max-width: 1200px;
  margin: 20px auto 60px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}
.fabric-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  text-align: center;
  padding-bottom: 10px;
}
.fabric-swatch { height: 90px; width: 100%; }
.fabric-card strong { display: block; margin-top: 8px; font-size: 0.85rem; }
.fabric-card span.tipo { font-size: 0.7rem; color: #999; }

footer {
  background: var(--brand-dark);
  color: #ddd;
  padding: 30px 24px;
  text-align: center;
  font-size: 0.85rem;
}
footer a { color: var(--gold); }

.whatsapp-fab {
  position: fixed;
  bottom: 22px; right: 22px;
  background: #25D366;
  color: #fff;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  z-index: 60;
}

@media (max-width: 640px) {
  nav.main-nav { display: none; }
  .hero h1 { font-size: 1.6rem; }
}
