body.checkout-page {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background: #242d60;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto",
		"Helvetica Neue", "Ubuntu", sans-serif;
	min-height: 100vh;
	margin: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
body.checkout-page main {
	flex: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	padding: 1rem;
	box-sizing: border-box;
}
.checkout-page section {
	background: #ffffff;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 420px;
	min-height: 200px;
	border-radius: 8px;
	justify-content: space-between;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}
.checkout-page section.checkout-card {
	padding: 1.5rem;
	min-height: 240px;
}
.checkout-page section.checkout-result {
	padding: 2rem 1.5rem;
	text-align: center;
	align-items: center;
}
.checkout-page section.checkout-result .checkout-title {
	margin: 0 0 0.75rem;
	font-size: 1.25rem;
}
.checkout-page section.checkout-result .checkout-message {
	height: auto;
	margin: 0 0 0.5rem;
	padding: 0;
	display: block;
	text-align: center;
}
.checkout-page section.checkout-result .checkout-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
	margin: 1.5rem 0 0;
	height: auto;
	padding: 0;
}
.checkout-page section.checkout-result .checkout-actions .checkout-button {
	display: inline-flex;
	width: auto;
	min-width: 140px;
	justify-content: center;
}
.checkout-result .result-icon {
	font-size: 3rem;
	margin-bottom: 0.5rem;
}
.checkout-result .result-icon.result-success {
	color: #0d6832;
}
.checkout-result .result-icon.result-cancel {
	color: #856404;
}
.checkout-title {
	font-size: 1.1rem;
	margin: 0 0 0.25rem;
}
.checkout-subtitle {
	font-size: 0.875rem;
	opacity: 0.85;
	margin: 0;
	color: #242d60;
}
.checkout-form {
	margin: 1rem 0 0;
}
.checkout-form .checkout-button {
	width: 100%;
}
.checkout-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	height: 44px;
	padding: 0 1.25rem;
	background: #556cd6;
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	border: 0;
	border-radius: 6px;
	cursor: pointer;
	text-decoration: none;
	transition: opacity 0.2s ease, background 0.2s ease;
	box-shadow: 0 2px 8px rgba(85, 108, 214, 0.35);
}
.checkout-button:hover {
	opacity: 0.92;
}
.checkout-button-secondary {
	background: #6c757d;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.checkout-button-secondary:hover {
	background: #5a6268;
}
.checkout-footer {
	margin: 1rem 0 0;
	height: auto;
	padding: 0;
}
.checkout-footer a {
	color: #556cd6;
	text-decoration: none;
}
.checkout-footer a:hover {
	text-decoration: underline;
}
.checkout-footer-section {
	margin-top: auto;
	padding: 1rem;
	text-align: center;
}
.checkout-footer-section .footer-links {
	margin-bottom: 0.5rem;
}
.checkout-page .product {
	display: flex;
	align-items: center;
	gap: 1rem;
}
.checkout-page .description {
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.checkout-page p {
	font-style: normal;
	font-weight: 500;
	font-size: 14px;
	line-height: 20px;
	letter-spacing: -0.154px;
	color: #242d60;
	height: 100%;
	width: 100%;
	padding: 0 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}
.checkout-page
	section.checkout-card
	.product
	+ .checkout-form
	~ .checkout-footer,
.checkout-page section.checkout-card p.checkout-footer {
	height: auto;
	display: block;
}
.checkout-page img {
	border-radius: 6px;
	margin: 0;
	width: 64px;
	height: 64px;
	object-fit: contain;
}
.checkout-page h3,
.checkout-page h5 {
	font-style: normal;
	font-weight: 500;
	font-size: 14px;
	line-height: 20px;
	letter-spacing: -0.154px;
	color: #242d60;
	margin: 0;
}
.checkout-page h5 {
	opacity: 0.5;
}
.checkout-page form .checkout-button,
.checkout-page form button#checkout-button {
	height: 44px;
	border-radius: 6px;
	margin: 0;
}
.checkout-page button {
	height: 36px;
	background: #556cd6;
	color: white;
	width: 100%;
	font-size: 14px;
	border: 0;
	font-weight: 500;
	cursor: pointer;
	letter-spacing: 0.6;
	border-radius: 0 0 6px 6px;
	transition: all 0.2s ease;
	box-shadow: 0px 4px 5.5px 0px rgba(0, 0, 0, 0.07);
}
.checkout-page button:hover {
	opacity: 0.8;
}

