:root{--djpts-accent:#2563EB;--djpts-page-bg:#080B14;--djpts-card-bg:#111827;--djpts-text:#F3F6FC;--djpts-border:rgba(127,145,175,.2)}
html[data-djpts-mode]{color-scheme:dark;transition:background-color .25s ease,color .25s ease}
html[data-djpts-mode="light"]{color-scheme:light}
body{transition:background-color .25s ease,color .25s ease}
html[data-djpts-mode="light"] body{background-color:var(--djpts-page-bg)!important;color:var(--djpts-text)}
html[data-djpts-mode="dark"] body{background-color:var(--djpts-page-bg);color:var(--djpts-text)}
/* Exact integration with Daneshjoo Premium Landing Builder: its colors are inline CSS variables, so override them on the landing root. */
html[data-djpts-mode="light"] .dj-lp{
 --djlp-bg:var(--djpts-page-bg)!important;
 --djlp-card:var(--djpts-card-bg)!important;
 --djlp-surface:#EEF2F9!important;
 --djlp-text:var(--djpts-text)!important;
 --djlp-secondary:#5B667A!important;
 --djlp-border:#DCE3EF!important;
 background:var(--djpts-page-bg)!important;
 color:var(--djpts-text)!important;
}
html[data-djpts-mode="dark"] .dj-lp{
 --djlp-bg:var(--djpts-page-bg)!important;
 --djlp-card:var(--djpts-card-bg)!important;
 --djlp-surface:#182235!important;
 --djlp-text:var(--djpts-text)!important;
 --djlp-secondary:#A7B2C7!important;
 --djlp-border:rgba(127,145,175,.2)!important;
 background:var(--djpts-page-bg)!important;
 color:var(--djpts-text)!important;
}
html[data-djpts-mode="light"] .dj-lp :is(.dj-lp-hero,.dj-lp-section,.dj-lp-cta,.dj-lp-footer){background-color:var(--djpts-page-bg)!important}
html[data-djpts-mode="light"] .dj-lp :is(.dj-lp-card,.dj-lp-product,.dj-lp-benefit,.dj-lp-stat,.dj-lp-testimonial,.dj-lp-faq-item,.dj-lp-hero-glass,.dj-lp-cta-box){background-color:var(--djpts-card-bg)!important;border-color:var(--djpts-border)!important;color:var(--djpts-text)!important;box-shadow:0 10px 30px rgba(28,43,72,.07)}
/* Product cards use a gradient shorthand in the landing-builder stylesheet; override the full background and expose dedicated admin colors. */
html[data-djpts-mode="light"] .dj-lp .dj-lp-product{background:var(--djpts-product-bg,#fff)!important;background-image:none!important;border-color:var(--djpts-border)!important;color:var(--djpts-product-text,#172033)!important;box-shadow:0 10px 30px rgba(28,43,72,.08)}
html[data-djpts-mode="light"] .dj-lp .dj-lp-product :is(h3,p,strong,small,span,del){color:var(--djpts-product-text,#172033)}
html[data-djpts-mode="light"] .dj-lp .dj-lp-product-media{background:var(--djpts-product-media,#F1F5FB)!important;border-color:var(--djpts-border)!important}
html[data-djpts-mode="light"] .dj-lp .dj-lp-product .dj-lp-price em{color:#166534;background:#dcfce7}
html[data-djpts-mode="light"] .dj-lp :is(h1,h2,h3,h4,h5,h6,p,li,label,small,strong,.dj-lp-hero-meta){color:var(--djpts-text)}
html[data-djpts-mode="light"] .dj-lp :is(.dj-lp-badge,.dj-lp-btn-ghost){background:rgba(255,255,255,.82);border-color:var(--djpts-border);color:var(--djpts-text)}
html[data-djpts-mode="light"] .dj-lp .dj-lp-hero:before{background-image:linear-gradient(rgba(23,32,51,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(23,32,51,.035) 1px,transparent 1px)}
html[data-djpts-mode="light"] body :is(#dj_landing,.dj-landing,.dj-landing-page,.dj-landing-wrapper,.djlp,.djlp-wrapper,[class*="dj-landing"],[class*="djlp-"]){--dj-bg:var(--djpts-page-bg);--dj-background:var(--djpts-page-bg);--dj-card:var(--djpts-card-bg);--dj-surface:var(--djpts-card-bg);--dj-text:var(--djpts-text);--dj-text-primary:var(--djpts-text);--dj-border:var(--djpts-border);color:var(--djpts-text)}
/* Generic landing-page light palette: targets the custom [dj_landing] output as well as common block/theme wrappers. */
html[data-djpts-mode="light"] :is(#dj_landing,.dj-landing,.dj-landing-page,.dj-landing-wrapper,.djlp,.djlp-wrapper,[class*="dj-landing"],[class*="djlp-"]){background-color:transparent!important;color:var(--djpts-text)!important}
html[data-djpts-mode="light"] :is(#dj_landing,.dj-landing,.dj-landing-page,.dj-landing-wrapper,.djlp,.djlp-wrapper,[class*="dj-landing"],[class*="djlp-"]) :is(section,article,.card,.feature-card,.product-card,.service-card,.testimonial-card,.faq-item,.stat-card,[class*="card"],[class*="item"],[class*="feature"],[class*="product"],[class*="testimonial"],[class*="faq"],[class*="stat"]){background-color:var(--djpts-card-bg)!important;border-color:var(--djpts-border)!important;color:var(--djpts-text)!important;box-shadow:0 8px 28px rgba(22,34,57,.06)}
html[data-djpts-mode="light"] :is(#dj_landing,.dj-landing,.dj-landing-page,.dj-landing-wrapper,.djlp,.djlp-wrapper,[class*="dj-landing"],[class*="djlp-"]) :is(h1,h2,h3,h4,h5,h6,p,li,label,small,strong,span,div){border-color:var(--djpts-border)}
html[data-djpts-mode="light"] :is(#dj_landing,.dj-landing,.dj-landing-page,.dj-landing-wrapper,.djlp,.djlp-wrapper,[class*="dj-landing"],[class*="djlp-"]) :is(h1,h2,h3,h4,h5,h6,p,li,label,small,strong){color:var(--djpts-text)}
html[data-djpts-mode="light"] :is(#dj_landing,.dj-landing,.dj-landing-page,.dj-landing-wrapper,.djlp,.djlp-wrapper,[class*="dj-landing"],[class*="djlp-"]) :is(a,button,.button,.btn){transition:filter .2s ease,background-color .2s ease}
html[data-djpts-mode="light"] :is(#dj_landing,.dj-landing,.dj-landing-page,.dj-landing-wrapper,.djlp,.djlp-wrapper,[class*="dj-landing"],[class*="djlp-"]) :is(input,textarea,select){background:#fff!important;color:#172033!important;border-color:#d7deea!important}
html[data-djpts-mode="light"] :is(header,.site-header,.ct-header,footer,.site-footer,.ct-footer,.wp-block-group,.wp-block-cover){transition:background-color .25s ease,color .25s ease}
html[data-djpts-mode="light"] :is(.site-header,.ct-header,.site-footer,.ct-footer){background-color:var(--djpts-card-bg);color:var(--djpts-text)}
.djpts-switcher-wrap{position:fixed;z-index:999999;bottom:22px;right:22px;direction:rtl;font-family:inherit}
.djpts-switcher-wrap[data-position="left"]{right:auto;left:22px}
.djpts-toggle{display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:8px 13px;border:1px solid rgba(128,145,175,.28);border-radius:999px;background:rgba(17,24,39,.88);color:#f7f9ff;box-shadow:0 10px 35px rgba(5,10,25,.22),inset 0 1px 0 rgba(255,255,255,.08);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);cursor:pointer;font:600 13px/1.2 inherit;transition:transform .2s ease,box-shadow .2s ease,background .2s ease}
.djpts-toggle:hover{transform:translateY(-2px);box-shadow:0 14px 38px rgba(5,10,25,.28)}
.djpts-icon{display:inline-flex;align-items:center;justify-content:center;color:#a9c7ff}
.djpts-track{width:36px;height:21px;border-radius:99px;background:#39465e;position:relative;display:inline-block;transition:background .2s ease}
.djpts-knob{position:absolute;top:3px;left:3px;width:15px;height:15px;border-radius:50%;background:white;box-shadow:0 1px 4px #0003;transition:transform .22s ease}
html[data-djpts-mode="light"] .djpts-toggle{background:rgba(255,255,255,.94);color:#172033;border-color:#dce3ef;box-shadow:0 10px 32px rgba(28,43,72,.14),inset 0 1px 0 white}
html[data-djpts-mode="light"] .djpts-icon{color:var(--djpts-accent)}
html[data-djpts-mode="light"] .djpts-track{background:var(--djpts-accent)}
html[data-djpts-mode="light"] .djpts-knob{transform:translateX(15px)}
.djpts-label[hidden]{display:none!important}
@media(max-width:600px){.djpts-switcher-wrap{bottom:14px;right:12px}.djpts-switcher-wrap[data-position="left"]{left:12px}.djpts-toggle{min-height:44px;padding:7px 11px;gap:8px}.djpts-label{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}}

/* v1.3.0: independently configurable light-mode benefit and testimonial cards. */
html[data-djpts-mode="light"] .dj-lp .dj-lp-benefit{background:var(--djpts-benefit-bg,#FFFFFF)!important;background-image:none!important;border-color:var(--djpts-border)!important;color:var(--djpts-benefit-text,#172033)!important}
html[data-djpts-mode="light"] .dj-lp .dj-lp-benefit :is(h1,h2,h3,h4,h5,h6,p,li,label,small,strong,span){color:var(--djpts-benefit-text,#172033)!important}
html[data-djpts-mode="light"] .dj-lp .dj-lp-testimonial{background:var(--djpts-testimonial-bg,#FFFFFF)!important;background-image:none!important;border-color:var(--djpts-border)!important;color:var(--djpts-testimonial-text,#172033)!important}
html[data-djpts-mode="light"] .dj-lp .dj-lp-testimonial :is(h1,h2,h3,h4,h5,h6,p,li,label,small,strong,span){color:var(--djpts-testimonial-text,#172033)!important}


/* v1.4.0: site-wide light-mode contrast fixes, including contact pages and non-landing sections. */
html[data-djpts-mode="light"] body {
  background-color: var(--djpts-page-bg, #F5F7FC) !important;
  color: var(--djpts-text, #172033) !important;
}
/* Fix inherited and theme-defined white typography throughout WordPress pages. */
html[data-djpts-mode="light"] body :is(h1,h2,h3,h4,h5,h6,p,li,label,small,strong,em,b,i,blockquote,dt,dd,th,td,figcaption,legend,summary,.entry-title,.entry-content,.entry-summary,.widget-title,.ct-title,.ct-text,.wp-block-heading,.wp-block-paragraph) {
  color: var(--djpts-text, #172033) !important;
}
/* Contact sections often use custom wrappers and inline white text. */
html[data-djpts-mode="light"] body :is([id*="contact" i],[class*="contact" i],[id*="تماس"],[class*="تماس"]) :is(h1,h2,h3,h4,h5,h6,p,span,div,label,small,strong,em,a,li,i,b) {
  color: var(--djpts-text, #172033) !important;
}
/* Common WordPress/theme content surfaces use the light palette, without overriding images or videos. */
html[data-djpts-mode="light"] body :is(main,article,.site-main,.content-area,.entry-content,.wp-site-blocks,.wp-block-group,.wp-block-columns,.wp-block-column,.wp-block-cover,.ct-content,.ct-container,.site-content) {
  border-color: var(--djpts-border, #DCE3EF);
}
html[data-djpts-mode="light"] body :is(.wp-block-group,.wp-block-column,.wp-block-cover,.wp-block-media-text,.wp-block-quote,.wp-block-pullquote,.widget,.ct-widget,.entry-content .wp-block-table) {
  color: var(--djpts-text, #172033);
}
html[data-djpts-mode="light"] body :is(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),textarea,select) {
  background-color: #FFFFFF !important;
  color: var(--djpts-text, #172033) !important;
  border-color: #D7DEEA !important;
}
html[data-djpts-mode="light"] body :is(input,textarea,select)::placeholder { color: #68758A !important; opacity: 1; }
/* Keep the theme toggle and intentional controls readable. */
html[data-djpts-mode="light"] .djpts-switcher-wrap,
html[data-djpts-mode="light"] .djpts-switcher-wrap * { color: inherit; }
html[data-djpts-mode="light"] body :is(button,input[type="submit"],input[type="button"],.button,.btn,.wp-element-button,.ct-button) { border-color: var(--djpts-border, #DCE3EF); }
html[data-djpts-mode="light"] body :is(img,video,iframe,svg,canvas) { filter: none; }


/* v1.5.0: WooCommerce + Blocksy light-mode product cards, shop grids, and cart tables. */
html[data-djpts-mode="light"] body.woocommerce :is(ul.products, .products, .wc-block-grid__products) li.product,
html[data-djpts-mode="light"] body.woocommerce-page :is(ul.products, .products, .wc-block-grid__products) li.product,
html[data-djpts-mode="light"] body :is(.woocommerce ul.products li.product, .woocommerce-page ul.products li.product, .woocommerce .product, .wc-block-grid__product, .wc-block-components-product-metadata, .wc-block-cart-items__row, .woocommerce-cart-form__cart-item) {
  background: var(--djpts-woo-card, #FFFFFF) !important;
  background-color: var(--djpts-woo-card, #FFFFFF) !important;
  background-image: none !important;
  color: var(--djpts-woo-text, #172033) !important;
  border-color: var(--djpts-woo-border, #DCE3EF) !important;
  box-shadow: 0 6px 22px rgba(28,43,72,.07);
}
html[data-djpts-mode="light"] body :is(.woocommerce ul.products li.product, .woocommerce-page ul.products li.product, .wc-block-grid__product, .woocommerce-cart-form__cart-item, .wc-block-cart-items__row) :is(h1,h2,h3,h4,h5,h6,a:not(.button):not(.wp-element-button),p,span,strong,small,del,ins, .price, .amount, .woocommerce-loop-product__title, .wc-block-components-product-name, .wc-block-components-product-price, .wc-block-components-product-metadata, label, th, td) {
  color: var(--djpts-woo-text, #172033) !important;
}
html[data-djpts-mode="light"] body :is(.woocommerce ul.products li.product, .woocommerce-page ul.products li.product, .wc-block-grid__product) :is(img, .ct-media-container, .woocommerce-loop-product__link) {
  border-color: var(--djpts-woo-border, #DCE3EF);
}
html[data-djpts-mode="light"] body :is(.woocommerce-cart-form, .woocommerce-cart-form table, .woocommerce-cart-form table.shop_table, .woocommerce-checkout table.shop_table, .woocommerce table.shop_table, .wc-block-cart, .wc-block-components-order-summary, .wc-block-components-totals-wrapper) {
  background: var(--djpts-woo-card, #FFFFFF) !important;
  background-color: var(--djpts-woo-card, #FFFFFF) !important;
  color: var(--djpts-woo-text, #172033) !important;
  border-color: var(--djpts-woo-border, #DCE3EF) !important;
}
html[data-djpts-mode="light"] body :is(.woocommerce table.shop_table th, .woocommerce table.shop_table td, .woocommerce-cart-form table td, .wc-block-cart-items th, .wc-block-cart-items td, .wc-block-components-totals-item, .wc-block-components-product-details__name, .wc-block-components-product-details__value) {
  background-color: transparent !important;
  color: var(--djpts-woo-text, #172033) !important;
  border-color: var(--djpts-woo-border, #DCE3EF) !important;
}
html[data-djpts-mode="light"] body :is(.woocommerce .quantity .qty, .woocommerce-cart-form input, .woocommerce-cart-form select, .wc-block-components-quantity-selector input, .wc-block-components-text-input input, .wc-block-components-text-input textarea) {
  background: #FFFFFF !important;
  color: #172033 !important;
  border-color: #D7DEEA !important;
}
html[data-djpts-mode="light"] body :is(.woocommerce ul.products li.product a.button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .wc-block-components-button, .wc-block-cart__submit-container a, .wc-block-components-product-button .wp-element-button) {
  color: #FFFFFF !important;
}
html[data-djpts-mode="light"] body :is(.woocommerce ul.products li.product, .wc-block-grid__product) :is(.star-rating, .star-rating span, .wc-block-grid__product-rating) { color: #B7791F !important; }
html[data-djpts-mode="light"] body :is(.woocommerce-info, .woocommerce-message, .woocommerce-error, .wc-block-components-notice-banner) { color: #172033 !important; }


/* v1.6.0: integrations for Daneshjoo Account, Ticketing, WooCommerce and WordPress login. */
html[data-djpts-mode] {
  --djpts-muted: #64748b;
  --djpts-field-bg: #ffffff;
  --djpts-field-text: #172033;
  --djpts-surface: #eef2f9;
}
html[data-djpts-mode="dark"] {
  --djpts-muted: #94a3b8;
  --djpts-field-bg: #0b1220;
  --djpts-field-text: #f3f6fc;
  --djpts-surface: #182235;
}
html[data-djpts-mode="light"] {
  --djpts-muted: #64748b;
  --djpts-field-bg: #ffffff;
  --djpts-field-text: #172033;
  --djpts-surface: #eef2f9;
}

/* Account dashboard: replace fixed dark palette with the active global palette. */
html[data-djpts-mode] body .dj-account {
  --bg: var(--djpts-page-bg) !important;
  --card: var(--djpts-card-bg) !important;
  --surface: var(--djpts-surface) !important;
  --text: var(--djpts-text) !important;
  --muted: var(--djpts-muted) !important;
  --border: var(--djpts-border) !important;
  background: var(--djpts-page-bg) !important;
  color: var(--djpts-text) !important;
  border-color: var(--djpts-border) !important;
}
html[data-djpts-mode="light"] body .dj-account :is(.dj-sidebar,.dj-user-mini,.dj-glass,.dj-sub-meta span,.dj-credential,.dj-progress,.dj-sub-actions a,.dj-sub-actions button,.dj-form,.dj-order-wrap,.dj-stat,.dj-sub-card,.dj-table-wrap,.dj-table-scroll) {
  background-color: var(--djpts-card-bg) !important;
  border-color: var(--djpts-border) !important;
  color: var(--djpts-text) !important;
}
html[data-djpts-mode="light"] body .dj-account :is(h1,h2,h3,h4,h5,h6,p,span,strong,b,label,small,em,th,td,li,summary) { color: var(--djpts-text) !important; }
html[data-djpts-mode="light"] body .dj-account :is(.dj-breadcrumb,.dj-topbar p,.dj-welcome p,.dj-stat small,.dj-section-head p,.dj-sub-meta small,.dj-credential small,.dj-expire small,.dj-table th,.dj-table td,.dj-sidebar-note,.dj-nav a,.dj-logout) { color: var(--djpts-muted) !important; }
html[data-djpts-mode="light"] body .dj-account :is(input:not([type="checkbox"]):not([type="radio"]),textarea,select) { background: var(--djpts-field-bg) !important; color: var(--djpts-field-text) !important; border-color: var(--djpts-border) !important; }
html[data-djpts-mode="light"] body .dj-account :is(.dj-nav a.active,.dj-filter-row .dj-filter-active) { color: var(--djpts-accent) !important; }
html[data-djpts-mode="light"] body .dj-account :is(.dj-btn-primary,.dj-account .dj-btn-primary *) { color: #fff !important; }

/* Ticketing front end and embedded forms. Keep status badge semantic colors intact. */
html[data-djpts-mode] body .djpt-wrap {
  --djpt-bg: var(--djpts-page-bg);
  --djpt-card: var(--djpts-card-bg);
  --djpt-text: var(--djpts-text);
  color: var(--djpts-text) !important;
  background: var(--djpts-page-bg) !important;
}
html[data-djpts-mode] body .djpt-wrap :is(.djpt-card,.djpt-form-card,.djpt-stat,.djpt-head,.djpt-meta,.djpt-conversation,.djpt-message,.djpt-table-scroll) {
  background-color: var(--djpts-card-bg) !important;
  border-color: var(--djpts-border) !important;
  color: var(--djpts-text) !important;
}
html[data-djpts-mode] body .djpt-wrap :is(h1,h2,h3,h4,h5,h6,p,label,strong,b,th,td,.msg-author,.msg-body,.msg-time,.djpt-empty) { color: var(--djpts-text) !important; }
html[data-djpts-mode] body .djpt-wrap :is(input:not([type="checkbox"]):not([type="radio"]),textarea,select) {
  background: var(--djpts-field-bg) !important; color: var(--djpts-field-text) !important; border: 1px solid var(--djpts-border) !important;
}
html[data-djpts-mode="light"] body .djpt-wrap :is(.djpt-message.mine,.djpt-message.agent) { background: var(--djpts-card-bg) !important; }
html[data-djpts-mode="light"] body .djpt-wrap .djpt-btn { color: #fff !important; }
html[data-djpts-mode="light"] body .djpt-wrap .djpt-nav-link { color: var(--djpts-accent) !important; }

/* WordPress login page uses the same saved theme preference and switcher. */
body.login { background: var(--djpts-page-bg, #080B14) !important; color: var(--djpts-text, #F3F6FC) !important; }
html[data-djpts-mode="light"] body.login #login h1 a { filter: none; }
html[data-djpts-mode] body.login #loginform,
html[data-djpts-mode] body.login #lostpasswordform,
html[data-djpts-mode] body.login #registerform { background: var(--djpts-card-bg) !important; border: 1px solid var(--djpts-border) !important; color: var(--djpts-text) !important; box-shadow: 0 12px 36px rgba(0,0,0,.12); }
html[data-djpts-mode] body.login :is(label,#backtoblog a,#nav a,.privacy-policy-page-link a) { color: var(--djpts-text) !important; }
html[data-djpts-mode] body.login :is(input[type="text"],input[type="password"],input[type="email"]) { background: var(--djpts-field-bg) !important; color: var(--djpts-field-text) !important; border-color: var(--djpts-border) !important; }
html[data-djpts-mode] body.login .button-primary { background: var(--djpts-accent) !important; border-color: var(--djpts-accent) !important; color: #fff !important; }
body.login .djpts-switcher-wrap { position: fixed; bottom: 18px; right: 18px; z-index: 999999; }
body.login .message, body.login .success, body.login #login_error { color: var(--djpts-text) !important; }


/* v1.6.0 compatibility patch: Daneshjoo Premium Custom Auth [dj_auth].
 * All selectors are deliberately scoped to the actual .dj-auth-wrap markup.
 * No generic form/button rules are introduced outside this component.
 */
html[data-djpts-mode] body .dj-auth-wrap {
  --bg: var(--djpts-page-bg, #080B14) !important;
  --card: var(--djpts-card-bg, #111827) !important;
  --surface: var(--djpts-surface, #182235) !important;
  --primary: var(--djpts-accent, #2563EB) !important;
  --hover: #3B82F6 !important;
  --purple: #7C3AED !important;
  --text: var(--djpts-text, #F3F6FC) !important;
  --muted: var(--djpts-muted, #94A3B8) !important;
  --border: var(--djpts-border, rgba(127,145,175,.2)) !important;
  --success: #22C55E !important;
  --error: #EF4444 !important;
  color: var(--text) !important;
  background:
    radial-gradient(circle at 15% 20%, rgba(37,99,235,.15), transparent 32%),
    radial-gradient(circle at 85% 80%, rgba(124,58,237,.13), transparent 30%),
    var(--bg) !important;
}
html[data-djpts-mode] body .dj-auth-wrap .dj-auth-card {
  color: var(--text) !important;
  background: var(--card) !important;
  background-color: var(--card) !important;
  border-color: var(--border) !important;
  box-shadow: 0 25px 80px rgba(0,0,0,.24);
}
html[data-djpts-mode] body .dj-auth-wrap .dj-auth-logo span,
html[data-djpts-mode] body .dj-auth-wrap .dj-auth-panel h1,
html[data-djpts-mode] body .dj-auth-wrap .dj-form > label,
html[data-djpts-mode] body .dj-auth-wrap .dj-grid label,
html[data-djpts-mode] body .dj-auth-wrap .dj-security strong {
  color: var(--text) !important;
}
html[data-djpts-mode] body .dj-auth-wrap .dj-subtitle,
html[data-djpts-mode] body .dj-auth-wrap .dj-security,
html[data-djpts-mode] body .dj-auth-wrap .dj-security small {
  color: var(--muted) !important;
}
html[data-djpts-mode] body .dj-auth-wrap .dj-auth-tabs {
  background: var(--surface) !important;
}
html[data-djpts-mode] body .dj-auth-wrap .dj-tab {
  color: var(--muted) !important;
}
html[data-djpts-mode] body .dj-auth-wrap .dj-tab.active {
  background: var(--primary) !important;
  color: #fff !important;
}
html[data-djpts-mode] body .dj-auth-wrap .dj-input {
  background: var(--djpts-field-bg, #0D1422) !important;
  border-color: var(--border) !important;
}
html[data-djpts-mode] body .dj-auth-wrap .dj-input:focus-within {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 4px rgba(37,99,235,.16) !important;
}
html[data-djpts-mode] body .dj-auth-wrap .dj-input span {
  color: var(--muted) !important;
}
html[data-djpts-mode] body .dj-auth-wrap .dj-input input {
  color: var(--djpts-field-text, var(--text)) !important;
  caret-color: var(--primary);
}
html[data-djpts-mode] body .dj-auth-wrap .dj-input input::placeholder {
  color: var(--djpts-muted, #94A3B8) !important;
  opacity: 1;
}
html[data-djpts-mode] body .dj-auth-wrap .dj-form-row a,
html[data-djpts-mode] body .dj-auth-wrap .dj-auth-logged a {
  color: #60A5FA !important;
}
html[data-djpts-mode] body .dj-auth-wrap .dj-form-row a:hover,
html[data-djpts-mode] body .dj-auth-wrap .dj-auth-logged a:hover {
  color: #93C5FD !important;
}
html[data-djpts-mode] body .dj-auth-wrap .dj-submit {
  background: linear-gradient(135deg, var(--primary), var(--purple)) !important;
  color: #fff !important;
}
html[data-djpts-mode] body .dj-auth-wrap .dj-check,
html[data-djpts-mode] body .dj-auth-wrap .dj-check span {
  color: var(--muted) !important;
}
html[data-djpts-mode] body .dj-auth-wrap .dj-check input {
  accent-color: var(--primary);
}
html[data-djpts-mode] body .dj-auth-wrap .dj-security {
  border-top-color: var(--border) !important;
}
html[data-djpts-mode] body .dj-auth-wrap .dj-auth-message {
  border-width: 1px;
  border-style: solid;
}
html[data-djpts-mode] body .dj-auth-wrap .dj-auth-message.error {
  background: rgba(239,68,68,.12) !important;
  color: #FCA5A5 !important;
  border-color: rgba(239,68,68,.30) !important;
}
html[data-djpts-mode] body .dj-auth-wrap .dj-auth-message.success {
  background: rgba(34,197,94,.12) !important;
  color: #86EFAC !important;
  border-color: rgba(34,197,94,.30) !important;
}
html[data-djpts-mode] body .dj-auth-logged {
  background: var(--djpts-card-bg) !important;
  color: var(--djpts-text) !important;
  border: 1px solid var(--djpts-border) !important;
}
html[data-djpts-mode="light"] body .dj-auth-wrap {
  --djpts-muted: #64748B;
  --djpts-field-bg: #FFFFFF;
  --djpts-field-text: #172033;
  --djpts-surface: #EEF2F9;
}
html[data-djpts-mode="light"] body .dj-auth-wrap .dj-auth-card {
  box-shadow: 0 20px 65px rgba(28,43,72,.13);
}
html[data-djpts-mode="light"] body .dj-auth-wrap .dj-input input::placeholder {
  color: #68758A !important;
}
html[data-djpts-mode="light"] body .dj-auth-wrap .dj-form-row a,
html[data-djpts-mode="light"] body .dj-auth-wrap .dj-auth-logged a {
  color: #1D4ED8 !important;
}
html[data-djpts-mode="light"] body .dj-auth-wrap .dj-form-row a:hover,
html[data-djpts-mode="light"] body .dj-auth-wrap .dj-auth-logged a:hover {
  color: #1E40AF !important;
}
html[data-djpts-mode="light"] body .dj-auth-wrap .dj-auth-message.error {
  color: #B91C1C !important;
  background: #FEF2F2 !important;
  border-color: #FECACA !important;
}
html[data-djpts-mode="light"] body .dj-auth-wrap .dj-auth-message.success {
  color: #166534 !important;
  background: #F0FDF4 !important;
  border-color: #BBF7D0 !important;
}
html[data-djpts-mode="light"] body .dj-auth-logged {
  --djpts-card-bg: #FFFFFF;
  --djpts-text: #172033;
  --djpts-border: #DCE3EF;
}
html[data-djpts-mode] body .dj-auth-wrap :is(button,a,input) {
  -webkit-tap-highlight-color: transparent;
}
html[data-djpts-mode] body .dj-auth-wrap :is(button,a,input):focus-visible {
  outline: 2px solid var(--djpts-accent, #2563EB);
  outline-offset: 3px;
}


/* v1.6.0 compatibility patch: WooCommerce single-product metadata, prices, breadcrumbs and archive/page titles. */
html[data-djpts-mode="light"] body.single-product :is(.product_title,.summary .price,.summary .price *, .woocommerce-Price-amount,.woocommerce-Price-currencySymbol,.product_meta,.product_meta span,.product_meta a,.sku_wrapper,.posted_in,.tagged_as,.posted_in a,.tagged_as a,.woocommerce-product-details__short-description,.woocommerce-product-details__short-description p) {
  color: #172033 !important;
}
html[data-djpts-mode="light"] body.single-product :is(.product_meta,.sku_wrapper,.posted_in,.tagged_as) { opacity: 1 !important; }
html[data-djpts-mode="light"] body.single-product :is(.product_meta a,.posted_in a,.tagged_as a) { color: #1d4ed8 !important; text-decoration-color: currentColor; }
html[data-djpts-mode="light"] body.single-product :is(.product_meta a:hover,.posted_in a:hover,.tagged_as a:hover) { color: #1e40af !important; }
html[data-djpts-mode="light"] body :is(.woocommerce-breadcrumb,.woocommerce-breadcrumb a,.ct-breadcrumbs,.ct-breadcrumbs a,.breadcrumbs,.breadcrumbs a,.rank-math-breadcrumb,.rank-math-breadcrumb a,.yoast-breadcrumb,.yoast-breadcrumb a) { color: #526078 !important; }
html[data-djpts-mode="light"] body :is(.woocommerce-breadcrumb a,.ct-breadcrumbs a,.breadcrumbs a,.rank-math-breadcrumb a,.yoast-breadcrumb a):hover { color: #1d4ed8 !important; }
html[data-djpts-mode="light"] body :is(.woocommerce-products-header__title,.page-title,.ct-page-title,.entry-header .entry-title,.archive .entry-header .page-title,.woocommerce-products-header h1) { color: #172033 !important; }
html[data-djpts-mode="light"] body :is(.woocommerce-products-header,.ct-page-title,header.page-header,.page-header) { color: #172033 !important; }
html[data-djpts-mode="light"] body.single-product .summary :is(.price del,.price del *, .price ins,.price ins *) { color: #172033 !important; }
/* Round, icon-only theme control. The icon indicates the active theme. */
.djpts-toggle { width: 48px !important; height: 48px !important; min-width: 48px !important; min-height: 48px !important; padding: 0 !important; gap: 0 !important; justify-content: center !important; border-radius: 50% !important; }
.djpts-toggle .djpts-label, .djpts-toggle .djpts-track { display: none !important; }
.djpts-toggle .djpts-icon { width: 24px; height: 24px; }
.djpts-toggle .djpts-icon svg { display: block; width: 24px; height: 24px; }
@media(max-width:600px){.djpts-toggle{width:46px!important;height:46px!important;min-width:46px!important;min-height:46px!important;padding:0!important;gap:0!important}}


/* v1.6.0 compatibility fix: WooCommerce single-product tabs in light mode.
   Scoped to WooCommerce product detail tabs so other theme components are unaffected. */
html[data-djpts-mode="light"] body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li a,
html[data-djpts-mode="light"] body.single-product .woocommerce div.product .woocommerce-tabs .wc-tabs li a,
html[data-djpts-mode="light"] body.single-product .woocommerce div.product .woocommerce-tabs .tabs li a {
  color: #172033 !important;
}
html[data-djpts-mode="light"] body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
html[data-djpts-mode="light"] body.single-product .woocommerce div.product .woocommerce-tabs .wc-tabs li.active a,
html[data-djpts-mode="light"] body.single-product .woocommerce div.product .woocommerce-tabs .tabs li.active a {
  color: #172033 !important;
}
html[data-djpts-mode="light"] body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li,
html[data-djpts-mode="light"] body.single-product .woocommerce div.product .woocommerce-tabs .wc-tabs li,
html[data-djpts-mode="light"] body.single-product .woocommerce div.product .woocommerce-tabs .tabs li {
  color: #172033 !important;
  border-color: #dce3ef !important;
}
html[data-djpts-mode="light"] body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li::before,
html[data-djpts-mode="light"] body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li::after {
  border-color: #dce3ef !important;
  box-shadow: none !important;
}
html[data-djpts-mode="light"] body.single-product .woocommerce div.product .woocommerce-tabs .panel,
html[data-djpts-mode="light"] body.single-product .woocommerce div.product .woocommerce-tabs .panel :is(h1,h2,h3,h4,h5,h6,p,li,label,small,strong,em,span,div,dt,dd,th,td) {
  color: #172033 !important;
}
html[data-djpts-mode="light"] body.single-product .woocommerce div.product .woocommerce-tabs .panel a {
  color: #1d4ed8 !important;
}
html[data-djpts-mode="light"] body.single-product .woocommerce div.product .woocommerce-tabs .panel :is(input,textarea,select) {
  color: #172033 !important;
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
}

/* v1.7.1 hotfix: force readable labels for WooCommerce/Blocksy product tabs in light mode.
   Some Blocksy skins apply white color to nested spans and pseudo-elements, so target
   the tab link and all text descendants with scoped specificity. */
html[data-djpts-mode="light"] body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs > li > a,
html[data-djpts-mode="light"] body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs > li > a *,
html[data-djpts-mode="light"] body.single-product .woocommerce div.product .woocommerce-tabs .wc-tabs > li > a,
html[data-djpts-mode="light"] body.single-product .woocommerce div.product .woocommerce-tabs .wc-tabs > li > a *,
html[data-djpts-mode="light"] body.single-product .woocommerce div.product .woocommerce-tabs .tabs > li > a,
html[data-djpts-mode="light"] body.single-product .woocommerce div.product .woocommerce-tabs .tabs > li > a *,
html[data-djpts-mode="light"] body.single-product .ct-product-tabs .ct-tabs li a,
html[data-djpts-mode="light"] body.single-product .ct-product-tabs .ct-tabs li a *,
html[data-djpts-mode="light"] body.single-product .ct-product-tabs [role="tab"],
html[data-djpts-mode="light"] body.single-product .ct-product-tabs [role="tab"] * {
  color: #172033 !important;
  -webkit-text-fill-color: #172033 !important;
  opacity: 1 !important;
}
html[data-djpts-mode="light"] body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs > li:hover > a,
html[data-djpts-mode="light"] body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs > li:focus-within > a,
html[data-djpts-mode="light"] body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs > li.active > a,
html[data-djpts-mode="light"] body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs > li.active > a * {
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
}


/* v1.7.2: stronger light-mode fix for WooCommerce/Blocksy product tab labels.
   Covers anchor, button, role=tab, nested label nodes, and theme-specific tab wrappers. */
html[data-djpts-mode="light"] body.single-product :is(.woocommerce-tabs, .ct-product-tabs, .product-tabs, [data-tabs]) :is(ul.tabs, .wc-tabs, .ct-tabs, [role="tablist"]) :is(li, a, button, [role="tab"], span, strong, em),
html[data-djpts-mode="light"] body.single-product :is(.woocommerce-tabs, .ct-product-tabs, .product-tabs, [data-tabs]) :is(ul.tabs, .wc-tabs, .ct-tabs, [role="tablist"]) :is(li, a, button, [role="tab"]) *,
html[data-djpts-mode="light"] body.single-product .product .ct-product-tabs :is(a, button, [role="tab"]),
html[data-djpts-mode="light"] body.single-product .product .ct-product-tabs :is(a, button, [role="tab"]) *,
html[data-djpts-mode="light"] body.single-product .product .woocommerce-tabs :is(a, button, [role="tab"]),
html[data-djpts-mode="light"] body.single-product .product .woocommerce-tabs :is(a, button, [role="tab"]) * {
  color: #172033 !important;
  -webkit-text-fill-color: #172033 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}
html[data-djpts-mode="light"] body.single-product :is(.woocommerce-tabs, .ct-product-tabs, .product-tabs, [data-tabs]) :is(ul.tabs, .wc-tabs, .ct-tabs, [role="tablist"]) :is(li, a, button, [role="tab"])::before,
html[data-djpts-mode="light"] body.single-product :is(.woocommerce-tabs, .ct-product-tabs, .product-tabs, [data-tabs]) :is(ul.tabs, .wc-tabs, .ct-tabs, [role="tablist"]) :is(li, a, button, [role="tab"])::after {
  color: #172033 !important;
  -webkit-text-fill-color: #172033 !important;
}


/* v1.7.3: WooCommerce variable-product controls in dark mode.
   Keep variation selects, native option menus, labels, prices and reset links readable. */
html[data-djpts-mode="dark"] body.single-product :is(.variations_form, .variations_form table, .variations_form tbody, .variations_form tr, .variations_form th, .variations_form td) {
  color: #F3F6FC !important;
  border-color: #374151 !important;
}
html[data-djpts-mode="dark"] body.single-product .variations_form :is(label, .label, .value, th, td, .reset_variations) {
  color: #F3F6FC !important;
  -webkit-text-fill-color: #F3F6FC !important;
}
html[data-djpts-mode="dark"] body.single-product .variations_form select,
html[data-djpts-mode="dark"] body.single-product .variations_form select option,
html[data-djpts-mode="dark"] body.single-product .summary select,
html[data-djpts-mode="dark"] body.single-product form.cart select,
html[data-djpts-mode="dark"] body.single-product .ct-variation-swatches select {
  color-scheme: dark !important;
  background-color: #111827 !important;
  color: #F3F6FC !important;
  -webkit-text-fill-color: #F3F6FC !important;
  border: 1px solid #4B5563 !important;
  opacity: 1 !important;
}
html[data-djpts-mode="dark"] body.single-product .variations_form select option,
html[data-djpts-mode="dark"] body.single-product .summary select option {
  background: #111827 !important;
  color: #F3F6FC !important;
}
html[data-djpts-mode="dark"] body.single-product :is(.woocommerce-variation, .woocommerce-variation-description, .woocommerce-variation-description *, .woocommerce-variation-price, .woocommerce-variation-price *, .woocommerce-variation-availability, .woocommerce-variation-availability *, .single_variation, .single_variation *) {
  color: #F3F6FC !important;
  -webkit-text-fill-color: #F3F6FC !important;
}
html[data-djpts-mode="dark"] body.single-product .summary :is(.price, .price *, .woocommerce-Price-amount, .woocommerce-Price-currencySymbol) {
  color: #F3F6FC !important;
  -webkit-text-fill-color: #F3F6FC !important;
}
html[data-djpts-mode="dark"] body.single-product .variations_form select:focus {
  outline: 2px solid #2563EB !important;
  outline-offset: 1px;
  border-color: #60A5FA !important;
}
