/*
 * Page panier Forlaps (/cart-event/).
 *
 * Page autonome : aucune classe Eventlist n'est stylée ici. Les seuls
 * sélecteurs non préfixés `fl-cart-` sont ceux produits par le moteur de
 * checkout partagé avec la billetterie embarquée (récapitulatif, suppléments,
 * étapes, écrans de confirmation).
 */

body.fl-cart-page {
	--fl-cart-header-offset: 0px;
	--fl-cart-nav-height: 49px;
	margin: 0;
	background: #f7f7f7;
}

body.admin-bar.fl-cart-page {
	--fl-cart-header-offset: 32px;
}

@media (max-width: 782px) {
	body.admin-bar.fl-cart-page {
		--fl-cart-header-offset: 46px;
	}
}

.fl-cart {
	display: flex;
	flex-direction: column;
	min-height: calc(100dvh - var(--fl-cart-header-offset));
	box-sizing: border-box;
	background: #f7f7f7;
	padding-bottom: var(--fl-space-3xl);
}

.fl-cart-nav {
	position: sticky;
	top: var(--fl-cart-header-offset);
	z-index: 20;
	flex-shrink: 0;
	background: #f7f7f7;
	border-bottom: 1px solid var(--fl-color-border);
}

.fl-cart-nav__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--fl-space-md);
	max-width: 1180px;
	min-height: var(--fl-cart-nav-height);
	margin: 0 auto;
	padding: var(--fl-space-xs) var(--fl-space-lg);
	box-sizing: border-box;
}

.fl-cart-nav__start {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	gap: var(--fl-space-sm);
	min-width: 0;
}

.fl-cart-nav__end {
	display: flex;
	flex-shrink: 0;
	align-items: center;
}

.fl-cart-nav__back.fl-ui-button,
.fl-cart-nav__help.fl-ui-button {
	flex-shrink: 0;
	margin: calc(-1 * var(--fl-space-xs)) 0;
}

.fl-cart-nav__label {
	display: none;
	overflow: hidden;
	font-size: var(--fl-font-size-sm);
	font-weight: var(--fl-font-weight-medium);
	color: var(--fl-text-secondary);
	text-overflow: ellipsis;
	white-space: nowrap;
}

@media (min-width: 768px) {
	.fl-cart-nav__back .fl-ui-button__label {
		display: none;
	}

	.fl-cart-nav__label {
		display: block;
	}
}

.fl-cart__shell {
	flex: 1 1 auto;
	max-width: 1180px;
	width: 100%;
	margin: 0 auto;
	padding: var(--fl-space-lg) var(--fl-space-lg) 0;
}

.fl-cart__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	align-items: start;
	gap: var(--fl-space-xl);
}

.fl-cart__main {
	display: flex;
	flex-direction: column;
	gap: var(--fl-space-lg);
	min-width: 0;
}

.fl-cart__aside {
	position: sticky;
	top: calc(var(--fl-cart-header-offset) + var(--fl-cart-nav-height) + var(--fl-space-md));
	min-width: 0;
}

.fl-cart__blocker {
	max-width: 620px;
	margin: var(--fl-space-3xl) auto;
	padding: var(--fl-space-2xl);
	background: var(--fl-color-surface);
	border: 1px solid var(--fl-color-border);
	border-radius: var(--fl-radius-lg);
}

/* Fil d'étapes --------------------------------------------------------- */

.fl-cart-stepper {
	display: flex;
	gap: var(--fl-space-xs);
	margin: 0;
	padding: var(--fl-space-sm);
	list-style: none;
	background: var(--fl-color-surface);
	border: 1px solid var(--fl-color-border);
	border-radius: var(--fl-radius-lg);
	box-shadow: var(--fl-shadow-sm);
}

.fl-cart-stepper__item {
	display: flex;
	flex: 1;
	align-items: center;
	gap: var(--fl-space-xs);
	padding: var(--fl-space-xs) var(--fl-space-sm);
	border-radius: var(--fl-radius-md);
	color: var(--fl-text-secondary);
	font-size: var(--fl-font-size-md);
	font-weight: var(--fl-font-weight-medium);
}

