/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-bg: #ffffff;
  --color-surface: #f5f6f8;
  --color-border: #e2e5ea;
  --color-text: #2c2c2c;
  --color-text-muted: #6b7280;
  --color-accent: #003e8d;
  --color-accent-hover: #002d66;
  --color-accent-light: #e8f0fb;
  --color-dark: #1e2126;
  --color-success: #059669;
  --color-danger: #dc2626;
  --font-heading: 'Oxygen', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: 'Nunito Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 6px;
  --radius-btn: 4px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 8px 24px rgba(0,20,50,.12);
  --transition: 150ms ease;
}

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

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, .btn, .tab-btn, .step-label {
  font-family: var(--font-heading);
}

a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ── Layout ────────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

main { flex: 1; }

/* ── Header ────────────────────────────────────────────────── */
.site-header {
  background: #fff;
  border-bottom: 3px solid var(--color-accent);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.logo-tagline {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-nav a {
  color: var(--color-text);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color var(--transition);
}

.header-nav a:hover,
.header-nav a.active { color: var(--color-accent); }

/* Hamburger toggle — hidden on desktop, only shown once .header-nav collapses
   at the 600px breakpoint below. */
.mobile-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  color: var(--color-text);
  flex-shrink: 0;
}

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-btn);
  padding: 10px 18px;
  min-width: 140px;
  box-sizing: border-box;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition);
}

.cart-btn:hover { background: var(--color-accent-hover); text-decoration: none; color: #fff; }

.account-link {
  color: var(--color-text);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.account-link:hover { color: var(--color-accent); }

#account-widget { display: inline-flex; align-items: center; gap: 8px; }
.account-signout-link {
  color: var(--color-text-muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
  padding-left: 8px;
  border-left: 1px solid var(--color-border);
}
.account-signout-link:hover { color: var(--color-danger); }

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--color-danger);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* ── Utility bar: global search + My Machine profile ──────────── */
.utility-bar {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 10px 24px;
}

.utility-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.global-search {
  position: relative;
  flex: 1;
  min-width: 220px;
  max-width: 420px;
}

.global-search svg {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  pointer-events: none;
}

.global-search input {
  width: 100%;
  padding: 8px 12px 8px 32px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-family: inherit;
  outline: none;
  background: #fff;
  color: var(--color-text);
  transition: border-color var(--transition);
}

.global-search input:focus { border-color: var(--color-accent); }

.global-search-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  max-height: 360px;
  overflow-y: auto;
  z-index: 200;
  display: none;
}

.global-search-results.show { display: block; }

.gsr-item {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition);
}

.gsr-item:last-child { border-bottom: none; }
.gsr-item:hover { background: var(--color-surface); }
.gsr-item-name { font-size: 0.85rem; font-weight: 600; color: var(--color-text); }
.gsr-item-meta { font-size: 0.72rem; color: var(--color-text-muted); margin-top: 2px; }
.gsr-empty { padding: 14px; font-size: 0.82rem; color: var(--color-text-muted); text-align: center; }

.machine-profile {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.machine-profile select {
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  padding: 7px 10px;
  font-size: 0.82rem;
  font-family: inherit;
  background: #fff;
  cursor: pointer;
  color: var(--color-text);
  max-width: 180px;
}

@media (max-width: 600px) {
  .utility-bar-inner { flex-direction: column; align-items: stretch; }
  .global-search { max-width: none; }
  .machine-profile { justify-content: space-between; }
}

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: var(--color-dark);
  padding: 48px 0 24px;
  margin-top: 80px;
}

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

