/* ATIF SURGICAL - Design System & Modern Medical Styling */
:root {
  --primary: #0d5c75;
  --primary-dark: #083c4d;
  --primary-light: #e6f4f8;
  --accent: #c59b27;
  --accent-hover: #b0891e;
  --dark: #0a2540;
  --dark-surface: #141f2d;
  --gray-bg: #f8fafc;
  --gray-border: #e2e8f0;
  --text-main: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --white: #ffffff;
  --success: #10b981;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(10,37,64,0.08);
  --shadow-lg: 0 12px 28px rgba(10,37,64,0.14);
  --transition: all 0.25s ease-in-out;
}

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

html, body {
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--white);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

/* TOP NOTIFICATION BAR */
.topbar {
  background-color: var(--dark);
  color: #cbd5e1;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-badge {
  background: var(--accent);
  color: var(--dark);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar-contact-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #e2e8f0;
}

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

/* MAIN HEADER */
.main-header {
  background-color: var(--white);
  border-bottom: 1px solid var(--gray-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 16px;
}

.brand-wrapper {
  flex-shrink: 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon-box {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 10px rgba(13,92,117,0.3);
  flex-shrink: 0;
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.brand-name span {
  color: var(--accent);
}

.brand-tagline {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

/* HEADER SEARCH */
.header-search {
  flex: 1;
  max-width: 500px;
  display: flex;
  align-items: center;
  background: var(--gray-bg);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-full);
  padding: 4px 14px;
  transition: var(--transition);
}

.header-search:focus-within {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(13,92,117,0.15);
}

.header-search input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 8px 10px;
  font-size: 14px;
  outline: none;
  color: var(--text-main);
  min-width: 0;
}

.header-search button {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--primary);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* HEADER QUICK ACTIONS */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--dark);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-border);
  background: var(--white);
  cursor: pointer;
  white-space: nowrap;
}

.header-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.badge-count {
  background: var(--primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-full);
}

.btn-rfq {
  background: var(--primary);
  color: var(--white);
  border: none;
}

.btn-rfq:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.hamburger-btn,
.mobile-menu-toggle,
.mobile-search-toggle,
.mobile-search-dropdown {
  display: none;
}

.mobile-menu-toggle {
  background: var(--gray-bg);
  border: 1px solid var(--gray-border);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  cursor: pointer;
  color: var(--dark);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  flex-shrink: 0;
  transition: var(--transition);
}

.mobile-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: 0.25s ease;
}

.mobile-search-toggle {
  background: var(--gray-bg);
  border: 1px solid var(--gray-border);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  color: var(--dark);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
  transition: var(--transition);
}

/* NAVIGATION BAR */
.nav-bar {
  background-color: var(--primary-dark);
  color: var(--white);
  border-top: 1px solid rgba(255,255,255,0.08);
}

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 13px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

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

/* DROPDOWN MENU */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 250px;
  background: var(--white);
  color: var(--dark);
  box-shadow: var(--shadow-lg);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 1000;
}

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

.dropdown-item {
  display: block;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-main);
  border-left: 3px solid transparent;
}

.dropdown-item:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-left-color: var(--primary);
}

.nav-support-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

/* HERO SECTION */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #092032 0%, #0d5c75 100%);
  color: var(--white);
  padding: 60px 0 80px;
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: radial-gradient(#ffffff 2px, transparent 2px);
  background-size: 30px 30px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.hero-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.8px;
  margin-bottom: 18px;
}

.hero-title span {
  color: #38bdf8;
}

.hero-desc {
  font-size: 15px;
  line-height: 1.6;
  color: #e2e8f0;
  margin-bottom: 28px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: var(--dark);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(197,155,39,0.35);
}

.btn-outline-white {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--dark);
}

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

.hero-card-display {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 440px;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 10px;
}

.hero-card-header h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}

.hero-card-header span {
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
}

.hero-spec-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 13px;
}

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

.spec-icon-check {
  width: 20px;
  height: 20px;
  background: rgba(16,185,129,0.2);
  color: #34d399;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

/* VALUE PROPOSITIONS STRIP */
.features-strip {
  background: var(--white);
  margin-top: -35px;
  position: relative;
  z-index: 10;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.feature-col {
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border-right: 1px solid var(--gray-border);
}

.feature-col:last-child {
  border-right: none;
}

.feature-icon-circle {
  width: 42px;
  height: 42px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-info h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 3px;
}

.feature-info p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* 3 CORE PILLARS / BROWSE CATEGORIES */
.pillars-section {
  padding: 60px 0;
  background: var(--white);
}

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  padding: 0 10px;
}

.section-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 1px;
  margin-bottom: 6px;
  display: inline-block;
}

