:root {
  --bg: #0a0e17;
  --bg-alt: #10151f;
  --card: #161c28;
  --text: #f4f6f8;
  --text-dim: #97a2b3;
  --accent: #d4a72c;
  --accent-2: #f4cf65;
  --border: rgba(212,167,44,0.16);
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f7f7f5;
    --bg-alt: #ffffff;
    --card: #ffffff;
    --text: #14181d;
    --text-dim: #5a6672;
    --accent: #b8860b;
    --accent-2: #8a6d0f;
    --border: rgba(0,0,0,0.08);
  }
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans Myanmar", sans-serif;
  scroll-behavior: smooth;
}
a { color: inherit; text-decoration: none; }
.container { max-width: 960px; margin: 0 auto; padding: 0 20px; }

header.site {
  position: sticky; top: 0; z-index: 10;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
header.site .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
header.site nav { display: flex; gap: 20px; font-size: 0.9rem; color: var(--text-dim); }
header.site nav a:hover { color: var(--accent); }
header.site nav a.active { color: var(--accent); }

.hero {
  text-align: center;
  padding: 72px 20px 56px;
  background: radial-gradient(ellipse at top, rgba(212,167,44,0.14), transparent 60%);
}
.hero.small { padding: 44px 20px 40px; }
.hero-logo {
  width: 110px; height: 110px; border-radius: 22px;
  margin-bottom: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}
.badge {
  display: inline-block;
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent-2);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
h1 {
  font-size: clamp(2rem, 6vw, 3.2rem);
  margin: 0 0 14px;
  line-height: 1.15;
}
h1 span {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p {
  color: var(--text-dim);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 30px;
  line-height: 1.65;
}
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px;
  font-weight: 600; font-size: 0.95rem;
  border: 1px solid var(--border);
  transition: transform 0.15s ease, opacity 0.15s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: linear-gradient(120deg, var(--accent), var(--accent-2)); color: #10151f; border-color: transparent; }
.btn.secondary { background: var(--card); color: var(--text); }

section { padding: 56px 0; border-top: 1px solid var(--border); }
section h2 {
  font-size: 1.5rem; margin: 0 0 8px; text-align: center;
}
section .lead {
  text-align: center; color: var(--text-dim); margin: 0 0 36px; font-size: 0.95rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 18px;
  text-align: center;
}
.card .icon { font-size: 1.8rem; margin-bottom: 10px; }
.card h3 { font-size: 1rem; margin: 0 0 6px; }
.card p { font-size: 0.85rem; color: var(--text-dim); margin: 0; line-height: 1.5; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  display: flex; align-items: center; gap: 14px;
}
.contact-card .icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(212,167,44,0.14);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.contact-card h4 { margin: 0 0 3px; font-size: 0.95rem; }
.contact-card p { margin: 0; color: var(--text-dim); font-size: 0.85rem; }

.map-wrap {
  border-radius: 14px; overflow: hidden; border: 1px solid var(--border);
  margin-top: 24px;
}
.map-wrap iframe { width: 100%; height: 320px; border: 0; display: block; }

footer {
  text-align: center; padding: 28px 20px;
  color: var(--text-dim); font-size: 0.8rem;
  border-top: 1px solid var(--border);
}

/* Catalog page */
.search-box {
  max-width: 480px; margin: 0 auto 36px;
  display: flex; align-items: center; gap: 10px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 12px 16px;
}
.search-box input {
  flex: 1; border: 0; background: transparent; color: var(--text);
  font-size: 0.95rem; outline: none;
  font-family: inherit;
}
.search-box input::placeholder { color: var(--text-dim); }

.category-group {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
}
.category-group summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  display: flex; align-items: center; gap: 12px;
  font-weight: 600;
}
.category-group summary::-webkit-details-marker { display: none; }
.category-group summary .icon { font-size: 1.3rem; }
.category-group summary .count {
  margin-left: auto;
  font-weight: 500; font-size: 0.8rem; color: var(--text-dim);
  background: var(--bg-alt); border: 1px solid var(--border);
  padding: 3px 10px; border-radius: 999px;
}
.category-group summary .chevron { transition: transform 0.2s ease; color: var(--text-dim); }
.category-group[open] summary .chevron { transform: rotate(90deg); }

.chip-list {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 4px 20px 20px;
}
.chip {
  font-size: 0.82rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 6px 12px;
  border-radius: 999px;
}

.state-msg {
  text-align: center; color: var(--text-dim);
  padding: 40px 20px; font-size: 0.9rem;
}

.category-group.detailed summary .icon { color: var(--accent); }

.model-list { padding: 4px 20px 20px; }
.model-block { margin-bottom: 20px; }
.model-block:last-child { margin-bottom: 0; }
.model-heading {
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.03em;
  color: var(--accent); text-transform: uppercase;
  margin: 0 0 10px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}
.product-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
}
.product-photo {
  width: 100%; height: 60px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; opacity: 0.35;
  background: var(--card);
  border-radius: 8px;
  margin-bottom: 8px;
}
.product-name { font-size: 0.82rem; margin-bottom: 4px; line-height: 1.35; }
.product-price { font-size: 0.85rem; font-weight: 700; color: var(--accent); margin-bottom: 6px; }
.product-card.out-of-stock { opacity: 0.55; }

.stock-badge {
  display: inline-block;
  font-size: 0.72rem; font-weight: 600;
  padding: 3px 9px; border-radius: 999px;
}
.stock-badge.in-stock { background: rgba(34,197,94,0.15); color: #22c55e; }
.stock-badge.out-stock { background: rgba(239,68,68,0.15); color: #ef4444; }
