/*
 * e-meniu public Global Shell
 *
 * Header and Footer presentation only. Native WordPress, WPML and
 * WooCommerce blocks remain responsible for navigation and account/cart
 * behavior.
 */

.wp-site-blocks > .wp-block-template-part,
.wp-site-blocks > main {
	margin-block-start: 0;
}

body:not(.editor-styles-wrapper):not(.block-editor-page):not(.site-editor-php):not(.block-editor-iframe__body):not(.block-editor-block-list__layout):not(:has(.editor-styles-wrapper)):not(:has(.block-editor-iframe__body)):not(:has(.block-editor-block-list__layout)) .wp-site-blocks:has(> .wp-block-template-part .e-meniu-public-footer, > .wp-block-template-part .e-meniu-compact-footer) {
	--e-meniu-shell-admin-bar-offset: 0px;

	display: flex;
	min-height: calc(100vh - var(--e-meniu-shell-admin-bar-offset));
	min-height: calc(100svh - var(--e-meniu-shell-admin-bar-offset));
	flex-direction: column;
}

body.admin-bar:not(.editor-styles-wrapper):not(.block-editor-page):not(.site-editor-php):not(.block-editor-iframe__body):not(.block-editor-block-list__layout):not(:has(.editor-styles-wrapper)):not(:has(.block-editor-iframe__body)):not(:has(.block-editor-block-list__layout)) .wp-site-blocks:has(> .wp-block-template-part .e-meniu-public-footer, > .wp-block-template-part .e-meniu-compact-footer) {
	--e-meniu-shell-admin-bar-offset: 32px;
}

body:not(.editor-styles-wrapper):not(.block-editor-page):not(.site-editor-php):not(.block-editor-iframe__body):not(.block-editor-block-list__layout):not(:has(.editor-styles-wrapper)):not(:has(.block-editor-iframe__body)):not(:has(.block-editor-block-list__layout)) .wp-site-blocks:has(> .wp-block-template-part .e-meniu-public-footer, > .wp-block-template-part .e-meniu-compact-footer) > .wp-block-template-part:has(.e-meniu-public-footer, .e-meniu-compact-footer) {
	margin-block-start: auto;
}

@media screen and (max-width: 782px) {
	body.admin-bar:not(.editor-styles-wrapper):not(.block-editor-page):not(.site-editor-php):not(.block-editor-iframe__body):not(.block-editor-block-list__layout):not(:has(.editor-styles-wrapper)):not(:has(.block-editor-iframe__body)):not(:has(.block-editor-block-list__layout)) .wp-site-blocks:has(> .wp-block-template-part .e-meniu-public-footer, > .wp-block-template-part .e-meniu-compact-footer) {
		--e-meniu-shell-admin-bar-offset: 46px;
	}
}

.e-meniu-shell-container {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--wp--style--global--wide-size);
	margin-inline: auto;
	padding-inline: var(--wp--custom--layout--page-padding);
}

.e-meniu-public-header,
.e-meniu-public-footer {
	color: var(--wp--preset--color--text);
}

.e-meniu-public-header a:where(:not(.wp-element-button):not(.wp-block-button__link)),
.e-meniu-public-footer a:where(:not(.wp-element-button):not(.wp-block-button__link)) {
	color: inherit;
	text-decoration: none;
}

.e-meniu-public-header a:where(:not(.wp-element-button):not(.wp-block-button__link)):hover,
.e-meniu-public-footer a:where(:not(.wp-element-button):not(.wp-block-button__link)):hover {
	color: var(--wp--preset--color--accent);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.e-meniu-brand {
	min-width: 0;
}

.e-meniu-brand .wp-block-site-logo {
	flex: 0 1 auto;
	margin: 0;
}

.e-meniu-brand .wp-block-site-logo img {
	width: auto;
	max-width: min(10rem, 100%);
	height: auto;
	max-height: 3.25rem;
	object-fit: contain;
}

.e-meniu-brand .wp-block-site-title {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--h4);
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.1;
}

body.wp-custom-logo .e-meniu-brand .wp-block-site-title,
.editor-styles-wrapper .e-meniu-brand:has(.wp-block-site-logo img) .wp-block-site-title {
	display: none;
}

.e-meniu-navigation-placeholder {
	display: none;
}

body:not(.editor-styles-wrapper):not(.block-editor-page):not(.site-editor-php):not(:has(.editor-styles-wrapper)) .e-meniu-navigation-slot:not(:has(.wp-block-navigation-item)) {
	display: none;
}

.e-meniu-public-header {
	border-bottom: 1px solid var(--wp--preset--color--border-subtle);
	background: var(--wp--preset--color--surface);
}

