/* Section « Boutique » : cartes des produits, filtres, tiroir du panier et bulle d'ajout. */

.lfo-boutique {
	position: relative;
	padding: clamp(56px, 8vw, 120px) clamp(18px, 4vw, 60px);
}

.lfo-boutique [hidden],
.lfo-boutique__tiroir [hidden] {
	display: none;
}

.lfo-boutique__tete {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
	margin-bottom: clamp(26px, 3vw, 40px);
}

.lfo-boutique__intro {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.lfo-boutique__surtitre {
	font-family: 'Caveat Brush', cursive;
	font-size: clamp(26px, 2.4vw, 34px);
	color: #4E9A3A;
	rotate: -3deg;
	transform-origin: left;
}

.lfo-boutique__titre {
	margin: 0;
	font-weight: 800;
	font-size: clamp(40px, 5vw, 76px);
	line-height: 1;
	letter-spacing: -.025em;
}

.lfo-boutique__titre .accent {
	font-style: normal;
	color: #D7362B;
}

.lfo-boutique__resa {
	align-self: flex-start;
	padding: 0;
	border: 0;
	background: none;
	color: #1D5BD6;
	font-family: 'Bricolage Grotesque', sans-serif;
	font-size: clamp(19px, 1.6vw, 23px);
	font-weight: 800;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
	cursor: pointer;
}

.lfo-boutique__resa:hover {
	color: #123F99;
}

.lfo-boutique__types {
	display: flex;
	padding: 5px;
	border-radius: 16px;
	background: #FFE6B8;
}

.lfo-boutique__type {
	height: 42px;
	padding: 0 16px;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: #3A2414;
	font-family: 'Bricolage Grotesque', sans-serif;
	font-size: 15px;
	font-weight: 800;
	cursor: pointer;
	transition: background .3s, color .3s;
}

.lfo-boutique__type[aria-pressed="true"] {
	background: #3A2414;
	color: #FFF7EA;
}

/* Filtres par féculent */

.lfo-boutique__filtres {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: clamp(22px, 3vw, 34px);
}

.lfo-boutique__filtre {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 42px;
	padding: 0 16px;
	border: 2px solid #3A2414;
	border-radius: 999px;
	background: #FFF7EA;
	color: #3A2414;
	font-family: 'Bricolage Grotesque', sans-serif;
	font-size: 15px;
	font-weight: 800;
	cursor: pointer;
	transition: background .3s, color .3s;
}

.lfo-boutique__filtre--tout {
	display: inline-block;
	padding: 0 18px;
}

.lfo-boutique__filtre[aria-pressed="true"] {
	background: #3A2414;
	color: #FFF7EA;
}

.lfo-boutique__filtre span {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--c);
}

/* Cartes */

.lfo-boutique__grille {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
	gap: clamp(18px, 2.2vw, 28px);
}

.lfo-boutique__carte {
	position: relative;
	display: flex;
	flex-direction: column;
	border-radius: 26px;
	background: #FFFDF7;
	box-shadow: 0 6px 0 rgba(58, 36, 20, .14), 0 0 0 2px rgba(58, 36, 20, .08);
	transition: translate .4s cubic-bezier(.34, 1.56, .64, 1), box-shadow .4s;
}

.lfo-boutique__carte:hover {
	translate: 0 -8px;
	box-shadow: 0 14px 0 rgba(58, 36, 20, .14), 0 0 0 2px rgba(58, 36, 20, .12);
}

.lfo-boutique__visuel {
	position: relative;
	margin: 10px 10px 0;
	height: 240px;
	border-radius: 20px;
	background: var(--tint);
	transition: background .5s;
}

.lfo-boutique__photo {
	position: absolute;
	left: 10%;
	top: 8%;
	width: 80%;
	height: 84%;
	object-fit: contain;
	filter: drop-shadow(0 16px 14px rgba(58, 36, 20, .32));
	transition: rotate .5s cubic-bezier(.34, 1.56, .64, 1), scale .5s cubic-bezier(.34, 1.56, .64, 1);
}

.lfo-boutique__photo:hover {
	rotate: -4deg;
	scale: 1.08;
}

.lfo-boutique__photo--petite {
	left: 21%;
	top: 19%;
	width: 58%;
	height: 62%;
}

.lfo-boutique__photo--grande {
	left: 8%;
	top: 6%;
	width: 84%;
	height: 88%;
}

.lfo-boutique__etiquette {
	position: absolute;
	left: -6px;
	top: 14px;
	padding: 7px 12px;
	border-radius: 10px;
	background: var(--c);
	color: var(--ink);
	font-size: 13px;
	font-weight: 800;
	rotate: -6deg;
	box-shadow: 0 4px 0 rgba(58, 36, 20, .25);
	pointer-events: none;
}

.lfo-boutique__corps {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 16px 18px 0;
}

