
/* jc-header */
/**
 * Header v2 (theme/jc-header.php) : barre utilitaire + barre principale.
 * Ici plutôt que dans le thème enfant : son dossier assets n'est pas modifiable par SFTP.
 * Une seule police (Plus Jakarta Sans) et deux tailles : 13px en haut, 15px dans la navigation.
 */
.jc-hd {
	font-family: var(--jc-font-body);
	-webkit-font-smoothing: antialiased;
}

/* !important : les pages SureCart (espace client) soulignent tous les liens. */
.jc-hd a {
	text-decoration: none !important;
}

.jc-hd .jc-hd__gift-cta {
	text-decoration: underline !important;
}

/* Barre utilitaire */
.jc-hd__util {
	background: var(--jc-blue-dark);
	font-size: 13px;
	line-height: 1;
	color: #c9d6ec;
}

.jc-hd__util-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 40px;
}

/* Livre gratuit : seul élément en couleur dans la barre, pour qu'on le remarque. */
.jc-hd .jc-hd__gift {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 12px 6px 10px;
	border-radius: 999px;
	background: var(--jc-accent);
	color: var(--jc-ink) !important;
	font-weight: 600;
	transition: background .15s ease, transform .15s ease;
}

.jc-hd .jc-hd__gift:hover,
.jc-hd .jc-hd__gift:focus-visible {
	background: var(--jc-accent-2);
	transform: translateY(-1px);
}

.jc-hd__gift strong {
	font-weight: 800;
}

