/* ============================================================ */
/* FlexiSpot: product grid + filter overrides (lazy-loaded)      */
/* Component layer: FlexispotKit FLX_CSS, inlined for first paint */
/* Walnut #151311 · Oak #C4A27E · Outfit (from the hero photo)  */
/* Motif: the sit-stand desk                                     */
/* ============================================================ */

/* ── PRODUCT CARDS: walnut surfaces, oak on hover ── */
.dark .brand-themed[data-brand="flexispot"] [data-brand-grid] .product-card .group\/card {
  background: #1E1B18 !important;
  border: 1px solid #3B352E !important;
  border-radius: 16px !important;
  transition: border-color 0.25s ease, transform 0.25s ease !important;
  box-shadow: none !important;
}

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

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

/* ── BADGES / TAGS ── */
.dark .brand-themed[data-brand="flexispot"] [data-brand-grid] .product-card .badge-tag {
  background: #C4A27E !important;
  border: 0 !important;
  border-radius: 8px !important;
  color: #151311 !important;
}

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

/* ── SORT BAR / SEARCH ── */
.dark .brand-themed[data-brand="flexispot"] [data-sort-bar] {
  background: #1E1B18 !important;
  border: 1px solid #3B352E !important;
  border-radius: 12px !important;
}

.dark .brand-themed[data-brand="flexispot"] [data-sort-search] {
  background: #25211D !important;
  border: 1px solid #3B352E !important;
  border-radius: 10px !important;
}

/* ── GREEN → OAK ACCENTS ── */
.dark .brand-themed[data-brand="flexispot"] [data-brand-grid] .product-card [class*="bg-green"] {
  background-color: #C4A27E !important;
}

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

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

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

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

.dark .brand-themed[data-brand="flexispot"] [data-filter-column] h2 {
  font-family: Outfit, "Segoe UI", Helvetica, sans-serif !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  color: #F2ECE3 !important;
}

.dark .brand-themed[data-brand="flexispot"] [data-filter-column] h3,
.dark .brand-themed[data-brand="flexispot"] [data-filter-column] button[class*="justify-between"] {
  font-family: Outfit, "Segoe UI", Helvetica, sans-serif !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: #F2ECE3 !important;
  transition: color 0.2s ease !important;
}

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

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

.dark .brand-themed[data-brand="flexispot"] [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="flexispot"] [data-filter-column] .filter-group label span {
  font-size: 15px !important;
  color: #B3A897 !important;
}

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

/* checkbox: rounded, oak when checked */
.dark .brand-themed[data-brand="flexispot"] [data-filter-column] .filter-group label > div:first-child {
  width: 18px !important;
  height: 18px !important;
  border-radius: 5px !important;
  border: 1px solid #3B352E !important;
  background: #25211D !important;
}

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

.dark .brand-themed[data-brand="flexispot"] [data-filter-column] .filter-group label span[class*="font-mono"] {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  font-family: Outfit, "Segoe UI", Helvetica, sans-serif !important;
  font-size: 15px !important;
  color: #B3A897 !important;
}

/* active-filter chips, "+N more", reset */
.dark .brand-themed[data-brand="flexispot"] [data-filter-column] [class*="rounded"][class*="text-xs"] {
  background: #25211D !important;
  border: 1px solid #3B352E !important;
  border-radius: 8px !important;
  color: #F2ECE3 !important;
  font-size: 15px !important;
}

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

/* price slider */
.dark .brand-themed[data-brand="flexispot"] [data-filter-column] input[type="range"] {
  background: #3B352E !important;
  height: 6px !important;
  border-radius: 999px !important;
  accent-color: #C4A27E !important;
}

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