.hfpq-qr-panel {
	max-width: 420px;
	margin: 1em auto;
	padding: 1.5em;
	border: 1px solid #ddd;
	border-radius: 8px;
	text-align: center;
	background: #fff;
}

.hfpq-qr-description {
	color: #666;
	font-size: 0.9em;
}

.hfpq-qr-error {
	color: #b32d2e;
}

.hfpq-qr-paid {
	color: #2e7d32;
	font-weight: 600;
}

.hfpq-qr-image-wrap {
	margin: 1em 0;
}

.hfpq-qr-image {
	max-width: 260px;
	width: 100%;
	height: auto;
}

.hfpq-qr-timer {
	font-size: 1.1em;
	font-weight: 600;
}

.hfpq-qr-timer-value {
	font-variant-numeric: tabular-nums;
}

.hfpq-regenerate-btn {
	margin-top: 1em;
}

.hfpq-qr-status {
	min-height: 1.2em;
	color: #666;
	font-size: 0.9em;
}

.hfpq-place-order-disabled,
.hfpq-place-order-disabled:hover {
	opacity: 0.5;
	cursor: not-allowed;
	pointer-events: none;
}

.hfpq-qr-test-notice {
	margin-top: 0.75em;
	padding: 0.6em 0.8em;
	font-size: 0.85em;
	color: #8a5a00;
	background: #fff6e5;
	border: 1px solid #f0d799;
	border-radius: 4px;
}

.hfpq-qr-test-notice a {
	display: block;
	margin-top: 0.3em;
	font-weight: 600;
}

.hfpq-payment-options-locked .wc-block-components-radio-control-accordion-option {
	position: relative;
	cursor: not-allowed !important;
	filter: grayscale(1) !important;
	background: #e9e9e9 !important;
	border-color: #d0d0d0 !important;
	border-style: dashed !important;
	box-shadow: none !important;
}

.hfpq-payment-options-locked .wc-block-components-radio-control-accordion-option:hover {
	border-color: #d0d0d0 !important;
}

/* Dim the option's own content rather than the whole element, so this
   layers on top of a semi-opaque scrim below instead of fighting the
   theme's opacity/box-shadow on the checked-highlighted state. */
.hfpq-payment-options-locked .wc-block-components-radio-control-accordion-option > * {
	opacity: 0.4;
}

/* The scrim + lock badge sit in a pseudo-element so they can't be pushed
   around by the option's own layout, and always render above its content. */
.hfpq-payment-options-locked .wc-block-components-radio-control-accordion-option::after {
	content: "\1F512"; /* lock emoji */
	position: absolute;
	top: 6px;
	right: 8px;
	font-size: 0.9em;
	opacity: 0.7;
}

.hfpq-payment-options-locked .wc-block-components-radio-control-accordion-option input {
	pointer-events: none;
}

/* Folds the currently-expanded method's content (bank details, QR panel,
   etc.) while locked — showing it contradicts "you can't use this yet". */
.hfpq-payment-options-locked .wc-block-components-radio-control-accordion-content {
	display: none !important;
}

.hfpq-shipping-warning {
	margin-bottom: 1em;
	padding: 0.7em 1em;
	font-size: 0.95em;
	font-weight: 500;
	color: #8a5a00;
	background: #fff6e5;
	border: 1px solid #f0d799;
	border-radius: 4px;
}
