/**
 * TechSupply Industrial — Public Website CSS
 * Professional US-Based Industrial B2B E-Commerce
 * Design System: Navy + Amber | Inter Font
 */

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --navy:          #1a2b4a;
  --navy-dark:     #0f1724;
  --navy-light:    #243a5e;
  --navy-muted:    #2c4a72;
  --amber:         #e8a020;
  --amber-dark:    #c88a18;
  --amber-light:   #f0b840;
  --success:       #2d7a3a;
  --danger:        #c0392b;
  --warning:       #d97706;
  --info:          #1d4ed8;
  --bg-light:      #f0f4f8;
  --bg-white:      #ffffff;
  --bg-section:    #f8fafc;
  --text-dark:     #1a1a2e;
  --text-mid:      #2d3748;
  --text-body:     #4a5568;
  --text-muted:    #718096;
  --border:        #e2e8f0;
  --border-dark:   #cbd5e0;
  --shadow-xs:     0 1px 2px rgba(0,0,0,0.06);
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.1);
  --shadow-md:     0 4px 12px rgba(0,0,0,0.12);
  --shadow-lg:     0 8px 30px rgba(0,0,0,0.15);
  --shadow-xl:     0 16px 48px rgba(0,0,0,0.18);
  --radius:        8px;
  --radius-lg:     12px;
  --radius-xl:     16px;
  --transition:    0.2s ease;
  --font-main:     'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono:     'Consolas', 'Courier New', monospace;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-main);
  font-size: 15px;
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body > main { flex: 1; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--amber); }

ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  color: var(--text-dark);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.3px;
}

h1 { font-size: clamp(26px, 4vw, 40px); }
h2 { font-size: clamp(22px, 3vw, 32px); }
h3 { font-size: clamp(18px, 2.5vw, 24px); }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

input, select, textarea, button { font-family: var(--font-main); }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-lg { max-width: 1440px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 900px; margin: 0 auto; padding: 0 24px; }

.section-padding { padding: 64px 0; }
.section-padding-sm { padding: 40px 0; }
.section-padding-lg { padding: 96px 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px; }

.col-span-2 { grid-column: span 2; }
.col-span-3 { grid-column: span 3; }

.flex-between { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.flex-center { display: flex; align-items: center; justify-content: center; gap: 12px; }
.flex-start { display: flex; align-items: flex-start; gap: 12px; }
.flex-align { display: flex; align-items: center; gap: 12px; }
.flex-wrap { flex-wrap: wrap; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1; }

.gap-xs { gap: 6px; }
.gap-sm { gap: 12px; }
.gap-md { gap: 20px; }
.gap-lg { gap: 32px; }
.gap-xl { gap: 48px; }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-header-left { text-align: left; max-width: none; margin: 0 0 48px; }

.section-sub {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--amber);
  margin-bottom: 10px;
  padding: 4px 12px;
  background: rgba(232, 160, 32, 0.1);
  border-radius: 999px;
}

.section-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  line-height: 1.2;
}

.section-desc {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.7;
}

.section-link {
  color: var(--amber);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}

.section-link:hover { gap: 10px; color: var(--amber-dark); }

/* ============================================================
   TOP BAR
   ============================================================ */
.header-top-bar {
  background: var(--navy-dark);
  color: #a0b8d0;
  font-size: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-top-bar a { color: #c0d4e8; transition: color var(--transition); }
.header-top-bar a:hover { color: var(--amber); }

.top-bar-inner,
.header-top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.top-bar-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  color: #e2e8f0;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  box-shadow: 0 0 6px #10b981;
}

.top-bar-email {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #94a3b8;
}

.top-bar-email svg { color: var(--amber); flex-shrink: 0; }
.top-bar-email a { color: #f1f5f9; text-decoration: none; font-weight: 500; }
.top-bar-email a:hover { color: var(--amber); }

.top-bar-item { display: inline-flex; align-items: center; gap: 6px; color: #94a3b8; }
.top-bar-sep { color: rgba(255,255,255,0.2); }

.top-bar-link {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
}

.top-bar-link:hover { color: var(--amber); }

/* ============================================================
   MAIN HEADER
   ============================================================ */
.site-header {
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-main {
  background: var(--bg-white);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.header-brand { flex-shrink: 0; }

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-symbol {
  font-size: 30px;
  color: var(--amber);
  line-height: 1;
}

.logo-text { line-height: 1.15; }

.brand-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.3px;
  display: block;
}

.brand-sub {
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 600;
  display: block;
}

/* Search */
.header-search {
  flex: 1;
  max-width: 620px;
  position: relative;
}

.search-form {
  width: 100%;
  position: relative;
}

.header-search .search-input-wrapper,
.search-input-wrapper {
  display: flex !important;
  align-items: center !important;
  position: relative !important;
  width: 100% !important;
  background: #ffffff !important;
  border: 2px solid var(--border-dark) !important;
  border-radius: var(--radius) !important;
  overflow: hidden !important;
  transition: border-color var(--transition), box-shadow var(--transition) !important;
  box-sizing: border-box !important;
}

.header-search .search-input-wrapper:focus-within,
.search-input-wrapper:focus-within {
  border-color: var(--navy) !important;
  box-shadow: 0 0 0 3px rgba(26, 43, 74, 0.15) !important;
}

.header-search .search-icon,
.search-icon {
  margin-left: 14px !important;
  color: var(--text-muted) !important;
  flex-shrink: 0 !important;
  display: block !important;
}

.header-search .search-input,
.search-input {
  flex: 1 !important;
  height: 42px !important;
  padding: 0 14px !important;
  border: none !important;
  background: transparent !important;
  font-family: var(--font-main) !important;
  font-size: 14px !important;
  color: var(--text-dark) !important;
  outline: none !important;
  box-shadow: none !important;
  width: 100% !important;
  margin: 0 !important;
}

.header-search .btn-search,
.search-form .btn-search,
button.btn-search,
.btn-search,
.search-btn {
  height: 42px !important;
  line-height: 42px !important;
  padding: 0 24px !important;
  background: var(--navy) !important;
  border: none !important;
  border-radius: 0 calc(var(--radius) - 2px) calc(var(--radius) - 2px) 0 !important;
  color: #ffffff !important;
  font-family: var(--font-main) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background var(--transition) !important;
  box-shadow: none !important;
  outline: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  margin: 0 !important;
  text-transform: none !important;
}

.header-search .btn-search:hover,
.search-form .btn-search:hover,
button.btn-search:hover,
.btn-search:hover,
.search-btn:hover {
  background: var(--amber) !important;
  color: #ffffff !important;
}

/* Search Dropdown */
.search-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  z-index: 200;
  max-height: 380px;
  overflow-y: auto;
  display: none;
}

.search-dropdown.open { display: block; }

.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: var(--text-dark);
}

.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--bg-light); }

