:root {
  --ck-primary: #0065ff;
  --ck-primary-dark: #004ec4;
  --ck-navy: #081b3b;
  --ck-navy-card: #12284e;
  --ck-bg-soft: #f4f7fb;
  --ck-green: #00a878;
  --ck-wa-dark: #075e54;
  --ck-wa-green: #25d366;
}

body {
  font-family: 'Inter', 'Noto Sans Tamil', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1f2937;
  background-color: #ffffff;
}

/* Crisp Policybazaar-Style Navbar */
.ck-navbar {
  background: #ffffff;
  border-bottom: 1px solid #e5ecf6;
  box-shadow: 0 2px 12px rgba(8, 27, 59, 0.05);
}

.ck-navbar .nav-link {
  font-size: 0.92rem;
  padding: 0.5rem 0.75rem !important;
  white-space: nowrap;
  border-radius: 8px;
}

.ck-navbar .nav-link:hover,
.ck-navbar .nav-link.active {
  background-color: #eef5ff;
  color: var(--ck-primary) !important;
}

.ck-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0065ff, #00a878);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
}

.ck-mega-dropdown {
  min-width: 880px;
  border: 1px solid #e5ecf6;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(23, 43, 77, 0.14);
}

@media (max-width: 991.98px) {
  .ck-mega-dropdown { min-width: 100%; }
}

.ck-hero {
  background: linear-gradient(135deg, #eef5ff 0%, #f9fbff 60%, #e9fbf5 100%);
  padding: 2.5rem 0 2rem;
}

/* Policybazaar-Style 7-Column Homepage Product Tile Grid */
.ck-pb-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1.1rem 0.9rem;
}

