/*
  Access Office — base layer (access2026 theme)
  Loaded after tokens.css. Covers global reset + the header/nav/footer shell
  shared by every page. Page-specific rules (home hero, category tiles,
  product spec block) live in their own stylesheet files, not here.
*/

/* ---- Reset: prevent any theme/bootstrap gap above header ---- */
html, body       { margin: 0 !important; padding: 0 !important; }
.main_body       { margin: 0 !important; padding: 0 !important; }
#header          { margin: 0 !important; padding: 0 !important; }

/* Sheet edge — a 3px Blueprint Ink bar across the very top of every page,
   like the border of a drawing sheet. First thing the eye hits on load;
   the signature motif's opening statement, repeated nowhere else at this
   weight. */
.main_body::before {
  content: '';
  display: block;
  height: 3px;
  background: var(--color-blueprint);
}

/* =====================================================
   HEADER BAR
   ===================================================== */
.ao-header-bar {
  background: var(--color-surface);
  border-bottom: 1px solid var(--border-color-strong);
}
.ao-header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-3) var(--space-4);
}

/* Logo — source is 1024×1024, white/yellow mark on a transparent
   background. (Dev's copy of this file was briefly a different,
   red-background asset that didn't match live — corrected 2026-08-25 by
   copying live's actual file; see task notes.) White-on-transparent is
   invisible against this header's white bar, so it's backed with a
   Blueprint Ink tile — reads as a deliberate plate (matches the "Plate 01"
   caption language used elsewhere in the design), not a rendering bug. */
.ao-header-logo a {
  display: block;
  line-height: 0;
  flex-shrink: 0;
  background: var(--color-blueprint);
  padding: 8px 14px;
}
.ao-header-logo-img { height: 60px; width: auto; display: block; }

/* Search — the buyer's fastest path to a spec sheet; give it real width. */
.ao-header-search { flex: 1 1 auto; max-width: 480px; }
.ao-header-search-form {
  display: flex;
  border: 1px solid var(--border-color-strong);
  border-radius: 0;
}
.ao-header-search-input {
  flex: 1 1 auto;
  border: none;
  padding: var(--space-2) var(--space-3);
  font-family: var(--font-body);
  font-size: 14px;
  background: var(--color-page-bg);
  outline: none;
}
.ao-header-search-input:focus { background: var(--color-surface); box-shadow: inset 0 0 0 2px var(--color-blueprint); }
.ao-header-search-button {
  border: none;
  border-left: 1px solid var(--border-color-strong);
  background: var(--color-blueprint);
  color: var(--color-surface);
  padding: 0 var(--space-3);
  cursor: pointer;
}
.ao-header-search-button:hover { background: #142c47; }

/* Account + cart */
.ao-header-right {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-left: auto;
  flex-shrink: 0;
}
.ao-header-account {
  display: flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-mono); font-size: 12px;
}
.ao-header-link { color: var(--color-text-muted); }
.ao-header-link-strong { color: var(--color-graphite); font-weight: 600; }
.ao-header-link:hover { color: var(--color-graphite); }
.ao-header-divider {
  width: 1px; height: 12px;
  background: var(--border-color);
  display: inline-block;
}
.ao-header-cart { display: flex; align-items: center; gap: var(--space-1); }
.ao-header-cart-label {
  font-family: var(--font-mono);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--color-graphite);
}

/* =====================================================
   MOBILE NAV — hidden by default, shown under the breakpoint
   ===================================================== */
.mobnav { display: none; }
.mobnav-inner { display: flex; justify-content: flex-end; padding: var(--space-2) var(--space-3); }
.mobnav-toggle {
  background: none; border: none; font-size: 20px; color: var(--color-graphite);
  cursor: pointer; padding: var(--space-2);
}
#mob_links {
  /* site-init.js's mobileMenu() toggles this element's inline display
     style directly (block/none) — no class-based toggle to hook into. */
  list-style: none; margin: 0; padding: 0 var(--space-3) var(--space-3);
  display: none;
}
#mob_links li a {
  display: block; padding: var(--space-2) 0;
  font-family: var(--font-mono); font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--color-graphite); border-bottom: 1px solid var(--border-color);
}
#mob_links li a.active { color: var(--color-blueprint); font-weight: 600; }

@media (max-width: 767px) {
  .ao-header-search { display: none; }
  .mobnav { display: block; }
}

/* =====================================================
   TOP MENU — desktop category nav, styled as a drawing index strip:
   mono uppercase labels, tick-mark separators, Signal Yellow underline
   on the active/hover item (the nav's one legitimate use of the colour).
   ===================================================== */
.topmenu {
  background: var(--color-graphite);
}
.topmenu .menu_inner {
  display: flex;
  list-style: none;
  margin: 0; padding: 0;
}
.topmenu .menu_inner li {
  border-right: 1px solid rgba(255,255,255,0.12);
}
.topmenu .menu_inner li:last-child { border-right: none; }
.topmenu .menu_inner li a {
  display: block;
  padding: var(--space-2) var(--space-4);
  color: #C9C7C2;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid transparent;
}
.topmenu .menu_inner li a:hover,
.topmenu .menu_inner li a.active {
  color: var(--color-surface);
  border-bottom-color: var(--color-signal);
}
@media (max-width: 767px) {
  .topmenu { display: none; }
}

/* =====================================================
   TRADE-PRICING GATE POPUPS
   ===================================================== */
#reseller-popup-content,
#register-popup-content {
  background-color: var(--color-surface);
  border: 1px solid var(--border-color-strong);
  border-radius: 0;
  color: var(--color-text);
  display: none;
  padding: var(--space-4);
  min-width: 400px;
  min-height: 180px;
}
.b-close { cursor: pointer; position: absolute; right: 10px; top: 5px; }

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: var(--color-graphite);
  color: var(--color-surface);
  margin-top: var(--space-7);
  border-top: 3px solid var(--color-blueprint);
}
.ftr_top { padding: var(--space-6) 0; }
.footer_nav h4 {
  font-family: var(--font-mono);
  color: #9BB6CE; /* Blueprint Ink, lightened for dark background — footer labels, not the signal colour (kept to primary actions only) */
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
}
.footer_nav ul { list-style: none; margin: 0 0 var(--space-2); padding: 0; }
.footer_nav ul li a,
.footer_nav p {
  color: #C9C7C2;
  font-size: 14px;
  line-height: 1.8;
}
.footer_nav ul li a:hover { color: var(--color-surface); }
.footer-social-list { display: flex; gap: var(--space-2); list-style: none; margin: 0; padding: 0; }
.footer-social-list .social-icon {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: var(--color-surface);
  font-size: 14px;
  transition: border-color .15s ease, color .15s ease;
}
.footer-social-list .social-icon::before {
  font-family: 'FontAwesome';
  line-height: 1;
}
.footer-social-list .social-icon.facebook::before { content: '\f09a'; }
.footer-social-list .social-icon.linkedin::before { content: '\f0e1'; }
.footer-social-list .social-icon.instagram::before { content: '\f16d'; }
.footer-social-list .social-icon:hover { border-color: var(--color-signal); color: var(--color-signal); }
.company-links { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); list-style: none; margin: 0; padding: 0; }
.ftr_bott {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: var(--space-3) 0;
}
.footer-company-info { font-family: var(--font-mono); font-size: 11px; color: #9E9C97; }
.footer-company-info .company-details { margin-right: var(--space-2); }
