/* ============================================
   SABLE MEDICAL — REDESIGNED STYLES 2026
   Clean & Clinical | White/Blue
   Font: Plus Jakarta Sans + Lora
============================================ */

:root {
  --blue: #0066cc;
  --blue-dark: #004fa3;
  --blue-deep: #0a3147;
  --blue-light: #e8f4fd;
  --blue-mid: #c8e0f5;
  --blue-pale: #f0f7ff;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f0f4f8;
  --gray-200: #dde5ee;
  --gray-400: #94a3b8;
  --gray-600: #4a5568;
  --gray-800: #1a2a3a;
  --accent: #00b4d8;
  --green: #16a34a;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --font-serif: 'Lora', serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --shadow-blue: 0 8px 30px rgba(0,102,204,0.18);
}

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

body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  background: var(--white);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ---- TOP BAR ---- */
.topbar {
  background: var(--blue-deep);
  color: rgba(255,255,255,0.75);
  font-size: 12px;
  padding: 7px 0;
  letter-spacing: 0.01em;
}
.topbar i { opacity: 0.7; }
@media (max-width: 576px) { .topbar .d-flex { flex-direction: column; gap: 3px; text-align: center; } }

/* ---- NAVIGATION ---- */
.main-nav {
  background: var(--white);
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-200);
  z-index: 1030;
}
.navbar-brand { text-decoration: none; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.5px; }
.brand-sable { color: var(--blue); }
.brand-medical { color: var(--blue-deep); }

.navbar-nav .nav-link {
  font-weight: 500;
  font-size: 14px;
  color: var(--gray-600);
  padding: 8px 14px !important;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--blue);
  background: var(--blue-light);
}
.btn-nav {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 8px 20px !important;
}
.btn-nav:hover { background: var(--blue-dark) !important; }

/* ---- HERO ---- */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--blue-deep) 0%, #0a4f7a 50%, #0a3147 100%);
  padding: 100px 0 80px;
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1579684385127-1ef15d508118?w=1920&q=60') center/cover no-repeat;
  opacity: 0.08;
}
.hero-content { position: relative; z-index: 1; }
.min-vh-75 { min-height: 65vh; }

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 30px;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.2);
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.4rem);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 600;
}
.hero-title em { font-style: italic; color: #7dd3fc; }
.hero-sub {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-hero-primary {
  background: var(--white);
  color: var(--blue-deep);
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.2s;
  border: 2px solid transparent;
}
.btn-hero-primary:hover { background: var(--blue-light); color: var(--blue); }
.btn-hero-outline {
  background: transparent;
  color: var(--white);
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 15px;
  border: 2px solid rgba(255,255,255,0.4);
  transition: all 0.2s;
}
.btn-hero-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); color: var(--white); }

.hero-stats-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.stat-item { text-align: center; }
.stat-num { display: block; font-size: 2.4rem; font-weight: 800; color: var(--white); line-height: 1; }
.stat-label { display: block; color: rgba(255,255,255,0.65); font-size: 12px; margin-top: 4px; text-transform: uppercase; letter-spacing: 0.06em; }
.stat-divider { height: 1px; background: rgba(255,255,255,0.15); }

.hero-wave { position: absolute; bottom: 0; left: 0; right: 0; line-height: 0; }
.hero-wave svg { display: block; width: 100%; height: 60px; }

/* ---- CATEGORY STRIP ---- */
.category-strip { background: var(--white); border-bottom: 1px solid var(--gray-200); }
.cat-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--gray-600);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
}
.cat-pill i { color: var(--blue); font-size: 14px; }
.cat-pill:hover { background: var(--blue-light); border-color: var(--blue); color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* ---- SECTION HELPERS ---- */
.section-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--gray-800);
  margin-bottom: 16px;
  line-height: 1.25;
}
.section-body { color: var(--gray-600); font-size: 15px; margin-bottom: 14px; line-height: 1.7; }
.section-sub { color: var(--gray-600); max-width: 600px; margin: 0 auto; font-size: 15px; }

