:root {
  --primary: #1e293b;
  --primary-dark: #0f172a;
  --accent: #b45309;
  --accent-gold: #c5a059;
  --bg-light: #f8fafc;
  --border: #e2e8f0;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --success: #15803d;
  --success-bg: #dcfce7;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  color: var(--text-main);
  background-color: #ffffff;
  line-height: 1.5;
  font-size: 14px;
}

a {
  color: #1d4ed8;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Top Compliance Bar */
.top-bar {
  background-color: #0f172a;
  color: #f1f5f9;
  font-size: 12px;
  border-bottom: 1px solid #334155;
  padding: 7px 0;
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Header */
header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}
.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 20px;
}
.logo-box {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.logo-icon {
  width: 44px;
  height: 44px;
  background: #0f172a;
  color: #c5a059;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 22px;
  border-radius: 4px;
  border: 1px solid #c5a059;
}
.logo-text h1 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #0f172a;
  line-height: 1.1;
}
.logo-text span {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.header-search {
  flex: 1;
  max-width: 500px;
}
.search-form {
  display: flex;
}
.search-form input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #cbd5e1;
  border-right: none;
  border-radius: 4px 0 0 4px;
  font-size: 13px;
  outline: none;
}
.search-form input:focus {
  border-color: #0f172a;
}
.search-form button {
  padding: 8px 16px;
  background: #0f172a;
  color: #ffffff;
  border: 1px solid #0f172a;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-phone {
  text-align: right;
  line-height: 1.2;
}
.header-phone small {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
}
.header-phone strong {
  font-size: 13px;
  color: #0f172a;
}

/* Nav */
.main-nav {
  background: #f8fafc;
  border-top: 1px solid var(--border);
  border-bottom: 2px solid #0f172a;
}
.nav-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}
.nav-links a {
  display: block;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}
.nav-links a:hover, .nav-links a.active {
  color: #0f172a;
  background: #e2e8f0;
  border-bottom-color: #0f172a;
}

/* Buttons & Badges */
.btn {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 13px;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary {
  background: #0f172a;
  color: #ffffff;
  border: 1px solid #0f172a;
}
.btn-primary:hover {
  background: #1e293b;
  color: #ffffff;
  text-decoration: none;
}
.btn-outline {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
}
.btn-outline:hover {
  background: #f1f5f9;
  text-decoration: none;
}
.btn-sm {
  padding: 4px 8px;
  font-size: 12px;
}

.badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.badge-success { background: #dcfce7; color: #15803d; border: 1px solid #86efac; }
.badge-blue { background: #dbeafe; color: #1e40af; border: 1px solid #93c5fd; }
.badge-gold { background: #fef3c7; color: #92400e; border: 1px solid #fcd34d; }
.badge-gray { background: #f1f5f9; color: #475569; border: 1px solid #cbd5e1; }

/* Hero Banner */
.hero-banner {
  background: #0f172a;
  color: #ffffff;
  padding: 28px;
  border-radius: 6px;
  margin: 20px 0;
  border-left: 5px solid #c5a059;
}
.hero-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  align-items: center;
}
.hero-text h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #ffffff;
}
.hero-text p {
  font-size: 13.5px;
  color: #cbd5e1;
  margin-bottom: 14px;
  line-height: 1.5;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hero-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 6px;
  padding: 16px;
}
.hero-card h3 {
  font-size: 13px;
  color: #94a3b8;
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.stat-box {
  background: #0f172a;
  border: 1px solid #334155;
  padding: 10px;
  border-radius: 4px;
}
.stat-box strong {
  display: block;
  font-size: 18px;
  color: #f8fafc;
}
.stat-box span {
  font-size: 11px;
  color: #94a3b8;
}

/* Machine-Readable Table */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 24px 0 12px 0;
  border-bottom: 2px solid #0f172a;
  padding-bottom: 8px;
}
.section-header h2 {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}
.section-header p {
  font-size: 12px;
  color: var(--text-muted);
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #ffffff;
  margin-bottom: 24px;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12.5px;
}
.data-table th {
  background: #f1f5f9;
  color: #1e293b;
  font-weight: 700;
  padding: 10px 12px;
  border-bottom: 2px solid #cbd5e1;
  border-right: 1px solid #e2e8f0;
  white-space: nowrap;
}
.data-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid #f1f5f9;
  vertical-align: middle;
}
.data-table tr:hover {
  background-color: #f8fafc;
}
.table-img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid #cbd5e1;
}

/* Product Cards Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}
.product-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.product-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  border-color: #cbd5e1;
}
.product-thumb {
  position: relative;
  width: 100%;
  height: 220px;
  background: #f8fafc;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}
.product-badges {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.product-info {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-meta {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 4px;
}
.product-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 8px;
  flex-grow: 1;
}
.product-specs {
  font-size: 11.5px;
  color: #475569;
  background: #f8fafc;
  padding: 6px 8px;
  border-radius: 3px;
  border: 1px solid #e2e8f0;
  margin-bottom: 10px;
}
.product-pricing {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}
.price-current {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}
.price-msrp {
  font-size: 12px;
  color: #94a3b8;
  text-decoration: line-through;
}

/* Footer */
footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 36px 0 20px 0;
  margin-top: 40px;
  border-top: 4px solid #c5a059;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 28px;
  margin-bottom: 28px;
}
.footer-col h4 {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-col p {
  font-size: 12.5px;
  line-height: 1.6;
  margin-bottom: 10px;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 8px;
}
.footer-links a {
  color: #94a3b8;
  font-size: 12.5px;
}
.footer-links a:hover {
  color: #ffffff;
}
.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: #64748b;
}

@media (max-width: 768px) {
  .hero-content { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-main { flex-direction: column; align-items: stretch; }
  .top-bar-inner { justify-content: center; text-align: center; }
}