/* ============================================================ */
/* NVIDIA RTX SPARK — product grid + filter overrides (lazy)    */
/* Component layer: RtxSparkKit RS_CSS, inlined for first paint */
/* Ink #080808 · NVIDIA green #76B900 · Barlow                  */
/* ============================================================ */

@font-face { font-family: 'Barlow'; src: url(/fonts/google/barlow-300.woff2) format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url(/fonts/google/barlow-400.woff2) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url(/fonts/google/barlow-600.woff2) format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url(/fonts/google/barlow-700.woff2) format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url(/fonts/google/barlow-900.woff2) format('woff2'); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow Fallback'; src: local('Arial'); ascent-override: 103.13%; descent-override: 20.63%; line-gap-override: 0%; size-adjust: 96.96%; }

/* ── PRODUCT CARDS: dark panels, NVIDIA green on hover ── */
.dark .brand-themed[data-brand="rtxspark"] [data-brand-grid] .product-card .group\/card {
  background: #101210 !important;
  border: 1px solid #23271F !important;
  border-radius: 0 !important;
  transition: border-color 0.3s ease, transform 0.3s ease !important;
  box-shadow: none !important;
}

.dark .brand-themed[data-brand="rtxspark"] [data-brand-grid] .product-card .group\/card::before,
.dark .brand-themed[data-brand="rtxspark"] [data-brand-grid] .product-card .group\/card::after {
  display: none !important;
}

@media (min-width: 992px) {
  .dark .brand-themed[data-brand="rtxspark"] [data-brand-grid] .product-card .group\/card:hover {
    transform: translateY(-4px) !important;
    border-color: #76B900 !important;
  }
}

/* ── BADGES / TAGS ── */
.dark .brand-themed[data-brand="rtxspark"] [data-brand-grid] .product-card .badge-tag {
  background: #76B900 !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #080808 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
}

.dark .brand-themed[data-brand="rtxspark"] [data-brand-grid] .product-card .badge-tag > div:first-child {
  background: transparent !important;
}

/* ── SORT BAR / SEARCH ── */
.dark .brand-themed[data-brand="rtxspark"] [data-sort-bar] {
  background: #101210 !important;
  border: 1px solid #23271F !important;
  border-radius: 0 !important;
}

.dark .brand-themed[data-brand="rtxspark"] [data-sort-search] {
  background: #151815 !important;
  border: 1px solid #23271F !important;
  border-radius: 0 !important;
}

/* ── GREEN STATUS → NVIDIA GREEN ── */
.dark .brand-themed[data-brand="rtxspark"] [data-brand-grid] .product-card [class*="bg-green"] {
  background-color: #76B900 !important;
}

.dark.dark .brand-themed[data-brand="rtxspark"] [data-brand-grid] .product-card span[class*="green"] {
  color: #8ED600 !important;
}

/* ── FILTER SIDEBAR ── */
.dark .brand-themed[data-brand="rtxspark"] [data-filter-column] > div {
  background: #101210 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: inset 0 0 0 1px #23271F !important;
  clip-path: none !important;
}

.dark .brand-themed[data-brand="rtxspark"] [data-filter-column] > div::before,
.dark .brand-themed[data-brand="rtxspark"] [data-filter-column] > div::after {
  display: none !important;
}

.dark .brand-themed[data-brand="rtxspark"] [data-filter-column] [class*="sticky"] {
  background: transparent !important;
  border-radius: 0 !important;
  border-bottom: 1px solid #23271F !important;
  box-shadow: none !important;
}

.dark .brand-themed[data-brand="rtxspark"] [data-filter-column] h2 {
  font-family: "Barlow", system-ui, sans-serif !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
  color: #F2F4EF !important;
}

.dark .brand-themed[data-brand="rtxspark"] [data-filter-column] h3,
.dark .brand-themed[data-brand="rtxspark"] [data-filter-column] button[class*="justify-between"] {
  font-family: "Barlow", system-ui, sans-serif !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: #F2F4EF !important;
  transition: color 0.2s ease !important;
}

.dark .brand-themed[data-brand="rtxspark"] [data-filter-column] button[class*="justify-between"]:hover {
  color: #76B900 !important;
}

.dark .brand-themed[data-brand="rtxspark"] [data-filter-column] hr,
.dark .brand-themed[data-brand="rtxspark"] [data-filter-column] [class*="border-b"] {
  border-color: #23271F !important;
}

.dark .brand-themed[data-brand="rtxspark"] [data-filter-column] .filter-group label {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 6px 0 !important;
}

.dark .brand-themed[data-brand="rtxspark"] [data-filter-column] .filter-group label span {
  font-size: 15px !important;
  color: #9BA39A !important;
}

.dark .brand-themed[data-brand="rtxspark"] [data-filter-column] .filter-group label:hover span,
.dark .brand-themed[data-brand="rtxspark"] [data-filter-column] .filter-group label:has(input:checked) span {
  color: #F2F4EF !important;
}

/* checkbox: square, green when checked */
.dark .brand-themed[data-brand="rtxspark"] [data-filter-column] .filter-group label > div:first-child {
  width: 18px !important;
  height: 18px !important;
  border-radius: 0 !important;
  border: 1px solid #23271F !important;
  background: #151815 !important;
}

.dark .brand-themed[data-brand="rtxspark"] [data-filter-column] .filter-group label:has(input:checked) > div:first-child {
  background: #76B900 !important;
  border-color: #76B900 !important;
}

.dark .brand-themed[data-brand="rtxspark"] [data-filter-column] .filter-group label span[class*="font-mono"] {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  font-family: "Barlow", system-ui, sans-serif !important;
  font-size: 15px !important;
  color: #9BA39A !important;
}

/* active-filter chips, "+N more", reset */
.dark .brand-themed[data-brand="rtxspark"] [data-filter-column] [class*="rounded"][class*="text-xs"] {
  background: #151815 !important;
  border: 1px solid #23271F !important;
  border-radius: 0 !important;
  color: #F2F4EF !important;
  font-size: 15px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
}

.dark .brand-themed[data-brand="rtxspark"] [data-filter-column] button[class*="text-xs"] {
  font-size: 15px !important;
  color: #76B900 !important;
}

/* price slider */
.dark .brand-themed[data-brand="rtxspark"] [data-filter-column] input[type="range"] {
  background: #23271F !important;
  height: 6px !important;
  border-radius: 0 !important;
  accent-color: #76B900 !important;
}

.dark .brand-themed[data-brand="rtxspark"] [data-filter-column] input[type="range"]::-webkit-slider-thumb,
.dark .brand-themed[data-brand="rtxspark"] [data-filter-column] [role="slider"] {
  background: #76B900 !important;
  border: 0 !important;
  border-radius: 0 !important;
  width: 18px !important;
  height: 18px !important;
}
