/* JacRo Mobile UK V4 — Deep Midnight Slate (#0B1120) & Warm Amber/Gold (#F59E0B) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-page: #0B1120;
  --bg-top: #060913;
  --bg-card: #111827;
  --bg-card-2: #151F32;
  --bg-inset: #080D1A;
  --border: #1F2A3E;
  --border-gold: rgba(245, 158, 11, 0.38);
  --amber: #F59E0B;
  --gold: #FBBF24;
  --amber-deep: #B45309;
  --amber-bg: rgba(245, 158, 11, 0.12);
  --emerald: #10B981;
  --emerald-soft: #34D399;
  --emerald-bg: rgba(16, 185, 129, 0.12);
  --emerald-bd: rgba(16, 185, 129, 0.36);
  --text-1: #F8FAFC;
  --text-2: #CBD5E1;
  --text-3: #94A3B8;
}

html, body {
  background: radial-gradient(circle at 18% 0%, #172033 0%, #0B1120 48%, #070B14 100%);
  color: var(--text-1);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 12.5px;
  line-height: 1.42;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }
.tnum { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 24px; }

/* Top Legal Utility Strip */
.top-strip {
  background: var(--bg-top);
  border-bottom: 1px solid var(--border);
  height: 26px;
  display: flex;
  align-items: center;
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: 0.012em;
}
.top-strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.top-strip strong { color: var(--gold); font-weight: 700; }

