/* ==========================================================================
   HZHX® · Hangzhou Haoxin Auto Parts Co., Ltd.
   Design System: Central Asia Navy & Champagne Gold Business (06-中亚蓝金商务)
   ========================================================================== */

:root {
  --navy-950: #071322;
  --navy-900: #0b1d33;
  --navy-800: #102744;
  --navy-700: #1a375c;
  --gold-300: #ead19c;
  --gold-400: #e0be7c;
  --gold-500: #cfa359;
  --gold-600: #b6883c;
  --teal-500: #087e96;
  --teal-400: #2fc6e8;

  --white: #ffffff;
  --gray-50: #f7f8fa;
  --gray-100: #f1f3f6;
  --gray-200: #e3e7ee;
  --gray-300: #cfd6e1;
  --gray-500: #6b7a8c;
  --gray-700: #334356;

  --text-primary: #0e233d;
  --text-secondary: #516072;
  --text-muted: #78879a;

  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 2px 8px rgba(11, 29, 51, 0.06);
  --shadow-md: 0 8px 24px rgba(11, 29, 51, 0.1);
  --shadow-lg: 0 18px 44px rgba(11, 29, 51, 0.18);

  --font-sans: 'Plus Jakarta Sans', 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --container-max: 1240px;
  --header-h: 76px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.55;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  height: var(--header-h);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex-shrink: 0;
}

.brand-lockup img {
  height: 26px;
  width: auto;
  object-fit: contain;
  object-position: left center;
}

.brand-sub {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  text-transform: uppercase;
  line-height: 1.1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-primary);
  position: relative;
  padding: 6px 0;
  transition: color 0.18s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy-800);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.lang-switch svg {
  width: 17px;
  height: 17px;
  color: var(--navy-800);
  flex-shrink: 0;
}

.lang-btn {
  background: none;
  border: none;
  padding: 2px 3px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.lang-btn:hover {
  color: var(--navy-900);
}

.lang-btn.active {
  color: var(--navy-900);
  font-weight: 700;
  border-bottom-color: var(--navy-900);
}

.rfq-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--navy-900);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px 13px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.15s ease;
}

.rfq-trigger:hover {
  background: var(--navy-700);
}

.rfq-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--gold-400);
  color: var(--navy-950);
  font-size: 11px;
  font-weight: 800;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  color: var(--navy-900);
  cursor: pointer;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border: none;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--gold-300) 0%, var(--gold-400) 48%, var(--gold-500) 100%);
  color: var(--navy-950);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(207, 163, 89, 0.28);
  transition: filter 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease;
}

.btn-gold:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(207, 163, 89, 0.36);
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-sm);
  background: rgba(11, 29, 51, 0.45);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  transform: translateY(-1px);
}

.btn-navy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--navy-900);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease;
}

.btn-navy:hover {
  background: var(--navy-700);
}

.btn-outline-navy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn-outline-navy:hover {
  border-color: var(--navy-900);
  background: var(--gray-50);
}

/* ==========================================================================
   Hero Banner
   ========================================================================== */
.hero {
  position: relative;
  min-height: 510px;
  display: flex;
  align-items: center;
  background-color: var(--navy-950);
  background-image:
    linear-gradient(90deg, rgba(7, 19, 34, 0.92) 0%, rgba(11, 29, 51, 0.80) 42%, rgba(11, 29, 51, 0.25) 74%, rgba(11, 29, 51, 0.08) 100%),
    url('../assets/img/hero-banner.jpg');
  background-size: cover;
  background-position: right center;
  color: var(--white);
  padding: 68px 0;
}

.hero-content {
  max-width: 560px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin: 0 0 14px;
  line-height: 1.5;
}

.hero-title {
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin: 0 0 12px;
  color: var(--white);
}

.hero-subtitle {
  font-size: clamp(15px, 1.5vw, 18.5px);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 22px;
}

.gold-rule {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-300), var(--gold-500));
  margin: 0 0 22px;
  border-radius: 2px;
}

.hero-desc {
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 32px;
  max-width: 470px;
}

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

/* ==========================================================================
   Full-Width Navy OEM Search Strip
   ========================================================================== */
.search-strip {
  background: var(--navy-900);
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  position: relative;
  z-index: 40;
}

.search-box-wrap {
  position: relative;
}

