/**
 * Hartefakto Markets — selector flotante.
 */

.hfm-selector {
	--hfm-bg: #ffffff;
	--hfm-fg: #1d2327;
	--hfm-muted: #646970;
	--hfm-border: rgba(0, 0, 0, 0.12);
	--hfm-accent: #111111;
	--hfm-accent-soft: rgba(17, 17, 17, 0.06);
	--hfm-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
	position: fixed;
	z-index: 99990;
	font-size: 14px;
	line-height: 1.35;
	font-family: inherit;
	color: var(--hfm-fg);
}

.hfm-selector .screen-reader-text {
	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;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.hfm-selector--bottom-right {
	right: max(16px, env(safe-area-inset-right));
	bottom: max(16px, env(safe-area-inset-bottom));
}

.hfm-selector--bottom-left {
	left: max(16px, env(safe-area-inset-left));
	bottom: max(16px, env(safe-area-inset-bottom));
}

.hfm-selector--top-right {
	right: max(16px, env(safe-area-inset-right));
	top: max(16px, env(safe-area-inset-top));
}

.hfm-selector--top-left {
	left: max(16px, env(safe-area-inset-left));
	top: max(16px, env(safe-area-inset-top));
}

.hfm-selector__details {
	position: relative;
}

.hfm-selector__toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-width: 34px;
	min-height: 28px;
	gap: 0;
	padding: 3px;
	margin: 0;
	border: 1px solid var(--hfm-border);
	border-radius: 0;
	background: rgba(255, 255, 255, 0.76);
	color: var(--hfm-fg);
	box-shadow: none;
	cursor: pointer;
	list-style: none;
	position: relative;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
	font-family: inherit;
	transition: background-color 0.18s ease;
}

.hfm-selector__toggle::-webkit-details-marker {
	display: none;
}

.hfm-selector__toggle:hover {
	background: #f2f2f2;
}

.hfm-selector__current-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.02em;
	max-width: 105px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hfm-selector__toggle:focus-visible,
.hfm-selector__option:focus-visible {
	outline: 3px solid var(--hfm-accent);
	outline-offset: 3px;
}

.hfm-selector__flag {
	display: inline-flex;
	flex: 0 0 auto;
}

.hfm-flag {
	display: block;
	width: 30px;
	height: 20px;
	border-radius: 3px;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.14);
}

.hfm-selector .hfm-flag {
	width: 26px;
	height: auto;
}

.hfm-flag--globe {
	width: 24px;
	height: 24px;
	box-shadow: none;
}

.hfm-selector__code {
	padding: 3px 5px;
	border-radius: 4px;
	background: var(--hfm-accent-soft);
	color: var(--hfm-accent);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.03em;
}

.hfm-selector__panel {
	position: absolute;
	left: 50%;
	right: auto;
	bottom: calc(100% + 8px);
	width: auto;
	min-width: 0;
	max-width: min(90vw, 112px);
	max-height: min(70vh, 520px);
	overflow: auto;
	padding: 6px;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 0;
	background: rgba(255, 255, 255, 0.78);
	color: var(--hfm-fg);
	box-shadow: 0 5px 18px rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	transform: translateX(-50%);
}

.hfm-selector__title {
	display: none !important;
}

.hfm-selector__title {
	margin: 0 0 8px;
	font-family: inherit;
	font-size: 11px;
	font-weight: 500;
}

.hfm-selector__list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hfm-selector__option {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	min-height: 27px;
	gap: 0;
	padding: 2px;
	border: 1px solid transparent;
	border-radius: 0;
	color: inherit;
	text-decoration: none;
	transition: background 0.15s ease;
}

.hfm-selector__option:hover,
.hfm-selector__option:focus-visible {
	background: #f4f2ee;
	color: inherit;
	text-decoration: none;
}

.hfm-selector__option.is-current {
	border-color: #e8e6e1;
	background: rgba(0, 0, 0, 0.05);
}

.hfm-selector__option.is-unavailable {
	color: var(--hfm-muted);
	cursor: default;
}

.hfm-payment-instructions {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin: 18px 0;
	padding: clamp(20px, 2.5vw, 26px);
	border: 1px solid #e8e6e1;
	background: #fbfaf8;
	color: #111;
	font-family: inherit;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

.hfm-payment-instructions,
.hfm-payment-instructions * {
	font-family: inherit !important;
}

.hfm-payment-instructions h2 {
	margin: 0 0 14px;
	font-family: inherit;
	font-size: clamp(14px, 1.1vw, 16px);
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: .035em;
	text-transform: uppercase;
}

.hfm-payment-instructions__total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 10px;
	padding: 11px 0 13px;
	border-bottom: 1px solid #e8e6e1;
	background: transparent;
	color: #555;
	font-size: 13px;
	line-height: 1.35;
}

