/* ==========================================================================
   GARG PHARMACEUTICALS - PREMIER CORPORATE HEALTHCARE WEBSITE STYLING
   Inspired by gargagencypharma.com with modern, ultra-clean responsive aesthetics
   ========================================================================== */

:root {
  --brand-green: #15803d;
  --brand-green-hover: #166534;
  --brand-green-light: #f0fdf4;
  --brand-green-border: #bbf7d0;
  --brand-blue: #0284c7;
  --brand-blue-hover: #0369a1;
  --brand-blue-light: #f0f9ff;
  --brand-navy: #0b1528;
  --brand-navy-light: #16243d;
  
  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --bg-page: #f8fafc;
  --bg-white: #ffffff;
  --bg-card: #ffffff;
  
  --border-light: #e2e8f0;
  --border-accent: #cbd5e1;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 25px rgba(21, 128, 61, 0.25);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 15px;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-body);
  background-color: var(--bg-page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
}

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

ul {
  list-style: none;
}

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

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

/* ==========================================================================
   1. TOP NOTIFICATION & CONTACT BAR
   ========================================================================== */
.top-bar {
  background: var(--brand-navy);
  color: #e2e8f0;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-welcome {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.top-bar-welcome .badge-pill {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
}

.top-bar-item:hover {
  color: #4ade80;
}

.top-bar-item svg {
  width: 14px;
  height: 14px;
  stroke: #4ade80;
}

.top-bar-social {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.top-bar-social a {
  color: #94a3b8;
  display: inline-flex;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.top-bar-social a:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

/* ==========================================================================
   2. MAIN NAVIGATION HEADER
   ========================================================================== */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-normal);
}

.main-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* Brand Logo */
.brand-link {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--brand-green), #166534);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(21, 128, 61, 0.3);
  flex-shrink: 0;
}

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

.brand-text h1 {
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 1px;
}

.brand-text h1 span {
  color: var(--brand-green);
}

.brand-tagline {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
}

.main-header .container {
  max-width: 1440px;
  padding: 0 24px;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 1;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 8px 4px;
  position: relative;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-green);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--brand-green);
  border-radius: var(--radius-full);
  transition: width var(--transition-fast);
}

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

.nav-badge-new {
  background: #ea580c;
  color: #fff;
  font-size: 0.65rem;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  margin-left: 2px;
  vertical-align: middle;
  font-weight: 700;
  white-space: nowrap;
  line-height: 1.2;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-header-search {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-light);
  background: var(--bg-page);
  color: var(--text-body);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-header-search:hover {
  background: var(--brand-green-light);
  border-color: var(--brand-green);
  color: var(--brand-green);
  transform: translateY(-1px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.btn-callback {
  background: var(--brand-green);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(21, 128, 61, 0.25);
}

.btn-callback:hover {
  background: var(--brand-green-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(21, 128, 61, 0.35);
}

.btn-chemist-login {
  background: var(--brand-navy);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-chemist-login:hover {
  background: #1e293b;
  transform: translateY(-1px);
}

.btn-mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--text-dark);
  cursor: pointer;
}

/* ==========================================================================
   3. HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, rgba(11, 21, 40, 0.88) 0%, rgba(15, 23, 42, 0.82) 100%),
              url('/images/hero_banner.jpg') center/cover no-repeat;
  color: #ffffff;
  padding: 90px 0 100px;
  overflow: hidden;
}

.hero-content {
  max-width: 820px;
  position: relative;
  z-index: 2;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 197, 94, 0.18);
  border: 1px solid rgba(74, 222, 128, 0.4);
  color: #86efac;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 10px #22c55e;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 20px;
}

.hero-title span.highlight {
  background: linear-gradient(135deg, #4ade80, #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.65;
  color: #e2e8f0;
  margin-bottom: 34px;
  max-width: 720px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #22c55e, var(--brand-green));
  color: #ffffff;
  font-size: 1.05rem;
  padding: 14px 28px;
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.4);
}

.btn-hero-primary:hover {
  background: linear-gradient(135deg, #16a34a, var(--brand-green-hover));
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(34, 197, 94, 0.5);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 1.05rem;
  padding: 14px 28px;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* Hero Key Metric Badges */
.hero-badges-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-badge-card {
  display: flex;
  align-items: center;
  gap: 14px;
}

.badge-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(74, 222, 128, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4ade80;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.badge-info h4 {
  font-size: 1.15rem;
  color: #ffffff;
  font-weight: 800;
  margin-bottom: 2px;
}

.badge-info p {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.3;
}

/* ==========================================================================
   4. LIVE MARG MEDICINE SEARCH (Instant AJAX Search)
   ========================================================================== */
.live-search-section {
  position: relative;
  margin-top: -45px;
  z-index: 10;
  margin-bottom: 70px;
}

.search-box-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.12), 0 8px 16px -8px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-light);
}

.search-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 10px;
}

