/* Nelson Restaurant Suite — Meal Builder (front end). Scoped to .nrs-mb. */
.nrs-mb { max-width: 1080px; margin: 0 auto; font-family: inherit; color: #1f2733; }
.nrs-mb__title { font-size: 1.7rem; margin: 0 0 .25rem; }
.nrs-mb__subtitle { margin: 0 0 1.5rem; color: #5b6675; }

.nrs-mb__layout { display: flex; gap: 1.5rem; align-items: flex-start; }
.nrs-mb__main { flex: 1 1 auto; min-width: 0; }
.nrs-mb__summary {
	flex: 0 0 280px; position: sticky; top: 20px;
	background: #fff; border: 1px solid #e3e8ef; border-radius: 12px;
	padding: 1.1rem; box-shadow: 0 2px 10px rgba(20,30,50,.05);
}
@media (max-width: 820px) {
	.nrs-mb__layout { flex-direction: column; }
	.nrs-mb__summary { position: static; width: 100%; flex-basis: auto; }
}

.nrs-mb__group { margin-bottom: 1.4rem; transition: opacity .2s; }
.nrs-mb__group--off { opacity: .4; }
.nrs-mb__group--off .nrs-mb__choices { pointer-events: none; }
.nrs-mb__group-title { font-size: 1.05rem; margin: 0 0 .6rem; }
.nrs-mb__req { color: #d6453d; }

.nrs-mb__select {
	width: 100%; max-width: 420px; padding: .6rem .7rem;
	border: 1.5px solid #dbe1ea; border-radius: 10px; background: #fff;
	font-size: .95rem; color: #1f2733; cursor: pointer;
	appearance: auto;
}
.nrs-mb__select:focus { outline: none; border-color: #2f7d4f; box-shadow: 0 0 0 1px #2f7d4f; }

.nrs-mb__choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.nrs-mb__chip {
	display: flex; align-items: center; gap: .45rem;
	border: 1.5px solid #dbe1ea; border-radius: 10px;
	padding: .5rem .7rem; cursor: pointer; background: #fff;
	transition: border-color .15s, background .15s, box-shadow .15s;
}
.nrs-mb__chip:hover { border-color: #b7c2d2; }
.nrs-mb__chip.is-selected { border-color: #2f7d4f; background: #eefaf2; box-shadow: 0 0 0 1px #2f7d4f inset; }
.nrs-mb__chip input { margin: 0; }
.nrs-mb__chip-img { width: 30px; height: 30px; object-fit: cover; border-radius: 6px; }
.nrs-mb__chip-name { font-weight: 600; }
.nrs-mb__chip-macros { font-size: .78rem; color: #6b7585; }
.nrs-mb__chip-up { font-size: .78rem; font-weight: 700; color: #b5701a; }
.nrs-mb__empty { color: #8a93a2; font-style: italic; }

.nrs-mb__double { display: inline-flex; align-items: center; gap: .4rem; margin-top: .7rem; font-weight: 600; }
.nrs-mb__double-up { color: #b5701a; font-weight: 700; }

.nrs-mb__modes { display: flex; flex-wrap: wrap; gap: 1rem; }
.nrs-mb__modes label { display: inline-flex; align-items: center; gap: .35rem; }

.nrs-mb__summary-title { margin: 0 0 .75rem; font-size: 1.1rem; }
.nrs-mb__macros { list-style: none; margin: 0 0 .8rem; padding: 0; }
.nrs-mb__macros li { display: flex; justify-content: space-between; padding: .35rem 0; border-bottom: 1px solid #f0f3f7; }
.nrs-mb__macros li span { color: #5b6675; }
.nrs-mb__macros li strong { font-variant-numeric: tabular-nums; }

.nrs-mb__upcharge-row { display: flex; justify-content: space-between; padding: .5rem 0; font-size: 1.05rem; }
.nrs-mb__upcharge-row strong { color: #b5701a; }
.nrs-mb__included { font-size: .76rem; color: #8a93a2; margin: .2rem 0 1rem; }

.nrs-mb__btn {
	display: block; width: 100%; border: none; border-radius: 9px;
	padding: .7rem 1rem; font-size: .95rem; font-weight: 700; cursor: pointer; margin-bottom: .5rem;
}
.nrs-mb__btn--primary { background: #2f7d4f; color: #fff; }
.nrs-mb__btn--primary:hover { background: #276a43; }
.nrs-mb__btn--primary:disabled { opacity: .6; cursor: default; }
.nrs-mb__btn--ghost { background: #fff; color: #2f7d4f; border: 1.5px solid #2f7d4f; }
.nrs-mb__btn--ghost:hover { background: #eefaf2; }

.nrs-mb__cart { margin-top: .6rem; font-size: .85rem; color: #3a4452; text-align: center; }
.nrs-mb__error { background: #fdecea; color: #a3271f; border-radius: 8px; padding: .5rem .7rem; font-size: .85rem; margin-bottom: .6rem; }
.nrs-mb__flash { background: #eefaf2; color: #1f6b3e; border-radius: 8px; padding: .5rem .7rem; font-size: .85rem; margin-bottom: .6rem; }

.nrs-mb__favorites { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid #e3e8ef; }
.nrs-mb__fav-list { display: flex; flex-wrap: wrap; gap: .6rem; }
.nrs-mb__fav {
	display: flex; align-items: center; gap: .6rem;
	border: 1px solid #dbe1ea; border-radius: 10px; padding: .5rem .75rem; background: #fff;
}
.nrs-mb__fav-name { font-weight: 600; }
.nrs-mb__fav-macros { font-size: .78rem; color: #6b7585; }
.nrs-mb__fav-load { background: #eef3fb; border: none; border-radius: 6px; padding: .3rem .6rem; cursor: pointer; font-weight: 600; color: #2456b3; }
.nrs-mb__fav-del { background: none; border: none; cursor: pointer; font-size: 1.1rem; color: #b32d2e; line-height: 1; }
