html[data-theme="dark"] {
	color-scheme: dark;
	--theme-palette-color-1: #7dd3fc;
	--theme-palette-color-2: #38bdf8;
	--theme-palette-color-3: #f8fafc;
	--theme-palette-color-4: #cbd5e1;
	--theme-palette-color-5: #94a3b8;
	--theme-palette-color-6: #0f172a;
	--theme-palette-color-7: #111827;
	--theme-palette-color-8: #020617;
	--theme-text-color: #dbe4ee;
	--theme-headings-color: #f8fafc;
	--theme-link-initial-color: #7dd3fc;
	--theme-link-hover-color: #bae6fd;
	--theme-link-active-color: #e0f2fe;
	--theme-border-color: rgba(148, 163, 184, 0.2);
	--theme-form-field-border-initial-color: rgba(148, 163, 184, 0.26);
	--theme-form-field-border-focus-color: #38bdf8;
	--theme-form-field-background-initial-color: rgba(15, 23, 42, 0.88);
	--theme-form-field-background-focus-color: rgba(17, 36, 64, 0.96);
	--nd-dark-surface-1: #0f172a;
	--nd-dark-surface-2: #111827;
	--nd-dark-surface-3: #162033;
	--nd-dark-surface-4: #1b263b;
	--nd-dark-text-muted: #b7c4d3;
	--nd-dark-border-strong: rgba(148, 163, 184, 0.3);
}

html[data-theme="dark"] body {
	background-color: var(--theme-palette-color-8);
	color: var(--theme-text-color);
}

html[data-theme="dark"] .site-boxed-container,
html[data-theme="dark"] .ct-drawer-canvas,
html[data-theme="dark"] .ct-panel,
html[data-theme="dark"] .ct-header-account-dropdown,
html[data-theme="dark"] .ct-cart-content,
html[data-theme="dark"] .ct-widget,
html[data-theme="dark"] .wp-block-group:not(.has-background),
html[data-theme="dark"] .wp-block-cover__inner-container,
html[data-theme="dark"] .entry-card,
html[data-theme="dark"] article,
html[data-theme="dark"] form,
html[data-theme="dark"] table,
html[data-theme="dark"] pre,
html[data-theme="dark"] code:not(.hljs) {
	color: inherit;
}

html[data-theme="dark"] input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
html[data-theme="dark"] textarea,
html[data-theme="dark"] select {
	background-color: rgba(15, 23, 42, 0.88);
	color: var(--theme-text-color);
	border-color: var(--theme-form-field-border-initial-color);
}

html[data-theme="dark"] select option,
html[data-theme="dark"] select optgroup {
	background-color: #0f172a;
	color: var(--theme-text-color);
}

html[data-theme="dark"] .ct-header-account-dropdown,
html[data-theme="dark"] .ct-cart-content,
html[data-theme="dark"] .ct-panel,
html[data-theme="dark"] .ct-drawer-inner,
html[data-theme="dark"] .ct-drawer-content,
html[data-theme="dark"] .ct-header .sub-menu,
html[data-theme="dark"] .ct-header [class*="children"] {
	background-color: #111827;
	border-color: rgba(148, 163, 184, 0.16);
	color: var(--theme-text-color);
}

html[data-theme="dark"] .ct-header .sub-menu,
html[data-theme="dark"] .ct-header [class*="children"],
html[data-theme="dark"] .ct-header-account-dropdown,
html[data-theme="dark"] .ct-cart-content {
	box-shadow: 0 18px 44px rgba(2, 6, 23, 0.42);
}

html[data-theme="dark"] .ct-header .menu-item > .ct-menu-link,
html[data-theme="dark"] .ct-header-account-dropdown .menu-item > .ct-menu-link,
html[data-theme="dark"] .ct-cart-content a,
html[data-theme="dark"] .ct-panel a,
html[data-theme="dark"] .ct-drawer-content a {
	color: var(--theme-text-color);
}