.hfm-payment-instructions__total strong {
	font-size: 10px;
	font-weight: 500;
	letter-spacing: .055em;
	text-transform: uppercase;
}

.hfm-payment-instructions__total code {
	padding: 0;
	background: transparent;
	color: #777;
	font-size: 11px;
}

.hfm-payment-instructions__amount {
	color: #111;
	font-size: 15px;
	font-weight: 500;
}

.hfm-payment-instructions__details {
	margin: 12px 0 18px;
	border-top: 1px solid #e8e6e1;
}

.hfm-payment-instructions__details > div {
	display: grid;
	grid-template-columns: minmax(92px, .72fr) minmax(0, 2fr);
	align-items: center;
	gap: 10px;
	padding: 14px 0;
	border-bottom: 1px solid #eeece8;
}

.hfm-payment-instructions__details dt {
	color: #666;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: .045em;
	text-transform: uppercase;
}

.hfm-payment-instructions__details dd {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	min-width: 0;
	font-family: inherit;
	font-weight: 400;
	line-height: 1.4;
	word-break: break-word;
}

.hfm-payment-instructions__details dd span {
	font-size: 14px;
	font-weight: 400 !important;
	letter-spacing: normal;
	line-height: 1.5;
}

.hfm-copy-button {
	flex: 0 0 auto;
	padding: 5px 8px;
	border: 0;
	background: transparent;
	color: #666;
	font-family: inherit;
	font-size: 9px;
	font-weight: 500;
	letter-spacing: .035em;
	text-transform: uppercase;
	cursor: pointer;
}

.hfm-copy-button:hover,
.hfm-copy-button:focus-visible {
	background: #efede9;
	color: #111;
}

.hfm-payment-instructions > p:not(.hfm-payment-instructions__total):not(.hfm-payment-instructions__notice) {
	margin: 20px 0 0;
	color: #555;
	font-weight: 400;
	line-height: 1.55;
}

.hfm-payment-instructions__merchant-note {
	margin-bottom: 0 !important;
}

.hfm-payment-instructions__qr {
	display: block;
	width: min(240px, 100%);
	max-width: 100%;
	height: auto;
	margin: 0 auto;
	padding: 0;
	border: 0;
	background: #fff;
}

.hfm-payment-instructions--qr {
	width: min(100%, 680px);
	margin: 22px auto;
	padding: clamp(22px, 4vw, 36px);
}

.hfm-payment-instructions__qr-wrap {
	box-sizing: border-box;
	display: flex;
	width: min(100%, 440px);
	max-width: 100%;
	margin: 22px auto 18px;
	padding: 22px 18px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	background: #fff;
	text-align: center;
}

.hfm-payment-instructions__qr-caption {
	width: 100%;
	margin: 0;
	color: #666;
	font-size: 11px;
	font-weight: 400;
	line-height: 1.45;
	text-align: center;
}

.woocommerce-checkout #payment ul.payment_methods li.payment_method_hfm_qr_pe > .payment_box {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	margin-inline: auto;
	padding-inline: 0 !important;
}

.hfm-payment-instructions__notice {
	margin: 18px 0 0 !important;
	padding: 14px 15px;
	border-left: 1px solid rgba(17, 17, 17, .18);
	background: rgba(17, 17, 17, .035);
	color: #555;
	font-size: 10px;
	line-height: 1.45;
	font-weight: 400;
}