.search-result-thumb {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--border);
  flex-shrink: 0;
  background: var(--bg-light);
}

.search-result-name { font-size: 13px; font-weight: 600; color: var(--navy); }
.search-result-sku { font-size: 11px; color: var(--text-muted); font-family: var(--font-mono); }
.search-result-cat { font-size: 11px; color: var(--text-muted); margin-left: auto; white-space: nowrap; }
.search-result-no { padding: 18px; text-align: center; color: var(--text-muted); font-size: 13px; }

.search-spinner {
  display: none;
  position: absolute;
  right: 85px;
  top: 50%;
  transform: translateY(-50%);
  gap: 4px;
  align-items: center;
}

.search-spinner.visible { display: flex; }

.search-spinner span {
  width: 6px;
  height: 6px;
  background: var(--navy);
  border-radius: 50%;
  animation: dotPulse 0.8s ease-in-out infinite alternate;
}

.search-spinner span:nth-child(2) { animation-delay: 0.2s; }
.search-spinner span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotPulse {
  from { opacity: 0.3; transform: scale(0.7); }
  to { opacity: 1; transform: scale(1); }
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-rfq-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: rgba(232, 160, 32, 0.12) !important;
  border: 1.5px solid var(--amber) !important;
  color: var(--amber-dark) !important;
  padding: 8px 14px !important;
  border-radius: var(--radius) !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  white-space: nowrap !important;
  transition: all var(--transition) !important;
  text-decoration: none !important;
}

.header-rfq-btn:hover {
  background: var(--amber) !important;
  color: #fff !important;
  border-color: var(--amber) !important;
  box-shadow: 0 2px 8px rgba(232, 160, 32, 0.35) !important;
}

.action-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: var(--radius);
  transition: background var(--transition);
  cursor: pointer;
}

.action-item:hover {
  background: var(--bg-light);
  color: var(--navy);
}

.action-item svg {
  color: var(--navy);
  flex-shrink: 0;
}

.action-label {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  text-align: left;
}

.action-label small {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.action-label strong {
  font-size: 13px;
  color: var(--navy);
  font-weight: 700;
  white-space: nowrap;
}

.cart-action-link { position: relative; }

.cart-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.cart-badge-counter {
  position: absolute;
  top: -4px;
  right: -6px;
  background: var(--amber);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
  box-shadow: 0 2px 4px rgba(232, 160, 32, 0.4);
}

.account-dropdown-wrapper { position: relative; }

.account-dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  min-width: 220px;
  display: none;
  z-index: 200;
  padding: 8px 0;
}

.account-dropdown-menu.open { display: block; }

.user-chip {
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--border);
}

.user-chip strong { color: var(--navy); font-size: 13.5px; }
.user-chip small { color: var(--text-muted); font-size: 11px; }

.account-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  font-size: 13px;
  color: var(--text-mid);
  transition: background var(--transition);
  text-decoration: none;
}

.account-dropdown-menu a:hover { background: var(--bg-light); color: var(--navy); }
.account-dropdown-menu hr { border: none; border-top: 1px solid var(--border); margin: 6px 0; }

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  background: transparent;
  border: none;
  color: var(--navy);
  font-size: 22px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-navigation {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.06);
  position: relative;
  z-index: 90;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.site-navigation .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.nav-item { position: relative; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 13px;
  height: 48px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  white-space: nowrap;
  transition: all var(--transition);
  text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
  color: var(--amber);
  background: rgba(255,255,255,0.08);
}

.nav-link-all {
  background: rgba(232, 160, 32, 0.15);
  color: var(--amber-light) !important;
  font-weight: 700;
}

.nav-link-all:hover {
  background: rgba(232, 160, 32, 0.28);
  color: #fff !important;
}

.dropdown-chevron,
.nav-link .chevron {
  font-size: 10px;
  transition: transform var(--transition);
  flex-shrink: 0;
}

.nav-item:hover .dropdown-chevron,
.nav-item:hover .chevron {
  transform: rotate(180deg);
}

.nav-quick-action {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: auto;
  padding-left: 12px;
}

.delivery-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--amber-light);
  white-space: nowrap;
  background: rgba(255,255,255,0.07);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(232,160,32,0.25);
  letter-spacing: 0.2px;
}

.delivery-indicator svg {
  color: var(--amber);
  flex-shrink: 0;
}

.delivery-text {
  white-space: nowrap;
}

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--amber);
  box-shadow: var(--shadow-xl);
  z-index: 200;
  min-width: 660px;
  display: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 24px;
}

.nav-item:hover .mega-menu { display: block; }

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mega-menu-item {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--text-mid);
  font-size: 13px;
  font-weight: 500;
  transition: all var(--transition);
  border-left: 2px solid transparent;
  text-decoration: none;
}

.mega-menu-item:hover {
  background: var(--bg-light);
  color: var(--navy);
  border-left-color: var(--amber);
  padding-left: 16px;
}

.mega-menu-item strong { display: block; color: var(--navy); margin-bottom: 2px; }
.mega-menu-item small { display: block; color: var(--text-muted); font-size: 11px; }

.mega-menu-footer {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: 14px;
  display: flex;
  gap: 12px;
}

.mega-menu-footer a {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}

.mega-menu-footer a:hover { color: var(--amber); }

/* Simple dropdown */
.nav-dropdown:not(.mega-menu) {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--amber);
  box-shadow: var(--shadow-lg);
  z-index: 200;
  min-width: 220px;
  display: none;
  border-radius: 0 0 var(--radius) var(--radius);
}