.search-card-header h3 {
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-navy);
}

.search-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.search-input-icon {
  position: absolute;
  left: 20px;
  color: var(--brand-green);
  pointer-events: none;
}

.search-input-icon svg {
  width: 22px;
  height: 22px;
}

.main-search-input {
  width: 100%;
  height: 56px;
  padding: 0 160px 0 56px;
  font-size: 1.05rem;
  font-family: inherit;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  background: #f8fafc;
  color: var(--text-dark);
  transition: all var(--transition-fast);
  outline: none;
}

.main-search-input:focus {
  border-color: var(--brand-green);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15);
}

.btn-search-trigger {
  position: absolute;
  right: 8px;
  height: 42px;
  background: var(--brand-green);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0 22px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.btn-search-trigger:hover {
  background: var(--brand-green-hover);
}

/* Quick Filter Chips */
.quick-chips-row {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.chip-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-right: 6px;
  white-space: nowrap;
}

.filter-chip {
  background: #f1f5f9;
  border: 1px solid var(--border-light);
  color: var(--text-body);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.filter-chip:hover, .filter-chip.active {
  background: var(--brand-green-light);
  border-color: var(--brand-green);
  color: var(--brand-green);
}

/* Search Results Container */
/* Search Results Container */
.search-results-box {
  margin-top: 24px;
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
  display: block; /* Visible by default on page load */
}

.search-results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px;
}

.search-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
  max-height: 580px;
  overflow-y: auto;
  padding: 4px 6px 14px 2px;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 #f8fafc;
}

.search-results-grid::-webkit-scrollbar {
  width: 6px;
}

.search-results-grid::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}

/* Premium Marg ERP Product Card */
.med-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.med-card:hover {
  border-color: #0284c7;
  box-shadow: 0 14px 30px -6px rgba(2, 132, 199, 0.16);
  transform: translateY(-3px);
}

.med-card-top {
  margin-bottom: 10px;
}

.med-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.med-company-pill {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #334155;
}

.med-scheme-pill {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  color: #ea580c;
  border: 1px solid #fed7aa;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.med-name {
  font-size: 1.12rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 6px;
}

.med-salt-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 6px 10px;
  margin-bottom: 10px;
}

.med-salt-label {
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #15803d;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 1px;
}

.med-salt-text {
  font-size: 0.82rem;
  font-weight: 700;
  color: #166534;
  line-height: 1.3;
}

.med-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #64748b;
  background: #f8fafc;
  padding: 6px 10px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.med-stock {
  font-weight: 700;
}

.med-stock.in-stock {
  color: #15803d;
}

.med-stock.out-stock {
  color: #dc2626;
}

.med-pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
  border-top: 1px dashed #e2e8f0;
  margin-bottom: 12px;
}

.med-rate-label {
  font-size: 0.7rem;
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
}

.med-rate {
  font-size: 1.25rem;
  font-weight: 800;
  color: #15803d;
}

.med-mrp-label {
  font-size: 0.7rem;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
}

.med-mrp {
  font-size: 0.85rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.med-margin-badge {
  font-size: 0.72rem;
  font-weight: 800;
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  text-decoration: none;
  display: inline-block;
}

.med-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.btn-med-order {
  padding: 9px 12px;
  border-radius: 8px;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-med-order:hover {
  background: #0284c7;
  color: #ffffff;
}

.btn-med-wa {
  padding: 9px 12px;
  border-radius: 8px;
  background: #25d366;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-med-wa:hover {
  background: #1eb956;
  color: #ffffff;
}

/* Explore Catalog Footer Bar */
.catalog-explore-cta-bar {
  margin-top: 18px;
  padding: 18px 22px;
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  border: 1.5px dashed #cbd5e1;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-bar-text h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

.cta-bar-text p {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0;
}

.cta-bar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* ==========================================================================
   5. ABOUT US / OVERVIEW SECTION
   ========================================================================== */
.about-section {
  padding: 70px 0 90px;
  background: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-main-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  object-fit: cover;
  max-height: 480px;
}

.about-floating-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--brand-navy);
  color: #ffffff;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 2px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 16px;
}

.floating-num {
  font-size: 2.8rem;
  font-weight: 800;
  color: #4ade80;
  font-family: 'Outfit', sans-serif;
  line-height: 1;
}

.floating-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
  line-height: 1.3;
}

