/*
 * FoodCare Global Language Bar 1.1.2
 * Compact, responsive and isolated from the Consulting theme and site-wide CSS.
 */

#fcglb-root,
#fcglb-root *,
#fcglb-root *::before,
#fcglb-root *::after {
	box-sizing: border-box;
}

#fcglb-root {
	--fcglb-navy: #1c245a;
	--fcglb-navy-dark: #121844;
	--fcglb-orange: #faa61a;
	position: relative;
	z-index: 100000;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	margin: 0;
	color: #ffffff;
	font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif !important;
	font-size: 13px !important;
	line-height: 1.3 !important;
	text-align: left;
}

/* Prevent global theme/accessibility rules from resizing plugin controls. */
#fcglb-root button,
#fcglb-root summary,
#fcglb-root p,
#fcglb-root li,
#fcglb-root a,
#fcglb-root span,
#fcglb-root h2 {
	font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif !important;
	font-size: inherit !important;
	line-height: inherit !important;
}

#fcglb-root[hidden],
#fcglb-root [hidden] {
	display: none !important;
}

/* =========================================================
   Compact top bar
   ========================================================= */

#fcglb-bar {
	display: flex;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	min-height: 36px !important;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 4px clamp(10px, 1.5vw, 24px);
	overflow: visible;
	border: 0;
	background: var(--fcglb-navy);
	box-shadow: 0 3px 10px rgba(18, 24, 68, 0.18);
}

#fcglb-root button,
#fcglb-root summary {
	margin: 0;
	font: inherit;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
}

/* =========================================================
   Free FoodCare tools — desktop only
   ========================================================= */

#fcglb-root .fcglb-tools {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 6px;
}

#fcglb-root .fcglb-tools-label {
	color: rgba(255, 255, 255, 0.78);
	font-size: 10.5px !important;
	font-weight: 750;
	line-height: 1 !important;
	white-space: nowrap;
}

#fcglb-root .fcglb-tools-list {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 4px;
}

#fcglb-root .fcglb-tool-link {
	display: inline-flex;
	min-height: 26px;
	align-items: center;
	justify-content: center;
	padding: 4px 8px;
	border: 1px solid rgba(255, 255, 255, 0.34);
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.06);
	color: #ffffff !important;
	font-size: 10.5px !important;
	font-weight: 700;
	line-height: 1 !important;
	text-decoration: none !important;
	white-space: nowrap;
}

#fcglb-root .fcglb-tool-link:hover,
#fcglb-root .fcglb-tool-link:focus-visible {
	border-color: #ffffff;
	background: rgba(255, 255, 255, 0.14);
	color: #ffffff !important;
	outline: 2px solid rgba(250, 166, 26, 0.55);
	outline-offset: 1px;
}

#fcglb-root .fcglb-tools-menu {
	position: relative;
	display: none;
}

#fcglb-root .fcglb-tools-menu summary {
	display: inline-flex;
	min-height: 26px;
	align-items: center;
	padding: 4px 8px;
	border: 1px solid rgba(255, 255, 255, 0.38);
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.07);
	color: #ffffff;
	font-size: 10.5px !important;
	font-weight: 750;
	line-height: 1 !important;
	list-style: none;
	white-space: nowrap;
}

#fcglb-root .fcglb-tools-menu summary::-webkit-details-marker {
	display: none;
}

#fcglb-root .fcglb-tools-menu summary::after {
	margin-left: 6px;
	content: "▾";
	font-size: 9px;
}

#fcglb-root .fcglb-tools-menu[open] summary,
#fcglb-root .fcglb-tools-menu summary:hover,
#fcglb-root .fcglb-tools-menu summary:focus-visible {
	border-color: #ffffff;
	background: rgba(255, 255, 255, 0.14);
	outline: 2px solid rgba(250, 166, 26, 0.55);
	outline-offset: 1px;
}

#fcglb-root .fcglb-tools-popover {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	z-index: 30;
	display: grid;
	width: min(270px, calc(100vw - 20px));
	padding: 6px;
	border: 1px solid #d7dbea;
	border-radius: 9px;
	background: #ffffff;
	box-shadow: 0 15px 40px rgba(18, 24, 68, 0.25);
}

#fcglb-root .fcglb-tools-popover a {
	display: block;
	padding: 8px 9px;
	border-radius: 6px;
	color: var(--fcglb-navy) !important;
	font-size: 12px !important;
	font-weight: 700;
	line-height: 1.3 !important;
	text-decoration: none !important;
}