.nav-item:hover .nav-dropdown:not(.mega-menu) { display: block; }

.nav-dropdown:not(.mega-menu) a {
  display: block;
  padding: 10px 18px;
  font-size: 13px;
  color: var(--text-mid);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
  text-decoration: none;
}

.nav-dropdown:not(.mega-menu) a:last-child { border-bottom: none; }
.nav-dropdown:not(.mega-menu) a:hover { background: var(--bg-light); color: var(--navy); padding-left: 24px; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 40%, var(--navy-light) 100%);
  color: #fff;
  padding: 80px 0 96px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 0h60v60H0z' fill='none'/%3E%3Ccircle cx='30' cy='30' r='1' fill='rgba(255,255,255,0.04)'/%3E%3C/svg%3E") repeat;
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232,160,32,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { max-width: 640px; position: relative; z-index: 1; }

.hero-eyebrow,
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,160,32,0.18);
  border: 1px solid rgba(232,160,32,0.45);
  color: var(--amber-light);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero-title {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero-title .accent { color: var(--amber); }

.hero-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 640px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.14);
}

.hero-stat,
.stat-item {
  text-align: left;
}

.hero-stat .stat-num,
.stat-item .stat-num {
  font-size: 30px;
  font-weight: 900;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 5px;
  display: block;
}

.hero-stat .stat-text,
.stat-item .stat-text {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: all var(--transition);
  line-height: 1;
  font-family: var(--font-main);
}

