/* VM Woo Filter Public Styles */

.vm-woo-filter-container {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	box-sizing: border-box !important;
	font-family: inherit !important;
}

/* Sticky Filter */
.vm-woo-filter-elementor-widget.vm-woo-filter-sticky {
	position: relative !important;
	all: unset !important;
	font-family: inherit !important;
	display: block !important;
	overflow: visible !important;
	height: auto !important;
}

.vm-woo-filter-elementor-widget.vm-woo-filter-sticky .vm-woo-filter-container {
	position: -webkit-sticky !important;
	position: sticky !important;
	top: 0 !important;
	z-index: 1000 !important;
	background: #fff !important;
	padding: 1rem 0 !important;
	margin: -1rem 0 !important;
	width: 100% !important;
	box-sizing: border-box !important;
	will-change: position !important;
	overflow: visible !important;
}

/* On mobile, disable sticky and ensure filter container is above overlay */
@media (max-width: 768px) {
	.vm-woo-filter-elementor-widget.vm-woo-filter-sticky .vm-woo-filter-container {
		position: static !important;
		z-index: auto !important;
	}
	
	.vm-woo-filter-elementor-widget.vm-woo-filter-sticky .vm-woo-filter-container.mobile-open {
		position: fixed !important;
		z-index: 100000 !important;
	}
}

/* Ensure Elementor wrapper doesn't interfere */
.elementor-widget-vm_woo_filter.vm-woo-filter-sticky,
.elementor-widget-vm_woo_filter.vm-woo-filter-sticky .elementor-widget-container,
.elementor-element.vm-woo-filter-sticky,
.elementor-element.vm-woo-filter-sticky .elementor-widget-container {
	position: relative !important;
	overflow: visible !important;
	height: auto !important;
	overflow-x: visible !important;
	overflow-y: visible !important;
}

/* Override any Elementor overflow settings that might break sticky - use more specific selectors */
.elementor-section .vm-woo-filter-sticky,
.elementor-column .vm-woo-filter-sticky,
.elementor-container .vm-woo-filter-sticky {
	overflow: visible !important;
}

/* Target parent containers more specifically */
.elementor-section:has(.vm-woo-filter-sticky),
.elementor-column:has(.vm-woo-filter-sticky),
.elementor-container:has(.vm-woo-filter-sticky),
.elementor-section:has(.vm-woo-filter-elementor-widget.vm-woo-filter-sticky),
.elementor-column:has(.vm-woo-filter-elementor-widget.vm-woo-filter-sticky),
.elementor-container:has(.vm-woo-filter-elementor-widget.vm-woo-filter-sticky) {
	overflow: visible !important;
	overflow-x: visible !important;
	overflow-y: visible !important;
}

/* More aggressive selectors for Elementor containers - only when they contain sticky filter */
.elementor-section:has(.vm-woo-filter-sticky),
.elementor-column:has(.vm-woo-filter-sticky),
.elementor-container:has(.vm-woo-filter-sticky),
.elementor-widget-container:has(.vm-woo-filter-sticky),
.elementor-section:has(.vm-woo-filter-elementor-widget.vm-woo-filter-sticky),
.elementor-column:has(.vm-woo-filter-elementor-widget.vm-woo-filter-sticky),
.elementor-container:has(.vm-woo-filter-elementor-widget.vm-woo-filter-sticky),
.elementor-widget-container:has(.vm-woo-filter-elementor-widget.vm-woo-filter-sticky) {
	overflow: visible !important;
	overflow-x: visible !important;
	overflow-y: visible !important;
}

/* Product Search */
.vm-woo-products-search-wrapper {
	margin-bottom: 0 !important;
}

.vm-woo-products-search::placeholder {
	color: #999 !important;
}

/* Product Controls (Search and Sorting) */
.vm-woo-products-controls {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 1rem !important;
	margin-bottom: 1rem !important;
	align-items: stretch !important;
}

.vm-woo-products-search-wrapper {
	flex: 1 !important;
	min-width: 200px !important;
	display: flex !important;
	align-items: stretch !important;
}

.vm-woo-products-search {
	width: 100% !important;
	height: 48px !important;
	min-height: 48px !important;
	padding: 0.75rem 1rem !important;
	border: 1px solid #ccc !important;
	border-radius: 4px !important;
	font-size: 1rem !important;
	font-family: inherit !important;
	box-sizing: border-box !important;
	transition: border-color 0.2s ease !important;
	line-height: 1.5 !important;
	display: flex !important;
	align-items: center !important;
}

