<style>
:root {
  --bg: #f2f2f2;
  --card: #fff;
  --accent: #ff3d00;
  --text: #222;
  --muted: #777;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: var(--bg);
  color: var(--text);
}

.header {
  background: #fff;
  border-bottom: 1px solid #ddd;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.lang a {
  margin-left: 12px;
  font-size: 13px;
  text-decoration: none;
  color: #777;
}

.lang a.active {
  color: #000;
  font-weight: 600;
  border-bottom: 2px solid #ff3d00;
  padding-bottom: 2px;
}

.container {
  padding: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.card {
  background: var(--card);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
}

.card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #eee;
}

.card .info {
  padding: 10px;
  flex: 1;
}

.card .title {
  font-size: 13px;
  line-height: 1.3;
  height: 34px;
  overflow: hidden;
}

.card .price {
  margin-top: 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
}

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

.buy {
  background: var(--accent);
  color: #fff;
  text-align: center;
  padding: 8px;
  font-size: 13px;
}

.footer {
  margin-top: 48px;
  padding: 24px 16px;
  border-top: 1px solid #ddd;
  text-align: center;
  font-size: 14px;
}

.footer a {
  color: #0088cc;
  text-decoration: none;
  font-weight: 500;
}

.footer a:hover {
  text-decoration: underline;
}

</style>
