
/* ============================================================
   Checkout pickup-time chooser (Dato + Tidspunkt) — 2026-10-22
   Matches the yummysushi.dk checkout pattern. The original plugin
   select stays in the DOM but visually hidden.
   ============================================================ */

.panda-pickup-original {
	/* !important throughout: WooCommerce checkout CSS sets form-row selects
	   to width:100%, which blows the page out horizontally otherwise */
	position: absolute !important;
	width: 1px !important;
	max-width: 1px !important;
	height: 1px !important;
	max-height: 1px !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.panda-pickup-chooser {
	display: flex;
	gap: 14px;
	margin: 4px 0 2px;
}

.panda-pickup-box {
	flex: 1 1 0;
	min-width: 0;
}

.panda-pickup-caption {
	display: block;
	font-size: 0.82rem;
	font-weight: 600;
	color: #6f665a;
	margin-bottom: 6px;
}

.panda-pickup-date,
.panda-pickup-time {
	width: 100%;
	height: 46px;
	padding: 0 12px;
	border: 1px solid #d8d2c6;
	border-radius: 8px;
	background: #fff;
	color: #17120e;
	font-size: 0.98rem;
	box-sizing: border-box;
	appearance: auto;
}

.panda-pickup-date:focus,
.panda-pickup-time:focus {
	outline: 2px solid #c9a24b;
	outline-offset: 1px;
	border-color: #c9a24b;
}

.panda-pickup-hint {
	display: block;
	margin-top: 7px;
	font-size: 0.84rem;
	color: #8a8172;
}

@media (max-width: 480px) {
	.panda-pickup-chooser {
		flex-direction: column;
		gap: 12px;
	}
}