html[data-theme="dark"] .ct-header .sub-menu .menu-item:hover > .ct-menu-link,
html[data-theme="dark"] .ct-header .sub-menu .menu-item:focus-within > .ct-menu-link,
html[data-theme="dark"] .ct-header [class*="children"] .menu-item:hover > .ct-menu-link,
html[data-theme="dark"] .ct-header [class*="children"] .menu-item:focus-within > .ct-menu-link,
html[data-theme="dark"] .ct-header-account-dropdown .menu-item:hover > .ct-menu-link,
html[data-theme="dark"] .ct-header-account-dropdown .menu-item:focus-within > .ct-menu-link,
html[data-theme="dark"] .ct-drawer-content .menu-item:hover > .ct-menu-link,
html[data-theme="dark"] .ct-drawer-content .menu-item:focus-within > .ct-menu-link {
	background-color: rgba(125, 211, 252, 0.12);
	color: #f8fafc;
}

html[data-theme="dark"] .ct-header .sub-menu .menu-item.current-menu-item > .ct-menu-link,
html[data-theme="dark"] .ct-header .sub-menu .menu-item.current-menu-ancestor > .ct-menu-link,
html[data-theme="dark"] .ct-header-account-dropdown .menu-item.current-menu-item > .ct-menu-link,
html[data-theme="dark"] .ct-header-account-dropdown .menu-item.current-menu-ancestor > .ct-menu-link,
html[data-theme="dark"] .ct-drawer-content .menu-item.current-menu-item > .ct-menu-link,
html[data-theme="dark"] .ct-drawer-content .menu-item.current-menu-ancestor > .ct-menu-link {
	background-color: rgba(125, 211, 252, 0.18);
	color: #f8fafc;
}

html[data-theme="dark"] .ct-header-account-divider,
html[data-theme="dark"] .ct-cart-content .woocommerce-mini-cart__empty-message,
html[data-theme="dark"] .ct-cart-content .total,
html[data-theme="dark"] .ct-cart-content .quantity {
	border-color: rgba(148, 163, 184, 0.16);
	color: var(--theme-text-color);
}

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
	color: rgba(219, 228, 238, 0.56);
}

html[data-theme="dark"] .entry-content,
html[data-theme="dark"] .editor-styles-wrapper,
html[data-theme="dark"] .wp-site-blocks {
	color: var(--theme-text-color);
}

html[data-theme="dark"] .entry-content :where(p, li, dt, dd, figcaption, cite, blockquote, pre, code, kbd, samp),
html[data-theme="dark"] .wp-site-blocks :where(p, li, dt, dd, figcaption, cite, blockquote, pre, code, kbd, samp) {
	color: inherit;
}

html[data-theme="dark"] .entry-content :where(h1, h2, h3, h4, h5, h6),
html[data-theme="dark"] .wp-site-blocks :where(h1, h2, h3, h4, h5, h6) {
	color: var(--theme-headings-color);
}

html[data-theme="dark"] .entry-content .has-text-color:not(.wp-block-button__link):not(.wp-element-button):not(.has-link-color),
html[data-theme="dark"] .wp-site-blocks .has-text-color:not(.wp-block-button__link):not(.wp-element-button):not(.has-link-color) {
	color: var(--theme-text-color) !important;
}

html[data-theme="dark"] .entry-content .has-background:not(.wp-block-button__link):not(.wp-element-button):not(.wp-block-cover):not(.wp-block-cover-image),
html[data-theme="dark"] .wp-site-blocks .has-background:not(.wp-block-button__link):not(.wp-element-button):not(.wp-block-cover):not(.wp-block-cover-image) {
	background-color: var(--nd-dark-surface-2) !important;
	color: var(--theme-text-color) !important;
	border-color: var(--theme-border-color) !important;
}

html[data-theme="dark"] .entry-content .has-link-color a,
html[data-theme="dark"] .wp-site-blocks .has-link-color a {
	color: var(--theme-link-initial-color) !important;
}

