/**
 * Capital Medical — E-Commerce Design System
 * Apple-grade minimalism + Stripe-level polish + Trusted Healthcare UX
 */

:root {
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Brand Palette */
  --cm-blue: #0284c7;
  --cm-blue-dark: #0369a1;
  --cm-blue-darker: #0c4a6e;
  --cm-blue-light: #e0f2fe;
  --cm-blue-subtle: #f0f9ff;

  --cm-teal: #0d9488;
  --cm-teal-light: #ccfbf1;

  --cm-accent: #2563eb;
  --cm-success: #16a34a;
  --cm-success-bg: #dcfce7;
  --cm-warning: #ea580c;
  --cm-warning-bg: #ffedd5;
  --cm-danger: #dc2626;
  --cm-danger-bg: #fee2e2;

  /* Neutrals */
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --white: #ffffff;

  /* Layout & Shadows */
  --max-width: 1280px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-xs: 0 1px 2px 0 rgba(0,0,0,0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -2px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.05);
  --shadow-card: 0 2px 8px -2px rgba(12,74,110,0.08), 0 1px 4px -1px rgba(0,0,0,0.04);
  --shadow-card-hover: 0 12px 24px -6px rgba(12,74,110,0.14), 0 4px 8px -2px rgba(0,0,0,0.05);

  --transition-fast: 150ms cubic-bezier(0.4,0,0.2,1);
  --transition-smooth: 250ms cubic-bezier(0.4,0,0.2,1);
  --transition-bounce: 350ms cubic-bezier(0.34,1.56,0.64,1);
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-family: var(--font-body);
  color: var(--gray-800);
  background-color: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body { min-height: 100vh; display: flex; flex-direction: column; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition-fast); }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.2;
}

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.08); opacity: 0.8; }
}
@keyframes floatGentle {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(0.5deg); }
}
@keyframes floatReverse {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(6px); }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   TOP NOTICE BAR
   ========================================================= */
.top-notice-bar {
  background: #f8fafc;
  color: #475569;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.8125rem;
  padding: 0.45rem 0;
}
.top-notice-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.top-notice-left, .top-notice-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.notice-tag { color: #0284c7; font-weight: 800; letter-spacing: 0.05em; font-size: 0.75rem; }
.notice-divider { width: 1px; height: 14px; background: #cbd5e1; }
.notice-address, .notice-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #64748b;
  font-weight: 500;
}
.notice-svg { color: #0284c7; flex-shrink: 0; }
.notice-srp-link {
  color: #0284c7 !important;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none !important;
  transition: all 0.2s ease;
}
.notice-srp-link:hover { color: #0369a1 !important; transform: translateX(2px); }

/* =========================================================
   NAVBAR
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition-fast);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1.5rem;
  min-width: 0;
}

.brand-logo { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; min-width: 0; }
.brand-logo img { height: 44px; width: auto; }

.brand-text-block { display: flex; flex-direction: column; min-width: 0; }
.brand-main-title { font-weight: 900; font-size: 1.15rem; color: #0f172a; letter-spacing: -0.03em; line-height: 1.15; }
.brand-sub-title { font-size: 0.6875rem; font-weight: 700; color: #059669; letter-spacing: 0.05em; text-transform: uppercase; }

.brand-badge {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  background: var(--cm-blue-subtle); color: var(--cm-blue-dark);
  padding: 0.15rem 0.5rem; border-radius: var(--radius-full);
  border: 1px solid var(--cm-blue-light);
}

.search-container { flex: 1; max-width: 520px; position: relative; min-width: 180px; }
.search-input-wrap { position: relative; display: flex; align-items: center; }
.search-input-wrap svg { position: absolute; left: 1rem; color: var(--gray-400); pointer-events: none; }
.search-input {
  width: 100%; height: 44px; padding: 0 1rem 0 2.75rem;
  border-radius: var(--radius-full); border: 1px solid var(--gray-200);
  background: var(--gray-50); font-size: 0.9375rem; color: var(--gray-800);
  outline: none; transition: all var(--transition-fast);
}
.search-input:focus {
  background: var(--white); border-color: var(--cm-blue);
  box-shadow: 0 0 0 4px var(--cm-blue-light);
}

.search-results-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: var(--white); border-radius: var(--radius-md);
  border: 1px solid var(--gray-200); box-shadow: var(--shadow-xl);
  max-height: 400px; overflow-y: auto; z-index: 200; display: none;
}
.search-result-item {
  display: flex; align-items: center; gap: 0.875rem;
  padding: 0.75rem 1rem; border-bottom: 1px solid var(--gray-100);
  transition: background var(--transition-fast);
}
.search-result-item:hover { background: var(--gray-50); }
.search-result-item img {
  width: 44px; height: 44px; object-fit: contain;
  border-radius: var(--radius-sm); background: var(--gray-50);
}

.nav-actions { display: flex; align-items: center; gap: 1rem; }
.nav-icon-btn {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: var(--radius-full);
  color: var(--gray-600); background: transparent; border: 1px solid transparent;
  cursor: pointer; transition: all var(--transition-fast);
}
.nav-icon-btn:hover { background: var(--gray-100); color: var(--gray-900); }
.nav-badge {
  position: absolute; top: -2px; right: -2px; background: var(--cm-blue); color: #fff;
  font-size: 0.7rem; font-weight: 700; height: 19px; min-width: 19px; padding: 0 5px;
  border-radius: var(--radius-full); display: flex; align-items: center;
  justify-content: center; border: 2px solid #fff;
}

.nav-link { font-size: 0.9375rem; font-weight: 500; color: var(--gray-600); display: flex; align-items: center; gap: 0.35rem; }
.nav-link:hover { color: var(--cm-blue); }
.track-order-link { color: var(--cm-blue-dark); font-weight: 700; }
.track-order-link svg, .track-order-pill svg { flex-shrink: 0; }
.track-order-pill { color: #0f766e; font-weight: 700; }

/* =========================================================
   SUB NAV
   ========================================================= */
.sub-nav-bar {
  background: var(--white); border-bottom: 1px solid var(--gray-200);
  overflow-x: auto; scrollbar-width: none;
}
.sub-nav-bar::-webkit-scrollbar { display: none; }
.sub-nav-list {
  display: flex; align-items: center; gap: 2rem;
  list-style: none; height: 46px; white-space: nowrap;
}
.sub-nav-link {
  font-size: 0.875rem; font-weight: 500; color: var(--gray-600);
  display: flex; align-items: center; gap: 0.35rem;
  position: relative; height: 46px;
}
.sub-nav-link:hover, .sub-nav-link.active { color: var(--cm-blue-dark); }
.sub-nav-link.active::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--cm-blue);
}

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(56,189,248,0.15) 0%, rgba(240,249,255,0.5) 45%, #ffffff 100%);
  padding: 4.5rem 0 5rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(226,232,240,0.8);
}
.hero-section::before {
  content: "";
  position: absolute; top: -120px; right: -80px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(14,165,233,0.22) 0%, rgba(99,102,241,0.12) 50%, transparent 70%);
  filter: blur(50px); pointer-events: none;
  animation: pulseGlow 8s ease-in-out infinite;
}
.hero-section::after {
  content: "";
  position: absolute; bottom: -100px; left: 10%;
  width: 350px; height: 350px; border-radius: 50%;
  background: radial-gradient(circle, rgba(20,184,166,0.16) 0%, transparent 70%);
  filter: blur(60px); pointer-events: none;
}

