/* ==========================================================================
   GEEKY VIKAS AFFILIATE SHOWCASE - DESIGN SYSTEM
   ========================================================================== */

:root {
  /* Signature Brand Color (Geeky Vikas Golden-Amber) */
  --brand-signature: #FF9E0F;
  --brand-signature-dark: #E68A00;
  --brand-signature-light: #FFB74D;
  --brand-glow: rgba(255, 158, 15, 0.22);
  --brand-gradient: linear-gradient(135deg, #FFA000 0%, #FF8F00 100%);

  /* Light Theme Palette */
  --bg-primary: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-active: #e2e8f0;

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-inverse: #ffffff;

  --border-subtle: #e2e8f0;
  --border-focus: var(--brand-signature);

  --primary: #0f172a;
  --primary-hover: #1e293b;
  --primary-fg: #ffffff;

  /* Platform Brand Colors */
  --amazon-color: #e67a00;
  --amazon-bg: rgba(230, 122, 0, 0.08);
  --flipkart-color: #2874f0;
  --flipkart-bg: rgba(40, 116, 240, 0.08);
  --myntra-color: #ff3f6c;
  --myntra-bg: rgba(255, 63, 108, 0.08);
  --meesho-color: #9e1b73;
  --meesho-bg: rgba(158, 27, 115, 0.08);

  /* Shadows */
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 8px -2px rgba(0, 0, 0, 0.06), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 20px -4px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.03);
  --shadow-card-hover: 0 16px 30px -6px rgba(15, 23, 42, 0.1), 0 6px 10px -4px rgba(15, 23, 42, 0.04);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 350ms cubic-bezier(0.34, 1.56, 0.64, 1);

  --max-width: 1680px;
}

[data-theme="dark"] {
  --bg-primary: #0a0d14;
  --bg-surface: #111722;
  --bg-surface-elevated: #17202e;
  --bg-subtle: #1a2433;
  --bg-active: #28374d;

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  --text-inverse: #0a0d14;

  --border-subtle: #1f2d40;
  --border-focus: var(--brand-signature);

  --primary: #f8fafc;
  --primary-hover: #e2e8f0;
  --primary-fg: #0f172a;

  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 8px -2px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 20px -4px rgba(0, 0, 0, 0.5);
  --shadow-card-hover: 0 18px 32px -6px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
  scrollbar-width: thin;
  scrollbar-color: var(--border-subtle) var(--bg-primary);
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: var(--radius-pill);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brand-signature);
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  width: 100%;
}

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */

.site-navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background-color var(--transition-smooth), border-color var(--transition-smooth);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.25rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: var(--radius-sm);
  background: var(--brand-gradient);
  color: #000;
  font-size: 1.1rem;
  font-weight: 800;
  box-shadow: 0 4px 10px var(--brand-glow);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-avatar-wrap {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
}

.nav-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--brand-signature);
  box-shadow: 0 2px 8px var(--brand-glow);
}

.nav-verified-dot {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 1rem;
  height: 1rem;
  background: var(--brand-signature);
  color: #000;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--bg-surface);
}

.brand-text-group {
  display: flex;
  flex-direction: column;
}

.brand-logo-text {
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.brand-logo-text span {
  color: var(--brand-signature);
}

.brand-subtext {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Nav Trust / Credibility Badge */
.nav-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.nav-trust-pill:hover {
  border-color: var(--brand-signature);
  background: var(--brand-glow);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.trust-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-signature);
  box-shadow: 0 0 0 3px rgba(255, 158, 15, 0.25);
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.trust-main strong {
  color: var(--brand-signature);
  font-weight: 800;
}

.trust-sep {
  opacity: 0.4;
}

.trust-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* Nav Social Buttons */
.nav-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.nav-social-icon:hover {
  transform: translateY(-1px);
}

.nav-social-icon.yt-icon:hover {
  background: #ff0000;
  color: #fff;
  border-color: #ff0000;
}

.nav-social-icon.ig-icon:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
  border-color: transparent;
}

.theme-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  background: var(--bg-active);
  color: var(--text-primary);
  transform: translateY(-1px);
}

