/* ===================================================================
   NAMRA ENTERPRISE - MODERN DENTAL PRODUCT BROCHURE & CATALOG STYLES
   =================================================================== */

:root {
  --primary: #d32f2f;
  --primary-dark: #b71c1c;
  --primary-light: #fee2e2;
  --primary-glow: rgba(211, 47, 47, 0.2);
  --secondary: #0284c7;
  --secondary-dark: #0369a1;
  --secondary-light: #e0f2fe;
  --dark: #0f172a;
  --dark-surface: #1e293b;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

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

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

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.top-link {
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  transition: color 0.2s;
}

.top-link:hover {
  color: #ffffff;
}

.top-link.highlight {
  color: #fca5a5;
  font-weight: 600;
}

/* ===================================================================
   MAIN HEADER / NAVIGATION
   =================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 75px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--primary);
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-main);
  padding: 6px 4px;
  position: relative;
  transition: color 0.2s ease;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.25s ease;
}

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

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  box-shadow: 0 2px 8px var(--primary-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #991b1b 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--primary-glow);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-main);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: var(--bg-body);
  border-color: #cbd5e1;
}

.btn-whatsapp {
  background: #25D366;
  color: #ffffff;
}

.btn-whatsapp:hover {
  background: #1eb954;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary-light);
}

.cart-toggle-btn {
  position: relative;
  background: #f1f5f9;
  color: var(--text-main);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.cart-toggle-btn:hover {
  background: #e2e8f0;
}

.cart-badge {
  background: var(--primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  min-width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-main);
}

/* ===================================================================
   HERO SECTION
   =================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #fef2f2 60%, #fff1f2 100%);
  padding: 60px 0 70px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(211, 47, 47, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fee2e2;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
  border: 1px solid rgba(211, 47, 47, 0.2);
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.hero-title span.highlight-red {
  color: var(--primary);
  position: relative;
}

.hero-subtitle {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.stat-item h3 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
}

/* Hero Right: Brochure Card Preview */
.hero-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.brochure-preview-img-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  aspect-ratio: 1 / 1.35;
  background: #f1f5f9;
  cursor: pointer;
}

.brochure-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.brochure-preview-img-wrapper:hover .brochure-preview-img {
  transform: scale(1.03);
}

.brochure-overlay-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.hero-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

/* ===================================================================
   BRANDS SECTION
   =================================================================== */
.section {
  padding: 70px 0;
}

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

.section-tag {
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.25;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.02rem;
  color: var(--text-muted);
  margin-top: 10px;
}

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

.brand-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.brand-card.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-light), var(--shadow-md);
}

.brand-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.brand-number-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-count-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: #f1f5f9;
  color: var(--text-muted);
}

.brand-name-heading {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
}

.brand-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.brand-card-action {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ===================================================================
   INTERACTIVE PRODUCT CATALOG SECTION
   =================================================================== */
.catalog-section {
  background: #f1f5f9;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.catalog-controls {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.catalog-search-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px;
  align-items: center;
}

.search-box-wrapper {
  position: relative;
  width: 100%;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 1.1rem;
}

.search-input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  outline: none;
  background: #f8fafc;
  transition: all 0.2s;
  font-family: inherit;
}

