/* ==========================================================================
   TURTLE MAARKS — MASTER ULTRA-PREMIUM & COMPACT STYLESHEET
   100% Responsive • Razor-Sharp • Complete Utility Suite
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css');

:root {
  --tm-navy: #0B1E36;
  --tm-navy-dark: #071324;
  --tm-navy-light: #162E4E;
  --tm-navy-surface: #0E2442;
  --tm-orange: #FF6B00;
  --tm-orange-hover: #E65800;
  --tm-orange-subtle: #FFF4EC;
  --tm-orange-border: #FFE4CE;
  --tm-bg: #F8FAFC;
  --tm-card-bg: #FFFFFF;
  --tm-border: #E2E8F0;
  --tm-border-hover: #CBD5E1;
  --tm-text-main: #0F172A;
  --tm-text-muted: #2a2f36;
  --tm-radius-sm: 6px;
  --tm-radius-md: 8px;
  --tm-radius-lg: 12px;
  --tm-radius-xl: 16px;
  --tm-radius-pill: 8px;
  --tm-shadow-xs: 0 1px 3px rgba(11, 30, 54, 0.05);
  --tm-shadow-sm: 0 2px 8px rgba(11, 30, 54, 0.06);
  --tm-shadow-md: 0 10px 25px -5px rgba(11, 30, 54, 0.08);
  --tm-shadow-hover: 0 20px 35px -8px rgba(11, 30, 54, 0.12);
  --tm-font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --tm-font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: var(--tm-font-sans);
  background-color: var(--tm-bg);
  color: var(--tm-text-main);
  line-height: 1.6;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--tm-font-heading);
  font-weight: 700;
  color: var(--tm-navy);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

a {
  color: var(--tm-navy);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--tm-orange);
}

/* ==========================================================================
   GLOBAL UTILITY CLASSES & MODERN BUTTONS (SLEEK 8PX RADIUS)
   ========================================================================== */
.text-navy { color: var(--tm-navy) !important; }
.bg-navy { background-color: var(--tm-navy) !important; }
.bg-navy-dark { background-color: var(--tm-navy-dark) !important; }
.bg-navy-light { background-color: var(--tm-navy-light) !important; }

