/* =========================================================================
   Elyomiel — Page d'accueil
   Ambiance « ambre profond ». S'appuie sur les variables du socle.
   ====================================================================== */

body.ely-front {
	margin: 0;
	background: var(--ely-cream);
	color: var(--ely-ink);
	font-family: var(--ely-body);
	font-size: 1.0625rem;
	line-height: 1.6;
}
.ely-home { display: block; overflow-x: clip; }
.ely-home *, .ely-home *::before, .ely-home *::after { box-sizing: border-box; }

/* =========================================================================
   Héros
   ====================================================================== */
.ely-hero {
	--goo-h: 150px;
	position: relative;
	display: grid;
	align-items: center;
	min-height: clamp(640px, calc(100svh - var(--ely-header-h)), 940px);
	background:
		radial-gradient(40rem 32rem at 76% 62%, rgba(242, 168, 29, .32), transparent 70%),
		linear-gradient(180deg, #fff6dc 0%, var(--ely-cream) 55%, #ffe39c 100%);
	color: var(--ely-ink);
	overflow: hidden;
	isolation: isolate;
}

.ely-hero__inner {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
	align-items: center;
	gap: clamp(28px, 5vw, 80px);
	width: 100%;
	max-width: calc(var(--ely-max) + 2 * var(--ely-gutter));
	margin-inline: auto;
	padding: calc(var(--goo-h) * .55) var(--ely-gutter) clamp(48px, 7vw, 96px);
}

.ely-hero__title {
	margin: 0;
	font-family: var(--ely-display);
	font-weight: 400;
	font-size: clamp(3rem, 7.4vw, 6.6rem);
	line-height: .92;
	letter-spacing: -.025em;
	color: var(--ely-ink);
	text-wrap: balance;
}
.ely-hero__lead {
	max-width: 32em;
	margin: clamp(20px, 2.6vw, 32px) 0 0;
	font-size: clamp(1.04rem, 1.3vw, 1.2rem);
	line-height: 1.62;
	color: #6b4a26;
}
.ely-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(26px, 3.4vw, 40px); }
.ely-btn--ink { background: var(--ely-ink); color: var(--ely-milk); box-shadow: 0 4px 0 #0d0601; }
.ely-btn--ink:hover { color: var(--ely-milk); transform: translateY(-2px); box-shadow: 0 6px 0 #0d0601; }
.ely-btn--ink:active { transform: translateY(3px); box-shadow: 0 1px 0 #0d0601; }
.ely-btn--outline { background: transparent; color: var(--ely-ink); box-shadow: inset 0 0 0 2px rgba(42, 22, 7, .35); }
.ely-btn--outline:hover { color: var(--ely-ink); background: rgba(255, 255, 255, .5); box-shadow: inset 0 0 0 2px var(--ely-ink); }

/* Photos détourées des pots */
.ely-hero__visual {
	position: relative;
	justify-self: center;
	width: min(500px, 100%, max(300px, (100svh - var(--ely-header-h) - 140px) * .82));
}
.ely-hero__jars { position: relative; aspect-ratio: 1 / 1.04; }
.ely-hero__jars::before {
	content: "";
	position: absolute;
	left: 7%;
	right: 7%;
	bottom: 3%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle at 38% 32%, #ffd970, var(--ely-honey) 58%, var(--ely-honey-deep));
	box-shadow: inset 0 -18px 40px rgba(150, 80, 0, .35);
}
.ely-hero__jar {
	position: absolute;
	bottom: 5%;
	height: auto;
	filter: drop-shadow(0 26px 22px rgba(90, 50, 0, .35));
	animation: ely-rise 1s var(--ely-spring) both;
}
.ely-hero__jar--1 { left: 21%; width: 58%; z-index: 3; animation-delay: .25s; }
.ely-hero__jar--2 { left: 0; width: 40%; bottom: 9%; rotate: -8deg; z-index: 2; animation-delay: .45s; }
.ely-hero__jar--3 { right: 0; width: 40%; bottom: 9%; rotate: 8deg; z-index: 2; animation-delay: .6s; }
.ely-hero__jars--1 .ely-hero__jar--1 { left: 17%; width: 66%; }
@keyframes ely-rise { from { translate: 0 60px; opacity: 0; } }

.ely-hero__spot {
	position: absolute;
	left: -14%;
	bottom: -7%;
	z-index: 5;
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 2px 16px;
	padding: 14px 16px 14px 18px;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 18px 36px rgba(90, 50, 0, .22);
	rotate: -3deg;
	animation: ely-rise .9s var(--ely-spring) .9s both;
}
.ely-hero__spot-name { grid-column: 1; font-family: var(--ely-display); font-size: 1.1rem; line-height: 1.15; color: var(--ely-ink); text-decoration: none; }
.ely-hero__spot-name:hover { color: var(--ely-honey-deep); }
.ely-hero__spot-price { grid-column: 1; font-weight: 600; color: #8a4f06; }
.ely-hero__spot-add {
	grid-column: 2;
	grid-row: 1 / span 2;
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 9px 16px;
	border-radius: 12px;
	background: var(--ely-honey);
	color: var(--ely-ink);
	font: 600 .92rem/1.1 var(--ely-body);
	text-decoration: none;
	transition: background-color .2s, transform .25s var(--ely-spring);
}
.ely-hero__spot-add:hover { background: var(--ely-honey-light); color: var(--ely-ink); transform: translateY(-2px); }
.ely-hero__spot .added_to_cart { display: none; }

/* L'illustration : cuillère à miel et filet */
.ely-hero__art { justify-self: center; width: min(440px, 100%, max(280px, (100svh - var(--ely-header-h) - 170px) * .6)); }
.ely-dipper { display: block; width: 100%; height: auto; overflow: visible; }
.ely-dipper__shadow { fill: rgba(120, 70, 0, .22); }
.ely-dipper__ring { stroke: rgba(60, 30, 5, .35); stroke-width: 1; }
.ely-dipper__grain { fill: none; stroke: rgba(60, 30, 5, .35); stroke-width: 1.5; stroke-linecap: round; }
.ely-dipper__gloss { fill: none; stroke: rgba(255, 250, 225, .8); stroke-width: 5; stroke-linecap: round; }
.ely-dipper__gloss--small { stroke-width: 3; stroke: rgba(255, 250, 225, .6); }
.ely-dipper__fold { fill: none; stroke: rgba(255, 236, 180, .55); stroke-width: 2; stroke-linecap: round; }
.ely-dipper__shine { fill: rgba(255, 245, 210, .45); }

.ely-dipper__strand {
	fill: none;
	stroke: #f2a81d;
	stroke-width: 7;
	stroke-linecap: round;
	animation: ely-strand 3.2s ease-in-out infinite;
}
@keyframes ely-strand {
	0%, 100% { stroke-width: 7; }
	50% { stroke-width: 9.5; }
}
/* Reflets qui descendent le long du filet */
.ely-dipper__strand-light {
	fill: none;
	stroke: rgba(255, 238, 190, .9);
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-dasharray: 10 74;
	animation: ely-flow 1.4s linear infinite;
}
@keyframes ely-flow { to { stroke-dashoffset: -84; } }

.ely-dipper__drop {
	fill: #ffc94a;
	opacity: 0;
	animation: ely-drop 3.6s cubic-bezier(.55, 0, .9, .4) 1s infinite;
}
@keyframes ely-drop {
	0% { transform: translateY(0); opacity: 0; }
	8% { opacity: 1; }
	60% { transform: translateY(248px); opacity: 1; }
	62%, 100% { transform: translateY(248px); opacity: 0; }
}

.ely-dipper__ripple {
	fill: none;
	stroke: rgba(255, 220, 140, .8);
	stroke-width: 1.6;
	transform-box: fill-box;
	transform-origin: center;
	animation: ely-ripple 3.6s ease-out 2.9s infinite;
	opacity: 0;
}
.ely-dipper__ripple--2 { animation-delay: 3.4s; }
@keyframes ely-ripple {
	0% { transform: scale(.5); opacity: .9; }
	100% { transform: scale(2.3); opacity: 0; }
}

/* Essaim */
.ely-swarm { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.ely-swarm__bee {
	position: absolute;
	top: 0;
	left: 0;
	width: 84px;
	height: 63px;
	will-change: transform;
	transform: translate(-200px, -200px);
}
.ely-swarm__bee:nth-child(2) { width: 68px; height: 51px; }
.ely-swarm__bee:nth-child(3) { width: 56px; height: 42px; }
.ely-swarm__bee:nth-child(4) { width: 46px; height: 35px; }
.ely-swarm__bee .ely-bee {
	width: 100%;
	height: 100%;
	filter: drop-shadow(0 10px 8px rgba(90, 50, 0, .25));
}

@media (max-width: 900px) {
	.ely-hero { --goo-h: 120px; min-height: 0; align-items: start; }
	.ely-hero__inner {
		grid-template-columns: 1fr;
		gap: 12px;
		padding-top: calc(var(--goo-h) * .82);
		padding-bottom: 40px;
	}
	.ely-hero__art { width: min(320px, 82vw); margin-top: 8px; }
	.ely-hero__visual { width: min(360px, 88vw); margin-top: 18px; }
	.ely-hero__spot { left: 50%; bottom: -10%; translate: -50% 0; white-space: nowrap; }
	.ely-hero__visual { margin-bottom: 56px; }
	.ely-swarm__bee { width: 60px; height: 45px; }
	.ely-swarm__bee:nth-child(2) { width: 48px; height: 36px; }
	.ely-swarm__bee:nth-child(n+3) { display: none; }
}
@media (max-width: 420px) {
	.ely-hero__cta .ely-btn { flex: 1 1 100%; }
}

/* =========================================================================
   Le nuancier des miels
   ====================================================================== */
.ely-swatch {
	padding-block: clamp(56px, 6vw, 96px);
	background:
		radial-gradient(60rem 24rem at 50% 62%, rgba(242, 168, 29, .2), transparent 70%),
		#fffaf0;
	color: var(--ely-ink);
	scroll-margin-top: var(--ely-header-h);
}
.ely-swatch__head { max-width: 40rem; margin: 0 auto clamp(24px, 3vw, 36px); text-align: center; }
.ely-swatch__title {
	margin: 0;
	font-family: var(--ely-display);
	font-weight: 400;
	font-size: clamp(2.3rem, 4.2vw, 3.6rem);
	line-height: .95;
	letter-spacing: -.02em;
	color: var(--ely-ink);
}
.ely-swatch__head p { margin: 14px 0 0; color: #6b4a26; font-size: 1.08rem; }

.ely-swatch__scale {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 14px;
	max-width: 980px;
	margin: 0 auto 10px;
	font-size: .85rem;
	font-weight: 600;
	color: #8a6a48;
}
.ely-swatch__bar { height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--stops)); }

/* Rangée de pots */
.ely-swatch__jars {
	position: relative;
	display: grid;
	grid-template-columns: repeat(8, minmax(0, 1fr));
	gap: clamp(2px, 1vw, 14px);
	max-width: 1080px;
	margin: 0 auto;
	padding-top: 26px;
}
.ely-sj {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 8px 2px 14px;
	border: 0;
	border-radius: 16px;
	background: transparent;
	color: #8a6a48;
	font: 600 .9rem/1.15 var(--ely-body);
	cursor: pointer;
	transition: color .2s, background-color .25s;
}
.ely-sj:hover { color: var(--ely-ink); background: rgba(42, 22, 7, .03); }
.ely-sj[aria-selected="true"] { color: var(--ely-ink); background: rgba(242, 168, 29, .14); }
/* Petit repère sous le pot choisi, qui pointe vers la fiche */
.ely-sj::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -14px;
	width: 16px;
	height: 16px;
	background: #fff;
	box-shadow: -2px -2px 0 rgba(42, 22, 7, .06);
	transform: translateX(-50%) rotate(45deg) scale(0);
	border-radius: 3px;
	transition: transform .35s var(--ely-spring);
}
.ely-sj[aria-selected="true"]::after { transform: translateX(-50%) rotate(45deg) scale(1); }

.ely-sj__pic {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	width: 100%;
	height: clamp(64px, 11vw, 150px);
	transition: transform .45s var(--ely-spring);
}
/* Ombre au sol sous chaque pot */
.ely-sj__pic::after {
	content: "";
	position: absolute;
	left: 14%;
	right: 14%;
	bottom: -6px;
	height: 12px;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(90, 50, 0, .35), transparent);
	transition: transform .45s var(--ely-spring), opacity .3s;
	z-index: -1;
}
.ely-sj__img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.ely-sj:hover .ely-sj__pic { transform: translateY(-5px); }
.ely-sj[aria-selected="true"] .ely-sj__pic { transform: translateY(-14px) scale(1.08); }
.ely-sj[aria-selected="true"] .ely-sj__pic::after { transform: translateY(14px) scale(.85); opacity: .7; }
.ely-sj[aria-selected="true"] .ely-sj__img { filter: drop-shadow(0 0 18px color-mix(in srgb, var(--hn) 55%, transparent)); }
.ely-mj { display: block; width: min(64px, 100%); height: auto; overflow: visible; }
.ely-mj__shadow { fill: rgba(90, 50, 0, .25); transition: opacity .3s; }
.ely-sj[aria-selected="true"] .ely-mj__shadow { opacity: .5; }
.ely-mj__glass { fill: rgba(255, 255, 255, .6); stroke: rgba(42, 22, 7, .25); stroke-width: 1.5; }
.ely-mj__label { fill: #fff3d6; }
.ely-mj__shine { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 3; stroke-linecap: round; }
.ely-mj__neck { fill: rgba(255, 243, 214, .2); }
.ely-mj__lid { fill: #d9a33a; }
.ely-mj__ridges { stroke: rgba(110, 66, 10, .45); stroke-width: 1.2; }
.ely-sj[aria-selected="true"] .ely-mj__honey { filter: drop-shadow(0 0 10px color-mix(in srgb, var(--hn) 70%, transparent)); }

/* Fiche du miel choisi */
.ely-swatch__panels { max-width: 980px; margin: 14px auto 0; }
.ely-sp {
	display: grid;
	grid-template-columns: minmax(160px, 260px) 1fr;
	gap: clamp(20px, 3.5vw, 44px);
	align-items: center;
	padding: clamp(16px, 2.4vw, 26px);
	border-radius: 24px;
	background: #fff;
	color: var(--ely-ink);
	box-shadow: 0 24px 50px -24px rgba(90, 50, 0, .35), 0 0 0 1px rgba(42, 22, 7, .06), inset 0 -6px 0 var(--hn);
	animation: ely-panel .45s var(--ely-ease);
	outline: none;
}
.ely-sp:focus-visible { box-shadow: 0 0 0 3px var(--ely-honey), inset 0 -6px 0 var(--hn); }
.ely-sp[hidden] { display: none; }
@keyframes ely-panel { from { opacity: 0; transform: translateY(10px); } }
.ely-sp__media {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 1;
	border-radius: 18px;
	background: radial-gradient(circle at 50% 58%, color-mix(in srgb, var(--hn) 55%, #fff) 0 46%, var(--ely-cream) 47%);
	overflow: hidden;
}
.ely-sp__img { display: block; width: 74%; height: 84%; object-fit: contain; filter: drop-shadow(0 14px 12px rgba(90, 50, 0, .3)); animation: ely-pop-in .55s var(--ely-spring); }
@keyframes ely-pop-in { from { transform: translateY(18px) scale(.92); opacity: 0; } }
.ely-sp__step { font-size: .85rem; font-weight: 600; color: #8a6a48; }
.ely-sp__name { margin: 4px 0 0; color: var(--ely-ink); font-family: var(--ely-display); font-weight: 400; font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.02; letter-spacing: -.015em; }
.ely-sp__name a { color: var(--ely-ink); text-decoration: none; }
.ely-sp__name a:hover { color: var(--ely-honey-deep); }
.ely-sp__note { margin: 12px 0 0; max-width: 34em; font-size: 1.1rem; color: #4a3220; }
.ely-sp__pair { margin: 8px 0 0; max-width: 34em; color: #7a5a3a; }
.ely-sp__pair span { font-weight: 600; color: var(--ely-ink); }
.ely-sp__buy { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; margin-top: 22px; }
.ely-sp__price { font-family: var(--ely-display); font-size: 1.6rem; color: #8a4f06; }
.ely-sp__price del { opacity: .5; font-size: 1rem; }
.ely-sp__add { background: var(--ely-honey); color: var(--ely-ink); min-height: 48px; padding: 12px 24px; box-shadow: 0 4px 0 var(--ely-honey-deep); }
.ely-sp__add:hover { color: var(--ely-ink); background: var(--ely-honey-light); transform: translateY(-2px); }
.ely-sp__add.is-out { box-shadow: none; }
.ely-sp__more { color: var(--ely-ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--ely-honey-deep); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.ely-sp__more:hover { color: var(--ely-honey-deep); }

@media (max-width: 760px) {
	.ely-sj { padding: 4px 0 10px; border-radius: 10px; gap: 6px; }
	.ely-swatch__jars { margin-inline: calc(-1 * var(--ely-gutter) + 12px); }
	.ely-sj__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
	.ely-swatch__scale { margin-bottom: 4px; }
	.ely-sj::after { width: 12px; height: 12px; bottom: -11px; }
	.ely-sp { grid-template-columns: 96px 1fr; align-items: start; gap: 16px; border-radius: 18px; }
	.ely-sp__media { border-radius: 12px; }
	.ely-sp__name { font-size: 1.6rem; }
	.ely-sp__note { font-size: 1rem; }
	.ely-sp__buy { grid-column: 1 / -1; }
	.ely-sp__body { display: contents; }
	.ely-sp__step, .ely-sp__name, .ely-sp__note, .ely-sp__pair { grid-column: 2; }
	.ely-sp__step { grid-row: 1; align-self: end; }
	.ely-sp__media { grid-row: 1 / span 2; }
	.ely-sp__name { grid-row: 2; margin: 0; }
	.ely-sp__note, .ely-sp__pair { grid-column: 1 / -1; }
	.ely-sp__buy { margin-top: 8px; }
	.ely-sp__add { flex: 1; justify-content: center; }
}

.ely-sp__add,
.ely-item__add {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 10px 20px;
	border-radius: 12px;
	font: 600 .95rem/1.1 var(--ely-body);
	text-decoration: none;
	cursor: pointer;
	transition: transform .25s var(--ely-spring), background-color .2s, color .2s;
}
.ely-sp__add.loading, .ely-item__add.loading { opacity: .6; pointer-events: none; }
.ely-sp__add.added::after, .ely-item__add.added::after { content: " ✓"; margin-left: 4px; }
.is-out { opacity: .6; font-size: .9rem; }


/* =========================================================================
   La carte (fond caramel clair, trait brun)
   ====================================================================== */
.ely-map {
	padding-block: clamp(80px, 10vw, 140px);
	background:
		radial-gradient(40rem 28rem at 75% 50%, rgba(242, 168, 29, .2), transparent 70%),
		#f5dcb4;
	color: var(--ely-ink);
}
.ely-map__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(36px, 7vw, 110px);
}
.ely-map__title {
	margin: 0 0 26px;
	color: var(--ely-ink);
	font-family: var(--ely-display);
	font-weight: 400;
	font-size: clamp(2.4rem, 4.8vw, 4rem);
	line-height: .98;
	letter-spacing: -.02em;
}
.ely-map__text p { max-width: 31em; margin: 0 0 16px; font-size: 1.08rem; color: #5e4024; }
.ely-map__link {
	display: inline-block;
	margin-top: 14px;
	color: var(--ely-ink);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: var(--ely-honey-deep);
	text-decoration-thickness: 3px;
	text-underline-offset: 6px;
	transition: color .2s;
}
.ely-map__link:hover { color: var(--ely-honey-deep); }

.ely-map__figure { position: relative; margin: 0; }
.ely-map__svg { display: block; width: 100%; max-width: 520px; height: auto; margin-inline: auto; overflow: visible; font-family: var(--ely-body); }
.ely-map__peaks { fill: none; stroke: #b98a5a; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.ely-map__massif { fill: #9a7450; font-size: 13px; font-style: italic; }
.ely-map__zone { fill: var(--ely-honey); opacity: .55; transform-box: fill-box; transform-origin: center; }
.ely-map__river { fill: none; stroke: #6e9db0; stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.ely-map__river-name { fill: #5a8698; font-size: 12px; font-style: italic; }
.ely-map__city circle { fill: var(--ely-ink); }
.ely-map__city text { fill: var(--ely-ink); font-size: 14px; font-weight: 600; }
.ely-map__city--key circle { fill: var(--ely-honey); stroke: var(--ely-ink); stroke-width: 2.5; }
.ely-map__city--key text { font-family: var(--ely-display); font-weight: 400; font-size: 19px; }
.ely-map__valley { fill: #8a4f06; font-family: var(--ely-display); font-size: 16px; }
.ely-map__north path { fill: var(--ely-ink); }
.ely-map__north text { fill: var(--ely-ink); font-size: 12px; font-weight: 700; }

.ely-map.is-armed .ely-map__river { stroke-dashoffset: 1; }
.ely-map.is-armed .ely-map__zone { transform: scale(.4); opacity: 0; }
.ely-map.is-armed .ely-map__city { opacity: 0; }
.ely-map.is-visible .ely-map__river { stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s var(--ely-ease); }
.ely-map.is-visible .ely-map__zone { transform: none; opacity: .55; transition: transform .9s var(--ely-spring) 1s, opacity .6s 1s; }
.ely-map.is-visible .ely-map__zone + .ely-map__zone { transition-delay: 1.3s; }
.ely-map.is-visible .ely-map__city { opacity: 1; transition: opacity .5s 1.6s; }

.ely-map__bee {
	position: absolute;
	width: 58px;
	height: 44px;
	left: 58%;
	top: 22%;
	filter: drop-shadow(0 8px 6px rgba(90, 50, 0, .25));
	animation: ely-hover 3.6s ease-in-out infinite;
}
@keyframes ely-hover {
	0%, 100% { transform: translate(0, 0) rotate(-6deg); }
	50% { transform: translate(10px, -12px) rotate(4deg); }
}

@media (max-width: 860px) {
	.ely-map__grid { grid-template-columns: 1fr; }
	.ely-map__svg { max-width: 400px; }
}

/* =========================================================================
   L'étagère
   ====================================================================== */
.ely-shelf {
	padding-block: clamp(72px, 9vw, 124px) clamp(60px, 8vw, 100px);
	background: var(--ely-honey);
	color: var(--ely-darker);
}
.ely-shelf__head {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: 22px 32px;
	margin-bottom: clamp(30px, 4vw, 48px);
}
.ely-shelf__title {
	margin: 0;
	color: var(--ely-darker);
	font-family: var(--ely-display);
	font-weight: 400;
	font-size: clamp(2.4rem, 4.8vw, 4rem);
	line-height: .98;
	letter-spacing: -.02em;
}
.ely-shelf__tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.ely-chip {
	min-height: 42px;
	padding: 9px 16px;
	border: 0;
	border-radius: 10px;
	background: rgba(42, 22, 7, .1);
	color: var(--ely-darker);
	font: 600 .93rem/1.1 var(--ely-body);
	cursor: pointer;
	transition: background-color .2s, color .2s;
}
.ely-chip:hover { background: rgba(42, 22, 7, .18); }
.ely-chip.is-active { background: var(--ely-darker); color: var(--ely-milk); }

.ely-shelf__grid {
	--g: clamp(16px, 2.2vw, 28px);
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 46px var(--g);
	margin: 0;
	padding: 0;
	list-style: none;
}
/* Planche de bois sous chaque rangée : chaque produit pose sa part de planche. */
.ely-item { position: relative; padding-bottom: 22px; }
.ely-item::after {
	content: "";
	position: absolute;
	left: calc(var(--g) / -2 - 1px);
	right: calc(var(--g) / -2 - 1px);
	bottom: 0;
	height: 16px;
	background:
		repeating-linear-gradient(90deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 46px),
		linear-gradient(#8a5524, #4a2a0e);
	box-shadow: 0 14px 18px -10px rgba(60, 30, 0, .5);
}
.ely-item.is-hidden { display: none; }

.ely-item { display: flex; flex-direction: column; }
.ely-item__media {
	display: block;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 18px 18px 6px 6px;
	background: var(--ely-milk);
	box-shadow: 0 10px 20px -8px rgba(60, 30, 0, .4);
	transform-origin: 50% 100%;
	transition: transform .45s var(--ely-spring);
}
.ely-item:hover .ely-item__media { transform: translateY(-6px) rotate(-1.5deg); }
.ely-item__media img { display: block; width: 100%; height: 100%; object-fit: cover; }

.ely-item__tag {
	position: relative;
	display: flex;
	flex-direction: column;
	flex: 1;
	margin: 14px 8px 18px;
	padding: 14px 16px;
	border-radius: 4px 4px 14px 14px;
	background: var(--ely-milk);
	box-shadow: 0 6px 14px rgba(60, 30, 0, .2);
}
.ely-item__tag::before {
	content: "";
	position: absolute;
	top: 9px;
	right: 12px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--ely-honey);
	box-shadow: inset 0 0 0 2px rgba(42, 22, 7, .25);
}
.ely-item__name { margin: 0 0 12px; padding-right: 16px; color: var(--ely-darker); font: 600 1rem/1.3 var(--ely-body); }
.ely-item__name a { color: var(--ely-darker); text-decoration: none; }
.ely-item__name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ely-item__buy { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.ely-item__price { font-family: var(--ely-display); font-size: 1.3rem; color: #8a4f06; }
.ely-item__add { min-height: 40px; padding: 8px 14px; background: var(--ely-darker); color: var(--ely-milk); font-size: .9rem; }
.ely-item__add:hover { color: var(--ely-darker); background: var(--ely-honey); transform: translateY(-2px); }
.ely-item .added_to_cart { display: none; }
.ely-item__add.is-out, .ely-hn__add.is-out { background: rgba(42, 22, 7, .1); color: #7a5a3a; box-shadow: none; cursor: default; }
.ely-hn__add.is-out { background: rgba(255, 243, 214, .06); color: rgba(255, 243, 214, .5); }

.ely-shelf__foot { margin-top: clamp(28px, 4vw, 44px); }
.ely-btn--dark { background: var(--ely-darker); color: var(--ely-milk); box-shadow: 0 4px 0 #0d0601; }
.ely-btn--dark:hover { color: var(--ely-milk); transform: translateY(-2px); box-shadow: 0 6px 0 #0d0601; }

@media (max-width: 1024px) { .ely-shelf__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
	.ely-shelf__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
	.ely-shelf__tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--ely-gutter)); padding-inline: var(--ely-gutter); scrollbar-width: none; }
	.ely-shelf__tabs::-webkit-scrollbar { display: none; }
	.ely-chip { flex-shrink: 0; }
	.ely-item__tag { margin-inline: 4px; padding: 12px; }
	.ely-item__name { font-size: .92rem; padding-right: 10px; }
	.ely-item__buy { flex-direction: column; align-items: stretch; gap: 8px; }
	.ely-item__add { justify-content: center; }
}

/* =========================================================================
   Mouvement réduit
   ====================================================================== */
@media (prefers-reduced-motion: reduce) {
	.ely-map.is-armed .ely-map__river { stroke-dashoffset: 0; }
	.ely-map.is-armed .ely-map__zone, .ely-map.is-armed .ely-map__city { transform: none; opacity: 1; }
}