.fl-cart-stepper__item.is-current {
	background: var(--fl-color-accent-soft);
	color: var(--fl-color-accent-ink);
}

.fl-cart-stepper__marker {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	flex-shrink: 0;
	border-radius: var(--fl-radius-pill);
	background: var(--fl-gray-100);
	color: var(--fl-text-secondary);
	font-size: var(--fl-font-size-xs);
	font-weight: var(--fl-font-weight-semibold);
}

.fl-cart-stepper__item.is-current .fl-cart-stepper__marker {
	background: var(--fl-color-accent);
	color: var(--fl-text-inverse);
}

/* Étapes --------------------------------------------------------------- */

.fl-cart .step-content {
	display: none;
}

.fl-cart .step-content.active {
	display: block;
}

.fl-cart-step {
	padding: var(--fl-space-xl);
	background: var(--fl-color-surface);
	border: 1px solid var(--fl-color-border);
	border-radius: var(--fl-radius-lg);
	box-shadow: var(--fl-shadow-sm);
}

.fl-cart-step__head {
	display: flex;
	align-items: flex-start;
	gap: var(--fl-space-md);
	margin-bottom: var(--fl-space-lg);
}

.fl-cart-step__head--spaced {
	margin-top: var(--fl-space-xl);
}

.fl-cart-step__head-icon {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: var(--fl-radius-md);
	background: var(--fl-color-surface-sunken);
	color: var(--fl-text-secondary);
}

.fl-cart-step__head-copy {
	flex: 1 1 auto;
	min-width: 0;
}

.fl-cart-step__title {
	margin: 0;
	font-size: var(--fl-font-size-lg);
	font-weight: var(--fl-font-weight-semibold);
	line-height: var(--fl-line-height-tight);
	color: var(--fl-text-primary);
}

.fl-cart-step__text {
	margin: var(--fl-space-3xs) 0 0;
	font-size: var(--fl-font-size-md);
	color: var(--fl-text-secondary);
}

.fl-cart [hidden] {
	display: none !important;
}

.fl-cart-step__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: var(--fl-space-md);
	margin-top: var(--fl-space-xl);
	padding-top: var(--fl-space-lg);
	border-top: 1px solid var(--fl-color-border);
}

.fl-cart-step__actions:has(.fl-cart-step__actions-start) {
	justify-content: flex-start;
}

.fl-cart-step__actions-start {
	flex: 1 1 220px;
	min-width: 0;
}

.fl-cart-step__actions-end {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: flex-end;
	gap: var(--fl-space-sm);
	margin-left: auto;
}

/* Billets -------------------------------------------------------------- */

.fl-cart-tickets {
	display: flex;
	flex-direction: column;
	gap: var(--fl-space-md);
}

.fl-cart-ticket__membership {
	margin: var(--fl-space-2xs) 0 0;
	font-size: var(--fl-font-size-md);
}

.fl-cart .ticket-supplements:empty {
	display: none;
}

.fl-cart .ticket-supplements {
	display: flex;
	flex-direction: column;
	gap: var(--fl-space-xs);
	margin-top: var(--fl-space-xs);
	padding: var(--fl-space-md);
	background: var(--fl-color-surface-sunken);
	border-radius: var(--fl-radius-md);
}

.fl-cart .ticket-supplements-header {
	font-size: var(--fl-font-size-xs);
	font-weight: var(--fl-font-weight-semibold);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--fl-gray-500);
}

.fl-cart .supplement-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--fl-space-md);
	padding: var(--fl-space-xs) 0;
}

.fl-cart .supplement-item + .supplement-item {
	border-top: 1px solid var(--fl-color-border);
}