/* ---- ABOUT SNAPSHOT ---- */
.about-snapshot { background: var(--white); }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.value-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 22px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.value-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.value-icon-wrap {
  width: 42px; height: 42px;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  margin-bottom: 12px;
}
.value-card h5 { font-size: 14px; font-weight: 700; margin-bottom: 6px; color: var(--gray-800); }
.value-card p { font-size: 13px; color: var(--gray-600); margin: 0; line-height: 1.5; }

/* ---- PRODUCT CATEGORIES ---- */
.bg-light-blue { background: var(--blue-pale); }
.product-cat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: box-shadow 0.3s, transform 0.3s;
  height: 100%;
  display: flex; flex-direction: column;
}
.product-cat-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.pcc-img {
  height: 190px;
  background-size: cover;
  background-position: center;
}
.pcc-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.pcc-icon {
  width: 44px; height: 44px;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  margin-bottom: 14px;
}
.pcc-body h4 { font-size: 15px; font-weight: 700; color: var(--gray-800); margin-bottom: 8px; }
.pcc-body p { font-size: 13px; color: var(--gray-600); line-height: 1.6; flex: 1; }
.pcc-link {
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px;
}
.pcc-link:hover { color: var(--blue-dark); }
.pcc-link i { transition: transform 0.2s; }
.pcc-link:hover i { transform: translateX(3px); }

/* ---- HEYDENT SPOTLIGHT ---- */
.heydent-spotlight { background: var(--white); }
.heydent-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.heydent-tags span {
  background: var(--blue-light);
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}
.heydent-badge-wrap { display: flex; justify-content: flex-end; }
.heydent-logo-card {
  background: linear-gradient(135deg, var(--blue-deep) 0%, #0077c8 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: white;
  min-width: 320px;
  box-shadow: var(--shadow-blue);
}
.hd-logo { font-size: 2.6rem; font-weight: 300; letter-spacing: -1px; margin-bottom: 4px; }
.hd-logo strong { font-weight: 800; }
.hd-tagline { font-size: 13px; color: rgba(255,255,255,0.7); margin-bottom: 18px; }
.hd-flag { font-size: 13px; color: rgba(255,255,255,0.8); margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.2); }
.hd-products-mini { display: flex; flex-wrap: wrap; gap: 8px; }
.hdp {
  background: rgba(255,255,255,0.15);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  color: rgba(255,255,255,0.9);
}

/* ---- CTA STRIP ---- */
.cta-strip {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  padding: 70px 0;
  color: white;
}
.cta-strip h2 { font-family: var(--font-serif); font-size: 2rem; margin-bottom: 12px; }
.cta-strip p { opacity: 0.85; font-size: 15px; margin-bottom: 30px; }
.btn-cta-white {
  background: var(--white); color: var(--blue);
  font-weight: 700; padding: 13px 30px; border-radius: 10px;
  text-decoration: none; transition: all 0.2s;
}
.btn-cta-white:hover { background: var(--blue-light); color: var(--blue-dark); }
.btn-cta-outline {
  background: transparent; color: var(--white);
  font-weight: 600; padding: 13px 30px; border-radius: 10px;
  text-decoration: none; border: 2px solid rgba(255,255,255,0.5);
  transition: all 0.2s;
}
.btn-cta-outline:hover { background: rgba(255,255,255,0.1); border-color: white; color: white; }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--blue-deep);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}
.footer-brand { font-size: 1.5rem; font-weight: 800; margin-bottom: 12px; display: block; }
.footer-desc { font-size: 13px; line-height: 1.6; max-width: 300px; }
.footer-heading { color: white; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: white; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-contact li { font-size: 13px; display: flex; align-items: flex-start; gap: 10px; }
.footer-contact i { color: var(--accent); margin-top: 3px; min-width: 14px; }
.footer-contact a { color: rgba(255,255,255,0.65); text-decoration: none; transition: color 0.2s; }
.footer-contact a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
  padding: 20px 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}