#fcglb-root .fcglb-tools-popover a:hover,
#fcglb-root .fcglb-tools-popover a:focus-visible {
	background: #f0f2f9;
	outline: 2px solid rgba(28, 36, 90, 0.2);
}

/* =========================================================
   Language controls — aligned right
   ========================================================= */

#fcglb-root .fcglb-controls {
	display: flex;
	min-width: 0;
	align-items: center;
	justify-content: flex-end;
	gap: 5px;
	margin-left: auto;
}

#fcglb-root .fcglb-attribution {
	display: inline-flex;
	align-items: baseline;
	gap: 3px;
	margin-right: 2px;
	color: rgba(255, 255, 255, 0.78) !important;
	font-size: 9.5px !important;
	font-weight: 500;
	line-height: 1 !important;
	text-decoration: none !important;
	white-space: nowrap;
}

#fcglb-root .fcglb-attribution-brand {
	font-weight: 750;
}

#fcglb-root .fcglb-attribution:hover,
#fcglb-root .fcglb-attribution:focus-visible {
	color: #ffffff !important;
	text-decoration: underline !important;
	text-underline-offset: 2px;
	outline: 2px solid rgba(250, 166, 26, 0.55);
	outline-offset: 2px;
}

#fcglb-root .fcglb-languages {
	display: flex;
	min-width: 0;
	align-items: center;
	justify-content: flex-end;
	gap: 4px;
}

#fcglb-root .fcglb-language {
	display: inline-flex;
	min-width: 0;
	min-height: 28px !important;
	align-items: center;
	justify-content: center;
	padding: 4px 9px !important;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.42);
	border-radius: 6px;
	background: transparent;
	color: #ffffff;
	font-size: 11.5px !important;
	font-weight: 750;
	line-height: 1 !important;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#fcglb-root .fcglb-language:hover,
#fcglb-root .fcglb-language:focus-visible {
	border-color: #ffffff;
	background: rgba(255, 255, 255, 0.12);
	outline: 2px solid rgba(250, 166, 26, 0.55);
	outline-offset: 1px;
}

#fcglb-root .fcglb-language[aria-pressed="true"] {
	border-color: #ffffff;
	background: #ffffff;
	color: var(--fcglb-navy);
}

#fcglb-root .fcglb-language-short {
	display: none;
}

#fcglb-root .fcglb-settings {
	display: inline-grid;
	width: 28px;
	height: 28px;
	min-width: 28px;
	min-height: 28px !important;
	place-items: center;
	padding: 0 !important;
	border: 1px solid rgba(255, 255, 255, 0.34);
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.06);
	color: #ffffff;
	font-size: 15px !important;
	font-weight: 700;
	line-height: 1 !important;
}

#fcglb-root .fcglb-settings:hover,
#fcglb-root .fcglb-settings:focus-visible {
	border-color: #ffffff;
	background: rgba(255, 255, 255, 0.14);
	outline: 2px solid rgba(250, 166, 26, 0.55);
	outline-offset: 1px;
}

/* =========================================================
   Privacy and consent dialog
   ========================================================= */

#fcglb-root .fcglb-overlay {
	position: fixed;
	z-index: 2147483000;
	inset: 0;
	display: grid;
	width: 100vw;
	height: 100vh;
	height: 100dvh;
	place-items: center;
	padding: 12px;
	overflow: auto;
	background: rgba(3, 31, 27, 0.78);
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);
}

#fcglb-root .fcglb-dialog {
	position: relative;
	width: min(760px, calc(100vw - 24px));
	min-width: 0;
	max-width: 100%;
	max-height: calc(100vh - 24px);
	max-height: calc(100dvh - 24px);
	padding: clamp(23px, 4vw, 38px);
	overflow-x: hidden;
	overflow-y: auto;
	border: 1px solid #d7e4e1;
	border-radius: 22px;
	background: #ffffff;
	box-shadow: 0 30px 90px rgba(1, 26, 23, 0.35);
	color: #18322e;
}

#fcglb-root .fcglb-close {
	position: absolute;
	top: 15px;
	right: 15px;
	display: grid;
	width: 42px;
	height: 42px;
	place-items: center;
	padding: 0;
	border: 1px solid #cddbd8;
	border-radius: 50%;
	background: #ffffff;
	color: #17302d;
	font-size: 26px !important;
	font-weight: 400;
	line-height: 1 !important;
}

