/* ============================================================
   Parcours « Réserver ou Offrir » : expérience plein écran guidée
   Une question par écran. Toutes les règles sont préfixées .bk.

   Échelle de rayons : 12px (média) · 16px (champs) · 22px (cartes)
   100px (pastilles, boutons)
   ============================================================ */

.bk{
	--bk-ink				: #0B0A09;
	--bk-cream				: #F7F2E7;
	--bk-gold				: #E1B45E;
	--bk-gold-light			: #F2D79B;
	--bk-gold-soft			: rgba(225, 180, 94, 0.14);
	--bk-gold-line			: rgba(225, 180, 94, 0.5);
	--bk-muted				: rgba(247, 242, 231, 0.68);
	--bk-faint				: rgba(247, 242, 231, 0.46);
	--bk-placeholder		: rgba(247, 242, 231, 0.55);
	--bk-line				: rgba(247, 242, 231, 0.14);
	--bk-surface			: rgba(247, 242, 231, 0.06);
	/* Verre identique à la navigation du site : fond translucide + flou,
	   sans bordure ni ombre portée. */
	--bk-glass				: rgba(0, 0, 0, 0.3);
	--bk-glass-hover		: rgba(0, 0, 0, 0.44);
	--bk-glass-field		: rgba(0, 0, 0, 0.38);
	--bk-blur				: 10px;
	--bk-danger				: #E65757;
	--bk-danger-soft		: #F3A5A5;
	--bk-radius-sm			: 12px;
	--bk-radius-md			: 16px;
	--bk-radius				: 22px;
	--bk-ease				: cubic-bezier(0.22, 0.8, 0.28, 1);
	position: relative;
	isolation: isolate;
	height: 100svh;
	min-height: 620px;
	background: var(--bk-ink);
	color: var(--bk-cream);
	overflow: hidden;
}

.bk *,
.bk *::before,
.bk *::after{
	box-sizing: border-box;
}

.bk :focus-visible{
	outline: 2px solid var(--bk-gold);
	outline-offset: 3px;
	border-radius: 8px;
}