.section-subtitle {
  color: var(--brand-green);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-block;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 20px;
  line-height: 1.2;
}

.about-lead {
  font-size: 1.1rem;
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 16px;
}

.about-body {
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 24px;
}

.about-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 30px;
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
}

.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-green-light);
  color: var(--brand-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ==========================================================================
   6. PRODUCT DIVISIONS & SEGMENTS
   ========================================================================== */
/* ==========================================================================
   6. MEDICINE CATEGORIES SECTION (Matches User Screenshot Exact Design)
   ========================================================================== */
.categories-clean-section {
  padding: 85px 0 75px;
  background: #ffffff;
  position: relative;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}

.categories-clean-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 50px;
}

.categories-clean-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: #115e59; /* Deep medical teal matching screenshot */
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.categories-clean-sub {
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.5;
}

.categories-clean-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px 30px;
}

.category-clean-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  background: #ffffff;
  padding: 24px 16px 20px;
  border-radius: 18px;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  cursor: pointer;
}

.category-clean-item:hover {
  transform: translateY(-6px);
  background: #fcfdfd;
}

.category-icon-wrap {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  transition: transform 0.25s ease;
}

.category-clean-item:hover .category-icon-wrap {
  transform: translateY(-2px);
}

.category-icon-wrap svg {
  width: 42px;
  height: 42px;
  max-width: 42px;
  max-height: 42px;
  stroke: #16a34a; /* Vibrant medical green matching screenshot */
  fill: none;
  stroke-width: 2.2;
  display: block;
  transition: stroke 0.25s ease;
}

.category-clean-item:hover .category-icon-wrap svg {
  stroke: #15803d;
}

.category-clean-name {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
  transition: color 0.2s ease;
}

.category-clean-item:hover .category-clean-name {
  color: #15803d;
}

.category-underline {
  width: 100%;
  max-width: 140px;
  height: 2px;
  background: #86efac; /* Soft green underline bar matching screenshot */
  border-radius: 9999px;
  transition: all 0.25s ease;
}

.category-clean-item:hover .category-underline {
  max-width: 160px;
  background: #16a34a; /* Active green line */
}

@media (max-width: 992px) {
  .categories-clean-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 26px 20px;
  }
}

@media (max-width: 640px) {
  .categories-clean-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 14px;
  }
  .categories-clean-title {
    font-size: 1.85rem;
    margin-bottom: 30px;
  }
  .category-icon-wrap {
    width: 60px;
    height: 60px;
  }
  .category-icon-wrap svg {
    width: 48px;
    height: 48px;
  }
  .category-clean-name {
    font-size: 1.02rem;
  }
}

.divisions-section {
  padding: 90px 0;
  background: var(--bg-page);
}

.section-header-center {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 54px;
}

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

.division-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.division-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-green), var(--brand-blue));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.division-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(21, 128, 61, 0.2);
}

.division-card:hover::before {
  opacity: 1;
}

.division-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--brand-green-light);
  color: var(--brand-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 22px;
  transition: transform var(--transition-fast);
}

.division-card:hover .division-icon-wrap {
  transform: scale(1.1);
}

.division-title {
  font-size: 1.35rem;
  color: var(--brand-navy);
  margin-bottom: 12px;
}

.division-desc {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 20px;
}

.division-items-pill-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}

.division-pill {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
}

.division-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.division-link:hover {
  color: var(--brand-green-hover);
  gap: 10px;
}

/* ==========================================================================
   7. BRANDS WE DISTRIBUTE (Ultra-Premium 3D Interactive Company Showcase)
   ========================================================================== */
.brands-section {
  padding: 90px 0 100px;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 50%, #ffffff 100%);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

/* Direct Discovery Quick Hub (Salt-wise, Category-wise, Company-wise) */
.discovery-hub-banner {
  margin-bottom: 36px;
}

.discovery-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.discovery-hub-card {
  text-decoration: none;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  position: relative;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.discovery-hub-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.12);
}