/* Minimal Clean Footer */
.footer-top-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 0.25rem;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--brand-signature);
}

.footer-dot {
  opacity: 0.35;
}

.social-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.social-pill-btn:hover {
  transform: translateY(-1px);
}

.social-pill-btn.youtube-btn:hover {
  background: #ff0000;
  color: white;
  border-color: #ff0000;
}

.social-pill-btn.instagram-btn:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
  border-color: transparent;
}

/* Creator Info Modal */
.creator-modal-body {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0;
}

.creator-modal-avatar {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--brand-signature);
  box-shadow: 0 8px 24px var(--brand-glow);
  margin-bottom: 0.25rem;
}

.creator-modal-name {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.creator-modal-tagline {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-signature);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.creator-modal-bio {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  max-width: 440px;
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   COMPACT MULTI-FILTER TOOLBAR & POPOVERS
   ========================================================================== */

.filter-section {
  position: sticky;
  top: 4.25rem;
  z-index: 30;
  background: var(--bg-primary);
  padding-block: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.controls-grid {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.toolbar-main-row {
  display: flex;
  gap: 0.65rem;
  align-items: center;
}

.search-box-wrapper {
  position: relative;
  flex: 1;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 0.65rem 2.5rem 0.65rem 2.6rem;
  font-size: 0.9rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  color: var(--text-primary);
  outline: none;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.search-input:focus {
  border-color: var(--brand-signature);
  box-shadow: 0 0 0 3px var(--brand-glow);
}

.search-clear-btn {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  display: none;
  padding: 0.25rem;
  border-radius: 50%;
}

.search-clear-btn.visible {
  display: block;
}

.filter-dropdown-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Multi-Select Dropdown Wrapper & Button */
.dropdown-wrapper {
  position: relative;
}

.dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.dropdown-btn:hover, .dropdown-wrapper.open .dropdown-btn {
  border-color: var(--brand-signature);
  background: var(--bg-subtle);
}

.dropdown-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.dropdown-btn.active-filter .dropdown-badge {
  background: var(--brand-signature);
  color: #000000;
}

.chevron-icon {
  transition: transform var(--transition-fast);
  color: var(--text-muted);
}

.dropdown-wrapper.open .chevron-icon {
  transform: rotate(180deg);
}

/* Floating Popover */
.dropdown-popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 250px;
  max-width: 320px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
  overflow: hidden;
}

.dropdown-wrapper.open .dropdown-popover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.popover-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-subtle);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.btn-popover-action {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-signature-dark);
  text-decoration: underline;
  cursor: pointer;
}

[data-theme="dark"] .btn-popover-action {
  color: var(--brand-signature-light);
}

.popover-options-list {
  padding: 0.5rem;
  max-height: 250px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.popover-option-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: background var(--transition-fast);
  user-select: none;
}

.popover-option-item:hover {
  background: var(--bg-subtle);
}

.popover-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1;
  cursor: pointer;
}

.popover-checkbox {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--brand-signature);
  cursor: pointer;
}

.btn-delete-tag-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  color: var(--text-muted);
  opacity: 0.5;
  transition: all var(--transition-fast);
  cursor: pointer;
  padding: 0;
  border: none;
  background: transparent;
}

.btn-delete-tag-item:hover {
  opacity: 1;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.12);
}

.popover-footer-add {
  padding: 0.5rem 0.75rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-subtle);
}

.btn-popover-add-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  padding: 0.45rem;
  font-size: 0.775rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--brand-signature);
  color: var(--brand-signature-dark);
  background: var(--bg-surface);
}

[data-theme="dark"] .btn-popover-add-tag {
  color: var(--brand-signature-light);
}