.jc-hd__gift-cta {
	padding-left: 8px;
	border-left: 1px solid rgba(28, 32, 48, .25);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.jc-hd__prefs {
	display: flex;
	align-items: center;
	gap: 4px;
}

.jc-hd .jc-hd__site {
	padding: 8px 10px;
	color: #c9d6ec !important;
}

.jc-hd .jc-hd__site:hover,
.jc-hd .jc-hd__site:focus-visible {
	color: #fff !important;
}

.jc-hd__pref {
	position: relative;
	display: flex;
	align-items: center;
	padding-left: 4px;
	border-left: 1px solid rgba(255, 255, 255, .16);
}

/* Langue (<details> de jc_ml_switcher) */
.jc-hd .jc-native-language-picker {
	font-size: 13px;
}

.jc-hd .jc-native-language-picker summary {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 8px 10px;
	color: #fff;
	list-style: none;
}

.jc-hd .jc-native-language-picker summary::-webkit-details-marker {
	display: none;
}

.jc-hd .jc-native-language-picker summary::before {
	content: '';
	width: 15px;
	height: 15px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20M12 2a15 15 0 0 1 0 20M12 2a15 15 0 0 0 0 20'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20M12 2a15 15 0 0 1 0 20M12 2a15 15 0 0 0 0 20'/%3E%3C/svg%3E") center / contain no-repeat;
	opacity: .85;
}

.jc-hd .jc-native-language-picker summary::after {
	content: '';
	width: 6px;
	height: 6px;
	margin: -3px 0 0 2px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	opacity: .7;
}

.jc-hd .jc-native-languages {
	top: calc(100% + 6px);
	min-width: 170px;
	padding: 6px;
	border-radius: var(--jc-r-md);
	box-shadow: 0 18px 50px -20px rgba(20, 30, 70, .45);
	font-size: 14px;
}

.jc-hd .jc-native-languages a {
	border-radius: var(--jc-r-sm);
}

/* Devise (bloc SureCart) */
.jc-hd .wp-block-surecart-currency-switcher__trigger {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 8px 10px;
	color: #fff;
	font-size: 13px;
	cursor: pointer;
}

.jc-hd .wp-block-surecart-currency-switcher__flag {
	width: 18px;
	height: auto;
	border-radius: 2px;
}

.jc-hd .wp-block-surecart-currency-switcher__caret svg {
	width: 14px;
	height: 14px;
	opacity: .7;
}

.jc-hd .sc-dropdown__panel {
	z-index: 1000;
	font-family: var(--jc-font-body);
	color: var(--jc-ink);
}

/* Barre principale */
.jc-hd__main {
	background: var(--jc-blue);
	box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 6px 20px -12px rgba(6, 30, 70, .5);
}

.jc-hd__main-inner {
	display: flex;
	align-items: center;
	gap: 40px;
	min-height: 76px;
}

.jc-hd__logo {
	flex: 0 0 auto;
	line-height: 0;
}

.jc-hd__logo img {
	display: block;
	width: 210px;
	height: auto;
}

.jc-hd__nav {
	flex: 1 1 auto;
	min-width: 0;
}

.jc-hd__nav ul {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.jc-hd .jc-hd__nav a {
	position: relative;
	display: block;
	padding: 10px 12px;
	border-radius: var(--jc-r-sm);
	color: rgba(255, 255, 255, .88) !important;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	transition: color .15s ease, background .15s ease;
}

.jc-hd .jc-hd__nav a:hover,
.jc-hd .jc-hd__nav a:focus-visible {
	background: rgba(255, 255, 255, .1);
	color: #fff !important;
}

.jc-hd .jc-hd__nav .is-current > a {
	color: #fff !important;
}

.jc-hd .jc-hd__nav .is-current > a::after {
	content: '';
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 2px;
	height: 2px;
	border-radius: 2px;
	background: var(--jc-accent);
}

/* "3 pour 2" : l'offre se lit en jaune, sans concurrencer le livre gratuit. */
.jc-hd .jc-hd__nav .jc-menu-deal > a {
	color: var(--jc-accent) !important;
}

.jc-hd .jc-hd__account {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	margin-left: auto;
	border-radius: 50%;
	color: rgba(255, 255, 255, .85) !important;
	transition: background .15s ease, color .15s ease;
}

.jc-hd .jc-hd__account:hover,
.jc-hd .jc-hd__account:focus-visible {
	background: rgba(255, 255, 255, .12);
	color: #fff !important;
}

/* Écrans moyens : les collections secondaires restent sur la page d'accueil (pastilles). */
@media (max-width: 1360px) {
	.jc-hd__main-inner {
		gap: 24px;
	}

	.jc-hd .jc-hd__nav a {
		padding: 10px 9px;
		font-size: 14px;
	}
}

@media (max-width: 1240px) {
	.jc-hd__nav li:nth-child(5),
	.jc-hd__nav li:nth-child(6) {
		display: none;
	}

	.jc-hd__logo img {
		width: 180px;
	}
}

/* Center the mobile menu control in the header, independent of icon-font baseline. */
.mob-menu-header-holder .mobmenul-container {
 top:0!important;bottom:0!important;height:100%!important;margin-top:0!important;
}
.mob-menu-header-holder .mobmenul-container>.mobmenu-left-bt {
 display:flex;align-items:center;justify-content:center;width:44px;height:100%;
}
.mob-menu-header-holder .mobmenul-container .mob-menu-icon,
.mob-menu-header-holder .mobmenul-container .mob-cancel-button {
 float:none;line-height:1;
}
.mob-menu-header-holder .mobmenul-container .mob-menu-icon::before,
.mob-menu-header-holder .mobmenul-container .mob-cancel-button::before {
 display:block;line-height:1;
}

/* jc-footer */
/**
 * Footer v2, panier flottant et sélecteur de devise.
 * Ici plutôt que dans le thème enfant : son dossier assets n'est pas modifiable par SFTP.
 */
.jc-footer {
	background: var(--jc-blue-dark);
	color: #c9d6ec;
	font-family: var(--jc-font-body);
	font-size: 15px;
	line-height: 1.6;
	margin-top: 56px;
}

.jc-footer a {
	color: #fff;
	text-decoration: none;
}

.jc-footer a:hover,
.jc-footer a:focus-visible {
	color: var(--jc-accent);
}

.jc-footer__top {
	display: grid;
	grid-template-columns: minmax(260px, 1.6fr) repeat(3, minmax(150px, 1fr));
	gap: 40px;
	padding: 56px 0 40px;
}

.jc-footer__logo {
	display: inline-block;
	line-height: 0;
}

.jc-footer__logo img {
	width: 220px;
	height: auto;
}

.jc-footer__tagline {
	max-width: 36ch;
	margin: 16px 0 20px;
	color: #c9d6ec;
}

.jc-footer__social {
	display: flex;
	gap: 10px;
}

.jc-footer__social a {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .1);
	transition: background .2s, color .2s;
}

.jc-footer__social a:hover,
.jc-footer__social a:focus-visible {
	background: var(--jc-accent);
	color: var(--jc-ink);
}

.jc-footer__title {
	margin: 0 0 14px;
	font-family: var(--jc-font-head);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--jc-accent);
}

.jc-footer__col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.jc-footer__col li + li {
	margin-top: 9px;
}

.jc-footer__col a {
	color: #e6edf8;
}

