/* ==========================================================================
   MAGNARC    ELECTRODES PVT. LTD. - Light Industrial B2B Design System
   Theme: Pristine White (#FFFFFF), Light Slate (#F8FAFC), Charcoal (#0F172A),
   Industrial Orange (#F28C00), Steel Gray (#475569)
   ========================================================================== */

:root {
  /* Core Color Palette */
  --color-orange-primary: #F28C00;
  --color-orange-hover: #D97A00;
  --color-orange-light: rgba(242, 140, 0, 0.1);
  --color-orange-glow: rgba(242, 140, 0, 0.25);

  --color-charcoal: #0F172A;
  --color-charcoal-light: #1E293B;
  --color-steel-gray: #475569;
  --color-steel-light: #64748B;
  --color-border: #E2E8F0;
  --color-border-dark: #CBD5E1;

  --color-bg-white: #FFFFFF;
  --color-bg-light: #F8FAFC;
  --color-bg-card: #FFFFFF;
  --color-bg-elevated: #F1F5F9;

  --color-text-main: #0F172A;
  --color-text-muted: #475569;
  --color-text-subtle: #64748B;

  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-danger: #EF4444;

  --font-heading: 'Manrope', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-card: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 20px 35px -10px rgba(15, 23, 42, 0.12), 0 0 15px rgba(242, 140, 0, 0.15);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Accessibility Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-light);
  color: var(--color-text-main);
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 1rem; /* 16px base body copy */
}

/* Accessibility Focus States */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--color-orange-primary);
  outline-offset: 2px;
}

.skip-to-content {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--color-charcoal);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 10000;
  border-radius: var(--radius-sm);
  transition: top 0.2s;
}

.skip-to-content:focus {
  top: 1rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

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

/* Color Helpers & Contrast Check */
.text-orange { color: #d97a00; } /* WCAG AA contrast shade for text on white background */
.text-red { color: #ef4444; }
.text-muted { color: var(--color-text-muted); max-width: 70ch; }
.text-center { text-align: center; }

.section-padding {
  padding: 4rem 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   HEADER & TOP BAR (LIGHT INDUSTRIAL B2B STYLING)
   ========================================================================== */

.top-bar {
  background: var(--color-charcoal);
  color: #F8FAFC;
  font-size: 0.82rem;
  padding: 0.45rem 0;
  border-bottom: 2px solid var(--color-orange-primary);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.top-info .divider {
  color: rgba(255, 255, 255, 0.2);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-link {
  color: #F8FAFC;
}

.top-link:hover {
  color: var(--color-orange-primary);
}

.bold-phone {
  font-weight: 700;
}

.btn-role-badge {
  background: rgba(242, 140, 0, 0.2);
  color: var(--color-orange-primary);
  border: 1px solid var(--color-orange-primary);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
}

.btn-role-badge:hover {
  background: var(--color-orange-primary);
  color: #000;
}

/* Main Sticky Header */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  text-decoration: none;
  margin-right: 0.5rem;
}

.official-logo-img {
  height: 48px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  background: #fff;
  padding: 2px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  white-space: nowrap;
}

.logo-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: 1px;
  color: var(--color-charcoal);
}

.logo-sub {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: var(--color-orange-primary);
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: nowrap;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-charcoal);
  padding: 0.4rem 0.2rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-orange-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-orange-primary);
  border-radius: 2px;
}

.badge-tool {
  background: var(--color-orange-primary);
  color: #000;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  text-transform: uppercase;
}

/* Dropdown Menu */
.nav-item.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 270px;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.6rem 0;
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-fast);
  z-index: 200;
}

.nav-item.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.88rem;
  color: var(--color-steel-gray);
  font-weight: 500;
}

.dropdown-menu a:hover {
  background: var(--color-bg-elevated);
  color: var(--color-orange-primary);
  padding-left: 1.4rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
  margin-left: auto;
}

.btn-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  color: var(--color-charcoal);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.btn-icon:hover {
  background: var(--color-orange-primary);
  color: #000;
  border-color: var(--color-orange-primary);
}

/* Buttons */
.btn-primary {
  background: var(--color-orange-primary);
  color: #000;
  font-weight: 800;
  font-family: var(--font-heading);
  padding: 0.65rem 1.35rem;
  font-size: 0.88rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(242, 140, 0, 0.35);
  white-space: nowrap;
  transition: var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--color-orange-hover);
  box-shadow: 0 8px 20px rgba(242, 140, 0, 0.45);
}

.btn-secondary {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border-dark);
  color: var(--color-charcoal);
  font-weight: 700;
  padding: 0.65rem 1.25rem;
  font-size: 0.88rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.btn-secondary:hover {
  background: var(--color-bg-elevated);
  border-color: var(--color-orange-primary);
  color: var(--color-orange-primary);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-charcoal);
  font-size: 1.4rem;
  cursor: pointer;
}