.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-sm { padding: 7px 14px; font-size: 12px; }
.btn-xs { padding: 4px 10px; font-size: 11px; }
.btn-lg { padding: 14px 30px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-primary:hover { background: var(--navy-light); border-color: var(--navy-light); color: #fff; }

.btn-accent {
  background: var(--amber);
  color: #fff;
  border-color: var(--amber);
}
.btn-accent:hover { background: var(--amber-dark); border-color: var(--amber-dark); color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--text-mid);
  border-color: var(--border-dark);
}
.btn-outline:hover { border-color: var(--navy); color: var(--navy); background: var(--bg-light); }

.btn-outline-primary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-primary:hover { background: var(--navy); color: #fff; }

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: #fff; color: #fff; }

.btn-outline-amber {
  background: transparent;
  color: var(--amber);
  border-color: var(--amber);
}
.btn-outline-amber:hover { background: var(--amber); color: #fff; }

.btn-outline-danger {
  background: transparent;
  color: var(--danger);
  border-color: var(--danger);
}
.btn-outline-danger:hover { background: var(--danger); color: #fff; }

.btn-secondary {
  background: var(--bg-light);
  color: var(--text-mid);
  border-color: var(--border);
}
.btn-secondary:hover { background: var(--border); color: var(--navy); }

.btn-danger { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn-danger:hover { background: #a93226; color: #fff; }

.btn-success { background: var(--success); color: #fff; border-color: var(--success); }
.btn-success:hover { background: #236330; color: #fff; }

/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.badge-success { background: #dcfce7; color: #166534; }
.badge-danger { background: #fee2e2; color: #991b1b; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-primary { background: #dbeafe; color: #1e40af; }
.badge-info { background: #e0f2fe; color: #0369a1; }
.badge-secondary { background: #f1f5f9; color: #475569; }
.badge-light { background: #f8fafc; color: #64748b; border: 1px solid var(--border); }
.badge-amber { background: rgba(232,160,32,0.15); color: #92400e; }
.badge-navy { background: var(--navy); color: #fff; }

/* Stock badges */
.badge-in-stock { background: #dcfce7; color: #166534; }
.badge-low-stock { background: #fef3c7; color: #92400e; }
.badge-out-of-stock { background: #fee2e2; color: #991b1b; }
.badge-quote-only { background: #dbeafe; color: #1e40af; }

/* ============================================================
   CATEGORY CARDS
   ============================================================ */
.category-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  text-align: left;
  transition: all var(--transition);
  border-bottom: 3px solid transparent;
  text-decoration: none;
  position: relative;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--amber);
  border-color: var(--border-dark);
}

.category-card-icon,
.category-card .cat-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: rgba(26, 43, 74, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--navy);
  transition: all var(--transition);
  flex-shrink: 0;
}

.category-card:hover .category-card-icon {
  background: var(--amber);
  color: #fff;
  transform: scale(1.05);
}

.category-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.category-card-title,
.category-card .cat-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.3;
}

.category-card-desc,
.category-card .cat-count {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
  flex: 1;
}

.category-card-action {
  font-size: 12px;
  font-weight: 700;
  color: var(--amber-dark);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}

.category-card:hover .category-card-action {
  gap: 8px;
  color: var(--navy);
}

/* ============================================================
   PRODUCT GRID & CARDS
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--border-dark);
}

.product-card-img-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card-img { transform: scale(1.06); }

.product-card-badges,
.product-card-badge-wrap {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}

.product-card-body,
.product-card-details {
  padding: 14px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.product-card-brand,
.product-manufacturer {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
}

.product-card-name,
.product-card-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.35;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
}

.product-card-name a,
.product-card-title a {
  color: inherit;
  text-decoration: none;
}

.product-card-name a:hover,
.product-card-title a:hover { color: var(--navy); }

.product-card-sku,
.product-sku { font-size: 10px; color: var(--text-muted); font-family: var(--font-mono); }

.product-mpn {
  font-size: 11px;
  color: var(--text-muted);
}
.product-mpn strong { color: var(--text-mid); }

.product-card-pricing { margin-top: 4px; }

.price-val {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.price-val .uom {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
}

.price-compare {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 6px;
}

.price-quote-only {
  font-size: 13px;
  font-weight: 700;
  color: var(--info);
  letter-spacing: 0.3px;
}

.product-card-actions {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
}

.btn-add-to-cart {
  flex: 1;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
}

.btn-add-to-cart:hover { background: var(--navy-light); color: #fff; }

.btn-quote-only {
  flex: 1;
  background: var(--info);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
}

.btn-quote-only:hover { background: #1a43b0; color: #fff; }

.btn-view-product {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mid);
  font-size: 14px;
  text-decoration: none;
  transition: all var(--transition);
  flex-shrink: 0;
}

.btn-view-product:hover { border-color: var(--navy); color: var(--navy); }

/* ============================================================
   CATALOG LAYOUT
   ============================================================ */
.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}

.catalog-sidebar {
  position: sticky;
  top: 100px;
}

.filter-box {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 16px;
}

.filter-box-header {
  background: var(--navy);
  color: #fff;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.filter-box-body { padding: 14px 16px; }

.filter-group { margin-bottom: 16px; }
.filter-group:last-child { margin-bottom: 0; }
.filter-group-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; color: var(--text-muted); margin-bottom: 8px; }

.filter-options-scroll { max-height: 200px; overflow-y: auto; }

.filter-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-body);
  transition: color var(--transition);
}

.filter-checkbox-label:hover { color: var(--navy); }

.filter-checkbox-label input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--amber);
}

.filter-count { font-size: 11px; color: var(--text-muted); margin-left: auto; }

.filter-clear {
  font-size: 12px;
  color: var(--danger);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-weight: 600;
}

.catalog-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.results-count { font-size: 14px; color: var(--text-muted); }
.results-count strong { color: var(--navy); }

.catalog-sort-wrap { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.catalog-sort-wrap select { padding: 6px 10px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 13px; color: var(--text-dark); }

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.product-page-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.product-gallery { position: sticky; top: 100px; }

.main-image-viewport {
  aspect-ratio: 1;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 12px;
}

.main-image-viewport img { width: 100%; height: 100%; object-fit: cover; }

.gallery-thumbnails { display: flex; gap: 8px; flex-wrap: wrap; }

.thumb-btn {
  width: 72px;
  height: 72px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--transition);
  background: var(--bg-light);
  padding: 0;
}

.thumb-btn:hover, .thumb-btn.active { border-color: var(--amber); }
.thumb-btn img { width: 100%; height: 100%; object-fit: cover; }

.product-summary-panel {}

.product-page-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.product-page-title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: -0.4px;
  line-height: 1.25;
}

.product-meta-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.product-meta-specs-table .meta-row { border-bottom: 1px solid var(--border); }
.product-meta-specs-table .meta-lbl {
  padding: 8px 0;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--text-muted);
  width: 140px;
  vertical-align: top;
}
.product-meta-specs-table .meta-val {
  padding: 8px 0;
  font-size: 13px;
  color: var(--text-dark);
  font-weight: 500;
}

.product-page-pricing-box {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin: 20px 0;
}

.price-large {
  font-size: 32px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}

.product-uom-note { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }

.qty-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  overflow: hidden;
  width: fit-content;
}

.qty-btn {
  width: 38px;
  height: 38px;
  border: none;
  background: var(--bg-light);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  color: var(--text-mid);
  transition: background var(--transition);
}

.qty-btn:hover { background: var(--border); }

.qty-input {
  width: 56px;
  height: 38px;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  background: #fff;
  outline: none;
}

.product-guarantee-strip {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 16px 0;
  flex-wrap: wrap;
}

.guarantee-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-muted); font-weight: 500; }

.product-technical-tabs { margin-top: 40px; }

.tabs-header-bar {
  display: flex;
  border-bottom: 2px solid var(--border);
  gap: 4px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 20px;
  background: transparent;
  border: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition);
  white-space: nowrap;
}

.tab-btn:hover { color: var(--navy); }
.tab-btn.active { color: var(--navy); border-bottom-color: var(--amber); }

.tab-pane { display: none; padding: 24px 0; }
.tab-pane.active { display: block; }

.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tr:nth-child(even) { background: var(--bg-light); }
.specs-table td { padding: 10px 14px; font-size: 13px; border-bottom: 1px solid var(--border); }
.specs-table td:first-child { font-weight: 600; color: var(--text-mid); width: 40%; }
.specs-table td:last-child { color: var(--text-dark); }

.documents-list { display: flex; flex-direction: column; gap: 10px; }

.document-item-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-white);
  transition: all var(--transition);
  text-decoration: none;
  color: var(--text-dark);
}

.document-item-card:hover { border-color: var(--navy); background: var(--bg-light); }
.document-item-card .doc-icon { font-size: 20px; flex-shrink: 0; }
.document-item-card .doc-name { font-size: 13px; font-weight: 600; }
.document-item-card .doc-size { font-size: 11px; color: var(--text-muted); }

.related-products-section { margin-top: 64px; }

/* ============================================================
   CART
   ============================================================ */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }

.cart-table-wrap {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.cart-table { width: 100%; border-collapse: collapse; }
.cart-table thead th {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  text-align: left;
}

.cart-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  font-size: 14px;
}

.cart-table tbody tr:last-child td { border-bottom: none; }

.cart-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.cart-item-name { font-size: 14px; font-weight: 600; color: var(--navy); display: block; margin-bottom: 3px; }
.cart-item-sku { font-size: 11px; color: var(--text-muted); font-family: var(--font-mono); }

.cart-qty-form { display: flex; align-items: center; gap: 6px; }

.btn-remove-item {
  background: none;
  border: none;
  color: var(--danger);
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: background var(--transition);
}

.btn-remove-item:hover { background: #fee2e2; }

/* Cart Summary */
.cart-summary-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  position: sticky;
  top: 100px;
}

.cart-summary-title { font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }

.summary-line { display: flex; justify-content: space-between; padding: 7px 0; font-size: 13px; color: var(--text-body); }
.summary-total-line { display: flex; justify-content: space-between; padding: 14px 0 0; font-size: 18px; font-weight: 800; color: var(--navy); border-top: 2px solid var(--border); margin-top: 4px; }

.procurement-notes { margin-top: 16px; }
.procurement-notes textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px;
  font-size: 13px;
  color: var(--text-dark);
  resize: vertical;
  min-height: 80px;
  outline: none;
  font-family: var(--font-main);
}

.procurement-notes textarea:focus { border-color: var(--navy); }

/* ============================================================
   CHECKOUT
   ============================================================ */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }

.checkout-section-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
}

