:root{
  --ink: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --bg: #f8fafc;
  --card-bg: #ffffff;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --badge: #ea580c;
  --price-green: #16a34a;
  --font-display: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

*{ box-sizing: border-box; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

.wrap{
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header{
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.header-inner{
  padding: 16px 20px;
}
.logo{
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
}
.logo strong{
  font-weight: 800;
  color: var(--accent);
}

/* Hero */
.hero{
  padding: 44px 20px 32px;
  text-align: center;
}
.hero h1{
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--ink);
}
.hero p{
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Products grid — cards menores, mais por linha */
.products{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  padding: 4px 0 56px;
}

.product-card{
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.product-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 20px -6px rgba(0,0,0,0.08), 0 6px 8px -6px rgba(0,0,0,0.05);
  border-color: #d1d5db;
}

.product-media{
  position: relative;
  aspect-ratio: 1 / 1;
  background: #f1f5f9;
}
.product-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-badge{
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--badge);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 3px 8px;
  border-radius: 9999px;
}

.product-body{
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-body h2{
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  margin: 0 0 5px;
  color: var(--ink);
  line-height: 1.3;
}
.product-lang{
  font-weight: 400;
  color: var(--muted);
  font-size: 0.85em;
}
.product-desc{
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.45;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-footer{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.product-price{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--price-green);
}
.product-price-label{
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.62rem;
  color: var(--muted);
}
.product-cta{
  font-weight: 600;
  font-size: 0.72rem;
  color: var(--accent);
  white-space: nowrap;
}
.product-card:hover .product-cta{
  color: var(--accent-dark);
}

/* Footer */
.site-footer{
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 24px 20px;
  text-align: center;
}
.site-footer p{
  margin: 0 0 4px;
  font-size: 0.85rem;
  color: var(--ink);
}
.footer-muted{
  color: var(--muted) !important;
  font-size: 0.78rem !important;
}

@media (max-width: 480px){
  .hero{ padding: 34px 20px 26px; }
  .products{ grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-body{ padding: 10px 10px 12px; }
  .product-body h2{ font-size: 0.8rem; }
  .product-price{ font-size: 0.85rem; }
}
