/* Used by shop.spyok.com.tw (ec-pro on the Google Cloud VM): nginx serves this file at /_theme/blackgold.css
 and links it on storefront pages only (cart, checkout, member), so the shop matches spyok.com.tw. Not used on /admin. */
/* spyok shop black-gold theme (2026-12-01). nginx adds this file to storefront pages only (not /admin). */
html {
  color-scheme: dark;
  --color-brand: #ff3366 !important;
  --color-brand-dark: #e62e5c !important;
  --color-price: #e8cf98 !important;
  --color-tag: #8f6a2c !important;
  --color-notice: #8f6a2c !important;
  --color-step: #c9a45c !important;
  --color-accent: #c9a45c !important;
  --page-bg: #0b0b0c !important;
  --color-neutral-50: #17171a !important;
  --color-neutral-100: #1f1f23 !important;
  --color-neutral-200: #2c2c31 !important;
  --color-neutral-300: #3d3d43 !important;
  --color-neutral-400: #7a7a82 !important;
  --color-neutral-500: #a3a3a8 !important;
  --color-neutral-600: #b9b9be !important;
  --color-neutral-700: #d0d0d3 !important;
  --color-neutral-800: #e2e2e4 !important;
  --color-neutral-900: #ececea !important;
  --color-neutral-950: #f5f5f4 !important;
  background-color: #0b0b0c;
}
body {
  background-color: #0b0b0c !important;
  color: #ececea;
}

/* white surfaces become dark panels */
.bg-white,
.md\:bg-white {
  background-color: #141416 !important;
}
.bg-white\/95,
.bg-white\/90,
.bg-white\/80 {
  background-color: rgb(20 20 22 / 0.92) !important;
}
.bg-white\/70 {
  background-color: rgb(20 20 22 / 0.8) !important;
}
.hover\:bg-white:hover,
.hover\:bg-white\/70:hover {
  background-color: #1c1c1f !important;
}

/* black text becomes light */
.text-black,
.md\:text-black,
.hover\:text-black:hover {
  color: #ececea !important;
}

/* things that were dark in the light theme */
.bg-neutral-900 {
  background-color: #c9a45c !important;
  color: #0b0b0c !important;
}
.hover\:bg-neutral-900:hover {
  background-color: #e8cf98 !important;
  color: #0b0b0c !important;
}
.bg-neutral-800,
.bg-neutral-700 {
  background-color: #3a3a40 !important;
}
.hover\:bg-neutral-700:hover {
  background-color: #4a4a50 !important;
}
.bg-neutral-600 {
  background-color: #55555c !important;
}
.bg-neutral-900\/85 {
  background-color: rgb(20 20 22 / 0.85) !important;
  color: #ececea !important;
}
.ring-white {
  --tw-ring-color: #0b0b0c !important;
}