.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3.5rem; align-items: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.85); backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(14,165,233,0.3) !important;
  box-shadow: 0 4px 20px -2px rgba(14,165,233,0.2) !important;
  padding: 0.35rem 0.875rem; border-radius: var(--radius-full);
  font-size: 0.8125rem; font-weight: 600; color: #0369a1;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 3.25rem; font-weight: 900 !important;
  color: var(--gray-900); letter-spacing: -0.04em !important;
  line-height: 1.15; margin-bottom: 1.25rem;
}
.hero-title span {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #0d9488 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; display: inline-block;
}
.hero-subtitle-block { display: block; font-size: 2.1rem; font-weight: 800; color: #0284c7; margin-top: 0.35rem; }

.hero-text { font-size: 1.125rem; color: var(--gray-600); line-height: 1.6; margin-bottom: 2rem; max-width: 540px; }
.hero-cta-group { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.hero-metrics-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem;
  border-top: 1px solid rgba(226,232,240,0.8); padding-top: 1.5rem;
}
.metric-number { font-size: 1.75rem; font-weight: 900; color: #0f172a; letter-spacing: -0.02em; line-height: 1.1; }
.metric-number.text-accent { color: #0284c7; }
.metric-number.text-emerald { color: #059669; }
.metric-label { font-size: 0.8125rem; font-weight: 600; color: #64748b; margin-top: 3px; }

.hero-image-wrap { position: relative; }
.hero-image-card {
  background: rgba(255,255,255,0.75) !important;
  backdrop-filter: blur(20px) !important; -webkit-backdrop-filter: blur(20px) !important;
  border-radius: 24px !important; border: 1px solid rgba(255,255,255,0.8) !important;
  box-shadow: 0 25px 50px -12px rgba(14,165,233,0.25), 0 0 0 1px rgba(224,242,254,0.8) !important;
  padding: 1.5rem; position: relative;
  animation: floatGentle 6s ease-in-out infinite;
}
.hero-image-card img { border-radius: 18px !important; width: 100%; height: 380px; object-fit: cover; }
.hero-apparatus-img { width: 100%; height: 420px; object-fit: cover; border-radius: 16px; }

.floating-stat-card {
  position: absolute; bottom: -20px; left: -20px;
  background: rgba(255,255,255,0.92) !important;
  backdrop-filter: blur(16px) !important; -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(14,165,233,0.25) !important;
  box-shadow: 0 16px 32px -4px rgba(14,165,233,0.2) !important;
  border-radius: 16px !important; padding: 1rem 1.25rem;
  display: flex; align-items: center; gap: 0.875rem;
  animation: floatReverse 5s ease-in-out infinite;
}
.floating-spec-badge {
  position: absolute; top: -16px; right: -16px;
  background: rgba(15,23,42,0.92); backdrop-filter: blur(12px);
  color: #fff; padding: 0.65rem 1.15rem; border-radius: 999px;
  display: flex; align-items: center; gap: 0.5rem; font-size: 0.8125rem; font-weight: 700;
  box-shadow: 0 12px 24px -4px rgba(15,23,42,0.35); border: 1px solid rgba(255,255,255,0.15); z-index: 10;
}

.stat-card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg,#10b981 0%,#059669 100%);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 900; flex-shrink: 0;
}
.stat-card-title { font-size: 0.9375rem; font-weight: 800; color: #0f172a; }
.stat-card-desc { font-size: 0.75rem; font-weight: 600; color: #0284c7; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-heading); font-weight: 600; font-size: 0.9375rem;
  padding: 0.75rem 1.5rem; border-radius: var(--radius-md); border: 1px solid transparent;
  cursor: pointer; transition: all var(--transition-fast); white-space: nowrap;
}
.btn-primary { background: var(--cm-blue); color: #fff; }
.btn-primary:hover { background: var(--cm-blue-dark); box-shadow: 0 4px 12px rgba(2,132,199,0.3); }
.btn-secondary { background: var(--white); color: var(--gray-700); border-color: var(--gray-300); }
.btn-secondary:hover { background: var(--gray-50); border-color: var(--gray-400); color: var(--gray-900); }
.btn-sm { padding: 0.45rem 0.875rem; font-size: 0.8125rem; border-radius: var(--radius-sm); }
.btn-lg { padding: 0.95rem 2rem; font-size: 1.0625rem; border-radius: var(--radius-md); }
.btn-block { width: 100%; }
.btn-danger { background: var(--cm-danger); color: #fff; }
.btn-danger:hover { background: #b91c1c; }
.action-primary-btn { background: linear-gradient(135deg,#0284c7 0%,#2563eb 100%) !important; color: #fff !important; border: none !important; font-weight: 800 !important; justify-content: center !important; border-radius: 12px !important; }
.action-secondary-btn { background: #f8fafc !important; color: #0f172a !important; border: 1px solid #e2e8f0 !important; font-weight: 700 !important; justify-content: center !important; border-radius: 12px !important; }
.action-outline-btn { background: transparent !important; color: #0284c7 !important; border: 1px solid #0284c7 !important; font-weight: 700 !important; justify-content: center !important; border-radius: 12px !important; }

/* =========================================================
   TRUST BAR
   ========================================================= */
.trust-bar { padding: 2rem 0; background: var(--white); border-bottom: 1px solid var(--gray-100); }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.trust-item { display: flex; align-items: center; gap: 1rem; }
.trust-icon { width: 48px; height: 48px; border-radius: var(--radius-md); background: var(--cm-blue-subtle); color: var(--cm-blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.trust-title { font-size: 0.9375rem; font-weight: 700; color: var(--gray-900); margin-bottom: 0.15rem; }
.trust-desc { font-size: 0.8125rem; color: var(--gray-500); }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: 4rem 0; }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2rem; }
.section-title-wrap { max-width: 600px; }
.section-tag { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--cm-blue); margin-bottom: 0.35rem; }
.section-title { font-size: 1.875rem; letter-spacing: -0.02em; }
.section-center-header { text-align: center; margin-bottom: 3rem; }
.section-between-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }

/* =========================================================
   PILLARS SECTION
   ========================================================= */
.pillars-section { background: #ffffff; padding: 4rem 0; border-bottom: 1px solid #e2e8f0; }
.pillars-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.pillar-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 16px; padding: 1.75rem 1.5rem; transition: all 0.3s cubic-bezier(0.16,1,0.3,1); }
.pillar-card:hover { transform: translateY(-4px); border-color: #7dd3fc; box-shadow: 0 16px 32px -4px rgba(2,132,199,0.12); background: #ffffff; }
.pillar-icon-box { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.bg-blue-light { background: #e0f2fe; }
.bg-emerald-light { background: #dcfce7; }
.bg-amber-light { background: #fef3c7; }
.bg-purple-light { background: #f3e8ff; }
.pillar-title { font-size: 1.05rem; font-weight: 800; color: #0f172a; margin-bottom: 0.65rem; line-height: 1.3; }
.pillar-desc { font-size: 0.84rem; color: #64748b; line-height: 1.6; margin: 0; }

/* =========================================================
   CATEGORIES SECTION
   ========================================================= */
.categories-section {
  background: radial-gradient(circle at 50% 100%, #f0f9ff 0%, #ffffff 80%);
  border-bottom: 1px solid #e2e8f0; padding: 4rem 0;
}
.categories-modern-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); gap: 1.25rem; }
.category-item-card {
  background: #ffffff; border: 1px solid #e2e8f0; border-radius: 16px;
  padding: 1.5rem 1.25rem; text-align: center; min-height: 178px;
  transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-decoration: none;
}
.category-item-card:hover { transform: translateY(-5px); border-color: #38bdf8; box-shadow: 0 16px 32px -4px rgba(2,132,199,0.15); }
.category-icon-wrapper {
  width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg,#e0f2fe 0%,#f0f9ff 100%); color: #0284c7;
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
  border: 1px solid rgba(56,189,248,0.2); transition: all 0.3s ease;
}
.category-item-card:hover .category-icon-wrapper {
  background: linear-gradient(135deg,#0284c7 0%,#2563eb 100%); color: #ffffff;
  border-color: transparent; transform: scale(1.08); box-shadow: 0 8px 16px rgba(2,132,199,0.3);
}
.category-item-name {
  font-size: 0.95rem; font-weight: 800; color: #0f172a; margin-bottom: 0.35rem; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.category-item-count {
  font-size: 0.75rem; font-weight: 700; color: #0284c7;
  display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 0.3rem;
  padding: 0.28rem 0.6rem; border-radius: 999px; background: #f0f9ff; border: 1px solid #bae6fd;
}
.category-item-count span { color: #0369a1; }
.category-item-count small { color: #64748b; font-size: 0.68rem; font-weight: 800; }

/* =========================================================
   PRODUCTS GRID (generic)
   ========================================================= */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); gap: 1.5rem; }

/* =========================================================
   AI CARE BANNER
   ========================================================= */
.ai-care-banner-section { background: #ffffff; padding: 2.75rem 0 1rem; }
.home-products-section { background: #ffffff; border-bottom: 1px solid #e2e8f0; padding-top: 3.25rem; }
.ai-care-banner {
  position: relative;
  display: grid; grid-template-columns: minmax(0,0.78fr) minmax(320px,1.22fr);
  align-items: center; gap: 2rem; overflow: hidden; border-radius: 24px;
  background: linear-gradient(135deg,#f8fafc 0%,#eef6ff 48%,#ecfdf5 100%);
  border: 1px solid #dbeafe; box-shadow: 0 24px 60px -34px rgba(8,47,73,0.38);
  padding: 2.25rem;
}
.ai-care-banner-copy { position: relative; z-index: 2; max-width: 460px; }
.ai-care-banner-copy h2 { font-size: 2rem; line-height: 1.12; font-weight: 900; color: #0f172a; margin-bottom: 0.8rem; }
.ai-care-banner-copy p { color: #475569; font-size: 0.98rem; line-height: 1.65; margin-bottom: 1.25rem; }
.ai-care-banner img { width: 100%; min-height: 240px; max-height: 330px; object-fit: cover; border-radius: 18px; box-shadow: 0 18px 40px -28px rgba(8,47,73,0.55); }

/* =========================================================
   BIOMEDICAL SECTION
   ========================================================= */
.biomedical-section { padding: 4rem 0; background: #ffffff; }
.biomedical-card-connected {
  background: linear-gradient(135deg,#f0fdf4 0%,#f0f9ff 45%,#ffffff 100%);
  border-radius: 24px; padding: 3.5rem;
  border: 1px solid rgba(14,165,233,0.25); box-shadow: 0 20px 40px -10px rgba(14,165,233,0.08);
}
.biomedical-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 3rem; align-items: center; }
.biomedical-tag { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(2,132,199,0.1); border: 1px solid rgba(2,132,199,0.25); border-radius: 999px; padding: 0.3rem 0.85rem; font-size: 0.75rem; font-weight: 800; color: #0284c7; text-transform: uppercase; margin-bottom: 1rem; }
.biomedical-heading { font-size: 2.25rem; font-weight: 900; color: #0f172a; line-height: 1.2; margin-bottom: 1rem; }
.biomedical-desc { color: #64748b; font-size: 1rem; line-height: 1.7; margin-bottom: 2rem; }
.biomedical-services-subgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.service-box { background: #ffffff; padding: 1rem 1.25rem; border-radius: 14px; border: 1px solid #e2e8f0; box-shadow: 0 2px 6px rgba(0,0,0,0.03); transition: all 0.25s ease; }
.service-box:hover { border-color: #38bdf8; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(2,132,199,0.1); }
.service-box-title { font-weight: 800; font-size: 0.875rem; color: #0f172a; display: flex; align-items: center; gap: 0.45rem; }
.service-box-desc { color: #64748b; font-size: 0.75rem; margin-top: 3px; line-height: 1.4; }
.biomedical-action-box { background: #ffffff; border: 1px solid rgba(2,132,199,0.25); border-radius: 20px; padding: 2.25rem; box-shadow: 0 12px 30px -5px rgba(2,132,199,0.1); }
.action-box-header { font-size: 1.2rem; font-weight: 900; color: #0f172a; margin-bottom: 0.5rem; }
.action-box-desc { font-size: 0.8125rem; color: #64748b; line-height: 1.5; margin-bottom: 1.5rem; }
.action-box-buttons { display: flex; flex-direction: column; gap: 0.75rem; }

/* =========================================================
   HEADQUARTERS SECTION
   ========================================================= */
.headquarters-section { padding: 4rem 0 5rem; background: #ffffff; }
.headquarters-card-connected { background: linear-gradient(135deg,#f0f9ff 0%,#ffffff 50%,#f8fafc 100%); border-radius: 24px; padding: 3.5rem; border: 1px solid #cbd5e1; box-shadow: 0 16px 36px -8px rgba(15,23,42,0.06); }
.headquarters-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 3rem; align-items: center; }
.headquarters-badge { display: inline-block; background: rgba(2,132,199,0.1); color: #0284c7; border: 1px solid rgba(2,132,199,0.25); padding: 0.3rem 0.85rem; border-radius: 999px; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; margin-bottom: 1rem; }
.headquarters-title { font-size: 2.25rem; font-weight: 900; color: #0f172a; line-height: 1.2; margin-bottom: 1rem; }
.headquarters-desc { color: #64748b; font-size: 1rem; line-height: 1.7; margin-bottom: 1.75rem; }
.headquarters-contact-block { font-size: 0.875rem; color: #334155; line-height: 2; margin-bottom: 1.75rem; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 1.25rem; }
.hq-line { display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 0.5rem; }
.hq-line:last-child { margin-bottom: 0; }
.hq-line svg { flex-shrink: 0; margin-top: 4px; }
.headquarters-cta-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.headquarters-side-box { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 18px; padding: 2.5rem 2rem; text-align: center; box-shadow: 0 10px 25px -4px rgba(2,132,199,0.1); }
.hq-side-label { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; color: #0284c7; margin-bottom: 0.5rem; }
.hq-primary-phone { font-size: 1.85rem; font-weight: 900; color: #0f172a; letter-spacing: -0.02em; margin-bottom: 0.25rem; }
.hq-secondary-phone { font-size: 1.4rem; font-weight: 800; color: #0284c7; margin-bottom: 0.5rem; }
.hq-hours-text { color: #64748b; font-size: 0.8125rem; margin-bottom: 1.5rem; }
.hq-status-pill { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; padding: 0.5rem 1rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials-section-bg { background: #f8fafc; border-top: 1px solid #e2e8f0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.testimonial-card { background: #ffffff; border-radius: 18px; padding: 2rem; border: 1px solid #e2e8f0; box-shadow: 0 4px 12px rgba(15,23,42,0.04); display: flex; flex-direction: column; justify-content: space-between; transition: all 0.3s ease; }
.testimonial-card:hover { transform: translateY(-4px); border-color: #7dd3fc; box-shadow: 0 16px 32px rgba(2,132,199,0.12); }
.rating-stars-row { display: flex; gap: 3px; margin-bottom: 1.25rem; }
.testimonial-quote { font-size: 0.9375rem; color: #334155; line-height: 1.75; margin-bottom: 1.75rem; }
.testimonial-author-row { display: flex; align-items: center; gap: 0.75rem; border-top: 1px solid #f1f5f9; padding-top: 1.25rem; }
.author-avatar { width: 44px; height: 44px; border-radius: 12px; color: #fff; font-weight: 900; font-size: 1rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bg-blue-grad { background: linear-gradient(135deg,#0284c7 0%,#2563eb 100%); }
.bg-emerald-grad { background: linear-gradient(135deg,#059669 0%,#10b981 100%); }
.bg-purple-grad { background: linear-gradient(135deg,#7c3aed 0%,#9333ea 100%); }
.author-name { font-weight: 800; color: #0f172a; font-size: 0.9375rem; }
.author-title { font-size: 0.75rem; color: #64748b; font-weight: 600; }

/* =========================================================
   CART DRAWER
   ========================================================= */
.cart-drawer-backdrop { position: fixed; inset: 0; background: rgba(15,23,42,0.6); backdrop-filter: blur(4px); z-index: 999; opacity: 0; visibility: hidden; transition: all var(--transition-smooth); }
.cart-drawer-backdrop.active { opacity: 1; visibility: visible; }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 100%; max-width: 420px; background: var(--white); box-shadow: var(--shadow-xl); z-index: 1000; display: flex; flex-direction: column; transform: translateX(100%); transition: transform var(--transition-smooth); }
.cart-drawer.active { transform: translateX(0); }
.cart-drawer-header { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--gray-200); display: flex; align-items: center; justify-content: space-between; }
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 1.25rem 1.5rem; }
.cart-drawer-footer { padding: 1.25rem 1.5rem; border-top: 1px solid var(--gray-200); background: var(--gray-50); }
.cart-drawer-item { display: flex; gap: 1rem; padding-bottom: 1.25rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--gray-100); }
.cart-drawer-item img { width: 64px; height: 64px; object-fit: contain; background: var(--gray-50); border-radius: var(--radius-sm); border: 1px solid var(--gray-200); }

/* =========================================================
   QTY CONTROL
   ========================================================= */
.qty-control { display: inline-flex; align-items: center; border: 1px solid var(--gray-300); border-radius: var(--radius-md); background: #fff; height: 46px; }
.qty-btn { width: 44px; height: 100%; background: transparent; border: none; font-size: 1.25rem; color: var(--gray-600); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.qty-input { width: 50px; height: 100%; border: none; text-align: center; font-weight: 700; outline: none; }

/* =========================================================
   FORMS
   ========================================================= */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--gray-700); margin-bottom: 0.4rem; }
.form-input, .form-select, .form-textarea { width: 100%; padding: 0.75rem 1rem; border-radius: var(--radius-md); border: 1px solid var(--gray-300); background: var(--white); font-size: 0.9375rem; color: var(--gray-800); outline: none; transition: all var(--transition-fast); }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--cm-blue); box-shadow: 0 0 0 3px var(--cm-blue-light); }

/* =========================================================
   TOAST
   ========================================================= */
.toast-container { position: fixed; bottom: 2rem; right: 2rem; z-index: 2000; display: flex; flex-direction: column; gap: 0.75rem; pointer-events: none; }
.toast { pointer-events: auto; background: var(--gray-900); color: #fff; padding: 0.875rem 1.25rem; border-radius: var(--radius-md); box-shadow: var(--shadow-xl); display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; min-width: 280px; animation: slideUp 0.3s cubic-bezier(0.34,1.56,0.64,1); }
.toast-success { border-left: 4px solid var(--cm-success); }
.toast-error { border-left: 4px solid var(--cm-danger); }

/* =========================================================
   TIMELINE
   ========================================================= */
.timeline { display: flex; justify-content: space-between; position: relative; margin: 2.5rem 0; }
.timeline::before { content: ""; position: absolute; top: 18px; left: 30px; right: 30px; height: 4px; background: var(--gray-200); z-index: 1; }
.timeline-step { position: relative; z-index: 2; text-align: center; flex: 1; }
.timeline-dot { width: 38px; height: 38px; border-radius: var(--radius-full); background: #fff; border: 3px solid var(--gray-300); display: flex; align-items: center; justify-content: center; margin: 0 auto 0.75rem; font-weight: 700; font-size: 0.875rem; color: var(--gray-400); }
.timeline-step.completed .timeline-dot { background: var(--cm-blue); border-color: var(--cm-blue); color: #fff; }
.timeline-step.active .timeline-dot { background: #fff; border-color: var(--cm-blue); color: var(--cm-blue); box-shadow: 0 0 0 4px var(--cm-blue-light); }
.timeline-label { font-size: 0.8125rem; font-weight: 600; color: var(--gray-600); }
.timeline-step.active .timeline-label, .timeline-step.completed .timeline-label { color: var(--gray-900); }

/* =========================================================
   PDP
   ========================================================= */
.pdp-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; padding: 3rem 0; }
.pdp-gallery-main { width: 100%; height: 480px; background: var(--gray-50); border-radius: var(--radius-lg); border: 1px solid var(--gray-200); display: flex; align-items: center; justify-content: center; overflow: hidden; margin-bottom: 1rem; }
.pdp-gallery-main img { max-height: 420px; max-width: 90%; object-fit: contain; transition: transform var(--transition-smooth); }
.pdp-gallery-thumbs { display: flex; gap: 0.75rem; overflow-x: auto; }
.pdp-gallery-thumb { width: 80px; height: 80px; border-radius: var(--radius-md); border: 2px solid transparent; background: var(--gray-50); padding: 0.25rem; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.pdp-gallery-thumb.active { border-color: var(--cm-blue); }
.pdp-gallery-thumb img { max-height: 100%; max-width: 100%; object-fit: contain; }
.pdp-meta-top { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.75rem; flex-wrap: wrap; }
.pdp-title { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.75rem; }
.pdp-price-card { background: var(--cm-blue-subtle); border: 1px solid var(--cm-blue-light); border-radius: var(--radius-md); padding: 1.25rem; margin: 1.5rem 0; }
.pdp-qty-row { display: flex; align-items: center; gap: 1.5rem; margin: 2rem 0; }

/* =========================================================
   LIVE STATUS DOT
   ========================================================= */
.live-status-dot { width: 8px; height: 8px; background-color: #10b981; border-radius: 50%; position: relative; display: inline-block; }
.live-status-dot::after { content: ""; position: absolute; top: -2px; left: -2px; right: -2px; bottom: -2px; border-radius: 50%; background: #10b981; opacity: 0.6; animation: pulseGlow 1.8s infinite; }

/* =========================================================
   PAYMENT CHIPS
   ========================================================= */
.payment-chip-light { background: #ffffff; border: 1px solid #cbd5e1; border-radius: 8px; padding: 5px 10px; display: inline-flex; align-items: center; gap: 0.4rem; box-shadow: 0 1px 2px rgba(0,0,0,0.04); transition: all 0.2s ease; }
.payment-chip-light:hover { border-color: #38bdf8; transform: translateY(-2px); box-shadow: 0 4px 10px rgba(2,132,199,0.12); }
.chip-label-badge { font-size: 0.625rem; font-weight: 900; color: #fff; padding: 2px 6px; border-radius: 4px; }
.chip-label-badge.bg-green { background: #059669; }
.chip-label-badge.bg-blue { background: #0284c7; }
.chip-text { font-size: 0.75rem; font-weight: 700; color: #1e293b; }
.chip-bdo { font-size: 0.95rem; font-weight: 900; color: #0033a0; letter-spacing: -0.03em; }
.chip-bpi { font-size: 0.95rem; font-weight: 900; color: #b11116; letter-spacing: -0.03em; }
.chip-gcash { font-size: 0.8125rem; font-weight: 800; color: #005ce6; }
.chip-maya { font-size: 0.8125rem; font-weight: 900; color: #0d9488; }
.chip-jt { font-size: 0.8125rem; font-weight: 900; color: #e11d48; font-style: italic; }
.chip-lbc { font-size: 0.85rem; font-weight: 900; color: #dc2626; letter-spacing: 0.04em; }
.chip-grab { font-size: 0.8125rem; font-weight: 900; color: #00b14f; }
.chip-lalamove { font-size: 0.8125rem; font-weight: 900; color: #ea580c; }

/* =========================================================
   FOOTER
   ========================================================= */
.modern-unified-footer { background: #f8fafc; color: #334155; border-top: 1px solid #e2e8f0; padding-top: 4.5rem; }
.footer-main-grid { display: grid; grid-template-columns: 1.35fr 0.85fr 0.85fr 0.95fr; gap: 3rem; padding-bottom: 3.5rem; }
.footer-logo-row { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1.25rem; }
.footer-brand-logo-img { height: 48px; border-radius: 10px; background: #ffffff; padding: 4px; border: 1px solid #e2e8f0; }
.footer-brand-heading { font-size: 1.15rem; font-weight: 900; color: #0f172a; letter-spacing: -0.03em; }
.footer-brand-sub { font-size: 0.6875rem; font-weight: 800; color: #059669; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-company-desc { font-size: 0.875rem; line-height: 1.7; color: #64748b; margin-bottom: 1.5rem; }
.footer-contact-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 1.15rem; font-size: 0.8125rem; line-height: 1.8; }
.footer-contact-line { display: flex; align-items: flex-start; gap: 0.5rem; margin-bottom: 0.4rem; color: #475569; }
.footer-contact-line:last-child { margin-bottom: 0; }
.footer-contact-icon { color: #0284c7; flex-shrink: 0; margin-top: 3px; }
.footer-email-link { color: #0284c7; font-weight: 700; text-decoration: none; }
.footer-email-link:hover { text-decoration: underline; }
.footer-col-title { font-size: 0.8125rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: #0f172a; margin-bottom: 1.25rem; }
.footer-nav-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-nav-list a { color: #64748b; font-size: 0.875rem; transition: all 0.2s ease; text-decoration: none; }
.footer-nav-list a:hover { color: #0284c7; transform: translateX(3px); }
.text-danger-link { color: #dc2626 !important; font-weight: 700; }
.text-success-link { color: #059669 !important; font-weight: 700; }
.footer-external-link { color: #0284c7 !important; font-weight: 700; }
.footer-services-desc { font-size: 0.8125rem; color: #64748b; line-height: 1.6; margin-bottom: 1.25rem; }
.footer-services-pills { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.5rem; }
.service-micro-pill { background: #ffffff; border: 1px solid #e2e8f0; padding: 0.45rem 0.85rem; border-radius: 8px; font-size: 0.75rem; font-weight: 700; color: #334155; box-shadow: 0 1px 2px rgba(0,0,0,0.02); }
.footer-accreditation-row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.accreditation-badge { font-size: 0.6875rem; font-weight: 700; background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; padding: 0.35rem 0.65rem; border-radius: 6px; display: inline-flex; align-items: center; gap: 4px; }
.footer-badges-bar { border-top: 1px solid #e2e8f0; padding: 2.25rem 1.25rem; background: #ffffff; }
.footer-badges-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 2.5rem; align-items: center; }
.footer-badge-section-title { display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: #64748b; margin-bottom: 1rem; }
.footer-badge-chips-wrap { display: flex; gap: 0.65rem; flex-wrap: wrap; align-items: center; }
.footer-bottom-bar { border-top: 1px solid #e2e8f0; padding: 1.75rem 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; }
.footer-copyright-text { font-size: 0.8125rem; color: #64748b; }
.footer-legal-links { display: flex; gap: 1.5rem; font-size: 0.8125rem; }
.footer-legal-links a { color: #64748b; text-decoration: none; }
.footer-legal-links a:hover { color: #0284c7; }

/* =========================================================
   CATALOG / CART / CHECKOUT LAYOUT HELPERS
   ========================================================= */
.catalog-layout, .cart-page-layout, .checkout-layout { min-width: 0; }
.catalog-filter-panel, .cart-summary-panel, .checkout-summary-panel { min-width: 0; }
.filter-choice-row { gap: 0.75rem; border-radius: 10px; padding: 0.35rem 0.4rem; margin-left: -0.4rem; margin-right: -0.2rem; }
.filter-choice-row:hover { background: #f8fafc; }
.catalog-toolbar h1 { overflow-wrap: anywhere; }
.pdp-quick-meta, .pdp-action-row, .pdp-meta-top { flex-wrap: wrap; }
.cart-page-item { min-width: 0; }

/* =========================================================
   ███████████████████████████████████████████████████████
   MODERN PRODUCT CARD — SINGLE DEFINITIVE BLOCK
   ███████████████████████████████████████████████████████
   ========================================================= */

.modern-product-card {
  position: relative;
  width: 100%;
  background: #ffffff;
  border: 1px solid #e8ecf0;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 2px 8px rgba(15,23,42,0.06),
    0 1px 3px rgba(15,23,42,0.04);
  transition:
    transform 0.32s cubic-bezier(0.2,0.8,0.2,1),
    box-shadow 0.32s ease,
    border-color 0.32s ease;
}

.modern-product-card:hover {
  transform: translateY(-5px);
  border-color: #c8d8e8;
  box-shadow:
    0 16px 40px rgba(15,23,42,0.10),
    0 4px 12px rgba(15,23,42,0.06);
}

.modern-product-card .product-card-top {
  position: relative;
  height: 200px;
  background: #f7f9fb !important;
  border-bottom: 1px solid #edf0f3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 24px 20px 32px;
}

.modern-product-card .product-card-top::before,
.modern-product-card .product-card-top::after {
  display: none !important;
  content: none !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

.modern-product-card .platform-dot {
  display: none !important;
}

.modern-product-card .product-card-image-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.modern-product-card .product-card-image-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(15,23,42,0.14) 0%,
    rgba(15,23,42,0.06) 55%,
    transparent 80%
  );
  filter: blur(5px);
  pointer-events: none;
  z-index: 1;
}

.modern-product-card .product-card-image-link img {
  max-width: 75%;
  max-height: 145px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(15,23,42,0.11));
  position: relative;
  z-index: 2;
  transition:
    transform 0.42s cubic-bezier(0.2,0.8,0.2,1),
    filter 0.42s ease;
}

.modern-product-card:hover .product-card-image-link img {
  transform: translateY(-6px) scale(1.04);
  filter: drop-shadow(0 18px 22px rgba(15,23,42,0.15));
}

.modern-product-card .product-card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 5;
}

.modern-product-card .badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.96);
  box-shadow: 0 2px 8px rgba(15,23,42,0.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modern-product-card .badge-instock  { color: #059669; }
.modern-product-card .badge-outstock { color: #d97706; }
.modern-product-card .badge-sale     { color: #059669; background: #ecfdf5; }
.modern-product-card .badge-featured { color: #0369a1; }

.modern-product-card .stock-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.modern-product-card .product-wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(15,23,42,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  cursor: pointer;
  z-index: 6;
  box-shadow: 0 2px 8px rgba(15,23,42,0.07);
  backdrop-filter: blur(10px);
  transition: all 0.22s ease;
}

.modern-product-card .product-wishlist-btn:hover { color: #ef4444; transform: scale(1.1); }
.modern-product-card .product-wishlist-btn.active { color: #ef4444; background: #fff; }

.modern-product-card .product-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 14px 14px 0;
  background: #ffffff;
  position: relative;
  z-index: 2;
}

.modern-product-card .product-card-category-line {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  min-width: 0;
}

.modern-product-card .product-card-category-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ecfdf5;
  border: 1px solid #d1fae5;
  color: #059669;
}

.modern-product-card .product-card-category-icon svg { width: 12px; height: 12px; }

.modern-product-card .product-card-category-text {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #059669;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 1;
}

.modern-product-card .product-card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.38;
  margin-bottom: 10px;
  text-decoration: none;
  min-height: 2.76em;
  transition: color 0.2s ease;
}
.modern-product-card .product-card-title:hover { color: #059669; }

.modern-product-card .product-card-meta-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 11px;
  border-bottom: 1px solid #f0f3f6;
  flex-wrap: wrap;
}

.modern-product-card .product-card-brand-line {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 4px 8px;
  border-radius: 7px;
  background: #f8fafc;
  border: 1px solid #e8ecf0;
  color: #334155;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  margin-bottom: 0;
}

.modern-product-card .product-card-brand-line:hover { color: #059669; border-color: #d1fae5; background: #f0fdf4; }
.modern-product-card .product-card-brand-icon { display: none; }

.modern-product-card .meta-row-divider {
  width: 1px;
  height: 12px;
  background: #dde2e8;
  flex-shrink: 0;
}

.modern-product-card .product-card-sku {
  font-size: 10px;
  font-weight: 500;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  padding: 0;
  border: none;
}

.modern-product-card .product-card-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 12px -14px 0;
  padding: 12px 14px;
  background: #f4f6f8;
  border-top: 1px solid #edf0f3;
  border-radius: 0 0 19px 19px;
  flex-wrap: nowrap;
}

.modern-product-card .price-block {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
}

.modern-product-card .price-current {
  font-size: 18px;
  font-weight: 900;
  color: #059669;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.modern-product-card .price-unit {
  font-size: 10px;
  font-weight: 600;
  color: #94a3b8;
  white-space: nowrap;
}

.modern-product-card .price-original {
  font-size: 10px;
  color: #b0bac4;
  text-decoration: line-through;
  width: 100%;
}

.modern-product-card .product-cart-fab {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(145deg, #10b981, #059669);
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(5,150,105,0.30);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    filter 0.22s ease;
}

.modern-product-card .product-cart-fab svg {
  width: 19px;
  height: 19px;
  stroke: #ffffff;
}

.modern-product-card .product-cart-fab:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 22px rgba(5,150,105,0.40);
  filter: brightness(1.06);
}

.modern-product-card .product-cart-fab:active { transform: scale(0.93); }

.modern-product-card .product-card-actions { display: none; }


/* =========================================================
   RESPONSIVE (base)
   ========================================================= */

@media (max-width: 1180px) {
  .nav-wrapper { gap: 1rem; }
  .brand-main-title { font-size: 0.98rem; }
  .search-container { max-width: 420px; }
  .sub-nav-list { gap: 1.15rem; }
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .hero-image-wrap { order: -1; }
  .hero-title { font-size: 2.5rem; }
  .hero-text { margin-left: auto; margin-right: auto; }
  .hero-cta-group { justify-content: center; }
  .hero-apparatus-img { height: 320px; }
  .pdp-layout { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2,1fr); }
  .biomedical-grid, .headquarters-grid { grid-template-columns: 1fr; gap: 2rem; }
  .pillars-grid { grid-template-columns: repeat(2,1fr); }
  .footer-main-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-badges-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .nav-wrapper { height: auto; min-height: 76px; padding: 0.85rem 0; flex-wrap: wrap; }
  .brand-logo { flex: 1 1 auto; }
  .search-container { order: 3; flex: 1 0 100%; max-width: none; }
  .nav-actions { gap: 0.55rem; }
  .nav-link-desktop { display: none; }
  .catalog-layout, .cart-page-layout, .checkout-layout { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
  .catalog-filter-panel, .cart-summary-panel, .checkout-summary-panel { position: static !important; top: auto !important; }
  .filter-scroll-list { max-height: 190px !important; }
  .checkout-two-col, .checkout-three-col { grid-template-columns: 1fr !important; }
  .pdp-gallery-main { height: 380px; }
}

@media (max-width: 768px) {
  .top-notice-inner { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
  .notice-divider { display: none; }
  .hero-title { font-size: 2.25rem !important; }
  .hero-subtitle-block { font-size: 1.45rem !important; }
  .hero-metrics-grid { grid-template-columns: 1fr; gap: 1rem; }
  .pillars-grid { grid-template-columns: 1fr; }
  .categories-modern-grid { grid-template-columns: repeat(2,1fr); gap: 0.85rem; }
  .category-item-card { padding: 1.15rem 0.75rem; }
  .biomedical-card-connected, .headquarters-card-connected { padding: 1.75rem 1.25rem; border-radius: 18px; }
  .biomedical-services-subgrid { grid-template-columns: 1fr; }
  .footer-main-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom-bar { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer-legal-links { flex-wrap: wrap; gap: 1rem; }
  .headquarters-cta-row { flex-direction: column; }
  .headquarters-cta-row .btn { width: 100%; justify-content: center; }
}

@media (max-width: 760px) {
  .container { padding-left: 1rem; padding-right: 1rem; }
  .brand-logo img { height: 38px; }
  .brand-main-title { font-size: 0.86rem; line-height: 1.1; }
  .brand-sub-title { font-size: 0.62rem; }
  .signin-link span, .user-account-pill span { display: none; }
  .nav-icon-btn { width: 40px; height: 40px; }
  .sub-nav-bar .container { padding-left: 0.75rem; padding-right: 0.75rem; }
  .sub-nav-list { height: 44px; gap: 0.55rem; }
  .sub-nav-link { height: 34px; padding: 0 0.85rem; border-radius: 999px; background: #f8fafc; border: 1px solid #e2e8f0; font-size: 0.78rem; }
  .sub-nav-link.active::after { display: none; }
  .sub-nav-link.active { color: #ffffff; background: #0284c7; border-color: #0284c7; }

  .hero-section { padding: 2rem 0 2.6rem; }
  .hero-grid { gap: 1.5rem; text-align: left; }
  .hero-badge, .floating-spec-badge, .floating-stat-card { display: none !important; }
  .hero-title { font-size: 2rem !important; letter-spacing: 0 !important; }
  .hero-subtitle-block { font-size: 1.25rem !important; }
  .hero-text { font-size: 0.96rem; }
  .hero-cta-group { align-items: stretch; }
  .hero-cta-group .btn, .action-box-buttons .btn { width: 100%; }
  .hero-image-card { padding: 0.65rem; border-radius: 16px; }
  .hero-apparatus-img, .hero-image-card img { height: 230px; border-radius: 12px; }

  .ai-care-banner-section { padding: 1.5rem 0 0.5rem; }
  .ai-care-banner { grid-template-columns: 1fr; gap: 1.25rem; padding: 1.15rem; border-radius: 18px; }
  .ai-care-banner-copy h2 { font-size: 1.45rem; letter-spacing: 0; }
  .ai-care-banner-copy p { font-size: 0.9rem; }
  .ai-care-banner img { min-height: 170px; max-height: 210px; border-radius: 14px; }

  .section, .pillars-section, .categories-section, .biomedical-section, .headquarters-section { padding-top: 2.6rem; padding-bottom: 2.6rem; }
  .section-center-header, .section-between-header { margin-bottom: 1.35rem; }
  .section-between-header { align-items: flex-start; }
  .section-title { font-size: 1.45rem; letter-spacing: 0; }

  .products-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 10px !important; }

  .modern-product-card { border-radius: 16px; }

  .modern-product-card .product-card-top {
    height: 150px;
    padding: 14px 12px 22px;
  }

  .modern-product-card .product-card-image-link img {
    max-height: 108px;
  }

  .modern-product-card .product-card-body {
    padding: 10px 10px 0;
  }

  .modern-product-card .product-card-category-line { margin-bottom: 6px; }
  .modern-product-card .product-card-category-icon { width: 20px; height: 20px; min-width: 20px; border-radius: 6px; }
  .modern-product-card .product-card-category-icon svg { width: 10px; height: 10px; }
  .modern-product-card .product-card-category-text { font-size: 8px; }

  .modern-product-card .product-card-title { font-size: 12.5px; margin-bottom: 7px; min-height: 2.7em; }

  .modern-product-card .product-card-meta-row { gap: 5px; padding-bottom: 8px; }
  .modern-product-card .product-card-brand-line { padding: 3px 6px; font-size: 9px; }
  .modern-product-card .product-card-sku { font-size: 9px; }

  .modern-product-card .product-card-price-row {
    margin: 9px -10px 0;
    padding: 9px 10px;
    border-radius: 0 0 15px 15px;
  }

  .modern-product-card .price-current { font-size: 14px; }
  .modern-product-card .price-unit { font-size: 9px; }

  .modern-product-card .product-cart-fab { width: 34px; height: 34px; border-radius: 10px; }
  .modern-product-card .product-cart-fab svg { width: 16px; height: 16px; }

  .modern-product-card .product-wishlist-btn { width: 28px; height: 28px; top: 8px; right: 8px; }
  .modern-product-card .product-wishlist-btn svg { width: 14px; height: 14px; }
  .modern-product-card .product-card-badges { top: 8px; left: 8px; }
  .modern-product-card .badge { font-size: 9px; padding: 3px 7px; gap: 3px; }

  .categories-modern-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0.75rem; }
  .category-item-card { min-height: 152px; padding: 1rem 0.7rem; border-radius: 14px; }
  .category-icon-wrapper { width: 46px; height: 46px; border-radius: 13px; margin-bottom: 0.7rem; }
  .category-item-name { font-size: 0.8rem; }
  .biomedical-card-connected, .headquarters-card-connected { padding: 1.25rem !important; border-radius: 16px; }
  .biomedical-heading, .headquarters-title { font-size: 1.5rem; letter-spacing: 0; }
  .headquarters-contact-block, .biomedical-action-box, .headquarters-side-box { padding: 1rem; }

  .catalog-page, .cart-page, .checkout-page, .product-detail-page { padding-top: 1.25rem !important; padding-bottom: 3rem !important; }
  .catalog-filter-panel, .cart-main-panel, .cart-summary-panel, .checkout-panel, .checkout-summary-panel { padding: 1rem !important; border-radius: 14px !important; }
  .catalog-toolbar, .catalog-sort-control { align-items: stretch !important; width: 100%; }
  .catalog-sort-control { flex-direction: column; gap: 0.4rem !important; }
  .catalog-sort-control select { width: 100% !important; }

  .pdp-layout { gap: 1.4rem; padding: 1rem 0 2rem; }
  .pdp-gallery-main { height: 300px; border-radius: 14px; }
  .pdp-gallery-main img { max-height: 260px; }
  .pdp-title { font-size: 1.45rem; letter-spacing: 0; }
  .pdp-quick-meta { flex-direction: column; gap: 0.45rem !important; }
  .pdp-price-card { padding: 1rem; }
  .pdp-qty-row { flex-direction: column; align-items: stretch; gap: 1rem; }
  .pdp-action-row { flex-direction: column; }
  .pdp-action-row .btn { width: 100%; }
  .pdp-trust-grid { grid-template-columns: 1fr !important; gap: 0.65rem !important; }

  .cart-page-item { display: grid !important; grid-template-columns: 64px 1fr auto; gap: 0.85rem !important; align-items: start !important; }
  .cart-page-item img { width: 64px !important; height: 64px !important; }
  .cart-page-item .qty-control { grid-column: 2 / 4; width: max-content; }
  .cart-line-total { grid-column: 2 / 3; width: auto !important; text-align: left !important; font-size: 1rem !important; }

  .cart-drawer { max-width: 100%; }
  .cart-drawer-header, .cart-drawer-body, .cart-drawer-footer { padding-left: 1rem; padding-right: 1rem; }

  .trust-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-wrapper { height: 64px; }
  .footer-badges-bar { margin-left: -1rem; margin-right: -1rem; padding-left: 1rem; padding-right: 1rem; }
  .footer-badges-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 420px) {
  .products-grid { grid-template-columns: 1fr !important; }
  .categories-modern-grid { grid-template-columns: 1fr; }
  .brand-main-title { font-size: 0.78rem; }
  .brand-sub-title { display: none; }
  .hero-title { font-size: 1.7rem !important; }
  .hero-subtitle-block { font-size: 1.05rem !important; }
  .btn-lg { padding-left: 1rem; padding-right: 1rem; font-size: 0.95rem; }
  .pdp-gallery-main { height: 240px; }

  .modern-product-card .product-card-top { height: 180px; padding: 18px 14px 28px; }
  .modern-product-card .product-card-image-link img { max-height: 130px; }
  .modern-product-card .price-current { font-size: 16px; }
}

/* =========================================================
   ███████████████████████████████████████████████████████
   COMMITMENT TO EXCELLENCE — MASTERPIECE REDESIGN v2
   Premium icon treatment (glow + gradient + ring), centered footer badge
   ███████████████████████████████████████████████████████
   ========================================================= */

.excellence-section {
  background: #ffffff;
  padding: 5rem 0 4.5rem;
  border-bottom: 1px solid #edf0f3;
  position: relative;
  overflow: hidden;
}

.excellence-section::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(5,150,105,0.07) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}
.excellence-section::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -60px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(2,132,199,0.06) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.excellence-header {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
  z-index: 2;
}

.excellence-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0fdf4;
  border: 1px solid #d1fae5;
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #059669;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.excellence-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #059669;
  flex-shrink: 0;
}

.excellence-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.85rem;
}

.excellence-title span {
  background: linear-gradient(135deg, #059669 0%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.excellence-subtitle {
  font-size: 1rem;
  color: #64748b;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

.excellence-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  position: relative;
  z-index: 2;
}

.excellence-card {
  background: #ffffff;
  border: 1px solid #e8ecf0;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 2px 8px rgba(15,23,42,0.05),
    0 1px 3px rgba(15,23,42,0.04);
  transition:
    transform 0.32s cubic-bezier(0.2,0.8,0.2,1),
    box-shadow 0.32s ease,
    border-color 0.32s ease;
  text-decoration: none;
  cursor: default;
  text-align: center;
}

.excellence-card:hover {
  transform: translateY(-6px);
  border-color: #a7f3d0;
  box-shadow:
    0 18px 42px rgba(5,150,105,0.12),
    0 4px 12px rgba(15,23,42,0.05);
}

.excellence-card-top {
  position: relative;
  height: 140px;
  background: linear-gradient(180deg, #f7faf9 0%, #f7f9fb 100%);
  border-bottom: 1px solid #edf0f3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
}

.excellence-card-top::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(5,150,105,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.excellence-card-top::after {
  content: "";
  position: absolute;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 1px dashed rgba(5,150,105,0.18);
  pointer-events: none;
}

.excellence-card--blue   .excellence-card-top::before { background: radial-gradient(ellipse at center, rgba(2,132,199,0.09) 0%, transparent 70%); }
.excellence-card--blue   .excellence-card-top::after { border-color: rgba(2,132,199,0.18); }
.excellence-card--green  .excellence-card-top::before { background: radial-gradient(ellipse at center, rgba(5,150,105,0.1) 0%, transparent 70%); }
.excellence-card--amber  .excellence-card-top::before { background: radial-gradient(ellipse at center, rgba(217,119,6,0.09) 0%, transparent 70%); }
.excellence-card--amber  .excellence-card-top::after { border-color: rgba(217,119,6,0.18); }
.excellence-card--purple .excellence-card-top::before { background: radial-gradient(ellipse at center, rgba(124,58,237,0.09) 0%, transparent 70%); }
.excellence-card--purple .excellence-card-top::after { border-color: rgba(124,58,237,0.18); }

.excellence-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: transform 0.32s cubic-bezier(0.2,0.8,0.2,1), box-shadow 0.32s ease;
}

.excellence-card:hover .excellence-icon-wrap {
  transform: translateY(-4px) scale(1.06);
}

.excellence-icon-wrap svg {
  width: 30px;
  height: 30px;
  stroke-width: 2;
}

.excellence-card--blue  .excellence-icon-wrap {
  background: linear-gradient(145deg, #38bdf8, #0284c7);
  box-shadow: 0 10px 22px -4px rgba(2,132,199,0.45), inset 0 1px 0 rgba(255,255,255,0.35);
}
.excellence-card--blue  .excellence-icon-wrap svg { color: #ffffff; }

.excellence-card--green .excellence-icon-wrap {
  background: linear-gradient(145deg, #34d399, #059669);
  box-shadow: 0 10px 22px -4px rgba(5,150,105,0.45), inset 0 1px 0 rgba(255,255,255,0.35);
}
.excellence-card--green .excellence-icon-wrap svg { color: #ffffff; }

.excellence-card--amber .excellence-icon-wrap {
  background: linear-gradient(145deg, #fbbf24, #d97706);
  box-shadow: 0 10px 22px -4px rgba(217,119,6,0.45), inset 0 1px 0 rgba(255,255,255,0.35);
}
.excellence-card--amber .excellence-icon-wrap svg { color: #ffffff; }

.excellence-card--purple .excellence-icon-wrap {
  background: linear-gradient(145deg, #a78bfa, #7c3aed);
  box-shadow: 0 10px 22px -4px rgba(124,58,237,0.45), inset 0 1px 0 rgba(255,255,255,0.35);
}
.excellence-card--purple .excellence-icon-wrap svg { color: #ffffff; }

.excellence-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  padding: 20px 18px 0;
}

.excellence-card-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.excellence-card--blue   .excellence-card-label { color: #0284c7; }
.excellence-card--green  .excellence-card-label { color: #059669; }
.excellence-card--amber  .excellence-card-label { color: #d97706; }
.excellence-card--purple .excellence-card-label { color: #7c3aed; }

.excellence-card-label-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.excellence-card-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 9px;
  letter-spacing: -0.01em;
}

.excellence-card-desc {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.65;
  flex: 1;
}

.excellence-card-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 16px -18px 0;
  padding: 12px 18px;
  background: #f4f6f8;
  border-top: 1px solid #edf0f3;
  border-radius: 0 0 19px 19px;
}

.excellence-check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.excellence-card--blue   .excellence-check-icon { background: #dbeafe; color: #0284c7; }
.excellence-card--green  .excellence-check-icon { background: #d1fae5; color: #059669; }
.excellence-card--amber  .excellence-check-icon { background: #fef3c7; color: #d97706; }
.excellence-card--purple .excellence-check-icon { background: #ede9fe; color: #7c3aed; }

.excellence-check-icon svg { width: 11px; height: 11px; }

.excellence-card-footer-text {
  font-size: 10px;
  font-weight: 700;
  color: #475569;
  letter-spacing: 0.01em;
}

/* =========================================================
   ███████████████████████████████████████████████████████
   PRODUCT CATEGORIES — MASTERPIECE REDESIGN v2
   Green accent (matches modern-product-card), fixed footer alignment
   ███████████████████████████████████████████████████████
   ========================================================= */

.categories-masterpiece-section {
  background: #f8fafc;
  padding: 5rem 0 4.5rem;
  border-bottom: 1px solid #edf0f3;
  position: relative;
  overflow: hidden;
}

.categories-masterpiece-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(5,150,105,0.3), rgba(2,132,199,0.3), transparent);
}

.categories-masterpiece-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.75rem;
  gap: 1.5rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.categories-masterpiece-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #059669;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.categories-masterpiece-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #059669;
  flex-shrink: 0;
}

.categories-masterpiece-title {
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.categories-masterpiece-title span {
  background: linear-gradient(135deg, #059669 0%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.categories-browse-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  text-decoration: none;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.categories-browse-all-btn:hover {
  border-color: #059669;
  color: #059669;
  background: #f0fdf4;
  transform: translateX(2px);
}

.categories-browse-all-btn svg {
  width: 15px;
  height: 15px;
  transition: transform 0.22s ease;
}

.categories-browse-all-btn:hover svg {
  transform: translateX(3px);
}

.categories-masterpiece-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.cat-master-card {
  background: #ffffff;
  border: 1px solid #e8ecf0;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  box-shadow:
    0 2px 8px rgba(15,23,42,0.05),
    0 1px 3px rgba(15,23,42,0.04);
  transition:
    transform 0.32s cubic-bezier(0.2,0.8,0.2,1),
    box-shadow 0.32s ease,
    border-color 0.32s ease;
}

.cat-master-card:hover {
  transform: translateY(-5px);
  border-color: #a7f3d0;
  box-shadow:
    0 16px 36px rgba(5,150,105,0.14),
    0 4px 10px rgba(15,23,42,0.06);
}

.cat-master-top {
  position: relative;
  height: 110px;
  background: #f7f9fb;
  border-bottom: 1px solid #edf0f3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 16px;
}

.cat-master-top::before {
  content: "";
  position: absolute;
  inset: 0;
 background: radial-gradient(ellipse at 50% 60%, rgba(2,132,199,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.cat-master-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(145deg, #e0f2fe, #f0f9ff);
  border-color: rgba(2,132,199,0.18);
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition:
    transform 0.32s cubic-bezier(0.2,0.8,0.2,1),
    background 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.cat-master-icon svg {
  width: 26px;
  height: 26px;
  transition: color 0.28s ease;
}

.cat-master-card:hover .cat-master-icon {
  background: linear-gradient(145deg, #38bdf8, #0284c7);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(2,132,199,0.32);
}

.cat-master-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 14px 14px 0;
}

.cat-master-name {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
  transition: color 0.22s ease;
}

.cat-master-card:hover .cat-master-name {
  color: #059669;
}

/* Footer count band — always a row, vertically centered.
   The arrow ONLY changes state on card hover (never a standalone
   "active" style), which is what was causing one card's footer to
   look misaligned/inconsistent next to its siblings. */
/* =========================================================
   CATEGORY FOOTER — MASTERPIECE REDESIGN
   Pill-style count badge (proper spacing between number and
   "items") + circular arrow button, consistent on all sizes.
   ========================================================= */

.cat-master-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 10px -14px 0;
  padding: 10px 14px;
  background: #f4f6f8;
  border-top: 1px solid #edf0f3;
  border-radius: 0 0 19px 19px;
  min-height: 44px;
}

/* Count → pill badge, green accent, clear number/label gap */
.cat-master-count {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.cat-master-count strong {
color: #0f172a;
  font-weight: 900;
  font-size: 12px;
  margin-right: 1px;
}

/* Arrow → clean circular button, fills green + slides on hover */
.cat-master-arrow {
  width: clamp(20px, 5.5vw, 26px);
  height: clamp(20px, 5.5vw, 26px);
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(15,23,42,0.06);
  transition: all 0.22s ease;
}

.cat-master-arrow svg {
  width: 45%;
  height: 45%;
  transition: transform 0.22s ease;
  display: block;
}

.cat-master-card:hover .cat-master-arrow {
  background: #059669;
  border-color: #059669;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(5,150,105,0.35);
  transform: scale(1.06);
}

.cat-master-card:hover .cat-master-arrow svg {
  transform: translateX(2px);
}

/* ── Mobile: same treatment, tightened proportions ── */
@media (max-width: 760px) {
  .cat-master-footer {
    margin: 9px -11px 0;
    padding: 8px 11px;
    border-radius: 0 0 15px 15px;
    min-height: 38px;
  }

  .cat-master-count {
    font-size: 9px;
    padding: 5px 8px;
    gap: 3px;
  }

  .cat-master-count strong {
    font-size: 10px;
  }

  .cat-master-arrow {
    width: 22px;
    height: 22px;
  }

  .cat-master-arrow svg {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 420px) {
  .cat-master-count {
    font-size: 8.5px;
    padding: 4px 7px;
  }

  .cat-master-count strong {
    font-size: 9.5px;
  }

  .cat-master-arrow {
    width: 20px;
    height: 20px;
  }

  .cat-master-arrow svg {
    width: 9px;
    height: 9px;
  }
}

/* ── Responsive (masterpiece sections) ── */
@media (max-width: 1024px) {
  .excellence-grid { grid-template-columns: repeat(2, 1fr); }
  .categories-masterpiece-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
}

@media (max-width: 760px) {
  .excellence-section { padding: 3rem 0 2.8rem; }
  .excellence-header { margin-bottom: 2rem; }
  .excellence-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .excellence-card-top { height: 110px; }
  .excellence-card-top::after { width: 72px; height: 72px; }
  .excellence-icon-wrap { width: 54px; height: 54px; border-radius: 15px; }
  .excellence-icon-wrap svg { width: 23px; height: 23px; }
  .excellence-card-body { padding: 14px 12px 0; }
  .excellence-card-title { font-size: 13px; }
  .excellence-card-desc { font-size: 11.5px; }
  .excellence-card-footer { margin: 12px -12px 0; padding: 10px 12px; border-radius: 0 0 15px 15px; }
  .excellence-card-footer-text { font-size: 9.5px; }

  .categories-masterpiece-section { padding: 3rem 0 2.8rem; }
  .categories-masterpiece-header { flex-direction: column; align-items: flex-start; gap: 1rem; margin-bottom: 1.75rem; }
  .categories-masterpiece-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .cat-master-top { height: 88px; }
  .cat-master-icon { width: 50px; height: 50px; border-radius: 14px; }
  .cat-master-icon svg { width: 22px; height: 22px; }
  .cat-master-body { padding: 11px 11px 0; }
  .cat-master-name { font-size: 12px; }
  .cat-master-footer { margin: 9px -11px 0; padding: 8px 11px; border-radius: 0 0 15px 15px; min-height: 36px; }
  .cat-master-count { font-size: 10px; }
  .cat-master-arrow { width: 20px; height: 20px; }
}

@media (max-width: 420px) {
  .excellence-grid { grid-template-columns: 1fr; }
  .categories-masterpiece-grid { grid-template-columns: 1fr; }
  .cat-master-top { height: 100px; }
}