/*
Theme Name: CompareKro360
Theme URI: https://comparekro360.in/
Author: CompareKro360 Team
Author URI: https://comparekro360.in/
Description: Complete production-ready WordPress theme for CompareKro360 - Indian Price-Comparison & Deal Discovery Engine. "Sahi Product, Sahi Daam".
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: comparekro360
*/

:root {
  --color-primary-navy: #0B1B33;
  --color-navy-dark: #071224;
  --color-bg-page: #F4F6F8;
  --color-bg-cream: #FAF9F6;
  --color-card-bg: #FFFFFF;
  --color-card-border: #E7EBF0;
  
  /* Primary & Action Colors */
  --color-primary-amber: #F5B400;
  --color-amber-hover: #DDA200;
  --color-deal-green: #1F9D55;
  --color-deal-green-hover: #168045;
  --color-best-price: #14804A;
  --color-discount-red: #E53935;
  --color-accent-orange: #F26B1D;
  --color-gold-border: #E2B43A;
  --color-active-nav: #2563EB;
  
  /* Channels */
  --color-telegram: #229ED9;
  --color-whatsapp: #25D366;
  
  /* Typography & Neutrals */
  --color-text-main: #111827;
  --color-text-muted: #6B7280;
  --color-text-light: #9CA3AF;
  --font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  
  /* Elevation & System */
  --shadow-card: 0 1px 4px rgba(11, 27, 51, 0.05);
  --shadow-hover: 0 4px 12px rgba(11, 27, 51, 0.08);
  --radius-card: 14px;
  --radius-pill: 9999px;
  --radius-sm: 8px;
  --max-width-container: 1100px;
}

/* Reset & Viewport Constraints */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 14px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

@media (min-width: 769px) {
  html {
    font-size: 15px;
  }
}

body {
  font-family: var(--font-family-base);
  background-color: var(--color-bg-page);
  color: var(--color-text-main);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

/* 5. Mobile Body Safe Clearance: Set padding-bottom: 74px !important so no text/button is obscured */
@media (max-width: 768px) {
  body, .site-content, .site-main {
    padding-bottom: 74px !important;
  }
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.15s ease, color 0.15s ease;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: var(--max-width-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 14px;
  padding-right: 14px;
}

/* ==========================================================================
   2. SLIM & UNIFIED HEADER ARCHITECTURE (DESKTOP & MOBILE)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #0B1B33;
  color: #FFFFFF;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  padding: 0;
}

/* Desktop Header: Clean alignment, padding 10px 16px */
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  gap: 16px;
}

/* Modern CompareKro360 Vector Wordmark (Center-vertical aligned) */
.brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  line-height: 1;
}

.brand-highlight {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-amber);
  color: #0B1B33;
  padding: 2px 7px;
  border-radius: 6px;
  margin-left: 4px;
  font-weight: 900;
  font-size: 0.9em;
  line-height: 1;
}

.brand-highlight svg {
  width: 13px;
  height: 13px;
  margin-left: 2px;
  color: #0B1B33;
}

/* Desktop Center Rounded Search Input (Height: 38px, max-width: 440px) */
.header-search-form.desktop-search {
  flex: 1;
  max-width: 440px;
  position: relative;
}

.header-search-form.desktop-search .header-search-input {
  width: 100%;
  height: 38px;
  min-height: 38px;
  padding: 0 42px 0 16px;
  border-radius: 20px;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  box-shadow: 0 2px 8px rgba(11, 27, 51, 0.06);
  color: #111827;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.header-search-form.desktop-search .header-search-input:focus {
  border-color: #F5B400;
  box-shadow: 0 0 0 3px rgba(245, 180, 0, 0.25);
}

.header-search-form.desktop-search .header-search-btn {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #F5B400;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0B1B33;
  transition: background-color 0.15s ease, transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.header-search-form.desktop-search .header-search-btn:hover {
  background: #E5A800;
  transform: translateY(-50%) scale(1.06);
}

.header-search-form.desktop-search .header-search-btn:active {
  transform: translateY(-50%) scale(0.92);
}

/* Header Right Actions: Clean Minimalist Notification Bell Icon */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-bell-btn {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #F5B400;
  transition: background-color 0.15s ease, transform 0.15s ease;
  text-decoration: none;
}

.header-bell-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
}

.header-bell-btn:active {
  transform: scale(0.95);
}

.bell-pulse-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #EF4444;
  box-shadow: 0 0 0 2px #0B1B33;
  animation: bellPulse 1.8s infinite;
}

@keyframes bellPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.35);
    opacity: 0.75;
  }
}

/* Mobile Header (< 768px):
   Header Bar: Deep navy #0B1B33, tidy padding 10px 14px. Clean logo left, bell right. */
@media (max-width: 768px) {
  .header-top {
    padding: 10px 14px;
    gap: 10px;
  }
  
  .brand-logo-wrap {
    height: 26px;
  }
  
  .brand-name {
    font-size: 17px;
    line-height: 26px;
  }
  
  .brand-highlight {
    padding: 2px 5px;
    font-size: 0.85em;
  }
  
  .brand-highlight svg {
    width: 11px;
    height: 11px;
  }
  
  .header-search-form.desktop-search {
    display: none !important;
  }
  
  .header-bell-btn {
    width: 34px;
    height: 34px;
  }
}

/* Mobile Secondary Search Bar: Constrained to max-width: 90% */
.mobile-search-bar {
  display: none;
  background-color: #0B1B33;
  padding: 0;
  margin: 0;
}

@media (max-width: 768px) {
  .mobile-search-bar {
    display: block;
    padding: 0;
    margin: 0;
  }

  .mobile-search-wrapper {
    max-width: 90%;
    margin: 6px auto 10px auto;
  }
  
  .mobile-search-form {
    position: relative;
    width: 100%;
    height: 38px;
    min-height: 38px;
  }
  
  .mobile-search-form .header-search-input {
    width: 100%;
    height: 38px;
    min-height: 38px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 400;
    padding: 6px 38px 6px 12px;
    border-radius: 20px;
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    box-shadow: 0 2px 8px rgba(11, 27, 51, 0.06);
    color: #111827;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
  }

  .mobile-search-form .header-search-input:focus {
    border-color: #F5B400;
    box-shadow: 0 0 0 3px rgba(245, 180, 0, 0.25);
  }
  
  .mobile-search-form .header-search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #F5B400;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0B1B33;
    transition: background-color 0.15s ease, transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .mobile-search-form .header-search-btn:hover {
    background: #E5A800;
  }

  .mobile-search-form .header-search-btn:active {
    transform: translateY(-50%) scale(0.92);
  }
}


/* ==========================================================================
   STORE VECTOR SVGS (LOCKED 20px HEIGHT, NO BROKEN TEXT)
   ========================================================================== */
.store-vector-svg {
  height: 20px;
  max-height: 20px;
  width: auto;
  max-width: 96px;
  object-fit: contain;
  vertical-align: middle;
  display: inline-block;
}

.store-badge-pill {
  background: #F3F4F6;
  color: #374151;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
}

/* ==========================================================================
   3. SINGLE PRODUCT / DEAL PAGE (`single-deal.php`) - TARGET COMPACT CARD
   ========================================================================== */

