/**
 * Jamito dark visual theme.
 * Woodmart's dark scheme supplies the base tokens. This file deepens
 * the black surfaces, sets the red accent, and keeps Elementor sections
 * and WooCommerce controls readable.
 */

html {
	color-scheme: dark;
}

body.global-color-scheme-light {
	--wd-main-bgcolor: #0a0a0a;
	--bgcolor-white: #111111;
	--bgcolor-gray-100: #0d0d0d;
	--bgcolor-gray-200: #161616;
	--bgcolor-gray-300: #1c1c1c;
	--wd-primary-color: #c8102e;
	--wd-alternative-color: #ff4d4d;
	--wd-link-color: #ff6b6b;
	--wd-link-color-hover: #ffd0d0;
	--wd-text-color: rgba(255, 255, 255, 0.86);
	--wd-title-color: #ffffff;
	--wd-entities-title-color: #ffffff;
	--wd-entities-title-color-hover: #ff6b6b;
	--wd-form-color: #f5f5f5;
	--wd-form-bg: #161616;
	--wd-form-brd-color: rgba(255, 255, 255, 0.28);
	--wd-form-brd-color-focus: #c8102e;
	--wd-form-placeholder-color: rgba(255, 255, 255, 0.62);
	background-color: #0a0a0a;
	color: rgba(255, 255, 255, 0.86);
}

body.global-color-scheme-light :is(
	.wd-page-wrapper,
	.wd-page-content,
	.wd-content-layout,
	.wd-footer,
	.footer-container,
	.wd-prefooter,
	.wd-copyrights,
	.wd-page-title
) {
	background-color: #0a0a0a;
	color: rgba(255, 255, 255, 0.86);
}

body.global-color-scheme-light :is(
	.whb-header,
	.whb-header .whb-row,
	.whb-header .whb-main-header,
	.whb-clone,
	.whb-clone .whb-row,
	.whb-color-dark:not(.whb-with-bg),
	.whb-color-light:not(.whb-with-bg)
) {
	background-color: #050505;
	color: #f5f5f5;
}

body.global-color-scheme-light :is(
	.whb-header a,
	.whb-header .wd-nav > li > a,
	.whb-header .wd-tools-element,
	.whb-header .wd-tools-element > a,
	.wd-nav-mobile a,
	.mobile-nav a
) {
	color: #f5f5f5;
}

body.global-color-scheme-light :is(
	.whb-header .wd-nav > li:hover > a,
	.whb-header .wd-nav > li.current-menu-item > a,
	.whb-header a:hover
) {
	color: #ff6b6b;
}

body.global-color-scheme-light :is(
	.elementor-section,
	.elementor-column > .elementor-widget-wrap,
	.elementor-element.e-con,
	.e-con,
	.e-con-inner,
	.elementor-location-header,
	.elementor-location-footer
) {
	background-color: #0a0a0a !important;
	color: rgba(255, 255, 255, 0.86);
}

body.global-color-scheme-light :is(
	.elementor-widget-heading .elementor-heading-title,
	.elementor-widget-text-editor,
	.elementor-icon-box-title,
	.elementor-icon-box-description,
	.elementor-icon-box-content,
	.elementor-widget-icon-list .elementor-icon-list-text,
	.wd-el-title,
	.title
) {
	color: #f7f7f7 !important;
}

body.global-color-scheme-light :is(
	.elementor-widget-text-editor a,
	.elementor-heading-title a,
	.wd-page-content a
) {
	color: #ff6b6b;
}

body.global-color-scheme-light :is(
	.elementor-widget-text-editor a,
	.elementor-heading-title a,
	.wd-page-content a
):hover {
	color: #ffd0d0;
}

body.global-color-scheme-light :is(
	.elementor-button,
	.wp-element-button,
	.woocommerce a.button,
	.woocommerce button.button,
	.woocommerce input.button,
	.woocommerce #respond input#submit,
	a.button.alt,
	button.button.alt,
	.added_to_cart,
	.checkout-button,
	.wc-proceed-to-checkout a,
	.single_add_to_cart_button,
	.wd-buy-now-btn
) {
	background-color: #c8102e !important;
	border-color: #c8102e !important;
	color: #ffffff !important;
}

body.global-color-scheme-light :is(
	.elementor-button,
	.woocommerce a.button,
	.woocommerce button.button,
	.woocommerce input.button,
	.single_add_to_cart_button,
	.checkout-button
):hover {
	background-color: #a50d24 !important;
	border-color: #a50d24 !important;
	color: #ffffff !important;
}

body.global-color-scheme-light .whb-header :is(button, .wd-tools-element, .wd-search-btn) {
	background-color: transparent !important;
	border-color: transparent !important;
	color: #f5f5f5 !important;
}

body.global-color-scheme-light :is(
	.wd-product,
	.product-grid-item,
	.products .product,
	.wd-product .product-wrapper,
	.woocommerce ul.products li.product
) {
	background-color: #141414;
	color: #f2f2f2;
}

body.global-color-scheme-light :is(.price, .amount, .woocommerce-Price-amount) {
	color: #ff5c5c;
}

body.global-color-scheme-light :is(.price del, .price del .amount) {
	color: rgba(255, 255, 255, 0.55);
}

body.global-color-scheme-light :is(
	input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="image"]):not([type="hidden"]):not([type="file"]),
	textarea,
	select,
	.select2-selection,
	.select2-dropdown,
	.select2-search__field
) {
	background-color: #161616 !important;
	color: #f5f5f5 !important;
	border-color: rgba(255, 255, 255, 0.28) !important;
}

body.global-color-scheme-light :is(
	.woocommerce table.shop_table,
	.woocommerce-checkout-review-order,
	.cart_totals,
	.woocommerce-checkout #order_review,
	.woocommerce-form,
	.wd-dropdown,
	.woocommerce-message,
	.woocommerce-info,
	.woocommerce-error
) {
	background-color: #141414;
	color: #f2f2f2;
	border-color: rgba(255, 255, 255, 0.14);
}

body.global-color-scheme-light .woocommerce table.shop_table :is(th, td) {
	border-color: rgba(255, 255, 255, 0.14);
	color: #f2f2f2;
}

body.global-color-scheme-light :is(
	.widget,
	.wd-sidebar,
	.woocommerce-tabs,
	.woocommerce-Tabs-panel,
	.comment-form,
	.wd-side-hidden,
	.woocommerce-product-gallery
) {
	color: #f2f2f2;
	background-color: #111111;
}

body.global-color-scheme-light .select2-results__option {
	background-color: #161616;
	color: #f5f5f5;
}

body.global-color-scheme-light .select2-results__option--highlighted,
body.global-color-scheme-light .select2-results__option--highlighted[aria-selected] {
	background-color: #c8102e;
	color: #ffffff;
}
