/* --- DESIGN SYSTEM & LIGHT MODERN TOKENS --- */
:root {
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --border-clean: #e2e8f0;
  --border-focus: #4f46e5;
  
  --accent-indigo: #4f46e5;
  --accent-indigo-light: #818cf8;
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  
  --color-green: #10b981;
  --color-green-dark: #069669;
  --color-orange: #f59e0b;
  --color-red: #ef4444;

  --shadow-subtle: 0 4px 6px -1px rgba(15, 23, 42, 0.03), 0 10px 15px -3px rgba(15, 23, 42, 0.05);
  --shadow-hover: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- RESET & BASIC STYLING --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

/* --- GLOW BACKGROUND ACCENTS --- */
.glow-bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(160px);
  z-index: 0;
  opacity: 0.35;
  pointer-events: none;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(129,140,248,0.4) 0%, rgba(99,102,241,0.1) 100%);
  top: -150px;
  right: -50px;
}

.blob-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(167,139,250,0.3) 0%, rgba(59,130,246,0.1) 100%);
  bottom: -200px;
  left: -100px;
}

/* --- APP CONTAINER & LAYOUT --- */
.app-container {
  max-width: 100%;
  width: 100%;
  margin: 0;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* --- APP NAVIGATION HEADER --- */
.app-nav-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-clean);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.nav-container {
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 15px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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


.app-nav-header .logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  letter-spacing: -0.04em;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-primary);
}

.app-nav-header .logo-icon {
  font-size: 1.5rem;
  color: #2563eb;
}

.logo .highlight {
  color: #2563eb;
}

.domain-badge {
  font-size: 0.75rem;
  background: #eff6ff;
  color: #2563eb;
  padding: 2px 8px;
  border-radius: 0;
  font-weight: 500;
  margin-left: 6px;
  border: 1px solid #dbeafe;
}

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

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover {
  color: #2563eb;
}

.nav-chevron {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.text-beta-tag::after {
  content: 'BETA';
  font-size: 0.65rem;
  background: #fef3c7;
  color: #d97706;
  padding: 1px 5px;
  border-radius: 4px;
  font-weight: 700;
  margin-left: 4px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.chrome-btn {
  text-decoration: none;
  background: #f1f5f9;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: 0;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 8px;
}

.chrome-btn:hover {
  background: #e2e8f0;
}

.login-btn {
  text-decoration: none;
  background: #2563eb;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 20px;
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
  transition: var(--transition-smooth);
}

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

/* --- HERO SECTION --- */
.hero-section {
  background: radial-gradient(circle at top left, #1e3a8a, #0f172a 70%);
  color: white;
  border-radius: 0;
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
  margin-top: 0;
  margin-bottom: 0;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.15), transparent 50%);
  pointer-events: none;
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #93c5fd;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-section h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.highlight-green {
  color: #10b981;
  background: linear-gradient(135deg, #10b981, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-section .subtitle {
  color: #94a3b8;
  font-size: 1.25rem;
  max-width: 550px;
  margin: 0 auto 35px auto;
  line-height: 1.5;
}

/* --- HERO SEARCH FORM --- */
.hero-search-form {
  margin-bottom: 25px;
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 0;
  padding: 6px 8px 6px 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: var(--transition-smooth);
}

.search-input-wrapper:focus-within {
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.25);
}

.search-left-icon {
  color: #64748b;
  font-size: 1.3rem;
  margin-right: 12px;
}

.search-mic-icon {
  color: #94a3b8;
  font-size: 1.2rem;
  margin-right: 18px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.search-mic-icon:hover {
  color: #2563eb;
}

.hero-search-form input {
  flex: 1;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 1.05rem;
  color: #0f172a;
  padding: 14px 0;
  background: transparent;
}

.hero-search-form input::placeholder {
  color: #64748b;
}

.hero-search-form button {
  background: #2563eb;
  border: none;
  outline: none;
  color: white;
  font-family: inherit;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 12px 36px;
  border-radius: 0;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  transition: var(--transition-smooth);
}

.hero-search-form button:hover {
  background: #1d4ed8;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4);
}

/* --- PROMO BANNER SECTION --- */
.promo-banner-section {
  width: 100%;
  margin: 0;
  padding: 0;
}

.promo-banner {
  background: linear-gradient(90deg, #eff6ff, #dbeafe);
  border-top: 1px solid #bfdbfe;
  border-bottom: 1px solid #bfdbfe;
  border-left: none;
  border-right: none;
  border-radius: 0;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow-subtle);
}

.promo-badge {
  font-size: 0.8rem;
  font-weight: 700;
  background: #2563eb;
  color: white;
  padding: 6px 12px;
  border-radius: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.promo-content {
  flex: 1;
}

.promo-content h3 {
  font-family: 'Outfit', sans-serif;
  color: #1e3a8a;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.promo-content p {
  color: #1e40af;
  font-size: 0.95rem;
  font-weight: 500;
}

.promo-btn-active {
  text-decoration: none;
  background: #1e3a8a;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: 0;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.promo-btn-active:hover {
  background: #172554;
  transform: translateX(2px);
}

/* --- HOT DEALS PRICE BRACKETS VISUAL GRID --- */
.price-brackets {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 15px;
  margin-top: 20px;
  margin-bottom: 30px;
}

.price-brackets .bracket-btn {
  background: #ffffff;
  border: 1px solid var(--border-clean);
  border-radius: 0;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.01);
  transition: var(--transition-smooth);
  height: 90px;
}

.price-brackets .bracket-btn:hover {
  border-color: #2563eb;
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.05);
}

.price-brackets .bracket-btn.active {
  background: #2563eb;
  border-color: #2563eb;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
  transform: translateY(-2px);
}

.bracket-title {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.bracket-btn.active .bracket-title {
  color: rgba(255, 255, 255, 0.75);
}

.bracket-value {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #2563eb;
}

.bracket-btn.active .bracket-value {
  color: #ffffff;
}

/* --- PREMIUM MODERN CARDS --- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-clean);
  border-radius: 0;
  padding: 30px;
  margin-bottom: 0;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
}

.card:hover {
  box-shadow: var(--shadow-hover);
  border-color: rgba(79, 70, 229, 0.15);
}

/* --- SEARCH BAR SECTION --- */
.search-card {
  padding: 24px;
}

.search-form .input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border-clean);
  border-radius: 16px;
  padding: 6px 6px 6px 18px;
  transition: var(--transition-smooth);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.search-form .input-wrapper:focus-within {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12), inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.input-icon {
  color: var(--text-muted);
  font-size: 1.25rem;
  margin-right: 12px;
}

.search-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 1.05rem;
  color: var(--text-primary);
  padding: 12px 0;
}