#fcglb-root .fcglb-close:hover,
#fcglb-root .fcglb-close:focus-visible {
	border-color: #0b6256;
	background: #e8f5f1;
	outline: 3px solid rgba(11, 98, 86, 0.2);
}

#fcglb-root .fcglb-eyebrow {
	margin: 0 52px 8px 0;
	color: #0b6256;
	font-size: 13px !important;
	font-weight: 850;
	line-height: 1.4 !important;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

#fcglb-root .fcglb-dialog h2 {
	margin: 0 52px 13px 0;
	color: #102f2b;
	font-size: clamp(25px, 4vw, 34px) !important;
	font-weight: 800;
	line-height: 1.18 !important;
	text-transform: none;
}

#fcglb-root .fcglb-intro,
#fcglb-root .fcglb-no-consent {
	margin: 0;
	color: #435d58;
	font-size: 16px !important;
	line-height: 1.65 !important;
}

#fcglb-root .fcglb-facts {
	display: grid;
	gap: 10px;
	margin: 20px 0;
	padding: 0;
	list-style: none;
}

#fcglb-root .fcglb-facts li {
	position: relative;
	margin: 0;
	padding: 13px 15px 13px 44px;
	border: 1px solid #dce7e4;
	border-radius: 12px;
	background: #f5f9f8;
	color: #294641;
	font-size: 15px !important;
	line-height: 1.58 !important;
	list-style: none;
}

#fcglb-root .fcglb-facts li::before {
	position: absolute;
	top: 13px;
	left: 15px;
	display: grid;
	width: 21px;
	height: 21px;
	place-items: center;
	border-radius: 50%;
	background: #dceee9;
	color: #0b6256;
	content: "i";
	font-size: 13px !important;
	font-weight: 850;
	line-height: 1 !important;
}

#fcglb-root .fcglb-no-consent {
	padding: 13px 15px;
	border-left: 4px solid #8fae18;
	border-radius: 0 10px 10px 0;
	background: #f7fae9;
	color: #38534e;
}

#fcglb-root .fcglb-links {
	display: flex;
	flex-wrap: wrap;
	gap: 9px 16px;
	margin-top: 18px;
}

#fcglb-root .fcglb-links a {
	color: #075b50;
	font-size: 14px !important;
	font-weight: 700;
	line-height: 1.4 !important;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

#fcglb-root .fcglb-links a:hover,
#fcglb-root .fcglb-links a:focus-visible {
	color: #063f38;
	outline: 2px solid rgba(11, 98, 86, 0.2);
	outline-offset: 3px;
}

#fcglb-root .fcglb-dialog-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
}

#fcglb-root .fcglb-button {
	min-height: 46px;
	padding: 10px 17px;
	border: 1px solid transparent;
	border-radius: 11px;
	font-size: 15px !important;
	font-weight: 800;
	line-height: 1.25 !important;
}

#fcglb-root .fcglb-button:focus-visible {
	outline: 3px solid rgba(11, 98, 86, 0.25);
	outline-offset: 3px;
}

#fcglb-root .fcglb-button-primary {
	background: #0b6256;
	color: #ffffff;
}

#fcglb-root .fcglb-button-primary:hover {
	background: #07483f;
}

#fcglb-root .fcglb-button-secondary {
	border-color: #b8ceca;
	background: #ffffff;
	color: #24423d;
}

#fcglb-root .fcglb-button-secondary:hover {
	border-color: #0b6256;
	background: #eaf5f2;
}

#fcglb-root .fcglb-button-danger {
	margin-left: auto;
	border-color: #d8aaaa;
	background: #fff4f4;
	color: #8c2c2c;
}

#fcglb-root .fcglb-button-danger:hover {
	border-color: #a63b3b;
	background: #a63b3b;
	color: #ffffff;
}

/* Hidden Google host and live status. */
#fcglb-root .fcglb-google-host,
#fcglb-root .fcglb-sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

body.fcglb-modal-open {
	overflow: hidden !important;
}

/*
 * Prevent the Greek source page from flashing before a previously approved
 * Google translation is ready. The head bootstrap adds this class before the
 * first paint; the main script removes it after translation activity is
 * detected. The 36px FoodCare language bar remains visible and usable.
 */
html.fcglb-translation-pending {
	cursor: progress;
	overflow: hidden !important;
}

html.fcglb-translation-pending::before {
	position: fixed;
	z-index: 2147482900;
	top: 36px;
	right: 0;
	bottom: 0;
	left: 0;
	content: "";
	background: #ffffff;
	pointer-events: all;
}

