/* Footer */
.cetv-footer {
	margin-top: 64px;
	background: #1f1f21;
	color: #f2f3f5;
}

.cetv-banner-garantie + .cetv-footer {
	margin-top: 0;
}

.cetv-footer__container {
	padding: 72px var(--cetv-page-side-padding, 52px) 24px;
}

.cev-footer-shipping-bubble {
	--cev-shipping-sticky-bottom: 24px;
	position: fixed;
	left: 24px;
	bottom: calc(var(--cev-shipping-sticky-bottom) + env(safe-area-inset-bottom));
	z-index: 59;
	display: flex;
	align-items: center;
	gap: 12px;
	width: min(430px, calc(100vw - 48px));
	padding: 14px 42px 14px 14px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 24px;
	background: #1f1f21;
	color: #fff;
	font-family: var(--cetv-font-family-base, sans-serif);
	box-shadow: 8px 8px 24px rgba(0, 0, 0, 0.24);
}

.cev-footer-shipping-bubble__icon {
	position: relative;
	width: 42px;
	height: 42px;
	border-radius: 999px;
	background: var(--wp--preset--color--brand-primary, #ae1f23);
}

.cev-footer-shipping-bubble__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: inherit;
	cursor: default;
}

.cev-footer-shipping-bubble__toggle:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.cev-footer-shipping-bubble__close {
	position: absolute;
	top: -8px;
	right: -8px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 28px;
	width: 28px;
	min-width: 28px;
	max-width: 28px;
	height: 28px;
	min-height: 28px;
	max-height: 28px;
	aspect-ratio: 1;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 999px;
	box-sizing: border-box;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 0;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	text-decoration: none;
	transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.cev-footer-shipping-bubble__close span {
	display: block;
	line-height: 1;
}

.cev-footer-shipping-bubble__close:hover,
.cev-footer-shipping-bubble__close:focus-visible {
	border-color: rgba(255, 255, 255, 0.36);
	background: rgba(255, 255, 255, 0.16);
}

.cev-footer-shipping-bubble__close:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.cev-footer-shipping-bubble__icon::before {
	content: "";
	position: absolute;
	inset: 10px 8px;
	background: #fff;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 20'%3E%3Cpath d='M1 6h8M1 10h6M1 14h8' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M10 4h13v9h4l3 3v2h-2a3 3 0 0 0-6 0h-7a3 3 0 0 0-6 0h-1V4Z' fill='%23000'/%3E%3Ccircle cx='13' cy='18' r='2' fill='%23fff'/%3E%3Ccircle cx='25' cy='18' r='2' fill='%23fff'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 20'%3E%3Cpath d='M1 6h8M1 10h6M1 14h8' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M10 4h13v9h4l3 3v2h-2a3 3 0 0 0-6 0h-7a3 3 0 0 0-6 0h-1V4Z' fill='%23000'/%3E%3Ccircle cx='13' cy='18' r='2' fill='%23fff'/%3E%3Ccircle cx='25' cy='18' r='2' fill='%23fff'/%3E%3C/svg%3E");
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}

.cev-footer-shipping-bubble__body {
	display: grid;
	gap: 10px;
	min-width: 0;
	flex: 1;
}

.cev-footer-shipping-bubble__item {
	display: grid;
	gap: 8px;
	min-width: 0;
}

.cev-footer-shipping-bubble__item + .cev-footer-shipping-bubble__item {
	padding-top: 10px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.cev-footer-shipping-bubble__message {
	font-size: 0.9rem;
	line-height: 1.25;
	font-weight: 750;
	color: #fff;
}

.cev-footer-shipping-bubble__message .amount {
	color: #fff;
	font-weight: 850;
}

.cev-footer-shipping-bubble__track {
	display: block;
	width: 100%;
	height: 6px;
	overflow: hidden;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.2);
}

.cev-footer-shipping-bubble__track span {
	display: block;
	width: 0;
	height: 100%;
	border-radius: inherit;
	background: #ae1f23;
	transition: width 0.25s ease;
}

.cev-footer-shipping-bubble__item.is-reached .cev-footer-shipping-bubble__track span,
.cev-footer-shipping-bubble.is-reached .cev-footer-shipping-bubble__track span {
	background: #fff;
}

.cetv-footer a {
	color: rgba(255, 255, 255, 0.5);
	text-decoration: none;
	transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.cetv-footer a:visited {
	color: rgba(255, 255, 255, 0.5);
}

.cetv-footer a:hover,
.cetv-footer a:focus,
.cetv-footer a:active,
.cetv-footer a:visited:hover,
.cetv-footer a:visited:focus {
	color: #fff;
}

.cetv-footer__widgets {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
	gap: clamp(24px, 4vw, 72px);
}

.cetv-footer__widget-group {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(16px, 2vw, 34px);
}

.cetv-footer .widget {
	margin: 0;
}

.cetv-footer .widget + .widget {
	margin-top: 20px;
}

.cetv-footer .widget-title {
	margin: 0 0 16px;
	color: #fff;
	font-size: 1.45rem;
	font-weight: 700;
	line-height: 1.15;
}

.cetv-footer__widget--primary .widget-title {
	font-size: 2.15rem;
}

.cetv-footer__widget--secondary .widget-title {
	font-size: 20px;
	color: #fff;
	font-weight: 700;
}

.cetv-footer .widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.cetv-footer .widget li + li {
	margin-top: 10px;
}

.cetv-footer .widget a {
	text-decoration: underline;
	text-underline-offset: 2px;
	text-decoration-thickness: 1px;
}

.cetv-footer__widget--secondary .widget li a {
	font-size: 16px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.5);
}

.cetv-footer__widget--secondary .widget li a:hover,
.cetv-footer__widget--secondary .widget li a:focus {
	color: #fff;
}

.cetv-footer .widget p {
	margin: 0 0 14px;
	color: rgba(255, 255, 255, 0.5);
}

.cetv-footer .widget .wp-block-button__link,
.cetv-footer .widget button,
.cetv-footer .widget input[type="submit"],
.cetv-footer .widget .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 10px 28px;
	border-radius: 999px;
	border: 0;
	background: var(--wp--preset--color--brand-primary, #ae1f23);
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}

.cetv-footer .widget .wp-block-button__link:hover,
.cetv-footer .widget .wp-block-button__link:focus,
.cetv-footer .widget button:hover,
.cetv-footer .widget button:focus,
.cetv-footer .widget input[type="submit"]:hover,
.cetv-footer .widget input[type="submit"]:focus,
.cetv-footer .widget .button:hover,
.cetv-footer .widget .button:focus {
	background: #c9252a;
	color: #fff;
}

.cetv-footer .widget_nav_menu a,
.cetv-footer .widget .wp-block-button__link,
.cetv-footer .widget .button,
.cetv-footer__socials a,
.cetv-footer__legal-menu a {
	text-decoration: none;
}

.cetv-footer .widget_nav_menu .menu > li {
	position: relative;
}

.cetv-footer .widget_nav_menu .menu > li.cetv-footer-submenu-collapsible > a {
	display: block;
	line-height: 1.5;
	padding-right: 34px;
}

.cetv-footer .widget_nav_menu .menu > li > .cetv-footer-submenu-toggle {
	position: absolute;
	top: 0;
	right: 0;
	width: 30px;
	height: 24px;
	min-height: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	padding: 0;
	display: none;
	font-size: 1rem;
	line-height: 1;
	overflow: visible;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: rgba(255, 255, 255, 0.5);
}

.cetv-footer .widget_nav_menu .menu > li.cetv-footer-submenu-collapsible > .cetv-footer-submenu-toggle {
	display: inline-flex;
}

.cetv-footer .widget_nav_menu .menu > li > .cetv-footer-submenu-toggle::before {
	content: "";
	display: block;
	width: 7px;
	height: 7px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	opacity: 0.9;
	transition: transform 0.2s ease;
}

.cetv-footer .widget_nav_menu .menu > li > .sub-menu {
	display: block;
	position: static;
	top: auto;
	left: auto;
	min-width: 0;
	width: 100%;
	margin: 0;
	padding: 8px 0 0 14px;
	list-style: none;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	opacity: 1;
	visibility: visible;
	transform: none;
	pointer-events: auto;
	z-index: auto;
}

.cetv-footer .widget_nav_menu .menu > li.cetv-footer-submenu-collapsible > .sub-menu {
	display: none;
}

.cetv-footer .widget_nav_menu .menu > li > .sub-menu > li {
	margin: 0;
}

.cetv-footer .widget_nav_menu .menu > li > .sub-menu > li + li {
	margin-top: 6px;
	border-top: 0;
}

.cetv-footer .widget_nav_menu .menu > li > .sub-menu a {
	display: block;
	padding: 2px 0;
	white-space: normal;
}

.cetv-footer .widget_nav_menu .menu > li.cetv-footer-submenu-collapsible.cetv-footer-submenu-open > .sub-menu {
	display: block;
}

.cetv-footer .widget_nav_menu .menu > li.cetv-footer-submenu-collapsible.cetv-footer-submenu-open > .cetv-footer-submenu-toggle::before {
	transform: translateY(-2px) rotate(-135deg);
}

.cetv-footer__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 48px;
}

