:root {
  --ink-950: #09111a;
  --ink-900: #0f172a;
  --ink-800: #1e293b;
  --emerald-900: #064e3b;
  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-100: #d1fae5;
  --teal-700: #0f766e;
  --teal-500: #14b8a6;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --bg-page: #f4f7f6;
  --white: #ffffff;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(6, 78, 59, 0.08);
  --shadow-lg: 0 18px 40px rgba(9, 17, 26, 0.14);
}
*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg-page);
  color: var(--ink-900);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.tabular { font-variant-numeric: tabular-nums; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

.anchor-ribbon {
  background: var(--ink-950);
  color: #e2e8f0;
  font-size: 11.8px;
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 2px solid var(--emerald-600);
}
.anchor-ribbon .container {
  display: flex; flex-wrap: nowrap; align-items: center; justify-content: center; gap: 8px; white-space: nowrap;
}
.anchor-ribbon strong { color: #34d399; font-weight: 700; }
.anchor-ribbon .sep { color: #475569; }

.utility-bar {
  background: #ecfdf5;
  border-bottom: 1px solid #a7f3d0;
  color: var(--emerald-900);
  font-size: 12.4px;
  font-weight: 600;
  padding: 7px 0;
}
.utility-bar .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.utility-links { display: flex; gap: 18px; align-items: center; }
.utility-links a:hover { color: var(--emerald-700); text-decoration: underline; }

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  position: sticky; top: 0; z-index: 40;
  box-shadow: var(--shadow-sm);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.brand-lockup { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 9px;
  background: linear-gradient(135deg, var(--emerald-900), var(--emerald-600));
  color: var(--white); display: grid; place-items: center;
  font-weight: 900; font-size: 15.5px; letter-spacing: 0.5px;
  border: 2px solid #6ee7b7; flex-shrink: 0;
}
.brand-title { font-weight: 800; font-size: 15px; color: var(--ink-900); letter-spacing: -0.02em; line-height: 1.15; white-space: nowrap; }
.brand-sub { font-size: 10.5px; font-weight: 700; color: var(--emerald-700); text-transform: uppercase; letter-spacing: 0.03em; margin-top: 2px; white-space: nowrap; }

.main-nav { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
.main-nav a {
  padding: 7px 10px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 600; color: var(--slate-700); white-space: nowrap;
}
.main-nav a:hover { background: #ecfdf5; color: var(--emerald-700); }
.main-nav a.active { background: #d1fae5; color: var(--emerald-900); font-weight: 800; }

.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.bank-badge {
  border: 1.5px solid #a7f3d0; background: #f0fdf4; color: var(--emerald-900);
  padding: 7px 10px; border-radius: 7px; font-size: 12px; font-weight: 700; white-space: nowrap;
}
.basket-btn {
  background: var(--ink-900); color: var(--white); border: none;
  padding: 8px 12px; border-radius: 7px; font-size: 12.5px; font-weight: 700; white-space: nowrap;
  cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.basket-count { background: #34d399; color: var(--ink-950); padding: 1px 7px; border-radius: 99px; font-size: 11.5px; font-weight: 800; }

/* Light-Right / Dark-Left Architectural Hero (Distinct from Round 1-3) */
.hero {
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 55%, #e2e8f0 100%);
  color: var(--ink-900);
  padding: 36px 0 34px;
  border-bottom: 4px solid var(--emerald-700);
}
.hero-grid { display: grid; grid-template-columns: 0.94fr 1.16fr; gap: 30px; align-items: stretch; }
.verify-card {
  background: linear-gradient(155deg, #09111a 0%, #064e3b 100%);
  color: var(--white);
  border-radius: var(--radius-lg); padding: 22px 24px;
  box-shadow: var(--shadow-lg); border-top: 5px solid #34d399;
  display: flex; flex-direction: column; justify-content: space-between;
}
.verify-card-head {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding-bottom: 12px; border-bottom: 1px solid rgba(148,163,184,0.28); margin-bottom: 10px;
}
.verify-card-head h2 { margin: 0; font-size: 16.5px; font-weight: 800; color: var(--white); }
.verify-card .kv-table tr { border-bottom: 1px solid rgba(255,255,255,0.1); }
.verify-card .kv-table td:first-child { color: #a7f3d0; font-weight: 600; }
.verify-card .kv-table td:last-child { color: #ffffff; font-weight: 800; }

.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #d1fae5; border: 1px solid #6ee7b7;
  color: var(--emerald-900); font-size: 11.5px; font-weight: 800; letter-spacing: 0.06em;
  padding: 6px 13px; border-radius: 99px; text-transform: uppercase;
}
.hero h1 { font-size: 37px; line-height: 1.13; font-weight: 900; margin: 14px 0 12px; letter-spacing: -0.025em; color: var(--ink-950); }
.hero h1 .accent { color: var(--emerald-700); }
.hero-lead { color: var(--slate-700); font-size: 15px; line-height: 1.6; max-width: 640px; margin: 0 0 20px; }
.hero-lead strong { color: var(--ink-950); }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.btn-primary {
  background: var(--emerald-700); color: var(--white); border: 1px solid #047857;
  padding: 12px 20px; border-radius: 8px; font-weight: 700; font-size: 14px;
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
}
.btn-primary:hover { background: var(--emerald-900); }
.btn-ghost {
  background: var(--white); color: var(--ink-900);
  border: 1.5px solid #cbd5e1;
  padding: 12px 20px; border-radius: 8px; font-weight: 700; font-size: 14px;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-ghost:hover { background: #f8fafc; border-color: var(--emerald-600); }
.hero-kpi-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  padding-top: 18px; border-top: 2px solid #cbd5e1;
}
.hero-kpi-val { font-size: 22px; font-weight: 900; color: var(--emerald-900); }
.hero-kpi-lbl { font-size: 11px; font-weight: 700; color: var(--slate-600); text-transform: uppercase; letter-spacing: 0.04em; margin-top: 2px; }

.status-pill {
  background: var(--emerald-100); color: #065f46; border: 1px solid #6ee7b7;
  padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 800;
}
.kv-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.kv-table tr { border-bottom: 1px solid #f1f5f9; }
.kv-table tr:last-child { border-bottom: none; }
.kv-table td { padding: 7px 0; vertical-align: top; }
.kv-table td:first-child { color: var(--slate-600); font-weight: 600; width: 42%; }
.kv-table td:last-child { color: var(--ink-900); font-weight: 800; text-align: right; }

.compliance-strip { background: var(--ink-900); color: #f8fafc; border-bottom: 1px solid #1e293b; padding: 13px 0; }
.chip-grid { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.compliance-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(148,163,184,0.3); border-radius: 8px;
  padding: 6px 12px; font-size: 12.2px; font-weight: 700; color: #f1f5f9;
}
.compliance-chip .tag { background: #059669; color: #ffffff; padding: 2px 7px; border-radius: 4px; font-size: 10.5px; font-weight: 800; text-transform: uppercase; }

.section { padding: 36px 0; }
.section-compact { padding: 14px 0 24px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; margin-bottom: 10px; flex-wrap: wrap; }
.section-head h1, .section-head h2 { margin: 0; font-size: 24px; font-weight: 900; color: var(--ink-950); letter-spacing: -0.02em; }
.section-sub { color: var(--slate-600); font-size: 13.5px; margin: 4px 0 0; }
.endpoint-box {
  margin-top: 7px; background: #ecfdf5; border: 1.5px solid #6ee7b7;
  border-radius: 10px; padding: 6px 12px; display: inline-flex; flex-direction: column; gap: 3px; font-size: 12px;
}
.endpoint-box .ep-title { font-size: 12px; font-weight: 800; color: var(--emerald-900); }
.endpoint-box code {
  background: var(--white); color: var(--emerald-700); padding: 2px 8px;
  border-radius: 5px; font-weight: 700; font-size: 12px; border: 1px solid #a7f3d0;
}

.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.filter-pill {
  border: 1.5px solid var(--slate-200); background: var(--white); color: var(--slate-700);
  padding: 6px 14px; border-radius: 99px; font-size: 12.2px; font-weight: 700; cursor: pointer;
}
.filter-pill.active, .filter-pill:hover { background: var(--emerald-700); color: var(--white); border-color: var(--emerald-700); }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.prod-card {
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.prod-media {
  position: relative; background: #f8fafc; height: 134px; padding: 7px;
  display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--slate-200);
}
.prod-media img { max-height: 118px; max-width: 100%; width: auto; height: auto; object-fit: contain; border-radius: 6px; }
.badge-grade {
  position: absolute; top: 8px; left: 8px;
  background: var(--emerald-900); color: var(--white);
  font-size: 10.5px; font-weight: 800; padding: 3px 8px; border-radius: 5px;
}
.badge-stock {
  position: absolute; bottom: 8px; right: 8px;
  background: #ecfdf5; color: #065f46; border: 1px solid #6ee7b7;
  font-size: 10.5px; font-weight: 800; padding: 3px 8px; border-radius: 5px;
}
.prod-body { padding: 8px 14px 10px; display: flex; flex-direction: column; flex: 1; }
.prod-sku { font-size: 10.5px; font-weight: 800; color: var(--emerald-700); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 3px; }
.prod-title { font-size: 14px; font-weight: 800; color: var(--ink-900); margin: 0 0 5px; line-height: 1.25; min-height: 32px; }
.prod-specs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.spec-tag { background: var(--slate-100); border: 1px solid var(--slate-200); color: var(--slate-700); font-size: 10.5px; font-weight: 600; padding: 2px 7px; border-radius: 5px; }
.prod-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 8px; border-top: 1px solid var(--slate-100); }
.prod-price { font-size: 20px; font-weight: 900; color: var(--ink-950); }
.add-bag-btn { background: var(--emerald-700); color: var(--white); border: none; padding: 8px 13px; border-radius: 7px; font-size: 12.5px; font-weight: 700; cursor: pointer; }

.kpi-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 14px; }
.kpi-box {
  background: var(--white); border: 1px solid var(--slate-200); border-top: 4px solid var(--emerald-600);
  border-radius: var(--radius-md); padding: 13px 15px; box-shadow: var(--shadow-sm);
}
.kpi-pill { display: inline-block; background: #d1fae5; color: var(--emerald-900); font-size: 16px; font-weight: 900; padding: 4px 10px; border-radius: 6px; margin-bottom: 6px; }
.kpi-box h3 { margin: 0 0 4px; font-size: 13.5px; font-weight: 800; color: var(--ink-900); }
.kpi-box p { margin: 0; font-size: 12px; color: var(--slate-600); line-height: 1.4; }

.panel-card { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-lg); padding: 16px 20px; box-shadow: var(--shadow-sm); margin-bottom: 14px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.panel-head h2, .panel-head h3 { margin: 0; font-size: 16.5px; font-weight: 800; color: var(--ink-950); }

.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th { background: var(--ink-900); color: var(--white); text-align: left; padding: 9px 11px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; }
.data-table td { padding: 9px 11px; border-bottom: 1px solid var(--slate-200); }
.data-table tr.total-row td { background: #ecfdf5; font-weight: 900; color: var(--emerald-900); border-top: 2px solid var(--emerald-700); }
.credit { color: var(--emerald-700); font-weight: 800; }
.debit { color: #b91c1c; font-weight: 700; }

.bar-row { display: grid; grid-template-columns: 95px 1fr 40px; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; color: #e2e8f0; }
.bar-track { height: 9px; background: rgba(255, 255, 255, 0.16); border-radius: 99px; overflow: hidden; }
.bar-fill { height: 100%; background: #34d399; border-radius: 99px; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rev-card { background: var(--white); border: 1px solid var(--slate-200); border-top: 3px solid var(--emerald-600); border-radius: var(--radius-md); padding: 16px 18px; box-shadow: var(--shadow-sm); }
.rev-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--slate-600); margin-bottom: 5px; }
.rev-stars { color: var(--emerald-600); font-weight: 800; }
.rev-author { font-weight: 800; color: var(--ink-900); font-size: 14.5px; }
.rev-item { font-size: 12px; font-weight: 700; color: var(--emerald-700); margin: 3px 0 9px; }
.rev-text { font-size: 12.8px; color: var(--slate-700); margin: 0; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.policy-doc { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-lg); padding: 30px; max-width: 960px; margin: 0 auto; box-shadow: var(--shadow-sm); }
.policy-doc h1 { margin-top: 0; color: var(--ink-950); font-size: 25px; }
.policy-doc h2 { color: var(--emerald-700); font-size: 17px; margin-top: 20px; }
.policy-doc p, .policy-doc li { color: var(--slate-700); font-size: 14px; }

.site-footer { background: var(--ink-950); color: #cbd5e1; padding: 38px 0 24px; font-size: 13px; border-top: 4px solid var(--emerald-600); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 26px; margin-bottom: 24px; }
.site-footer h4 { color: var(--white); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 10px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-links a:hover { color: #34d399; }
.footer-bottom { border-top: 1px solid rgba(148, 163, 184, 0.2); padding-top: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--slate-400); }

.filtered-banner {
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  background: #ecfdf5; border: 1px solid #a7f3d0; border-left: 4px solid var(--emerald-600);
  border-radius: 10px; padding: 9px 14px; margin-bottom: 12px; font-size: 12.8px; color: var(--emerald-900);
}
.overview-band {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: linear-gradient(120deg, #09111a 0%, #064e3b 100%); color: #f8fafc;
  border-radius: 12px; padding: 14px 20px; margin-bottom: 14px; border: 1px solid #047857;
}
#collections-section.is-filtered .kpi-grid-4,
#collections-section.is-filtered .overview-band { display: none; }
#collections-section.is-filtered .filtered-banner { display: flex; }

.toast { position: fixed; right: 22px; bottom: 22px; background: var(--ink-900); color: var(--white); padding: 12px 18px; border-radius: 8px; font-size: 13px; font-weight: 700; border-left: 4px solid var(--emerald-500); box-shadow: var(--shadow-lg); display: none; z-index: 60; }