.text-orange { color: var(--tm-orange) !important; }
.bg-orange { background-color: var(--tm-orange) !important; color: #FFFFFF !important; }
.border-orange { border-color: var(--tm-orange) !important; }

.bg-white-10 { background-color: rgba(255, 255, 255, 0.1) !important; }
.bg-white-20 { background-color: rgba(255, 255, 255, 0.2) !important; }
.border-white-10 { border-color: rgba(255, 255, 255, 0.1) !important; }
.border-white-20 { border-color: rgba(255, 255, 255, 0.2) !important; }

.shadow-xs { box-shadow: var(--tm-shadow-xs) !important; }
.shadow-sm { box-shadow: var(--tm-shadow-sm) !important; }
.shadow-md { box-shadow: var(--tm-shadow-md) !important; }

.cursor-pointer { cursor: pointer !important; }
.tracking-wider { letter-spacing: 0.05em !important; }
.font-heading { font-family: var(--tm-font-heading) !important; }

/* Bootstrap Button Global Overhaul */
.btn {
  border-radius: 8px !important;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

/* ==========================================================================
   BUTTONS (CLEAN, SHARP & MODERN — 8PX CORNERS)
   ========================================================================== */
.tm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.55rem 1.25rem;
  border-radius: 8px !important;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.35;
}

.tm-btn-primary {
  background: var(--tm-orange);
  color: #FFFFFF !important;
  box-shadow: 0 2px 8px rgba(255, 107, 0, 0.25);
}

.tm-btn-primary:hover {
  background: var(--tm-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(255, 107, 0, 0.35);
}

.tm-btn-navy {
  background: var(--tm-navy);
  color: #FFFFFF !important;
  box-shadow: 0 2px 8px rgba(11, 30, 54, 0.15);
}

.tm-btn-navy:hover {
  background: var(--tm-navy-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(11, 30, 54, 0.25);
}

.tm-btn-outline-navy {
  background: #FFFFFF;
  color: var(--tm-navy) !important;
  border-color: var(--tm-border);
}

.tm-btn-outline-navy:hover {
  background: var(--tm-navy);
  border-color: var(--tm-navy);
  color: #FFFFFF !important;
  transform: translateY(-2px);
}

.tm-btn-outline-orange {
  background: #FFFFFF;
  color: var(--tm-orange) !important;
  border-color: var(--tm-orange);
}

.tm-btn-outline-orange:hover {
  background: var(--tm-orange);
  color: #FFFFFF !important;
  transform: translateY(-2px);
}

/* WhatsApp Outline Button — White/Green Default, Full Green on Hover */
.tm-btn-whatsapp-outline {
  background: #FFFFFF;
  color: var(--tm-navy) !important;
  border: 1.5px solid #25D366;
  box-shadow: 0 2px 6px rgba(37, 211, 102, 0.12);
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.tm-btn-whatsapp-outline .tm-wa-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #E8FDF0;
  color: #25D366;
  font-size: 1rem;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.tm-btn-whatsapp-outline:hover {
  background: #25D366;
  border-color: #25D366;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.42);
}

.tm-btn-whatsapp-outline:hover .tm-wa-icon-box {
  background: #FFFFFF;
  color: #25D366;
  transform: scale(1.08);
}

.tm-btn-sm {
  font-size: 0.8125rem;
  padding: 0.38rem 0.85rem;
  border-radius: 6px !important;
}

.tm-btn-lg {
  font-size: 0.95rem;
  padding: 0.75rem 1.65rem;
  border-radius: 8px !important;
}

/* ==========================================================================
   BADGES & CHIPS (SLEEK 6PX RADIUS)
   ========================================================================== */
.tm-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tm-pill-orange {
  background: #FFF4EC;
  color: var(--tm-orange);
  border: 1px solid #FFE4CE;
}

.tm-pill-navy {
  background: #F1F5F9;
  color: var(--tm-navy);
  border: 1px solid var(--tm-border);
}
  border: 1px solid var(--tm-border);
}

.tm-pill-green {
  background: #ECFDF5;
  color: #059669;
  border: 1px solid #A7F3D0;
}

/* Section Header (Compact & Punchy) */
.tm-section-head {
  margin-bottom: 1.75rem;
}

.tm-section-title {
  font-size: clamp(1.65rem, 2.5vw, 2.15rem);
  font-weight: 500;
  color: var(--tm-navy);
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.tm-section-title span {
  color: var(--tm-orange);
}

.tm-section-sub {
  font-size: 0.9375rem;
  color: var(--tm-text-muted);
  margin-bottom: 0;
}

/* ==========================================================================
   TOPBAR & COMPACT MODERN NAVBAR
   ========================================================================== */
/* ==========================================================================
   TOPBAR (ULTRA-PREMIUM & CRISP HEALTHCARE LUXURY)
   ========================================================================== */
.tm-topbar {
  background: linear-gradient(90deg, #071322 0%, #0B1C33 50%, #071322 100%);
  color: #E2E8F0;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  letter-spacing: 0.01em;
  position: relative;
  z-index: 1030;
}

/* Frosted Micro-Pills for Contact Channels (Crisp 6px Modern Radius) */
.tm-topbar-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #E2E8F0 !important;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.tm-topbar-pill:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 107, 0, 0.45);
  color: #FFFFFF !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.tm-topbar-pill-phone:hover {
  border-color: rgba(255, 107, 0, 0.5);
  background: rgba(255, 107, 0, 0.12);
}

.tm-topbar-pill-icon {
  color: var(--tm-orange);
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.tm-topbar-pill:hover .tm-topbar-pill-icon {
  transform: scale(1.15);
}

.tm-topbar-pill-label {
  font-size: 0.75rem;
  color: #94A3B8;
  font-weight: 500;
}

.tm-topbar-pill-val {
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: 0.01em;
}

/* Clinic Live Hours Status Pill (Crisp 6px Modern Radius) */
.tm-topbar-timing {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #34D399;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Pulsating Live Status Indicator */
.tm-live-indicator {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 8px;
  height: 8px;
}

.tm-live-indicator::before {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
}

.tm-live-pulse {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.45);
  animation: tmLivePulse 2s infinite cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes tmLivePulse {
  0% {
    transform: scale(0.5);
    opacity: 0.85;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.tm-topbar-sep {
  display: inline-block;
  width: 1px;
  height: 15px;
  background: rgba(255, 255, 255, 0.15);
}

/* Sleek Social Buttons inside Topbar (Crisp 6px Radius) */
.tm-topbar .tm-ref-social-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  font-size: 0.82rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.tm-topbar .tm-ref-social-btn:hover {
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  opacity: 0.95;
}

.tm-header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 1020;
  border-bottom: 1px solid #EEF2F6;
  box-shadow: 0 4px 24px -2px rgba(11, 30, 54, 0.05);
  transition: all 0.3s ease;
}

/* Brand Logo (Bigger, Crisp & Professional) */
.tm-brand-logo {
  height: 62px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.navbar-brand:hover .tm-brand-logo {
  transform: scale(1.03);
}

/* Clean, Modern Navigation Links */
.tm-nav-link {
  font-family: var(--tm-font-sans);
  font-size: 0.93rem;
  font-weight: 600;
  color: #1E293B !important;
  padding: 0.55rem 0.95rem !important;
  border-radius: 8px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  letter-spacing: -0.01em;
}

.tm-nav-link:hover {
  color: var(--tm-orange) !important;
  background: rgba(255, 93, 0, 0.05);
}

.tm-nav-link.active {
  color: var(--tm-orange) !important;
  background: rgba(255, 93, 0, 0.08);
  font-weight: 700;
}

/* Elegant Underline Indicator for Active/Hover */
.tm-nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 18px;
  height: 2.5px;
  background: var(--tm-orange);
  border-radius: 2px;
  transition: transform 0.25s ease;
}

.tm-nav-link:hover::after,
.tm-nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

/* ==========================================================================
   NAVBAR DROPDOWN (CLEAN, MODERN LIGHT LUXURY STYLE)
   ========================================================================== */
.dropdown-toggle::after {
  vertical-align: middle;
  margin-left: 0.35rem;
  border-top-color: currentColor;
  transition: transform 0.2s ease;
}

.nav-item.dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}

.tm-dropdown-menu {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 0.65rem 0.45rem;
  box-shadow: 0 20px 40px -8px rgba(11, 30, 54, 0.12), 0 0 0 1px rgba(11, 30, 54, 0.04);
  min-width: 300px;
  margin-top: 0.65rem;
}

@media (min-width: 992px) {
  .nav-item.dropdown:hover > .tm-dropdown-menu {
    display: block;
    animation: tmFadeInDown 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  }
}

@keyframes tmFadeInDown {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.tm-dropdown-item {
  color: #334155 !important;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: normal;
}

.tm-dropdown-item:hover {
  background: #FFF5EE;
  color: var(--tm-orange) !important;
  padding-left: 1.15rem;
}

.tm-dropdown-item.text-orange {
  color: var(--tm-orange) !important;
  font-weight: 700;
}

/* Modern Action Icon Buttons (Wishlist, Cart, Portal) */
.tm-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #F8FAFC;
  color: #1E293B;
  border: 1px solid #E2E8F0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  position: relative;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
}

.tm-icon-btn:hover,
.tm-icon-btn.active {
  background: #0B1E36;
  color: #FFFFFF;
  border-color: #0B1E36;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -2px rgba(11, 30, 54, 0.2);
}

.tm-badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #FF5D00;
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  line-height: 16px;
  border-radius: 50%;
  text-align: center;
  border: 2px solid #FFFFFF;
  padding: 0 3px;
  box-shadow: 0 2px 8px rgba(255, 93, 0, 0.45);
}

/* ==========================================================================
   "APPOINTMENT" CTA BUTTON (HIGH-CONVERTING, PREMIUM GRADIENT)
   ========================================================================== */
.tm-btn-appointment,
.tm-btn-consultation {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.6rem 1.25rem;
  background: linear-gradient(135deg, #FF5D00 0%, #FF3D00 100%);
  color: #FFFFFF !important;
  font-family: var(--tm-font-sans);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  border-radius: 10px;
  border: none;
  box-shadow: 0 4px 14px rgba(255, 93, 0, 0.35);
  text-decoration: none !important;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

/* Hover state */
.tm-btn-appointment:hover,
.tm-btn-consultation:hover {
  background: linear-gradient(135deg, #FF3D00 0%, #E03500 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 93, 0, 0.45);
  color: #FFFFFF !important;
}

.tm-btn-appointment:active,
.tm-btn-consultation:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(255, 93, 0, 0.35);
}

/* Icon */
.tm-btn-appointment i,
.tm-btn-appointment .tm-apt-icon,
.tm-btn-consultation i,
.tm-btn-consultation .tm-btn-icon {
  font-size: 1.08rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.tm-btn-appointment:hover i,
.tm-btn-consultation:hover i {
  transform: scale(1.12);
}

/* ==========================================================================
   IMAGE HERO BANNER (PURE IMAGE DISPLAY AFTER NAVBAR)
   ========================================================================== */
.tm-hero-image-banner {
  width: 100%;
  background: #F8FAFC;
  overflow: hidden;
  position: relative;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--tm-border);
}

.tm-hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  object-fit: cover;
}

@media (max-width: 767.98px) {
  .tm-hero-banner-img {
    min-height: 160px;
    object-fit: cover;
    border-radius: 0;
  }
}

/* ==========================================================================
   TRUST METRICS STRIP (COMPACT)
   ========================================================================== */
.tm-trust-strip-compact {
  background: #FFFFFF;
  border-bottom: 1px solid var(--tm-border);
  padding: 1rem 0;
}

.tm-trust-metric {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tm-trust-metric-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #FFF4EC;
  color: var(--tm-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.tm-trust-metric h6 {
  font-size: 0.9375rem;
  font-weight: 800;
  margin-bottom: 0;
}

.tm-trust-metric span {
  font-size: 0.75rem;
  color: var(--tm-text-muted);
}

/* ==========================================================================
   CATEGORY TILES & CARDS (LUXURY FULL-IMAGE DISPLAY)
   ========================================================================== */
.tm-cat-card-lux {
  background: #FFFFFF;
  border: 1px solid var(--tm-border);
  border-radius: var(--tm-radius-xl);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(11, 30, 54, 0.04);
}

.tm-cat-card-lux:hover {
  transform: translateY(-6px);
  border-color: var(--tm-orange);
  box-shadow: 0 16px 36px rgba(255, 107, 0, 0.12), 0 4px 12px rgba(11, 30, 54, 0.08);
}

.tm-cat-badge-top {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: rgba(11, 30, 54, 0.88);
  color: #FFFFFF;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.tm-cat-media-lux {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem;
  position: relative;
  overflow: hidden;
  margin: 8px 8px 0 8px;
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  background: radial-gradient(circle at center, #FFFFFF 30%, #F1F5F9 100%);
}

.tm-cat-img-full {
  max-width: 100%;
  max-height: 135px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.08));
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.tm-cat-card-lux:hover .tm-cat-img-full {
  transform: scale(1.08);
  filter: drop-shadow(0 12px 20px rgba(255, 107, 0, 0.2));
}

.tm-cat-content-lux {
  padding: 0.9rem 1rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: #FFFFFF;
}

.tm-cat-title-lux {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--tm-navy);
  margin-bottom: 0.35rem;
  line-height: 1.25;
  transition: color 0.2s ease;
}

.tm-cat-card-lux:hover .tm-cat-title-lux {
  color: var(--tm-orange);
}

.tm-cat-desc-lux {
  font-size: 0.775rem;
  color: #64748B;
  line-height: 1.4;
  margin-bottom: 0.85rem;
  min-height: 38px;
}

.tm-cat-footer-lux {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 0.6rem;
  border-top: 1px dashed #E2E8F0;
}

.tm-cat-count-badge {
  font-size: 0.725rem;
  font-weight: 700;
  color: var(--tm-navy);
  background: #F1F5F9;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.tm-cat-card-lux:hover .tm-cat-count-badge {
  background: #FFF4EC;
  color: var(--tm-orange);
}

.tm-cat-arrow-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #F8FAFC;
  color: #64748B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.tm-cat-card-lux:hover .tm-cat-arrow-btn {
  background: var(--tm-orange);
  color: #FFFFFF;
  transform: translateX(3px);
}

/* ==========================================================================
   CATEGORY COLOR THEME HIGHLIGHTS
   ========================================================================== */
/* 1. Warm Orange Theme (RIC) */
.tm-cat-theme-orange {
  background: #FFFDFB;
  border-color: #FED7AA;
}
.tm-cat-theme-orange .tm-cat-media-lux {
  background: radial-gradient(circle at center, #FFFFFF 30%, #FFF2E8 100%);
  border-color: #FFEDD5;
  border-radius: 16px;
}
.tm-cat-theme-orange:hover {
  border-color: #F97316;
  box-shadow: 0 16px 36px rgba(249, 115, 22, 0.16);
}
.tm-cat-theme-orange .tm-cat-badge-top {
  background: #EA580C;
}

/* 2. Aqua / Cyan Sky Theme (IIC Invisible) */
.tm-cat-theme-cyan {
  background: #FBFFFF;
  border-color: #CFFAFE;
}
.tm-cat-theme-cyan .tm-cat-media-lux {
  background: radial-gradient(circle at center, #FFFFFF 30%, #E0F7FA 100%);
  border-color: #BAE6FD;
  border-radius: 16px;
}
.tm-cat-theme-cyan:hover {
  border-color: #06B6D4;
  box-shadow: 0 16px 36px rgba(6, 182, 212, 0.16);
}
.tm-cat-theme-cyan .tm-cat-badge-top {
  background: #0891B2;
}

/* 3. Royal Indigo Theme (CIC Custom) */
.tm-cat-theme-indigo {
  background: #FBFBFF;
  border-color: #E0E7FF;
}
.tm-cat-theme-indigo .tm-cat-media-lux {
  background: radial-gradient(circle at center, #FFFFFF 30%, #EEF2FF 100%);
  border-color: #C7D2FE;
  border-radius: 16px;
}
.tm-cat-theme-indigo:hover {
  border-color: #6366F1;
  box-shadow: 0 16px 36px rgba(99, 102, 241, 0.16);
}
.tm-cat-theme-indigo .tm-cat-badge-top {
  background: #4F46E5;
}

/* 4. Crimson Rose Theme (BTE Power) */
.tm-cat-theme-rose {
  background: #FFFBFB;
  border-color: #FFE4E6;
}
.tm-cat-theme-rose .tm-cat-media-lux {
  background: radial-gradient(circle at center, #FFFFFF 30%, #FFF1F2 100%);
  border-color: #FECDD3;
  border-radius: 16px;
}
.tm-cat-theme-rose:hover {
  border-color: #F43F5E;
  box-shadow: 0 16px 36px rgba(244, 63, 94, 0.16);
}
.tm-cat-theme-rose .tm-cat-badge-top {
  background: #E11D48;
}

/* 5. Mint Emerald Theme (ITC Grip) */
.tm-cat-theme-emerald {
  background: #FBFFFD;
  border-color: #D1FAE5;
}
.tm-cat-theme-emerald .tm-cat-media-lux {
  background: radial-gradient(circle at center, #FFFFFF 30%, #ECFDF5 100%);
  border-color: #A7F3D0;
  border-radius: 16px;
}
.tm-cat-theme-emerald:hover {
  border-color: #10B981;
  box-shadow: 0 16px 36px rgba(16, 185, 129, 0.16);
}
.tm-cat-theme-emerald .tm-cat-badge-top {
  background: #059669;
}

/* 6. Golden Amber Theme (Batteries & Care) */
.tm-cat-theme-amber {
  background: #FFFFFB;
  border-color: #FEF08A;
}
.tm-cat-theme-amber .tm-cat-media-lux {
  background: radial-gradient(circle at center, #FFFFFF 30%, #FEFCE8 100%);
  border-color: #FDE047;
  border-radius: 16px;
}
.tm-cat-theme-amber:hover {
  border-color: #EAB308;
  box-shadow: 0 16px 36px rgba(234, 179, 8, 0.16);
}
.tm-cat-theme-amber .tm-cat-badge-top {
  background: #CA8A04;
}

/* Backward compatibility for compact category tiles if used elsewhere */
.tm-cat-tile {
  background: #FFFFFF;
  border: 1px solid var(--tm-border);
  border-radius: var(--tm-radius-lg);
  padding: 1.25rem 0.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.tm-cat-tile:hover {
  transform: translateY(-4px);
  border-color: var(--tm-orange);
  box-shadow: var(--tm-shadow-md);
}

.tm-cat-img-box {
  width: 90px;
  height: 90px;
  border-radius: 12px;
  background: #F8FAFC;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.65rem;
  padding: 0.5rem;
  border: 1px solid #EEF2F6;
  transition: transform 0.25s ease;
}

.tm-cat-tile:hover .tm-cat-img-box {
  transform: scale(1.08);
  background: #FFF4EC;
}

.tm-cat-img-box img {
  max-height: 70px;
  object-fit: contain;
}

.tm-cat-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--tm-navy);
  margin-bottom: 0.15rem;
}

.tm-cat-tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: #64748B;
  background: #F1F5F9;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
}

/* ==========================================================================
   POPULAR HEARING AIDS SECTION & CARDS
   ========================================================================== */
.tm-popular-section-bg {
  background-color: #286699;
  position: relative;
}

.tm-popular-section-bg .tm-section-title {
  color: #FFFFFF !important;
}

.tm-popular-section-bg .tm-section-title span {
  color: #FED7AA !important;
}

.tm-popular-section-bg .tm-section-sub {
  color: rgba(255, 255, 255, 0.9) !important;
}

.tm-popular-section-bg .tm-btn-outline-navy {
  border-color: #FFFFFF !important;
  color: #FFFFFF !important;
  background: transparent;
}

.tm-popular-section-bg .tm-btn-outline-navy:hover {
  background: #FFFFFF !important;
  color: #0891B2 !important;
  border-color: #FFFFFF !important;
}

/* Second Product Section (100% Invisible & Custom Lineup) */
.tm-invisible-section-bg {
  background-color: #FFF6EE;
  border-top: 1px solid #FED7AA;
  border-bottom: 1px solid #FED7AA;
  position: relative;
}

.tm-invisible-section-bg .tm-section-title {
  color: var(--tm-navy) !important;
}

.tm-invisible-section-bg .tm-section-title span {
  color: var(--tm-orange) !important;
}

.tm-invisible-section-bg .tm-section-sub {
  color: #64748B !important;
}

/* Brand Distinct Section Backgrounds */
.tm-bg-widex {
  background-color: #F0F7FD;
  border-top: 1px solid #D0E4F7;
  border-bottom: 1px solid #D0E4F7;
  position: relative;
}

.tm-bg-starkey {
  background-color: #FEF7EE;
  border-top: 1px solid #FDE3C8;
  border-bottom: 1px solid #FDE3C8;
  position: relative;
}

.tm-bg-unitron {
  background-color: #F0FDF4;
  border-top: 1px solid #BBF7D0;
  border-bottom: 1px solid #BBF7D0;
  position: relative;
}

.tm-bg-phonak {
  background-color: #F5F3FF;
  border-top: 1px solid #DDD6FE;
  border-bottom: 1px solid #DDD6FE;
  position: relative;
}

.tm-bg-resound {
  background-color: #FFF1F2;
  border-top: 1px solid #FECDD3;
  border-bottom: 1px solid #FECDD3;
  position: relative;
}

.tm-bg-vesuvio {
  background-color: #ECFDF5;
  border-top: 1px solid #A7F3D0;
  border-bottom: 1px solid #A7F3D0;
  position: relative;
}

.tm-bg-chargers {
  background-color: #FEFCE8;
  border-top: 1px solid #FEF08A;
  border-bottom: 1px solid #FEF08A;
  position: relative;
}

/* ==========================================================================
   ULTRA-PREMIUM REUSABLE PRODUCT CARD (SINGLE CODE COMPONENT)
   ========================================================================== */
.tm-product-card {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: 0 4px 16px -2px rgba(11, 30, 54, 0.06), 0 2px 6px -1px rgba(11, 30, 54, 0.03);
}

.tm-product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 107, 0, 0.4);
  box-shadow: 0 20px 36px -6px rgba(11, 30, 54, 0.16), 0 8px 16px -2px rgba(255, 107, 0, 0.12);
}

.tm-product-media {
  background: #FFFFFF;
  padding: 0;
  margin: 0;
  position: relative;
  display: block;
  height: 245px;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  border-bottom: 1px solid #F1F5F9;
  overflow: hidden;
}

.tm-product-img-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  background: #FFFFFF;
}

.tm-product-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  margin: auto;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 6px 14px rgba(11, 30, 54, 0.08));
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.tm-product-card:hover .tm-product-img {
  transform: scale(1.06);
  filter: drop-shadow(0 14px 24px rgba(11, 30, 54, 0.15));
}

.tm-product-save-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: linear-gradient(135deg, #FF6B00 0%, #EA580C 100%);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.22rem 0.6rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(255, 107, 0, 0.35);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  z-index: 2;
}

.tm-product-actions-group {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.tm-product-action-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  color: #64748B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  box-shadow: 0 2px 8px rgba(11, 30, 54, 0.08);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  padding: 0;
}

.tm-product-action-btn:hover {
  background: #FFFFFF;
  color: var(--tm-orange);
  border-color: var(--tm-orange);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.25);
}

.tm-product-action-btn.active,
.tm-product-action-btn.active:hover {
  background: #FEF2F2;
  border-color: #FCA5A5;
  color: #EF4444;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.tm-product-body {
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tm-product-brand-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--tm-navy);
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tm-brand-name {
  color: #0284C7;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.7rem;
}

.tm-origin-text {
  color: #64748B;
  font-weight: 600;
  text-transform: none;
  font-size: 0.68rem;
}

.tm-rating-chip {
  background: #FFFBEB;
  border: 1px solid #FEF3C7;
  color: #92400E;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.tm-reviews-count {
  font-weight: 500;
}

.tm-product-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--tm-navy);
  margin-bottom: 0.5rem;
  line-height: 1.35;
  min-height: 38px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tm-product-title a {
  color: var(--tm-navy);
  text-decoration: none;
  transition: color 0.2s ease;
}

.tm-product-title a:hover {
  color: var(--tm-orange);
}

.tm-product-specs-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.75rem;
  min-height: 24px;
}

.tm-spec-chip {
  font-size: 0.66rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 5px;
  background: #F8FAFC;
  color: #475569;
  border: 1px solid #E2E8F0;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.tm-spec-chip.tm-spec-feature {
  background: #F0FDF4;
  border-color: #DCFCE7;
  color: #166534;
  font-weight: 700;
}

.tm-product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.7rem;
  border-top: 1px dashed #E2E8F0;
  margin-bottom: 0;
}

.tm-product-sale-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--tm-navy);
  font-family: var(--tm-font-heading);
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.tm-product-mrp {
  font-size: 0.75rem;
  color: #94A3B8;
  text-decoration: line-through;
  margin-top: 1px;
}

.tm-savings-pill {
  font-size: 0.66rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background: #ECFDF5;
  color: #059669;
  border: 1px solid #A7F3D0;
  white-space: nowrap;
}

.tm-savings-pill-best {
  background: #EFF6FF;
  color: #2563EB;
  border-color: #BFDBFE;
}

.tm-product-btn-cart {
  background: linear-gradient(135deg, #FF6B00 0%, #EA580C 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  padding: 0.45rem 0.85rem;
  font-size: 0.8125rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(255, 107, 0, 0.28);
  cursor: pointer;
  text-decoration: none;
  flex-shrink: 0;
}

.tm-product-btn-cart i {
  font-size: 0.85rem;
}

.tm-product-btn-cart:hover {
  background: linear-gradient(135deg, #FF7D1A 0%, #F97316 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 107, 0, 0.4);
  color: #FFFFFF !important;
}

.tm-product-btn-cart:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(255, 107, 0, 0.25);
}

.tm-product-btn-trial {
  background: #FFFFFF;
  color: var(--tm-navy) !important;
  font-weight: 700;
  border: 1.5px solid var(--tm-navy);
  border-radius: 8px;
  padding: 0.5rem 0.6rem;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  cursor: pointer;
}

.tm-product-btn-trial:hover {
  background: var(--tm-navy);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(11, 30, 54, 0.2);
}

/* ==========================================================================
   IN-PAGE ADVERTISEMENT BANNER
   ========================================================================== */
.tm-ad-banner-link {
  display: block;
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 16px rgba(11, 30, 54, 0.06);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}

.tm-ad-banner-link:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 0, 0.4);
  box-shadow: 0 16px 36px -4px rgba(11, 30, 54, 0.14), 0 6px 14px -2px rgba(255, 107, 0, 0.12);
}

