/**
 * GRASTE SURGICAL® - Production Stylesheet
 * Sialkot, Punjab, Pakistan
 * Precision Surgical Instrument Manufacturer
 */

/* ==========================================================================
   1. CSS VARIABLES & DESIGN TOKENS
   ========================================================================== */
:root {
  /* Brand Color Palette */
  --color-midnight-navy: #10283F;
  --color-deep-navy: #091B2D;
  --color-dark-slate: #243746;
  --color-steel-silver: #AAB7C4;
  --color-steel-light: #CBD5E1;
  --color-medical-teal: #087F8C;
  --color-teal-dark: #06606B;
  --color-teal-light: #E0F2F4;
  --color-teal-glow: rgba(8, 127, 140, 0.15);
  --color-white: #FFFFFF;
  --color-ice-grey: #F2F6F8;
  --color-soft-blue: #E7F1F5;
  --color-text-main: #1E293B;
  --color-text-muted: #64748B;
  --color-border: #DCE5EC;
  --color-border-dark: #2A4054;
  --color-whatsapp: #25D366;
  --color-whatsapp-dark: #1EBE5D;
  --color-success: #10B981;
  --color-error: #EF4444;

  /* Typography */
  --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;

  /* Transitions & Shadows */
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-subtle: 0 4px 12px rgba(9, 27, 45, 0.05);
  --shadow-card: 0 10px 25px -5px rgba(16, 40, 63, 0.08), 0 8px 10px -6px rgba(16, 40, 63, 0.04);
  --shadow-hover: 0 20px 35px -8px rgba(8, 127, 140, 0.16), 0 10px 15px -6px rgba(16, 40, 63, 0.08);
  --shadow-dropdown: 0 15px 30px rgba(9, 27, 45, 0.15);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 9999px;
  --container-max: 1280px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-main);
  background-color: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
}

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

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

a:hover, a:focus-visible {
  color: var(--color-teal-dark);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

:focus-visible {
  outline: 2px solid var(--color-medical-teal);
  outline-offset: 3px;
}

/* ==========================================================================
   3. TYPOGRAPHY & UTILITY CLASSES
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-midnight-navy);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 3.8vw + 1rem, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 2.5vw + 0.8rem, 2.35rem); }
h3 { font-size: clamp(1.25rem, 1.8vw + 0.5rem, 1.65rem); }
h4 { font-size: 1.25rem; font-weight: 600; }
h5 { font-size: 1.05rem; font-weight: 600; }
h6 { font-size: 0.9rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }

.tabular-nums {
  font-variant-numeric: tabular-nums;
  font-family: var(--font-mono);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 3vw, 2rem);
  padding-right: clamp(1rem, 3vw, 2rem);
}

.section-padding {
  padding-top: clamp(3.5rem, 6vw, 6rem);
  padding-bottom: clamp(3.5rem, 6vw, 6rem);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto clamp(2.5rem, 4vw, 3.8rem);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-medical-teal);
  background-color: var(--color-teal-light);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.85rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--color-text-muted);
  font-size: clamp(1rem, 1vw + 0.5rem, 1.125rem);
}

.bg-ice-grey {
  background-color: var(--color-ice-grey);
}

.bg-soft-blue {
  background-color: var(--color-soft-blue);
}

.bg-midnight-navy {
  background-color: var(--color-midnight-navy);
  color: var(--color-white);
}

.bg-midnight-navy h1,
.bg-midnight-navy h2,
.bg-midnight-navy h3,
.bg-midnight-navy h4 {
  color: var(--color-white);
}

.bg-midnight-navy p {
  color: var(--color-steel-light);
}

/* ==========================================================================
   4. BUTTONS & INTERACTION ELEMENTS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 0.925rem;
  font-weight: 700;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  transition: all var(--transition-smooth);
  white-space: nowrap;
  line-height: 1.2;
}

.btn-primary {
  background-color: var(--color-medical-teal);
  color: var(--color-white);
  border-color: var(--color-medical-teal);
  box-shadow: 0 4px 12px rgba(8, 127, 140, 0.25);
}

.btn-primary:hover, .btn-primary:focus-visible {
  background-color: var(--color-teal-dark);
  border-color: var(--color-teal-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(8, 127, 140, 0.35);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-midnight-navy);
  border-color: var(--color-steel-silver);
}

.btn-secondary:hover, .btn-secondary:focus-visible {
  background-color: var(--color-ice-grey);
  border-color: var(--color-midnight-navy);
  color: var(--color-midnight-navy);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover, .btn-outline-white:focus-visible {
  background-color: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-midnight-navy);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: var(--color-whatsapp);
  color: var(--color-white);
  border-color: var(--color-whatsapp);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover, .btn-whatsapp:focus-visible {
  background-color: var(--color-whatsapp-dark);
  border-color: var(--color-whatsapp-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(37, 211, 102, 0.35);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.825rem;
}

.btn-icon {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   5. TOP CONTACT BAR & MAIN HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--color-white);
  box-shadow: 0 2px 10px rgba(9, 27, 45, 0.05);
  transition: box-shadow var(--transition-smooth), transform var(--transition-smooth);
}

.site-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(9, 27, 45, 0.1);
}

/* Top bar (Desktop) */
.header-topbar {
  background-color: var(--color-deep-navy);
  color: var(--color-steel-light);
  font-size: 0.815rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.topbar-contact {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--color-steel-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.topbar-item:hover {
  color: var(--color-white);
}

.topbar-item svg {
  color: var(--color-medical-teal);
  flex-shrink: 0;
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.topbar-social .social-links-list {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.topbar-social .social-links-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-pill);
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--color-steel-light);
  transition: all var(--transition-fast);
}

.topbar-social .social-links-list a:hover {
  background-color: var(--color-medical-teal);
  color: var(--color-white);
  transform: translateY(-1px);
}

/* Main Navbar */
.header-navbar {
  padding: 0.85rem 0;
  background-color: var(--color-white);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo img {
  height: 48px;
  width: auto;
}

/* Nav Menu Desktop */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-midnight-navy);
  padding: 0.4rem 0.2rem;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background-color: var(--color-medical-teal);
  transition: width var(--transition-smooth);
  border-radius: var(--radius-pill);
}

.nav-link:hover, .nav-link.active {
  color: var(--color-medical-teal);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Header Action Right */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.quote-basket-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--color-soft-blue);
  color: var(--color-midnight-navy);
  border: 1px solid var(--color-border);
  transition: all var(--transition-fast);
}