.search-form input::placeholder {
  color: var(--text-muted);
}

.search-form button {
  background: linear-gradient(135deg, var(--accent-indigo), var(--accent-indigo-light));
  border: none;
  outline: none;
  color: white;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 26px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
  transition: var(--transition-smooth);
}

.search-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.3);
  filter: brightness(1.05);
}

.search-form button:active {
  transform: translateY(1px);
}

/* --- QUICK DEMO LINKS --- */
.demo-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  font-size: 0.85rem;
}

.demo-label {
  color: var(--text-secondary);
  font-weight: 500;
}

.demo-chip {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 6px;
}

.demo-chip:hover {
  background: #e2e8f0;
  color: var(--text-primary);
}

/* --- LOADER --- */
.loader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  gap: 20px;
}

.progress-wrapper {
  width: 100%;
  max-width: 450px;
  background: var(--bg-card);
  border: 1px solid var(--border-clean);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-sizing: border-box;
}

.progress-bar-container {
  width: 100%;
  height: 8px;
  background: #f1f5f9;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-indigo), var(--accent-indigo-light));
  border-radius: 10px;
  transition: width 0.15s linear;
}

.progress-status {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.progress-timer {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* --- ERROR CARD --- */
.error-card {
  display: flex;
  gap: 24px;
  border-left: 5px solid var(--color-red);
}

.error-icon-wrapper {
  font-size: 2.2rem;
  color: var(--color-red);
  display: flex;
  align-items: flex-start;
}

.error-content h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.error-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.error-tip {
  background: #fef2f2;
  border: 1px solid #fee2e2;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.85rem;
  color: #991b1b;
}

/* --- RESULT VIEW & GRID --- */
.result-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 25px;
  margin-bottom: 25px;
}

/* --- COLUMN 1: PRODUCT CARD --- */
.product-card {
  position: relative;
  overflow: hidden;
}

.product-card .platform-badge {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 6px 16px;
  border-bottom-right-radius: 16px;
  letter-spacing: 0.05em;
  color: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.platform-badge.amazon {
  background: #f97316;
}

.platform-badge.flipkart {
  background: #2563eb;
}

.product-header {
  display: flex;
  gap: 24px;
  margin-top: 15px;
  margin-bottom: 30px;
}

.product-image-container {
  background: #ffffff;
  border: 1px solid var(--border-clean);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 180px;
  flex-shrink: 0;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.01);
}

.product-image-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-essential-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.product-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rating-container {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.stars {
  color: #f59e0b;
  font-size: 0.9rem;
  display: flex;
  gap: 1px;
}

.rating-value {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 0;
}

/* --- PRICE SECTION --- */
.price-section {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.current-price-wrapper {
  display: flex;
  align-items: baseline;
}

.price-section .currency {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-green-dark);
}

.price-section .price-value {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-green-dark);
  line-height: 1;
}

.original-price-wrapper {
  color: var(--text-muted);
  font-size: 0.95rem;
  text-decoration: line-through;
  font-weight: 500;
}

.discount-badge {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: var(--color-green-dark);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 0;
}

/* --- BUTTONS --- */
.action-buttons {
  display: flex;
  gap: 12px;
}

.btn {
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: var(--accent-indigo);
  border: none;
  color: white;
  flex: 2;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15);
}

.btn-primary:hover {
  background: #4338ca;
  transform: translateY(-1px);
}

.btn-secondary {
  background: #f1f5f9;
  border: 1px solid var(--border-clean);
  color: var(--text-secondary);
  flex: 1;
}

.btn-secondary:hover {
  background: #e2e8f0;
  color: var(--text-primary);
}

/* --- SPECIFICATIONS --- */
.specs-section h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
  border-top: 1px solid var(--border-clean);
  padding-top: 20px;
  color: var(--text-primary);
}

.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  background: #f8fafc;
  padding: 8px 12px;
  border-radius: 0;
  border: 1px solid #f1f5f9;
  font-size: 0.85rem;
}

.spec-label {
  color: var(--text-secondary);
  font-weight: 600;
}