.tm-ad-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ==========================================================================
   HOMEPAGE INTERACTIVE TAB SHOWCASE & BRAND ECOSYSTEM STYLES
   ========================================================================== */
.tm-filter-tabs-nav {
  display: flex;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  gap: 0.55rem;
  background: #FFFFFF;
  padding: 0.45rem 0.55rem;
  border-radius: 9px;
  border: 1.5px solid #E2E8F0;
  box-shadow: 0 4px 20px -2px rgba(11, 30, 54, 0.08), 0 2px 6px rgba(0, 0, 0, 0.02);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  width: 100%;
}k

.tm-filter-tabs-nav::-webkit-scrollbar {
  display: none;
}

.tm-filter-tab-btn {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 0.55rem 1.15rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  user-select: none;
}

.tm-filter-tab-btn i {
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.tm-filter-tab-btn:hover {
  background: #FFFFFF;
  border-color: #FF6B00;
  color: #FF6B00;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(255, 107, 0, 0.15);
}

.tm-filter-tab-btn:hover i {
  transform: scale(1.15);
}

.tm-filter-tab-btn.active {
  background: linear-gradient(135deg, #0B1E36 0%, #17365D 100%) !important;
  color: #FFFFFF !important;
  border-color: #0B1E36 !important;
  box-shadow: 0 6px 18px rgba(11, 30, 54, 0.25), 0 0 0 2px rgba(255, 107, 0, 0.3) !important;
  transform: translateY(-2px);
}

.tm-filter-tab-btn.active i {
  color: #FF6B00 !important;
  transform: scale(1.1);
}

/* Category Carousel Wrapper with Navigation Arrows */
.tm-category-carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 48px;
  width: 100%;
}

.tm-category-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  color: var(--tm-navy, #0B1E36);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 6px 18px rgba(11, 30, 54, 0.14);
  cursor: pointer;
  z-index: 20;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.tm-category-nav-btn:hover {
  background: var(--tm-orange, #FF6B00);
  border-color: var(--tm-orange, #FF6B00);
  color: #FFFFFF;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.38);
}

.tm-category-nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.tm-category-prev-btn {
  left: 0;
}

.tm-category-next-btn {
  right: 0;
}

@media (max-width: 767.98px) {
  .tm-category-carousel-wrap {
    padding: 0 38px;
  }
  .tm-category-nav-btn {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
  }
}

/* Interactive Quiz / Matcher */
.tm-quiz-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(11, 30, 54, 0.06);
}

.tm-quiz-option {
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #F8FAFC;
}

.tm-quiz-option:hover {
  border-color: var(--tm-orange);
  background: #FFFFFF;
  transform: translateX(4px);
}

.tm-quiz-option.selected {
  border-color: var(--tm-orange);
  background: #FFF7ED;
  box-shadow: 0 2px 8px rgba(255, 107, 0, 0.15);
}

/* ==========================================================================
   DOCTOR / AUDIOLOGIST TEAM CARDS (AWESOME MODERN CLINICAL DESIGN)
   ========================================================================== */
.tm-doctor-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 18px rgba(11, 30, 54, 0.05);
  position: relative;
}

.tm-doctor-card:hover {
  transform: translateY(-8px);
  border-color: var(--tm-orange);
  box-shadow: 0 20px 35px -8px rgba(11, 30, 54, 0.12), 0 0 0 1px rgba(255, 107, 0, 0.25);
}

.tm-doctor-media {
  position: relative;
  height: 270px;
  overflow: hidden;
  background: linear-gradient(180deg, #F8FAFC 0%, #E2E8F0 100%);
}

.tm-doctor-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.45s ease;
}

.tm-doctor-card:hover .tm-doctor-media img {
  transform: scale(1.06);
}

.tm-doctor-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 30, 54, 0.15) 0%, rgba(11, 30, 54, 0.05) 50%, rgba(11, 30, 54, 0.7) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.95rem;
  pointer-events: none;
}

.tm-doctor-media-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.tm-doctor-badge-rci {
  background: rgba(255, 255, 255, 0.94);
  color: #059669;
  backdrop-filter: blur(4px);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 50rem;
  border: 1px solid rgba(167, 243, 208, 0.8);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.tm-doctor-badge-exp {
  background: rgba(11, 30, 54, 0.88);
  color: #FFB37C;
  backdrop-filter: blur(4px);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 50rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.tm-doctor-media-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #FFFFFF;
}

.tm-doctor-body {
  padding: 1.4rem 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tm-doctor-name {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--tm-navy);
  margin-bottom: 0.2rem;
}

.tm-doctor-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--tm-orange);
  text-transform: uppercase;
  letter-spacing: 0.035em;
  margin-bottom: 0.75rem;
}

.tm-doctor-meta-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 0.35rem 0.65rem;
  font-size: 0.74rem;
  color: #64748B;
  margin-bottom: 0.85rem;
}

.tm-doctor-bio {
  font-size: 0.835rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.tm-doctor-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.15rem;
}

.tm-doctor-spec-chip {
  font-size: 0.72rem;
  font-weight: 600;
  background: #F1F5F9;
  color: var(--tm-navy);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  border: 1px solid #E2E8F0;
  transition: all 0.2s ease;
}

.tm-doctor-card:hover .tm-doctor-spec-chip {
  background: #FFF4EC;
  border-color: #FFE4CE;
  color: var(--tm-orange);
}

.tm-doctor-avail {
  font-size: 0.76rem;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1rem;
  padding-top: 0.65rem;
  border-top: 1px dashed #E2E8F0;
}

/* ==========================================================================
   DIAGNOSTIC SERVICES CARDS
   ========================================================================== */
.tm-diag-card {
  background: #FFFFFF;
  border: 1px solid var(--tm-border);
  border-radius: var(--tm-radius-lg);
  padding: 1.25rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.tm-diag-card:hover {
  transform: translateY(-4px);
  border-color: var(--tm-orange);
  box-shadow: var(--tm-shadow-md);
}

.tm-diag-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--tm-radius-md);
  background: #FFF4EC;
  color: var(--tm-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   PREMIUM CLINICAL DIAGNOSTIC SHOWCASE
   ========================================================================== */
.tm-diagnostic-showcase-section {
  background: #FFFFFF;
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0;
}

.tm-diag-service-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 1.25rem 1.25rem 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px -4px rgba(15, 62, 109, 0.07), 0 2px 6px -1px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.tm-diag-service-card:hover {
  transform: translateY(-10px);
  border-color: #CBD5E1;
  box-shadow: 0 24px 48px -10px rgba(15, 62, 109, 0.16), 0 6px 16px -2px rgba(15, 62, 109, 0.06);
}

.tm-diag-service-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: #F8FAFC;
  border: 1px solid #EDF2F7;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.02);
}

.tm-diag-service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.tm-diag-service-card:hover .tm-diag-service-img {
  transform: scale(1.06);
}

.tm-diag-service-title {
  color: #0F3E6D;
  font-weight: 500;
  font-size: 1.5rem;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  transition: color 0.25s ease;
}

.tm-diag-service-card:hover .tm-diag-service-title {
  color: var(--tm-orange);
}

.tm-diag-service-desc {
  color: #4A5568;
  font-size: 0.925rem;
  line-height: 1.6;
  margin-bottom: 1.35rem;
  flex-grow: 1;
  padding: 0 0.25rem;
}

.tm-diag-service-link {
  color: #0F3E6D;
  font-weight: 700;
  font-size: 0.925rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 24px;
  border-radius: 50px;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: auto;
  width: 100%;
  max-width: 190px;
}

.tm-diag-service-card:hover .tm-diag-service-link,
.tm-diag-service-link:hover {
  background: #0F3E6D;
  color: #FFFFFF !important;
  border-color: #0F3E6D;
  box-shadow: 0 6px 18px rgba(15, 62, 109, 0.22);
  transform: translateY(-2px);
}

.tm-diag-service-link i {
  font-size: 0.75rem;
  font-weight: 800;
  transition: transform 0.25s ease;
}

.tm-diag-service-card:hover .tm-diag-service-link i {
  transform: translateX(4px);
}

/* ==========================================================================
   BRAND LOGOS BAR
   ========================================================================== */
.tm-brand-strip {
  background: #FFFFFF;
  border-top: 1px solid var(--tm-border);
  border-bottom: 1px solid var(--tm-border);
  padding: 0.85rem 0;
}

.tm-brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 0.5rem;
}

.tm-brand-item img {
  max-height: 28px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: all 0.2s ease;
}

.tm-brand-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* ==========================================================================
   TOAST NOTIFICATION CONTAINER
   ========================================================================== */
.tm-toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1090;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.tm-toast {
  background: #FFFFFF;
  color: var(--tm-navy);
  border: 1px solid var(--tm-border);
  border-radius: var(--tm-radius-lg);
  padding: 0.85rem 1.15rem;
  box-shadow: var(--tm-shadow-hover);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 300px;
  max-width: 400px;
  pointer-events: auto;
  animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ==========================================================================
   SEARCH MODAL
   ========================================================================== */
.tm-search-modal .modal-content {
  border-radius: var(--tm-radius-xl);
  border: 1px solid var(--tm-border);
  box-shadow: 0 25px 60px rgba(0,0,0,0.3);
  overflow: hidden;
}

.tm-search-input-wrap {
  position: relative;
  border-bottom: 1px solid var(--tm-border);
  background: #FFFFFF;
}

.tm-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: var(--tm-text-muted);
}

.tm-search-input {
  width: 100%;
  padding: 1.15rem 1rem 1.15rem 3.25rem;
  font-size: 1.05rem;
  font-weight: 600;
  border: none;
  outline: none;
  background: transparent;
  color: var(--tm-navy);
}

/* ==========================================================================
   COMPARE STICKY DOCK
   ========================================================================== */
.tm-compare-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(11, 30, 54, 0.96);
  backdrop-filter: blur(16px);
  color: #FFFFFF;
  padding: 0.75rem 1.5rem;
  z-index: 1005;
  box-shadow: 0 -8px 25px rgba(0,0,0,0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* ==========================================================================
   FLOATING ACTION BUTTONS (LEFT: WHATSAPP, RIGHT: CALL DOCTOR)
   ========================================================================== */
.tm-floating-left-wrap {
  position: fixed;
  bottom: 22px;
  left: 22px;
  z-index: 1040;
}

.tm-floating-right-wrap {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 1040;
}

.tm-floating-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 6px 16px 6px 7px;
  border-radius: 50px;
  color: #FFFFFF !important;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, filter 0.2s ease;
  user-select: none;
}

.tm-floating-btn:hover {
  transform: translateY(-3px) scale(1.02);
  filter: brightness(1.05);
}

.tm-floating-btn:active {
  transform: translateY(0) scale(0.98);
}

/* WhatsApp Button */
.tm-floating-btn-wa {
  background: linear-gradient(135deg, #25D366 0%, #17A94E 100%);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.42), 0 2px 6px rgba(0, 0, 0, 0.08);
}

.tm-floating-btn-wa:hover {
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55), 0 4px 10px rgba(0, 0, 0, 0.12);
}

/* Call Doctor Button */
.tm-floating-btn-call {
  background: #F03900;
  box-shadow: 0 8px 24px rgba(240, 57, 0, 0.42), 0 2px 6px rgba(0, 0, 0, 0.08);
}

.tm-floating-btn-call:hover {
  background: #DE3400;
  box-shadow: 0 12px 28px rgba(240, 57, 0, 0.55), 0 4px 10px rgba(0, 0, 0, 0.12);
}

/* Icon Container */
.tm-floating-icon-wrap {
  position: relative;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.35);
}

/* Text Container */
.tm-floating-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.tm-floating-sub {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 700;
  opacity: 0.9;
  line-height: 1;
  margin-bottom: 2px;
}

.tm-floating-title {
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

/* Pulse animation dot on WhatsApp button */
.tm-floating-pulse {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #BBF7D0;
  border: 1.5px solid #25D366;
  box-shadow: 0 0 0 0 rgba(187, 247, 208, 0.8);
  animation: tmFloatPulse 1.8s infinite;
}

@keyframes tmFloatPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(187, 247, 208, 0.8);
  }
  70% {
    transform: scale(1.15);
    box-shadow: 0 0 0 7px rgba(187, 247, 208, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(187, 247, 208, 0);
  }
}

/* ==========================================================================
   SHOPPING CART & CART DRAWER (PREMIUM DESIGN SYSTEM)
   ========================================================================== */
.tm-cart-free-shipping-box {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
}

.tm-cart-free-shipping-bar {
  height: 6px;
  background: #E2E8F0;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 0.4rem;
}

.tm-cart-free-shipping-progress {
  height: 100%;
  background: #10B981;
  border-radius: 4px;
  transition: width 0.3s ease;
}

.tm-cart-item {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 0.85rem;
  margin-bottom: 0.75rem;
  display: flex;
  gap: 0.85rem;
  align-items: center;
  transition: all 0.2s ease;
}

.tm-cart-item:hover {
  border-color: #CBD5E1;
  box-shadow: 0 2px 8px rgba(11, 30, 54, 0.05);
}

.tm-cart-item-img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  background: radial-gradient(circle at center, #FFFFFF 30%, #F1F5F9 100%);
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 0.35rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(11, 30, 54, 0.05);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.06));
}

.tm-qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  background: #FFFFFF;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.tm-qty-btn {
  width: 26px;
  height: 26px;
  background: #F8FAFC;
  border: none;
  color: var(--tm-navy);
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.tm-qty-btn:hover {
  background: var(--tm-orange);
  color: #FFFFFF;
}

.tm-qty-input {
  width: 32px;
  height: 26px;
  border: none;
  border-left: 1px solid #E2E8F0;
  border-right: 1px solid #E2E8F0;
  background: #FFFFFF;
  text-align: center;
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--tm-navy);
  outline: none;
}

.tm-cart-summary-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 1.35rem;
  box-shadow: 0 2px 10px rgba(11, 30, 54, 0.04);
}

.tm-cart-step-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.tm-cart-step-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: #94A3B8;
}

.tm-cart-step-item.active {
  color: var(--tm-orange);
}

.tm-cart-step-num {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: #E2E8F0;
  color: #64748B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.tm-cart-step-item.active .tm-cart-step-num {
  background: var(--tm-orange);
  color: #FFFFFF;
}