.discovery-hub-card.card-salt:hover {
  border-color: #16a34a;
}

.discovery-hub-card.card-category:hover {
  border-color: #7c3aed;
}

.discovery-hub-card.card-offers:hover {
  border-color: #ea580c;
}

.dh-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
}

.card-salt .dh-icon-box {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.card-category .dh-icon-box {
  background: #faf5ff;
  border-color: #f3e8ff;
}

.card-offers .dh-icon-box {
  background: #fff7ed;
  border-color: #ffedd5;
}

.dh-content {
  flex: 1;
}

.dh-badge {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 6px;
}

.card-salt .dh-badge {
  background: #dcfce7;
  color: #15803d;
}

.card-category .dh-badge {
  background: #f3e8ff;
  color: #7c3aed;
}

.card-offers .dh-badge {
  background: #ffedd5;
  color: #ea580c;
}

.dh-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
  line-height: 1.3;
}

.dh-desc {
  font-size: 0.86rem;
  color: #64748b;
  line-height: 1.45;
  margin-bottom: 12px;
}

.dh-link-text {
  font-size: 0.84rem;
  font-weight: 700;
  color: #0284c7;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.card-salt .dh-link-text {
  color: #16a34a;
}

.card-category .dh-link-text {
  color: #7c3aed;
}

.card-offers .dh-link-text {
  color: #ea580c;
}

@media (max-width: 992px) {
  .discovery-hub-grid {
    grid-template-columns: 1fr;
  }
}

.brand-search-box-wrap {
  max-width: 650px;
  margin: 0 auto 34px;
  position: relative;
}

.brand-search-input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  border-radius: 14px;
  border: 2px solid #e2e8f0;
  font-size: 0.98rem;
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  outline: none;
  transition: all 0.2s ease;
}

.brand-search-input:focus {
  border-color: #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.12), 0 4px 14px rgba(15, 23, 42, 0.06);
}

.brands-3d-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
  perspective: 1400px;
  margin-bottom: 40px;
}

@media (max-width: 1200px) {
  .brands-3d-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .brands-3d-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }
}

@media (max-width: 480px) {
  .brands-3d-grid {
    grid-template-columns: 1fr !important;
  }
}

a.brand-3d-card,
.brand-3d-card {
  text-decoration: none;
  display: block;
  color: inherit;
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 18px 16px 16px;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.06), 0 2px 6px -2px rgba(15, 23, 42, 0.03);
  position: relative;
  user-select: none;
  overflow: hidden;
}

a.brand-3d-card:hover {
  text-decoration: none;
  color: inherit;
}

/* 3D Dynamic Specular Glare Layer */
.brand-3d-glare {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius-lg);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 65%);
  mix-blend-mode: overlay;
  z-index: 5;
}

.brand-3d-card:hover .brand-3d-glare {
  opacity: 1;
}

.brand-3d-card:hover {
  border-color: #16a34a;
  box-shadow: 0 20px 38px -10px rgba(22, 163, 74, 0.22), 0 10px 16px -6px rgba(15, 23, 42, 0.06);
}

.brand-3d-card.active {
  background: linear-gradient(145deg, #f0fdf4 0%, #ffffff 100%);
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.4), 0 20px 40px -10px rgba(22, 163, 74, 0.32);
  transform: perspective(1000px) translateZ(10px) scale(1.02);
}

/* 3D Depth Layers for Floating Elements */
.brand-3d-emblem {
  height: 60px !important;
  max-height: 60px !important;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 8px 12px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04), inset 0 1px 2px rgba(255, 255, 255, 0.8);
  border: 1px solid #f1f5f9;
  transform: translateZ(35px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  overflow: hidden;
}