.sort-select {
  padding: 0.6rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  outline: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.sort-select:focus {
  border-color: var(--brand-signature);
}

/* Active Filter Tags Strip */
.active-filters-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.active-filters-strip:empty {
  display: none;
}

.active-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.6rem;
  font-size: 0.775rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  background: var(--brand-glow);
  color: var(--brand-signature-dark);
  border: 1px solid var(--brand-signature);
  animation: fadeIn 0.2s ease;
}

[data-theme="dark"] .active-tag-pill {
  color: var(--brand-signature-light);
}

.active-tag-pill button.remove-tag-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  color: inherit;
  font-size: 0.85rem;
  line-height: 1;
}

.active-tag-pill button.remove-tag-btn:hover {
  background: rgba(0, 0, 0, 0.15);
}

.btn-clear-all-tags {
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: underline;
  cursor: pointer;
  margin-left: 0.3rem;
  padding: 0.2rem;
}

.btn-clear-all-tags:hover {
  color: #ef4444;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 768px) {
  .toolbar-main-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .filter-dropdown-group {
    width: 100%;
    justify-content: space-between;
  }

  .dropdown-wrapper {
    flex: 1;
  }

  .dropdown-btn {
    width: 100%;
    justify-content: space-between;
  }

  .dropdown-popover {
    left: 0;
    right: 0;
    min-width: 220px;
  }
}

/* ==========================================================================
   PRODUCT GRID & MINIMALIST CARDS
   ========================================================================== */

.products-section {
  padding-block: 2rem 4rem;
  flex: 1;
}

.section-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.results-count {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.results-count span {
  color: var(--text-primary);
  font-weight: 800;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  min-height: 600px;
}

/* Clean Minimal Card */
.product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(255, 158, 15, 0.45);
}

.card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: var(--bg-subtle);
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.product-card:hover .card-image {
  transform: scale(1.04);
}

.card-badges {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 2;
}

.platform-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.platform-badge.Amazon {
  background: rgba(255, 255, 255, 0.92);
  color: #e67a00;
  border: 1px solid rgba(230, 122, 0, 0.25);
}
[data-theme="dark"] .platform-badge.Amazon {
  background: rgba(20, 24, 33, 0.92);
  color: #ff9900;
}

.platform-badge.Flipkart {
  background: rgba(255, 255, 255, 0.92);
  color: #2874f0;
  border: 1px solid rgba(40, 116, 240, 0.25);
}
[data-theme="dark"] .platform-badge.Flipkart {
  background: rgba(20, 24, 33, 0.92);
  color: #5c9aff;
}

.platform-badge.Myntra {
  background: rgba(255, 255, 255, 0.92);
  color: #ff3f6c;
  border: 1px solid rgba(255, 63, 108, 0.25);
}
[data-theme="dark"] .platform-badge.Myntra {
  background: rgba(20, 24, 33, 0.92);
  color: #ff6b8f;
}

.platform-badge.Meesho {
  background: rgba(255, 255, 255, 0.92);
  color: #9e1b73;
  border: 1px solid rgba(158, 27, 115, 0.25);
}
[data-theme="dark"] .platform-badge.Meesho {
  background: rgba(20, 24, 33, 0.92);
  color: #f43397;
}

.featured-pill {
  background: #000;
  color: var(--brand-signature);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 158, 15, 0.3);
}

.card-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-signature);
  margin-bottom: 0.4rem;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.45;
  margin-bottom: 0.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Review Video Tag Pill */
.card-video-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  transition: all var(--transition-fast);
  width: 100%;
}

.card-video-pill:hover {
  background: var(--bg-active);
  color: var(--text-primary);
}

.card-video-pill span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-video-pill.youtube-pill svg {
  color: #ff0000;
  flex-shrink: 0;
}

.card-video-pill.instagram-pill svg {
  color: #e1306c;
  flex-shrink: 0;
}

