.stbd-storefront-details {
	display: grid;
	gap: 5px;
	margin: 10px 0 12px;
	font-size: 12px;
	line-height: 1.35;
}

.stbd-storefront-restaurant-badge {
	position: absolute !important;
	z-index: 3 !important;
	top: 10px !important;
	left: 10px !important;
	right: auto !important;
	display: inline-flex !important;
	align-items: center !important;
	width: auto !important;
	max-width: calc(100% - 20px) !important;
	min-height: 28px !important;
	margin: 0 !important;
	padding: 5px 9px !important;
	overflow: hidden !important;
	border: 0 !important;
	border-radius: 4px !important;
	background: var(--stbd-restaurant-badge-bg, #111827) !important;
	color: var(--stbd-restaurant-badge-text, #fff) !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	letter-spacing: 0 !important;
	text-overflow: ellipsis !important;
	text-transform: none !important;
	white-space: nowrap !important;
	box-shadow: none !important;
}

.stbd-storefront-schedule {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 7px 0 3px;
}

.stbd-storefront-day-badge {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 4px 9px;
	border: 1px solid var(--stbd-day-badge-bg, #2271b1) !important;
	border-radius: 4px;
	background: var(--stbd-day-badge-bg, #2271b1) !important;
	color: var(--stbd-day-badge-text, #fff) !important;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}

.stbd-storefront-schedule time {
	color: inherit;
	font-size: 12px;
	font-variant-numeric: tabular-nums;
	opacity: 0.78;
	white-space: nowrap;
}

.stbd-storefront-detail {
	display: block;
	min-width: 0;
	color: inherit;
	overflow-wrap: anywhere;
}

.stbd-storefront-detail strong {
	font-weight: 800;
}

.stbd-storefront-hint {
	display: block;
	margin-top: 2px;
	color: inherit;
	font-size: 11px;
	opacity: 0.78;
}

.stbd-storefront-cart-button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-width: 112px;
	min-height: 42px;
	margin: 0;
	padding: 9px 14px !important;
	border: 0;
	border-radius: 6px;
	font: inherit;
	font-weight: 800;
	line-height: 1.15;
	text-align: center;
	text-decoration: none !important;
	cursor: pointer;
}

.stbd-storefront-cart-button.is-loading,
.stbd-storefront-cart-button.is-disabled,
.stbd-storefront-cart-button:disabled {
	opacity: 0.58;
	cursor: not-allowed;
}

.stbd-storefront-notice {
	display: block;
	flex-basis: 100%;
	width: 100%;
	margin-top: 7px;
	font-size: 12px;
	line-height: 1.35;
}

.stbd-storefront-notice[hidden] {
	display: none !important;
}

.stbd-storefront-notice.is-success {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.stbd-storefront-notice.is-error {
	color: #a12622;
}

/* School Table shows its own compact status; WooCommerce must not append a
   second View cart link beside the custom promotional button. */
.stbd-storefront-cart-button + .added_to_cart,
.stbd-storefront-cart-button ~ .added_to_cart.wc-forward {
	display: none !important;
}

@media (max-width: 430px) {
	.stbd-storefront-schedule {
		align-items: flex-start;
		flex-direction: column;
		gap: 5px;
	}

	.stbd-storefront-cart-button {
		width: 100%;
	}
}
