/* Local Pickup Rules — storefront styles */

.wclpo-product-notice {
	margin: 12px 0;
	padding: 12px 16px;
	border-radius: 6px;
	border: 1px solid transparent;
}

.wclpo-product-notice.wclpo-pickup-only {
	background: #fdf1f1;
	border-color: #f0b8b8;
}

.wclpo-product-notice.wclpo-pickup-optional {
	background: #f0f9f1;
	border-color: #b8e0bd;
	padding: 8px 16px;
}

.wclpo-product-notice p {
	margin: 6px 0 0;
}

.wclpo-badge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #fff;
	background: #d63638;
}

.wclpo-pickup-optional .wclpo-badge {
	background: #00a32a;
}

/* Red pill shown on cart/checkout line items that are pickup-only. */
.wclpo-pill {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 12px;
	font-size: 0.85em;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #fff;
	background: #d63638;
	white-space: nowrap;
}

.wclpo-notice-list {
	margin: 8px 0 0 20px;
	list-style: disc;
}

.wclpo-atc-note {
	display: block;
	margin-top: 8px;
	font-weight: 600;
}

.wclpo-confirmation {
	margin: 16px 0;
	padding: 12px 16px;
	background: #fdf1f1;
	border: 1px solid #f0b8b8;
	border-radius: 6px;
}

.wclpo-confirmation .wclpo-confirmation-field {
	margin: 0;
}

/* Keep the acknowledgement usable when a theme hides native checkboxes. */
.wclpo-confirmation input[type="checkbox"].input-checkbox {
	-webkit-appearance: checkbox !important;
	appearance: auto !important;
	display: inline-block !important;
	position: static !important;
	float: none !important;
	visibility: visible !important;
	opacity: 1 !important;
	width: 18px !important;
	min-width: 18px !important;
	max-width: 18px !important;
	height: 18px !important;
	min-height: 18px !important;
	margin: 0 10px 0 0 !important;
	padding: 0 !important;
	clip: auto !important;
	clip-path: none !important;
	transform: none !important;
	vertical-align: -3px;
	accent-color: #1d4f75;
	cursor: pointer;
}

.wclpo-confirmation label.checkbox {
	display: block !important;
	line-height: 1.55;
	cursor: pointer;
}

.wclpo-confirmation input[type="checkbox"].input-checkbox:focus-visible {
	outline: 2px solid #1d4f75;
	outline-offset: 2px;
}

.wclpo-confirmation .woocommerce-invalid label {
	color: #d63638;
}