/* Card Actions */
.card-actions {
  margin-top: auto;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.btn-buy {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  background-color: var(--primary);
  color: var(--primary-fg);
  transition: all var(--transition-fast);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.btn-buy:hover {
  background-color: var(--brand-signature);
  color: #000000;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--brand-glow);
}

.btn-buy.amazon-btn:hover {
  background-color: #e67a00;
  color: #ffffff;
}
.btn-buy.flipkart-btn:hover {
  background-color: #2874f0;
  color: #ffffff;
}
.btn-buy.myntra-btn:hover {
  background-color: #ff3f6c;
  color: #ffffff;
}
.btn-buy.meesho-btn:hover {
  background-color: #9e1b73;
  color: #ffffff;
}



/* ==========================================================================
   EMPTY STATE
   ========================================================================== */

.empty-state {
  text-align: center;
  padding: 4rem 1rem;
  max-width: 450px;
  margin-inline: auto;
  display: none;
}

.empty-state.visible {
  display: block;
}

.empty-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin-inline: auto;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.empty-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.empty-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.btn-reset {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  background: var(--brand-gradient);
  color: #000;
  transition: all var(--transition-fast);
}

.btn-reset:hover {
  filter: brightness(1.08);
}

/* ==========================================================================
   ADMIN LOGIN & CREATOR DRAWER
   ========================================================================== */

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-smooth), visibility var(--transition-smooth);
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 580px;
  background: var(--bg-surface);
  z-index: 51;
  box-shadow: var(--shadow-xl);
  transform: translateX(100%);
  transition: transform var(--transition-spring);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.drawer-backdrop.active .drawer-panel {
  transform: translateX(0);
}

.drawer-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface-elevated);
}

.drawer-title-group h2 {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.drawer-title-group p {
  font-size: 0.825rem;
  color: var(--text-secondary);
}

.drawer-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--bg-subtle);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.drawer-close-btn:hover {
  background: var(--bg-active);
  color: var(--text-primary);
}

.drawer-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  outline: none;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--brand-signature);
  background: var(--bg-surface);
  box-shadow: 0 0 0 3px var(--brand-glow);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.drawer-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface-elevated);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.drawer-actions-row {
  display: flex;
  gap: 0.75rem;
}

.btn-primary-action {
  flex: 1;
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  background: var(--brand-gradient);
  color: #000000;
  text-align: center;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 12px var(--brand-glow);
}