/* HERO SECTION (LIGHT B2B THEME) */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #FFFFFF 0%, #F1F5F9 100%);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

#spark-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
  padding: 4rem 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-orange-light);
  border: 1px solid rgba(242, 140, 0, 0.4);
  color: var(--color-orange-hover);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.slogan-banner {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-orange-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 1.25rem;
  color: var(--color-charcoal);
}

.hero-title span {
  color: var(--color-orange-primary);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--color-steel-gray);
  margin-bottom: 2rem;
  max-width: 620px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-features {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-steel-gray);
}

.feature-item i {
  color: var(--color-orange-primary);
}

/* Hero Showcase Card */
.hero-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  position: relative;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-orange-primary);
  border-radius: 4px 4px 0 0;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.card-tag {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-orange-primary);
}

.electrode-preview {
  background: var(--color-bg-elevated);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
  border: 1px solid var(--color-border);
}

.electrode-preview-img {
  height: 90px;
  margin: 0 auto 1rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-badge-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--color-orange-primary);
  box-shadow: var(--shadow-sm);
  object-fit: cover;
}

.electrode-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--color-charcoal);
}

.electrode-spec {
  font-size: 0.85rem;
  color: var(--color-steel-gray);
}

.spec-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  justify-content: center;
}

.pill {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-charcoal);
}

/* STATS BAR */
.stats-bar {
  background: var(--color-bg-white);
  border-y: 1px solid var(--color-border);
  padding: 2.5rem 0;
}

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

.stat-card {
  text-align: center;
  padding: 1rem;
  border-right: 1px solid var(--color-border);
}

.stat-card:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.85rem;
  font-weight: 900;
  color: var(--color-orange-primary);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--color-charcoal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-sub {
  font-size: 0.8rem;
  color: var(--color-steel-subtle);
}

/* SECTION TITLES */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.section-subtitle {
  color: var(--color-orange-primary);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--color-charcoal);
  line-height: 1.2;
}

/* PRODUCT CATALOG CARDS */
.product-filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  color: var(--color-steel-gray);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--color-orange-primary);
  color: #000;
  border-color: var(--color-orange-primary);
  box-shadow: 0 4px 12px rgba(242, 140, 0, 0.3);
}

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

.product-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
  position: relative;
  box-shadow: var(--shadow-card);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-orange-primary);
  box-shadow: var(--shadow-hover);
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--color-orange-light);
  color: var(--color-orange-hover);
  border: 1px solid rgba(242, 140, 0, 0.3);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.product-icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--color-bg-elevated);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--color-orange-primary);
  margin-bottom: 1.25rem;
  border: 1px solid var(--color-border);
}

.product-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-charcoal);
  margin-bottom: 0.3rem;
}

.product-aws {
  font-size: 0.85rem;
  color: var(--color-orange-primary);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.product-desc {
  font-size: 0.88rem;
  color: var(--color-steel-gray);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.product-specs-list {
  background: var(--color-bg-elevated);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--color-border);
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 0.3rem 0;
  border-bottom: 1px dashed var(--color-border);
}

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

.spec-key {
  color: var(--color-steel-subtle);
}

.spec-val {
  color: var(--color-charcoal);
  font-weight: 700;
}

.product-footer {
  display: flex;
  gap: 0.75rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
  flex: 1;
  justify-content: center;
}

/* WELDING CALCULATOR & ASSISTANT TOOL */
.calculator-card {
  background: var(--color-bg-white);
  border: 2px solid var(--color-orange-primary);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: 0.5rem;
}

.form-group select, .form-group input, .form-group textarea {
  width: 100%;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border-dark);
  color: var(--color-charcoal);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-group select:focus, .form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--color-orange-primary);
  box-shadow: 0 0 10px rgba(242, 140, 0, 0.25);
}

.calc-result-box {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.result-header {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.result-header h4 {
  font-family: var(--font-heading);
  color: var(--color-orange-primary);
  font-size: 1.1rem;
}

.recommended-grade {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--color-charcoal);
  margin: 0.5rem 0;
}

/* DATA TABLE */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.data-table th {
  background: var(--color-bg-elevated);
  color: var(--color-charcoal);
  font-weight: 700;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
}

.data-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-charcoal);
}

.data-table tr:hover td {
  background: var(--color-bg-elevated);
}

/* FLOATING WHATSAPP BUTTON */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 999;
  background: #25D366;
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  transition: var(--transition-fast);
  text-decoration: none;
}

.floating-whatsapp-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);

}

.floating-whatsapp-btn i {
  font-size: 1.4rem;
}

/* MODALS */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 780px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-card);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  color: var(--color-charcoal);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: var(--color-danger);
  color: #fff;
}

