/* === AFitt Bistro — Sültestál előrendelés (DESIGN/CUSTOM_SITTESTAL 2026-10-07) ===
   Cream canvas, white cards, red primary CTA, Afitt Display HU headings.
   Scoped under .st-root; no global element styling. */

.st-page {
	background: var(--color-bg-cream, #fff7e8);
	color: var(--color-text-primary);
}

.st-root [hidden] { display: none !important; }

.st-wrap {
	width: min(1320px, 100% - 2 * var(--space-lg, 1.5rem));
	margin-inline: auto;
}

/* ============================== Hero ============================== */

.st-hero {
	padding: clamp(1.5rem, 4vw, 3.5rem) 0 clamp(1rem, 2vw, 2rem);
}

.st-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: clamp(1.25rem, 3vw, 2.5rem);
	align-items: center;
}

.st-hero__title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(2.4rem, 5.2vw, 4.4rem);
	line-height: 1.02;
	letter-spacing: -0.02em;
	margin: 0 0 0.6rem;
	color: var(--color-brand-charcoal, #211a16);
	font-synthesis: none;
}

.st-hero__sub {
	font-size: clamp(1rem, 1.6vw, 1.25rem);
	color: var(--color-text-secondary);
	margin: 0 0 1.25rem;
	max-width: 46ch;
}

.st-hero__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.st-hero__media { border-radius: var(--radius-xl, 1.5rem); overflow: hidden; }
.st-hero__media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