.e-meniu-public-header .e-meniu-header-layout {
	display: grid;
	min-height: 4rem;
	grid-template-columns: minmax(0, 1fr) auto auto;
	grid-template-areas: "brand cart mobile-navigation";
	align-items: center;
	gap: var(--wp--preset--spacing--sm);
}

.e-meniu-public-header .e-meniu-header-layout > * {
	margin-block: 0;
}

.e-meniu-header-brand {
	grid-area: brand;
	min-width: 0;
}

.e-meniu-language-switcher-slot {
	grid-area: language;
}

.e-meniu-public-header .e-meniu-header-primary,
.e-meniu-public-header .e-meniu-language-switcher--desktop,
.e-meniu-public-header .e-meniu-header-account,
.e-meniu-public-header .e-meniu-header-cta-region {
	display: none;
}

.e-meniu-public-header .e-meniu-header-cart,
.e-meniu-public-header .e-meniu-header-mobile-navigation {
	display: flex;
	align-items: center;
	justify-content: center;
}

.e-meniu-header-cart {
	grid-area: cart;
}

.e-meniu-header-mobile-navigation {
	grid-area: mobile-navigation;
}

.e-meniu-header-primary,
.e-meniu-header-primary .wp-block-template-part,
.e-meniu-navigation-primary {
	min-width: 0;
}

.e-meniu-header-primary > .wp-block-template-part {
	width: 100%;
}

.e-meniu-navigation-primary .wp-block-navigation__container {
	column-gap: clamp(0.5rem, 1.2vw, 1rem);
	row-gap: var(--wp--preset--spacing--xs);
	flex-wrap: nowrap;
}

.e-meniu-navigation-primary .wp-block-navigation-item__content {
	white-space: nowrap;
}

.e-meniu-public-header .wp-block-navigation-item__content,
.e-meniu-public-header .wp-block-woocommerce-customer-account a,
.e-meniu-public-header .wp-block-woocommerce-cart-link a,
.e-meniu-public-header .wc-block-customer-account a,
.e-meniu-public-header .wc-block-cart-link a,
.e-meniu-language-switcher a {
	display: inline-flex;
	min-height: var(--wp--custom--interactive--target-min);
	align-items: center;
	justify-content: center;
}

.e-meniu-public-header .e-meniu-header-cart a {
	min-width: var(--wp--custom--interactive--target-min);
}

.e-meniu-navigation-primary .wp-block-navigation-item__content[aria-current="page"],
.e-meniu-navigation-primary .current-menu-item > .wp-block-navigation-item__content {
	color: var(--wp--preset--color--olive);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.35em;
}

.e-meniu-language-switcher,
.e-meniu-header-account,
.e-meniu-header-cart {
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.25;
}

.e-meniu-public-header .e-meniu-header-account a,
.e-meniu-public-header .e-meniu-header-cart a {
	white-space: nowrap;
}