.modal-header-banner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--color-bg-elevated);
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  margin-bottom: 1.75rem;
  border-left: 4px solid var(--color-orange-primary);
}

.modal-banner-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--color-orange-primary);
  object-fit: cover;
}

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

.full-width {
  grid-column: 1 / -1;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
}

/* FOOTER (EXPANDED LIGHT/CHARCOAL DESIGN) */
.footer {
  background: var(--color-charcoal);
  color: #F8FAFC;
  padding-top: 4rem;
  border-top: 3px solid var(--color-orange-primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-desc {
  font-size: 0.88rem;
  color: #94A3B8;
  margin: 1.25rem 0;
  line-height: 1.6;
}

.slogan-badge {
  background: rgba(242, 140, 0, 0.15);
  color: var(--color-orange-primary);
  border: 1px solid var(--color-orange-primary);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.82rem;
  margin-bottom: 1.25rem;
  display: inline-block;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--color-orange-primary);
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: #94A3B8;
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--color-orange-primary);
  padding-left: 0.25rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.social-icon:hover {
  background: var(--color-orange-primary);
  color: #000;
}

.google-map-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1rem;
  font-size: 0.82rem;
}

.footer-bottom {
  background: #090D16;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  font-size: 0.82rem;
  color: #64748B;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.legal-links {
  display: flex;
  gap: 1.5rem;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .nav-menu { gap: 0.85rem; }
  .nav-link { font-size: 0.82rem; }
  .logo-title { font-size: 1.2rem; }
}

@media (max-width: 992px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-subtitle { margin: 0 auto 2rem auto; }
  .hero-actions { justify-content: center; }
  .hero-features { justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .calc-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-menu { display: none; }
  .mobile-toggle { display: block; }
}

@media (max-width: 600px) {
  .hero-title { font-size: 2.2rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-bottom-content { flex-direction: column; gap: 1rem; text-align: center; }
}

/* ==========================================================================
   UPDATED PRODUCT CARDS, PLACEHOLDERS & RFQ UI STYLES
   ========================================================================== */

.products-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-top: 2rem;
}

.product-card-equal {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  position: relative;
}

.product-card-equal:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-orange-primary);
}

.product-placeholder-box {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-steel-gray);
  border: 2px dashed #94a3b8;
  margin-bottom: 1.25rem;
  padding: 1rem;
  text-align: center;
}

.product-placeholder-box i {
  font-size: 2.2rem;
  color: var(--color-orange-primary);
  margin-bottom: 0.5rem;
}

.placeholder-label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-charcoal);
}

.placeholder-subtext {
  font-size: 0.75rem;
  color: var(--color-steel-light);
  margin-top: 0.25rem;
}

.size-variants-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 1.25rem 0;
}

.size-variant-badge {
  background: rgba(242, 140, 0, 0.1);
  color: #c26700;
  border: 1px solid rgba(242, 140, 0, 0.3);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
}

/* RFQ Segmented Toggle */
.segmented-toggle {
  display: flex;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  padding: 4px;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  width: 100%;
}

.toggle-btn {
  flex: 1;
  padding: 0.65rem 1rem;
  border: none;
  background: transparent;
  color: var(--color-steel-gray);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: center;
}

.toggle-btn.active {
  background: var(--color-charcoal);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

/* Bot Protection Honeypot Input */
.hp_field {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  left: -9999px !important;
}

/* Success Modal Display */
.modal-overlay.active {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* View Section SPA Toggle */
.view-section {
  display: none;
}

/* Photo Placeholder Box */
.photo-placeholder-box {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-steel-light);
  padding: 1.25rem;
  text-align: center;
  transition: var(--transition-fast);
}

.photo-placeholder-box:hover {
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
}

.placeholder-icon {
  font-size: 2.2rem;
  color: var(--color-orange-primary);
  margin-bottom: 0.5rem;
}

/* Monospace font stack for specs codes */
.font-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
  font-size: 0.88rem;
  letter-spacing: -0.3px;
}

/* Mobile Sticky Conversion Bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--color-charcoal);
  border-top: 2px solid var(--color-orange-primary);
  padding: 0.6rem 1rem;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.2);
}

.mobile-sticky-bar-content {
  display: flex;
  gap: 0.5rem;
  justify-content: space-between;
}

.mobile-sticky-btn {
  flex: 1;
  padding: 0.6rem 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
}

@media (max-width: 768px) {
  .mobile-sticky-bar {
    display: block;
  }
  body {
    padding-bottom: 60px;
  }
}

/* Batch Lot Traceability Result Card */
.traceability-result-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  margin-top: 1.5rem;
}

/* Quick Order Reorder Link Banner */
.reorder-banner {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--color-success);
  color: #065f46;
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-top: 1rem;
  font-size: 0.88rem;
}
