/* Zenith Cards UK - High-Contrast Machine-Scanner & Human Audit Optimized Stylesheet */
:root {
  --primary: #b45309;
  --primary-dark: #92400e;
  --primary-light: #fef3c7;
  --accent-gold: #d97706;
  --bg-dark: #0f172a;
  --bg-card: #ffffff;
  --bg-subtle: #f8fafc;
  --border-color: #e2e8f0;
  --border-dark: #cbd5e1;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --success: #059669;
  --success-bg: #ecfdf5;
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body {
  font-family: var(--font-stack);
  background-color: var(--bg-subtle);
  color: var(--text-main);
  line-height: 1.5;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

/* Statutory Banner Bar */
.statutory-bar {
  background-color: var(--bg-dark);
  color: #f1f5f9;
  padding: 8px 0;
  font-size: 12px;
  font-weight: 500;
  border-bottom: 2px solid var(--accent-gold);
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.statutory-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.statutory-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(217, 119, 6, 0.2);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--accent-gold);
  color: #fef3c7;
  font-weight: 600;
}

.statutory-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  display: inline-block;
}

/* Site Header */
header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-block h1 {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-block p {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}

nav {
  display: flex;
  gap: 10px;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.nav-link:hover {
  background-color: var(--primary-light);
  color: var(--primary-dark);
}

.nav-link.active {
  background-color: var(--bg-dark);
  color: #ffffff;
}

.nav-link.external {
  border-color: var(--border-color);
  background-color: #ffffff;
  color: var(--primary-dark);
}

/* Section Cards */
.section-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 24px;
  margin-top: 20px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 12px;
  margin-bottom: 18px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* OCR Table */
.ocr-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.ocr-table th, .ocr-table td {
  border: 1px solid var(--border-color);
  padding: 10px 14px;
  text-align: left;
}

.ocr-table th {
  background-color: var(--bg-subtle);
  color: var(--text-muted);
  font-weight: 600;
  width: 22%;
}

.ocr-table td {
  color: var(--text-main);
  font-weight: 500;
}

/* Metric Cards */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.metric-card {
  background: linear-gradient(135deg, #ffffff 0%, #fef3c7 100%);
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 18px;
  text-align: center;
}

.metric-value {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.2;
}

.metric-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* Product Card Highlight */
.featured-holding {
  display: flex;
  gap: 24px;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
}

.holding-img-col {
  flex: 0 0 280px;
  text-align: center;
  background: var(--bg-dark);
  padding: 16px;
  border-radius: 6px;
}

.holding-img-col img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.holding-cert-tag {
  background-color: var(--accent-gold);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 4px;
  margin-top: 12px;
  display: inline-block;
  letter-spacing: 0.5px;
}

.holding-info-col {
  flex: 1;
}

.holding-info-col h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.holding-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

/* Grid of Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 16px;
}

.card-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.card-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.card-img-wrap {
  height: 220px;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  position: relative;
}

.card-img-wrap img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--accent-gold);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.card-body {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 8px;
}

.card-meta {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.card-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 10px;
}

.card-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary-dark);
}

.card-status {
  font-size: 11px;
  font-weight: 700;
  color: var(--success);
  background: var(--success-bg);
  padding: 3px 8px;
  border-radius: 4px;
}

/* Reviews List */
.review-item {
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
}

.review-item:last-child {
  border-bottom: none;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.reviewer-name {
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.verified-tag {
  background: #ecfdf5;
  color: #059669;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #a7f3d0;
}

.review-date {
  font-size: 12px;
  color: var(--text-muted);
}

.review-stars {
  margin-bottom: 6px;
}

.review-body {
  font-size: 13px;
  color: #334155;
  line-height: 1.6;
}

.review-product-tag {
  font-size: 11px;
  color: var(--text-muted);
  background: var(--bg-subtle);
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-top: 8px;
  border: 1px solid var(--border-color);
}

/* Footer */
footer {
  background-color: var(--bg-dark);
  color: #94a3b8;
  padding: 30px 0 20px;
  margin-top: 40px;
  font-size: 12px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 24px;
}

.footer-col h4 {
  color: #f1f5f9;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col p {
  line-height: 1.6;
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 16px;
  text-align: center;
  font-size: 11px;
  color: #64748b;
}
