/* Client VIMEN et boutique : panier, compte, checkout stage. */

.jck-cart-count {
	font-variant-numeric: tabular-nums;
}

/* Checkout stage : trois champs et les conditions. */
body.vimen-stage-checkout #customer_details {
	display: block;
}

body.vimen-stage-checkout #customer_details .col-2 {
	display: none;
}

body.vimen-stage-checkout #customer_details .col-1 {
	float: none;
	width: 100%;
}

body.vimen-stage-checkout .woocommerce-account-fields,
body.vimen-stage-checkout .woocommerce-additional-fields {
	display: none;
}

body.vimen-stage-checkout .woocommerce-billing-fields h3 {
	margin-bottom: 0.35em;
}

body.vimen-stage-checkout #vimen_accepte_field {
	margin-top: 1.4em;
	padding-top: 1.1em;
	border-top: 1px solid rgba(43, 25, 0, 0.14);
}

body.vimen-stage-checkout #vimen_accepte_field label {
	display: flex;
	align-items: flex-start;
	gap: 0.55em;
	line-height: 1.45;
}

body.vimen-stage-checkout #vimen_accepte_field input {
	margin-top: 0.25em;
}

body.vimen-stage-checkout #vimen_accepte_field .description {
	margin-top: 0.35em;
	font-size: 0.85em;
}

/* Notices sur la fiche stage, dans le volet ou en page pleine. */
.vimen-stage-notices {
	position: fixed;
	top: 74px;
	left: 50%;
	z-index: 9999;
	width: min(620px, calc(100vw - 32px));
	transform: translateX(-50%);
}

.vimen-stage-notices:empty {
	display: none;
}

.vimen-stage-notices .woocommerce-error,
.vimen-stage-notices .woocommerce-message,
.vimen-stage-notices .woocommerce-info {
	margin: 0;
	box-shadow: 0 18px 50px rgba(43, 25, 0, 0.22);
}

body.vimen-in-panel .vimen-stage-notices {
	top: 16px;
}

/* Compte client : onglet Mes stages. */
.vimen-account-stages__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 18px;
	margin: 0 0 2em;
}

.vimen-account-stage {
	padding: 22px;
	border: 1px solid rgba(43, 25, 0, 0.14);
	background: #f7f4ee;
}

.vimen-account-stage__date {
	margin: 0 0 0.35em;
	font-size: 0.78em;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #6b7f3a;
}

.vimen-account-stage h3 {
	margin: 0 0 0.4em;
	font-size: 1.15em;
	line-height: 1.3;
}

.vimen-account-stage h3 a {
	color: #2b1900;
	text-decoration: none;
}

.vimen-account-stage__place,
.vimen-account-stage__status {
	margin: 0.25em 0;
	font-size: 0.9em;
	color: #5b4a35;
}

.vimen-account-stage__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.8em;
	margin: 1.1em 0 0;
}

.vimen-account-stage__link {
	font-size: 0.85em;
}

/* Panier avec un stage : même fond que le checkout. */
body.vimen-stage-cart .woocommerce {
	max-width: 1040px;
	margin-inline: auto;
	padding-block: 40px 64px;
}