.search-input:focus {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.filter-select {
  padding: 12px 16px;
  font-size: 0.92rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #ffffff;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  font-family: inherit;
}

.catalog-brand-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.brand-tab-btn {
  background: #f8fafc;
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.brand-tab-btn:hover {
  background: #e2e8f0;
}

.brand-tab-btn.active {
  background: var(--dark);
  color: #ffffff;
  border-color: var(--dark);
}

.brand-tab-btn .tab-count {
  font-size: 0.72rem;
  background: rgba(0,0,0,0.08);
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.brand-tab-btn.active .tab-count {
  background: rgba(255,255,255,0.25);
  color: #fff;
}

.catalog-stats-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.product-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
  position: relative;
}

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

.product-card-top {
  margin-bottom: 12px;
}

.product-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.badge-brand {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.badge-brand.dental-avenue {
  background: #e0f2fe;
  color: #0369a1;
}

.badge-brand.zhermack {
  background: #fee2e2;
  color: #b91c1c;
}

.badge-brand.d-tech, .badge-brand.d-tech-ortho {
  background: #fef3c7;
  color: #b45309;
}

.badge-brand.woodpecker {
  background: #f3e8ff;
  color: #7e22ce;
}

.badge-feature {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  background: #f1f5f9;
  color: var(--text-muted);
}

.product-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.35;
  margin-bottom: 6px;
}

.product-pack-info {
  font-size: 0.8rem;
  color: var(--secondary-dark);
  font-weight: 600;
  background: #f0f9ff;
  display: inline-block;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}

.product-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 16px;
}

.product-card-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.btn-add-quote {
  background: #f8fafc;
  border: 1px solid var(--border);
  color: var(--text-main);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-add-quote:hover {
  background: #e2e8f0;
  border-color: #cbd5e1;
}

.btn-add-quote.added {
  background: #dcfce7;
  color: #15803d;
  border-color: #86efac;
}

.btn-quick-wa {
  background: #25D366;
  color: #ffffff;
  border: none;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-quick-wa:hover {
  background: #1eb954;
}

/* ===================================================================
   SPOTLIGHT SECTIONS (ORTHODONTICS & WOODPECKER EQUIPMENT)
   =================================================================== */
.spotlight-section {
  background: #ffffff;
  padding: 70px 0;
  border-bottom: 1px solid var(--border);
}

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

.spotlight-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.spotlight-feature-box {
  background: #f8fafc;
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--border);
}

.spotlight-feature-box h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.spotlight-feature-box p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ===================================================================
   BROCHURE READER / FLIPBOOK MODAL
   =================================================================== */
.brochure-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.brochure-modal.open {
  display: flex;
}

.brochure-modal-content {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.brochure-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.brochure-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #0f172a;
}

.brochure-viewer-img {
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.brochure-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: #ffffff;
  border-top: 1px solid var(--border);
}

.page-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-counter {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}

/* ===================================================================
   SLIDING WHATSAPP CART DRAWER
   =================================================================== */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -480px;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: #ffffff;
  z-index: 1100;
  box-shadow: -10px 0 25px rgba(0,0,0,0.15);
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.cart-drawer.open {
  right: 0;
}

.cart-drawer-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
}

.cart-drawer-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
}

.close-drawer-btn {
  background: transparent;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text-muted);
}

.cart-items-container {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  gap: 12px;
}

.cart-item-info h5 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
}

.cart-item-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.cart-qty-ctrl {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: #ffffff;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.doctor-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.doctor-input {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-family: inherit;
  outline: none;
}

.doctor-input:focus {
  border-color: var(--primary);
}

/* ===================================================================
   CONTACT & LOCATION SECTION
   =================================================================== */
.contact-section {
  background: #ffffff;
  padding: 70px 0;
  border-top: 1px solid var(--border);
}

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

.contact-info-card {
  background: #f8fafc;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
}

.contact-person-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

.contact-phone-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0;
}

.contact-phone-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.contact-phone-item .phone-icon {
  font-size: 1.3rem;
  color: var(--primary);
}

.contact-phone-item .phone-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.contact-phone-item .phone-val {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
}

.address-box {
  background: #ffffff;
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.inquiry-form-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

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

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: inherit;
  outline: none;
  background: #f8fafc;
  transition: all 0.2s;
}

.form-input:focus, .form-textarea:focus {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

/* ===================================================================
   FLOATING ACTION BUTTONS
   =================================================================== */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  box-shadow: var(--shadow-xl);
  cursor: pointer;
  transition: all 0.2s;
}

.floating-btn.wa {
  background: #25D366;
}

.floating-btn.call {
  background: var(--primary);
}

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

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer {
  background: var(--dark);
  color: #94a3b8;
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

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

.footer-col h4 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.82rem;
}

/* ===================================================================
   RESPONSIVE DESIGN (TABLETS & PHONES)
   =================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .spotlight-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar-left {
    display: none;
  }
  .top-bar .container {
    justify-content: center;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .brands-grid {
    grid-template-columns: 1fr;
  }
  .catalog-search-row {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cart-drawer {
    max-width: 100%;
  }
}


/* ===================================================================
   NAMRA DENTAL AI ASSISTANT CHATBOT STYLES
   =================================================================== */

