/* E-Meni public menu. Venue colors arrive as CSS variables from the template. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 150px; }
body {
	margin: 0;
	background: var(--em-bg);
	color: var(--em-ink);
	font: 400 15px/1.5 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	font-variant-numeric: tabular-nums;
	-webkit-font-smoothing: antialiased;
	-webkit-tap-highlight-color: transparent;
	min-height: 100vh;
	min-height: 100dvh;
}
:root {
	--em-pad: 20px;
	--em-w: 640px;
	--em-r: 16px;
	--em-ease: cubic-bezier(.22, .8, .24, 1);
	--em-accent-ink: #fff;
	--em-soft: color-mix(in srgb, var(--em-ink) 6%, transparent);
	--em-soft-2: color-mix(in srgb, var(--em-ink) 10%, transparent);
	--em-accent-soft: color-mix(in srgb, var(--em-accent) 16%, transparent);
	color-scheme: light;
}
.em-dark { --em-accent-ink: #141210; color-scheme: dark; }
body.has-sheet { overflow: hidden; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--em-accent); outline-offset: 2px; border-radius: 6px; }
.em-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.em-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--em-ink); color: var(--em-bg); padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.em-skip:focus { top: 12px; }
.em-i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.em-preview-bar { position: sticky; top: 0; z-index: 60; background: #f2c14e; color: #2a1d00; text-align: center; padding: 8px 12px; font-size: 13px; font-weight: 600; }

.em-app { max-width: var(--em-w); margin: 0 auto; position: relative; }
@media (min-width: 720px) {
	body { background: color-mix(in srgb, var(--em-bg) 88%, var(--em-ink)); }
	.em-app { background: var(--em-bg); min-height: 100vh; box-shadow: 0 0 0 1px var(--em-line); }
	.em-embed body { background: var(--em-bg); }
	.em-embed .em-app { box-shadow: none; }
}

/* Boot ---------------------------------------------------------------- */
.em-boot { min-height: 70vh; display: grid; place-content: center; gap: 18px; text-align: center; }
.em-boot__name { font-family: var(--em-display); font-size: 30px; }
.em-boot__bar { width: 120px; height: 2px; margin: 0 auto; background: var(--em-soft-2); overflow: hidden; position: relative; }
.em-boot__bar::after { content: ""; position: absolute; inset: 0; width: 40%; background: var(--em-accent); animation: em-load 1s var(--em-ease) infinite; }
@keyframes em-load { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.em-noscript { padding: 24px; }

/* Top bar ------------------------------------------------------------- */
.em-bar { position: sticky; top: 0; z-index: 30; height: 0; }
.em-bar__in {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	height: 56px; padding: 0 12px 0 var(--em-pad);
	padding-top: env(safe-area-inset-top);
	transition: background .3s, box-shadow .3s;
}
.em-bar.is-compact .em-bar__in { background: color-mix(in srgb, var(--em-bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); box-shadow: 0 1px 0 var(--em-line); }
.em-bar__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s var(--em-ease); pointer-events: none; }
.em-bar.is-compact .em-bar__brand { opacity: 1; transform: none; pointer-events: auto; }
.em-bar__brand img { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; }
.em-mono { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--em-accent); color: var(--em-accent-ink); font: 600 12px/1 'Geist', sans-serif; letter-spacing: .04em; }
.em-bar__name { font-family: var(--em-display); font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.em-bar__tools { display: flex; align-items: center; gap: 6px; }
.em-lang { display: inline-flex; padding: 3px; border-radius: 99px; background: color-mix(in srgb, var(--em-bg) 70%, transparent); box-shadow: inset 0 0 0 1px var(--em-line); backdrop-filter: blur(10px); }
.em-lang button { border: 0; background: none; min-width: 36px; height: 28px; border-radius: 99px; font-size: 12px; font-weight: 600; letter-spacing: .04em; cursor: pointer; color: var(--em-muted); transition: background .2s, color .2s; }
.em-lang button[aria-pressed="true"] { background: var(--em-ink); color: var(--em-bg); }
.em-icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; background: color-mix(in srgb, var(--em-bg) 70%, transparent); box-shadow: inset 0 0 0 1px var(--em-line); cursor: pointer; backdrop-filter: blur(10px); }
.em-icon-btn:active { transform: scale(.94); }

