* { box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f7f8fa;
  color: #1a1a1a;
  margin: 0;
  padding: 0 20px 60px;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
}

header.page {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 24px 0 16px;
  flex-wrap: wrap;
  gap: 10px;
}

header.page h1 {
  color: #21804a;
  margin: 0;
  font-size: 22px;
}

header.page .meta {
  color: #777;
  font-size: 13px;
}

a { color: #1a5fb4; text-decoration: none; }
a:hover { text-decoration: underline; }

.filters {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.filters a {
  padding: 5px 12px;
  border-radius: 999px;
  background: white;
  border: 1px solid #ddd;
  color: #444;
  font-size: 13px;
}

.filters a.active {
  background: #21804a;
  border-color: #21804a;
  color: white;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

th, td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

th {
  background: #fafafa;
  color: #666;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

tr:last-child td { border-bottom: none; }
tr:hover td { background: #fbfdfc; }

.price { font-weight: 700; }
.was-price { color: #999; text-decoration: line-through; font-size: 12px; margin-left: 6px; }

.badge-sale {
  display: inline-block;
  background: #fde8e8;
  color: #b3261e;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
}

.badge-unverified {
  display: inline-block;
  background: #fff3cd;
  color: #8a6400;
  font-size: 10px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 6px;
}

.site-tag {
  color: #777;
  font-size: 12px;
}

.ext-link {
  font-size: 12px;
  color: #999;
}

.card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  padding: 20px;
  margin-bottom: 20px;
}

.back-link {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 13px;
  color: #666;
}

.product-header h1 {
  font-size: 20px;
  margin: 0 0 4px;
}

.product-header .sub {
  color: #777;
  font-size: 13px;
  margin-bottom: 14px;
}

.stat-row {
  display: flex;
  gap: 30px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.stat {
  min-width: 100px;
}

.stat .label {
  font-size: 11px;
  text-transform: uppercase;
  color: #999;
  letter-spacing: 0.03em;
}

.stat .value {
  font-size: 22px;
  font-weight: 700;
}

.empty {
  text-align: center;
  color: #999;
  padding: 60px 20px;
}
