/* =====================================================================
   Khaas MM · v125 white-dominant theme (loaded LAST, storefront + product pages)
   Rule: white surfaces, #111111 text, neutral borders. Dark red #A90107 only on the one buying action
   (Buy now · Place order · Checkout). Gold #EDB523 only for stars, outlines and focus rings, never text.
   Seller Central / Escrow Desk (#dashModal) keep their own colours.
   ===================================================================== */

/* 1 · the only red: buy / checkout */
html body :is(.buy-btn, .kss-buy, #qvBuy, .pd-go, [data-co-sticky-go], #coPlace, [data-sp-buy], #checkoutBtn, .pd-mbar .btn):not(#dashModal *) {
  background:#A90107!important; background-image:none!important; color:#FFFFFF!important; border:1px solid #A90107!important;
  box-shadow:none!important; text-shadow:none!important; filter:none!important;
}
html body :is(.buy-btn, .kss-buy, #qvBuy, .pd-go, [data-co-sticky-go], #coPlace, [data-sp-buy], #checkoutBtn):not(#dashModal *):hover:not(:disabled) { background:#8A0006!important; border-color:#8A0006!important; }

/* 2 · add to cart: solid black */
html body :is(.add-btn, .kss-add, #qvAdd, .pd-add):not(#dashModal *) {
  background:#111111!important; background-image:none!important; color:#FFFFFF!important; border:1px solid #111111!important;
  box-shadow:none!important; text-shadow:none!important;
}
html body :is(.add-btn, .kss-add, #qvAdd, .pd-add):not(#dashModal *):hover:not(:disabled) { background:#000000!important; }

/* 3 · every other primary button: black instead of red */
html body :is(.kbtn-p, [data-hero-cta], .kmm-btn-gold, .sx-add, .khv-btn.p, .kss-buy-alt):not(:is(.buy-btn, .kss-buy, #qvBuy, .pd-go, [data-co-sticky-go], #coPlace, [data-sp-buy], #checkoutBtn)):not(#dashModal *) {
  background:#111111!important; background-image:none!important; color:#FFFFFF!important; border-color:#111111!important;
  box-shadow:none!important; text-shadow:none!important; filter:none!important;
}
/* 4 · secondary: white with a black outline */
html body :is(.kbtn-s, .kmm-btn-white, .btn.alt, [data-kmh-picks-more], .khv-btn.s):not(#dashModal *) {
  background:#FFFFFF!important; background-image:none!important; color:#111111!important; border:1px solid #111111!important; box-shadow:none!important; text-shadow:none!important;
}
html body :is(.kbtn-s, .kmm-btn-white, .btn.alt, [data-kmh-picks-more], .khv-btn.s):not(#dashModal *):hover { background:#111111!important; color:#FFFFFF!important; }

/* 5 · product cards: one compact black "Add to cart" (the red card "Buy now" is removed; buying happens on the product page) */
html body .pt-3.grid.grid-cols-2:has(> .buy-btn + .add-btn) { grid-template-columns:minmax(0,1fr)!important; }
html body .pt-3.grid.grid-cols-2 > .buy-btn:has(+ .add-btn) { display:none!important; }
html body .group.bg-white.rounded-2xl.border { border-color:#ECECEC!important; }
html body .kmm-heart { color:#111111!important; }
html body .kmm-heart[aria-pressed="true"] { color:#A90107!important; }   /* a saved item is the one place a small red heart is useful */

/* 6 · red text → black (menus, small labels, highlighted words) */
html body :is(a.kmm-mi, [role="menuitem"].kmm-mi, .kmm-mate-tx, .khv-nav-hl, .khv-kick):not(#dashModal *) { color:#111111!important; }   /* menu items only: the card badges (.fbk.kmm-mi) keep their own colours */
html body :is(main, header, footer, #qv) :is(.text-brand-700, .text-brand-800, .text-brand-900, .text-brand-600):not(#dashModal *) { color:#111111!important; }
html body .khv-h em { color:#111111!important; text-decoration:underline; text-decoration-color:#EDB523; text-decoration-thickness:.12em; text-underline-offset:.14em; }
html body .khv-ic-c { color:#111111!important; }

/* 7 · selected tabs / pills: black, not red */
html body :is(#kmmModeRetail, #kmmModeWholesale, .kmm-mode-tab)[aria-selected="true"] { background:#111111!important; background-image:none!important; color:#FFFFFF!important; border-color:#111111!important; }
html body :is(.cat-btn.active, .cat-btn[aria-pressed="true"], .cat-btn.bg-brand-700) { background:#111111!important; color:#FFFFFF!important; border-color:#111111!important; }
html body header :is(.bg-brand-700, .bg-brand-800):not(#dashModal *) { background:#111111!important; color:#FFFFFF!important; }

/* 8 · promo trio: the red card becomes white with a thin outline */
html body .khv-pc.red { background:#FFFFFF!important; color:#111111!important; border:1px solid #ECECEC; }
html body .khv-pc.red .khv-btn { background:#111111!important; color:#FFFFFF!important; border-color:#111111!important; }
html body .khv-pc.red .khv-pc-ic { color:#111111; }

/* 9 · soft neutral surfaces instead of tinted red */
html body :is(main, #qv) :is(.bg-brand-50, .bg-brand-100):not(#dashModal *) { background:#F7F7F7!important; }

/* 10 · remaining accents found by the v125 colour audit */
html body :is(.text-brand-700, .text-brand-800, .text-brand-900, .text-brand-600):not(#dashModal *):not(:is(.buy-btn, .kss-buy, #qvBuy, .pd-go, #coPlace, #checkoutBtn) *) { color:#111111!important; }
html body :is(.khv-ic-h a, .kmm-trust-ic, .khv-pc .khv-pc-ic, .khv-mini svg, .khv-st svg) { color:#111111!important; }
html body .cat-btn.bg-ink-900 { background:#111111!important; background-image:none!important; color:#FFFFFF!important; border-color:#111111!important; }
/* top shortcut bar: white with dark text (was solid red) · search-scope toggle: black when selected */
html body #kmhTop { background:#FFFFFF!important; background-image:none!important; color:#111111!important; border-bottom:1px solid #EFEFEF; }
html body #kmhTop :is(a, span, label, button, b, small) { color:#111111!important; }
html body #kmhTop select { background:#FFFFFF!important; color:#111111!important; border:1px solid #D9D9D9!important; }
html body #kmhMode [role="radio"][aria-checked="true"] { background:#111111!important; background-image:none!important; color:#FFFFFF!important; }
html body #kmhMode [role="radio"][aria-checked="false"] { color:#111111!important; }
/* seller trust card: neutral (was red score tile and red check pills) */
html body .kts-card { box-shadow:0 0 0 1px #ECECEC!important; }
html body .kts-score { background:#111111!important; background-image:none!important; color:#FFFFFF!important; box-shadow:none!important; }
html body .kts-score span { color:#FFFFFF!important; }
html body :is(.kts-checks li, .kts-tier[data-tier=top], .kts-card summary) { color:#111111!important; }
html body .kts-tick { background:#111111!important; background-image:none!important; color:#FFFFFF!important; }
html body .kts-checks li[data-ok=false] .kts-tick { background:#FFFFFF!important; color:#545454!important; }

/* 11 · Quick View: rings, thumbnails, the Q&A "Ask" button and the verified badge (audit v125) */
html body #qv :is(.ring-brand-700, .ring-brand-600, .ring-brand-500) { --tw-ring-color:#111111!important; }
html body #qv .bg-brand-700:not(#qvBuy) { background:#111111!important; border-color:#111111!important; color:#FFFFFF!important; }
html body #qv :is(.bg-brand-50, .bg-brand-100) { background:#F7F7F7!important; }
html body .vbadge { color:#111111!important; }
/* mobile tab bar: active label black, not red */
html body #kmmTabBar a[aria-current="page"] :is(.kmm-tb-lb, .kmm-tb-ic) { color:#111111!important; }
