/* Brounis — витрина заказов. Дизайн-система в стиле Drinkit.
   Мобайл-фёрст: приложение живёт в колонке шириной до 480px, по центру на десктопе.
   ⚠️ ПАЛИТРА И ШРИФТЫ НИЖЕ — ПЛЕЙСХОЛДЕР (унаследованы от форка). Заменить на фирстиль
   Brounis: значения --orange/--purple, @font-face, файлы asset/logo/*.png и asset/font/*. */

/* ─── Шрифты бренда ─────────────────────────────────────────── */
@font-face {
	font-family: 'Cera Round Pro';
	src: url('font/ceraround-black.otf') format('opentype');
	font-weight: 900; font-style: normal; font-display: swap;
}
@font-face {
	font-family: 'Rubik';
	src: url('font/rubik.ttf') format('truetype');
	font-weight: 300 900; font-style: normal; font-display: swap;
}

/* ─── Токены ─────────────────────────────────────────────────── */
:root {
	--orange:  #FF5A00;   /* основной акцент бренда («Brounis») */
	--orange-2:#E85100;   /* нажатое состояние */
	--purple:  #73389A;   /* вторичный акцент («DONER») */
	--bg:      #F2F3F5;   /* фон приложения */
	--card:    #FFFFFF;
	--ink:     #17181A;   /* основной текст */
	--muted:   #9AA0A6;   /* второстепенный текст */
	--muted-2: #C4C8CD;   /* блёклые (неактивные) табы */
	--line:    #ECEDEF;
	--display: 'Cera Round Pro', 'Rubik', system-ui, sans-serif;
	--font:    'Rubik', system-ui, sans-serif;
	--r:   24px;          /* радиус карточек */
	--r-s: 16px;
	--pill: 999px;
	--shadow: 0 8px 30px rgba(0,0,0,.08);
	--maxw: 480px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
	font-family: var(--font);
	color: var(--ink);
	background: #E7E8EA;
	font-size: 16px;
	line-height: 1.3;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }

/* Колонка-приложение */
.app {
	max-width: var(--maxw);
	margin: 0 auto;
	min-height: 100vh;
	background: var(--bg);
	position: relative;
	overflow-x: clip;   /* именно clip, не hidden: hidden превратил бы overflow-y в auto и отдал бы скролл контейнеру вместо окна */
	box-shadow: 0 0 60px rgba(0,0,0,.12);
	padding-bottom: 16px;
}
.app.has-cart { padding-bottom: 96px; }   /* место под плашку корзины — только когда она видна */

/* ─── Шапка ──────────────────────────────────────────────────── */
.header {
	position: sticky; top: 0; z-index: 40;
	display: flex; align-items: center; justify-content: flex-start; gap: 10px;
	padding: 14px 16px 12px;
	background: rgba(242,243,245,.86);
	backdrop-filter: saturate(160%) blur(14px);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
}
.header__logo { height: 30px; width: auto; object-position: left center; flex: 0 0 auto; }
.header__place {
	display: block; text-align: left; line-height: 1.15;
	margin: 0; padding: 0; min-width: 0;
}
.header__place b { display: inline-flex; align-items: center; gap: 3px;
	font-weight: 700; font-size: 15px; white-space: nowrap; }