.cetv-footer__socials {
	display: flex;
	align-items: center;
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.cetv-footer__socials li {
	margin: 0;
}

.cetv-footer__socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: transparent;
	color: #fff;
	transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.cetv-footer__socials a:hover,
.cetv-footer__socials a:focus {
	background: #fff;
	border-color: #fff;
	color: #1f1f21;
	transform: translateY(-2px);
	box-shadow: 0 10px 18px rgba(0, 0, 0, 0.24);
}

.cetv-footer__socials .dashicons {
	width: 18px;
	height: 18px;
	font-size: 18px;
	line-height: 18px;
}

.cetv-footer-language-selector {
	position: relative;
	display: inline-flex;
	flex-direction: column;
	align-items: flex-end;
	margin-top: 0;
	padding-top: 0;
}

.cetv-footer-language-selector__current {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 12px;
	background: #1f1f21;
	color: #fff;
	font-weight: 500;
	white-space: nowrap;
	transition: border-radius 0.16s ease;
}

.cetv-footer-language-selector__current .dashicons,
.cetv-footer-language-selector__menu .dashicons {
	width: 16px;
	height: 16px;
	font-size: 16px;
	line-height: 16px;
}

.cetv-footer-language-selector__menu {
	display: block;
	position: absolute;
	right: 0;
	bottom: calc(100% - 1px);
	min-width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
	border-radius: 12px 12px 0 0;
	border: 1px solid rgba(255, 255, 255, 0.5);
	background: #1f1f21;
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
	z-index: 20;
	opacity: 0;
	visibility: hidden;
	transform: translateY(4px);
	pointer-events: none;
	transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.cetv-footer-language-selector:hover .cetv-footer-language-selector__menu,
.cetv-footer-language-selector:focus-within .cetv-footer-language-selector__menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.cetv-footer-language-selector:hover .cetv-footer-language-selector__current,
.cetv-footer-language-selector:focus-within .cetv-footer-language-selector__current {
	border-radius: 0 0 12px 12px;
}

.cetv-footer-language-selector__menu li {
	margin: 0;
}

.cetv-footer-language-selector__menu a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	background: transparent;
	color: #fff;
	text-decoration: none;
	white-space: nowrap;
}

.cetv-footer-language-selector__menu a:hover,
.cetv-footer-language-selector__menu a:focus {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

.cetv-footer__divider {
	margin: 34px 0 20px;
	width: 100%;
	margin-left: 0;
	margin-right: 0;
	height: 0;
	background: transparent;
	border: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.cetv-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.cetv-footer__copy {
	margin: 0;
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.95rem;
}

.cetv-footer__legal-nav {
	margin-left: auto;
}

.cetv-footer__legal-menu {
	display: flex;
	align-items: center;
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.cetv-footer__legal-menu li {
	margin: 0;
}

.cetv-footer__legal-menu a {
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.95rem;
	white-space: nowrap;
}

.cetv-footer__legal-menu a:hover,
.cetv-footer__legal-menu a:focus {
	color: #fff;
}

.cetv-floating-contact {
	--cetv-floating-bottom-base: 24px;
	--cetv-floating-footer-offset: 0px;
	position: fixed;
	right: 24px;
	bottom: calc(var(--cetv-floating-bottom-base) + var(--cetv-floating-footer-offset));
	z-index: 60;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 12px 10px 12px 14px;
	border-radius: 50px;
	background: #ae1f23;
	color: #fff;
	font-family: var(--cetv-font-family-base, sans-serif);
	font-size: 16px;
	font-weight: 650;
	line-height: normal;
	text-decoration: none;
	box-shadow: 8px 8px 20px 0 rgba(0, 0, 0, 0.2);
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

.cetv-floating-contact.is-page-end-hidden {
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
}

.cetv-floating-contact:visited {
	color: #fff;
	text-decoration: none;
}

.cetv-floating-contact:hover,
.cetv-floating-contact:focus,
.cetv-floating-contact:active {
	background: #c9252a;
	color: #fff;
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 10px 10px 24px 0 rgba(0, 0, 0, 0.24);
}

.cetv-floating-contact:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.cetv-floating-contact__label {
	white-space: nowrap;
}

.cetv-floating-contact__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 25px;
	height: 25px;
	border-radius: 999px;
	background: #fff;
	color: #ae1f23;
}

.cetv-floating-contact__icon::before {
	content: "";
	display: block;
	width: 7px;
	height: 7px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: translateX(-1px) rotate(45deg);
}

@media screen and (max-width: 64em) {
	.cetv-footer {
		margin-top: 42px;
	}

	.cetv-banner-garantie + .cetv-footer {
		margin-top: 0;
	}

	.cetv-footer__container {
		padding: 40px var(--cetv-page-side-padding, 16px) 20px;
	}

	.cev-footer-shipping-bubble {
		left: auto;
		right: max(16px, calc(env(safe-area-inset-right) + 14px));
		bottom: max(70px, calc(env(safe-area-inset-bottom) + 70px));
		width: 48px;
		height: 48px;
		padding: 0;
		border: 0;
		border-radius: 999px;
		background: transparent;
		box-shadow: none;
	}

	.cev-footer-shipping-bubble__toggle {
		flex-basis: 48px;
		width: 48px;
		height: 48px;
		cursor: pointer;
		border-radius: 999px;
		background: #1f1f21;
		box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.22);
	}

	.cev-footer-shipping-bubble__close {
		position: absolute;
		top: -6px;
		right: -6px;
		z-index: 2;
		flex-basis: 24px;
		width: 24px;
		min-width: 24px;
		max-width: 24px;
		height: 24px;
		min-height: 24px;
		max-height: 24px;
		aspect-ratio: 1;
		border-color: #fff;
		background: #1f1f21;
		font-size: 0.9rem;
		box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.22);
	}

	.cev-footer-shipping-bubble__message {
		font-size: 0.82rem;
		line-height: 1.2;
	}

	.cev-footer-shipping-bubble__icon {
		width: 38px;
		height: 38px;
		background: transparent;
	}

	.cev-footer-shipping-bubble__body {
		position: absolute;
		right: 0;
		bottom: calc(100% + 10px);
		width: min(314px, calc(100vw - 28px));
		padding: 14px;
		border-radius: 18px;
		background: #1f1f21;
		box-shadow: 8px 8px 24px rgba(0, 0, 0, 0.24);
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transform: translateY(8px);
		transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
	}

	.cev-footer-shipping-bubble.is-open .cev-footer-shipping-bubble__body {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: translateY(0);
	}

	.cetv-footer__widgets {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.cetv-footer__widget-group {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.cetv-footer .widget-title {
		font-size: 1.5rem;
	}

	.cetv-footer__widget--primary .widget-title {
		font-size: 1.85rem;
	}

	.cetv-footer__meta {
		flex-direction: column;
		align-items: center;
		gap: 16px;
		margin-top: 30px;
		width: 100%;
	}

	.cetv-footer__socials {
		width: 100%;
		justify-content: center;
	}

	.cetv-footer-language-selector {
		display: none;
	}

	.cetv-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.cetv-footer__legal-nav {
		margin-left: 0;
	}

	.cetv-footer__legal-menu {
		flex-wrap: wrap;
		gap: 12px 20px;
	}

	.cetv-floating-contact {
		--cetv-floating-bottom-base: max(16px, calc(env(safe-area-inset-bottom) + 12px));
		right: max(20px, calc(env(safe-area-inset-right) + 14px));
		gap: 8px;
		padding: 8px 8px 8px 11px;
		font-size: 13px;
		line-height: 1;
		max-width: calc(100vw - 40px - env(safe-area-inset-left) - env(safe-area-inset-right));
		z-index: 45;
	}

	.cetv-floating-contact__icon {
		width: 22px;
		height: 22px;
	}

	.cetv-floating-contact__icon::before {
		width: 6px;
		height: 6px;
		border-top-width: 1.75px;
		border-right-width: 1.75px;
	}

	.cetv-floating-contact.is-mobile-hidden {
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transform: translateY(16px);
	}
}