/* Hero ---------------------------------------------------------------- */
.em-hero { position: relative; padding: calc(84px + env(safe-area-inset-top)) var(--em-pad) 26px; overflow: hidden; isolation: isolate; }
.em-hero.has-cover { min-height: 340px; display: flex; align-items: flex-end; color: #fff; padding-top: 140px; }
.em-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: em-zoom 14s ease-out both; }
.em-hero.has-cover::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.05) 26%, rgba(0,0,0,.62) 58%, rgba(0,0,0,.82) 82%, var(--em-bg) 100%); }
.em-light .em-hero.has-cover::after { background: linear-gradient(180deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,.05) 26%, rgba(0,0,0,.58) 62%, rgba(0,0,0,.74) 100%); }
.em-hero.has-cover .em-hero__name, .em-hero.has-cover .em-hero__tag { text-shadow: 0 2px 24px rgba(0,0,0,.45); }
@keyframes em-zoom { from { transform: scale(1.08); } }
/* Light palettes: cover sits above the title as a banner, text stays ink on paper. */
.em-light .em-hero.has-cover { display: block; min-height: 0; padding-top: 0; color: var(--em-ink); }
.em-light .em-hero.has-cover::after { display: none; }
.em-light .em-hero.has-cover .em-hero__img { position: relative; z-index: 0; width: calc(100% + var(--em-pad) * 2); max-width: none; height: 250px; margin: 0 calc(var(--em-pad) * -1) 24px; border-radius: 0 0 28px 28px; }
.em-light .em-hero.has-cover .em-hero__name, .em-light .em-hero.has-cover .em-hero__tag { text-shadow: none; }
.em-light .em-hero.has-cover .em-hero__tag { color: var(--em-muted); }
.em-light .em-hero__img { animation: none; }
.em-hero__in { position: relative; width: 100%; }
.em-hero__name { font-family: var(--em-display); font-weight: 600; font-size: clamp(38px, 11vw, 56px); line-height: .98; letter-spacing: -.02em; margin: 0; text-wrap: balance; animation: em-rise .7s var(--em-ease) both; }
.em-hero__tag { margin: 12px 0 0; font-size: 16px; color: var(--em-muted); max-width: 30ch; animation: em-rise .7s .08s var(--em-ease) both; }
.em-hero.has-cover .em-hero__tag { color: rgba(255,255,255,.82); }
.em-hero__mode { margin: 14px 0 0; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--em-muted); }
.em-demo { display: inline-block; margin-bottom: 14px; padding: 4px 10px; border-radius: 99px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; box-shadow: inset 0 0 0 1px currentColor; opacity: .75; }
.em-table-chip { display: inline-flex; align-items: baseline; gap: 8px; margin: 18px 0 0; padding: 8px 14px 8px 12px; border-radius: 12px; background: var(--em-accent); color: var(--em-accent-ink); animation: em-rise .7s .16s var(--em-ease) both; }
.em-table-chip span { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; opacity: .8; }
.em-table-chip strong { font-size: 20px; line-height: 1; }
.em-table-chip em { font-style: normal; font-size: 13px; opacity: .8; }
@keyframes em-rise { from { opacity: 0; transform: translateY(14px); } }