.vm-woo-products-search:focus {
	outline: none !important;
	border-color: #0066cc !important;
}

.vm-woo-products-sorting-wrapper {
	display: flex !important;
	align-items: center !important;
	gap: 0.5rem !important;
}

.vm-woo-products-sorting-label {
	margin: 0 !important;
	font-size: 0.875rem !important;
	font-weight: 400 !important;
	color: #000 !important;
	white-space: nowrap !important;
	line-height: 1.5 !important;
	display: flex !important;
	align-items: center !important;
}

.vm-woo-products-sort {
	height: 48px !important;
	min-height: 48px !important;
	padding: 0.75rem 1rem !important;
	padding-right: 2.5rem !important;
	border: 1px solid #ccc !important;
	border-radius: 4px !important;
	font-size: 1rem !important;
	font-family: inherit !important;
	background: #fff !important;
	cursor: pointer !important;
	min-width: 180px !important;
	box-sizing: border-box !important;
	transition: border-color 0.2s ease !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 0.75rem center !important;
	background-size: 12px 8px !important;
	line-height: 1.5 !important;
	display: flex !important;
	align-items: center !important;
}

.vm-woo-products-sort:focus {
	outline: none !important;
	border-color: #0066cc !important;
}

.vm-woo-filter-title {
	font-size: 1.25rem !important;
	font-weight: 600 !important;
	margin: 0 0 1rem 0 !important;
	padding: 0 !important;
	color: #000 !important;
	line-height: 1.4 !important;
}

.vm-woo-filter-section {
	border: none !important;
	border-bottom: none !important;
	margin-bottom: 0 !important;
	padding: 0 !important;
	outline: none !important;
	box-shadow: none !important;
}

.vm-woo-filter-section-toggle {
	width: 100% !important;
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	padding: 1rem 0 !important;
	background: none !important;
	border: none !important;
	border-bottom: 1px solid #e0e0e0 !important;
	border-radius: 0 !important;
	cursor: pointer !important;
	text-align: left !important;
	font-size: 1rem !important;
	font-weight: 400 !important;
	color: #000 !important;
	transition: all 0.2s ease !important;
	margin: 0 !important;
	box-sizing: border-box !important;
}

.vm-woo-filter-section:last-child .vm-woo-filter-section-toggle {
	border-bottom: 1px solid #e0e0e0 !important;
}

.vm-woo-filter-section-toggle:hover {
	color: #000 !important;
	background-color: transparent !important;
}

.vm-woo-filter-section-toggle:focus {
	outline: none !important;
}

.vm-woo-filter-section-title {
	flex: 1 !important;
	margin: 0 !important;
	padding: 0 !important;
	font-weight: 400 !important;
}

.vm-woo-filter-section-icon {
	width: 12px !important;
	height: 8px !important;
	transition: transform 0.2s ease !important;
	color: #000 !important;
	margin-left: 0.5rem !important;
	display: inline-block !important;
	vertical-align: middle !important;
}

.vm-woo-filter-section-toggle[aria-expanded="true"] .vm-woo-filter-section-icon {
	transform: rotate(180deg) !important;
}

.vm-woo-filter-section-content {
	padding: 1.25rem 0 1rem 0 !important;
	overflow: hidden !important;
}

.vm-woo-filter-section[aria-expanded="false"] .vm-woo-filter-section-content,
.vm-woo-filter-section-toggle[aria-expanded="false"] ~ .vm-woo-filter-section-content {
	display: none !important;
}

.vm-woo-filter-section[aria-expanded="true"] .vm-woo-filter-section-content,
.vm-woo-filter-section-toggle[aria-expanded="true"] ~ .vm-woo-filter-section-content {
	display: block !important;
}

.vm-woo-filter-checkbox {
	display: flex !important;
	align-items: center !important;
	margin-bottom: 0.5rem !important;
	cursor: pointer !important;
	padding: 0 !important;
	-webkit-user-select: none !important;
	user-select: none !important;
	position: relative !important;
}

.vm-woo-filter-checkbox:last-child {
	margin-bottom: 0 !important;
}


.vm-woo-filter-category-item {
	margin-bottom: 0.75rem !important;
}

.vm-woo-filter-category-item:last-child {
	margin-bottom: 0 !important;
}

/* Add more spacing between category items when parent is used as heading */
.vm-woo-filter-category-item:has(.vm-woo-filter-category-title) {
	margin-bottom: 1.5rem !important;
}