.e-meniu-public-header .e-meniu-header-cart .wc-block-cart-link__text {
	position: absolute;
	inline-size: 1px;
	block-size: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

body:not(.editor-styles-wrapper):not(.block-editor-page):not(.site-editor-php):not(.block-editor-iframe__body):not(.block-editor-block-list__layout):not(:has(.editor-styles-wrapper)):not(:has(.block-editor-iframe__body)):not(:has(.block-editor-block-list__layout)) .e-meniu-language-switcher-slot:not(:has(> *)) {
	display: none;
}

body:not(.editor-styles-wrapper):not(.block-editor-page):not(.site-editor-php):not(.block-editor-iframe__body):not(.block-editor-block-list__layout):not(:has(.editor-styles-wrapper)):not(:has(.block-editor-iframe__body)):not(:has(.block-editor-block-list__layout)) .e-meniu-public-header .e-meniu-header-layout:has(> .e-meniu-language-switcher-slot > *) {
	grid-template-columns: minmax(0, 1fr) auto auto auto;
	grid-template-areas: "brand language cart mobile-navigation";
}

body:not(.editor-styles-wrapper):not(.block-editor-page):not(.site-editor-php):not(.block-editor-iframe__body):not(.block-editor-block-list__layout):not(:has(.editor-styles-wrapper)):not(:has(.block-editor-iframe__body)):not(:has(.block-editor-block-list__layout)) .e-meniu-public-header .e-meniu-language-switcher-slot:has(> *) {
	display: flex;
	align-items: center;
	justify-content: center;
}

:where(.editor-styles-wrapper, .block-editor-iframe__body, .block-editor-block-list__layout, body.block-editor-page, body.site-editor-php) .e-meniu-public-header .e-meniu-header-layout:has(.e-meniu-language-switcher-slot) {
	grid-template-columns: minmax(0, 1fr) auto auto auto;
	grid-template-areas: "brand language cart mobile-navigation";
}

:where(.editor-styles-wrapper, .block-editor-iframe__body, .block-editor-block-list__layout, body.block-editor-page, body.site-editor-php) .e-meniu-public-header .e-meniu-language-switcher-slot {
	display: flex;
	align-items: center;
	justify-content: center;
}

.editor-styles-wrapper .e-meniu-language-switcher-slot:not(:has(.wpml-ls)):not(:has([data-type="wpml/language-switcher"])),
.block-editor-iframe__body .e-meniu-language-switcher-slot:not(:has(.wpml-ls)):not(:has([data-type="wpml/language-switcher"])),
.block-editor-block-list__layout .e-meniu-language-switcher-slot:not(:has(.wpml-ls)):not(:has([data-type="wpml/language-switcher"])),
body.block-editor-page .e-meniu-language-switcher-slot:not(:has(.wpml-ls)):not(:has([data-type="wpml/language-switcher"])),
body.site-editor-php .e-meniu-language-switcher-slot:not(:has(.wpml-ls)):not(:has([data-type="wpml/language-switcher"])) {
	display: flex;
	min-width: 5.5rem;
	min-height: var(--wp--custom--interactive--target-min);
	border: 1px dashed var(--wp--preset--color--border-strong);
	border-radius: var(--wp--custom--radius--medium);
	background: var(--wp--preset--color--surface-soft);
}

body:not(.editor-styles-wrapper):not(.block-editor-page):not(.site-editor-php):not(:has(.editor-styles-wrapper)) .e-meniu-header-cta-slot:not(:has(.wp-block-button)),
body:not(.editor-styles-wrapper):not(.block-editor-page):not(.site-editor-php):not(:has(.editor-styles-wrapper)) .e-meniu-header-cta-region:not(:has(.wp-block-button)) {
	display: none;
}

.editor-styles-wrapper .e-meniu-header-cta-region:not(:has(.wp-block-button)),
.block-editor-iframe__body .e-meniu-header-cta-region:not(:has(.wp-block-button)),
.block-editor-block-list__layout .e-meniu-header-cta-region:not(:has(.wp-block-button)),
body.block-editor-page .e-meniu-header-cta-region:not(:has(.wp-block-button)),
body.site-editor-php .e-meniu-header-cta-region:not(:has(.wp-block-button)) {
	display: flex;
}

.editor-styles-wrapper .e-meniu-header-cta-slot:not(:has(.wp-block-button)),
.block-editor-iframe__body .e-meniu-header-cta-slot:not(:has(.wp-block-button)),
.block-editor-block-list__layout .e-meniu-header-cta-slot:not(:has(.wp-block-button)),
body.block-editor-page .e-meniu-header-cta-slot:not(:has(.wp-block-button)),
body.site-editor-php .e-meniu-header-cta-slot:not(:has(.wp-block-button)) {
	display: flex;
	min-width: 7.5rem;
	min-height: var(--wp--custom--interactive--target-min);
	border: 1px dashed var(--wp--preset--color--border-strong);
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--surface-soft);
}

.e-meniu-header-cta-slot .wp-block-button__link {
	min-height: var(--wp--custom--interactive--target-min);
	padding: 0.625rem 1rem;
}

.e-meniu-language-switcher,
.e-meniu-language-switcher .wpml-ls,
.e-meniu-language-switcher .wpml-ls ul {
	margin: 0;
	padding: 0;
}

.e-meniu-language-switcher .wpml-ls ul {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--2-xs);
	list-style: none;
}

.e-meniu-navigation-mobile .wp-block-navigation__responsive-container-open,
.e-meniu-navigation-mobile .wp-block-navigation__responsive-container-close {
	display: inline-flex;
	min-width: var(--wp--custom--interactive--target-min);
	min-height: var(--wp--custom--interactive--target-min);
	align-items: center;
	justify-content: center;
}

.e-meniu-navigation-mobile .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--text);
	padding: var(--wp--custom--layout--page-padding);
}

.e-meniu-navigation-mobile .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	padding-block-start: var(--wp--preset--spacing--xl);
}

.e-meniu-navigation-mobile .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	width: 100%;
	align-items: stretch;
	gap: var(--wp--preset--spacing--xs);
}

.e-meniu-navigation-mobile .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item,
.e-meniu-navigation-mobile .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	width: 100%;
}

.e-meniu-navigation-mobile .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	display: flex;
	min-height: var(--wp--custom--interactive--target-min);
	align-items: center;
	font-size: var(--wp--preset--font-size--lead);
}

.e-meniu-navigation-mobile .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content[aria-current="page"],
.e-meniu-navigation-mobile .wp-block-navigation__responsive-container.is-menu-open .current-menu-item > .wp-block-navigation-item__content {
	color: var(--wp--preset--color--olive);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.35em;
}

