/* Mobile shop filter off-canvas — custom close button (bypasses theme .mfp-close styles). */

@media screen and (max-width: 849px) {
	body.my-obl-product-list-page.my-obl-pl-filter-drawer-open button.my-obl-pl-archive-filter-close-btn {
		position: fixed;
		top: calc(max(10px, env(safe-area-inset-top, 0px)) + 12px);
		right: max(12px, env(safe-area-inset-right, 0px));
		z-index: 100010;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		min-width: 84px;
		min-height: 44px;
		padding: 10px 16px;
		margin: 0;
		border: 2px solid #591b26;
		border-radius: 4px;
		background: #591b26;
		background-color: #591b26;
		color: #ffffff;
		font-family: inherit;
		font-size: 15px;
		font-weight: 600;
		line-height: 1;
		cursor: pointer;
		box-sizing: border-box;
		box-shadow: 0 4px 14px rgba(89, 27, 38, 0.35);
		-webkit-tap-highlight-color: transparent;
		appearance: none;
		-webkit-appearance: none;
	}

	body.my-obl-product-list-page.my-obl-pl-filter-drawer-open button.my-obl-pl-archive-filter-close-btn:hover,
	body.my-obl-product-list-page.my-obl-pl-filter-drawer-open button.my-obl-pl-archive-filter-close-btn:focus {
		background: #591b26;
		background-color: #591b26;
		border-color: #591b26;
		color: #ffffff;
		filter: brightness(1.06);
		outline: none;
	}

	body.my-obl-product-list-page.my-obl-pl-filter-drawer-open .my-obl-pl-archive-filter-close-btn__icon,
	body.my-obl-product-list-page.my-obl-pl-filter-drawer-open .my-obl-pl-archive-filter-close-btn__label {
		color: #ffffff;
		font-size: 15px;
		font-weight: 600;
		line-height: 1;
	}

	body.my-obl-product-list-page.my-obl-pl-filter-drawer-open .my-obl-pl-archive-filter-close-btn__icon {
		font-size: 18px;
	}

	body.my-obl-product-list-page button.my-obl-pl-archive-filter-close-btn[hidden] {
		display: none !important;
	}

	body.my-obl-product-list-page .mfp-wrap.my-obl-pl-archive-filter-panel .mfp-close.my-obl-pl-archive-filter-close--native {
		position: absolute !important;
		width: 1px !important;
		height: 1px !important;
		padding: 0 !important;
		margin: -1px !important;
		overflow: hidden !important;
		clip: rect(0, 0, 0, 0) !important;
		white-space: nowrap !important;
		border: 0 !important;
		opacity: 0 !important;
		pointer-events: none !important;
	}

	body.my-obl-product-list-page.my-obl-pl-filter-drawer-open .mfp-wrap.my-obl-pl-archive-filter-panel #shop-sidebar {
		padding-top: 58px;
		box-sizing: border-box;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.my-obl-product-list-page button.my-obl-pl-archive-filter-close-btn {
		transition: none;
	}
}
