.dnwoo_filter_masonry .dnwoo_product_filter_menu li.parent {
	align-items: center;
	display: flex;
	gap: 0.5rem;
	width: 100%;
}

.dnwoo_filter_masonry .dnwoo_product_filter_menu li.parent > .check-item {
	flex: 1 1 auto;
}

.dnwoo_filter_masonry .dnwoo-subcategory-toggle {
	align-items: center;
	appearance: none;
	background: transparent;
	border: 0;
	border-radius: 0.2rem;
	color: currentColor;
	cursor: pointer;
	display: inline-flex;
	flex: 0 0 2rem;
	font: inherit;
	font-size: 1.25rem;
	height: 2rem;
	justify-content: center;
	line-height: 1;
	margin: -0.25rem 0 -0.25rem auto;
	padding: 0;
	width: 2rem;
}

.dnwoo_filter_masonry .dnwoo-subcategory-toggle:hover {
	background: rgba(0, 0, 0, 0.06);
}

.dnwoo_filter_masonry .dnwoo-subcategory-toggle:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 2px;
}

.dnwoo_filter_masonry .dnwoo_product_filter_menu .sub_categories[hidden] {
	display: none !important;
}

.dnwoo_filter_masonry .dnwoo_product_filter_menu .sub_categories:not([hidden]) {
	display: block;
}

/*
 * Automatically discovered global-attribute filters.
 * Separate hooks allow the group title typography to be customized without
 * changing Categories, Price Range, Brands, Color, or Size.
 */
.dnwoo_filter_masonry {
	--dnwoo-custom-attribute-main-title-size: 24px;
	--dnwoo-custom-attribute-group-title-size: 17px;
	--dnwoo-custom-attribute-bottom-spacing: 28px;
}

.dnwoo_filter_masonry .dnwoo-custom-attribute-filter-title {
	font-size: var(--dnwoo-custom-attribute-main-title-size);
	line-height: 1.25;
}

.dnwoo_filter_masonry .dnwoo-custom-attribute-filters {
	margin-bottom: var(--dnwoo-custom-attribute-bottom-spacing) !important;
}

.dnwoo_filter_masonry .dnwoo-custom-attribute-group-title {
	align-items: center;
	display: flex;
	font-size: var(--dnwoo-custom-attribute-group-title-size);
	line-height: 1.25;
	gap: 0.5rem;
	width: 100%;
}

.dnwoo_filter_masonry .dnwoo-custom-attribute-title-text {
	flex: 1 1 auto;
	font-size: inherit;
	line-height: inherit;
}

.dnwoo_filter_masonry .dnwoo-custom-attribute-toggle {
	align-items: center;
	appearance: none;
	background: transparent;
	border: 0;
	border-radius: 0.2rem;
	color: currentColor;
	cursor: pointer;
	display: inline-flex;
	flex: 0 0 2.25rem;
	font: inherit;
	font-size: 1.75rem;
	font-weight: 400;
	height: 2.25rem;
	justify-content: center;
	line-height: 1;
	margin: -0.25rem 0 -0.25rem auto;
	padding: 0;
	width: 2.25rem;
}

.dnwoo_filter_masonry .dnwoo-custom-attribute-toggle:hover {
	background: rgba(0, 0, 0, 0.06);
}

.dnwoo_filter_masonry .dnwoo-custom-attribute-toggle:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 2px;
}

.dnwoo_filter_masonry .dnwoo-custom-attribute-group .options-wrapper[hidden] {
	display: none !important;
}

.dnwoo_filter_masonry .dnwoo-custom-attribute-group .options-wrapper:not([hidden]) {
	display: block;
}

/*
 * Product-card front/back hover.
 *
 * This lives in the always-loaded compatibility stylesheet so Divi's static
 * module CSS cache cannot leave the gallery image in the normal document flow.
 */
.dnwoo_filter_masonry .dnwoo_product_filter_item .image_link {
	position: relative;
	display: block;
	overflow: hidden;
}