.vm-woo-filter-category-header {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 0.5rem !important;
}

.vm-woo-filter-category-header .vm-woo-filter-checkbox {
	flex: 1 !important;
	margin: 0 !important;
}

.vm-woo-filter-category-toggle {
	background: none !important;
	border: none !important;
	padding: 0 !important;
	cursor: pointer !important;
	width: auto !important;
	height: auto !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-shrink: 0 !important;
}

.vm-woo-filter-category-toggle-icon {
	width: 12px !important;
	height: 8px !important;
	transition: transform 0.2s ease !important;
	color: #000 !important;
	vertical-align: middle !important;
}

.vm-woo-filter-category-toggle[aria-expanded="false"] .vm-woo-filter-category-toggle-icon {
	transform: rotate(180deg) !important;
}

.vm-woo-filter-category-children {
	margin-left: 1.5rem !important;
	margin-top: 0.5rem !important;
	padding-left: 0 !important;
	position: relative !important;
}

/* When parent category is a heading, align children with the heading */
.vm-woo-filter-category-header:has(.vm-woo-filter-category-title) ~ .vm-woo-filter-category-children {
	margin-left: 0 !important;
}

/* Hide the tree connector (└) when parent is a heading */
.vm-woo-filter-category-header:has(.vm-woo-filter-category-title) ~ .vm-woo-filter-category-children .vm-woo-filter-checkbox-child::before {
	display: none !important;
}

.vm-woo-filter-category-title {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 1rem !important;
	font-weight: 600 !important;
	color: #000 !important;
	line-height: 1.5 !important;
	flex: 1 !important;
}


.vm-woo-filter-checkbox-child {
	padding-left: 0 !important;
	position: relative !important;
}

.vm-woo-filter-checkbox-child::before {
	content: '└' !important;
	position: absolute !important;
	left: -1.5rem !important;
	color: #999 !important;
	font-size: 0.875rem !important;
}

.vm-woo-filter-checkbox-input {
	display: none !important;
}

.vm-woo-filter-checkbox-label {
	display: flex !important;
	align-items: center !important;
	cursor: pointer !important;
	font-size: 0.875rem !important;
	font-weight: 400 !important;
	color: #000 !important;
	line-height: 1.4 !important;
	padding-left: 1.75rem !important;
	position: relative !important;
	-webkit-user-select: none !important;
	user-select: none !important;
}

.vm-woo-filter-checkbox-label::before {
	content: '' !important;
	position: absolute !important;
	left: 0 !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	width: 20px !important;
	height: 20px !important;
	border: 1px solid #ccc !important;
	border-radius: 3px !important;
	background: #fff !important;
	transition: all 0.2s ease !important;
	box-sizing: border-box !important;
}

.vm-woo-filter-checkbox-input:checked + .vm-woo-filter-checkbox-label::before {
	background-color: #0066cc !important;
	border-color: #0066cc !important;
}

.vm-woo-filter-checkbox-input:checked + .vm-woo-filter-checkbox-label::after {
	content: '' !important;
	position: absolute !important;
	left: 2px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	width: 14px !important;
	height: 14px !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M10 3L4.5 8.5L2 6' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
	background-size: contain !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
}

/* Specific override for Elementor template */
.elementor-95 .elementor-element.elementor-element-9a234c2 .vm-woo-filter-checkbox-input:checked + .vm-woo-filter-checkbox-label::after {
	width: 18px !important;
	height: 18px !important;
}

.vm-woo-filter-checkbox:hover .vm-woo-filter-checkbox-label::before {
	border-color: #0066cc !important;
}

.vm-woo-filter-show-more {
	background: none !important;
	border: none !important;
	padding: 0 !important;
	color: #0066cc !important;
	cursor: pointer !important;
	font-size: 1rem !important;
	text-decoration: underline !important;
	padding: 0.5rem 0 0 0 !important;
	margin-top: 0.5rem !important;
	transition: all 0.2s ease !important;
	display: inline-block !important;
	box-sizing: border-box !important;
	font-family: inherit !important;
	font-weight: 400 !important;
}

/* Price Filter Styles */
.vm-woo-filter-price-wrapper {
	display: flex !important;
	flex-direction: column !important;
	gap: 1rem !important;
	padding: 0 !important;
	margin: 0 !important;
}

.vm-woo-filter-price-inputs {
	display: flex !important;
	align-items: center !important;
	gap: 0.5rem !important;
}