html[data-theme="dark"] .entry-content :where(.wp-block-group, .wp-block-columns, .wp-block-column, .wp-block-media-text, .wp-block-details, .wp-block-table, .wp-block-verse, .wp-block-code, .wp-block-preformatted, .wp-block-pullquote, .wp-block-quote, .wp-block-latest-comments, .wp-block-calendar, .wp-block-search, .wp-block-categories, .wp-block-archives, .wp-block-tag-cloud, .wp-block-rss, .wp-block-page-list, .wp-block-navigation-submenu),
html[data-theme="dark"] .wp-site-blocks :where(.wp-block-group, .wp-block-columns, .wp-block-column, .wp-block-media-text, .wp-block-details, .wp-block-table, .wp-block-verse, .wp-block-code, .wp-block-preformatted, .wp-block-pullquote, .wp-block-quote, .wp-block-latest-comments, .wp-block-calendar, .wp-block-search, .wp-block-categories, .wp-block-archives, .wp-block-tag-cloud, .wp-block-rss, .wp-block-page-list, .wp-block-navigation-submenu) {
	border-color: var(--theme-border-color);
}

html[data-theme="dark"] .entry-content .wp-block-group,
html[data-theme="dark"] .entry-content .wp-block-columns,
html[data-theme="dark"] .entry-content .wp-block-column,
html[data-theme="dark"] .entry-content .wp-block-media-text,
html[data-theme="dark"] .entry-content .wp-block-details,
html[data-theme="dark"] .wp-site-blocks .wp-block-group,
html[data-theme="dark"] .wp-site-blocks .wp-block-columns,
html[data-theme="dark"] .wp-site-blocks .wp-block-column,
html[data-theme="dark"] .wp-site-blocks .wp-block-media-text,
html[data-theme="dark"] .wp-site-blocks .wp-block-details {
	color: inherit;
}

html[data-theme="dark"] .entry-content .wp-block-quote,
html[data-theme="dark"] .entry-content .wp-block-pullquote,
html[data-theme="dark"] .wp-site-blocks .wp-block-quote,
html[data-theme="dark"] .wp-site-blocks .wp-block-pullquote {
	background: rgba(15, 23, 42, 0.65);
	border-color: rgba(125, 211, 252, 0.35);
	color: var(--theme-text-color);
}

html[data-theme="dark"] .entry-content .wp-block-separator,
html[data-theme="dark"] .wp-site-blocks .wp-block-separator {
	border-color: rgba(148, 163, 184, 0.26);
	color: rgba(148, 163, 184, 0.26);
}

html[data-theme="dark"] .entry-content .wp-block-table table,
html[data-theme="dark"] .wp-site-blocks .wp-block-table table {
	background: var(--nd-dark-surface-2);
	color: var(--theme-text-color);
	border-color: var(--theme-border-color);
}

html[data-theme="dark"] .entry-content .wp-block-table th,
html[data-theme="dark"] .entry-content .wp-block-table td,
html[data-theme="dark"] .wp-site-blocks .wp-block-table th,
html[data-theme="dark"] .wp-site-blocks .wp-block-table td {
	border-color: var(--theme-border-color);
}

html[data-theme="dark"] .entry-content .wp-block-table thead,
html[data-theme="dark"] .wp-site-blocks .wp-block-table thead {
	background: rgba(125, 211, 252, 0.08);
	color: var(--theme-headings-color);
}

html[data-theme="dark"] .entry-content .wp-block-code,
html[data-theme="dark"] .entry-content .wp-block-preformatted,
html[data-theme="dark"] .entry-content pre,
html[data-theme="dark"] .wp-site-blocks .wp-block-code,
html[data-theme="dark"] .wp-site-blocks .wp-block-preformatted,
html[data-theme="dark"] .wp-site-blocks pre {
	background: var(--nd-dark-surface-1);
	border: 1px solid var(--theme-border-color);
	color: #d8e2f0;
}

html[data-theme="dark"] .entry-content .wp-block-button__link,
html[data-theme="dark"] .entry-content .wp-element-button,
html[data-theme="dark"] .wp-site-blocks .wp-block-button__link,
html[data-theme="dark"] .wp-site-blocks .wp-element-button {
	box-shadow: none;
}