.section-title {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

.section-desc {
  font-size: 14px;
  color: var(--text-muted);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pillar-card {
  background: var(--gray-bg);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.pillar-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.pillar-icon-badge {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 12px rgba(13,92,117,0.12);
}

.pillar-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.pillar-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.pillar-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}

.pillar-card:hover .pillar-btn {
  border-bottom-color: var(--primary);
  color: var(--primary-dark);
}

/* FEATURED PRODUCTS SECTION */
.products-section {
  padding: 60px 0 80px;
  background-color: #f1f5f9;
}

.filter-tabs-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.filter-tab {
  background: var(--white);
  border: 1px solid var(--gray-border);
  color: var(--text-main);
  padding: 9px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.filter-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(13,92,117,0.25);
}

/* PRODUCT GRID */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

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

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

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--dark);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  z-index: 5;
}

.product-badge.hot {
  background: #e11d48;
}

.product-badge.bestseller {
  background: var(--accent);
  color: var(--dark);
}

.product-badge.tungstencarbide {
  background: #475569;
}

.product-thumb {
  background: #f8fafc;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 16px;
  overflow: hidden;
  border-bottom: 1px solid #f1f5f9;
}

.instrument-svg {
  width: 100%;
  height: 100%;
  max-width: 120px;
  max-height: 120px;
  transition: transform 0.3s ease;
}

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

.product-overlay-actions {
  position: absolute;
  bottom: 10px;
  display: flex;
  gap: 8px;
  opacity: 0;
  transform: translateY(6px);
  transition: var(--transition);
}

.product-card:hover .product-overlay-actions {
  opacity: 1;
  transform: translateY(0);
}

.action-btn {
  width: 34px;
  height: 34px;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.action-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

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

.product-subcat {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.4px;
  margin-bottom: 5px;
}

.product-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: 6px;
  cursor: pointer;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 40px;
}

.product-title:hover {
  color: var(--primary);
}

.product-sku {
  font-size: 11px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.product-sku strong {
  color: var(--text-main);
}

.product-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--gray-border);
  gap: 6px;
}

.product-pricing {
  font-size: 11px;
  font-weight: 600;
  color: var(--success);
}

.inquire-btn {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.inquire-btn:hover {
  background: var(--primary-dark);
}

.no-products {
  grid-column: 1 / -1;
  text-align: center;
  padding: 50px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--gray-border);
}

/* CATALOGUES DOWNLOAD STRIP */
.catalogues-section {
  padding: 50px 0;
  background: var(--white);
  border-top: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
}

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

.catalogue-item-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--gray-bg);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.catalogue-item-card:hover {
  background: var(--white);
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.pdf-icon-badge {
  width: 40px;
  height: 40px;
  background: #fee2e2;
  color: #dc2626;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
  flex-shrink: 0;
}

.catalogue-meta h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 3px;
}

.catalogue-meta span {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
}

/* TECHNICAL BLOG / KNOWLEDGE BASE */
.articles-section {
  padding: 60px 0;
  background: var(--white);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  background: var(--gray-bg);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.article-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.article-header {
  height: 160px;
  background: linear-gradient(135deg, var(--dark-surface) 0%, #1e3a5f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: var(--white);
}

.article-body {
  padding: 20px;
}

.article-date {
  font-size: 11px;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 6px;
}

.article-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.4;
}

.article-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.article-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
}

/* RESPONSIVE COMMON GRIDS */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  text-align: center;
}

.responsive-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.responsive-split-col {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.responsive-contact-col {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
}

/* CERTIFICATION & LOGISTICS PARTNERS */
.partners-section {
  padding: 35px 0;
  background: #f8fafc;
  border-top: 1px solid var(--gray-border);
}

.partners-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px 30px;
  opacity: 0.8;
}

.partner-item {
  font-size: 14px;
  font-weight: 800;
  color: #475569;
  letter-spacing: 0.4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* FOOTER */
.site-footer {
  background-color: var(--dark-surface);
  color: #cbd5e1;
  padding-top: 50px;
  border-top: 3px solid var(--primary);
}

.footer-top {
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 30px;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

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

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

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 13px;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--white);
  transform: translateX(3px);
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13px;
  color: #94a3b8;
}

.footer-contact-icon {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  padding: 20px 0;
  background-color: #0e1724;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #64748b;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom a {
  color: var(--accent);
}

/* QUICK VIEW MODAL */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,37,64,0.7);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 16px;
}

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

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

.modal-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  color: var(--dark);
  z-index: 10;
}

.modal-close-btn:hover {
  background: #e2e8f0;
}

.qv-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
}

.qv-image-box {
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 16px;
  position: relative;
  border-right: 1px solid var(--gray-border);
}

.qv-image-box .instrument-svg {
  max-width: 180px;
  max-height: 180px;
}