.search-form {
  display: flex;
  align-items: stretch;
  background: var(--white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

.search-input-group {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 12px;
}

.search-input-group svg {
  width: 20px;
  height: 20px;
  color: var(--navy-800);
  flex-shrink: 0;
}

.search-input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 15px;
  padding: 15px 0;
  color: var(--text-primary);
  background: transparent;
}

.search-input::placeholder {
  color: var(--text-muted);
  font-style: italic;
}

.search-submit {
  padding: 0 32px;
  border: none;
  border-radius: 0;
  background: linear-gradient(135deg, var(--gold-300) 0%, var(--gold-400) 50%, var(--gold-500) 100%);
  color: var(--navy-950);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  transition: filter 0.18s ease;
}

.search-submit:hover {
  filter: brightness(1.06);
}

.search-hints {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.65);
}

.search-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.88);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-family: var(--font-mono);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.search-chip:hover {
  background: rgba(224, 190, 124, 0.18);
  border-color: var(--gold-400);
  color: var(--gold-300);
}

/* Autocomplete Dropdown */
.search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 60;
  overflow: hidden;
  display: none;
}

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

.search-result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--gray-100);
  cursor: pointer;
  transition: background 0.12s ease;
}

.search-result-item:hover {
  background: var(--gray-50);
}

.search-result-item img {
  width: 56px;
  height: 38px;
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  padding: 2px;
  flex-shrink: 0;
}

.search-result-meta {
  flex: 1;
  min-width: 0;
}

.search-result-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy-900);
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-result-oem {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-dropdown-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: var(--gray-50);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-800);
}

.search-dropdown-footer:hover {
  color: var(--gold-600);
}

/* ==========================================================================
   Main Asymmetric Showcase: Applications Sidebar + Product Catalogue
   ========================================================================== */
.showcase-section {
  padding: 46px 0 58px;
  background: var(--white);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 34px;
  align-items: stretch;
}

/* Left Navy Applications Sidebar */
.applications-panel {
  background: var(--navy-900);
  padding: 26px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: var(--radius-sm);
}

.applications-heading {
  margin: 0 0 2px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

.app-card {
  position: relative;
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.app-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 29, 51, 0.05) 35%, rgba(7, 19, 34, 0.86) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 14px 14px 12px;
}

.app-card-title {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.app-card-sub {
  display: block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 2px;
}

.app-card-arrow {
  color: var(--gold-300);
  font-size: 17px;
  transition: transform 0.2s ease;
}

.app-card:hover .app-card-arrow {
  transform: translateX(4px);
}

/* Right Product Catalogue Column */
.catalogue-panel {
  display: flex;
  flex-direction: column;
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-200);
}

.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin: 0 0 6px;
}

.section-title {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--navy-900);
  margin: 0;
  line-height: 1.15;
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-900);
  padding-bottom: 4px;
  border-bottom: 2px solid var(--navy-900);
  white-space: nowrap;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.view-all-link:hover {
  color: var(--gold-600);
  border-color: var(--gold-600);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  flex: 1;
}

.category-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-400);
}

.category-img-wrap {
  position: relative;
  background: var(--white);
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--gray-100);
}

.category-img-wrap img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.category-card:hover .category-img-wrap img {
  transform: scale(1.04);
}

.category-count-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--navy-900);
  color: var(--gold-300);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

.category-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.category-title {
  font-size: 16.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--navy-900);
  margin: 0 0 8px;
}

.category-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin: 0 0 16px;
  flex: 1;
}

.category-arrow {
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-600);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.category-card:hover .category-arrow {
  color: var(--navy-900);
}

/* ==========================================================================
   Applicable Brands Strip
   ========================================================================== */
.brands-section {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 36px 0;
}

.brands-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.brands-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-900);
  margin: 0;
}

.brands-note {
  font-size: 13px;
  color: var(--text-muted);
}

.brand-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy-900);
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.brand-pill span {
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 500;
}

.brand-pill:hover {
  border-color: var(--gold-500);
  background: var(--navy-900);
  color: var(--white);
}

.brand-pill:hover span {
  color: var(--gold-300);
}

/* ==========================================================================
   About / Company Profile Section
   ========================================================================== */
.about-section {
  padding: 68px 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}

.about-text p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0 0 16px;
}

.about-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 18px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-900);
}

.about-list li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 1px;
  background: var(--gold-500);
  flex-shrink: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.stat-card {
  background: var(--navy-900);
  color: var(--white);
  padding: 26px 22px;
  border-radius: var(--radius-sm);
  border-top: 3px solid var(--gold-400);
}

