/*
 * JK Panier — pop-up, page panier, cadeaux, page commande.
 *
 * Couleurs du site uniquement : blanc, bleu nuit #022231, orange #EA835A, pêche #F9C8A7.
 * Le pop-up garde l'allure du panier d'origine (fond blanc, pied bleu nuit, échelle des cadeaux).
 * La page panier reprend les cartes translucides de la page commande.
 * Orange = promo et actions. Vert = prix dégressif (économie au gramme selon le format).
 */

.jk-ui,
.jk-page-commande {
	--jk-bleu: #022231;
	--jk-bleu-2: #5a6e79;
	--jk-filet: rgba(2, 34, 49, .12);
	--jk-orange: #ea835a;
	--jk-orange-2: #d9744c;
	--jk-peche: #f9c8a7;
	--jk-gris: #8a9abe;
	--jk-vert: #1c7a4c;
	--jk-titre: "Fraunces", "Jost", Georgia, serif;
	--jk-texte: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
	--jk-ressort: cubic-bezier(.22, 1, .36, 1);
}

html.jk-panier-actif #sideCart { display: none !important; }
html.jk-sans-defilement { overflow: hidden; }

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

.jk-ui {
	font-family: var(--jk-texte);
	font-size: 15px;
	line-height: 1.4;
	-webkit-font-smoothing: antialiased;
	font-variant-numeric: tabular-nums;
}

.jk-ui p,
.jk-ui ul,
.jk-ui ol,
.jk-ui dl,
.jk-ui dd,
.jk-ui dt,
.jk-ui h1 { margin: 0; padding: 0; }
.jk-ui ul,
.jk-ui ol { list-style: none; }
.jk-ui img { display: block; max-width: 100%; height: auto; }
.jk-ui .jk-ico { flex: none; display: block; }
.jk-ui [hidden] { display: none !important; }
.jk-ui del { text-decoration: line-through; opacity: 1; }
.jk-ui .woocommerce-Price-amount { color: inherit; font-weight: inherit; }

/* Le thème habille tous les <button>, <a> et <input> : remise à zéro dans nos blocs. */
.jk-ui button,
.jk-ui button:hover,
.jk-ui button:focus,
.jk-ui button:active {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	color: inherit;
	font: inherit;
	letter-spacing: normal;
	text-transform: none;
	text-decoration: none;
	white-space: normal;
	line-height: inherit;
	cursor: pointer;
	outline: 0;
	-webkit-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
}
.jk-ui a,
.jk-ui a:hover,
.jk-ui a:visited { color: inherit; text-decoration: none; }
.jk-ui button:focus-visible,
.jk-ui a:focus-visible,
.jk-ui input:focus-visible { outline: 2px solid var(--jk-orange); outline-offset: 2px; }

/* -------------------------------------------------------------------------
 * Boutons
 * ---------------------------------------------------------------------- */