.e-meniu-navigation-mobile .wp-block-navigation__responsive-container.is-menu-open .e-meniu-mobile-cta > .wp-block-navigation-item__content {
	width: fit-content;
	margin-block: var(--wp--preset--spacing--sm);
	border: 1px solid var(--wp--preset--color--olive);
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--olive);
	color: var(--wp--preset--color--surface);
	padding: 0.625rem 1.25rem;
}

.e-meniu-navigation-mobile .wp-block-navigation__responsive-container.is-menu-open .e-meniu-mobile-cta > .wp-block-navigation-item__content:hover {
	border-color: var(--wp--preset--color--text);
	background: var(--wp--preset--color--text);
	color: var(--wp--preset--color--surface);
	text-decoration: none;
}

.e-meniu-navigation-mobile .e-meniu-mobile-account {
	margin-block-start: var(--wp--preset--spacing--md);
	border-block-start: 1px solid var(--wp--preset--color--border-subtle);
	padding-block-start: var(--wp--preset--spacing--sm);
}

@media (max-width: 69.999rem) {
	.e-meniu-public-header .e-meniu-language-switcher-slot,
	.e-meniu-public-header .e-meniu-header-cart {
		transform: translateX(0.35rem);
	}

	.e-meniu-public-header .e-meniu-header-mobile-navigation .wp-block-navigation__responsive-container-open {
		transform: translateX(0.35rem);
	}

	.e-meniu-public-header .e-meniu-language-switcher-slot .wpml-language-switcher-block ul.horizontal-list {
		display: flex !important;
		align-items: center !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.e-meniu-public-header .e-meniu-language-switcher-slot .wpml-language-switcher-block ul.horizontal-list > li {
		display: flex !important;
		min-height: 44px !important;
		align-items: center !important;
		margin: 0 !important;
		padding: 0 !important;
		line-height: 1 !important;
	}

	.e-meniu-public-header .e-meniu-language-switcher-slot .wpml-language-switcher-block ul.horizontal-list > li > a,
	.e-meniu-public-header .e-meniu-language-switcher-slot .wpml-language-switcher-block ul.horizontal-list > li > div {
		display: flex !important;
		min-height: 44px !important;
		align-items: center !important;
		justify-content: center !important;
		margin: 0 !important;
		padding-block: 0 !important;
		line-height: 1 !important;
	}

	.e-meniu-public-header .e-meniu-language-switcher-slot .wpml-language-switcher-block .wp-block-navigation-item__label {
		display: block !important;
		margin: 0 !important;
		padding: 0 !important;
		line-height: 14px !important;
		transform: translateY(-8px) !important;
	}

	.e-meniu-navigation-mobile .wp-block-navigation__responsive-container.is-menu-open {
		position: fixed;
		inset: 1rem 1rem auto auto;
		width: calc(100% - 2rem);
		max-width: 22rem;
		height: auto;
		min-height: 0;
		max-height: calc(100dvh - 2rem);
		overflow-y: auto;
		overscroll-behavior: contain;
		transform: none;
		border: 1px solid var(--wp--preset--color--border-subtle);
		border-radius: 1rem;
		background-color: rgba(255, 252, 247, 0.86) !important;
		box-shadow: 0 1rem 3rem rgba(38, 48, 41, 0.18);
		padding: 1rem 1.25rem 1.25rem;
	}

	.e-meniu-navigation-mobile .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
		padding-block-start: var(--wp--preset--spacing--lg);
	}

	.e-meniu-navigation-mobile .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
		gap: var(--wp--preset--spacing--2-xs);
	}

	.e-meniu-navigation-mobile .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
		justify-content: center;
		font-size: 1.05rem;
		line-height: 1.3;
	}
}

.e-meniu-public-footer {
	border-top: 1px solid var(--wp--preset--color--border-subtle);
	background: var(--wp--preset--color--surface-soft);
	padding-block: 0.5rem 0.4rem;
}

.e-meniu-public-footer .e-meniu-footer-desktop {
	display: none;
}

.e-meniu-public-footer .e-meniu-footer-mobile {
	display: grid;
	gap: 0.25rem;
	margin-block: 0;
	padding-block: 0;
}

.e-meniu-brand--footer {
	display: grid;
	gap: var(--wp--preset--spacing--xs);
}

.e-meniu-brand--footer .wp-block-site-tagline {
	max-width: 28rem;
	margin: 0;
	color: var(--wp--preset--color--text-muted);
}

.e-meniu-footer-column,
.e-meniu-footer-support-content {
	min-width: 0;
}

.e-meniu-footer-navigation .wp-block-navigation__container {
	gap: 0;
}