.spec-value {
  color: var(--text-primary);
  font-weight: 500;
  text-align: right;
  max-width: 60%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* --- COLUMN 2: ANALYSIS CARD & GAUGE METER --- */
.analysis-tabs {
  display: flex;
  border-bottom: 2px solid var(--border-clean);
  margin-bottom: 24px;
}

.tab-item {
  padding: 10px 16px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-secondary);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition-smooth);
}

.tab-item.active {
  color: var(--accent-indigo);
  border-bottom-color: var(--accent-indigo);
}

.meter-wrapper h3, .price-stats-container h3, .history-header h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.meter-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.gauge-svg {
  width: 70%;
  max-width: 220px;
}

.gauge-needle {
  transform-origin: 100px 90px;
  transform: rotate(0deg); /* Managed via JS (range: -90deg to +90deg) */
  transition: transform 1s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.meter-labels {
  display: flex;
  justify-content: space-between;
  width: 75%;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: -6px;
}

.label-bad {
  color: var(--color-red);
}

.label-good {
  color: var(--color-green-dark);
}

/* --- RECOMMENDATION BOX --- */
.recommendation-box {
  background: #f8fafc;
  border: 1px solid var(--border-clean);
  border-radius: 0;
  padding: 16px;
  text-align: center;
  margin-bottom: 25px;
  transition: var(--transition-smooth);
}

.recommendation-box.border-green {
  border-left: 4px solid var(--color-green);
  background: #f0fdf4;
}

.recommendation-box.border-orange {
  border-left: 4px solid var(--color-orange);
  background: #fffbeb;
}

.recommendation-box.border-red {
  border-left: 4px solid var(--color-red);
  background: #fef2f2;
}

.rec-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 4px;
}