.st-chip--info {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: var(--color-bg-white, #fff);
	border: 1px solid var(--color-border-light, #eee);
	border-radius: var(--radius-full, 999px);
	padding: 0.5rem 0.95rem;
	font-weight: 700;
	font-size: 0.92rem;
	color: var(--color-brand-charcoal, #211a16);
}
.st-chip--info svg { color: var(--color-brand-red-bright, #e11b1c); flex: none; }

/* ============================== Paths ============================== */

.st-paths { padding: clamp(0.75rem, 2vw, 1.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); }

.st-paths__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 1.5rem);
	align-items: stretch;
}

.st-card {
	background: var(--color-bg-white, #fff);
	border-radius: var(--radius-lg, 1rem);
	box-shadow: var(--shadow-card, 0 2px 8px rgba(33, 26, 22, 0.08));
	padding: clamp(1rem, 2vw, 1.4rem);
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	min-width: 0;
}

.st-card__head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; justify-content: space-between; }
.st-card__title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(1.35rem, 2.1vw, 1.7rem);
	line-height: 1.08;
	margin: 0;
	color: var(--color-brand-charcoal, #211a16);
	font-synthesis: none;
	min-width: 0;
}

.st-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	background: var(--color-bg-cream, #fff7e8);
	border: 1px solid #f0e2c8;
	color: var(--color-brand-charcoal, #211a16);
	border-radius: var(--radius-full, 999px);
	padding: 0.3rem 0.75rem;
	font-weight: 700;
	font-size: 0.9rem;
	white-space: nowrap;
}
.st-badge svg { color: var(--color-brand-red-bright, #e11b1c); }

.st-card__media { border-radius: var(--radius-md, 0.75rem); overflow: hidden; }
.st-card__media img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.st-card__composition { margin: 0; color: var(--color-text-secondary); font-size: 0.95rem; line-height: 1.5; }
.st-card__allergens { margin: 0; color: var(--color-text-muted); font-size: 0.85rem; }

.st-card__price { display: flex; align-items: baseline; gap: 0.6rem; margin-top: auto; flex-wrap: wrap; }
.st-card__price strong {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(1.6rem, 2.4vw, 2rem);
	color: var(--color-brand-charcoal, #211a16);
}
.st-card__price span { color: var(--color-text-muted); font-size: 0.88rem; }

.st-inline-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.5rem;
	counter-reset: step;
	flex: 1;
}
.st-inline-steps li {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0.4rem;
	font-size: 0.88rem;
	color: var(--color-text-secondary);
}
.st-inline-steps li span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: var(--color-brand-red-bright, #e11b1c);
	color: #fff;
	font-weight: 800;
}

/* ============================== Buttons ============================== */

.st-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 46px;
	padding: 0.7rem 1.3rem;
	border-radius: var(--radius-full, 999px);
	border: 1px solid transparent;
	font-family: var(--font-ui, inherit);
	font-weight: 700;
	font-size: 1rem;
	cursor: pointer;
	transition: transform var(--transition-fast, 120ms ease), background-color 120ms ease, box-shadow 120ms ease;
}

.st-btn--primary { background: var(--color-brand-red-bright, #e11b1c); color: #fff; box-shadow: var(--shadow-button, 0 2px 6px rgba(225, 27, 28, 0.3)); }
.st-btn--primary:hover { background: var(--color-brand-red-bright-hover, #c41718); }
.st-btn--ghost { background: transparent; color: var(--color-brand-charcoal, #211a16); border-color: var(--color-border-medium, #ddd); }
.st-btn--dark { background: var(--color-brand-charcoal, #211a16); color: #fff; border-color: var(--color-brand-charcoal, #211a16); }
.st-btn--dark:hover { background: #000; border-color: #000; }
.st-btn--full { width: 100%; }
.st-btn:disabled { opacity: 0.55; cursor: not-allowed; box-shadow: none; }
.st-btn:active { transform: scale(0.985); }

.st-btn:focus-visible,
.st-hc:focus-visible,
.st-plate__step:focus-visible,
.st-picker__step:focus-visible,
.st-day:focus-visible,
.st-slotbtn:focus-visible,
.st-linkbtn:focus-visible,
.st-modal__close:focus-visible,
.st-note textarea:focus-visible,
.st-field select:focus-visible {
	outline: var(--focus-ring-width, 2px) solid var(--color-brand-red-bright, #e11b1c);
	outline-offset: 2px;
}

.st-linkbtn {
	background: none;
	border: 0;
	padding: 0.2rem;
	color: var(--color-brand-red-bright, #e11b1c);
	font-weight: 700;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ============================== Booking bar ============================== */

.st-booking { padding: 0 0 clamp(1.5rem, 3vw, 2.5rem); }

.st-booking__bar {
	background: var(--color-bg-white, #fff);
	border-radius: var(--radius-lg, 1rem);
	box-shadow: var(--shadow-card, 0 2px 8px rgba(33, 26, 22, 0.08));
	padding: 1rem 1.25rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.9rem;
}

.st-booking__label { display: flex; align-items: center; gap: 0.7rem; margin-right: auto; }
.st-booking__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.6rem;
	height: 2.6rem;
	border-radius: var(--radius-md, 0.75rem);
	background: #fdecec;
	color: var(--color-brand-red-bright, #e11b1c);
	flex: none;
}
.st-booking__label h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.25rem, 2vw, 1.6rem); margin: 0; color: var(--color-brand-charcoal, #211a16); }

.st-field select {
	min-height: 46px;
	padding: 0.55rem 2rem 0.55rem 0.9rem;
	border: 1px solid var(--color-border-medium, #ddd);
	border-radius: var(--radius-md, 0.75rem);
	background: var(--color-bg-white, #fff);
	font: inherit;
	font-weight: 600;
	color: var(--color-text-primary);
	min-width: 180px;
}

.st-booking__note { flex-basis: 100%; margin: 0; color: var(--color-text-muted); font-size: 0.92rem; }

/* ============================== Builder head ============================== */

.st-builder { padding: 0 0 clamp(2rem, 4vw, 3.5rem); }

.st-builder__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.st-builder__title { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.st-builder__head h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 3.4vw, 2.8rem); margin: 0; color: var(--color-brand-charcoal, #211a16); }

.st-stepnav { list-style: none; display: flex; align-items: center; justify-content: center; gap: clamp(0.5rem, 1.6vw, 1.25rem); margin: 0; padding: 0; }
.st-stepnav li {
	display: flex; align-items: center; gap: 0.5rem;
	color: var(--color-text-muted);
	font-family: var(--font-display);
	font-size: clamp(0.95rem, 1.1vw, 1.15rem);
	font-weight: 400;
	cursor: pointer;
	padding: 0.35rem 0.7rem;
	border-radius: 999px;
	transition: background 0.15s ease, color 0.15s ease, transform 0.12s ease;
}
.st-stepnav li:not(.is-locked):not(.is-active):hover { background: var(--color-bg-cream, #fff7e8); color: var(--color-brand-charcoal, #211a16); }
.st-stepnav li:not(.is-locked):not(.is-active):hover span { background: var(--color-brand-red-bright, #e11b1c); border-color: var(--color-brand-red-bright, #e11b1c); color: #fff; }
.st-stepnav li:not(.is-locked):active { transform: scale(0.97); }
.st-stepnav li.is-locked { cursor: not-allowed; opacity: 0.5; }
.st-stepnav li:focus-visible { outline: 2px solid var(--color-brand-red-bright, #e11b1c); outline-offset: 2px; }
.st-stepnav li + li::before { content: ''; width: clamp(18px, 3vw, 56px); height: 2px; background: var(--color-border-medium, #ddd); margin-right: clamp(0.25rem, 1vw, 0.75rem); }
.st-stepnav li span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	border: 2px solid var(--color-border-medium, #ddd);
	font-family: var(--font-display);
	font-weight: 400;
	background: var(--color-bg-white, #fff);
	flex: none;
	transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.st-stepnav li.is-active { color: var(--color-brand-charcoal, #211a16); }
.st-stepnav li.is-active span { background: var(--color-brand-red-bright, #e11b1c); border-color: var(--color-brand-red-bright, #e11b1c); color: #fff; }
.st-stepnav li.is-done span { background: var(--color-brand-charcoal, #211a16); border-color: var(--color-brand-charcoal, #211a16); color: #fff; }

.st-step { background: var(--color-bg-white, #fff); border-radius: var(--radius-lg, 1rem); box-shadow: var(--shadow-card, 0 2px 8px rgba(33, 26, 22, 0.08)); padding: clamp(1rem, 2.5vw, 1.75rem); }
.st-step__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0 0 0.35rem; color: var(--color-brand-charcoal, #211a16); }
.st-step__sub { margin: 0 0 1.25rem; color: var(--color-text-secondary); }
.st-step__actions { display: flex; justify-content: flex-end; gap: 0.75rem; margin-top: 1.25rem; }
.st-step__actions--split { justify-content: space-between; }

/* ============================== Step 1 — headcount ============================== */

.st-hc-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.75rem; }
.st-hc {
	min-height: 64px;
	border-radius: var(--radius-md, 0.75rem);
	border: 1.5px solid var(--color-border-light, #eee);
	background: var(--color-bg-white, #fff);
	font-family: var(--font-ui, inherit);
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--color-brand-charcoal, #211a16);
	cursor: pointer;
	transition: border-color 120ms ease, background-color 120ms ease, color 120ms ease;
}
.st-hc:hover { border-color: var(--color-brand-red-bright, #e11b1c); }
.st-hc.is-selected { background: var(--color-brand-red-bright, #e11b1c); border-color: var(--color-brand-red-bright, #e11b1c); color: #fff; }

.st-hc-summary {
	margin-top: 1.25rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	background: var(--color-bg-cream, #fff7e8);
	border: 1px solid #f0e2c8;
	border-radius: var(--radius-lg, 1rem);
	padding: 1rem 1.25rem;
}
.st-hc-summary strong { font-size: 1.15rem; color: var(--color-brand-charcoal, #211a16); display: inline-flex; align-items: center; gap: 0.5rem; }
.st-hc-summary p { margin: 0.2rem 0 0; color: var(--color-text-secondary); }
.st-hc-summary__right { display: flex; align-items: center; gap: 0.6rem; }
.st-hc-summary__icon { color: var(--color-brand-red-bright, #e11b1c); display: inline-flex; }
.st-hc-summary__right strong { font-size: 1.6rem; }

/* ============================== Step 2 — assemble ============================== */

.st-assemble { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(1rem, 2vw, 1.75rem); align-items: start; }

.st-platter { min-width: 0; }
.st-platter__head { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1rem; }
.st-platter__head h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 0; color: var(--color-brand-charcoal, #211a16); }

.st-group { margin-bottom: 1.25rem; }
.st-group__head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.75rem; flex-wrap: wrap; }
.st-group__head h4 { font-size: 1.15rem; font-weight: 800; margin: 0; color: var(--color-brand-charcoal, #211a16); }

.st-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	border-radius: var(--radius-full, 999px);
	padding: 0.35rem 0.85rem;
	font-weight: 700;
	font-size: 0.9rem;
	background: #f3f4f6;
	color: var(--color-text-secondary);
}
.st-chip.is-done { background: var(--status-green-bg, #e7f6ec); color: var(--status-green-fg, #166534); }
.st-chip.is-done::before { content: '✓'; font-weight: 800; }

.st-plates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.85rem; }
.st-plate { border: 1px solid var(--color-border-light, #eee); border-radius: var(--radius-md, 0.75rem); overflow: hidden; background: var(--color-bg-white, #fff); display: flex; flex-direction: column; }
.st-plate__media img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.st-plate__media--empty { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; background: #faf6ee; color: var(--color-text-muted); font-size: 0.85rem; text-align: center; padding: 0.5rem; }
.st-plate__body { padding: 0.7rem 0.8rem 0.85rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.st-plate__name { font-weight: 700; font-size: 0.98rem; color: var(--color-brand-charcoal, #211a16); line-height: 1.3; }
.st-plate__unit { color: var(--color-text-secondary); font-size: 0.9rem; }
.st-plate__row { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-top: auto; }

.st-stepper { display: inline-flex; align-items: center; gap: 0.4rem; }
.st-plate__step,
.st-picker__step {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid var(--color-border-medium, #ddd);
	background: var(--color-bg-white, #fff);
	cursor: pointer;
	color: var(--color-brand-charcoal, #211a16);
	flex: none;
}
.st-plate__step:hover:not(:disabled),
.st-picker__step:hover:not(:disabled) { border-color: var(--color-brand-red-bright, #e11b1c); color: var(--color-brand-red-bright, #e11b1c); }
.st-plate__step:disabled,
.st-picker__step:disabled { opacity: 0.4; cursor: not-allowed; }
.st-plate__qty,
.st-picker__qty {
	min-width: 2.2rem;
	text-align: center;
	font-weight: 800;
	font-size: 1.05rem;
	color: var(--color-brand-charcoal, #211a16);
}
.st-plate__qty.is-on,
.st-picker__qty.is-on { background: var(--status-green-bg, #e7f6ec); color: var(--status-green-fg, #166534); border-radius: var(--radius-sm, 0.5rem); padding: 0.15rem 0.3rem; }

.st-plates__empty { margin: 0; color: var(--color-text-muted); font-size: 0.92rem; }

.st-pricebar {
	margin-top: 1.25rem;
	display: flex;
	align-items: center;
	gap: 0.85rem;
	flex-wrap: wrap;
	background: var(--color-bg-cream, #fff7e8);
	border: 1px solid #f0e2c8;
	border-radius: var(--radius-lg, 1rem);
	padding: 0.9rem 1.1rem;
}
.st-pricebar__label { font-weight: 700; color: var(--color-text-secondary); }
.st-pricebar__value { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--color-brand-charcoal, #211a16); }
.st-pricebar__sub { color: var(--color-text-muted); font-size: 0.88rem; margin-right: auto; }

/* Sidebar picker */
.st-picker {
	background: var(--color-bg-cream, #fff7e8);
	border: 1px solid #f0e2c8;
	border-radius: var(--radius-lg, 1rem);
	padding: 1.1rem;
	position: sticky;
	top: calc(84px + env(safe-area-inset-top, 0px));
	min-width: 0;
}
@media (min-width: 1180px) { .st-picker { top: 96px; } }
.st-picker h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; margin: 0; color: var(--color-brand-charcoal, #211a16); }
.st-picker__sub { margin: 0.2rem 0 0.9rem; color: var(--color-text-secondary); font-size: 0.92rem; }
.st-picker__group { margin: 0.9rem 0 0.5rem; font-size: 1rem; font-weight: 800; color: var(--color-brand-charcoal, #211a16); }
.st-picker__rows { display: flex; flex-direction: column; gap: 0.5rem; }

.st-picker__row {
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.65rem;
	background: var(--color-bg-white, #fff);
	border: 1px solid var(--color-border-light, #eee);
	border-radius: var(--radius-md, 0.75rem);
	padding: 0.45rem 0.6rem;
}
.st-picker__row.is-locked { opacity: 0.55; }
.st-picker__thumb { width: 52px; height: 52px; border-radius: 0.6rem; overflow: hidden; background: #faf6ee; display: flex; align-items: center; justify-content: center; color: var(--color-text-muted); font-size: 0.7rem; }
.st-picker__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-picker__name { min-width: 0; font-size: 0.95rem; font-weight: 600; color: var(--color-brand-charcoal, #211a16); line-height: 1.3; }
.st-picker__meta { display: block; color: var(--color-text-muted); font-weight: 500; font-size: 0.8rem; }

/* ============================== Step 3 — schedule ============================== */

.st-summary-mini {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	background: var(--color-bg-cream, #fff7e8);
	border: 1px solid #f0e2c8;
	border-radius: var(--radius-md, 0.75rem);
	padding: 0.75rem 1rem;
	margin-bottom: 1.25rem;
	font-weight: 700;
	color: var(--color-brand-charcoal, #211a16);
}

.st-schedule { display: grid; gap: 1.25rem; }
.st-schedule__empty { margin: 0; color: var(--color-text-secondary); }

.st-cal__head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.75rem; }
.st-cal__month { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; color: var(--color-brand-charcoal, #211a16); }
.st-cal__nav {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--color-border-medium, #ddd);
	background: var(--color-bg-white, #fff);
	cursor: pointer;
}
.st-cal__nav:disabled { opacity: 0.35; cursor: not-allowed; }

.st-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.35rem; }
.st-cal__dow { text-align: center; font-size: 0.8rem; font-weight: 700; color: var(--color-text-muted); padding: 0.25rem 0; }
.st-day {
	min-height: 44px;
	border-radius: var(--radius-sm, 0.5rem);
	border: 1px solid transparent;
	background: transparent;
	font: inherit;
	font-weight: 700;
	color: var(--color-brand-charcoal, #211a16);
	cursor: pointer;
}
.st-day:hover:not(:disabled) { background: #fdecec; }
.st-day:disabled { color: var(--color-text-muted); opacity: 0.45; cursor: not-allowed; }
.st-day.is-na { color: var(--color-text-muted); opacity: 0.4; cursor: not-allowed; }
.st-day.is-closed { color: var(--color-text-muted); opacity: 0.55; cursor: not-allowed; text-decoration: line-through; }
.st-day.is-selected { background: var(--color-brand-red-bright, #e11b1c); color: #fff; }
.st-day.is-empty { visibility: hidden; }

.st-cal__legend { display: flex; gap: 1.1rem; margin-top: 0.75rem; color: var(--color-text-secondary); font-size: 0.85rem; flex-wrap: wrap; }
.st-cal__legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.st-cal__legend i { width: 0.8rem; height: 0.8rem; border-radius: 50%; display: inline-block; background: #e5e7eb; }
.st-cal__legend i.is-closed { background: transparent; border: 1px solid var(--color-text-muted); }
.st-cal__legend i.is-red { background: var(--color-brand-red-bright, #e11b1c); }

.st-slots h4 { margin: 0 0 0.6rem; font-size: 1.05rem; color: var(--color-brand-charcoal, #211a16); }
.st-slots__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; }
.st-slotbtn {
	min-height: 48px;
	border-radius: var(--radius-md, 0.75rem);
	border: 1px solid var(--color-border-medium, #ddd);
	background: var(--color-bg-white, #fff);
	font: inherit;
	font-weight: 700;
	color: var(--color-brand-charcoal, #211a16);
	cursor: pointer;
	padding: 0.4rem;
	line-height: 1.2;
}
.st-slotbtn small { display: block; font-weight: 600; font-size: 0.75rem; color: var(--color-text-muted); }
.st-slotbtn.is-selected { background: var(--color-brand-red-bright, #e11b1c); border-color: var(--color-brand-red-bright, #e11b1c); color: #fff; }
.st-slotbtn.is-selected small { color: #ffd9d9; }
.st-slotbtn:disabled { opacity: 0.45; cursor: not-allowed; }
.st-slots__empty { margin: 0; color: var(--color-text-muted); font-size: 0.92rem; }

/* ============================== Step 4 — review ============================== */

.st-review { display: grid; gap: 0.6rem; }
.st-review__row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px dashed var(--color-border-light, #eee); font-size: 0.98rem; }
.st-review__row:last-child { border-bottom: 0; }
.st-review__row dt { color: var(--color-text-secondary); font-weight: 600; }
.st-review__row dd { margin: 0; text-align: right; font-weight: 700; color: var(--color-brand-charcoal, #211a16); }
.st-review__items { margin: 0; padding-left: 0; list-style: none; }
.st-review__items li { margin-bottom: 0.2rem; }
.st-review__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 0.9rem; margin-top: 0.4rem; border-top: 2px solid var(--color-border-light, #eee); }
.st-review__total strong { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; color: var(--color-brand-charcoal, #211a16); }

.st-note { display: block; margin-top: 1rem; }
.st-note span { display: block; font-weight: 700; margin-bottom: 0.4rem; color: var(--color-brand-charcoal, #211a16); }
.st-note textarea {
	width: 100%;
	border: 1px solid var(--color-border-medium, #ddd);
	border-radius: var(--radius-md, 0.75rem);
	padding: 0.7rem 0.9rem;
	font: inherit;
	resize: vertical;
	min-height: 84px;
}

/* ============================== Mobile bar ============================== */

.st-mobilebar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 250;
	background: var(--color-bg-white, #fff);
	box-shadow: 0 -4px 18px rgba(33, 26, 22, 0.12);
	padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom, 0px));
	display: flex;
	align-items: center;
	gap: 0.9rem;
}
.st-mobilebar__info { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; margin-right: auto; }
.st-mobilebar__chip { font-size: 0.82rem; font-weight: 700; color: var(--color-text-secondary); }
.st-mobilebar__total { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; color: var(--color-brand-charcoal, #211a16); }
body.st-has-mobilebar .st-page { padding-bottom: 92px; }
@media (min-width: 900px) { .st-mobilebar { display: none !important; } }

/* ============================== Info block ============================== */

.st-info { padding: 0 0 clamp(2.5rem, 5vw, 4rem); }
.st-info__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.st-info__card { background: var(--color-bg-white, #fff); border-radius: var(--radius-lg, 1rem); box-shadow: var(--shadow-card, 0 2px 8px rgba(33, 26, 22, 0.08)); padding: 1.1rem 1.2rem; }
.st-info__card h3 { margin: 0 0 0.4rem; font-size: 1rem; font-weight: 800; color: var(--color-brand-charcoal, #211a16); }
.st-info__card p { margin: 0; color: var(--color-text-secondary); font-size: 0.92rem; line-height: 1.5; }

/* ============================== Fixed modal ============================== */

.st-modal { position: fixed; inset: 0; z-index: var(--z-modal, 1000); display: flex; align-items: flex-end; justify-content: center; }
.st-modal__backdrop { position: absolute; inset: 0; background: var(--color-overlay-backdrop, rgba(33, 26, 22, 0.5)); }
.st-modal__sheet {
	position: relative;
	background: var(--color-bg-white, #fff);
	border-radius: var(--radius-xl, 1.5rem) var(--radius-xl, 1.5rem) 0 0;
	width: min(560px, 100%);
	max-height: min(86vh, 780px);
	overflow: auto;
	padding: 1.1rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
	box-shadow: var(--shadow-modal);
}
.st-modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.85rem; }
.st-modal__head h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; margin: 0; color: var(--color-brand-charcoal, #211a16); }
.st-modal__close {
	width: 40px; height: 40px; border-radius: 50%;
	border: 1px solid var(--color-border-medium, #ddd);
	background: var(--color-bg-white, #fff);
	font-size: 1.4rem; line-height: 1; cursor: pointer; flex: none;
}
.st-fixed__media { border-radius: var(--radius-md, 0.75rem); overflow: hidden; margin-bottom: 0.85rem; }
.st-fixed__media img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.st-fixed__row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.5rem 0; }
.st-fixed__row dt { color: var(--color-text-secondary); font-weight: 600; }
.st-fixed__row dd { margin: 0; font-weight: 700; }
.st-fixed__total { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px solid var(--color-border-light, #eee); margin-top: 0.5rem; padding-top: 0.75rem; }
.st-fixed__total strong { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; color: var(--color-brand-charcoal, #211a16); }
.st-fixed__hint { color: var(--color-text-muted); font-size: 0.88rem; margin: 0.5rem 0 0; }

/* ============================== Toast ============================== */

.st-toast {
	position: fixed;
	left: 50%;
	bottom: 24px;
	transform: translateX(-50%) translateY(12px);
	background: var(--color-brand-charcoal, #211a16);
	color: #fff;
	border-radius: var(--radius-md, 0.75rem);
	padding: 0.7rem 1.1rem;
	max-width: min(560px, calc(100vw - 2rem));
	opacity: 0;
	pointer-events: none;
	transition: opacity 160ms ease, transform 160ms ease;
	z-index: 1200;
	font-size: 0.95rem;
}
.st-toast.is-open { opacity: 1; transform: translateX(-50%) translateY(0); }
.st-toast.is-error { background: #8f1414; }

/* ============================== Responsive ============================== */

@media (max-width: 1179px) {
	.st-assemble { grid-template-columns: minmax(0, 1fr); }
	.st-picker { position: static; }
}

@media (max-width: 899px) {
	.st-hero__grid { grid-template-columns: minmax(0, 1fr); }
	.st-hero__media { order: -1; }
	.st-paths__grid { grid-template-columns: minmax(0, 1fr); }
	.st-hc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.st-plates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.st-info__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.st-stepnav li { font-size: 0; gap: 0; }
	.st-stepnav li span { font-size: 0.95rem; }
	.st-stepnav li + li::before { margin-right: 0; }
	.st-slots__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 639px) {
	.st-hc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.st-plates { grid-template-columns: minmax(0, 1fr); }
	.st-info__grid { grid-template-columns: minmax(0, 1fr); }
	.st-booking__bar > * { flex: 1 1 100%; }
	.st-booking__label { margin-right: 0; }
	.st-field select { width: 100%; }
	.st-btn { min-height: 48px; }
	.st-step__actions { flex-direction: column-reverse; }
	.st-step__actions .st-btn { width: 100%; }
	.st-pricebar .st-btn { width: 100%; }
	.st-modal { align-items: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
	.st-btn, .st-toast { transition: none; }
	.st-btn:active { transform: none; }
}

@media print {
	.st-booking, .st-builder, .st-mobilebar, .st-toast, .st-modal { display: none !important; }
	.st-root { background: #fff; }
}

/* --- V2: piece/block model, extras, search, premium badge --------------- */
.st-picker__search { padding: 0 0 12px; }
.st-picker__search input {
	width: 100%; box-sizing: border-box; padding: 10px 12px;
	border: 1px solid rgba(33, 26, 22, .18); border-radius: 10px;
	font: inherit; background: #fff; color: inherit;
}
.st-picker__row[hidden] { display: none !important; }
.st-badge--premium {
	background: #E11B1C; color: #fff; margin-left: 8px;
	font-size: 11px; line-height: 1.6; padding: 1px 8px; border-radius: 999px;
	vertical-align: middle; letter-spacing: .02em;
}
.st-plate__unit { font-variant-numeric: tabular-nums; }
.st-chip { font-variant-numeric: tabular-nums; }


/* =====================================================================
   UX redesign (2026-10-10) — compact catalog + persistent "A tálad".
   Piece/block V2 model unchanged; this is presentation + JS only.
   ===================================================================== */

/* Builder page state: hero / path cards / booking bar make way for the head */
.st-root.is-builder .st-hero,
.st-root.is-builder .st-paths,
.st-root.is-builder .st-booking { display: none !important; }
body.st-no-scroll { overflow: hidden; }

/* --- Compact builder header --------------------------------------------- */
.st-bhead {
	display: grid;
	grid-template-columns: auto 1fr auto;
	grid-template-areas: 'back title hc' 'nav nav nav';
	align-items: center;
	gap: 0.5rem 1rem;
	padding: 0.5rem 0 1rem;
}
.st-bhead__back {
	grid-area: back;
	display: inline-flex; align-items: center; gap: 0.4rem;
	background: transparent; border: 0; cursor: pointer;
	font: inherit; font-weight: 700; color: var(--color-brand-red-bright, #e11b1c);
	padding: 0.4rem 0.2rem;
}
.st-bhead__back svg { transform: rotate(180deg); }
.st-bhead__back:hover { color: var(--color-brand-red-bright-hover, #c41718); }
.st-bhead__title {
	grid-area: title;
	font-family: var(--font-display); font-weight: 400;
	font-size: clamp(1.3rem, 2.4vw, 1.9rem); margin: 0;
	color: var(--color-brand-charcoal, #211a16);
	min-width: 0; overflow-wrap: anywhere;
	text-align: center;
}
.st-bhead__hc {
	grid-area: hc;
	background: var(--color-brand-charcoal, #211a16);
	border: 1px solid var(--color-brand-charcoal, #211a16);
	border-radius: 999px; padding: 0.4rem 0.85rem;
	font: inherit; font-weight: 700; color: #fff;
	cursor: pointer; white-space: nowrap;
}
.st-bhead__hc:hover { background: var(--color-brand-red-bright, #e11b1c); border-color: var(--color-brand-red-bright, #e11b1c); color: #fff; }
.st-bhead .st-stepnav { grid-area: nav; flex-wrap: wrap; row-gap: 0.4rem; justify-content: center; }

/* --- Two-column assembler grid ------------------------------------------ */
.st-assemble { display: block; }
.st-builder-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
	gap: clamp(1rem, 2vw, 1.75rem);
	align-items: start;
}
/* Flex column so the tab pills, the filter bar and the product listing are
   always separated by a consistent gap (the filter bar is hidden on the
   side/extra tabs, which previously left the pills flush against the grid). */
.st-catalog { min-width: 0; display: flex; flex-direction: column; gap: 1rem; }

/* --- Tabs / chips / search --------------------------------------------- */
.st-tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.st-tab {
	display: inline-flex; align-items: center; gap: 0.45rem;
	background: var(--color-bg-white, #fff);
	border: 1px solid var(--color-border-light, #eee);
	border-radius: 999px; padding: 0.5rem 0.9rem;
	font: inherit; font-weight: 700; font-size: 0.95rem;
	color: var(--color-brand-charcoal, #211a16); cursor: pointer;
	min-width: 0; max-width: 100%;
}
.st-tab:hover { border-color: var(--color-brand-red-bright, #e11b1c); }
.st-tab.is-active { background: var(--color-brand-charcoal, #211a16); border-color: var(--color-brand-charcoal, #211a16); color: #fff; }
.st-tab__count { font-weight: 600; font-size: 0.82rem; color: var(--color-text-muted); }
.st-tab.is-active .st-tab__count { color: #f3d9b9; }

.st-catbar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin: 0; }
.st-chips { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.st-chipbtn {
	background: var(--color-bg-white, #fff); border: 1px solid var(--color-border-medium, #ddd);
	border-radius: 999px; padding: 0.35rem 0.75rem; font: inherit; font-size: 0.88rem;
	font-weight: 600; color: var(--color-text-secondary); cursor: pointer;
}
.st-chipbtn:hover { border-color: var(--color-brand-red-bright, #e11b1c); }
.st-chipbtn.is-active { background: var(--color-brand-red-bright, #e11b1c); border-color: var(--color-brand-red-bright, #e11b1c); color: #fff; }
.st-search {
	flex: 1 1 170px; min-width: 150px; box-sizing: border-box;
	padding: 0.5rem 0.75rem; border: 1px solid var(--color-border-medium, #ddd);
	border-radius: 10px; font: inherit; background: #fff; color: inherit;
}

/* --- Compact catalog cards --------------------------------------------- */
.st-catgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; }
.st-catgrid__empty { grid-column: 1 / -1; margin: 0; padding: 1.5rem; text-align: center; color: var(--color-text-muted); }
.st-catgrid__head { grid-column: 1 / -1; margin: 0.15rem 0 0; font-weight: 700; font-size: 0.92rem; color: var(--color-brand-charcoal, #211a16); }
.st-catgrid__hint { grid-column: 1 / -1; margin: 0 0 0.6rem; }
.st-catgrid__lead { margin: 0; font-size: 0.98rem; color: var(--color-brand-charcoal, #211a16); }
.st-catgrid__sub { margin: 0.2rem 0 0; font-size: 0.9rem; color: var(--color-text-secondary); }
.st-catgrid__help { margin: 0.3rem 0 0; font-size: 0.84rem; color: var(--color-text-muted); }
.st-catgrid__hint p + p { margin-top: 0.2rem; }
.st-srowgroup__head { margin: 0.5rem 0 0.15rem; font-weight: 700; font-size: 0.86rem; color: var(--color-brand-charcoal, #211a16); }
.st-srowgroup__head:first-child { margin-top: 0; }

.st-card2 {
	position: relative; display: flex; flex-direction: column;
	background: var(--color-bg-white, #fff);
	border: 1px solid var(--color-border-light, #eee);
	border-radius: var(--radius-md, 0.75rem);
	overflow: hidden; min-width: 0;
}
.st-card2.is-selected { border-color: var(--color-brand-red-bright, #e11b1c); box-shadow: 0 0 0 1px var(--color-brand-red-bright, #e11b1c) inset; }
.st-card2.is-locked { opacity: 0.55; }
.st-card2__media { position: relative; background: #faf6ee; }
.st-card2__media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.st-card2__ph { display: block; width: 100%; aspect-ratio: 4 / 3; }
.st-card2__badge {
	position: absolute; top: 0.4rem; left: 0.4rem;
	background: var(--color-brand-red-bright, #e11b1c); color: #fff;
	font-size: 0.68rem; font-weight: 700; line-height: 1.5;
	padding: 0.05rem 0.45rem; border-radius: 999px;
}
.st-card2__body { display: flex; flex-direction: column; gap: 0.2rem; padding: 0.55rem 0.6rem 0.35rem; flex: 1; min-width: 0; }
.st-card2__name { font-weight: 700; font-size: 0.92rem; line-height: 1.25; color: var(--color-brand-charcoal, #211a16); overflow-wrap: anywhere; }
.st-card2__unit { color: var(--color-text-secondary); font-size: 0.82rem; font-variant-numeric: tabular-nums; }
.st-card2__price { font-size: 0.82rem; font-weight: 700; color: var(--color-brand-charcoal, #211a16); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.st-card2.is-selected .st-card2__price { color: var(--color-brand-red-bright, #e11b1c); }
.st-card2__info-btn {
	position: absolute; top: 0.4rem; right: 0.4rem;
	width: 28px; height: 28px; border-radius: 50%;
	border: 1px solid var(--color-border-medium, #ddd); background: rgba(255,255,255,.92);
	font: inherit; font-weight: 800; font-style: italic; color: var(--color-brand-charcoal, #211a16);
	cursor: pointer; line-height: 1;
}
.st-card2__ctrl {
	display: flex; align-items: center; justify-content: space-between; gap: 0.4rem;
	padding: 0 0.6rem 0.6rem;
}
.st-card2__step {
	width: 44px; height: 44px; border-radius: 10px;
	border: 1px solid var(--color-border-medium, #ddd); background: #fff;
	font-size: 1.2rem; line-height: 1; font-weight: 700; cursor: pointer; color: var(--color-brand-charcoal, #211a16);
}
.st-card2__step:hover:not(:disabled) { border-color: var(--color-brand-red-bright, #e11b1c); color: var(--color-brand-red-bright, #e11b1c); }
/* The "+" is the brand-red affordance (filled); the "−" stays as before. */
.st-card2__step[data-card-plus] { background: var(--color-brand-red-bright, #e11b1c); border-color: var(--color-brand-red-bright, #e11b1c); color: #fff; }
.st-card2__step[data-card-plus]:hover:not(:disabled) { background: #c41718; border-color: #c41718; color: #fff; }
.st-card2__step:disabled { opacity: 0.4; cursor: not-allowed; }
.st-card2__qty { min-width: 2ch; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.st-card2__info { grid-column: 1 / -1; padding: 0 0.6rem 0.6rem; font-size: 0.82rem; color: var(--color-text-secondary); }
.st-card2__info p { margin: 0.2rem 0 0; }

/* --- Pager ------------------------------------------------------------- */
.st-pager { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-top: 1rem; }
.st-pager__btn {
	width: 44px; height: 44px; border-radius: 50%;
	border: 1px solid var(--color-border-medium, #ddd); background: #fff;
	font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--color-brand-charcoal, #211a16);
}
.st-pager__btn:disabled { opacity: 0.35; cursor: not-allowed; }
.st-pager__label { font-weight: 700; font-variant-numeric: tabular-nums; }

/* --- Persistent "A tálad" summary -------------------------------------- */
.st-summary {
	position: sticky;
	top: calc(84px + env(safe-area-inset-top, 0px));
	background: var(--color-bg-cream, #fff7e8);
	border: 1px solid #f0e2c8;
	border-radius: var(--radius-lg, 1rem);
	padding: 1rem 1.05rem;
	min-width: 0;
	display: flex; flex-direction: column; gap: 0.7rem;
}
.st-summary__head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; }
.st-summary__head h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; margin: 0; color: var(--color-brand-charcoal, #211a16); }
.st-template {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
	background: #fff; border: 1px dashed var(--color-border-medium, #ddd); border-radius: 10px;
	padding: 0.5rem 0.7rem; font: inherit; font-weight: 700; font-size: 0.9rem;
	color: var(--color-brand-charcoal, #211a16); cursor: pointer;
}
.st-template:hover { border-color: var(--color-brand-red-bright, #e11b1c); }
.st-template [data-template-label] { font-weight: 500; color: var(--color-text-muted); }
.st-frames { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.st-frame {
	font-size: 0.8rem; font-weight: 700; padding: 0.25rem 0.6rem; border-radius: 999px;
	background: #fff; border: 1px solid var(--color-border-medium, #ddd); color: var(--color-text-secondary);
	font-variant-numeric: tabular-nums;
}
.st-frame.is-done { background: var(--status-green-bg, #e7f6ec); border-color: transparent; color: var(--status-green-fg, #166534); }
.st-frame.is-missing { background: #fdecec; border-color: transparent; color: #8f1414; }

.st-srows { display: flex; flex-direction: column; gap: 0.3rem; }
.st-srows__empty { margin: 0; font-size: 0.86rem; color: var(--color-text-muted); }
.st-srow { display: grid; grid-template-columns: minmax(0, 1fr) auto 32px; align-items: center; gap: 0.5rem; padding: 0.3rem 0; border-bottom: 1px dashed var(--color-border-light, #eee); }
.st-srow:last-child { border-bottom: 0; }
.st-srow__name { font-weight: 600; font-size: 0.9rem; min-width: 0; overflow-wrap: anywhere; color: var(--color-brand-charcoal, #211a16); }
.st-srow__unit { font-size: 0.8rem; color: var(--color-text-secondary); white-space: nowrap; font-variant-numeric: tabular-nums; }
.st-srow__minus {
	width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--color-border-medium, #ddd);
	background: #fff; font-size: 1rem; line-height: 1; cursor: pointer; color: var(--color-brand-charcoal, #211a16);
}
.st-srow__minus:hover { border-color: var(--color-brand-red-bright, #e11b1c); color: var(--color-brand-red-bright, #e11b1c); }

.st-missing {
	display: block; width: 100%; text-align: left; margin: 0; padding: 0;
	background: transparent; border: 0; cursor: pointer;
	font: inherit; font-size: 0.86rem; font-weight: 600; color: #8f1414;
}
.st-missing:hover { text-decoration: underline; }
.st-summary__total { display: flex; align-items: baseline; justify-content: space-between; border-top: 2px solid #efe0c4; padding-top: 0.6rem; }
.st-summary__total[hidden] { display: none; }
.st-summary__total span { color: var(--color-text-secondary); font-weight: 600; }
.st-summary__total strong { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; color: var(--color-brand-charcoal, #211a16); }

.st-breakdown { border-top: 1px dashed var(--color-border-light, #eee); padding-top: 0.5rem; }
.st-breakdown summary { cursor: pointer; font-weight: 700; font-size: 0.9rem; color: var(--color-text-secondary); }
.st-breakdown__body { padding-top: 0.4rem; }
.st-bdrow { display: flex; justify-content: space-between; gap: 0.75rem; padding: 0.18rem 0; font-size: 0.88rem; }
.st-bdrow span:last-child { font-variant-numeric: tabular-nums; }
.st-breakdown__pending { margin: 0; font-size: 0.86rem; color: var(--color-text-muted); }

/* --- Mobile bar / sheet / swap ----------------------------------------- */
.st-mbar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 250;
	display: flex; align-items: center; gap: 0.7rem;
	background: var(--color-bg-white, #fff);
	box-shadow: 0 -4px 18px rgba(33, 26, 22, 0.12);
	padding: 0.6rem 0.9rem calc(0.6rem + env(safe-area-inset-bottom, 0px));
}
.st-mbar__info { display: flex; flex-direction: column; min-width: 0; margin-right: auto; }
.st-mbar__frame { font-size: 0.78rem; font-weight: 700; color: var(--color-text-secondary); font-variant-numeric: tabular-nums; }
.st-mbar__total { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; color: var(--color-brand-charcoal, #211a16); }
.st-mbar__sheet {
	background: transparent; border: 0; cursor: pointer; font: inherit; font-weight: 700;
	color: var(--color-brand-red-bright, #e11b1c); padding: 0.5rem 0.4rem;
}
body.st-has-mbar .st-page { padding-bottom: 96px; }
@media (min-width: 900px) { .st-mbar { display: none !important; } }

.st-sheet { position: fixed; inset: 0; z-index: var(--z-modal, 1000); display: flex; align-items: flex-end; justify-content: center; }
.st-sheet__backdrop { position: absolute; inset: 0; background: var(--color-overlay-backdrop, rgba(33, 26, 22, 0.5)); }
.st-sheet__panel {
	position: relative; background: #fff; width: 100%; max-width: 640px;
	max-height: 86vh; overflow: auto; display: flex; flex-direction: column;
	border-radius: var(--radius-xl, 1.5rem) var(--radius-xl, 1.5rem) 0 0;
	padding: 1rem 1.1rem calc(1.1rem + env(safe-area-inset-bottom, 0px));
	box-shadow: var(--shadow-modal);
}
.st-sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.75rem; }
.st-sheet__head h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; margin: 0; color: var(--color-brand-charcoal, #211a16); }
.st-sheet__close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--color-border-medium, #ddd); background: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; }
.st-sheet__frames { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.75rem; }
.st-sheet__group { margin-bottom: 0.75rem; }
.st-sheet__group h4 { margin: 0 0 0.3rem; font-size: 0.95rem; font-weight: 800; color: var(--color-brand-charcoal, #211a16); }
.st-sheet__totals { border-top: 2px solid #efe0c4; padding-top: 0.6rem; }

.st-swap { position: fixed; inset: 0; z-index: var(--z-modal, 1000); display: flex; align-items: center; justify-content: center; padding: 1rem; }
.st-swap__backdrop { position: absolute; inset: 0; background: var(--color-overlay-backdrop, rgba(33, 26, 22, 0.5)); }
.st-swap__panel {
	position: relative; width: min(460px, 100%); max-height: 86vh; overflow: auto;
	background: #fff; border-radius: var(--radius-lg, 1rem);
	padding: 1.1rem 1.2rem; box-shadow: var(--shadow-modal);
}
.st-swap__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; }
.st-swap__head h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; margin: 0; color: var(--color-brand-charcoal, #211a16); }
.st-swap__close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--color-border-medium, #ddd); background: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; }
.st-swap__target { margin: 0.4rem 0 0.8rem; color: var(--color-text-secondary); font-size: 0.92rem; }
.st-swap__list { display: flex; flex-direction: column; gap: 0.4rem; }
.st-swap__item {
	display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
	background: var(--color-bg-cream, #fff7e8); border: 1px solid #f0e2c8; border-radius: 10px;
	padding: 0.6rem 0.8rem; font: inherit; text-align: left; cursor: pointer; color: var(--color-brand-charcoal, #211a16);
}
.st-swap__item:hover { border-color: var(--color-brand-red-bright, #e11b1c); }
.st-swap__item-name { font-weight: 700; font-size: 0.92rem; min-width: 0; overflow-wrap: anywhere; }
.st-swap__item-qty { font-size: 0.82rem; color: var(--color-text-secondary); white-space: nowrap; font-variant-numeric: tabular-nums; }
.st-swap__hint { margin: 0.8rem 0 0; font-size: 0.82rem; color: var(--color-text-muted); }

/* --- Redesign responsive ------------------------------------------------- */
@media (min-width: 1180px) { .st-summary { top: 96px; } }

@media (max-width: 1365px) {
	.st-catgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1179px) {
	.st-builder-grid { grid-template-columns: minmax(0, 1fr); }
	.st-summary { position: static; }
}

@media (max-width: 899px) {
	.st-bhead { grid-template-columns: 1fr auto; grid-template-areas: 'title hc' 'nav nav' 'back back'; }
	.st-bhead__back { justify-self: start; }
	.st-bhead__hc { font-size: 0.9rem; }
	.st-catgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.st-summary { display: none; }   /* mobile uses the bottom sheet */
	.st-catbar { gap: 0.4rem; }
}

@media (max-width: 480px) {
	.st-catgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.55rem; }
	.st-card2__name { font-size: 0.86rem; }
	.st-mbar__total { font-size: 1.05rem; }
}

@media print {
	.st-mbar, .st-sheet, .st-swap { display: none !important; }
}

/* Visible keyboard focus for every redesign control */
.st-tab:focus-visible,
.st-chipbtn:focus-visible,
.st-search:focus-visible,
.st-pager__btn:focus-visible,
.st-card2__step:focus-visible,
.st-card2__info-btn:focus-visible,
.st-srow__minus:focus-visible,
.st-template:focus-visible,
.st-load-template:focus-visible,
.st-bhead__back:focus-visible,
.st-bhead__hc:focus-visible,
.st-missing:focus-visible,
.st-swap__item:focus-visible,
.st-swap__close:focus-visible,
.st-sheet__close:focus-visible,
.st-mbar__sheet:focus-visible {
	outline: 2px solid var(--color-brand-red-bright, #e11b1c);
	outline-offset: 2px;
}

.st-inquiry-content { padding-top:24px; padding-bottom:64px; }
.st-inquiry-platters { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.st-inquiry-platter { display:flex; flex-direction:column; align-items:flex-start; gap:16px; min-width:0; padding:24px; background:#fff; border-radius:20px; }
.st-inquiry-platter img { width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:14px; }
.st-inquiry-platter h3 { margin:0; }
.st-inquiry-platter strong { font-size:1.3rem; }
.st-inquiry-platter a { margin-top:auto; }
@media (max-width:640px) { .st-inquiry-platters { grid-template-columns:1fr; } }