.footer-bottom p { margin: 0; }

/* ===================================================
   CATALOG PAGE STYLES
=================================================== */

/* PAGE HEADER */
.page-header {
  background: linear-gradient(135deg, var(--blue-deep) 0%, #0a5c99 100%);
  padding: 60px 0 50px;
  color: white;
}
.page-header-title { font-family: var(--font-serif); font-size: 2.4rem; margin-bottom: 8px; }
.page-header-sub { color: rgba(255,255,255,0.75); font-size: 15px; margin: 0; }

/* CATALOG NAV */
.catalog-nav {
  background: var(--white);
  border-bottom: 2px solid var(--gray-200);
  z-index: 1025;
  top: 73px;
}
.catalog-nav-inner {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 10px 0;
  scrollbar-width: none;
}
.catalog-nav-inner::-webkit-scrollbar { display: none; }
.catalog-nav-link {
  white-space: nowrap;
  padding: 7px 16px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--gray-600);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
  display: flex; align-items: center; gap: 6px;
}
.catalog-nav-link i { color: var(--blue); font-size: 12px; }
.catalog-nav-link:hover { background: var(--blue-light); color: var(--blue); }

/* CATALOG SECTIONS */
.catalog-main { background: var(--gray-50); }
.catalog-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 28px;
  border: 1px solid var(--gray-200);
  scroll-margin-top: 130px;
}
.catalog-section-header {
  display: flex; align-items: flex-start; gap: 18px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-200);
}
.csh-icon {
  width: 54px; height: 54px; min-width: 54px;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.catalog-section-header h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 4px; color: var(--gray-800); }
.catalog-section-header p { color: var(--blue); font-size: 13px; font-weight: 600; margin: 0; }
.catalog-desc { color: var(--gray-600); font-size: 14px; line-height: 1.7; margin-bottom: 24px; }

/* PRODUCT GRID */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 8px;
}
.product-item {
  text-align: center;
  transition: transform 0.25s;
}
.product-item:hover { transform: translateY(-4px); }
.product-item img {
  width: 100%; height: 140px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--gray-200);
  margin-bottom: 8px;
  transition: box-shadow 0.25s;
}
.product-item:hover img { box-shadow: var(--shadow-blue); border-color: var(--blue-mid); }
.product-label { font-size: 12px; font-weight: 600; color: var(--blue-deep); }

/* ===================================================
   HEYDENT SECTION
=================================================== */
.heydent-section { background: var(--white); }
.heydent-section-banner {
  background: linear-gradient(135deg, var(--blue-deep) 0%, #0077c8 100%);
  border-radius: var(--radius);
  padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin-bottom: 32px;
}
.hsb-left { display: flex; align-items: center; gap: 14px; color: rgba(255,255,255,0.85); font-size: 13px; }
.hd-logo-sm { font-size: 1.4rem; font-weight: 300; color: white; letter-spacing: -0.5px; }
.hd-logo-sm strong { font-weight: 800; }
.hsb-right { color: rgba(255,255,255,0.7); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }

/* MATERIAL CATEGORIES */
.material-category {
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--gray-200);
}
.material-category:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.material-cat-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
}
.material-cat-title i { color: var(--blue); font-size: 16px; }

