/* EH Footer — premium noir & blanc, aligné fiche produit */

.eh-footer-active #site-footer .trigger-footer-widget-area,
.eh-footer-active #site-footer .site-footer-widget-area,
.eh-footer-active #site-footer .footer_socials_wrapper,
.eh-footer-active #site-footer .footer-navigation-wrapper,
.eh-footer-active #site-footer .copyright_text {
	display: none !important;
}

.eh-footer-active #site-footer.site-footer {
	background: #fff !important;
	padding: 0 !important;
	margin-top: clamp(3rem, 6vw, 5rem);
	border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.eh-footer-active #site-footer .site-footer-copyright-area,
.eh-footer-active #site-footer .site-footer-copyright-area > .row,
.eh-footer-active #site-footer .site-footer-copyright-area .large-12.columns {
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	max-width: none !important;
	width: 100% !important;
	float: none !important;
}

.eh-footer-active #shopkeeper_credits {
	display: none !important;
}

/* ── Système typographique ── */
.eh-footer {
	--eh-ft-pad: clamp(2.75rem, 5.5vw, 5rem);
	--eh-ft-gap: clamp(2rem, 4.5vw, 4rem);
	--eh-ft-label: 0.6875rem;
	--eh-ft-label-ls: 0.12em;
	--eh-ft-body: 0.9375rem;
	--eh-ft-muted: rgba(0, 0, 0, 0.5);
	--eh-ft-faint: rgba(0, 0, 0, 0.38);
	--eh-ft-line: rgba(0, 0, 0, 0.08);
	--eh-ft-hover-line: rgba(0, 0, 0, 0.22);
	color: #000;
	font-size: var(--eh-ft-body);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

.eh-footer__inner {
	max-width: min(1280px, 100%);
	margin: 0 auto;
	padding: var(--eh-ft-pad) clamp(1.25rem, 4vw, 3rem) clamp(1.75rem, 3vw, 2.5rem);
}

/* ── Grille principale ── */
.eh-footer__top {
	display: grid;
	grid-template-columns: minmax(240px, 1.05fr) minmax(0, 2.15fr);
	gap: var(--eh-ft-gap);
	align-items: start;
	padding-bottom: clamp(2rem, 3.5vw, 3.25rem);
	border-bottom: 1px solid var(--eh-ft-line);
}

/* ── Marque ── */
.eh-footer__brand {
	display: flex;
	flex-direction: column;
	gap: 1.125rem;
}

.eh-footer__logo {
	display: inline-flex;
	flex-direction: column;
	gap: 0.4rem;
	text-decoration: none;
	color: #000 !important;
	transition: opacity 0.25s ease;
	width: fit-content;
}

.eh-footer__logo:hover,
.eh-footer__logo:focus {
	opacity: 0.55;
	color: #000 !important;
}

.eh-footer__logo-main {
	font-size: clamp(1.125rem, 2vw, 1.4375rem);
	font-weight: 600;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	line-height: 1.15;
}

.eh-footer__logo-sub {
	font-size: var(--eh-ft-label);
	font-weight: 500;
	letter-spacing: var(--eh-ft-label-ls);
	text-transform: uppercase;
	color: var(--eh-ft-faint);
}

.eh-footer__tagline {
	margin: 0;
	font-size: var(--eh-ft-body);
	line-height: 1.7;
	color: var(--eh-ft-muted);
	max-width: 24rem;
}

/* ── Réseaux sociaux premium ── */
.eh-footer__social {
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
	margin-top: 0.5rem;
}

.eh-footer__social-link {
	display: flex;
	align-items: center;
	gap: 0.875rem;
	padding: 0.875rem 1rem;
	border: 1px solid var(--eh-ft-line);
	text-decoration: none !important;
	color: #000 !important;
	background: #fff;
	transition:
		border-color 0.25s ease,
		background-color 0.25s ease,
		transform 0.25s ease;
}

.eh-footer__social-link:hover,
.eh-footer__social-link:focus {
	border-color: var(--eh-ft-hover-line);
	background: rgba(0, 0, 0, 0.02);
	color: #000 !important;
	transform: translateY(-1px);
}

.eh-footer__social-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	flex-shrink: 0;
	border: 1px solid var(--eh-ft-line);
}

.eh-footer__social-icon svg {
	width: 1.125rem;
	height: 1.125rem;
}