/* Coffee FAB - same style/behavior as blog.stephane-robert.info coffee-fab */
#coffee-fab {
	position: fixed;
	left: 1.5rem;
	bottom: 1.5rem;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--button-bg, #007bff);
	color: var(--button-text, #fff);
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px var(--shadow-color, rgba(0, 0, 0, 0.15));
	cursor: pointer;
	z-index: 1040;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
	text-decoration: none;
}
#coffee-fab:hover {
	background: var(--button-hover, #0056b3);
	color: var(--button-text, #fff);
	box-shadow: 0 6px 16px var(--shadow-hover, rgba(0, 0, 0, 0.2));
	animation: coffee-hover-wiggle 1s ease-in-out infinite;
}
#coffee-fab:focus {
	outline: 2px solid var(--link-color);
	outline-offset: 2px;
}
#coffee-fab i {
	font-size: 1.4rem;
}
/* Coffee FAB: steam + inner wrapper (reusable across pages) */
.coffee-fab-inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}
#coffee-fab .steam {
	position: absolute;
	bottom: 100%;
	left: 50%;
	width: 24px;
	height: 16px;
	margin-left: -12px;
	margin-bottom: 2px;
	pointer-events: none;
}
#coffee-fab .steam span {
	position: absolute;
	bottom: 0;
	width: 5px;
	height: 6px;
	background: rgba(255, 255, 255, 0.55);
	border-radius: 50%;
	animation: steam-rise 2.2s ease-in-out infinite;
}
#coffee-fab .steam span:nth-child(1) { left: 0; animation-delay: 0s; }
#coffee-fab .steam span:nth-child(2) { left: 50%; margin-left: -2.5px; animation-delay: 0.35s; }
#coffee-fab .steam span:nth-child(3) { right: 0; left: auto; animation-delay: 0.7s; }
@keyframes steam-rise {
	0% { opacity: 0; transform: translateY(0) scale(0.85); }
	35% { opacity: 0.6; }
	100% { opacity: 0; transform: translateY(-12px) scale(1.15); }
}
@keyframes coffee-hover-wiggle {
	0%, 100% { transform: scale(1.05) rotate(0deg); }
	25% { transform: scale(1.08) rotate(-5deg); }
	75% { transform: scale(1.08) rotate(5deg); }
}
@media (max-width: 768px) {
	#coffee-fab {
		left: 1rem;
		bottom: 1rem;
		width: 48px;
		height: 48px;
	}
	#coffee-fab i {
		font-size: 1.2rem;
	}
}

/* Back-to-top FAB - same style/behavior as blog.stephane-robert.info */
.back-to-top {
	position: fixed;
	bottom: 2rem;
	right: 2rem;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--button-bg, #007bff);
	color: var(--button-text, #fff);
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px var(--shadow-color, rgba(0, 0, 0, 0.15));
	cursor: pointer;
	z-index: 1040;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
	text-decoration: none;
}
.back-to-top:hover {
	background: var(--button-hover, #0056b3);
	color: var(--button-text, #fff);
	transform: scale(1.05);
	box-shadow: 0 6px 16px var(--shadow-hover, rgba(0, 0, 0, 0.2));
}
.back-to-top:focus {
	outline: 2px solid var(--link-color);
	outline-offset: 2px;
}
.back-to-top i {
	font-size: 1.4rem;
}
@media (max-width: 768px) {
	.back-to-top {
		bottom: 1rem;
		right: 1rem;
		width: 48px;
		height: 48px;
	}
	.back-to-top i {
		font-size: 1.2rem;
	}
}

@media print {
	.back-to-top,
	#coffee-fab,
	#coffeeModal {
		display: none !important;
	}
}
