html.hmr-whop-lock, html.hmr-whop-lock body { overflow: hidden; }
.hmr-whop-overlay {
	position: fixed; inset: 0; z-index: 999999;
	background: rgba(17, 20, 28, 0.55);
	display: flex; align-items: center; justify-content: center;
	padding: 16px; animation: hmrWhopFade .2s ease-out;
}
.hmr-whop-dialog {
	background: #fff; color: #1d2027; width: 100%; max-width: 520px;
	max-height: calc(100vh - 32px); overflow: auto;
	border-radius: 14px; box-shadow: 0 24px 64px rgba(0,0,0,.25);
}
.hmr-whop-head {
	display: flex; align-items: center; justify-content: space-between;
	padding: 14px 18px; border-bottom: 1px solid #ececf0; font-size: 15px;
}
.hmr-whop-close {
	background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer;
	color: #555; padding: 0 4px;
}
.hmr-whop-close:hover { color: #000; }
.hmr-whop-body { padding: 16px 18px 20px; min-height: 320px; }
.hmr-whop-inline { min-height: 200px; }
.hmr-whop-mount iframe { width: 100% !important; border: 0; }
.hmr-whop-frame { width: 100%; min-height: 60px; }
.hmr-whop-panel [hidden], .hmr-whop-overlay [hidden], .hmr-whop-inline [hidden] { display: none !important; }
.hmr-whop-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.hmr-whop-tools { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; }
.hmr-whop-link {
	background: none; border: 0; padding: 0; margin: 0; cursor: pointer;
	color: #555; font-size: 13px; line-height: 1.4; text-decoration: underline; box-shadow: none;
}
.hmr-whop-link:hover, .hmr-whop-link:focus { color: #000; background: none; }
.hmr-whop-status { display: flex; align-items: center; gap: 10px; padding: 24px 0; color: #555; }
.hmr-whop-status[hidden], .hmr-whop-fallback[hidden] { display: none; }
.hmr-whop-spinner {
	width: 18px; height: 18px; border-radius: 50%;
	border: 2px solid #d9dbe2; border-top-color: #333;
	animation: hmrWhopSpin .8s linear infinite;
}
.hmr-whop-fallback { padding: 12px 0; }
.hmr-whop-fallback .button { display: inline-block; margin: 0; }
.hmr-whop-notice[hidden], .hmr-whop-mount[hidden] { display: none; }
.hmr-whop-notice {
	margin: 0 0 12px; padding: 12px 14px; border-radius: 10px;
	background: #fdf1f1; border: 1px solid #f1c9c9; color: #8a1f1f;
	font-size: 14px; line-height: 1.5;
}
.hmr-whop-panel {
	margin: 1.5em 0; border: 1px solid #e3e4ea; border-radius: 14px;
	background: #fff; color: #1d2027; overflow: hidden;
	animation: hmrWhopFade .2s ease-out;
}
.hmr-whop-panel-head {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 14px 18px; border-bottom: 1px solid #ececf0; font-size: 15px;
}
.hmr-whop-back {
	background: none; border: 0; padding: 0; cursor: pointer;
	color: #555; font-size: 13px; text-decoration: underline;
}
.hmr-whop-back:hover { color: #000; }
.hmr-whop-panel-body { padding: 16px 18px 20px; min-height: 120px; }
.hmr-whop-panel-body:empty { display: none; }
.hmr-whop-panel-msg[hidden] { display: none; }
.hmr-whop-panel-msg {
	margin: 14px 18px 0; padding: 12px 14px; border-radius: 10px; font-size: 14px; line-height: 1.5;
	background: #fdf1f1; border: 1px solid #f1c9c9; color: #8a1f1f;
}
.hmr-whop-panel-msg.is-ok { background: #eef8f2; border-color: #c4e6d1; color: #1d5c37; }
.hmr-whop-panel-msg.is-ok + .hmr-whop-panel-body:empty { display: none; }
@keyframes hmrWhopSpin { to { transform: rotate(360deg); } }
@keyframes hmrWhopFade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
	.hmr-whop-overlay, .hmr-whop-panel { animation: none; }
	.hmr-whop-spinner { animation-duration: 2s; }
}
/* Classic checkout: while paying, the billing form folds into an address card
   and the payment form takes its place. */
form.checkout.hmr-whop-paying #place_order { display: none !important; }
form.checkout.hmr-whop-paying-swap #customer_details,
form.checkout.hmr-whop-paying-swap #payment { display: none !important; }
.hmr-whop-stage { margin: 0 0 1.5em; scroll-margin-top: 90px; }
.hmr-whop-stage[hidden] { display: none !important; }
.hmr-whop-card {
	margin: 0 0 16px; padding: 16px 18px; border: 1px solid #e3e4ea; border-radius: 14px;
	background: #fff; color: #1d2027; font-size: 14px; line-height: 1.55;
}
.hmr-whop-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; font-size: 15px; }
.hmr-whop-edit {
	background: #fff; color: #1d2027; border: 1px solid #d5d7de; border-radius: 999px;
	padding: 5px 14px; font-size: 13px; font-weight: 600; line-height: 1.4; cursor: pointer; box-shadow: none;
}
.hmr-whop-edit:hover, .hmr-whop-edit:focus { background: #f4f5f7; color: #000; border-color: #b9bcc6; }
.hmr-whop-card-name { font-weight: 600; }
.hmr-whop-card-line { color: #555a66; overflow-wrap: anywhere; }
.hmr-whop-checkout-panel { margin: 0; }
.hmr-whop-checkout-panel .hmr-whop-panel-body { min-height: 180px; }
