/* hikvision brand styles — Loaded on demand by BrandCssLoader.
   Minimal: clean dark cards with a Hikvision-red hover border + accent dot.
   Drops the HUD corner brackets and chamfered clip-paths from v1. */

/* Hide default brand-base patterns */
.brand-themed[data-brand="hikvision"]::before,
.brand-themed[data-brand="hikvision"]::after {
  display: none !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Filter column — override default chamfered clip-path with simple radius
   ═══════════════════════════════════════════════════════════════════════════ */
.dark .brand-themed[data-brand="hikvision"] [data-filter-column] > div {
  clip-path: none !important;
  border-radius: 6px !important;
  background: #0E0E14 !important;
  border: none !important;
}

/* Kill the default red left-edge rail from brand-base.css */
.dark .brand-themed[data-brand="hikvision"] [data-filter-column] > div::before {
  display: none !important;
}

.dark .brand-themed[data-brand="hikvision"] [data-filter-column] h2 {
  font-family: "Barlow Condensed", sans-serif !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
  color: #fff !important;
}

/* Sort bar — match filter (no chamfer) */
.dark .brand-themed[data-brand="hikvision"] [data-sort-bar] {
  clip-path: none !important;
  border-radius: 6px !important;
  background: #0E0E14 !important;
  border: 1px solid #22222A !important;
}

.dark .brand-themed[data-brand="hikvision"] [data-sort-search] input {
  background: #02020A !important;
  border: 1px solid #22222A !important;
  border-radius: 4px !important;
  color: #fff !important;
}

.dark .brand-themed[data-brand="hikvision"] [data-sort-search] input:focus {
  border-color: var(--brand-accent) !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Product cards — diagonal red-gradient wash (10% rest → 40% hover), no border.
   Uses isolation + z-index:-1 so the overlay sits above the bg but below all
   in-flow + absolutely-positioned children (badges, etc.) — without us having
   to touch any child positioning.
   ═══════════════════════════════════════════════════════════════════════════ */
.dark .brand-themed[data-brand="hikvision"] [data-brand-grid] .product-card .group\/card {
  position: relative !important;
  isolation: isolate !important;
  background: #0E0E14 !important;
  border: none !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  box-shadow: none !important;
  transition: transform 0.3s ease !important;
}

.dark .brand-themed[data-brand="hikvision"] [data-brand-grid] .product-card .group\/card::before {
  content: '' !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: auto !important;
  height: auto !important;
  border: none !important;
  border-radius: 6px !important;
  background: linear-gradient(135deg, transparent 0%, var(--brand-accent) 100%) !important;
  opacity: 0.10 !important;
  transition: opacity 0.3s ease !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

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

@media (min-width: 992px) {
  .dark .brand-themed[data-brand="hikvision"] [data-brand-grid] .product-card .group\/card:hover {
    transform: translateY(-2px) !important;
    box-shadow: none !important;
    border-color: transparent !important;
  }
  .dark .brand-themed[data-brand="hikvision"] [data-brand-grid] .product-card .group\/card:hover::before {
    opacity: 0.40 !important;
  }
}

/* ─── Badges — outline pill, red text ─── */
.dark .brand-themed[data-brand="hikvision"] [data-brand-grid] .product-card .badge-tag {
  background: rgba(2, 2, 5, 0.85) !important;
  border: 1px solid rgba(230, 0, 18, 0.45) !important;
  border-radius: 4px !important;
  color: #fff !important;
  box-shadow: none !important;
}

/* ─── Price separator + title accent + in-stock dot ─── */
.dark .brand-themed[data-brand="hikvision"] [data-brand-grid] .product-card [data-price-separator] {
  background: var(--brand-accent) !important;
}

.dark .brand-themed[data-brand="hikvision"] [data-brand-grid] .product-card h3 [data-title-accent] {
  color: var(--brand-accent) !important;
}

.dark .brand-themed[data-brand="hikvision"] [data-brand-grid] .product-card .bg-green-500 {
  background-color: var(--brand-accent) !important;
}

.dark .brand-themed[data-brand="hikvision"] [data-brand-grid] .product-card .text-green-300 {
  color: #FF6370 !important;
}
