/* Cudy brand styles — loaded on demand by BrandCssLoader. */

/* ─────────────────────────────────────────────────────────────
   CUDY — Affordable networking, Signal Blue on black-blue
   ───────────────────────────────────────────────────────────── */

.brand-themed[data-brand="cudy"]::before,
.brand-themed[data-brand="cudy"]::after {
  display: none !important;
}

/* ── Product cards ─────────────────────────────────────────── */

.dark .brand-themed[data-brand="cudy"] [data-brand-grid] .product-card .group\/card {
  background: linear-gradient(180deg, #10151F 0%, #0B0F18 100%) !important;
  border: 1px solid #1E2536 !important;
  border-radius: 16px !important;
  clip-path: none !important;
  transition:
    transform 0.4s cubic-bezier(0.2,0.8,0.2,1),
    background 0.4s ease !important;
}

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

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

@media (min-width: 992px) {
  .dark .brand-themed[data-brand="cudy"] [data-brand-grid] .product-card .group\/card:hover {
    background:
      radial-gradient(ellipse 120% 80% at 50% 0%, rgba(0,180,225,0.22) 0%, transparent 60%),
      linear-gradient(180deg, #141A2A 0%, #0B0F18 100%) !important;
    transform: translateY(-6px) !important;
  }
}

/* ── Badge / spec tags ─────────────────────────────────────── */

.dark .brand-themed[data-brand="cudy"] [data-brand-grid] .product-card .badge-tag {
  background: #161C2A !important;
  border: 1px solid #1E2536 !important;
  border-radius: 6px !important;
  box-shadow: none !important;
}

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

.dark .brand-themed[data-brand="cudy"] [data-brand-grid] .product-card .badge-tag span {
  color: #A8B2C5 !important;
  font-family: "Roboto Mono", monospace !important;
  font-weight: 500 !important;
  letter-spacing: 0.04em !important;
  font-size: 15px !important;
}

/* ── Price ─────────────────────────────────────────────────── */

.dark .brand-themed[data-brand="cudy"] [data-brand-grid] .product-card [class*="bg-clip-text"] {
  color: #00B4E1 !important;
  -webkit-text-fill-color: #00B4E1 !important;
  font-family: "DM Sans", sans-serif !important;
}

.dark .brand-themed[data-brand="cudy"] [data-brand-grid] .product-card [data-price-separator] {
  background: linear-gradient(to right, transparent, rgba(0,180,225,0.4), transparent) !important;
}

/* ── Title ─────────────────────────────────────────────────── */

.dark .brand-themed[data-brand="cudy"] [data-brand-grid] .product-card h3 {
  font-family: "DM Sans", sans-serif !important;
  letter-spacing: -0.005em !important;
}

.dark .brand-themed[data-brand="cudy"] [data-brand-grid] .product-card h3 [data-title-accent] {
  color: #00B4E1 !important;
}

.dark .brand-themed[data-brand="cudy"] [data-brand-grid] .product-card span[class*="text-cyan"] {
  color: rgba(255,255,255,0.5) !important;
}

.dark .brand-themed[data-brand="cudy"] [data-brand-grid] .product-card .italic {
  color: rgba(168,178,197,0.7) !important;
}

/* ── Stock indicator ───────────────────────────────────────── */

.dark .brand-themed[data-brand="cudy"] [data-brand-grid] .product-card [class*="bg-green"] {
  background-color: #00E676 !important;
}

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

/* ── Sort bar ──────────────────────────────────────────────── */

.dark .brand-themed[data-brand="cudy"] [data-sort-bar] {
  background: linear-gradient(180deg, #10151F 0%, #0B0F18 100%) !important;
  border: 1px solid #1E2536 !important;
  border-radius: 8px !important;
  clip-path: none !important;
}

.dark .brand-themed[data-brand="cudy"] [data-sort-bar] h2 {
  color: #ffffff !important;
  font-family: "DM Sans", sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: -0.005em !important;
}

.dark .brand-themed[data-brand="cudy"] [data-sort-bar] h2 [data-sort-count] {
  color: #00B4E1 !important;
  font-weight: 700 !important;
}

.dark .brand-themed[data-brand="cudy"] [data-sort-bar] [data-sort-search],
.dark .brand-themed[data-brand="cudy"] [data-sort-bar] [data-sort-search].border {
  background: rgba(255,255,255,0.04) !important;
  border-color: #1E2536 !important;
  border-radius: 9999px !important;
}

.dark .brand-themed[data-brand="cudy"] [data-sort-bar] [data-sort-search]:focus-within {
  border-color: rgba(0,180,225,0.5) !important;
  box-shadow: 0 0 0 3px rgba(0,180,225,0.12) !important;
}

.dark .brand-themed[data-brand="cudy"] [data-sort-bar] select {
  background: rgba(255,255,255,0.04) !important;
  border-color: #1E2536 !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  font-family: "DM Sans", sans-serif !important;
}

/* ── Filter column — kill MSI chamfer ──────────────────────── */

.dark .brand-themed[data-brand="cudy"] [data-filter-column] > div {
  clip-path: none !important;
  border-radius: 8px !important;
  border: 1px solid #1E2536 !important;
  background: linear-gradient(180deg, #10151F 0%, #0B0F18 100%) !important;
  overflow: hidden !important;
}

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

.dark .brand-themed[data-brand="cudy"] [data-filter-column] h2 {
  color: #ffffff !important;
  font-family: "DM Sans", sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: -0.005em !important;
  font-size: 1rem !important;
}

.dark .brand-themed[data-brand="cudy"] [data-filter-column] label.group {
  border-color: transparent !important;
  border-radius: 8px !important;
}

.dark .brand-themed[data-brand="cudy"] [data-filter-column] label.group:hover {
  background: rgba(0,180,225,0.06) !important;
  border-color: rgba(0,180,225,0.25) !important;
}

.dark .brand-themed[data-brand="cudy"] [data-filter-column] button[class*="rounded"] {
  border-color: #1E2536 !important;
  border-radius: 9999px !important;
}

.dark .brand-themed[data-brand="cudy"] [data-filter-column] input[type="range"]::-webkit-slider-thumb {
  background: #00B4E1 !important;
}

/* ── Scrollbar accent ─────────────────────────────────────── */

.brand-themed[data-brand="cudy"] ::-webkit-scrollbar-thumb:hover {
  background: #00B4E1 !important;
}