html.fcglb-translation-pending::after {
	position: fixed;
	z-index: 2147482901;
	top: calc(50% + 18px);
	left: 50%;
	width: 32px;
	height: 32px;
	margin: -16px 0 0 -16px;
	border: 3px solid #dfe7e4;
	border-top-color: #1c245a;
	border-right-color: #faa61a;
	border-radius: 50%;
	content: "";
	animation: fcglb-translation-spinner 0.75s linear infinite;
	pointer-events: none;
}

@keyframes fcglb-translation-spinner {
	to {
		transform: rotate(360deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	html.fcglb-translation-pending::after {
		animation: none;
	}
}

/*
 * Suppress Google's oversized injected translation banner. A compact,
 * linked "Powered by Google Translate" attribution remains visible inside
 * the FoodCare bar whenever machine translation is active.
 */
body.fcglb-translation-active {
	top: 0 !important;
}

body > .goog-te-banner-frame,
body > .skiptranslate.goog-te-banner-frame,
body > iframe.skiptranslate,
body > div.skiptranslate,
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
iframe.VIpgJd-ZVi9od-ORHb-OEVmcd,
#goog-gt-tt,
.goog-te-balloon-frame {
	display: none !important;
	visibility: hidden !important;
}

/* =========================================================
   Narrow desktop / tablet: Free Tools dropdown + language codes
   ========================================================= */

@media (min-width: 761px) and (max-width: 1180px) {
	#fcglb-root .fcglb-tools-label,
	#fcglb-root .fcglb-tools-list {
		display: none;
	}

	#fcglb-root .fcglb-tools-menu {
		display: block;
	}

	#fcglb-root .fcglb-language-full {
		display: none;
	}

	#fcglb-root .fcglb-language-short {
		display: inline;
	}

	#fcglb-root .fcglb-language {
		width: 34px;
		padding-right: 4px !important;
		padding-left: 4px !important;
	}
}

/* =========================================================
   Mobile: one compact row, no Free Tools and no wrapping
   ========================================================= */

@media (max-width: 760px) {
	#fcglb-root {
		font-size: 12px !important;
	}

	#fcglb-bar {
		min-height: 36px !important;
		gap: 0;
		padding: 4px 6px;
		overflow: hidden;
	}

	#fcglb-root .fcglb-tools {
		display: none;
	}

	#fcglb-root .fcglb-controls {
		display: flex;
		width: 100%;
		gap: 4px;
		margin: 0;
	}

	#fcglb-root .fcglb-attribution {
		flex: 0 0 auto;
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		margin-right: auto;
		font-size: 7.5px !important;
		line-height: 1.08 !important;
	}

	#fcglb-root .fcglb-languages {
		display: flex;
		width: auto;
		flex: 0 0 auto;
		margin-left: auto;
		gap: 3px;
	}

	#fcglb-root .fcglb-language-full {
		display: none;
	}

	#fcglb-root .fcglb-language-short {
		display: inline;
	}

	#fcglb-root .fcglb-language {
		width: clamp(34px, 11vw, 42px);
		min-height: 28px !important;
		padding: 3px 2px !important;
		border-radius: 5px;
		font-size: 11px !important;
	}

	#fcglb-root .fcglb-settings {
		width: 28px;
		height: 28px;
		min-height: 28px !important;
		border-radius: 5px;
		font-size: 14px !important;
	}
}

@media (max-width: 470px) {
	#fcglb-root .fcglb-dialog {
		width: calc(100vw - 16px);
		max-height: calc(100dvh - 16px);
		padding: 23px 17px;
		border-radius: 17px;
	}

	#fcglb-root .fcglb-dialog h2 {
		margin-right: 42px;
		font-size: 25px !important;
	}

	#fcglb-root .fcglb-dialog-actions {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
	}

	#fcglb-root .fcglb-button {
		width: 100%;
	}

	#fcglb-root .fcglb-button-danger {
		margin-left: 0;
	}
}

@media (max-width: 340px) {
	#fcglb-root .fcglb-languages {
		gap: 2px;
	}

	#fcglb-root .fcglb-language {
		width: clamp(32px, 10.5vw, 36px);
		font-size: 10.5px !important;
	}

	#fcglb-root .fcglb-attribution {
		font-size: 7px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	#fcglb-root *,
	#fcglb-root *::before,
	#fcglb-root *::after {
		scroll-behavior: auto !important;
		transition: none !important;
		animation: none !important;
	}
}