/* MATERIAL CARDS */
.material-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
  transition: box-shadow 0.2s;
}
.material-card:hover { box-shadow: var(--shadow-md); }
.mc-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-200);
  background: var(--white);
}
.mc-badge {
  display: inline-block;
  background: var(--blue);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.mc-badge-alt { background: var(--gray-600); }
.mc-badge-green { background: var(--green); }
.mc-header h4 { font-size: 1.1rem; font-weight: 700; color: var(--gray-800); margin-bottom: 8px; }
.mc-header p { font-size: 13.5px; color: var(--gray-600); margin: 0; line-height: 1.6; }
.mc-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
}
.mc-specs, .mc-advantages, .mc-shades {
  padding: 18px 24px;
  border-right: 1px solid var(--gray-200);
}
.mc-shades { border-right: none; }
.mc-specs:last-child, .mc-advantages:last-child { border-right: none; }
.mc-specs h6, .mc-advantages h6, .mc-shades h6 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  margin-bottom: 12px;
}
.spec-grid { display: flex; flex-direction: column; gap: 7px; }
.spec-item { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; }
.spec-item span { color: var(--gray-600); }
.spec-item strong { color: var(--blue-deep); font-weight: 700; text-align: right; }
.mc-advantages ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.mc-advantages ul li { font-size: 12.5px; color: var(--gray-600); display: flex; align-items: flex-start; gap: 7px; }
.mc-advantages ul li::before { content: '✓'; color: var(--green); font-weight: 700; font-size: 11px; margin-top: 2px; }
.shade-list { display: flex; flex-wrap: wrap; gap: 6px; }
.shade-list span {
  background: var(--blue-light);
  color: var(--blue-deep);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 6px;
}

/* MINI MATERIAL CARDS */
.material-mini-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px;
  height: 100%;
  transition: box-shadow 0.2s, transform 0.2s;
}
.material-mini-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.material-mini-card-lg { min-height: 220px; }
.mmc-badge {
  display: inline-block;
  background: var(--blue);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 9px;
  border-radius: 20px;
  margin-bottom: 9px;
}
.material-mini-card h5 { font-size: 15px; font-weight: 700; color: var(--gray-800); margin-bottom: 8px; }
.material-mini-card p { font-size: 13px; color: var(--gray-600); line-height: 1.6; margin-bottom: 12px; }
.mmc-order {
  font-size: 11px;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-light);
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
}
.spec-mini {
  font-size: 11px;
  color: var(--gray-600);
  background: var(--gray-100);
  border-radius: 6px;
  padding: 4px 10px;
  margin-bottom: 8px;
  display: inline-block;
}

/* ===================================================
   BUTTONS (Bootstrap overrides)
=================================================== */
.btn-primary {
  background: var(--blue);
  border-color: var(--blue);
  font-weight: 600;
  border-radius: 10px;
  font-size: 14px;
  padding: 10px 22px;
  transition: all 0.2s;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  box-shadow: 0 4px 12px rgba(0,102,204,0.3);
}
.btn-outline-primary {
  color: var(--blue);
  border-color: var(--blue);
  font-weight: 600;
  border-radius: 10px;
  font-size: 14px;
  padding: 10px 22px;
  transition: all 0.2s;
}
.btn-outline-primary:hover { background: var(--blue); color: white; }

/* ABOUT PAGE */
.border-start.border-primary.border-4 { border-color: var(--blue) !important; }

/* ABOUT & CONTACT (kept from original, just font overrides) */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-sans); }