.fl-cart .supplement-item-main {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.fl-cart .supplement-instance-label {
	font-size: var(--fl-font-size-xs);
	color: var(--fl-gray-500);
}

.fl-cart .supplement-name {
	font-size: var(--fl-font-size-md);
	color: var(--fl-text-primary);
}

.fl-cart .supplement-item-actions {
	display: flex;
	align-items: center;
	gap: var(--fl-space-md);
	flex-shrink: 0;
}

.fl-cart .supplement-item-actions .price {
	font-size: var(--fl-font-size-md);
	font-weight: var(--fl-font-weight-semibold);
	color: var(--fl-text-primary);
}

.fl-cart .quantity-selector {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--fl-color-border-strong);
	border-radius: var(--fl-radius-md);
	overflow: hidden;
}

.fl-cart .quantity-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	cursor: pointer;
	user-select: none;
	color: var(--fl-text-primary);
	transition: background var(--fl-transition-fast);
}

.fl-cart .quantity-btn:hover {
	background: var(--fl-color-surface-hover);
}

.fl-cart .quantity-btn.disabled {
	color: var(--fl-text-placeholder);
	cursor: not-allowed;
}

.fl-cart .quantity-input {
	width: 38px;
	height: 30px;
	padding: 0;
	border: 0;
	border-left: 1px solid var(--fl-color-border);
	border-right: 1px solid var(--fl-color-border);
	background: transparent;
	text-align: center;
	font-size: var(--fl-font-size-md);
	color: var(--fl-text-primary);
	-moz-appearance: textfield;
}

.fl-cart .quantity-input::-webkit-outer-spin-button,
.fl-cart .quantity-input::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

/* Formulaires ---------------------------------------------------------- */

.fl-cart-step .fl-embed-different-info-checkbox {
	margin-bottom: var(--fl-space-lg);
}

.fl-cart-form,
.fl-cart .fl-embed-form {
	display: flex;
	flex-direction: column;
	gap: var(--fl-space-md);
}

.fl-cart-form__row,
.fl-cart .fl-embed-form-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--fl-space-md);
}

.fl-cart-guest-account__login {
	margin-top: calc(-1 * var(--fl-space-xs));
	margin: 0;
	padding: var(--fl-space-sm) var(--fl-space-md);
	border-radius: var(--fl-radius-md);
	background: var(--fl-color-surface-sunken);
	color: var(--fl-text-secondary);
	font-size: var(--fl-font-size-sm);
	line-height: var(--fl-line-height-relaxed);
}

.fl-cart-guest-account__login a {
	color: var(--fl-color-accent-ink);
	font-weight: var(--fl-font-weight-semibold);
	text-decoration: none;
}

.fl-cart-guest-account__login a:hover {
	text-decoration: underline;
}

.fl-cart-guest-account__create {
	display: flex;
	flex-direction: column;
	gap: var(--fl-space-xs);
}

.fl-cart-guest-account__create:not([hidden]) {
	display: flex;
}

.fl-cart-guest-account__login:not([hidden]) {
	display: block;
}

.fl-cart-guest-account__info {
	margin: 0;
	max-width: 28rem;
	color: var(--fl-text-secondary);
	font-size: var(--fl-font-size-xs);
	line-height: var(--fl-line-height-relaxed);
}

.fl-cart-step__actions-start .fl-cart-guest-account__info {
	padding-left: calc(var(--fl-space-md) + 1.25rem);
}

.fl-cart-participants {
	margin-top: var(--fl-space-md);
}

.fl-cart .fl-embed-participant-panel__lead {
	margin: 0 0 var(--fl-space-md);
	font-size: var(--fl-font-size-md);
	color: var(--fl-text-secondary);
}

/* Paiement ------------------------------------------------------------- */

.fl-cart-payment .wc_payment_methods {
	display: flex;
	flex-direction: column;
	gap: var(--fl-space-xs);
	margin: 0;
	padding: 0;
	list-style: none;
}

.fl-cart-payment .wc_payment_method {
	padding: var(--fl-space-md);
	border: 1px solid var(--fl-color-border);
	border-radius: var(--fl-radius-md);
}

.fl-cart-payment .wc_payment_method > label {
	display: inline-flex;
	align-items: center;
	gap: var(--fl-space-xs);
	margin: 0 0 0 var(--fl-space-2xs);
	font-size: var(--fl-font-size-base);
	font-weight: var(--fl-font-weight-medium);
	color: var(--fl-text-primary);
	cursor: pointer;
}