.e-meniu-footer-navigation .wp-block-navigation-item,
.e-meniu-footer-navigation .wp-block-navigation-item__content {
	width: 100%;
}

.e-meniu-public-footer .e-meniu-footer-navigation .wp-block-navigation-item {
	min-height: 0;
	margin: 0;
	padding: 0;
	line-height: 1;
}

.e-meniu-public-footer .e-meniu-footer-navigation .wp-block-navigation-item__content,
.e-meniu-public-footer .e-meniu-footer-support-content > p > a {
	display: inline-flex;
	min-height: 0;
	height: auto;
	align-items: center;
	overflow-wrap: anywhere;
	padding-block: 0.125rem;
	font-size: 0.8125rem;
	line-height: 1.1;
}

.e-meniu-footer-navigation--legal .wp-block-navigation__container {
	column-gap: var(--wp--preset--spacing--md);
	row-gap: var(--wp--preset--spacing--2-xs);
}

.e-meniu-footer-navigation--legal .wp-block-navigation-item,
.e-meniu-footer-navigation--legal .wp-block-navigation-item__content {
	width: auto;
}

.e-meniu-footer-support-content,
.e-meniu-footer-support-content > p,
.e-meniu-footer-sal-slot,
.e-meniu-footer-copyright,
.e-meniu-footer-copyright > p,
.e-meniu-footer-copyright .wp-block-site-title {
	margin: 0;
}

body:not(.editor-styles-wrapper):not(.block-editor-page):not(.site-editor-php):not(.block-editor-iframe__body):not(.block-editor-block-list__layout):not(:has(.editor-styles-wrapper)):not(:has(.block-editor-iframe__body)):not(:has(.block-editor-block-list__layout)) .e-meniu-footer-legal > .wp-block-template-part:has(> .e-meniu-footer-sal-slot):not(:has(> .e-meniu-footer-sal-slot > *)),
body:not(.editor-styles-wrapper):not(.block-editor-page):not(.site-editor-php):not(.block-editor-iframe__body):not(.block-editor-block-list__layout):not(:has(.editor-styles-wrapper)):not(:has(.block-editor-iframe__body)):not(:has(.block-editor-block-list__layout)) .e-meniu-footer-sal-slot:not(:has(> *)) {
	display: none;
}

.editor-styles-wrapper .e-meniu-footer-sal-slot:not(:has(.wp-block-image)):not(:has(img)),
.block-editor-iframe__body .e-meniu-footer-sal-slot:not(:has(.wp-block-image)):not(:has(img)),
.block-editor-block-list__layout .e-meniu-footer-sal-slot:not(:has(.wp-block-image)):not(:has(img)),
body.block-editor-page .e-meniu-footer-sal-slot:not(:has(.wp-block-image)):not(:has(img)),
body.site-editor-php .e-meniu-footer-sal-slot:not(:has(.wp-block-image)):not(:has(img)) {
	display: flex;
	min-width: 7.5rem;
	min-height: var(--wp--custom--interactive--target-min);
	border: 1px dashed var(--wp--preset--color--border-strong);
	border-radius: var(--wp--custom--radius--medium);
}

.e-meniu-footer-sal-slot,
.e-meniu-footer-sal-slot > *,
.e-meniu-footer-sal-slot .wp-block-image {
	max-width: 100%;
}

.e-meniu-footer-legal > .wp-block-template-part:has(> .e-meniu-footer-sal-slot) {
	max-width: 100%;
	margin: 0;
}

.e-meniu-footer-sal-slot .wp-block-image {
	margin: 0;
}

.e-meniu-footer-sal-slot img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 50px;
	object-fit: contain;
}

.e-meniu-public-footer .e-meniu-footer-legal {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	justify-content: stretch;
	justify-items: center;
	gap: 0.375rem;
	margin-block-start: 0.25rem;
	border-top: 1px solid var(--wp--preset--color--border-subtle);
	padding-block-start: 0.375rem;
	padding-block-end: 0;
	color: var(--wp--preset--color--text-muted);
	font-size: 0.75rem;
	line-height: 1.15;
}

.e-meniu-footer-copyright {
	gap: var(--wp--preset--spacing--2-xs);
}

.e-meniu-footer-copyright .wp-block-site-title {
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	letter-spacing: normal;
	line-height: inherit;
}