/* SCROLL ANIMATIONS */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.catalog-section, .product-cat-card, .material-card, .value-card {
  animation: fadeInUp 0.4s ease both;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-section { padding: 70px 0 60px; }
  .hero-stats-card { display: none; }
  .values-grid { grid-template-columns: 1fr; }
  .mc-body { grid-template-columns: 1fr; }
  .mc-specs, .mc-advantages, .mc-shades { border-right: none; border-bottom: 1px solid var(--gray-200); }
  .mc-shades { border-bottom: none; }
  .catalog-section { padding: 22px 16px; }
  .heydent-section-banner { flex-direction: column; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
  .heydent-badge-wrap { justify-content: center; }
  .heydent-logo-card { min-width: unset; width: 100%; }
}
@media (max-width: 576px) {
  .catalog-nav-link span { display: none; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ===================================================
   HEYDENT NESTED INSIDE DENTAL SECTION
=================================================== */
.heydent-nested-section {
  margin-top: 36px;
  border-top: 2px dashed var(--blue-mid);
  padding-top: 28px;
}
.subsection-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  margin-bottom: 16px;
  margin-top: 8px;
}

/* MC HEADER with image on left, text on right */
.mc-header {
  display: flex;
  gap: 0;
  align-items: stretch;
  padding: 0;
  border-bottom: 1px solid var(--gray-200);
  background: var(--white);
}
.mc-product-img {
  width: 220px;
  min-width: 220px;
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--gray-200);
}
.mc-product-img img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
  display: block;
}
.mc-product-img .mc-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  margin: 0;
}
.mc-header-text {
  padding: 22px 24px;
  flex: 1;
}
.mc-header-text h4 { font-size: 1.1rem; font-weight: 700; color: var(--gray-800); margin-bottom: 8px; }
.mc-header-text p { font-size: 13.5px; color: var(--gray-600); margin: 0; line-height: 1.6; }

/* Mini card product image */
.mmc-img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
  border: 1px solid var(--gray-200);
  display: block;
}

@media (max-width: 576px) {
  .mc-header { flex-direction: column; }
  .mc-product-img { width: 100%; min-width: 0; border-right: none; border-bottom: 1px solid var(--gray-200); }
  .mc-product-img img { min-height: 140px; height: 140px; }
}

/* ===================================================
   DENTAL MATERIALS SECTION (formerly heydent-nested)
=================================================== */
.dental-materials-section {
  margin-top: 36px;
  border-top: 2px dashed var(--blue-mid);
  padding-top: 28px;
}

/* ===================================================
   HANDPIECE CARDS
=================================================== */
.handpiece-group-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 16px;
  padding-left: 2px;
  border-left: 3px solid var(--blue);
  padding-left: 10px;
}

.handpiece-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
  margin-bottom: 8px;
}

.handpiece-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
}
.handpiece-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.hpc-img-wrap {
  background: var(--gray-50);
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--gray-200);
  padding: 10px;
}
.hpc-img-wrap img {
  max-height: 160px;
  width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.hpc-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.hpc-order {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.hpc-body h5 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 2px;
  line-height: 1.3;
}
.hpc-subtitle {
  font-size: 11.5px;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 10px;
}
.hpc-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--blue-deep);
  margin-bottom: 12px;
}
.hpc-price span {
  font-size: 11px;
  font-weight: 500;
  color: var(--gray-400);
  margin-left: 4px;
}
.hpc-specs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: auto;
}
.hpc-specs li {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  padding: 4px 0;
  border-bottom: 1px solid var(--gray-100);
}
.hpc-specs li:last-child { border-bottom: none; }
.hpc-specs li span { color: var(--gray-600); }
.hpc-specs li strong { color: var(--gray-800); text-align: right; max-width: 55%; }

/* Category subsection titles */
.subsection-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--gray-400);
  margin-bottom: 14px;
  margin-top: 10px;
}

@media (max-width: 576px) {
  .handpiece-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hpc-img-wrap { height: 130px; }
  .hpc-body h5 { font-size: 12px; }
  .hpc-price { font-size: 1rem; }
}