.eh-footer__social-text {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 0;
}

.eh-footer__social-label {
	font-size: var(--eh-ft-label);
	font-weight: 600;
	letter-spacing: var(--eh-ft-label-ls);
	text-transform: uppercase;
	color: var(--eh-ft-faint);
	line-height: 1.3;
}

.eh-footer__social-handle {
	font-size: 0.8125rem;
	letter-spacing: 0.02em;
	color: #000;
	word-break: break-word;
}

/* ── Navigation ── */
.eh-footer__nav {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1.5rem, 3vw, 2.75rem);
}

.eh-footer__col-title {
	margin: 0 0 1.125rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--eh-ft-line);
	font-size: var(--eh-ft-label);
	font-weight: 600;
	letter-spacing: var(--eh-ft-label-ls);
	text-transform: uppercase;
	color: #000;
	line-height: 1.4;
}

.eh-footer__links {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
}

.eh-footer__links a {
	position: relative;
	display: inline-block;
	color: var(--eh-ft-muted) !important;
	text-decoration: none !important;
	font-size: 0.875rem;
	line-height: 1.5;
	padding-bottom: 1px;
	transition: color 0.2s ease;
}

.eh-footer__links a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s ease;
}

.eh-footer__links a:hover,
.eh-footer__links a:focus {
	color: #000 !important;
}

.eh-footer__links a:hover::after,
.eh-footer__links a:focus::after {
	transform: scaleX(1);
}

/* ── Bas de page ── */
.eh-footer__bottom {
	padding-top: 1.625rem;
}

.eh-footer__copy {
	margin: 0;
	font-size: 0.75rem;
	letter-spacing: 0.05em;
	color: var(--eh-ft-faint);
	text-align: center;
}

.eh-footer__credit {
	margin: 0.5rem 0 0;
	font-size: 0.6875rem;
	letter-spacing: 0.04em;
	color: var(--eh-ft-faint);
	text-align: center;
}

.eh-footer__credit a {
	color: var(--eh-ft-muted) !important;
	text-decoration: none !important;
	transition: color 0.2s ease;
}

.eh-footer__credit a:hover,
.eh-footer__credit a:focus {
	color: #000 !important;
}

/* ── Animation entrée ── */
[data-eh-footer-reveal] {
	opacity: 0;
	transform: translateY(14px);
	transition:
		opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
	transition-delay: var(--eh-ft-delay, 0ms);
}

.eh-footer.is-visible [data-eh-footer-reveal] {
	opacity: 1;
	transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	[data-eh-footer-reveal] {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.eh-footer__social-link:hover,
	.eh-footer__social-link:focus {
		transform: none;
	}
}

/* ── Tablette ── */
@media (max-width: 1024px) {
	.eh-footer__top {
		grid-template-columns: 1fr;
		gap: 2.75rem;
	}

	.eh-footer__nav {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.eh-footer__social {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.eh-footer__social-link {
		flex: 1 1 calc(50% - 0.3125rem);
		min-width: min(100%, 280px);
	}
}

/* ── Mobile ── */
@media (max-width: 767px) {
	.eh-footer__inner {
		padding-top: 2.5rem;
		padding-bottom: 2rem;
	}

	.eh-footer__top {
		gap: 2.25rem;
		padding-bottom: 1.875rem;
	}

	.eh-footer__nav {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.eh-footer__col {
		padding: 1.5rem 0;
	}

	.eh-footer__col:first-child {
		padding-top: 0;
	}

	.eh-footer__col + .eh-footer__col {
		border-top: 1px solid var(--eh-ft-line);
	}

	.eh-footer__col-title {
		margin-bottom: 1rem;
		padding-bottom: 0.625rem;
	}

	.eh-footer__social {
		flex-direction: column;
	}

	.eh-footer__social-link {
		flex: 1 1 auto;
		width: 100%;
		min-width: 0;
	}

	.eh-footer__copy,
	.eh-footer__credit {
		text-align: left;
	}
}

@media (max-width: 480px) {
	.eh-footer__logo-main {
		font-size: 1.0625rem;
		letter-spacing: 0.06em;
	}

	.eh-footer__tagline {
		font-size: 0.875rem;
	}

	.eh-footer__social-link {
		padding: 0.75rem 0.875rem;
		gap: 0.75rem;
	}
}