.chatbot-toggle-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 998;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  padding: 10px 18px 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.35);
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.chatbot-toggle-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -5px rgba(15, 23, 42, 0.45);
  border-color: var(--primary);
}

.chatbot-toggle-btn.active {
  background: var(--primary);
  border-color: var(--primary-dark);
}

.chatbot-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.chatbot-badge-text {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.chatbot-pulse-dot {
  width: 9px;
  height: 9px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: chatbotPulse 2s infinite;
}

@keyframes chatbotPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Chat Window */
.chatbot-window {
  position: fixed;
  bottom: 84px;
  left: 24px;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 540px;
  max-height: calc(100vh - 110px);
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.25);
  z-index: 999;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.96);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.chatbot-window.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* Chat Header */
.chatbot-header {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-surface) 100%);
  color: #ffffff;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.chatbot-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chatbot-avatar {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.online-indicator {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background: #22c55e;
  border: 2px solid var(--dark);
  border-radius: 50%;
}

.chatbot-header-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.chatbot-header-sub {
  font-size: 0.72rem;
  color: #94a3b8;
}

.chatbot-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.chatbot-ctrl-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #cbd5e1;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.chatbot-ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Chat Messages */
.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-msg {
  display: flex;
  flex-direction: column;
  max-width: 86%;
  animation: fadeInMsg 0.2s ease;
}

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

.chat-msg.bot {
  align-self: flex-start;
}

.chat-msg.user {
  align-self: flex-end;
}

.chat-bubble-content {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.45;
}

.chat-msg.bot .chat-bubble-content {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  border-bottom-left-radius: 4px;
}

.chat-msg.user .chat-bubble-content {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

.chat-bubble-time {
  font-size: 0.68rem;
  color: var(--text-light);
  margin-top: 3px;
  padding: 0 4px;
}

.chat-msg.user .chat-bubble-time {
  text-align: right;
}

/* Typing Indicator */
.typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 12px 16px;
}

.typing-dots span {
  width: 6px;
  height: 6px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: typingBlink 1.4s infinite;
}

.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBlink {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* Chat Product Cards */
.chat-products-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.chat-prod-card {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
}

.chat-prod-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dark);
}

.chat-prod-brand {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.chat-prod-actions {
  display: flex;
  gap: 6px;
}

.chat-btn-add, .chat-btn-wa {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
}

.chat-btn-add {
  background: #e2e8f0;
  color: var(--dark);
}

.chat-btn-add:hover {
  background: #cbd5e1;
}

.chat-btn-wa {
  background: #25D366;
  color: #fff;
}

.chat-btn-wa:hover {
  background: #1eb954;
}

/* Action Buttons in Chat */
.chat-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.chat-action-btn {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.chat-action-btn.primary {
  background: #e0f2fe;
  color: var(--secondary-dark);
}

.chat-action-btn.wa {
  background: #dcfce7;
  color: #15803d;
}

/* Quick Suggestion Chips */
.chatbot-chips-scroll {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 8px 12px;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  white-space: nowrap;
  scrollbar-width: none;
}

.chatbot-chips-scroll::-webkit-scrollbar {
  display: none;
}

.chat-chip {
  background: #f1f5f9;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.15s;
}

.chat-chip:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
  border-color: rgba(211, 47, 47, 0.3);
}

/* Input Form */
.chatbot-input-form {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  background: #ffffff;
  border-top: 1px solid var(--border);
  gap: 8px;
}

.chatbot-input-field {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-family: inherit;
  outline: none;
  background: #f8fafc;
}

.chatbot-input-field:focus {
  border-color: var(--primary);
  background: #ffffff;
}

.chatbot-send-btn {
  background: var(--primary);
  color: #ffffff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}

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

/* Mobile responsiveness for chatbot */
@media (max-width: 480px) {
  .chatbot-window {
    left: 12px;
    right: 12px;
    width: auto;
    bottom: 80px;
    height: 75vh;
  }
  .chatbot-toggle-btn {
    left: 16px;
    bottom: 20px;
    padding: 8px 14px;
  }
}