/* Sticky search + chips ------------------------------------------------ */
.em-sticky { position: sticky; top: 56px; z-index: 20; padding: 8px 0 0; background: var(--em-bg); box-shadow: 0 1px 0 var(--em-line); }
.em-search { position: relative; margin: 0 var(--em-pad); display: flex; align-items: center; }
.em-search > .em-i { position: absolute; left: 14px; color: var(--em-muted); pointer-events: none; }
.em-search input {
	width: 100%; height: 46px; padding: 0 44px; border-radius: 14px; border: 0;
	background: var(--em-soft); color: var(--em-ink); font: inherit; font-size: 16px;
	box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .2s, background .2s;
	-webkit-appearance: none; appearance: none;
}
.em-search input::placeholder { color: var(--em-muted); }
.em-search input::-webkit-search-cancel-button { display: none; }
.em-search input:focus { outline: none; background: var(--em-surface); box-shadow: inset 0 0 0 1.5px var(--em-accent); }
.em-search__clear { position: absolute; right: 6px; width: 36px; height: 36px; border: 0; border-radius: 10px; background: none; display: grid; place-items: center; cursor: pointer; color: var(--em-muted); }
.em-chips { display: flex; gap: 6px; overflow-x: auto; padding: 10px var(--em-pad) 10px; scrollbar-width: none; scroll-snap-type: x proximity; }
.em-chips::-webkit-scrollbar { display: none; }
.em-chip { flex: none; scroll-snap-align: start; padding: 8px 14px; border-radius: 99px; text-decoration: none; font-size: 14px; font-weight: 500; color: var(--em-muted); white-space: nowrap; box-shadow: inset 0 0 0 1px var(--em-line); transition: background .25s, color .25s, box-shadow .25s; }
.em-chip[aria-current="true"] { background: var(--em-ink); color: var(--em-bg); box-shadow: none; }
.is-searching .em-chips { display: none; }
.is-searching .em-sticky { padding-bottom: 10px; }