.qv-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--dark);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.qv-details {
  padding: 24px;
}

.qv-category {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 5px;
  display: block;
}

.qv-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 8px;
}

.qv-sku-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--gray-border);
  font-size: 12px;
  color: var(--text-muted);
}

.stock-status {
  color: var(--success);
  font-weight: 700;
}

.qv-desc {
  font-size: 13px;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 16px;
}

.qv-specs-table {
  background: var(--gray-bg);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-bottom: 16px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 12px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

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

.spec-label {
  font-weight: 600;
  color: var(--text-muted);
}

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

.qv-features h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.qv-features ul {
  font-size: 12px;
  color: var(--text-main);
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  margin-bottom: 20px;
}

.qv-actions-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
}

.btn-whatsapp:hover {
  background: #20bd5a;
}

/* INQUIRY / RFQ MODAL */
.inquiry-modal-box {
  max-width: 480px;
  padding: 24px;
}

.inquiry-header {
  margin-bottom: 16px;
}

.inquiry-header h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
}

.inquiry-prod-name {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
}

.inquiry-form .form-group {
  margin-bottom: 12px;
}

.inquiry-form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 3px;
}

.inquiry-form input, .inquiry-form textarea, .inquiry-form select {
  width: 100%;
  padding: 9px 12px;
  font-size: 13px;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-sm);
  outline: none;
  font-family: inherit;
}

.inquiry-form input:focus, .inquiry-form textarea:focus {
  border-color: var(--primary);
}

/* TOAST NOTIFICATION */
.toast-notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--dark);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--accent);
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: var(--transition);
  max-width: 90vw;
}

.toast-notification.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* FLOATING WHATSAPP BUTTON */
.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 50px;
  height: 50px;
  background: #25d366;
  color: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37,211,102,0.4);
  z-index: 9000;
  transition: var(--transition);
}

.floating-whatsapp:hover {
  transform: scale(1.08);
}

/* MOBILE DRAWER (OFF-CANVAS) */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  max-width: 86vw;
  height: 100vh;
  height: 100dvh;
  background: var(--white);
  z-index: 10001;
  box-shadow: 4px 0 25px rgba(0, 0, 0, 0.15);
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(2px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--gray-border);
  background: #f8fafc;
  flex-shrink: 0;
}

.drawer-close-btn {
  background: #e2e8f0;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  font-size: 16px;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.drawer-close-btn:hover {
  background: #cbd5e1;
}

.drawer-search-box {
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.drawer-search-box input {
  width: 100%;
  padding: 9px 36px 9px 14px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--gray-border);
  font-size: 13px;
  outline: none;
  background: #f8fafc;
  transition: var(--transition);
}

.drawer-search-box input:focus {
  border-color: var(--primary);
  background: var(--white);
}

.drawer-search-box svg {
  position: absolute;
  right: 28px;
  color: #64748b;
  pointer-events: none;
}

.drawer-nav {
  padding: 8px 0;
  flex: 1;
  overflow-y: auto;
}

.drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  border-bottom: 1px solid #f8fafc;
  text-decoration: none;
  transition: var(--transition);
}

.drawer-link:hover, .drawer-link.active {
  color: var(--primary);
  background: #f1f5f9;
}

.drawer-accordion {
  border-bottom: 1px solid #f1f5f9;
}

.drawer-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  cursor: pointer;
  user-select: none;
}

.drawer-link-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  flex: 1;
}

.drawer-expand-btn {
  background: none;
  border: none;
  font-size: 16px;
  color: #64748b;
  cursor: pointer;
  transition: transform 0.25s ease;
  padding: 4px 8px;
}

.drawer-accordion.open .drawer-expand-btn {
  transform: rotate(180deg);
}

.drawer-submenu {
  display: none;
  background: #f8fafc;
  padding: 4px 0;
  border-top: 1px solid #f1f5f9;
}

.drawer-accordion.open .drawer-submenu {
  display: block;
}

.drawer-submenu a {
  display: block;
  padding: 9px 20px 9px 36px;
  font-size: 13px;
  color: #475569;
  text-decoration: none;
  border-bottom: 1px solid #f1f5f9;
  transition: var(--transition);
}

.drawer-submenu a:hover {
  color: var(--primary);
  padding-left: 40px;
}

.drawer-footer-actions {
  padding: 16px 18px;
  background: #f8fafc;
  border-top: 1px solid var(--gray-border);
  flex-shrink: 0;
}

.drawer-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 8px;
}

.drawer-cert-pill {
  font-size: 11px;
  color: #64748b;
  text-align: center;
  margin-top: 6px;
}

/* =======================================
   RESPONSIVE MEDIA QUERIES (MOBILE-FIRST)
   ======================================= */