.recommendation-box h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.rec-emerald { color: var(--color-green-dark); }
.rec-orange { color: #d97706; }
.rec-red { color: #dc2626; }

.rec-sub {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* --- STATS GRID --- */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.stat-card {
  background: #ffffff;
  border: 1px solid var(--border-clean);
  border-radius: 0;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.01);
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.stat-value {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.stat-highest .stat-label i { color: var(--color-red); }
.stat-lowest .stat-label i { color: var(--color-green); }
.stat-optimal .stat-label i { color: var(--accent-indigo); }

.status-badge {
  font-size: 0.9rem;
  font-weight: 700;
  padding: 2px 0;
  display: inline-block;
}

.status-badge.badge-green { color: var(--color-green-dark); }
.status-badge.badge-orange { color: #d97706; }
.status-badge.badge-red { color: #dc2626; }

/* --- PRICE HISTORY CARD --- */
.history-card {
  margin-top: 10px;
}

.history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-clean);
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.history-header h3 {
  margin-bottom: 0;
}

.history-filters {
  display: flex;
  background: #f1f5f9;
  border-radius: 0;
  padding: 3px;
  border: 1px solid #e2e8f0;
}

.filter-btn {
  background: transparent;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: 0;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn.active {
  background: #ffffff;
  color: var(--accent-indigo);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.chart-container {
  width: 100%;
  height: 280px;
  position: relative;
}

/* --- FOOTER SECTION --- */
.app-footer {
  background-color: #1e1b4b; /* Deep Indigo matching BuyHatke screenshot */
  color: #e2e8f0;
  padding: 60px 20px 30px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  width: 100%;
  margin-top: 60px;
}

.footer-container {
  max-width: 100%;
  width: 100%;
  margin: 0;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 25px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 1.1rem;
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-icon:hover {
  background: #3b82f6;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.footer-links-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.footer-column h4 {
  font-family: 'Outfit', sans-serif;
  color: white;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: #94a3b8;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-column ul li a:hover {
  color: #3b82f6;
}

/* App download block styling */
.app-download-box {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px;
  border-radius: 0;
  max-width: 320px;
}

.qr-code-placeholder {
  width: 90px;
  height: 90px;
  background: white;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e1b4b;
  font-size: 4.5rem;
  padding: 4px;
}

.app-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.app-btn {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  padding: 8px 12px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition-smooth);
}

.app-btn:hover {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.15);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 25px;
  color: #64748b;
  font-size: 0.85rem;
}

.legal-links a {
  color: #64748b;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.legal-links a:hover {
  color: #3b82f6;
}

/* --- HELPER CLASSES --- */
.hidden {
  display: none !important;
}

/* --- RESPONSIVE LAYOUTS --- */
@media (max-width: 950px) {
  .result-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .logo {
    font-size: 2.4rem;
  }
  
  .product-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .product-essential-details {
    align-items: center;
  }
  
  .rating-container {
    justify-content: center;
  }
  
  .price-section {
    justify-content: center;
  }
  
  .action-buttons {
    width: 100%;
  }
  
  .specs-grid {
    grid-template-columns: 1fr;
  }
}

/* --- FOOTNOTE FOR SOURCE --- */
.history-footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  border-top: 1px solid var(--border-clean);
  padding-top: 12px;
}

.history-source {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 0;
}

}

/* --- DEALS HUB STYLES --- */
.deals-hub-card {
  padding: 30px;
  margin-top: 25px;
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
}

.deals-hub-header {
  margin-bottom: 35px;
  text-align: center;
}

.deals-hub-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.text-red-glow {
  color: #ef4444;
  text-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}

.hub-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: 6px;
}

/* --- PRICE BRACKETS --- */
.price-brackets {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 45px;
}

/* --- DEALS CATALOG LAYOUT --- */
.deals-catalog-layout {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.catalog-controls {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: #f8fafc;
  padding: 20px;
  border-radius: 0;
  border: 1px solid var(--border-clean);
}

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

.control-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

.category-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip-btn {
  background: #ffffff;
  border: 1px solid var(--border-clean);
  color: var(--text-secondary);
  font-family: inherit;
  font-weight: 500;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 0;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.chip-btn:hover {
  background: #f1f5f9;
  color: var(--text-primary);
}

.chip-btn.active {
  background: var(--text-primary);
  color: #ffffff;
  border-color: var(--text-primary);
}

/* --- FILTERS ROW --- */
.filters-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.search-filter-wrapper {
  position: relative;
  flex: 1.5;
  min-width: 200px;
  display: flex;
  align-items: center;
}

.search-filter-wrapper i {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.search-filter-wrapper input {
  width: 100%;
  padding: 10px 12px 10px 38px;
  border-radius: 0;
  border: 1px solid var(--border-clean);
  outline: none;
  font-family: inherit;
  font-size: 0.88rem;
  transition: var(--transition-smooth);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.search-filter-wrapper input:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.select-filter-wrapper {
  position: relative;
  flex: 1;
  min-width: 150px;
  display: flex;
  align-items: center;
}

.select-filter-wrapper i {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  font-size: 0.9rem;
  pointer-events: none;
}

.select-filter-wrapper select {
  width: 100%;
  padding: 10px 12px 10px 38px;
  border-radius: 0;
  border: 1px solid var(--border-clean);
  outline: none;
  font-family: inherit;
  font-size: 0.88rem;
  background: white;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  transition: var(--transition-smooth);
}

.select-filter-wrapper select:focus {
  border-color: var(--border-focus);
}

/* --- DEALS GRID --- */
.deals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

/* --- DEAL CARD --- */
.deal-card {
  background: #ffffff;
  border: 1px solid var(--border-clean);
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  cursor: pointer;
  position: relative;
}

.deal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(79, 70, 229, 0.2);
}

.deal-card-image-wrapper {
  background: #ffffff;
  height: 170px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #f1f5f9;
  position: relative;
}

.deal-card-image-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Small Store Logo Badges on Cards */
.deal-card-platform-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  color: white;
  padding: 3px 8px;
  border-radius: 0;
  letter-spacing: 0.05em;
}

.deal-card-platform-badge.amazon {
  background: #f97316;
}

.deal-card-platform-badge.flipkart {
  background: #2563eb;
}

.deal-card-score-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 0;
  display: flex;
  align-items: center;
  gap: 3px;
}

.deal-card-score-badge i {
  color: #fbbf24;
}

.deal-card-content {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.deal-card-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}

.deal-card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.deal-card-rating i {
  color: #fbbf24;
}

.deal-card-pricing-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: auto;
}

.deal-card-price {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-green-dark);
}

.deal-card-mrp {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 500;
}

.deal-card-discount {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-green-dark);
  background: #ecfdf5;
  padding: 1px 5px;
  border-radius: 0;
}

.deal-card-footer {
  margin-top: 12px;
  border-top: 1px solid #f1f5f9;
  padding-top: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.deal-card-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.deal-card-tag.lowest-ever {
  background: #ecfdf5;
  color: var(--color-green-dark);
  border: 1px solid #a7f3d0;
}

.deal-card-tag.all-time-low {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
}

.deal-card-tag.hot-deal {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.deal-card-tag.good-deal {
  background: #f0f9ff;
  color: #0284c7;
  border: 1px solid #bae6fd;
}

.deal-card-action {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-indigo);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition-smooth);
}

.deal-card:hover .deal-card-action {
  gap: 8px;
}

/* --- EMPTY STATE --- */
.empty-state {
  text-align: center;
  padding: 50px 20px;
  color: var(--text-secondary);
}

.empty-icon {
  font-size: 3rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.empty-state h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.empty-state p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- NAVIGATION DROPDOWN --- */
.nav-dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.nav-dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  min-width: 180px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-clean);
  z-index: 101;
}

.nav-dropdown-content a {
  color: var(--text-secondary);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.nav-dropdown-content a:hover {
  background-color: #f1f5f9;
  color: #2563eb;
}

.nav-dropdown-wrapper:hover .nav-dropdown-content {
  display: block;
}

.flag-icon {
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  cursor: pointer;
}

/* --- INFO PAGES STYLING --- */
.info-page-layout {
  padding: 60px 40px;
}

.info-page-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 50px 40px;
}

.info-page-header {
  border-bottom: 1px solid var(--border-clean);
  padding-bottom: 25px;
  margin-bottom: 35px;
  text-align: center;
}

.info-page-header h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.info-page-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.info-page-content {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
}

.info-page-content h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 35px;
  margin-bottom: 15px;
}

.info-page-content h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 25px;
  margin-bottom: 10px;
}

.info-page-content p {
  margin-bottom: 20px;
}

.info-page-content ul, .info-page-content ol {
  margin-bottom: 25px;
  padding-left: 24px;
}

.info-page-content li {
  margin-bottom: 10px;
}

.info-page-content strong {
  color: var(--text-primary);
}

/* --- DEALS CATALOG SIDEBAR LAYOUT --- */
.deals-store-layout {
  display: flex;
  gap: 30px;
  width: 100%;
  margin-top: 30px;
  align-items: flex-start;
}