@media (max-width: 47.999rem) {
	.e-meniu-public-footer .e-meniu-footer-mobile {
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.75fr) minmax(0, 1.35fr);
		column-gap: 0.4rem;
		row-gap: 0.25rem;
		align-items: start;
		margin: 0;
		padding: 0;
	}

	.e-meniu-public-footer .e-meniu-footer-mobile-column {
		display: grid;
		min-width: 0;
		align-content: start;
		justify-items: center;
		margin: 0;
		padding: 0;
	}

	.e-meniu-public-footer .e-meniu-footer-mobile-navigation {
		transform: translateX(-0.4rem);
	}

	.e-meniu-public-footer .e-meniu-footer-mobile-support {
		transform: translateX(0.4rem);
	}

	.e-meniu-public-footer .e-meniu-footer-mobile-column > .wp-block-heading {
		margin: 0 0 0.2rem !important;
		font-size: 0.75rem !important;
		font-weight: 700;
		line-height: 1;
		text-align: center;
	}

	.e-meniu-public-footer .e-meniu-footer-mobile-column .e-meniu-footer-navigation {
		width: 100%;
		margin: 0;
	}

	.e-meniu-public-footer .e-meniu-footer-mobile-column .e-meniu-footer-navigation .wp-block-navigation__container {
		width: 100%;
		display: grid;
		justify-items: center;
		gap: 0.1rem;
	}

	.e-meniu-public-footer .e-meniu-footer-mobile-column .e-meniu-footer-navigation .wp-block-navigation-item,
	.e-meniu-public-footer .e-meniu-footer-mobile-column .e-meniu-footer-navigation .wp-block-navigation-item__content {
		width: auto;
		min-height: 0;
		margin: 0;
		padding: 0;
		text-align: center;
		justify-content: center;
	}

	.e-meniu-public-footer .e-meniu-footer-mobile-column .e-meniu-footer-navigation .wp-block-navigation-item__content {
		height: auto;
		padding-block: 0.05rem;
		font-size: 0.75rem;
		line-height: 1.15;
	}

	.e-meniu-public-footer .e-meniu-footer-mobile-column > .wp-block-template-part {
		width: 100%;
		margin: 0 !important;
	}

	.e-meniu-public-footer .e-meniu-footer-mobile-support .e-meniu-footer-support-content {
		display: grid;
		justify-items: center;
		gap: 0.1rem;
		margin: 0;
	}

	.e-meniu-public-footer .e-meniu-footer-mobile-support .e-meniu-footer-support-content > * {
		margin: 0 !important;
	}

	.e-meniu-public-footer .e-meniu-footer-mobile-support .e-meniu-footer-support-content > p > a {
		min-height: 0;
		height: auto;
		padding: 0.05rem 0;
		font-size: 0.75rem;
		line-height: 1.15;
		text-align: center;
		white-space: nowrap;
	}

	.e-meniu-public-footer .e-meniu-footer-legal > * {
		justify-self: center;
		margin-block: 0 !important;
	}

	.e-meniu-public-footer .e-meniu-footer-legal > .wp-block-template-part {
		width: fit-content;
		justify-self: center;
		margin-inline: auto !important;
	}

	.e-meniu-public-footer .e-meniu-footer-legal .e-meniu-footer-navigation--legal,
	.e-meniu-public-footer .e-meniu-footer-legal .e-meniu-footer-navigation--legal .wp-block-navigation__container {
		width: fit-content;
		margin-inline: auto;
		justify-content: center;
	}

	.e-meniu-public-footer .e-meniu-footer-legal .e-meniu-footer-navigation--legal .wp-block-navigation-item__content {
		min-height: 0;
		padding-block: 0.1rem;
		font-size: 0.8125rem;
		line-height: 1.1;
	}

	.e-meniu-public-footer .e-meniu-footer-sal-slot {
		width: fit-content;
		margin-inline: auto;
		justify-content: center;
	}

	.e-meniu-public-footer .e-meniu-footer-copyright {
		width: fit-content;
		margin: 0 auto;
		justify-content: center;
	}
}

@media (min-width: 48rem) {
	.e-meniu-public-footer {
		padding-block: 0.2rem 0.35rem;
	}

	.e-meniu-public-footer .e-meniu-footer-desktop {
		display: grid;
		grid-template-columns: minmax(12rem, 1.4fr) repeat(3, minmax(0, 1fr));
		gap: 1rem;
		margin-block: 0;
		padding-block: 0;
		align-items: start;
	}

	.e-meniu-public-footer .e-meniu-footer-desktop > * {
		margin-block: 0 !important;
	}

	.e-meniu-public-footer .e-meniu-footer-desktop > .e-meniu-brand--footer {
		align-self: center;
	}

	.e-meniu-public-footer .e-meniu-footer-column {
		display: grid;
		align-content: start;
		gap: 0.125rem;
	}

	.e-meniu-public-footer .e-meniu-footer-column > .wp-block-heading {
		margin: 0 !important;
		font-size: 0.75rem !important;
		line-height: 1;
	}

	.e-meniu-public-footer .e-meniu-footer-column > .wp-block-heading + .wp-block-template-part {
		margin-block-start: 0 !important;
	}

	.e-meniu-public-footer .e-meniu-footer-mobile {
		display: none;
	}

	.e-meniu-public-footer .e-meniu-footer-support-content {
		display: grid;
		align-content: start;
		justify-items: start;
		gap: 0.125rem;
		margin: 0;
	}

	.e-meniu-public-footer .e-meniu-footer-support-content > .wp-block-template-part,
	.e-meniu-public-footer .e-meniu-footer-support-content > p {
		margin-block: 0 !important;
	}

	.e-meniu-public-footer .e-meniu-footer-support-content > * {
		margin-inline: 0 !important;
	}

	.e-meniu-public-footer .e-meniu-footer-legal {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 0.5rem;
		margin-block-start: 0.25rem;
		padding-block-start: 0.25rem;
		font-size: 0.75rem;
		line-height: 1.15;
	}

	.e-meniu-public-footer .e-meniu-footer-navigation--legal .wp-block-navigation-item__content {
		min-height: 0;
		padding-block: 0.125rem;
	}
}