html[data-theme="dark"] .entry-content .wp-block-button.is-style-outline .wp-block-button__link,
html[data-theme="dark"] .entry-content .wp-element-button.is-style-outline,
html[data-theme="dark"] .wp-site-blocks .wp-block-button.is-style-outline .wp-block-button__link,
html[data-theme="dark"] .wp-site-blocks .wp-element-button.is-style-outline {
	border-color: var(--theme-link-initial-color);
	color: var(--theme-link-initial-color);
}

html[data-theme="dark"] .entry-content .wp-block-cover,
html[data-theme="dark"] .entry-content .wp-block-cover-image,
html[data-theme="dark"] .wp-site-blocks .wp-block-cover,
html[data-theme="dark"] .wp-site-blocks .wp-block-cover-image {
	color: #f8fafc;
}

html[data-theme="dark"] .entry-content .wp-block-cover .wp-block-cover__inner-container,
html[data-theme="dark"] .entry-content .wp-block-cover-image .wp-block-cover__inner-container,
html[data-theme="dark"] .wp-site-blocks .wp-block-cover .wp-block-cover__inner-container,
html[data-theme="dark"] .wp-site-blocks .wp-block-cover-image .wp-block-cover__inner-container {
	color: #f8fafc;
	text-shadow: 0 1px 2px rgba(2, 6, 23, 0.45);
}

html[data-theme="dark"] .entry-content .wp-block-cover::before,
html[data-theme="dark"] .entry-content .wp-block-cover-image::before,
html[data-theme="dark"] .wp-site-blocks .wp-block-cover::before,
html[data-theme="dark"] .wp-site-blocks .wp-block-cover-image::before {
	background-color: rgba(2, 6, 23, 0.22);
}

html[data-theme="dark"] .entry-content .wp-block-latest-posts__post-date,
html[data-theme="dark"] .entry-content .wp-block-latest-comments__comment-date,
html[data-theme="dark"] .entry-content .wp-block-post-date,
html[data-theme="dark"] .entry-content .wp-block-post-author,
html[data-theme="dark"] .entry-content .wp-block-post-terms,
html[data-theme="dark"] .entry-content .wp-block-navigation-item__description,
html[data-theme="dark"] .wp-site-blocks .wp-block-latest-posts__post-date,
html[data-theme="dark"] .wp-site-blocks .wp-block-latest-comments__comment-date,
html[data-theme="dark"] .wp-site-blocks .wp-block-post-date,
html[data-theme="dark"] .wp-site-blocks .wp-block-post-author,
html[data-theme="dark"] .wp-site-blocks .wp-block-post-terms,
html[data-theme="dark"] .wp-site-blocks .wp-block-navigation-item__description {
	color: var(--nd-dark-text-muted);
}

html[data-theme="dark"] .entry-content .wp-block-search__input,
html[data-theme="dark"] .entry-content .wp-block-search__button,
html[data-theme="dark"] .wp-site-blocks .wp-block-search__input,
html[data-theme="dark"] .wp-site-blocks .wp-block-search__button {
	border-color: var(--theme-form-field-border-initial-color);
}

html[data-theme="dark"] .entry-content .wp-block-calendar table caption,
html[data-theme="dark"] .entry-content .wp-block-calendar table tbody,
html[data-theme="dark"] .entry-content .wp-block-calendar table th,
html[data-theme="dark"] .entry-content .wp-block-calendar table td,
html[data-theme="dark"] .wp-site-blocks .wp-block-calendar table caption,
html[data-theme="dark"] .wp-site-blocks .wp-block-calendar table tbody,
html[data-theme="dark"] .wp-site-blocks .wp-block-calendar table th,
html[data-theme="dark"] .wp-site-blocks .wp-block-calendar table td {
	color: var(--theme-text-color);
	border-color: var(--theme-border-color);
}