.stat-number {
  font-size: 34px;
  font-weight: 800;
  color: var(--gold-300);
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
}

/* ==========================================================================
   Contact & Inquiry Section
   ========================================================================== */
.contact-section {
  padding: 68px 0;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 28px;
}

.contact-info-card,
.contact-form-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 26px;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(11, 29, 51, 0.06);
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-600);
  margin-bottom: 2px;
}

.contact-item-val {
  font-size: 14.5px;
  color: var(--navy-900);
  font-weight: 500;
}

.contact-item-val a:hover {
  color: var(--teal-500);
  text-decoration: underline;
}

.qr-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--gray-200);
}

.qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 14px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
}

.qr-box img {
  width: 124px;
  height: 124px;
  object-fit: contain;
  background: var(--white);
  padding: 6px;
  border-radius: 4px;
  border: 1px solid var(--gray-200);
  margin-bottom: 8px;
}

.qr-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-900);
}

.qr-sub {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* Form */
.form-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--navy-900);
  margin: 0 0 6px;
}

.form-sub {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin: 0 0 22px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.form-field label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy-900);
}

.form-field input,
.form-field textarea {
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  font-size: 14px;
  color: var(--text-primary);
  background: var(--white);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy-800);
  box-shadow: 0 0 0 3px rgba(11, 29, 51, 0.08);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

/* ==========================================================================
   Panoramic Sunset Footer
   ========================================================================== */
.site-footer {
  position: relative;
  color: var(--white);
  background-color: var(--navy-950);
  background-image:
    linear-gradient(90deg, rgba(7, 19, 34, 0.96) 0%, rgba(11, 29, 51, 0.86) 38%, rgba(11, 29, 51, 0.42) 72%, rgba(7, 19, 34, 0.55) 100%),
    url('../assets/img/footer-panorama.jpg');
  background-size: cover;
  background-position: center;
  padding: 46px 0 28px;
}

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

.footer-brand-wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-brand img {
  height: 28px;
  width: auto;
  margin-bottom: 8px;
}

.footer-company {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.04em;
}

.footer-divider {
  width: 1px;
  height: 44px;
  background: rgba(255, 255, 255, 0.25);
}

.footer-slogan {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.footer-links a:hover {
  color: var(--gold-300);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   Catalog Page (products.html)
   ========================================================================== */
.catalog-hero {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 100%);
  color: var(--white);
  padding: 36px 0 32px;
  border-bottom: 3px solid var(--gold-500);
}

.catalog-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
}

.catalog-hero h1 {
  margin: 0 0 6px;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  text-transform: uppercase;
}

.catalog-hero p {
  margin: 0;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.78);
}

.catalog-toolbar {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: 18px 0;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.cat-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--navy-900);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
}

.cat-tab .count {
  font-size: 11.5px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--gray-100);
  color: var(--text-secondary);
}

.cat-tab:hover {
  border-color: var(--navy-800);
}

.cat-tab.active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
}

.cat-tab.active .count {
  background: var(--gold-400);
  color: var(--navy-950);
  font-weight: 800;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.filter-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.filter-select {
  padding: 9px 12px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy-900);
  font-size: 13.5px;
  font-weight: 500;
  min-width: 160px;
  cursor: pointer;
}

.result-summary {
  font-size: 13.5px;
  color: var(--text-secondary);
  font-weight: 600;
}

.catalog-main {
  padding: 32px 0 64px;
  min-height: 460px;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

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

.product-img-box {
  position: relative;
  aspect-ratio: 3 / 2;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.product-img-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-cat-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(11, 29, 51, 0.88);
  color: var(--white);
  padding: 3px 8px;
  border-radius: 3px;
}

.product-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

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

.product-brand {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--navy-900);
}

.product-bore {
  font-size: 12px;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--gold-600);
  background: rgba(207, 163, 89, 0.13);
  padding: 2px 8px;
  border-radius: 3px;
  white-space: nowrap;
}

.oem-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 14px;
  flex: 1;
  align-content: flex-start;
}

.oem-tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  color: var(--gray-700);
  padding: 2px 7px;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.14s ease, border-color 0.14s ease;
}

.oem-tag:hover {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--gray-100);
}