/* 1. ORANGE LIVE TICKER (Directly below Header) */
.single-deal-live-ticker {
  display: block;
  width: 100%;
  background-color: #F97316;
  color: #FFFFFF;
  text-decoration: none;
  padding: 8px 14px;
  box-sizing: border-box;
  transition: background-color 0.15s ease;
  border-bottom: 1px solid #EA580C;
}

.single-deal-live-ticker:hover {
  background-color: #EA580C;
  color: #FFFFFF;
}

.single-deal-live-ticker .ticker-content-wrap {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.single-deal-live-ticker .ticker-live-pill {
  background-color: #C2410C;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 2.5px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.2;
}

.single-deal-live-ticker .ticker-msg-text {
  font-size: 12px;
  font-weight: 500;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.1px;
}

@media (max-width: 600px) {
  .single-deal-live-ticker {
    padding: 7px 10px;
  }
  .single-deal-live-ticker .ticker-content-wrap {
    justify-content: flex-start;
    gap: 8px;
  }
  .single-deal-live-ticker .ticker-msg-text {
    font-size: 11px;
  }
}

/* Page Wrap & Container Constraints */
.single-deal-page-wrap {
  padding-top: 10px;
  padding-bottom: 36px;
  background-color: #F4F6F8;
  min-height: calc(100vh - 120px);
}

.single-deal-container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 12px;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .single-deal-container {
    max-width: 520px;
  }
}

/* 2. BREADCRUMB */
.single-deal-breadcrumb {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #8B96A5;
  margin: 6px 0 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  box-sizing: border-box;
}

.single-deal-breadcrumb a {
  color: #8B96A5;
  text-decoration: none;
  flex-shrink: 0;
  transition: color 0.15s ease;
}

.single-deal-breadcrumb a:hover {
  color: #0B1B33;
}

.single-deal-breadcrumb .breadcrumb-sep {
  color: #8B96A5;
  flex-shrink: 0;
  font-size: 10px;
}

.single-deal-breadcrumb .breadcrumb-curr {
  color: #8B96A5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

/* 3. CARD WRAPPER (.single-deal-card) */
.single-deal-card {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid #E7EBF0;
  padding: 12px;
  box-shadow: 0 2px 12px rgba(11, 27, 51, 0.05);
  box-sizing: border-box;
  width: 100%;
}

/* 4. PRODUCT IMAGE CONTAINER */
.product-image-container {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #F8FAFC;
  width: 100%;
  height: 180px;
  max-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.product-hero-img {
  width: 100%;
  height: 180px;
  max-height: 180px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

/* Top-left badge: solid red (#E53935) */
.product-discount-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #E53935;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  line-height: 1.2;
  z-index: 2;
  box-shadow: 0 1px 3px rgba(229, 57, 53, 0.35);
  letter-spacing: 0.2px;
}

/* Top-right actions: Round white circular buttons for Wishlist and Share */
.product-top-actions {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
}

.action-circle-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #E7EBF0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #4B5563;
  padding: 0;
  transition: transform 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.action-circle-btn:hover {
  transform: scale(1.06);
  color: #0B1B33;
}

.action-circle-btn.fav-btn.active {
  color: #E53935;
}

/* 5. STORE & TIME META ROW */
.store-time-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  margin-bottom: 4px;
  width: 100%;
  box-sizing: border-box;
}

.store-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.store-pill .store-vector-svg {
  height: 18px;
  width: auto;
  max-width: 90px;
  display: block;
}

.deal-time-ago {
  font-size: 11px;
  color: #8B96A5;
  font-weight: 500;
}

/* 6. PRODUCT TITLE */
.single-deal-title {
  font-size: 15px;
  font-weight: 700;
  color: #0B1B33;
  line-height: 1.3;
  margin: 6px 0;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* 7. COMPACT PRICE & SAVINGS ROW */
.compact-price-savings-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  margin: 8px 0;
  width: 100%;
  box-sizing: border-box;
}

.price-best-val {
  font-size: 20px;
  font-weight: 800;
  color: #14804A;
  line-height: 1;
  white-space: nowrap;
}

.price-mrp-strike {
  font-size: 13px;
  color: #8B96A5;
  text-decoration: line-through;
  line-height: 1;
  white-space: nowrap;
}

.savings-tag-green {
  background: #1F9D55;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  line-height: 1.2;
}

/* 8. GREEN PURCHASE BUTTON */
.buy-deal-btn {
  width: 100%;
  height: 42px;
  background: #1F9D55;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  transition: background-color 0.15s ease, transform 0.1s ease;
  box-shadow: 0 2px 6px rgba(31, 157, 85, 0.25);
  letter-spacing: 0.3px;
}

.buy-deal-btn:hover {
  background: #168045;
  color: #FFFFFF;
  transform: translateY(-1px);
}

.btn-deal-expired {
  background: #9CA3AF !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}

/* 9. THREE TRUST ICONS ROW */
.three-trust-icons-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #4B5563;
  margin-top: 8px;
  margin-bottom: 4px;
  gap: 4px;
  flex-wrap: nowrap;
  width: 100%;
  box-sizing: border-box;
}

.three-trust-icons-row .trust-item {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-weight: 600;
  white-space: nowrap;
}

.three-trust-icons-row .trust-check {
  color: #1F9D55;
  font-weight: 800;
}

.three-trust-icons-row .trust-lock {
  font-size: 11px;
}

.three-trust-icons-row .trust-clock {
  font-size: 11px;
}

.three-trust-icons-row .trust-item-countdown {
  color: #E53935;
  font-weight: 700;
}

.three-trust-icons-row .deal-countdown-timer {
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.2px;
}

@media (max-width: 375px) {
  .three-trust-icons-row {
    font-size: 10px;
    gap: 2px;
  }
  .savings-tag-green {
    font-size: 10px;
    padding: 2px 6px;
  }
}

/* 7. Deal Summary & Pros/Cons: Cleanly underneath the pricing block */
.deal-editorial-wrapper {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.deal-editorial-card {
  background: #FFFFFF;
  border: 1px solid var(--color-card-border);
  border-radius: 14px;
  padding: 16px;
  box-shadow: var(--shadow-card);
}

.editorial-heading {
  font-size: 15px;
  font-weight: 800;
  color: #0B1B33;
  margin-bottom: 8px;
}

.editorial-summary-body {
  font-size: 13px;
  line-height: 1.55;
  color: #4B5563;
}

.editorial-summary-body p {
  margin-bottom: 6px;
}
.editorial-summary-body p:last-child {
  margin-bottom: 0;
}

/* Compact Pros (Green checkmarks) and Cons (Red crosses) */
.deal-pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 768px) {
  .deal-pros-cons-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.pro-con-box {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 14px;
}

.pro-box {
  border: 1.5px solid #BBF7D0;
  background: #F0FDF4;
}

.pro-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  color: #166534;
  margin-bottom: 6px;
}

.con-box {
  border: 1.5px solid #FECACA;
  background: #FEF2F2;
}

.con-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  color: #991B1B;
  margin-bottom: 6px;
}

.pro-con-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.pro-con-list li {
  font-size: 12px;
  line-height: 1.4;
  color: #374151;
  position: relative;
  padding-left: 14px;
}

.pro-box .pro-con-list li::before {
  content: "•";
  color: #16A34A;
  font-weight: 900;
  position: absolute;
  left: 0;
}

.con-box .pro-con-list li::before {
  content: "•";
  color: #DC2626;
  font-weight: 900;
  position: absolute;
  left: 0;
}

