/* 商城前台文字层级：标题、正文、说明、辅助信息。强调色与状态色独立。 */
:root {
  --text-primary: #FFFFFF;
  --text-secondary: #E3E8EF;
  --text-tertiary: #CCD3DE;
  --text-muted: #B0B8C4;
  --text: var(--text-primary);
  --muted: var(--text-secondary);
}
body { color: var(--text-primary); }

.card-body .card-summary,
.card-body .card-text .rating--small .card-reviews-number,
.review-showcase-body blockquote,
.productView-details .description-text p,
.productView-description .tabs-contents,
.productView-description .description-text p,
.faq-answer,
.account-support p { color: var(--text-secondary); }

.filter-options a,
.checkout-terms,
.checkout-login p,
.productView-shipping .form-label,
.productView-price .price-section > span:first-child,
.productView .version-choice,
.productView .payment-choice label,
.share-inputs input,
.companyinfo { color: var(--text-tertiary); }

.card-body .card-text .price-section--withoutTax.non-sale-price--withoutTax .price--non-sale,
.productGrid--listing .price--non-sale,
.productView-price .price--non-sale,
.productView-info-name,
.productView-details .product-option .form-label.form-label--alternate small,
.productView .payment-choice label span,
.product-production-date span,
.production-stages li,
.share-inputs label,
.share-Links-title,
.filter-count,
.listing-subtitle,
.listing-count,
.listing-loading,
.listing-empty,
.sort-label,
.pagination-item.ellipsis,
.cart-item-variant,
.cart-item-qty label,
.cart-item-remove,
.cart-item-label,
.cart-page .cart-count-note,
.cart-item-options,
.cart-remove,
.cart-trust,
.summary-item small,
.radio-option-label small,
.account-orders-head,
.item-variant,
.item-price,
.review-showcase-empty,
.footer-location,
.footer-email,
.footer-email a,
.footer-bottom-address,
.footer-newsletter #nl_email::placeholder,
.site-notify-close,
.out-of-stock { color: var(--text-muted); }

/* 白底购物车抽屉沿用同四级语义，但使用深色值来维持对比度。 */
.fnc-cart {
  --text-primary: #202020;
  --text-secondary: #383E48;
  --text-tertiary: #505865;
  --text-muted: #646D7A;
  color: var(--text-primary);
}
.fnc-cart .fnc-cart-header h2 { color: var(--text-primary); }
.fnc-cart .fnc-cart-status { color: var(--text-secondary); }
.fnc-cart .fnc-cart-header h2 span { color: var(--text-tertiary); }
.fnc-cart .fnc-cart-variant,
.fnc-cart .fnc-cart-footer p { color: var(--text-muted); }