.jc-footer__trust {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 32px;
	list-style: none;
	margin: 0;
	padding: 20px 0;
	border-top: 1px solid rgba(255, 255, 255, .12);
	color: #fff;
	font-weight: 600;
}

.jc-footer__trust li {
	display: flex;
	align-items: center;
	gap: 8px;
}

.jc-footer__trust svg {
	color: var(--jc-accent);
}

.jc-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 0 28px;
	border-top: 1px solid rgba(255, 255, 255, .12);
}

.jc-footer__copy {
	margin: 0;
	font-size: 14px;
	color: #9fb2d6;
}

.jc-footer__payment {
	width: 200px;
	height: auto;
	padding: 4px 8px;
	background: #fff;
	border-radius: var(--jc-r-sm);
}

@media (max-width: 976px) {
	.jc-footer__top {
		grid-template-columns: repeat(3, 1fr);
		gap: 32px 24px;
	}

	.jc-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 600px) {
	.jc-footer__top {
		grid-template-columns: 1fr 1fr;
		padding: 40px 0 28px;
	}

	.jc-footer__col:last-child {
		grid-column: 1 / -1;
	}

	.jc-footer__bottom {
		flex-direction: column-reverse;
		align-items: flex-start;
	}

	/* Le panier flottant ne doit pas recouvrir le bas du footer. */
	.jc-footer__bottom {
		padding-bottom: 96px;
	}
}

/* Panier flottant : contour assorti, au clavier seulement. */
.wp-block-surecart-cart-icon:focus {
	outline: none;
}

.wp-block-surecart-cart-icon:focus-visible {
	outline: 2px solid var(--jc-accent);
	outline-offset: 3px;
}

/* Bouton "haut de page" d'Astra : orange et au même endroit que le panier flottant,
   il dépassait derrière lui. Placé au-dessus du panier, aux couleurs du site. */
#ast-scroll-top {
	right: 30px !important;
	bottom: 104px !important;
	width: 44px;
	height: 44px;
	padding: 0;
	display: none;
	align-items: center;
	justify-content: center;
	font-size: 18px !important;
	line-height: 1;
	background: #fff !important;
	color: var(--jc-blue) !important;
	border: 1px solid rgba(11, 81, 141, .18);
	border-radius: 50%;
	box-shadow: 0 4px 14px rgba(13, 19, 30, .14);
}

#ast-scroll-top[style*="block"] {
	display: flex !important;
}

#ast-scroll-top:hover {
	background: var(--jc-blue) !important;
	color: #fff !important;
}

#ast-scroll-top svg {
	fill: currentColor;
}

/* Sélecteur de devise rendu directement dans le header (voir jc-header.php). */
.jc-shop-header .jc-currency-item {
	display: flex;
	align-items: center;
}