.vm-woo-filter-price-min,
.vm-woo-filter-price-max {
	flex: 1 !important;
	padding: 0.5rem 0.75rem !important;
	border: 1px solid #ddd !important;
	border-radius: 4px !important;
	font-size: 0.875rem !important;
	color: #000 !important;
	background: #fff !important;
	font-family: inherit !important;
	box-sizing: border-box !important;
}

.vm-woo-filter-price-min:focus,
.vm-woo-filter-price-max:focus {
	outline: 2px solid #0066cc !important;
	outline-offset: 2px !important;
	border-color: #0066cc !important;
}

.vm-woo-filter-price-separator {
	color: #000 !important;
	font-size: 0.875rem !important;
	flex-shrink: 0 !important;
	margin: 0 0.25rem !important;
}

.vm-woo-filter-price-slider-wrapper {
	position: relative !important;
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}

.vm-woo-filter-price-slider-container {
	position: relative !important;
	height: 40px !important;
	display: flex !important;
	align-items: center !important;
	width: 100% !important;
}

.vm-woo-filter-price-slider {
	position: absolute !important;
	width: 100% !important;
	height: 4px !important;
	background: transparent !important;
	border-radius: 0 !important;
	outline: none !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	cursor: pointer !important;
	z-index: 2 !important;
	margin: 0 !important;
	padding: 0 !important;
}

.vm-woo-filter-price-slider::-webkit-slider-thumb {
	-webkit-appearance: none !important;
	appearance: none !important;
	width: 18px !important;
	height: 18px !important;
	background: #fff !important;
	border: 2px solid #0066cc !important;
	border-radius: 50% !important;
	cursor: pointer !important;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
	position: relative !important;
	z-index: 3 !important;
}

.vm-woo-filter-price-slider::-moz-range-thumb {
	width: 18px !important;
	height: 18px !important;
	background: #fff !important;
	border: 2px solid #0066cc !important;
	border-radius: 50% !important;
	cursor: pointer !important;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
	position: relative !important;
	z-index: 3 !important;
	-moz-appearance: none !important;
}

.vm-woo-filter-price-slider::-moz-range-track {
	background: transparent !important;
	height: 4px !important;
}

.vm-woo-filter-price-slider-min {
	z-index: 2 !important;
}

.vm-woo-filter-price-slider-max {
	z-index: 3 !important;
}

.vm-woo-filter-price-slider-track {
	position: absolute !important;
	left: 0 !important;
	right: 0 !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	height: 4px !important;
	background: #e0e0e0 !important;
	border-radius: 2px !important;
	z-index: 1 !important;
	pointer-events: none !important;
}

.vm-woo-filter-price-slider-track::after {
	content: '' !important;
	position: absolute !important;
	left: var(--slider-min-percent, 0%) !important;
	right: calc(100% - var(--slider-max-percent, 100%)) !important;
	height: 100% !important;
	background: #0066cc !important;
	border-radius: 2px !important;
}

/* Active Filters */
.vm-woo-filter-active-filters {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 0.5rem !important;
	margin-bottom: 1rem !important;
	padding-bottom: 1rem !important;
	border-bottom: 1px solid #e0e0e0 !important;
}

.vm-woo-filter-active-chips {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 0.5rem !important;
	flex: 1 !important;
}

.vm-woo-filter-chip {
	display: inline-flex !important;
	align-items: center !important;
	gap: 0.5rem !important;
	padding: 0.375rem 0.75rem !important;
	background: #f5f5f5 !important;
	border: 1px solid #ddd !important;
	border-radius: 4px !important;
	font-size: 0.875rem !important;
	color: #000 !important;
}

.vm-woo-filter-chip-label {
	flex: 1 !important;
}

.vm-woo-filter-chip-remove {
	background: none !important;
	border: none !important;
	padding: 0 !important;
	cursor: pointer !important;
	width: 16px !important;
	height: 16px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	color: #666 !important;
	transition: color 0.2s ease !important;
	flex-shrink: 0 !important;
}

.vm-woo-filter-chip-remove:hover {
	color: #000 !important;
}

.vm-woo-filter-chip-remove svg {
	width: 100% !important;
	height: 100% !important;
}

.vm-woo-filter-clear-all {
	background: none !important;
	border: 1px solid #ddd !important;
	padding: 0.375rem 0.75rem !important;
	border-radius: 4px !important;
	font-size: 0.875rem !important;
	color: #000 !important;
	cursor: pointer !important;
	transition: all 0.2s ease !important;
	font-family: inherit !important;
}

