
/* =============================================
   CORES PERSONALIZADAS DE TEXTO - NOXUS STORE
   ============================================= */

/* === VARIAVEIS CSS === */
:root {
    --text-heading: #ffffff;
    --text-body: #e5e7eb;
    --text-muted: #9ca3af;
    --text-link: #ffffff;
    --text-nav: #a1a1aa;
    --text-footer: #71717a;
    --text-price: #ffffff;
    --text-price-old: #71717a;
    --text-product-name: #ffffff;
    --text-product-desc: #a1a1aa;
    --text-stock: #ffffff;
    --text-category: #006da3;
    --text-button: #ffffff;
    --text-button-secondary: #ffffff;
    --text-cta: #ffffff;
    --text-success: #10b981;
    --text-warning: #f59e0b;
    --text-error: #ef4444;
}

/* === TITULOS E HEADINGS === */
main h1, main h2, main h3, main h4,
.text-heading,
#disp-name,
.glass-card h1, .glass-card h2, .glass-card h3 {
    color: var(--text-heading) !important;
}

/* === TEXTO PRINCIPAL (BODY) === */
main p:not(.text-muted):not(.text-muted-foreground):not([class*="text-"]),
.text-body {
    color: var(--text-body) !important;
}

/* === TEXTO SECUNDARIO (MUTED) === */
.text-muted, 
.text-muted-foreground,
.text-secondary,
main small,
.desc-subtitle {
    color: var(--text-muted) !important;
}

/* === LINKS === */
main a:not(.btn-primary):not(.btn-secondary):not([class*="bg-"]):not(header a):not(footer a),
.text-link {
    color: var(--text-link) !important;
}

main a:not(.btn-primary):not(.btn-secondary):hover {
    filter: brightness(1.15);
}

/* === NAVEGACAO E HEADER === */
header nav a,
header .nav-link,
header ul li a,
.menu-item {
    color: var(--text-nav) !important;
}

header nav a:hover,
header .nav-link:hover {
    color: var(--text-heading) !important;
}

/* === FOOTER === */
footer p,
footer span:not([class*="bg-"]),
footer a,
footer li,
footer .text-muted,
.footer-text {
    color: var(--text-footer) !important;
}

footer h4, footer h3 {
    color: var(--text-heading) !important;
}

footer a:hover {
    color: var(--text-heading) !important;
}

/* === PRECOS === */
.price,
.product-price,
.price-main,
.text-price,
#disp-price,
[class*="font-bold"][class*="text-white"]:has(+ [class*="text-muted"]),
.text-lg.font-bold,
.text-3xl.font-black {
    color: var(--text-price) !important;
}

.price-old,
.original-price,
.text-price-old,
.line-through {
    color: var(--text-price-old) !important;
}

/* === NOME DO PRODUTO === */
.product-name,
.product-title,
.card-title,
.text-product-name,
a[href*="/produto/"] .font-medium,
a[href*="/produto/"] .text-sm.font-medium {
    color: var(--text-product-name) !important;
}

/* === DESCRICAO DO PRODUTO === */
.product-desc,
.product-description,
.text-product-desc,
.desc-text {
    color: var(--text-product-desc) !important;
}

.desc-text p {
    color: var(--text-product-desc) !important;
}

.desc-text h1, .desc-text h2, .desc-text h3, .desc-text h4 {
    color: var(--text-heading) !important;
}

.desc-text strong, .desc-text b {
    color: var(--text-heading) !important;
}

.desc-text a {
    color: var(--text-link) !important;
}

/* === ESTOQUE === */
.stock-info,
.stock-count,
.text-stock,
.text-green-400,
.text-green-500 {
    color: var(--text-stock) !important;
}

/* === CATEGORIAS === */
.category-name,
.category-label,
.text-category {
    color: var(--text-category) !important;
}

/* === BOTOES === */
.btn-primary,
button.btn-primary,
.btn-comprar,
button[onclick*="comprar"],
button[onclick*="addToCart"],
#btn-buy {
    color: var(--text-button) !important;
}

.btn-secondary,
button.btn-secondary,
.btn-outline,
#btn-add {
    color: var(--text-button-secondary) !important;
}

.btn-cta,
.btn-buy-now {
    color: var(--text-cta) !important;
}

/* === STATUS E BADGES === */
.text-success,
.badge-success,
.status-available {
    color: var(--text-success) !important;
}

.text-warning,
.badge-warning,
.status-low,
.text-orange-400 {
    color: var(--text-warning) !important;
}

.text-error,
.text-danger,
.badge-error,
.status-out,
.text-red-400,
.text-red-500 {
    color: var(--text-error) !important;
}

/* === LOGIN PAGE === */
.glass-card h1 {
    color: var(--text-heading) !important;
}

.glass-card p.text-muted-foreground {
    color: var(--text-muted) !important;
}

/* === PROFILE PAGE === */
.glass-card .font-bold.text-white {
    color: var(--text-heading) !important;
}

/* === VARIANTES DE PRODUTO === */
.variant-btn .font-medium.text-white {
    color: var(--text-product-name) !important;
}

.variant-btn .font-bold.text-white {
    color: var(--text-price) !important;
}