/* Main Navbar */
.navbar {
  background: rgba(11, 17, 32, 0.96);
  border-bottom: 1px solid var(--border);
  height: 50px;
  display: flex;
  align-items: center;
}
.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-icon {
  width: 30px; height: 30px; border-radius: 7px;
  background: linear-gradient(135deg, #D97706 0%, #FBBF24 100%);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 12px; color: #0B1120; letter-spacing: -0.04em;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.3);
}
.brand-title { font-size: 14.5px; font-weight: 800; color: #FFFFFF; letter-spacing: 0.02em; line-height: 1.1; }
.brand-title span { color: var(--gold); }
.brand-sub { font-size: 9.5px; color: var(--text-3); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 3px; }
.nav-links a {
  padding: 5px 9.5px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-2);
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover { background: rgba(245, 158, 11, 0.10); color: #FFFFFF; }
.nav-links a.active {
  background: rgba(245, 158, 11, 0.16);
  color: var(--gold);
  border-color: var(--border-gold);
}

.nav-badges { display: flex; align-items: center; gap: 7px; flex-shrink: 0; }
.npill {
  padding: 3.5px 9px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}
.npill-gold { background: rgba(245, 158, 11, 0.14); color: var(--gold); border: 1px solid var(--border-gold); }
.npill-green { background: #064E3B; color: #6EE7B7; border: 1px solid #059669; }
.npill-slate { background: #162033; color: #E2E8F0; border: 1px solid #334155; }

/* Main Container */
main.page-main {
  flex: 1;
  padding: 13px 0 11px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

/* Top KPI Strip (Index / Sales) */
.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.kpi-card {
  background: linear-gradient(180deg, #131C2E 0%, #0D1424 100%);
  border: 1px solid var(--border);
  border-top: 2px solid var(--amber);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.kpi-card.center { text-align: center; }
.kpi-val { font-size: 20px; font-weight: 800; line-height: 1.15; margin-bottom: 2px; }
.kpi-lbl { font-size: 9.5px; font-weight: 700; color: var(--text-3); letter-spacing: 0.05em; text-transform: uppercase; }
.kpi-sub { font-size: 10.5px; color: var(--text-2); margin-top: 2px; font-weight: 600; }
.c-gold { color: var(--gold); }
.c-emerald { color: var(--emerald-soft); }
.c-white { color: #FFFFFF; }

/* Executive Hero Summary */
.hero-panel {
  background: linear-gradient(135deg, #131C2F 0%, #0B1222 100%);
  border: 1px solid var(--border);
  border-left: 4px solid var(--amber);
  border-radius: 12px;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.34);
}
.hero-tag {
  display: inline-block;
  background: rgba(245, 158, 11, 0.16);
  color: var(--gold);
  border: 1px solid var(--border-gold);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 7px;
}
.hero-panel h1 {
  font-size: 23px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  line-height: 1.16;
  margin-bottom: 6px;
}
.hero-desc {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.46;
  max-width: 900px;
}
.hero-desc strong { color: #FFFFFF; }
.hero-desc .hl { color: var(--gold); font-weight: 700; }
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}
.hchip {
  background: var(--bg-inset);
  border: 1px solid #263248;
  color: var(--text-2);
  padding: 4px 10px;
  border-radius: 7px;
  font-size: 10.5px;
  font-weight: 700;
}
.hchip.active {
  background: rgba(245, 158, 11, 0.18);
  border-color: var(--amber);
  color: var(--gold);
}
.hero-aside {
  background: var(--bg-inset);
  border: 1px solid #263248;
  border-radius: 10px;
  padding: 11px 14px;
  min-width: 280px;
  flex-shrink: 0;
  font-size: 11px;
  line-height: 1.5;
}
.hero-aside-lbl {
  font-size: 9.5px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

/* Section Head */
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.sec-head h2 { font-size: 15.5px; font-weight: 800; color: #FFFFFF; }
.sec-sub { font-size: 11px; color: var(--text-3); }

/* Grids */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }

/* Product Card */
.pcard {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 11px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s;
}
.pcard:hover { border-color: var(--amber); }
.pimg-wrap {
  height: 144px;
  border-radius: 7px;
  background: #070B14;
  overflow: hidden;
  border: 1px solid #1E293B;
  margin-bottom: 8px;
}
.pimg-wrap.compact { height: 118px; margin-bottom: 7px; }
.pimg-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.badge-grade {
  display: inline-block;
  align-self: flex-start;
  background: rgba(245, 158, 11, 0.16);
  color: var(--gold);
  border: 1px solid var(--border-gold);
  font-size: 9px;
  font-weight: 800;
  padding: 2.5px 7px;
  border-radius: 5px;
  letter-spacing: 0.03em;
  margin-bottom: 5px;
}
.ptitle { font-size: 13.5px; font-weight: 800; color: #FFFFFF; margin-bottom: 3px; }
.pspecs { font-size: 10.5px; color: var(--text-3); line-height: 1.35; margin-bottom: 8px; }
.pfoot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 7px;
  border-top: 1px solid rgba(31, 42, 62, 0.9);
}
.pprice { font-size: 16.5px; font-weight: 800; color: var(--gold); }
.pstock {
  background: #064E3B;
  color: #A7F3D0;
  border: 1px solid #059669;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 5px;
}

/* Filter Bar (Collections) */
.filter-bar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 7px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.fpills { display: flex; gap: 7px; }
.fpill {
  background: var(--bg-inset);
  color: var(--text-2);
  border: 1px solid var(--border);
  padding: 4.5px 11px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
}
.fpill.active { background: var(--amber); color: #0B1120; border-color: var(--gold); font-weight: 800; }

/* Reviews */
.tp-banner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--emerald);
  border-radius: 11px;
  padding: 13px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.tp-score { font-size: 32px; font-weight: 900; color: var(--emerald-soft); line-height: 1; }
.tp-stars { color: var(--emerald); font-size: 18px; letter-spacing: 2px; }
.rcard {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 202px;
}
.rcard-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 6px; }
.rname { font-size: 13px; font-weight: 800; color: #FFFFFF; }
.rloc { font-size: 10px; color: var(--text-3); }
.rver { background: #064E3B; color: #A7F3D0; border: 1px solid #059669; font-size: 9.5px; font-weight: 700; padding: 2.5px 7px; border-radius: 5px; }
.rsku { font-size: 11px; font-weight: 700; color: var(--gold); margin: 3px 0 5px; }
.rquote { font-size: 11.5px; color: var(--text-2); line-height: 1.44; flex: 1; }
.rfoot {
  margin-top: 10px;
  padding-top: 7px;
  border-top: 1px solid rgba(31, 42, 62, 0.8);
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--text-3);
}

/* Panels & Tables */
.panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 15px 18px;
}
table.dtable { width: 100%; border-collapse: collapse; font-size: 11.5px; }
table.dtable th {
  text-align: left;
  padding: 8px 9px;
  background: #0D1526;
  color: var(--gold);
  font-weight: 800;
  border-bottom: 1px solid #293855;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
table.dtable td {
  padding: 8.5px 9px;
  border-bottom: 1px solid #1C263B;
  color: var(--text-1);
}
table.dtable tr.tot td {
  border-top: 1.5px solid var(--amber);
  border-bottom: none;
  color: var(--gold);
  font-weight: 800;
  background: rgba(245, 158, 11, 0.08);
}
.opinion-bar {
  background: var(--bg-inset);
  border: 1px solid var(--border);
  border-left: 4px solid var(--amber);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 11px;
  color: var(--text-2);
  line-height: 1.46;
}
.portal-pill {
  display: inline-block;
  padding: 3.5px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.03em;
}
.pp-gold { background: rgba(245, 158, 11, 0.16); color: var(--gold); border: 1px solid var(--border-gold); }
.pp-green { background: #064E3B; color: #6EE7B7; border: 1px solid #059669; }
.mini-rev {
  background: var(--bg-inset);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8.5px 11px;
}

/* About / Technical Hub */
.hub-photo {
  width: 100%;
  height: 220px;
  border-radius: 9px;
  overflow: hidden;
  border: 1px solid #263248;
  margin: 9px 0 10px;
}
.hub-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tele-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  margin-bottom: 10px;
}
.tele-box {
  background: var(--bg-inset);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 11px;
}
.tele-k { font-size: 9.5px; color: var(--text-3); font-weight: 700; text-transform: uppercase; }
.tele-v { font-size: 13px; color: var(--gold); font-weight: 800; margin-top: 2px; }
.kv-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid #1C263B;
  font-size: 11.5px;
}
.kv-row:last-child { border-bottom: none; }
.kv-k { color: var(--text-3); font-weight: 600; }
.kv-v { color: #FFFFFF; font-weight: 700; text-align: right; }

.verified-bar {
  background: var(--emerald-bg);
  border: 1px solid var(--emerald-bd);
  color: var(--emerald-soft);
  border-radius: 8px;
  padding: 9px 13px;
  font-size: 11px;
  font-weight: 700;
  margin-top: auto;
}

/* Policy Pages & Lab Gallery */
.policy-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
}
.policy-box h1 { font-size: 20px; font-weight: 800; color: #FFFFFF; margin-bottom: 7px; }
.policy-box h2 { font-size: 14px; font-weight: 800; color: var(--gold); margin: 13px 0 5px; }
.policy-box p, .policy-box li { font-size: 12px; color: var(--text-2); line-height: 1.5; margin-bottom: 5px; }
.policy-box ul { padding-left: 18px; }
.lab-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.lab-thumb {
  background: var(--bg-inset);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.lab-thumb img { width: 100%; height: 92px; object-fit: cover; display: block; }
.lab-thumb span { display: block; padding: 5px 8px; font-size: 10px; font-weight: 700; color: var(--text-2); }

/* Footer */
.site-footer {
  background: #060913;
  border-top: 1px solid var(--border);
  padding: 8px 0;
  font-size: 9.8px;
  color: var(--text-3);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-inner strong { color: #FFFFFF; }
.footer-inner .gold { color: var(--gold); font-weight: 700; }
.footer-links { display: flex; gap: 11px; }
.footer-links a { color: var(--gold); font-weight: 600; }
.footer-links a:hover { color: #FFFFFF; }
