:root {
	--flowent-control-size: 40px;
}

html {
	box-sizing: border-box;
}

*,
*::before,
*::after {
	box-sizing: inherit;
}

body {
	margin: 0;
}

img,
svg,
video,
canvas {
	max-width: 100%;
	height: auto;
}

a {
	text-underline-offset: 0.15em;
}

.wp-site-blocks {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.wp-site-blocks > main {
	flex: 1 0 auto;
}

.flowent-header,
.flowent-footer {
	width: 100%;
}

.flowent-header {
	position: relative;
	z-index: 10;
}

.flowent-header .wp-block-site-logo,
.flowent-header .wp-block-site-title,
.flowent-header .wp-block-navigation,
.flowent-header .wp-block-shortcode,
.flowent-header .flowent-language-switcher,
.flowent-header .flowent-cart-link {
	min-width: 0;
}

.flowent-language-switcher {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	line-height: 1;
}

.flowent-language-switcher__link,
.flowent-cart-link {
	color: inherit;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: var(--flowent-control-size);
	min-height: var(--flowent-control-size);
	padding: 0.25rem;
	border: 1px solid transparent;
	border-radius: 999px;
}

.flowent-language-switcher__link:focus-visible,
.flowent-cart-link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.flowent-language-switcher__flag {
	font-size: 1.25rem;
	line-height: 1;
}

.flowent-cart-link {
	position: relative;
	gap: 0.25rem;
}

.flowent-cart-link__icon {
	display: block;
	width: 1.35rem;
	height: 1.35rem;
}

.flowent-cart-link__count {
	position: absolute;
	top: -0.2rem;
	right: -0.2rem;
	min-width: 1.2rem;
	height: 1.2rem;
	padding: 0 0.25rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	font-size: 0.7rem;
	line-height: 1;
	background: currentColor;
	color: Canvas;
}

.rtl .flowent-cart-link__count {
	right: auto;
	left: -0.2rem;
}

.is-style-flowent-editable-frame {
	outline: 1px solid transparent;
}

.is-style-flowent-contain img {
	object-fit: contain;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

@media (max-width: 782px) {
	.flowent-header {
		gap: 1rem;
	}

	.flowent-header-actions {
		width: auto;
	}
}