@media (max-width: 1199.98px) {
  .ck-pb-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 575.98px) {
  .ck-pb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.ck-pb-item {
  text-decoration: none;
  color: #1e293b;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ck-pb-item:hover {
  color: var(--ck-primary);
}

.ck-pb-tile {
  width: 100%;
  height: 100px;
  background: #f1f5ff;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 16px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.ck-pb-item:hover .ck-pb-tile {
  background: #e8f0ff;
  box-shadow: 0 10px 22px rgba(0, 101, 255, 0.14);
}

.ck-pb-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  font-size: 0.66rem;
  font-weight: 700;
  padding: 2px 6px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ck-pb-ribbon.ribbon-success { background: #6ee7b7; color: #064e3b; }
.ck-pb-ribbon.ribbon-info    { background: #93c5fd; color: #1e3a8a; }
.ck-pb-ribbon.ribbon-primary { background: #e9d5ff; color: #4c1d95; }
.ck-pb-ribbon.ribbon-warning { background: #d1fae5; color: #065f46; }
.ck-pb-ribbon.ribbon-danger  { background: #fecdd3; color: #881337; }

.ck-pb-label {
  margin-top: 0.5rem;
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.25;
}

.ck-product-card {
  background: #ffffff;
  border: 1px solid #e6edf7;
  border-radius: 14px;
  padding: 1rem 0.85rem;
  text-align: center;
  height: 100%;
  position: relative;
  text-decoration: none;
  color: #172b4d;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ck-product-card:hover {
  border-color: var(--ck-primary);
  box-shadow: 0 12px 26px rgba(0, 101, 255, 0.12);
  color: var(--ck-primary);
}

.ck-product-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #eef5ff;
  color: var(--ck-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 0.65rem;
}

.ck-badge-pill {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.ck-quote-card {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
}

.ck-quote-card:hover {
  box-shadow: 0 10px 25px rgba(23, 43, 77, 0.08);
}

.ck-compare-tray {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #172b4d;
  color: #fff;
  z-index: 1040;
  padding: 0.85rem 1rem;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.18);
}

/* Group Brands Strip + Policybazaar-Style Footer */
.ck-group-brands {
  background: #ffffff;
  border-top: 1px solid #e5ecf6;
  padding: 1.5rem 0;
}

.ck-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #f8fafc;
  font-weight: 700;
  font-size: 0.85rem;
  color: #0f172a;
}

.ck-footer {
  background: var(--ck-navy);
  color: #cbd5e1;
  font-size: 0.85rem;
}

.ck-footer a {
  color: #cbd5e1;
  text-decoration: none;
}

.ck-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.ck-footer-toggle {
  background: none;
  border: 0;
  color: #e2e8f0;
  padding: 0.25rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
  text-align: left;
  width: 100%;
}

.ck-footer-toggle:hover {
  color: #ffffff;
}

.ck-footer-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid #94a3b8;
  font-size: 0.72rem;
  line-height: 1;
  flex-shrink: 0;
}

.ck-footer-sublist {
  padding-left: 1.5rem;
  margin-bottom: 0.4rem;
}

.ck-footer-sublist a {
  display: block;
  padding: 0.15rem 0;
  font-size: 0.8rem;
  color: #94a3b8;
}

.ck-footer-bar {
  background: var(--ck-navy-card);
  border-radius: 10px;
  padding: 0.9rem 1.25rem;
}

.ck-pay-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #0f172a;
  font-weight: 800;
  font-size: 0.7rem;
  padding: 0.28rem 0.55rem;
  border-radius: 5px;
  letter-spacing: 0.3px;
}

.ck-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  font-size: 0.9rem;
}

.ck-social-btn:hover {
  background: var(--ck-primary);
  text-decoration: none !important;
}

/* Admin Sidebar */
.ck-admin-sidebar {
  min-height: 100vh;
  background: #111c33;
  color: #e2e8f0;
}

.ck-admin-sidebar .nav-link {
  color: #cbd5e1;
  border-radius: 8px;
  padding: 0.55rem 0.85rem;
  margin-bottom: 0.2rem;
}

.ck-admin-sidebar .nav-link:hover,
.ck-admin-sidebar .nav-link.active {
  background: rgba(0, 101, 255, 0.22);
  color: #ffffff;
}

/* Floating Mohan Virtual Assistant Widget */
.ck-wa-launcher {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1060;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #0065ff, #004ec4);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 0.65rem 1.2rem;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(0, 101, 255, 0.35);
  cursor: pointer;
}

.ck-wa-launcher:hover {
  background: linear-gradient(135deg, #0052cc, #003e9c);
}

.ck-wa-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: #fff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.ck-wa-window {
  position: fixed;
  right: 22px;
  bottom: 84px;
  width: 365px;
  max-width: calc(100vw - 28px);
  height: 510px;
  max-height: calc(100vh - 110px);
  background: #f8fafc;
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.28);
  z-index: 1060;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.ck-wa-header {
  background: linear-gradient(135deg, #081b3b, #0065ff);
  color: #ffffff;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ck-wa-body {
  flex: 1;
  overflow-y: auto;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.ck-wa-msg {
  max-width: 86%;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  font-size: 0.83rem;
  line-height: 1.4;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  word-wrap: break-word;
}

.ck-wa-msg.bot {
  align-self: flex-start;
  background: #ffffff;
  color: #111827;
  border: 1px solid #e2e8f0;
  border-top-left-radius: 2px;
}

.ck-wa-msg.user {
  align-self: flex-end;
  background: #e0edff;
  color: #0f172a;
  border-top-right-radius: 2px;
}

.ck-wa-time {
  font-size: 0.66rem;
  color: #6b7280;
  text-align: right;
  margin-top: 2px;
}

.ck-wa-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
}

.ck-wa-chip {
  border: 1px solid #0065ff;
  background: #ffffff;
  color: #0065ff;
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
}

.ck-wa-chip:hover {
  background: #0065ff;
  color: #ffffff;
}

.ck-wa-input-row {
  display: flex;
  gap: 0.4rem;
  padding: 0.55rem 0.7rem;
  background: #f0f2f5;
  border-top: 1px solid #e2e8f0;
}

/* Interactive Calculators Suite */
.ck-calc-hero {
  background: linear-gradient(135deg, #eef5ff 0%, #f8fbff 60%, #e9fbf5 100%);
}

.ck-calc-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  height: 100%;
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #1e293b;
  text-decoration: none;
}

.ck-calc-tab:hover {
  border-color: var(--ck-primary);
  box-shadow: 0 8px 20px rgba(0, 101, 255, 0.1);
  color: var(--ck-primary);
}

.ck-calc-tab.active {
  background: var(--ck-navy);
  border-color: var(--ck-navy);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(8, 27, 59, 0.2);
}

.ck-calc-tab-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #eef5ff;
  color: var(--ck-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.ck-calc-tab.active .ck-calc-tab-icon {
  background: rgba(255, 255, 255, 0.14);
  color: #38bdf8;
}

.ck-calc-tab-sub {
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.25;
}

.ck-calc-tab.active .ck-calc-tab-sub {
  color: #cbd5e1;
}

.ck-calc-summary {
  background: linear-gradient(155deg, #081b3b 0%, #102a56 65%, #0c3547 100%);
}

.ck-calc-breakdown {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.ck-calc-breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  padding: 0.35rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.14);
}

.ck-calc-breakdown-row:last-child {
  border-bottom: 0;
}

.ck-calc-range {
  accent-color: var(--ck-primary);
}

.ck-calc-preset {
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #334155;
  border-radius: 999px;
  padding: 0.18rem 0.65rem;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
}

.ck-calc-preset:hover {
  border-color: var(--ck-primary);
  background: #eef5ff;
  color: var(--ck-primary);
}

.ck-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 5px;
}

.ck-calc-donut {
  flex-shrink: 0;
}

*, *::before, *::after {
  transition: none !important;
  animation: none !important;
  scroll-behavior: auto !important;
}

@media (min-width: 992px) {
  .row-cols-lg-7 > * {
    flex: 0 0 auto;
    width: 14.285714%;
  }
}