.tm-promo-tag-pill {
  background: #FFF4EC;
  border: 1px dashed var(--tm-orange);
  color: var(--tm-orange);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tm-promo-tag-pill:hover {
  background: var(--tm-orange);
  color: #FFFFFF;
}

.tm-cart-table {
  width: 100%;
}

.tm-cart-table th {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #64748B;
  padding: 0.75rem 1rem;
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
}

.tm-cart-table td {
  padding: 1rem;
  border-bottom: 1px solid #F1F5F9;
  vertical-align: middle;
}

/* ==========================================================================
   FOOTER (ENHANCED MODERN 5-COLUMN DESIGN + CRISP DARK BOTTOM BAR)
   ========================================================================== */
.tm-footer {
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  font-family: var(--tm-font-sans);
  color: #334155;
  position: relative;
}

.tm-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #FF4D30 0%, #FF7A59 40%, #0B2545 100%);
  z-index: 2;
}

/* 1. Main Footer Section */
.tm-footer-ref-main {
  background: #FFFFFF;
  padding: 2.25rem 0 1.25rem 0;
}

.tm-ref-row {
  align-items: stretch;
}

.tm-ref-col {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

/* Vertical dividing borders on desktop */
@media (min-width: 992px) {
  .tm-ref-col {
    border-right: 1px solid #F1F5F9;
    padding-left: 1.75rem;
    padding-right: 1.75rem;
  }
  .tm-ref-col-brand {
    padding-left: 0;
    padding-right: 2rem;
  }
  .tm-ref-col-contact {
    border-right: none;
    padding-right: 0;
    padding-left: 2rem;
  }
}

/* Column 1: Brand & Social */
.tm-ref-logo {
  height: 56px;
  max-height: 60px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 0.65rem;
  transition: transform 0.25s ease;
}

.tm-ref-logo:hover {
  transform: scale(1.03);
}

.tm-ref-brand-desc {
  color: #475569;
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
  max-width: 320px;
}

.tm-ref-red-line {
  width: 40px;
  height: 2.5px;
  background: linear-gradient(90deg, #FF4D30, #FF7A59);
  margin-bottom: 0.75rem;
  border-radius: 2px;
}

.tm-ref-follow-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: #8A99A8;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.tm-ref-social-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tm-ref-social-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF !important;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease, opacity 0.2s ease;
}

.tm-ref-social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0.95;
}

.tm-ref-soc-fb {
  background: #1877F2;
}

.tm-ref-soc-ig {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.tm-ref-soc-li {
  background: #0A66C2;
}

.tm-ref-soc-wa {
  background: #25D366;
}

.tm-ref-soc-yt {
  background: #FF0000;
}

.tm-ref-trust-tag .badge {
  font-size: 0.725rem;
  color: #0B2545;
  background-color: #F8FAFC !important;
  border-color: #E2E8F0 !important;
  letter-spacing: 0.01em;
}

/* Headings & Red Underline Bar */
.tm-ref-heading-wrap {
  margin-bottom: 0.75rem;
}

.tm-ref-heading {
  color: #0B2545;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}

.tm-ref-heading-line {
  width: 28px;
  height: 2.5px;
  background: linear-gradient(90deg, #FF4D30, #FF7A59);
  border-radius: 2px;
  margin-top: 4px;
}

/* Chevron Link List (Columns 2, 3, 4) */
.tm-ref-chevron-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tm-ref-chevron-list li {
  margin-bottom: 0.45rem;
}

.tm-ref-chevron-list a {
  color: #475569;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.18s ease, transform 0.18s ease;
}

.tm-ref-chevron-list a:hover {
  color: #FF4D30;
  transform: translateX(4px);
}

.tm-ref-chevron {
  color: #FF4D30;
  font-weight: 700;
  font-size: 0.78rem;
  line-height: 1;
  display: inline-block;
  transition: transform 0.18s ease;
}

.tm-ref-chevron-list a:hover .tm-ref-chevron {
  transform: translateX(2px);
}

/* Column 5: Contact Cards */
.tm-ref-contact-blocks {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.tm-ref-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.25rem 0.35rem;
  border-radius: 10px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.tm-ref-contact-item:hover {
  background-color: #F8FAFC;
  transform: translateX(2px);
}

.tm-ref-contact-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  background: #FFF0ED;
  border: 1px solid #FFE2DC;
  color: #FF4D30;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  box-shadow: 0 2px 8px rgba(255, 77, 48, 0.08);
  transition: all 0.2s ease;
}

.tm-ref-contact-item:hover .tm-ref-contact-icon {
  background: #FF4D30;
  border-color: #FF4D30;
  color: #FFFFFF;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(255, 77, 48, 0.25);
}

.tm-ref-contact-title {
  font-size: 0.825rem;
  font-weight: 700;
  color: #0B2545;
  margin-bottom: 0.1rem;
}

.tm-ref-contact-detail {
  font-size: 0.78rem;
  color: #64748B;
  line-height: 1.4;
}

.tm-ref-contact-link {
  font-size: 0.825rem;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  transition: color 0.15s ease;
  display: inline-block;
}

.tm-ref-contact-link:hover {
  color: #FF4D30;
}

.tm-ref-contact-sub {
  font-size: 0.72rem;
  color: #64748B;
  margin-top: 0.1rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* 2. Solid Black Bottom Bar */
.tm-ref-bottom-bar {
  background: #091322;
  padding: 0.75rem 0;
  color: #94A3B8;
  font-size: 0.82rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.tm-ref-bottom-copy {
  color: #94A3B8;
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: -0.01em;
}

.tm-ref-bottom-copy strong {
  color: #FFFFFF;
  font-weight: 700;
}

.tm-ref-bottom-links {
  font-size: 0.82rem;
  gap: 0.35rem 0.75rem;
}

.tm-ref-bottom-links a {
  color: #94A3B8;
  font-weight: 500;
  font-size: 0.825rem;
  text-decoration: none;
  transition: color 0.15s ease;
}

.tm-ref-bottom-links a:hover {
  color: #FF4D30;
}

.tm-ref-pipe {
  color: rgba(255, 255, 255, 0.18);
  margin: 0 0.35rem;
  font-weight: 400;
}

/* ==========================================================================
   SERVICES & TIME SLOTS STYLING
   ========================================================================== */
.tm-service-card-premium {
  background: #FFFFFF;
  border: 1px solid var(--tm-border);
  border-radius: var(--tm-radius-xl);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tm-service-card-premium:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(11, 30, 54, 0.08);
  border-color: rgba(255, 107, 0, 0.3);
}

.tm-service-card-img-wrap {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: #F1F5F9;
}

.tm-service-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.tm-service-card-premium:hover .tm-service-card-img-wrap img {
  transform: scale(1.05);
}

.tm-service-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(11, 30, 54, 0.85);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.tm-service-card-price-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: var(--tm-orange);
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(255, 107, 0, 0.35);
}

.tm-service-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tm-slot-picker-wrap {
  background: #F8FAFC;
  border: 1px solid var(--tm-border);
  border-radius: var(--tm-radius-lg);
  padding: 1rem;
  margin-top: auto;
}

.tm-slot-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--tm-navy);
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tm-slot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
}

.tm-slot-btn {
  background: #FFFFFF;
  border: 1px solid var(--tm-border);
  border-radius: 6px;
  padding: 0.35rem 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--tm-navy);
  transition: all 0.2s ease;
  text-align: center;
}

.tm-slot-btn:hover {
  border-color: var(--tm-orange);
  color: var(--tm-orange);
}

.tm-slot-btn.active,
.tm-slot-btn:focus {
  background: var(--tm-navy);
  border-color: var(--tm-navy);
  color: #FFFFFF;
}

.tm-service-hero {
  background: linear-gradient(135deg, #0B1E36 0%, #152E4D 100%);
  color: #FFFFFF;
  padding: 4rem 0 3.5rem 0;
  position: relative;
  overflow: hidden;
}

.tm-service-process-step {
  position: relative;
  padding-left: 54px;
  margin-bottom: 2rem;
}

.tm-service-process-step::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 36px;
  bottom: -24px;
  width: 2px;
  background: #E2E8F0;
}

.tm-service-process-step:last-child::before {
  display: none;
}

.tm-service-step-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #FFF4EC;
  color: var(--tm-orange);
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--tm-orange);
}

.tm-booking-sidebar-card {
  background: #FFFFFF;
  border: 1px solid var(--tm-border);
  border-radius: var(--tm-radius-xl);
  padding: 1.75rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 100px;
}

/* ==========================================================================
   HOMEPAGE 4-STEP APPOINTMENT BOOKING SECTION (PREMIUM INTERACTIVE WIZARD)
   ========================================================================== */
.tm-home-booking-section {
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 50%, #F1F5F9 100%);
  position: relative;
}

.tm-booking-card-main {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  box-shadow: 0 12px 36px -4px rgba(11, 30, 54, 0.08), 0 4px 12px -2px rgba(11, 30, 54, 0.03);
  overflow: hidden;
}

.tm-booking-stepper-bar {
  background: var(--tm-navy);
  padding: 1.25rem 1.5rem;
  color: #FFFFFF;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
}

.tm-booking-step-tab {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  padding: 0.4rem 0.8rem;
  border-radius: 10px;
  transition: all 0.25s ease;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}

.tm-booking-step-tab:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
}

.tm-booking-step-tab.active {
  background: var(--tm-orange);
  color: #FFFFFF;
  border-color: var(--tm-orange);
  box-shadow: 0 4px 14px rgba(255, 107, 0, 0.4);
}

.tm-booking-step-tab.completed {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.5);
  color: #6EE7B7;
}

.tm-step-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.tm-booking-step-tab.active .tm-step-badge {
  background: #FFFFFF;
  color: var(--tm-orange);
}

.tm-booking-step-tab.completed .tm-step-badge {
  background: #10B981;
  color: #FFFFFF;
}

.tm-booking-option-card {
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 1rem;
  background: #FFFFFF;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.tm-booking-option-card:hover {
  border-color: var(--tm-orange);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 107, 0, 0.12);
}

.tm-booking-option-card.selected {
  border-color: var(--tm-orange);
  background: #FFF7ED;
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.18);
  transform: translateY(-3px);
}

.tm-booking-option-check {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: transparent;
  transition: all 0.2s ease;
}

.tm-booking-option-card.selected .tm-booking-option-check {
  background: var(--tm-orange);
  border-color: var(--tm-orange);
  color: #FFFFFF;
}

.tm-booking-opt-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #FFF4EC;
  color: var(--tm-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  transition: all 0.2s ease;
}

.tm-booking-option-card.selected .tm-booking-opt-icon {
  background: var(--tm-orange);
  color: #FFFFFF;
}

/* Date Selector Cards */
.tm-date-pill-card {
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 0.75rem 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #F8FAFC;
  min-width: 75px;
}

.tm-date-pill-card:hover {
  border-color: var(--tm-orange);
  background: #FFFFFF;
}

.tm-date-pill-card.selected {
  border-color: var(--tm-orange);
  background: #FF6B00;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}

.tm-date-pill-card.selected span {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Time Slot Chips */
.tm-time-slot-btn {
  border: 1.5px solid #E2E8F0;
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--tm-navy);
  background: #FFFFFF;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.tm-time-slot-btn:hover {
  border-color: var(--tm-orange);
  color: var(--tm-orange);
}

.tm-time-slot-btn.selected {
  background: var(--tm-navy);
  border-color: var(--tm-navy);
  color: #FFFFFF;
  box-shadow: 0 4px 10px rgba(11, 30, 54, 0.2);
}

/* Live Booking Summary Sidebar Box */
.tm-booking-summary-pane {
  background: #F8FAFC;
  border-left: 1px solid #E2E8F0;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tm-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px dashed #E2E8F0;
  font-size: 0.85rem;
}

.tm-summary-row:last-child {
  border-bottom: none;
}

/* ==========================================================================
   PREMIER CINEMATIC YOUTUBE VIDEO CARD (CLEAN, LUXURY & AESTHETIC)
   ========================================================================== */
.tm-luxury-reels-stage {
  background: radial-gradient(120% 120% at 50% 10%, #FFFFFF 0%, #F8FAFC 55%, #EDF2F7 100%);
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0;
}

.tm-luxury-reels-stage::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(11, 30, 54, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.tm-luxury-reels-stage::after {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.08) 0%, rgba(13, 148, 136, 0.03) 45%, transparent 70%);
  pointer-events: none;
}

/* Premier Cinematic Card */
.tm-cinematic-card {
  background: #FFFFFF;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 10px 25px -5px rgba(11, 30, 54, 0.12), 0 4px 10px -2px rgba(11, 30, 54, 0.06);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
  position: relative;
}

.tm-cinematic-card:hover {
  transform: translateY(-8px);
  border-color: #FDBA74;
  box-shadow: 0 22px 45px -8px rgba(11, 30, 54, 0.18), 0 10px 20px -4px rgba(255, 107, 0, 0.22);
}

/* Media Area (16:9 Aspect Ratio) */
.tm-cinematic-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0B1E36;
  overflow: hidden;
}

.tm-cinematic-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.tm-cinematic-card:hover .tm-cinematic-thumb {
  transform: scale(1.06);
}

.tm-cinematic-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(11, 30, 54, 0.35) 0%, rgba(11, 30, 54, 0.05) 40%, rgba(11, 30, 54, 0.75) 100%);
  transition: opacity 0.3s ease;
  pointer-events: none;
}

