:root {
  --bg: #fff6f8;
  --surface: #ffffff;
  --surface2: #fdeef2;
  --ink: #2d1a26;
  --ink2: #5e4955;
  --muted: #9b8792;
  --line: #f3dfe6;
  --rose: #f0507f;
  --rose2: #d93a7c;
  --plum: #7b2d5c;
  --grad: linear-gradient(135deg, #ff6f98 0%, #ec4a86 48%, #c9387f 100%);
  --grad-soft: linear-gradient(135deg, #ffe3ec, #fbd6e6);
  --gold: #f6b54a;
  --green: #1aa874;
  --shadow: 0 6px 22px rgba(201, 56, 127, .10);
  --shadow2: 0 14px 34px rgba(201, 56, 127, .22);
  --r: 20px;
  --tab-h: 66px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 500 14px/1.4 Manrope, system-ui, sans-serif; }
body { overscroll-behavior-y: none; }
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
#view { padding-bottom: calc(var(--tab-h) + var(--safe-b) + 18px); min-height: 100vh; }
.screen { animation: fade .28s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }
.wrap { padding: 0 16px; }
h2.sec { font: 800 19px/1.2 Manrope; margin: 26px 16px 12px; display: flex; align-items: center; gap: 8px; }
h2.sec .more { margin-left: auto; font: 700 13px Manrope; color: var(--rose); }
h2.sec .fire { font-size: 20px; }

/* ---------- шапка и поиск ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 246, 248, .92); backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px); padding: 12px 16px 10px; }
.brand { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.logo { width: 38px; height: 38px; border-radius: 12px; background: var(--grad); display: grid; place-items: center;
  color: #fff; font: 700 15px Unbounded; box-shadow: 0 6px 16px rgba(236, 74, 134, .35); }
.brand b { font: 700 19px Unbounded; letter-spacing: .02em; }
.brand small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; margin-top: 1px; }
.brand .pill { margin-left: auto; }
.search { display: flex; align-items: center; gap: 8px; height: 46px; border-radius: 16px; background: var(--surface);
  border: 2px solid #f8c6d6; padding: 0 6px 0 14px; box-shadow: var(--shadow); }
.search:focus-within { border-color: var(--rose); }
.search svg { width: 20px; height: 20px; stroke: var(--rose); fill: none; stroke-width: 2.2; flex: none; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 600 15px Manrope; color: var(--ink); }
.search input::placeholder { color: #b9a6b0; }
.search .go { height: 34px; padding: 0 14px; border-radius: 11px; background: var(--grad); color: #fff; font-weight: 800; font-size: 13px; }
.search .x { width: 30px; height: 30px; color: var(--muted); font-size: 20px; }

.suggest { padding: 6px 16px 20px; }
.suggest h4 { margin: 16px 0 10px; font: 800 14px Manrope; color: var(--ink2); }
.sug-row { display: flex; align-items: center; gap: 12px; padding: 11px 2px; border-bottom: 1px solid var(--line); font-weight: 700; }
.sug-row img { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; }
.sug-row .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--surface2); display: grid; place-items: center; }
.sug-row .ic svg { width: 18px; height: 18px; stroke: var(--rose); fill: none; stroke-width: 2.2; }
.sug-row small { display: block; color: var(--muted); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 36px; padding: 0 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line);
  font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- кнопки ---------- */
.btn { position: relative; overflow: hidden; height: 52px; border-radius: 16px; display: flex; align-items: center;
  justify-content: center; gap: 8px; font: 800 15px Manrope; width: 100%; transition: transform .12s; }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(236, 74, 134, .38); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.ghost { background: var(--surface); border: 1.5px solid #f4c3d3; color: var(--rose2); }
.btn.green { background: linear-gradient(135deg, #2bc48a, #129a6a); color: #fff; box-shadow: 0 10px 24px rgba(18, 154, 106, .3); }
.btn.sm { height: 42px; border-radius: 13px; font-size: 14px; }
/* блик, пробегающий по главным кнопкам */
.shine::before { content: ''; position: absolute; top: -10%; bottom: -10%; width: 60px; left: -90px; z-index: 1;
  pointer-events: none; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .6), transparent);
  transform: skewX(-20deg); animation: shine 3.6s ease-in-out infinite; }
.shine > * { position: relative; z-index: 2; }
@keyframes shine { 0%, 60% { left: -90px; } 100% { left: calc(100% + 40px); } }
.pill { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 11px; border-radius: 99px;
  font: 800 12px Manrope; background: #e7f8f0; color: var(--green); }
.pill.lock { background: var(--surface2); color: var(--rose2); }

/* ---------- баннер подписки ---------- */
.promo { margin: 4px 16px 0; border-radius: 24px; padding: 18px 18px 16px; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, .28), transparent 55%), var(--grad); box-shadow: var(--shadow2); }
.promo::after { content: ''; position: absolute; right: -30px; bottom: -40px; width: 150px; height: 150px; border-radius: 50%;
  background: rgba(255, 255, 255, .12); }
.promo .tag { display: inline-flex; align-items: center; gap: 6px; font: 800 11px Manrope; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(255, 255, 255, .22); padding: 5px 10px; border-radius: 99px; }
.promo h3 { margin: 10px 0 6px; font: 800 19px/1.25 Manrope; position: relative; z-index: 1; }
.promo p { margin: 0 0 14px; opacity: .93; font-weight: 600; font-size: 13.5px; position: relative; z-index: 1; }
.promo .btn { background: #fff; color: var(--rose2); box-shadow: 0 8px 20px rgba(90, 10, 50, .25); z-index: 1; }
.promo .btn::before { background: linear-gradient(100deg, transparent, rgba(240, 80, 127, .22), transparent); }
.promo .btn s { opacity: .55; font-weight: 700; }
.active-card { margin: 4px 16px 0; border-radius: 20px; padding: 14px 16px; background: #fff; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 12px; }
.active-card .ok { width: 42px; height: 42px; border-radius: 14px; background: #e7f8f0; display: grid; place-items: center; font-size: 20px; }
.active-card b { display: block; }
.active-card small { color: var(--muted); font-weight: 600; }

/* ---------- кружки разделов ---------- */
.stories { display: flex; gap: 12px; overflow-x: auto; padding: 16px 16px 4px; scrollbar-width: none; }
.stories::-webkit-scrollbar, .hscroll::-webkit-scrollbar, .carousel::-webkit-scrollbar { display: none; }
.story { flex: none; width: 70px; text-align: center; font: 700 11.5px/1.2 Manrope; color: var(--ink2); }
.story .ring { width: 66px; height: 66px; border-radius: 22px; padding: 2.5px; background: var(--grad); margin: 0 auto 6px; }
.story .ring > * { width: 100%; height: 100%; border-radius: 19.5px; border: 2.5px solid #fff; object-fit: cover; }
.story .ring .ic { background: var(--surface2); display: grid; place-items: center; font-size: 26px; }

/* ---------- товары недели (карусель) ---------- */
.carousel { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 16px 6px;
  scroll-padding: 0 16px; scrollbar-width: none; }
.slide { flex: none; width: 78%; scroll-snap-align: start; border-radius: 24px; overflow: hidden; position: relative;
  aspect-ratio: 4 / 4.6; background: var(--surface2); box-shadow: var(--shadow); }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide .shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(45, 10, 30, .78)); }
.slide .info { position: absolute; left: 14px; right: 14px; bottom: 14px; color: #fff; }
.slide .info .nm { font-weight: 700; font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.slide .info .pr { font: 800 22px Manrope; margin-top: 4px; display: flex; align-items: baseline; gap: 8px; }
.slide .info .pr s { font-size: 13px; opacity: .7; font-weight: 700; }
.slide .rank { position: absolute; top: 12px; left: 12px; background: rgba(255, 255, 255, .94); color: var(--rose2);
  font: 800 12px Manrope; padding: 6px 10px; border-radius: 99px; }
.dots { display: flex; justify-content: center; gap: 5px; margin-top: 10px; }
.dots i { width: 6px; height: 6px; border-radius: 9px; background: #f2c4d3; transition: .3s; }
.dots i.on { width: 18px; background: var(--rose); }

/* ---------- карточки товаров ---------- */
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 10px; padding: 0 12px; }
.card { background: var(--surface); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); position: relative;
  display: flex; flex-direction: column; animation: fade .3s ease both; }
.card .ph { position: relative; aspect-ratio: 3 / 4; background: var(--surface2); }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.card .badges { position: absolute; left: 8px; top: 8px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.badge { font: 800 11px Manrope; padding: 4px 8px; border-radius: 8px; color: #fff; background: var(--rose); }
.badge.new { background: #8a5cf6; }
.badge.gold { background: var(--gold); color: #4a2a00; }
.card .cnt { position: absolute; right: 8px; bottom: 8px; font: 800 10.5px Manrope; color: #fff; background: rgba(30, 10, 20, .5);
  padding: 3px 7px; border-radius: 7px; }
.fav { position: absolute; right: 6px; top: 6px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .9);
  display: grid; place-items: center; }
.fav svg { width: 18px; height: 18px; stroke: var(--ink2); fill: none; stroke-width: 2; }
.fav.on svg { fill: var(--rose); stroke: var(--rose); }
.card .bd { padding: 9px 10px 10px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price b { font: 800 17px Manrope; color: var(--rose2); }
.price s { color: var(--muted); font-size: 12px; font-weight: 600; }
.price .ask { font: 800 13px Manrope; color: var(--ink2); }
.card .nm { font-size: 13px; font-weight: 600; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 36px; }
.card .sz { font-size: 11.5px; color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .add { margin-top: 6px; height: 34px; border-radius: 11px; background: var(--surface2); color: var(--rose2); font: 800 12.5px Manrope;
  display: flex; align-items: center; justify-content: center; gap: 5px; }
.card .add.on { background: var(--rose); color: #fff; }
.locked-card { grid-column: 1 / -1; border-radius: 22px; padding: 22px 18px; text-align: center; background: #fff;
  box-shadow: var(--shadow); position: relative; overflow: hidden; }
.locked-card .blur { display: flex; gap: 8px; justify-content: center; margin-bottom: 14px; }
.locked-card .blur i { width: 64px; height: 84px; border-radius: 12px; background-size: cover; background-position: center; filter: blur(5px); opacity: .85; }
.locked-card h3 { margin: 0 0 4px; font: 800 17px Manrope; }
.locked-card p { margin: 0 0 14px; color: var(--ink2); font-weight: 600; }

.hscroll { display: flex; gap: 10px; overflow-x: auto; padding: 0 16px 6px; scrollbar-width: none; }
.hscroll .card { flex: none; width: 152px; }

/* ---------- каталог ---------- */
.cats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 16px; }
.cat { position: relative; height: 118px; border-radius: 20px; overflow: hidden; background: var(--surface2); box-shadow: var(--shadow); text-align: left; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(45, 10, 30, .05) 30%, rgba(45, 10, 30, .72)); }
.cat span { position: absolute; left: 12px; right: 10px; bottom: 10px; z-index: 1; color: #fff; font: 800 14px/1.2 Manrope; }
.cat small { display: block; font-weight: 600; font-size: 11.5px; opacity: .85; margin-top: 2px; }
.cat.big { grid-column: 1 / -1; height: 96px; }
.cat.special { background: var(--grad); }
.cat.special::after { background: radial-gradient(80% 120% at 100% 0, rgba(255, 255, 255, .3), transparent 60%); }
.cat.special .emo { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 46px; z-index: 1; }
.cat.special.deals { background: linear-gradient(135deg, #ffb347, #ff6a6a 55%, #e8457f); }
.cat.special span { bottom: 50%; transform: translateY(50%); font-size: 17px; }

/* ---------- шапка вложенных экранов ---------- */
.bar { position: sticky; top: 0; z-index: 20; background: rgba(255, 246, 248, .94); backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px); padding: 12px 16px 10px; }
.bar h1 { font: 800 20px Manrope; margin: 0 0 10px; }
.bar .sub { color: var(--muted); font-weight: 600; font-size: 12.5px; margin: -6px 0 10px; }
.sorts { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.empty { text-align: center; padding: 60px 30px; color: var(--ink2); font-weight: 600; }
.empty .big { font-size: 54px; margin-bottom: 12px; }
.empty h3 { font: 800 18px Manrope; color: var(--ink); margin: 0 0 6px; }
.empty .btn { margin-top: 18px; }
.loader { display: flex; justify-content: center; padding: 26px; }
.loader i { width: 26px; height: 26px; border-radius: 50%; border: 3px solid #f6cbd9; border-top-color: var(--rose); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.skel { background: linear-gradient(90deg, #fbe7ee 25%, #fff3f6 50%, #fbe7ee 75%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 18px; }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------- страница товара ---------- */
.gallery { position: relative; background: var(--surface2); }
.gallery .track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery .track::-webkit-scrollbar { display: none; }
.gallery .track img { flex: none; width: 100%; aspect-ratio: 3 / 3.8; object-fit: cover; scroll-snap-align: center; }
.gallery .num { position: absolute; right: 14px; bottom: 14px; background: rgba(30, 10, 20, .55); color: #fff; font: 800 12px Manrope;
  padding: 5px 10px; border-radius: 99px; }
.gallery .fav { top: 14px; right: 14px; width: 40px; height: 40px; }
.thumbs { display: flex; gap: 8px; padding: 10px 16px 0; overflow-x: auto; scrollbar-width: none; }
.thumbs img { width: 52px; height: 64px; object-fit: cover; border-radius: 10px; opacity: .55; border: 2px solid transparent; flex: none; }
.thumbs img.on { opacity: 1; border-color: var(--rose); }
.pbox { background: #fff; margin: 12px 12px 0; border-radius: 22px; padding: 16px; box-shadow: var(--shadow); }
.pbox .price b { font-size: 28px; }
.pbox .price s { font-size: 15px; }
.mp-note { font-size: 11.5px; color: var(--muted); font-weight: 600; margin-top: 2px; }
.save { display: inline-flex; gap: 6px; align-items: center; margin-top: 10px; background: #fff1e0; color: #b8641a; font: 800 12px Manrope;
  padding: 6px 10px; border-radius: 10px; }
.pbox h1 { font: 700 17px/1.35 Manrope; margin: 10px 0 0; }
.pbox h3 { font: 800 15px Manrope; margin: 0 0 10px; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.sizes span { min-width: 44px; height: 40px; padding: 0 12px; border-radius: 12px; border: 1.5px solid var(--line); display: grid; place-items: center; font-weight: 800; }
.params { width: 100%; border-collapse: collapse; }
.params td { padding: 8px 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.params td:first-child { color: var(--muted); font-weight: 600; width: 42%; }
.params td:last-child { font-weight: 700; }
.params tr:last-child td { border: 0; }
.descr { color: var(--ink2); font-weight: 600; margin: 0; white-space: pre-line; }
.trust { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.trust div { background: var(--surface2); border-radius: 14px; padding: 10px 8px; text-align: center; font: 700 11.5px/1.25 Manrope; color: var(--ink2); }
.trust div i { display: block; font-style: normal; font-size: 20px; margin-bottom: 4px; }
.lockbox { position: relative; overflow: hidden; }
.lockbox .fake { filter: blur(6px); user-select: none; pointer-events: none; color: var(--ink2); font-weight: 700; line-height: 2; }
.lockbox .over { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .55); text-align: center; padding: 10px; }
.lockbox .over b { font: 800 15px Manrope; margin: 6px 0 2px; }
.lockbox .over small { color: var(--ink2); font-weight: 600; }
.lock-ic { width: 44px; height: 44px; border-radius: 14px; background: var(--grad); display: grid; place-items: center; color: #fff; font-size: 20px;
  box-shadow: 0 8px 18px rgba(236, 74, 134, .35); }
.contact { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--surface2); margin-bottom: 8px; font-weight: 700; width: 100%; text-align: left; }
.contact .ci { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-size: 17px; flex: none; }
.contact small { display: block; color: var(--muted); font-weight: 600; font-size: 12px; }
.ci.tg { background: linear-gradient(135deg, #37aee2, #1e96c8); }
.ci.wa { background: linear-gradient(135deg, #3ad46b, #1fae50); }
.ci.ph { background: linear-gradient(135deg, #ff8ab0, #e8457f); }
.ci.vk { background: linear-gradient(135deg, #4c8ef0, #2b6fd6); }
.ci.base { background: var(--grad); }
.ci.src { background: linear-gradient(135deg, #8b6cf0, #6646d6); }
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; gap: 8px; align-items: center;
  padding: 10px 12px calc(10px + var(--safe-b)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); }
.buybar .icon-b { flex: none; width: 52px; height: 52px; border-radius: 16px; background: var(--surface2); display: grid; place-items: center; }
.buybar .icon-b svg { width: 22px; height: 22px; stroke: var(--rose2); fill: none; stroke-width: 2.2; }
.buybar .icon-b.on svg { fill: var(--rose); stroke: var(--rose); }
body.product #tabbar { display: none; }
body.product #view { padding-bottom: calc(90px + var(--safe-b)); }

/* ---------- корзина и профиль ---------- */
.row-item { display: flex; gap: 12px; background: #fff; border-radius: 18px; padding: 10px; margin: 0 12px 10px; box-shadow: var(--shadow); }
.row-item img { width: 82px; height: 104px; border-radius: 13px; object-fit: cover; flex: none; }
.row-item .bd { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.row-item .nm { font-weight: 700; font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row-item .acts { margin-top: auto; display: flex; gap: 8px; }
.row-item .acts button { height: 32px; padding: 0 12px; border-radius: 10px; font: 800 12px Manrope; background: var(--surface2); color: var(--rose2); }
.row-item .acts button.del { background: #f6f0f3; color: var(--muted); }
.total { margin: 6px 12px 0; background: #fff; border-radius: 20px; padding: 16px; box-shadow: var(--shadow); }
.total .ln { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 6px; color: var(--ink2); }
.total .ln b { color: var(--ink); }
.total .ln.big { font: 800 18px Manrope; color: var(--ink); margin: 10px 0 14px; }
.prof { margin: 0 16px; background: var(--grad); border-radius: 26px; padding: 20px; color: #fff; box-shadow: var(--shadow2); position: relative; overflow: hidden; }
.prof::after { content: ''; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255, 255, 255, .13); }
.prof .who { display: flex; align-items: center; gap: 14px; position: relative; z-index: 1; }
.ava { width: 60px; height: 60px; border-radius: 20px; background: rgba(255, 255, 255, .25); display: grid; place-items: center; font: 800 24px Manrope; overflow: hidden; border: 2px solid rgba(255, 255, 255, .6); }
.ava img { width: 100%; height: 100%; object-fit: cover; }
.prof b { font: 800 19px Manrope; display: block; }
.prof small { opacity: .9; font-weight: 600; }
.prof .sub-st { margin-top: 16px; background: rgba(255, 255, 255, .2); border-radius: 16px; padding: 12px 14px; position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 700; }
.prof .sub-st button { background: #fff; color: var(--rose2); height: 36px; padding: 0 14px; border-radius: 12px; font: 800 13px Manrope; position: relative; overflow: hidden; flex: none; }
.stats3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 16px 0; }
.stats3 button { background: #fff; border-radius: 18px; padding: 14px 6px; box-shadow: var(--shadow); text-align: center; font-weight: 700; color: var(--ink2); font-size: 12.5px; }
.stats3 b { display: block; font: 800 22px Manrope; color: var(--rose2); }
.menu { margin: 14px 16px 0; background: #fff; border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.menu button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; border-bottom: 1px solid var(--line); font-weight: 700; text-align: left; }
.menu button:last-child { border: 0; }
.menu .mi { width: 36px; height: 36px; border-radius: 12px; background: var(--surface2); display: grid; place-items: center; font-size: 17px; flex: none; }
.menu .arr { margin-left: auto; color: #d4bcc7; font-size: 20px; }
.menu .val { margin-left: auto; color: var(--muted); font-weight: 600; font-size: 13px; }
.faq { margin: 0 16px; }
.faq details { background: #fff; border-radius: 18px; margin-bottom: 10px; box-shadow: var(--shadow); overflow: hidden; }
.faq summary { list-style: none; padding: 16px 44px 16px 16px; font-weight: 800; position: relative; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px;
  border-radius: 9px; background: var(--surface2); color: var(--rose); display: grid; place-items: center; font-size: 18px; transition: .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 16px 16px; color: var(--ink2); font-weight: 600; }
.switch { margin-left: auto; width: 46px; height: 28px; border-radius: 99px; background: #ead9e0; position: relative; transition: .25s; flex: none; }
.switch::after { content: ''; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: .25s; box-shadow: 0 2px 6px rgba(0, 0, 0, .15); }
.switch.on { background: var(--rose); }
.switch.on::after { left: 21px; }
.support { margin: 18px 16px 0; text-align: center; color: var(--muted); font-weight: 600; font-size: 12.5px; }

/* ---------- нижнее меню ---------- */
#tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(4, 1fr);
  height: calc(var(--tab-h) + var(--safe-b)); padding-bottom: var(--safe-b); background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(201, 56, 127, .07); }
#tabbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font: 700 11px Manrope; color: #b19ba6; position: relative; }
#tabbar svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linejoin: round; stroke-linecap: round; transition: transform .2s; }
#tabbar button.on { color: var(--rose2); }
#tabbar button.on svg { fill: rgba(240, 80, 127, .16); transform: translateY(-1px) scale(1.06); }
#tabbar button.on::before { content: ''; position: absolute; top: 0; width: 28px; height: 3px; border-radius: 0 0 4px 4px; background: var(--grad); }
#cart-badge { position: absolute; top: 7px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px;
  background: var(--rose); color: #fff; font: 800 10.5px/18px Manrope; font-style: normal; border: 2px solid #fff; }

/* ---------- шторка и тост ---------- */
#sheet-bg { position: fixed; inset: 0; z-index: 50; background: rgba(40, 10, 28, .45); animation: fadeIn .2s; }
@keyframes fadeIn { from { opacity: 0; } }
#sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 51; background: var(--bg); border-radius: 28px 28px 0 0;
  padding: 10px 18px calc(22px + var(--safe-b)); max-height: 88vh; overflow-y: auto; animation: up .3s cubic-bezier(.2, .9, .3, 1); }
@keyframes up { from { transform: translateY(100%); } }
#sheet .grip { width: 42px; height: 5px; border-radius: 9px; background: #ead2dc; margin: 0 auto 14px; }
.pay-hero { text-align: center; padding: 6px 0 4px; }
.pay-hero .crown { width: 72px; height: 72px; border-radius: 24px; margin: 0 auto 12px; background: var(--grad); display: grid; place-items: center;
  font-size: 34px; box-shadow: var(--shadow2); }
.pay-hero h2 { font: 800 21px/1.25 Manrope; margin: 0 0 6px; }
.pay-hero p { margin: 0; color: var(--ink2); font-weight: 600; }
.perks { margin: 16px 0; background: #fff; border-radius: 20px; padding: 6px 14px; box-shadow: var(--shadow); }
.perks div { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 700; }
.perks div:last-child { border: 0; }
.perks i { font-style: normal; width: 34px; height: 34px; border-radius: 11px; background: var(--surface2); display: grid; place-items: center; flex: none; }
.pay-price { text-align: center; margin: 0 0 12px; font-weight: 700; color: var(--ink2); }
.pay-price b { font: 800 26px Manrope; color: var(--rose2); }
.pay-price s { color: var(--muted); margin-left: 6px; }
#toast { position: fixed; left: 50%; bottom: calc(var(--tab-h) + var(--safe-b) + 14px); transform: translateX(-50%); z-index: 60;
  background: var(--ink); color: #fff; font-weight: 700; padding: 11px 18px; border-radius: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
  animation: fade .25s; white-space: nowrap; }