/* Sections ------------------------------------------------------------ */
.em-main { padding-bottom: 24px; outline: none; }
.em-sec { padding: 34px 0 8px; }
.em-sec__head { padding: 0 var(--em-pad); margin-bottom: 14px; }
.em-sec__title { font-family: var(--em-display); font-weight: 600; font-size: 30px; line-height: 1.05; letter-spacing: -.015em; margin: 0; }
.em-sec__sub { margin: 6px 0 0; color: var(--em-muted); font-size: 14px; max-width: 46ch; }
.em-sub { padding: 22px var(--em-pad) 4px; }
.em-sub__title { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--em-accent); }
.em-eyebrow { display: block; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--em-accent); margin-bottom: 6px; }
.em-notice { margin: 18px var(--em-pad) 0; padding: 14px 16px; border-radius: 14px; background: var(--em-soft); display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.em-notice span { color: var(--em-muted); }

/* Items --------------------------------------------------------------- */
.em-item { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 104px; gap: 16px; padding: 16px var(--em-pad); }
.em-item + .em-item::before { content: ""; position: absolute; top: 0; left: var(--em-pad); right: var(--em-pad); height: 1px; background: var(--em-line); }
.em-item.no-media { grid-template-columns: minmax(0, 1fr) auto; }
.em-item__hit { position: absolute; inset: 0; z-index: 1; border: 0; background: transparent; cursor: pointer; border-radius: 0; }
.em-item__hit:active ~ .em-item__body { opacity: .7; }
.em-item__body { min-width: 0; transition: opacity .15s; }
.em-item__name { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.3; letter-spacing: -.005em; }
.em-item__name mark { background: var(--em-accent-soft); color: inherit; border-radius: 3px; padding: 0 1px; }
.em-star .em-i { width: 14px; height: 14px; color: var(--em-accent); vertical-align: -1px; }
.em-item__desc { margin: 4px 0 0; color: var(--em-muted); font-size: 14px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.em-item__meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 8px; }
.em-price strong { font-weight: 600; font-size: 15px; }
.em-price.is-promo strong { color: var(--em-accent); }
.em-price s { color: var(--em-muted); font-size: 13px; margin-right: 2px; }
.em-price.is-big strong { font-size: 24px; letter-spacing: -.01em; }
.em-price.is-big s { font-size: 15px; }
.em-unit { color: var(--em-muted); font-size: 13px; }
.em-badge { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 3px 7px; border-radius: 6px; background: var(--em-accent); color: var(--em-accent-ink); align-self: center; }
.em-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.em-tag { font-size: 11px; font-weight: 500; padding: 2px 8px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--em-line); color: var(--em-muted); }
.em-tag--vegan, .em-tag--vegetarian { color: #4f8a4b; }
.em-dark .em-tag--vegan, .em-dark .em-tag--vegetarian { color: #9ccf8f; }
.em-tag--spicy { color: #c2412d; }
.em-dark .em-tag--spicy { color: #f08d74; }
.em-item__media { position: relative; z-index: 2; pointer-events: none; align-self: start; }
.em-item__media img, .em-card__media img, .em-ph { width: 104px; height: 104px; border-radius: 14px; object-fit: cover; background: var(--em-soft); }
.em-ph { display: grid; place-items: center; font-family: var(--em-display); font-size: 26px; color: var(--em-muted); }
.em-item.no-media .em-item__media { align-self: center; }

/* Add button ---------------------------------------------------------- */
.em-add {
	pointer-events: auto; position: absolute; right: -6px; bottom: -6px; z-index: 3;
	min-width: 38px; height: 38px; padding: 0 4px; border-radius: 99px; border: 0;
	display: inline-flex; align-items: center; justify-content: center; gap: 2px;
	background: var(--em-ink); color: var(--em-bg); cursor: pointer;
	box-shadow: 0 0 0 3px var(--em-bg), 0 6px 16px rgba(0,0,0,.18);
	transition: transform .2s var(--em-ease), background .2s;
}
.em-item.no-media .em-add { position: relative; right: auto; bottom: auto; box-shadow: none; }
.em-add .em-i { width: 18px; height: 18px; stroke-width: 2; }
.em-add__qty { display: none; font-weight: 700; font-size: 14px; padding-right: 6px; }
.em-add.has-qty { background: var(--em-accent); color: var(--em-accent-ink); }
.em-add.has-qty .em-add__qty { display: inline; }
.em-add:active { transform: scale(.9); }
.em-add.is-pop { animation: em-pop .4s var(--em-ease); }
@keyframes em-pop { 40% { transform: scale(1.18); } }

/* Slider -------------------------------------------------------------- */
.em-slider { padding: 18px 0 0; }
.em-slider__track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--em-pad); scroll-padding: 0 var(--em-pad); scrollbar-width: none; }
.em-slider__track::-webkit-scrollbar { display: none; }
.em-slide { position: relative; flex: 0 0 calc(100% - 28px); scroll-snap-align: start; border-radius: 20px; overflow: hidden; min-height: 196px; display: flex; align-items: flex-end; background: var(--em-accent); color: var(--em-accent-ink); isolation: isolate; }
.em-slide.has-img { color: #fff; }
.em-slide__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.em-slide.has-img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.05) 100%); }
.em-slide__body { padding: 20px; max-width: 78%; }
.em-slide .em-eyebrow { color: inherit; opacity: .8; }
.em-slide__title { font-family: var(--em-display); font-weight: 600; font-size: 26px; line-height: 1.05; margin: 0; letter-spacing: -.01em; }
.em-slide__text { margin: 6px 0 0; font-size: 14px; opacity: .85; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.em-slide__foot { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.em-slide .em-price strong { color: inherit; font-size: 20px; }
.em-slide .em-price s { color: inherit; opacity: .7; }
.em-chip-btn { position: relative; z-index: 2; border: 0; cursor: pointer; padding: 8px 14px; border-radius: 99px; font-size: 13px; font-weight: 600; background: rgba(255,255,255,.18); color: inherit; backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.em-when { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--em-muted); }
.em-when .em-i { width: 16px; height: 16px; }
.em-slide .em-when { color: inherit; opacity: .85; }
.em-dots { display: flex; justify-content: center; gap: 6px; padding: 12px 0 0; }
.em-dots button { width: 22px; height: 22px; border: 0; background: none; padding: 0; cursor: pointer; display: grid; place-items: center; }
.em-dots button::before { content: ""; width: 6px; height: 6px; border-radius: 99px; background: var(--em-soft-2); transition: width .3s var(--em-ease), background .3s; }
.em-dots button[aria-current="true"]::before { width: 18px; background: var(--em-ink); }

/* Featured rail ------------------------------------------------------- */
.em-rail { display: flex; gap: 14px; overflow-x: auto; padding: 2px var(--em-pad) 10px; scroll-snap-type: x proximity; scroll-padding: 0 var(--em-pad); scrollbar-width: none; }
.em-rail::-webkit-scrollbar { display: none; }
.em-card { position: relative; flex: 0 0 152px; scroll-snap-align: start; }
.em-card__hit { position: absolute; inset: 0; z-index: 1; border: 0; background: none; cursor: pointer; }
.em-card__media { position: relative; z-index: 2; pointer-events: none; margin-bottom: 10px; }
.em-card__media img, .em-card__media .em-ph { width: 152px; height: 172px; border-radius: 16px; }
.em-card__media .em-add { right: 8px; bottom: 8px; box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.em-card__name { margin: 0 0 2px; font-size: 15px; font-weight: 600; line-height: 1.25; }

/* Offers -------------------------------------------------------------- */
.em-offers { display: grid; gap: 10px; padding: 0 var(--em-pad); }
.em-offer { padding: 18px; border-radius: 18px; background: var(--em-surface); box-shadow: inset 0 0 0 1px var(--em-line); }
.em-offer h3 { margin: 0; font-family: var(--em-display); font-weight: 600; font-size: 22px; line-height: 1.1; }
.em-offer p { margin: 6px 0 0; color: var(--em-muted); font-size: 14px; }
.em-offer__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 14px; }
.em-offer .em-chip-btn { background: var(--em-soft); box-shadow: none; backdrop-filter: none; }

/* Events -------------------------------------------------------------- */
.em-events { list-style: none; margin: 0; padding: 0 var(--em-pad); display: grid; gap: 10px; }
.em-event { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 16px; border-radius: 18px; background: var(--em-surface); box-shadow: inset 0 0 0 1px var(--em-line); }
.em-event__date { display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 12px; background: var(--em-accent); color: var(--em-accent-ink); height: 72px; }
.em-event__date strong { font-family: var(--em-display); font-size: 30px; line-height: 1; }
.em-event__date span { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.em-event h3 { margin: 0; font-size: 17px; line-height: 1.25; }
.em-event p { margin: 4px 0 8px; color: var(--em-muted); font-size: 14px; }

/* Results / empty ----------------------------------------------------- */
.em-results { padding: 8px 0 24px; min-height: 60vh; }
.em-results__count { padding: 0 var(--em-pad); margin: 10px 0 0; font-size: 12px; color: var(--em-muted); text-transform: uppercase; letter-spacing: .1em; }
.em-empty { margin: 24px var(--em-pad); padding: 32px 20px; border-radius: 18px; text-align: center; color: var(--em-muted); box-shadow: inset 0 0 0 1px var(--em-line); }
.em-empty p { margin: 4px 0; }
.em-empty strong { color: var(--em-ink); }

/* Footer -------------------------------------------------------------- */
.em-foot { margin-top: 32px; padding: 32px var(--em-pad) calc(48px + env(safe-area-inset-bottom)); border-top: 1px solid var(--em-line); font-size: 14px; }
body.has-dock .em-foot { padding-bottom: calc(120px + env(safe-area-inset-bottom)); }
.em-foot__intro { margin: 0 0 20px; font-family: var(--em-display); font-size: 20px; line-height: 1.35; }
.em-info { margin: 0; display: grid; gap: 0; }
.em-info__row { display: grid; grid-template-columns: 22px 1fr; gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid var(--em-line); }
.em-info__row .em-i { grid-row: span 2; color: var(--em-muted); margin-top: 1px; }
.em-info dt { font-size: 12px; color: var(--em-muted); }
.em-info dd { margin: 0; }
.em-foot__demo { margin: 20px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--em-soft); color: var(--em-muted); font-size: 13px; }
.em-foot__by { margin: 24px 0 0; color: var(--em-muted); font-size: 12px; letter-spacing: .04em; }

/* Dock ---------------------------------------------------------------- */
.em-dock { position: fixed; z-index: 25; left: 50%; bottom: 0; width: 100%; max-width: var(--em-w); transform: translate(-50%, 120%); padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); display: flex; gap: 8px; transition: transform .45s var(--em-ease); pointer-events: none; }
.em-dock.is-on { transform: translate(-50%, 0); }
.em-dock > * { pointer-events: auto; }
.em-dock.is-bump .em-dock__sel { animation: em-bump .45s var(--em-ease); }
@keyframes em-bump { 35% { transform: translateY(-4px) scale(1.02); } }
.em-dock__assist, .em-dock__sel { height: 56px; border: 0; border-radius: 18px; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 0 18px; font-weight: 600; box-shadow: 0 12px 32px rgba(0,0,0,.28); }
.em-dock__assist { background: var(--em-surface); color: var(--em-ink); box-shadow: inset 0 0 0 1px var(--em-line), 0 12px 32px rgba(0,0,0,.2); flex: none; }
.em-dock__assist span { font-size: 14px; }
.em-dock__sel { flex: 1; background: var(--em-ink); color: var(--em-bg); min-width: 0; }
.em-dock__sel span:nth-child(2) { flex: 1; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.em-dock__count { min-width: 26px; height: 26px; border-radius: 99px; display: grid; place-items: center; background: var(--em-accent); color: var(--em-accent-ink); font-size: 13px; }
.em-dock__assist:only-child { flex: 1; justify-content: center; }

/* Sheets -------------------------------------------------------------- */
.em-sheet { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.em-sheet__backdrop { position: absolute; inset: 0; background: rgba(8,7,6,.5); opacity: 0; transition: opacity .3s; }
.em-sheet.is-open .em-sheet__backdrop { opacity: 1; }
.em-sheet__panel {
	position: relative; width: 100%; max-width: var(--em-w); max-height: calc(100dvh - 40px);
	background: var(--em-bg); color: var(--em-ink); border-radius: 24px 24px 0 0;
	transform: translateY(100%); transition: transform .42s var(--em-ease);
	display: flex; flex-direction: column; outline: none; box-shadow: 0 -10px 40px rgba(0,0,0,.25);
}
.em-sheet.is-open .em-sheet__panel { transform: none; }
.em-sheet__grip { position: absolute; top: 0; left: 0; right: 0; height: 28px; z-index: 3; display: flex; justify-content: center; padding-top: 8px; touch-action: none; }
.em-sheet__grip::before { content: ""; width: 40px; height: 5px; border-radius: 99px; background: var(--em-soft-2); }
.em-sheet__close { position: absolute; top: 12px; right: 12px; z-index: 4; }
.em-sheet__body { overflow-y: auto; overscroll-behavior: contain; padding: 28px var(--em-pad) calc(24px + env(safe-area-inset-bottom)); }
.em-sheet__title { font-family: var(--em-display); font-weight: 600; font-size: 28px; line-height: 1.1; margin: 4px 48px 4px 0; }
.em-sheet__sub { margin: 0 0 18px; color: var(--em-muted); font-size: 14px; }
@media (min-width: 720px) {
	.em-sheet { align-items: center; }
	.em-sheet__panel { max-width: 520px; border-radius: 24px; transform: translateY(24px) scale(.98); opacity: 0; transition: transform .35s var(--em-ease), opacity .25s; max-height: calc(100dvh - 64px); }
	.em-sheet.is-open .em-sheet__panel { opacity: 1; }
	.em-sheet__grip { display: none; }
}

/* Product detail ------------------------------------------------------ */
.em-sheet--product .em-sheet__body { padding-top: 0; padding-left: 0; padding-right: 0; }
.em-pd__media { margin: 0 0 4px; }
.em-pd__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 24px 24px 0 0; }
.em-pd__body { padding: 22px var(--em-pad) 4px; }
.em-sheet--product .em-pd:not(:has(.em-pd__media)) .em-pd__body { padding-top: 36px; }
.em-pd__name { font-family: var(--em-display); font-weight: 600; font-size: 30px; line-height: 1.05; margin: 0 40px 0 0; letter-spacing: -.01em; }
.em-pd__desc { margin: 12px 0 0; color: var(--em-muted); font-size: 15px; line-height: 1.55; }
.em-pd__price { display: flex; align-items: baseline; gap: 10px; margin-top: 18px; }
.em-pd__actions { display: flex; gap: 10px; padding: 18px var(--em-pad) 0; }
.em-sheet--product .em-sheet__close { background: color-mix(in srgb, var(--em-bg) 75%, transparent); }

.em-stepper { display: inline-flex; align-items: center; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--em-line); flex: none; }
.em-stepper button { width: 48px; height: 54px; border: 0; background: none; display: grid; place-items: center; cursor: pointer; border-radius: 16px; }
.em-stepper button:active { background: var(--em-soft); }
.em-stepper output { min-width: 20px; text-align: center; font-weight: 600; font-size: 16px; }
.em-stepper.is-small button { width: 38px; height: 40px; }
.em-stepper.is-small .em-i { width: 16px; height: 16px; }

.em-btn { min-height: 54px; padding: 0 20px; border-radius: 16px; border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 600; font-size: 15px; background: var(--em-soft); color: var(--em-ink); transition: transform .15s, opacity .2s; }
.em-btn:active { transform: scale(.98); }
.em-btn:disabled { opacity: .55; cursor: wait; }
.em-btn.is-primary { flex: 1; background: var(--em-ink); color: var(--em-bg); }
.em-btn.is-wide { width: 100%; justify-content: center; margin-top: 10px; }
.em-btn.is-ghost { background: none; color: var(--em-muted); min-height: 46px; }

/* Selection ----------------------------------------------------------- */
.em-lines { list-style: none; margin: 8px 0 0; padding: 0; }
.em-line { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "info sum" "step sum"; gap: 6px 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--em-line); }
.em-line__info { grid-area: info; display: flex; flex-direction: column; }
.em-line__info span { font-size: 13px; color: var(--em-muted); }
.em-line .em-stepper { grid-area: step; justify-self: start; }
.em-line__sum { grid-area: sum; font-weight: 600; }
.em-total { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0 8px; font-size: 18px; }
.em-total strong { font-size: 24px; }
.em-field { display: flex; flex-direction: column; gap: 6px; margin: 12px 0 4px; font-size: 13px; color: var(--em-muted); }
.em-field textarea { font: inherit; font-size: 16px; color: var(--em-ink); background: var(--em-soft); border: 0; border-radius: 14px; padding: 12px 14px; resize: vertical; }
.em-field textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--em-accent); }
.em-hint { color: var(--em-muted); font-size: 14px; margin: 8px 0 4px; }