.header__chev { flex: 0 0 auto; opacity: .6; margin-top: 1px; }
.header__place span { display: block; color: var(--muted); font-size: 12px; margin-top: 1px;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.header__spacer { flex: 1 1 auto; }

/* ─── Карточка-подтверждение точки на входе (как в Drinkit) ──── */
.pointconfirm-backdrop {
	position: fixed; inset: 0; z-index: 55; background: rgba(0,0,0,.28);
	opacity: 0; pointer-events: none; transition: opacity .22s;
}
.pointconfirm-backdrop.is-open { opacity: 1; pointer-events: auto; }
.pointconfirm {
	position: fixed; z-index: 56; left: 12px; top: 62px;
	width: min(340px, calc(100% - 24px));
	background: var(--card); border-radius: 20px; box-shadow: 0 18px 50px rgba(0,0,0,.22);
	padding: 16px 20px 20px; opacity: 0; transform: translateY(-10px) scale(.98);
	transform-origin: 64px top;
	pointer-events: none; transition: transform .25s cubic-bezier(.22,1,.36,1), opacity .2s;
}
.pointconfirm.is-open { opacity: 1; transform: none; pointer-events: auto; }
/* хвостик-стрелка вверх, к адресу в шапке */
.pointconfirm::before {
	content: ''; position: absolute; top: -6px; left: 60px; width: 15px; height: 15px;
	background: var(--card); transform: rotate(45deg); border-radius: 3px;
}
.pointconfirm__tie {
	display: inline-flex; align-items: center; gap: 5px; font-weight: 700; font-size: 14px;
	color: var(--orange); background: #FFF3EC; border-radius: var(--pill);
	padding: 6px 12px; margin-bottom: 12px;
}
.pointconfirm__hi { font-family: var(--display); font-size: 23px; line-height: 1.05; margin: 0 0 12px; }
.pointconfirm__change { color: var(--purple); font-weight: 600; font-size: 15px;
	padding: 0; margin-bottom: 14px; display: block; }
.pointconfirm__btn { width: 100%; height: 54px; border-radius: var(--pill);
	background: var(--orange); color: #fff; font-weight: 700; font-size: 16px;
	display: flex; align-items: center; justify-content: center; gap: 8px;
	box-shadow: 0 10px 22px rgba(255,90,0,.32); }
.pointconfirm__btn:active { background: var(--orange-2); }

/* ─── Пикер точки ────────────────────────────────────────────── */
.picker { padding: 22px 20px 8px; }
.picker__title { font-family: var(--display); font-size: 26px; margin: 0 0 16px; }
.picker__list { display: flex; flex-direction: column; gap: 10px; }
.pointrow {
	display: flex; align-items: flex-start; gap: 12px; text-align: left;
	background: var(--bg); border-radius: var(--r-s); padding: 14px 16px;
	border: 2px solid transparent;
}
.pointrow.is-active { border-color: var(--orange); background: #FFF3EC; }
.pointrow__pin { font-size: 20px; line-height: 1.2; }
.pointrow__body { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.pointrow__body b { font-weight: 700; font-size: 16px; }
.pointrow__body span { color: var(--muted); font-size: 13px; }
.pointrow__hours { color: var(--orange) !important; font-weight: 600; }
.pointrow__hours:empty { display: none; }
.pointrow__check { color: var(--orange); font-weight: 800; font-size: 18px; opacity: 0; align-self: center; }
.pointrow.is-active .pointrow__check { opacity: 1; }
.header__avatar {
	width: 42px; height: 42px; border-radius: 50%;
	background: #DDE0E4 center/60% no-repeat;
	display: grid; place-items: center; color: #8A9099; flex: 0 0 auto;
}
.header__coins { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px;
	background: #FFF3EC; color: var(--orange); font-weight: 700; font-size: 15px;
	padding: 9px 14px; border-radius: var(--pill); }
.header__coins b { font-weight: 800; }

/* Монета «бонус» — оранжевый кружок с белой буквой D из логотипа Brounis */
.dcoin { display: inline-block; width: 1.3em; height: 1.3em; border-radius: 50%;
	background: var(--orange);
	vertical-align: -.28em; position: relative; flex: 0 0 auto; }
.dcoin::after { content: ''; position: absolute; inset: 22%; background: #fff;
	-webkit-mask: url('logo/logo-d.png') center/contain no-repeat;
	        mask: url('logo/logo-d.png') center/contain no-repeat; }
.dcoin--lg { width: 64px; height: 64px; }

/* ─── Профиль / вход ─────────────────────────────────────────── */
.profile { padding: 4px 0 8px; }
.profile__head { display: flex; align-items: center; padding: 18px 20px 6px; }
.profile__head h2 { font-family: var(--display); font-size: 26px; margin: 0; }
.profile__head .cart__close { margin-left: auto; }
.profile__row { display: flex; justify-content: space-between; align-items: center;
	padding: 14px 20px; border-top: 1px solid var(--line); }
.profile__row span { color: var(--muted); }
.profile__logout { display: block; margin: 18px 20px 6px; width: calc(100% - 40px);
	padding: 15px; border-radius: var(--pill); background: var(--bg); color: #D64545; font-weight: 700; }

.history { padding: 16px 20px 6px; border-top: 1px solid var(--line); }
.history__title { font-family: var(--display); font-size: 20px; margin-bottom: 12px; }
.history__empty { color: var(--muted); text-align: center; padding: 20px 0; }
.orderrow { background: var(--bg); border-radius: var(--r-s); padding: 14px 16px; margin-bottom: 10px; }
.orderrow__head { display: flex; justify-content: space-between; align-items: baseline; }
.orderrow__head b { font-weight: 800; }
.orderrow__head span { color: var(--muted); font-size: 13px; }
.orderrow__items { color: #55595E; font-size: 14px; margin: 6px 0 8px; }
.orderrow__foot { display: flex; justify-content: space-between; align-items: center; }
.orderrow__foot span { color: var(--muted); font-size: 13px; }
.orderrow__foot b { font-weight: 800; color: var(--orange); }

.langswitch { display: flex; align-items: center; justify-content: space-between;
	padding: 14px 20px; border-top: 1px solid var(--line); }
.langswitch__label { color: var(--muted); }
.langswitch__opts { display: flex; gap: 6px; background: var(--bg); border-radius: var(--pill); padding: 4px; }
.langswitch__opts button { padding: 8px 18px; border-radius: var(--pill); font-weight: 700; font-size: 14px;
	color: var(--muted); }
.langswitch__opts button.is-active { background: var(--card); color: var(--orange);
	box-shadow: 0 2px 8px rgba(0,0,0,.08); }

.coincard { margin: 8px 20px 6px; padding: 22px; border-radius: var(--r);
	background: linear-gradient(135deg, #FF7A2E, #FF5A00); color: #fff; }
.coincard__label { opacity: .9; font-size: 14px; }
.coincard__value { font-family: var(--display); font-size: 40px; margin: 4px 0 6px; }
.coincard__hint { font-size: 13px; opacity: .9; }

.login { text-align: center; padding: 30px 26px 20px; }
.login__emoji { font-size: 60px; }
.login__title { font-family: var(--display); font-size: 22px; margin: 14px 0 8px; }
.login__text { color: #55595E; font-size: 15px; margin-bottom: 22px; }
.login__btn { width: 100%; }
.login__status { margin-top: 14px; color: var(--muted); font-size: 14px; }
.login__status a { color: var(--orange); font-weight: 600; }

/* ─── Герой ──────────────────────────────────────────────────── */
.hero {
	position: relative; margin: 6px 12px 0; border-radius: 28px;
	overflow: hidden; min-height: 330px;
	display: flex; align-items: flex-end;
	background: linear-gradient(150deg, #FF8A3D 0%, #FF5A00 50%, #B0295F 125%);
	color: #fff;
}
.hero__glow { position: absolute; top: -28%; right: -18%; width: 78%; height: 78%;
	background: radial-gradient(circle, rgba(255,255,255,.38), transparent 62%); }
.hero__logo { position: absolute; top: 24px; left: 22px; height: 32px; opacity: .96;
	filter: drop-shadow(0 4px 12px rgba(0,0,0,.18)); }
.hero__grad { position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(120,12,32,.55), transparent 55%); }
.hero__title { position: relative; padding: 24px; font-family: var(--display);
	font-size: 36px; line-height: 1.0; letter-spacing: -.02em; text-shadow: 0 2px 18px rgba(0,0,0,.25); }

/* ─── Липкие табы категорий ─────────────────────────────────── */
.tabs {
	position: sticky; top: 66px; z-index: 30;
	background: rgba(242,243,245,.9);
	backdrop-filter: saturate(160%) blur(14px);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	padding: 10px 0 6px;
}
.tabs__row { display: flex; gap: 18px; overflow-x: auto; padding: 0 16px 4px;
	scrollbar-width: none; }
.tabs__row::-webkit-scrollbar { display: none; }
.tab {
	flex: 0 0 auto; font-family: var(--display); font-size: 22px;
	color: var(--muted-2); white-space: nowrap; padding: 2px 0;
	transition: color .15s;
}
.tab.is-active { color: var(--ink); }

/* ─── Секции меню ────────────────────────────────────────────── */
.section { padding: 22px 16px 4px; scroll-margin-top: 118px; }
.section__title { font-family: var(--display); font-size: 26px; margin: 0 0 14px;
	letter-spacing: -.01em; }

/* Промо-баннер */
.promo {
	display: flex; align-items: center; gap: 12px; margin: 2px 16px 6px;
	background: linear-gradient(135deg, #FFF1E8, #FFE4D4); border-radius: 22px;
	padding: 18px 20px; box-shadow: 0 6px 20px rgba(255,90,0,.1);
}
.promo__text { font-size: 16px; font-weight: 600; line-height: 1.3; }
.promo__text b { color: var(--orange); }
.promo__art { margin-left: auto; font-size: 48px; filter: drop-shadow(0 6px 12px rgba(0,0,0,.15)); }

/* Сетка карточек товара */
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Карточка товара */
.card {
	background: var(--card); border-radius: 22px; overflow: hidden;
	display: flex; flex-direction: column; text-align: left;
	box-shadow: 0 6px 20px rgba(20,20,30,.06);
	transition: transform .12s, box-shadow .2s;
}
.card:active { transform: scale(.97); }
.card:hover { box-shadow: 0 12px 30px rgba(20,20,30,.1); }
.card__media { aspect-ratio: 1/1; display: grid; place-items: center; position: relative; }
.card__media .e { font-size: 68px; filter: drop-shadow(0 8px 14px rgba(0,0,0,.18)); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px;
	flex: 1; }
.card__name { font-weight: 600; font-size: 15px; line-height: 1.25;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.card__price { font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.card__add {
	width: 36px; height: 36px; border-radius: 50%; background: var(--orange);
	color: #fff; display: grid; place-items: center; font-size: 24px; line-height: 0;
	box-shadow: 0 8px 18px rgba(255,90,0,.4); transition: transform .1s;
}
.card__add:hover { transform: scale(1.06); }
.card__add:active { background: var(--orange-2); }
.card__badge { position: absolute; left: 10px; top: 10px; background: var(--purple);
	color: #fff; font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: var(--pill); }

/* Счётчик в карточке, когда товар уже в корзине */
.card__count { display: flex; align-items: center; gap: 10px; }
.card__count button { width: 30px; height: 30px; border-radius: 50%;
	background: #F1F2F4; color: var(--ink); font-size: 20px; display: grid; place-items: center; }
.card__count b { min-width: 16px; text-align: center; font-weight: 700; }

/* ─── Шторка товара ──────────────────────────────────────────── */
.sheet-backdrop {
	position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.4);
	opacity: 0; pointer-events: none; transition: opacity .25s;
}
.sheet-backdrop.is-open { opacity: 1; pointer-events: auto; }
.sheet {
	position: fixed; left: 50%; bottom: 0; transform: translate(-50%, 100%);
	width: 100%; max-width: var(--maxw); max-height: 92vh; z-index: 61;
	background: var(--card); border-radius: 28px 28px 0 0;
	transition: transform .3s cubic-bezier(.22,1,.36,1);
	display: flex; flex-direction: column; overflow: hidden;
}
.sheet.is-open { transform: translate(-50%, 0); }
.sheet__scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding-bottom: 96px; }
.sheet__media { aspect-ratio: 1/1; display: grid; place-items: center; position: relative; }
.sheet__media .e { font-size: 130px; filter: drop-shadow(0 14px 26px rgba(0,0,0,.22)); }
.sheet__close {
	position: absolute; right: 14px; top: 14px; width: 40px; height: 40px;
	border-radius: 50%; background: rgba(255,255,255,.75); backdrop-filter: blur(6px);
	display: grid; place-items: center; font-size: 22px; color: var(--ink);
}
.sheet__body { padding: 18px 20px 0; }
.sheet__title { font-family: var(--display); font-size: 26px; margin: 0 0 6px; letter-spacing: -.01em; }
.sheet__desc { color: #55595E; font-size: 15px; margin: 0 0 16px; }
.nutri { display: flex; justify-content: space-between; text-align: center;
	background: var(--bg); border-radius: var(--r-s); padding: 14px 8px; margin-bottom: 18px; }
.nutri div b { display: block; font-size: 17px; font-weight: 700; }
.nutri div span { font-size: 12px; color: var(--muted); }

.opt__label { font-weight: 700; font-size: 14px; color: var(--muted);
	text-transform: none; margin: 6px 0 10px; }
.sizes { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.size {
	padding: 10px 16px; border-radius: var(--pill); background: var(--bg);
	font-weight: 600; font-size: 14px; border: 2px solid transparent;
}
.size.is-active { border-color: var(--orange); background: #FFF3EC; color: var(--orange); }
.mods { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.mod { padding: 9px 14px; border-radius: var(--pill); background: var(--bg);
	font-size: 14px; font-weight: 500; border: 2px solid transparent; }
.mod.is-active { border-color: var(--purple); background: #F3ECF8; color: var(--purple); }
.req { color: var(--muted); font-weight: 500; font-size: 12px; text-transform: none; }

.sheet__foot {
	position: absolute; left: 0; right: 0; bottom: 0;
	padding: 12px 16px calc(16px + env(safe-area-inset-bottom));
	background: linear-gradient(to top, var(--card) 70%, transparent);
	display: flex; align-items: center; gap: 12px;
}
.btn-add {
	flex: 1; height: 58px; border-radius: var(--pill); background: var(--orange);
	color: #fff; font-weight: 700; font-size: 18px; display: flex;
	align-items: center; justify-content: center; gap: 8px;
	box-shadow: 0 10px 24px rgba(255,90,0,.35);
}
.btn-add:active { background: var(--orange-2); }
.qty {
	display: flex; align-items: center; gap: 14px; background: var(--bg);
	border-radius: var(--pill); height: 58px; padding: 0 8px;
}
.qty button { width: 42px; height: 42px; border-radius: 50%; background: var(--card);
	font-size: 24px; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.qty b { min-width: 20px; text-align: center; font-weight: 700; font-size: 18px; }

/* ─── Корзина (нижняя панель) ────────────────────────────────── */
.cartbar {
	position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%) translateY(140%);
	width: calc(100% - 32px); max-width: calc(var(--maxw) - 32px); z-index: 50;
	background: var(--orange); color: #fff; border-radius: var(--pill);
	height: 62px; padding: 0 10px 0 22px; display: flex; align-items: center;
	box-shadow: 0 14px 30px rgba(255,90,0,.4); transition: transform .3s cubic-bezier(.22,1,.36,1);
}
.cartbar.is-visible { transform: translateX(-50%) translateY(0); }
.cartbar__count { font-weight: 700; }
.cartbar__label { margin-left: 10px; font-weight: 600; opacity: .95; }
.cartbar__sum { margin-left: auto; background: rgba(255,255,255,.2); border-radius: var(--pill);
	padding: 10px 20px; font-weight: 700; font-size: 17px; }

.footer { text-align: center; color: var(--muted); font-size: 12px; padding: 20px 16px; }

/* ─── Экран корзины / оформление ─────────────────────────────── */
.cart { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.cart__head { display: flex; align-items: center; gap: 12px; padding: 18px 20px 10px; }
.cart__head h2 { font-family: var(--display); font-size: 26px; margin: 0; }
.cart__close { margin-left: auto; width: 40px; height: 40px; border-radius: 50%;
	background: var(--bg); display: grid; place-items: center; font-size: 20px; }
.cart__scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 0 16px calc(96px + env(safe-area-inset-bottom)); }

.line { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.line__media { width: 60px; height: 60px; border-radius: var(--r-s); display: grid; place-items: center;
	font-size: 32px; flex: 0 0 auto; overflow: hidden; }
.line__media img { width: 100%; height: 100%; object-fit: cover; }

.contactcard { background: var(--bg); border-radius: var(--r-s); padding: 14px 16px;
	font-weight: 600; font-size: 15px; }
.line__body { flex: 1; min-width: 0; }
.line__name { font-weight: 600; font-size: 15px; }
.line__opt { color: var(--muted); font-size: 12px; margin-top: 2px; }
.line__price { font-weight: 700; font-size: 15px; margin-top: 4px; }
.line__qty { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.line__qty button { width: 30px; height: 30px; border-radius: 50%; background: var(--bg);
	font-size: 19px; display: grid; place-items: center; }
.line__qty b { min-width: 16px; text-align: center; font-weight: 700; }

.field { margin: 14px 0 0; }
.field__label { font-weight: 700; font-size: 14px; color: var(--muted); margin: 0 0 8px; }
.input, .textarea {
	width: 100%; border: 2px solid var(--line); background: var(--bg); border-radius: var(--r-s);
	padding: 15px 16px; font: inherit; font-size: 16px; color: var(--ink);
}
.input:focus, .textarea:focus { outline: none; border-color: var(--orange); background: #fff; }
.textarea { resize: none; min-height: 70px; }

.seg { display: flex; gap: 8px; background: var(--bg); border-radius: var(--pill); padding: 5px; }
.seg button { flex: 1; padding: 12px; border-radius: var(--pill); font-weight: 600; font-size: 15px; color: var(--muted); }
.seg button.is-active { background: var(--card); color: var(--ink); box-shadow: 0 3px 10px rgba(0,0,0,.08); }

.paylist { display: flex; flex-direction: column; gap: 8px; }
.payopt { display: flex; align-items: center; gap: 12px; background: var(--bg); border-radius: var(--r-s);
	padding: 14px 16px; border: 2px solid transparent; font-weight: 600; font-size: 15px; }
.payopt.is-active { border-color: var(--orange); background: #FFF3EC; }
.payopt .dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--muted-2); margin-left: auto; }
.payopt.is-active .dot { border-color: var(--orange); background: radial-gradient(circle, var(--orange) 40%, transparent 46%); }

.damcoinrow { display: flex; align-items: center; gap: 12px; background: var(--bg);
	border-radius: var(--r-s); padding: 14px 16px; cursor: pointer; }
.damcoinrow .dcoin { font-size: 22px; }
.damcoinrow__body { flex: 1; display: flex; flex-direction: column; }
.damcoinrow__body b { font-weight: 700; font-size: 15px; }
.damcoinrow__body small { color: var(--muted); font-size: 12px; margin-top: 1px; }
.switch { width: 46px; height: 28px; border-radius: var(--pill); background: #D5D8DC;
	position: relative; flex: 0 0 auto; transition: background .2s; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px;
	border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
.switch.is-on { background: var(--orange); }
.switch.is-on::after { transform: translateX(18px); }

.summ { margin: 18px 0 6px; }
.summ__row { display: flex; justify-content: space-between; padding: 6px 0; color: #55595E; }
.summ__row.total { color: var(--ink); font-weight: 800; font-size: 18px; padding-top: 12px; }

.pointpick { display: flex; align-items: center; gap: 12px; background: var(--bg); border-radius: var(--r-s);
	padding: 14px 16px; font-weight: 600; }
.pointpick small { display: block; color: var(--muted); font-weight: 400; font-size: 13px; margin-top: 2px; }
.pointpick .chev { margin-left: auto; color: var(--muted); }

.cart__foot {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 16px calc(16px + env(safe-area-inset-bottom));
	background: linear-gradient(to top, var(--card) 72%, transparent); }

/* Экран «спасибо» */
.done { text-align: center; padding: 60px 30px; }
.done__emoji { font-size: 76px; }
.done__title { font-family: var(--display); font-size: 28px; margin: 18px 0 8px; }
.done__coins { display: inline-flex; align-items: center; gap: 6px; margin: 10px 0 4px;
	background: #FFF3EC; color: var(--orange); font-weight: 700; padding: 8px 16px; border-radius: var(--pill); }
.done__text { color: #55595E; font-size: 16px; margin-bottom: 26px; }
.cart__empty { text-align: center; color: var(--muted); padding: 60px 20px; }
