/* LatePoint Recipe Extras — menu duplicates step */

.lp-menu-step .lp-menu-header {
	margin: 0 0 12px 0;
}
.lp-menu-step .lp-menu-step-intro {
	margin: 0 0 14px 0;
}
.lp-menu-step .lp-menu-title {
	margin: 0 0 10px 0;
	font-size: 22px;
	font-weight: 700;
	color: #111827;
	line-height: 1.25;
	letter-spacing: -0.01em;
}
.lp-menu-step .lp-menu-sub {
	margin: 0 0 12px 0;
	font-size: 14px;
	color: #6b7280;
	line-height: 1.55;
}
.lp-menu-step .lp-menu-counter {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	background: rgba(0, 0, 0, 0.04);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	color: #4b5563;
	letter-spacing: 0.02em;
	transition: background .15s, color .15s;
}
.lp-menu-step .lp-menu-counter.is-complete {
	background: rgba(63, 168, 142, 0.14);
	color: #2d7a66;
}
.lp-menu-step .lp-menu-counter.is-shake {
	animation: lpMenuShake 0.3s;
}
@keyframes lpMenuShake {
	0%, 100% { transform: translateX(0); }
	25%      { transform: translateX(-4px); }
	75%      { transform: translateX(4px); }
}
.lp-menu-step .lp-menu-counter-num {
	display: inline-block !important;
	min-width: 14px !important;
	font-size: 15px !important;
	color: inherit !important;
	font-weight: 600;
	text-align: center;
	visibility: visible !important;
	opacity: 1 !important;
}

/* Plate grid — one plate per row (full width), not a 2-column grid */
.lp-menu-step .lp-menu-grid {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 12px 0 24px 0;
}

.lp-menu-step .lp-menu-plate {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	padding: 16px 18px;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 12px;
	cursor: pointer;
	text-align: left;
	font: inherit;
	color: inherit;
	appearance: none;
	-webkit-appearance: none;
	outline: none;
	transition: border-color .15s, background .15s, transform .1s, box-shadow .15s;
}
.lp-menu-step .lp-menu-plate:hover {
	border-color: rgba(63, 168, 142, 0.4);
	background: rgba(63, 168, 142, 0.02);
}
.lp-menu-step .lp-menu-plate:active {
	transform: scale(0.98);
}
.lp-menu-step .lp-menu-plate.is-duplicated {
	border: 1px solid #3FA88E;
	background: rgba(63, 168, 142, 0.07);
	box-shadow: none;
}

/* Block-out non-picked plates once saturated */
.lp-menu-step.is-saturated .lp-menu-plate:not(.is-duplicated) {
	opacity: 0.5;
	cursor: not-allowed;
}
.lp-menu-step.is-saturated .lp-menu-plate:not(.is-duplicated):hover {
	border-color: rgba(0, 0, 0, 0.08);
	background: #fff;
}

.lp-menu-step .lp-menu-plate-name {
	flex: 1;
	font-weight: 600;
	font-size: 14px;
	color: #1f2937;
	line-height: 1.35;
}

.lp-menu-step .lp-menu-plate-badge {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 28px;
	padding: 0 10px;
	background: rgba(0, 0, 0, 0.05);
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	color: #6b7280;
	letter-spacing: 0.02em;
	transition: background .15s, color .15s;
}
.lp-menu-step .lp-menu-plate.is-duplicated .lp-menu-plate-badge {
	background: #3FA88E;
	color: #fff;
}
.lp-menu-step .lp-menu-plate-badge-default { display: inline; }
.lp-menu-step .lp-menu-plate-badge-active  { display: none; }
.lp-menu-step .lp-menu-plate.is-duplicated .lp-menu-plate-badge-default { display: none; }
.lp-menu-step .lp-menu-plate.is-duplicated .lp-menu-plate-badge-active  { display: inline; }

/* Next button disabled state */
.lp-menu-step .os-next-btn.is-disabled {
	opacity: 0.5;
	cursor: not-allowed;
	pointer-events: none;
}

/* ---------- v1.4.18 — Multi-pick duplicados step ----------
 *
 * Each plate row is a horizontal card with the plate name on the left
 * and the [−] count [+] counter on the right. Customer increments to
 * add duplicates; the same plate can be picked multiple times. */

.lp-menu-step-multipick .lp-menu-grid-multipick {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 12px;
}

.lp-menu-plate-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 12px;
	background: #fff;
	transition: border-color 120ms ease, background 120ms ease;
}

.lp-menu-plate-row.has-duplicates {
	border-color: rgba(63, 168, 142, 0.45);
	background: rgba(63, 168, 142, 0.04);
}

.lp-menu-plate-row .lp-menu-plate-name {
	flex: 1;
	font-size: 14px;
	font-weight: 500;
	color: #222;
	line-height: 1.35;
}

.lp-menu-plate-counter {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.lp-menu-dup-minus,
.lp-menu-dup-plus {
	appearance: none;
	-webkit-appearance: none;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 1px solid rgba(0, 0, 0, 0.18);
	background: #fff;
	color: #333;
	font-size: 18px;
	font-weight: 500;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: border-color 120ms ease, color 120ms ease, background 120ms ease, opacity 120ms ease;
	padding: 0;
}

.lp-menu-dup-minus:not(:disabled):hover,
.lp-menu-dup-plus:not(:disabled):hover {
	border-color: #3FA88E;
	color: #2d7a66;
	background: rgba(63, 168, 142, 0.06);
}

.lp-menu-dup-minus:disabled,
.lp-menu-dup-plus:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.lp-menu-dup-count {
	min-width: 24px;
	text-align: center;
	font-size: 15px;
	font-weight: 500;
	color: #2d7a66;
}

.lp-menu-plate-row[data-count="0"] .lp-menu-dup-count {
	color: #999;
	font-weight: 400;
}

@media (max-width: 480px) {
	.lp-menu-plate-row { padding: 10px 12px; gap: 8px; }
	.lp-menu-plate-row .lp-menu-plate-name { font-size: 13px; }
	.lp-menu-dup-minus, .lp-menu-dup-plus { width: 28px; height: 28px; font-size: 16px; }
}