/* Floating Badges */
.tm-cinematic-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.tm-badge-yt {
  background: rgba(220, 38, 38, 0.92);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.tm-badge-duration {
  background: rgba(11, 30, 54, 0.75);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.22rem 0.55rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Sleek Compact Center Play Button */
.tm-cinematic-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #DC2626;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  padding-left: 2px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.tm-cinematic-card:hover .tm-cinematic-play {
  background: #DC2626;
  color: #FFFFFF;
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow: 0 0 20px rgba(220, 38, 38, 0.7);
}

/* Card Body Typography */
.tm-cinematic-body {
  padding: 1.25rem 1.25rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tm-cinematic-topic {
  color: var(--tm-orange);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.tm-cinematic-title {
  color: var(--tm-navy);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 0.4rem;
  letter-spacing: -0.2px;
  transition: color 0.2s ease;
}

.tm-cinematic-card:hover .tm-cinematic-title {
  color: var(--tm-orange);
}

.tm-cinematic-speaker {
  color: var(--tm-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 0.85rem;
  flex-grow: 1;
}

/* Bottom Meta Bar */
.tm-cinematic-footer {
  padding-top: 0.75rem;
  border-top: 1px solid #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
}

.tm-cinematic-loc {
  color: var(--tm-secondary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.tm-cinematic-action {
  color: var(--tm-orange);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: transform 0.2s ease;
}

.tm-cinematic-card:hover .tm-cinematic-action {
  transform: translateX(3px);
}

/* ==========================================================================
   EXPLORE BY AUTHORIZED BRANDS SHOWCASE (IMAGE-ONLY LUXURY TILES)
   ========================================================================= */
.tm-brand-carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 50px;
  width: 100%;
}

.tm-brand-tabs-strip {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  padding: 0.5rem 0.25rem 1.25rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  width: 100%;
}

.tm-brand-tabs-strip::-webkit-scrollbar {
  display: none;
}

.tm-brand-nav-btn {
  position: absolute;
  top: calc(50% - 0.6rem);
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  color: var(--tm-navy, #0B1E36);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 6px 18px rgba(11, 30, 54, 0.14), 0 2px 6px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  z-index: 30;
  opacity: 1;
  pointer-events: auto;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.tm-brand-nav-btn:hover {
  background: var(--tm-orange, #FF6B00);
  border-color: var(--tm-orange, #FF6B00);
  color: #FFFFFF;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.4);
}

.tm-brand-nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.tm-brand-prev-btn {
  left: 0;
}

.tm-brand-next-btn {
  right: 0;
}

@media (max-width: 991.98px) {
  .tm-brand-carousel-wrap {
    padding: 0 42px;
  }
  .tm-brand-nav-btn {
    width: 38px;
    height: 38px;
    font-size: 1.05rem;
  }
  .tm-brand-prev-btn {
    left: 0;
  }
  .tm-brand-next-btn {
    right: 0;
  }
}

.tm-brand-tab-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  height: 68px;
  min-width: 145px;
  padding: 0.85rem 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px -3px rgba(11, 30, 54, 0.08), 0 2px 6px rgba(0, 0, 0, 0.02);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  user-select: none;
}

.tm-brand-tab-card img {
  height: 32px;
  width: auto;
  max-width: 115px;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tm-brand-tab-card:hover {
  border-color: #FDBA74;
  transform: translateY(-4px);
  box-shadow: 0 14px 28px -4px rgba(255, 107, 0, 0.18);
}

.tm-brand-tab-card:hover img {
  transform: scale(1.05);
}

.tm-brand-tab-card.active {
  background: #FFFDF9;
  border-color: var(--tm-orange);
  box-shadow: 0 14px 30px -4px rgba(255, 107, 0, 0.25), 0 0 0 1.5px var(--tm-orange);
  transform: translateY(-3px);
}

.tm-brand-tab-card.active img {
  transform: scale(1.08);
}

.tm-brand-tab-card.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3.5px;
  background: var(--tm-orange);
  border-radius: 3px 3px 0 0;
}

/* Clean Active Brand Info Strip */
.tm-brand-hero-pill {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: 0 4px 14px -3px rgba(11, 30, 54, 0.04);
}

@media (min-width: 768px) {
  .tm-brand-hero-pill {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ==========================================================================
   BLOGS & ARTICLES SECTION & CARDS
   Clean, modern, interactive & responsive
   ========================================================================== */
.tm-blog-card {
  position: relative;
  background: var(--tm-card-bg);
  border: 1px solid var(--tm-border);
  border-radius: var(--tm-radius-lg);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tm-blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px -6px rgba(11, 30, 54, 0.12) !important;
  border-color: rgba(255, 107, 0, 0.35);
}

.tm-blog-img-wrap {
  position: relative;
  overflow: hidden;
  height: 195px;
  background-color: #0E2442;
}

.tm-blog-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.tm-blog-card:hover .tm-blog-img-wrap img {
  transform: scale(1.06);
}

.tm-blog-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.tm-blog-badge-orange {
  background: var(--tm-orange);
  color: #FFFFFF;
}

.tm-blog-badge-navy {
  background: var(--tm-navy);
  color: #FFFFFF;
}

.tm-blog-badge-teal {
  background: #0284C7;
  color: #FFFFFF;
}

.tm-blog-badge-green {
  background: #059669;
  color: #FFFFFF;
}

.tm-blog-read-time {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 2;
  background: rgba(11, 30, 54, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
}

.tm-blog-body {
  padding: 1.25rem 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tm-blog-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: var(--tm-text-muted);
  margin-bottom: 0.65rem;
}

.tm-blog-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.tm-blog-title {
  font-size: 1.025rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--tm-navy);
  margin-bottom: 0.55rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.tm-blog-card:hover .tm-blog-title {
  color: var(--tm-orange);
}

.tm-blog-desc {
  font-size: 0.85rem;
  color: var(--tm-text-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.tm-blog-footer {
  padding: 0.85rem 1.25rem;
  background: #FAFCFE;
  border-top: 1px solid var(--tm-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tm-blog-link {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--tm-navy);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s ease, gap 0.2s ease;
}

.tm-blog-card:hover .tm-blog-link {
  color: var(--tm-orange);
  gap: 0.65rem;
}

.tm-blog-author-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--tm-orange-subtle);
  color: var(--tm-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid var(--tm-orange-border);
}

/* ==========================================================================
   BLOG CATALOG & ULTRA-CLEAN MODERN FILTER SECTION
   ========================================================================== */
.tm-blog-filter-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  box-shadow: 0 14px 34px -6px rgba(11, 30, 54, 0.08), 0 2px 6px rgba(11, 30, 54, 0.03);
  padding: 1.35rem 1.5rem;
  position: relative;
  z-index: 15;
  margin-top: -36px;
  margin-bottom: 2rem;
  transition: box-shadow 0.2s ease;
}

@media (max-width: 767.98px) {
  .tm-blog-filter-card {
    margin-top: -24px;
    padding: 1.15rem;
  }
}

.tm-filter-scroll {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.tm-filter-scroll::-webkit-scrollbar {
  display: none;
}

.tm-filter-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.95rem;
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid #E2E8F0;
  background: #F8FAFC;
  color: var(--tm-navy);
  transition: all 0.22s ease;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.tm-filter-pill-btn i {
  font-size: 0.875rem;
  opacity: 0.8;
  transition: transform 0.2s ease;
}

.tm-filter-pill-btn:hover {
  background: var(--tm-orange-subtle);
  border-color: var(--tm-orange-border);
  color: var(--tm-orange);
  transform: translateY(-1px);
}

.tm-filter-pill-btn:hover i {
  transform: scale(1.15);
}

.tm-filter-pill-btn.active {
  background: var(--tm-navy);
  border-color: var(--tm-navy);
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(11, 30, 54, 0.18);
}

.tm-filter-pill-btn.active i {
  color: var(--tm-orange);
  opacity: 1;
}

.tm-filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.1rem 0.45rem;
  border-radius: 12px;
  background: rgba(11, 30, 54, 0.08);
  color: var(--tm-navy);
  line-height: 1.2;
}

.tm-filter-pill-btn.active .tm-filter-count {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.tm-filter-pill-btn:hover:not(.active) .tm-filter-count {
  background: rgba(255, 107, 0, 0.12);
  color: var(--tm-orange);
}

/* Modern Blog Search Input */
.tm-blog-search-wrap {
  position: relative;
}

.tm-blog-search-input {
  border-radius: 50px !important;
  padding-left: 2.45rem !important;
  padding-right: 2.25rem !important;
  font-size: 0.845rem;
  height: 40px;
  border-color: #E2E8F0;
  background: #F8FAFC;
  transition: all 0.2s ease;
}

.tm-blog-search-input:focus {
  background: #FFFFFF;
  border-color: var(--tm-orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.16) !important;
}

.tm-blog-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94A3B8;
  font-size: 0.875rem;
  pointer-events: none;
}

.tm-blog-search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94A3B8;
  background: transparent;
  border: none;
  padding: 0;
  font-size: 0.85rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
}

.tm-blog-search-clear:hover {
  color: var(--tm-orange);
}

/* Active Filter Chips Bar */
.tm-active-chips-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.85rem;
  margin-top: 0.85rem;
  border-top: 1px dashed #E2E8F0;
}

.tm-active-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  background: #FFF4EC;
  border: 1px solid #FFE4CE;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--tm-orange);
}

.tm-active-chip a {
  color: var(--tm-orange);
  opacity: 0.8;
  line-height: 1;
}

.tm-active-chip a:hover {
  opacity: 1;
}

/* Custom Pagination */
.tm-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  margin-bottom: 0;
  list-style: none;
  padding: 0;
}

.tm-pagination .page-item .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0.35rem 0.85rem;
  border-radius: 8px;
  border: 1px solid var(--tm-border);
  background: #FFFFFF;
  color: var(--tm-navy);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.tm-pagination .page-item .page-link:hover {
  background: var(--tm-orange-subtle);
  border-color: var(--tm-orange-border);
  color: var(--tm-orange);
  transform: translateY(-1px);
}

.tm-pagination .page-item.active .page-link {
  background: var(--tm-navy) !important;
  border-color: var(--tm-navy) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(11, 30, 54, 0.15);
}

.tm-pagination .page-item.disabled .page-link {
  background: #F8FAFC;
  border-color: #E2E8F0;
  color: #94A3B8;
  cursor: not-allowed;
  transform: none;
  opacity: 0.7;
}

/* ==========================================================================
   BLOG DETAILS & CATEGORY SIDEBAR STYLING
   ========================================================================== */
.tm-blog-detail-article {
  background: #FFFFFF;
  border: 1px solid var(--tm-border);
  border-radius: var(--tm-radius-xl);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(11, 30, 54, 0.04);
}

.tm-blog-detail-hero-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.tm-blog-content {
  color: #334155;
  font-size: 1rem;
  line-height: 1.8;
}

.tm-blog-content h2,
.tm-blog-content h3,
.tm-blog-content h4 {
  color: var(--tm-navy);
  font-weight: 700;
  margin-top: 1.75rem;
  margin-bottom: 0.85rem;
}

.tm-blog-content p {
  margin-bottom: 1.25rem;
}

.tm-blog-content ul,
.tm-blog-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.35rem;
}

.tm-blog-content li {
  margin-bottom: 0.5rem;
}

.tm-blog-takeaways-card {
  background: #FFFDF9;
  border: 1px solid #FFE4CE !important;
  border-left: 4px solid var(--tm-orange) !important;
}

.tm-blog-author-card {
  background: #F8FAFC;
  border: 1px solid var(--tm-border);
  border-radius: var(--tm-radius-lg);
  padding: 1.25rem;
}

.tm-blog-tag-pill {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  background: #F1F5F9;
  color: var(--tm-navy);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-right: 0.35rem;
  margin-bottom: 0.35rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.tm-blog-tag-pill:hover {
  background: var(--tm-orange-subtle);
  color: var(--tm-orange);
}

/* Sidebar Widgets */
.tm-blog-sidebar {
  position: sticky;
  top: 90px;
}

.tm-sidebar-widget {
  background: #FFFFFF;
  border: 1px solid var(--tm-border);
  border-radius: var(--tm-radius-lg);
  padding: 1.35rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 18px rgba(11, 30, 54, 0.04);
}

.tm-sidebar-widget-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--tm-navy);
  margin-bottom: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid #F1F5F9;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.tm-sidebar-widget-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--tm-orange);
}

/* Sidebar Categories List */
.tm-sidebar-cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.tm-sidebar-cat-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.85rem;
  border-radius: 8px;
  border: 1px solid transparent;
  color: var(--tm-navy);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.2s ease;
  background: #F8FAFC;
  text-decoration: none;
}

.tm-sidebar-cat-item a:hover {
  background: var(--tm-orange-subtle);
  border-color: var(--tm-orange-border);
  color: var(--tm-orange);
  transform: translateX(3px);
}

.tm-sidebar-cat-item.active a {
  background: var(--tm-navy);
  color: #FFFFFF !important;
  border-color: var(--tm-navy);
  box-shadow: 0 4px 12px rgba(11, 30, 54, 0.15);
}

.tm-sidebar-cat-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 22px;
  padding: 0 0.45rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(11, 30, 54, 0.08);
  color: var(--tm-navy);
}

.tm-sidebar-cat-item.active .tm-sidebar-cat-count {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.tm-sidebar-cat-item a:hover:not(.active) .tm-sidebar-cat-count {
  background: rgba(255, 107, 0, 0.15);
  color: var(--tm-orange);
}

/* Sidebar Recent Posts */
.tm-sidebar-recent-item {
  display: flex;
  gap: 0.85rem;
  padding-bottom: 0.85rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid #F1F5F9;
  text-decoration: none;
}

.tm-sidebar-recent-item:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.tm-sidebar-recent-thumb {
  width: 68px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.tm-sidebar-recent-title {
  font-size: 0.825rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--tm-navy);
  margin-bottom: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.18s ease;
}

.tm-sidebar-recent-item:hover .tm-sidebar-recent-title {
  color: var(--tm-orange);
}

.tm-sidebar-recent-date {
  font-size: 0.72rem;
  color: var(--tm-text-muted);
}

/* ==========================================================================
   AWESOME VISIT OUR CLINIC CARD (SIDEBAR)
   ========================================================================== */
.tm-clinic-card-awesome {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px -4px rgba(11, 30, 54, 0.08), 0 2px 6px rgba(11, 30, 54, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  margin-bottom: 1.5rem;
}

.tm-clinic-card-awesome:hover {
  box-shadow: 0 16px 36px -4px rgba(11, 30, 54, 0.12);
}

.tm-clinic-card-banner {
  position: relative;
  height: 125px;
  overflow: hidden;
  background: var(--tm-navy);
}

.tm-clinic-card-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
  transition: transform 0.4s ease;
}

.tm-clinic-card-awesome:hover .tm-clinic-card-banner img {
  transform: scale(1.06);
}

.tm-clinic-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 30, 54, 0.2) 0%, rgba(11, 30, 54, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0.85rem 1rem;
}

.tm-clinic-card-body {
  padding: 1.25rem 1.25rem 1.15rem;
}

.tm-clinic-info-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.95rem;
}

.tm-clinic-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #FFF4EC;
  border: 1px solid #FFE4CE;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--tm-orange);
  font-size: 1rem;
  flex-shrink: 0;
}

.tm-clinic-icon-box.time-box {
  background: #F0F9FF;
  border-color: #BAE6FD;
  color: #0284C7;
}

.tm-clinic-feature-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #475569;
}

/* ==========================================================================
   ENHANCED FREQUENTLY ASKED QUESTIONS (FAQ) SECTION
   ========================================================================== */
.tm-faq-item {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px !important;
  margin-bottom: 0.85rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(11, 30, 54, 0.03);
  transition: all 0.25s ease;
}

.tm-faq-item:hover {
  border-color: rgba(255, 107, 0, 0.35);
  box-shadow: 0 8px 20px -4px rgba(11, 30, 54, 0.07);
  transform: translateY(-2px);
}

.tm-faq-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100%;
  padding: 1.15rem 1.25rem !important;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--tm-navy) !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  text-align: left;
  transition: color 0.2s ease;
}