.bk-sr{
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/************************************/
/***  01. Ambiance                ***/
/************************************/

/* Une seule image, celle du spa : elle ne change pas d’une étape à l’autre. */
.bk-backdrop{
	position: absolute;
	inset: 0;
	z-index: 0;
	background-image: url('../images/magayaa/accueil-hero.webp');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 42% 28%;
	/* Léger recadrage : la photo est large, on cadre sur le salon
	   plutôt que sur le bas de l’image. */
	transform: scale(1.16);
	transform-origin: 48% 26%;
	filter: saturate(1) brightness(1.06);
}

@media (max-width: 767px){
	.bk-backdrop{
		background-image: url('../images/magayaa/accueil-hero-mobile.webp');
		background-position: center 44%;
	}
}

.bk-veil{
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		radial-gradient(115% 85% at 50% 42%, rgba(11, 10, 9, 0.22) 0%, rgba(11, 10, 9, 0.58) 58%, rgba(11, 10, 9, 0.9) 100%),
		linear-gradient(180deg, rgba(11, 10, 9, 0.58) 0%, rgba(11, 10, 9, 0.26) 38%, rgba(11, 10, 9, 0.82) 100%);
}

/************************************/
/***  02. Chrome minimal          ***/
/************************************/

.bk-progress{
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	z-index: 4;
	height: 2px;
	background: rgba(247, 242, 231, 0.08);
}

.bk-progress span{
	display: block;
	width: 0;
	height: 100%;
	background: linear-gradient(90deg, rgba(225, 180, 94, 0.4), var(--bk-gold));
	transition: width 0.6s var(--bk-ease);
}

.bk-bar{
	position: absolute;
	top: 16px;
	right: 22px;
	left: 22px;
	z-index: 4;
	display: flex;
	align-items: center;
	gap: 12px;
	transition: opacity 0.3s ease-in-out;
}

/* Le logo de la marque remplace la navigation quand elle s’efface. */
.bk-brand{
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
	opacity: 0.9;
	transition: opacity 0.3s ease-in-out;
}

.bk-brand img{
	display: block;
	width: auto;
	/* Même hauteur que le logo de la navigation du site. */
	height: 28px;
}

.bk-brand:hover{
	opacity: 1;
}

.bk-bar-tools{
	display: inline-flex;
	gap: 8px;
}

.bk-icon{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: none;
	border-radius: 50%;
	background: var(--bk-glass);
	backdrop-filter: blur(var(--bk-blur));
	-webkit-backdrop-filter: blur(var(--bk-blur));
	color: var(--bk-cream);
	font-size: 15px;
	cursor: pointer;
	transition: background 0.3s ease-in-out, color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.bk-icon:hover{
	background: var(--bk-glass-hover);
	color: var(--bk-gold-light);
	transform: translateY(-1px);
}

.bk-icon[hidden]{
	display: none;
}

/* À l’entrée, la navigation du site occupe le haut : pas de double barre. */
.bk[data-screen="intent"] .bk-bar{
	opacity: 0;
	pointer-events: none;
}

/* La navigation du site reprend la main au survol du haut de page. */
body.bk-header-open .bk-bar{
	opacity: 0;
	pointer-events: none;
}

body.bk-immersive header.main-header{
	opacity: 0;
	transform: translateY(-24px);
	pointer-events: none;
	transition: opacity 0.4s ease-in-out, transform 0.4s var(--bk-ease);
}

body.bk-header-open header.main-header{
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

/************************************/
/***  03. Écrans                  ***/
/************************************/

.bk-stage{
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.bk-screen{
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 92px 26px 116px;
	overflow-y: auto;
	overflow-x: hidden;
	opacity: 0;
	visibility: hidden;
	scrollbar-width: thin;
	scrollbar-color: rgba(247, 242, 231, 0.22) transparent;
}

.bk-screen.is-active{
	opacity: 1;
	visibility: visible;
}

.bk-screen-inner{
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	width: 100%;
	max-width: 1080px;
	margin: auto;
	text-align: center;
}

/* Aucun transform ni opacité sur les conteneurs : un ancêtre animé
   désactive le backdrop-filter de ses descendants, ce qui ferait
   apparaître les blocs de verre sans flou pendant toute l’animation.
   Seuls les textes, qui ne portent pas de verre, s’animent. */

.bk-screen.is-active .bk-q,
.bk-screen.is-active .bk-sub,
.bk-screen.is-active .bk-done-check{
	animation: bkRise 0.45s var(--bk-ease) backwards;
}

.bk-screen.is-active .bk-sub{
	animation-delay: 0.08s;
}

@keyframes bkRise{
	from{ opacity: 0; transform: translateY(16px); }
	to{ opacity: 1; transform: translateY(0); }
}

.bk-q{
	max-width: 22ch;
	margin: 0;
	font-size: clamp(30px, 3.6vw, 54px);
	font-weight: 700;
	line-height: 1.04em;
	letter-spacing: -0.02em;
	color: var(--bk-cream);
	text-wrap: balance;
	text-shadow: 0 2px 34px rgba(0, 0, 0, 0.55);
}

.bk-sub{
	max-width: 46ch;
	margin: -2px 0 0;
	font-size: 15px;
	line-height: 1.6em;
	color: var(--bk-muted);
}

/* Le titre respire avant les choix : une question, puis la réponse. */
.bk-q + .bk-pair,
.bk-q + .bk-tiles,
.bk-q + .bk-grid{
	margin-top: 24px;
}

.bk-q:focus,
.bk-q:focus-visible{
	outline: none;
}

/************************************/
/***  04. Choix                   ***/
/************************************/

/* Deux grandes tuiles (pour moi / pour offrir) */
.bk-pair{
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	width: 100%;
	max-width: 940px;
}

.bk-tile{
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 340px;
	padding: 14px;
	/* Un <button> n’hérite pas de la couleur du texte : on la fixe. */
	color: var(--bk-cream);
	border: none;
	border-radius: var(--bk-radius);
	background: var(--bk-ink);
	overflow: hidden;
	text-align: left;
	cursor: pointer;
	transition: transform 0.5s var(--bk-ease);
}

.bk-tile-media{
	position: absolute;
	inset: 0;
	background-image: var(--bk-img);
	background-size: cover;
	background-position: center center;
	transform: scale(1.02);
	transition: transform 1s var(--bk-ease);
}

.bk-tile-veil{
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(11, 10, 9, 0) 40%, rgba(11, 10, 9, 0.72) 100%);
}

/* La légende est un bloc de verre, comme la barre de navigation. */
.bk-tile-body{
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 5px;
	width: 100%;
	padding: 18px 22px;
	border-radius: var(--bk-radius-md);
	background: var(--bk-glass);
	backdrop-filter: blur(var(--bk-blur));
	-webkit-backdrop-filter: blur(var(--bk-blur));
	transition: background 0.4s ease-in-out;
}

.bk-tile-name{
	font-size: 30px;
	font-weight: 700;
	line-height: 1.05em;
	letter-spacing: -0.01em;
}

.bk-tile-meta{
	font-size: 14px;
	color: rgba(247, 242, 231, 0.75);
}

.bk-tile:hover{
	transform: translateY(-4px);
}

.bk-tile:hover .bk-tile-media{
	transform: scale(1.06);
}

.bk-tile:hover .bk-tile-body{
	background: var(--bk-glass-hover);
}

/* Trois familles du coffret : mêmes tuiles photo que « Pour moi / Pour offrir ». */
.bk-tiles{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
	width: 100%;
	max-width: 1080px;
}

.bk-tiles .bk-tile{
	flex: 0 1 calc(33.333% - 11px);
	min-height: 340px;
}

/* Grilles en flex : la dernière rangée se centre au lieu de rester
   orpheline à gauche (7 soins = 4 + 3 centrés). */
.bk-grid{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	width: 100%;
}

.bk-grid-services{
	max-width: 1080px;
}

.bk-grid-services .bk-card{
	flex: 0 1 calc(25% - 10.5px);
	min-width: 0;
}

@media (max-width: 1199px){
	.bk-grid-services .bk-card{
		flex-basis: calc(33.333% - 9.34px);
	}
}

/* Hauteur calée sur l’écran : les deux rangées tiennent sans scroll
   sur un portable (1366×768) comme sur un grand écran. */
.bk-card{
	position: relative;
	display: flex;
	align-items: flex-end;
	height: clamp(186px, 25vh, 300px);
	padding: 12px;
	color: var(--bk-cream);
	border: none;
	border-radius: var(--bk-radius);
	background: var(--bk-ink);
	overflow: hidden;
	text-align: left;
	cursor: pointer;
	transition: transform 0.45s var(--bk-ease);
}

.bk-card-media{
	position: absolute;
	inset: 0;
	background-image: var(--bk-img);
	background-size: cover;
	background-position: center center;
	transform: scale(1.02);
	transition: transform 0.9s var(--bk-ease), filter 0.4s ease-in-out;
}

.bk-card-veil{
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(11, 10, 9, 0) 42%, rgba(11, 10, 9, 0.72) 100%);
}

.bk-card-body{
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 100%;
	padding: 14px 16px;
	border-radius: var(--bk-radius-md);
	background: var(--bk-glass);
	backdrop-filter: blur(var(--bk-blur));
	-webkit-backdrop-filter: blur(var(--bk-blur));
	transition: background 0.4s ease-in-out;
}

.bk-card-name{
	font-size: 21px;
	font-weight: 700;
	line-height: 1.1em;
}

.bk-card-meta{
	font-size: 13px;
	color: rgba(247, 242, 231, 0.78);
}

.bk-card-check{
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--bk-gold);
	color: #161310;
	font-size: 12px;
	opacity: 0;
	transform: scale(0.6);
	transition: all 0.3s var(--bk-ease);
}

.bk-card:hover{
	transform: translateY(-4px);
}

.bk-card:hover .bk-card-media{
	transform: scale(1.06);
}

.bk-card:hover .bk-card-body{
	background: var(--bk-glass-hover);
}

.bk-card.is-selected .bk-card-body{
	background: var(--bk-glass-hover);
}

.bk-card.is-selected .bk-card-check{
	opacity: 1;
	transform: scale(1);
}

/* Produits : 9 références = 3 rangées pleines de 3. */
.bk-grid-products{
	max-width: 1000px;
}

.bk-grid-products .bk-product{
	flex: 0 1 calc(33.333% - 9.34px);
	min-width: 0;
}

@media (max-width: 1199px){
	.bk-grid-products .bk-product{
		flex-basis: calc(50% - 7px);
	}
}

.bk-product{
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 12px;
	border: none;
	border-radius: var(--bk-radius);
	background: var(--bk-glass);
	backdrop-filter: blur(var(--bk-blur));
	-webkit-backdrop-filter: blur(var(--bk-blur));
	text-align: left;
	transition: background 0.35s ease-in-out;
}

.bk-product:hover{
	background: var(--bk-glass-hover);
}

.bk-product-media{
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	max-height: 22vh;
	border-radius: var(--bk-radius-sm);
	overflow: hidden;
	background: var(--bk-cream);
}

.bk-product-media img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s var(--bk-ease);
}