/* Collections lead the footer; support links remain secondary. */
.jc-footer__collections { padding:36px 0 28px; border-bottom:1px solid rgba(255,255,255,.16); }
.jc-footer__collections h2 { margin:0 0 20px; color:#fff; font-family:var(--jc-font-head); font-size:clamp(21px,2.3vw,28px); line-height:1.3; }
.jc-footer__categories { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; list-style:none; margin:0; padding:0; }
.jc-footer__categories li { min-width:0; }
.jc-footer__categories a { display:flex; align-items:center; gap:12px; min-height:92px; height:100%; padding:18px 16px; border:1px solid rgba(255,255,255,.3); border-radius:12px; background:rgba(255,255,255,.09); color:#fff; font-size:17px; font-weight:700; line-height:1.35; overflow-wrap:anywhere; transition:background .15s,border-color .15s; }
.jc-footer__categories a:hover,.jc-footer__categories a:focus-visible { background:rgba(255,255,255,.17); border-color:var(--jc-accent); color:#fff; }
.jc-footer__book { flex:0 0 28px; color:inherit; }
.jc-footer__arrow { margin-left:auto; color:var(--jc-accent); font-size:22px; }
.jc-footer__catalog { display:flex; flex-wrap:wrap; gap:12px 28px; list-style:none; padding:0; margin:18px 0 0; }
.jc-footer__catalog a { display:inline-block; padding:6px 0; font-weight:600; color:var(--jc-accent); }
.jc-footer__top { grid-template-columns:minmax(240px,1.5fr) repeat(2,minmax(160px,1fr)); padding:28px 0; gap:28px 40px; }
.jc-footer__col a { font-size:14px; }
.jc-footer__col li+li { margin-top:7px; }
.jc-footer__tagline { font-size:14px; }
@media(max-width:976px) {
 .jc-footer__categories { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .jc-footer__top { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .jc-footer__brand { grid-column:1/-1; }
}
@media(max-width:600px) {
 .jc-footer__collections { padding-top:28px; }
 .jc-footer__collections h2 { max-width:28ch; font-size:22px; }
 .jc-footer__categories { gap:10px; }
 .jc-footer__categories a { min-height:90px; padding:14px 12px; gap:9px; font-size:16px; }
 .jc-footer__book { width:24px; height:24px; flex-basis:24px; }
 .jc-footer__arrow { font-size:19px; }
 .jc-footer__col:last-child { grid-column:auto; }
 .jc-footer__top { gap:26px 20px; padding:26px 0; }
 .jc-footer__title { margin-bottom:10px; }
}

/* jc-home */
/**
 * Accueil v2 : hero sur fond blanc (theme/jc-hero.php).
 * Ici plutôt que dans le thème enfant : son dossier assets n'est pas modifiable par SFTP.
 */
.jc-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(900px 420px at 85% 40%, #eef4fd 0%, rgba(238, 244, 253, 0) 70%),
		#fff;
	border-bottom: 1px solid var(--jc-line);
	font-family: var(--jc-font-body);
}

.jc-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
	align-items: center;
	gap: 48px;
	padding-top: 56px;
	padding-bottom: 64px;
}

/* Texte */
.jc-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
	padding: 7px 14px;
	border-radius: 999px;
	background: var(--jc-bg-soft);
	color: var(--jc-blue);
	font-size: 14px;
	font-weight: 700;
}

.jc-hero__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #22a861;
	box-shadow: 0 0 0 4px rgba(34, 168, 97, .18);
}

.jc-v2 .jc-hero__title {
	margin: 0 0 18px;
	font-family: var(--jc-font-head);
	font-size: clamp(2.1rem, 1.2rem + 2.6vw, 3.6rem);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -.02em;
	color: var(--jc-ink);
}

.jc-hero__title mark {
	padding: 0 .08em;
	background: linear-gradient(transparent 58%, var(--jc-accent) 58%, var(--jc-accent) 92%, transparent 92%);
	color: inherit;
}

.jc-hero__lead {
	max-width: 54ch;
	margin: 0 0 28px;
	font-size: clamp(1rem, .95rem + .3vw, 1.18rem);
	line-height: 1.6;
	color: #4a5068;
}

.jc-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 22px;
	margin-bottom: 28px;
}

.jc-v2 .jc-hero__cta,
.jc-v2 .jc-hero__cta:visited {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 56px;
	padding: 0 30px;
	border-radius: 14px;
	background: var(--jc-orange);
	color: var(--jc-ink);
	font-family: var(--jc-font-head);
	font-size: 17px;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 10px 24px -10px rgba(232, 150, 42, .8);
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.jc-v2 .jc-hero__cta:hover,
.jc-v2 .jc-hero__cta:focus-visible {
	background: var(--jc-orange-2);
	color: var(--jc-ink);
	transform: translateY(-2px);
	box-shadow: 0 14px 28px -10px rgba(232, 150, 42, .9);
}

.jc-v2 .jc-hero__free,
.jc-v2 .jc-hero__free:visited {
	color: var(--jc-blue);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
	text-decoration-color: rgba(11, 81, 141, .3);
}

.jc-v2 .jc-hero__free:hover,
.jc-v2 .jc-hero__free:focus-visible {
	text-decoration-color: currentColor;
}

.jc-hero__trust {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14.5px;
	font-weight: 600;
	color: #3a3f4f;
}

.jc-hero__trust li {
	display: flex;
	align-items: center;
	gap: 7px;
}

.jc-hero__trust svg {
	flex: none;
	color: #22a861;
}

/* Composition de couvertures */
.jc-hero__visual {
	position: relative;
	height: 440px;
	max-width: 600px;
	margin-inline: auto;
	width: 100%;
}

.jc-hero__cover {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 42%;
	aspect-ratio: 720 / 1024;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 2px 4px rgba(13, 19, 30, .08), 0 24px 48px -18px rgba(13, 30, 70, .45);
	transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease;
}

.jc-hero__cover img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Éventail : la couverture 1 (meilleure vente) au premier plan. */
.jc-hero__cover--1 {
	z-index: 4;
	transform: translate(-50%, -50%);
}

.jc-hero__cover--2 {
	z-index: 3;
	transform: translate(-112%, -46%) rotate(-8deg) scale(.86);
}

.jc-hero__cover--3 {
	z-index: 2;
	transform: translate(12%, -46%) rotate(8deg) scale(.86);
}

.jc-hero__cover--4 {
	z-index: 1;
	transform: translate(-50%, -64%) rotate(2deg) scale(.74);
	opacity: .9;
}

.jc-hero__visual:hover .jc-hero__cover--2 {
	transform: translate(-124%, -48%) rotate(-11deg) scale(.86);
}

.jc-hero__visual:hover .jc-hero__cover--3 {
	transform: translate(24%, -48%) rotate(11deg) scale(.86);
}

.jc-hero__visual:hover .jc-hero__cover--1 {
	transform: translate(-50%, -53%);
	box-shadow: 0 2px 4px rgba(13, 19, 30, .08), 0 34px 60px -20px rgba(13, 30, 70, .55);
}

/* Taches de couleur, comme sur les couvertures Just Color. */
.jc-hero__splash {
	position: absolute;
	border-radius: 50%;
	filter: blur(2px);
	opacity: .85;
}

.jc-hero__splash--1 {
	width: 120px;
	height: 120px;
	top: 6%;
	right: 8%;
	background: radial-gradient(circle at 35% 35%, #ffd86b, #f2a842);
}

.jc-hero__splash--2 {
	width: 84px;
	height: 84px;
	bottom: 8%;
	left: 6%;
	background: radial-gradient(circle at 35% 35%, #7cc6ff, #1e73be);
}

.jc-hero__splash--3 {
	width: 46px;
	height: 46px;
	top: 14%;
	left: 14%;
	background: radial-gradient(circle at 35% 35%, #ff9aa8, #e5484d);
}

.jc-hero__badge {
	position: absolute;
	z-index: 5;
	right: 4%;
	bottom: 6%;
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 0;
	padding: 12px 16px;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 16px 34px -14px rgba(13, 30, 70, .4);
	font-size: 13px;
	line-height: 1.3;
	color: #4a5068;
}

.jc-hero__badge strong {
	font-family: var(--jc-font-head);
	font-size: 16px;
	color: var(--jc-blue);
}

@media (prefers-reduced-motion: reduce) {
	.jc-hero__cover,
	.jc-v2 .jc-hero__cta {
		transition: none;
	}
}

@media (max-width: 976px) {
	.jc-hero__inner {
		grid-template-columns: 1fr;
		gap: 24px;
		padding-top: 36px;
		padding-bottom: 40px;
	}

	.jc-hero__visual {
		height: 340px;
		max-width: 480px;
	}
}

@media (max-width: 600px) {
	.jc-hero__actions {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}

	.jc-v2 .jc-hero__cta {
		justify-content: center;
	}

	.jc-hero__visual {
		height: 280px;
	}

	.jc-hero__cover--4,
	.jc-hero__splash--3 {
		display: none;
	}

	.jc-hero__badge {
		right: 0;
		bottom: 2%;
	}
}

/* ---------------------------------------------------------------------------
 * Offre "livre bonus offert" (theme/jc-offer-bonus.php)
 * ------------------------------------------------------------------------- */
.jc-bonus {
	position: relative;
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	align-items: center;
	gap: 48px;
	margin: 48px 0;
	padding: 36px 48px 36px 40px;
	overflow: hidden;
	border: 1px solid #cdebd8;
	border-radius: 24px;
	background:
		radial-gradient(420px 260px at 0% 100%, rgba(34, 168, 97, .16), transparent 70%),
		radial-gradient(360px 220px at 100% 0%, rgba(255, 216, 107, .28), transparent 70%),
		#f3fbf6;
	font-family: var(--jc-font-body);
	color: #2f3a33;
}

/* Couverture inclinée, ruban "offert" */
.jc-bonus__visual {
	position: relative;
	justify-self: center;
	width: 200px;
}

.jc-bonus__cover {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 8px;
	transform: rotate(-4deg);
	box-shadow: 0 2px 4px rgba(13, 19, 30, .08), 0 22px 40px -16px rgba(16, 70, 40, .5);
	transition: transform .3s cubic-bezier(.2, .7, .2, 1);
}

.jc-bonus:hover .jc-bonus__cover {
	transform: rotate(-1deg) translateY(-4px);
}

.jc-bonus__ribbon {
	position: absolute;
	z-index: 1;
	top: -12px;
	right: -18px;
	display: grid;
	place-items: center;
	width: 74px;
	height: 74px;
	border-radius: 50%;
	background: #e5484d;
	color: #fff;
	font-family: var(--jc-font-head);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .04em;
	transform: rotate(12deg);
	box-shadow: 0 8px 18px -6px rgba(229, 72, 77, .7), inset 0 0 0 3px rgba(255, 255, 255, .35);
}

.jc-bonus__badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 12px;
	padding: 6px 12px;
	border-radius: 999px;
	background: #fff;
	color: #1b7f46;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .02em;
	text-transform: uppercase;
	box-shadow: 0 1px 0 #cdebd8;
}

.jc-v2 .jc-bonus__title {
	margin: 0 0 12px;
	font-family: var(--jc-font-head);
	font-size: clamp(1.45rem, 1.05rem + 1.2vw, 2.1rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -.01em;
	color: var(--jc-ink);
}

.jc-bonus__text {
	max-width: 60ch;
	margin: 0 0 18px;
	font-size: 16.5px;
	line-height: 1.6;
	color: #4a5550;
}

.jc-bonus__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
}

.jc-bonus__chips li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 12px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid #d6efe0;
	font-size: 14px;
	font-weight: 600;
	color: #2f3a33;
}

.jc-bonus__chips svg {
	color: #22a861;
}

.jc-bonus__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
}

.jc-v2 .jc-bonus__cta,
.jc-v2 .jc-bonus__cta:visited {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 50px;
	padding: 0 24px;
	border-radius: 12px;
	background: #1b7f46;
	color: #fff;
	font-family: var(--jc-font-head);
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 10px 22px -10px rgba(27, 127, 70, .8);
	transition: transform .18s ease, background .18s ease;
}

.jc-v2 .jc-bonus__cta:hover,
.jc-v2 .jc-bonus__cta:focus-visible {
	background: #16693a;
	color: #fff;
	transform: translateY(-2px);
}

.jc-bonus__how {
	flex: 1 1 260px;
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: #5b6660;
}

@media (prefers-reduced-motion: reduce) {
	.jc-bonus__cover,
	.jc-v2 .jc-bonus__cta {
		transition: none;
	}
}

@media (max-width: 760px) {
	.jc-bonus {
		grid-template-columns: 1fr;
		gap: 28px;
		padding: 32px 22px 26px;
		text-align: center;
	}

	.jc-bonus__visual {
		width: 150px;
	}

	.jc-bonus__chips,
	.jc-bonus__footer {
		justify-content: center;
	}

	.jc-bonus__text {
		margin-inline: auto;
	}
}

/* ---------------------------------------------------------------------------
 * Pages collection : la description suit la largeur du titre et de la grille
 * (le groupe "constrained" du modèle la limitait à la largeur de contenu).
 * ------------------------------------------------------------------------- */
.jc-v2 .is-layout-constrained > .wp-block-term-description {
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

/* jc-account */
/**
 * Espace client SureCart connecté : même largeur que le header (1500px),
 * menu en carte à gauche, contenu à droite.
 * SureCart pose sinon une colonne blanche fixe au bord gauche de l'écran
 * (body::before) et centre le contenu sur 900px dans le reste de la fenêtre.
 */
@media screen and (min-width: 782px) {
	body.page-template-template-surecart-dashboard.has-columns::before {
		display: none !important;
	}

	body.page-template-template-surecart-dashboard .sc-dashboard {
		max-width: var(--jc-page-container);
		margin: 0 auto;
		padding: 40px var(--jc-gutter) 80px;
		gap: 32px;
		align-items: flex-start;
	}

	body.page-template-template-surecart-dashboard .dashboard-left {
		flex: 0 0 260px;
		max-width: 260px;
		min-height: 0 !important;
		top: 24px;
		background: #fff;
		border: 1px solid var(--jc-line) !important;
		border-radius: 14px;
		box-shadow: 0 1px 2px rgba(13, 19, 30, .04);
	}

	body.page-template-template-surecart-dashboard .dashboard-left .sc-dashboard__column {
		padding: 16px;
		gap: 8px;
	}

	/* Le logo est déjà dans le header du site. */
	body.page-template-template-surecart-dashboard .dashboard-left .sc-link-home {
		display: none;
	}

	body.page-template-template-surecart-dashboard .dashboard-right .sc-dashboard__column {
		padding: 0;
	}

	body.page-template-template-surecart-dashboard .dashboard-right > * {
		max-width: none;
	}
}

body.page-template-template-surecart-dashboard {
	background: var(--jc-bg-soft, #f4f6fb);
}