.jk-ui a.jk-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 20px;
	border-radius: 10px;
	font-family: var(--jk-texte);
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	transition: background-color .2s, color .2s, transform .25s var(--jk-ressort);
}
.jk-ui a.jk-btn .jk-ico { transition: transform .3s var(--jk-ressort); }
.jk-ui a.jk-btn:hover .jk-ico { transform: translateX(4px); }
.jk-ui a.jk-btn--orange { background: var(--jk-orange); color: #fff; }
.jk-ui a.jk-btn--orange:hover { background: var(--jk-orange-2); color: #fff; }
.jk-ui a.jk-btn--orange:active { transform: translateY(1px); }
.jk-ui a.jk-btn--contour { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .75); }
.jk-ui a.jk-btn--contour:hover { background: #fff; color: var(--jk-bleu); }
.jk-ui a.jk-btn--grand { width: 100%; min-height: 56px; border-radius: 999px; font-size: 18px; }

/* -------------------------------------------------------------------------
 * Quantité : une capsule, deux boutons ronds
 * ---------------------------------------------------------------------- */

.jk-ui .jk-stepper {
	display: inline-flex;
	align-items: center;
	height: 38px;
	padding: 4px;
	border-radius: 999px;
	background: #eef1f5;
	color: var(--jk-bleu);
}
.jk-ui .jk-stepper button {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #fff;
	color: var(--jk-bleu);
	box-shadow: 0 1px 2px rgba(2, 34, 49, .2);
	transition: background-color .15s, color .15s, transform .15s var(--jk-ressort);
}
.jk-ui .jk-stepper button .jk-ico { width: 14px; height: 14px; stroke-width: 2.4; }
.jk-ui .jk-stepper button:hover { background: var(--jk-orange); color: #fff; box-shadow: 0 2px 6px rgba(234, 131, 90, .5); }
.jk-ui .jk-stepper button:active { transform: scale(.88); }
.jk-ui .jk-stepper button:disabled { opacity: .35; cursor: default; background: #fff; color: var(--jk-bleu); box-shadow: none; }
.jk-ui .jk-stepper input.jk-stepper__valeur {
	width: 36px;
	min-width: 0;
	height: 30px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: inherit;
	font: 700 16px/1 var(--jk-texte);
	text-align: center;
	box-shadow: none;
	-moz-appearance: textfield;
}

/* -------------------------------------------------------------------------
 * Pop-up panier
 * ---------------------------------------------------------------------- */

.jk-tiroir {
	position: fixed;
	inset: 0;
	z-index: 1000000;
	visibility: hidden;
	pointer-events: none;
	transition: visibility 0s linear .4s;
}
.jk-tiroir.is-ouvert { visibility: visible; pointer-events: auto; transition-delay: 0s; }

.jk-tiroir__voile {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .6);
	opacity: 0;
	transition: opacity .3s ease;
}
.jk-tiroir.is-ouvert .jk-tiroir__voile { opacity: 1; }

.jk-tiroir__panneau {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(440px, 88vw);
	background: #fff;
	color: var(--jk-bleu);
	border-radius: 12px 0 0 12px;
	box-shadow: -20px 0 50px -20px rgba(0, 0, 0, .5);
	transform: translateX(104%);
	transition: transform .42s var(--jk-ressort);
	outline: 0;
	overflow: hidden;
}
.jk-tiroir.is-ouvert .jk-tiroir__panneau { transform: none; }

.jk-tiroir__contenu {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
}
/* Zone qui défile (liste + cadeaux) ; le pied avec le total et les boutons reste toujours à l'écran. */
.jk-tiroir__defile { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
/* Trait de chargement : fin, en haut, sans bloquer le panier. */
.jk-tiroir__contenu::before,
.jk-panier__corps::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	z-index: 5;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, transparent, var(--jk-orange) 40%, var(--jk-peche) 60%, transparent);
	background-size: 50% 100%;
	background-repeat: no-repeat;
	opacity: 0;
	pointer-events: none;
}
.jk-tiroir__contenu.is-chargement::before,
.jk-panier__corps.is-chargement::before { opacity: 1; animation: jk-file 1s linear infinite; }
@keyframes jk-file { from { background-position: -50% 0; } to { background-position: 150% 0; } }

.jk-tiroir__tete {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 22px 24px 12px;
}
.jk-ui .jk-tiroir__titre {
	display: flex;
	align-items: baseline;
	gap: 10px;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--jk-bleu);
}
.jk-ui .jk-tiroir__titre { white-space: nowrap; }
.jk-tiroir__titre > span { font-size: 13px; font-weight: 500; color: var(--jk-bleu-2); }
.jk-ui button.jk-tiroir__fermer {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 8px;
	color: var(--jk-bleu);
	transition: background-color .2s, color .2s;
}
.jk-ui button.jk-tiroir__fermer .jk-ico { width: 20px; height: 20px; stroke-width: 2; }
.jk-ui button.jk-tiroir__fermer:hover { background: var(--jk-orange); color: #fff; }

.jk-tiroir__liste {
	flex: 1 1 auto;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 0 24px 12px;
	scrollbar-width: thin;
	scrollbar-color: rgba(2, 34, 49, .25) transparent;
}

/* Lignes */
.jk-ligne {
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr) 30px;
	align-items: center;
	gap: 14px;
	padding: 14px 0;
	border-top: 1px solid var(--jk-filet);
	transition: opacity .25s ease, transform .3s var(--jk-ressort);
}
.jk-tiroir__liste > .jk-ligne:first-child { border-top: 0; padding-top: 4px; }
.jk-ligne.is-sortie,
.jk-article.is-sortie { opacity: .25; transform: translateX(18px); pointer-events: none; }
.jk-ligne.is-nouveau { animation: jk-arrivee .9s var(--jk-ressort); }
@keyframes jk-arrivee {
	0% { opacity: 0; transform: translateY(10px); background-color: rgba(234, 131, 90, .2); }
	40% { opacity: 1; transform: none; }
	100% { background-color: transparent; }
}

.jk-ligne__image { display: block; width: 92px; height: 92px; border-radius: 10px; overflow: hidden; background: #fff; }
.jk-ui .jk-ligne__image img { width: 100%; height: 100%; object-fit: cover; }
.jk-ligne__corps { min-width: 0; }
.jk-ui .jk-ligne__nom {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--jk-bleu);
}
.jk-ui a.jk-ligne__nom:hover { color: var(--jk-orange-2); }
.jk-ui .jk-ligne__meta { margin-top: 2px; font-size: 13px; color: var(--jk-bleu-2); }
.jk-ligne__bas { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.jk-ui .jk-ligne__prix { font-size: 14px; font-weight: 700; white-space: nowrap; text-align: right; }
.jk-ligne__prix del,
.jk-tiroir__rang del { margin-right: 5px; font-weight: 400; color: #9ca3af; }
.jk-ligne__prix strong { font-weight: 700; color: var(--jk-bleu); }
.jk-ligne__prix del + strong,
.jk-tiroir__rang del + strong { color: var(--jk-orange); }
.jk-ui button.jk-retirer {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 8px;
	color: var(--jk-bleu);
	transition: background-color .15s, color .15s;
}
.jk-ui button.jk-retirer .jk-ico { width: 18px; height: 18px; }
.jk-ui button.jk-retirer:hover { background: rgba(234, 131, 90, .15); color: var(--jk-orange-2); }

/* Bas du pop-up : cadeaux puis pied bleu nuit */
.jk-tiroir__cadeaux { flex: none; position: relative; padding: 18px 24px 8px; background: #fff; box-shadow: 0 -10px 22px -8px rgba(168, 162, 162, .67); }

.jk-tiroir__pied {
	flex: none;
	position: relative;
	padding: 20px 24px calc(18px + env(safe-area-inset-bottom, 0px));
	background: var(--jk-bleu);
	color: #fff;
}
.jk-ui .jk-tiroir__rang {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.5;
}
.jk-tiroir__rang strong { font-weight: 700; }
.jk-ui .jk-tiroir__rang--remise { color: var(--jk-orange); }
.jk-ui .jk-tiroir__rang--total {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid rgba(255, 255, 255, .35);
	font-size: 20px;
}
.jk-tiroir__actions { display: grid; grid-template-columns: 1fr 1.2fr; gap: 10px; margin-top: 14px; }
.jk-ui .jk-tiroir__actions a.jk-btn { padding: 0 10px; }
.jk-ui .jk-tiroir__port {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 14px;
	font-size: 14px;
	color: var(--jk-peche);
}
.jk-tiroir__port .jk-ico { width: 18px; height: 18px; }

/* Code promo (pied du pop-up et récapitulatif de la page) */
.jk-code { margin-bottom: 12px; }
.jk-ui button.jk-code__ouvrir {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	padding-right: 18px;
	font-size: 15px;
	color: var(--jk-peche);
	text-align: left;
}
.jk-ui button.jk-code__ouvrir .jk-ico { width: 17px; height: 17px; }
.jk-code__ouvrir::after {
	content: "";
	position: absolute;
	right: 2px;
	top: 50%;
	width: 8px;
	height: 8px;
	margin-top: -6px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform .2s, margin .2s;
}
.jk-code__ouvrir[aria-expanded="true"]::after { transform: rotate(-135deg); margin-top: -2px; }
.jk-ui button.jk-code__ouvrir:hover { color: #fff; }
.jk-code__form { display: flex; margin-top: 10px; }
.jk-ui .jk-code__form input {
	flex: 1 1 auto;
	min-width: 0;
	width: auto;
	height: 42px;
	margin: 0;
	padding: 0 12px;
	border: 0;
	border-radius: 8px 0 0 8px;
	background: #fff;
	box-shadow: none;
	color: #000;
	font: 600 15px/1 var(--jk-texte);
	text-transform: uppercase;
}
.jk-ui .jk-code__form input::placeholder { font-weight: 400; text-transform: none; color: #8a97a0; }
.jk-ui .jk-code__form button {
	flex: none;
	height: 42px;
	padding: 0 16px;
	border-radius: 0 8px 8px 0;
	background: var(--jk-orange);
	color: #fff;
	font-size: 14.5px;
	font-weight: 700;
}
.jk-ui .jk-code__form button:hover { background: var(--jk-orange-2); color: #fff; }
.jk-ui .jk-code__actif { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--jk-peche); }
.jk-code__actif .jk-ico { width: 17px; height: 17px; }
.jk-code__actif > span { flex: 1 1 auto; }
.jk-code__actif b { font-weight: 700; color: #fff; }
.jk-ui .jk-code__actif button { font-size: 13px; color: rgba(255, 255, 255, .75); text-decoration: underline; text-underline-offset: 3px; }
.jk-ui .jk-code__actif button:hover { color: #fff; text-decoration: underline; }

/* Panier vide */
.jk-vide { padding: 30px 6px 16px; text-align: center; }
.jk-ui .jk-vide__titre { font-size: 19px; font-weight: 700; }
.jk-ui .jk-vide__texte { margin: 6px auto 18px; max-width: 30ch; font-size: 14.5px; color: var(--jk-bleu-2); }

/* Squelette (premier chargement) */
.jk-squelette__ligne { display: grid; grid-template-columns: 92px 1fr; gap: 14px; padding: 14px 0; }
.jk-squelette__ligne i,
.jk-squelette__ligne b {
	display: block;
	border-radius: 8px;
	background: linear-gradient(100deg, rgba(2, 34, 49, .06) 30%, rgba(2, 34, 49, .12) 50%, rgba(2, 34, 49, .06) 70%);
	background-size: 200% 100%;
	animation: jk-brille 1.2s linear infinite;
}
.jk-squelette__ligne i { width: 92px; height: 92px; border-radius: 10px; }
.jk-squelette__ligne span { display: grid; align-content: center; gap: 9px; }
.jk-squelette__ligne b { height: 12px; }
.jk-squelette__ligne b:nth-child(1) { width: 78%; }
.jk-squelette__ligne b:nth-child(2) { width: 42%; }
.jk-squelette__ligne b:nth-child(3) { width: 58%; }
@keyframes jk-brille { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* -------------------------------------------------------------------------
 * Échelle des cadeaux (pop-up et page)
 * ---------------------------------------------------------------------- */

.jk-echelle__tete { display: flex; align-items: flex-start; gap: 10px; }
.jk-echelle__image { flex: none; display: grid; place-items: center; width: 48px; height: 48px; color: var(--jk-orange); }
.jk-ui .jk-echelle__image img { width: 48px; height: 48px; object-fit: contain; }
.jk-echelle__image .jk-ico { width: 34px; height: 34px; }
.jk-ui .jk-echelle__titre { font-size: 15px; font-weight: 700; line-height: 1.3; text-transform: uppercase; color: var(--jk-orange); }
.jk-ui .jk-echelle__gagne { font-size: 12.5px; font-weight: 700; line-height: 1.35; color: var(--jk-bleu); }

.jk-echelle__piste {
	position: relative;
	height: 8px;
	margin: 36px 14px 44px 4px;
	border-radius: 999px;
	background: var(--jk-peche);
}
.jk-echelle__plein {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	border-radius: 999px;
	background: var(--jk-orange);
	transition: width .7s var(--jk-ressort);
}
.jk-ui button.jk-echelle__palier {
	position: absolute;
	top: 50%;
	width: 18px;
	height: 18px;
	margin: -9px 0 0 -9px;
	overflow: visible;
}
.jk-echelle__palier::after { content: ""; position: absolute; inset: -12px; }
.jk-echelle__point {
	display: block;
	width: 18px;
	height: 18px;
	border: 2px solid var(--jk-peche);
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .22);
	transition: background-color .4s, border-color .4s, transform .4s var(--jk-ressort);
}
.jk-echelle__palier.is-gagne .jk-echelle__point { border-color: #fff; background: var(--jk-orange); transform: scale(1.08); }
.jk-echelle__montant {
	position: absolute;
	left: 50%;
	bottom: 23px;
	transform: translateX(-50%);
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	color: var(--jk-bleu);
}
.jk-echelle__palier.is-gagne .jk-echelle__montant { color: var(--jk-orange); }
.jk-echelle__ico {
	position: absolute;
	left: 50%;
	top: 23px;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	transform: translateX(-50%);
	color: var(--jk-orange);
	opacity: .55;
	transition: opacity .3s, transform .3s var(--jk-ressort);
}
.jk-ui .jk-echelle__ico img { width: 28px; height: 28px; object-fit: contain; }
.jk-echelle__ico .jk-ico { width: 20px; height: 20px; }
.jk-echelle__palier.is-gagne .jk-echelle__ico { opacity: 1; }
.jk-ui button.jk-echelle__palier:hover .jk-echelle__ico { transform: translateX(-50%) scale(1.12); opacity: 1; }
/* Bulle : le cadeau du palier, au survol ou au clic */
.jk-echelle__bulle {
	position: absolute;
	left: 50%;
	bottom: 42px;
	z-index: 6;
	width: 136px;
	padding: 12px 10px 10px;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .32);
	color: var(--jk-bleu);
	text-align: center;
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 6px);
	transition: opacity .2s, transform .25s var(--jk-ressort), visibility 0s linear .2s;
	pointer-events: none;
}
.jk-ui .jk-echelle__bulle img { width: 80px; height: 56px; margin: 0 auto 6px; object-fit: contain; }
.jk-echelle__bulle b { display: block; font-size: 12.5px; font-weight: 600; line-height: 1.25; }
.jk-echelle__palier.is-dernier .jk-echelle__bulle { left: auto; right: -14px; transform: translate(0, 6px); }
.jk-ui button.jk-echelle__palier:hover .jk-echelle__bulle,
.jk-ui button.jk-echelle__palier:focus-visible .jk-echelle__bulle,
.jk-ui button.jk-echelle__palier.is-vu .jk-echelle__bulle { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.jk-ui button.jk-echelle__palier.is-dernier:hover .jk-echelle__bulle,
.jk-ui button.jk-echelle__palier.is-dernier:focus-visible .jk-echelle__bulle,
.jk-ui button.jk-echelle__palier.is-dernier.is-vu .jk-echelle__bulle { transform: translate(0, 0); }
.jk-ui .jk-echelle__suite { margin-top: -6px; padding-bottom: 6px; font-size: 13px; text-align: center; color: var(--jk-bleu-2); }
.jk-echelle__suite b { font-weight: 700; color: var(--jk-bleu); }

/* -------------------------------------------------------------------------
 * Message
 * ---------------------------------------------------------------------- */

.jk-toast {
	position: fixed;
	left: 50%;
	bottom: 26px;
	z-index: 1000001;
	display: flex;
	align-items: center;
	gap: 14px;
	width: max-content;
	max-width: min(400px, calc(100vw - 28px));
	padding: 12px 18px;
	border-radius: 12px;
	background: var(--jk-bleu);
	color: #fff;
	font-size: 14.5px;
	font-weight: 500;
	box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .16);
	opacity: 0;
	transform: translate(-50%, 18px) scale(.96);
	pointer-events: none;
	transition: opacity .25s ease, transform .4s var(--jk-ressort);
}
.jk-toast.is-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.jk-toast span { min-width: 0; line-height: 1.3; }
.jk-ui.jk-toast button { color: var(--jk-peche); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.jk-toast.is-cadeau { box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .7), inset 0 0 0 1.5px var(--jk-orange); }
.jk-toast.is-cadeau span::before { content: "🎁 "; }
/* Pop-up ouvert : le message s'affiche dans le pop-up, sous son titre. */
html.jk-sans-defilement .jk-toast { left: auto; right: calc(min(440px, 88vw) / 2); top: 74px; bottom: auto; transform: translate(50%, -12px) scale(.96); }
html.jk-sans-defilement .jk-toast.is-visible { transform: translate(50%, 0); }

/* -------------------------------------------------------------------------
 * Page panier
 * ---------------------------------------------------------------------- */

main.jk-panier {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 34px 20px 90px;
	color: #fff;
}
.jk-panier__corps { position: relative; }
.jk-panier__corps::before { top: -12px; border-radius: 3px; }

.jk-ui .jk-panier__alerte {
	margin-bottom: 16px;
	padding: 12px 16px;
	border-radius: 14px;
	background: rgba(234, 131, 90, .16);
	box-shadow: inset 0 0 0 1px rgba(234, 131, 90, .6);
	font-size: 14.5px;
}

/* Étapes */
.jk-etapes { margin-bottom: 30px; }
.jk-etapes ol { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0; padding: 0; list-style: none; }
.jk-etapes li {
	display: flex;
	align-items: center;
	gap: 9px;
	font-family: "Jost", sans-serif;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: .02em;
	color: rgba(255, 255, 255, .5);
}
.jk-etapes li a { display: flex; align-items: center; gap: 9px; color: inherit; text-decoration: none; }
.jk-etapes li + li::before { content: ""; width: 46px; height: 1px; margin-right: 5px; background: rgba(255, 255, 255, .25); }
.jk-etapes__puce {
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4);
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
}
.jk-etapes__puce svg { width: 14px; height: 14px; stroke-width: 2.4; }
.jk-etapes li.is-actif { color: #fff; }
.jk-etapes li.is-actif .jk-etapes__puce { background: #ea835a; box-shadow: 0 0 0 5px rgba(234, 131, 90, .22); color: #fff; }
.jk-etapes li.is-fait { color: rgba(255, 255, 255, .8); }
.jk-etapes li.is-fait .jk-etapes__puce { background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); }
.jk-etapes li.is-fait a:hover { color: #f9c8a7; }

.jk-panier__grille {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 404px;
	gap: 40px;
	align-items: start;
}

.jk-ui h1.jk-panier__titre {
	display: flex;
	align-items: baseline;
	gap: 14px;
	margin-bottom: 20px;
	font-family: var(--jk-titre);
	font-style: italic;
	font-weight: 600;
	font-size: 44px;
	line-height: 1;
	letter-spacing: -.015em;
	color: #fff;
}
.jk-panier__titre > span {
	font-family: var(--jk-texte);
	font-style: normal;
	font-weight: 500;
	font-size: 15px;
	letter-spacing: .02em;
	color: var(--jk-peche);
}

/* Cartes translucides : la même recette que la page commande */
.jk-article,
.jk-panier .jk-suggestions,
.jk-resume__carte {
	border: 1px solid rgba(255, 255, 255, .27);
	border-radius: 20px;
	background: linear-gradient(132deg, rgba(255, 255, 255, .22) 0%, rgba(0, 0, 0, .11) 100%);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

/* Articles */
.jk-article {
	position: relative;
	display: grid;
	grid-template-columns: 116px minmax(0, 1fr);
	gap: 20px;
	padding: 18px;
	margin-bottom: 14px;
	transition: opacity .25s ease, transform .3s var(--jk-ressort);
}
.jk-article.is-nouveau { animation: jk-arrivee-nuit 1s var(--jk-ressort); }
@keyframes jk-arrivee-nuit {
	0% { opacity: 0; transform: translateY(12px); border-color: var(--jk-orange); box-shadow: 0 0 30px -4px rgba(234, 131, 90, .8); }
	40% { opacity: 1; transform: none; }
	100% { border-color: rgba(255, 255, 255, .27); box-shadow: 0 0 0 0 rgba(234, 131, 90, 0); }
}
.jk-article__image { display: block; width: 116px; height: 116px; border-radius: 14px; overflow: hidden; }
.jk-ui .jk-article__image img { width: 100%; height: 100%; object-fit: contain; }
.jk-article__corps { min-width: 0; }
.jk-article__haut { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.jk-ui .jk-article__nom { font-size: 18px; font-weight: 600; line-height: 1.25; color: #fff; }
.jk-ui .jk-article__nom a:hover { color: var(--jk-peche); }
.jk-ui .jk-article__prix { flex: none; font-size: 21px; line-height: 1.1; text-align: right; white-space: nowrap; }
.jk-article__prix del { display: block; margin: 0 0 3px; font-size: 14px; color: #9ca3af; }
.jk-article__prix strong { font-weight: 700; color: #fff; }
.jk-article__prix del + strong { color: var(--jk-orange); }
.jk-ui .jk-article__meta { margin-top: 4px; font-size: 14px; color: rgba(255, 255, 255, .7); }

/* Promo : toujours en orange */
.jk-ui .jk-article__promo { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin-top: 6px; font-size: 13px; color: var(--jk-peche); }
.jk-promo {
	display: inline-block;
	padding: 3px 7px 2px;
	border-radius: 6px;
	background: var(--jk-orange);
	color: #fff;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
	line-height: 1.3;
	white-space: nowrap;
}

/* Formats : prix dégressif, en vert */
.jk-ui .jk-formats__titre {
	margin-top: 14px;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: #8fe0b3;
}
.jk-formats { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 10px; }
.jk-ui button.jk-format {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 86px;
	padding: 9px 13px 8px;
	border-radius: 12px;
	background: rgba(255, 255, 255, .06);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3);
	color: #fff;
	text-align: left;
	transition: background-color .2s, box-shadow .2s, transform .25s var(--jk-ressort);
}
.jk-format b { font-size: 16px; font-weight: 600; line-height: 1.15; }
.jk-format small { margin-top: 2px; font-size: 12.5px; line-height: 1.2; color: rgba(255, 255, 255, .72); }
.jk-format i {
	position: absolute;
	top: -8px;
	right: -6px;
	padding: 2px 6px;
	border-radius: 999px;
	background: var(--jk-vert);
	color: #fff;
	font-style: normal;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.35;
	white-space: nowrap;
}
.jk-ui button.jk-format:hover { background: rgba(255, 255, 255, .13); box-shadow: inset 0 0 0 1px #fff; transform: translateY(-2px); color: #fff; }
.jk-ui button.jk-format[aria-pressed="true"] {
	background: rgba(255, 255, 255, .06);
	box-shadow: inset 0 0 0 2px var(--jk-orange);
	color: #fff;
	cursor: default;
	transform: none;
}
.jk-format[aria-pressed="true"] small { color: rgba(255, 255, 255, .85); }
.jk-ui button.jk-format.is-envoi { opacity: .55; pointer-events: none; }

.jk-article__bas { display: flex; align-items: center; gap: 18px; margin-top: 16px; }
.jk-ui .jk-article .jk-stepper { height: 42px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); color: #fff; }
.jk-ui .jk-article .jk-stepper button { width: 34px; height: 34px; background: rgba(255, 255, 255, .18); color: #fff; box-shadow: none; }
.jk-ui .jk-article .jk-stepper button:hover { background: var(--jk-orange); color: #fff; }
.jk-ui .jk-article .jk-stepper input.jk-stepper__valeur { width: 40px; height: 34px; font-size: 17px; }
.jk-ui button.jk-lien {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13.5px;
	color: rgba(255, 255, 255, .65);
	transition: color .15s;
}
.jk-ui button.jk-lien .jk-ico { width: 15px; height: 15px; }
.jk-ui button.jk-lien:hover { color: #fff; }

/* Produits proposés : nom, format, prix, bouton */
.jk-panier .jk-suggestions { margin-top: 22px; padding: 18px 20px 8px; }
.jk-ui .jk-suggestions__titre { margin-bottom: 4px; font-size: 19px; font-weight: 600; line-height: 1.2; color: var(--jk-orange); }
.jk-suggestion {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) auto auto;
	align-items: center;
	gap: 16px;
	padding: 12px 0;
}
.jk-suggestion + .jk-suggestion { border-top: 1px solid rgba(255, 255, 255, .14); }
.jk-suggestion__image { display: block; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; }
.jk-ui .jk-suggestion__image img { width: 100%; height: 100%; object-fit: contain; }
.jk-suggestion__texte { min-width: 0; }
.jk-ui .jk-suggestion__nom {
	display: block;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	font-size: 15.5px;
	font-weight: 600;
	color: #fff;
}
.jk-ui a.jk-suggestion__nom:hover { color: var(--jk-peche); }
.jk-ui .jk-suggestion__format { margin-top: 1px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.jk-ui .jk-suggestion__prix { font-size: 18px; line-height: 1.1; text-align: right; white-space: nowrap; }
.jk-suggestion__prix del { display: block; margin-bottom: 2px; font-size: 13px; font-weight: 400; color: #9ca3af; }
.jk-suggestion__prix strong { font-weight: 700; color: #fff; }
.jk-suggestion__prix del + strong { color: var(--jk-orange); }
.jk-ui button.jk-suggestion__ajouter {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 40px;
	padding: 0 16px 0 12px;
	border-radius: 999px;
	background: var(--jk-orange);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
	transition: background-color .2s, transform .25s var(--jk-ressort);
}
.jk-ui button.jk-suggestion__ajouter .jk-ico { width: 15px; height: 15px; stroke-width: 2.4; transition: transform .3s var(--jk-ressort); }
.jk-ui button.jk-suggestion__ajouter:hover { background: var(--jk-orange-2); color: #fff; transform: translateY(-1px); }
.jk-ui button.jk-suggestion__ajouter:hover .jk-ico { transform: rotate(90deg); }
.jk-ui button.jk-suggestion__ajouter.is-envoi { opacity: .5; pointer-events: none; }

/* Cadeaux de la page : un morceau de nuit étoilée */
.jk-ui .jk-cadeaux {
	position: relative;
	margin-top: 22px;
	padding: 22px 24px 14px;
	border-radius: 20px;
	color: #fff;
	box-shadow: inset 0 0 0 1px rgba(234, 131, 90, .45), 0 0 44px -18px rgba(234, 131, 90, .7);
	background:
		radial-gradient(1.2px 1.2px at 12% 22%, rgba(255, 255, 255, .9) 50%, transparent 51%),
		radial-gradient(1px 1px at 31% 64%, rgba(255, 255, 255, .7) 50%, transparent 51%),
		radial-gradient(1.4px 1.4px at 47% 14%, rgba(255, 255, 255, .8) 50%, transparent 51%),
		radial-gradient(1px 1px at 63% 78%, rgba(255, 255, 255, .55) 50%, transparent 51%),
		radial-gradient(1.2px 1.2px at 78% 30%, rgba(255, 255, 255, .85) 50%, transparent 51%),
		radial-gradient(1px 1px at 91% 58%, rgba(255, 255, 255, .6) 50%, transparent 51%),
		radial-gradient(130% 90% at 105% 125%, rgba(234, 131, 90, .45) 0%, rgba(234, 131, 90, 0) 60%),
		linear-gradient(160deg, #0a1128 0%, #0b2234 62%, #143049 100%);
}
.jk-cadeaux__tete { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.jk-ui .jk-cadeaux__titre { font-family: var(--jk-titre); font-style: italic; font-weight: 600; font-size: 26px; line-height: 1.1; color: #fff; }
.jk-ui .jk-cadeaux__sous { font-size: 13.5px; color: var(--jk-peche); }
.jk-ui .jk-cadeaux__liste { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px 22px; margin-top: 14px; }
.jk-cadeau { display: flex; align-items: center; gap: 10px; }
.jk-cadeau__image {
	flex: none;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	color: var(--jk-orange);
}
.jk-ui .jk-cadeau__image img { width: 38px; height: 38px; object-fit: contain; }
.jk-cadeau__nom { flex: 1 1 auto; min-width: 0; font-size: 14.5px; font-weight: 500; line-height: 1.25; }
.jk-cadeau__nom::first-letter { text-transform: uppercase; }
.jk-offert {
	flex: none;
	display: inline-block;
	padding: 4px 9px 3px;
	border-radius: 999px;
	background: rgba(234, 131, 90, .16);
	box-shadow: inset 0 0 0 1px rgba(234, 131, 90, .7);
	color: var(--jk-peche);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
	line-height: 1.3;
}
.jk-cadeaux.is-fete .jk-cadeau:last-child { animation: jk-cadeau .8s var(--jk-ressort); }
@keyframes jk-cadeau { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
/* Échelle sur fond sombre */
.jk-cadeaux .jk-echelle__piste { max-width: 560px; margin-top: 42px; background: rgba(255, 255, 255, .2); }
.jk-cadeaux .jk-echelle__montant { font-size: 13px; color: rgba(255, 255, 255, .72); }
.jk-cadeaux .jk-echelle__palier.is-gagne .jk-echelle__montant { color: var(--jk-peche); }
.jk-cadeaux .jk-echelle__point { border-color: rgba(255, 255, 255, .55); background: #0b1c30; box-shadow: none; }
.jk-cadeaux .jk-echelle__palier.is-gagne .jk-echelle__point { border-color: #fff; background: var(--jk-orange); box-shadow: 0 0 10px rgba(234, 131, 90, .9); }
.jk-ui .jk-cadeaux .jk-echelle__suite { text-align: left; color: rgba(255, 255, 255, .8); }
.jk-cadeaux .jk-echelle__suite b { color: var(--jk-peche); }

/* Récapitulatif */
.jk-resume { position: sticky; top: 24px; }
.jk-resume__carte { padding: 24px; color: #fff; }
.jk-ui .jk-resume__titre { font-size: 24px; font-weight: 600; line-height: 1.2; color: var(--jk-orange); }
.jk-ui .jk-resume__lignes,
.jk-ui .jk-resume__totaux { display: grid; gap: 11px; margin-top: 18px; }
.jk-ui .jk-resume__totaux { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .22); }
.jk-resume__lignes > div,
.jk-resume__totaux > div { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.jk-ui .jk-resume__lignes dt { min-width: 0; font-size: 14.5px; font-weight: 500; line-height: 1.3; }
.jk-resume__lignes dt small { display: block; font-size: 12.5px; font-weight: 400; color: rgba(255, 255, 255, .65); }
.jk-resume__lignes .is-cadeau dt::first-letter { text-transform: uppercase; }
.jk-ui .jk-resume__lignes dd,
.jk-ui .jk-resume__totaux dd { flex: none; font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.jk-ui .jk-resume__totaux dt { font-size: 14.5px; color: rgba(255, 255, 255, .78); }
.jk-resume__totaux dd small { font-size: 12.5px; font-weight: 400; color: rgba(255, 255, 255, .65); }
.jk-resume__totaux dd del { margin-right: 5px; font-weight: 400; color: #9ca3af; }
.jk-resume__totaux dd del + strong { color: var(--jk-orange); }
.jk-ui .jk-resume__totaux .is-moins dd { color: var(--jk-peche); }
.jk-ui .jk-resume__total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, .22);
}
.jk-resume__total > span { font-size: 16px; font-weight: 600; }
.jk-resume__total > span small { font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, .65); }
.jk-resume__total > strong { font-size: 34px; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.jk-ui .jk-resume__port {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 12px;
	font-size: 13.5px;
	color: var(--jk-peche);
}
.jk-resume__port .jk-ico { width: 17px; height: 17px; }
.jk-resume .jk-code { margin: 18px 0 14px; }
.jk-ui .jk-resume__retour {
	display: block;
	margin-top: 14px;
	font-size: 14px;
	text-align: center;
	color: rgba(255, 255, 255, .72);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.jk-ui .jk-resume__retour:hover { color: #fff; text-decoration: underline; }

/* Réassurance, sous le récapitulatif */
.jk-ui .jk-assurances { display: grid; gap: 14px; margin-top: 26px; padding: 0 6px; }
.jk-assurances li { display: flex; align-items: flex-start; gap: 12px; color: #fff; }
.jk-assurances .jk-ico { width: 21px; height: 21px; margin-top: 1px; color: var(--jk-peche); }
.jk-assurances b { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.25; }
.jk-assurances small { display: block; margin-top: 1px; font-size: 13px; line-height: 1.35; color: rgba(255, 255, 255, .66); }

/* Panier vide (page) */
.jk-panier__vide { max-width: 620px; margin: 0 auto; }
.jk-panier__vide .jk-vide { padding: 30px 20px 6px; color: #fff; }
.jk-panier__vide .jk-vide__titre { font-size: 26px; }
.jk-panier__vide .jk-vide__texte { color: rgba(255, 255, 255, .75); }

/* Barre fixe (mobile) */
.jk-barre { display: none; }

@media (max-width: 980px) {
	.jk-panier__grille { grid-template-columns: minmax(0, 1fr); gap: 30px; }
	.jk-resume { position: static; }
}

@media (max-width: 640px) {
	main.jk-panier { padding: 22px 14px 120px; }
	.jk-etapes { margin-bottom: 22px; }
	.jk-etapes ol { gap: 8px; }
	.jk-etapes li { font-size: 12.5px; gap: 6px; }
	.jk-etapes li a { gap: 6px; }
	.jk-etapes li + li::before { width: 14px; margin-right: 2px; }
	.jk-etapes__puce { width: 22px; height: 22px; font-size: 12px; }
	.jk-etapes li:not(.is-actif) .jk-etapes__nom { display: none; }
	.jk-ui h1.jk-panier__titre { font-size: 34px; margin-bottom: 16px; }
	.jk-article { grid-template-columns: 84px minmax(0, 1fr); gap: 0 14px; padding: 14px; }
	.jk-article__corps { display: contents; }
	.jk-article__image { grid-row: span 2; align-self: start; width: 84px; height: 84px; border-radius: 12px; }
	.jk-article__haut,
	.jk-article__promo,
	.jk-article__meta { grid-column: 2; }
	.jk-formats__titre,
	.jk-formats,
	.jk-article__bas { grid-column: 1 / -1; }
	.jk-ui .jk-article__nom { font-size: 16px; }
	.jk-ui .jk-article__prix { font-size: 18px; }
	.jk-formats { gap: 8px; }
	.jk-ui button.jk-format { min-width: 0; flex: 1 1 calc(25% - 8px); padding: 8px 9px 7px; }
	.jk-format b { font-size: 15px; }
	.jk-format small { font-size: 11.5px; }
	.jk-article__bas { justify-content: space-between; }
	.jk-ui .jk-cadeaux { padding: 18px 16px 12px; }
	.jk-panier .jk-suggestions { padding: 16px 14px 6px; }
	.jk-suggestion { grid-template-columns: 56px minmax(0, 1fr) auto auto; gap: 10px; }
	.jk-suggestion__image { width: 56px; height: 56px; }
	.jk-ui .jk-suggestion__nom { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; white-space: normal; font-size: 14.5px; line-height: 1.25; }
	.jk-ui .jk-suggestion__prix { font-size: 16px; }
	.jk-suggestion__ajouter span { display: none; }
	.jk-ui button.jk-suggestion__ajouter { width: 42px; height: 42px; padding: 0; }
	.jk-resume__carte { padding: 20px 18px; }

	.jk-barre {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 999990;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 14px;
		padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
		background: rgba(2, 34, 49, .94);
		box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
		-webkit-backdrop-filter: blur(14px);
		backdrop-filter: blur(14px);
	}
	.jk-ui .jk-barre p { display: flex; flex-direction: column; line-height: 1.1; color: #fff; }
	.jk-barre small { font-size: 11.5px; color: rgba(255, 255, 255, .65); }
	.jk-barre strong { font-size: 21px; font-weight: 700; }
	.jk-ui .jk-barre a.jk-btn { min-height: 48px; padding: 0 18px; border-radius: 999px; font-size: 15.5px; }

	/* Les pastilles flottantes (avis, discussion) laissent la place à la barre. */
	body.jk-page-panier [class^="skeepers-widget-wrapper"],
	body.jk-page-panier .mwai-chat { display: none !important; }
	body.jk-page-panier .jk-toast { bottom: 84px; }

	.jk-tiroir__tete { padding: 16px 18px 8px; }
	.jk-ui .jk-tiroir__titre { font-size: 22px; }
	.jk-tiroir__liste { padding: 0 18px 6px; }
	.jk-tiroir__cadeaux { padding: 14px 18px 4px; }
	.jk-tiroir__pied { padding: 14px 18px calc(14px + env(safe-area-inset-bottom, 0px)); }
	.jk-ui .jk-tiroir__rang--total { margin-top: 8px; padding-top: 8px; }
	.jk-tiroir__actions { margin-top: 12px; }

	/* Ligne : la corbeille passe en haut à droite, l'ancien prix au-dessus du prix */
	.jk-ligne { position: relative; grid-template-columns: 68px minmax(0, 1fr); align-items: start; gap: 12px; padding: 12px 0; }
	.jk-ligne__image { width: 68px; height: 68px; }
	.jk-ui .jk-ligne__nom { padding-right: 34px; }
	.jk-ui button.jk-retirer { position: absolute; top: 4px; right: -8px; width: 40px; height: 40px; }
	.jk-ligne__bas { align-items: flex-end; margin-top: 6px; }
	.jk-ligne__prix del { display: block; margin: 0 0 1px; font-size: 12.5px; }

	/* Zones tactiles */
	.jk-ui .jk-stepper { height: 44px; }
	.jk-ui .jk-stepper button { width: 36px; height: 36px; }
	.jk-ui .jk-stepper input.jk-stepper__valeur { width: 34px; height: 36px; }
	.jk-ui .jk-article .jk-stepper { height: 46px; }
	.jk-ui .jk-article .jk-stepper button { width: 38px; height: 38px; }
	.jk-ui .jk-article .jk-stepper input.jk-stepper__valeur { width: 38px; height: 38px; }
	.jk-ui button.jk-lien { min-height: 44px; padding: 0 4px; font-size: 14px; }
	.jk-ui button.jk-code__ouvrir { min-height: 40px; }
	/* 16 px minimum dans les champs : en dessous, l'iPhone zoome sur la page au moment de la saisie */
	.jk-ui .jk-code__form input { height: 46px; font-size: 16px; }
	.jk-ui .jk-code__form button { height: 46px; }
}

@media (max-width: 340px) {
	.jk-tiroir__panneau { width: 92vw; }
	.jk-ligne { grid-template-columns: 56px minmax(0, 1fr); gap: 10px; }
	.jk-ligne__image { width: 56px; height: 56px; }
	.jk-ui .jk-tiroir__actions a.jk-btn { font-size: 15px; }
}

/*
 * Téléphones et fenêtres basses : la liste et les cadeaux défilent ensemble,
 * le total et les deux boutons restent collés en bas, toujours visibles.
 */
@media (max-width: 640px), (max-height: 760px) {
	/* Colonne : la liste garde sa hauteur, les cadeaux se calent en bas, juste au-dessus du total (pas de grand blanc). S'il n'y a pas la place, tout défile ensemble. */
	.jk-tiroir__defile { display: flex; flex-direction: column; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
	.jk-tiroir__liste { flex: none; overflow: visible; }
	.jk-tiroir__cadeaux { flex: none; margin-top: auto; border-top: 1px solid var(--jk-filet); box-shadow: none; }
	.jk-tiroir__pied { box-shadow: 0 -10px 22px -8px rgba(0, 0, 0, .35); }
	.jk-ui .jk-tiroir__port { display: none; }
}

/* -------------------------------------------------------------------------
 * Page commande
 * ---------------------------------------------------------------------- */

.jk-commande-tete { position: relative; width: 100%; margin: 4px 0 26px; }
.jk-commande-tete.is-en-tete { margin: 0 0 18px; }
.jk-commande-tete .jk-etapes { margin-bottom: 0; }
.jk-commande-tete .jk-ico { display: block; }
a.jk-commande-retour {
	display: block;
	margin-top: 12px;
	font-family: "Jost", sans-serif;
	font-size: 14px;
	text-align: center;
	color: #f9c8a7 !important;
	text-decoration: underline;
	text-underline-offset: 3px;
}
a.jk-commande-retour:hover { color: #fff !important; }

/*
 * Récapitulatif : le tableau est mis à plat pour que chaque ligne ait son libellé au bord gauche
 * et son montant au bord droit de la carte ; l'expédition prend toute la largeur.
 */
.jk-page-commande table.shop_table.woocommerce-checkout-review-order-table,
.jk-page-commande table.woocommerce-checkout-review-order-table thead,
.jk-page-commande table.woocommerce-checkout-review-order-table tbody,
.jk-page-commande table.woocommerce-checkout-review-order-table tfoot { display: block; width: 100%; }
.jk-page-commande table.woocommerce-checkout-review-order-table tr {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 0 !important;
}
.jk-page-commande table.shop_table.woocommerce-checkout-review-order-table th,
.jk-page-commande table.shop_table.woocommerce-checkout-review-order-table td {
	display: block;
	width: auto !important;
	padding: 9px 0 !important;
	border: 0 !important;
	text-align: left;
	line-height: 1.35;
}
.jk-page-commande table.shop_table.woocommerce-checkout-review-order-table tr > :first-child { flex: 1 1 auto; min-width: 0; }
.jk-page-commande table.shop_table.woocommerce-checkout-review-order-table tr > :last-child { flex: none; max-width: 58%; text-align: right; white-space: nowrap; }
.jk-page-commande table.shop_table.woocommerce-checkout-review-order-table thead th { padding: 0 0 6px !important; }
.jk-page-commande table.woocommerce-checkout-review-order-table tfoot { margin-top: 10px; padding-top: 6px; border-top: 1px solid rgba(255, 255, 255, .2); }

/* Lignes produits et cadeaux */
.jk-page-commande table.shop_table.woocommerce-checkout-review-order-table td.product-name { display: flex; align-items: center; max-width: none !important; }
.jk-page-commande .jk-recap { flex: 1 1 auto; display: flex; align-items: center; gap: 14px; min-width: 0; }
.jk-page-commande .jk-recap__image {
	position: relative;
	flex: none;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	color: #ea835a;
}
.jk-page-commande .jk-recap__image img { display: block; width: 48px !important; height: 48px !important; margin: 0 !important; border-radius: 8px; object-fit: contain; }
.jk-page-commande .jk-recap__image--cadeau img { width: 40px !important; height: 40px !important; border-radius: 0; }
.jk-page-commande .jk-recap__qte {
	position: absolute;
	top: -6px;
	right: -6px;
	display: grid;
	place-items: center;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 999px;
	background: #ea835a;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}
.jk-page-commande .jk-recap__texte { flex: 1 1 auto; display: flex; flex-direction: column; min-width: 0; }
.jk-page-commande .jk-recap__nom {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.25;
}
.jk-page-commande .jk-recap__nom::first-letter { text-transform: uppercase; }
.jk-page-commande .jk-recap__meta { margin-top: 2px; font-size: 13px; opacity: .72; }
.jk-page-commande td.product-name .jk-recap ~ .product-quantity { display: none; }
.jk-page-commande .jk-recap-cadeau .jk-offert { display: inline-block; }

/* Expédition : le titre, puis une ligne par mode de livraison, le prix au bord droit */
.jk-page-commande table.woocommerce-checkout-review-order-table tr.shipping { flex-direction: column; align-items: stretch; gap: 0; }
.jk-page-commande table.shop_table.woocommerce-checkout-review-order-table tr.shipping th { padding-bottom: 4px !important; }
.jk-page-commande table.shop_table.woocommerce-checkout-review-order-table tr.shipping td { max-width: none; padding-top: 2px !important; text-align: left; white-space: normal; }
.jk-page-commande #shipping_method { margin: 0; padding: 0; list-style: none; }
.jk-page-commande #shipping_method li { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; margin: 0; padding: 5px 0; text-indent: 0; }
.jk-page-commande #shipping_method li input { flex: none; margin: 0; }
.jk-page-commande #shipping_method li label { flex: 1 1 0; display: flex !important; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0; line-height: 1.3; cursor: pointer; }
.jk-page-commande #shipping_method li > div,
.jk-page-commande #shipping_method li > p { flex: 0 0 100%; padding-left: 23px; }
.jk-page-commande #shipping_method li label .jk-offert { align-self: center; }
.jk-page-commande #lpc_layer_pickup_selection_button button { margin: 8px 0 2px !important; }
.jk-page-commande table.shop_table.woocommerce-checkout-review-order-table tr.jk-recap-delai td {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	gap: 8px;
	max-width: none;
	padding: 2px 0 8px !important;
	font-size: 13px;
	text-align: left;
	white-space: normal;
	color: rgba(255, 255, 255, .72);
}
.jk-page-commande tr.jk-recap-delai .jk-ico { flex: none; width: 17px; height: 17px; color: #f9c8a7; }

/* Total */
.jk-page-commande table.woocommerce-checkout-review-order-table tr.order-total { align-items: baseline; margin-top: 6px; padding-top: 6px; border-top: 1px solid rgba(255, 255, 255, .2); }
.jk-page-commande table.shop_table.woocommerce-checkout-review-order-table tr.order-total th { font-size: 17px; }
.jk-page-commande tr.order-total td strong,
.jk-page-commande tr.order-total td strong .amount { font-size: 22px; line-height: 1.1; }
.jk-page-commande tr.order-total small.includes_tax { display: block; margin-top: 3px; font-size: 12px; font-weight: 400; color: rgba(255, 255, 255, .62) !important; }
.jk-page-commande tr.order-total small.includes_tax .amount { color: inherit !important; font-size: inherit; font-weight: inherit; }

.jk-page-commande ul.jk-commande-assurances {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 18px;
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
	font-family: "Jost", sans-serif;
	font-size: 13px;
	color: rgba(255, 255, 255, .82);
}
.jk-page-commande .jk-commande-assurances li { display: flex; align-items: center; gap: 6px; }
.jk-page-commande .jk-commande-assurances .jk-ico { width: 16px; height: 16px; color: #f9c8a7; }

@media (prefers-reduced-motion: reduce) {
	.jk-ui *,
	.jk-ui *::before,
	.jk-ui *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Code promo (2.4.3) : cadre propre au focus, ouverture en douceur, pas de barre fixe par-dessus le clavier */
.jk-ui .jk-code__form { border-radius: 10px; transition: box-shadow .15s ease; }
.jk-ui .jk-code__form:focus-within { box-shadow: 0 0 0 2px var(--jk-orange); }
.jk-ui .jk-code__form input, .jk-ui .jk-code__form input:focus, .jk-ui .jk-code__form input:focus-visible { outline: 0; box-shadow: none; -webkit-appearance: none; appearance: none; border-radius: 8px 0 0 8px; }
.jk-ui .jk-code__form input::-webkit-search-cancel-button, .jk-ui .jk-code__form input::-webkit-search-decoration { -webkit-appearance: none; display: none; }
.jk-ui .jk-code__form button:focus-visible { outline: 0; }
.jk-code__form:not([hidden]) { animation: jk-code-ouvre .22s ease both; }
@keyframes jk-code-ouvre { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .jk-code__form:not([hidden]) { animation: none; } }
body:has(.jk-code__form input:focus) .jk-barre { display: none; }

/* ---------- 2.5.0 : cashback dans le récapitulatif du panier ---------- */
.jk-ui .jk-cashback { display: flex; align-items: center; gap: 10px; margin: 16px 0 4px; padding: 11px 12px 11px 14px; border: 1px solid rgba(249, 200, 167, .38); border-radius: 12px; background: rgba(249, 200, 167, .08); font-size: 14.5px; color: #fff; }
.jk-cashback .jk-ico { flex: none; width: 18px; height: 18px; color: var(--jk-peche); }
.jk-cashback > span { flex: 1 1 auto; min-width: 0; }
.jk-cashback b { font-weight: 700; color: var(--jk-peche); white-space: nowrap; }
.jk-ui .jk-cashback button { flex: none; min-height: 36px; padding: 0 16px; border-radius: 999px; background: var(--jk-orange); color: #fff; font-size: 14px; font-weight: 700; }
.jk-ui .jk-cashback button:hover { background: var(--jk-orange-2); color: #fff; }
.jk-ui .jk-cashback button.is-envoi { opacity: .55; pointer-events: none; }
.jk-ui .jk-cashback.is-utilise { border-color: rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05); }
.jk-ui .jk-cashback.is-utilise button { min-height: 0; padding: 0; background: none; font-size: 13px; font-weight: 400; color: rgba(255, 255, 255, .75); text-decoration: underline; text-underline-offset: 3px; }
.jk-ui .jk-cashback.is-utilise button:hover { background: none; color: #fff; }

/* ---------- 2.5.0 : mobile, titre plus aéré et 5 formats sur une seule ligne ---------- */
@media (max-width: 640px) {
	.jk-ui h1.jk-panier__titre { margin-top: 22px; }
	.jk-formats:has(> .jk-format:nth-child(5)) { gap: 6px; }
	.jk-ui .jk-formats:has(> .jk-format:nth-child(5)) button.jk-format { flex: 1 1 0; padding: 8px 4px 7px; align-items: center; text-align: center; }
	.jk-formats:has(> .jk-format:nth-child(5)) .jk-format b { font-size: 14px; white-space: nowrap; }
	.jk-formats:has(> .jk-format:nth-child(5)) .jk-format small { font-size: 11px; white-space: nowrap; letter-spacing: -.2px; }
	.jk-formats:has(> .jk-format:nth-child(5)) .jk-format i { right: 2px; padding-left: 5px; padding-right: 5px; font-size: 10.5px; }
}

/* 2.5.1 : lien « Retirer » à côté de « Cashback utilisé » dans les totaux */
.jk-ui .jk-resume__cashback dt button { margin-left: 8px; padding: 6px 0; font-size: 12.5px; font-weight: 400; color: rgba(255, 255, 255, .7); text-decoration: underline; text-underline-offset: 3px; background: none; }
.jk-ui .jk-resume__cashback dt button:hover { color: #fff; background: none; }

/* 2.5.1 : page commande, cashback dit une seule fois */
.jk-page-commande tr.acfw-order-total { display: none !important; }
.jk-page-commande:has(tr.acfw-store-credits-balance-row) #acfw-checkout-ui-block .jk-cashback-checkout-ui { display: none !important; }
.jk-page-commande tr.acfw-store-credits-balance-row a.acfw-remove-store-credits { display: inline-block; margin-left: 8px; padding: 6px 0; font-size: 12.5px; font-weight: 400; color: rgba(255, 255, 255, .7); text-decoration: underline; text-underline-offset: 3px; }
.jk-page-commande tr.acfw-store-credits-balance-row a.acfw-remove-store-credits:hover { color: #fff; }

/* ---------- 2.5.2 : pop-up pleine largeur sur téléphone ---------- */
@media (max-width: 640px) {
	.jk-tiroir__panneau { width: 100vw; border-radius: 0; box-shadow: none; }
	.jk-tiroir__tete { padding: 14px 14px 8px 18px; }
	.jk-ui button.jk-tiroir__fermer { width: 46px; height: 46px; border-radius: 50%; background: #eef1f4; color: var(--jk-bleu); }
	.jk-ui button.jk-tiroir__fermer .jk-ico { width: 22px; height: 22px; stroke-width: 2.4; }
	.jk-ui button.jk-tiroir__fermer:active { background: var(--jk-orange); color: #fff; }
}

/* Pop-up panier : bouton « Commander » adouci (pêche du site au lieu de l'orange vif) — 12/11/2026 */
.jk-ui.jk-tiroir a.jk-btn--orange, .jk-tiroir a.jk-btn.jk-btn--orange { background: #F9C8A7; color: #022231; box-shadow: none; }
.jk-ui.jk-tiroir a.jk-btn--orange:hover, .jk-tiroir a.jk-btn.jk-btn--orange:hover { background: #fbd9c1; color: #022231; }

/* ---------- Page Commande : haut de page allégé (12/11/2026) ---------- */
body.woocommerce-checkout .elementor-element-02f00ba { margin: 6px 0 14px !important; }
body.woocommerce-checkout .elementor-element-02f00ba .elementor-heading-title { font-family: "Jost", sans-serif !important; font-weight: 700 !important; font-size: 30px !important; line-height: 1.1 !important; color: #fff !important; letter-spacing: -.01em; }
/* Encart cashback : pastille discrète aux couleurs du site, plus de pavé blanc */
body.woocommerce-checkout .acfw-loyalprog-notice-checkout { display: flex; justify-content: center; padding: 0 16px; margin: 0 0 18px; }
body.woocommerce-checkout .acfw-loyalprog-notice-checkout:empty { display: none; }
body.woocommerce-checkout .acfw-loyalprog-notice-checkout .woocommerce-info { display: inline-flex !important; align-items: center; gap: 10px; width: auto !important; max-width: 560px; margin: 0 !important; padding: 10px 16px !important; background: rgba(249, 200, 167, .10) !important; border: 1px solid rgba(249, 200, 167, .45) !important; border-radius: 14px !important; box-shadow: none !important; text-align: left !important; }
body.woocommerce-checkout .acfw-loyalprog-notice-checkout .woocommerce-info::before { content: "" !important; position: static !important; flex: none; display: block !important; width: 20px !important; height: 20px !important; margin: 0 !important; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F9C8A7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11h16v9H4zM3 7h18v4H3zM12 7v13M12 7c-1.5-3-5-3.5-5-1.5S9.500 7 12 7zm0 0c1.500-3 5-3.500 5-1.500S14.500 7 12 7z'/%3E%3C/svg%3E") !important; border: 0 !important; font-size: 0 !important; }
body.woocommerce-checkout .acfw-loyalprog-notice-checkout .woocommerce-info span.acfw-notice-text { font-family: "Jost", sans-serif !important; font-size: 14.5px !important; line-height: 1.4 !important; font-weight: 500 !important; color: #F9D8C7 !important; text-align: left !important; padding: 0 !important; }
/* « Déjà client ? » : une ligne simple */
body.woocommerce-checkout .e-woocommerce-login-section .woocommerce-form-login-toggle { font-size: 15px !important; padding: 12px 16px !important; border-radius: 14px !important; }
@media (max-width: 767px) {
  body.woocommerce-checkout .elementor-element-02f00ba .elementor-heading-title { font-size: 26px !important; }
  body.woocommerce-checkout .acfw-loyalprog-notice-checkout .woocommerce-info span.acfw-notice-text { font-size: 13.5px !important; }
}