.catalog-sidebar {
  width: 290px;
  flex-shrink: 0;
}

.sidebar-filter-card {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-clean);
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.sidebar-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-clean);
  padding-bottom: 12px;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-group h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

/* Vertical Price Brackets inside Sidebar */
.price-brackets-vertical {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.price-brackets-vertical .bracket-btn {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border-clean);
  border-radius: 0;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  box-shadow: none;
  transition: var(--transition-smooth);
  height: auto;
}

.price-brackets-vertical .bracket-btn:hover {
  border-color: #2563eb;
  background: #f8fafc;
  transform: none;
}

.price-brackets-vertical .bracket-btn.active {
  background: #2563eb;
  border-color: #2563eb;
  color: white;
  box-shadow: none;
  transform: none;
}

.price-brackets-vertical .bracket-btn.active .bracket-title {
  color: rgba(255, 255, 255, 0.8);
}

.price-brackets-vertical .bracket-btn.active .bracket-value {
  color: white;
}

/* Vertical Category List */
.category-vertical-chips {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 350px;
  overflow-y: auto;
  padding-right: 5px;
}

.category-vertical-chips::-webkit-scrollbar {
  width: 4px;
}

.category-vertical-chips::-webkit-scrollbar-thumb {
  background: var(--border-clean);
}

.category-vertical-chips .chip-btn {
  width: 100%;
  text-align: left;
  border-radius: 0;
  padding: 8px 12px;
  background: white;
  border: 1px solid var(--border-clean);
  font-size: 0.82rem;
  transition: var(--transition-smooth);
}

.category-vertical-chips .chip-btn.active {
  background: #2563eb;
  border-color: #2563eb;
  color: white;
}

/* Right main catalog container */
.catalog-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.catalog-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-clean);
}

.catalog-header-bar h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sort-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sort-wrapper span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
}

@media (max-width: 992px) {
  .deals-store-layout {
    flex-direction: column;
  }
  .catalog-sidebar {
    width: 100%;
  }
}

/* --- PRICE COMPARISON SECTION --- */
.comparison-section {
  margin-top: 25px;
  border-top: 1px solid var(--border-clean);
  padding-top: 20px;
}

.comparison-section h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 15px;
}

.comparison-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comparison-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: #f8fafc;
  border: 1px solid var(--border-clean);
  transition: var(--transition-smooth);
  text-decoration: none;
  color: inherit;
  border-radius: 0;
}

.comparison-row:hover {
  border-color: #2563eb;
  background: #f1f5f9;
}

.comp-store-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.comp-store-logo {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: white;
  font-weight: 800;
  text-transform: uppercase;
}