.section-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-badge {
  width: 28px;
  height: 28px;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-group { margin-bottom: 18px; }

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-mid);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text-dark);
  background: var(--bg-white);
  transition: border-color var(--transition);
  outline: none;
  font-family: var(--font-main);
}

.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(26,43,74,0.08); }

.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }

.form-textarea { resize: vertical; min-height: 100px; }

.form-error { font-size: 12px; color: var(--danger); margin-top: 4px; }

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--amber);
  margin-top: 2px;
  flex-shrink: 0;
}

/* ============================================================
   ALERT / FLASH MESSAGES
   ============================================================ */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  border-left: 4px solid transparent;
}

.alert-success { background: #f0fdf4; border-color: var(--success); color: #166534; }
.alert-error { background: #fff5f5; border-color: var(--danger); color: #991b1b; }
.alert-info { background: #eff6ff; border-color: var(--info); color: #1e40af; }
.alert-warning { background: #fffbeb; border-color: var(--warning); color: #92400e; }

.alert-close { background: none; border: none; cursor: pointer; font-size: 18px; opacity: 0.6; color: inherit; flex-shrink: 0; padding: 0; }
.alert-close:hover { opacity: 1; }

/* Toast notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  font-size: 14px;
  font-weight: 500;
  min-width: 280px;
  max-width: 360px;
  animation: slideInRight 0.3s ease;
  cursor: pointer;
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(60px); }
  to { opacity: 1; transform: translateX(0); }
}

.toast-success { background: #f0fdf4; color: #166534; border-left: 4px solid var(--success); }
.toast-error { background: #fff5f5; color: #991b1b; border-left: 4px solid var(--danger); }
.toast-info { background: #eff6ff; color: #1e40af; border-left: 4px solid var(--info); }
.toast-warning { background: #fffbeb; color: #92400e; border-left: 4px solid var(--warning); }

/* ============================================================
   ACCOUNT DASHBOARD
   ============================================================ */
.dashboard-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: start;
}

.dashboard-sidebar {
  position: sticky;
  top: 100px;
}

.dashboard-nav-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.dashboard-nav-card-header {
  background: var(--navy);
  color: #fff;
  padding: 16px;
  text-align: center;
}

.dashboard-nav-card-header .user-avatar-lg {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--amber);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.dashboard-nav-card-header .user-name { font-size: 15px; font-weight: 700; }
.dashboard-nav-card-header .user-company { font-size: 12px; color: rgba(255,255,255,0.65); }

.dashboard-nav-list { padding: 8px 0; }

.dashboard-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-body);
  transition: all var(--transition);
  border-left: 3px solid transparent;
  text-decoration: none;
}

.dashboard-nav-link:hover { background: var(--bg-light); color: var(--navy); border-left-color: var(--amber); padding-left: 20px; }
.dashboard-nav-link.active { background: rgba(232,160,32,0.08); color: var(--amber); border-left-color: var(--amber); font-weight: 700; }
.dashboard-nav-link .nav-icon { font-size: 14px; width: 18px; text-align: center; flex-shrink: 0; }

.stat-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  border-top: 3px solid var(--amber);
}

.stat-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--text-muted); font-weight: 700; margin-bottom: 6px; }
.stat-value { font-size: 26px; font-weight: 900; color: var(--navy); }
.stat-sub { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ============================================================
   DATA TABLES (public account portal)
   ============================================================ */
.data-table-wrap {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table thead th {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  text-align: left;
  white-space: nowrap;
}

.data-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-body);
  vertical-align: middle;
}

.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover td { background: var(--bg-light); }

.grand-total-row td { background: var(--bg-light); font-weight: 800; color: var(--navy); font-size: 15px; }

/* Status badges for portal */
.status-pending { background: #fef3c7; color: #92400e; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.status-confirmed { background: #dbeafe; color: #1e40af; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.status-processing { background: #ede9fe; color: #5b21b6; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.status-shipped { background: #ecfdf5; color: #065f46; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.status-completed { background: #dcfce7; color: #166534; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.status-cancelled { background: #fee2e2; color: #991b1b; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.status-draft { background: #f1f5f9; color: #475569; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.status-sent { background: #dbeafe; color: #1e40af; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.status-viewed { background: #ede9fe; color: #5b21b6; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.status-accepted { background: #dcfce7; color: #166534; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.status-rejected { background: #fee2e2; color: #991b1b; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.status-converted { background: #ecfdf5; color: #065f46; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.status-expired { background: #f1f5f9; color: #475569; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.status-paid { background: #dcfce7; color: #166534; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.status-partially_paid { background: #fef3c7; color: #92400e; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.status-unpaid { background: #fee2e2; color: #991b1b; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.status-overdue { background: #fef2f2; color: #7f1d1d; border: 1px solid #fca5a5; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.status-new { background: rgba(232,160,32,0.12); color: #92400e; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.status-reviewed { background: #dbeafe; color: #1e40af; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.status-in_stock { background: #dcfce7; color: #166534; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.status-low_stock { background: #fef3c7; color: #92400e; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.status-out_of_stock { background: #fee2e2; color: #991b1b; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.status-quote_only { background: #dbeafe; color: #1e40af; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs-wrap {
  padding: 0 0 10px 0;
  background: transparent;
  border: none;
}

ol.breadcrumb-list,
ul.breadcrumb-list,
.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 4px;
}

li.breadcrumb-item,
.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  list-style: none !important;
  list-style-type: none !important;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-muted, #64748b);
  margin: 0;
  padding: 0;
}

.breadcrumb-item::marker {
  display: none !important;
  content: none !important;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/" !important;
  display: inline-block !important;
  margin: 0 8px 0 4px;
  color: #94a3b8;
  font-weight: 400;
  font-size: 12px;
  line-height: 1;
}

.breadcrumb-item a {
  color: var(--primary, #0284c7);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.breadcrumb-item a:hover {
  color: var(--navy, #0f172a);
  text-decoration: underline;
}

.breadcrumb-item.active,
.breadcrumb-item:last-child {
  color: var(--navy, #0f172a);
  font-weight: 600;
}

.breadcrumb-item.active a {
  color: var(--navy, #0f172a);
  pointer-events: none;
}

/* Breadcrumbs in dark page-header */
.page-header:not(.bg-light) .breadcrumb-item {
  color: rgba(255, 255, 255, 0.7);
}

.page-header:not(.bg-light) .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.4);
}

.page-header:not(.bg-light) .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.9);
}