@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-col:nth-child(2) {
    border-right: none;
  }
  .feature-col:nth-child(1), .feature-col:nth-child(2) {
    border-bottom: 1px solid var(--gray-border);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .catalogues-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .workflow-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) {
  .topbar {
    display: none !important;
  }
  .nav-bar {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
  .mobile-search-toggle {
    display: flex !important;
  }

  /* Sleek 60px Fixed Header */
  .main-header {
    height: 60px;
  }

  .header-container {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 12px !important;
    height: 60px !important;
    gap: 8px !important;
  }

  .brand-wrapper {
    flex: 1;
    margin-left: 6px;
    margin-right: 6px;
    min-width: 0;
  }

  .brand-logo {
    gap: 8px;
    align-items: center;
  }

  .brand-icon-box {
    width: 32px;
    height: 32px;
  }

  .brand-icon-box svg {
    width: 18px;
    height: 18px;
  }

  .brand-name {
    font-size: 15px;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-tagline {
    display: none !important;
  }

  /* Hide Desktop Search Bar on Mobile */
  .header-search {
    display: none !important;
  }

  .header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-shrink: 0;
  }

  .header-btn {
    padding: 6px 8px !important;
    gap: 4px;
    border-radius: var(--radius-md);
  }

  .header-btn .btn-text {
    display: none !important;
  }

  .header-btn svg {
    width: 18px;
    height: 18px;
  }

  .header-btn.btn-rfq {
    padding: 6px 10px !important;
    background: var(--primary);
    color: var(--white);
    border: none;
  }

  .header-btn.btn-rfq .btn-text {
    display: inline-block !important;
    font-size: 11px;
    font-weight: 700;
  }

  /* Mobile Dropdown Search */
  .mobile-search-dropdown {
    display: block;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease, padding 0.25s ease;
    padding: 0 14px;
    z-index: 999;
  }

  .mobile-search-dropdown.active {
    max-height: 70px;
    padding: 10px 14px;
  }

  .mobile-search-inner {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 25px;
    padding: 4px 12px;
    width: 100%;
    gap: 8px;
  }

  .mobile-search-inner:focus-within {
    border-color: #0d5c75;
    background: #ffffff;
  }

  .mobile-search-inner input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 6px 0;
    font-size: 14px;
    color: #0f172a;
    min-width: 0;
  }

  .mobile-search-clear {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 16px;
    cursor: pointer;
    padding: 0 4px;
  }

  /* Hero Section */
  .hero-section {
    padding: 40px 0 50px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  .hero-title {
    font-size: 28px;
  }
  .hero-desc {
    margin: 0 auto 20px;
    font-size: 14px;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-card-display {
    max-width: 100%;
    padding: 18px;
    text-align: left;
  }

  /* Features */
  .features-strip {
    margin-top: 15px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .feature-col {
    border-right: none;
    border-bottom: 1px solid var(--gray-border);
    padding: 16px;
  }
  .feature-col:last-child {
    border-bottom: none;
  }

  /* Pillars & Grids */
  .pillars-section {
    padding: 45px 0;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .section-head {
    margin-bottom: 25px;
  }

  /* Filter Tabs horizontal scroll on mobile */
  .filter-tabs-wrapper {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    padding-bottom: 10px;
    scrollbar-width: none;
  }
  .filter-tabs-wrapper::-webkit-scrollbar {
    display: none;
  }

  /* Products 2 columns on mobile */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .product-thumb {
    height: 150px;
    padding: 10px;
  }
  .instrument-svg {
    max-width: 90px;
    max-height: 90px;
  }
  .product-info {
    padding: 12px 10px;
  }
  .product-title {
    font-size: 13px;
    height: 36px;
  }
  .product-sku {
    font-size: 10px;
    margin-bottom: 8px;
  }
  .product-pricing {
    display: none;
  }
  .product-footer-row {
    justify-content: stretch;
  }
  .inquire-btn {
    width: 100%;
    text-align: center;
    padding: 6px;
    font-size: 11px;
  }
  /* On touch devices, action buttons can stay visible or touch friendly */
  .product-overlay-actions {
    opacity: 1;
    transform: none;
    bottom: 6px;
  }

  /* Articles */
  .articles-section {
    padding: 45px 0;
  }
  .articles-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  /* Modals */
  .qv-grid {
    grid-template-columns: 1fr;
  }
  .qv-image-box {
    border-right: none;
    border-bottom: 1px solid var(--gray-border);
    padding: 20px;
  }
  .qv-details {
    padding: 16px;
  }

  /* Responsive Common Grids */
  .responsive-two-col,
  .responsive-split-col,
  .responsive-contact-col {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .workflow-grid {
    grid-template-columns: 1fr;
  }
  .catalogues-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  .brand-name {
    font-size: 16px;
  }
}
