/**
 * Jamito light storefront.
 * White surfaces, dark text, red accent. Resets Woodmart's dark tokens
 * and overrides rules printed earlier, including a leftover dark stylesheet.
 */

html {
	color-scheme: light;
}

body,
body.global-color-scheme-light {
	--wd-main-bgcolor: #ffffff !important;
	--bgcolor-white: #ffffff !important;
	--bgcolor-gray-100: #f7f7f7 !important;
	--bgcolor-gray-200: #f3f3f3 !important;
	--bgcolor-gray-300: #ececec !important;
	--bgcolor-white-rgb: 255, 255, 255 !important;
	--bgcolor-black-rgb: 0, 0, 0 !important;
	--color-white: #ffffff !important;
	--color-gray-500: #5c5c5c !important;
	--color-gray-600: #4a4a4a !important;
	--color-gray-700: #333333 !important;
	--color-gray-800: #242424 !important;
	--color-gray-900: #111111 !important;
	--wd-text-color: #3a3a3a !important;
	--wd-title-color: #111111 !important;
	--wd-widget-title-color: #111111 !important;
	--wd-entities-title-color: #1a1a1a !important;
	--wd-entities-title-color-hover: #c8102e !important;
	--wd-link-color: #c8102e !important;
	--wd-link-color-hover: #8e0b20 !important;
	--wd-primary-color: #c8102e !important;
	--wd-alternative-color: #c8102e !important;
	--wd-form-color: #1a1a1a !important;
	--wd-form-bg: #ffffff !important;
	--wd-form-brd-color: rgba(0, 0, 0, 0.18) !important;
	--wd-form-brd-color-focus: #c8102e !important;
	--wd-form-placeholder-color: #5c5c5c !important;
	background-color: #ffffff !important;
	color: #1a1a1a !important;
}

body :is(
	.wd-page-wrapper,
	.wd-page-content,
	.wd-content-layout,
	.wd-footer,
	.footer-container,
	.wd-prefooter,
	.wd-copyrights,
	.wd-page-title,
	.elementor-section,
	.elementor-column > .elementor-widget-wrap,
	.elementor-element.e-con,
	.e-con,
	.e-con-inner,
	.elementor-location-header,
	.elementor-location-footer
) {
	background-color: #ffffff !important;
}

body :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: #ffffff !important;
	color: #1a1a1a !important;
}

body :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: #1a1a1a !important;
}

body :is(
	.whb-header .wd-nav > li:hover > a,
	.whb-header .wd-nav > li.current-menu-item > a,
	.whb-header a:hover
) {
	color: #c8102e !important;
}

body :is(
	.wd-page-content a,
	.elementor-widget-text-editor a,
	.elementor-heading-title a
) {
	color: #c8102e !important;
}

body :is(
	.wd-page-content a,
	.elementor-widget-text-editor a,
	.elementor-heading-title a
):hover {
	color: #8e0b20 !important;
}

body :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,
	.btn-accent,
	.cookies-accept-btn
) {
	background-color: #c8102e !important;
	border-color: #c8102e !important;
	color: #ffffff !important;
}

body :is(
	.elementor-button,
	.woocommerce a.button,
	.woocommerce button.button,
	.woocommerce input.button,
	.single_add_to_cart_button,
	.checkout-button,
	.btn-accent,
	.cookies-accept-btn
):hover {
	background-color: #8e0b20 !important;
	border-color: #8e0b20 !important;
	color: #ffffff !important;
}

body .whb-header :is(button, .wd-tools-element, .wd-search-btn) {
	background-color: transparent !important;
	border-color: transparent !important;
	color: #1a1a1a !important;
}

body :is(
	.wd-product,
	.product-grid-item,
	.products .product,
	.wd-product .product-wrapper,
	.woocommerce ul.products li.product
) {
	background-color: #ffffff !important;
	color: #1a1a1a !important;
}

body :is(.price, .amount, .woocommerce-Price-amount) {
	color: #c8102e !important;
}

body :is(.price del, .price del .amount) {
	color: #5c5c5c !important;
}

body :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: #ffffff !important;
	color: #1a1a1a !important;
	border-color: rgba(0, 0, 0, 0.18) !important;
}

body :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,
	.widget,
	.wd-sidebar,
	.woocommerce-tabs,
	.woocommerce-Tabs-panel,
	.comment-form,
	.wd-side-hidden,
	.woocommerce-product-gallery,
	.wd-cookies-popup
) {
	background-color: #ffffff !important;
	color: #1a1a1a !important;
	border-color: rgba(0, 0, 0, 0.12) !important;
}

body .woocommerce table.shop_table :is(th, td) {
	border-color: rgba(0, 0, 0, 0.12) !important;
	color: #1a1a1a !important;
}

body .select2-results__option {
	background-color: #ffffff !important;
	color: #1a1a1a !important;
}

body .select2-results__option--highlighted,
body .select2-results__option--highlighted[aria-selected] {
	background-color: #c8102e !important;
	color: #ffffff !important;
}