.page-header:not(.bg-light) .breadcrumb-item a:hover {
  color: #fff;
  text-decoration: underline;
}

.page-header:not(.bg-light) .breadcrumb-item.active,
.page-header:not(.bg-light) .breadcrumb-item:last-child {
  color: #fff;
}

/* ============================================================
   PAGE HEADER & TITLES
   ============================================================ */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff;
  padding: 40px 0;
}

.page-header.bg-light,
.page-header-light {
  background: #f8fafc !important;
  color: var(--text, #1e293b) !important;
  border-bottom: 1px solid var(--border, #e2e8f0);
  padding: 32px 0 36px 0;
}

.page-title,
.page-header-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: var(--navy, #0f172a);
  margin-top: 0;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
  line-height: 1.25;
}

.page-header:not(.bg-light):not(.page-header-light) .page-title,
.page-header:not(.bg-light):not(.page-header-light) .page-header-title {
  color: #fff;
}

.page-subtitle,
.page-header-sub {
  font-size: 14px;
  color: var(--text-muted, #64748b);
  margin-top: 4px;
  margin-bottom: 0;
  line-height: 1.5;
}

.page-header:not(.bg-light):not(.page-header-light) .page-subtitle,
.page-header:not(.bg-light):not(.page-header-light) .page-header-sub {
  color: rgba(255, 255, 255, 0.75);
}

/* ============================================================
   BRANDS
   ============================================================ */
.brands-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.brand-card-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  transition: all var(--transition);
  text-decoration: none;
}

.brand-card-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--amber);
}

.brand-card-item img {
  max-height: 40px;
  max-width: 100px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter var(--transition);
}

.brand-card-item:hover img { filter: grayscale(0%); }

.brand-name-wrap {
  text-align: center;
  display: flex;
  flex-direction: column;
}

.brand-name-wrap strong {
  font-size: 15px;
  color: var(--navy);
  display: block;
}

.brand-name-wrap small {
  font-size: 11px;
  color: var(--text-muted);
}

.brands-directory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.brand-directory-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  text-decoration: none;
  color: var(--text-dark);
}

.brand-directory-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--amber); }

.brand-logo-area {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  padding: 20px;
}

.brand-logo-area img { max-height: 60px; max-width: 160px; object-fit: contain; }
.brand-directory-card .brand-info { padding: 14px 16px; }
.brand-directory-card .brand-name-lbl { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.brand-directory-card .brand-prod-count { font-size: 12px; color: var(--text-muted); }

/* ============================================================
   INDUSTRIES GRID
   ============================================================ */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.industry-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.industry-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-left: 4px solid var(--amber);
}

.industry-icon,
.industry-card .ind-icon {
  font-size: 32px;
  line-height: 1;
  flex-shrink: 0;
}

.industry-title,
.industry-card .ind-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.industry-desc,
.industry-card .ind-desc {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.6;
}

/* ============================================================
   BLOG ARTICLE CONTENT & IMAGES
   ============================================================ */
.article-content {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-body, #334155);
}

.article-content p {
  margin-bottom: 16px;
}

.article-content h2,
.article-content h3,
.article-content h4 {
  color: var(--navy, #0f172a);
  margin-top: 28px;
  margin-bottom: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.article-content h2 { font-size: 22px; }
.article-content h3 { font-size: 18px; }
.article-content h4 { font-size: 16px; }

.article-content ul,
.article-content ol {
  margin: 12px 0 20px 24px;
}

.article-content li {
  margin-bottom: 6px;
}

.article-content blockquote {
  border-left: 4px solid var(--amber, #f59e0b);
  padding: 12px 18px;
  background: var(--bg-light, #f8fafc);
  margin: 20px 0;
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: #475569;
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius, 6px);
  margin: 16px 0;
  display: block;
}

.article-content img.align-center,
.article-content .blog-img-center,
.article-content .page-img-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.article-content img.align-left,
.article-content .blog-img-left,
.article-content .page-img-left {
  float: left;
  margin: 8px 24px 16px 0;
}

.article-content img.align-right,
.article-content .blog-img-right,
.article-content .page-img-right {
  float: right;
  margin: 8px 0 16px 24px;
}

.article-content figure {
  margin: 20px 0;
}

.article-content figcaption {
  font-size: 12px;
  color: var(--text-muted, #64748b);
  text-align: center;
  margin-top: 6px;
}

.article-content::after {
  content: "";
  display: table;
  clear: both;
}

/* ============================================================
   FEATURES / WHY US
   ============================================================ */
.section-bg-navy,
.bg-navy {
  background: var(--navy);
}

.section-bg-navy .section-title,
.bg-navy .section-title,
.text-white {
  color: #fff !important;
}

.text-accent {
  color: var(--amber) !important;
}

.section-bg-navy .section-desc,
.bg-navy .section-desc {
  color: rgba(255,255,255,0.75);
}

.feature-box {
  text-align: left;
  padding: 10px;
}

.feature-icon,
.feature-box .feat-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: rgba(232, 160, 32, 0.15);
  border: 1px solid rgba(232, 160, 32, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}

.feature-title,
.feature-box .feat-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.feature-box p,
.feature-box .feat-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
}

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.blog-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.blog-card-img-wrap { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-light); }
.blog-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .blog-card-img-wrap img { transform: scale(1.06); }

.blog-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.blog-meta { display: flex; gap: 12px; font-size: 11px; color: var(--text-muted); margin-bottom: 10px; font-weight: 600; }
.blog-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.35; }
.blog-title a { color: inherit; }
.blog-title a:hover { color: var(--amber); }
.blog-excerpt { font-size: 13px; color: var(--text-body); line-height: 1.65; flex: 1; }
.blog-read-more { margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--amber); display: inline-flex; align-items: center; gap: 4px; }

.featured-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 28px;
  aspect-ratio: 16/9;
  background: var(--bg-light);
}