.fl-cart-payment__icon img {
	max-height: 22px;
	width: auto;
}

.fl-cart-payment .payment_box {
	margin-top: var(--fl-space-md);
	padding-top: var(--fl-space-md);
	border-top: 1px solid var(--fl-color-border);
}

.fl-cart-terms {
	display: flex;
	flex-direction: column;
	gap: var(--fl-space-xs);
	margin-top: var(--fl-space-lg);
}

/* Récapitulatif -------------------------------------------------------- */

.fl-cart-summary {
	padding: var(--fl-space-lg);
	background: var(--fl-color-surface);
	border: 1px solid var(--fl-color-border);
	border-radius: var(--fl-radius-lg);
	box-shadow: var(--fl-shadow-sm);
}

.fl-cart-reassurance {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--fl-space-xs);
	max-width: 100%;
	margin: var(--fl-space-md) auto 0;
	padding: 0 var(--fl-space-2xs);
	font-size: var(--fl-font-size-sm);
	line-height: var(--fl-line-height-snug);
	text-align: center;
	color: var(--fl-text-secondary);
}

.fl-cart-reassurance svg {
	flex-shrink: 0;
	color: var(--fl-text-muted);
}

.fl-cart-summary__event {
	margin-bottom: var(--fl-space-md);
	padding-bottom: var(--fl-space-md);
	border-bottom: 1px solid var(--fl-color-border);
}

.fl-cart-summary__event-card {
	display: flex;
	align-items: stretch;
	gap: var(--fl-space-sm);
}

.fl-cart-summary__event-media {
	flex: 0 0 72px;
	width: 72px;
	min-height: 72px;
	border-radius: var(--fl-radius-md);
	overflow: hidden;
	background: var(--fl-color-surface-sunken);
}

.fl-cart-summary__event-image {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 72px;
	object-fit: cover;
	object-position: center;
}

.fl-cart-summary__event-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 72px;
	color: var(--fl-text-tertiary);
}

.fl-cart-summary__event-body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	justify-content: center;
	gap: var(--fl-space-2xs);
	min-width: 0;
}

.fl-cart-summary__event-title {
	margin: 0;
	font-size: var(--fl-font-size-md);
	font-weight: var(--fl-font-weight-semibold);
	line-height: var(--fl-line-height-tight);
	color: var(--fl-text-primary);
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.fl-cart-summary__event-meta {
	display: flex;
	align-items: center;
	gap: var(--fl-space-2xs);
	margin: 0;
	min-width: 0;
	font-size: var(--fl-font-size-sm);
	line-height: 1.45;
	color: var(--fl-text-secondary);
}

.fl-cart-summary__event-meta svg {
	flex: 0 0 auto;
}

.fl-cart-summary__event-meta span {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.fl-cart-summary__organizer {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: var(--fl-space-2xs);
	margin: var(--fl-space-sm) 0 0;
	min-width: 0;
	font-size: var(--fl-font-size-xs);
	line-height: var(--fl-line-height-snug);
	color: var(--fl-text-secondary);
}

.fl-cart-summary__organizer-label {
	flex: 0 0 auto;
	color: var(--fl-text-muted);
}

.fl-cart-summary__organizer-identity {
	display: inline-flex;
	align-items: center;
	flex: 1 1 auto;
	gap: var(--fl-space-2xs);
	min-width: 0;
}

.fl-cart .fl-cart-summary__organizer-avatar,
.woocommerce-page .fl-cart-summary__organizer-avatar {
	display: block;
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	max-width: 20px;
	border-radius: 50%;
	object-fit: cover;
	background: var(--fl-color-surface-sunken);
}

.fl-cart-summary__organizer-name {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-weight: var(--fl-font-weight-medium);
	color: var(--fl-text-secondary);
}

.fl-cart-summary__title {
	margin: 0 0 var(--fl-space-md);
	font-size: var(--fl-font-size-base);
	font-weight: var(--fl-font-weight-semibold);
	color: var(--fl-text-primary);
}

.fl-cart-summary__lines:empty::before {
	content: attr(data-empty-label);
	display: block;
	padding-bottom: var(--fl-space-md);
	font-size: var(--fl-font-size-md);
	color: var(--fl-text-secondary);
}

.fl-cart .ticket-summary-item {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--fl-space-md);
	padding-bottom: var(--fl-space-xs);
	font-size: var(--fl-font-size-md);
	color: var(--fl-text-primary);
}

.fl-cart .ticket-summary-qty {
	margin-left: var(--fl-space-2xs);
	color: var(--fl-text-secondary);
}

.fl-cart .ticket-summary-price {
	flex-shrink: 0;
	font-weight: var(--fl-font-weight-semibold);
}

.fl-cart .supplement-summary-item {
	padding-left: var(--fl-space-md);
	color: var(--fl-text-secondary);
}

.fl-cart-summary__totals {
	display: flex;
	flex-direction: column;
	gap: var(--fl-space-xs);
	margin: 0;
	padding-top: var(--fl-space-md);
	border-top: 1px solid var(--fl-color-border);
}

.fl-cart-summary__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--fl-space-md);
	font-size: var(--fl-font-size-md);
	color: var(--fl-text-secondary);
}