.vm-woo-filter-clear-all:hover {
	background: #f5f5f5 !important;
	border-color: #ccc !important;
}

/* Product Count */
.vm-woo-filter-count {
	color: #666 !important;
	font-size: 0.875rem !important;
	font-weight: 400 !important;
	margin-left: 0.25rem !important;
}

/* Mobile Filter */
.vm-woo-filter-mobile-toggle {
	display: none !important;
	align-items: center !important;
	gap: 0.5rem !important;
	padding: 0.75rem 1rem !important;
	background: #fff !important;
	border: 1px solid #ccc !important;
	border-radius: 4px !important;
	font-size: 1rem !important;
	font-weight: 400 !important;
	color: #000 !important;
	cursor: pointer !important;
	margin-bottom: 0.5rem !important;
	width: 100% !important;
	justify-content: center !important;
	box-sizing: border-box !important;
	transition: all 0.2s ease !important;
}

.vm-woo-filter-mobile-toggle:hover {
	background: #f5f5f5 !important;
	border-color: #0066cc !important;
}

.vm-woo-filter-mobile-toggle-icon {
	width: 16px !important;
	height: 16px !important;
	flex-shrink: 0 !important;
}

.vm-woo-filter-mobile-overlay {
	display: none !important;
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	background: rgba(0, 0, 0, 0.5) !important;
	z-index: 9998 !important;
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
	transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

.vm-woo-filter-mobile-overlay.active {
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: all !important;
	z-index: 9998 !important;
}

.vm-woo-filter-mobile-close {
	display: none !important;
	position: absolute !important;
	top: 1.5rem !important;
	right: 1rem !important;
	width: 40px !important;
	height: 40px !important;
	background: #fff !important;
	border: 1px solid #ccc !important;
	border-radius: 50% !important;
	cursor: pointer !important;
	align-items: center !important;
	justify-content: center !important;
	z-index: 10001 !important;
	transition: all 0.2s ease !important;
	padding: 0 !important;
	pointer-events: auto !important;
}

.vm-woo-filter-mobile-close:hover {
	background: #f5f5f5 !important;
	border-color: #0066cc !important;
}

.vm-woo-filter-mobile-close svg {
	width: 20px !important;
	height: 20px !important;
	color: #000 !important;
}

/* Mobile Styles */
@media (max-width: 768px) {
	.vm-woo-filter-elementor-widget {
		margin-bottom: 0 !important;
	}
	
	.vm-woo-filter-sections-wrapper {
		margin-top: 40px !important;
	}
	
	.vm-woo-filter-section {
		padding: 10px 20px !important;
		margin-bottom: 0.5rem !important;
	}
	
	.vm-woo-filter-section:last-child {
		margin-bottom: 0 !important;
	}
	
	.vm-woo-filter-section-content {
		padding: 0.625rem 0 0.5rem 0 !important;
	}
	
	.vm-woo-filter-section-toggle {
		padding: 0.75rem 0 !important;
	}
	
	.vm-woo-filter-active-filters {
		padding: 20px !important;
		padding-top: 5rem !important;
		margin-top: 0 !important;
		margin-bottom: 1rem !important;
	}
	
	.vm-woo-filter-chip {
		padding: 0.5rem 0.75rem !important;
	}
	
	.vm-woo-filter-mobile-toggle {
		display: flex !important;
		margin-bottom: 0 !important;
	}
	
	/* Place filter button next to sorting on mobile */
	.vm-woo-products-controls {
		display: flex !important;
		flex-direction: row !important;
		gap: 0.5rem !important;
		align-items: center !important;
		margin-bottom: 1rem !important;
		flex-wrap: nowrap !important;
		justify-content: flex-start !important;
	}
	
	/* Filter button wrapper when moved to products controls */
	.vm-woo-filter-button-wrapper {
		order: 999 !important;
		flex: 0 0 auto !important;
		width: auto !important;
		min-width: 0 !important;
		display: flex !important;
		align-items: center !important;
		position: relative !important;
		margin-left: auto !important;
		margin-right: 0 !important;
	}
	
	.vm-woo-filter-button-wrapper .vm-woo-filter-mobile-toggle {
		width: auto !important;
		min-width: 100px !important;
		margin-bottom: 0 !important;
		height: 48px !important;
		min-height: 48px !important;
		max-height: 48px !important;
		padding: 0.75rem 1rem !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		box-sizing: border-box !important;
		line-height: 1.5 !important;
		white-space: nowrap !important;
	}
	
	/* Sorting wrapper styling */
	.vm-woo-products-sorting-wrapper {
		order: 1 !important;
		flex: 1 !important;
		min-width: 0 !important;
		display: flex !important;
		align-items: center !important;
		position: relative !important;
		margin-right: 0.5rem !important;
	}
	
	/* Ensure select has same height */
	.vm-woo-products-sorting-wrapper .vm-woo-products-sort {
		height: 48px !important;
		min-height: 48px !important;
		max-height: 48px !important;
		width: 100% !important;
	}
	
	/* If search is enabled, show it above, then filter and sort side by side */
	.vm-woo-products-controls:has(.vm-woo-products-search-wrapper) {
		flex-wrap: wrap !important;
	}
	
	.vm-woo-products-controls:has(.vm-woo-products-search-wrapper) .vm-woo-products-search-wrapper {
		flex-basis: 100% !important;
		order: 0 !important;
		width: 100% !important;
		margin-bottom: 0.5rem !important;
	}
	
	.vm-woo-products-controls:has(.vm-woo-products-search-wrapper) .vm-woo-products-sorting-wrapper {
		order: 1 !important;
		flex: 1 !important;
		min-width: 0 !important;
	}
	
	.vm-woo-products-controls:has(.vm-woo-products-search-wrapper) .vm-woo-filter-button-wrapper {
		order: 999 !important;
		flex: 0 0 auto !important;
		margin-left: auto !important;
		margin-right: 0 !important;
	}
	
	/* Hide WooCommerce default result count and ordering within our widget */
	.vm-woo-products-elementor-widget .woocommerce-result-count,
	.vm-woo-products-elementor-widget .woocommerce-ordering,
	.vm-woo-products-elementor-widget .woocommerce-products-header {
		display: none !important;
	}

	/* Hide Add to Cart button when option is enabled */
	.vm-woo-products-elementor-widget.vm-woo-hide-add-to-cart .woocommerce ul.products li.product .button,
	.vm-woo-products-elementor-widget.vm-woo-hide-add-to-cart .woocommerce ul.products li.product a.button,
	.vm-woo-products-elementor-widget.vm-woo-hide-add-to-cart .woocommerce ul.products li.product .add_to_cart_button,
	.vm-woo-products-elementor-widget.vm-woo-hide-add-to-cart .woocommerce ul.products li.product a.add_to_cart_button {
		display: none !important;
	}
	
	.vm-woo-filter-mobile-overlay {
		display: block !important;
		visibility: hidden !important;
		opacity: 0 !important;
		pointer-events: none !important;
		position: fixed !important;
		top: 0 !important;
		left: 0 !important;
		right: 0 !important;
		bottom: 0 !important;
		z-index: 9998 !important;
		background: rgba(0, 0, 0, 0.5) !important;
	}
	
	.vm-woo-filter-mobile-overlay.active {
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
		pointer-events: all !important;
		z-index: 9998 !important;
	}
	
	.vm-woo-filter-container {
		display: none !important;
		position: fixed !important;
		top: 0 !important;
		left: 0 !important;
		right: 0 !important;
		bottom: 0 !important;
		background: #fff !important;
		z-index: 10000 !important;
		overflow-y: auto !important;
		padding: 2rem 1.5rem !important;
		padding-top: 7rem !important;
		box-sizing: border-box !important;
		transform: translateX(-100%) !important;
		transition: transform 0.3s ease !important;
		max-width: 100% !important;
		width: 100% !important;
		margin: 0 !important;
		visibility: hidden !important;
		opacity: 0 !important;
		pointer-events: none !important;
	}
	
	.vm-woo-filter-container.mobile-open {
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
		pointer-events: all !important;
		transform: translateX(0) !important;
		z-index: 10000 !important;
		position: fixed !important;
		isolation: isolate !important;
	}
	
	/* Ensure filter container and all its children can receive clicks */
	.vm-woo-filter-container.mobile-open,
	.vm-woo-filter-container.mobile-open * {
		pointer-events: auto !important;
	}
	
	/* Ensure close button is always clickable and visible */
	.vm-woo-filter-mobile-close {
		display: flex !important;
		pointer-events: auto !important;
		z-index: 10001 !important;
		top: 1.5rem !important;
		right: 15px !important;
		position: fixed !important;
	}
	
	/* Prevent body scroll when filter is open */
	body.vm-woo-filter-mobile-open {
		overflow: hidden !important;
		position: fixed !important;
		width: 100% !important;
	}
}