.footer-brand .logo-name { font-size: 1.1rem; margin-bottom: 8px; color: #fff; }
.footer-brand p { font-size: 0.875rem; color: #9ca3af; max-width: 280px; }

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; font-size: 0.875rem; line-height: 1.5; color: #9ca3af; }
.footer-col ul li a { font-size: 0.875rem; color: #9ca3af; transition: color var(--transition); }
.footer-col ul li a:hover { color: #6fa8ff; text-decoration: none; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p { font-size: 0.8rem; color: #7a828e; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-btn);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
}

.btn-primary { background: var(--color-accent); color: #fff; }
.btn-primary:hover { background: var(--color-accent-hover); text-decoration: none; color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border: 1.5px solid var(--color-accent);
}
.btn-outline:hover { background: var(--color-accent-light); text-decoration: none; }

.btn-ghost {
  background: transparent;
  color: var(--color-text-muted);
  border: 1.5px solid var(--color-border);
}
.btn-ghost:hover { background: var(--color-surface); text-decoration: none; color: var(--color-text); }

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

.btn-sm { padding: 7px 16px; font-size: 0.72rem; }
.btn-lg { padding: 15px 30px; font-size: 0.85rem; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(120deg, #002d66 0%, #003e8d 55%, #0057c2 100%);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(115deg, rgba(255,255,255,.04) 0 2px, transparent 2px 60px);
  pointer-events: none;
}

.hero-content { max-width: 620px; position: relative; }

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #cfe0f9;
  border-left: 3px solid #fff;
  padding-left: 12px;
  margin-bottom: 18px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}

.hero p {
  font-size: 1.05rem;
  color: #dbe6f7;
  margin-bottom: 32px;
  line-height: 1.7;
}

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

.hero .btn-primary { background: #fff; color: var(--color-accent); }
.hero .btn-primary:hover { background: #e8f0fb; color: var(--color-accent-hover); }

.hero .btn-outline { color: #fff; border-color: rgba(255,255,255,.7); }
.hero .btn-outline:hover { background: rgba(255,255,255,.12); }

/* ── Category Tabs ─────────────────────────────────────────── */
.category-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 32px 0 0;
  scrollbar-width: none;
}
.category-tabs::-webkit-scrollbar { display: none; }

.tab-btn {
  flex-shrink: 0;
  padding: 9px 20px;
  border-radius: var(--radius-btn);
  border: 1.5px solid var(--color-border);
  background: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.tab-btn:hover { border-color: var(--color-accent); color: var(--color-accent); }
.tab-btn.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  font-weight: 700;
}

/* ── Product Grid ──────────────────────────────────────────── */
.products-section { padding: 32px 0 64px; }

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

.products-count {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-top: 3px solid transparent;
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition), border-top-color var(--transition);
  display: flex;
  flex-direction: column;
}

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

.product-card-image {
  background: var(--color-surface);
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-icon-placeholder {
  width: 72px;
  height: 72px;
  background: var(--color-accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

.product-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }

.product-category-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.product-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 16px;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  gap: 10px;
}

.product-card-actions { display: flex; gap: 8px; width: 100%; }
.product-card-actions .btn { flex: 1; justify-content: center; }

/* ── Industry / application chips ─────────────────────────────── */
.industry-chip-row { display: flex; flex-wrap: wrap; gap: 6px; margin: -4px 0 14px; }
.industry-chip {
  background: var(--color-surface);
  color: var(--color-text-muted);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  white-space: nowrap;
}

/* ── Compare mode ──────────────────────────────────────────────── */
.compare-checkbox-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-muted);
  white-space: nowrap;
  cursor: pointer;
}
.compare-checkbox-label input { cursor: pointer; }

.compare-bar {
  position: sticky;
  bottom: 16px;
  z-index: 50;
  margin-top: 20px;
  background: var(--color-dark);
  color: #fff;
  border-radius: var(--radius);
  padding: 14px 20px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.compare-bar span { font-size: 0.9rem; font-weight: 700; }

.compare-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.compare-modal {
  background: #fff;
  border-radius: var(--radius);
  max-width: 1000px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.compare-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--color-border);
}
.compare-modal-header h3 { font-family: var(--font-heading); font-size: 1.15rem; }
.compare-modal-close {
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-text-muted);
}
.compare-modal-close:hover { color: var(--color-text); }
.compare-modal-body { padding: 20px 24px; overflow: auto; }

.compare-table { border-collapse: collapse; width: 100%; }
.compare-table th, .compare-table td {
  border: 1px solid var(--color-border);
  padding: 10px 14px;
  font-size: 0.85rem;
  text-align: left;
  vertical-align: top;
}
.compare-table th {
  background: var(--color-surface);
  min-width: 160px;
}
.compare-table th img { width: 64px; height: 64px; object-fit: contain; display: block; margin: 0 auto 8px; }
.compare-table .compare-th-name { text-align: center; font-weight: 700; }
.compare-table .compare-th-name a { color: var(--color-text); text-decoration: none; }
.compare-table .compare-th-name a:hover { color: var(--color-accent); }
.compare-row-label { font-weight: 700; background: var(--color-surface); white-space: nowrap; }

/* ── Toast ─────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--color-dark);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  z-index: 1000;
  opacity: 0;
  transform: translateY(8px);
  transition: all 200ms ease;
  pointer-events: none;
  border-left: 3px solid var(--color-accent);
}

.toast.show { opacity: 1; transform: translateY(0); }

/* ── Product Detail ────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  padding: 24px 0 0;
}

.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb .sep { color: var(--color-border); }

.product-detail { padding: 32px 0 64px; }

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 64px;
}

.product-detail-image {
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-accent);
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-detail-image .product-icon-placeholder {
  width: 120px;
  height: 120px;
}

.product-detail-image .product-icon-placeholder svg {
  width: 56px;
  height: 56px;
}

.detail-category-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.product-detail-info h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.product-sku {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.product-detail-price {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 4px;
}

.product-detail-price-note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.product-detail-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 28px;
}

.detail-add-section {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.qty-input {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-btn);
  overflow: hidden;
}

.qty-input button {
  width: 36px;
  height: 40px;
  background: var(--color-surface);
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--color-text-muted);
  transition: background var(--transition);
}

.qty-input button:hover { background: var(--color-border); }

.qty-input input {
  width: 50px;
  height: 40px;
  border: none;
  border-left: 1.5px solid var(--color-border);
  border-right: 1.5px solid var(--color-border);
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  outline: none;
}

.product-specs { margin-top: 24px; }

.product-specs h3 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.spec-list { list-style: none; }

.spec-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  padding: 6px 0;
  border-bottom: 1px solid var(--color-border);
}

.spec-list li:last-child { border-bottom: none; }

.spec-list li::before {
  content: "✓";
  color: var(--color-accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.applications-section {
  padding: 40px;
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  margin-bottom: 48px;
}

.applications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.application-tag {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-btn);
  padding: 10px 14px;
  font-size: 0.85rem;
  color: var(--color-text);
}

/* ── Cart Page ─────────────────────────────────────────────── */
.cart-page { padding: 32px 0 64px; }

.cart-page-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}

.cart-items-list { display: flex; flex-direction: column; gap: 16px; }

/* ── Quick Add by Part Number (bulk quote builder) ────────────── */
.quick-add-box {
  background: var(--color-accent-light);
  border: 1px solid #cfe0f7;
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 20px;
}

.quick-add-box label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}

.quick-add-box p {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 10px;
}

.quick-add-row { display: flex; gap: 10px; align-items: stretch; }

.quick-add-row textarea {
  flex: 1;
  resize: vertical;
  padding: 9px 12px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-family: inherit;
  outline: none;
  background: #fff;
}

.quick-add-row textarea:focus { border-color: var(--color-accent); }
.quick-add-row button { flex-shrink: 0; align-self: flex-start; }

#quick-add-feedback { font-size: 0.78rem; margin-top: 8px; min-height: 1em; }

/* ── Print Quote ───────────────────────────────────────────────
   Only the item list + summary print; nav, search, forms, and
   decorative chrome are hidden so the output reads as a clean quote sheet. */
@media print {
  .site-header, .utility-bar, .site-footer, .toast,
  .quick-add-box, .no-print, .inquiry-form,
  #order-summary + p, .cart-item .remove-btn, .cart-item-qty button {
    display: none !important;
  }
  .cart-layout { grid-template-columns: 1fr; display: block; }
  .cart-item { break-inside: avoid; }
  body { color: #000; }
}

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 16px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 16px;
}