.fl-cart-summary__row dt,
.fl-cart-summary__row dd {
	margin: 0;
}

.fl-cart-summary__row dd {
	font-weight: var(--fl-font-weight-medium);
	color: var(--fl-text-primary);
}

.fl-cart-summary__row--discount dd {
	color: var(--fl-color-success);
}

.fl-cart-summary__row--total {
	margin-top: var(--fl-space-2xs);
	padding-top: var(--fl-space-md);
	border-top: 1px solid var(--fl-color-border);
	font-size: var(--fl-font-size-base);
	color: var(--fl-text-primary);
}

.fl-cart-summary__row--total dt,
.fl-cart-summary__row--total dd {
	font-weight: var(--fl-font-weight-bold);
}

/* Code promo ----------------------------------------------------------- */

.fl-cart-coupon {
	margin-top: var(--fl-space-lg);
	padding-top: var(--fl-space-lg);
	border-top: 1px solid var(--fl-color-border);
}

.fl-cart-coupon__form {
	display: flex;
	align-items: flex-end;
	gap: var(--fl-space-xs);
}

.fl-cart-coupon__field {
	flex: 1;
	min-width: 0;
}

.fl-cart .coupon-message {
	display: none;
	margin-top: var(--fl-space-xs);
	font-size: var(--fl-font-size-md);
	color: var(--fl-text-secondary);
}

.fl-cart .coupon-message.is-visible {
	display: block;
}

.fl-cart .coupon-message.is-error {
	color: var(--fl-color-danger);
}

.fl-cart .coupon-message.is-success {
	color: var(--fl-color-success);
}

.fl-cart-coupon__applied {
	display: none;
	align-items: center;
	justify-content: space-between;
	gap: var(--fl-space-md);
	margin-top: var(--fl-space-xs);
	padding: var(--fl-space-xs) var(--fl-space-sm);
	background: var(--fl-color-success-soft);
	border-radius: var(--fl-radius-md);
	font-size: var(--fl-font-size-md);
	color: var(--fl-text-primary);
}

.fl-cart-coupon__applied.is-visible {
	display: flex;
}

.fl-cart-coupon__remove {
	padding: 0;
	border: 0;
	background: none;
	color: var(--fl-color-danger);
	font-size: var(--fl-font-size-md);
	text-decoration: underline;
	cursor: pointer;
}

/* États de sortie du moteur -------------------------------------------- */

.fl-cart #checkout-error-message {
	grid-column: 1 / -1;
	margin: 0 0 var(--fl-space-md);
}