.featured-image-wrap img { width: 100%; height: 100%; object-fit: cover; }

.article-content { max-width: 780px; }
.article-content h2 { font-size: 22px; margin: 32px 0 16px; color: var(--navy); }
.article-content h3 { font-size: 18px; margin: 24px 0 12px; }
.article-content p { font-size: 16px; line-height: 1.8; margin-bottom: 16px; }
.article-content ul, .article-content ol { margin: 12px 0 16px 24px; font-size: 16px; line-height: 1.8; }
.article-content blockquote { border-left: 4px solid var(--amber); padding: 12px 16px; background: var(--bg-light); margin: 20px 0; border-radius: 0 var(--radius) var(--radius) 0; }

.blog-categories-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }

/* ============================================================
   AUTH CARDS
   ============================================================ */
.auth-wrap { min-height: 60vh; display: flex; align-items: center; justify-content: center; padding: 40px 0; background: var(--bg-light); }

.auth-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-lg);
}

.auth-header { text-align: center; margin-bottom: 28px; }
.auth-title { font-size: 24px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.auth-subtitle { font-size: 14px; color: var(--text-muted); }
.auth-footer { text-align: center; margin-top: 20px; font-size: 13px; color: var(--text-muted); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #0d1726;
  color: #cbd5e1;
  position: relative;
  z-index: 10;
}

.footer-trust-banner {
  background: #080f1a;
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.trust-items { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #94a3b8;
  font-size: 13px;
}

.trust-item .trust-icon { font-size: 24px; color: var(--amber); line-height: 1; flex-shrink: 0; }
.trust-item strong { color: #f1f5f9; display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 3px; }
.trust-item p { color: #94a3b8; font-size: 12px; margin: 0; line-height: 1.5; }

.footer-main-content {
  background: #0d1726;
  color: #cbd5e1;
  padding: 56px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.footer-brand .logo-symbol { font-size: 26px; color: var(--amber); }
.footer-brand strong { color: #ffffff; font-size: 18px; font-weight: 800; letter-spacing: -0.3px; }

.footer-desc {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 18px;
}

.delaware-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.footer-heading {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a {
  font-size: 13px;
  color: #94a3b8;
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--amber);
  text-decoration: underline;
}

.footer-contact-info { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-info .contact-line { margin: 0 0 10px; font-size: 13px; color: #94a3b8; line-height: 1.6; }
.footer-contact-info .contact-line strong { color: #f1f5f9; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.5px; display: block; margin-bottom: 2px; }
.footer-email-link { color: var(--amber); font-weight: 600; text-decoration: none; }
.footer-email-link:hover { text-decoration: underline; color: #fff; }

.footer-bottom {
  background: #060a12;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.copyright-text,
.footer-copyright {
  font-size: 12.5px;
  color: #94a3b8;
  font-weight: 400;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-legal-links a {
  font-size: 12.5px;
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
}

.footer-legal-links a:hover {
  color: var(--amber);
  text-decoration: underline;
}

.footer-legal-links .sep,
.footer-sep {
  color: rgba(255,255,255,0.25);
  font-size: 10px;
}

.admin-link-discrete {
  font-size: 11.5px;
  color: #cbd5e1 !important;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  font-weight: 600;
  transition: all var(--transition);
}

.admin-link-discrete:hover {
  color: #ffffff !important;
  background: var(--amber);
  border-color: var(--amber);
}

/* ============================================================
   DOCUMENT VERIFY PAGE
   ============================================================ */
.verify-card { max-width: 680px; margin: 40px auto; }

.verification-status-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
}

.verification-status-banner.verified { background: #f0fdf4; border: 2px solid var(--success); }
.verification-status-banner.unverified { background: #fff5f5; border: 2px solid var(--danger); }

.verify-badge-icon { font-size: 36px; flex-shrink: 0; }
.verify-title { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.verified .verify-title { color: var(--success); }
.unverified .verify-title { color: var(--danger); }

.doc-verification-details {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
}

.compliance-note {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination-wrap { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 24px 0; }

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  text-decoration: none;
  transition: all var(--transition);
}

.page-link:hover { border-color: var(--navy); color: var(--navy); background: var(--bg-light); }
.page-link.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.page-link.disabled { opacity: 0.35; pointer-events: none; }

/* ============================================================
   EMPTY STATES
   ============================================================ */
.empty-state { text-align: center; padding: 64px 24px; }
.empty-icon { font-size: 56px; margin-bottom: 16px; opacity: 0.3; }
.empty-state h3 { font-size: 20px; font-weight: 700; color: var(--text-mid); margin-bottom: 8px; }
.empty-state p { color: var(--text-muted); margin-bottom: 20px; }

/* ============================================================
   DOCUMENT PRINT STYLES
   ============================================================ */
.quote-document-sheet {
  max-width: 780px;
  margin: 24px auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  font-size: 13px;
  color: var(--text-dark);
  box-shadow: var(--shadow-md);
}

.doc-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 2px solid var(--navy); }
.doc-company-name { font-size: 22px; font-weight: 900; color: var(--navy); margin-bottom: 4px; }
.doc-company-sub { font-size: 11px; color: var(--text-muted); }
.doc-type-badge { background: var(--navy); color: #fff; padding: 6px 16px; border-radius: var(--radius); font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; }
.doc-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.doc-party-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; color: var(--text-muted); margin-bottom: 6px; }

/* ============================================================
   TIMELINE
   ============================================================ */
.status-history-timeline { position: relative; padding-left: 28px; }
.status-history-timeline::before { content: ''; position: absolute; left: 10px; top: 0; bottom: 0; width: 2px; background: var(--border); }

.timeline-item { position: relative; padding-bottom: 20px; }
.timeline-item::before { content: ''; position: absolute; left: -22px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--amber); border: 2px solid #fff; box-shadow: 0 0 0 2px var(--amber); z-index: 1; }
.timeline-marker { display: none; }
.timeline-content .status-name { font-size: 13px; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: 0.3px; }
.timeline-content .timeline-time { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.timeline-content .timeline-note { font-size: 13px; color: var(--text-body); margin-top: 4px; font-style: italic; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.fade-in { animation: fadeIn 0.4s ease; }
.slide-up { animation: slideUp 0.4s ease; }
.animate-pulse { animation: pulse 1.5s ease infinite; }

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.text-primary { color: var(--navy); }
.text-accent { color: var(--amber); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }
.text-muted { color: var(--text-muted); }
.text-white { color: #fff; }
.text-dark { color: var(--text-dark); }
.text-xs { font-size: 11px; }
.text-sm { font-size: 12px; }
.text-base { font-size: 15px; }
.text-md { font-size: 16px; }
.text-lg { font-size: 18px; }
.text-xl { font-size: 22px; }
.text-xxl { font-size: 28px; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-medium { font-weight: 500; }
.uppercase { text-transform: uppercase; }
.italic { font-style: italic; }
.block { display: block; }
.inline-block { display: inline-block; }
.hidden { display: none !important; }
.invisible { visibility: hidden; }
.flex-1 { flex: 1; }
.w-full { width: 100%; }
.max-w-sm { max-width: 480px; }
.max-w-md { max-width: 640px; }
.max-w-lg { max-width: 820px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mr-sm { margin-right: 8px; }
.ml-sm { margin-left: 8px; }
.my-md { margin-top: 16px; margin-bottom: 16px; }
.mt-xs { margin-top: 4px; }
.mt-sm { margin-top: 8px; }
.mt-md { margin-top: 16px; }
.mt-lg { margin-top: 24px; }
.mt-xl { margin-top: 32px; }
.mt-xxl { margin-top: 48px; }
.mb-xs { margin-bottom: 4px; }
.mb-sm { margin-bottom: 8px; }
.mb-md { margin-bottom: 16px; }
.mb-lg { margin-bottom: 24px; }
.mb-xl { margin-bottom: 32px; }
.pb-lg { padding-bottom: 24px; }
.pt-md { padding-top: 16px; }
.p-sm { padding: 8px; }
.p-md { padding: 16px; }
.p-lg { padding: 24px; }
.py-sm { padding-top: 8px; padding-bottom: 8px; }
.py-md { padding-top: 16px; padding-bottom: 16px; }
.py-lg { padding-top: 24px; padding-bottom: 24px; }
.px-sm { padding-left: 8px; padding-right: 8px; }
.px-md { padding-left: 16px; padding-right: 16px; }
.border { border: 1px solid var(--border); }
.border-top { border-top: 1px solid var(--border); }
.border-bottom { border-bottom: 1px solid var(--border); }
.border-radius { border-radius: var(--radius); }
.border-radius-lg { border-radius: var(--radius-lg); }
.bg-white { background: var(--bg-white); }
.bg-light { background: var(--bg-light); }
.bg-navy { background: var(--navy); }
.bg-section { background: var(--bg-section); }
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.cursor-pointer { cursor: pointer; }
.align-center { align-items: center; }
.align-end { align-items: flex-end; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.not-prose {}
.separator { height: 1px; background: var(--border); margin: 24px 0; }

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
  .site-header,
  .site-navigation,
  .footer-trust-banner,
  .footer-main-content,
  .breadcrumbs-wrap,
  .header-top-bar,
  .cart-summary-card,
  .dashboard-sidebar,
  .dashboard-nav-card,
  nav,
  footer,
  .btn:not(.btn-no-print) { display: none !important; }

  body { background: #fff; color: #000; font-size: 12px; }
  .quote-document-sheet { box-shadow: none; border: none; max-width: 100%; margin: 0; padding: 20px; }
  a { color: #000; text-decoration: none; }
  .page-break { page-break-before: always; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1280px) {
  .container { padding: 0 20px; }
  .nav-link { padding: 0 10px; font-size: 12.5px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .category-cards-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1200px) {
  .nav-quick-action { display: none !important; }
  .header-actions { gap: 8px; }
}

@media (max-width: 1024px) {
  .catalog-layout { grid-template-columns: 1fr; }
  .catalog-sidebar { position: static; }
  .product-page-layout { grid-template-columns: 1fr; }
  .product-gallery { position: static; }
  .checkout-layout { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary-card { position: static; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .dashboard-sidebar { position: static; }
  .brands-directory-grid { grid-template-columns: repeat(3, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .brands-logo-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  .mobile-menu-toggle { display: flex; margin-left: auto; }
  .site-navigation { display: none; }
  .site-navigation.mobile-open { display: block; }

  .nav-menu { flex-direction: column; }
  .nav-link { height: auto; padding: 12px 20px; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .mega-menu, .nav-dropdown { position: static; min-width: auto; border: none; box-shadow: none; padding: 8px 0; background: rgba(255,255,255,0.04); }
  .mega-menu-grid { grid-template-columns: 1fr; }
  .nav-item:hover .mega-menu, .nav-item:hover .nav-dropdown { display: none; }
  .nav-item.dropdown-open .mega-menu, .nav-item.dropdown-open .nav-dropdown { display: block; }

  .header-main { flex-wrap: wrap; }
  .header-search { order: 3; flex-basis: 100%; max-width: 100%; }
  .header-actions { gap: 4px; }

  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .category-cards-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .blog-grid { grid-template-columns: 1fr; }
  .brands-logo-grid { grid-template-columns: repeat(3, 1fr); }
  .brands-directory-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: 1fr; }
  .hero-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .hero-actions { flex-direction: column; }
  .trust-items { gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .auth-card { padding: 28px 20px; }
  .data-table tbody td, .data-table thead th { padding: 10px 12px; font-size: 13px; }
  .top-bar-left { display: none; }
  .hide-mobile { display: none; }
  .section-padding { padding: 48px 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .category-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .brands-logo-grid { grid-template-columns: repeat(2, 1fr); }
  .brands-directory-grid { grid-template-columns: 1fr; }
  .hero-stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-section { padding: 48px 0 64px; }
  h1 { font-size: 26px; }
  h2 { font-size: 22px; }
  .page-header { padding: 32px 0; }
  .checkout-section-card { padding: 16px; }
  .admin-stats-grid { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .toast-container { bottom: 16px; right: 12px; left: 12px; }
  .toast { min-width: auto; }
}