/* ==========================================================================
   4. HOMEPAGE REFACTORING (`front-page.php`)
   ========================================================================== */
/* Hero Section: Cream background (#FAF9F6) */
.hero-cream-section {
  background-color: var(--color-bg-cream);
  border-bottom: 1px solid #EBE9E4;
  padding: 32px 0 28px;
  text-align: center;
}

.hero-box {
  max-width: 680px;
  margin: 0 auto;
}

/* ==========================================================================
   320x200 MULTI-CARD PROMO & COMMUNITY HERO SLIDER
   ========================================================================== */
.ck-hero-carousel-container {
  width: 100%;
  max-width: 330px;
  height: 190px;
  margin: 8px auto 14px auto;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 14px rgba(11, 27, 51, 0.08);
  box-sizing: border-box;
}

@media (max-width: 360px) {
  .ck-hero-carousel-container {
    max-width: calc(100% - 16px);
  }
}

.ck-hero-carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.ck-hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateX(16px);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s ease;
  box-sizing: border-box;
}

.ck-hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  z-index: 2;
}

.ck-slide-inner {
  height: 100%;
  padding: 11px 14px 18px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  text-align: left;
}

.ck-slide-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.ck-slide-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.4px;
  padding: 2px 7px;
  border-radius: 12px;
  text-transform: uppercase;
  line-height: 1.2;
}

.live-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #EF4444;
  display: inline-block;
  animation: pulse-live 1.4s infinite ease-in-out;
}

/* Slide 1: Brand Loot & Price Drops */
.slide-brand-loot {
  background: linear-gradient(135deg, #0B1B33 0%, #162E56 100%);
  color: #FFFFFF;
}

.slide-brand-loot .pill-amber {
  background: rgba(245, 180, 0, 0.18);
  color: #F5B400;
  border: 1px solid rgba(245, 180, 0, 0.35);
}

.slide-brand-loot .ck-slide-title {
  font-size: 15px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 2px 0 1px;
  line-height: 1.25;
  letter-spacing: -0.2px;
}

.slide-brand-loot .ck-slide-sub {
  font-size: 10.5px;
  color: #CBD5E1;
  line-height: 1.35;
  margin: 0;
}

.ck-slide-meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin: 3px 0;
}

.mini-brand-tag {
  font-size: 9.5px;
  font-weight: 800;
  padding: 1.5px 6px;
  border-radius: 4px;
  line-height: 1.2;
}

.mini-brand-tag.tag-amazon {
  background: #232F3E;
  color: #FF9900;
  border: 1px solid rgba(255, 153, 0, 0.35);
}

.mini-brand-tag.tag-flipkart {
  background: #2874F0;
  color: #FFFFFF;
}

.mini-deal-tag {
  font-size: 9.5px;
  font-weight: 800;
  color: #F5B400;
  background: rgba(245, 180, 0, 0.15);
  padding: 1.5px 6px;
  border-radius: 4px;
}

