/* 前台枣红色主题（覆盖 home.css / home-extend.css 主色）
 * 主色：#9B2335  深色：#7A1C2A  浅色：#C45C6A
 * 引入位置：themes/home/header.html（置于基础样式之后）
 */
body.home-body {
    --primary-color: #9B2335;
    --primary-dark: #7A1C2A;
    --primary-light: #C45C6A;
    --primary-soft: #FDF2F3;
    --primary-border: #E8B4BB;
    --primary-ink: #5C1520;
}

.home-top {
    /*background: linear-gradient(135deg, #9B2335, #C45C6A) !important;*/
}

.home-hero {
    /*box-shadow: 0 8px 20px rgba(155, 35, 53, 0.18) !important;*/
}

.home-hero::before {
    background: linear-gradient(180deg, #9B2335 0%, #C45C6A 100%) !important;
}

.mall-home-v2 .home-top::before {
    background: linear-gradient(180deg, #9B2335 0%, #E8B4BB 100%) !important;
}

.mall-home-v3::before {
    background: linear-gradient(180deg, #9B2335 0%, #ffffff 100%) !important;
}

.mall-home-v3 .hero-sub-title {
    color: rgba(255, 255, 255, 0.92) !important;
}

.mall-home-v3 #homeBanner {
    box-shadow: 0 12px 24px rgba(155, 35, 53, 0.2) !important;
}

.hero-decor {
    background: rgba(255, 255, 255, 0.13) !important;
}

.hero-tag {
    background: rgba(255, 255, 255, 0.2) !important;
}

.icon-nav-item {
    background: transparent !important;
    color: #9B2335 !important;
    border: none !important;
    box-shadow: none !important;
}

.promo-card {
    background: linear-gradient(90deg, #9B2335, #C45C6A) !important;
}

.goods-carousel-head__title::before {
    background: linear-gradient(180deg, #C45C6A, #9B2335) !important;
}

.goods-carousel-section-1,
.goods-carousel-section-2 {
    background: linear-gradient(180deg, #FDF2F3 0%, #fff 52%) !important;
}

.goods-carousel-section-1 .goods-carousel-head__title,
.goods-carousel-section-2 .goods-carousel-head__title {
    color: #5C1520 !important;
}

.goods-carousel-section-1 .goods-carousel-head__title::before,
.goods-carousel-section-2 .goods-carousel-head__title::before {
    background: linear-gradient(180deg, #D48993, #9B2335) !important;
    box-shadow: 0 2px 8px rgba(155, 35, 53, 0.4) !important;
}

.goods-carousel-section-1 .goods-carousel-head__sub,
.goods-carousel-section-2 .goods-carousel-head__sub {
    color: #5C1520 !important;
    opacity: 0.88 !important;
}

.goods-carousel-section-1 .goods-carousel-card,
.goods-carousel-section-2 .goods-carousel-card {
    background: linear-gradient(160deg, #ffffff 0%, #FDF2F3 100%) !important;
    box-shadow:
        0 4px 18px rgba(155, 35, 53, 0.1),
        0 1px 0 rgba(255, 255, 255, 0.9) inset !important;
}

.goods-carousel-section-1 .goods-carousel-card__thumb::after,
.goods-carousel-section-2 .goods-carousel-card__thumb::after {
    background: linear-gradient(180deg, transparent 50%, rgba(155, 35, 53, 0.07) 100%) !important;
}

.goods-carousel-section-1 .goods-carousel-card__price,
.goods-carousel-section-2 .goods-carousel-card__price {
    color: #9B2335 !important;
}

.goods-carousel-section-1 .goods-carousel-empty,
.goods-carousel-section-2 .goods-carousel-empty {
    color: #5C1520 !important;
    opacity: 0.75 !important;
}

.section-title-featured span::before {
    background: linear-gradient(180deg, #C45C6A, #9B2335) !important;
}

.price {
    color: #9B2335 !important;
}

.buy-btn {
    background: linear-gradient(135deg, #9B2335, #7A1C2A) !important;
}

.category-link.active {
    color: #9B2335 !important;
    border-left: 3px solid #9B2335 !important;
}

/* 分类页 */
.category-top {
    background: linear-gradient(135deg, #9B2335, #C45C6A) !important;
    box-shadow: 0 8px 20px rgba(155, 35, 53, 0.18);
}

.category-top .search-bar .btn-primary {
    background: #fff !important;
    border-color: #fff !important;
    color: #9B2335 !important;
}

.category-top .search-bar .btn-primary:hover,
.category-top .search-bar .btn-primary:active {
    background: #FDF2F3 !important;
    border-color: #FDF2F3 !important;
    color: #7A1C2A !important;
}

.category-sidebar {
    background: #f0f7ff !important;
    border-right-color: #F5E0E3 !important;
}

.category-link:hover {
    color: #9B2335 !important;
}

.category-content .price,
.category-goods-item .price {
    color: #9B2335 !important;
}

.category-content .buy-btn {
    background: linear-gradient(135deg, #9B2335, #7A1C2A) !important;
}

.shop-store-tab.is-active {
    color: #9B2335 !important;
    border-bottom-color: #9B2335 !important;
}

.page-head-action,
.head-link {
    color: #9B2335 !important;
}

.page-head-action:hover,
.head-link:hover {
    color: #7A1C2A !important;
}

.page-head-records-link:hover {
    color: #9B2335 !important;
}

.account-record-voucher-link {
    color: #9B2335 !important;
}

.detail-price-bar {
    background: linear-gradient(135deg, #9B2335, #7A1C2A) !important;
}

.detail-tag {
    border: 1px solid #E8B4BB !important;
    color: #9B2335 !important;
}

.spec-sku-chip.active {
    border-color: #9B2335 !important;
    box-shadow: 0 0 0 1px rgba(155, 35, 53, 0.25) !important;
}

.spec-sku-chip .spec-sku-chip-price {
    color: #9B2335 !important;
}

.spec-val-chip.active {
    border-color: #9B2335 !important;
    color: #9B2335 !important;
    box-shadow: 0 0 0 1px rgba(155, 35, 53, 0.2) !important;
}

.circle-check input:checked + span {
    border-color: #9B2335 !important;
    background: #9B2335 !important;
}

.line-total {
    color: #9B2335 !important;
}

.address-icon {
    background: #FDF2F3 !important;
    color: #9B2335 !important;
}

.pay-method-item.active {
    background: #FDF2F3 !important;
}

.auth-sub a {
    color: #9B2335 !important;
}

.auth-links a {
    color: #9B2335 !important;
}

.login-wrap .auth-sub a {
    color: #9B2335 !important;
}

.member-top {
    background: linear-gradient(135deg, #9B2335, #C45C6A) !important;
}

.member-card-hero,
.member-theme-sunset .member-card-hero {
    background: transparent !important;
}

.member-center-wrap.member-center-v2::before {
    background: linear-gradient(180deg, #9B2335 0%, rgba(255, 255, 255, 0.94) 88%, #ffffff 100%) !important;
}

.member-center-wrap.member-center-v3::before {
    background: linear-gradient(180deg, #9B2335 0%, #E8B4BB 100%) !important;
}

.member-center-wrap.member-center-v3 .member-invite-bar {
    color: #5C1520 !important;
}

.member-center-wrap.member-center-v3 .member-invite-bar i {
    color: #5C1520 !important;
}

.member-center-wrap.member-center-v2 .member-invite-bar {
    color: #5C1520 !important;
    background: rgba(253, 242, 243, 0.9) !important;
    border: 1px solid rgba(240, 208, 213, 0.45) !important;
    box-shadow: 0 3px 1px rgba(155, 35, 53, 0.18) !important;
}

.member-center-wrap.member-center-v2 .member-invite-bar i {
    color: #5C1520 !important;
}

.member-center-wrap.member-center-v2 .member-wallet-card {
    border: 1px solid #F5E0E3 !important;
    background: linear-gradient(180deg, #FBF5F6 0%, #fff 100%) !important;
    box-shadow: 0 10px 22px rgba(155, 35, 53, 0.08) !important;
}

.member-center-wrap.member-center-v2 .wallet-stat {
    background: linear-gradient(180deg, #fff 0%, #FDF2F3 100%) !important;
}

.member-center-wrap.member-center-v2 .wallet-stat span {
    color: #D48993 !important;
}

.member-center-wrap.member-center-v2 .wallet-stat strong {
    color: #5C1520 !important;
}

.member-center-wrap.member-center-v2 .wallet-stat:last-child strong {
    color: #9B2335 !important;
}

.tab-item {
    background: #FDF2F3 !important;
    color: #9B2335 !important;
}

.tab-item.active {
    background: #9B2335 !important;
    color: #fff !important;
}

.points-action-card {
    border: 1px solid #F5E0E3 !important;
    background: #FBF5F6 !important;
}

.points-action-trigger {
    border: 1px solid #F0D0D5 !important;
    background: linear-gradient(180deg, #FFF8F9, #FDF2F3) !important;
}

.action-title {
    color: #5C1520 !important;
}

.feature-item i {
    color: #9B2335 !important;
}

.invite-box {
    background: #FBF5F6 !important;
}

.member-icon-badge {
    background: #FDF2F3 !important;
    color: #9B2335 !important;
}

.member-icon-badge em {
    background: #9B2335 !important;
}

.member-notice-row.notice-style-soft {
    background: linear-gradient(135deg, #FDF2F3, #F5E0E3) !important;
    border-color: #F0D0D5 !important;
}

.member-notice-row.notice-style-soft .notice-bell {
    background: #F5E0E3 !important;
    color: #9B2335 !important;
    box-shadow: inset 0 0 0 1px #E8B4BB !important;
}

.member-notice-row.notice-style-soft .notice-scroll-item {
    color: #5C1520 !important;
}

.member-notice-row.notice-style-soft .member-notice-more {
    color: #D48993 !important;
}

.member-notice-row.notice-style-solid {
    background: linear-gradient(135deg, #9B2335, #C45C6A) !important;
    border-color: #D48993 !important;
    box-shadow: 0 6px 14px rgba(155, 35, 53, 0.2) !important;
}

.member-notice-row.notice-style-solid .notice-bell {
    background: rgba(255, 255, 255, 0.22) !important;
    color: #fff !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35) !important;
}

.member-notice-row.notice-style-solid .notice-scroll-item {
    color: #fff !important;
}

.member-notice-row.notice-style-solid .member-notice-more {
    color: #fff !important;
}

.community-highlight-card {
    background: linear-gradient(135deg, #9B2335 0%, #C45C6A 55%, #D48993 100%) !important;
    box-shadow: 0 7px 0px rgba(155, 35, 53, 0.2) !important;
}

.setting-nav-item > i {
    color: #9B2335 !important;
    background: #FDF2F3 !important;
}

.data-badge {
    color: #9B2335 !important;
    border: 1px solid #E8B4BB !important;
}

.member-assets-banner {
    background: linear-gradient(135deg, #ffffff 42%, #FDF2F3 100%) !important;
    box-shadow: 0 4px 0px rgb(155 35 53 / 48%) !important;
    border: 1px solid #F0D0D5 !important;
}

.member-assets-banner .assets-banner-kicker {
    color: #9B2335 !important;
}

.member-assets-banner p {
    color: #5C1520 !important;
}

.member-assets-banner .assets-banner-arrow {
    background: #F5E0E3 !important;
}

.assets-head .page-head-title {
    color: #5C1520 !important;
}

.assets-wallet-wrap .assets-wallet-card {
    background: radial-gradient(circle at top right, rgba(232, 180, 187, .35), transparent 42%), linear-gradient(145deg, #9B2335 0%, #C45C6A 100%) !important;
    box-shadow: 0 12px 28px rgba(155, 35, 53, .26) !important;
}

.assets-wallet-wrap .assets-wallet-card h2 {
    color: rgba(255, 255, 255, .96) !important;
}

.assets-wallet-wrap .assets-wallet-kicker {
    color: rgba(240, 208, 213, .92) !important;
}

.assets-wallet-wrap .assets-action-btn {
    color: #FDF2F3 !important;
    background: rgba(240, 208, 213, .13) !important;
    border: 1px solid rgba(240, 208, 213, .35) !important;
}

.assets-chart-wrap .assets-card-head h3,
.assets-record-wrap .assets-card-head h3 {
    color: #5C1520 !important;
}

.assets-chart-wrap .assets-card-head span,
.assets-record-wrap .assets-card-head span {
    color: #D48993 !important;
}

.assets-chart-wrap .assets-chart-box {
    background: linear-gradient(160deg, #FBF5F6 0%, #FDF2F3 100%) !important;
    border: 1px solid #F0D0D5 !important;
    box-shadow: 0 8px 20px rgba(155, 35, 53, .12) !important;
}

.assets-chart-wrap .assets-chart-labels span {
    color: #D48993 !important;
}

.assets-record-wrap .assets-record-item {
    border: 1px solid #F5E0E3 !important;
    background: #FBF5F6 !important;
}

.assets-record-wrap .assets-record-top strong {
    color: #5C1520 !important;
}

.assets-record-wrap .assets-record-bottom {
    color: #D48993 !important;
}

.zone-nav-member {
    background: linear-gradient(135deg, #E8B4BB 0%, #D48993 100%) !important;
    color: #fff !important;
}

.zone-nav-normal {
    background: linear-gradient(135deg, #9B2335 0%, #C45C6A 100%) !important;
}

.zone-nav-group {
    background: linear-gradient(135deg, #D48993 0%, #C45C6A 100%) !important;
}

.zone-nav-seckill {
    background: linear-gradient(135deg, #B84A58 0%, #8B1E2E 100%) !important;
}

.banner-placeholder {
    background: linear-gradient(135deg, #C45C6A, #9B2335) !important;
}

.game-banner {
    background: linear-gradient(120deg, #9B2335, #C45C6A) !important;
}

.mall-home-v2 .icon-nav .col-3:nth-child(1) .icon-nav-item i {
    background: linear-gradient(145deg, #E8B4BB 0%, #D48993 100%) !important;
}

.mall-home-v2 .icon-nav .col-3:nth-child(2) .icon-nav-item i {
    background: linear-gradient(145deg, #9B2335 0%, #C45C6A 100%) !important;
}

.mall-home-v2 .icon-nav .col-3:nth-child(3) .icon-nav-item i {
    background: linear-gradient(145deg, #E8B4BB 0%, #D48993 100%) !important;
}

.mall-home-v2 .icon-nav .col-3:nth-child(4) .icon-nav-item i {
    background: linear-gradient(145deg, #E8C4C8 0%, #C45C6A 100%) !important;
}

.mall-home-v3 .icon-nav .col-3:nth-child(1) .icon-nav-item i {
    background: linear-gradient(145deg, #E8B4BB 0%, #D48993 100%) !important;
}

.mall-home-v3 .icon-nav .col-3:nth-child(2) .icon-nav-item i {
    background: linear-gradient(145deg, #9B2335 0%, #C45C6A 100%) !important;
}

.mall-home-v3 .icon-nav .col-3:nth-child(3) .icon-nav-item i {
    background: linear-gradient(145deg, #E8B4BB 0%, #D48993 100%) !important;
}

.mall-home-v3 .icon-nav .col-3:nth-child(4) .icon-nav-item i {
    background: linear-gradient(145deg, #E8C4C8 0%, #C45C6A 100%) !important;
}

.mall-home-v2 .icon-nav-item span {
    color: #333 !important;
}

.mall-home-v3 .icon-nav-item span {
    color: #5C1520 !important;
}

.member-center-wrap.member-center-v2 .member-wallet-grid {
    gap: 8px !important;
}

.member-center-wrap.member-center-v2 .avatar {
    border: 2px solid rgba(253, 242, 243, 0.72) !important;
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.34) 0%, rgba(253, 242, 243, 0.14) 100%) !important;
}

.member-center-wrap.member-center-v2 .avatar i {
    color: #FDF2F3 !important;
}

.member-center-wrap.member-center-v2 .user-text h2 {
    color: #fff !important;
}

.member-center-wrap.member-center-v2 .user-text p {
    color: rgba(253, 242, 243, 0.94) !important;
}

.member-center-wrap.member-center-v2 .member-top-action a {
    background: rgba(253, 242, 243, 0.2) !important;
    border: 1px solid rgba(240, 208, 213, 0.54) !important;
}

.member-center-wrap.member-center-v2 .member-top-action a i {
    color: #FDF2F3 !important;
}

.member-center-wrap.member-center-v3 .avatar {
    border: 2px solid rgba(253, 242, 243, 0.72) !important;
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.34) 0%, rgba(253, 242, 243, 0.14) 100%) !important;
}

.member-center-wrap.member-center-v3 .avatar i {
    color: #FDF2F3 !important;
}

.member-center-wrap.member-center-v3 .user-text h2 {
    color: #fff !important;
}

.member-center-wrap.member-center-v3 .user-text p {
    color: rgba(253, 242, 243, 0.94) !important;
}

.member-center-wrap.member-center-v3 .member-top-action a {
    background: rgba(253, 242, 243, 0.2) !important;
    border: 1px solid rgba(240, 208, 213, 0.54) !important;
}

.member-center-wrap.member-center-v3 .member-top-action a i {
    color: #FDF2F3 !important;
}

.bottom-nav-item.active {
    color: #9B2335 !important;
}

.badge-count {
    background: #9B2335 !important;
}

.home-page-nav .page-item.active .page-link {
    background: #9B2335 !important;
}

.btn-primary {
    background: linear-gradient(135deg, #9B2335, #7A1C2A) !important;
    border-color: #9B2335 !important;
}

.btn-primary:hover,
.btn-primary:active {
    background: linear-gradient(135deg, #7A1C2A, #641622) !important;
    border-color: #7A1C2A !important;
}

.member-bank-edit {
    color: #9B2335 !important;
}

.member-bank-del:active,
.member-bank-del:hover {
    color: #9B2335 !important;
    background: #FDF2F3 !important;
}

.community-metric-item {
    background: rgba(253, 242, 243, 0.9) !important;
}

.community-metric-icon {
    color: #9B2335 !important;
    background: rgba(255, 255, 255, 0.65) !important;
}

.community-metric-text label {
    color: #D48993 !important;
}

.community-metric-text strong {
    color: #5C1520 !important;
}

.invite-copy-icon-btn {
    color: #9B2335 !important;
}

.invite-link-box {
    border-color: #F0D0D5 !important;
}

.withdraw-balance-hero {
    background: linear-gradient(145deg, #FDF2F3 0%, #fff 55%, #FDF2F3 100%) !important;
    border-color: #F5E0E3 !important;
    box-shadow: 0 2px 12px rgba(155, 35, 53, 0.06) !important;
}

.withdraw-balance-hero-value {
    color: #9B2335 !important;
}

.withdraw-preview-card {
    border-color: #F5E0E3 !important;
}

.withdraw-preview-card-title {
    background: #FBF5F6 !important;
    border-color: #FDF2F3 !important;
}

.withdraw-bank-detail .withdraw-kv,
.withdraw-qr-detail .withdraw-kv {
    border-color: #FDF2F3 !important;
}

.withdraw-no-method-box {
    background: linear-gradient(180deg, #FBF5F6 0%, #fff 100%) !important;
    border-color: #F5E0E3 !important;
}

.withdraw-no-method-ico {
    color: #E8B4BB !important;
}

.withdraw-no-method-text a {
    color: #9B2335 !important;
}

.recharge-info-card {
    border-color: #F0D0D5 !important;
}

.recharge-info-row {
    border-color: #FDF2F3 !important;
}

.recharge-empty-hint {
    background: #FBF5F6 !important;
    border-color: #F5E0E3 !important;
    color: #5C1520 !important;
}

.recharge-qr-card {
    background: linear-gradient(180deg, #fafafa 0%, #fff 100%) !important;
    border-color: #F5E0E3 !important;
}

.member-logout-btn {
    border-color: #F0D0D5 !important;
    color: #9B2335 !important;
}

.order-tone-mono .member-order-card .member-icon-badge,
.order-tone-mono .member-order-card .icon-blue,
.order-tone-mono .member-order-card .icon-orange,
.order-tone-mono .member-order-card .icon-purple,
.order-tone-mono .member-order-card .icon-red,
.order-tone-mono .member-order-card .icon-gold,
.order-tone-mono .member-order-card .icon-pink,
.order-tone-mono .member-order-card .icon-violet,
.order-tone-mono .member-order-card .icon-green,
.order-tone-mono .member-order-card .icon-brand,
.common-tone-mono .member-common-card .member-icon-badge,
.common-tone-mono .member-common-card .icon-blue,
.common-tone-mono .member-common-card .icon-orange,
.common-tone-mono .member-common-card .icon-purple,
.common-tone-mono .member-common-card .icon-red,
.common-tone-mono .member-common-card .icon-gold,
.common-tone-mono .member-common-card .icon-pink,
.common-tone-mono .member-common-card .icon-violet,
.common-tone-mono .member-common-card .icon-green,
.common-tone-mono .member-common-card .icon-brand {
    background: #FDF2F3 !important;
    color: #9B2335 !important;
}

.points-list .point-item {
    border-left: 3px solid #E8B4BB !important;
}

.point-amount.is-plus {
    color: #9B2335 !important;
    background: #FDF2F3 !important;
    border-color: #F0D0D5 !important;
}

.points-list .reward-real {
    color: #9B2335 !important;
}

.point-card {
    background: #FDF2F3 !important;
    color: #5C1520 !important;
}

.home-toast.error {
    background: rgba(155, 35, 53, 0.92) !important;
}

.btn-danger {
    background: linear-gradient(135deg, #9B2335, #7A1C2A) !important;
    border-color: #9B2335 !important;
}

.btn-success {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    border-color: #10b981 !important;
}

.btn-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    border-color: #f59e0b !important;
}

.detail-submit-btn {
    background: linear-gradient(135deg, #9B2335, #7A1C2A) !important;
}

.cart-submit-btn {
    background: linear-gradient(135deg, #9B2335, #7A1C2A) !important;
}

.checkout-submit-btn {
    background: linear-gradient(135deg, #9B2335, #7A1C2A) !important;
}

.login-btn {
    background: linear-gradient(135deg, #9B2335, #7A1C2A) !important;
}

.pay-amount strong {
    color: #9B2335 !important;
}

.goods-carousel-card__price {
    color: #9B2335 !important;
}

.wallet-stat:last-child strong {
    color: #9B2335 !important;
}

.order-icon-item b {
    color: #5C1520 !important;
}

.order-icon-item i {
    color: #9B2335 !important;
}

.member-wallet-grid .wallet-stat:last-child strong {
    color: #9B2335 !important;
}