.product-actions button {
  padding: 8px 10px;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-detail {
  background: var(--white);
  border: 1px solid var(--gray-300);
  color: var(--navy-900);
}

.btn-detail:hover {
  border-color: var(--navy-900);
  background: var(--gray-50);
}

.btn-add-rfq {
  background: var(--navy-900);
  border: 1px solid var(--navy-900);
  color: var(--white);
}

.btn-add-rfq:hover {
  background: var(--navy-700);
}

.btn-add-rfq.added {
  background: var(--gold-400);
  border-color: var(--gold-500);
  color: var(--navy-950);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 36px;
}

.page-btn {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--gray-300);
  background: var(--white);
  color: var(--navy-900);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}

.page-btn:hover:not(:disabled) {
  border-color: var(--navy-900);
  background: var(--gray-50);
}

.page-btn.active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--gold-300);
}

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

.empty-state {
  text-align: center;
  padding: 64px 20px;
  background: var(--gray-50);
  border: 1px dashed var(--gray-300);
  border-radius: var(--radius-md);
}

/* ==========================================================================
   Modal (Product Detail) & Slide-Over Drawer (RFQ Inquiry List)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 19, 34, 0.65);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--navy-900);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
}

.modal-close:hover {
  background: var(--navy-900);
  color: var(--white);
}

.modal-body-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.modal-img-stage {
  background: var(--white);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--gray-200);
}

.modal-img-stage img {
  max-height: 320px;
  object-fit: contain;
}

.modal-info {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-info h2 {
  margin: 0;
  font-size: 21px;
  color: var(--navy-900);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.spec-table td {
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
}

.spec-table td:first-child {
  color: var(--text-muted);
  font-weight: 600;
  width: 110px;
}

.spec-table td:last-child {
  color: var(--navy-900);
  font-weight: 700;
}

/* RFQ Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 19, 34, 0.55);
  z-index: 250;
  display: none;
  justify-content: flex-end;
}

.drawer-backdrop.open {
  display: flex;
}

.drawer-panel {
  width: 100%;
  max-width: 440px;
  background: var(--white);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(7, 19, 34, 0.25);
}

.drawer-header {
  padding: 20px 22px;
  background: var(--navy-900);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-header h3 {
  margin: 0;
  font-size: 16.5px;
  font-weight: 700;
}

.drawer-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 22px;
}

.rfq-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-200);
  align-items: center;
}

.rfq-item img {
  width: 60px;
  height: 44px;
  object-fit: contain;
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  padding: 2px;
}

.rfq-item-info {
  flex: 1;
  min-width: 0;
}

.rfq-item-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy-900);
}

.rfq-item-oem {
  font-size: 11.5px;
  font-family: var(--font-mono);
  color: var(--text-secondary);
}

.rfq-qty-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.rfq-qty-input {
  width: 58px;
  padding: 4px 6px;
  border: 1px solid var(--gray-300);
  border-radius: 4px;
  text-align: center;
  font-size: 13px;
}

.rfq-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 18px;
  padding: 2px 6px;
}

.rfq-remove:hover {
  color: #c62828;
}

.drawer-footer {
  padding: 16px 22px 22px;
  border-top: 1px solid var(--gray-200);
  background: var(--gray-50);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--navy-900);
  color: var(--white);
  border: 1px solid var(--gold-400);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
  .showcase-grid {
    grid-template-columns: 240px 1fr;
    gap: 24px;
  }
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 22px;
    gap: 14px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open {
    display: flex;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .showcase-grid {
    grid-template-columns: 1fr;
  }
  .applications-panel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .applications-heading {
    grid-column: 1 / -1;
  }
  .about-grid,
  .contact-grid,
  .modal-body-grid {
    grid-template-columns: 1fr;
  }
  .modal-img-stage {
    border-right: none;
    border-bottom: 1px solid var(--gray-200);
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .hero {
    min-height: 440px;
    padding: 48px 0;
    background-image:
      linear-gradient(180deg, rgba(7, 19, 34, 0.88) 0%, rgba(11, 29, 51, 0.78) 60%, rgba(11, 29, 51, 0.90) 100%),
      url('../assets/img/hero-banner.jpg');
    background-position: center;
  }
  .category-grid,
  .applications-panel,
  .form-grid,
  .about-list {
    grid-template-columns: 1fr;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .search-submit {
    padding: 0 18px;
  }
  .footer-divider {
    display: none;
  }
  .brand-sub {
    display: none;
  }
}