/* Slide 2: Why Join Telegram? */
.slide-telegram {
  background: linear-gradient(135deg, #1D8ECD 0%, #0B1B33 100%);
  color: #FFFFFF;
}

.slide-telegram .pill-telegram {
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.ck-slide-title {
  font-size: 14px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 2px 0 2px;
  line-height: 1.25;
  letter-spacing: -0.2px;
}

.ck-slide-perks {
  list-style: none;
  padding: 0;
  margin: 1px 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ck-slide-perks li {
  font-size: 10px;
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 5px;
}

.slide-telegram .ck-slide-perks li {
  color: #E0F2FE;
}

.slide-whatsapp .ck-slide-perks li {
  color: #DCFCE7;
}

.perk-icon {
  font-size: 10px;
  font-weight: 900;
  flex-shrink: 0;
}

.slide-telegram .perk-icon {
  color: #38BDF8;
}

.slide-whatsapp .perk-icon {
  color: #4ADE80;
}

/* Slide 3: Why Join WhatsApp Community? */
.slide-whatsapp {
  background: linear-gradient(135deg, #0F5132 0%, #0B1B33 100%);
  color: #FFFFFF;
}

.slide-whatsapp .pill-whatsapp {
  background: rgba(37, 211, 102, 0.2);
  color: #4ADE80;
  border: 1px solid rgba(74, 222, 128, 0.35);
}

/* CTA Buttons inside Slides */
.ck-slide-action {
  margin-top: 3px;
}

.ck-slide-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 30px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease, background-color 0.15s ease;
  box-sizing: border-box;
}

.ck-slide-btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.ck-slide-btn:active {
  transform: scale(0.97);
}

.ck-slide-btn.btn-amber {
  background: #F5B400;
  color: #0B1B33;
  box-shadow: 0 2px 6px rgba(245, 180, 0, 0.3);
}

.ck-slide-btn.btn-telegram-slide {
  background: #229ED9;
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(34, 158, 217, 0.35);
}

.ck-slide-btn.btn-whatsapp-slide {
  background: #25D366;
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(37, 211, 102, 0.35);
}

/* 3 Subtle Carousel Dots */
.ck-carousel-dots {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 10;
}

.ck-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.ck-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.ck-dot.active {
  width: 16px;
  border-radius: 4px;
  background: #F5B400;
}

.hero-main-title {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #0B1B33;
  line-height: 1.25;
  margin-bottom: 8px;
}

@media (min-width: 769px) {
  .hero-main-title {
    font-size: 36px;
  }
}

.hero-amber-accent {
  background: linear-gradient(135deg, #F5B400 0%, #D97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  font-weight: 900;
}

.hero-tagline {
  font-family: var(--font-family-base);
  font-size: 15px;
  color: #4B5563;
  letter-spacing: 0.15px;
  line-height: 1.45;
  margin-bottom: 16px;
  font-weight: 500;
}

/* Store Vector Row: Modern solid white cards with smooth bounce and glow */
.hero-store-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.hero-store-chip {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(11, 27, 51, 0.06);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.hero-store-chip:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 14px rgba(11, 27, 51, 0.12);
  border-color: #CBD5E1;
}

.hero-store-chip:active {
  transform: scale(0.96);
}

.hero-store-chip .store-vector-svg {
  height: 20px;
  max-height: 20px;
  width: auto;
  object-fit: contain;
}

/* 2 Action Buttons (Properly spaced, flex-wrap, NO overlapping) */
.hero-cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background-color: var(--color-primary-amber);
  color: #0B1B33;
  font-weight: 800;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(245, 180, 0, 0.35);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hero-primary:hover {
  background-color: var(--color-amber-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245, 180, 0, 0.35);
}

.btn-hero-secondary {
  background-color: #FFFFFF;
  border: 1px solid #D1D5DB;
  color: #111827;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hero-secondary:hover {
  background-color: #F8FAFC;
  border-color: #CBD5E1;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(11, 27, 51, 0.08);
}

/* Trust Bar Modern Micro-Chips Strip */
.trust-bar-compact {
  background: #FAF9F6;
  border-bottom: 1px solid #E5E7EB;
  padding: 4px 0 10px;
}

.trust-micro-chips-wrap {
  display: flex;
  gap: 6px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 12px 0;
}

.trust-micro-chip {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 20px;
  padding: 5px 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  font-size: 11px;
  font-weight: 600;
  color: #0B1B33;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  line-height: 1.2;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.trust-micro-chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  border-color: #D1D5DB;
}

.trust-chip-icon {
  font-size: 12px;
  line-height: 1;
}

.trust-chip-text {
  letter-spacing: 0.1px;
}

/* "Today's Highest Drop Deals" Section */
.home-deals-section {
  padding: 24px 0;
}

.section-header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.section-title {
  font-size: 18px;
  font-weight: 900;
  color: #0B1B33;
}

.highlight-orange {
  color: var(--color-accent-orange);
}

.section-subtext {
  font-size: 12px;
  color: #6B7280;
}

.section-link-more {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-accent-orange);
  white-space: nowrap;
}

.section-link-more:hover {
  text-decoration: underline;
}

/* Deals Clean Grid: 3 or 4 cols desktop, 2 cols mobile */
.deals-clean-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 769px) {
  .deals-clean-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (min-width: 1024px) {
  .deals-clean-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

.deal-clean-card {
  background: #FFFFFF;
  border: 1px solid var(--color-card-border);
  border-radius: 14px;
  padding: 12px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.deal-clean-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

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

.card-store-badge {
  display: inline-flex;
  align-items: center;
}

.card-discount-tag {
  background-color: var(--color-discount-red);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-pill);
  line-height: 1;
}

.card-thumb-box {
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FAFBFD;
  border-radius: 8px;
  padding: 6px;
  margin-bottom: 8px;
}

.card-thumb-box img {
  max-height: 128px;
  max-width: 100%;
  object-fit: contain;
}

.card-product-title {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  line-height: 1.25;
  height: 33px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 6px;
}

.card-pricing-line {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}

.card-price-live {
  color: var(--color-best-price);
  font-weight: 800;
  font-size: 16px;
}

.card-price-mrp {
  color: var(--color-text-muted);
  text-decoration: line-through;
  font-size: 12px;
}

.btn-view-deal-pill {
  height: 34px;
  font-size: 13px;
  font-weight: 700;
  background-color: var(--color-deal-green);
  color: #FFFFFF;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  transition: background-color 0.15s ease;
}

.btn-view-deal-pill:hover {
  background-color: var(--color-deal-green-hover);
  color: #FFFFFF;
}

/* Archive Feed Aliases (/deals/) */
.deals-archive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 769px) {
  .deals-archive-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

.deal-archive-card {
  background: #FFFFFF;
  border: 1px solid var(--color-card-border);
  border-radius: 14px;
  padding: 12px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  overflow: hidden;
}

.deal-archive-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

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

.deal-img-wrap {
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FAFBFD;
  border-radius: 8px;
  padding: 6px;
  margin-bottom: 8px;
}

.deal-img-wrap img {
  max-height: 128px;
  max-width: 100%;
  object-fit: contain;
}

.deal-title {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  line-height: 1.25;
  height: 33px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 6px;
}

.deal-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}

.deal-price-row .price-best {
  color: var(--color-best-price);
  font-weight: 800;
  font-size: 16px;
}

.deal-price-row .price-mrp {
  color: var(--color-text-muted);
  text-decoration: line-through;
  font-size: 12px;
}

.btn-card-compact {
  height: 34px;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.btn-amber {
  background-color: var(--color-primary-amber);
  color: #0B1B33;
}
.btn-amber:hover {
  background-color: var(--color-amber-hover);
}

.btn-disabled {
  background-color: #E5E7EB !important;
  color: #9CA3AF !important;
  cursor: not-allowed;
}

.badge-discount {
  background-color: var(--color-discount-red);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-pill);
  line-height: 1;
}

.badge-low-90 {
  background-color: #FEF3C7;
  color: #92400E;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.card-expired {
  opacity: 0.85;
}

.expired-ribbon {
  position: absolute;
  top: 18px;
  right: -30px;
  width: 110px;
  background-color: #DC2626;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 900;
  text-align: center;
  padding: 3px 0;
  transform: rotate(45deg);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  letter-spacing: 0.8px;
  z-index: 5;
}

.fav-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #9CA3AF;
  padding: 2px;
}
.fav-btn.active {
  color: #DC2626;
}

.card-base {
  background-color: #FFFFFF;
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

/* Shop by Department Bar */
.home-dept-section {
  background: #FFFFFF;
  border-top: 1px solid var(--color-card-border);
  border-bottom: 1px solid var(--color-card-border);
  padding: 18px 0;
}

.dept-header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.dept-title {
  font-size: 16px;
  font-weight: 800;
  color: #0B1B33;
}

.dept-scroll-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

.dept-pill-btn {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  color: #374151;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.dept-pill-btn:hover {
  background: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(11, 27, 51, 0.08);
  border-color: #CBD5E1;
}

.dept-pill-btn:active {
  transform: scale(0.96);
}

.dept-pill-btn.active,
.dept-pill-gold {
  border-color: #F5B400;
  background: #FFFBEB;
  color: #92400E;
  box-shadow: 0 0 0 2px rgba(245, 180, 0, 0.35);
}

/* Shopping Utilities Card Section: 2 Distinct Modern Cards */
.home-utilities-section {
  padding: 24px 0 32px;
}

.utilities-two-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 768px) {
  .utilities-two-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.utility-feature-card {
  background: #FFFFFF;
  border: 1px solid var(--color-card-border);
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--shadow-card);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.utility-feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.utility-card-text {
  flex: 1;
}

.utility-chip {
  display: inline-block;
  background: #EEF2F6;
  color: #4B5563;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 2px 7px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.utility-card-title {
  font-size: 16px;
  font-weight: 800;
  color: #0B1B33;
  margin-bottom: 4px;
}

.utility-card-desc {
  font-size: 12px;
  color: #6B7280;
  line-height: 1.45;
  margin-bottom: 12px;
}

.btn-utility-launch {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-accent-orange);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-utility-launch:hover {
  text-decoration: underline;
}

.utility-graphic-pane {
  flex-shrink: 0;
}

/* SVG Radial Progress Ring */
.utility-radial-wrap {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radial-ring-svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.radial-ring-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  line-height: 1;
}

.radial-pct {
  font-size: 16px;
  font-weight: 900;
  color: #065F46;
  display: block;
}

.radial-lbl {
  font-size: 8px;
  font-weight: 800;
  color: #047857;
  letter-spacing: 0.5px;
}

/* Comparative Cost Visualization Bar */
.utility-bar-visual {
  width: 130px;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 8px;
}

.bar-header-info {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  font-weight: 700;
  margin-bottom: 4px;
}

.principal-tag { color: #2563EB; }
.interest-tag { color: #DC2626; }

.bar-multi-track {
  height: 8px;
  border-radius: var(--radius-pill);
  background: #E5E7EB;
  display: flex;
  overflow: hidden;
  margin-bottom: 4px;
}

.principal-seg { background: #2563EB; height: 100%; }
.interest-seg { background: #DC2626; height: 100%; }

.bar-caption-stat {
  font-size: 9px;
  color: #6B7280;
  line-height: 1.2;
}

/* ==========================================================================
   5. MOBILE NAVIGATION & Z-INDEX COLLISION FIX
   ========================================================================== */
/* Mobile Bottom Navigation: Fixed at bottom-0, height 52px, background: #FFFFFF, border-top: 1px solid #E7EBF0, z-index: 9990 */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 52px;
  background-color: #FFFFFF;
  border-top: 1px solid #E7EBF0;
  box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.06);
  z-index: 9990;
  justify-content: space-around;
  align-items: center;
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex;
  }
}

.nav-item-mobile {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: #6B7280;
  text-decoration: none;
  gap: 2px;
  height: 100%;
  position: relative;
}

.nav-item-mobile.active {
  color: var(--color-active-nav);
}

.nav-item-mobile svg {
  width: 18px;
  height: 18px;
}

/* Raised Center Telegram Button (#229ED9 with White Paper Plane SVG) */
.nav-item-mobile.telegram-center {
  overflow: visible;
}

.raised-circle-telegram {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-telegram);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -14px;
  box-shadow: 0 3px 8px rgba(34, 158, 217, 0.4);
  border: 2px solid #FFFFFF;
}

.raised-circle-telegram svg {
  width: 22px;
  height: 22px;
}

.nav-item-mobile.telegram-center span {
  margin-top: 24px;
  color: var(--color-telegram);
  font-weight: 800;
}

/* WhatsApp Floating Action Button: Fixed bottom-left: bottom: 64px; left: 12px; width: 40px; height: 40px; z-index: 999; */
.whatsapp-fab {
  position: fixed;
  bottom: 64px;
  left: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-whatsapp);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
  z-index: 999;
  transition: transform 0.15s ease;
}

.whatsapp-fab svg {
  width: 22px;
  height: 22px;
  fill: #FFFFFF;
}

@media (min-width: 769px) {
  .whatsapp-fab {
    display: none !important;
  }
}

/* ==========================================================================
   6. CATEGORIES (/browse) & TOOLS (/tools) PAGES
   ========================================================================== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 769px) {
  .categories-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

.category-card {
  background: #FFFFFF;
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-card);
  padding: 12px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.cat-icon-title {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cat-name {
  font-size: 13px;
  font-weight: 800;
  color: var(--color-primary-navy);
}

.cat-count {
  font-size: 10px;
  font-weight: 700;
  color: #6B7280;
  background: #F3F4F6;
  padding: 1px 6px;
  border-radius: var(--radius-pill);
}

.cat-thumbs-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}

.cat-thumb {
  background: #F9FAFB;
  border-radius: 6px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
}

.cat-thumb img {
  max-height: 42px;
  object-fit: contain;
}

/* ==========================================================================
   6. PRODUCTION SHOPPING TOOLS & CALCULATORS HUB (`page-tools.php`)
   ========================================================================== */
.ck-tools-wrapper,
.tools-hub-viewport {
  padding-top: 14px;
  padding-bottom: 40px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .ck-tools-wrapper,
  .tools-hub-viewport {
    padding-top: 8px;
    padding-bottom: 96px; /* Safe clearance ensuring fixed 52px bottom navigation never covers calculator buttons or footer notes */
    box-sizing: border-box;
  }
}

.tools-main-container {
  max-width: 1180px;
  margin: 0 auto;
}

/* Tools Hero Header */
.tools-hero-header {
  text-align: center;
  margin-bottom: 24px;
}

.tools-hero-h1 {
  font-size: 26px;
  font-weight: 900;
  color: var(--color-primary-navy);
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.tools-hero-sub {
  font-size: 14px;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 16px;
}

@media (max-width: 768px) {
  .tools-hero-h1 {
    font-size: 20px;
  }
  .tools-hero-sub {
    font-size: 13px;
    margin-bottom: 12px;
  }
}

/* Live Tool Search / Filter Box */
.tools-search-box-wrap {
  max-width: 440px;
  margin: 0 auto;
}

.tools-search-bar {
  position: relative;
  display: flex;
  align-items: center;
}

.tools-search-ico {
  position: absolute;
  left: 14px;
  color: #9CA3AF;
  pointer-events: none;
}

.tools-search-bar input {
  width: 100%;
  height: 42px;
  padding: 0 14px 0 40px;
  background: #FFFFFF;
  border: 1px solid #D1D5DB;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-main);
  outline: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.tools-search-bar input:focus {
  border-color: var(--color-primary-navy);
  box-shadow: 0 0 0 3px rgba(11, 27, 51, 0.1);
}

/* Tool Selector Grid: Desktop 3-col or 6-pill, Mobile 2-col */
.tools-selector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .tools-selector-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 16px;
  }
}

.tool-select-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FFFFFF;
  border: 1.5px solid var(--color-card-border);
  border-radius: 12px;
  padding: 12px 14px;
  text-align: left;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
}

.tool-select-card:hover {
  border-color: #CBD5E1;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(11, 27, 51, 0.08);
}

/* Active Tool Card: Gold/Amber Highlight Border #E2B43A with subtle shadow */
.tool-select-card.active {
  border: 2px solid var(--color-gold-border) !important;
  background: #FFFFFF;
  box-shadow: 0 4px 14px rgba(226, 180, 58, 0.24);
  transform: translateY(-1px);
}

.tool-select-icon {
  font-size: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .tool-select-card {
    padding: 10px;
    gap: 8px;
  }
  .tool-select-icon {
    font-size: 20px;
  }
}

.tool-select-text {
  flex: 1;
  min-width: 0;
}

.tool-select-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--color-primary-navy);
  line-height: 1.25;
  margin-bottom: 2px;
}