.dnwoo_filter_masonry .dnwoo_product_filter_item .image_link > img {
	display: block;
	width: 100%;
}

.dnwoo_filter_masonry .dnwoo_product_filter_item .image_link > img.dnwoo-product-card-hover-image {
	position: absolute !important;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	object-fit: cover;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
	.dnwoo_filter_masonry .dnwoo_product_filter_item .image_link:hover > img.dnwoo-product-card-hover-image,
	.dnwoo_filter_masonry .dnwoo_product_filter_item .image_link:focus-visible > img.dnwoo-product-card-hover-image {
		opacity: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dnwoo_filter_masonry .dnwoo_product_filter_item .image_link > img.dnwoo-product-card-hover-image {
		transition: none;
	}
}

/*
 * YITH WooCommerce Compare 3.12 popup compatibility.
 *
 * YITH renders the comparison UI at the end of <body>. Keep its opaque
 * surface and table above Divi/Woo Essential stacking contexts so the shop
 * grid cannot show through the comparison screen.
 */
body.yith-woocompare-popup-open .yith-woocompare-popup-container {
	background: #fff !important;
	isolation: isolate;
	z-index: 1000000000 !important;
}

body.yith-woocompare-popup-open .yith-woocompare-popup-container .yith-woocompare-table-wrapper,
body.yith-woocompare-popup-open .yith-woocompare-popup-container .yith-woocompare-table-scroll-wrapper,
body.yith-woocompare-popup-open .yith-woocompare-popup-container #yith-woocompare {
	background: #fff !important;
	opacity: 1 !important;
	position: relative;
	visibility: visible !important;
}

body.yith-woocompare-popup-open .yith-woocompare-popup-container .yith-woocompare-table-wrapper {
	height: 100%;
	max-height: 100%;
	overflow: auto;
	z-index: 1;
}

body.yith-woocompare-popup-open .yith-woocompare-popup-container .yith-woocompare-table-scroll-wrapper,
body.yith-woocompare-popup-open .yith-woocompare-popup-container #yith-woocompare {
	z-index: 2;
}

body.yith-woocompare-popup-open .yith-woocompare-popup-container .blockUI.blockOverlay {
	z-index: 3 !important;
}

body.yith-woocompare-popup-open .yith-woocompare-popup-container .yith-woocompare-popup-close {
	z-index: 4 !important;
}

/*
 * Mobile/tablet filter drawer result action.
 *
 * AJAX filters update the product grid while the off-canvas drawer remains
 * open. Keep a clear, thumb-friendly exit action at the bottom of that drawer
 * so shoppers do not have to discover that tapping the backdrop closes it.
 */
.dnwoo_filter_masonry .dnwoo_mobile_show_results {
	display: none;
}

.dnwoo_filter_masonry .no_result .dnwoo-view-global-filter-results {
	display: table;
	margin: 18px auto 0;
	padding: 11px 18px;
	border: 2px solid currentColor;
	border-radius: 3px;
	font-weight: 600;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
}

.dnwoo_filter_masonry .no_result .dnwoo-view-global-filter-results:hover,
.dnwoo_filter_masonry .no_result .dnwoo-view-global-filter-results:focus-visible {
	text-decoration: underline;
}

.dnwoo_filter_masonry .no_result .dnwoo-view-global-filter-results:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 3px;
}