.quote-basket-trigger:hover {
  background-color: var(--color-teal-light);
  color: var(--color-medical-teal);
  border-color: var(--color-medical-teal);
}

.quote-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background-color: var(--color-medical-teal);
  color: var(--color-white);
  font-size: 0.725rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-white);
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background-color: var(--color-ice-grey);
  border: 1px solid var(--color-border);
  padding: 8px;
  z-index: 1002;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-midnight-navy);
  border-radius: 2px;
  transition: all var(--transition-smooth);
}

/* Mobile Drawer */
.mobile-nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(9, 27, 45, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -340px;
  width: min(340px, 85vw);
  height: 100%;
  background-color: var(--color-white);
  z-index: 1002;
  box-shadow: -10px 0 30px rgba(9, 27, 45, 0.2);
  display: flex;
  flex-direction: column;
  transition: right var(--transition-smooth);
  overflow-y: auto;
}

.mobile-nav-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer.is-open {
  right: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  border-bottom: 1px solid var(--color-border);
}

.drawer-header .brand-logo img {
  height: 38px;
}

.drawer-close {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  background-color: var(--color-ice-grey);
  color: var(--color-midnight-navy);
}

.drawer-body {
  padding: 1.5rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-menu-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-menu-list a {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-midnight-navy);
  padding: 0.75rem 0.5rem;
  border-radius: var(--radius-md);
  border-bottom: 1px solid var(--color-ice-grey);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-menu-list a.active,
.mobile-menu-list a:hover {
  background-color: var(--color-teal-light);
  color: var(--color-medical-teal);
}

.drawer-footer {
  padding: 1.25rem;
  background-color: var(--color-ice-grey);
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ==========================================================================
   6. FLOATING WHATSAPP BUTTON (BOTTOM-RIGHT)
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 990;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.floating-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  background-color: var(--color-whatsapp);
  color: var(--color-white);
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: all var(--transition-smooth);
  animation: pulse-wa 2.5s infinite;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.08) translateY(-2px);
  background-color: var(--color-whatsapp-dark);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
}