.tool-select-desc {
  font-size: 11px;
  color: var(--color-text-muted);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  .tool-select-title {
    font-size: 12px;
  }
  .tool-select-desc {
    display: none; /* Keep mobile cards clean and compact */
  }
}

/* Calculator Workspace Panels */
.calculator-workspace-container {
  margin-bottom: 32px;
}

.calc-panel {
  display: none;
}

.calc-panel.active {
  display: block;
  animation: fadeInPanel 0.2s ease-out;
}

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

.calc-panel-card,
.tools-workspace-card {
  background: #FFFFFF;
  border: 1px solid var(--color-card-border);
  border-radius: 16px;
  padding: 24px 24px 8px 24px;
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .calc-panel-card,
  .tools-workspace-card {
    padding: 16px 14px 8px 14px;
    border-radius: 12px;
    margin-bottom: 24px;
  }
}

/* Desktop: 2-Column Side-by-Side (50% Inputs / 50% Results & Graphs) */
.calc-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

@media (max-width: 768px) {
  .calc-grid-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
}

/* Left: Form Pane */
.calc-form-pane {
  display: flex;
  flex-direction: column;
}

.calc-panel-badge {
  font-size: 10px;
  font-weight: 800;
  color: #2563EB;
  background: #EFF6FF;
  padding: 3px 8px;
  border-radius: 4px;
  align-self: flex-start;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.calc-panel-h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-primary-navy);
  margin-bottom: 4px;
  line-height: 1.3;
}

.calc-panel-explainer {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .calc-panel-h2 {
    font-size: 17px;
  }
}