.btn-primary-action:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-secondary-action {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.btn-secondary-action:hover {
  background: var(--bg-active);
}

.code-box {
  background: #0a0d14;
  color: #e2e8f0;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.8rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  overflow-x: auto;
  max-height: 180px;
  white-space: pre;
  border: 1px solid #1f2d40;
}

/* Modal Dialog (Admin Passcode & Add Tag) */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-title {
  font-size: 1.15rem;
  font-weight: 800;
}

/* ==========================================================================
   TOAST
   ========================================================================== */

.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  padding: 0.75rem 1.25rem;
  background: var(--primary);
  color: var(--primary-fg);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  pointer-events: auto;
  border: 1px solid var(--brand-signature);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  margin-top: auto;
  padding-block: 2.5rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.disclaimer-note {
  max-width: 650px;
  font-size: 0.775rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-admin-trigger {
  opacity: 0.3;
  transition: opacity var(--transition-fast);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.footer-admin-trigger:hover {
  opacity: 1;
  color: var(--brand-signature);
}

/* ==========================================================================
   RESPONSIVE ADJUSTMENTS (WIDESCREEN & MOBILE MULTI-CARD)
   ========================================================================== */

@media (max-width: 1100px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
  }
}

@media (max-width: 860px) {
  .nav-trust-pill .trust-sub {
    display: none;
  }
}

@media (max-width: 768px) {
  .container {
    padding-inline: 0.85rem;
  }

  .filter-section {
    top: 4.25rem;
    padding-block: 0.45rem;
  }

  .toolbar-main-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
  }

  /* Horizontal Scrolling Filter Pills (Never gets clipped or squeezed) */
  .filter-dropdown-group {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    overflow-x: auto;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .filter-dropdown-group::-webkit-scrollbar {
    display: none;
  }

  .dropdown-btn, .sort-select {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 0.45rem 0.8rem;
    font-size: 0.775rem;
  }

  /* Mobile Bottom Sheet for Popovers (Native App Feel, Zero Clipping) */
  .dropdown-popover {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.7);
    border: 1px solid var(--border-subtle);
    border-bottom: none;
    z-index: 150;
    animation: slideUpSheet 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 75vh;
  }
}

@keyframes slideUpSheet {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@media (max-width: 600px) {
  .nav-trust-pill {
    display: none;
  }

  .brand-subtext {
    display: none;
  }

  .container {
    padding-inline: 0.6rem;
  }
}

/* Mobile 2-Column Multi-Card Layout (4 to 6 cards visible at once) */
@media (max-width: 640px) {
  .site-navbar {
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav-wrapper {
    height: 3.5rem;
    padding-inline: 0.25rem;
  }

  .brand-avatar-wrap {
    width: 2rem;
    height: 2rem;
  }

  .brand-logo-text {
    font-size: 0.95rem;
  }

  .nav-actions {
    gap: 0.35rem;
  }

  .nav-social-icon {
    width: 2rem;
    height: 2rem;
  }

  .theme-toggle-btn {
    width: 2rem;
    height: 2rem;
  }

  .filter-section {
    top: 3.5rem;
    padding-block: 0.35rem;
  }

  .search-input {
    padding: 0.5rem 1.8rem 0.5rem 2.2rem;
    font-size: 0.825rem;
  }

  .products-section {
    padding-block: 0.5rem 2.5rem;
  }

  .section-meta-bar {
    margin-bottom: 0.45rem;
  }

  .results-count {
    font-size: 0.75rem;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .product-card {
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .card-media {
    aspect-ratio: 1 / 1;
    height: auto;
    max-height: 135px;
  }

  .card-badges {
    top: 0.3rem;
    left: 0.3rem;
    right: 0.3rem;
  }

  .platform-badge {
    font-size: 0.6rem;
    padding: 0.15rem 0.35rem;
    border-radius: 4px;
    gap: 0.2rem;
  }

  .featured-pill {
    font-size: 0.575rem;
    padding: 0.15rem 0.3rem;
    border-radius: 4px;
  }

  .card-content {
    padding: 0.5rem 0.45rem;
    display: flex;
    flex-direction: column;
    flex: 1;
  }

  .card-category {
    font-size: 0.6rem;
    margin-bottom: 0.1rem;
    letter-spacing: 0.04em;
  }

  .card-title {
    font-size: 0.75rem;
    line-height: 1.25;
    height: 1.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.3rem;
  }

  .card-video-pill {
    font-size: 0.6rem;
    padding: 0.18rem 0.35rem;
    gap: 0.2rem;
    margin-bottom: 0.4rem;
    border-radius: 4px;
  }

  .card-video-pill svg {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
  }

  .card-video-pill span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 95px;
  }

  .card-actions {
    margin-top: auto;
  }

  .btn-buy {
    padding: 0.42rem 0.45rem;
    font-size: 0.725rem;
    gap: 0.25rem;
    border-radius: 6px;
    justify-content: center;
  }

  .btn-buy svg {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
  }
}

/* Extra small mobile screens (e.g. 360px and below) */
@media (max-width: 360px) {
  .products-grid {
    gap: 0.4rem;
  }

  .card-media {
    max-height: 120px;
  }

  .card-content {
    padding: 0.45rem 0.35rem;
  }

  .btn-buy {
    font-size: 0.675rem;
    padding: 0.38rem 0.4rem;
  }
}
