/* Summerland Filters — Sephora-inspired mobile WooCommerce filter UI */

.smf-mobile-filter-bar,
.smf-filter-sheet { display: none !important; }

@media (min-width: 1001px) {
	.smf-mobile-filter-bar,
	.smf-filter-sheet { display: none !important; }

	/* Replace the server-hidden WoodMart widget source with the Summerland UI. */
	.smf-desktop-sidebar-replaced .smf-native-desktop-hidden,
	.smf-desktop-sidebar-replaced > .wd-heading,
	.smf-desktop-sidebar-replaced .wd-sidebar-header,
	.smf-desktop-sidebar-replaced .wd-close-side { display: none !important; }
	.smf-desktop-panel { display: block !important; width: 252px !important; max-width: 252px !important; margin-left: 8px; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; color: #000; }
	.smf-desktop-panel__label { margin: 0 0 20px; color: #666; font-size: 12px; font-weight: 400; line-height: 15px; text-transform: none; }
	.smf-desktop-panel .smf-filter-accordion { display: block; border-bottom: 1px solid #eeeeee; }
	.smf-desktop-panel .smf-filter-accordion--live.is-open { border-bottom: 0 !important; }
	.smf-desktop-panel .smf-filter-accordion__toggle {
		box-sizing: border-box; display: flex; align-items: center; justify-content: space-between;
		width: 100%; min-height: 58px; padding: 19px 0; border: 0; background: transparent;
		color: #000; font-size: 16px; font-weight: 700; line-height: 20px; text-align: left; text-transform: none; cursor: pointer;
	}
	.smf-desktop-panel .smf-filter-accordion__toggle span:first-child { font: inherit; color: inherit; text-transform: none; }
	.smf-desktop-panel .smf-filter-accordion__toggle:hover,
	.smf-desktop-panel .smf-filter-accordion__toggle:focus {
		background: transparent !important; color: #111 !important; text-decoration: underline !important;
		text-underline-offset: 3px; box-shadow: none !important;
	}
	.smf-desktop-panel .smf-filter-accordion__chevron {
		width: 7px; height: 7px; margin-right: 3px; border-right: 1.5px solid currentColor;
		border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .2s ease;
	}
	.smf-desktop-panel .smf-filter-accordion.is-open .smf-filter-accordion__chevron { transform: rotate(-135deg); }
	.smf-desktop-panel .smf-filter-accordion__content { padding: 0 0 16px; font-size: 14px; font-weight: 400; line-height: 17.5px; }
	.smf-desktop-panel .smf-filter-accordion--live > .smf-filter-accordion__content { padding-bottom: 2px !important; }
	.smf-desktop-panel .smf-filter-accordion__content[hidden] { display: none !important; }
	.smf-desktop-panel .smf-native-widget-title { display: none !important; }
	.smf-desktop-panel .smf-filter-accordion--live .wd-widget { margin: 0 !important; padding: 0 !important; border-bottom: 0 !important; }
	.smf-desktop-panel .smf-filter-accordion--live ul { max-height: 390px; overflow: hidden; }
	.smf-desktop-panel .smf-filter-accordion--live .wd-filter-list,
	.smf-desktop-panel .smf-filter-accordion--live .wd-scroll-content,
	.smf-desktop-panel .smf-filter-accordion--live .product-categories { max-height: 390px; overflow: hidden; }
	.smf-desktop-panel .smf-filter-accordion--live.smf-show-more-open ul,
	.smf-desktop-panel .smf-filter-accordion--live.smf-show-more-open .wd-filter-list,
	.smf-desktop-panel .smf-filter-accordion--live.smf-show-more-open .wd-scroll-content,
	.smf-desktop-panel .smf-filter-accordion--live.smf-show-more-open .product-categories { max-height: none; overflow: visible; }
	.smf-show-more {
		display: block !important; box-sizing: border-box !important; min-height: 20px !important; height: 20px !important;
		margin: 6px 0 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important;
		color: #0666d6 !important; font: 400 14px/20px "Helvetica Neue", Helvetica, Arial, sans-serif !important;
		text-transform: none !important; text-decoration: none !important; cursor: pointer;
	}
	.smf-show-more:hover, .smf-show-more:focus { background: transparent !important; color: #0666d6 !important; text-decoration: underline !important; box-shadow: none !important; }
	.smf-desktop-panel .smf-filter-accordion--live ul { padding: 0; margin: 0; list-style: none; }
	.smf-desktop-panel .smf-filter-accordion--live li a,
	.smf-desktop-panel .smf-filter-accordion--live li label { display: flex; align-items: center; gap: 8px; text-decoration: none; }
	.smf-desktop-panel .smf-checkbox-control { box-sizing: border-box; display: inline-block; flex: 0 0 18px; width: 18px; height: 18px; border: 2px solid #666; border-radius: 3px; background: #fff; }
	.smf-desktop-panel .smf-filter-accordion--live li { list-style: none; margin: 0 !important; padding: 0 !important; }
	.smf-desktop-panel .smf-filter-accordion--live li a,
	.smf-desktop-panel .smf-filter-accordion--live li label { color: #000; font-size: 14px !important; font-weight: 400 !important; line-height: 17.5px !important; padding: 8px 0 !important; }
	.smf-desktop-panel .smf-filter-accordion--live li a { color: #000; font-size: 14px !important; font-weight: 400 !important; line-height: 17.5px !important; padding: 8px 0 !important; }
	.smf-desktop-panel .wd-filter-search { position: relative; width: 100%; margin: 0 0 12px; padding: 0; background: transparent; border: 0; }
	.smf-desktop-panel .wd-filter-search input[type="search"], .smf-desktop-panel .wd-filter-search input[type="text"] { box-sizing: border-box; width: 100%; height: 42px; min-height: 42px; padding: 0 16px 0 42px; border: 1px solid #8b9198; border-radius: 22px; background-color: #f7f9fc; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2369717a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: 15px center; background-size: 16px 16px; color: #111; font: 400 16px/20px "Helvetica Neue", Helvetica, Arial, sans-serif; }
	.smf-desktop-panel .wd-filter-search::before, .smf-desktop-panel .wd-filter-search::after { display: none !important; }
	.smf-desktop-panel .wd-filter-search::before { content: ""; position: absolute; z-index: 2; left: 15px; top: 12px; width: 14px; height: 14px; border: 2px solid #69717a; border-radius: 50%; pointer-events: none; }
	.smf-desktop-panel .wd-filter-search::after { content: ""; position: absolute; z-index: 2; left: 29px; top: 27px; width: 7px; height: 2px; background: #69717a; transform: rotate(45deg); pointer-events: none; }
	.smf-desktop-panel .smf-view-az-link { display: inline-block; margin: 0 0 16px; color: #0666d6; font: 400 16px/20px "Helvetica Neue", Helvetica, Arial, sans-serif; text-decoration: none; }

	/* Sephora-style desktop Filter & Sort modal opened by Show more. */
	.smf-filter-sheet:not([hidden]) { display: block !important; position: fixed !important; inset: 0 !important; z-index: 2147483000 !important; background: rgba(0, 0, 0, .28) !important; }
	.smf-filter-sheet:not([hidden]) .smf-filter-sheet__backdrop { display: block !important; position: absolute !important; inset: 0 !important; }
	.smf-filter-sheet:not([hidden]) .smf-filter-sheet__dialog { position: absolute !important; top: 24px !important; bottom: 24px !important; left: 50% !important; right: auto !important; width: min(760px, calc(100vw - 48px)) !important; transform: translateX(-50%) !important; display: flex !important; flex-direction: column !important; background: #f7f9fc !important; color: #111 !important; border: 1px solid #d9dde3 !important; border-radius: 3px !important; box-shadow: 0 12px 36px rgba(0,0,0,.22) !important; overflow: hidden !important; margin: 0 !important; padding: 0 !important; }
	.smf-filter-sheet:not([hidden]) .smf-filter-sheet__header { position: relative !important; flex: 0 0 66px !important; height: 66px !important; display: flex !important; align-items: center !important; justify-content: center !important; padding: 0 24px !important; background: #f7f9fc !important; border-bottom: 1px solid #dfe3e8 !important; }
	.smf-filter-sheet:not([hidden]) .smf-filter-sheet__header h2 { font: 700 20px/24px "Helvetica Neue", Helvetica, Arial, sans-serif !important; color: #111 !important; text-transform: none !important; }
	.smf-filter-sheet:not([hidden]) .smf-filter-sheet__close { position: absolute !important; right: 20px !important; top: 50% !important; transform: translateY(-50%) !important; width: 36px !important; height: 36px !important; display: flex !important; align-items: center !important; justify-content: center !important; padding: 0 !important; margin: 0 !important; color: #111 !important; }
	.smf-filter-sheet:not([hidden]) .smf-filter-sheet__close:hover, .smf-filter-sheet:not([hidden]) .smf-filter-sheet__close:focus { background: transparent !important; color: #111 !important; box-shadow: none !important; }
	.smf-filter-sheet:not([hidden]) .smf-filter-sheet__close svg { width: 22px !important; height: 22px !important; stroke: currentColor !important; }
	.smf-filter-sheet:not([hidden]) .smf-filter-sheet__scroll { flex: 1 1 auto !important; overflow-y: auto !important; padding: 0 26px 18px !important; background: #f7f9fc !important; }
	.smf-filter-sheet:not([hidden]) .smf-filter-sheet__loading { display: none !important; }
	.smf-filter-sheet:not([hidden]) .smf-filter-accordion { border-bottom: 1px solid #dfe3e8 !important; }
	.smf-filter-sheet:not([hidden]) .smf-filter-accordion--sort { display: block !important; }
	.smf-filter-sheet:not([hidden]) .smf-filter-accordion__toggle { box-sizing: border-box !important; width: 100% !important; min-height: 58px !important; height: 58px !important; display: flex !important; align-items: center !important; justify-content: space-between !important; padding: 18px 0 !important; border: 0 !important; background: transparent !important; color: #111 !important; font: 700 16px/20px "Helvetica Neue", Helvetica, Arial, sans-serif !important; text-align: left !important; }
	.smf-filter-sheet:not([hidden]) .smf-filter-accordion__toggle span:first-child { font: inherit !important; color: inherit !important; }
	.smf-filter-sheet:not([hidden]) .smf-filter-accordion__toggle { min-height: 58px !important; padding: 18px 0 !important; background: transparent !important; color: #111 !important; font: 700 16px/20px "Helvetica Neue", Helvetica, Arial, sans-serif !important; text-transform: none !important; }
	.smf-filter-sheet:not([hidden]) .smf-filter-accordion__chevron { display: block !important; width: 7px !important; height: 7px !important; margin-right: 3px !important; border-right: 1.5px solid #111 !important; border-bottom: 1.5px solid #111 !important; transform: rotate(45deg) !important; background: transparent !important; }
	.smf-filter-sheet:not([hidden]) .smf-filter-accordion.is-open .smf-filter-accordion__chevron { transform: rotate(-135deg) !important; }
	.smf-filter-sheet:not([hidden]) .smf-filter-accordion--live .count { display: none !important; }
	.smf-filter-sheet:not([hidden]) .smf-sort-options { display: flex !important; flex-direction: column !important; gap: 16px !important; padding: 0 0 20px !important; }
	.smf-filter-sheet:not([hidden]) .smf-choice { position: relative !important; display: flex !important; align-items: center !important; gap: 12px !important; min-height: 22px !important; margin: 0 !important; padding: 0 !important; color: #111 !important; font: 400 16px/20px "Helvetica Neue", Helvetica, Arial, sans-serif !important; }
	.smf-filter-sheet:not([hidden]) .smf-choice input { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
	.smf-filter-sheet:not([hidden]) .smf-choice__control { box-sizing: border-box !important; width: 22px !important; height: 22px !important; flex: 0 0 22px !important; border: 2px solid #666 !important; border-radius: 50% !important; background: #f7f9fc !important; }
	.smf-filter-sheet:not([hidden]) .smf-choice input:checked + .smf-choice__control { border-color: #111 !important; background: #111 !important; box-shadow: inset 0 0 0 5px #f7f9fc !important; }
	.smf-filter-sheet:not([hidden]) .smf-filter-accordion__content { padding: 0 0 20px !important; }
	.smf-filter-sheet:not([hidden]) .wd-filter-search { position: relative !important; width: 100% !important; margin: 0 0 12px !important; padding: 0 !important; background: transparent !important; border: 0 !important; }
	.smf-filter-sheet:not([hidden]) .wd-filter-search input[type="search"], .smf-filter-sheet:not([hidden]) .wd-filter-search input[type="text"] { box-sizing: border-box !important; width: 100% !important; height: 42px !important; min-height: 42px !important; padding: 0 16px 0 42px !important; border: 1px solid #8b9198 !important; border-radius: 22px !important; background: #f7f9fc !important; color: #111 !important; font: 400 16px/20px "Helvetica Neue", Helvetica, Arial, sans-serif !important; }
	.smf-filter-sheet:not([hidden]) .wd-filter-search::before { content: "" !important; position: absolute !important; z-index: 2 !important; left: 15px !important; top: 12px !important; width: 14px !important; height: 14px !important; border: 2px solid #69717a !important; border-radius: 50% !important; pointer-events: none !important; }
	.smf-filter-sheet:not([hidden]) .wd-filter-search::after { content: "" !important; position: absolute !important; z-index: 2 !important; left: 29px !important; top: 27px !important; width: 7px !important; height: 2px !important; background: #69717a !important; transform: rotate(45deg) !important; pointer-events: none !important; }
	.smf-filter-sheet:not([hidden]) .smf-view-az-link { display: inline-block !important; margin: 0 0 16px !important; color: #0666d6 !important; font: 400 16px/20px "Helvetica Neue", Helvetica, Arial, sans-serif !important; text-decoration: none !important; }
	.smf-filter-sheet:not([hidden]) .smf-filter-accordion--live ul { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 16px 28px !important; max-height: none !important; overflow: visible !important; margin: 0 !important; padding: 0 !important; list-style: none !important; }
	.smf-filter-sheet:not([hidden]) .smf-filter-accordion--live li { margin: 0 !important; list-style: none !important; }
	.smf-filter-sheet:not([hidden]) .smf-filter-accordion--live li a, .smf-filter-sheet:not([hidden]) .smf-filter-accordion--live li label { display: flex !important; align-items: center !important; gap: 10px !important; color: #111 !important; font: 400 16px/20px "Helvetica Neue", Helvetica, Arial, sans-serif !important; text-decoration: none !important; }
	.smf-filter-sheet:not([hidden]) .smf-checkbox-control { flex: 0 0 22px !important; width: 22px !important; height: 22px !important; border: 2px solid #666 !important; border-radius: 4px !important; }
	.smf-filter-sheet:not([hidden]) .smf-native-widget-title { display: none !important; }
	.smf-filter-sheet:not([hidden]) .smf-filter-sheet__footer { flex: 0 0 72px !important; height: 72px !important; display: flex !important; align-items: center !important; justify-content: space-between !important; padding: 0 26px !important; background: #f7f9fc !important; border-top: 1px solid #dfe3e8 !important; }
	.smf-filter-sheet:not([hidden]) .smf-filter-sheet__clear { color: #0666d6 !important; font: 400 16px/20px "Helvetica Neue", Helvetica, Arial, sans-serif !important; text-transform: none !important; }
	.smf-filter-sheet:not([hidden]) .smf-filter-sheet__clear:hover, .smf-filter-sheet:not([hidden]) .smf-filter-sheet__clear:focus { background: transparent !important; color: #0666d6 !important; box-shadow: none !important; }
	.smf-filter-sheet:not([hidden]) .smf-filter-sheet__apply { min-height: 50px !important; height: 50px !important; padding: 0 28px !important; border-radius: 999px !important; background: #000 !important; color: #fff !important; font: 700 16px/20px "Helvetica Neue", Helvetica, Arial, sans-serif !important; text-transform: none !important; }
	/* Shared modal design system: every filter uses the same compact Sephora-inspired scale. */
	.smf-filter-sheet:not([hidden]) { --smf-modal-body: 14px; --smf-modal-line: 18px; --smf-modal-control: 18px; --smf-modal-gap: 8px; }
	.smf-filter-sheet:not([hidden]) .smf-filter-sheet__dialog { width: min(760px, calc(100vw - 32px)) !important; top: 20px !important; bottom: 20px !important; border-radius: 4px !important; }
	.smf-filter-sheet:not([hidden]) .smf-filter-sheet__header { flex-basis: 58px !important; height: 58px !important; padding: 0 20px !important; }
	.smf-filter-sheet:not([hidden]) .smf-filter-sheet__header h2 { font: 700 18px/22px "Helvetica Neue", Helvetica, Arial, sans-serif !important; }
	.smf-filter-sheet:not([hidden]) .smf-filter-sheet__close { right: 14px !important; width: 32px !important; height: 32px !important; }
	.smf-filter-sheet:not([hidden]) .smf-filter-sheet__close svg { width: 20px !important; height: 20px !important; }
	.smf-filter-sheet:not([hidden]) .smf-filter-sheet__scroll { padding: 0 20px 12px !important; }
	.smf-filter-sheet:not([hidden]) .smf-filter-accordion__toggle { min-height: 52px !important; height: 52px !important; padding: 16px 0 !important; font: 700 15px/20px "Helvetica Neue", Helvetica, Arial, sans-serif !important; }
	.smf-filter-sheet:not([hidden]) .smf-filter-accordion__chevron { width: 7px !important; height: 7px !important; margin-right: 3px !important; }
	.smf-filter-sheet:not([hidden]) .smf-filter-accordion__content { padding: 0 0 12px !important; font: 400 var(--smf-modal-body)/var(--smf-modal-line) "Helvetica Neue", Helvetica, Arial, sans-serif !important; }
	.smf-filter-sheet:not([hidden]) .smf-filter-accordion--live ul { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 8px 24px !important; }
	.smf-filter-sheet:not([hidden]) .smf-filter-accordion--live li a,
	.smf-filter-sheet:not([hidden]) .smf-filter-accordion--live li label { gap: var(--smf-modal-gap) !important; min-height: var(--smf-modal-control) !important; padding: 6px 0 !important; font: 400 var(--smf-modal-body)/var(--smf-modal-line) "Helvetica Neue", Helvetica, Arial, sans-serif !important; }
	.smf-filter-sheet:not([hidden]) .smf-checkbox-control { width: var(--smf-modal-control) !important; height: var(--smf-modal-control) !important; flex-basis: var(--smf-modal-control) !important; border: 2px solid #666 !important; border-radius: 3px !important; }
	.smf-filter-sheet:not([hidden]) .smf-sort-options { gap: 10px !important; padding: 0 0 12px !important; }
	.smf-filter-sheet:not([hidden]) .smf-choice { gap: 10px !important; min-height: var(--smf-modal-control) !important; font: 400 var(--smf-modal-body)/var(--smf-modal-line) "Helvetica Neue", Helvetica, Arial, sans-serif !important; }
	.smf-filter-sheet:not([hidden]) .smf-choice__control { width: var(--smf-modal-control) !important; height: var(--smf-modal-control) !important; flex-basis: var(--smf-modal-control) !important; border-width: 2px !important; }
	.smf-filter-sheet:not([hidden]) .wd-filter-search { margin: 0 0 8px !important; }
	.smf-filter-sheet:not([hidden]) .wd-filter-search input[type="search"],
	.smf-filter-sheet:not([hidden]) .wd-filter-search input[type="text"] { height: 38px !important; min-height: 38px !important; padding: 0 14px 0 38px !important; border-radius: 20px !important; font: 400 var(--smf-modal-body)/var(--smf-modal-line) "Helvetica Neue", Helvetica, Arial, sans-serif !important; }
	.smf-filter-sheet:not([hidden]) .wd-filter-search::before { left: 13px !important; top: 10px !important; width: 12px !important; height: 12px !important; }
	.smf-filter-sheet:not([hidden]) .wd-filter-search::after { left: 25px !important; top: 23px !important; width: 6px !important; }
	.smf-filter-sheet:not([hidden]) .smf-view-az-link { margin: 0 0 10px !important; font: 400 var(--smf-modal-body)/var(--smf-modal-line) "Helvetica Neue", Helvetica, Arial, sans-serif !important; }
	.smf-filter-sheet:not([hidden]) .smf-filter-sheet__footer { flex-basis: 64px !important; height: 64px !important; padding: 0 20px !important; }
	.smf-filter-sheet:not([hidden]) .smf-filter-sheet__clear { font: 400 var(--smf-modal-body)/var(--smf-modal-line) "Helvetica Neue", Helvetica, Arial, sans-serif !important; }
	.smf-filter-sheet:not([hidden]) .smf-filter-sheet__apply { min-height: 46px !important; height: 46px !important; padding: 0 24px !important; font: 700 var(--smf-modal-body)/var(--smf-modal-line) "Helvetica Neue", Helvetica, Arial, sans-serif !important; }
}

@media (max-width: 1000px) {
	/* Hide WoodMart native mobile off-canvas drawer & triggers on mobile */
	.website-wrapper > .wd-sidebar,
	.main-page-wrapper aside.wd-sidebar,
	.wd-show-sidebar-btn,
	.wd-sidebar-opener,
	[data-show-sidebar] {
		display: none !important;
	}

	.smf-mobile-filter-bar { box-sizing: border-box; display: block !important; position: relative; width: 100%; max-width: 100%; margin: 0 0 14px; overflow: hidden; background: #fff; border: 0; z-index: 3; }
	.smf-mobile-filter-bar::after { content: ""; position: absolute; right: 0; top: 0; width: 34px; height: 36px; pointer-events: none; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.86) 72%, #fff); }
	.smf-mobile-filter-bar__scroll { display: flex; align-items: center; gap: 8px; width: 100%; overflow-x: auto; overflow-y: hidden; padding: 0 34px 4px 0; white-space: nowrap; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
	.smf-mobile-filter-bar__scroll::-webkit-scrollbar { display: none; }
	.woocommerce .woocommerce-result-count { display: none !important; }
	
	/* Horizontal Filter Bar Pill Buttons */
	.wd-shop-tools nav.smf-mobile-filter-bar .smf-filter-pill,
	nav.smf-mobile-filter-bar .smf-filter-pill {
		appearance: none;
		-webkit-appearance: none;
		box-sizing: border-box;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		flex: 0 0 auto;
		min-height: 32px;
		height: 32px;
		padding-left: 12px;
		padding-right: 12px;
		gap: 6px;
		border: 1px solid #e0e0e0;
		border-radius: 9999px;
		color: #111111;
		background-color: #f7f7f7;
		font: inherit;
		font-size: 12.5px;
		font-weight: 600;
		line-height: 1;
		letter-spacing: 0;
		text-align: center;
		text-transform: none;
		white-space: nowrap;
		cursor: pointer;
		transition: background-color .2s, border-color .2s;
	}
	.wd-shop-tools nav.smf-mobile-filter-bar .smf-filter-pill--categories,
	nav.smf-mobile-filter-bar .smf-filter-pill--categories { width: 32px; min-width: 32px; padding: 0; border-radius: 50%; }
	.smf-filter-pill--categories .smf-filter-pill__label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
	.smf-filter-pill__icon { width: 16px; height: 16px; flex: 0 0 16px; }
	.smf-filter-pill__chevron { width: 10px; height: 10px; flex: 0 0 10px; }
	.smf-mobile-filter-bar .smf-filter-pill__icon,
	.smf-mobile-filter-bar .smf-filter-pill__chevron { display: block !important; overflow: visible !important; max-width: none !important; }
	.smf-mobile-filter-bar .smf-filter-pill__icon { width: 16px !important; min-width: 16px !important; height: 16px !important; min-height: 16px !important; flex: 0 0 16px !important; }
	.smf-mobile-filter-bar .smf-filter-pill__icon path,
	.smf-mobile-filter-bar .smf-filter-pill__icon circle { vector-effect: non-scaling-stroke; }
	.smf-filter-pill.is-active { color: #000; background: #eef2f2; border-color: #000; }
	.smf-filter-sheet .smf-pending-active .smf-checkbox-control,
	.smf-desktop-panel .smf-pending-active .smf-checkbox-control { border-color: #111 !important; background: #111 !important; box-shadow: inset 0 0 0 3px #fff !important; }
	.smf-filter-sheet__dialog.smf-is-loading { cursor: progress; }
	.smf-filter-sheet__dialog.smf-is-loading::after { content: "Updating results…"; position: absolute; inset: 58px 0 64px; z-index: 20; display: flex; align-items: center; justify-content: center; background: rgba(247,249,252,.78); color: #111; font: 400 14px/18px "Helvetica Neue", Helvetica, Arial, sans-serif; pointer-events: none; }
	.smf-filter-pill:focus-visible, .smf-filter-sheet button:focus-visible, .smf-filter-sheet input:focus-visible { outline: 2px solid #000; outline-offset: 2px; }
	.smf-filter-pill:active { background: #e5e5e5; }
	.smf-whatsapp-suppressed { display: none !important; }
	
	/* Drawer Backdrop Overlay */
	.smf-filter-sheet[hidden] { display: none !important; }
	.smf-filter-sheet { display: block !important; position: fixed !important; inset: 0 !important; z-index: 2147483000 !important; }
	.smf-filter-sheet__backdrop { position: absolute !important; inset: 0 !important; background: rgba(0, 0, 0, 0.22) !important; }
	
	/* Sephora Drawer Sheet Container: Starts below horizontal pill row (top: 20vh), subtle corner rounding (4px) */
	.smf-filter-sheet__dialog {
		position: absolute !important;
		left: 0 !important;
		right: 0 !important;
		bottom: 0 !important;
		top: 20vh !important;
		display: flex !important;
		flex-direction: column !important;
		background: #ffffff !important;
		color: #111111 !important;
		font-family: inherit !important;
		border-radius: 4px 4px 0 0 !important;
		box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12) !important;
		overflow: hidden !important;
		margin: 0 !important;
		padding: 0 !important;
		border: none !important;
	}
	
	/* Sephora Header: Pure white, centered title, clean unboxed X on right */
	.smf-filter-sheet__header {
		position: relative !important;
		flex: 0 0 46px !important;
		height: 46px !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		border-bottom: 1px solid #eeeeee !important;
		background: #ffffff !important;
		padding: 0 16px !important;
		z-index: 5 !important;
		margin: 0 !important;
		box-shadow: none !important;
	}
	.smf-filter-sheet__header h2 {
		margin: 0 !important;
		padding: 0 !important;
		font-size: 15px !important;
		line-height: 1.2 !important;
		font-weight: 700 !important;
		color: #000000 !important;
		text-align: center !important;
		text-transform: none !important;
		background: transparent !important;
		border: none !important;
	}
	.smf-filter-sheet__close {
		position: absolute !important;
		right: 12px !important;
		top: 50% !important;
		transform: translateY(-50%) !important;
		width: 32px !important;
		height: 32px !important;
		padding: 0 !important;
		margin: 0 !important;
		border: none !important;
		background: transparent !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		color: #000000 !important;
		cursor: pointer !important;
		border-radius: 0 !important;
		box-shadow: none !important;
		outline: none !important;
	}
	.smf-filter-sheet__close svg { width: 18px !important; height: 18px !important; stroke-width: 1.8 !important; stroke: #000000 !important; }
	
	/* Middle Scrollable Container */
	.smf-filter-sheet__scroll {
		flex: 1 1 auto !important;
		overflow-y: auto !important;
		background: #ffffff !important;
		padding: 0 0 16px 0 !important;
		margin: 0 !important;
		-webkit-overflow-scrolling: touch !important;
	}
	.smf-filter-sheet__loading { padding: 20px 16px; color: #777; font-size: 13.5px; text-align: center; }
	.smf-filter-sheet__loading:empty { display: none; }

	/* Reset WoodMart sidebar wrappers inside drawer */
	.smf-filter-sheet .wd-sidebar,
	.smf-filter-sheet aside.wd-sidebar,
	.smf-filter-sheet .wd-sidebar.sidebar-container,
	.smf-filter-sheet aside,
	.smf-filter-sheet .widget-area,
	.smf-filter-sheet .wd-scroll,
	.smf-filter-sheet .wd-scroll-content {
		position: static !important;
		inset: auto !important;
		top: auto !important;
		left: auto !important;
		right: auto !important;
		bottom: auto !important;
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		max-height: none !important;
		transform: none !important;
		opacity: 1 !important;
		visibility: visible !important;
		display: block !important;
		background: #ffffff !important;
		box-shadow: none !important;
		padding: 0 !important;
		margin: 0 !important;
		overflow: visible !important;
		border: 0 !important;
	}

	.smf-filter-sheet .wd-heading,
	.smf-filter-sheet .wd-sidebar-header,
	.smf-filter-sheet .smf-preview-drawer-header,
	.smf-filter-sheet .wd-close-side {
		display: none !important;
	}

	/* Sephora Accordion Rows */
	.smf-filter-accordion {
		border-bottom: 1px solid #eeeeee !important;
		background: #ffffff !important;
		margin: 0 !important;
		padding: 0 !important;
		box-shadow: none !important;
		border-radius: 0 !important;
	}
	.smf-filter-accordion__toggle {
		box-sizing: border-box !important;
		display: flex !important;
		align-items: center !important;
		justify-content: space-between !important;
		width: 100% !important;
		min-height: 44px !important;
		padding: 12px 16px !important;
		border: 0 !important;
		background: #ffffff !important;
		color: #000000 !important;
		font: inherit !important;
		font-size: 14px !important;
		font-weight: 700 !important;
		text-align: left !important;
		text-transform: none !important;
		cursor: pointer !important;
		margin: 0 !important;
		box-shadow: none !important;
		border-radius: 0 !important;
	}
	.smf-filter-accordion__toggle span:first-child {
		text-align: left !important;
		text-transform: none !important;
		font-size: 14px !important;
		font-weight: 700 !important;
		color: #000000 !important;
		margin: 0 !important;
		padding: 0 !important;
	}
	.smf-filter-accordion__chevron {
		width: 7px !important;
		height: 7px !important;
		border-right: 1.5px solid #000000 !important;
		border-bottom: 1.5px solid #000000 !important;
		transform: rotate(45deg) !important;
		transition: transform .2s ease !important;
		margin-left: auto !important;
		margin-right: 2px !important;
		flex: 0 0 auto !important;
		background: transparent !important;
	}
	.smf-filter-accordion.is-open .smf-filter-accordion__chevron { transform: rotate(-135deg) !important; }
	
	/* Accordion Content Container */
	.smf-filter-accordion__content {
		padding: 4px 16px 14px 16px !important;
		background: #ffffff !important;
		margin: 0 !important;
		border: none !important;
	}
	.smf-filter-accordion__content[hidden] { display: none !important; }
	
	.smf-native-widget-title { display: none !important; }

	/* Force visibility of inner WoodMart filter lists */
	.smf-filter-accordion.is-open .wd-filter-wrapper,
	.smf-filter-accordion.is-open .wd-scroll,
	.smf-filter-accordion.is-open .wd-filter-list,
	.smf-filter-accordion.is-open .wd-filter-search {
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
		background: #ffffff !important;
	}
	
	/* Sephora 2-Column Option Density */
	.smf-filter-accordion--live .wd-scroll { max-height: 45vh !important; overflow-y: auto !important; }
	
	.smf-filter-accordion--live ul.product-categories,
	.smf-filter-accordion--live ul.wd-filter-list,
	.smf-filter-accordion--live ul {
		margin: 0 !important;
		padding: 4px 0 !important;
		list-style: none !important;
		display: grid !important;
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 8px 14px !important;
		width: 100% !important;
	}
	.smf-filter-accordion--live li {
		margin: 0 !important;
		padding: 0 !important;
		border-bottom: 0 !important;
	}
	.smf-filter-accordion--live li a,
	.smf-filter-accordion--live li label {
		display: flex !important;
		align-items: center !important;
		gap: 8px !important;
		min-height: 28px !important;
		padding: 2px 0 !important;
		color: #111111 !important;
		font-size: 13px !important;
		text-decoration: none !important;
		text-transform: none !important;
		font-weight: 400 !important;
		line-height: 1.3 !important;
	}
	.smf-filter-accordion--live li a:hover,
	.smf-filter-accordion--live li a.smf-pending-active { color: #000000 !important; font-weight: 600 !important; }
	
	/* Sephora Checkbox Controls */
	.smf-checkbox-control {
		box-sizing: border-box !important;
		width: 16px !important;
		height: 16px !important;
		flex: 0 0 16px !important;
		border: 1.5px solid #757575 !important;
		border-radius: 3px !important;
		background: #ffffff !important;
		margin-right: 6px !important;
		display: inline-block !important;
		vertical-align: middle !important;
		transition: all 0.15s ease !important;
	}
	.smf-pending-active .smf-checkbox-control,
	.chosen .smf-checkbox-control,
	input:checked + .smf-checkbox-control {
		border-color: #000000 !important;
		background: #000000 !important;
		position: relative !important;
	}
	.smf-pending-active .smf-checkbox-control::after,
	.chosen .smf-checkbox-control::after,
	input:checked + .smf-checkbox-control::after {
		content: '' !important;
		position: absolute !important;
		left: 4px !important;
		top: 1px !important;
		width: 4px !important;
		height: 7px !important;
		border: solid #ffffff !important;
		border-width: 0 2px 2px 0 !important;
		transform: rotate(45deg) !important;
	}

	/* Sephora Full-Width Search Input inside Large Filters */
	.smf-filter-accordion--live .wd-filter-search {
		position: relative !important;
		width: 100% !important;
		margin: 4px 0 12px 0 !important;
		padding: 0 !important;
		background: transparent !important;
		border: 0 !important;
	}
	.smf-filter-accordion--live .wd-filter-search::before {
		content: '' !important;
		position: absolute !important;
		left: 12px !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' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") !important;
		background-repeat: no-repeat !important;
		background-size: contain !important;
		pointer-events: none !important;
		opacity: 0.6 !important;
		z-index: 2 !important;
	}
	.smf-filter-accordion--live input[type="search"],
	.smf-filter-accordion--live input[type="text"] {
		width: 100% !important;
		box-sizing: border-box !important;
		height: 36px !important;
		min-height: 36px !important;
		padding: 0 12px 0 34px !important;
		margin: 0 !important;
		border: 1px solid #dcdcdc !important;
		border-radius: 9999px !important;
		font-size: 13px !important;
		background: #ffffff !important;
		color: #111111 !important;
		outline: none !important;
		box-shadow: none !important;
	}
	
	/* Compact Sort Radio Options in 2 Columns */
	.smf-sort-options {
		display: grid !important;
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 8px 14px !important;
		padding: 4px 0 !important;
		width: 100% !important;
	}
	.smf-choice {
		position: relative !important;
		display: flex !important;
		align-items: center !important;
		gap: 8px !important;
		min-height: 28px !important;
		padding: 2px 0 !important;
		color: #111111 !important;
		font-size: 13px !important;
		font-weight: 400 !important;
		text-transform: none !important;
		cursor: pointer !important;
		margin: 0 !important;
	}
	.smf-choice input { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
	.smf-choice__control {
		box-sizing: border-box !important;
		width: 16px !important;
		height: 16px !important;
		flex: 0 0 16px !important;
		border: 1.5px solid #757575 !important;
		border-radius: 50% !important;
		background: #ffffff !important;
		transition: all 0.15s ease !important;
	}
	.smf-choice input:checked + .smf-choice__control {
		border-color: #000000 !important;
		background: #000000 !important;
		box-shadow: inset 0 0 0 3px #ffffff !important;
	}
	.smf-choice__label { text-transform: none !important; font-size: 13px !important; color: #111111 !important; }
	
	/* Sephora Footer */
	.smf-filter-sheet__footer {
		position: sticky !important;
		bottom: 0 !important;
		flex: 0 0 56px !important;
		height: 56px !important;
		display: flex !important;
		align-items: center !important;
		justify-content: space-between !important;
		padding: 0 16px !important;
		border-top: 1px solid #eeeeee !important;
		background: #ffffff !important;
		z-index: 10 !important;
		margin: 0 !important;
		box-shadow: none !important;
	}
	.smf-filter-sheet__footer button { font: inherit !important; cursor: pointer !important; margin: 0 !important; }
	.smf-filter-sheet__clear {
		padding: 6px 0 !important;
		border: none !important;
		background: transparent !important;
		color: #0066cc !important;
		font-size: 13px !important;
		font-weight: 400 !important;
		text-transform: none !important;
		text-decoration: none !important;
		box-shadow: none !important;
		border-radius: 0 !important;
	}
	.smf-filter-sheet__apply {
		min-height: 38px !important;
		height: 38px !important;
		padding: 0 22px !important;
		border: none !important;
		border-radius: 9999px !important;
		background: #000000 !important;
		color: #ffffff !important;
		font-size: 13.5px !important;
		font-weight: 700 !important;
		text-transform: none !important;
		white-space: nowrap !important;
		box-shadow: none !important;
		width: auto !important;
	}
	
	body.smf-filter-open { overflow: hidden !important; }
}
.smf-desktop-results-loading .wd-content-area {
    opacity: .45;
    pointer-events: none;
    transition: opacity 140ms ease;
}

.smf-desktop-results-loading .wd-content-area::after {
    content: "Updating products…";
    position: fixed;
    z-index: 9998;
    left: calc(50% + 120px);
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 10px 16px;
    border-radius: 999px;
    background: #fff;
    color: #111;
    box-shadow: 0 4px 20px rgba(0,0,0,.12);
    font-size: 14px;
    font-weight: 600;
}

.smf-desktop-filter-error {
    margin: 8px 0;
    padding: 9px 10px;
    border-radius: 4px;
    background: #fff1f1;
    color: #8b1d1d;
    font-size: 13px;
    line-height: 1.35;
}