.floating-whatsapp-tooltip {
  background-color: var(--color-midnight-navy);
  color: var(--color-white);
  font-size: 0.815rem;
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-md);
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  opacity: 0;
  transform: translateX(8px);
  transition: all var(--transition-smooth);
}

.floating-whatsapp:hover .floating-whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes pulse-wa {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================================================
   7. HERO SECTIONS
   ========================================================================== */
.hero-home {
  position: relative;
  background: linear-gradient(135deg, var(--color-deep-navy) 0%, var(--color-midnight-navy) 60%, #061524 100%);
  color: var(--color-white);
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
  overflow: hidden;
  border-bottom: 3px solid var(--color-medical-teal);
}

.hero-home-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  background-color: rgba(8, 127, 140, 0.15);
  border: 1px solid rgba(34, 193, 212, 0.3);
  color: #22C1D4;
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  width: fit-content;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background-color: #22C1D4;
  box-shadow: 0 0 10px #22C1D4;
}

.hero-content h1 {
  color: var(--color-white);
  line-height: 1.15;
}

.hero-subtitle {
  color: #22C1D4;
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 600;
}

.hero-description {
  color: var(--color-steel-light);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 600px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-visual img,
.hero-visual svg {
  width: 100%;
  max-width: 580px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
}

/* Page Sub-Hero Banner */
.page-hero {
  background: linear-gradient(135deg, var(--color-deep-navy) 0%, var(--color-midnight-navy) 100%);
  color: var(--color-white);
  padding: clamp(3rem, 5vw, 4.5rem) 0;
  position: relative;
  border-bottom: 2px solid var(--color-medical-teal);
}

.page-hero-inner {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.page-hero h1 {
  color: var(--color-white);
  margin-bottom: 0.85rem;
}

.page-hero p {
  color: var(--color-steel-silver);
  font-size: clamp(1.05rem, 1.2vw, 1.2rem);
  max-width: 650px;
  margin: 0 auto;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-steel-silver);
  margin-top: 1.25rem;
}

.breadcrumb-nav a {
  color: var(--color-steel-light);
}

.breadcrumb-nav a:hover {
  color: #22C1D4;
}

.breadcrumb-separator {
  color: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   8. CATEGORY CARDS (HOME & PRODUCTS)
   ========================================================================== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.85rem;
}

.category-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.category-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-medical-teal);
  box-shadow: var(--shadow-hover);
}

.category-thumb {
  position: relative;
  background-color: var(--color-ice-grey);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}

.category-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.category-card:hover .category-thumb img {
  transform: scale(1.05);
}

.category-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.category-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
}

.category-body p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex: 1;
}

.category-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-medical-teal);
}

.category-link:hover {
  color: var(--color-teal-dark);
}

/* ==========================================================================
   9. PRODUCT CARDS & CATALOG
   ========================================================================== */
.product-filters-bar {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 1.25rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.catalog-search-box {
  position: relative;
  flex: 1 1 300px;
}

.catalog-search-box input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.6rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background-color: var(--color-ice-grey);
  transition: all var(--transition-fast);
}

.catalog-search-box input:focus {
  background-color: var(--color-white);
  border-color: var(--color-medical-teal);
  outline: none;
  box-shadow: 0 0 0 3px var(--color-teal-glow);
}

.catalog-search-box svg {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  pointer-events: none;
}

.category-pills {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.category-pill {
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  background-color: var(--color-ice-grey);
  color: var(--color-midnight-navy);
  border: 1px solid var(--color-border);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.category-pill:hover,
.category-pill.active {
  background-color: var(--color-medical-teal);
  color: var(--color-white);
  border-color: var(--color-medical-teal);
}

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

.product-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

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

.product-image-wrap {
  position: relative;
  background-color: var(--color-white);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform var(--transition-smooth);
}

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

.product-badge-code {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--color-midnight-navy);
  color: #22C1D4;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  z-index: 2;
}

.product-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category-label {
  font-size: 0.775rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-medical-teal);
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.product-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.product-card-title a {
  color: var(--color-midnight-navy);
}

.product-card-title a:hover {
  color: var(--color-medical-teal);
}

.product-card-description {
  color: var(--color-text-muted);
  font-size: 0.885rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex: 1;
}

.product-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: auto;
}

