/* Prism Optical Wholesale: slate and amber. Archivo for headings, IBM Plex Sans for text. A two-tier header, a left-aligned
   hero and a ledger-style order table. Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #0F172A; --surface: #1E293B; --soft: #172033; --ink: #F1F5F9; --muted: #A5B4C8;
  --line: #2B3A52; --line-strong: #475569; --input-bg: #0F172A;
  --brand: #F59E0B; --brand-hover: #FBBF24; --brand-ink: #0F172A; --brand-text: #FBBF24; --eyebrow: #FBBF24; --focus: #FBBF24;
  --badge-bg: #F59E0B; --badge-ink: #0F172A;
  --out-bg: #F8FAFC; --out-ink: #0F172A; --out-accent: #B45309; --out-btn: #0F172A; --out-btn-ink: #FBBF24;
  --head: "Archivo", system-ui, sans-serif; --body: "IBM Plex Sans", system-ui, sans-serif;
  --radius: 4px; --radius-lg: 8px; --btn-radius: 4px; --wrap: 1200px; --gap: 18px;
  --hero-bg: linear-gradient(180deg, #172033, #0F172A); --topbar-bg: #F59E0B; --topbar-ink: #0F172A;
  --cta-bg: #F59E0B; --cta-ink: #0F172A; --cta-btn: #0F172A; --cta-btn-ink: #FBBF24;
  --footer-bg: #0A101F; --footer-ink: #94A3B8; --footer-link: #FBBF24;
  --band-bg: #172033; --numbers-bg: #1E293B; --head-bg: #172033; --menu-bg: #0F172A; --header-bg: #0F172A; --stat-bg: #1E293B;
}
h1, h2, h3 { font-weight: 700; letter-spacing: -.02em; line-height: 1.08; }
.btn { font-weight: 700; }
.btn-ghost { border-color: #64748B; color: #F1F5F9; }
.btn-ghost:hover { border-color: #FBBF24; color: #FBBF24; }
.ic { color: #FBBF24; }
.topbar .ic { color: #0F172A; }
.topbar a { color: #0F172A; text-decoration: underline; }
.input, select.input, textarea.input { background: #0F172A; border-color: #475569; color: #F1F5F9; }

/* header: the trade strip above, then a dark bar with an amber rule */
.h-trade { border-bottom: 2px solid #F59E0B; }
.h-trade .nav a { font-weight: 600; border-radius: 4px; text-transform: uppercase; font-size: .86rem; letter-spacing: .06em; }
.h-trade .nav a:hover, .h-trade .nav a[aria-current="page"] { background: #F59E0B; color: #0F172A; }
.h-trade .logo b { letter-spacing: .1em; text-transform: uppercase; }

/* hero: left-aligned, with a wide picture strip and a ledger of numbers */
.hero-center { text-align: left; }
.hero-center .hero-copy { justify-items: start; max-width: 820px; }
.hero-center .t-actions, .hero-center .hero-facts { justify-content: flex-start; }
.hero-center h1 { font-size: clamp(2.3rem, 5.6vw, 4.2rem); max-width: 18ch; }
.hero-center .lede { margin-inline: 0; }
.hero-center .hero-card.wide { background: #1E293B; border: 1px solid #2B3A52; border-radius: 4px; border-top: 5px solid #F59E0B; max-width: none; }
.hero-center .hero-card.wide svg { height: clamp(200px, 30vw, 340px); }
.next-slot { background: #F8FAFC; color: #0F172A; }
.next-slot span { color: #475569; }
.trust { background: #1E293B; border-color: #2B3A52; border-radius: 4px; }
.trust li { border-color: #2B3A52; }
.how li { background: #1E293B; border-color: #2B3A52; border-radius: 4px; border-top: 4px solid #F59E0B; }
.how .n { border-radius: 4px; background: #F59E0B; }
.c-card { background: #1E293B; border-color: #2B3A52; border-radius: 4px; }
.c-card:hover { border-color: #F59E0B; }
.c-facts { background: #2B3A52; border-color: #2B3A52; }
.c-facts div { background: #1E293B; }
.c-filters button { background: #1E293B; color: #F1F5F9; border-radius: 4px; }
.c-filters button[aria-pressed="true"] { background: #F59E0B; border-color: #F59E0B; color: #0F172A; }
.page-head { border-bottom: 2px solid #F59E0B; }
.numbers-band { color: #F1F5F9; } .numbers b { color: #FBBF24; }
.faq-group details, .card, .done, .cd-side, .pick { background: #1E293B; }
.cta-band h2, .cta-band p { color: #0F172A; }
.cta-band .btn-primary { background: #0F172A; color: #FBBF24; }
.cta-band .btn-ghost { border-color: #0F172A; color: #0F172A; }

/* order table */
.order-table { min-width: 0; }
.order-table th, .order-table td { padding: 10px 8px; border-color: #2B3A52; vertical-align: middle; }
.order-table thead th { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: #94A3B8; width: auto; }
.order-table tbody th { width: 40%; font-weight: 400; color: var(--ink); }
.order-table tbody th small { display: block; color: #94A3B8; }
.order-table .row-err { display: block; color: #FCA5A5; font-weight: 700; font-size: .85rem; }
.order-table td { font-variant-numeric: tabular-nums; white-space: nowrap; }
.order-table .stepper input { width: 64px; }
@media (max-width: 640px) {
  .order-table, .order-table tbody, .order-table tr, .order-table th, .order-table td { display: block; }
  .order-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .order-table tr { padding: 12px 0; border-bottom: 1px solid #2B3A52; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: center; }
  .order-table tbody th { grid-column: 1 / -1; width: auto; border: 0; padding: 0; }
  .order-table td { border: 0; padding: 0; }
  .order-table td[data-amt] { text-align: right; font-weight: 700; }
}
.tool-out .cart-list li { grid-template-columns: minmax(0, 1fr) auto; }
.tool-out .cart-list li b { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.tool-out .cart-list li span:nth-child(2) { opacity: .7; font-size: .85rem; }
.tool-out .out-total { color: #B45309; }
.tool-out .out-lines div { border-color: rgba(15, 23, 42, .2); }
.table-wrap { overflow-x: auto; }