.fl-cart .embed-checkout-success,
.fl-cart .embed-checkout-processing {
	grid-column: 1 / -1;
	max-width: 620px;
	margin: 0 auto;
	padding: var(--fl-space-3xl) var(--fl-space-2xl);
	background: var(--fl-color-surface);
	border: 1px solid var(--fl-color-border);
	border-radius: var(--fl-radius-lg);
	box-shadow: var(--fl-shadow-sm);
	text-align: center;
}

.fl-cart .embed-checkout-success__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin: 0 auto var(--fl-space-lg);
	border-radius: var(--fl-radius-pill);
	font-size: var(--fl-font-size-2xl);
	font-weight: var(--fl-font-weight-bold);
	line-height: 1;
}

.fl-cart .embed-checkout-success__icon--success {
	color: var(--fl-color-success);
	background: var(--fl-color-success-soft);
}

.fl-cart .embed-checkout-success__icon .embed-checkout-success__lucide,
.fl-cart .embed-checkout-success__icon svg {
	display: block;
	width: 28px;
	height: 28px;
}

.fl-cart .embed-checkout-success__icon--pending {
	color: var(--fl-color-warning);
	background: var(--fl-color-warning-soft);
}

.fl-cart .embed-checkout-success__icon--error {
	color: var(--fl-color-danger);
	background: var(--fl-color-danger-soft);
}

.fl-cart .embed-checkout-success__event {
	margin: 0 0 var(--fl-space-xs);
	font-size: var(--fl-font-size-md);
	font-weight: var(--fl-font-weight-semibold);
	color: var(--fl-text-primary);
}

.fl-cart .embed-checkout-success__title,
.fl-cart .embed-checkout-processing__title {
	margin: 0 0 var(--fl-space-sm);
	font-size: var(--fl-font-size-xl);
	font-weight: var(--fl-font-weight-semibold);
	color: var(--fl-text-primary);
}

.fl-cart .embed-checkout-success__lead,
.fl-cart .embed-checkout-processing__text {
	margin: 0 0 var(--fl-space-sm);
	color: var(--fl-text-secondary);
}

.fl-cart .embed-checkout-success__details {
	display: flex;
	flex-direction: column;
	gap: var(--fl-space-sm);
	margin: var(--fl-space-lg) 0;
	padding: var(--fl-space-md);
	background: var(--fl-color-surface-sunken);
	border-radius: var(--fl-radius-md);
	font-size: var(--fl-font-size-sm);
	color: var(--fl-text-primary);
	text-align: left;
}

.fl-cart .embed-checkout-success__detail-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--fl-space-md);
}

.fl-cart .embed-checkout-success__detail-label {
	color: var(--fl-text-secondary);
}

.fl-cart .embed-checkout-success__detail-value {
	font-weight: var(--fl-font-weight-semibold);
	color: var(--fl-text-primary);
	text-align: right;
}

.fl-cart .embed-checkout-success__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: var(--fl-space-sm);
	margin-top: var(--fl-space-lg);
}

.fl-cart .embed-checkout-success__note {
	margin: 0;
	font-size: var(--fl-font-size-md);
	color: var(--fl-text-secondary);
}

.fl-cart .embed-checkout-processing__spinner {
	width: 34px;
	height: 34px;
	margin: 0 auto var(--fl-space-lg);
	border: 3px solid var(--fl-color-border);
	border-top-color: var(--fl-color-accent);
	border-radius: var(--fl-radius-pill);
	animation: fl-cart-spin 0.8s linear infinite;
}

@keyframes fl-cart-spin {
	to {
		transform: rotate(360deg);
	}
}

/* Responsive ----------------------------------------------------------- */

@media (max-width: 1024px) {
	.fl-cart__layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.fl-cart__aside {
		position: static;
	}
}

@media (max-width: 640px) {
	.fl-cart-step {
		padding: var(--fl-space-lg);
	}

	.fl-cart-form__row,
	.fl-cart .fl-embed-form-row {
		grid-template-columns: minmax(0, 1fr);
	}

	.fl-cart-step__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.fl-cart-step__actions-end {
		flex-direction: column-reverse;
		width: 100%;
		margin-left: 0;
	}

	.fl-cart-step__actions-end .fl-ui-button {
		width: 100%;
	}
}