.tm-faq-btn::after {
  display: none !important;
}

.tm-faq-btn:hover {
  color: var(--tm-orange) !important;
}

.tm-faq-btn:not(.collapsed) {
  color: var(--tm-orange) !important;
}

.tm-faq-num {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #FFF4EC;
  color: var(--tm-orange);
  font-size: 0.75rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.85rem;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.tm-faq-btn:not(.collapsed) .tm-faq-num {
  background: var(--tm-orange);
  color: #FFFFFF;
}

.tm-faq-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F1F5F9;
  color: var(--tm-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
}

.tm-faq-btn:not(.collapsed) .tm-faq-icon-circle {
  background: var(--tm-orange);
  color: #FFFFFF;
  transform: rotate(180deg);
}

.tm-faq-body {
  padding: 0 1.25rem 1.25rem 3.45rem;
  color: #475569;
  font-size: 0.885rem;
  line-height: 1.65;
}

@media (max-width: 575.98px) {
  .tm-faq-body {
    padding-left: 1.25rem;
  }
}

.tm-faq-support-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 8px 24px -4px rgba(11, 30, 54, 0.06);
  position: sticky;
  top: 90px;
}

/* ==========================================================================
   ABOUT US PAGE — CLEAN & MODERN DESIGN
   ========================================================================== */
.tm-about-hero {
  background: linear-gradient(180deg, #0B1E36 0%, #0E2746 100%);
  color: #FFFFFF;
  position: relative;
  padding: 3.5rem 0;
}

/* ==========================================================================
   PAGE HERO HEADER & UNIFIED BREADCRUMB PILL SYSTEM
   ========================================================================== */
.tm-page-hero,
.tm-about-hero,
.tm-service-hero {
  background: linear-gradient(180deg, #071324 0%, #0B1E36 100%);
  color: #FFFFFF;
  position: relative;
  padding: 2.25rem 0 1.85rem 0;
}

/* Modern Frosted Breadcrumb Pill */
.tm-breadcrumb-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.28rem 1rem;
  border-radius: 50rem;
  font-size: 0.78rem;
  margin-bottom: 0.65rem;
  list-style: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.tm-breadcrumb-pill:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.tm-breadcrumb-pill a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.18s ease;
}

.tm-breadcrumb-pill a:hover {
  color: #FFFFFF;
}

.tm-breadcrumb-sep {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.62rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tm-breadcrumb-current {
  color: #FFFFFF;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  letter-spacing: -0.005em;
}

/* Light Background Variant (for light bars/cards) */
.tm-breadcrumb-pill-light {
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.tm-breadcrumb-pill-light:hover {
  background: #E2E8F0;
  border-color: #CBD5E1;
}

.tm-breadcrumb-pill-light a {
  color: #64748B;
}

.tm-breadcrumb-pill-light a:hover {
  color: #0F172A;
}

.tm-breadcrumb-pill-light .tm-breadcrumb-sep {
  color: #94A3B8;
}

.tm-breadcrumb-pill-light .tm-breadcrumb-current {
  color: #0B2545;
  font-weight: 700;
}


.tm-senior-clean-card {
  background: #FFFFFF;
  border: 2px solid #E2E8F0;
  border-radius: 20px;
  padding: 2.25rem 2rem;
  box-shadow: 0 10px 30px -5px rgba(11, 30, 54, 0.06);
  position: relative;
  transition: all 0.3s ease;
}

.tm-senior-clean-card:hover {
  border-color: #059669;
  box-shadow: 0 16px 36px -6px rgba(5, 150, 105, 0.12);
}

.tm-clean-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.75rem 0;
}

.tm-clean-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #ECFDF5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Individual Clinical Milestone Cards with Soft Themed Backgrounds */
.tm-milestone-card {
  border-radius: 20px;
  padding: 2rem 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.tm-milestone-card:hover {
  transform: translateY(-5px);
}

/* Card 1: Warm Soft Amber / Diagnostics */
.tm-milestone-card-amber {
  background: #FFFDF8;
  border: 1px solid #FED7AA;
}
.tm-milestone-card-amber:hover {
  border-color: #F97316;
  box-shadow: 0 16px 32px -8px rgba(234, 88, 12, 0.14);
}
.tm-milestone-card-amber .tm-milestone-icon-wrap {
  background: #FFEDD5;
  color: #EA580C;
  border: 1px solid rgba(234, 88, 12, 0.2);
}
.tm-milestone-card-amber:hover .tm-milestone-icon-wrap {
  background: #EA580C;
  color: #FFFFFF;
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 8px 18px rgba(234, 88, 12, 0.25);
}
.tm-milestone-card-amber .tm-milestone-tag {
  background: #FFFFFF;
  border: 1px solid #FDBA74;
  color: #C2410C;
}

/* Card 2: Sky Blue / Speech Restorations */
.tm-milestone-card-sky {
  background: #F7FAFE;
  border: 1px solid #BAE6FD;
}
.tm-milestone-card-sky:hover {
  border-color: #0284C7;
  box-shadow: 0 16px 32px -8px rgba(2, 132, 199, 0.14);
}
.tm-milestone-card-sky .tm-milestone-icon-wrap {
  background: #E0F2FE;
  color: #0284C7;
  border: 1px solid rgba(2, 132, 199, 0.2);
}
.tm-milestone-card-sky:hover .tm-milestone-icon-wrap {
  background: #0284C7;
  color: #FFFFFF;
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 8px 18px rgba(2, 132, 199, 0.25);
}
.tm-milestone-card-sky .tm-milestone-tag {
  background: #FFFFFF;
  border: 1px solid #7DD3FC;
  color: #0369A1;
}

/* Card 3: Mint Emerald / RCI Certified Doctors */
.tm-milestone-card-emerald {
  background: #F7FCF9;
  border: 1px solid #BBF7D0;
}
.tm-milestone-card-emerald:hover {
  border-color: #16A34A;
  box-shadow: 0 16px 32px -8px rgba(22, 163, 74, 0.14);
}
.tm-milestone-card-emerald .tm-milestone-icon-wrap {
  background: #DCFCE7;
  color: #16A34A;
  border: 1px solid rgba(22, 163, 74, 0.2);
}
.tm-milestone-card-emerald:hover .tm-milestone-icon-wrap {
  background: #16A34A;
  color: #FFFFFF;
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 8px 18px rgba(22, 163, 74, 0.25);
}
.tm-milestone-card-emerald .tm-milestone-tag {
  background: #FFFFFF;
  border: 1px solid #86EFAC;
  color: #15803D;
}

/* Card 4: Soft Rose / Senior Home Visits */
.tm-milestone-card-rose {
  background: #FFF8F9;
  border: 1px solid #FECDD3;
}
.tm-milestone-card-rose:hover {
  border-color: #E11D48;
  box-shadow: 0 16px 32px -8px rgba(225, 29, 72, 0.14);
}
.tm-milestone-card-rose .tm-milestone-icon-wrap {
  background: #FFE4E6;
  color: #E11D48;
  border: 1px solid rgba(225, 29, 72, 0.2);
}
.tm-milestone-card-rose:hover .tm-milestone-icon-wrap {
  background: #E11D48;
  color: #FFFFFF;
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 8px 18px rgba(225, 29, 72, 0.25);
}
.tm-milestone-card-rose .tm-milestone-tag {
  background: #FFFFFF;
  border: 1px solid #FDA4AF;
  color: #BE123C;
}

.tm-milestone-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 0.85rem;
  transition: all 0.3s ease;
}

.tm-milestone-val {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--tm-navy);
  line-height: 1.15;
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}

.tm-milestone-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--tm-navy);
  margin-bottom: 0.45rem;
}

.tm-milestone-tag {
  display: inline-block;
  font-size: 0.725rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 50rem;
  transition: all 0.25s ease;
}

.tm-pillar-clean-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  height: 100%;
  transition: all 0.3s ease;
}

.tm-pillar-clean-card:hover {
  transform: translateY(-4px);
  border-color: var(--tm-orange);
  box-shadow: 0 12px 28px -6px rgba(11, 30, 54, 0.08);
}


.tm-pillar-card:hover {
  transform: translateY(-5px);
  border-color: var(--tm-orange);
  box-shadow: 0 16px 30px -8px rgba(11, 30, 54, 0.08);
}

.tm-pillar-num {
  font-size: 2rem;
  font-weight: 900;
  color: #CBD5E1;
  line-height: 1;
  transition: color 0.3s ease;
}

.tm-pillar-card:hover .tm-pillar-num {
  color: var(--tm-orange);
}

/* Flagship Center Showcase Section */
.tm-flagship-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 24px;
  box-shadow: 0 16px 40px -10px rgba(11, 30, 54, 0.08);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.tm-flagship-card:hover {
  box-shadow: 0 22px 50px -10px rgba(11, 30, 54, 0.12);
}

.tm-flagship-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: #FFF7ED;
  color: var(--tm-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  border: 1px solid rgba(255, 107, 0, 0.2);
  flex-shrink: 0;
}

.tm-address-highlight-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-left: 4px solid var(--tm-orange);
  border-radius: 14px;
  padding: 1.15rem 1.25rem;
  transition: all 0.2s ease;
}

.tm-address-highlight-box:hover {
  background: #FFFFFF;
  border-color: #CBD5E1;
  border-left-color: var(--tm-orange);
  box-shadow: 0 4px 16px rgba(11, 30, 54, 0.04);
}

.tm-amenity-grid-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
  font-size: 0.815rem;
  color: var(--tm-navy);
  font-weight: 600;
  transition: all 0.2s ease;
}

.tm-amenity-grid-item:hover {
  background: #FFFFFF;
  border-color: rgba(255, 107, 0, 0.4);
  transform: translateY(-2px);
}

.tm-amenity-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #FFF7ED;
  color: var(--tm-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.tm-flagship-map-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 16px rgba(11, 30, 54, 0.06);
}

/* ==========================================================================
   PRODUCT DETAIL PAGE REDESIGN ENHANCEMENTS
   ========================================================================== */
.tm-pd-gallery-card {
  background: radial-gradient(circle at 50% 35%, #FFFFFF 0%, #F8FAFC 100%);
  border: 1px solid #E2E8F0;
  box-shadow: 0 10px 30px rgba(11, 30, 54, 0.04);
}

.tm-pd-main-img-wrap {
  min-height: 330px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.tm-pd-main-img {
  max-height: 320px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 15px 25px rgba(11, 30, 54, 0.12));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tm-pd-main-img:hover {
  transform: scale(1.04);
}

.tm-pd-thumb {
  width: 64px;
  height: 64px;
  object-fit: contain;
  cursor: pointer;
  border-radius: 10px;
  border: 1.5px solid #E2E8F0;
  background: #FFFFFF;
  padding: 4px;
  transition: all 0.2s ease;
}

.tm-pd-thumb:hover,
.tm-pd-thumb.active {
  border-color: var(--tm-orange) !important;
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.2);
  transform: translateY(-2px);
}

.tm-pd-trust-card {
  border-radius: 12px;
  padding: 0.85rem 1rem;
  background: #FFFFFF;
  border: 1px solid #E9ECEF;
  box-shadow: 0 2px 8px rgba(11, 30, 54, 0.03);
  transition: all 0.2s ease;
}

.tm-pd-trust-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 107, 0, 0.3);
  box-shadow: 0 6px 16px rgba(11, 30, 54, 0.06);
}

.tm-pd-trust-card .trust-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

/* Feature highlight pill grid in buying box */
.tm-pd-spec-grid-item {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.2s ease;
}

.tm-pd-spec-grid-item:hover {
  background: #FFFFFF;
  border-color: var(--tm-orange);
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.08);
}

