
:root {
  --bg: #0b1120;
  --surface: #111827;
  --card: #1e293b;
  --border: #334155;
  --amber: #f59e0b;
  --amber-dark: #d97706;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --green: #10b981;
  --blue: #38bdf8;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: var(--amber); text-decoration: none; }
a:hover { text-decoration: underline; }
.mono, code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}
.topbar {
  background: #020617;
  border-bottom: 1px solid #1e293b;
  padding: 7px 5%;
  font-size: 0.82rem;
  color: #cbd5e1;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
header {
  padding: 14px 5%;
  background: #030712;
  border-bottom: 2px solid var(--amber-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 90;
}
.brand-logo {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand-logo span {
  background: var(--amber-dark);
  color: #020617;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.78rem;
}
nav.main-nav {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
nav.main-nav a {
  color: #e2e8f0;
  font-weight: 600;
  font-size: 0.93rem;
}
nav.main-nav a:hover { color: var(--amber); text-decoration: none; }
.cart-trigger {
  background: #1e293b;
  color: #fff !important;
  border: 1px solid var(--amber);
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cart-badge {
  background: var(--amber);
  color: #020617;
  border-radius: 99px;
  padding: 1px 8px;
  font-size: 0.8rem;
  font-weight: 800;
}
main {
  padding: 28px 5%;
  max-width: 1220px;
  margin: auto;
}
.breadcrumbs {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 18px;
}
.breadcrumbs a { color: #cbd5e1; }
.hero-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid var(--border);
  border-left: 4px solid var(--amber);
  border-radius: 10px;
  padding: 28px;
  margin-bottom: 26px;
}
.hero-box h1 {
  margin: 0 0 10px 0;
  font-size: clamp(1.55rem, 2.8vw, 2.25rem);
  line-height: 1.25;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}
.card {
  background: var(--card);
  padding: 18px;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card h2, .card h3 { margin-top: 0; }
.sku-tag {
  font-size: 0.78rem;
  color: #fbbf24;
  font-family: ui-monospace, monospace;
  margin-bottom: 6px;
}
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #334155;
  gap: 8px;
  flex-wrap: wrap;
}
.price-tag {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
}
.stock-pill {
  display: inline-block;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
}
input, select, textarea {
  width: 100%;
  padding: 11px 12px;
  margin: 5px 0 12px 0;
  background: #020617;
  color: var(--text);
  border: 1px solid #475569;
  border-radius: 6px;
  font-size: 0.95rem;
}
label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #cbd5e1;
  display: block;
}
button, .btn {
  background: var(--amber-dark);
  color: #020617 !important;
  border: 0;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.15s;
}
button:hover, .btn:hover { background: var(--amber); }
.btn-secondary {
  background: #334155;
  color: #f8fafc !important;
  border: 1px solid #475569;
}
.btn-secondary:hover { background: #475569; }
.btn-outline {
  background: transparent;
  color: var(--amber) !important;
  border: 1px solid var(--amber);
}
.btn-outline:hover { background: rgba(245, 158, 11, 0.12); }
table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  background: #111827;
  border-radius: 8px;
  overflow: hidden;
}
td, th {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  font-size: 0.92rem;
}
th {
  background: #020617;
  color: #fbbf24;
  font-weight: 700;
}
.faq-item {
  background: #111827;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
}
.faq-item h3 {
  margin: 0 0 8px 0;
  font-size: 1.02rem;
  color: #fbbf24;
}
/* Slide-out Cart Drawer */
#cartBackdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.75);
  z-index: 200;
}
#cartDrawer {
  position: fixed;
  top: 0;
  right: -460px;
  width: 100%;
  max-width: 430px;
  height: 100vh;
  background: #0f172a;
  border-left: 2px solid var(--amber-dark);
  z-index: 210;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right 0.22s ease-in-out;
  overflow-y: auto;
}
#cartDrawer.open { right: 0; }
.cart-item {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 10px;
}
.qty-btn {
  padding: 3px 9px;
  font-size: 0.85rem;
  background: #334155;
  color: #fff !important;
}
footer {
  padding: 36px 5%;
  background: #020617;
  border-top: 1px solid #1e293b;
  margin-top: 56px;
  color: var(--muted);
  font-size: 0.88rem;
}
.footer-grid {
  max-width: 1220px;
  margin: 0 auto 24px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.footer-grid h4 {
  color: #fff;
  margin: 0 0 10px 0;
  font-size: 0.95rem;
}
.footer-grid a {
  color: #cbd5e1;
  display: block;
  margin-bottom: 6px;
}