.cart-item-image {
  background: var(--color-surface);
  border-radius: 6px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-image .product-icon-placeholder {
  width: 48px;
  height: 48px;
}
.cart-item-image .product-icon-placeholder svg { width: 24px; height: 24px; }

.cart-item-info h4 { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.cart-item-info .cart-item-sku { font-size: 0.75rem; color: var(--color-text-muted); margin-bottom: 8px; }
.cart-item-right { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; justify-content: center; }

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-item-qty button {
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--color-border);
  background: var(--color-surface);
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.cart-item-qty button:hover { background: var(--color-border); }
.cart-item-qty span { font-size: 0.95rem; font-weight: 600; min-width: 20px; text-align: center; }

.remove-btn {
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  font-size: 0.8rem;
  text-decoration: underline;
  transition: color var(--transition);
}
.remove-btn:hover { color: var(--color-danger); }

/* ── Order Summary / Inquiry Panel ────────────────────────── */
.order-panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: 80px;
}

.order-panel h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

.order-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}

/* ── Inquiry Form ──────────────────────────────────────────── */
.inquiry-form { display: flex; flex-direction: column; gap: 14px; }

.form-group { display: flex; flex-direction: column; gap: 5px; min-width: 0; }

.form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-btn);
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--color-text);
  background: #fff;
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-accent);
}

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

