@media (max-width: 782px) {
	/* Keep each in-card action visible as well as the floating mobile action. */
	body.woocommerce-checkout.sk-plan-sticky-ready [data-sk-screen="choose-access"] {
		padding-bottom: calc(90px + env(safe-area-inset-bottom));
	}

	body.woocommerce-checkout .sk-plan-sticky {
		position: fixed;
		z-index: 1000;
		right: 0;
		bottom: 0;
		left: 0;
		box-sizing: border-box;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
		border-top: 1px solid #e7ded0;
		background: #fffdfa;
		box-shadow: 0 -8px 22px rgb(44 48 31 / 9%);
	}

	body.woocommerce-checkout .sk-plan-sticky[hidden] {
		display: none !important;
	}

	body.woocommerce-checkout .sk-plan-sticky__button {
		display: block;
		width: min(100%, 560px);
		min-height: 54px;
		margin: 0 auto;
		padding: 12px 18px;
		border: 1px solid #a76507;
		border-radius: 10px;
		background: #a76507;
		color: #fff;
		font: inherit;
		font-size: 16px;
		font-weight: 700;
		line-height: 1.3;
		text-align: center;
		cursor: pointer;
	}

	body.woocommerce-checkout .sk-plan-sticky__button:focus-visible {
		outline: 3px solid #2c301f;
		outline-offset: 3px;
	}

	body.woocommerce-checkout .sk-plan-sticky__button[aria-busy="true"] {
		position: relative;
		color: transparent;
		cursor: wait;
	}

	body.woocommerce-checkout .sk-plan-sticky__button[aria-busy="true"]::after {
		position: absolute;
		top: calc(50% - 9px);
		left: calc(50% - 9px);
		width: 18px;
		height: 18px;
		border: 2px solid #fff;
		border-right-color: transparent;
		border-radius: 50%;
		content: '';
		animation: sk-plan-sticky-loading 700ms linear infinite;
	}

	@keyframes sk-plan-sticky-loading {
		to { transform: rotate(360deg); }
	}
}

@media (min-width: 783px) {
	body.woocommerce-checkout .sk-plan-sticky {
		display: none !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.woocommerce-checkout .sk-plan-sticky__button[aria-busy="true"]::after {
		animation: none;
	}
}