.brand-3d-card:hover .brand-3d-emblem {
  transform: translateZ(48px) scale(1.04);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.brand-3d-emblem img {
  max-height: 40px !important;
  max-width: 82% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
  transition: transform 0.2s ease;
}

.brand-3d-title {
  font-size: 0.98rem !important;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 4px;
  font-family: 'Outfit', sans-serif;
  transform: translateZ(26px);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-3d-tag {
  display: inline-block;
  font-size: 0.70rem !important;
  font-weight: 700;
  color: #15803d;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  padding: 2px 8px !important;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  transform: translateZ(20px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.brand-3d-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px dashed #cbd5e1;
  padding-top: 12px;
  font-size: 0.82rem;
  transform: translateZ(16px);
}

.brand-3d-stock-pill {
  color: #475569;
  font-weight: 700;
}

.brand-3d-click-hint {
  color: #16a34a;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.2s ease;
}

.brand-3d-card:hover .brand-3d-click-hint {
  transform: translateX(4px);
}

/* ==========================================================================
   DYNAMIC 3D COMPANY PRODUCTS SHOWCASE CONTAINER
   ========================================================================== */
.company-products-showcase {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 2px solid #16a34a;
  box-shadow: 0 30px 60px -15px rgba(22, 163, 74, 0.28), 0 15px 30px -10px rgba(15, 23, 42, 0.12);
  padding: 34px 32px;
  margin-top: 35px;
  animation: slideUpShowcase 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

@keyframes slideUpShowcase {
  from { opacity: 0; transform: perspective(1200px) rotateX(8deg) translateY(40px) scale(0.96); }
  to { opacity: 1; transform: perspective(1200px) rotateX(0deg) translateY(0) scale(1); }
}

.company-spotlight-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1.5px solid var(--border-light);
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 18px;
}

.company-spotlight-left {
  display: flex;
  align-items: center;
  gap: 22px;
}

.company-spotlight-logo-box {
  width: 95px;
  height: 95px;
  background: #f8fafc;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.company-spotlight-logo-box img {
  max-height: 65px;
  max-width: 90%;
  object-fit: contain;
}

.company-spotlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #dcfce7;
  color: #15803d;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 6px;
  border: 1px solid #bbf7d0;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: #16a34a;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7);
  animation: pulseGreen 1.6s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

.company-spotlight-title {
  font-size: 1.95rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 4px;
  font-family: 'Outfit', sans-serif;
}

.company-spotlight-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
}

.company-spotlight-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.company-spotlight-search input {
  height: 48px;
  padding: 0 18px;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  background: #f8fafc;
  outline: none;
  min-width: 270px;
  transition: all 0.2s ease;
}

.company-spotlight-search input:focus {
  border-color: #16a34a;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.18);
}

.btn-company-reset {
  height: 48px;
  padding: 0 20px;
  background: #f1f5f9;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-dark);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-company-reset:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #dc2626;
}

/* Company Sub-Bar with Filter Tabs and Direct Action Buttons */
.company-sub-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 14px;
}

.company-filter-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.c-filter-tab {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
}

.c-filter-tab:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.c-filter-tab.active {
  background: #16a34a;
  border-color: #16a34a;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.company-sub-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-sub-wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #25d366;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.25);
}

.btn-sub-wa:hover {
  background: #1ea952;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(37, 211, 102, 0.35);
}

.btn-sub-portal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-navy);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.2);
}

.btn-sub-portal:hover {
  background: #1e293b;
  transform: translateY(-2px);
}

/* Dynamic Category Bar inside Company Showcase */
.company-categories-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.cat-bar-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--brand-navy);
  white-space: nowrap;
}

.cat-chips-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.cat-chip-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.cat-chip-btn:hover {
  border-color: #16a34a;
  color: #15803d;
  background: #f0fdf4;
}

.cat-chip-btn.active {
  background: #15803d;
  border-color: #15803d;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(21, 128, 61, 0.25);
}

.cat-chip-count {
  font-size: 0.7rem;
  opacity: 0.85;
}

/* Company Products Grid with 3D Med Cards */
.company-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 20px;
  max-height: 600px;
  overflow-y: auto;
  padding: 6px 6px 12px 2px;
}

.c-med-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.c-med-card:hover {
  transform: translateY(-5px);
  border-color: #16a34a;
  box-shadow: 0 16px 30px -6px rgba(22, 163, 74, 0.18), 0 6px 12px -3px rgba(0, 0, 0, 0.04);
}

.c-med-top {
  margin-bottom: 12px;
}

.c-med-name {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1.3;
  margin-bottom: 5px;
}

.c-med-salt {
  font-size: 0.8rem;
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #d1fae5;
  padding: 4px 8px;
  border-radius: 6px;
  line-height: 1.35;
  margin-bottom: 8px;
  font-weight: 600;
  display: inline-block;
  max-width: 100%;
  word-break: break-word;
}