.hfm-payment-instructions__details .is-readonly .hfm-copy-button {
	display: none !important;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method {
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	min-width: 0;
	width: 100%;
	margin: 0;
	padding: 13px 0;
	border-bottom: 1px solid #eeece8;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method > label {
	flex: 1 1 0;
	min-width: 0;
	max-width: calc(100% - 25px);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .015em;
	line-height: 1.4;
	white-space: normal;
	word-break: normal;
	overflow-wrap: anywhere;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method input[type="radio"] {
	appearance: none !important;
	-webkit-appearance: none !important;
	box-sizing: border-box;
	display: inline-grid;
	place-content: center;
	width: 15px !important;
	min-width: 15px !important;
	height: 15px !important;
	min-height: 15px !important;
	margin: 0 9px 0 0 !important;
	padding: 0 !important;
	border: 1px solid #aaa !important;
	border-radius: 50% !important;
	background: #fff !important;
	box-shadow: none !important;
	vertical-align: -3px;
	cursor: pointer;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method input[type="radio"]::before {
	width: 7px !important;
	height: 7px !important;
	border-radius: 50%;
	background: #111;
	content: '';
	transform: scale(0);
	transition: transform .12s ease;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method input[type="radio"]:checked {
	border-color: #111;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method input[type="radio"]:checked::before {
	transform: scale(1);
}

.woocommerce-checkout #payment div.payment_box {
	margin: 12px 0 2px;
	padding: 0;
	border: 0;
	background: transparent;
}

.woocommerce-checkout #payment div.payment_box::before {
	display: none;
}

.hfm-tracking,
.hfm-tracking-access {
	max-width: 760px;
	margin: 24px auto;
	padding: 18px 0;
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
	color: #000;
	font: 13px/1.5 Arial, sans-serif;
}

.hfm-tracking h2,
.hfm-tracking h3,
.hfm-tracking-access h2 {
	font: 900 15px/1.2 Arial Black, Arial, sans-serif;
	text-transform: uppercase;
}

.hfm-tracking__form {
	display: grid;
	gap: 12px;
	max-width: 460px;
}

.hfm-tracking__form label {
	display: grid;
	gap: 5px;
	font-weight: 700;
}

.hfm-tracking__form input {
	min-height: 42px;
	padding: 8px 10px;
	border: 1px solid #000;
	border-radius: 0;
	background: #fff;
	color: #000;
}

.hfm-tracking__form button {
	min-height: 44px;
	padding: 10px 16px;
	border: 1px solid #000;
	border-radius: 0;
	background: #000;
	color: #fff;
	font: 900 11px Arial Black, Arial, sans-serif;
	text-transform: uppercase;
	cursor: pointer;
}

.hfm-tracking__result dl {
	margin: 14px 0;
}

.hfm-tracking__result dl > div {
	display: grid;
	grid-template-columns: minmax(150px, 1fr) 2fr;
	gap: 10px;
	padding: 8px 0;
	border-bottom: 1px solid #d0d0d0;
}

.hfm-tracking__result dd {
	margin: 0;
	font-family: Courier New, monospace;
	word-break: break-word;
}

.hfm-tracking__history {
	padding-left: 20px;
}

.hfm-tracking__history li {
	margin: 10px 0;
}

.hfm-tracking__history time {
	font-family: Courier New, monospace;
}

.hfm-tracking-access code {
	font: 12px Courier New, monospace;
	word-break: break-all;
}

.hfm-selector__option-flag {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 30px;
}

.hfm-selector__option-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
	flex: 1 1 auto;
}

.hfm-selector__option-text strong {
	font-size: 13px;
	font-weight: 600;
}

.hfm-selector__option-meta {
	font-size: 11px;
	color: var(--hfm-muted);
}

.hfm-selector__check {
	display: inline-flex;
	width: 13px;
	color: var(--hfm-accent);
}

.hfm-selector__check svg {
	display: block;
	width: 100%;
	height: auto;
}

.hfm-selector__suggestion-badge {
	position: absolute;
	top: 3px;
	right: 2px;
	width: 11px;
	height: 11px;
	border: 2px solid var(--hfm-bg);
	border-radius: 50%;
	background: #c62828;
	font-size: 0;
	line-height: 0;
}

.hfm-selector__suggestion {
	margin-top: 10px;
	padding: 10px;
	border-radius: 9px;
	background: rgba(0, 115, 170, 0.08);
	font-size: 12px;
}

.hfm-selector__suggestion[hidden] {
	display: none;
}

.hfm-selector__suggestion button {
	margin-top: 6px;
	padding: 5px 9px;
	border: 1px solid currentColor;
	border-radius: 6px;
	background: transparent;
	color: inherit;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.hfm-selector__suggestion-dismiss {
	margin-left: 4px;
	border: 0 !important;
	font-weight: 400 !important;
	text-decoration: underline;
}

.hfm-selector__details[open] .hfm-selector__toggle {
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.hfm-selector [aria-busy="true"] {
	opacity: 0.65;
	pointer-events: none;
}

.hfm-price-unavailable {
	display: inline-block;
	font-size: 0.9em;
	color: #8a1f11;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (prefers-color-scheme: dark) {
	.hfm-selector {
		--hfm-bg: #1d2327;
		--hfm-fg: #f0f0f1;
		--hfm-muted: #b4b9be;
		--hfm-border: rgba(255, 255, 255, 0.16);
		--hfm-accent: #ffffff;
		--hfm-accent-soft: rgba(255, 255, 255, 0.1);
		--hfm-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
	}

	.hfm-selector__toggle,
	.hfm-selector__panel {
		border-color: rgba(255, 255, 255, 0.16);
		background: rgba(29, 35, 39, 0.78);
	}
}

@media (max-width: 480px) {
	.hfm-selector__toggle {
		min-width: 34px;
		min-height: 28px;
		padding: 3px;
	}

	.hfm-payment-instructions__details > div {
		grid-template-columns: 1fr;
		gap: 6px;
	}

	.hfm-payment-instructions {
		box-sizing: border-box;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		margin: 14px 0;
		padding: 16px;
		overflow: hidden;
	}

	.hfm-payment-instructions--qr {
		width: 100%;
		margin: 16px auto;
		padding: 20px 16px;
	}

	.hfm-payment-instructions__qr-wrap {
		width: 100%;
		margin: 18px auto 14px;
		padding: 18px 12px;
	}

	.hfm-payment-instructions__qr {
		width: min(240px, 100%);
	}

	.hfm-payment-instructions h2 {
		margin-bottom: 12px;
		font-size: 14px;
		letter-spacing: .035em;
	}

	.hfm-payment-instructions__total {
		padding: 12px 0 14px;
	}

	.hfm-payment-instructions__details > div {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		align-items: start;
		gap: 6px;
		padding: 14px 0;
	}

	.hfm-payment-instructions__details dt {
		grid-column: 1 / -1;
		font-size: 9px;
	}

	.hfm-payment-instructions__details dd {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: start;
		gap: 4px 8px;
		width: 100%;
		max-width: 100%;
		font-size: 13px;
		line-height: 1.45;
	}

	.hfm-payment-instructions__details dd span {
		grid-column: 1;
		font-size: 13px;
		min-width: 0;
		max-width: 100%;
		overflow-wrap: anywhere;
		word-break: break-word;
	}

	.hfm-copy-button {
		grid-column: 2;
		grid-row: 1;
		padding: 4px 0 4px 6px;
		font-size: 8px;
	}

	.hfm-payment-instructions__total {
		align-items: flex-start;
		flex-wrap: wrap;
		gap: 5px 10px;
	}

	.hfm-payment-instructions__amount {
		max-width: 100%;
		font-size: 14px;
		white-space: normal;
	}

	.hfm-payment-instructions__notice,
	.hfm-payment-instructions > p:not(.hfm-payment-instructions__total):not(.hfm-payment-instructions__notice) {
		font-size: 10px;
		line-height: 1.5;
	}

	.hfm-payment-instructions__notice {
		margin-top: 24px !important;
		padding: 12px 13px;
	}

	.hfm-tracking__result dl > div {
		grid-template-columns: 1fr;
		gap: 3px;
	}
}

@media (max-width: 600px) {
	.hfm-payment-instructions {
		box-sizing: border-box;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		margin: 12px 0 0;
		padding: 16px;
	}

	.hfm-payment-instructions--qr {
		padding: 20px 16px;
	}

	.hfm-payment-instructions__details,
	.hfm-payment-instructions__details > div,
	.hfm-payment-instructions__details dt,
	.hfm-payment-instructions__details dd,
	.hfm-payment-instructions__details dd span {
		box-sizing: border-box;
		min-width: 0;
		max-width: 100%;
	}

	.hfm-payment-instructions__details dd span {
		overflow-wrap: anywhere;
		word-break: break-word;
	}
}

.woocommerce-checkout-review-order-table {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
	box-sizing: border-box;
	vertical-align: middle;
}

.woocommerce-checkout-review-order-table th.product-name,
.woocommerce-checkout-review-order-table td.product-name {
	width: 72%;
	text-align: left;
}

.woocommerce-checkout-review-order-table th.product-total,
.woocommerce-checkout-review-order-table td.product-total {
	width: 28%;
	text-align: right;
	white-space: nowrap;
}

.woocommerce-checkout-review-order-table td.product-name {
	line-height: 1.4;
	white-space: normal;
	word-break: normal;
	overflow-wrap: anywhere;
}

.woocommerce-checkout-review-order-table td.product-name img,
.woocommerce-checkout-review-order-table td.product-name .product-thumbnail,
.woocommerce-checkout-review-order-table td.product-name .wc-block-components-product-image {
	position: static !important;
	float: none !important;
	display: inline-block !important;
	vertical-align: middle !important;
	width: 52px !important;
	max-width: 24% !important;
	height: auto !important;
	margin: 0 10px 6px 0 !important;
	transform: none !important;
}

.woocommerce-checkout-review-order-table td.product-name > a,
.woocommerce-checkout-review-order-table td.product-name > span,
.woocommerce-checkout-review-order-table td.product-name .product-thumbnail a {
	position: static !important;
	float: none !important;
	transform: none !important;
}

.woocommerce-checkout-review-order-table td.product-name img {
	object-fit: contain;
}

.woocommerce-checkout-review-order-table .shipping td {
	text-align: left;
	white-space: normal;
}

.woocommerce-checkout-review-order-table #shipping_method {
	margin: 6px 0;
	padding: 0;
	list-style: none;
}

.woocommerce-checkout-review-order-table #shipping_method li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 8px 0;
	line-height: 1.4;
}

.woocommerce-checkout-review-order-table #shipping_method input {
	flex: 0 0 auto;
	margin: 2px 0 0;
}

