/* 基于 CSS 变量的统一覆盖规则 - 所有主题共用 */
/* 此文件使用 CSS 变量，由各主题的 theme-variables.css 定义具体颜色值 */

/* ===== 背景 ===== */
.bg-slate-50, .bg-neutral-50 { background: var(--theme-bg-secondary) !important; }
.bg-slate-100, .bg-neutral-100 { background: var(--theme-bg-secondary) !important; }
.bg-slate-200, .bg-neutral-200 { background: var(--theme-bg-tertiary) !important; }
.bg-slate-400, .bg-neutral-400 { background: var(--theme-bg-tertiary) !important; }
.bg-slate-800, .bg-neutral-800 { background: var(--theme-primary) !important; }
.bg-slate-850 { background: var(--theme-primary) !important; }
.bg-slate-900, .bg-neutral-900 { background: var(--theme-primary-hover) !important; }

/* ===== 文字 ===== */
.text-slate-100, .text-neutral-100 { color: var(--theme-text-light) !important; }
.text-slate-300, .text-neutral-300 { color: var(--theme-text-muted) !important; }
.text-slate-400, .text-neutral-400 { color: var(--theme-text-muted) !important; }
.text-slate-500, .text-neutral-500 { color: var(--theme-text-muted) !important; }
.text-slate-600, .text-neutral-600 { color: var(--theme-text) !important; }
.text-slate-700, .text-neutral-700 { color: var(--theme-text) !important; }
.text-slate-800, .text-neutral-800 { color: var(--theme-text) !important; }
.text-slate-900, .text-neutral-900 { color: var(--theme-primary) !important; }

/* ===== 边框 ===== */
.border-slate-100, .border-neutral-100 { border-color: var(--theme-border-light) !important; }
.border-slate-200, .border-neutral-200 { border-color: var(--theme-border) !important; }
.border-slate-300, .border-neutral-300 { border-color: var(--theme-border) !important; }
.border-slate-400, .border-neutral-400 { border-color: var(--theme-border) !important; }
.border-slate-700, .border-neutral-700 { border-color: var(--theme-border) !important; }

/* ===== 强调色 ===== */
.text-gold, .hover\:text-gold:hover { color: var(--theme-accent) !important; }
.bg-gold, .hover\:bg-gold:hover { background: var(--theme-accent) !important; }
.border-gold, .hover\:border-gold:hover { border-color: var(--theme-accent) !important; }
.bg-gold-light, .hover\:bg-gold-light:hover { background: var(--theme-primary-bg) !important; }
.price-gold { color: var(--theme-accent) !important; }

/* ===== 按钮 ===== */
.btn-cart { background: var(--theme-primary) !important; color: white !important; }
.btn-cart:hover { background: var(--theme-accent) !important; }

/* ===== 输入框 ===== */
input:focus, select:focus, textarea:focus {
  border-color: var(--theme-accent) !important;
  outline: none !important;
}

/* ===== 链接 hover ===== */
a:hover .text-slate-600,
a:hover .text-slate-500,
a:hover .text-neutral-600,
a:hover .text-neutral-500 {
  color: var(--theme-accent) !important;
}

/* ===== 基础背景 ===== */
.bg-white { background: var(--theme-bg) !important; }

/* ===== Group hover ===== */
.group:hover .group-hover\:text-gold { color: var(--theme-accent) !important; }

/* ===== Amber 覆盖 (兼容旧代码) ===== */
.text-amber-500, .text-amber-600 { color: var(--theme-accent) !important; }
.hover\:text-amber-500:hover, .hover\:text-amber-600:hover { color: var(--theme-accent) !important; }
.bg-amber-500, .bg-amber-600 { background: var(--theme-accent) !important; }
.hover\:bg-amber-500:hover, .hover\:bg-amber-600:hover { background: var(--theme-accent) !important; }
.border-amber-500, .border-amber-600 { border-color: var(--theme-accent) !important; }