.champimo-club-account {
	display: grid;
	gap: 1.5rem;
}

.champimo-club-account__intro,
.champimo-club-account__card,
.champimo-club-account__empty {
	border: 2px solid #cbb8f7;
	border-radius: 1.35rem;
	background: #fbf8ff;
	padding: clamp(1rem, 3vw, 1.75rem);
}

.champimo-club-account__eyebrow {
	margin: 0 0 .3rem;
	color: #6a48a8;
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.champimo-club-account__intro h2,
.champimo-club-account__card h3 {
	margin: 0;
}

.champimo-club-account__test {
	border-radius: .8rem;
	background: #e7f7ed;
	padding: .8rem 1rem;
}

.champimo-club-account__topline {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
}

.champimo-club-account__status {
	display: inline-flex;
	border-radius: 999px;
	background: #e8ddff;
	color: #52327f;
	padding: .45rem .75rem;
	font-size: .85rem;
	font-weight: 800;
	white-space: nowrap;
}

.champimo-club-account__status--active {
	background: #dff4e5;
	color: #245f37;
}

.champimo-club-account__status--payment_review,
.champimo-club-account__status--past_due {
	background: #fff0cf;
	color: #754b00;
}

.champimo-club-account__facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .7rem;
	margin: 1.25rem 0;
}

.champimo-club-account__facts div {
	min-height: 6.2rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	border-radius: .85rem;
	background: #fff;
	padding: 1rem 1.1rem;
}

.champimo-club-account__facts dt {
	color: #5f5365;
	font-size: clamp(.98rem, 1.2vw, 1.08rem);
	font-weight: 800;
	line-height: 1.35;
}