.woocommerce-checkout-review-order-table #shipping_method label {
	min-width: 0;
	font-size: 0.92em;
	font-weight: 400;
	line-height: 1.4;
}

@media (min-width: 601px) {
	.woocommerce-checkout-review-order-table th,
	.woocommerce-checkout-review-order-table td {
		padding: 12px 10px;
	}

	.woocommerce-checkout-review-order-table td.product-name img,
	.woocommerce-checkout-review-order-table td.product-name .product-thumbnail,
	.woocommerce-checkout-review-order-table td.product-name .wc-block-components-product-image {
		width: 48px !important;
	}
}

@media (max-width: 600px) {
	body.woocommerce-checkout {
		width: 100%;
		max-width: 100%;
		overflow-x: clip;
	}

	body.woocommerce-checkout #page,
	body.woocommerce-checkout .site {
		box-sizing: border-box;
		width: 100%;
		max-width: 100%;
		margin-right: 0;
		margin-left: 0;
	}

	body.woocommerce-checkout form.checkout,
	body.woocommerce-checkout #customer_details,
	body.woocommerce-checkout #order_review,
	body.woocommerce-checkout .woocommerce-checkout-review-order,
	body.woocommerce-checkout #payment {
		box-sizing: border-box;
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}

	.woocommerce-checkout-review-order-table th,
	.woocommerce-checkout-review-order-table td {
		padding: 10px 4px;
	}

	.woocommerce-checkout-review-order-table th.product-name,
	.woocommerce-checkout-review-order-table td.product-name {
		width: 70%;
	}

	.woocommerce-checkout-review-order-table th.product-total,
	.woocommerce-checkout-review-order-table td.product-total {
		width: 30%;
		font-size: 0.92em;
	}

	.woocommerce-checkout-review-order-table td.product-name img,
	.woocommerce-checkout-review-order-table td.product-name .product-thumbnail,
	.woocommerce-checkout-review-order-table td.product-name .wc-block-components-product-image {
		width: 46px !important;
		max-width: 22% !important;
		margin-right: 8px !important;
	}

	.woocommerce-checkout-review-order-table .cart_item > td {
		padding-top: 12px;
		padding-bottom: 12px;
	}

	.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method {
		gap: 5px 0;
		padding: 12px 0;
	}

	.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method > label {
		font-size: 13px;
	}

	.woocommerce-checkout-review-order-table #shipping_method li {
		gap: 7px;
	}
}

@media (max-width: 480px) {
	.hfm-selector--bottom-right {
		right: max(12px, env(safe-area-inset-right));
		bottom: max(12px, env(safe-area-inset-bottom));
	}

	.hfm-selector--bottom-left {
		left: max(12px, env(safe-area-inset-left));
		bottom: max(12px, env(safe-area-inset-bottom));
	}

	.hfm-selector--top-right {
		right: max(12px, env(safe-area-inset-right));
		top: max(12px, env(safe-area-inset-top));
	}

	.hfm-selector--top-left {
		left: max(12px, env(safe-area-inset-left));
		top: max(12px, env(safe-area-inset-top));
	}

	.hfm-selector__panel {
		width: auto;
		max-width: min(calc(100vw - 24px), 112px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.hfm-selector *,
	.hfm-selector *::before,
	.hfm-selector *::after {
		transition: none !important;
		animation: none !important;
	}
}
