/**
 * Purchase button styles.
 *
 * All rules are scoped under .wim-purchase so they render predictably inside
 * Divi and any other theme, without using !important. Typography inherits
 * from the theme so the button looks at home.
 */
.wim-purchase {
	box-sizing: border-box;
	max-width: 480px;
	margin: 1.5em auto;
	padding: 1.5em 1.25em;
	text-align: center;
	background: #fdfcf9;
	border: 1px solid #e9e3d7;
	border-radius: 6px;
	font-family: inherit;
	color: #2a2a2a;
}
.wim-purchase *,
.wim-purchase *::before,
.wim-purchase *::after {
	box-sizing: border-box;
}
.wim-purchase__price {
	font-size: 1.6em;
	letter-spacing: 0.02em;
	margin-bottom: 0.75em;
	color: #2a2a2a;
}
.wim-purchase__button {
	display: inline-block;
	appearance: none;
	-webkit-appearance: none;
	border: 0;
	background: #c9a96e;
	color: #ffffff;
	font: inherit;
	font-size: 1em;
	letter-spacing: 0.04em;
	padding: 0.85em 1.6em;
	border-radius: 3px;
	cursor: pointer;
	transition: background-color 150ms ease, transform 150ms ease;
}
.wim-purchase__button:hover,
.wim-purchase__button:focus {
	background: #b8985d;
}
.wim-purchase__button:focus-visible {
	outline: 2px solid #8a6d3b;
	outline-offset: 2px;
}
.wim-purchase__button[disabled],
.wim-purchase__button.is-busy {
	opacity: 0.65;
	cursor: wait;
}
.wim-purchase__status {
	min-height: 1.4em;
	margin-top: 0.85em;
	font-size: 0.95em;
	color: #5c5c5c;
}
.wim-purchase__status.is-error {
	color: #9b2c2c;
}
.wim-purchase__small {
	margin-top: 0.75em;
	font-size: 0.85em;
	color: #8a8a8a;
}
.wim-purchase__notice {
	padding: 0.85em 1em;
	background: #fff7e6;
	border: 1px solid #f0d493;
	border-radius: 3px;
	color: #5c4a17;
	font-size: 0.95em;
}
.wim-purchase__notice--admin {
	background: #f3f4f6;
	border-color: #cbd5e1;
	color: #1f2937;
}
.wim-purchase__notice a {
	color: inherit;
	text-decoration: underline;
}
.wim-placeholder {
	padding: 1.5em;
	text-align: center;
	background: #fdfcf9;
	border: 1px dashed #e9e3d7;
	border-radius: 6px;
	color: #7a7a7a;
}