.product-card-footer {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.btn-add-quote {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--color-midnight-navy);
  background-color: var(--color-ice-grey);
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}

.btn-add-quote:hover {
  background-color: var(--color-teal-light);
  color: var(--color-medical-teal);
}

.btn-whatsapp-sm {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--color-whatsapp-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-whatsapp-sm:hover {
  color: var(--color-whatsapp);
}

/* ==========================================================================
   10. PRODUCT DETAIL VIEW & SPECIFICATIONS TABLE
   ========================================================================== */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

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

.detail-main-image {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  margin-bottom: 1rem;
}

.detail-main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail-thumbnails {
  display: flex;
  gap: 0.85rem;
}

.detail-thumb-btn {
  width: 75px;
  height: 75px;
  padding: 0.35rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  background-color: var(--color-white);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.detail-thumb-btn.active,
.detail-thumb-btn:hover {
  border-color: var(--color-medical-teal);
  box-shadow: 0 0 0 2px var(--color-teal-glow);
}

.detail-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-info-panel h1 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  margin-bottom: 0.75rem;
}

.product-meta-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.code-pill {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  background-color: var(--color-midnight-navy);
  color: #22C1D4;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-sm);
}

.product-full-desc {
  color: var(--color-text-main);
  font-size: 1.025rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.product-highlights {
  background-color: var(--color-ice-grey);
  border-left: 3px solid var(--color-medical-teal);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 2rem;
}

.product-highlights h4 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.product-highlights ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.925rem;
}

.product-highlights li svg {
  color: var(--color-medical-teal);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* Technical Specification Table */
.specifications-wrapper {
  margin-bottom: 2.5rem;
}

.specifications-wrapper h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.table-specs {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.925rem;
  background-color: var(--color-white);
}

.table-specs th,
.table-specs td {
  padding: 0.85rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.table-specs th {
  background-color: var(--color-ice-grey);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-midnight-navy);
  width: 38%;
}

.table-specs tr:last-child th,
.table-specs tr:last-child td {
  border-bottom: none;
}

.table-specs tr:nth-child(even) td {
  background-color: #FAFBFD;
}

.detail-actions-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.5rem;
  background-color: var(--color-soft-blue);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

/* ==========================================================================
   11. MULTI-PRODUCT QUOTATION DRAWER
   ========================================================================== */
.quote-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(9, 27, 45, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.quote-drawer {
  position: fixed;
  top: 0;
  right: -480px;
  width: min(480px, 92vw);
  height: 100%;
  background-color: var(--color-white);
  z-index: 1051;
  box-shadow: -15px 0 40px rgba(9, 27, 45, 0.25);
  display: flex;
  flex-direction: column;
  transition: right var(--transition-smooth);
}

.quote-drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.quote-drawer.is-open {
  right: 0;
}

.quote-drawer-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--color-midnight-navy);
  color: var(--color-white);
}

.quote-drawer-header h3 {
  color: var(--color-white);
  font-size: 1.2rem;
}

.quote-drawer-close {
  color: var(--color-white);
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  background-color: rgba(255, 255, 255, 0.1);
}

.quote-drawer-body {
  padding: 1.5rem;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.quote-items-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quote-item-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--color-ice-grey);
}

.quote-item-thumb {
  width: 55px;
  height: 55px;
  background-color: var(--color-white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  flex-shrink: 0;
  padding: 4px;
}

.quote-item-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

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

.quote-item-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-midnight-navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quote-item-code {
  font-family: var(--font-mono);
  font-size: 0.775rem;
  color: var(--color-medical-teal);
  font-weight: 600;
}

.quote-item-qty {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.qty-btn {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-sm);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
}

.qty-input {
  width: 36px;
  height: 24px;
  text-align: center;
  font-size: 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: var(--color-white);
}

.quote-item-remove {
  color: var(--color-error);
  padding: 0.4rem;
}

.quote-drawer-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--color-border);
  background-color: var(--color-ice-grey);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* ==========================================================================
   12. MANUFACTURING & QUALITY PAGE COMPONENTS
   ========================================================================== */