/* Assistance ---------------------------------------------------------- */
.em-assist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.em-assist__btn { min-height: 120px; border: 0; border-radius: 20px; background: var(--em-surface); box-shadow: inset 0 0 0 1px var(--em-line); cursor: pointer; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 18px; text-align: left; font-weight: 600; font-size: 16px; transition: transform .15s, box-shadow .2s; }
.em-assist__btn .em-i { width: 28px; height: 28px; color: var(--em-accent); }
.em-assist__btn:active { transform: scale(.97); }
.em-assist__btn.is-busy { opacity: .6; }
.em-status:empty { display: none; }
.em-status { margin-top: 12px; }
.em-status__msg { display: flex; gap: 10px; align-items: center; margin: 0; padding: 12px 14px; border-radius: 14px; background: var(--em-accent-soft); font-size: 14px; animation: em-rise .4s var(--em-ease) both; }
.em-status__msg .em-i { color: var(--em-accent); }
.em-status__msg.is-new .em-i { animation: em-spin 2.4s linear infinite; }
@keyframes em-spin { to { transform: rotate(360deg); } }
.em-status.is-big .em-status__msg { padding: 22px 18px; font-size: 16px; }

/* Toast --------------------------------------------------------------- */
.em-toast { position: fixed; z-index: 70; left: 50%; top: calc(14px + env(safe-area-inset-top)); transform: translate(-50%, -20px); opacity: 0; pointer-events: none; padding: 10px 16px; border-radius: 99px; background: var(--em-ink); color: var(--em-bg); font-size: 14px; font-weight: 500; max-width: calc(100vw - 32px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: opacity .25s, transform .35s var(--em-ease); }
.em-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.em-toast.is-error { background: #b42318; color: #fff; }

/* Embedded preview (marketing site phone frame) ----------------------- */
.em-embed body { min-height: 0; }
.em-embed .em-bar__in { padding-top: 34px; height: 84px; }
.em-embed .em-sticky { top: 84px; }
.em-embed .em-hero { padding-top: 104px; }
.em-embed .em-hero.has-cover { padding-top: 150px; }
.em-embed.em-light .em-hero.has-cover { padding-top: 0; }
.em-embed .em-sheet__panel { max-height: calc(100dvh - 60px); }

@media (hover: hover) {
	.em-item:hover .em-item__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
	.em-chip:hover { color: var(--em-ink); }
	.em-assist__btn:hover { box-shadow: inset 0 0 0 1.5px var(--em-accent); }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