.bk-product:hover .bk-product-media img{
	transform: scale(1.05);
}

/* Nom à gauche, prix à droite sur la même ligne. */
.bk-product-head{
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.bk-product-name{
	flex: 1;
	min-width: 0;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.25em;
	color: var(--bk-cream);
}

.bk-product-price{
	flex: 0 0 auto;
	font-size: 15px;
	font-weight: 700;
	white-space: nowrap;
	color: var(--bk-gold-light);
}

/* Gros bouton d’ajout, remplacé par le compteur une fois le produit choisi. */
.bk-add{
	width: 100%;
	min-height: 46px;
	margin-top: 4px;
	padding: 12px 18px;
	border: none;
	border-radius: 100px;
	background: var(--bk-cream);
	color: #161310;
	font-family: var(--default-font);
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.3s ease-in-out, transform 0.3s var(--bk-ease);
}

.bk-add:hover{
	background: var(--white-color);
	transform: translateY(-1px);
}

.bk-add[hidden]{
	display: none;
}

.bk-stepper{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	width: 100%;
	min-height: 46px;
	margin-top: 4px;
	padding: 4px 6px;
	border-radius: 100px;
	background: rgba(0, 0, 0, 0.26);
}

.bk-stepper[hidden]{
	display: none;
}

.bk-stepper button{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	flex: 0 0 36px;
	border: none;
	border-radius: 50%;
	background: rgba(247, 242, 231, 0.14);
	color: var(--bk-cream);
	font-size: 17px;
	line-height: 1;
	cursor: pointer;
	transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
}

.bk-stepper button:hover{
	background: var(--bk-gold);
	color: #161310;
}

.bk-stepper span{
	flex: 1;
	text-align: center;
	font-size: 16px;
	font-weight: 700;
	color: var(--bk-cream);
}

.bk-product.is-added{
	background: rgba(225, 180, 94, 0.16);
}

/* Carte cadeau : tout le choix tient dans un bloc de verre, comme le
   sélecteur de créneau. Un carrousel y fait défiler les designs ; la
   carte active est celle qui est centrée. */
.bk-panel{
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	width: 100%;
	max-width: 680px;
	padding: 24px 28px 28px;
	border-radius: var(--bk-radius);
	background: var(--bk-glass);
	backdrop-filter: blur(var(--bk-blur));
	-webkit-backdrop-filter: blur(var(--bk-blur));
}

.bk-carousel{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	width: 100%;
	--bk-card-w: clamp(260px, 32vw, 340px);
}

/* Une seule carte à l’écran : le cadre ne fait que la largeur de la carte. */
.bk-carousel-viewport{
	flex: 0 0 auto;
	width: var(--bk-card-w);
	padding: 16px 0;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.bk-carousel-viewport::-webkit-scrollbar{
	display: none;
}

.bk-carousel-track{
	display: flex;
}

.bk-slide{
	position: relative;
	flex: 0 0 100%;
	padding: 0;
	border: none;
	border-radius: var(--bk-radius);
	background: var(--bk-ink);
	overflow: hidden;
	cursor: pointer;
	scroll-snap-align: center;
}

.bk-slide-media{
	display: block;
	width: 100%;
	aspect-ratio: 8 / 5;
	background-image: var(--bk-img);
	background-size: cover;
	background-position: center center;
}

.bk-carousel-nav{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	flex: 0 0 42px;
	border: none;
	border-radius: 50%;
	background: var(--bk-glass);
	backdrop-filter: blur(var(--bk-blur));
	-webkit-backdrop-filter: blur(var(--bk-blur));
	color: var(--bk-cream);
	font-size: 14px;
	cursor: pointer;
	transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
}

.bk-carousel-nav:hover{
	background: var(--bk-glass-hover);
	color: var(--bk-gold-light);
}

.bk-carousel-foot{
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	margin-top: -6px;
}

.bk-slide-name{
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--bk-gold-light);
}

.bk-dots{
	display: inline-flex;
	gap: 7px;
}

.bk-dot{
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: rgba(247, 242, 231, 0.26);
	transition: width 0.3s var(--bk-ease), border-radius 0.3s var(--bk-ease), background 0.3s ease-in-out;
}

.bk-dot.is-active{
	width: 20px;
	border-radius: 100px;
	background: var(--bk-gold);
}

.bk-amounts{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.bk-amount{
	padding: 11px 20px;
	border: none;
	border-radius: 100px;
	background: var(--bk-glass);
	backdrop-filter: blur(var(--bk-blur));
	-webkit-backdrop-filter: blur(var(--bk-blur));
	font-family: var(--default-font);
	font-size: 15px;
	font-weight: 700;
	color: var(--bk-cream);
	cursor: pointer;
	transition: background 0.3s ease-in-out, transform 0.3s var(--bk-ease);
}

.bk-amount:hover{
	background: var(--bk-glass-hover);
	transform: translateY(-1px);
}

.bk-amount.is-selected{
	background: var(--bk-gold);
	color: #161310;
}

.bk-amount-free{
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding-right: 16px;
	border: none;
	border-radius: 100px;
	background: var(--bk-glass);
	backdrop-filter: blur(var(--bk-blur));
	-webkit-backdrop-filter: blur(var(--bk-blur));
	transition: background 0.3s ease-in-out;
}

.bk-amount-free:focus-within{
	background: var(--bk-glass-hover);
}

.bk-amount-free input{
	width: 84px;
	padding: 11px 0 11px 18px;
	border: none;
	background: transparent;
	outline: none;
	font-family: var(--default-font);
	font-size: 15px;
	font-weight: 700;
	color: var(--bk-cream);
}

.bk-amount-free input::placeholder{
	font-weight: 500;
	color: var(--bk-placeholder);
}

.bk-amount-free span{
	font-size: 15px;
	font-weight: 700;
	color: var(--bk-gold);
}

/* Jour et heure dans un même bloc de verre : les choix actifs en or,
   les autres en blanc, sans pastilles. */
.bk-picker{
	display: flex;
	flex-direction: column;
	gap: 24px;
	width: 100%;
	max-width: 740px;
	padding: 26px 30px 28px;
	border-radius: var(--bk-radius);
	background: var(--bk-glass);
	backdrop-filter: blur(var(--bk-blur));
	-webkit-backdrop-filter: blur(var(--bk-blur));
	text-align: left;
}

.bk-picker-group{
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.bk-picker-label{
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--bk-faint);
}

.bk-days{
	display: flex;
	flex-wrap: wrap;
	gap: 8px 26px;
	justify-content: flex-start;
}

.bk-day{
	display: flex;
	align-items: baseline;
	gap: 7px;
	padding: 4px 0;
	border: none;
	border-radius: 0;
	background: none;
	cursor: pointer;
	transition: color 0.3s ease-in-out;
}

.bk-day-label{
	font-size: 13px;
	font-weight: 600;
	color: rgba(247, 242, 231, 0.55);
	transition: color 0.3s ease-in-out;
}

.bk-day-date{
	font-size: 15px;
	font-weight: 700;
	color: var(--bk-cream);
	transition: color 0.3s ease-in-out;
}

.bk-day:hover .bk-day-label,
.bk-day:hover .bk-day-date{
	color: var(--bk-gold-light);
}

.bk-day.is-selected .bk-day-label{
	color: rgba(225, 180, 94, 0.75);
}

.bk-day.is-selected .bk-day-date{
	color: var(--bk-gold);
}

.bk-day.is-selected,
.bk-slot.is-selected{
	box-shadow: inset 0 -2px 0 var(--bk-gold);
}

.bk-slots{
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	justify-content: flex-start;
}

.bk-slot{
	min-width: 0;
	padding: 4px 0;
	border: none;
	border-radius: 0;
	background: none;
	font-family: var(--default-font);
	font-size: 15px;
	font-weight: 700;
	color: var(--bk-cream);
	cursor: pointer;
	transition: color 0.3s ease-in-out;
}

.bk-slot:hover{
	color: var(--bk-gold-light);
}

.bk-slot.is-selected{
	color: var(--bk-gold);
}

/************************************/
/***  05. Formulaire & récap      ***/
/************************************/

/* Coordonnées : les champs respirent dans un bloc de verre, avec un
   libellé lisible au-dessus de chacun. */
.bk-form{
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 520px;
	padding: 26px 28px 28px;
	border-radius: var(--bk-radius);
	background: var(--bk-glass);
	backdrop-filter: blur(var(--bk-blur));
	-webkit-backdrop-filter: blur(var(--bk-blur));
}

.bk-fields{
	display: flex;
	flex-direction: column;
	gap: 18px;
	width: 100%;
	max-width: 100%;
}

.bk-fields[hidden]{
	display: none;
}

.bk-field{
	display: flex;
	flex-direction: column;
	gap: 8px;
	text-align: left;
}

.bk-field[hidden]{
	display: none;
}

.bk-field-label{
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--bk-muted);
}

.bk-field-opt{
	margin-left: 6px;
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: rgba(247, 242, 231, 0.44);
}

.bk-input{
	width: 100%;
	padding: 18px 20px;
	border: none;
	border-radius: var(--bk-radius-md);
	background: var(--bk-glass-field);
	backdrop-filter: blur(var(--bk-blur));
	-webkit-backdrop-filter: blur(var(--bk-blur));
	font-family: var(--default-font);
	font-size: 17px;
	font-weight: 500;
	color: var(--bk-cream);
	outline: none;
	transition: background 0.3s ease-in-out;
}

.bk-input::placeholder{
	color: var(--bk-placeholder);
}

.bk-input:focus{
	background: rgba(0, 0, 0, 0.5);
}

.bk-input.is-invalid{
	background: rgba(230, 87, 87, 0.22);
}

.bk-input-message{
	max-width: 460px;
}

.bk-error{
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: -4px 2px 0;
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.4em;
	text-align: left;
	color: var(--bk-danger-soft);
	animation: bkRise 0.3s var(--bk-ease) backwards;
}

.bk-error::before{
	content: '\f06a';
	font-family: 'Font Awesome 6 Free', 'FontAwesome';
	font-weight: 900;
	font-size: 12px;
}

/* Le récapitulatif tient dans un bloc de verre, comme le sélecteur de
   créneau : la liste et le total forment une seule carte. */
.bk-recap{
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 8px;
	width: 100%;
	max-width: 620px;
	padding: 14px 18px 18px;
	border-radius: var(--bk-radius);
	background: var(--bk-glass);
	backdrop-filter: blur(var(--bk-blur));
	-webkit-backdrop-filter: blur(var(--bk-blur));
	text-align: left;
}

.bk-lines{
	display: flex;
	flex-direction: column;
	gap: 4px;
	width: 100%;
	max-width: 560px;
}

.bk-recap .bk-lines,
.bk-recap .bk-sum{
	max-width: 100%;
}

.bk-line{
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	border-bottom: 1px solid var(--bk-line);
	text-align: left;
}

.bk-line:last-child{
	border-bottom: none;
}

.bk-line-icon{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	border-radius: 50%;
	background: var(--bk-gold-soft);
	color: var(--bk-gold);
	font-size: 13px;
}

.bk-line-body{
	flex: 1;
	min-width: 0;
}

.bk-line-title{
	display: block;
	font-size: 15px;
	font-weight: 700;
	color: var(--bk-cream);
	line-height: 1.3em;
}

.bk-line-meta{
	display: block;
	margin-top: 2px;
	font-size: 12.5px;
	color: var(--bk-muted);
}

.bk-line-price{
	font-size: 15px;
	font-weight: 700;
	color: var(--bk-gold-light);
}

.bk-line-remove{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	flex: 0 0 28px;
	border: none;
	border-radius: 50%;
	background: transparent;
	color: var(--bk-faint);
	cursor: pointer;
	transition: all 0.3s ease-in-out;
}

.bk-line-remove:hover{
	background: rgba(247, 242, 231, 0.1);
	color: var(--bk-cream);
}

.bk-sum{
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 20px;
	width: 100%;
	max-width: 560px;
	padding-top: 16px;
	border-top: 1px solid var(--bk-line);
	font-size: 15px;
	color: var(--bk-muted);
}

.bk-sum strong{
	font-size: 30px;
	font-weight: 700;
	color: var(--bk-gold-light);
}

/* Remise : chaque produit / carte avec son mode de remise, dans un bloc de
   verre ; l'adresse et le transporteur n'apparaissent que si l'on expédie. */
.bk-remise{
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
	max-width: 620px;
	padding: 18px 20px;
	border-radius: var(--bk-radius);
	background: var(--bk-glass);
	backdrop-filter: blur(var(--bk-blur));
	-webkit-backdrop-filter: blur(var(--bk-blur));
	text-align: left;
}

.bk-remise-item{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.bk-remise-item + .bk-remise-item{
	padding-top: 12px;
	border-top: 1px solid var(--bk-line);
}

.bk-remise-body{
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.bk-remise-name{
	font-size: 15px;
	font-weight: 700;
	color: var(--bk-cream);
}

.bk-remise-meta{
	font-size: 12.5px;
	color: var(--bk-muted);
}

.bk-remise-options{
	display: inline-flex;
	flex: 0 0 auto;
	gap: 4px;
	padding: 4px;
	border-radius: 100px;
	background: rgba(0, 0, 0, 0.26);
}

.bk-remise-opt{
	padding: 8px 14px;
	border: none;
	border-radius: 100px;
	background: transparent;
	font-family: var(--default-font);
	font-size: 12.5px;
	font-weight: 700;
	color: var(--bk-cream);
	cursor: pointer;
	transition: background 0.25s ease-in-out, color 0.25s ease-in-out;
}

.bk-remise-opt:hover{
	background: rgba(247, 242, 231, 0.1);
}

.bk-remise-opt.is-selected{
	background: var(--bk-gold);
	color: #161310;
}

.bk-ship,
.bk-recipient{
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
	max-width: 520px;
	padding: 20px 22px 22px;
	border-radius: var(--bk-radius);
	background: var(--bk-glass);
	backdrop-filter: blur(var(--bk-blur));
	-webkit-backdrop-filter: blur(var(--bk-blur));
}

.bk-ship[hidden],
.bk-recipient[hidden]{
	display: none;
}

.bk-recipient-title{
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	color: var(--bk-cream);
}

/* Boutique : les deux adresses, en tuiles de verre. */
.bk-lieux{
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	width: 100%;
	max-width: 720px;
}

.bk-lieu{
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 22px 24px;
	border: none;
	border-radius: var(--bk-radius);
	background: var(--bk-glass);
	backdrop-filter: blur(var(--bk-blur));
	-webkit-backdrop-filter: blur(var(--bk-blur));
	color: var(--bk-cream);
	text-align: left;
	cursor: pointer;
	transition: background 0.3s ease-in-out, transform 0.3s var(--bk-ease);
}

.bk-lieu:hover{
	background: var(--bk-glass-hover);
	transform: translateY(-3px);
}

.bk-lieu.is-selected{
	background: var(--bk-glass-hover);
	box-shadow: inset 0 0 0 2px var(--bk-gold);
}

.bk-lieu-name{
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.bk-lieu-address{
	font-size: 13.5px;
	color: var(--bk-muted);
}

.bk-textarea{
	min-height: 76px;
	resize: vertical;
}

.bk-select{
	cursor: pointer;
}

/* 06. Actions */
.bk-foot{
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	width: 100%;
}

.bk-cta{
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
	max-width: 420px;
	min-height: 58px;
	padding: 16px 34px;
	border: none;
	border-radius: 100px;
	background: var(--bk-gold);
	color: #161310;
	font-family: var(--default-font);
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	overflow: hidden;
	transition: all 0.35s var(--bk-ease);
}

.bk-cta::after{
	content: '\f061';
	font-family: 'Font Awesome 6 Free', 'FontAwesome';
	font-weight: 900;
	font-size: 14px;
	transition: transform 0.35s var(--bk-ease);
}

.bk-cta:hover{
	background: var(--bk-gold-light);
	transform: translateY(-2px);
	box-shadow: 0 18px 40px rgba(225, 180, 94, 0.25);
}

.bk-cta:hover::after{
	transform: translateX(4px);
}

.bk-cta[disabled]{
	opacity: 0.45;
	cursor: not-allowed;
}

.bk-cta[disabled]:hover{
	transform: none;
	box-shadow: none;
}

.bk-cta-spinner{
	display: none;
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
	border: 2px solid rgba(22, 19, 16, 0.3);
	border-top-color: #161310;
	border-radius: 50%;
	animation: bkSpin 0.7s linear infinite;
}

.bk-cta.is-loading{
	pointer-events: none;
}

.bk-cta.is-loading .bk-cta-spinner{
	display: inline-block;
}

.bk-cta.is-loading::after{
	display: none;
}

@keyframes bkSpin{
	to{ transform: rotate(360deg); }
}

.bk-ghost{
	padding: 10px 4px;
	border: none;
	background: transparent;
	font-family: var(--default-font);
	font-size: 15px;
	font-weight: 600;
	color: rgba(247, 242, 231, 0.75);
	cursor: pointer;
	text-underline-offset: 4px;
	transition: color 0.3s ease-in-out;
}

.bk-ghost:hover{
	color: var(--bk-gold-light);
	text-decoration: underline;
}

.bk-fine{
	margin: 0;
	font-size: 13px;
	color: var(--bk-muted);
}

.bk-fine a{
	color: var(--bk-cream);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/************************************/
/***  07. Total, merci, retours   ***/
/************************************/

.bk-total{
	position: absolute;
	right: 22px;
	bottom: 22px;
	z-index: 4;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 20px;
	border: none;
	border-radius: 100px;
	background: rgba(0, 0, 0, 0.42);
	backdrop-filter: blur(var(--bk-blur));
	-webkit-backdrop-filter: blur(var(--bk-blur));
	font-size: 16px;
	font-weight: 700;
	color: var(--bk-gold-light);
}

.bk-total[hidden]{
	display: none;
}

.bk-total i{
	font-size: 13px;
	color: var(--bk-gold);
}

/* Retour de vente : on pulse la couleur, jamais le transform
   (qui couperait le flou du verre). */
.bk-total.is-bumped{
	animation: bkPulse 0.6s var(--bk-ease) both;
}

@keyframes bkPulse{
	0%{ background: rgba(225, 180, 94, 0.55); }
	100%{ background: rgba(0, 0, 0, 0.42); }
}

.bk-done-check{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 84px;
	height: 84px;
	border-radius: 50%;
	background: radial-gradient(circle at 30% 25%, var(--bk-gold-light), var(--bk-gold));
	color: #161310;
	font-size: 30px;
	box-shadow: 0 0 0 14px rgba(225, 180, 94, 0.12), 0 0 70px rgba(225, 180, 94, 0.35);
	animation: bkPop 0.6s var(--bk-ease) both;
}

.bk-done-total{
	font-size: 20px;
	font-weight: 700;
	color: var(--bk-gold-light);
}

@keyframes bkPop{
	0%{ transform: scale(0.7); opacity: 0; }
	60%{ transform: scale(1.08); }
	100%{ transform: scale(1); opacity: 1; }
}

.bk-toast{
	position: absolute;
	left: 50%;
	bottom: 96px;
	z-index: 6;
	transform: translate(-50%, 14px);
	padding: 12px 22px;
	border-radius: 100px;
	background: rgba(247, 242, 231, 0.95);
	color: #161310;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.35s ease-in-out, transform 0.35s var(--bk-ease);
}

.bk-toast.is-visible{
	opacity: 1;
	transform: translate(-50%, 0);
}

.bk-confetti{
	position: absolute;
	inset: 0;
	z-index: 5;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

/* Accusé de réception d’un choix : un halo, pas un scale. */
.bk-bump{
	animation: bkBump 0.5s var(--bk-ease) both;
}

@keyframes bkBump{
	0%, 100%{ box-shadow: 0 0 0 0 rgba(225, 180, 94, 0); }
	45%{ box-shadow: 0 0 0 7px rgba(225, 180, 94, 0.28); }
}

/************************************/
/***  08. Responsive & confort    ***/
/************************************/

.bk:fullscreen{
	height: 100vh;
	min-height: 0;
}

html:fullscreen .bk{
	height: 100vh;
	min-height: 0;
}

@media (max-width: 991px){
	.bk-screen{
		padding: 84px 16px 108px;
	}

	.bk-grid{
		gap: 10px;
	}

	.bk-grid-services .bk-card,
	.bk-grid-products .bk-product{
		flex-basis: calc(50% - 5px);
	}

	.bk-card{
		padding: 14px;
	}

	.bk-card-name{
		font-size: 17px;
	}

	.bk-tile{
		min-height: 260px;
	}

	.bk-tile-name{
		font-size: 24px;
	}

	/* Les trois familles passent l’une sous l’autre. */
	.bk-tiles .bk-tile{
		flex-basis: 100%;
		min-height: 200px;
	}
}

@media (max-width: 767px){
	.bk-bar{
		top: 12px;
		right: 12px;
		left: 12px;
	}

	.bk-icon{
		width: 38px;
		height: 38px;
		font-size: 14px;
	}

	.bk-brand{
		font-size: 10.5px;
		letter-spacing: 0.16em;
	}

	.bk-screen{
		padding: 74px 12px 96px;
	}

	.bk-screen-inner{
		gap: 18px;
	}

	.bk-pair{
		grid-template-columns: minmax(0, 1fr);
	}

	.bk-tile{
		min-height: 190px;
		padding: 20px;
	}

	.bk-q{
		font-size: 26px;
		max-width: 20ch;
	}

	.bk-sub{
		font-size: 14px;
	}

	.bk-tiles .bk-tile{
		min-height: 168px;
	}

	.bk-slots{
		flex-wrap: nowrap;
		justify-content: flex-start;
		width: 100%;
		max-width: 100%;
		padding-bottom: 4px;
		overflow-x: auto;
		scroll-snap-type: x proximity;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.bk-slots::-webkit-scrollbar{
		display: none;
	}

	.bk-slot{
		flex: 0 0 auto;
		scroll-snap-align: start;
	}

	.bk-total{
		right: 12px;
		bottom: 12px;
		padding: 10px 16px;
		font-size: 15px;
	}

	.bk-cta{
		max-width: 100%;
	}

	.bk-sum strong{
		font-size: 24px;
	}

	.bk-done-check{
		width: 70px;
		height: 70px;
		font-size: 24px;
	}

	.bk-toast{
		bottom: 80px;
		font-size: 13px;
	}

	.bk-panel{
		gap: 18px;
		padding: 20px 14px 24px;
	}

	.bk-recap{
		gap: 6px;
		padding: 10px 12px 14px;
	}

	.bk-sum{
		padding-top: 12px;
	}

	.bk-form{
		padding: 20px 18px 22px;
	}

	.bk-fields{
		gap: 14px;
	}

	.bk-remise-item{
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.bk-ship,
	.bk-recipient{
		padding: 16px 18px 18px;
	}

	.bk-lieux{
		grid-template-columns: minmax(0, 1fr);
	}

	/* Le glissement au doigt suffit : les flèches s’effacent. */
	.bk-carousel{
		--bk-card-w: min(300px, 78vw);
		gap: 0;
	}

	.bk-carousel-viewport{
		padding: 14px 0;
	}

	.bk-carousel-nav{
		display: none;
	}

	.bk-carousel-foot{
		margin-top: -8px;
	}
}

@media (max-width: 767px){
	.bk-picker{
		gap: 18px;
		padding: 20px 20px 22px;
	}

	.bk-picker-group{
		gap: 10px;
	}

	.bk-days{
		gap: 6px 18px;
	}

	.bk-slots{
		gap: 8px 16px;
	}
}

/* Verre translucide : repli opaque quand la transparence est réduite. */
@media (prefers-reduced-transparency: reduce){
	.bk-icon,
	.bk-product,
	.bk-panel,
	.bk-recap,
	.bk-form,
	.bk-remise,
	.bk-ship,
	.bk-recipient,
	.bk-lieu,
	.bk-carousel-nav,
	.bk-amount,
	.bk-amount-free,
	.bk-day,
	.bk-slot,
	.bk-stepper,
	.bk-input,
	.bk-total,
	.bk-tile-body,
	.bk-card-body{
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
		background: rgba(14, 13, 11, 0.94);
	}
}

@media (prefers-reduced-motion: reduce){
	.bk *,
	.bk *::before,
	.bk *::after{
		animation-duration: 0.001ms !important;
		animation-delay: 0ms !important;
		transition-duration: 0.001ms !important;
	}

	body.bk-immersive header.main-header,
	body.bk-header-open header.main-header{
		transition-duration: 0.001ms !important;
	}
}