.tm-pd-spec-grid-item .spec-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 107, 0, 0.1);
  color: var(--tm-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.tm-pd-tabs {
  border-bottom: 2px solid #E2E8F0;
  gap: 0.5rem;
  overflow-x: auto;
  flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.tm-pd-tabs::-webkit-scrollbar {
  display: none;
}

.tm-pd-tabs .nav-item {
  flex-shrink: 0;
}

.tm-pd-tabs .nav-link {
  border: none;
  border-bottom: 3px solid transparent;
  color: #64748B;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.25rem;
  border-radius: 0;
  transition: all 0.2s ease;
  background: transparent;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.tm-pd-tabs .nav-link:hover {
  color: var(--tm-navy);
  border-color: rgba(255, 107, 0, 0.3);
}

.tm-pd-tabs .nav-link.active {
  color: var(--tm-navy) !important;
  background: transparent !important;
  border-bottom-color: var(--tm-orange) !important;
}

/* Box Item Card */
.tm-pd-box-item {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  height: 100%;
  transition: all 0.2s ease;
}

.tm-pd-box-item:hover {
  border-color: rgba(11, 30, 54, 0.25);
  box-shadow: 0 4px 14px rgba(11, 30, 54, 0.06);
  transform: translateY(-2px);
}

.tm-pd-box-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #F1F5F9;
  color: var(--tm-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* Clinical fitting step badge */
.tm-pd-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--tm-navy);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Interactive Star Rating in Patient Review Form */
.tm-star-rating-box {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1.85rem;
  color: #CBD5E1;
  cursor: pointer;
  user-select: none;
}

.tm-star-rating-box .star-item {
  transition: transform 0.15s ease, color 0.15s ease;
  line-height: 1;
}

.tm-star-rating-box .star-item:hover,
.tm-star-rating-box .star-item.selected,
.tm-star-rating-box .star-item.hovered {
  color: #F59E0B;
  transform: scale(1.18);
}

.tm-quick-tag-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  font-size: 0.8rem;
  color: #334155;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tm-quick-tag-chip:hover {
  background: #FFF7ED;
  border-color: var(--tm-orange);
  color: var(--tm-orange);
  transform: translateY(-1px);
}

/* Why Order from Turtle Maarks Card */
.tm-why-order-box {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(11, 30, 54, 0.04);
  overflow: hidden;
  transition: all 0.2s ease;
}

.tm-why-order-box:hover {
  border-color: rgba(255, 107, 53, 0.35);
  box-shadow: 0 4px 14px rgba(11, 30, 54, 0.07);
}

.tm-why-feature-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px dashed #EAEFF5;
}

.tm-why-feature-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.tm-why-feature-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #FFF7ED;
  color: var(--tm-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.tm-why-feature-icon.icon-navy {
  background: #F1F5F9;
  color: var(--tm-navy);
}

.tm-why-feature-icon.icon-green {
  background: #ECFDF5;
  color: #10B981;
}

.tm-why-feature-icon.icon-blue {
  background: #EFF6FF;
  color: #2563EB;
}

/* =========================================================================
   PRODUCT DETAIL — IMAGE STAGE & INTERACTIVE ZOOM
   ========================================================================= */
.tm-pd-image-stage {
  position: relative;
  width: 100%;
  height: 420px;
  background: radial-gradient(circle at center, #FFFFFF 45%, #F8FAFC 100%);
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: crosshair;
  user-select: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tm-pd-image-stage:hover {
  border-color: rgba(255, 107, 53, 0.4);
  box-shadow: 0 8px 24px rgba(11, 30, 54, 0.06);
}

.tm-pd-main-img {
  max-height: 360px;
  max-width: 88%;
  object-fit: contain;
  transform-origin: center center;
  transition: transform 0.1s ease-out;
  pointer-events: none; /* Allows stage to capture mouse events accurately */
}

/* Floating Zoom Hint Pill */
.tm-zoom-badge {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(11, 30, 54, 0.75);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 30px;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.tm-pd-image-stage:hover .tm-zoom-badge {
  opacity: 0;
  transform: translateX(-50%) translateY(10px);
}

/* Fullscreen Trigger Button */
.tm-fullscreen-trigger-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 2px 8px rgba(11, 30, 54, 0.1);
  color: var(--tm-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  z-index: 6;
  transition: all 0.2s ease;
}

.tm-fullscreen-trigger-btn:hover {
  background: var(--tm-orange);
  color: #FFFFFF;
  border-color: var(--tm-orange);
  transform: scale(1.08);
}

/* Enhanced Thumbnail Grid */
.tm-pd-thumbs-wrap {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tm-pd-thumb-btn {
  width: 76px;
  height: 76px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  padding: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  outline: none;
}

.tm-pd-thumb-btn img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.tm-pd-thumb-btn:hover {
  border-color: rgba(255, 107, 53, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(11, 30, 54, 0.08);
}

.tm-pd-thumb-btn:hover img {
  transform: scale(1.06);
}

.tm-pd-thumb-btn.active {
  border-color: var(--tm-orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.22);
  background: #FFFBF9;
}

/* =========================================================================
   GALLERY PAGE STYLES
   ========================================================================= */
.tm-gallery-filter-pill {
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  color: var(--tm-navy);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 1.15rem;
  border-radius: 30px;
  transition: all 0.2s ease;
  cursor: pointer;
  outline: none;
}

.tm-gallery-filter-pill:hover {
  border-color: var(--tm-orange);
  color: var(--tm-orange);
  background: #FFF7ED;
}

.tm-gallery-filter-pill.active {
  background: var(--tm-navy);
  color: #FFFFFF !important;
  border-color: var(--tm-navy);
  box-shadow: 0 2px 8px rgba(11, 30, 54, 0.2);
}

.tm-gallery-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 14px rgba(11, 30, 54, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.tm-gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(11, 30, 54, 0.1);
  border-color: rgba(255, 107, 53, 0.35);
}

.tm-gallery-img-wrap {
  position: relative;
  overflow: hidden;
  height: 240px;
  background: #F1F5F9;
}

.tm-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.tm-gallery-card:hover .tm-gallery-img {
  transform: scale(1.06);
}

.tm-gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(11, 30, 54, 0.15) 0%, rgba(11, 30, 54, 0.7) 100%);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s ease;
}

.tm-gallery-card:hover .tm-gallery-overlay {
  opacity: 1;
}

.tm-gallery-zoom-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--tm-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: scale(0.85);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.tm-gallery-card:hover .tm-gallery-zoom-btn {
  transform: scale(1);
}

.tm-gallery-card:hover .tm-gallery-zoom-btn:hover {
  background: var(--tm-orange);
  color: #FFFFFF;
}

.tm-gallery-badge-top {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

/* =========================================================================
   CONTACT PAGE STYLES
   ========================================================================= */
.tm-contact-info-card {
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  padding: 1.5rem;
  transition: all 0.25s ease;
  height: 100%;
  box-shadow: 0 2px 8px rgba(11, 30, 54, 0.03);
}

.tm-contact-info-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 107, 53, 0.4);
  box-shadow: 0 8px 22px rgba(11, 30, 54, 0.08);
}

.tm-contact-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

/* 1. Address Card: Warm Amber/Orange Light Background */
.tm-contact-card-orange {
  background: linear-gradient(165deg, #FFF9F5 0%, #FFF0E6 100%);
  border: 1px solid rgba(255, 107, 53, 0.22);
}
.tm-contact-card-orange:hover {
  border-color: #FF6B35;
  box-shadow: 0 10px 24px rgba(255, 107, 53, 0.14);
}
.tm-contact-card-orange .tm-contact-icon-circle {
  background: #FFFFFF;
  color: #FF6B35;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.18);
  border: 1px solid rgba(255, 107, 53, 0.15);
}

/* 2. Phone Helpline Card: Medical Trust Blue Light Background */
.tm-contact-card-blue {
  background: linear-gradient(165deg, #F3F8FE 0%, #E6F1FD 100%);
  border: 1px solid rgba(13, 110, 253, 0.2);
}
.tm-contact-card-blue:hover {
  border-color: #0D6EFD;
  box-shadow: 0 10px 24px rgba(13, 110, 253, 0.14);
}
.tm-contact-card-blue .tm-contact-icon-circle {
  background: #FFFFFF;
  color: #0D6EFD;
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.18);
  border: 1px solid rgba(13, 110, 253, 0.15);
}

/* 3. WhatsApp Specialist Card: Fresh Emerald Mint Light Background */
.tm-contact-card-green {
  background: linear-gradient(165deg, #F1FAF4 0%, #E2F6EB 100%);
  border: 1px solid rgba(37, 211, 102, 0.25);
}
.tm-contact-card-green:hover {
  border-color: #25D366;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.15);
}
.tm-contact-card-green .tm-contact-icon-circle {
  background: #FFFFFF;
  color: #25D366;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
  border: 1px solid rgba(37, 211, 102, 0.18);
}

/* 4. Email Support Card: Soft Lavender Indigo Light Background */
.tm-contact-card-purple {
  background: linear-gradient(165deg, #F9F7FE 0%, #EFEBFB 100%);
  border: 1px solid rgba(111, 66, 193, 0.2);
}
.tm-contact-card-purple:hover {
  border-color: #6F42C1;
  box-shadow: 0 10px 24px rgba(111, 66, 193, 0.14);
}
.tm-contact-card-purple .tm-contact-icon-circle {
  background: #FFFFFF;
  color: #6F42C1;
  box-shadow: 0 4px 12px rgba(111, 66, 193, 0.18);
  border: 1px solid rgba(111, 66, 193, 0.15);
}

.tm-contact-map-wrap {
  position: relative;
  width: 100%;
  height: 430px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 16px rgba(11, 30, 54, 0.06);
}

.tm-contact-map-wrap iframe {
  width: 100% !important;
  height: 100% !important;
  border: 0;
  display: block;
}

/* Contact Page Hero Header */
.tm-contact-hero {
  background: radial-gradient(circle at 50% -10%, #1A365D 0%, #0B1E36 75%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* =========================================================================
   CLINIC PERKS & ASSURANCE CARDS (book-appointment page)
   ========================================================================= */
.tm-perk-card {
  padding: 1.75rem;
  border-radius: 20px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.tm-perk-card:hover {
  transform: translateY(-5px);
}

.tm-perk-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: #FFFFFF;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.tm-perk-card:hover .tm-perk-icon {
  transform: scale(1.1);
}

/* 1. Doorstep Home Visits: Amber / Peach Light Gradient */
.tm-perk-card-orange {
  background: linear-gradient(165deg, #FFFBF8 0%, #FFF2E8 100%);
  border: 1px solid rgba(255, 107, 53, 0.25);
}
.tm-perk-card-orange:hover {
  border-color: #FF6B35;
  box-shadow: 0 12px 28px rgba(255, 107, 53, 0.15);
}
.tm-perk-card-orange .tm-perk-icon {
  color: #FF6B35;
  box-shadow: 0 6px 16px rgba(255, 107, 53, 0.2);
  border: 1px solid rgba(255, 107, 53, 0.18);
}

/* 2. Calibrated Sound Booth: Trust Medical Blue Light Gradient */
.tm-perk-card-blue {
  background: linear-gradient(165deg, #F5F9FE 0%, #E7F2FD 100%);
  border: 1px solid rgba(13, 110, 253, 0.22);
}
.tm-perk-card-blue:hover {
  border-color: #0D6EFD;
  box-shadow: 0 12px 28px rgba(13, 110, 253, 0.14);
}
.tm-perk-card-blue .tm-perk-icon {
  color: #0D6EFD;
  box-shadow: 0 6px 16px rgba(13, 110, 253, 0.18);
  border: 1px solid rgba(13, 110, 253, 0.18);
}

/* 3. RCI-Registered Doctors: Fresh Emerald Mint Light Gradient */
.tm-perk-card-green {
  background: linear-gradient(165deg, #F2FAF5 0%, #E3F7EC 100%);
  border: 1px solid rgba(37, 211, 102, 0.25);
}
.tm-perk-card-green:hover {
  border-color: #25D366;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.15);
}
.tm-perk-card-green .tm-perk-icon {
  color: #198754;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.22);
  border: 1px solid rgba(37, 211, 102, 0.18);
}

/* ==========================================================================
   PATIENT PORTAL, INVOICE & APPOINTMENT SLIP SYSTEM
   ========================================================================== */
.tm-account-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  border-radius: 0.65rem;
  color: #1E293B;
  font-weight: 500;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.tm-account-nav-link:hover {
  background: #F1F5F9;
  color: #FF6B35;
  transform: translateX(2px);
}

.tm-account-nav-link.active {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.12) 0%, rgba(240, 57, 0, 0.08) 100%);
  color: #F03900;
  font-weight: 700;
  border-left: 3px solid #F03900;
}

.tm-account-nav-link.active i {
  color: #F03900;
}

.tm-account-stat-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 1rem;
  padding: 1.15rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}

.tm-account-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
}

.tm-account-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

/* Official Tax Invoice Styling */
.tm-invoice-sheet {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 1rem;
  padding: 2.25rem;
  font-size: 0.875rem;
  color: #1E293B;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.tm-invoice-header {
  border-bottom: 2px solid #0B1E36;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
}

.tm-invoice-table th {
  background: #0B1E36;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.65rem 0.75rem;
}

.tm-invoice-table td {
  padding: 0.75rem;
  vertical-align: middle;
  border-bottom: 1px solid #E2E8F0;
}

.tm-invoice-stamp {
  display: inline-block;
  border: 2px dashed #16A34A;
  color: #16A34A;
  padding: 0.4rem 1rem;
  border-radius: 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transform: rotate(-3deg);
}

/* Official Appointment Slip / Pass */
.tm-appointment-slip {
  background: #FFFFFF;
  border: 2px dashed #0D6EFD;
  border-radius: 1.25rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.tm-slip-watermark {
  position: absolute;
  right: -20px;
  bottom: -20px;
  font-size: 10rem;
  color: rgba(13, 110, 253, 0.03);
  pointer-events: none;
  line-height: 1;
}

.tm-qr-box {
  width: 100px;
  height: 100px;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

@media print {
  body * {
    visibility: hidden;
  }
  .modal.show .modal-content,
  .modal.show .modal-content * {
    visibility: visible;
  }
  .modal.show {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
    padding: 0;
    width: 100%;
  }
  .modal-dialog {
    max-width: 100% !important;
    margin: 0 !important;
  }
  .modal-footer,
  .btn-close,
  .no-print {
    display: none !important;
  }
}

/* ==========================================================================
   HEARING AID FINDER HIGH-CONVERSION SECTION (SOLID #021E3A HIGHLIGHTED BG)
   ========================================================================== */
.tm-finder-section {
  position: relative;
  background-color: #021E3A;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tm-finder-section .tm-section-title {
  color: #FFFFFF;
}

.tm-finder-section .tm-section-title span {
  color: #F03900;
}

.tm-finder-section .tm-section-sub {
  color: #CBD5E1;
}

.tm-finder-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(240, 57, 0, 0.16);
  color: #FF6B3D;
  border: 1.5px solid rgba(240, 57, 0, 0.35);
  padding: 0.4rem 1.15rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 2px 12px rgba(240, 57, 0, 0.12);
}

.tm-finder-poster-wrap {
  background: #FFFFFF;
  border-radius: 1.25rem;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tm-finder-poster-wrap:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
}

.tm-finder-poster-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border: 6px solid #FFFFFF;
  border-radius: 1.25rem;
  box-shadow: 0 16px 40px rgba(11, 30, 54, 0.25);
  box-sizing: border-box;
}

.tm-finder-quiz-card {
  background: #FFFFFF;
  border-radius: 1.25rem;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  position: relative;
}

.tm-step-pills-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  gap: 0.35rem;
}

.tm-step-pills-wrap::before {
  content: '';
  position: absolute;
  top: 17px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: #E2E8F0;
  z-index: 0;
}

.tm-step-pill-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  transition: all 0.25s ease;
}

.tm-step-pill-node .node-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid #CBD5E1;
  color: #64748B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.tm-step-pill-node.active .node-circle {
  background: #F03900;
  border-color: #F03900;
  color: #FFFFFF;
  box-shadow: 0 3px 10px rgba(240, 57, 0, 0.35);
  transform: scale(1.1);
}

.tm-step-pill-node.completed .node-circle {
  background: #0B1E36;
  border-color: #0B1E36;
  color: #FFFFFF;
}

.tm-step-pill-node .node-title {
  font-size: 0.68rem;
  font-weight: 600;
  color: #64748B;
  margin-top: 0.25rem;
  text-align: center;
  white-space: nowrap;
}

.tm-step-pill-node.active .node-title {
  color: #F03900;
  font-weight: 700;
}

.tm-quiz-option-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 0.85rem;
  padding: 0.75rem 0.85rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  user-select: none;
  height: 100%;
}

.tm-quiz-option-card:hover {
  border-color: #CBD5E1;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(11, 30, 54, 0.05);
}

.tm-quiz-option-card.selected {
  border-color: #F03900;
  background: #FFF9F7;
  box-shadow: 0 4px 16px rgba(240, 57, 0, 0.12);
}

.tm-quiz-option-card .opt-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 0.6rem;
  background: #F1F5F9;
  color: #0B1E36;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.tm-quiz-option-card.selected .opt-icon-box {
  background: #F03900;
  color: #FFFFFF;
}

.tm-quiz-option-card .opt-radio-badge {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #CBD5E1;
  margin-left: auto;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.tm-quiz-option-card.selected .opt-radio-badge {
  border-color: #F03900;
  background: #F03900;
}

.tm-quiz-option-card.selected .opt-radio-badge::after {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #FFFFFF;
}

.tm-quiz-step-pane {
  display: none;
  animation: fadeInStep 0.25s ease forwards;
}

.tm-quiz-step-pane.active {
  display: flex !important;
  flex-direction: column;
}

@keyframes fadeInStep {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tm-finder-result-box {
  background: linear-gradient(135deg, #071324 0%, #0B1E36 60%, #153259 100%);
  border-radius: 1rem;
  color: #FFFFFF;
  padding: 1.25rem;
  box-shadow: 0 12px 28px rgba(7, 19, 36, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tm-quiz-progress {
  height: 4px;
  border-radius: 999px;
  background: #E2E8F0;
  overflow: hidden;
}

.tm-finder-vertical-banner {
  background: linear-gradient(165deg, #071324 0%, #0B1E36 55%, #122B4D 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 36px rgba(7, 19, 36, 0.2);
  min-height: 100%;
}

.tm-finder-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(240, 57, 0, 0.18);
  color: #FF7A50;
  border: 1px solid rgba(240, 57, 0, 0.35);
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tm-finder-banner-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tm-finder-banner-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.85rem;
}

.tm-finder-banner-checklist li .chk-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.2);
  color: #4ADE80;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.tm-finder-brand-logos-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.tm-finder-brand-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
}

.tm-finder-doc-stamp {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.85rem;
  padding: 0.85rem;
  backdrop-filter: blur(10px);
}

/* ==========================================================================
   PRODUCTS CATALOG — STICKY FILTER SIDEBAR
   ========================================================================== */
@media (min-width: 992px) {
  .tm-filter-sidebar-col {
    position: relative;
    z-index: 10;
  }
  .tm-filter-sidebar-col .offcanvas-lg {
    height: 100% !important;
    display: block !important;
    overflow: visible !important;
    transform: none !important;
    visibility: visible !important;
  }
  .tm-filter-sidebar-col .offcanvas-body {
    height: 100% !important;
    display: block !important;
    overflow: visible !important;
    padding: 0 !important;
  }
  .tm-filter-sticky-card {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 92px !important;
    max-height: calc(100vh - 110px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain;
    transition: box-shadow 0.2s ease;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 4px 20px -4px rgba(15, 62, 109, 0.08) !important;
  }
  /* Modern clean scrollbar for the filter card */
  .tm-filter-sticky-card::-webkit-scrollbar {
    width: 5px;
  }
  .tm-filter-sticky-card::-webkit-scrollbar-track {
    background: #F8FAFC;
    border-radius: 4px;
  }
  .tm-filter-sticky-card::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
  }
  .tm-filter-sticky-card::-webkit-scrollbar-thumb:hover {
    background: #0F3E6D;
  }
}

/* ==========================================================================
   MODERN CLINICAL SERVICES HUB STYLING
   ========================================================================== */
.tm-service-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 2.25rem;
}
.tm-service-tab-btn {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  color: #475569;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 8px 18px;
  border-radius: 9999px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.tm-service-tab-btn:hover {
  border-color: #CBD5E1;
  color: #0F3E6D;
  background: #F8FAFC;
}
.tm-service-tab-btn.active {
  background: #0F3E6D;
  border-color: #0F3E6D;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(15, 62, 109, 0.2);
}
.tm-service-tab-btn .badge {
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: 9999px;
}
.tm-service-tab-btn.active .badge {
  background: rgba(255, 255, 255, 0.25) !important;
  color: #FFFFFF !important;
}

.tm-service-hub-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 62, 109, 0.04);
}
.tm-service-hub-card:hover {
  transform: translateY(-5px);
  border-color: #CBD5E1;
  box-shadow: 0 16px 36px -8px rgba(15, 62, 109, 0.13);
}
.tm-service-hub-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #F1F5F9;
}
.tm-service-hub-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.tm-service-hub-card:hover .tm-service-hub-img {
  transform: scale(1.05);
}
.tm-service-hub-badge-top {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}
.tm-service-hub-price-tag {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 2;
  background: rgba(15, 62, 109, 0.92);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  padding: 4px 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: -0.2px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.tm-service-hub-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.tm-service-hub-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: #0F3E6D;
  margin-bottom: 8px;
  line-height: 1.35;
}
.tm-service-hub-desc {
  font-size: 0.875rem;
  color: #64748B;
  line-height: 1.55;
  margin-bottom: 14px;
}
.tm-service-hub-features {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tm-service-hub-features li {
  font-size: 0.815rem;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tm-service-hub-features li i {
  color: #10B981;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.tm-service-hub-actions {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #F1F5F9;
  display: flex;
  gap: 8px;
}

/* ==========================================================================
   PREMIUM DIAGNOSTIC SERVICES SIDEBAR NAVIGATION WIDGET
   ========================================================================== */
.tm-diag-nav-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(15, 62, 109, 0.05);
  margin-bottom: 1.5rem;
}
.tm-diag-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #F1F5F9;
}
.tm-diag-nav-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: #0F3E6D;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tm-diag-nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tm-diag-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  color: #1E293B;
}
.tm-diag-nav-item:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
  transform: translateX(4px);
  color: #0F3E6D;
}
.tm-diag-nav-item.active {
  background: linear-gradient(135deg, #0F3E6D 0%, #1A365D 100%);
  border-color: #0F3E6D;
  color: #FFFFFF !important;
  box-shadow: 0 4px 16px rgba(15, 62, 109, 0.22);
}
.tm-diag-nav-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tm-diag-nav-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  background: #F1F5F9;
  color: #0F3E6D;
  transition: all 0.2s ease;
}
.tm-diag-nav-item:hover .tm-diag-nav-icon {
  background: #E2E8F0;
  color: #EA580C;
}
.tm-diag-nav-item.active .tm-diag-nav-icon {
  background: rgba(255, 255, 255, 0.2);
  color: #FF8A00;
}
.tm-diag-nav-name {
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.25;
  margin-bottom: 2px;
}
.tm-diag-nav-sub {
  font-size: 0.74rem;
  color: #64748B;
  display: block;
}
.tm-diag-nav-item.active .tm-diag-nav-sub {
  color: rgba(255, 255, 255, 0.75);
}
.tm-diag-nav-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: #F1F5F9;
  color: #475569;
  border: 1px solid #E2E8F0;
  white-space: nowrap;
}
.tm-diag-nav-item.active .tm-diag-nav-badge {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   VERTICAL APPOINTMENT WIDGET (SAME LIKE BOOK APPOINTMENT)
   ========================================================================== */
.tm-vert-booking-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(15, 62, 109, 0.06);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.tm-step-badge-vert {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--tm-orange);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
}
.tm-vert-option-card {
  padding: 0.65rem 0.75rem !important;
  border-radius: 10px !important;
  margin-bottom: 0.5rem;
  cursor: pointer;
  border: 1.5px solid #E2E8F0;
  background: #FFFFFF;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: flex;
  flex-direction: column;
}
.tm-vert-option-card:hover {
  border-color: var(--tm-orange);
  background: #FFFBF7;
  transform: translateY(-2px);
}
.tm-vert-option-card.selected {
  border-color: var(--tm-orange);
  background: #FFF7ED;
  box-shadow: 0 4px 14px rgba(255, 107, 0, 0.12);
}
.tm-vert-option-card .tm-booking-opt-icon {
  width: 36px !important;
  height: 36px !important;
  font-size: 1.05rem !important;
  border-radius: 8px !important;
  margin-bottom: 0 !important;
  background: #FFF4EC;
  color: var(--tm-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.tm-vert-option-card.selected .tm-booking-opt-icon {
  background: var(--tm-orange);
  color: #FFFFFF;
}
.tm-vert-option-card .tm-booking-option-check {
  position: absolute;
  top: 10px !important;
  right: 10px !important;
  width: 18px !important;
  height: 18px !important;
  border-radius: 50%;
  border: 1.5px solid #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem !important;
  color: transparent;
  transition: all 0.2s ease;
}
.tm-vert-option-card.selected .tm-booking-option-check {
  background: var(--tm-orange);
  border-color: var(--tm-orange);
  color: #FFFFFF;
}

/* ==========================================================================
   MOBILE-FIRST SERVICE LAYOUT: QUICK BOOKING CARD ALWAYS ON TOP
   ========================================================================== */
@media (max-width: 991.98px) {
  .tm-service-layout-row {
    display: flex !important;
    flex-direction: column !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .tm-service-layout-row > [class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
  }
  .tm-service-sidebar {
    display: contents !important;
  }
  .tm-vert-booking-card,
  .tm-booking-sidebar-card {
    order: -1 !important;
    width: 100% !important;
    margin-bottom: 2rem !important;
  }
  .tm-service-main-col {
    order: 1 !important;
    width: 100% !important;
  }
  .tm-diag-nav-card {
    order: 2 !important;
    width: 100% !important;
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
  }
  .tm-service-assistance-card {
    order: 3 !important;
    width: 100% !important;
    margin-bottom: 2rem !important;
  }
}

/* =========================================================================
   PREMIUM EMPTY STATE CARD COMPONENT (HIGH CONTRAST & LUXURY STYLING)
   ========================================================================= */
.tm-empty-state-card {
  background: #FFFFFF !important;
  border: 1.5px dashed #CBD5E1 !important;
  border-radius: 20px !important;
  box-shadow: 0 16px 40px -6px rgba(11, 30, 54, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04) !important;
  max-width: 580px;
  margin: 2rem auto !important;
  padding: 3rem 2rem !important;
  position: relative;
  overflow: hidden;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tm-empty-state-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4.5px;
  background: linear-gradient(90deg, var(--tm-orange, #FF6B00), var(--tm-navy, #0B1E36));
}

.tm-empty-state-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.12) 0%, rgba(255, 107, 0, 0.04) 100%);
  color: var(--tm-orange, #FF6B00);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  border: 1.5px solid rgba(255, 107, 0, 0.25);
  box-shadow: 0 8px 24px -4px rgba(255, 107, 0, 0.2);
  margin: 0 auto 1.5rem auto;
}

.tm-empty-state-title {
  color: var(--tm-navy, #0B1E36) !important;
  font-weight: 700 !important;
  font-size: 1.35rem !important;
  margin-bottom: 0.6rem !important;
  letter-spacing: -0.01em;
}

.tm-empty-state-text {
  color: #64748B !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  max-width: 440px;
  margin: 0 auto 1.5rem auto !important;
}

.tm-empty-state-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

/* ==========================================================================
   EXPLORE BY BRANDS — 4 PRODUCTS IN SAME ROW (DESKTOP & LAPTOPS)
   ========================================================================== */
@media (min-width: 992px) {
  #tmBrandShowcaseGrid > [class*="col-"]:not(.col-12) {
    flex: 0 0 25% !important;
    max-width: 25% !important;
    width: 25% !important;
  }
}
@media (min-width: 576px) and (max-width: 991.98px) {
  #tmBrandShowcaseGrid > [class*="col-"]:not(.col-12) {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    width: 50% !important;
  }
}

/* Ensure empty state column spans full 100% width and perfectly centers */
#tmBrandShowcaseGrid > .col-12,
#tmInteractiveFeaturedGrid > .col-12,
#tmProductsGrid > .col-12,
.row > .col-12:has(.tm-empty-state-card) {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 0 auto !important;
}

/* ==========================================================================
   RICH TEXT & WYSIWYG EDITOR CONTENT STYLING (PRODUCT DETAILS)
   ========================================================================== */
.product-full-description,
.tm-rich-content {
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.75;
  word-break: break-word;
  overflow-wrap: break-word;
}

.product-full-description h1,
.product-full-description h2,
.product-full-description h3,
.product-full-description h4,
.product-full-description h5,
.product-full-description h6,
.tm-rich-content h1,
.tm-rich-content h2,
.tm-rich-content h3,
.tm-rich-content h4,
.tm-rich-content h5,
.tm-rich-content h6 {
  color: #0B1E36;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.product-full-description p,
.tm-rich-content p {
  margin-bottom: 1rem;
}

.product-full-description ul,
.product-full-description ol,
.tm-rich-content ul,
.tm-rich-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.product-full-description li,
.tm-rich-content li {
  margin-bottom: 0.4rem;
}

.product-full-description img,
.tm-rich-content img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 8px;
  margin: 1rem 0;
}

/* Ensure tables from rich text editors are fluid, responsive, and beautifully styled */
.product-full-description table,
.tm-rich-content table {
  width: 100% !important;
  max-width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 8px !important;
  margin: 1.25rem 0 !important;
  overflow: hidden !important;
  display: table !important;
}

.product-full-description table tr,
.tm-rich-content table tr {
  border-bottom: 1px solid #E2E8F0 !important;
  transition: background-color 0.15s ease;
}

.product-full-description table tr:last-child,
.tm-rich-content table tr:last-child {
  border-bottom: none !important;
}

.product-full-description table tr:nth-child(even),
.tm-rich-content table tr:nth-child(even) {
  background-color: #F8FAFC !important;
}

.product-full-description table tr:hover,
.tm-rich-content table tr:hover {
  background-color: #F1F5F9 !important;
}

.product-full-description table th,
.product-full-description table td,
.tm-rich-content table th,
.tm-rich-content table td {
  padding: 0.75rem 1rem !important;
  font-size: 0.9rem !important;
  vertical-align: middle !important;
  border-right: 1px solid #E2E8F0 !important;
  color: #334155 !important;
}

.product-full-description table th:last-child,
.product-full-description table td:last-child,
.tm-rich-content table th:last-child,
.tm-rich-content table td:last-child {
  border-right: none !important;
}

.product-full-description table th,
.tm-rich-content table th {
  background-color: #F1F5F9 !important;
  color: #0B1E36 !important;
  font-weight: 600 !important;
  text-align: left !important;
}

/* Clear any rigid fixed pixel container sizing inside rich editor HTML */
.product-full-description [style*="width"],
.tm-rich-content [style*="width"] {
  max-width: 100% !important;
}










