/* Native controls and a visible keyboard focus for the Rundhelden shop. */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible,
.rh-access :focus-visible {
	outline: 3px solid #15442f !important;
	outline-offset: 3px !important;
	box-shadow: 0 0 0 6px #fff !important;
}
#content[tabindex="-1"]:focus { outline: none; }
.rh-access, .rh-shop-links { font: 1rem/1.5 system-ui, sans-serif; }
.rh-access [hidden], .rh-shop-links [hidden], .rh-google-status:empty { display: none !important; }
.rh-access button, .rh-access select {
	font: inherit;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
}
.rh-access-trigger {
	position: fixed;
	inset-inline-start: max(10px, env(safe-area-inset-left));
	top: 46%;
	z-index: 9990;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	padding: 0 !important;
	border: 2px solid #fff !important;
	border-radius: 50% !important;
	background: #193f32 !important;
	color: #fff !important;
	box-shadow: 0 2px 8px #0004;
}
#rh-access-dialog {
	position: fixed;
	inset: auto auto max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
	margin: 0;
	padding: 0;
	width: min(24rem, calc(100% - 28px));
	max-width: calc(100% - 28px);
	max-height: calc(100dvh - 32px);
	overflow: auto;
	box-sizing: border-box;
	border: 1px solid #9aa99d;
	border-radius: .75rem;
	background: #fff;
	color: #172b22;
	box-shadow: 0 8px 44px #0004;
}
#rh-access-dialog:not([open]) { display: none; }
#rh-access-dialog::backdrop { background: rgba(9, 32, 23, .48); }
.rh-access-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .75rem;
	padding: .85rem 1rem;
	background: #eaf1e9;
	color: #183a2c;
}
.rh-access-heading h2 { margin: 0; font: 700 1.3rem/1.3 system-ui, sans-serif; color: inherit; }
.rh-access-heading form { margin: 0; }
.rh-access-close {
	display: grid; place-items: center;
	width: 44px; min-height: 44px; padding: 0 !important;
	border: 1px solid #acb9af !important; background: #fff !important; color: #183a2c !important;
	border-radius: 50% !important; font-size: 1.65rem !important;
}
.rh-access-body { display: grid; gap: .85rem; padding: 1rem; }
.rh-access-body > label { display: grid; gap: .25rem; color: #172b22; font-weight: 600; }
.rh-access-body select, .rh-access-read, .rh-access-reset {
	width: 100%; min-height: 44px; border: 1px solid #65786a !important; border-radius: .3rem !important;
	padding: .42rem .7rem !important; background: #fff !important; color: #183a2c !important;
}
.rh-access-body .rh-access-check { display: flex; align-items: center; gap: .65rem; min-height: 40px; }
.rh-access-check input { width: 1.25rem; height: 1.25rem; accent-color: #1d503a; }
.rh-access-read { color: #fff !important; background: #234f3b !important; }
.rh-access-status { color: #243b2c; font-size: .94rem; margin: 0; }
.rh-access-status:empty { display: none; }
.rh-shop-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem 1.5rem; padding: .6rem 1rem; background: #f3f6f1; color: #214132; text-align: center; }
.rh-shop-links a, .rh-shop-links button { display: inline-flex; align-items: center; min-height: 44px; color: #214132; background: none; border: 0; text-decoration: underline; padding: 0 .25rem; font: inherit; cursor: pointer; }
html[data-rh-size="large"] { --rh-text-min: 1.25rem; }
html[data-rh-size="largest"] { --rh-text-min: 1.5rem; }
html[data-rh-size] :where(main, [role="main"], header, footer, nav) :is(p, li, label, input, textarea, select, button, td, th, dt, dd, .elementor-button-text, .woocommerce-Price-amount) { font-size: max(1em, var(--rh-text-min)) !important; overflow-wrap: anywhere; }
html[data-rh-line="roomy"] { --rh-leading: 1.65; }
html[data-rh-line="wide"] { --rh-leading: 1.9; }
html[data-rh-line] body :is(p, li, label, td, th, dt, dd, h1, h2, h3, h4, h5, h6, .elementor-button-text) { line-height: var(--rh-leading) !important; }
html[data-rh-letters="roomy"] { --rh-tracking: .07em; }
html[data-rh-letters="wide"] { --rh-tracking: .13em; }
html[data-rh-letters] body :is(p, li, a, label, dt, dd, td, th, button, h1, h2, h3, h4, h5, h6) { letter-spacing: var(--rh-tracking) !important; }
html[data-rh-links] a[href] { text-decoration: underline !important; text-underline-offset: .14em; }
html[data-rh-motion] *, html[data-rh-motion] *::before, html[data-rh-motion] *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media (forced-colors: active) {
	.rh-access-trigger, .rh-access-close { border: 2px solid ButtonText !important; }
	:focus-visible { outline: 3px solid Highlight !important; }
}
@media print { .rh-access, .rh-shop-links { display: none !important; } }