/* ===================================================
   PRODUCT IMAGE BOX — universal container
   Works with real photos AND shows icon as fallback
=================================================== */
.prod-img-box {
  position: relative;
  width: 100%;
  height: 150px;
  background: linear-gradient(135deg, var(--blue-pale) 0%, var(--blue-light) 100%);
  border-radius: 10px;
  border: 1px solid var(--blue-mid);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prod-img-box img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
.prod-img-box .prod-icon {
  font-size: 2.2rem;
  color: var(--blue-mid);
  display: none; /* hidden by default; shown via onerror */
  position: relative;
  z-index: 1;
}
/* When image fails, onerror hides img and shows icon */

/* Taller variant for handpiece cards */
.prod-img-tall {
  height: 100% !important;
  min-height: 170px;
  border-radius: 0 !important;
  border: none !important;
}
.prod-img-tall img {
  border-radius: 0 !important;
  object-fit: contain;
  mix-blend-mode: multiply;
  padding: 12px;
}

/* Fill variant for material card headers */
.prod-img-fill {
  height: 100% !important;
  min-height: 160px;
  border-radius: 0 !important;
  border: none !important;
  border-right: 1px solid var(--gray-200) !important;
}
.prod-img-fill img {
  border-radius: 0 !important;
  object-fit: cover;
}

/* Enquire link inline */
.enquire-link {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
  font-size: 12px;
}
.enquire-link:hover { color: var(--blue-dark); text-decoration: underline; }

/* Handpiece enquire button */
.hpc-enquire {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
  width: 100%;
  justify-content: center;
}
.hpc-enquire:hover { background: var(--blue); color: white; }

/* Override product-item to use new box */
.product-item .prod-img-box {
  margin-bottom: 8px;
  height: 150px;
}
.product-item:hover .prod-img-box {
  border-color: var(--blue);
  box-shadow: var(--shadow-blue);
}

/* ===================================================
   PRODUCT IMAGE BOX — universal container
   Works for both product-grid and material cards
=================================================== */
.prod-img-box {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--blue-pale);
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-200);
  border-bottom: none;
}
.prod-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.product-item:hover .prod-img-box img,
.mat-card:hover .prod-img-box img {
  transform: scale(1.05);
}

/* Fallback shown when image fails */
.img-fallback {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  color: var(--blue);
  padding: 16px;
}
.img-fallback i { font-size: 2.2rem; opacity: 0.5; }
.img-fallback span { font-size: 11px; font-weight: 600; color: var(--gray-400); text-align: center; }

/* product-grid item restyle */
.product-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
  text-align: center;
}
.product-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.product-item .prod-img-box {
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--gray-200);
  aspect-ratio: 4/3;
}
.product-item .product-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--blue-deep);
  padding: 10px 8px;
  display: block;
}

/* ===================================================
   MATERIALS GRID — dental restorative cards
=================================================== */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
  margin-bottom: 8px;
}

.mat-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s;
}
.mat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.mat-img-box {
  width: 100%;
  height: 160px;
  background: var(--blue-pale);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--gray-200);
}
.mat-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.mat-card:hover .mat-img-box img { transform: scale(1.05); }
.mat-img-box .img-fallback { border-radius: 0; }

.mat-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.mat-badge {
  display: inline-block;
  background: var(--blue);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.mat-badge-alt { background: var(--gray-600); }
.mat-badge-green { background: var(--green); }

.mat-body h5 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 7px;
  line-height: 1.3;
}
.mat-body p {
  font-size: 12.5px;
  color: var(--gray-600);
  line-height: 1.55;
  margin-bottom: 10px;
  flex: 1;
}

/* Enquire button */
.btn-enquire {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  padding: 6px 14px;
  border: 1.5px solid var(--blue);
  border-radius: 8px;
  transition: all 0.2s;
  width: fit-content;
}
.btn-enquire:hover {
  background: var(--blue);
  color: white;
}
.btn-enquire i { font-size: 11px; transition: transform 0.2s; }
.btn-enquire:hover i { transform: translateX(3px); }

/* Dental materials section border */
.dental-materials-section {
  margin-top: 36px;
  border-top: 2px dashed var(--blue-mid);
  padding-top: 28px;
}

/* Handpiece image contain mode (product shots on white bg) */
.hpc-img-wrap {
  background: var(--gray-50);
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--gray-200);
  padding: 12px;
}
.hpc-img-wrap img {
  max-height: 166px;
  max-width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.3s;
}
.handpiece-card:hover .hpc-img-wrap img { transform: scale(1.06); }

@media (max-width: 576px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .materials-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .handpiece-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .mat-img-box { height: 110px; }
}