@media (min-width: 70rem) {
	.e-meniu-public-header .e-meniu-header-layout {
		display: flex;
		width: 100%;
		max-width: 72rem;
		min-height: 4.75rem;
		align-items: center;
		gap: clamp(0.5rem, 1vw, 1rem);
		margin-inline: auto;
		padding-inline: 0;
	}

	.e-meniu-header-brand {
		flex: 0 1 auto;
	}

	.e-meniu-public-header .e-meniu-header-primary {
		display: flex;
		flex: 1 1 auto;
		justify-content: center;
	}

	.e-meniu-public-header .e-meniu-language-switcher--desktop,
	.e-meniu-public-header .e-meniu-header-account,
	.e-meniu-public-header .e-meniu-header-cart,
	.e-meniu-public-header .e-meniu-header-cta-region {
		display: flex;
		flex: 0 0 auto;
		align-items: center;
	}

	.e-meniu-public-header .e-meniu-header-mobile-navigation {
		display: none;
	}

	.e-meniu-public-header .e-meniu-language-switcher--desktop .wpml-language-switcher-block ul.horizontal-list {
		display: flex !important;
		align-items: center !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.e-meniu-public-header .e-meniu-language-switcher--desktop .wpml-language-switcher-block ul.horizontal-list > li {
		display: flex !important;
		min-height: 44px !important;
		align-items: center !important;
		margin: 0 !important;
		padding: 0 !important;
		line-height: 1 !important;
	}

	.e-meniu-public-header .e-meniu-language-switcher--desktop .wpml-language-switcher-block ul.horizontal-list > li > a,
	.e-meniu-public-header .e-meniu-language-switcher--desktop .wpml-language-switcher-block ul.horizontal-list > li > div {
		display: flex !important;
		min-height: 44px !important;
		align-items: center !important;
		justify-content: center !important;
		margin: 0 !important;
		padding-block: 0 !important;
		line-height: 1 !important;
	}

	.e-meniu-public-header .e-meniu-language-switcher--desktop .wpml-language-switcher-block .wp-block-navigation-item__label {
		display: block !important;
		margin: 0 !important;
		padding: 0 !important;
		line-height: 14px !important;
		transform: translateY(-8px) !important;
	}

	.e-meniu-public-header .e-meniu-header-cart .wc-block-cart-link__text {
		position: static;
		inline-size: auto;
		block-size: auto;
		overflow: visible;
		clip: auto;
		clip-path: none;
		white-space: normal;
	}
}

/* Public Footer desktop-only polish. Mobile and Compact Footer remain unchanged. */
@media (min-width: 48rem) {
	/* Sus: aceleași meniuri, fără logo și titluri. */
	.e-meniu-public-footer {
		padding-block: 0.25rem 0 !important;
	}

	.e-meniu-public-footer .e-meniu-footer-desktop > .e-meniu-brand--footer,
	.e-meniu-public-footer .e-meniu-footer-desktop .e-meniu-footer-column > .wp-block-heading,
	.e-meniu-public-footer .e-meniu-footer-legal > .e-meniu-footer-copyright {
		display: none !important;
	}

	.e-meniu-public-footer .e-meniu-footer-desktop {
		display: grid !important;
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		gap: clamp(1rem, 4vw, 4rem) !important;
		align-items: start !important;
		justify-items: center !important;
		width: 100% !important;
		max-width: 60rem !important;
		margin-block: 0 !important;
		margin-inline: auto !important;
		padding-block: 0 !important;
	}

	.e-meniu-public-footer .e-meniu-footer-desktop .e-meniu-footer-column {
		width: 100% !important;
		min-width: 0 !important;
		justify-items: center !important;
		gap: 0 !important;
		text-align: center !important;
	}

	.e-meniu-public-footer .e-meniu-footer-desktop .e-meniu-footer-column > .wp-block-template-part {
		width: 100% !important;
		margin: 0 !important;
	}

	.e-meniu-public-footer .e-meniu-footer-desktop .e-meniu-footer-navigation,
	.e-meniu-public-footer .e-meniu-footer-desktop .e-meniu-footer-support-content {
		width: 100% !important;
		margin: 0 !important;
		justify-content: center !important;
		justify-items: center !important;
		text-align: center !important;
	}

	.e-meniu-public-footer .e-meniu-footer-desktop .wp-block-navigation__container {
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		gap: 0.125rem !important;
		width: 100% !important;
		margin: 0 !important;
	}

	.e-meniu-public-footer .e-meniu-footer-desktop .wp-block-navigation-item,
	.e-meniu-public-footer .e-meniu-footer-desktop .wp-block-navigation-item__content {
		width: auto !important;
		max-width: 100% !important;
		justify-content: center !important;
		text-align: center !important;
	}

	.e-meniu-public-footer .e-meniu-footer-desktop .e-meniu-footer-support-content > p {
		width: 100% !important;
		margin: 0 !important;
		text-align: center !important;
	}

	/* Jos: legalele împreună, deasupra ANPC. */
	.e-meniu-public-footer .e-meniu-footer-legal {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) !important;
		justify-items: center !important;
		justify-content: center !important;
		gap: 0 !important;
		margin-block: 0.25rem 0 !important;
		padding-block: 0.25rem 0 !important;
	}

	.e-meniu-public-footer .e-meniu-footer-legal > .wp-block-template-part {
		width: fit-content !important;
		max-width: 100% !important;
		min-width: 0 !important;
		margin: 0 !important;
		justify-self: center !important;
	}

	.e-meniu-public-footer .e-meniu-footer-navigation--legal,
	.e-meniu-public-footer .e-meniu-footer-navigation--legal .wp-block-navigation__container {
		width: fit-content !important;
		max-width: 100% !important;
		margin: 0 auto !important;
		justify-content: center !important;
	}

	.e-meniu-public-footer .e-meniu-footer-navigation--legal .wp-block-navigation__container {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: wrap !important;
		align-items: center !important;
		gap: 0.25rem 1rem !important;
	}

	/* ANPC centrat orizontal și vertical în banda lui. */
	.e-meniu-public-footer .e-meniu-footer-legal > .wp-block-template-part:has(.e-meniu-footer-sal-slot img) {
		display: flex !important;
		min-height: 3.5rem !important;
		align-items: center !important;
		justify-content: center !important;
		padding: 0 !important;
	}

	.e-meniu-public-footer .e-meniu-footer-legal .e-meniu-footer-sal-slot,
	.e-meniu-public-footer .e-meniu-footer-legal .e-meniu-footer-sal-slot .wp-block-image {
		margin: 0 !important;
		padding: 0 !important;
	}

	.e-meniu-public-footer .e-meniu-footer-legal .e-meniu-footer-sal-slot .wp-block-image {
		line-height: 0 !important;
	}

	.e-meniu-public-footer .e-meniu-footer-legal .e-meniu-footer-sal-slot .wp-block-image > a {
		display: block !important;
		line-height: 0 !important;
	}

	.e-meniu-public-footer .e-meniu-footer-legal .e-meniu-footer-sal-slot img {
		display: block !important;
		width: auto !important;
		height: auto !important;
		max-width: 100% !important;
		max-height: 42px !important;
		margin: 0 auto !important;
	}
}

/* Public footer mobile: visually hidden column headings and compact top spacing. */
@media (max-width: 47.999rem) {
	.e-meniu-public-footer {
		padding-block-start: 0.25rem !important;
	}

	.e-meniu-public-footer .e-meniu-footer-mobile {
		margin-block-start: 0 !important;
		padding-block-start: 0 !important;
	}

	.e-meniu-public-footer .e-meniu-footer-mobile .e-meniu-footer-mobile-column {
		position: relative !important;
		row-gap: 0 !important;
	}

	.e-meniu-public-footer .e-meniu-footer-mobile .e-meniu-footer-mobile-column > .wp-block-heading {
		position: absolute !important;
		inset-block-start: 0 !important;
		inset-inline-start: 0 !important;
		width: 1px !important;
		height: 1px !important;
		min-width: 0 !important;
		min-height: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
		overflow: hidden !important;
		clip-path: inset(50%) !important;
		white-space: nowrap !important;
	}

	.e-meniu-public-footer .e-meniu-footer-mobile .e-meniu-footer-mobile-column > .wp-block-heading + .wp-block-template-part {
		margin-block-start: 0 !important;
	}
}
