/* Kairox Plus — accent colors applied via js/theme.js injectAccentStyles */
.nav-tools-wrap { position: relative; }
.nav-tools-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-glass);
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-tools-panel {
  position: fixed;
  min-width: 200px;
  padding: 14px;
  border-radius: var(--radius);
  z-index: 1100;
  display: none;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  background: var(--bg-card);
}
.nav-tools-panel.open { display: block; }
.nav-tools-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  margin-top: 10px;
}
.nav-tools-label:first-child { margin-top: 0; }
.nav-tools-currency .currency-toggle {
  width: 100%;
  height: auto;
  padding: 8px 12px;
  font-size: 0.8rem;
}

.accent-picker {
  display: flex;
  gap: 8px;
  align-items: center;
}
.accent-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
}
.accent-dot.active { border-color: var(--text-primary); transform: scale(1.1); }
.accent-cyan { background: #00f0ff; }
.accent-purple { background: #a855f7; }
.accent-green { background: #00ff88; }
.accent-pink { background: #ff0080; }

.currency-toggle {
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-primary);
  color: var(--accent-cyan);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

/* Changelog — fixed panel, hidden until open */
.nav-changelog-btn {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-glass);
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-changelog-btn.has-new::after {
  content: '';
  position: absolute;
  top: 4px;
  right: 4px;
  width: 7px;
  height: 7px;
  background: var(--accent-pink);
  border-radius: 50%;
}
.changelog-dropdown {
  position: fixed;
  min-width: 280px;
  max-width: min(360px, calc(100vw - 24px));
  max-height: min(420px, calc(100vh - var(--nav-height) - 24px));
  overflow-y: auto;
  padding: 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  z-index: 1100;
  display: none;
  background: var(--bg-card);
}
.changelog-dropdown.open { display: block; }
.changelog-dropdown-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg-card);
  z-index: 1;
}
.changelog-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}
.changelog-drop-item {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}
.changelog-drop-item:last-child { border-bottom: none; }
.changelog-drop-date { color: var(--text-muted); font-size: 0.75rem; margin-inline-start: 8px; }
.changelog-drop-item ul { margin: 6px 0 0; padding-inline-start: 18px; color: var(--text-secondary); font-size: 0.8rem; }
.changelog-drop-item p { margin: 4px 0; color: var(--text-secondary); font-size: 0.82rem; }

.product-discount-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--accent-pink);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 2;
}
[dir="ltr"] .product-discount-badge { left: auto; right: 10px; }

.flash-countdown {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  padding: 6px 10px;
  background: rgba(255, 0, 128, 0.1);
  border: 1px solid rgba(255, 0, 128, 0.3);
  border-radius: 8px;
  font-size: 0.75rem;
}
.flash-label { color: var(--accent-pink); font-weight: 600; }
.flash-timer { font-family: monospace; color: var(--accent-cyan); }

.price-old {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 0.85em;
}
.price-new { color: var(--accent-cyan); font-weight: 700; }
.price-off {
  font-size: 0.75rem;
  color: var(--accent-pink);
  margin-inline-start: 4px;
}

.shop-advanced-filters {
  /* styled in main.css (.shop-filter-panel) */
}

.search-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 0 0;
  border-top: 1px solid var(--border);
  margin-top: 12px;
  font-size: 0.8rem;
}
.search-filters label { display: flex; align-items: center; gap: 6px; color: var(--text-secondary); }
.search-filters select,
.search-filters input { padding: 4px 8px; border-radius: 4px; border: 1px solid var(--border); background: var(--bg-primary); color: inherit; }

.human-chat-footer {
  display: none;
  padding: 8px 12px;
  border-top: 1px solid var(--border);
  background: rgba(255, 70, 85, 0.08);
}
.human-chat-footer.visible { display: block; }
.human-chat-link {
  display: block;
  text-align: center;
  font-size: 0.82rem;
  color: var(--accent-cyan);
  text-decoration: none;
}

.verified-badge {
  display: inline-block;
  font-size: 0.7rem;
  color: var(--accent-green);
  margin-inline-start: 6px;
}

.inline-demo-embed-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.inline-demo-embed-tabs button {
  padding: 6px 14px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-primary);
  color: var(--text-secondary);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.8rem;
}
.inline-demo-embed-tabs button.active {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.affiliate-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin: 16px 0;
}
.affiliate-stat {
  padding: 16px;
  background: var(--bg-primary);
  border-radius: var(--radius);
  text-align: center;
}
.affiliate-stat strong {
  display: block;
  font-size: 1.4rem;
  color: var(--accent-cyan);
}
.affiliate-stat span { font-size: 0.8rem; color: var(--text-muted); }

@media (max-width: 968px) {
  .nav-tools-wrap { display: none; }
}

@media (max-width: 768px) {
  .shop-advanced-filters { flex-direction: column; align-items: stretch; }
  .nav-actions { gap: 8px; }
  .nav-changelog-btn { width: 32px; height: 32px; font-size: 0.9rem; }
}