html[data-theme="dark"] .entry-content .wp-block-file a,
html[data-theme="dark"] .entry-content .wp-block-latest-posts a,
html[data-theme="dark"] .entry-content .wp-block-rss a,
html[data-theme="dark"] .entry-content .wp-block-navigation a,
html[data-theme="dark"] .wp-site-blocks .wp-block-file a,
html[data-theme="dark"] .wp-site-blocks .wp-block-latest-posts a,
html[data-theme="dark"] .wp-site-blocks .wp-block-rss a,
html[data-theme="dark"] .wp-site-blocks .wp-block-navigation a {
	color: var(--theme-link-initial-color);
}

html[data-theme="dark"] .entry-content .is-style-outline,
html[data-theme="dark"] .entry-content .is-style-bordered,
html[data-theme="dark"] .wp-site-blocks .is-style-outline,
html[data-theme="dark"] .wp-site-blocks .is-style-bordered {
	border-color: var(--nd-dark-border-strong);
}

.nd-theme-toggle {
	--nd-toggle-bg: rgba(255, 255, 255, 0.92);
	--nd-toggle-border: rgba(15, 23, 42, 0.22);
	--nd-toggle-thumb: #ffffff;
	--nd-toggle-icon: #334155;
	--nd-toggle-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);
	align-items: center;
	background: var(--nd-toggle-bg);
	backdrop-filter: blur(10px);
	border: 1px solid var(--nd-toggle-border);
	border-radius: 999px;
	cursor: pointer;
	display: inline-flex;
	flex: 0 0 auto;
	padding: 3px;
	position: relative;
	transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.nd-theme-toggle:hover {
	box-shadow: var(--nd-toggle-shadow);
	transform: translateY(-1px);
}

.nd-theme-toggle:focus-visible {
	outline: 2px solid var(--theme-palette-color-1, #38bdf8);
	outline-offset: 2px;
}

.nd-theme-toggle__track {
	align-items: center;
	display: inline-grid;
	gap: 0;
	grid-template-columns: 24px 24px;
	justify-items: center;
	min-width: 48px;
	padding: 3px;
	position: relative;
}

.nd-theme-toggle__thumb {
	background: var(--nd-toggle-thumb);
	border-radius: 999px;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.16);
	height: 22px;
	left: 3px;
	position: absolute;
	top: 50%;
	transform: translate(0, -50%);
	transition: transform 0.22s ease;
	width: 22px;
}

.nd-theme-toggle__icon {
	align-items: center;
	color: var(--nd-toggle-icon);
	display: inline-flex;
	height: 14px;
	justify-content: center;
	position: relative;
	width: 14px;
	z-index: 1;
}

.nd-theme-toggle__icon svg {
	display: block;
	height: 14px;
	width: 14px;
}

.nd-theme-toggle[data-theme-current="light"] .nd-theme-toggle__thumb {
	transform: translate(0, -50%);
}

.nd-theme-toggle[data-theme-current="dark"] .nd-theme-toggle__thumb {
	transform: translate(24px, -50%);
}

.nd-theme-toggle[data-theme-current="light"] .nd-theme-toggle__icon--sun,
.nd-theme-toggle[data-theme-current="dark"] .nd-theme-toggle__icon--moon {
	color: #0f172a;
}

.nd-theme-toggle[data-theme-current="dark"] {
	--nd-toggle-bg: rgba(15, 23, 42, 0.76);
	--nd-toggle-border: rgba(148, 163, 184, 0.3);
	--nd-toggle-thumb: #7dd3fc;
	--nd-toggle-icon: rgba(226, 232, 240, 0.9);
	--nd-toggle-shadow: 0 10px 30px rgba(2, 6, 23, 0.34);
}

.ct-header-text .nd-theme-toggle,
.ct-drawer-content .nd-theme-toggle,
.mobile-menu .nd-theme-toggle,
[data-device="mobile"] .nd-theme-toggle {
	background: var(--nd-toggle-bg);
	border-color: var(--nd-toggle-border);
}

@media (max-width: 767px) {
	.nd-theme-toggle__track {
		min-width: 46px;
	}
}
