
:root {
  --bg: #f5f5f7;
  --card-bg: #ffffff;
  --text-main: #111827;
  --text-muted: #6b7280;
  --primary: #1d4ed8;
  --primary-dark: #1e40af;
  --border-soft: #e5e7eb;
  --nav-bg: #0f172a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
  background: var(--bg);
  color: var(--text-main);
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-dark);
}

header {
  background: var(--nav-bg);
  color: white;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-left img {
  height: 40px;
}

.site-title {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

nav a {
  color: #e5e7eb;
  margin-left: 14px;
  font-size: 14px;
}

nav a:hover {
  color: white;
}

main {
  max-width: 1040px;
  margin: 26px auto 32px;
  padding: 0 24px;
}

.hero {
  background: var(--card-bg);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 24px;
}

.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e5f0ff;
  color: var(--primary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

h1 {
  font-size: 28px;
  margin: 0 0 10px;
}

p {
  line-height: 1.7;
  font-size: 15px;
}

.small {
  font-size: 13px;
  color: var(--text-muted);
}

.btn-primary {
  display: inline-block;
  margin-top: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  font-size: 14px;
  font-weight: 600;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.card {
  background: var(--card-bg);
  border-radius: 16px;
  border: 1px solid var(--border-soft);
  padding: 16px;
}

section {
  margin-top: 26px;
}

section h2 {
  font-size: 22px;
  margin-bottom: 6px;
}

section small {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  color: var(--text-muted);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-top: 8px;
}

.table th,
.table td {
  border: 1px solid var(--border-soft);
  padding: 8px;
  text-align: left;
}

.table th {
  background: #f3f4f6;
}

.footer {
  padding: 18px 24px 26px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

.breadcrumb {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.page-title {
  margin-top: 0;
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  nav {
    display: flex;
    flex-wrap: wrap;
  }
}


.product-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 10px;
  border: 1px solid var(--border-soft);
}