@media (max-width: 980px) {
	.dnwoo_filter_masonry .dnwoo_Pro_filter_menu_left_sidebar_wrapper .dnwoo_mobile_show_results {
		align-items: center;
		background: #5f2bd9;
		border: 2px solid #5f2bd9;
		border-radius: 4px;
		box-shadow: 0 -8px 18px rgba(255, 255, 255, 0.96);
		color: #fff;
		cursor: pointer;
		display: flex !important;
		font-size: 16px;
		font-weight: 700;
		justify-content: center;
		line-height: 1.25;
		margin-top: auto;
		min-height: 48px;
		padding: 12px 18px;
		position: sticky;
		/*
		 * Keep the action above iOS Safari/Chrome's bottom toolbar and the
		 * device home-indicator safe area. The first value is the fallback
		 * for browsers without max()/env() support.
		 */
		bottom: 12px;
		bottom: max(12px, env(safe-area-inset-bottom));
		width: 100%;
		z-index: 5;
	}

	.dnwoo_filter_masonry .dnwoo_Pro_filter_menu_left_sidebar_wrapper .dnwoo_mobile_show_results:hover {
		background: #4e20bd;
		border-color: #4e20bd;
		color: #fff;
	}

	.dnwoo_filter_masonry .dnwoo_Pro_filter_menu_left_sidebar_wrapper .dnwoo_mobile_show_results:focus-visible {
		outline: 3px solid #111;
		outline-offset: 3px;
	}

	.dnwoo_filter_masonry .dnwoo_Pro_filter_menu_left_sidebar_wrapper .dnwoo_mobile_show_results:disabled {
		cursor: wait;
		opacity: 0.72;
	}
}
/*
 * YBWG mini-cart compatibility rules are intentionally kept in this
 * filemtime-versioned stylesheet. Woo Essential historically serves
 * mini-cart.css with a static version, which can leave an older cached copy
 * active after a plugin replacement.
 */
body.admin-bar #wpadminbar {
  z-index: 2147483647 !important;
}

body.admin-bar #wpadminbar .ab-sub-wrapper,
body.admin-bar #wpadminbar .ab-submenu {
  z-index: 2147483647 !important;
}

.et_pb_module.dnwooe_mini_cart,
.dnwooe_mini_cart,
.dnwoo_minicart_wrapper,
.dnwoo_mminicart_wrapper {
  overflow: visible !important;
}

.et_pb_module.dnwooe_mini_cart,
.dnwooe_mini_cart,
.et-l--header .dnwoo-minicart-stacking-context {
  position: relative !important;
  overflow: visible !important;
  z-index: 2147483000 !important;
}

.dnwoo_minicart.dnwoo_minicart_zoom_down .dnwoo_minicart_cart_bag,
.dnwoo_mminicart.dnwoo_mminicart_zoom_down .dnwoo_mminicart_cart_bag {
  left: auto !important;
  right: 0 !important;
  max-width: calc(100vw - 24px) !important;
  box-sizing: border-box !important;
  z-index: 2147483646 !important;
}

.dnwoo_minicart.dnwoo_minicart_zoom_down
  .dnwoo_minicart_wrapper.click-active
  .dnwoo_minicart_cart_bag,
.dnwoo_mminicart.dnwoo_mminicart_zoom_down
  .dnwoo_mminicart_wrapper.click-active
  .dnwoo_mminicart_cart_bag {
  transform: translate(0, 15px) scaleY(1) !important;
}

@media all and (max-width: 767px) {
  .dnwoo-mobile-viewport-position .dnwoo_minicart_cart_bag,
  .dnwoo-mobile-viewport-position .dnwoo_mminicart_cart_bag {
    position: fixed !important;
    top: var(--dnwoo-mobile-cart-top, 120px) !important;
    left: 50% !important;
    right: auto !important;
    width: min(300px, calc(100vw - 24px)) !important;
    max-width: calc(100vw - 24px) !important;
    margin: 0 !important;
    transform: translate(-50%, 0) scaleY(0) !important;
    transform-origin: center top !important;
  }

  .dnwoo-mobile-viewport-position.click-active
    .dnwoo_minicart_cart_bag,
  .dnwoo-mobile-viewport-position.click-active
    .dnwoo_mminicart_cart_bag,
  .dnwoo-mobile-viewport-position.hover-active
    .dnwoo_minicart_cart_bag,
  .dnwoo-mobile-viewport-position.hover-active
    .dnwoo_mminicart_cart_bag {
    transform: translate(-50%, 15px) scaleY(1) !important;
  }
}
