/* A single persisted palette across storefront, management and account pages. */
html[data-theme=dark]{--theme-bg:#111b2a;--theme-surface:#1a2739;--theme-raised:#202f44;--theme-border:#304159;--theme-text:#e5edf8;--theme-muted:#a4b3c8;--ink:#e5edf8;--muted:#a4b3c8;--line:#304159;--paper:#111b2a}
html[data-theme=dark] body,html[data-theme=dark] .content-wrapper,html[data-theme=dark] .gopesa-page{background:var(--theme-bg)!important;color:var(--theme-text)!important}
html[data-theme=dark] .main-sidebar.gostore-sidebar,html[data-theme=dark] .gostore-sidebar .brand-link,html[data-theme=dark] .main-header.custom-navbar,html[data-theme=dark] .main-footer.custom-footer,html[data-theme=dark] .card,html[data-theme=dark] .gp-card,html[data-theme=dark] .gp-metric,html[data-theme=dark] .dropdown-menu,html[data-theme=dark] .profile-actions,html[data-theme=dark] .form-panel,html[data-theme=dark] .auth-shell{background:var(--theme-surface)!important;color:var(--theme-text)!important;border-color:var(--theme-border)!important;box-shadow:none!important}
html[data-theme=dark] .gostore-sidebar .brand-text,html[data-theme=dark] .gostore-sidebar .brand-link,html[data-theme=dark] .content-wrapper h1,html[data-theme=dark] .content-wrapper h2,html[data-theme=dark] .content-wrapper h3,html[data-theme=dark] .content-wrapper h4,html[data-theme=dark] .content-wrapper strong,html[data-theme=dark] .content-wrapper label,html[data-theme=dark] .content-wrapper .card-title,html[data-theme=dark] .profile-name,html[data-theme=dark] .form-heading h2,html[data-theme=dark] .brand,html[data-theme=dark] .section-title{color:var(--theme-text)!important}
html[data-theme=dark] .text-muted,html[data-theme=dark] .gp-caption,html[data-theme=dark] .gp-metric-caption,html[data-theme=dark] .gp-metric span,html[data-theme=dark] .customer-greeting,html[data-theme=dark] .gp-back,html[data-theme=dark] .breadcrumb,html[data-theme=dark] .profile-email,html[data-theme=dark] .form-heading p,html[data-theme=dark] .field label{color:var(--theme-muted)!important}
html[data-theme=dark] .gp-card-heading,html[data-theme=dark] .gp-filters,html[data-theme=dark] .card-header,html[data-theme=dark] .card-footer,html[data-theme=dark] .profile-header,html[data-theme=dark] .notification-header,html[data-theme=dark] .payment-summary,html[data-theme=dark] .gp-detail-header,html[data-theme=dark] .list-group-item{background:var(--theme-raised)!important;color:var(--theme-text)!important;border-color:var(--theme-border)!important}
html[data-theme=dark] .gostore-sidebar .nav-sidebar .nav-item>.nav-link,html[data-theme=dark] .custom-navbar .nav-link,html[data-theme=dark] .profile-link,html[data-theme=dark] .notification-item{color:var(--theme-muted)!important}
html[data-theme=dark] .gostore-sidebar .nav-sidebar .nav-item>.nav-link:hover,html[data-theme=dark] .profile-link:hover,html[data-theme=dark] .notification-item:hover,html[data-theme=dark] .custom-navbar .nav-link:hover{background:var(--theme-raised)!important;color:var(--theme-text)!important}
html[data-theme=dark] .gostore-sidebar .nav-sidebar .nav-item>.nav-link.active{background:#3b3322!important;color:#ffda80!important}
html[data-theme=dark] .table,html[data-theme=dark] .table td{background:transparent!important;color:var(--theme-text)!important;border-color:var(--theme-border)!important}
html[data-theme=dark] .table thead th{background:var(--theme-raised)!important;color:var(--theme-muted)!important;border-color:var(--theme-border)!important}
html[data-theme=dark] .table-striped tbody tr:nth-of-type(odd),html[data-theme=dark] .table tbody tr:hover{background:#202f4433!important}
html[data-theme=dark] .form-control,html[data-theme=dark] .custom-select,html[data-theme=dark] .input-group-text,html[data-theme=dark] .input-wrap input,html[data-theme=dark] .dataTables_filter input{background:var(--theme-bg)!important;color:var(--theme-text)!important;border-color:var(--theme-border)!important}
html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#8fa1ba!important}
html[data-theme=dark] .gp-btn-light,html[data-theme=dark] .orders-page .btn-dark,html[data-theme=dark] .products-page .btn-dark,html[data-theme=dark] .wishlist-page .btn-dark,html[data-theme=dark] .gp-icon-button,html[data-theme=dark] .gp-pagination a{background:var(--theme-raised)!important;color:var(--theme-text)!important;border-color:var(--theme-border)!important}
html[data-theme=dark] .gp-btn-primary,html[data-theme=dark] .btn-warning,html[data-theme=dark] .gp-pagination .active a,html[data-theme=dark] .page-item.active .page-link{background:#ffc03d!important;color:#212d45!important;border-color:#ffc03d!important}
html[data-theme=dark] .gp-code,html[data-theme=dark] .gp-table a,html[data-theme=dark] .activity-reference,html[data-theme=dark] .footer-link,html[data-theme=dark] .content-wrapper .breadcrumb a{color:#ffda80!important}
html[data-theme=dark] .activity-row,html[data-theme=dark] .business-gopesa-summary,html[data-theme=dark] .payment-report-note{border-color:var(--theme-border)!important}
html[data-theme=dark] .gp-metric-icon.navy{background:#293d58;color:#bbd0ed}
html[data-theme=dark] .gp-metric-icon.gold{background:#413722;color:#ffda80}
html[data-theme=dark] .gp-metric-icon.green{background:#213d36;color:#9ee0bd}
html[data-theme=dark] .category-box,html[data-theme=dark] .product-card,html[data-theme=dark] .cart-card,html[data-theme=dark] .summary-card,html[data-theme=dark] .checkout-card,html[data-theme=dark] .product-details,html[data-theme=dark] .product-image-wrap{background:var(--theme-surface)!important;color:var(--theme-text)!important;border-color:var(--theme-border)!important}
html[data-theme=dark] .auth-tabs a,html[data-theme=dark] .form-footer,html[data-theme=dark] .switch-prompt,html[data-theme=dark] .back-link{color:var(--theme-muted)!important}
html[data-theme=dark] .auth-tabs .selected{color:var(--theme-text)!important}
html[data-theme=dark] .auth-tabs,html[data-theme=dark] .form-footer{border-color:var(--theme-border)!important}
html[data-theme=dark] .content-wrapper .bg-white,html[data-theme=dark] .content-wrapper .bg-light{background:var(--theme-surface)!important;color:var(--theme-text)!important}
html[data-theme=dark] .content-wrapper .text-dark,html[data-theme=dark] .content-wrapper .text-body,html[data-theme=dark] .content-wrapper .info-value,html[data-theme=dark] .content-wrapper .product-name,html[data-theme=dark] .content-wrapper .product-title{color:var(--theme-text)!important}
html[data-theme=dark] .content-wrapper .info-label,html[data-theme=dark] .content-wrapper .gp-detail-grid dt,html[data-theme=dark] .content-wrapper .gp-table td small{color:var(--theme-muted)!important}