.champimo-club-account__facts dd {
	margin: .45rem 0 0;
	color: #493d4c;
	font-size: clamp(1.15rem, 1.45vw, 1.35rem);
	font-weight: 800;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

.champimo-club-account__actions {
	display: grid;
	gap: .85rem;
	margin-top: 1.4rem;
	padding: 1.15rem;
	background: #fff;
	border: 2px solid #e2d7fa;
	border-radius: 1rem;
}

.champimo-club-account__actions h4 {
	margin: 0;
	color: #52327f;
	font-size: clamp(1.15rem, 1.5vw, 1.35rem);
}

.champimo-club-account__actions-note {
	margin: 0;
	max-width: 58rem;
	font-size: 1rem;
	line-height: 1.55;
}

.champimo-club-account__action-buttons {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .8rem 1rem;
}

.champimo-club-account__action-buttons .champimo-club-account__cancel-link {
	min-height: 46px;
	padding: .6rem .9rem;
	display: inline-flex;
	align-items: center;
	color: #6f3550;
	background: #fff8fb;
	border: 1px solid #d8a8bd;
	border-radius: 999px;
	font-size: .98rem;
	font-weight: 800;
	line-height: 1.25;
}

.champimo-club-account__payment-methods {
	margin-top: 1.4rem;
	padding: 1.15rem;
	background: #f5efff;
	border: 2px solid #cbb8f7;
	border-radius: 1rem;
}

.champimo-club-account__payment-methods h4 {
	margin: 0 0 .8rem;
	color: #52327f;
	font-size: clamp(1.15rem, 1.5vw, 1.35rem);
	line-height: 1.3;
}

.champimo-club-account__payment-choice {
	min-height: 52px;
	margin: .45rem 0;
	padding: .7rem .8rem;
	display: flex;
	align-items: center;
	gap: .65rem;
	background: #fff;
	border: 1px solid #d8c9f7;
	border-radius: .8rem;
	font-size: 1rem;
	line-height: 1.35;
}

.champimo-club-account__payment-choice input[type="radio"] {
	width: 1.2rem;
	height: 1.2rem;
	margin: 0;
	accent-color: #805ac8;
}

.champimo-club-account__payment-methods fieldset {
	border: 0;
	margin: 0 0 .8rem;
	padding: 0;
}

.champimo-club-account__payment-methods legend {
	padding: 0;
	font-weight: 800;
	margin: 0 0 .65rem;
	color: #493d4c;
	font-family: "Pimpimfont", system-ui, sans-serif;
	font-size: 1.05rem;
	line-height: 1.35;
}

/* Le thème donne à tous les fieldsets du compte l'apparence d'un grand bloc
	de profil. Cette variante plus précise garde le choix de carte compact dans
	son propre encart Mini's Club. */
.woocommerce-account .woocommerce-MyAccount-content .champimo-club-account__payment-methods fieldset {
	margin: 0 0 .8rem;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
}

.woocommerce-account .woocommerce-MyAccount-content .champimo-club-account__payment-methods fieldset legend {
	width: auto;
	margin: 0 0 .65rem;
	padding: 0;
	color: #493d4c;
	font-family: "Pimpimfont", system-ui, sans-serif;
	font-size: 1.05rem;
	line-height: 1.35;
}

.woocommerce-account .woocommerce-MyAccount-content .champimo-club-account__actions-note {
	font-size: 1rem;
	line-height: 1.55;
}

.champimo-club-account__payment-footer {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .75rem 1rem;
}

.champimo-club-account__payment-footer .button {
	min-height: 48px;
}

.champimo-club-account__card-link {
	margin: 0;
	font-size: .98rem;
	font-weight: 800;
}

.champimo-club-account__actions form,
.champimo-club-account__cancel {
	margin: 0;
}

.champimo-club-account__cancel,
.champimo-club-account__withdrawal,
.champimo-club-account__due {
	border-top: 1px dashed #cbb8f7;
	margin-top: 1rem;
	padding-top: 1rem;
}

.champimo-club-account__recap {
	display: grid;
	gap: .55rem;
}

.champimo-club-account__recap div {
	background: #fff;
	border-radius: .7rem;
	padding: .65rem;
}

.champimo-club-account__recap dt {
	font-size: .8rem;
	font-weight: 700;
}

.champimo-club-account__recap dd {
	margin: .2rem 0 0;
}

.champimo-club-account__cancel input[type="email"],
.champimo-club-account__withdrawal input[type="email"] {
	display: block;
	margin: .4rem 0 .8rem;
	max-width: 32rem;
	width: 100%;
}

.champimo-club-account__danger {
	border-color: #8d3b59 !important;
	background: #fff !important;
	color: #7a2947 !important;
}

.champimo-club-account__history {
	margin-top: 1.25rem;
}

.champimo-club-account__history summary {
	cursor: pointer;
	font-weight: 800;
}

.champimo-club-account__table-wrap {
	overflow-x: auto;
	margin-top: .8rem;
}

.champimo-club-account__table-wrap table {
	width: 100%;
	border-collapse: collapse;
}

.champimo-club-account__table-wrap th,
.champimo-club-account__table-wrap td {
	border-bottom: 1px solid #e5dcf5;
	padding: .65rem .45rem;
	text-align: left;
}

.champimo-club-product-renewal {
	border-left: 4px solid #805ac8;
	background: #f6f0ff;
	padding: .75rem 1rem;
}

@media (max-width: 620px) {
	.champimo-club-account__topline {
		align-items: stretch;
		flex-direction: column;
	}

	.champimo-club-account__status {
		align-self: flex-start;
	}

	.champimo-club-account__facts {
		grid-template-columns: 1fr;
	}

	.champimo-club-account__facts div {
		min-height: 5.5rem;
	}

	.champimo-club-account__action-buttons,
	.champimo-club-account__payment-footer {
		align-items: stretch;
		flex-direction: column;
	}

	.champimo-club-account__action-buttons .champimo-club-account__cancel-link,
	.champimo-club-account__card-link {
		justify-content: center;
		text-align: center;
	}

	.champimo-club-account .button,
	.champimo-club-account button {
		justify-content: center;
		width: 100%;
	}
}