.lfo-boutique__nom {
	margin: 0;
	font-size: 23px;
	font-weight: 800;
	letter-spacing: -.015em;
	line-height: 1.08;
}

.lfo-boutique__texte {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.5;
	color: #6A4E38;
}

.lfo-boutique__saveurs {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.lfo-boutique__saveurs-titre {
	font-size: 13px;
	font-weight: 800;
	color: #6A4E38;
}

.lfo-boutique__saveurs-liste,
.lfo-boutique__formats {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.lfo-boutique__saveur {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 36px;
	padding: 0 12px 0 8px;
	border: 2px solid rgba(58, 36, 20, .25);
	border-radius: 999px;
	background: #FFFDF7;
	color: #3A2414;
	font-family: 'Bricolage Grotesque', sans-serif;
	font-size: 13.5px;
	font-weight: 800;
	cursor: pointer;
	transition: background .2s, color .2s, border-color .2s;
}

.lfo-boutique__saveur[aria-pressed="true"] {
	border-color: #3A2414;
	background: #3A2414;
	color: #FFF7EA;
}

.lfo-boutique__saveur span {
	width: 16px;
	height: 16px;
	flex: none;
	border-radius: 50%;
	background: var(--c);
	box-shadow: 0 0 0 2px #FFFDF7;
}

.lfo-boutique__format {
	height: 34px;
	padding: 0 12px;
	border: 2px solid #3A2414;
	border-radius: 10px;
	background: #FFFDF7;
	color: #3A2414;
	font-family: 'Bricolage Grotesque', sans-serif;
	font-size: 13.5px;
	font-weight: 800;
	cursor: pointer;
	transition: background .2s, color .2s;
}

.lfo-boutique__format[aria-pressed="true"] {
	background: #3A2414;
	color: #FFF7EA;
}

.lfo-boutique__pied {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 18px 18px;
}

.lfo-boutique__prixbloc {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.lfo-boutique__prix {
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -.01em;
}

.lfo-boutique__mention {
	font-size: 12.5px;
	font-weight: 600;
	color: #6A4E38;
}

.lfo-boutique__ajouter {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 50px;
	padding: 0 18px;
	border: 0;
	border-radius: 14px;
	background: #D7362B;
	color: #FFF7EA;
	font-family: 'Bricolage Grotesque', sans-serif;
	font-size: 15px;
	font-weight: 800;
	box-shadow: 0 5px 0 #3A2414;
	cursor: pointer;
	transition: translate .15s, box-shadow .15s, background .2s;
}

.lfo-boutique__ajouter:hover {
	translate: 0 2px;
	box-shadow: 0 3px 0 #3A2414;
	background: #B82A21;
}

/* Tiroir du panier */

.lfo-boutique__fond {
	position: fixed;
	inset: 0;
	z-index: 80;
	background: rgba(58, 36, 20, .45);
	opacity: 0;
	pointer-events: none;
	transition: opacity .4s;
}

.lfo-boutique__fond.is-open {
	opacity: 1;
	pointer-events: auto;
}

.lfo-boutique__tiroir {
	position: fixed;
	top: 12px;
	right: 12px;
	bottom: 12px;
	z-index: 81;
	width: min(420px, calc(100vw - 24px));
	display: flex;
	flex-direction: column;
	border-radius: 28px;
	background: #FFF7EA;
	box-shadow: 0 0 0 2px #3A2414, 0 10px 0 #3A2414;
	overflow: hidden;
	translate: calc(100% + 40px) 0;
	visibility: hidden;
	transition: translate .6s cubic-bezier(.34, 1.3, .64, 1), visibility 0s .6s;
}

.lfo-boutique__tiroir.is-open {
	translate: 0% 0;
	visibility: visible;
	transition: translate .6s cubic-bezier(.34, 1.3, .64, 1);
}

@media (prefers-reduced-motion: reduce) {
	.lfo-boutique__tiroir,
	.lfo-boutique__tiroir.is-open {
		transition: none;
	}
}

/* Sous la barre d'administration, quand la cliente est connectée. */
.admin-bar .lfo-boutique__tiroir {
	top: 44px;
}

@media (max-width: 782px) {
	.admin-bar .lfo-boutique__tiroir {
		top: 58px;
	}
}

.lfo-boutique__bande {
	height: 12px;
	flex: none;
	background-color: #F5B82E;
	background-image: repeating-linear-gradient(90deg, rgba(215, 54, 43, .92) 0 22px, transparent 22px 34px, rgba(78, 154, 58, .88) 34px 40px, transparent 40px 52px, rgba(238, 122, 43, .9) 52px 70px, transparent 70px 88px);
}

.lfo-boutique__tiroir-tete {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 18px 22px 10px;
}

.lfo-boutique__tiroir-titres {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.lfo-boutique__bonjour {
	font-family: 'Caveat Brush', cursive;
	font-size: 24px;
	line-height: 1;
	color: #D7362B;
}

.lfo-boutique__tiroir-titre {
	font-size: 26px;
	font-weight: 800;
	letter-spacing: -.02em;
}

.lfo-boutique__fermer {
	width: 44px;
	height: 44px;
	border: 2px solid #3A2414;
	border-radius: 14px;
	background: #FFF7EA;
	color: #3A2414;
	font-size: 18px;
	font-weight: 800;
	cursor: pointer;
}

.lfo-boutique__liste {
	flex: 1;
	min-height: 0;
	overflow: auto;
	padding: 4px 22px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.lfo-boutique__vide {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	padding: 40px 0;
	text-align: center;
}

.lfo-boutique__vide-titre {
	font-family: 'Caveat Brush', cursive;
	font-size: 30px;
}

.lfo-boutique__vide-texte {
	font-size: 15px;
	color: #6A4E38;
}

.lfo-boutique__vide-lien,
.lfo-boutique__vide-lien:hover {
	display: inline-flex;
	align-items: center;
	height: 48px;
	padding: 0 20px;
	border-radius: 14px;
	background: #D7362B;
	color: #FFF7EA;
	font-weight: 800;
	box-shadow: 0 5px 0 #3A2414;
}

.lfo-boutique__ligne {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px;
	border-radius: 18px;
	background: #FFFDF7;
	box-shadow: 0 0 0 2px rgba(58, 36, 20, .08);
}

.lfo-boutique__vignette {
	width: 56px;
	height: 56px;
	flex: none;
	border-radius: 14px;
	background: var(--tint);
	display: grid;
	place-items: center;
	overflow: hidden;
}

.lfo-boutique__vignette img {
	width: 86%;
	height: 86%;
	object-fit: contain;
}

.lfo-boutique__vignette span {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--c);
}

.lfo-boutique__infos {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.lfo-boutique__ligne-nom {
	font-size: 15.5px;
	font-weight: 800;
	line-height: 1.2;
}

.lfo-boutique__variante {
	font-size: 13px;
	color: #6A4E38;
}

.lfo-boutique__qte {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-top: 4px;
}

.lfo-boutique__qte button {
	width: 30px;
	height: 30px;
	border: 2px solid #3A2414;
	border-radius: 9px;
	background: #FFF7EA;
	color: #3A2414;
	font-weight: 800;
	cursor: pointer;
}

.lfo-boutique__qte span {
	min-width: 28px;
	text-align: center;
	font-weight: 800;
}

.lfo-boutique__ligne-prix {
	align-self: flex-start;
	font-size: 16px;
	font-weight: 800;
	white-space: nowrap;
}

.lfo-boutique__tiroir-pied {
	padding: 16px 22px 22px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	border-top: 2px dashed rgba(58, 36, 20, .2);
}

.lfo-boutique__livraison {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.lfo-boutique__livraison > span {
	font-size: 14px;
	font-weight: 700;
}

.lfo-boutique__jauge {
	height: 12px;
	border-radius: 999px;
	background: #FFE6B8;
	overflow: hidden;
}

.lfo-boutique__jauge > div {
	height: 100%;
	width: 0;
	border-radius: 999px;
	background: #4E9A3A;
	transition: width .7s cubic-bezier(.34, 1.3, .64, 1);
}

.lfo-boutique__total {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	font-size: 19px;
	font-weight: 800;
}

.lfo-boutique__valider {
	height: 58px;
	border: 0;
	border-radius: 16px;
	background: #D7362B;
	color: #FFF7EA;
	font-family: 'Bricolage Grotesque', sans-serif;
	font-size: 17px;
	font-weight: 800;
	box-shadow: 0 6px 0 #3A2414;
	cursor: pointer;
	transition: translate .15s, box-shadow .15s;
}

.lfo-boutique__valider:hover {
	translate: 0 3px;
	box-shadow: 0 3px 0 #3A2414;
}

.lfo-boutique__note {
	font-size: 12.5px;
	line-height: 1.5;
	color: #6A4E38;
	text-align: center;
}

/* Bulle « ajouté · mèsi ! » */

.lfo-boutique__bulle {
	position: fixed;
	left: 50%;
	bottom: 24px;
	z-index: 90;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 18px 12px 12px;
	border-radius: 18px;
	background: #3A2414;
	color: #FFF7EA;
	font-size: 15px;
	font-weight: 700;
	box-shadow: 0 8px 24px rgba(58, 36, 20, .35);
	pointer-events: none;
	translate: -50% 140%;
	opacity: 0;
	transition: translate .5s cubic-bezier(.34, 1.56, .64, 1), opacity .3s;
}

.lfo-boutique__bulle.is-on {
	translate: -50% 0;
	opacity: 1;
}

.lfo-boutique__bulle > span:first-child {
	width: 30px;
	height: 30px;
	border-radius: 10px;
	background: var(--c, #F5B82E);
}
