:root {
  --bg: #141414;
  --panel: #1e1e1e;
  --text: #f4f4f0;
  --muted: #a0a09c;
  --brass: #c5a059;
  --pine: #4f6b5e;
  --border: #2a2a2a;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Courier New", Courier, monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.5;
  padding: 0 2rem;
}

.mono {
  font-family: var(--font-mono);
}

/* Navigation */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

.logo {
  font-weight: 700;
  letter-spacing: 2px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  margin-right: 1.5rem;
}

.cart-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.5rem 1rem;
  cursor: pointer;
}

/* Sections */
.hero {
  padding: 5rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.section {
  margin-bottom: 4rem;
}

.section h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}

/* Grids & Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.product-card, .service-card {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 1rem;
  cursor: pointer;
  text-align: left;
  color: var(--text);
}

.product-card-img {
  height: 200px;
  width: 100%;
  margin-bottom: 1rem;
  border-radius: 2px;
}

.pc-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.pc-tagline, .service-line {
  color: var(--muted);
  font-size: 0.875rem;
}

/* Drawers & Modals */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: flex-end;
  z-index: 100;
}

.drawer-overlay.hidden {
  display: none;
}

.drawer {
  background: var(--bg);
  width: 100%;
  max-width: 450px;
  height: 100%;
  padding: 2rem;
  position: relative;
  overflow-y: auto;
  border-left: 1px solid var(--border);
}

.drawer-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

.drawer-hero {
  height: 180px;
  margin-bottom: 1.5rem;
}

.spec-table {
  margin: 1.5rem 0;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}

.btn-primary {
  background: var(--text);
  color: var(--bg);
  border: none;
  padding: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  margin-top: 1rem;
}

/* Cart Styles */
.cart-list {
  margin: 2rem 0;
}

.cart-line {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.cart-summary {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: 2rem;
}

.cs-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.cs-total {
  font-weight: bold;
}