.form-note {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Honeypot spam trap — hidden from sighted users, screen readers, and tab
   order, but still present in the DOM for bots that blindly fill every field. */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.empty-cart {
  text-align: center;
  padding: 80px 20px;
  color: var(--color-text-muted);
}

.empty-cart h2 { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; margin-bottom: 12px; color: var(--color-text); }
.empty-cart p { margin-bottom: 24px; }

/* ── Process Chain Banner ──────────────────────────────────── */
.process-chain {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 32px 0;
  margin-bottom: 0;
}

.process-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.process-step {
  display: flex;
  align-items: center;
  gap: 0;
}

.step-label {
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-btn);
  padding: 10px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.step-label:hover,
.step-label.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  text-decoration: none;
}

.step-arrow {
  color: var(--color-border);
  font-size: 1.2rem;
  padding: 0 8px;
}

/* ── Technology Breakdown Showcase ─────────────────────────── */
.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
}

.showcase-reverse { direction: rtl; }
.showcase-reverse > * { direction: ltr; }

.showcase-media {
  position: relative;
  overflow: hidden;
  background-color: var(--color-surface);
  min-height: 320px;
}

.showcase-media-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.showcase-media-slide.active {
  opacity: 1;
}

.showcase-content {
  background: linear-gradient(135deg, #002d66 0%, #003e8d 60%, #0057c2 100%);
  color: #fff;
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.showcase-step {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
}

.showcase-content h2 {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #fff;
  margin: 0;
}

.showcase-content p {
  color: rgba(255,255,255,.85);
  font-size: 0.95rem;
  max-width: 46ch;
  margin: 0;
}

.showcase-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
  margin-top: 10px;
  border-top: 1px solid rgba(255,255,255,.16);
}

.showcase-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 4px;
  border-bottom: 1px solid rgba(255,255,255,.16);
  text-decoration: none;
  transition: padding-left var(--transition), background var(--transition);
}

.showcase-tile:hover {
  padding-left: 8px;
  background: rgba(255,255,255,.06);
}

.showcase-tile-img {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.showcase-tile-img img { width: 100%; height: 100%; object-fit: contain; padding: 3px; box-sizing: border-box; }

.showcase-tile-name {
  flex: 1;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.25;
}

.showcase-tile-arrow {
  flex-shrink: 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,.5);
  opacity: 0;
  transform: translateX(-4px);
  transition: all var(--transition);
}

.showcase-tile:hover .showcase-tile-arrow { opacity: 1; transform: translateX(0); color: #fff; }

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin-top: 10px;
  padding: 10px 20px;
  border: 1.5px solid #fff;
  border-radius: var(--radius-btn);
  background: transparent;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all var(--transition);
}

.btn-outline-light:hover { background: #fff; color: var(--color-accent); }

/* ── Products Section Heading & Manufacturer Filter ────────── */
.products-section-heading { padding-top: 8px; text-align: center; }
.products-section-heading .section-title { margin-bottom: 8px; }
.products-section-sub {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  max-width: 56ch;
  margin: 0 auto;
}

.manufacturer-filter {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.manufacturer-filter label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.manufacturer-filter select {
  padding: 9px 16px;
  border-radius: var(--radius-btn);
  border: 1.5px solid var(--color-border);
  background: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  min-width: 220px;
}

.manufacturer-filter select:hover,
.manufacturer-filter select:focus { border-color: var(--color-accent); outline: none; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .product-detail-grid { grid-template-columns: 1fr; gap: 32px; }
  .cart-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2rem; }
  .order-panel { position: static; }
  .showcase-row { grid-template-columns: 1fr; }
  .showcase-reverse { direction: ltr; }
  .showcase-media { min-height: 220px; }
  .showcase-content { padding: 36px 28px; }
}

@media (max-width: 600px) {
  .header-inner { gap: 12px; }
  .mobile-nav-toggle { display: inline-flex; }
  .header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 3px solid var(--color-accent);
    box-shadow: var(--shadow-md);
  }
  .header-nav.mobile-open { display: flex; }
  .header-nav a { padding: 14px 24px; border-bottom: 1px solid var(--color-border); }
  .cart-btn { min-width: 0; padding: 8px 12px; }
  .hero { padding: 40px 0; }
  .hero h1 { font-size: 1.6rem; }
  .product-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .cart-item { grid-template-columns: 60px 1fr; }
  .cart-item-right { flex-direction: row; align-items: center; }
  .manufacturer-filter { flex-direction: column; align-items: flex-start; }
  .manufacturer-filter select { width: 100%; }
  .showcase-tiles { grid-template-columns: 1fr; }
}
