[dir] .layout-footer__section {
	padding-bottom: var(--spacing-09);
	padding-top: var(--spacing-09);
}

.layout-footer__section--bottom-nav {
	align-items: center;
	display: flex;
	flex-direction: column-reverse;
	width: 100%;
}

[dir] .layout-footer__section--bottom-nav {
	padding: var(--spacing-13) 0;
}

[dir] .layout-footer__section-block {
	margin-bottom: var(--spacing-05);
	text-align: center;
}

[dir] .layout-footer__section-block:first-child {
	margin-bottom: 0;
}

.layout-footer__stores,
.layout-footer__section--sitemap,
.layout-footer__copyright {
	display: none;
}

[dir] .layout-footer__section--sitemap {
	padding-bottom: var(--spacing-15);
	padding-top: var(--spacing-15);
}

.layout-footer__section--marketing {
	justify-content: center;
}

.layout-footer__item {
	display: inline-block;
}

[dir] .layout-footer__item {
	margin-bottom: var(--spacing-01);
}

.layout-footer__item:not(:last-child)::after {
	content: '|';
}

[dir=ltr] .layout-footer__item:not(:last-child)::after {
	padding-left: var(--spacing-01);
	padding-right: var(--spacing-01);
}

[dir=rtl] .layout-footer__item:not(:last-child)::after {
	padding-right: var(--spacing-01);
	padding-left: var(--spacing-01);
}

.layout-footer__languages-list .layout-footer-link,
.layout-footer__policies-list .layout-footer-link,
.layout-footer__policies-list {
	font-size: var(--font-size-label-s);
	line-height: var(--line-height-label-s);
	letter-spacing: var(--letter-spacing-label-s);
	text-transform: var(--text-transform-label-s);
	font-stretch: var(--font-stretch-label-s);
	font-weight: var(--font-weight-label-s);
}

.layout-footer__item-action {
	font-size: var(--font-size-label-s);
	font-stretch: var(--font-stretch-normal);
	text-decoration: none;
	line-height: var(--line-height-label-s);
	letter-spacing: var(--letter-spacing-label-s);
	text-transform: var(--text-transform-label-s);
	font-weight: var(--font-weight-label-s);
}

.layout-footer__item-action:hover {
	text-decoration: underline;
}

[dir] .layout-footer__item-action:hover {
	cursor: pointer;
}

@media screen and (min-width: 48rem) {
	.layout-footer__section {
		display: block;
	}

	.layout-footer__section-block {
		align-items: center;
		display: flex;
		justify-content: space-between;
	}

	[dir] .layout-footer__section-block:first-child {
		margin-bottom: var(--spacing-04);
	}

	[dir] .layout-footer__section-block:last-child {
		margin-bottom: 0;
	}

	.layout-footer__section--marketing {
		justify-content: center;
	}

	[dir] .layout-footer__section--marketing {
		border-top: none;
	}

	.layout-footer__languages-wrapper {
		align-items: baseline;
		display: flex;
	}

	.layout-footer__section--sitemap,
	.layout-footer__stores,
	.layout-footer__copyright {
		display: block;
	}

	.layout-footer__copyright {
		color: var(--color-content-mid);
		font-size: var(--font-size-label-s);
		line-height: var(--line-height-label-s);
		letter-spacing: var(--letter-spacing-label-s);
		text-transform: var(--text-transform-label-s);
		font-stretch: var(--font-stretch-label-s);
		font-weight: var(--font-weight-label-s);
	}

	[dir=ltr] .layout-footer__copyright {
		margin: 0 0 0 var(--spacing-05);
	}

	[dir=rtl] .layout-footer__copyright {
		margin: 0 var(--spacing-05) 0 0;
	}
}

@media screen and (min-width: 64rem) {
	.layout-footer__languages-list .layout-footer-link {
		font-size: var(--font-size-label-s);
		line-height: var(--line-height-label-s);
		letter-spacing: var(--letter-spacing-label-s);
		text-transform: var(--text-transform-label-s);
		font-stretch: var(--font-stretch-label-s);
		font-weight: var(--font-weight-label-s);
	}

	[dir] .layout-footer__section--bottom-nav {
		padding-bottom: var(--spacing-15);
		padding-top: var(--spacing-13);
	}
}

.layout-error {
	z-index: 2;
}

[dir] .layout-error .layout-content {
	margin-bottom: var(--spacing-11);
}

.layout-error .content-header__title,
.layout-error .layout-header,
.layout-error .layout-footer {
	display: none;
}

.layout-error__button-wrapper {
	bottom: 0;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: var(--spacing-04);
	position: fixed;
	width: 100%;
}

[dir] .layout-error__button-wrapper {
	padding: var(--spacing-04);
}

[dir=ltr] .layout-error__button-wrapper {
	left: 0;
}

[dir=rtl] .layout-error__button-wrapper {
	right: 0;
}

.layout-error__background {
	position: absolute;
	width: 100%;
}

.layout-error__background .media-image__image {
	height: 100%;
	object-fit: cover;
	position: fixed;
	top: 0;
	width: 100%;
}

[dir=ltr] .layout-error__background .media-image__image {
	left: 0;
}

[dir=rtl] .layout-error__background .media-image__image {
	right: 0;
}

.layout-error .content-header {
	box-sizing: border-box;
	position: fixed;
	top: 50%;
	width: calc(100% - 2rem);
}

[dir] .layout-error .content-header {
	background: rgba(255, 255, 255, 0.8);
	padding: var(--spacing-04);
	transform: translateY(-50%);
}

/* stylelint-disable-next-line selector-max-compound-selectors */
[dir] .theme--dark .layout-error .content-header {
	background: rgba(0, 0, 0, 0.8);
}

@media screen and (min-width: 48rem) {
	.layout-error:not(.layout-error--background-in-desktop) + .layout-error__background {
		display: none;
	}

	.layout-error:not(.layout-error--background-in-desktop) .layout-footer {
		display: block;
	}

	.layout-error .layout-header {
		display: flex;
	}

	.layout-error .layout-content__article {
		color: var(--color-main);
		fill: var(--color-main);
		min-height: 20rem;
	}

	.layout-error .content-header__title {
		display: block;
	}

	.layout-error .content-header {
		width: 100%;
	}

	.layout-error .content-header,
	.layout-error .content-header__text-block,
	.layout-error__button-wrapper {
		flex-direction: row;
		position: static;
		width: auto;
	}

	[dir] .layout-error .content-header, [dir] .layout-error .content-header__text-block, [dir] .layout-error__button-wrapper {
		background: none;
		padding: 0;
		transform: none;
	}

	.layout-error__button-wrapper {
		width: unset;
	}

	[dir] .layout-error__button-wrapper {
		padding-top: var(--spacing-07);
	}

	.layout-error__button-wrapper > * {
		width: auto;
	}
}