.calc-inputs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.calc-inputs-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 480px) {
  .calc-inputs-row, .calc-inputs-grid-2col {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.form-input-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.input-lbl {
  font-size: 12px;
  font-weight: 700;
  color: #374151;
}

.input-with-symbol {
  position: relative;
  display: flex;
  align-items: center;
}

.currency-sym {
  position: absolute;
  left: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #6B7280;
  pointer-events: none;
}

.calc-num-input {
  width: 100%;
  height: 42px;
  padding: 0 12px 0 28px;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-main);
  background: #FFFFFF;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.calc-num-input:focus {
  border-color: var(--color-primary-navy);
  box-shadow: 0 0 0 2px rgba(11, 27, 51, 0.15);
}

.calc-num-input.input-invalid {
  border-color: #E53935 !important;
  background-color: #FEF2F2 !important;
}

.input-error-msg {
  font-size: 11px;
  color: #E53935;
  font-weight: 600;
  min-height: 16px;
  display: block;
}

/* Presets */
.calc-presets-wrap {
  margin-top: 14px;
}

.presets-lbl {
  font-size: 11px;
  font-weight: 700;
  color: #6B7280;
  margin-bottom: 6px;
  display: block;
}

.presets-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.preset-pill-item {
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  border-radius: 20px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 700;
  color: #374151;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.preset-pill-item:hover, .preset-pill-item.active {
  background: #FEF3C7;
  border-color: #FCD34D;
  color: #92400E;
}

/* Toggle Switches */
.calc-toggle-group {
  margin-top: 12px;
  padding: 10px 12px;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
}

.toggle-switch-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  user-select: none;
}

.toggle-switch-label input[type="checkbox"] {
  display: none;
}

.toggle-slider {
  position: relative;
  width: 36px;
  height: 20px;
  background-color: #D1D5DB;
  border-radius: 20px;
  transition: background-color 0.2s ease;
  flex-shrink: 0;
}

.toggle-slider::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  left: 2px;
  top: 2px;
  background-color: #FFFFFF;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.toggle-switch-label input[type="checkbox"]:checked + .toggle-slider {
  background-color: var(--color-deal-green);
}

.toggle-switch-label input[type="checkbox"]:checked + .toggle-slider::before {
  transform: translateX(16px);
}

.gst-toggle-box {
  margin-top: 2px;
}

/* Tenure Pills (EMI) */
.tenure-selection-wrap {
  margin-top: 14px;
}

.tenure-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.tenure-pill {
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #374151;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.tenure-pill:hover {
  background: #E5E7EB;
}

.tenure-pill.active {
  background: var(--color-primary-navy);
  border-color: var(--color-primary-navy);
  color: #FFFFFF;
}

/* Right: Results Pane */
.calc-results-pane {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .calc-results-pane {
    padding: 14px;
  }
}

.results-box-header {
  margin-bottom: 14px;
}

.res-sub-lbl {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: #6B7280;
  letter-spacing: 0.5px;
  display: block;
}

.res-primary-stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.res-bold-green {
  font-size: 24px;
  font-weight: 900;
  color: var(--color-best-price);
  line-height: 1.1;
}

.res-bold-red {
  font-size: 22px;
  font-weight: 900;
  color: #DC2626;
  line-height: 1.1;
}

.res-discount-badge {
  background: var(--color-discount-red);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
}

.res-savings-pill {
  background: #E8F8EE;
  color: var(--color-best-price);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

/* Breakdown Row */
.res-breakdown-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 16px;
}

.breakdown-stat-item {
  display: flex;
  flex-direction: column;
}

.bk-lbl {
  font-size: 10px;
  font-weight: 700;
  color: #9CA3AF;
  text-transform: uppercase;
}

.bk-val {
  font-size: 13px;
  font-weight: 800;
  color: #111827;
}

.bk-divider {
  color: #9CA3AF;
  font-size: 12px;
}

.text-green { color: var(--color-best-price) !important; }
.text-red { color: #DC2626 !important; }

/* Range Sliders & Value Pills */
.input-lbl-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}

.range-live-pill {
  font-size: 11px;
  font-weight: 700;
  color: #111827;
  background: #F3F4F6;
  padding: 1px 6px;
  border-radius: 6px;
}

.calc-range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 5px;
  background: #E5E7EB;
  border-radius: 999px;
  outline: none;
  margin-top: 6px;
  margin-bottom: 2px;
  transition: background 0.15s ease;
  cursor: pointer;
}

.calc-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #10B981;
  border: 2px solid #FFFFFF;
  box-shadow: 0 1px 4px rgba(16, 185, 129, 0.4);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.calc-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-range-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #10B981;
  border: 2px solid #FFFFFF;
  box-shadow: 0 1px 4px rgba(16, 185, 129, 0.4);
  cursor: pointer;
}

/* 2 High-Contrast Result Cards Side-by-Side */
.high-contrast-result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
  width: 100%;
}

@media (max-width: 768px) {
  .high-contrast-result-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 10px;
    width: 100%;
  }
}

.res-contrast-card {
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
  .res-contrast-card {
    padding: 8px 10px;
    border-radius: 10px;
  }
}

.card-payable {
  background: #0B1B33;
  color: #FFFFFF;
}

.card-payable .res-card-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: #94A3B8;
  letter-spacing: 0.5px;
}

.card-payable .res-card-amount {
  font-size: 20px;
  font-weight: 900;
  color: #FFFFFF;
  margin: 2px 0;
  line-height: 1.1;
}

.card-payable .res-card-sub {
  font-size: 11px;
  color: #CBD5E1;
}

.card-savings {
  background: #E8F8EE;
  border: 1.5px solid #10B981;
  color: #14804A;
}

.card-savings .res-card-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: #14804A;
  letter-spacing: 0.5px;
}

.card-savings .res-card-amount {
  font-size: 20px;
  font-weight: 900;
  color: #14804A;
  margin: 2px 0;
  line-height: 1.1;
}

.card-savings .res-card-sub {
  font-size: 11px;
  color: #065F46;
  font-weight: 600;
}

@media (max-width: 768px) {
  .res-contrast-card .res-card-amount,
  .card-payable .res-card-amount,
  .card-savings .res-card-amount {
    font-size: clamp(15px, 4.5vw, 18px);
    font-weight: 800;
    line-height: 1.15;
  }
  .res-contrast-card .res-card-sub,
  .card-payable .res-card-sub,
  .card-savings .res-card-sub,
  .res-contrast-card .res-card-label,
  .card-payable .res-card-label,
  .card-savings .res-card-label {
    font-size: 10px;
  }
}

/* SVG Donut Chart & Prominent Full-Width Visual Gauge */
.donut-chart-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 12px;
  background: #FFFFFF;
  border-radius: 12px;
  border: 1px solid #E5E7EB;
  box-sizing: border-box;
}

.prominent-gauge-container {
  width: 100%;
  min-height: 180px;
  padding: 18px 14px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .donut-chart-container,
  .prominent-gauge-container {
    width: 100%;
    max-width: 220px;
    margin: 0 auto;
    padding: 4px;
    box-sizing: border-box;
    min-height: auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
  }
}

.donut-svg-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  box-sizing: border-box;
}

.prominent-gauge-wrap {
  width: 140px;
  height: 140px;
  position: relative;
  flex-shrink: 0;
  box-sizing: border-box;
}