/* Color schemes for store logos */
.logo-amazon { background-color: #ff9900; }
.logo-flipkart { background-color: #2874f0; }
.logo-myntra { background-color: #ff3f6c; }
.logo-ajio { background-color: #31353c; }
.logo-meesho { background-color: #f43397; }
.logo-shopsy { background-color: #795548; }
.logo-croma { background-color: #00e676; }
.logo-reliance-digital { background-color: #e53935; }
.logo-tata-cliq { background-color: #ff1744; }
.logo-nykaa { background-color: #fc2779; }

.comp-store-details {
  display: flex;
  flex-direction: column;
}

.comp-store-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.comp-store-promo {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.comp-pricing {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.comp-price-value {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.comp-comparison-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 2px;
}

.comp-tag-lowest {
  background-color: #d1fae5;
  color: #065f46;
}

.comp-tag-higher {
  background-color: #fee2e2;
  color: #991b1b;
}

.comp-action-arrow {
  color: var(--text-muted);
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.comparison-row:hover .comp-action-arrow {
  color: #2563eb;
  transform: translateX(3px);
}

/* --- MOBILE APP REDIRECT BANNER --- */
.mobile-app-banner {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--accent-indigo);
  padding: 12px 24px;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: transform 0.3s ease;
}
.mobile-app-banner.hidden {
  display: none !important;
}
.banner-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.banner-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.banner-logo-img {
  height: 36px;
  width: auto;
}
.banner-text {
  display: flex;
  flex-direction: column;
}
.banner-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
}
.banner-sub {
  color: #94a3b8;
  font-size: 0.8rem;
}
.banner-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.banner-btn {
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
}
.android-btn {
  background-color: var(--color-green);
  color: #ffffff;
}
.android-btn:hover {
  background-color: var(--color-green-dark);
}
.ios-btn {
  background-color: rgba(255,255,255,0.1);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.2);
}
.ios-btn:hover {
  background-color: rgba(255,255,255,0.2);
}
.banner-close-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px;
  transition: var(--transition-smooth);
}
.banner-close-btn:hover {
  color: #ffffff;
}

/* --- USER & ADMIN LOGIN/REGISTER STYLES --- */
.auth-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  flex: 1;
  z-index: 1;
}
.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border-clean);
  border-radius: 12px;
  box-shadow: var(--shadow-hover);
  padding: 40px;
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.auth-header {
  text-align: center;
}
.auth-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.auth-header p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.alert {
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-danger {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}
.alert-success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.form-group input, .form-group select {
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid var(--border-clean);
  background-color: #ffffff;
  color: var(--text-primary);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-smooth);
}
.form-group input:focus, .form-group select:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}
.auth-btn {
  background-color: var(--accent-indigo);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
}
.auth-btn:hover {
  background-color: #4338ca;
}
.auth-footer {
  text-align: center;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.auth-footer a {
  color: var(--accent-indigo);
  text-decoration: none;
  font-weight: 600;
}
.auth-footer a:hover {
  text-decoration: underline;
}

/* Avatar Picker */
.avatar-picker-grid {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
.avatar-option {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 2px;
  transition: var(--transition-smooth);
}
.avatar-option:hover, .avatar-option.selected {
  border-color: var(--accent-indigo);
  background-color: rgba(79, 70, 229, 0.05);
}
.custom-avatar-url input {
  width: 100%;
}
.input-helper-text {
  font-size: 0.75rem;
  color: var(--color-orange);
  margin-top: 4px;
}

/* Security Recovery block */
.security-question-block {
  background-color: var(--bg-main);
  padding: 12px;
  border-radius: 6px;
  border-left: 4px solid var(--accent-indigo);
  margin-bottom: 12px;
}
.question-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
}
.question-text {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
}

/* --- DASHBOARD STYLES --- */
.dashboard-wrapper {
  max-width: 1200px;
  width: 100%;
  margin: 40px auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  z-index: 1;
}
.dashboard-header {
  background: var(--bg-card);
  border: 1px solid var(--border-clean);
  border-radius: 12px;
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.user-meta-block {
  display: flex;
  align-items: center;
  gap: 16px;
}
.dashboard-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--accent-indigo);
  background-color: var(--bg-main);
}
.nav-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 6px;
}
.nav-user-profile {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.user-details h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  color: var(--text-primary);
}
.user-tag {
  color: var(--text-secondary);
  font-size: 0.85rem;
}
.dashboard-stats-grid {
  display: flex;
  gap: 16px;
}
.stat-card {
  background-color: var(--bg-main);
  padding: 12px 24px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 100px;
}
.stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-indigo);
}
.stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-align: center;
}
.dashboard-main {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 30px;
  align-items: start;
}
.dashboard-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tab-btn {
  background: none;
  border: none;
  padding: 12px 16px;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition-smooth);
}
.tab-btn i {
  font-size: 1.05rem;
  width: 20px;
}
.tab-btn:hover, .tab-btn.active {
  background-color: rgba(79, 70, 229, 0.08);
  color: var(--accent-indigo);
}
.dashboard-content {
  background: var(--bg-card);
  border: 1px solid var(--border-clean);
  border-radius: 12px;
  padding: 30px;
  min-height: 400px;
}
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}
.tab-content h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.tab-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* Watchlist Layout */
.watchlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.watchlist-card {
  background-color: var(--bg-main);
  border: 1px solid var(--border-clean);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card-img-container {
  height: 150px;
  position: relative;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.card-img-container img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}
.platform-chip {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  color: #ffffff;
}
.platform-chip.amazon { background-color: #ff9900; }
.platform-chip.flipkart { background-color: #2874f0; }
.platform-chip.myntra { background-color: #ff3f6c; }
.platform-chip.ajio { background-color: #2c3e50; }
.platform-chip.meesho { background-color: #f43397; }
.card-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  justify-content: space-between;
}
.card-body h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-price .price-val {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
}
.card-actions {
  display: flex;
  gap: 6px;
}
.card-btn-view {
  flex: 1;
  background-color: var(--accent-indigo);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px;
  border-radius: 4px;
  text-align: center;
  text-decoration: none;
}
.card-btn-remove {
  background: none;
  border: 1px solid var(--color-red);
  color: var(--color-red);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.card-btn-remove:hover {
  background-color: var(--color-red);
  color: #ffffff;
}

/* Active Alerts List */
.alerts-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.alert-item {
  background-color: var(--bg-main);
  border: 1px solid var(--border-clean);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.alert-info {
  display: flex;
  align-items: center;
  gap: 14px;
}
.alert-platform {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  color: #ffffff;
}
.alert-platform.amazon { background-color: #ff9900; }
.alert-platform.flipkart { background-color: #2874f0; }
.alert-text h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.alert-text p {
  font-size: 0.78rem;
  color: var(--text-secondary);
}
.alert-btn-delete {
  background: none;
  border: none;
  color: var(--color-red);
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
}
.alert-btn-delete:hover {
  text-decoration: underline;
}

/* Notifications Feed */
.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.btn-mark-read {
  background: none;
  border: none;
  color: var(--accent-indigo);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}
.notifications-feed {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.notification-item {
  display: flex;
  gap: 14px;
  padding: 14px;
  border-radius: 8px;
  background-color: var(--bg-main);
}
.notification-item.unread {
  background-color: rgba(79, 70, 229, 0.04);
  border-left: 3px solid var(--accent-indigo);
}
.note-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-indigo);
  margin-top: 6px;
}
.note-content h4 {
  font-size: 0.88rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.note-content p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}
.note-time {
  font-size: 0.72rem;
  color: var(--text-muted);
}
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: var(--text-muted);
  gap: 12px;
}
.empty-state i {
  font-size: 3rem;
  color: var(--border-clean);
}

/* --- ADMIN PANEL STYLES --- */
.admin-avatar {
  background-color: rgba(79, 70, 229, 0.1);
  color: var(--accent-indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.admin-table-container {
  overflow-x: auto;
  border: 1px solid var(--border-clean);
  border-radius: 8px;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.admin-table th, .admin-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-clean);
}
.admin-table th {
  background-color: var(--bg-main);
  font-weight: 600;
  color: var(--text-secondary);
}
.status-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}
.status-badge.active, .status-badge.tracking {
  background-color: #d1fae5;
  color: #065f46;
}
.product-cell {
  max-width: 250px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.metric-box {
  background-color: var(--bg-main);
  padding: 16px;
  border-radius: 8px;
  flex: 1;
}
.analytics-row-grid {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.metric-value {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
}
.text-green { color: var(--color-green); }
.admin-code {
  font-size: 0.8rem;
  background-color: #ffffff;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--border-clean);
}
.store-grid-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.store-stat-card {
  background-color: var(--bg-main);
  padding: 12px;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 600;
}
.logs-container {
  background-color: #0f172a;
  color: #38bdf8;
  padding: 20px;
  border-radius: 8px;
  font-family: monospace;
  font-size: 0.8rem;
  overflow-y: auto;
  max-height: 300px;
}

/* --- COUPONS / CATEGORIES / BRANDS STYLES --- */
.catalog-header-section {
  text-align: center;
  padding: 40px 20px;
}
.catalog-header-section h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.catalog-header-section p {
  color: var(--text-secondary);
  font-size: 1rem;
}
.coupons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  padding: 0 40px 60px;
}
.coupon-card {
  background: var(--bg-card);
  border: 1px solid var(--border-clean);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow-subtle);
  position: relative;
}
.coupon-store-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  color: #ffffff;
}
.coupon-store-badge.amazon { background-color: #ff9900; }
.coupon-store-badge.flipkart { background-color: #2874f0; }
.coupon-store-badge.myntra { background-color: #ff3f6c; }
.coupon-store-badge.ajio { background-color: #2c3e50; }
.coupon-store-badge.croma { background-color: #000000; }
.coupon-store-badge.tatacliq { background-color: #da251d; }
.coupon-card h3 {
  font-size: 1.1rem;
  color: var(--text-primary);
}
.coupon-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.coupon-expiry {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.coupon-action-box {
  display: flex;
  gap: 8px;
  align-items: center;
}
.coupon-code {
  flex: 1;
  background-color: var(--bg-main);
  border: 1px dashed var(--border-focus);
  padding: 8px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.9rem;
  text-align: center;
  font-weight: 700;
  color: var(--accent-indigo);
}
.copy-coupon-btn {
  background-color: var(--accent-indigo);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.8rem;
  border: none;
  padding: 9px 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  padding: 0 40px 60px;
}
.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-clean);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--text-primary);
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
}
.category-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.category-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #ffffff;
}
.category-icon-wrapper.mobiles { background-color: #3b82f6; }
.category-icon-wrapper.laptops { background-color: #8b5cf6; }
.category-icon-wrapper.electronics { background-color: #10b981; }
.category-icon-wrapper.fashion { background-color: #ec4899; }
.category-icon-wrapper.appliances { background-color: #f59e0b; }
.category-icon-wrapper.beauty { background-color: #14b8a6; }
.category-icon-wrapper.furniture { background-color: #64748b; }
.category-icon-wrapper.kitchen { background-color: #ef4444; }
.category-info h3 {
  font-size: 1rem;
}
.category-info p {
  font-size: 0.78rem;
  color: var(--text-secondary);
}
.category-meta {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.brands-grid-catalog {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  padding: 0 40px 60px;
}
.brand-card {
  background: var(--bg-card);
  border: 1px solid var(--border-clean);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  gap: 16px;
  text-decoration: none;
  color: var(--text-primary);
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
}
.brand-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.brand-logo-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--bg-main);
  border: 1px solid var(--border-clean);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
}
.brand-logo-circle.samsung { color: #0f172a; }
.brand-logo-circle.nike { color: #000000; }
.brand-logo-circle.hp { color: #0096d6; }
.brand-logo-circle.sony { color: #000000; font-size: 0.8rem; }
.brand-logo-circle.philips { color: #0b5c9c; }
.brand-body h3 {
  font-size: 1.1rem;
  margin-bottom: 2px;
}
.brand-body p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.brand-discount-badge {
  font-size: 0.7rem;
  font-weight: 700;
  background-color: #d1fae5;
  color: #065f46;
  padding: 2px 8px;
  border-radius: 4px;
}

/* --- FAQ STYLES --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto 60px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-clean);
  border-radius: 8px;
  padding: 24px;
}
.faq-item h3 {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.faq-item h3 i {
  color: var(--accent-indigo);
}
.faq-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* Error page tweaks */
.error-page-card {
  text-align: center;
  max-width: 440px;
}
.error-page-code i {
  font-size: 4rem;
  color: var(--accent-indigo);
  margin-bottom: 12px;
}
.error-page-code h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.error-page-actions {
  margin-top: 10px;
}

@media(max-width: 768px) {
  .dashboard-main {
    grid-template-columns: 1fr;
  }
  .dashboard-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .dashboard-stats-grid {
    width: 100%;
    justify-content: space-between;
  }
}

/* --- HOMEPAGE ADDITIONAL SECTIONS STYLES --- */
.section-title-block {
  text-align: center;
  margin-bottom: 30px;
}
.section-title-block h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.section-title-block p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Why us section */
.why-us-section, .carry-app-section, .stores-supported-section, .faq-accordion-section {
  margin-top: 30px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.feature-card {
  background-color: var(--bg-main);
  border: 1px solid var(--border-clean);
  border-radius: 10px;
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: var(--transition-smooth);
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-subtle);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(79, 70, 229, 0.08);
  color: var(--accent-indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
}
.feature-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* Carry App Section */
.carry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.carry-left h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.carry-left p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.stats-row-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-val {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-indigo);
}
.stat-lbl {
  font-size: 0.72rem;
  color: var(--text-secondary);
}
.carry-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.download-card {
  background-color: var(--bg-main);
  border: 1px solid var(--border-clean);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.download-icon {
  font-size: 2rem;
  color: var(--accent-indigo);
}
.download-text {
  flex: 1;
}
.download-text h3 {
  font-size: 0.95rem;
}
.download-text p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Supported stores logo grid */
.stores-logo-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.store-logo-item {
  background-color: var(--bg-main);
  border: 1px solid var(--border-clean);
  border-radius: 50px;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
}
.store-logo-item i {
  font-size: 1.15rem;
  color: var(--accent-indigo);
}
.store-logo-item.flipkart i { color: #2874f0; }
.store-logo-item.myntra i { color: #ff3f6c; }
.store-logo-item.ajio i { color: #2c3e50; }
.store-logo-item.meesho i { color: #f43397; }
.store-logo-item.shopsy i { color: #ff9900; }
.store-logo-item.croma i { color: #000000; }
.store-logo-item.reliance i { color: #e4252a; }
.store-logo-item.tatacliq i { color: #da251d; }
.store-logo-item.nykaa i { color: #fc2779; }

/* FAQ Accordion Section */
.accordion-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}
.accordion-item {
  border: 1px solid var(--border-clean);
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--bg-main);
}
.accordion-header {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 24px;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.accordion-header:hover {
  background-color: rgba(79, 70, 229, 0.02);
}
.accordion-header i {
  transition: transform 0.3s ease;
  color: var(--text-muted);
}
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.accordion-body p {
  padding: 0 24px 18px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

@media(max-width: 768px) {
  .carry-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .stats-row-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}



/* ==============================================================================
   Admin Dashboard Forms & Custom Extensions
   ============================================================================== */
.admin-form {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  margin-top: 16px;
  margin-bottom: 32px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.admin-form h4 {
  margin-top: 0;
  margin-bottom: 18px;
  color: #1e1b4b;
  font-size: 1.05rem;
  font-weight: 700;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 10px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
}
.form-group input[type="text"],
.form-group textarea,
.form-group input[type="file"] {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: all 0.2s;
  background: #f8fafc;
}
.form-group input[type="text"]:focus,
.form-group textarea:focus {
  border-color: #4f46e5;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}
.submit-btn {
  background: #4f46e5;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.submit-btn:hover {
  background: #4338ca;
}
.delete-action-btn {
  background: #fef2f2;
  color: #ef4444;
  border: 1px solid #fee2e2;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.delete-action-btn:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
}
.mt-6 {
  margin-top: 32px;
}
.admin-code-inline {
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.8rem;
  color: #334155;
}


/* --- Analytics & Earnings Sub Tab styles --- */
.analytics-sub-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #475569;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  outline: none;
}
.analytics-sub-btn:hover {
  background: #e2e8f0;
  color: #1e1b4b;
}
.analytics-sub-btn.active {
  background: #4f46e5;
  color: #ffffff;
  border-color: #4f46e5;
}
.analytics-sub-content {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}
.analytics-sub-content.active {
  display: block;
}
.font-success {
  color: #16a34a !important;
}

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


/* --- MOBILE RESPONSIVE NAVIGATION DRAWER --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--text-primary);
  cursor: pointer;
  padding: 6px;
  transition: color 0.2s;
  outline: none;
}
.mobile-menu-toggle:hover {
  color: #2563eb;
}

@media (max-width: 991px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-container {
    padding: 12px 20px;
    position: relative;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .nav-menu {
    display: none; /* Collapsed state */
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-bottom: 1.5px solid #e2e8f0;
    padding: 20px 24px;
    gap: 16px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    z-index: 100;
    box-sizing: border-box;
  }
  
  .nav-menu.open {
    display: flex;
  }
  
  .nav-dropdown-content {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 16px;
    background: transparent;
    margin-top: 6px;
    display: none;
  }
  
  .nav-dropdown-wrapper:hover .nav-dropdown-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  .nav-actions {
    gap: 10px;
    margin-left: auto;
    margin-right: 12px;
  }
  
  .nav-actions .flag-icon {
    display: none; /* Hide country flag on mobile headers to conserve space */
  }
  
  .login-btn {
    padding: 6px 14px;
    font-size: 0.8rem;
  }
  
  .logo .domain-badge {
    display: none; /* Hide badge on mobile header logo */
  }
  
  .header-logo-img {
    height: 34px;
  }
  
  .logo {
    font-size: 1.4rem;
  }
}


/* --- SHIMMER LOADING EFFECT --- */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.skeleton-shimmer {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite linear;
}

.skeleton-card {
  pointer-events: none;
}

.skeleton-image {
  height: 170px;
  width: 100%;
  border-bottom: 1px solid #f1f5f9;
}

.skeleton-title {
  height: 16px;
  width: 85%;
  border-radius: 4px;
  margin-bottom: 8px;
  margin-top: 14px;
}

.skeleton-text {
  height: 12px;
  width: 60%;
  border-radius: 4px;
  margin-bottom: 12px;
}

.skeleton-price {
  height: 20px;
  width: 40%;
  border-radius: 4px;
}