.c-med-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.c-pill-cat {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #3b82f6;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}

.c-pill-pack {
  background: #f1f5f9;
  color: #334155;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.c-pill-strength {
  background: #fef3c7;
  color: #92400e;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

.c-pill-stock {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
}

.c-pill-stock.in-stock {
  background: #dcfce7;
  color: #15803d;
}

.c-pill-stock.out-stock {
  background: #f1f5f9;
  color: #94a3b8;
}

.c-med-bottom {
  border-top: 1px dashed #e2e8f0;
  padding-top: 12px;
  margin-top: 12px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.c-rate-box {
  display: flex;
  flex-direction: column;
}

.c-rate-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.05em;
}

.c-rate-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: #15803d;
  font-family: 'Outfit', sans-serif;
  line-height: 1.1;
}

.c-mrp-val {
  font-size: 0.75rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.c-margin-badge {
  display: inline-block;
  background: #fef08a;
  color: #854d0e;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  margin-top: 2px;
}

.c-actions-box {
  display: flex;
  gap: 6px;
  align-items: center;
}

.btn-card-order {
  background: #16a34a;
  color: #ffffff;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-card-order:hover {
  background: #15803d;
  transform: translateY(-1px);
}

.btn-card-wa {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #16a34a;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-card-wa:hover {
  background: #25d366;
  color: #ffffff;
  border-color: #25d366;
  transform: scale(1.1);
}

/* ==========================================================================
   8. DIRECT PORTAL GATEWAYS (Chemist, MR, Wholesaler)
   ========================================================================== */
.portals-section {
  padding: 90px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
}

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

.portal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  border: 1.5px solid var(--border-light);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.portal-card.highlight {
  border-color: var(--brand-green);
  box-shadow: 0 10px 30px rgba(21, 128, 61, 0.15);
}

.portal-card.highlight::after {
  content: 'POPULAR';
  position: absolute;
  top: 18px;
  right: -30px;
  background: var(--brand-green);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 4px 34px;
  transform: rotate(45deg);
}

.portal-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.portal-badge {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.portal-card.highlight .portal-badge {
  background: var(--brand-green-light);
  color: var(--brand-green);
}

.portal-card h3 {
  font-size: 1.45rem;
  margin-bottom: 10px;
  color: var(--brand-navy);
}

.portal-card p {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 24px;
}

.portal-card ul {
  margin-bottom: 30px;
}

.portal-card ul li {
  font-size: 0.88rem;
  color: #475569;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.portal-card ul li::before {
  content: '✓';
  color: var(--brand-green);
  font-weight: 800;
}

.btn-portal-action {
  width: 100%;
  padding: 13px;
  font-size: 0.96rem;
}

/* ==========================================================================
   9. TRUST & COMPLIANCE SECTION
   ========================================================================== */
.compliance-section {
  padding: 80px 0;
  background: var(--brand-navy);
  color: #ffffff;
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.compliance-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: all var(--transition-fast);
}

.compliance-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: #4ade80;
  transform: translateY(-3px);
}

.comp-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.compliance-card h4 {
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 6px;
}

.compliance-card p {
  font-size: 0.84rem;
  color: #94a3b8;
  line-height: 1.45;
}

/* ==========================================================================
   10. REQUEST CALL BACK / INQUIRY MODAL
   ========================================================================== */
.modal-backdrop-custom {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(11, 21, 40, 0.85);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  animation: slideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-header-custom {
  background: var(--brand-navy);
  color: #ffffff;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header-custom h3 {
  color: #ffffff;
  font-size: 1.25rem;
}

.btn-modal-close {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}

.btn-modal-close:hover {
  color: #ffffff;
}

.modal-body-custom {
  padding: 24px;
}

.form-group-custom {
  margin-bottom: 16px;
}

.form-label-custom {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-control-custom {
  width: 100%;
  padding: 11px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  outline: none;
  transition: all var(--transition-fast);
}

.form-control-custom:focus {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

.modal-footer-custom {
  padding: 0 24px 24px;
  display: flex;
  gap: 12px;
}

/* ==========================================================================
   11. CORPORATE FOOTER
   ========================================================================== */
.corporate-footer {
  background: #080f1d;
  color: #94a3b8;
  font-size: 0.9rem;
  padding: 80px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col-about h4 {
  color: #ffffff;
  font-size: 1.35rem;
  margin-bottom: 16px;
}

.footer-col-about p {
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-col-title {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2.5px;
  background: var(--brand-green);
  border-radius: var(--radius-full);
}

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

.footer-links-list li a {
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.footer-links-list li a:hover {
  color: #4ade80;
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: #cbd5e1;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  stroke: #4ade80;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
}

.footer-bottom-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   12. FLOATING WHATSAPP & CALL BUTTON
   ========================================================================== */
.floating-actions-dock {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-float-wa {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-fast);
}

.btn-float-wa:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.btn-float-wa svg {
  width: 32px;
  height: 32px;
}

/* ==========================================================================
   13. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.6rem;
  }
  .divisions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .portals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .compliance-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .main-header {
    height: 64px !important;
  }
  .header-inner {
    height: 64px !important;
  }
  .brand-link {
    gap: 8px;
  }
  .brand-icon {
    width: 38px !important;
    height: 38px !important;
  }
  .brand-icon svg {
    width: 22px !important;
    height: 22px !important;
  }
  .brand-text h1 {
    font-size: 1.15rem !important;
  }
  .brand-tagline {
    display: none !important;
  }
  .header-actions {
    gap: 8px;
  }
  .header-actions .btn-chemist-login {
    padding: 6px 10px !important;
    font-size: 0.78rem !important;
  }
  .btn-mobile-toggle {
    display: block;
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
    padding: 0;
  }
  .nav-menu {
    display: none;
  }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: var(--shadow-lg);
    padding: 20px;
    align-items: flex-start;
  }
  .hero-section {
    padding: 50px 0 55px;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-description {
    font-size: 0.95rem;
  }
  .hero-badges-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .divisions-grid {
    grid-template-columns: 1fr;
  }
  .portals-grid {
    grid-template-columns: 1fr;
  }
  .compliance-grid {
    grid-template-columns: 1fr;
  }
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: 1fr !important;
  }
  .main-search-input {
    padding-right: 20px;
  }
  .btn-search-trigger {
    position: static;
    width: 100%;
    margin-top: 10px;
    justify-content: center;
  }
  .search-input-wrap {
    flex-direction: column;
  }
  .company-spotlight-search input {
    min-width: 0 !important;
    width: 100% !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px !important;
  }
  .hero-title {
    font-size: 1.7rem;
  }
  .hero-badges-strip {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .brands-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   DISCOVERY HUB: SALT-WISE & CATEGORY-WISE INTERACTIVE CARDS
   ========================================================================== */
.discovery-hub-section {
  padding: 60px 0 30px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  position: relative;
}

.hub-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 36px;
}

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

.hub-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1.5px solid #e2e8f0;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  color: inherit;
}

.hub-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #16a34a, #22c55e);
  transition: height 0.3s ease;
}

.hub-card.hub-salt::before {
  background: linear-gradient(90deg, #0284c7, #38bdf8);
}

.hub-card.hub-category::before {
  background: linear-gradient(90deg, #7c3aed, #a855f7);
}

.hub-card.hub-offers::before {
  background: linear-gradient(90deg, #ea580c, #f97316);
}

.hub-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.16);
  border-color: #cbd5e1;
}

.hub-card:hover::before {
  height: 7px;
}

.hub-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.hub-badge {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 9999px;
  background: #eff6ff;
  color: #0284c7;
}

.hub-salt .hub-badge {
  background: #f0fdf4;
  color: #16a34a;
}

.hub-category .hub-badge {
  background: #faf5ff;
  color: #7c3aed;
}

.hub-offers .hub-badge {
  background: #fff7ed;
  color: #ea580c;
}

.hub-icon-circle {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  background: #f8fafc;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.hub-card:hover .hub-icon-circle {
  transform: scale(1.1) rotate(5deg);
}

.hub-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.hub-card-desc {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 20px;
}

.hub-sample-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.hub-pill {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  transition: all 0.2s ease;
}

.hub-card:hover .hub-pill {
  border-color: #cbd5e1;
  background: #ffffff;
}

.hub-card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
}

.hub-salt .hub-card-action {
  color: #0284c7;
}

.hub-category .hub-card-action {
  color: #7c3aed;
}

.hub-offers .hub-card-action {
  color: #ea580c;
}

.hub-arrow-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.hub-card:hover .hub-arrow-btn {
  transform: translateX(4px);
  background: #0f172a;
  color: #fff;
}

@media (max-width: 992px) {
  .hub-cards-grid {
    grid-template-columns: 1fr;
  }
}