@media (min-width: 769px) {
  .prominent-gauge-wrap {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 768px) {
  .donut-svg-wrapper,
  .prominent-gauge-wrap {
    width: 100%;
    max-width: 140px;
    aspect-ratio: 1 / 1;
    max-height: 140px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }
}

.donut-svg {
  width: 100%;
  height: auto;
}

.prominent-donut-svg {
  transform: none !important;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  max-height: 140px;
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .donut-svg,
  .prominent-donut-svg,
  .prominent-gauge-wrap svg,
  .donut-svg-wrapper svg {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    max-height: 140px;
    display: block;
    margin: 0 auto;
  }
}

.donut-bg-ring {
  stroke: #E2E8F0;
}

.donut-fill-ring {
  transition: stroke-dashoffset 0.4s ease;
}

/* SVG Text Center Labels (viewBox 0 0 36 36) */
.donut-svg-pct {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 5.2px;
  font-weight: 900;
  fill: #065F46;
  letter-spacing: -0.2px;
}

.donut-svg-sub {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 2.2px;
  font-weight: 800;
  fill: #047857;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.donut-center-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  line-height: 1;
}

.prominent-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  line-height: 1;
}

.prominent-pct {
  font-size: 24px;
  font-weight: 900;
  color: #065F46;
  line-height: 1;
  letter-spacing: -0.5px;
}

.prominent-sub {
  font-size: 11px;
  font-weight: 800;
  color: #047857;
  text-transform: uppercase;
  margin-top: 3px;
  letter-spacing: 0.5px;
  display: block;
}

.donut-pct-text {
  font-size: 18px;
  font-weight: 900;
  color: var(--color-primary-navy);
}

.donut-sub-text {
  font-size: 9px;
  font-weight: 800;
  color: #6B7280;
  text-transform: uppercase;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .prominent-pct,
  .donut-pct-text {
    font-size: 20px;
    font-weight: 900;
  }

  .prominent-sub,
  .donut-sub-text {
    font-size: 10px;
    letter-spacing: 0.5px;
  }
}

.donut-legend-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: #4B5563;
}

.prominent-legend-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: #4B5563;
}

@media (max-width: 768px) {
  .donut-legend-box,
  .prominent-legend-box {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 12px;
    font-size: 11px;
    margin-top: 2px;
  }
  .donut-helper-note {
    width: 100%;
    font-size: 10px;
    margin-top: 2px;
  }
}

/* Store Vector SVG Uniform Height */
.store-vector-svg {
  height: 18px;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
}