/* light tinted backgrounds become subtle dark tints */
.bg-\[\#fff6f5\] {
  background-color: rgb(255 51 102 / 0.08) !important;
}
.bg-\[\#eeeeee\],
.bg-\[\#f6f6f6\],
.bg-\[\#f6f4f2\],
.bg-\[\#f5f6f8\],
.bg-\[\#eef2f7\] {
  background-color: #1c1c1f !important;
}
.bg-\[\#f3f8fe\],
.bg-\[\#eef5fd\] {
  background-color: rgb(201 164 92 / 0.12) !important;
}
.from-\[\#f5ebe5\] {
  --tw-gradient-from: #1c1c1f !important;
}
.to-\[\#e9e2f0\] {
  --tw-gradient-to: #141416 !important;
}

/* dark text colors become readable on black */
.text-\[\#2f5d8f\],
.text-\[\#4a6a8f\],
.text-\[\#2f6fd0\],
.text-\[\#2271b1\] {
  color: #6db3ee !important;
}
.text-\[\#2f3b4c\],
.text-\[\#7a1d3c\] {
  color: #ececea !important;
}
.text-\[\#a8584c\] {
  color: #e8a598 !important;
}

/* pink accents use the site's buy-button pink */
.text-\[\#e5236d\],
.text-\[\#e2457a\],
.text-\[\#d0325f\] {
  color: #ff5c85 !important;
}
.bg-\[\#e5236d\] {
  background-color: #ff3366 !important;
}
.border-\[\#e5236d\],
.border-\[\#f35b5b\] {
  border-color: #ff3366 !important;
}

/* form fields */
input:not([type="radio"]):not([type="checkbox"]):not([type="range"]),
select,
textarea {
  background-color: #141416;
  color: #ececea;
}
input::placeholder,
textarea::placeholder {
  color: #7a7a82;
}

/* header: match spyok.com.tw (gold pill, gold search button, light logo) */
header a.bg-brand {
  background-color: #8f6a2c !important;
}
header span.bg-brand.bottom-2 {
  background-color: #c9a45c !important;
}
.bg-\[\#ee5d87\] {
  background-color: #c9a45c !important;
  color: #0b0b0c !important;
}
.hover\:bg-\[\#e2457a\]:hover {
  background-color: #e8cf98 !important;
}
.bg-notice .bg-white {
  background-color: #ffffff !important;
}
header a:has(> img[src*="/brand/spyok/logo"]) {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 48px;
  min-height: 40px;
  background:
    url("https://spyok.com.tw/brand/mark.png") left center / 38px 38px no-repeat,
    radial-gradient(circle, #ffffff 0 18px, transparent 19px) left center / 38px 38px no-repeat;
}
header img[src*="/brand/spyok/logo"] {
  display: none !important;
}
header a:has(> img[src*="/brand/spyok/logo"])::before {
  content: "\5C0F\5075\63A2";
  color: #ececea;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
header a:has(> img[src*="/brand/spyok/logo"])::after {
  content: "safe";
  color: #c9a45c;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
@media (min-width: 768px) {
  header a:has(> img[src*="/brand/spyok/logo"]) {
    padding-left: 54px;
    background-size: 44px 44px, 44px 44px;
  }
  header a:has(> img[src*="/brand/spyok/logo"])::before,
  header a:has(> img[src*="/brand/spyok/logo"])::after {
    font-size: 22px;
  }
}

/* footer was already dark: keep its light text and dark lines */
footer .text-neutral-200,
footer.text-neutral-200 {
  color: #c4c4c8 !important;
}
footer .text-neutral-300 {
  color: #a3a3a8 !important;
}
footer .border-neutral-800,
footer .border-neutral-700 {
  border-color: #2c2c31 !important;
}

/* remaining light backgrounds become dark tints */
.bg-\[\#eef1f5\],
.bg-\[\#faf8f6\],
.bg-\[\#f4efec\],
.bg-\[\#f4f1ec\] {
  background-color: #1c1c1f !important;
}
.bg-\[\#c9d8f0\] {
  background-color: rgb(201 164 92 / 0.25) !important;
}
.bg-\[\#fff8e1\] {
  background-color: rgb(201 164 92 / 0.14) !important;
}
.bg-\[\#fde3ea\],
.bg-\[\#fde6e8\],
.bg-\[\#efdcd2\] {
  background-color: rgb(255 51 102 / 0.1) !important;
}
.bg-\[\#f9c8d6\],
.bg-\[\#fbc9d6\] {
  background-color: rgb(255 51 102 / 0.2) !important;
}
.to-\[\#ffd2c2\] {
  --tw-gradient-to: #2a1a1d !important;
}

/* status colors (order badges, messages) on dark */
.bg-emerald-50 {
  background-color: rgb(16 185 129 / 0.14) !important;
}
.text-emerald-700,
.text-emerald-600 {
  color: #6ee7b7 !important;
}
.bg-sky-50 {
  background-color: rgb(14 165 233 / 0.14) !important;
}
.text-sky-700 {
  color: #7dd3fc !important;
}
.bg-amber-50 {
  background-color: rgb(245 158 11 / 0.14) !important;
}
.text-amber-700 {
  color: #fcd34d !important;
}
.bg-red-50 {
  background-color: rgb(239 68 68 / 0.12) !important;
}
.text-red-600,
.text-red-500 {
  color: #f87171 !important;
}
.ring-emerald-200 {
  --tw-ring-color: rgb(16 185 129 / 0.35) !important;
}
.ring-amber-200 {
  --tw-ring-color: rgb(245 158 11 / 0.35) !important;
}
.ring-sky-200 {
  --tw-ring-color: rgb(14 165 233 / 0.35) !important;
}