.mfg-stages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}

.mfg-stage-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-smooth);
}

.mfg-stage-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-medical-teal);
  box-shadow: var(--shadow-card);
}

.mfg-stage-thumb {
  aspect-ratio: 16 / 9;
  background-color: var(--color-midnight-navy);
  overflow: hidden;
}

.mfg-stage-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mfg-stage-content {
  padding: 1.5rem;
}

.mfg-stage-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
}

.mfg-stage-content p {
  color: var(--color-text-muted);
  font-size: 0.925rem;
  line-height: 1.6;
}

/* Steel Grades Table */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.material-card {
  padding: 1.5rem;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--color-medical-teal);
}

.material-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.material-card p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ==========================================================================
   13. OEM & INTERNATIONAL SUPPLY PAGE
   ========================================================================== */
.oem-steps-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  position: relative;
}

.oem-step-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: relative;
}

.oem-step-num {
  width: 38px;
  height: 38px;
  background-color: var(--color-medical-teal);
  color: var(--color-white);
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.oem-step-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.oem-step-card p {
  color: var(--color-text-muted);
  font-size: 0.885rem;
  line-height: 1.5;
}

/* ==========================================================================
   14. GALLERY & LIGHTBOX
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  background-color: var(--color-ice-grey);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(9, 27, 45, 0.85) 0%, rgba(9, 27, 45, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption-title {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
}

.gallery-caption-cat {
  color: #22C1D4;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Fullscreen Lightbox */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(9, 27, 45, 0.95);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

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

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-image {
  max-width: 85vw;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  color: var(--color-white);
  margin-top: 1rem;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 25px;
  color: var(--color-white);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  background-color: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-white);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-pill);
  background-color: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-nav-prev { left: 25px; }
.lightbox-nav-next { right: 25px; }

/* ==========================================================================
   15. FORMS, INQUIRY & VALIDATION
   ========================================================================== */
.form-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  box-shadow: var(--shadow-subtle);
}

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

.form-group-full {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-midnight-navy);
  margin-bottom: 0.4rem;
}

.form-label .required {
  color: var(--color-error);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background-color: var(--color-white);
  color: var(--color-text-main);
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--color-medical-teal);
  outline: none;
  box-shadow: 0 0 0 3px var(--color-teal-glow);
}

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

/* Honeypot hidden input */
.website-input-hp {
  display: none !important;
  visibility: hidden !important;
}

/* Form alert response box */
.form-alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  display: none;
  font-size: 0.925rem;
  line-height: 1.5;
}

.form-alert.is-success {
  display: block;
  background-color: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.form-alert.is-error {
  display: block;
  background-color: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

/* File Upload Box */
.file-upload-box {
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  background-color: var(--color-ice-grey);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.file-upload-box:hover {
  border-color: var(--color-medical-teal);
  background-color: var(--color-teal-light);
}

.file-upload-box input[type="file"] {
  display: none;
}

/* ==========================================================================
   16. FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--color-deep-navy);
  color: var(--color-steel-light);
  border-top: 3px solid var(--color-medical-teal);
  padding-top: clamp(3.5rem, 5vw, 5rem);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1.1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 4vw, 3.8rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background-color: var(--color-medical-teal);
}

.footer-brand p {
  color: var(--color-steel-light);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 1.25rem 0 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: var(--color-steel-light);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: #22C1D4;
  transform: translateX(3px);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.885rem;
  color: var(--color-steel-light);
}

.footer-contact-item svg {
  color: var(--color-medical-teal);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.footer-contact-item a {
  color: var(--color-steel-light);
}

.footer-contact-item a:hover {
  color: #22C1D4;
}

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.835rem;
  color: var(--color-steel-silver);
  flex-wrap: wrap;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer-bottom-links a {
  color: var(--color-steel-silver);
}

.footer-bottom-links a:hover {
  color: var(--color-white);
}

/* Back to Top */
.back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--color-steel-light);
  transition: all var(--transition-fast);
}

.back-to-top:hover {
  background-color: var(--color-medical-teal);
  color: var(--color-white);
  transform: translateY(-2px);
}