.legend-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-green { background-color: #10B981; }
.dot-navy { background-color: #0B1B33; }
.dot-amber { background-color: #F59E0B; }
.dot-blue { background-color: #2563EB; }

.donut-helper-note {
  font-size: 11px;
  font-weight: 600;
  color: #059669;
  margin-top: 4px;
}

/* Stacked Progress Bar Widget */
.stacked-bar-widget {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 14px;
}

.stacked-bar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: #374151;
  margin-bottom: 8px;
}

.stacked-bar-track {
  display: flex;
  height: 14px;
  background: #E5E7EB;
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 10px;
}

.stacked-seg {
  height: 100%;
  transition: width 0.4s ease;
}

.seg-effective { background: #0B1B33; }
.seg-coupon { background: #F59E0B; }
.seg-bank { background: #10B981; }
.seg-cashback { background: #2563EB; }

.stacked-bar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 11px;
  color: #4B5563;
}

.st-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.st-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.calc-outbound-cta-wrap {
  margin-top: 10px;
}

.btn-calc-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 42px;
  background-color: var(--color-primary-navy);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.btn-calc-cta:hover {
  background-color: #172554;
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* Ratio Bar Widget */
.ratio-bar-widget {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
}

.ratio-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #4B5563;
  margin-bottom: 8px;
}

.ratio-track {
  display: flex;
  height: 12px;
  background: #E5E7EB;
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.ratio-fill-disc {
  background: #10B981;
  height: 100%;
  transition: width 0.4s ease;
}

.ratio-fill-payable {
  background: #0B1B33;
  height: 100%;
  transition: width 0.4s ease;
}

.card-summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.summary-mini-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
}

.sm-lbl {
  font-size: 10px;
  font-weight: 700;
  color: #9CA3AF;
  text-transform: uppercase;
}

.sm-val {
  font-size: 13px;
  font-weight: 800;
  color: #111827;
  margin-top: 2px;
}

.calc-compliance-note {
  font-size: 11px;
  color: #9CA3AF;
  font-style: italic;
  margin-top: 8px;
  line-height: 1.35;
}

/* Concentric Dual-Ring Visualization */
.dual-ring-widget {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 14px;
}

@media (max-width: 480px) {
  .dual-ring-widget {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

.ring-svg-wrap {
  position: relative;
  width: 110px;
  height: 110px;
  flex-shrink: 0;
}

.concentric-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-outer-fill, .ring-inner-fill {
  transition: stroke-dashoffset 0.4s ease;
}

.ring-center-stat {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  line-height: 1;
}

.ring-center-val {
  font-size: 15px;
  font-weight: 900;
  color: #10B981;
}

.ring-center-lbl {
  font-size: 8px;
  font-weight: 800;
  color: #6B7280;
  text-transform: uppercase;
  margin-top: 2px;
}

.ring-details-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: #4B5563;
}

.ring-detail-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ring-highlight-callout {
  font-size: 11px;
  font-weight: 700;
  color: #059669;
  background: #E8F8EE;
  padding: 4px 8px;
  border-radius: 6px;
  margin-top: 4px;
}

/* Comparative Bars (EMI vs Cash) */
.comparative-bars-widget {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comp-bar-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.comp-bar-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: #374151;
}

.comp-bar-track {
  height: 14px;
  background: #E5E7EB;
  border-radius: 8px;
  overflow: hidden;
}

.comp-bar-fill {
  height: 100%;
  transition: width 0.4s ease;
}

.fill-cash { background: #10B981; }
.fill-emi { background: #DC2626; }

.callout-analytical-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 10px;
  padding: 10px 12px;
}

.callout-icon {
  font-size: 18px;
  line-height: 1;
}

.callout-body strong {
  font-size: 12px;
  color: #1E40AF;
  display: block;
  margin-bottom: 2px;
}

.callout-body p {
  font-size: 11px;
  color: #3B82F6;
  line-height: 1.35;
  margin: 0;
}

/* FAQ Accordion Section */
.tools-faq-section {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid #E5E7EB;
}

.tools-faq-section .section-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-primary-navy);
  margin-bottom: 4px;
}

.tools-faq-section .section-subtext {
  font-size: 13px;
  color: var(--color-text-muted);
}

.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.faq-accordion-item {
  background: #FFFFFF;
  border: 1px solid var(--color-card-border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.15s ease;
}

.faq-summary {
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary-navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  user-select: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-arrow {
  font-size: 10px;
  color: #9CA3AF;
  transition: transform 0.2s ease;
}

.faq-accordion-item[open] .faq-arrow {
  transform: rotate(180deg);
}

.faq-accordion-item[open] .faq-summary {
  border-bottom: 1px solid #F3F4F6;
}

.faq-content {
  padding: 12px 16px 14px;
  font-size: 13px;
  color: #4B5563;
  line-height: 1.55;
}

.faq-content code {
  background: #F3F4F6;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  font-family: monospace;
}

/* Bottom CTA Banner */
.tools-bottom-banner {
  margin-top: 32px;
  background: linear-gradient(135deg, #0B1B33 0%, #172554 100%);
  border-radius: 16px;
  padding: 24px 28px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 4px 16px rgba(11, 27, 51, 0.15);
}

@media (max-width: 768px) {
  .tools-bottom-banner {
    padding: 18px 16px;
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }
}

.bottom-banner-title {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 4px;
  color: #FFFFFF;
}

.bottom-banner-desc {
  font-size: 13px;
  color: #94A3B8;
}

.btn-bottom-banner-cta {
  background: var(--color-primary-amber);
  color: #0B1B33;
  padding: 11px 22px;
  font-size: 13px;
  font-weight: 800;
  border-radius: var(--radius-pill);
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s ease, background-color 0.15s ease;
  box-shadow: 0 2px 8px rgba(245, 180, 0, 0.3);
}

.btn-bottom-banner-cta:hover {
  background-color: var(--color-amber-hover);
  color: #0B1B33;
  transform: translateY(-1px);
}

/* ==========================================================================
   7. FOOTER (CLEAN & SLIM WITH SAFE SPACE)
   ========================================================================== */
.site-footer {
  background-color: var(--color-primary-navy);
  color: #D1D5DB;
  padding: 40px 0 96px;
  font-size: 13px;
  overflow-x: hidden;
}

@media (max-width: 768px) {
  .site-footer {
    padding-bottom: 104px; /* Safe space to prevent overlap with bottom nav & WhatsApp FAB */
  }
}

/* Compact Feature Grid: "Why CompareKro360?" */
.footer-why-comparekro {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 26px;
  margin-bottom: 28px;
}

.why-ck-pill {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: var(--color-primary-amber);
  background: rgba(245, 180, 0, 0.12);
  padding: 3px 10px;
  border-radius: 9999px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.why-ck-title {
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.2px;
}

.why-ck-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 768px) {
  .why-ck-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.why-ck-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.why-ck-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(245, 180, 0, 0.35);
}

.why-ck-badge-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(245, 180, 0, 0.18);
  color: var(--color-primary-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
}

.why-ck-text strong {
  display: block;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 3px;
}

.why-ck-text p {
  color: #9CA3AF;
  font-size: 12px;
  line-height: 1.4;
  margin: 0;
}

/* 3-Column Footer Grid: Brand (WhatsApp/Telegram), Quick Navigation, Legal & Compliance */
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1.1fr 1.1fr;
  gap: 32px;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

.footer-brand-col {
  max-width: 440px;
}

.footer-heading {
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.1px;
}

.footer-links-list {
  list-style: none;
}

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

.footer-links-list a {
  color: #9CA3AF;
  font-size: 13px;
  transition: color 0.15s ease, transform 0.15s ease;
  display: inline-block;
}

.footer-links-list a:hover {
  color: var(--color-primary-amber);
  transform: translateX(2px);
}

.footer-social-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.social-circle-lg {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: transform 0.15s ease, opacity 0.15s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.social-circle-lg:hover {
  transform: translateY(-2px) scale(1.06);
  opacity: 0.95;
}

.social-circle-lg:active {
  transform: scale(0.95);
}

.social-circle-lg.soc-whatsapp { background-color: #25D366; }
.social-circle-lg.soc-telegram { background-color: #229ED9; }

.social-circle-lg svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.footer-affiliate-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
  margin-top: 20px;
  font-size: 12px;
  color: #94A3B8;
  line-height: 1.5;
}

/* Card Glimmer & Fade-In Micro-Interactions */
.deal-compact-card,
.utility-feature-card,
.ck-promo-card {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.deal-compact-card:hover,
.utility-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(11, 27, 51, 0.09);
}

/* ==========================================================================
   HOMEPAGE PROMOTION CAROUSEL / SLIDER (.ck-promo-slider-section)
   ========================================================================== */
.ck-promo-slider-section {
  padding: 32px 0 36px 0;
  background-color: var(--color-bg-page);
  border-top: 1px solid #EAECEF;
}

@media (max-width: 768px) {
  .ck-promo-slider-section {
    padding: 24px 0 84px 0; /* Clearance for 52px fixed mobile bottom navigation */
  }
}

.ck-promo-header {
  margin-bottom: 16px;
}

.ck-promo-title {
  font-size: 20px;
  font-weight: 800;
  color: #0B1B33;
  margin-bottom: 4px;
  letter-spacing: -0.3px;
}

.ck-promo-subtitle {
  font-size: 13px;
  color: #6B7280;
  line-height: 1.4;
  margin: 0;
}

/* Container: display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 4px 16px 20px 16px; */
.ck-promo-slider-container {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 16px 20px 16px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  box-sizing: border-box;
}

.ck-promo-slider-container::-webkit-scrollbar {
  display: none;
}

@media (max-width: 768px) {
  .ck-promo-slider-container {
    margin-left: -12px;
    margin-right: -12px;
  }
}

@media (min-width: 768px) {
  .ck-promo-slider-container {
    overflow-x: visible;
    scroll-snap-type: none;
    padding: 4px 0 12px 0;
    gap: 20px;
  }
}

/* Card Styling: Background: #FFFFFF, border: 1px solid #E7EBF0, border-radius: 16px, padding: 16px, box-shadow: 0 4px 12px rgba(11, 27, 51, 0.05) */
.ck-promo-card {
  background: #FFFFFF;
  border: 1px solid #E7EBF0;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(11, 27, 51, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ck-promo-card:hover {
  box-shadow: 0 6px 16px rgba(11, 27, 51, 0.08);
}

/* Card Dimensions:
   Mobile: flex: 0 0 85%; max-width: 320px; scroll-snap-align: center;
   Desktop (>= 768px): flex: 1; max-width: 50%; */
@media (max-width: 767px) {
  .ck-promo-card {
    flex: 0 0 85%;
    max-width: 320px;
    scroll-snap-align: center;
  }
}

@media (min-width: 768px) {
  .ck-promo-card {
    flex: 1;
    max-width: 50%;
  }
}

.ck-promo-card-top {
  margin-bottom: 16px;
}

/* Header/Badge */
.ck-promo-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  line-height: 1.2;
  margin-bottom: 10px;
  text-transform: uppercase;
}

/* Card 1: Blue badge #229ED9, white text "FASTEST LOOT ALERTS" */
.badge-telegram {
  background-color: #229ED9;
  color: #FFFFFF;
}

/* Card 2: Green badge #25D366, white text "DAILY TOP PICKS" */
.badge-whatsapp {
  background-color: #25D366;
  color: #FFFFFF;
}

/* Card Title */
.ck-promo-card-title {
  font-size: 16px;
  font-weight: 800;
  color: #0B1B33;
  margin-bottom: 12px;
  line-height: 1.35;
}

/* Features List */
.ck-promo-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ck-promo-features-list li {
  font-size: 13px;
  color: #374151;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.ck-promo-features-list .feature-icon {
  flex-shrink: 0;
  font-size: 14px;
  line-height: 1.2;
}

/* CTA Buttons */
.ck-promo-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 42px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  letter-spacing: 0.3px;
  transition: transform 0.12s ease, background-color 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
}

/* Solid blue #229ED9, white bold text, 42px height, 8px radius */
.btn-telegram {
  background-color: #229ED9;
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(34, 158, 217, 0.28);
}

.btn-telegram:hover {
  background-color: #1a8bc2;
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* Solid green #25D366, white bold text, 42px height, 8px radius */
.btn-whatsapp {
  background-color: #25D366;
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(37, 211, 102, 0.28);
}

.btn-whatsapp:hover {
  background-color: #1eb956;
  color: #FFFFFF;
  transform: translateY(-1px);
}

